/* Schrift: Hausschrift Souris Schmal (Regular, Bold), eigener Entwurf der Petit Souris, keine Fremdlizenz.
   Selbst gehostet als WOFF2-Teilmenge (Zeichen der 24 Sprachen, Ziffern, €, –, …). Keine externen Schriften. */
@font-face {
    font-family: "PS Souris"; font-style: normal; font-weight: 400; font-display: swap;
    src: url("../fonts/souris-schmal-regular-2A_XXch.woff2") format("woff2");
}
@font-face {
    font-family: "PS Souris"; font-style: normal; font-weight: 700; font-display: swap;
    src: url("../fonts/souris-schmal-bold-mnZehdZ.woff2") format("woff2");
}
/* PSOrvia – eigenständiger Hauslook: Sichtgerät (dunkles Glas, P31-Grün) als Akzent.
   Keine externen Schriften: Hausschrift selbst gehostet, Systemschriften als Rückfall. Kontraste: WCAG AA (Text >= 4,5:1, Bedienelemente >= 3:1). */
:root {
    --bg: #f5f6f2;
    --surface: #ffffff;
    --surface-2: #eceee8;
    --text: #12161b;
    --muted: #455059;
    --line: #c9cec6;
    --accent: #0a6a37;      /* Grün auf hellem Grund, 6:1 */
    --on-accent: #ffffff;
    --focus: #0a4fc4;
    --err: #b3261e;         /* Fehler auf hellem Grund, 6,5:1 */
    --glass: #06090c;
    --phosphor: #7dffa8;    /* P31 */
    --radius: 10px;
    --font: "PS Souris", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --display: "PS Souris", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --mono: "PS Souris", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    color-scheme: light;
}
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --bg: #0b0e12; --surface: #12171d; --surface-2: #1a2028; --text: #e9edf0; --muted: #a9b3bb;
        --line: #333c46; --accent: #7dffa8; --on-accent: #04140a; --focus: #8db4ff; --err: #ff9b92; color-scheme: dark;
    }
}
:root[data-theme="dark"] {
    --bg: #0b0e12; --surface: #12171d; --surface-2: #1a2028; --text: #e9edf0; --muted: #a9b3bb;
    --line: #333c46; --accent: #7dffa8; --on-accent: #04140a; --focus: #8db4ff; --err: #ff9b92; color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
body {
    margin: 0; background: var(--bg); color: var(--text);
    font: 1rem/1.6 var(--font);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
main:focus { outline: none; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.01em; }
h1, h2 { font-family: var(--display); font-weight: 700; overflow-wrap: anywhere; hyphens: auto; }
h1 { font-size: clamp(2.4rem, 8vw, 5.5rem); line-height: 1.02; letter-spacing: -.045em; margin: .3em 0 .4em; }
h2 { font-size: clamp(1.6rem, 4.6vw, 3rem); line-height: 1.08; letter-spacing: -.035em; margin: 1.6em 0 .5em; }
h3 { font-size: 1.1rem; margin: 1.4em 0 .4em; text-transform: none; }
.wrap { width: min(72rem, 100% - 2rem); margin-inline: auto; }
.narrow { max-width: 46rem; }
.block { padding-block: clamp(2.5rem, 7vw, 6rem); }
.muted { color: var(--muted); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 40rem; }
.eyebrow { font: .8rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.skip { position: absolute; left: .5rem; top: -4rem; background: var(--surface); color: var(--text); padding: .6rem 1rem; border-radius: 6px; z-index: 10; border: 2px solid var(--focus); }
.skip:focus { top: .5rem; }

/* Kopf */
.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 92%, transparent); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(1px)) { .top { background: color-mix(in srgb, var(--bg) 68%, transparent); backdrop-filter: blur(16px) saturate(1.5); } }
.top__in { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.5rem; padding-block: .6rem; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--text); font-weight: 700; font-size: 1.15rem; letter-spacing: .06em; }
.brand__name span { font-weight: 400; }
.brand__mark { width: 2rem; height: 2rem; }
.brand__glass { fill: var(--glass); }
.brand__trace { fill: none; stroke: var(--phosphor); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.nav { display: flex; flex-wrap: wrap; gap: .25rem; margin-right: auto; }
.nav a { color: var(--text); text-decoration: none; padding: .55rem .8rem; border-radius: 8px; min-height: 2.75rem; display: inline-flex; align-items: center; }
.nav a:hover { background: var(--surface-2); }
.nav a[aria-current] { box-shadow: inset 0 -3px 0 var(--accent); font-weight: 600; }
.tools { display: flex; align-items: center; gap: .5rem; }
.langs { display: flex; list-style: none; margin: 0; padding: 0; gap: .15rem; }
.langs a { display: inline-flex; align-items: center; justify-content: center; min-width: 2.75rem; min-height: 2.75rem; color: var(--text); text-decoration: none; border-radius: 8px; font: 600 .85rem var(--mono); }
.langs a[aria-current] { background: var(--surface-2); box-shadow: inset 0 -3px 0 var(--accent); }
.theme { width: 2.75rem; height: 2.75rem; border: 1px solid var(--line); background: var(--surface); color: var(--text); border-radius: 8px; cursor: pointer; display: grid; place-items: center; }
.theme svg { width: 1.4rem; height: 1.4rem; }
.theme:hover { background: var(--surface-2); }

/* Knöpfe */
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: .6rem 1.4rem; border-radius: var(--radius); background: var(--accent); color: var(--on-accent); font: 600 1rem var(--font); text-decoration: none; border: 2px solid var(--accent); cursor: pointer; }
.btn:hover { filter: brightness(1.08); }
.btn--ghost { background: transparent; color: var(--accent); }
fieldset[disabled] .btn { opacity: .6; cursor: not-allowed; }



