/* ===========================================================
   CainDawson.de — Haupt-Stylesheet
   =========================================================== */

:root {
    --bg:            #0a0e14;
    --bg-alt:        #10151d;
    --card:          #141a24;
    --border:        #232b38;
    --text:          #e8ecf1;
    --text-dim:      #9aa5b4;
    --neon:          #2fb8ff;
    --neon-soft:     rgba(47, 184, 255, 0.35);
    --neon-glow:     rgba(47, 184, 255, 0.55);
    --rose:          #ff4d6d;
    --radius:        14px;
    --max-width:     1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: radial-gradient(circle at top, #101825 0%, var(--bg) 55%);
    color: var(--text);
    font-family: 'Teko', sans-serif;
    font-size: 19px;
    line-height: 1.6;
    letter-spacing: 0.01em;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    body { font-size: 18px; }
}

h1, h2, h3, .logo { font-family: 'Anton', sans-serif; letter-spacing: 0.03em; }

a { color: var(--neon); text-decoration: none; transition: color .2s ease; }
a:hover { color: #7fd4ff; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(10, 14, 20, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 24px;
}
.logo {
    font-family: 'UnifrakturCook', cursive;
    font-size: 34px;
    color: var(--text);
    text-shadow: 0 0 12px var(--neon-glow), 0 0 28px var(--neon-soft);
}
@media (max-width: 400px) {
    .logo { font-size: 28px; }
    .header-inner { padding: 14px 16px; }
}
.main-nav { display: flex; gap: 32px; }
.main-nav a {
    color: var(--text-dim);
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 6px 2px;
    border-bottom: 2px solid transparent;
}
.main-nav a:hover, .main-nav a.active {
    color: var(--text);
    border-bottom-color: var(--neon);
}
.nav-toggle {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 26px; height: 2px; background: var(--text); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    padding: 110px 0 90px;
    text-align: center;
    overflow: hidden;
}
@media (max-width: 600px) {
    .hero { padding: 70px 0 56px; }
    .hero-tagline { font-size: 18px; letter-spacing: 0.1em; }
}
.hero::before {
    content: "";
    position: absolute; inset: -20% -10%;
    background: radial-gradient(ellipse at center, var(--neon-soft) 0%, transparent 60%);
    filter: blur(40px);
    z-index: 0;
    opacity: .6;
}
.hero-inner { position: relative; z-index: 1; }
.hero-title {
    font-family: 'UnifrakturCook', cursive;
    font-size: clamp(48px, 9vw, 96px);
    margin: 0 0 12px;
    text-shadow: 0 0 18px var(--neon-glow), 0 0 46px var(--neon-soft);
}
.hero-tagline {
    font-size: 24px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    padding: 13px 34px;
    border-radius: 999px;
    font-family: 'Anton', sans-serif;
    font-size: 17px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 1px solid var(--neon);
    color: var(--text);
    background: transparent;
    cursor: pointer;
    transition: all .25s ease;
    white-space: nowrap;
}
.btn:hover {
    background: var(--neon);
    color: #051018;
    box-shadow: 0 0 22px var(--neon-glow);
}
.btn.btn-solid {
    background: var(--neon); color: #051018;
    box-shadow: 0 0 18px var(--neon-soft);
}
.btn.btn-solid:hover { box-shadow: 0 0 28px var(--neon-glow); }
.btn.btn-rose { border-color: var(--rose); }
.btn.btn-rose:hover { background: var(--rose); box-shadow: 0 0 22px rgba(255,77,109,.5); color: #180508; }
.btn-small { padding: 8px 18px; font-size: 14px; }
.btn-danger { border-color: #ff4d4d; color: #ff8080; }
.btn-danger:hover { background: #ff4d4d; color: #180505; }

/* ---------- Sections ---------- */
section { padding: 70px 0; }
.section-title {
    font-size: clamp(30px, 5vw, 44px);
    margin: 0 0 8px;
}
.section-sub {
    color: var(--text-dim);
    font-size: 20px;
    margin-bottom: 40px;
}
@media (max-width: 600px) {
    section { padding: 44px 0; }
    .section-sub { font-size: 17px; margin-bottom: 28px; }
}

/* ---------- Cards / Releases ---------- */
.release-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    justify-items: start;
    gap: 26px;
}
.release-card {
    width: 100%;
    max-width: 380px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.release-card:hover {
    transform: translateY(-4px);
    border-color: var(--neon-soft);
    box-shadow: 0 10px 30px rgba(0,0,0,.4), 0 0 20px var(--neon-soft);
}
.release-cover { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #0d1117; }
.release-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.release-badge {
    position: absolute; top: 12px; right: 12px;
    padding: 5px 12px; border-radius: 999px;
    font-size: 13px; text-transform: uppercase; letter-spacing: .06em;
    font-family: 'Anton', sans-serif;
    backdrop-filter: blur(4px);
    white-space: nowrap;
}
.badge-verfuegbar { background: rgba(47,184,255,.9); color: #041018; }
.badge-angekuendigt { background: rgba(255,77,109,.9); color: #1c0509; }
.release-info { padding: 18px 20px 22px; }
.release-title { font-family: 'Anton', sans-serif; font-size: 22px; margin: 0 0 2px; }
.release-meta { color: var(--text-dim); font-size: 16px; margin-bottom: 14px; }
.release-links { display: flex; gap: 10px; flex-wrap: wrap; }
.release-links a {
    font-size: 14px; padding: 6px 14px; border-radius: 999px;
    border: 1px solid var(--border); color: var(--text-dim);
    white-space: nowrap;
}
.release-links a:hover { border-color: var(--neon); color: var(--text); }
.release-date-pill {
    font-size: 15px; color: var(--text-dim);
}

/* ---------- Streaming-/Plattform-Buttons ("Jetzt hören") ---------- */
/* Bewusst auffälliger als Genre-Tags gestaltet (gefüllter Hintergrund,
   Play-Symbol), damit sofort erkennbar ist: hier klicken zum Anhören. */
.stream-links-block { margin-bottom: 14px; }
.stream-links-label {
    font-size: 12px; text-transform: uppercase; letter-spacing: .08em;
    color: var(--neon); margin: 0 0 8px; font-family: 'Anton', sans-serif;
}
.stream-links {
    display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
}
.stream-link {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 13px; font-weight: 600; padding: 6px 10px;
    border-radius: 999px;
    background: rgba(47, 184, 255, 0.14);
    border: 1px solid var(--neon-soft);
    color: var(--text);
    transition: all .2s ease;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.stream-link:hover {
    background: var(--neon); color: #051018; border-color: var(--neon);
    box-shadow: 0 0 14px var(--neon-soft);
    transform: translateY(-1px);
}
.stream-link-icon { font-size: 10px; color: var(--neon); }
.stream-link:hover .stream-link-icon { color: #051018; }

/* ---------- Genre-Filter & Tags ---------- */
.genre-filter-bar {
    display: flex; flex-wrap: wrap; gap: 10px;
    margin: 8px 0 30px;
}
.genre-pill {
    display: inline-block;
    padding: 7px 16px;
    border-radius: 999px;
    white-space: nowrap;
    border: 1px solid var(--border);
    color: var(--text-dim);
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: all .2s ease;
}
.genre-pill:hover { border-color: var(--neon); color: var(--text); }
.genre-pill.active {
    background: var(--neon); border-color: var(--neon); color: #051018;
    box-shadow: 0 0 14px var(--neon-soft);
}
.genre-tags-block { margin-bottom: 14px; }
.genre-tags-label {
    font-size: 12px; text-transform: uppercase; letter-spacing: .08em;
    color: var(--text-dim); margin: 0 0 6px; font-family: 'Anton', sans-serif;
}
.genre-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.genre-tags .genre-pill { padding: 4px 12px; font-size: 13px; }

/* ---------- Bio ---------- */
.bio-layout { display: grid; grid-template-columns: 320px 1fr; gap: 50px; align-items: start; }
.bio-text { min-width: 0; }
.bio-photo { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: 0 0 40px var(--neon-soft); }
.bio-photo img { width: 100%; display: block; }
.bio-text p { color: var(--text-dim); font-size: 20px; margin-bottom: 18px; }
.bio-facts { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; }
.bio-facts li { border-left: 3px solid var(--neon); padding-left: 14px; color: var(--text-dim); }
.bio-facts b { color: var(--text); }

@media (max-width: 820px) {
    .bio-layout { grid-template-columns: 1fr; }
    .bio-photo { max-width: 320px; margin: 0 auto; }
}

/* ---------- Kontakt ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-layout > * { min-width: 0; }

.license-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; margin-top: 30px; }
.license-layout > * { min-width: 0; }
@media (max-width: 800px) {
    .license-layout { grid-template-columns: 1fr; }
}
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 6px; color: var(--text-dim); font-size: 16px; text-transform: uppercase; letter-spacing: .05em; }
.form-group input, .form-group textarea, .form-group select {
    width: 100%; padding: 13px 16px;
    background: var(--card); border: 1px solid var(--border); border-radius: 10px;
    color: var(--text); font-family: 'Teko', sans-serif; font-size: 18px;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--neon); box-shadow: 0 0 0 3px var(--neon-soft); }
.form-group textarea { min-height: 160px; resize: vertical; }
.form-group select {
    appearance: none; cursor: pointer; padding-right: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238b95a5' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center;
}
.form-group select option { background: var(--card); color: var(--text); }
.form-group input[type="file"] {
    padding: 10px 12px; font-family: 'Teko', sans-serif; font-size: 16px; color: var(--text-dim);
}
.form-group input[type="file"]::file-selector-button {
    background: var(--bg); border: 1px solid var(--border); border-radius: 8px;
    color: var(--text); font-family: 'Teko', sans-serif; font-size: 15px; text-transform: uppercase;
    letter-spacing: .04em; padding: 8px 16px; margin-right: 14px; cursor: pointer; transition: all .2s ease;
}
.form-group input[type="file"]::file-selector-button:hover { border-color: var(--neon); color: var(--neon); }
.alert { padding: 14px 18px; border-radius: 10px; margin-bottom: 20px; font-size: 17px; }
.alert-success { background: rgba(47,184,255,.12); border: 1px solid var(--neon-soft); color: #bfe9ff; }
.alert-error { background: rgba(255,77,77,.12); border: 1px solid rgba(255,77,77,.4); color: #ffb3b3; }
.contact-info { color: var(--text-dim); }
.contact-info h3 { color: var(--text); margin-top: 0; }

@media (max-width: 820px) {
    .contact-layout { grid-template-columns: 1fr; }
}

/* ---------- Legal pages ---------- */
.legal-content h2 { margin-top: 40px; font-size: 26px; }
.legal-content p, .legal-content li { color: var(--text-dim); font-size: 18px; }

/* ---------- Release-Detailseite ---------- */
.release-detail {
    display: grid; grid-template-columns: 380px 1fr; gap: 40px; align-items: start;
}
.release-detail-left { display: flex; flex-direction: column; gap: 22px; }
.release-detail-cover { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1/1; }
.release-detail-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.release-detail-info { min-width: 0; }
.release-detail-title { font-family: 'Anton', sans-serif; font-size: clamp(30px, 5vw, 46px); margin: 0 0 10px; }
.release-embed {
    margin: 22px 0; border-radius: 12px; overflow: hidden;
    border: 1px solid var(--border);
}
.release-embed iframe { display: block; border-radius: 12px; width: 100%; }
.release-description {
    margin: 22px 0; padding: 20px 22px; background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius); color: var(--text-dim); font-size: 16px; line-height: 1.6;
}
.release-actions {
    display: flex; flex-direction: column; align-items: flex-start; gap: 0;
    padding-top: 20px; border-top: 1px solid var(--border);
}
.release-like-row {
    display: flex; justify-content: center; width: 100%;
    padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--border);
}
.release-share-row { width: 100%; }
@media (max-width: 800px) {
    .release-detail { grid-template-columns: 1fr; }
    .release-detail-left { max-width: 380px; }
}

.release-detail-info .stream-links-block { margin-top: 22px; }

/* ---------- Gefällt mir ---------- */
.like-form { display: inline-block; }
.like-button {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 12px 26px; border-radius: 999px;
    white-space: nowrap;
    border: 1px solid var(--border); background: var(--card);
    color: var(--text); font-family: 'Anton', sans-serif; font-size: 16px;
    letter-spacing: .03em; text-transform: uppercase; cursor: pointer;
    transition: all .2s ease;
    line-height: 1;
}
.like-button:hover:not(:disabled) { border-color: var(--rose); box-shadow: 0 0 14px rgba(255,77,109,.3); }
.like-icon { font-size: 18px; color: var(--text-dim); transition: color .2s ease, transform .2s ease; }
.like-button.liked { border-color: var(--rose); background: rgba(255,77,109,.12); }
.like-button.liked .like-icon { color: var(--rose); transform: scale(1.15); }
.like-button:disabled { cursor: default; }

/* ---------- Teilen-Buttons ---------- */
.share-buttons-block { margin-top: 22px; }
.share-buttons { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.share-label {
    font-size: 12px; text-transform: uppercase; letter-spacing: .08em;
    color: var(--text-dim); margin: 0 0 6px; font-family: 'Anton', sans-serif;
}
.share-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 50%;
    border: 1px solid var(--border); background: var(--card); color: var(--text-dim);
    cursor: pointer; transition: all .2s ease; padding: 0;
}
.share-btn:hover { border-color: var(--neon); color: var(--neon); box-shadow: 0 0 14px var(--neon-soft); }
.share-btn.copied { border-color: var(--neon); color: var(--neon); }
.like-button-compact {
    padding: 9px 16px; font-size: 14px; gap: 6px;
    font-family: 'Teko', sans-serif; font-weight: 600; text-transform: none; letter-spacing: normal;
}
.like-button-compact .like-icon { font-size: 15px; }

.news-engagement, .release-engagement {
    display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 18px;
}
.comment-count-link {
    display: inline-flex; align-items: center; gap: 6px;
    font-family: 'Teko', sans-serif; font-weight: 600; font-size: 14px; color: var(--text-dim);
    padding: 9px 16px; border-radius: 999px; border: 1px solid var(--border);
    line-height: 1;
}
.comment-count-link:hover { color: var(--text); border-color: var(--neon-soft); }
.comment-count-icon { font-size: 14px; }

/* ---------- Kommentare ---------- */
.comments-section { margin-top: 50px; padding-top: 40px; border-top: 1px solid var(--border); }
.comments-heading { font-family: 'Anton', sans-serif; font-size: 24px; margin: 0 0 24px; }
.comment-list { list-style: none; margin: 0 0 40px; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.comment-item { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 18px 22px; }
.comment-meta { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; gap: 10px; flex-wrap: wrap; }
.comment-meta strong { font-size: 17px; }
.comment-meta span { color: var(--text-dim); font-size: 14px; }
.comment-text { color: var(--text-dim); font-size: 16px; margin: 0; white-space: pre-wrap; }
.comment-form-wrap { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.comment-replies { list-style: none; margin: 14px 0 0; padding: 0 0 0 24px; border-left: 2px solid var(--border); display: flex; flex-direction: column; gap: 12px; }
.comment-reply { background: var(--bg-alt); }
.comment-reply-admin { border-color: var(--neon-soft); background: rgba(47,184,255,.06); }
.comment-admin-badge {
    display: inline-block; margin-left: 8px; padding: 3px 12px; border-radius: 999px;
    background: #051018; color: #ffffff; border: 1px solid var(--neon);
    font-size: 12px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .03em; vertical-align: middle;
    white-space: nowrap; line-height: 1.4;
}

/* ---------- News ---------- */
.news-list { display: flex; flex-direction: column; gap: 30px; }
.news-item {
    display: grid; grid-template-columns: 220px 1fr; gap: 26px;
    background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 26px; align-items: start;
    scroll-margin-top: 90px; /* Damit der fixierte Header beim Sprung-Link nichts verdeckt */
}
.news-body { min-width: 0; } /* Grid-Overflow-Fix: Inhalt darf schrumpfen und umbrechen, statt aus der Karte zu laufen */
.news-image { border-radius: 10px; overflow: hidden; aspect-ratio: 1/1; }
.news-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-date { color: var(--neon); font-size: 15px; text-transform: uppercase; letter-spacing: .05em; margin: 0 0 6px; }
.news-title { font-family: 'Anton', sans-serif; font-size: 24px; margin: 0 0 10px; }
.news-title-link { color: var(--text); }
.news-title-link:hover { color: var(--neon); }
.news-content p { color: var(--text-dim); font-size: 17px; margin-bottom: 10px; }
@media (max-width: 700px) {
    .news-item { grid-template-columns: 1fr; }
}
.news-item-single {
    grid-template-columns: 320px 1fr;
}
@media (max-width: 800px) {
    .news-item-single { grid-template-columns: 1fr; }
}

/* ---------- News-Suche & Pagination ---------- */
.news-search-form {
    display: flex; gap: 10px; flex-wrap: wrap; margin: 8px 0 20px;
}
.news-search-form input[type="text"] {
    flex: 1 1 260px; max-width: 400px;
    padding: 11px 16px; background: var(--card); border: 1px solid var(--border);
    border-radius: 10px; color: var(--text); font-family: 'Teko', sans-serif; font-size: 17px;
}
.news-search-form input[type="text"]:focus { outline: none; border-color: var(--neon); }
.pagination {
    display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
    gap: 8px; margin-top: 44px;
}

/* ---------- News-Teaser (Startseite) ---------- */
.news-teaser-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    justify-items: start;
    gap: 26px;
}
.news-teaser-card {
    display: block;
    width: 100%;
    max-width: 380px;
    background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
    overflow: hidden; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.news-teaser-card:hover {
    transform: translateY(-4px);
    border-color: var(--neon-soft);
    box-shadow: 0 10px 30px rgba(0,0,0,.4), 0 0 20px var(--neon-soft);
}
.news-teaser-link { display: block; color: inherit; text-decoration: none; }
.news-teaser-image { aspect-ratio: 1/1; overflow: hidden; background: #0d1117; }
.news-teaser-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-teaser-body { padding: 18px 20px 22px; }
.news-teaser-title {
    font-family: 'Anton', sans-serif; font-size: 20px; margin: 0 0 8px; color: var(--text);
}
.news-teaser-excerpt { color: var(--text-dim); font-size: 15px; margin: 0; line-height: 1.5; }
.news-teaser-engagement {
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
    padding: 0 20px 20px;
}

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 40px 0; margin-top: 60px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer-brand { font-family: 'UnifrakturCook', cursive; font-size: 24px; color: var(--text-dim); }
.footer-nav { display: flex; gap: 22px; }
.footer-nav a { color: var(--text-dim); font-size: 16px; }
.footer-social { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-social a {
    font-size: 14px; padding: 6px 16px; border-radius: 999px;
    border: 1px solid var(--border); color: var(--text-dim);
    white-space: nowrap;
}
.footer-social a:hover { border-color: var(--neon); color: var(--text); }
.footer-copy { width: 100%; color: #5b6472; font-size: 14px; margin: 0; }

/* ---------- Quill-Editor (Dark-Theme-Anpassung) ---------- */
.ql-toolbar.ql-snow {
    background: var(--bg); border: 1px solid var(--border) !important;
    border-radius: 10px 10px 0 0; border-bottom: none !important;
}
.ql-container.ql-snow {
    background: var(--card); border: 1px solid var(--border) !important;
    border-radius: 0 0 10px 10px; font-family: inherit; font-size: 16px;
}
.ql-editor { color: var(--text); min-height: 200px; }
.ql-editor.ql-blank::before { color: var(--text-dim); font-style: normal; }
.ql-editor a { color: var(--neon); }
.ql-snow .ql-stroke { stroke: var(--text-dim); }
.ql-snow .ql-fill { fill: var(--text-dim); }
.ql-snow .ql-picker { color: var(--text-dim); }
.ql-toolbar.ql-snow button:hover .ql-stroke,
.ql-toolbar.ql-snow button.ql-active .ql-stroke { stroke: var(--neon); }
.ql-toolbar.ql-snow button:hover .ql-fill,
.ql-toolbar.ql-snow button.ql-active .ql-fill { fill: var(--neon); }
.ql-snow .ql-tooltip {
    background: var(--card); border: 1px solid var(--border); color: var(--text);
    box-shadow: 0 6px 20px rgba(0,0,0,.4);
}
.ql-snow .ql-tooltip input[type="text"] {
    background: var(--bg); border: 1px solid var(--border); color: var(--text);
}
.ql-snow .ql-tooltip a.ql-action, .ql-snow .ql-tooltip a.ql-remove { color: var(--neon); }

/* ---------- Eigener Quill-Link-Dialog ---------- */
.quill-link-modal-overlay {
    display: none; position: fixed; inset: 0; z-index: 1000;
    background: rgba(0,0,0,.6); align-items: center; justify-content: center;
}
.quill-link-modal {
    background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 26px; width: 90%; max-width: 400px; box-shadow: 0 10px 40px rgba(0,0,0,.5);
}
.quill-link-modal h4 { font-family: 'Anton', sans-serif; margin: 0 0 16px; font-size: 20px; }
.quill-link-modal .form-group { margin-bottom: 14px; }
.quill-link-checkbox {
    display: flex; align-items: center; gap: 8px; text-transform: none;
    font-size: 15px; color: var(--text); margin-bottom: 18px; cursor: pointer;
}
.quill-link-checkbox input { width: auto; }
.quill-link-modal-actions { display: flex; justify-content: flex-end; gap: 10px; }

/* ---------- Admin ---------- */
.admin-body { background: var(--bg); }

/* --- Zentrierter Container für Vor-Login-Seiten (login.php, setup.php),
   die keine Sidebar haben --- */
.admin-wrap { max-width: 980px; margin: 60px auto; padding: 0 20px; }

/* --- Sidebar-Layout --- */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar {
    width: 250px; flex-shrink: 0;
    background: var(--card); border-right: 1px solid var(--border);
    display: flex; flex-direction: column;
    padding: 26px 0 20px;
    position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.admin-sidebar-brand {
    display: block; padding: 0 24px 22px; margin-bottom: 16px;
    font-family: 'Anton', sans-serif; font-size: 22px; color: var(--text);
    border-bottom: 1px solid var(--border);
}
.admin-sidebar-nav { display: flex; flex-direction: column; gap: 3px; padding: 0 14px; flex: 1 1 auto; }
.admin-sidebar-nav a {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 14px; border-radius: 10px;
    color: var(--text-dim); font-size: 16px;
    text-transform: uppercase; letter-spacing: .03em;
    transition: background .15s ease, color .15s ease;
}
.admin-sidebar-nav a:hover { background: var(--bg); color: var(--text); }
.admin-sidebar-nav a.active { background: var(--neon); color: #051018; font-weight: 600; }
.admin-nav-badge {
    margin-left: auto; background: var(--rose); color: #fff;
    font-size: 12px; font-weight: 700; padding: 1px 7px; border-radius: 999px;
    font-family: 'Teko', sans-serif;
    white-space: nowrap;
}
.admin-sidebar-icon { font-size: 16px; width: 20px; text-align: center; flex-shrink: 0; }
.admin-sidebar-footer {
    padding: 16px 24px 0; margin-top: 16px; border-top: 1px solid var(--border);
    font-size: 15px; color: var(--text-dim);
}
.admin-sidebar-toggle {
    display: none; position: fixed; top: 16px; left: 16px; z-index: 100;
    flex-direction: column; gap: 5px; background: var(--card); border: 1px solid var(--border);
    border-radius: 8px; padding: 10px; cursor: pointer;
}
.admin-sidebar-toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; }

.admin-main { flex: 1 1 auto; min-width: 0; padding: 30px 40px 60px; }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; flex-wrap: wrap; gap: 12px; }

.impersonate-banner {
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
    background: rgba(255, 207, 127, .14); border: 1px solid #ffcf7f;
    border-radius: 12px; padding: 14px 20px; margin-bottom: 24px;
    color: #ffcf7f; font-size: 15px;
}
.impersonate-banner strong { color: #fff; }
.impersonate-banner form { margin: 0; }
.admin-topbar h2 { font-family: 'Anton', sans-serif; margin: 0; font-size: 28px; }

@media (max-width: 900px) {
    .admin-sidebar-toggle { display: flex; }
    .admin-sidebar {
        position: fixed; left: 0; top: 0; z-index: 99;
        transform: translateX(-100%); transition: transform .2s ease;
        box-shadow: 10px 0 30px rgba(0,0,0,.4);
    }
    .admin-sidebar.open { transform: translateX(0); }
    .admin-main { padding: 80px 20px 40px; }
}

/* --- Inhalts-Bausteine innerhalb von .admin-main --- */
.admin-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; margin-bottom: 30px; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.admin-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.admin-table th, .admin-table td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--border); font-size: 16px; }
.admin-table img { width: 50px; height: 50px; object-fit: cover; border-radius: 6px; }
.status-pill { padding: 3px 10px; border-radius: 999px; font-size: 13px; white-space: nowrap; align-self: flex-start; flex-shrink: 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 700px) {
    .grid-2 { grid-template-columns: 1fr; }
    .admin-card { padding: 20px; }
}

/* ---------- Admin-Dashboard: Statistik-Karten ---------- */
.stat-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px; margin-bottom: 30px;
}
.stat-card {
    background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 24px;
}
.stat-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.stat-card-title { font-family: 'Anton', sans-serif; font-size: 17px; letter-spacing: .03em; color: var(--text-dim); text-transform: uppercase; }
.stat-card-link { font-size: 14px; color: var(--neon); }
.stat-card-link:hover { color: #7fd4ff; }
.stat-card-number { font-family: 'Anton', sans-serif; font-size: 48px; line-height: 1; margin-bottom: 14px; }
.stat-card-sub { display: flex; gap: 8px; flex-wrap: wrap; }
.stat-pill { font-size: 13px; padding: 4px 12px; border-radius: 999px; white-space: nowrap; }
.stat-pill-ok { background: rgba(47,184,255,.16); color: #7fd4ff; }
.stat-pill-warn { background: rgba(255,207,127,.16); color: #ffcf7f; }
.stat-pill-alert { background: rgba(255,77,109,.18); color: #ff8fa3; }

.admin-quick-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 30px; }

.admin-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 800px) {
    .admin-two-col { grid-template-columns: 1fr; }
}
.admin-recent-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.admin-recent-list li { display: flex; align-items: center; gap: 14px; }
.admin-recent-list img { width: 50px; height: 50px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.admin-recent-info { flex: 1 1 auto; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.admin-recent-info strong { font-size: 17px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-recent-info .status-pill { width: fit-content; }

/* ---------- Plattform-Link-Zeilen (Release-Formular) ---------- */
.platform-row {
    display: flex; gap: 10px; margin-bottom: 10px; align-items: center;
}
.platform-row select {
    flex: 0 0 220px;
    padding: 11px 12px; background: var(--card); border: 1px solid var(--border);
    border-radius: 10px; color: var(--text); font-family: 'Teko', sans-serif; font-size: 16px;
}
.platform-row input[type="url"] {
    flex: 1 1 auto;
    padding: 11px 14px; background: var(--card); border: 1px solid var(--border);
    border-radius: 10px; color: var(--text); font-family: 'Teko', sans-serif; font-size: 16px;
}
.platform-row .remove-platform-row { flex: 0 0 auto; padding: 8px 12px; }
@media (max-width: 600px) {
    .platform-row { flex-wrap: wrap; }
    .platform-row select { flex: 1 1 100%; }
    .platform-row input[type="url"] { flex: 1 1 100%; }
}

/* ---------- Mobile Nav ---------- */
@media (max-width: 780px) {
    .nav-toggle { display: flex; }
    .main-nav {
        display: none;
        position: absolute; top: 100%; left: 0; right: 0;
        background: var(--bg-alt); border-bottom: 1px solid var(--border);
        flex-direction: column; padding: 10px 24px 20px; gap: 4px;
    }
    .main-nav.open { display: flex; }
    .main-nav a { padding: 12px 0; border-bottom: 1px solid var(--border); }
}
