/* TrackDrop – Stylesheet (ohne Build-Schritt, läuft auf jedem Hosting) */

@font-face {
    font-family: "Archivo";
    src: url("../fonts/archivo.woff") format("woff");
    font-weight: 100 900;
    font-display: swap;
}
@font-face {
    font-family: "Archivo Expanded";
    src: url("../fonts/archivo-expanded-black.ttf") format("truetype");
    font-weight: 900;
    font-display: swap;
}

:root {
    --bg: #12110f;
    --bg-2: #171512;
    --surface: #1d1b17;
    --surface-2: #26231e;
    --line: #36322b;
    --text: #f3efe6;
    --muted: #a39b8c;
    --accent: #f2a93b;
    --accent-2: #ffd38a;
    --accent-ink: #1a1206;
    --teal: #5ecfb4;
    --red: #ef6b5b;
    --yellow: #f2c94c;
    --field: #15130f;
    --text-2: #d8d1c3;
    --header-bg: rgba(18, 17, 15, .82);
    --grid-line: rgba(243, 239, 230, .035);
    --ok-ink: #bff3e5;
    --err-ink: #ffc9c1;
    --warn-ink: #ffe9a8;
    --link: #f2a93b;
    --wave-idle: rgba(163, 155, 140, .35);
    --wave-original: #f3efe6;
    --wave-head: #ffffff;
    --radius: 14px;
    --radius-sm: 9px;
    --shadow: 0 20px 60px -20px rgba(0, 0, 0, .6);
    --font: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --display: "Archivo Expanded", "Archivo", ui-sans-serif, system-ui, sans-serif;
    --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    color-scheme: dark;
}
/* ---------- Heller Modus (automatisch nach System oder per Umschalter) ---------- */
:root[data-theme="light"] {
    color-scheme: light;
    --bg: #f7f4ee;
    --bg-2: #efeae0;
    --surface: #ffffff;
    --surface-2: #f3eee4;
    --line: #e2d9c8;
    --text: #1d1a15;
    --text-2: #3b352c;
    --muted: #6d6556;
    --accent: #f2a93b;
    --accent-2: #f7bd62;
    --accent-ink: #1a1206;
    --teal: #138a6f;
    --red: #c4382a;
    --yellow: #a87b00;
    --field: #fbf9f5;
    --header-bg: rgba(247, 244, 238, .85);
    --grid-line: rgba(29, 26, 21, .04);
    --ok-ink: #0d5c49;
    --err-ink: #8f2418;
    --warn-ink: #6b4e00;
    --link: #a8650a;
    --wave-idle: rgba(109, 101, 86, .3);
    --wave-original: #1d1a15;
    --wave-head: #1d1a15;
    --shadow: 0 20px 50px -24px rgba(60, 45, 20, .25);
}
@media (prefers-color-scheme: light) {
    :root:not([data-theme="dark"]) {
        color-scheme: light;
        --bg: #f7f4ee;
        --bg-2: #efeae0;
        --surface: #ffffff;
        --surface-2: #f3eee4;
        --line: #e2d9c8;
        --text: #1d1a15;
        --text-2: #3b352c;
        --muted: #6d6556;
        --accent: #f2a93b;
        --accent-2: #f7bd62;
        --accent-ink: #1a1206;
        --teal: #138a6f;
        --red: #c4382a;
        --yellow: #a87b00;
        --field: #fbf9f5;
        --header-bg: rgba(247, 244, 238, .85);
        --grid-line: rgba(29, 26, 21, .04);
        --ok-ink: #0d5c49;
        --err-ink: #8f2418;
        --warn-ink: #6b4e00;
        --link: #a8650a;
        --wave-idle: rgba(109, 101, 86, .3);
        --wave-original: #1d1a15;
        --wave-head: #1d1a15;
        --shadow: 0 20px 50px -24px rgba(60, 45, 20, .25);
    }
}


*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    margin: 0; background: var(--bg); color: var(--text);
    font: 400 16px/1.6 var(--font); -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-2); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; font-weight: 750; letter-spacing: -.01em; }