/* Karten */
.grid { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; position: relative; }
.card:hover, .card:focus-within { border-color: var(--accent); }
.card__img { display: block; aspect-ratio: 4 / 3; background: var(--glass); }
.card__img img { width: 100%; height: 100%; object-fit: contain; }
.card__none { display: grid; place-items: center; height: 100%; color: #a9b3bb; font-size: .9rem; }
.card__body { padding: .9rem 1rem 1.1rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.card__title { margin: 0; font-size: 1.15rem; }
.card__title a { color: var(--text); text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; }
.card__text { margin: 0; color: var(--muted); font-size: .95rem; }
.badges { display: flex; flex-wrap: wrap; gap: .4rem; margin: .4rem 0 0; margin-top: auto; padding-top: .4rem; }
.badge { display: inline-block; font: 600 .8rem/1 var(--mono); padding: .35rem .55rem; border-radius: 6px; border: 1px solid var(--line); background: var(--surface-2); color: var(--text); }
.badge--free { border-color: var(--accent); }
.badge--paid { border-style: dashed; border-color: var(--muted); }

/* Filter */
.filters { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; margin: 1.5rem 0 1rem; }
.filters__h { display: block; font: .8rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .3rem; }
.filters ul { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: 0; }
.filters a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: .3rem 1rem; border: 1px solid var(--line); border-radius: 999px; color: var(--text); text-decoration: none; background: var(--surface); }
.filters a:hover { border-color: var(--accent); }
.filters a[aria-current] { background: var(--accent); color: var(--on-accent); border-color: var(--accent); font-weight: 600; }
.filters a[aria-current]::before { content: "✓ "; margin-right: .3em; }

/* Plugin-Seite */
.plugin__head { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 52rem) { .plugin__head { grid-template-columns: 1fr 1.2fr; } }
.shot { margin: 0; background: var(--glass); border-radius: 14px; padding: .75rem; border: 1px solid var(--line); }
.shot img { width: 100%; border-radius: 6px; }
.shot__none { padding: 3rem 1rem; text-align: center; color: #a9b3bb; }
.plugin__cols { display: grid; gap: 2rem; }
@media (min-width: 52rem) { .plugin__cols { grid-template-columns: 1.6fr 1fr; } }
.list { padding-left: 1.2rem; } .list li { margin: .4rem 0; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: .4rem 1rem; margin: 0; padding: 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.facts dt { color: var(--muted); } .facts dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.notice { padding: .8rem 1rem; border: 2px dashed var(--muted); border-radius: var(--radius); background: var(--surface); }

.tiles { list-style: none; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); margin: 2rem 0; }
.tiles li { padding: 1rem 1.2rem; border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--radius); background: var(--surface); }
.tiles h2, .tiles h3 { margin-top: 0; font-size: 1.15rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: .5rem 0 1rem; }
.chips li { padding: .35rem .8rem; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-family: var(--mono); font-size: .9rem; }
.names { columns: 12rem; padding-left: 1.2rem; }

.form { display: grid; gap: .5rem; max-width: 30rem; }
.form fieldset { border: 0; padding: 0; display: grid; gap: .5rem; }
.form label { font-weight: 600; margin-top: .5rem; }
.form textarea, .form input { font: inherit; padding: .7rem; border: 2px solid var(--muted); border-radius: 8px; background: var(--surface); color: var(--text); }
.contact { max-width: 36rem; gap: 1rem; }
.contact .field { display: grid; gap: .3rem; }
.contact .field label { margin-top: 0; }
.contact textarea { min-height: 9rem; resize: vertical; width: 100%; }
.contact input { width: 100%; }
.contact input:focus-visible, .contact textarea:focus-visible { border-color: var(--accent); }
.contact [aria-invalid="true"], .contact .field:has(.field__err) input, .contact .field:has(.field__err) textarea { border-color: var(--err); }
.field__err ul { list-style: none; margin: 0; padding: 0; color: var(--err); font-weight: 600; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { margin: 1rem 0; padding: .8rem 1rem; border: 2px solid var(--line); border-left-width: 6px; border-radius: var(--radius); background: var(--surface); max-width: 36rem; }
.notice ul { margin: 0; padding-left: 1.2rem; }
.notice--ok { border-color: var(--accent); }
.notice--err { border-color: var(--err); }
.small { font-size: .95rem; }

.foot { border-top: 1px solid var(--line); margin-top: 3rem; padding-block: 1.5rem; color: var(--muted); font-size: .95rem; }
.foot__in { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; }
.foot p { margin: 0; } .foot ul { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; list-style: none; padding: 0; margin: 0; }
.foot a { display: inline-block; padding: .5rem 0; }
@media (max-width: 40rem) { .tools { margin-left: auto; } }

/* Burgermenü (nur mit JavaScript: Klasse has-burger) */
.menu { display: contents; }
.burger, .burger-backdrop { display: none; }
.burger { width: 2.75rem; height: 2.75rem; margin-left: auto; border: 1px solid var(--line); background: var(--surface); color: var(--text); border-radius: 8px; cursor: pointer; place-items: center; }
.burger:hover { background: var(--surface-2); }
.burger svg { width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.burger__close { display: none; }
.is-burger-open .burger__open { display: none; }
.is-burger-open .burger__close { display: inline; }
html.burger-lock { overflow: hidden; }
@media (max-width: 640px) {
    .has-burger .burger { display: grid; }
    .has-burger .menu {
        display: flex; flex-direction: column; gap: 1rem; position: absolute; top: 100%; right: 0; z-index: 2;
        width: min(20rem, 86vw); max-height: calc(100dvh - 4rem); overflow-y: auto; padding: 1rem;
        background: var(--surface); border: 1px solid var(--line); border-right: 0; border-radius: 0 0 0 var(--radius);
        visibility: hidden; opacity: 0; transform: translateX(1.5rem); transition: opacity .2s, transform .2s, visibility 0s .2s;
    }
    .has-burger.is-burger-open .menu { visibility: visible; opacity: 1; transform: none; transition: opacity .2s, transform .2s; }
    .has-burger .nav { flex-direction: column; flex-wrap: nowrap; margin: 0; }
    .has-burger .nav a { min-height: 2.75rem; }
    .has-burger .tools { margin: 0; padding-top: 1rem; border-top: 1px solid var(--line); justify-content: space-between; }
    .has-burger .burger-backdrop {
        display: block; position: absolute; top: 100%; left: 0; width: 100vw; height: 100dvh; z-index: 1;
        background: color-mix(in srgb, var(--bg) 60%, #000); opacity: 0; visibility: hidden; transition: opacity .2s, visibility 0s .2s;
    }
    .has-burger.is-burger-open .burger-backdrop { opacity: .55; visibility: visible; transition: opacity .2s; }
}

/* Startseite: Rahmenwerk, Bühne für freigegebene Neuheit */
.soon { color: var(--muted); padding-block: 1rem 3rem; }

/* Highlights */
.hl { list-style: none; padding: 0; margin: 1rem 0; display: grid; gap: .75rem 1.25rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.hl li { display: flex; gap: .8rem; align-items: flex-start; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }

.hl--list { grid-template-columns: 1fr; }
.highlights h2 { margin-top: 0; }

/* ---------- Tiefe: Körnung, weiche Verläufe ---------- */
body {
    background:
        radial-gradient(70rem 40rem at 90% -5%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 70%),
        radial-gradient(50rem 36rem at -10% 40%, color-mix(in srgb, var(--focus) 7%, transparent), transparent 70%),
        var(--bg);
    background-attachment: fixed, fixed, scroll;
}
body::before {
    content: ""; position: fixed; inset: 0; z-index: 50; pointer-events: none; opacity: .06;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
:root[data-theme="dark"] body::before { opacity: .09; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) body::before { opacity: .09; } }

/* ---------- Hero ---------- */
.hero { position: relative; border-bottom: 1px solid var(--line); overflow: hidden; }
.hero__in { display: grid; gap: clamp(2rem, 5vw, 4rem); padding-block: clamp(3rem, 9vw, 8rem); align-items: center; }
@media (min-width: 56rem) { .hero__in { grid-template-columns: 1.15fr .85fr; } }
.hero .lead { font-size: clamp(1.1rem, 2vw, 1.4rem); margin-bottom: 0; }
.scope { aspect-ratio: 4 / 3; background: var(--glass); border-radius: 20px; border: 6px solid #4b5560; overflow: hidden; position: relative;
    box-shadow: 0 0 0 1px #0007, inset 0 0 50px #000a, 0 0 60px color-mix(in srgb, var(--phosphor) 22%, transparent), 0 30px 60px -30px #0008; }
.scope canvas { width: 100%; height: 100%; display: block; }
.scope::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, transparent 55%, #000a 100%); pointer-events: none; }

/* ---------- Bento ---------- */
/* ---------- Kachel-Komponente (partials/_tile.html.twig) ----------
   Ein Raster: 12 Spalten (S = 4, M = 6, L = 8), feste Mindesthöhe der Zeile, gleiche Abstände, Radien, Rand.
   Aufbau jeder Kachel: oben Symbol/Motiv/Zahl (.tile__top), dann Überschrift (h3), Text, Fußnote unten bündig. */
.bento { --row: 11rem; list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1rem; grid-template-columns: 1fr; grid-auto-rows: minmax(var(--row), auto); grid-auto-flow: dense; }
.tile { grid-column: 1 / -1; display: flex; flex-direction: column; gap: .5rem; padding: 1.5rem; border-radius: 20px; border: 1px solid var(--line); position: relative; overflow: hidden;
    background: linear-gradient(150deg, var(--surface), var(--surface-2)); }
.tile__top { display: flex; align-items: flex-start; min-height: 3.5rem; margin-bottom: .4rem; }
.tile__title { margin: 0; font-size: 1.15rem; line-height: 1.25; }
.tile__text, .tile p { margin: 0; color: var(--muted); }
.tile__foot { margin-top: auto !important; padding-top: .6rem; border-top: 1px solid var(--line); font-size: .875rem; }
.tile__text + .tile__foot, .tile__title + .tile__foot { margin-top: auto; }
.tile__text { margin-bottom: .6rem !important; }
.tile__foot a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.tile__foot a:focus-visible { outline: 3px solid var(--focus, var(--accent)); outline-offset: 2px; }
.tile .hl__icon { color: var(--accent); width: 2.6rem; height: 2.6rem; margin: 0; }
.tile .motif { color: var(--accent); width: 11rem; height: 3.5rem; margin: 0; }
.tile--accent { background: linear-gradient(150deg, color-mix(in srgb, var(--accent) 22%, var(--surface)), var(--surface)); border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); }
.tile--art { padding: 0; min-height: 15rem; background: var(--glass); border-color: #2b3a31; }
.tile__art, .tile__art svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.tile--stat { justify-content: space-between; }
.tile--stat .tile__top { margin: 0; }
@media (min-width: 52rem) {
    .bento { --row: 15rem; grid-template-columns: repeat(12, 1fr); gap: 1.25rem; }
    .tile { grid-column: span 4; }
    .tile--s3 { grid-column: span 3; } .tile--s4 { grid-column: span 4; } .tile--s6 { grid-column: span 6; } .tile--s8 { grid-column: span 8; }
    .tile--tall { grid-row: span 2; }
}
.tile--glass { background: radial-gradient(circle at 20% 0%, #0f2a1a 0%, var(--glass) 60%); border-color: #2b3a31; color: #c9d3da; }
.tile--glass p, .tile--glass .stat__post, .tile--glass .stat__pre { color: #b9c5cd; }
.stat__num { font: 700 clamp(2.4rem, 7vw, 4.6rem)/1 var(--display); letter-spacing: -.05em; color: var(--phosphor); font-variant-numeric: tabular-nums;
    text-shadow: 0 0 .35em color-mix(in srgb, var(--phosphor) 55%, transparent), 0 0 1.2em color-mix(in srgb, var(--phosphor) 25%, transparent); }
.stat__pre, .stat__post { font: 600 .95rem var(--mono); letter-spacing: .04em; }
.stat { display: flex; flex-direction: column; gap: .15rem; }
.stat__row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .6rem; }
.art-trace { fill: none; stroke: var(--phosphor); stroke-width: 3; stroke-linecap: round; filter: drop-shadow(0 0 6px var(--phosphor)); }
.art-grid { stroke: #7dffa826; stroke-width: 1; fill: none; }
.art-knob { fill: #0d1612; stroke: #3b5546; stroke-width: 2; } .art-tick { stroke: var(--phosphor); stroke-width: 3; stroke-linecap: round; }
.art-flow { fill: none; stroke: #7dffa860; stroke-width: 2; stroke-dasharray: 5 7; } .art-node { fill: #0d1612; stroke: var(--phosphor); stroke-width: 2; }

/* ---------- Neuheiten-Bühne (nur mit freigegebenem Plugin) ---------- */
.spot { min-height: 100svh; display: grid; align-items: center; color: #e9edf0; position: relative; overflow: hidden;
    background: radial-gradient(60rem 40rem at 70% 40%, #12351f 0%, transparent 70%), linear-gradient(180deg, #06090c, #0b1410 60%, #06090c); border-block: 1px solid #2b3a31; }
.spot__in { display: grid; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; padding-block: clamp(3rem, 8vw, 6rem); }
@media (min-width: 56rem) { .spot__in { grid-template-columns: .8fr 1.2fr; } }
.spot .eyebrow { color: var(--phosphor); }
.spot h2 { font-size: clamp(2.6rem, 9vw, 7rem); line-height: 1; margin: .2em 0 .3em; color: var(--phosphor); text-shadow: 0 0 .4em #7dffa855; }
.spot .lead, .spot .muted { color: #c3ced6; }
.spot .btn { background: var(--phosphor); border-color: var(--phosphor); color: #04140a; }
.spot .btn--ghost { background: transparent; color: var(--phosphor); }
.spot__view { perspective: 1400px; }
.spot__img { width: 100%; height: auto; border-radius: 16px; box-shadow: 0 40px 80px -20px #000c, 0 0 80px #7dffa822; }
.soon { color: var(--muted); padding-block: 1rem 3rem; }

/* ---------- Player ---------- */
.player { display: grid; grid-template-columns: auto 1fr auto; gap: .8rem; align-items: center; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); margin: .8rem 0; }
.player__title { grid-column: 1 / -1; margin: 0; font-weight: 600; }
.player__btn { width: 3rem; height: 3rem; border-radius: 50%; border: 2px solid var(--accent); background: var(--accent); color: var(--on-accent); cursor: pointer; display: grid; place-items: center; padding: 0; }
.player__btn svg { width: 1.3rem; height: 1.3rem; } .player__btn .i-pause { display: none; }
.player__btn[aria-pressed="true"] .i-play { display: none; } .player__btn[aria-pressed="true"] .i-pause { display: block; }
.player__wave { height: 3.2rem; border-radius: 8px; cursor: pointer; min-width: 0; }
.player__wave canvas { width: 100%; height: 100%; display: block; }
.player__time { font: 600 .9rem var(--mono); color: var(--muted); font-variant-numeric: tabular-nums; }
.player__note { color: var(--muted); font-size: .9rem; margin: 0; }

/* ---------- Interaktion, Fokus ---------- */
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; box-shadow: 0 0 0 6px color-mix(in srgb, var(--focus) 25%, transparent); }
.nav a[aria-current], .langs a[aria-current] { box-shadow: inset 0 -3px 0 var(--accent), 0 6px 14px -8px var(--accent); }
.btn { transition: box-shadow .2s, transform .2s, filter .2s; }
.btn:hover, .btn:focus-visible { box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 30%, transparent), 0 0 22px color-mix(in srgb, var(--accent) 55%, transparent); }
.btn:active { transform: translateY(1px); }
.btn--ghost:hover { background: color-mix(in srgb, var(--accent) 12%, transparent); }
.player__btn:hover { box-shadow: 0 0 18px color-mix(in srgb, var(--accent) 60%, transparent); }
@media (prefers-reduced-motion: no-preference) {
    .tile, .card, .hl li { transition: transform .25s ease, box-shadow .25s ease, border-color .25s; }
    .tile:hover, .card:hover, .card:focus-within { transform: translateY(-4px); box-shadow: 0 18px 36px -18px color-mix(in srgb, var(--accent) 50%, #000); }
    .art-flow { animation: flow 2.4s linear infinite; } @keyframes flow { to { stroke-dashoffset: -24; } }
    /* Seitenübergänge (mehrseitig) */
    @view-transition { navigation: auto; }
    .top { view-transition-name: top; }
    ::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; }
    /* Einblendungen beim Scrollen */
    @supports (animation-timeline: view()) {
        .tile, .reveal, .card, .tiles li, .hl li, .player { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
        @keyframes rise { from { opacity: 0; translate: 0 28px; } to { opacity: 1; translate: 0 0; } }
        .spot__img { animation: tilt linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
        @keyframes tilt {
            from { transform: rotateX(16deg) rotateY(-18deg) scale(.86); }
            50% { transform: rotateX(0) rotateY(0) scale(1); }
            to { transform: rotateX(-10deg) rotateY(14deg) scale(.92); }
        }
    }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
.hl__icon { flex: none; color: var(--accent); margin-top: .1rem; }

/* Lizenzen Dritter */
.lic { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); margin: 0 0 .75rem; padding: .25rem 1rem; }
.lic > summary { cursor: pointer; padding: .6rem 0; min-height: 44px; font-weight: 600; }
.lic__meta { color: var(--muted); font-size: .95rem; margin: 0 0 .5rem; }
.lic__txt { font: .85rem/1.45 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; background: var(--surface-2, var(--bg)); border: 1px solid var(--line); border-radius: 6px; padding: .75rem; max-height: 24rem; overflow: auto; }
.lic__flag { border: 1px solid var(--line); border-radius: 4px; padding: 0 .35rem; font-size: .8rem; color: var(--muted); margin-left: .4rem; }

/* Feature-Seiten */
.tile__img { width: calc(100% + 3rem); margin: -1.5rem -1.5rem .5rem; max-width: none; aspect-ratio: 16 / 9; object-fit: cover; border-bottom: 1px solid var(--line); display: block; }
.feature .prose { max-width: 46rem; }
.feature .prose h2 { margin-top: 2rem; }
.feature section { margin-top: 2.5rem; }
.feature__hero { margin: 1.5rem 0; }
.feature__hero img, .feature__video { width: 100%; height: auto; max-width: 56rem; border-radius: 16px; border: 1px solid var(--line); display: block; background: var(--glass); }
.feature__gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: 1rem; list-style: none; padding: 0; }
.feature__gallery img { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); display: block; }
.badges a.badge { text-decoration: none; }
.ab { border: 1px solid var(--line); border-radius: 16px; padding: .4rem 1rem; margin: 1rem 0; background: var(--surface-2); }
.ab .player { border: 0; padding-inline: 0; margin: .4rem 0; background: transparent; }
.ab__bar { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: .6rem; }
.ab__label { font: .8rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-right: .5rem; }
.ab__btn { min-height: 2.75rem; padding: .3rem 1.2rem; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--text); cursor: pointer; font: inherit; }
.ab__btn[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); border-color: var(--accent); font-weight: 600; }
.ab__btn[aria-pressed="true"]::before { content: "✓ "; }
.ab [hidden] { display: none; }
/* Mobil: Beschriftung über die volle Breite, Vorher/Nachher darunter nebeneinander, gleich breit. */
@media (max-width: 640px) {
    .ab__label { flex-basis: 100%; margin-right: 0; }
    .ab__btn { flex: 1 1 0; min-width: 0; padding-inline: .6rem; }
}

/* Vorstellungsfilm */
.film { padding-block: clamp(1.5rem, 4vw, 3rem); }
.film__frame { margin: 0 auto; max-width: 70rem; background: #000; border: 1px solid var(--line); border-radius: .75rem; overflow: hidden; }
.film video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #000; }
@media (max-aspect-ratio: 1/1) { .film__frame { max-width: 26rem; } .film video { aspect-ratio: 9 / 16; max-height: 82svh; } }

.downloads { list-style: none; padding: 0; display: grid; gap: 1rem; }
.downloads li { padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.downloads .btn { margin: .5rem .75rem .5rem 0; }
.downloads code { overflow-wrap: anywhere; }