h1 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
code { font-family: var(--mono); font-size: .9em; background: var(--surface-2); padding: .1em .35em; border-radius: 5px; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.wrap--narrow { max-width: 780px; }
.wrap--auth { max-width: 480px; }
.wrap--install { max-width: 760px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.inline { display: inline; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 8px 12px; border-radius: 8px; }
.skip:focus { left: 8px; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    padding: .72em 1.25em; border-radius: 999px; border: 1px solid transparent;
    background: var(--accent); color: var(--accent-ink); font: 650 .95rem/1.2 var(--font);
    text-decoration: none; cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s;
    white-space: nowrap;
}
.btn:hover { background: var(--accent-2); color: var(--accent-ink); transform: translateY(-1px); box-shadow: 0 8px 24px -10px rgba(242, 169, 59, .7); }
.btn:active { transform: translateY(0); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn--ghost:hover { background: var(--surface-2); color: var(--text); box-shadow: none; }
.btn--sm { padding: .45em .95em; font-size: .85rem; }
.btn--lg { padding: .9em 1.6em; font-size: 1.02rem; }
.btn--block { width: 100%; }
.linkish { background: none; border: 0; padding: 0; color: var(--muted); font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.linkish:hover { color: var(--text); }

/* ---------- Topbar / Header ---------- */
.topbar { background: var(--accent); color: var(--accent-ink); font-size: .875rem; font-weight: 600; }
.topbar__inner { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 36px; position: relative; padding-right: 40px; text-align: center; }
.topbar a { color: inherit; }
.topbar__close { position: absolute; right: 8px; background: none; border: 0; color: inherit; font-size: 1.3rem; cursor: pointer; line-height: 1; padding: 4px 8px; }

.header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 8px; color: var(--text); text-decoration: none; font: 900 1.15rem/1 var(--display); letter-spacing: .01em; }
.logo:hover { color: var(--text); }
.logo b { color: var(--accent); font-weight: 900; }
.logo svg { width: 26px; height: 26px; fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; }
.logo--sm { font-size: 1rem; }

.nav { display: flex; align-items: center; gap: 22px; }
.nav > a:not(.btn) { color: var(--muted); text-decoration: none; font-weight: 550; font-size: .95rem; }
.nav > a:not(.btn):hover { color: var(--text); }
.nav__app { background: var(--surface-2); border: 1px solid var(--line); color: var(--text); border-radius: 999px; padding: .35em .8em; font: 600 .85rem var(--font); cursor: pointer; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: transparent; border-radius: 12px; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.nav-toggle i { display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .2s; }
.nav-toggle[aria-expanded="true"] i:first-of-type { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] i:last-of-type { transform: translateY(-4px) rotate(-45deg); }

.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; color: var(--muted); font-weight: 600; font-size: .9rem; padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; }
.lang summary::-webkit-details-marker { display: none; }
.lang[open] summary, .lang summary:hover { color: var(--text); }
.lang__menu { position: absolute; right: 0; top: calc(100% + 8px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 6px; min-width: 170px; box-shadow: var(--shadow); z-index: 60; }
.lang__menu a { display: block; padding: 8px 10px; border-radius: 7px; color: var(--text); text-decoration: none; font-size: .95rem; }
.lang__menu a:hover, .lang__menu a.is-active { background: var(--surface-2); }

@media (max-width: 900px) {
    .nav-toggle { display: inline-flex; }
    .nav {
        position: fixed; inset: 64px 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px;
        background: var(--bg); border-bottom: 1px solid var(--line); padding: 12px 16px 20px;
        transform: translateY(-120%); transition: transform .25s ease; max-height: calc(100vh - 64px); overflow: auto;
    }
    .nav.is-open { transform: none; }
    .nav > a:not(.btn) { padding: 12px 4px; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
    .nav .btn { margin-top: 8px; }
    .nav form.inline { padding: 12px 4px; }
    .lang { padding: 8px 0; }
    .lang summary { display: inline-block; }
    .lang__menu { position: static; margin-top: 8px; box-shadow: none; }
}

/* ---------- Flash ---------- */
.flash-wrap { padding-top: 16px; }
.flash { padding: 12px 16px; border-radius: var(--radius-sm); border: 1px solid; margin: 0 0 14px; }
.flash form { margin-top: 10px; }
.flash--ok { background: rgba(94, 207, 180, .1); border-color: rgba(94, 207, 180, .35); color: var(--ok-ink); }
.flash--err { background: rgba(239, 107, 91, .1); border-color: rgba(239, 107, 91, .4); color: var(--err-ink); }
.flash--warn { background: rgba(242, 201, 76, .08); border-color: rgba(242, 201, 76, .35); color: var(--warn-ink); }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section--tight { padding: 40px 0 72px; }
.section--alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section__title { font: 900 clamp(1.55rem, 3.6vw, 2.4rem)/1.1 var(--display); letter-spacing: -.01em; margin-bottom: 18px; text-transform: uppercase; }
.section__title em { font-style: normal; color: var(--accent); }
.section__lead { color: var(--muted); font-size: 1.1rem; max-width: 620px; margin-bottom: 36px; }

/* ---------- Hero ---------- */
.hero {
    position: relative; padding: 64px 0 88px; overflow: hidden;
    background:
        radial-gradient(900px 500px at 85% 20%, rgba(242, 169, 59, .16), transparent 60%),
        radial-gradient(600px 400px at 0% 100%, rgba(94, 207, 180, .07), transparent 60%);
}
.hero::before {
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
    background-image: repeating-linear-gradient(90deg, var(--grid-line) 0 1px, transparent 1px 64px);
    mask-image: linear-gradient(180deg, #000 40%, transparent);
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero__title { font: 900 clamp(2.4rem, 5.6vw, 4.2rem)/.98 var(--display); text-transform: uppercase; letter-spacing: -.02em; margin: 18px 0 22px; }
.hero__title em { font-style: normal; color: var(--accent); display: inline-block; }
.hero__sub { font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: var(--text-2); max-width: 560px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 16px; }
.hero__note { font-size: .875rem; }

.badge { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; font-size: .875rem; font-weight: 600; margin: 0; max-width: 100%; position: relative; min-height: 36px; }
.badge__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(94, 207, 180, .15); flex: none; animation: pulse 2s infinite; }
.badge__text { display: none; }
.badge__text.is-active { display: inline; animation: fadeUp .45s ease; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(94, 207, 180, 0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
    .hero { padding: 36px 0 64px; }
    .hero__grid { grid-template-columns: 1fr; gap: 36px; }
}

/* ---------- Card ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card--glow { box-shadow: var(--shadow), 0 0 0 1px rgba(242, 169, 59, .08); background: linear-gradient(180deg, var(--surface-2), var(--surface)); }
.card__eyebrow { font: 700 .8rem/1.3 var(--font); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin: 0 0 16px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

/* ---------- A/B-Player ---------- */
.ab__tabs { display: flex; gap: 6px; margin-bottom: 14px; flex-wrap: wrap; }
.ab__tabs button { background: transparent; border: 1px solid var(--line); color: var(--muted); border-radius: 999px; padding: 6px 12px; font: 600 .82rem var(--font); cursor: pointer; }
.ab__tabs button.is-active { border-color: var(--accent); color: var(--text); }
.ab__wave { height: 120px; border-radius: var(--radius-sm); background: var(--field); border: 1px solid var(--line); overflow: hidden; cursor: pointer; position: relative; }
.ab--compact .ab__wave { height: 72px; }
.ab__wave canvas { width: 100%; height: 100%; }
.ab__controls { display: flex; align-items: center; gap: 14px; margin-top: 14px; }
.ab__play { width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--accent); color: var(--accent-ink); cursor: pointer; display: grid; place-items: center; flex: none; transition: transform .15s; }
.ab__play:hover { transform: scale(1.05); }
.ab__play svg { width: 24px; height: 24px; fill: currentColor; }
.ab__play .i-pause, .ab.is-playing .ab__play .i-play { display: none; }
.ab.is-playing .ab__play .i-pause { display: block; }
.ab--compact .ab__play { width: 42px; height: 42px; }
.ab__switch { display: inline-flex; background: var(--field); border: 1px solid var(--line); border-radius: 999px; padding: 4px; }
.ab__switch button { border: 0; background: transparent; color: var(--muted); font: 700 .9rem var(--font); padding: 8px 16px; border-radius: 999px; cursor: pointer; transition: background .15s, color .15s; }
.ab__switch button.is-active { background: var(--text); color: var(--bg); }
.ab__switch button[data-ab-side="master"].is-active { background: var(--accent); color: var(--accent-ink); }
.ab__time { margin-left: auto; font: 500 .85rem var(--mono); color: var(--muted); }
.ab__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.ab__match { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--muted); cursor: pointer; }
.ab__match input { accent-color: var(--accent); width: 16px; height: 16px; }
.ab__meters { display: flex; gap: 16px; margin: 0; font-size: .82rem; }
.ab__meters div { display: flex; gap: 6px; opacity: .55; transition: opacity .15s; }
.ab__meters div.is-active { opacity: 1; }
.ab__meters dt { color: var(--muted); }
.ab__meters dd { margin: 0; font-family: var(--mono); font-weight: 600; }
.ab__meters [data-side="master"] dd { color: var(--accent); }
.ab-empty { display: grid; place-items: center; gap: 12px; min-height: 220px; text-align: center; }
@media (max-width: 520px) {
    .ab__switch button { padding: 8px 12px; }
    .ab__time { display: none; }
}

.eq { display: flex; align-items: flex-end; gap: 4px; height: 36px; }
.eq i { width: 5px; background: var(--accent); border-radius: 2px; animation: eq 1s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: -.2s; } .eq i:nth-child(3) { animation-delay: -.5s; } .eq i:nth-child(4) { animation-delay: -.1s; }
.eq i:nth-child(5) { animation-delay: -.7s; } .eq i:nth-child(6) { animation-delay: -.3s; } .eq i:nth-child(7) { animation-delay: -.6s; }
@keyframes eq { 0%, 100% { height: 20%; } 50% { height: 100%; } }
@media (prefers-reduced-motion: reduce) { .eq i, .badge__dot { animation: none; height: 60%; } .badge__text.is-active { animation: none; } }

/* ---------- Steps / Features ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.step { padding: 28px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.step__n { font: 900 2.4rem/1 var(--display); color: var(--accent); display: block; margin-bottom: 14px; }
.step p { color: var(--muted); margin: 0; }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { padding: 4px 0; }
.feature svg { width: 34px; height: 34px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; }
.feature p { color: var(--muted); margin: 0; font-size: .95rem; }
@media (max-width: 900px) { .steps, .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .steps, .features { grid-template-columns: 1fr; } .section { padding: 64px 0; } }

/* ---------- Prices ---------- */
.prices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 20px; }
.prices--3 { grid-template-columns: repeat(3, 1fr); }
.price { position: relative; display: flex; flex-direction: column; padding: 26px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.price h3 { font-size: 1rem; color: var(--muted); font-weight: 650; }
.price__amount { font: 900 2rem/1.1 var(--display); margin: 4px 0 6px; }
.price__meta { flex: 1; font-size: .95rem; }
.price .btn { margin-top: 12px; }
.price--popular { border-color: var(--accent); background: linear-gradient(180deg, rgba(242, 169, 59, .1), var(--surface) 60%); }
.price__tag { position: absolute; top: -12px; left: 22px; background: var(--accent); color: var(--accent-ink); font: 700 .72rem var(--font); text-transform: uppercase; letter-spacing: .08em; padding: 4px 10px; border-radius: 999px; }
@media (max-width: 960px) { .prices { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .prices, .prices--3 { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 36px 20px 0; font-weight: 650; font-size: 1.05rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 1.5rem; color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--text-2); padding-right: 24px; }
.cta-band { background: radial-gradient(700px 300px at 50% 100%, rgba(242, 169, 59, .18), transparent 70%); }
.cta-band .btn { margin-top: 12px; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field > span { font-size: .875rem; font-weight: 600; color: var(--text-2); }
input:not([type=checkbox]):not([type=radio]):not([type=file]), select, textarea {
    width: 100%; background: var(--field); border: 1px solid var(--line); border-radius: var(--radius-sm);
    color: var(--text); font: 400 1rem var(--font); padding: 11px 13px; transition: border-color .15s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); }
input[type=file] { color: var(--muted); font: inherit; font-size: .9rem; max-width: 100%; }
input[type=file]::file-selector-button { background: var(--surface-2); color: var(--text); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; margin-right: 10px; font: 600 .85rem var(--font); cursor: pointer; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; cursor: pointer; }
.check input { margin-top: 4px; accent-color: var(--accent); width: 17px; height: 17px; flex: none; }
.form__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.form__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; margin-top: 24px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }
.seg { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.seg label { display: flex; gap: 8px; align-items: flex-start; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; background: var(--field); }
.seg label:has(input:checked) { border-color: var(--accent); }
.seg input { accent-color: var(--accent); margin-top: 5px; }
.seg--stack { flex-direction: column; }
.auth { padding: 32px 28px; }
.auth h1 { font-size: 1.6rem; }
.big-icon { font-size: 2.6rem; }
.big-num { font: 900 4rem/1 var(--display); color: var(--accent); margin: 0; }

/* ---------- Dashboard ---------- */
.dash-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.dash-head h1 { margin: 0; }
.dash-head__credits { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.credits { font: 700 1rem var(--font); background: var(--surface-2); border: 1px solid var(--line); padding: 6px 14px; border-radius: 999px; }
.dash-grid { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 24px; align-items: start; }
@media (max-width: 960px) { .dash-grid { grid-template-columns: 1fr; } }
.upload { display: grid; gap: 16px; position: sticky; top: 84px; }
@media (max-width: 960px) { .upload { position: static; } }
.drop { display: grid; justify-items: center; gap: 4px; text-align: center; padding: 28px 16px; border: 2px dashed var(--line); border-radius: var(--radius); cursor: pointer; transition: border-color .15s, background .15s; position: relative; }
.drop:hover, .drop.is-over { border-color: var(--accent); background: rgba(242, 169, 59, .05); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop svg { width: 34px; height: 34px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 6px; }
.drop__file { font-weight: 650; color: var(--accent); word-break: break-all; }
.presets { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.presets legend { font-size: .875rem; font-weight: 600; color: var(--text-2); margin-bottom: 6px; }
.preset { cursor: pointer; }
.preset input { position: absolute; opacity: 0; }
.preset span { display: grid; gap: 2px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--field); height: 100%; transition: border-color .15s; }
.preset small { color: var(--muted); font-size: .76rem; line-height: 1.35; }
.preset input:checked + span { border-color: var(--accent); background: rgba(242, 169, 59, .07); }
.preset input:focus-visible + span { outline: 2px solid var(--accent); }

.mlist { display: grid; gap: 16px; }
.empty { padding: 32px; text-align: center; border: 1px dashed var(--line); border-radius: var(--radius); }
.mcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: grid; gap: 14px; position: relative; }
.mcard__head { display: flex; gap: 14px; align-items: center; }
.mcard__cover { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; flex: none; }
.mcard__cover--ph { background: var(--field); border: 1px solid var(--line); display: grid; place-items: center; }
.mcard__cover--ph .eq { height: 22px; gap: 3px; } .mcard__cover--ph .eq i { width: 4px; }
.mcard--done .mcard__cover--ph .eq i, .mcard--failed .mcard__cover--ph .eq i { animation: none; height: 40%; background: var(--muted); }
.mcard__meta { min-width: 0; flex: 1; }
.mcard__meta h3 { margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mcard__meta p { margin: 0; }
.mcard__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.mcard__delete { justify-self: end; margin-top: -6px; }
.mcard .report { margin-bottom: 4px; }

.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font: 700 .74rem/1.5 var(--font); text-transform: uppercase; letter-spacing: .06em; background: var(--surface-2); color: var(--muted); white-space: nowrap; }
.pill--done { background: rgba(94, 207, 180, .14); color: var(--teal); }
.pill--processing, .pill--queued { background: rgba(242, 169, 59, .14); color: var(--accent); }
.pill--failed { background: rgba(239, 107, 91, .14); color: var(--red); }

.progress { height: 8px; background: var(--field); border-radius: 999px; overflow: hidden; border: 1px solid var(--line); }
.progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--accent-2)); border-radius: 999px; transition: width .4s ease; }

.report summary { cursor: pointer; color: var(--muted); font-size: .9rem; font-weight: 600; }
.report table { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: .9rem; }
.report th, .report td { text-align: left; padding: 7px 8px; border-bottom: 1px solid var(--line); }
.report thead th { color: var(--muted); font-weight: 600; font-size: .8rem; }
.history { max-width: 640px; margin: 32px auto 0; }
.num { text-align: right; font-family: var(--mono); }
.pos { color: var(--teal); } .neg { color: var(--red); }

/* ---------- Prose / Legal ---------- */
.prose h1 { margin-bottom: 24px; }
.prose h2 { font-size: 1.3rem; margin-top: 2em; }
.prose p, .prose li { color: var(--text-2); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 48px 0 28px; margin-top: 0; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }
.footer__links, .footer__langs { display: grid; gap: 8px; align-content: start; }
.footer a:not(.logo) { color: var(--muted); text-decoration: none; }
.footer a:not(.logo):hover { color: var(--text); }
.footer__copy { margin-top: 32px; font-size: .85rem; }
@media (max-width: 700px) { .footer__inner { grid-template-columns: 1fr 1fr; } .footer__inner > :first-child { grid-column: 1 / -1; } }

/* ---------- PWA-Banner ---------- */
.pwa {
    position: fixed; right: 16px; bottom: 16px; z-index: 70; width: min(380px, calc(100vw - 32px));
    display: grid; grid-template-columns: auto 1fr; gap: 12px; padding: 16px; background: var(--surface);
    border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); animation: fadeUp .35s ease;
}
.pwa__icon { width: 44px; height: 44px; border-radius: 11px; background: var(--bg); display: grid; place-items: center; }
.pwa__icon svg { width: 26px; fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; }
.pwa__text { display: grid; gap: 2px; font-size: .9rem; }
.pwa__text span { color: var(--muted); }
.pwa__actions { grid-column: 1 / -1; display: flex; gap: 14px; align-items: center; justify-content: flex-end; }

/* ---------- Installer & Admin ---------- */
.install .logo { margin-bottom: 24px; }
.install__steps { list-style: none; padding: 0; margin: 0 0 24px; display: flex; gap: 8px; flex-wrap: wrap; font-size: .85rem; color: var(--muted); }
.install__steps li { display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border: 1px solid var(--line); border-radius: 999px; }
.install__steps li span { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); font-weight: 700; font-size: .75rem; }
.install__steps li.is-active { color: var(--text); border-color: var(--accent); }
.install__steps li.is-active span { background: var(--accent); color: var(--accent-ink); }
.install__steps li.is-done span { background: var(--teal); color: var(--bg); }
.install h3 { margin-top: 24px; }
.checks__group { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 22px 0 8px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.checks li { display: grid; grid-template-columns: 22px 1fr auto; gap: 4px 10px; padding: 8px 10px; border-radius: 8px; background: var(--field); font-size: .92rem; align-items: baseline; }
.checks__icon { font-weight: 800; }
.check--ok .checks__icon { color: var(--teal); }
.check--warn .checks__icon { color: var(--yellow); }
.check--fail .checks__icon { color: var(--red); }
.check--fail { background: rgba(239, 107, 91, .08) !important; }
.checks__value { color: var(--muted); font-family: var(--mono); font-size: .8rem; text-align: right; word-break: break-all; }
.checks__fix { grid-column: 2 / -1; color: var(--warn-ink); font-size: .85rem; }
.code { background: var(--field); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; font: .85rem/1.5 var(--mono); white-space: pre-wrap; word-break: break-all; cursor: copy; position: relative; }
.code.is-copied::after { content: "✓ kopiert"; position: absolute; right: 10px; top: 10px; color: var(--teal); font-family: var(--font); font-size: .8rem; }
.list { padding-left: 20px; color: var(--text-2); }
.admin-nav { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 4px 0 24px; }
.admin-nav a { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: .9rem; }
.admin-nav a.is-active, .admin-nav a:hover { color: var(--text); border-color: var(--accent); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 24px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: grid; gap: 2px; }
.stat span { color: var(--muted); font-size: .82rem; font-weight: 600; }
.stat b { font: 900 1.8rem/1.2 var(--display); }
.stat small { color: var(--muted); }
@media (max-width: 800px) { .stats { grid-template-columns: 1fr 1fr; } }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th, .table td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table thead th { color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.table .actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.inline-form { display: flex; gap: 6px; }
.inline-form input { width: 76px !important; padding: 6px 8px !important; }
.search { display: flex; gap: 8px; margin-bottom: 16px; max-width: 420px; }
.pager { display: flex; justify-content: space-between; margin-top: 16px; }
.is-busy { opacity: .6; pointer-events: none; }

/* ---------- Mobile-Feinschliff ---------- */
.hero__grid > *, .dash-grid > * { min-width: 0; }
.badge { white-space: normal; line-height: 1.35; }
.hero__title, .section__title { overflow-wrap: break-word; }
@media (max-width: 600px) {
    .hero__title { font-size: clamp(1.5rem, 7.3vw, 2.6rem); }
    .section__title { font-size: clamp(1.35rem, 6.4vw, 1.8rem); }
    .hero__cta .btn { width: 100%; white-space: normal; text-align: center; }
    .card { padding: 18px; }
    .ab__meters { gap: 10px; }
}

/* ---------- Theme-Umschalter & Flaggen ---------- */
.theme-toggle { width: 38px; height: 38px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; display: inline-grid; place-items: center; padding: 0; }
.theme-toggle:hover { color: var(--text); }
.theme-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; display: none; }
:root[data-theme-choice="system"] .theme-toggle .i-system, :root[data-theme-choice="light"] .theme-toggle .i-sun, :root[data-theme-choice="dark"] .theme-toggle .i-moon { display: block; }
:root:not([data-theme-choice]) .theme-toggle .i-system { display: block; }
.flag { width: 20px; height: 14px; border-radius: 2px; object-fit: cover; display: inline-block; vertical-align: -2px; box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
.lang summary { display: inline-flex; align-items: center; gap: 6px; }
.lang__menu a { display: flex; align-items: center; gap: 10px; }
.footer__langs a { display: inline-flex; align-items: center; gap: 8px; }
:root[data-theme="light"] .btn--ghost:hover { background: var(--surface-2); }
.code { color: var(--text); }

/* ---------- Konto ---------- */
.account { display: grid; gap: 20px; }
.account h1 { margin-bottom: 4px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 640px) { .split { grid-template-columns: 1fr; } }
.twofa-setup { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: start; }
@media (max-width: 640px) { .twofa-setup { grid-template-columns: 1fr; } }
.qr { background: #fff; padding: 8px; border-radius: 12px; width: max-content; max-width: 100%; }
.qr svg { width: 220px; height: 220px; }
.otp { font: 600 1.4rem/1 var(--mono) !important; letter-spacing: .2em; text-align: center; }
.codes { columns: 2; letter-spacing: .05em; }
.card--danger { border-color: rgba(239, 107, 91, .45); }
.btn--danger { background: var(--red); color: #fff; }
.btn--danger:hover { background: var(--red); color: #fff; filter: brightness(1.1); box-shadow: none; }
.dash-grid--wide { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
@media (max-width: 960px) { .dash-grid--wide { grid-template-columns: 1fr; } }
.stack { display: grid; gap: 20px; align-content: start; }
.checks-inline { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.search select { width: auto; }

/* ---------- Song-Angaben & Vorschau ---------- */
.meta-box { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; background: var(--bg-2); }
.meta-box > summary { cursor: pointer; display: grid; gap: 2px; list-style: none; }
.meta-box > summary::-webkit-details-marker { display: none; }
.meta-box > summary small { font-size: .78rem; }
.meta-box[open] > summary { margin-bottom: 12px; }
.meta-box .row2 { margin-bottom: 10px; }
.btn--glow { background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.unlock { display: grid; gap: 10px; }
.mcard--preview { border-color: rgba(242, 169, 59, .45); }
.pill--preview { background: rgba(94, 207, 180, .14); color: var(--teal); }

/* ---------- Admin-Einstellungen ---------- */
.settings { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; align-items: start; }
.settings__nav { display: grid; gap: 4px; position: sticky; top: 84px; }
.settings__nav a { padding: 10px 14px; border-radius: var(--radius-sm); color: var(--muted); text-decoration: none; font-weight: 600; font-size: .95rem; border: 1px solid transparent; }
.settings__nav a:hover { color: var(--text); background: var(--surface); }
.settings__nav a.is-active { color: var(--text); background: var(--surface); border-color: var(--accent); }
.settings__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
@media (max-width: 860px) { .settings { grid-template-columns: 1fr; } .settings__nav { position: static; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); } .settings__grid { grid-template-columns: 1fr; } }
.sep { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }
.form--inline { grid-template-columns: 1fr auto; align-items: end; }
.input-sm { max-width: 120px; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.tabs a { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); text-decoration: none; font-weight: 600; font-size: .88rem; }
.tabs a.is-active { color: var(--text); border-color: var(--accent); }
.legal-box { margin-bottom: 12px; }
.legal-box > summary { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
textarea.mono { font-family: var(--mono) !important; font-size: .85rem !important; }
.settings__grid { align-items: start; }

/* ================= Admin-Layout mit Seitenleiste ================= */
body.admin { display: grid; grid-template-columns: 250px minmax(0, 1fr); min-height: 100vh; }
.aside { position: sticky; top: 0; height: 100vh; overflow-y: auto; background: var(--bg-2); border-right: 1px solid var(--line); display: flex; flex-direction: column; padding: 18px 12px; }
.aside__logo { padding: 4px 10px 18px; }
.aside__nav { display: grid; gap: 2px; flex: 1; align-content: start; }
.aside__group { margin: 16px 10px 6px; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.aside__item { display: flex; align-items: center; gap: 11px; padding: 9px 10px; border-radius: 9px; color: var(--text-2); text-decoration: none; font-weight: 550; font-size: .93rem; }
.aside__item svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; opacity: .85; }
a.aside__item:hover { background: var(--surface); color: var(--text); }
.aside__item.is-active { background: var(--surface); color: var(--text); box-shadow: inset 3px 0 0 var(--accent); }
.aside__item.is-active svg { color: var(--accent); opacity: 1; }
.aside__item.is-soon { color: var(--muted); opacity: .6; cursor: default; }
.aside__item em { margin-left: auto; font-style: normal; font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; background: var(--surface-2); padding: 2px 6px; border-radius: 999px; }
.aside__foot { padding: 14px 10px 0; }
.admin-main { min-width: 0; display: flex; flex-direction: column; }
.admin-top { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 16px; padding: 12px 28px; background: var(--header-bg); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.admin-top__title { font-size: 1.25rem; margin: 0; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-top__actions { display: flex; align-items: center; gap: 10px; }
.admin-top__menu { display: none; }
.admin-content { padding: 24px 28px 64px; }
.admin-page { display: grid; gap: 20px; }
.admin-page > .dash-grid, .admin-page > .stats { margin: 0; }
.aside-backdrop { display: none; }
.admin .settings { grid-template-columns: 1fr; }
.admin .settings__nav { position: static; display: flex; flex-wrap: wrap; gap: 6px; }
.admin .settings__nav a { padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: .88rem; }
@media (max-width: 980px) {
    body.admin { grid-template-columns: 1fr; }
    .aside { position: fixed; z-index: 80; width: 270px; left: 0; top: 0; transform: translateX(-105%); transition: transform .25s; box-shadow: var(--shadow); }
    .admin-menu-toggle:checked ~ .aside { transform: none; }
    .admin-menu-toggle:checked ~ .aside-backdrop { display: block; position: fixed; inset: 0; z-index: 70; background: rgba(0, 0, 0, .45); }
    .admin-top__menu { display: inline-flex; }
    .admin-top { padding: 10px 16px; }
    .admin-top__actions .btn { display: none; }
    .admin-content { padding: 18px 16px 48px; }
}
.stats--6 { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 1280px) { .stats--6 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .stats--6 { grid-template-columns: 1fr 1fr; } }
.stat--warn { border-color: rgba(242, 201, 76, .55); }
.stat a { color: var(--muted); }
.card--alert { border-color: rgba(239, 107, 91, .45); }
.card--ok { border-color: rgba(94, 207, 180, .35); }
.problems { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.problems__item { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--field); border-left: 3px solid var(--yellow); }
.problems__item--fail { border-left-color: var(--red); }
.chart { display: grid; gap: 6px; }
.chart__bars { display: flex; align-items: flex-end; gap: 4px; height: 170px; padding-top: 18px; }
.chart__col { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; position: relative; min-width: 0; }
.chart__bar { background: var(--accent); border-radius: 4px 4px 0 0; min-height: 0; }
.chart__bar--2 { background: var(--teal); opacity: .75; border-radius: 4px 4px 0 0; }
.chart__col .chart__bar--2 + .chart__bar { border-radius: 0; }
.chart__num { position: absolute; top: -18px; left: 0; right: 0; text-align: center; font: 600 .7rem var(--mono); color: var(--muted); }
.chart__labels { display: flex; gap: 4px; }
.chart__labels span { flex: 1; text-align: center; font-size: .68rem; color: var(--muted); white-space: nowrap; overflow: hidden; }
.chart__legend { display: flex; gap: 16px; font-size: .8rem; color: var(--muted); }
.chart__key { display: inline-block; width: 10px; height: 10px; border-radius: 3px; background: var(--accent); margin-right: 6px; }
.chart__key--2 { background: var(--teal); }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 1100px) { .grid3 { grid-template-columns: 1fr; } }
.meter { position: relative; display: flex; justify-content: space-between; gap: 10px; padding: 8px 10px; margin-bottom: 4px; border-radius: 8px; overflow: hidden; font-size: .9rem; }
.meter i { position: absolute; left: 0; top: 0; bottom: 0; background: rgba(242, 169, 59, .14); z-index: 0; }
.meter span, .meter b { position: relative; z-index: 1; }

/* ---------- Schwebende Noten ---------- */
.hero > .wrap, .cta-band > .wrap { position: relative; z-index: 1; }
.cta-band { position: relative; overflow: hidden; }
.notes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.note { position: absolute; left: var(--x); bottom: -40px; font-size: calc(var(--size) * 1.35); line-height: 1; color: var(--accent); opacity: 0; animation: float var(--dur) linear var(--delay) infinite; filter: drop-shadow(0 0 10px rgba(242, 169, 59, .45)); }
.note:nth-child(3n) { color: var(--teal); filter: drop-shadow(0 0 10px rgba(94, 207, 180, .45)); }
.note:nth-child(4n) { color: #e8648f; filter: drop-shadow(0 0 10px rgba(232, 100, 143, .4)); }
.note--icon { width: calc(var(--size) * 1.3); height: calc(var(--size) * 1.3); fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.note--slow { animation-duration: calc(var(--dur) * 1.6); }
@keyframes float {
    0% { transform: translate(0, 0) rotate(-8deg); opacity: 0; }
    10% { opacity: .8; }
    50% { transform: translate(28px, -45vh) rotate(10deg); }
    85% { opacity: .5; }
    100% { transform: translate(-18px, -95vh) rotate(-6deg); opacity: 0; }
}
@media (max-width: 700px) { .note:nth-child(even) { display: none; } }
@media (prefers-reduced-motion: reduce) { .note { animation: none; opacity: .18; bottom: auto; top: calc(var(--x) * .8); } }

/* ---------- Newsletter ---------- */
.newsletter { padding: 72px 0; }
.newsletter__box { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; padding: 36px; border-radius: 20px; border: 1px solid var(--line);
    background: radial-gradient(500px 220px at 100% 0%, rgba(242, 169, 59, .14), transparent 70%), var(--surface); }
.newsletter__box .section__title { font-size: clamp(1.3rem, 2.6vw, 1.8rem); margin-bottom: 10px; }
.newsletter__form { display: grid; gap: 10px; }
.newsletter__row { display: flex; gap: 8px; }
.newsletter__row input { flex: 1; min-width: 0; }
@media (max-width: 800px) { .newsletter__box { grid-template-columns: 1fr; padding: 24px; } .newsletter__row { flex-direction: column; } }
/* Admin mobil: nichts darf breiter als der Bildschirm werden */
.admin-content, .admin-page, .admin-page > *, .admin .dash-grid > *, .admin .stack > * { min-width: 0; }
.admin .card { overflow-x: auto; }
.admin-page .stats { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
@media (max-width: 640px) {
    .chart__labels span:nth-child(odd) { visibility: hidden; }
    .chart__num { display: none; }
    .problems__item { flex-direction: column; align-items: flex-start; }
}

/* ---------- Einheitliche Icons ---------- */
.ic { width: 1.05em; height: 1.05em; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; display: inline-block; vertical-align: -.16em; flex: none; }
.card__eyebrow .ic { width: 16px; height: 16px; color: var(--accent); }
.admin .settings__nav a { display: inline-flex; align-items: center; gap: 8px; }
.admin .settings__nav a .ic { width: 16px; height: 16px; opacity: .85; }
.admin .settings__nav a.is-active .ic { color: var(--accent); opacity: 1; }
.btn .ic { width: 15px; height: 15px; }
.meter .ic { width: 15px; height: 15px; margin-right: 4px; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; }
.dot--ok { background: var(--teal); } .dot--err { background: var(--red); }
.nowrap { white-space: nowrap; }
.big-icon .ic { width: 44px; height: 44px; color: var(--accent); stroke-width: 1.5; }
.section__title .ic { color: var(--accent); }
.ab__tabs .ic { width: 13px; height: 13px; }

/* ---------- Checkout & Bestellung ---------- */
.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; }
@media (max-width: 900px) { .checkout { grid-template-columns: 1fr; } }
.checkout__summary { position: sticky; top: 84px; display: grid; gap: 12px; }
.checkout__pkg { margin: 0; font-size: 1.05rem; }
.price-sum { width: 100%; border-collapse: collapse; }
.price-sum td { padding: 6px 0; }
.price-sum__total td { border-top: 1px solid var(--line); font: 800 1.35rem/1.4 var(--font); padding-top: 10px; }
.coupon-row { display: flex; gap: 8px; }
.coupon-row input { flex: 1; min-width: 0; text-transform: uppercase; }
.paymethod { display: block; cursor: pointer; }
.paymethod input { position: absolute; opacity: 0; }
.paymethod > span { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--field); }
.paymethod > span .ic { grid-row: span 2; width: 22px; height: 22px; color: var(--accent); }
.paymethod input:checked + span { border-color: var(--accent); background: rgba(242, 169, 59, .07); }
.paymethod input:focus-visible + span { outline: 2px solid var(--accent); }
.order-card { text-align: left; }
.bank { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: start; margin: 18px 0; }
@media (max-width: 640px) { .bank { grid-template-columns: 1fr; } }
.bank__data { margin: 0; display: grid; gap: 8px; }
.bank__data div { display: grid; grid-template-columns: 150px 1fr; gap: 10px; padding: 8px 12px; background: var(--field); border-radius: 8px; }
.bank__data dt { color: var(--muted); } .bank__data dd { margin: 0; }
.bank__data .ref { font-size: 1.1rem; font-weight: 700; color: var(--accent); cursor: copy; }
.bank__qr { margin: 0; text-align: center; max-width: 200px; }
.bank__qr .qr svg { width: 170px; height: 170px; }
.mono { font-family: var(--mono); }
.coupon-redeem { display: flex; gap: 10px; align-items: center; justify-content: center; flex-wrap: wrap; margin-top: 18px; }
.coupon-redeem input { width: 180px; text-transform: uppercase; }
.stats--auto { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.inline-edit > summary { list-style: none; cursor: pointer; }
.inline-edit[open] { flex-basis: 100%; }
.inline-edit[open] > form { margin-top: 10px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); min-width: min(640px, 80vw); }
.checkout__summary > *, .checkout > * { min-width: 0; }
.coupon-row input { width: auto !important; }
