/* Developed by Enjyn Gruppe — https://enjyn.de */
:root {
    --papier: #f8f8fb;
    --flaeche: #ffffff;
    --tinte: #0f1028;
    --text-2: #4b4f6b;
    --text-3: #71748f;
    --linie: #e4e5ee;
    --linie-2: #d2d4e3;
    --akzent: #5a3fe0;
    --akzent-d: #4530c4;
    --akzent-hell: #efecff;
    --flieder: #a797ff;
    --gruen: #0f9d6c;
    --nacht: #0b0c1e;
    --schrift: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
    --breite: 1240px;
    --rand: 24px;
    --aus: cubic-bezier(.16, 1, .3, 1);
}

/* Die Grundregeln liegen in der untersten Ebene. Auf Seiten mit altem Unterbau liegt cartoon.css in der Ebene
   darüber (siehe snKopf): Ihre Bausteine behalten so ihre Abstände, und alles Übrige hier gewinnt trotzdem. */
@layer basis {
    *, *::before, *::after { box-sizing: border-box; }
    html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
    body { margin: 0; font-family: var(--schrift); font-size: 16.5px; line-height: 1.6; color: var(--tinte); background: var(--papier); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
    img, svg { max-width: 100%; }
    a { color: inherit; }
    h1, h2, h3, p { margin: 0; }
    h1, h2, h3 { font-weight: 600; letter-spacing: -.022em; text-wrap: balance; }
    ::selection { background: var(--akzent); color: #fff; }
    :focus-visible { outline: 2px solid var(--akzent); outline-offset: 3px; border-radius: 4px; }
}

.huelle { width: min(var(--breite), 100% - 2 * var(--rand)); margin-inline: auto; }
.mono { font-family: var(--mono); font-size: 12.5px; letter-spacing: .01em; color: var(--text-3); }
.grau { color: var(--text-3); }
.sprung { position: fixed; left: 12px; top: 8px; z-index: 60; padding: 9px 14px; border-radius: 10px; background: var(--tinte); color: #fff; text-decoration: none; transform: translateY(-300%); }
.sprung:focus { transform: none; }

.knopf { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; font: 500 15px var(--schrift); text-decoration: none; white-space: nowrap; border: 1px solid transparent; cursor: pointer; transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s var(--aus); }
.knopf i { transition: transform .3s var(--aus); }
.knopf:hover i { transform: translateX(3px); }
.knopf:active { transform: translateY(1px); }
.knopf--voll { background: var(--tinte); color: #fff; }
.knopf--voll:hover { background: var(--akzent); }
.knopf--linie { background: var(--flaeche); border-color: var(--linie-2); }
.knopf--linie:hover { border-color: var(--tinte); }
.knopf--hell { background: #fff; color: var(--tinte); }
.knopf--hell:hover { background: var(--akzent-hell); }
.textlink { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--linie-2); padding-bottom: 1px; transition: border-color .2s ease, color .2s ease; }
.textlink i { transition: transform .3s var(--aus); }
.textlink:hover { color: var(--akzent-d); border-color: var(--akzent); }
.textlink:hover i { transform: translate(2px, 0); }

/* Kopf: eine schwebende Insel aus Glas. Über der dunklen Bühne ist sie dunkel, danach hell. */
.kopf { position: fixed; z-index: 40; left: 0; right: 0; top: 14px; pointer-events: none; }
.kopf__insel {
    pointer-events: auto; position: relative; display: flex; align-items: center; gap: 18px;
    width: min(1216px, 100% - 28px); height: 60px; margin-inline: auto; padding: 0 9px 0 20px; border-radius: 20px;
    background: rgba(255, 255, 255, .8); -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px);
    border: 1px solid rgba(15, 16, 40, .08); box-shadow: 0 14px 40px -22px rgba(15, 16, 40, .35);
    transition: background .4s ease, border-color .4s ease, color .4s ease, box-shadow .4s ease;
}
.kopf__logo { position: relative; display: block; flex: none; }
.kopf__logo img { display: block; height: 27px; width: auto; transition: opacity .4s ease; }
.kopf__logo-nacht { position: absolute; left: 0; top: 0; opacity: 0; }
.kopf__nav { position: relative; display: flex; align-items: center; gap: 2px; margin-inline: auto; }
.kopf__nav > a, .kopf__nav > button { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 5px; padding: 8px 13px; border: 0; border-radius: 11px; background: none; cursor: pointer; font: 400 14.5px var(--schrift); color: var(--text-2); text-decoration: none; transition: color .2s ease; }
.kopf__nav > a:hover, .kopf__nav > button:hover, .kopf__nav > button[aria-expanded="true"], .kopf__nav > [aria-current="page"] { color: var(--tinte); }
.kopf__nav > [aria-current="page"] { font-weight: 500; }
.kopf__nav > button i { font-size: 11px; transition: transform .3s var(--aus); }
.kopf__nav > button[aria-expanded="true"] i { transform: rotate(180deg); }
/* Der Zeiger gleitet unter den Punkt, über dem der Zeiger der Maus gerade steht */
.kopf__zeiger { position: absolute; left: 0; top: 50%; height: 36px; width: 0; margin-top: -18px; border-radius: 11px; background: rgba(15, 16, 40, .06); opacity: 0; pointer-events: none; transition: transform .35s var(--aus), width .35s var(--aus), opacity .2s ease; }
.kopf__rechts { display: flex; align-items: center; gap: 16px; flex: none; }
.kopf__status { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--text-2); text-decoration: none; transition: color .2s ease; }
.kopf__status span { width: 7px; height: 7px; border-radius: 50%; background: var(--akzent); }
.kopf__status:hover { color: var(--tinte); }
.kopf__rechts .knopf { padding: 10px 17px; font-size: 14px; border-radius: 13px; }
.kopf__schalter { position: relative; display: none; flex: none; width: 42px; height: 42px; border: 0; border-radius: 13px; background: rgba(15, 16, 40, .06); color: inherit; cursor: pointer; }
.kopf__schalter i { position: absolute; left: 12px; right: 12px; height: 1.5px; border-radius: 1px; background: currentColor; transition: transform .35s var(--aus), top .35s var(--aus); }
.kopf__schalter i:first-child { top: 17px; }
.kopf__schalter i:last-child { top: 24px; }
.kopf.ist-offen .kopf__schalter i { top: 20.5px; transform: rotate(45deg); }
.kopf.ist-offen .kopf__schalter i:last-child { transform: rotate(-45deg); }

.kopf--nacht .kopf__insel { background: rgba(22, 23, 58, .55); border-color: rgba(255, 255, 255, .1); color: #fff; box-shadow: 0 14px 40px -22px rgba(0, 0, 0, .7); }
.kopf--nacht .kopf__logo-tag { opacity: 0; }
.kopf--nacht .kopf__logo-nacht { opacity: 1; }
.kopf--nacht .kopf__nav > a, .kopf--nacht .kopf__nav > button, .kopf--nacht .kopf__status { color: #c6c8de; }
.kopf--nacht .kopf__nav > a:hover, .kopf--nacht .kopf__nav > button:hover, .kopf--nacht .kopf__nav > button[aria-expanded="true"], .kopf--nacht .kopf__nav > [aria-current="page"], .kopf--nacht .kopf__status:hover { color: #fff; }
.kopf--nacht .kopf__zeiger, .kopf--nacht .kopf__schalter { background: rgba(255, 255, 255, .1); }
.kopf--nacht .kopf__status span { background: var(--flieder); }
.kopf--nacht .kopf__rechts .knopf--voll { background: #fff; color: var(--tinte); }
.kopf--nacht .kopf__rechts .knopf--voll:hover { background: var(--akzent-hell); }
.kopf__sprache { position: relative; font-size: 13.5px; }
.kopf__sprache summary { display: inline-flex; align-items: center; gap: 6px; padding: 6px 2px; list-style: none; cursor: pointer; color: var(--text-2); font: 500 12.5px var(--mono); transition: color .2s ease; }
.kopf__sprache summary::-webkit-details-marker { display: none; }
.kopf__sprache summary i { font-size: 17px; }
.kopf__sprache summary:hover, .kopf__sprache[open] summary { color: var(--tinte); }
.kopf--nacht .kopf__sprache summary { color: #c6c8de; }
.kopf--nacht .kopf__sprache summary:hover, .kopf--nacht .kopf__sprache[open] summary { color: #fff; }
.kopf__sprache ul { position: absolute; top: calc(100% + 14px); right: -8px; z-index: 5; min-width: 178px; margin: 0; padding: 6px; list-style: none; border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; background: var(--nacht); box-shadow: 0 18px 40px rgba(8, 9, 26, .35); }
.kopf__sprache li a { display: flex; align-items: baseline; gap: 12px; padding: 9px 11px; border-radius: 9px; color: #c6c8de; text-decoration: none; }
.kopf__sprache li a b { min-width: 22px; font: 500 12px var(--mono); color: #8f93b5; }
.kopf__sprache li a:hover, .kopf__sprache li a[aria-current] { background: rgba(255, 255, 255, .08); color: #fff; }
.kopf__sprache li a[aria-current] b { color: var(--flieder); }
.kopf__blatt .kopf__blatt-sprachen { display: flex; gap: 8px; margin: 22px 0 0; }
.kopf__blatt .kopf__blatt-sprachen a { flex: 1; justify-content: center; padding: 11px 0; border: 1px solid rgba(255, 255, 255, .14); border-radius: 12px; font: 500 13px var(--mono); color: #c6c8de; }
.kopf__blatt .kopf__blatt-sprachen a[aria-current] { border-color: var(--flieder); color: #fff; }
.kopf--nacht :focus-visible { outline-color: var(--flieder); }

/* Fächer des Menüs: klappen unter der Insel auf */
.kopf__fach {
    pointer-events: none; position: absolute; left: 50%; top: 70px; width: min(900px, 100% - 28px); padding: 12px;
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 270px; gap: 4px 6px; border-radius: 24px;
    background: rgba(255, 255, 255, .97); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); color: var(--tinte);
    border: 1px solid rgba(15, 16, 40, .08); box-shadow: 0 40px 80px -40px rgba(15, 16, 40, .55);
    opacity: 0; visibility: hidden; transform: translate(-50%, -10px) scale(.985); transform-origin: 50% 0;
    transition: opacity .22s ease, transform .35s var(--aus), visibility .35s;
}
.kopf__fach.ist-offen { pointer-events: auto; opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.fachlink { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 15px; text-decoration: none; transition: background .2s ease; }
.fachlink:hover { background: #f3f2fa; }
.fachlink > i { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--akzent-hell); color: var(--akzent); font-size: 20px; transition: background .2s ease, color .2s ease; }
.fachlink:hover > i { background: var(--akzent); color: #fff; }
.fachlink strong { display: block; font-weight: 600; font-size: 15px; letter-spacing: -.01em; }
.fachlink small { display: block; font-size: 13px; line-height: 1.35; color: var(--text-3); }
.fachbild { position: relative; grid-column: 3; grid-row: 1 / span var(--zeilen, 3); display: flex; flex-direction: column; justify-content: flex-end; min-height: 150px; padding: 16px; border-radius: 16px; overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; }
.fachbild { background: var(--nacht) radial-gradient(120% 120% at 100% 0, rgba(90, 63, 224, .55), transparent 62%); }
.fachbild::after { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(rgba(167, 151, 255, .2) 1px, transparent 1.5px) 0 0 / 14px 14px; mask-image: linear-gradient(to top, transparent, #000 70%); -webkit-mask-image: linear-gradient(to top, transparent, #000 70%); }
/* Das Zeichen ist aus Punkten gesetzt: ein Punktraster, das nur innerhalb der Icon-Form sichtbar ist. */
/* Das Zeichen aus Punkten füllt die Kachel und sitzt mittig über der Beschriftung. */
.fachbild__zeichen { position: absolute; top: 44%; left: 50%; font-size: 176px; line-height: 1; color: transparent; background: radial-gradient(circle, #d9d2ff 1.7px, transparent 2.2px) 0 0 / 7px 7px; -webkit-background-clip: text; background-clip: text; transform: translate(-50%, -50%); transition: background-position 1.6s var(--aus), transform .8s var(--aus); }
.fachbild:hover .fachbild__zeichen { background-position: 14px 14px; transform: translate(-50%, -50%) scale(1.05) rotate(-3deg); }
.fachbild strong { display: flex; align-items: center; gap: 7px; font-size: 1.05rem; font-weight: 600; }

/* Das Menü am Handy: ein Blatt über der ganzen Seite */
.kopf__blatt { pointer-events: none; position: fixed; inset: 0; z-index: -1; padding: 100px 20px 32px; overflow-y: auto; background: var(--nacht); color: #fff; opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s; }
.kopf.ist-offen .kopf__blatt { pointer-events: auto; opacity: 1; visibility: visible; }
.kopf__blatt h2 { margin: 26px 0 6px; font: 500 12.5px var(--mono); letter-spacing: .01em; color: #8f93b5; }
.kopf__blatt h2:first-child { margin-top: 0; }
.kopf__blatt a { display: flex; align-items: center; justify-content: space-between; padding: 13px 2px; border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: 1.12rem; text-decoration: none; opacity: 0; transform: translateY(10px); transition: opacity .4s ease, transform .5s var(--aus); transition-delay: calc(var(--n, 0) * 28ms + 80ms); }
.kopf.ist-offen .kopf__blatt a { opacity: 1; transform: none; }
.kopf__blatt a i { color: #8f93b5; }
.kopf__blatt .knopf { justify-content: center; margin-top: 26px; padding: 15px; border: 0; border-radius: 16px; background: #fff; color: var(--tinte); font-size: 1.02rem; }

/* Bühne: die Punktewelt liegt als Leinwand unter dem ganzen Kopf, Text und Liste stehen darüber */
.buehne { position: relative; overflow: hidden; isolation: isolate; padding-top: 88px; color: #fff; background: radial-gradient(105% 90% at 66% 46%, #1d1a4d 0%, #11122e 46%, var(--nacht) 78%); }
.buehne__welt { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; mask-image: linear-gradient(#000 calc(100% - 210px), transparent calc(100% - 104px)); -webkit-mask-image: linear-gradient(#000 calc(100% - 210px), transparent calc(100% - 104px)); }
.buehne > .huelle { display: flex; flex-direction: column; min-height: calc(min(100svh, 960px) - 88px); }
.buehne__raster { flex: 1; display: grid; grid-template-columns: minmax(0, 1.16fr) minmax(0, 1fr) 270px; gap: 16px; align-items: center; }
.buehne__wort { padding: 36px 0 44px; }
.buehne__neu { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 28px; padding: 5px 14px 5px 5px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); font-size: 13.5px; color: #dcdcf0; text-decoration: none; transition: background .2s ease, border-color .2s ease; }
.buehne__neu:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .28); }
.buehne__neu b { padding: 2px 9px; border-radius: 999px; background: var(--flieder); color: var(--nacht); font: 500 11.5px var(--mono); }
.buehne__neu i { font-size: 13px; transition: transform .3s var(--aus); }
.buehne__neu:hover i { transform: translateX(3px); }
.buehne h1 { font-size: clamp(2.7rem, 4.7vw, 4.25rem); line-height: 1; letter-spacing: -.045em; }
.buehne h1 span { display: block; }
.buehne__text { margin-top: 24px; max-width: 27em; font-size: 1.16rem; line-height: 1.5; color: #c6c8de; }
.buehne__knoepfe { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.buehne .knopf--voll { background: #fff; color: var(--tinte); }
.buehne .knopf--voll:hover { background: var(--akzent-hell); }
.buehne .knopf--linie { background: rgba(255, 255, 255, .04); color: #fff; border-color: rgba(255, 255, 255, .26); }
.buehne .knopf--linie:hover { border-color: #fff; }
.buehne :focus-visible { outline-color: var(--flieder); }

.buehne__griff { position: relative; align-self: stretch; min-height: 440px; cursor: grab; touch-action: pan-y; -webkit-user-select: none; user-select: none; }
.buehne__griff.wird-gezogen { cursor: grabbing; }
.buehne__tipp { position: absolute; left: 50%; bottom: 20px; translate: -50% 0; display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px 5px 10px; border-radius: 999px; white-space: nowrap; pointer-events: none; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .13); color: #b5b8d3; transition: opacity .4s ease; }
.buehne__tipp i { font-size: 15px; }
.buehne__griff.wird-gezogen .buehne__tipp, .buehne.hat-gedreht .buehne__tipp { opacity: 0; }
.nur-finger { display: none; }
@media (hover: none) { .nur-maus { display: none; } .nur-finger { display: inline; } }

/* Ohne WebGL bleibt statt der Punktewelt das Zeichen stehen */
.ohne-welt .buehne__welt, .ohne-welt .buehne__tipp { display: none; }
.ohne-welt .buehne__griff { cursor: default; }
.ohne-welt .buehne__griff::after { content: ''; position: absolute; left: 50%; top: 50%; width: 168px; height: 168px; translate: -50% -50%; border-radius: 38px; background: url(/icon-web.svg?v=1) center / cover; box-shadow: 0 30px 80px -20px rgba(90, 63, 224, .9); }

.ebenen { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ebenen li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); transition: background .25s ease, border-color .25s ease, box-shadow .25s ease; }
.ebenen li:hover { background: rgba(255, 255, 255, .09); }
.ebenen li.ist-aktiv { background: rgba(255, 255, 255, .12); border-color: var(--flieder); box-shadow: 0 16px 36px -20px rgba(167, 151, 255, .9); }
.ebenen button { text-align: left; padding: 12px 4px 13px 15px; border: 0; border-radius: 16px 0 0 16px; background: none; cursor: pointer; font: inherit; color: inherit; }
.ebenen strong { display: flex; align-items: baseline; gap: 9px; font-weight: 600; font-size: 14.5px; }
.ebenen strong .mono { color: var(--flieder); }
.ebenen .info { display: block; margin-top: 2px; font-size: 13px; line-height: 1.4; color: #b5b8d3; }
.ebenen a { display: grid; place-items: center; width: 34px; height: 34px; margin-right: 10px; border-radius: 50%; border: 1px solid transparent; color: #9da1c0; text-decoration: none; transition: color .2s ease, border-color .2s ease, background .2s ease; }
.ebenen a:hover, .ebenen li.ist-aktiv a { color: #fff; border-color: rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .08); }

.fakten { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; border-top: 1px solid rgba(255, 255, 255, .13); }
.fakten div { padding: 20px 20px 26px 0; }
.fakten div + div { padding-left: 22px; border-left: 1px solid rgba(255, 255, 255, .13); }
.fakten dt { font: 500 1.65rem/1.2 var(--schrift); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.fakten dd { margin: 2px 0 0; font-size: 14px; color: #9da1c0; }

/* Seitenkopf der Unterseiten */
.buehne--seite > .huelle { min-height: 0; }
.buehne--seite .buehne__raster { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); min-height: 520px; }
.pfad { display: flex; align-items: center; gap: 8px; margin-bottom: 24px; font: 13px var(--mono); color: #9da1c0; }
.pfad a { text-decoration: none; }
.pfad a:hover { color: #fff; }
.pfad i { font-size: 11px; }

/* Partner: ein Band, das langsam durchläuft */
.partnerband { background: var(--flaeche); border-bottom: 1px solid var(--linie); }
.partnerband__innen { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 30px; padding: 20px 0; }
.partnerband__spur { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.partnerband ul { display: flex; gap: 40px; width: max-content; margin: 0; padding: 0; list-style: none; animation: band 52s linear infinite; }
.partnerband__spur:hover ul { animation-play-state: paused; }
.partnerband li { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 15px; color: var(--text-2); white-space: nowrap; }
.partnerband img { width: 28px; height: 28px; border-radius: 8px; object-fit: cover; border: 1px solid var(--linie); }
@keyframes band { to { transform: translateX(-50%); } }

/* Abschnitte */
.abschnitt { padding: clamp(72px, 8.6vw, 124px) 0; border-bottom: 1px solid var(--linie); }
.abschnitt--getoent { background: #f1f0f8; }
.abschnitt__kopf { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; margin-bottom: clamp(32px, 4vw, 52px); }
.abschnitt h2 { font-size: clamp(2rem, 3.7vw, 3.05rem); line-height: 1.04; letter-spacing: -.035em; }
.abschnitt h2 span { display: block; color: var(--text-3); }
.abschnitt__einleitung { margin-top: 14px; max-width: 36em; color: var(--text-2); font-size: 1.08rem; }

/* Ölfarbe in der Schrift: ein Gemälde scheint durch die Buchstaben und zieht langsam weiter.
   --bild wählt das Gemälde, --schleier legt bei Bedarf eine Tönung darüber. */
.farbe {
    --bild: url(/img/sn/kunst-improvisation.webp); --schleier: linear-gradient(transparent, transparent);
    background-image: var(--schleier), var(--bild); background-size: auto, 820px auto; background-position: 0 0, 30% 42%;
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    padding-bottom: .16em; margin-bottom: -.16em; animation: farbe-zieht 60s ease-in-out infinite alternate;
}
.abschnitt h2 .farbe { color: var(--akzent-d); }
/* Auf dunklem Grund liegt ein heller Schleier über dem Bild, sonst versinken seine Schatten im Hintergrund */
.farbe--licht, .nacht .farbe, .abschluss .farbe, .buehne .farbe { --bild: url(/img/sn/kunst-herbst.webp); --schleier: linear-gradient(rgba(255, 240, 205, .26), rgba(255, 240, 205, .26)); background-size: auto, 720px auto; background-position: 0 0, 44% 68%; }
.buehne h1 .farbe, .nacht h2 .farbe { color: #f2c94c; }
.farbe.farbe--abend, .farbe.farbe--formen { --bild: url(/img/sn/kunst-formen.webp); }
.farbe.farbe--pferd { --bild: url(/img/sn/kunst-pferd.webp); }
.farbe.farbe--pferde { --bild: url(/img/sn/kunst-pferde.webp); }
.farbe.farbe--murnau { --bild: url(/img/sn/kunst-murnau.webp); }
.farbe.farbe--promenade { --bild: url(/img/sn/kunst-promenade.webp); }
.farbe.farbe--herbst { --bild: url(/img/sn/kunst-herbst.webp); }
.farbe.farbe--improvisation { --bild: url(/img/sn/kunst-improvisation.webp); }
@keyframes farbe-zieht { to { background-position: 0 0, 72% 64%; } }
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
    .farbe, .riesig { background: none; -webkit-text-fill-color: currentColor; }
}

/* Riesenschrift, durch die ein ganzes Gemälde scheint. Die Größe passt das Skript an die Breite an. */
.riesig { display: block; width: max-content; max-width: none; font-weight: 700; font-size: clamp(4rem, 13vw, 15rem); line-height: .84; letter-spacing: -.06em; white-space: nowrap; color: var(--akzent-d); background: var(--bild) 50% 38% / cover; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding: 0 .04em .17em 0; }

/* Leistungen: Auswahl links, rechts die Bühne für die Körper im Raum */
.werk { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 32px; align-items: stretch; }
.werk__liste { display: grid; align-content: start; border-top: 1px solid var(--linie); }
.werk__liste button { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 4px 12px; text-align: left; padding: 20px 12px 20px 4px; border: 0; border-bottom: 1px solid var(--linie); background: none; cursor: pointer; font: inherit; color: var(--text-2); }
.werk__liste button > * { transition: transform .35s var(--aus), color .2s ease; }
.werk__liste button i { grid-row: span 2; align-self: center; font-size: 23px; color: var(--text-3); }
.werk__liste button strong { font-weight: 600; font-size: 1.12rem; letter-spacing: -.012em; color: var(--tinte); }
.werk__liste button small { font-size: 13.5px; color: var(--text-3); }
.werk__liste button:hover > * { transform: translateX(6px); }
.werk__liste button[aria-selected="true"] > * { transform: translateX(10px); }
.werk__liste button[aria-selected="true"] i { color: var(--akzent); }
.werk__liste button::after { content: ''; position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--akzent); }
.werk__liste button[aria-selected="true"]::after { width: 100%; }
.werk.laeuft .werk__liste button[aria-selected="true"]::after { animation: fortschritt var(--dauer, 7s) linear; }
@keyframes fortschritt { from { width: 0; } to { width: 100%; } }
.werk__mehr { margin-top: 20px; font-size: 14.5px; color: var(--text-3); }
.werk__knoepfe { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

.schirm { position: relative; min-height: 560px; border-radius: 28px; overflow: hidden; touch-action: pan-y; border: 1px solid var(--linie); background: radial-gradient(85% 75% at 50% 40%, #fff 0%, #f2f0fb 58%, #e5e2f5 100%); }
.schirm::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(var(--linie) 1px, transparent 1px), linear-gradient(90deg, var(--linie) 1px, transparent 1px); background-size: 44px 44px; opacity: .5; mask-image: radial-gradient(70% 70% at 50% 45%, transparent 35%, #000); -webkit-mask-image: radial-gradient(70% 70% at 50% 45%, transparent 35%, #000); }
.schirm__koerper { position: absolute; inset: 0; width: 100%; height: 100%; }
.schirm__tafel { position: absolute; left: 20px; right: 20px; bottom: 18px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; pointer-events: none; }
.schirm__tafel[hidden] { display: none; }
.schirm__tafel .knopf { pointer-events: auto; padding: 10px 16px; font-size: 14px; background: rgba(255, 255, 255, .88); }
.schirm__name { margin: 0; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .88); border: 1px solid var(--linie); color: var(--text-2); }
.schirm__zeichen { display: none; }
.schirm__tipp { position: absolute; right: 20px; top: 18px; margin: 0; display: inline-flex; align-items: center; gap: 7px; pointer-events: none; }
.schirm__tipp i { font-size: 15px; }
.ohne-koerper .schirm__koerper, .ohne-koerper .schirm__tipp { display: none; }
.ohne-koerper .schirm__zeichen { display: block; position: absolute; left: 50%; bottom: 190px; translate: -50% 0; font-size: 150px; color: var(--akzent); }

/* Galerie: fünf Gründe, jeder als Riesenwort, durch das ein Bild des Blauen Reiters scheint */
.galerie { background: var(--flaeche); overflow: hidden; }
.galerie__steuer { display: flex; align-items: center; gap: 8px; }
.galerie__steuer button { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--linie-2); background: var(--flaeche); color: var(--tinte); font-size: 17px; cursor: pointer; transition: border-color .2s ease, background .2s ease, color .2s ease; }
.galerie__steuer button:hover { border-color: var(--tinte); }
.galerie__steuer .mono { margin-right: 8px; font-variant-numeric: tabular-nums; }
.galerie__wand { display: grid; }
.galerie__bild { grid-area: 1 / 1; min-width: 0; visibility: hidden; transition: visibility 0s .7s; }
.galerie__bild.ist-da { visibility: visible; transition-delay: 0s; }
.galerie__wort { margin: 0; overflow: hidden; }
.galerie__wort .riesig { clip-path: inset(0 100% 0 0); transition: clip-path .8s cubic-bezier(.7, 0, .2, 1); }
.galerie__bild.ist-da .riesig { clip-path: inset(0 -2% 0 0); transition-delay: .15s; animation: bild-zieht 9s ease-out both; }
@keyframes bild-zieht { from { background-position: 50% 30%; } to { background-position: 50% 46%; } }
.galerie__unten { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: end; margin-top: 30px; padding-top: 28px; border-top: 1px solid var(--linie); }
.galerie__text { max-width: 34em; opacity: 0; transform: translateY(14px); transition: opacity .4s ease, transform .6s var(--aus); }
.galerie__bild.ist-da .galerie__text { opacity: 1; transform: none; transition-delay: .35s; }
.galerie__text h3 { margin-top: 10px; font-size: clamp(1.45rem, 2.3vw, 1.95rem); letter-spacing: -.028em; line-height: 1.12; }
.galerie__text p:last-child { margin-top: 10px; font-size: 1.08rem; color: var(--text-2); }
.galerie__bild.ist-da .galerie__rahmen { opacity: 1; transform: rotate(-1.6deg); transition-delay: .3s; }
.galerie__striche { display: flex; gap: 6px; margin-top: 34px; }
.galerie__striche i { flex: 1; height: 2px; border-radius: 1px; background: var(--linie); overflow: hidden; }
.galerie__striche i::after { content: ''; display: block; height: 100%; width: 0; background: var(--akzent); }
.galerie__striche i.war::after { width: 100%; }
.galerie__striche i.ist::after { width: 100%; }
.galerie.laeuft .galerie__striche i.ist::after { animation: fortschritt var(--dauer, 6.5s) linear; }

/* Fächer: Merkmale als gerastertes Feld mit Haarlinien */
.faecher { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--linie); border-left: 1px solid var(--linie); background: var(--flaeche); border-radius: 22px; overflow: hidden; }
.faecher--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.faecher--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fach { position: relative; padding: 26px 24px 28px; border-right: 1px solid var(--linie); border-bottom: 1px solid var(--linie); background-image: radial-gradient(260px circle at var(--zx, -300px) var(--zy, -300px), rgba(90, 63, 224, .075), transparent 70%); }
.fach > i { font-size: 27px; color: var(--akzent); }
.fach h3 { margin-top: 16px; font-size: 1.1rem; letter-spacing: -.012em; }
.fach p { margin-top: 6px; font-size: 14.5px; color: var(--text-2); }
.fach .textlink { margin-top: 14px; font-size: 14.5px; }
.fach__preis { position: absolute; right: 18px; top: 22px; padding: 3px 10px; border-radius: 999px; background: var(--akzent-hell); color: var(--akzent-d); font: 500 12px var(--mono); }

/* Echte Produktansichten stehen in einem Fensterrahmen, die fürs Handy in einem Gerät */
.rahmenbild { margin: 0; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--linie-2); box-shadow: 0 44px 80px -46px rgba(15, 16, 40, .6); }
.rahmenbild__leiste { display: flex; align-items: center; gap: 7px; padding: 11px 15px; background: #f2f2f8; border-bottom: 1px solid var(--linie); }
.rahmenbild__leiste i { width: 9px; height: 9px; border-radius: 50%; background: var(--linie-2); }
.rahmenbild__leiste span { margin-left: 8px; font: 12px var(--mono); color: var(--text-3); }
.rahmenbild img { display: block; width: 100%; height: auto; }
.rahmenbild figcaption { padding: 11px 15px; border-top: 1px solid var(--linie); font-size: 13.5px; color: var(--text-3); }
.rahmenbild--handy { width: min(100%, 260px); border: 9px solid #14153a; border-radius: 34px; }
.nacht .rahmenbild { border-color: rgba(255, 255, 255, .16); box-shadow: 0 44px 90px -40px rgba(0, 0, 0, .9); }

/* Kennzahlen auf hellem Grund */
.kennzahlen { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); }
.kennzahlen--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kennzahlen div { padding: 24px 22px 26px 0; }
.kennzahlen div + div { padding-left: 24px; border-left: 1px solid var(--linie); }
.kennzahlen dt { font: 600 2.2rem/1.1 var(--schrift); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.kennzahlen dd { margin: 5px 0 0; font-size: 14.5px; color: var(--text-2); }
.nacht .kennzahlen, .nacht .kennzahlen div + div { border-color: rgba(255, 255, 255, .13); }
.nacht .kennzahlen dd { color: #b5b8d3; }

/* Ein Riesenwort als Auftakt eines Abschnitts */
.riesenzeile { margin: 0 0 clamp(24px, 3vw, 40px); overflow: hidden; }

/* Karten: eigenständige Angebote mit Rahmen */
.karten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.karten--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.karte-k { display: flex; flex-direction: column; padding: 28px 28px 26px; border-radius: 22px; background: var(--flaeche) radial-gradient(300px circle at var(--zx, -300px) var(--zy, -300px), rgba(90, 63, 224, .07), transparent 70%); border: 1px solid var(--linie); transition: border-color .25s ease, box-shadow .35s ease; }
.karte-k:hover, .preis:hover { border-color: var(--linie-2); box-shadow: 0 26px 50px -36px rgba(15, 16, 40, .5); }
.karte-k > i { font-size: 28px; color: var(--akzent); }
.karte-k h3 { margin-top: 14px; font-size: 1.3rem; }
.karte-k > p { margin-top: 8px; color: var(--text-2); font-size: 15px; }
.karte-k .haken { margin: 16px 0 20px; }
.karte-k .textlink, .karte-k .knopf { margin-top: auto; align-self: flex-start; }

/* Preise */
.preise { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.preise--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.preis { display: flex; flex-direction: column; padding: 28px 26px 26px; border-radius: 22px; background: var(--flaeche); border: 1px solid var(--linie); transition: border-color .25s ease, box-shadow .35s ease; }
.preis--betont { border-color: var(--akzent); box-shadow: 0 24px 50px -34px rgba(90, 63, 224, .8); }
.preis__name { font-weight: 600; font-size: 1.12rem; letter-spacing: -.012em; }
.preis__zusatz { margin-top: 3px; font-size: 14px; color: var(--text-3); }
.preis__wert { margin-top: 18px; font-size: 2.4rem; font-weight: 600; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.preis__wert small { font-size: 14px; font-weight: 400; letter-spacing: 0; color: var(--text-3); }
.preis .haken { margin: 20px 0 24px; padding-top: 18px; border-top: 1px solid var(--linie); }
.preis .knopf { margin-top: auto; justify-content: center; }
.preis__marke { align-self: flex-start; margin-bottom: 12px; padding: 3px 10px; border-radius: 999px; background: var(--akzent-hell); color: var(--akzent-d); font: 500 12px var(--mono); }

.haken { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14.5px; }
.haken li { display: flex; gap: 9px; }
.haken li i { flex: none; margin-top: 3px; font-size: 17px; color: var(--akzent); }
.marken { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.marken li { padding: 6px 12px; border-radius: 999px; background: var(--flaeche); border: 1px solid var(--linie); font-size: 14px; color: var(--text-2); }
.marken li i { margin-right: 6px; color: var(--akzent); }
.merkmale { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14.5px; color: var(--text-2); }
.merkmale li { display: inline-flex; align-items: center; gap: 7px; }
.merkmale i { font-size: 17px; color: var(--akzent); }

/* Zwei Spalten: Text neben Liste, Tabelle oder Bild */
.zwei { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
.zwei--mitte { align-items: center; }
.zwei h2 + p, .zwei h3 + p { margin-top: 12px; color: var(--text-2); }
.tabelle { width: 100%; border-collapse: collapse; font-size: 15px; }
.tabelle th, .tabelle td { padding: 13px 14px 13px 0; text-align: left; border-bottom: 1px solid var(--linie); vertical-align: top; }
.tabelle th { font: 500 12.5px var(--mono); color: var(--text-3); }
.tabelle td:first-child { font-weight: 500; }
.tabelle-huelle { overflow-x: auto; }
.fragen { border-top: 1px solid var(--linie); }
.frage { border-bottom: 1px solid var(--linie); }
.frage summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 19px 2px; cursor: pointer; list-style: none; font-weight: 600; font-size: 1.06rem; letter-spacing: -.012em; }
.frage summary::-webkit-details-marker { display: none; }
.frage summary::after { content: ''; flex: none; width: 11px; height: 11px; border-right: 1.5px solid var(--text-3); border-bottom: 1.5px solid var(--text-3); transform: rotate(45deg) translate(-2px, -2px); transition: transform .3s var(--aus); }
.frage[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }
.frage > div { padding: 0 2px 20px; max-width: 46em; color: var(--text-2); }
.frage > div p + p { margin-top: 10px; }
.hinweis { display: flex; gap: 14px; padding: 18px 20px; border-radius: 16px; background: var(--akzent-hell); color: #2c2175; font-size: 15px; }
.hinweis i { flex: none; font-size: 22px; color: var(--akzent); }

/* Eigene Produkte */
.produkte { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--linie); border-radius: 24px; background: var(--flaeche); overflow: hidden; }
.produkt { display: flex; flex-direction: column; padding: 28px 28px 26px; background-image: radial-gradient(300px circle at var(--zx, -300px) var(--zy, -300px), rgba(90, 63, 224, .07), transparent 70%); }
.produkt + .produkt { border-left: 1px solid var(--linie); }
.produkt__bild { position: relative; height: 186px; margin: -4px -4px 24px; border-radius: 16px; background: linear-gradient(160deg, #f5f4fc, #eceaf8); border: 1px solid var(--linie); overflow: hidden; }
.produkt__bild--foto img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform 1.2s var(--aus); }
.produkt:hover .produkt__bild--foto img { transform: scale(1.05); }
/* Der echte Musterausweis, über den die Abtastlinie läuft */
.echtausweis { position: absolute; left: 50%; top: 50%; width: 208px; translate: -50% -50%; rotate: -3deg; border-radius: 10px; box-shadow: 0 18px 34px -20px rgba(15, 16, 40, .6); }
.echtausweis img { display: block; width: 100%; height: auto; border-radius: 10px; }
.echtausweis__abtastung { position: absolute; left: -6px; right: -6px; top: 6%; height: 2px; border-radius: 2px; background: var(--akzent); box-shadow: 0 0 16px 3px rgba(90, 63, 224, .55); animation: echt-abtasten 3.4s ease-in-out infinite; }
@keyframes echt-abtasten { 50% { transform: translateY(114px); } }
.produkt h3 { font-size: 1.35rem; }
.produkt > p { margin-top: 6px; color: var(--text-2); font-size: 15px; }
.produkt ul { list-style: none; margin: 16px 0 22px; padding: 0; display: grid; gap: 7px; font-size: 14.5px; }
.produkt li { display: flex; gap: 9px; }
.produkt li i { color: var(--akzent); font-size: 17px; flex: none; margin-top: 3px; }
.produkt .textlink { margin-top: auto; align-self: flex-start; }
.saeulen { position: absolute; inset: 22px 20px 18px; display: flex; align-items: flex-end; gap: 7px; }
.saeulen i { flex: 1; height: var(--h); border-radius: 4px 4px 2px 2px; background: #d9d6f3; transform-origin: bottom; }
.saeulen i:nth-child(3n) { background: var(--akzent); }
.ist-sichtbar .saeulen i { animation: wachsen .9s var(--aus) backwards; animation-delay: calc(var(--n) * 60ms); }
@keyframes wachsen { from { transform: scaleY(.08); } }
.ausweis { position: absolute; left: 50%; top: 50%; width: 190px; height: 112px; translate: -50% -50%; border-radius: 12px; background: #fff; border: 1px solid var(--linie-2); box-shadow: 0 16px 30px -22px rgba(15, 16, 40, .5); }
.ausweis::before { content: ''; position: absolute; left: 14px; top: 16px; width: 50px; height: 62px; border-radius: 7px; background: #e6e3f8; }
.ausweis::after { content: ''; position: absolute; left: 76px; top: 20px; width: 92px; height: 7px; border-radius: 4px; background: #e3e4ee; box-shadow: 0 16px 0 #e3e4ee, -22px 32px 0 -1px #e3e4ee; }
.ausweis__abtastung { position: absolute; left: 6px; right: 6px; top: 8px; height: 2px; border-radius: 2px; background: var(--akzent); box-shadow: 0 0 14px 2px rgba(90, 63, 224, .45); animation: abtasten 3.2s ease-in-out infinite; }
@keyframes abtasten { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(94px); } }
.ausweis__haken { position: absolute; right: -12px; top: -12px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--gruen); color: #fff; font-size: 16px; border: 3px solid #f1f0fa; }
.dienste { position: absolute; inset: 20px 20px 16px; display: grid; gap: 9px; align-content: center; font: 500 12.5px var(--mono); color: var(--text-2); }
.dienste div { display: grid; grid-template-columns: 78px 1fr auto; align-items: center; gap: 10px; }
.dienste span.balken { display: flex; gap: 3px; }
.dienste span.balken i { flex: 1; height: 16px; border-radius: 2px; background: #bfe6d6; }
.dienste span.balken i.stoerung { background: #f3c06b; }
.dienste em { font-style: normal; color: var(--gruen); }

.werkzeuge { margin-top: 64px; display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 32px; }
.werkzeuge h3 { font-size: 1.6rem; letter-spacing: -.03em; }
.werkzeuge > div > p { margin-top: 8px; color: var(--text-2); font-size: 15px; }
.werkzeuge ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; border-top: 1px solid var(--linie); }
.werkzeuge li a { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 15px 4px; border-bottom: 1px solid var(--linie); text-decoration: none; transition: background .2s ease; }
.werkzeuge li strong, .werkzeuge li span { transition: transform .35s var(--aus); }
.werkzeuge li a:hover { background: rgba(90, 63, 224, .04); }
.werkzeuge li a:hover strong, .werkzeuge li a:hover span { transform: translateX(8px); }
.werkzeuge li strong { font-weight: 600; }
.werkzeuge li span { grid-column: 1; font-size: 13.5px; color: var(--text-3); }
.werkzeuge li i { grid-row: 1 / span 2; grid-column: 2; align-self: center; color: var(--text-3); transition: color .2s ease, transform .3s var(--aus); }
.werkzeuge li a:hover i { color: var(--akzent); transform: translate(2px, -2px); }

/* Abschnitte bei Nacht und der Standort mit der geneigten Karte */
.nacht { background: var(--nacht); color: #fff; border-bottom: 0; overflow: hidden; }
.nacht h2 span { color: #8f93b5; }
.nacht .abschnitt__einleitung, .nacht .fach p, .nacht .zwei h2 + p { color: #b5b8d3; }
.nacht .fach, .nacht .faecher { border-color: rgba(255, 255, 255, .13); }
.nacht .faecher { background: rgba(255, 255, 255, .03); }
.nacht .fach > i, .nacht .haken li i { color: var(--flieder); }
.nacht .textlink { border-color: rgba(255, 255, 255, .3); }
.nacht .textlink:hover { color: #fff; border-color: #fff; }
.nacht :focus-visible { outline-color: var(--flieder); }
.ort { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: center; }
.ort dl { margin: 36px 0 0; border-top: 1px solid rgba(255, 255, 255, .13); }
.ort dl div { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 15px 0; border-bottom: 1px solid rgba(255, 255, 255, .13); }
.ort dt { font: 12.5px var(--mono); color: #8f93b5; padding-top: 4px; }
.ort dd { margin: 0; }
.karte { position: relative; perspective: 1500px; --mx: 0deg; --my: 0deg; }
.karte__ebene { position: relative; width: min(100%, 470px); margin-inline: auto; transform-style: preserve-3d; transform: rotateX(calc(34deg + var(--mx))) rotateZ(calc(-7deg + var(--my))); transform-origin: 50% 60%; transition: transform .6s var(--aus); }
.karte svg { display: block; width: 100%; overflow: visible; }
.karte .ck-de { fill: rgba(255, 255, 255, .17); }
.karte .ck-by { fill: rgba(167, 151, 255, .62); }
.karte .ck-linie { fill: none; stroke: var(--flieder); stroke-width: 1.6; stroke-dasharray: 5 7; animation: laufen 1.8s linear infinite; }
.karte .ck-ort-ring { fill: rgba(126, 224, 189, .16); stroke: #7ee0bd; stroke-width: 1; transform-box: fill-box; transform-origin: center; animation: puls 2.6s ease-out infinite; }
.karte .ck-ort--sitz .ck-ort-ring { fill: rgba(167, 151, 255, .2); stroke: var(--flieder); }
.karte .ck-ort-punkt { fill: #7ee0bd; }
.karte .ck-ort--sitz .ck-ort-punkt { fill: #fff; }
.karte .ck-name { fill: #fff; font: 600 15px var(--schrift); }
.karte .ck-rolle { fill: #b5b8d3; font: 12px var(--mono); }
@keyframes laufen { to { stroke-dashoffset: -32; } }
@keyframes puls { 0% { transform: scale(.7); opacity: 1; } 100% { transform: scale(2.1); opacity: 0; } }

/* Die Ortsschilder stehen senkrecht auf der gekippten Karte: jedes dreht die Neigung der Ebene für sich zurück */
.hat-masten .ck-name, .hat-masten .ck-rolle { display: none; }
.mast { position: absolute; width: 0; height: 0; transform-style: preserve-3d; transform: rotateZ(calc(7deg - var(--my))) rotateX(calc(-34deg - var(--mx))); transition: transform .6s var(--aus); }
.mast::before { content: ''; position: absolute; left: -.5px; bottom: 0; width: 1px; height: var(--hoehe); background: linear-gradient(to top, #7ee0bd, rgba(126, 224, 189, .25)); transform-origin: 50% 100%; }
.mast::after { content: ''; position: absolute; left: -3px; bottom: calc(var(--hoehe) - 3px); width: 6px; height: 6px; border-radius: 50%; background: #7ee0bd; }
.mast--sitz::before { background: linear-gradient(to top, #fff, rgba(167, 151, 255, .3)); }
.mast--sitz::after { background: var(--flieder); }
.mast__schild { position: absolute; left: 11px; bottom: calc(var(--hoehe) - 17px); display: grid; padding: 6px 11px 7px; border-radius: 10px; white-space: nowrap; background: rgba(22, 23, 52, .94); border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 14px 30px -16px rgba(0, 0, 0, .8); }
.mast--links .mast__schild { left: auto; right: 11px; text-align: right; }
.mast__schild b { font-weight: 600; font-size: 14.5px; color: #fff; }
.mast__schild span { font: 11.5px var(--mono); color: #b5b8d3; }
.js .karte[data-ein] .mast::before { transform: scaleY(0); transition: transform .7s var(--aus) .35s; }
.js .karte[data-ein] .mast::after, .js .karte[data-ein] .mast__schild { opacity: 0; transition: opacity .4s ease .85s; }
.js .karte[data-ein].ist-sichtbar .mast::before { transform: none; }
.js .karte[data-ein].ist-sichtbar .mast::after, .js .karte[data-ein].ist-sichtbar .mast__schild { opacity: 1; }

/* Ablauf: vier Schritte, die großen Ziffern tragen ein Gemälde */
.ablauf { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); counter-reset: schritt; border-top: 1px solid var(--linie); }
.ablauf li { counter-increment: schritt; padding: 26px 24px 0 0; }
.ablauf li + li { padding-left: 24px; border-left: 1px solid var(--linie); }
.ablauf li::before { content: '0' counter(schritt); display: block; font: 700 4.2rem/1 var(--schrift); letter-spacing: -.06em; color: var(--akzent); background: url(/img/sn/kunst-formen.webp) calc(var(--nr, 0) * 30% + 4%) 46% / 760px auto; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding-bottom: .08em; }
.ablauf li:nth-child(2) { --nr: 1; }
.ablauf li:nth-child(3) { --nr: 2; }
.ablauf li:nth-child(4) { --nr: 3; }
.ablauf h3 { margin-top: 12px; font-size: 1.22rem; }
.ablauf p { margin-top: 6px; font-size: 15px; color: var(--text-2); }

/* Abschluss: dunkle Karte mit Pixelfeld */
.abschluss { padding: clamp(56px, 7vw, 96px) 0; }
.abschluss__karte { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center; padding: clamp(36px, 5vw, 68px) clamp(26px, 4.4vw, 60px); border-radius: 30px; background: var(--nacht); color: #fff; }
.abschluss__feld { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.abschluss h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); line-height: 1.06; letter-spacing: -.035em; }
.abschluss p { margin-top: 12px; color: #b5b8d3; max-width: 34em; font-size: 1.06rem; }
.abschluss__knoepfe { display: flex; flex-wrap: wrap; gap: 10px; }
.abschluss .knopf--linie { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .28); }
.abschluss .knopf--linie:hover { border-color: #fff; }

/* Fuß: dunkel wie die Bühne. Oben Marke und Verweise, darunter eine Tafel aus Haarlinien mit
   Serverstatus, Bewertungen, Website-Prüfung und den vier Standards, ganz unten das Rechtliche. */
.fuss { position: relative; overflow: hidden; padding: clamp(60px, 7vw, 92px) 0 10px; background: radial-gradient(90% 60% at 50% 100%, #1c1a4a 0%, #101129 45%, var(--nacht) 80%); color: #c6c8de; font-size: 14.5px; }
.fuss a { color: inherit; text-decoration: none; transition: color .2s ease; }
.fuss a:hover { color: #fff; }
.fuss :focus-visible { outline-color: var(--flieder); }
.fuss h2 { font: 500 12.5px var(--mono); letter-spacing: .01em; color: #8f93b5; }
.fuss__oben { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); gap: 40px 32px; }
.fuss__marke img { display: block; height: 30px; width: auto; }
.fuss__marke > p { margin-top: 18px; max-width: 25em; font-size: 15.5px; line-height: 1.55; color: #dcdcf0; }
.fuss__wege { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.fuss__wege a { display: inline-flex; align-items: center; gap: 10px; }
.fuss__wege i { font-size: 18px; color: var(--flieder); }
.fuss__netze { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: nowrap; gap: 8px; }
.fuss__netze a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); font-size: 18px; transition: background .2s ease, border-color .2s ease, color .2s ease, transform .3s var(--aus); }
.fuss__netze a:hover { background: var(--flieder); border-color: var(--flieder); color: var(--nacht); transform: translateY(-2px); }
/* Die Entwurfsleiste der Vorschau steht fest unten links und läge sonst auf der Rechtszeile */
body:has(.entwurf) .fuss { padding-bottom: 64px; }
.fuss nav ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }

/* Die Tafel: ein Rahmen, innen nur Haarlinien. Der Zwischenraum von einem Pixel zeigt den hellen
   Grund der Tafel, so stimmen die Linien bei jeder Spaltenzahl. */
.fuss__tafel { display: grid; gap: 1px; margin-top: clamp(40px, 5vw, 64px); border-radius: 22px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .12); }
.fuss__vertrauen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; }
.fuss__kachel { display: flex; flex-direction: column; padding: 24px 26px 22px; background: #0f1028; }
.fuss__kachel-kopf { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 26px; margin-bottom: 22px; }
.fuss__kachel h2 { display: flex; align-items: center; gap: 9px; margin: 0; }
.fuss__kachel h2 i { font-size: 17px; color: var(--flieder); }
.fuss__kachel-link { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 20px; font-size: 13.5px; color: #9da1c0; }
.fuss__kachel-link i { transition: transform .3s var(--aus); }
.fuss__kachel-link:hover i { transform: translate(2px, -2px); }

.fuss__status-marke { display: inline-flex; align-items: center; gap: 8px; padding: 4px 11px 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .07); font: 500 12px var(--mono); color: #c6c8de; }
.fuss__status-marke::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #8f93b5; }
.fuss__status[data-zustand="online"] .fuss__status-marke { background: rgba(61, 220, 151, .12); color: #7ee0bd; }
.fuss__status[data-zustand="online"] .fuss__status-marke::before { background: #3ddc97; box-shadow: 0 0 0 3px rgba(61, 220, 151, .2); }
.fuss__status[data-zustand="gestoert"] .fuss__status-marke::before, .fuss__status[data-zustand="wartung"] .fuss__status-marke::before { background: #f3c06b; }
.fuss__status[data-zustand="offline"] .fuss__status-marke::before { background: #ff6b6b; }
.fuss__status-wert { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin: 0; }
.fuss__status-wert b { font: 600 2.5rem/1 var(--schrift); letter-spacing: -.04em; color: #fff; font-variant-numeric: tabular-nums; }
.fuss__status-wert span { font-size: 13.5px; color: #9da1c0; }
.fuss__status[data-zustand="unbekannt"] .fuss__status-wert b { display: none; }
.fuss__status-balken { display: flex; justify-content: space-between; gap: 3px; height: 34px; margin-top: 20px; }
.fuss__status-balken:empty { border-radius: 4px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .09) 0 5px, transparent 5px 12px); }
.fuss__status-balken span { flex: 1 1 0; max-width: 7px; border-radius: 99px; background: rgba(255, 255, 255, .12); }
.fuss__status-balken .ist-online { background: #3ddc97; }
.fuss__status-balken .ist-gestoert, .fuss__status-balken .ist-wartung { background: #f3c06b; }
.fuss__status-balken .ist-offline { background: #ff6b6b; }
.fuss__status-zeile { margin: 12px 0 0; font-size: 13px; color: #9da1c0; }

.fuss__wertungen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.fuss__wertung { grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 18px; }
.fuss__wertung-zahl { grid-row: span 2; }
.fuss__wertung { display: grid; gap: 9px; padding: 16px 16px 15px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 16px; background: linear-gradient(160deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015)); text-decoration: none; transition: border-color .25s ease, transform .4s var(--aus); }
.fuss__wertung:hover { border-color: color-mix(in srgb, var(--sternfarbe) 55%, transparent); transform: translateY(-2px); }
.fuss__wertung-zahl { font: 600 2.3rem/1 var(--schrift); letter-spacing: -.04em; color: #fff; font-variant-numeric: tabular-nums; }
.fuss__wertung-zahl small { margin-left: 3px; font: 500 13px var(--mono); letter-spacing: 0; color: #71748f; }
.fuss__wertung-sterne { width: max-content; font-size: 17px; line-height: 1; letter-spacing: 2px; color: transparent; background: linear-gradient(90deg, var(--sternfarbe) var(--anteil), rgba(255, 255, 255, .16) var(--anteil)); -webkit-background-clip: text; background-clip: text; }
.js [data-ein] .fuss__wertung-sterne { background-size: 0% 100%, 100% 100%; background-repeat: no-repeat; background-image: linear-gradient(90deg, var(--sternfarbe) var(--anteil), transparent var(--anteil)), linear-gradient(rgba(255, 255, 255, .16), rgba(255, 255, 255, .16)); transition: background-size 1.1s var(--aus) .35s; }
.js [data-ein].ist-sichtbar .fuss__wertung-sterne { background-size: 100% 100%, 100% 100%; }
.fuss__wertung-quelle { display: grid; gap: 1px; font-size: 12.5px; color: #9da1c0; }
.fuss__wertung-quelle b { font-weight: 500; font-size: 14px; color: #e6e6f5; }

/* Leiste zwischen Tafel und Rechtszeile: Socials in einer Reihe, daneben die Website-Prüfung als kleine Marke */
.fuss__leiste { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; margin-top: 26px; }
.fuss__leiste-teil { display: flex; align-items: center; gap: 18px; }
.fuss__leiste-teil h2 { margin: 0; white-space: nowrap; }
.fuss__noten { display: inline-flex; align-items: center; gap: 14px; padding: 8px 14px 8px 16px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 999px; background: rgba(255, 255, 255, .04); font-size: 13.5px; color: #c6c8de; transition: border-color .2s ease, background .2s ease; }
.fuss__noten:hover { border-color: rgba(167, 151, 255, .6); background: rgba(255, 255, 255, .07); color: #fff; }
.fuss__noten-titel { display: inline-flex; align-items: center; gap: 8px; font: 500 12.5px var(--mono); color: #8f93b5; }
.fuss__noten-titel i { font-size: 16px; color: var(--flieder); }
.fuss__note { display: inline-flex; align-items: center; gap: 7px; }
.fuss__note b { display: grid; place-items: center; min-width: 30px; height: 22px; padding: 0 6px; border-radius: 7px; background: rgba(167, 151, 255, .18); color: #d9d2ff; font: 600 12px var(--schrift); }
.fuss__noten > i { font-size: 14px; color: #71748f; }

.fuss__standards { list-style: none; margin: 0; padding: 18px 20px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; background: #0f1028; }
.fuss__standards li { display: flex; }
.fuss__standards img { display: block; width: 100%; height: auto; }

.fuss__unten { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px 32px; margin-top: clamp(32px, 4vw, 48px); padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .11); font-size: 13.5px; color: #9da1c0; }
.fuss__unten p { margin: 0; }
.fuss__unten ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.fuss__hoch { display: inline-flex; justify-self: start; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); }
.fuss__hoch:hover { border-color: #fff; }
.fuss__nachweis { position: relative; }
.fuss__nachweis summary { cursor: pointer; list-style: none; }
.fuss__nachweis summary::-webkit-details-marker { display: none; }
.fuss__nachweis summary:hover { color: #fff; }
.fuss__nachweis p { position: absolute; left: 0; bottom: calc(100% + 10px); z-index: 2; width: min(340px, 80vw); padding: 12px 14px; border-radius: 12px; background: #1b1c40; border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .8); line-height: 1.5; color: #c6c8de; }

.entwurf { position: fixed; left: 16px; bottom: 16px; z-index: 30; display: flex; align-items: center; gap: 4px; padding: 6px 6px 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--linie-2); box-shadow: 0 12px 30px -16px rgba(15, 16, 40, .4); font-size: 13px; }
.entwurf a { padding: 5px 11px; border-radius: 999px; background: #f0f0f6; color: var(--text-2); text-decoration: none; font-weight: 500; }
.entwurf a:hover { color: var(--tinte); }

/* Einblenden beim Scrollen: Inhalte sind ohne Skript sichtbar, die Bewegung kommt nur dazu. */
.js [data-ein] { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--aus), transform .8s var(--aus); }
.js [data-ein].ist-sichtbar { opacity: 1; transform: none; }

@media (max-width: 1080px) {
    .kopf__nav, .kopf__status, .kopf__fach, .kopf__sprache { display: none; }
    .kopf__schalter { display: block; }
    .kopf__rechts { margin-left: auto; gap: 8px; }
    .buehne > .huelle { min-height: 0; }
    .buehne__raster { grid-template-columns: minmax(0, 1fr) 270px; }
    .buehne__wort { grid-column: 1 / -1; padding: 44px 0 0; }
    .buehne__griff { min-height: 430px; }
    .buehne--seite .buehne__raster { grid-template-columns: 1fr; min-height: 0; }
    .werk, .werkzeuge, .ort, .zwei { grid-template-columns: minmax(0, 1fr); }
    .zwei { gap: 32px; }
    .produkte { grid-template-columns: 1fr; }
    .produkt + .produkt { border-left: 0; border-top: 1px solid var(--linie); }
    .faecher, .faecher--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .karten, .preise, .preise--4, .kennzahlen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .kennzahlen div:nth-child(3) { padding-left: 0; border-left: 0; }
    .kennzahlen div:nth-child(n+3) { border-top: 1px solid var(--linie); }
    .schirm { min-height: 470px; }
    .fuss__oben { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 24px; }
    .fuss__marke { grid-column: 1 / -1; }
    .fuss__vertrauen { grid-template-columns: minmax(0, 1fr); }
    .fuss__standards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fuss__unten { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 1081px) {
    .kopf__blatt { display: none; }
}
@media (max-width: 720px) {
    :root { --rand: 16px; }
    body { font-size: 16px; }
    .kopf { top: 10px; }
    .kopf__insel { width: calc(100% - 20px); height: 56px; padding-left: 16px; border-radius: 18px; }
    .kopf__logo img { height: 23px; }
    .kopf__rechts .knopf { display: none; }
    .abschnitt__kopf { grid-template-columns: 1fr; }
    .buehne { padding-top: 78px; }
    .buehne__raster { grid-template-columns: 1fr; }
    .buehne__knoepfe .knopf { padding: 12px 16px; font-size: 14.5px; }
    .buehne__griff { min-height: 330px; }
    .ebenen { margin-bottom: 28px; }
    .ebenen li { background: #17183b; }
    .fakten { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fakten div:nth-child(3) { padding-left: 0; border-left: 0; }
    .fakten div:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .13); }
    .partnerband__innen { grid-template-columns: 1fr; gap: 12px; }
    .schirm { min-height: 400px; }
    .schirm__tipp { display: none; }
    .werkzeuge ul { grid-template-columns: 1fr; }
    .faecher, .faecher--3, .faecher--2, .karten, .karten--2, .preise, .preise--4 { grid-template-columns: 1fr; }
    .galerie__unten { grid-template-columns: 1fr; gap: 26px; }
    .farbe, .farbe--licht, .nacht .farbe, .abschluss .farbe, .buehne .farbe { background-size: auto, 540px auto; }
    .ort dl div { grid-template-columns: 1fr; gap: 2px; }
    .karte__ebene { width: min(100%, 270px); }
    .mast__schild { padding: 4px 8px 5px; white-space: normal; max-width: 122px; }
    .mast__schild b { font-size: 13px; white-space: nowrap; }
    .mast__schild span { font-size: 10.5px; line-height: 1.35; }
    .ablauf { grid-template-columns: 1fr 1fr; }
    .ablauf li:nth-child(3) { padding-left: 0; border-left: 0; }
    .ablauf li:nth-child(n+3) { border-top: 1px solid var(--linie); margin-top: 24px; }
    .ablauf li::before { font-size: 3.2rem; }
    .abschluss__karte { grid-template-columns: 1fr; }
    .fuss__oben { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 24px; }
    .fuss__kachel { padding: 22px 20px 20px; }
    .fuss__standards { padding: 16px; gap: 10px; }
    .entwurf > span { display: none; }
    .entwurf { padding-left: 6px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
    .js [data-ein] { opacity: 1; transform: none; }
    .partnerband ul { flex-wrap: wrap; width: auto; gap: 14px 30px; }
    .partnerband li[aria-hidden="true"] { display: none; }
}
/* Der Chat-Knopf sitzt unten links: am Handy bekommt die letzte Fußzeile Platz darunter */
@media (max-width: 720px) { body:has(.enjix) .fuss__unten { padding-bottom: 72px; } }

/* Lesefortschritt als feine Linie am unteren Rand der Kopfleiste (nur wo der Browser Scroll-Zeitachsen kennt) */
@supports (animation-timeline: scroll()) {
    .kopf__insel::after { content: ''; position: absolute; left: 22px; right: 22px; bottom: -1px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--akzent), var(--flieder)); transform-origin: left; scale: 0 1; animation: lesefortschritt linear both; animation-timeline: scroll(root); pointer-events: none; }
}
@keyframes lesefortschritt { to { scale: 1 1; } }

/* Schaubild: Weg der Daten */
.fluss { list-style: none; margin: clamp(36px, 4.4vw, 60px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(var(--stationen, 4), minmax(0, 1fr)); gap: 0; }
.fluss__station { position: relative; display: grid; justify-items: center; gap: 4px; padding: 0 12px; text-align: center; }
.fluss__station b { margin-top: 14px; font-weight: 600; font-size: 1.02rem; letter-spacing: -.01em; }
.fluss__station small { font-size: 13.5px; line-height: 1.4; color: var(--text-2); }
.nacht .fluss__station small { color: #9da1c0; }
.fluss__zeichen, .fluss__rack { position: relative; z-index: 1; display: grid; place-items: center; width: 76px; height: 76px; border-radius: 22px; border: 1px solid var(--linie); background: var(--flaeche); font-size: 30px; color: var(--akzent); }
.nacht .fluss__zeichen, .nacht .fluss__rack { border-color: rgba(255, 255, 255, .14); background: #14153a; color: var(--flieder); }
.fluss__rack { grid-template-rows: repeat(4, 9px); align-content: center; gap: 5px; padding: 0 15px; place-items: stretch; }
.fluss__rack i { position: relative; border-radius: 3px; background: rgba(140, 130, 220, .22); }
.fluss__rack i::after { content: ''; position: absolute; right: 4px; top: 2px; width: 5px; height: 5px; border-radius: 50%; background: #3ddc97; animation: fluss-licht 1.8s ease-in-out infinite; }
.fluss__rack i:nth-child(2)::after { animation-delay: .45s; }
.fluss__rack i:nth-child(3)::after { animation-delay: .9s; background: var(--flieder); }
.fluss__rack i:nth-child(4)::after { animation-delay: 1.35s; }
.fluss__station + .fluss__station::before { content: ''; position: absolute; top: 38px; right: calc(50% + 38px); width: calc(100% - 76px); height: 1px; background: repeating-linear-gradient(90deg, rgba(140, 130, 220, .55) 0 6px, transparent 6px 12px); }
.fluss__station + .fluss__station::after { content: ''; position: absolute; top: 34px; right: calc(50% + 38px); width: 9px; height: 9px; border-radius: 50%; background: var(--flieder); box-shadow: 0 0 0 4px rgba(167, 151, 255, .2); translate: calc(-1 * (var(--spur, 160px))) 0; animation: fluss-paket 2.6s linear infinite; animation-delay: calc(var(--n) * .65s); opacity: 0; }
@keyframes fluss-licht { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@keyframes fluss-paket { 0% { translate: calc(-1 * var(--spur, 160px)) 0; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { translate: 0 0; opacity: 0; } }
@container fluss (min-width: 0) { .fluss__station { --spur: calc(100cqw / var(--stationen, 4) - 86px); } }
.fluss { container: fluss / inline-size; }

/* Schaubild: Rangliste, in der die eigene Seite nach oben steigt */
.rang { margin: 34px 0 0; max-width: 420px; }
.rang__feld { display: flex; align-items: center; gap: 10px; padding: 11px 16px; border: 1px solid var(--linie); border-radius: 999px; background: var(--flaeche); font-size: 14.5px; color: var(--text-2); }
.rang__feld i { color: var(--akzent); }
.rang__feld span { overflow: hidden; white-space: nowrap; border-right: 2px solid var(--akzent); width: 0; animation: rang-tippen 9s steps(26) infinite; }
.rang__liste { position: relative; list-style: none; margin: 14px 0 0; padding: 0; height: 196px; }
.rang__zeile { position: absolute; left: 0; right: 0; top: 0; display: grid; grid-template-columns: 26px minmax(0, 1fr) 64px 18px; align-items: center; gap: 12px; height: 42px; padding: 0 14px; border: 1px solid var(--linie); border-radius: 13px; background: var(--flaeche); translate: 0 calc(var(--n) * 50px); animation: rang-weichen 9s var(--aus) infinite; }
.rang__zeile span { width: 26px; height: 26px; border-radius: 8px; background: #ecebf5; }
.rang__zeile b { font-weight: 500; font-size: 14px; color: var(--text-3); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.rang__zeile em { height: 6px; border-radius: 3px; background: #ecebf5; }
.rang__zeile--eigen { z-index: 1; border-color: var(--akzent); box-shadow: 0 10px 26px rgba(90, 63, 224, .16); translate: 0 150px; animation-name: rang-steigen; }
.rang__zeile--eigen span { background: linear-gradient(135deg, var(--akzent), var(--flieder)); }
.rang__zeile--eigen b { color: var(--tinte); font-weight: 600; }
.rang__zeile--eigen em { background: var(--akzent-hell); }
.rang__zeile--eigen i { color: var(--akzent); font-size: 16px; }
.rang__ki { display: inline-flex; align-items: center; gap: 8px; margin: 14px 0 0; padding: 8px 14px; border-radius: 12px; background: var(--tinte); color: #d9dbf0; font-size: 13.5px; opacity: 0; animation: rang-ki 9s ease infinite; }
.rang__ki i { color: var(--flieder); }
.rang__ki b { color: #fff; font-weight: 500; }
.rang figcaption { margin-top: 12px; font: 12px var(--mono); color: var(--text-3); }
@keyframes rang-tippen { 0% { width: 0; } 18%, 92% { width: 100%; } 100% { width: 0; } }
@keyframes rang-steigen { 0%, 24% { translate: 0 150px; } 46%, 92% { translate: 0 0; } 100% { translate: 0 150px; } }
@keyframes rang-weichen { 0%, 24% { translate: 0 calc(var(--n) * 50px); } 46%, 92% { translate: 0 calc((var(--n) + 1) * 50px); } 100% { translate: 0 calc(var(--n) * 50px); } }
@keyframes rang-ki { 0%, 52% { opacity: 0; transform: translateY(6px); } 62%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* Vertrauensband: Bewertungen und Website-Prüfung */
.vertrauen__reihe { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.wert { position: relative; display: grid; gap: 10px; padding: 24px 24px 22px; border: 1px solid var(--linie); border-radius: 22px; background: var(--flaeche); text-decoration: none; transition: transform .45s var(--aus), box-shadow .45s var(--aus), border-color .25s ease; }
.wert:hover { transform: translateY(-4px); border-color: #cfc8ff; box-shadow: 0 22px 44px rgba(31, 24, 92, .1); }
.wert > i { position: absolute; top: 20px; right: 20px; color: var(--text-3); transition: transform .3s var(--aus), color .2s ease; }
.wert:hover > i { color: var(--akzent); transform: translate(2px, -2px); }
.wert__zahl { font: 600 3.2rem/1 var(--schrift); letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.wert__zahl small { margin-left: 4px; font: 500 14px var(--mono); letter-spacing: 0; color: var(--text-3); }
.wert__sterne { width: max-content; font-size: 21px; line-height: 1; letter-spacing: 3px; color: transparent; background-repeat: no-repeat; background-image: linear-gradient(90deg, var(--sternfarbe) var(--anteil), transparent var(--anteil)), linear-gradient(#e2e1ee, #e2e1ee); -webkit-background-clip: text; background-clip: text; }
.js [data-ein] .wert__sterne { background-size: 0% 100%, 100% 100%; transition: background-size 1.2s var(--aus) .3s; }
.js [data-ein].ist-sichtbar .wert__sterne { background-size: 100% 100%, 100% 100%; }
.wert__quelle { display: grid; gap: 2px; font-size: 13.5px; color: var(--text-2); }
.wert__quelle b { font-weight: 600; font-size: 1.02rem; color: var(--tinte); }
.wert__ring { position: relative; display: grid; place-items: center; width: 86px; height: 86px; margin-bottom: 2px; }
.wert__ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.wert__ring circle { fill: none; stroke-width: 4; stroke: #e8e6f6; }
.wert__ring circle + circle { stroke: var(--akzent); stroke-linecap: round; stroke-dasharray: 157.1; }
.js [data-ein] .wert__ring circle + circle { stroke-dashoffset: 157.1; transition: stroke-dashoffset 1.4s var(--aus) .3s; }
.js [data-ein].ist-sichtbar .wert__ring circle + circle { stroke-dashoffset: 0; }
.wert__ring b { font-weight: 600; font-size: 1.5rem; letter-spacing: -.02em; }

@media (max-width: 1080px) {
    .vertrauen__reihe { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
    .fluss { grid-template-columns: minmax(0, 1fr); gap: 34px; }
    .fluss__station { grid-template-columns: 76px minmax(0, 1fr); justify-items: start; text-align: left; column-gap: 16px; padding: 0; }
    .fluss__zeichen, .fluss__rack { grid-row: span 2; }
    .fluss__station b { margin-top: 0; align-self: end; }
    .fluss__station + .fluss__station::before { top: -34px; right: auto; left: 38px; width: 1px; height: 34px; background: repeating-linear-gradient(180deg, rgba(140, 130, 220, .55) 0 6px, transparent 6px 12px); }
    .fluss__station + .fluss__station::after { top: -34px; right: auto; left: 34px; animation-name: fluss-paket-hoch; }
    .vertrauen__reihe { gap: 12px; }
    .wert { padding: 20px 18px 18px; }
    .wert__zahl { font-size: 2.5rem; }
    .wert__sterne { font-size: 17px; letter-spacing: 2px; }
}
@keyframes fluss-paket-hoch { 0% { translate: 0 0; opacity: 0; } 15%, 85% { opacity: 1; } 100% { translate: 0 28px; opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
    .rang__feld span { width: 100%; border-right: 0; }
    .rang__zeile { translate: 0 calc((var(--n) + 1) * 50px); }
    .rang__zeile--eigen { translate: 0 0; }
    .rang__ki { opacity: 1; }
    .fluss__station + .fluss__station::after { display: none; }
}

/* Chat des KI-Assistenten im neuen Stil. Nur Aussehen: Markup und Verhalten kommen unverändert aus dem
   Chat-Baustein. Die Regeln setzen bewusst jede Eigenschaft, die das Cartoon-Design (cartoon.css) dem Chat gab,
   damit er auf Seiten mit altem Unterbau genauso aussieht wie auf den neu gebauten.
   Der Chat folgt dem Aufbau der Seiten: dunkler Kopf mit Punktraster wie der Seitenkopf, darunter ein heller
   Bereich mit Haarlinien, eine Akzentfarbe. Das Zeichen des Bots ist ein Gesicht aus Punkten, das blinzelt. */
.enjix { --bot: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ccircle cx='16.0' cy='2.4' r='1.12' fill='%23cfc8ff'/%3E%3Ccircle cx='16.0' cy='5.8' r='1.12' fill='%23cfc8ff'/%3E%3Ccircle cx='5.8' cy='9.2' r='1.12' fill='%23cfc8ff'/%3E%3Ccircle cx='9.2' cy='9.2' r='1.12' fill='%23cfc8ff'/%3E%3Ccircle cx='12.6' cy='9.2' r='1.12' fill='%23cfc8ff'/%3E%3Ccircle cx='16.0' cy='9.2' r='1.12' fill='%23cfc8ff'/%3E%3Ccircle cx='19.4' cy='9.2' r='1.12' fill='%23cfc8ff'/%3E%3Ccircle cx='22.8' cy='9.2' r='1.12' fill='%23cfc8ff'/%3E%3Ccircle cx='26.2' cy='9.2' r='1.12' fill='%23cfc8ff'/%3E%3Ccircle cx='2.4' cy='12.6' r='1.12' fill='%23cfc8ff'/%3E%3Ccircle cx='29.6' cy='12.6' r='1.12' fill='%23cfc8ff'/%3E%3Ccircle cx='2.4' cy='16.0' r='1.12' fill='%23cfc8ff'/%3E%3Cellipse cx='9.2' cy='16.0' rx='1.75' ry='1.75' fill='%23fff'%3E%3Canimate attributeName='ry' values='1.75%3B1.75%3B0.25%3B1.75%3B1.75' keyTimes='0%3B0.9%3B0.94%3B0.98%3B1' dur='4.5s' repeatCount='indefinite'/%3E%3C/ellipse%3E%3Cellipse cx='22.8' cy='16.0' rx='1.75' ry='1.75' fill='%23fff'%3E%3Canimate attributeName='ry' values='1.75%3B1.75%3B0.25%3B1.75%3B1.75' keyTimes='0%3B0.9%3B0.94%3B0.98%3B1' dur='4.5s' repeatCount='indefinite'/%3E%3C/ellipse%3E%3Ccircle cx='29.6' cy='16.0' r='1.12' fill='%23cfc8ff'/%3E%3Ccircle cx='2.4' cy='19.4' r='1.12' fill='%23cfc8ff'/%3E%3Ccircle cx='29.6' cy='19.4' r='1.12' fill='%23cfc8ff'/%3E%3Ccircle cx='2.4' cy='22.8' r='1.12' fill='%23cfc8ff'/%3E%3Ccircle cx='12.6' cy='22.8' r='1.12' fill='%23cfc8ff'/%3E%3Ccircle cx='16.0' cy='22.8' r='1.12' fill='%23cfc8ff'/%3E%3Ccircle cx='19.4' cy='22.8' r='1.12' fill='%23cfc8ff'/%3E%3Ccircle cx='29.6' cy='22.8' r='1.12' fill='%23cfc8ff'/%3E%3Ccircle cx='2.4' cy='26.2' r='1.12' fill='%23cfc8ff'/%3E%3Ccircle cx='29.6' cy='26.2' r='1.12' fill='%23cfc8ff'/%3E%3Ccircle cx='5.8' cy='29.6' r='1.12' fill='%23cfc8ff'/%3E%3Ccircle cx='9.2' cy='29.6' r='1.12' fill='%23cfc8ff'/%3E%3Ccircle cx='12.6' cy='29.6' r='1.12' fill='%23cfc8ff'/%3E%3Ccircle cx='16.0' cy='29.6' r='1.12' fill='%23cfc8ff'/%3E%3Ccircle cx='19.4' cy='29.6' r='1.12' fill='%23cfc8ff'/%3E%3Ccircle cx='22.8' cy='29.6' r='1.12' fill='%23cfc8ff'/%3E%3Ccircle cx='26.2' cy='29.6' r='1.12' fill='%23cfc8ff'/%3E%3C/svg%3E"); }
.enjix, .enjix *:not(code):not(i) { font-family: var(--schrift); }

/* Knopf: dunkler Kreis wie die Kopfleiste, darin das Punktgesicht */
.enjix .enjix-fab { left: 20px; bottom: 20px; width: 62px; height: 62px; padding: 0; border: 1px solid rgba(255, 255, 255, .16); border-radius: 50%; background: radial-gradient(120% 120% at 30% 15%, rgba(90, 63, 224, .75), transparent 62%), radial-gradient(rgba(167, 151, 255, .22) 1px, transparent 1.5px) 0 0 / 9px 9px, var(--nacht); box-shadow: 0 18px 34px -12px rgba(11, 12, 30, .7); translate: none; rotate: none; scale: none; transition: transform .45s var(--aus), box-shadow .3s ease, border-color .3s ease, opacity .3s ease; animation: chat-puls 3.6s ease-out 2s 3; }
.enjix .enjix-fab:hover { transform: translateY(-3px); translate: none; rotate: none; border-color: rgba(167, 151, 255, .7); box-shadow: 0 24px 42px -14px rgba(11, 12, 30, .75), 0 0 0 6px rgba(167, 151, 255, .16); }
.enjix .enjix-fab:active { scale: .95; }
.enjix .enjix-fab:focus-visible { outline: 2px solid var(--akzent); outline-offset: 4px; border-radius: 50%; }
.enjix .enjix-fab.hide { translate: none; transform: scale(.5); opacity: 0; pointer-events: none; }
.enjix .enjix-fab > svg, .enjix .enjix-av > svg { display: none; }
.enjix .enjix-fab::before, .enjix .enjix-av::before { content: ''; display: block; background: var(--bot) center / contain no-repeat; }
.enjix .enjix-fab::before { width: 36px; height: 36px; margin: 0 auto; transition: transform .5s var(--aus); }
.enjix .enjix-fab:hover::before { transform: scale(1.08); }
.enjix .enjix-fab::after, .enjix .enjix-fab:hover::after, .enjix .enjix-fab:focus-visible::after { content: none; display: none; }
@keyframes chat-puls { 0% { box-shadow: 0 18px 34px -12px rgba(11, 12, 30, .7), 0 0 0 0 rgba(167, 151, 255, .5); } 70%, 100% { box-shadow: 0 18px 34px -12px rgba(11, 12, 30, .7), 0 0 0 16px rgba(167, 151, 255, 0); } }

/* Fenster */
.enjix .enjix-win { border: 1px solid var(--linie); border-radius: 24px; background: var(--papier); box-shadow: 0 44px 90px -28px rgba(15, 16, 40, .55); overflow: hidden; color: var(--tinte); }
/* Kopf wie der Seitenkopf: Nacht, violetter Schein, Punktraster */
.enjix .enjix-hd { border: 0; background: radial-gradient(120% 170% at 0 0, rgba(90, 63, 224, .6), transparent 62%), radial-gradient(rgba(167, 151, 255, .2) 1px, transparent 1.5px) 0 0 / 14px 14px, var(--nacht); }
.enjix .enjix-hd .enjix-hi h3 { font-family: var(--schrift); font-weight: 600; font-size: 1.12rem; letter-spacing: -.025em; color: #fff; text-shadow: none; }
.enjix .enjix-hd .enjix-hi p, .enjix .enjix-hd .enjix-hi span:not(.enjix-beta) { font-family: var(--mono); font-size: 11.5px; color: #b5b8d3; }
.enjix .enjix-hi h3 .enjix-beta, .enjix .enjix-beta { display: none; }
.enjix .enjix-av { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 14px; background: rgba(255, 255, 255, .06); }
.enjix .enjix-av::before { width: 32px; height: 32px; }
.enjix .enjix-xb { border: 1px solid rgba(255, 255, 255, .14); border-radius: 12px; background: rgba(255, 255, 255, .06); color: #c6c8de; transition: background .2s ease, color .2s ease; }
.enjix .enjix-xb:hover { background: rgba(255, 255, 255, .14); color: #fff; }

/* Gesprächsbereich: Papiergrund und Haarlinien wie die Abschnitte der Seite */
.enjix .enjix-body { background: var(--papier); scrollbar-color: #cfcfe0 transparent; }
.enjix .enjix-m { border: 0; box-shadow: none; font-size: .95rem; font-weight: 400; line-height: 1.5; }
.enjix .enjix-m.b { border: 1px solid var(--linie); border-radius: 4px 18px 18px 18px; background: var(--flaeche); color: var(--tinte); }
.enjix .enjix-m.u { border-radius: 18px 4px 18px 18px; background: var(--tinte); color: #fff; }
.enjix .enjix-m.e { border: 1px solid #f3c4cd; border-radius: 14px; background: #fdecef; color: #a12a41; }
.enjix .enjix-m.b a, .enjix .enjix-lb { color: var(--akzent-d) !important; border-bottom-color: #cfc8ff; }
.enjix .enjix-m.b code { background: var(--akzent-hell); font-family: var(--mono); }
/* Vorschläge als Fächer: eine Tafel mit Haarlinien statt einzelner Knöpfe */
.enjix .enjix-chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; border: 1px solid var(--linie); border-radius: 16px; overflow: hidden; background: var(--linie); }
.enjix .enjix-chip { position: relative; display: block; width: 100%; min-height: 48px; margin: 0; padding: 11px 30px 11px 14px; border: 0; border-radius: 0; background: var(--flaeche); box-shadow: none; color: var(--tinte); font-weight: 500; font-size: .86rem; line-height: 1.25; text-align: left; white-space: normal; transition: background .2s ease, color .2s ease; }
.enjix .enjix-chip::after { content: '→'; position: absolute; right: 12px; top: 50%; translate: 0 -50%; color: var(--text-3); transition: translate .3s var(--aus), color .2s ease; }
.enjix .enjix-chip:hover { border: 0; background: var(--akzent-hell); color: var(--akzent-d); transform: none; box-shadow: none; }
.enjix .enjix-chip:hover::after { translate: 3px -50%; color: var(--akzent); }
.enjix .enjix-chip:last-child:nth-child(odd) { grid-column: 1 / -1; }
.enjix .enjix-tp i { background: var(--akzent); }
.enjix .enjix-note { font-family: var(--mono) !important; color: var(--text-3) !important; background: var(--papier); }
.enjix .enjix-bar { border-top: 1px solid var(--linie); background: var(--flaeche); }
.enjix .enjix-bar input { border: 1px solid var(--linie); border-radius: 14px; background: var(--papier); box-shadow: none; font-weight: 400; color: var(--tinte); }
.enjix .enjix-bar input::placeholder { color: var(--text-3); opacity: 1; }
.enjix .enjix-bar input:focus { border-color: var(--akzent); background: var(--flaeche); box-shadow: 0 0 0 4px rgba(90, 63, 224, .14); }
.enjix .enjix-cnt { background: #ecebf5; color: var(--text-3); border-radius: 999px; font-family: var(--mono); }
/* Senden wie der volle Knopf der Seite: Tinte, beim Überfahren Violett */
.enjix .enjix-sb { border: 0; border-radius: 14px; background: var(--tinte); box-shadow: none; transition: background .2s ease, transform .35s var(--aus); }
.enjix .enjix-sb svg { fill: #fff; }
.enjix .enjix-sb:hover { background: var(--akzent); transform: translateX(2px); }
.enjix .enjix-ft { border-top: 1px solid var(--linie); color: var(--text-3); background: var(--flaeche); }
.enjix .enjix-ft a { color: var(--akzent-d); }
@media (max-width: 720px) { .enjix .enjix-fab { left: 16px; bottom: 16px; width: 56px; height: 56px; } }
@media (prefers-reduced-motion: reduce) { .enjix .enjix-fab { animation: none; } }

/* Wechselnde Neuigkeiten über der Überschrift der Startseite: liegen übereinander, immer eine ist zu sehen */
.buehne__neues { display: grid; justify-items: start; margin-bottom: 28px; }
.buehne__neues .buehne__neu { grid-area: 1 / 1; margin-bottom: 0; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .5s ease, transform .6s var(--aus), visibility .5s, background .2s ease, border-color .2s ease; }
.buehne__neues .buehne__neu.ist-aktiv { opacity: 1; visibility: visible; transform: none; }
html:not(.js) .buehne__neues .buehne__neu:first-child { opacity: 1; visibility: visible; transform: none; }

@media (max-width: 720px) {
    .fuss__leiste { flex-direction: column; align-items: flex-start; }
    .fuss__leiste-teil { flex-direction: column; align-items: flex-start; gap: 12px; }
    .fuss__netze { flex-wrap: wrap; }
    .fuss__noten { flex-wrap: wrap; border-radius: 18px; }
    .fuss__wertung { grid-template-columns: minmax(0, 1fr); }
    .fuss__wertung-zahl { grid-row: auto; }
}

.film { margin: 0; border-radius: 22px; overflow: hidden; background: var(--nacht); border: 1px solid rgba(15, 16, 40, .14); box-shadow: 0 44px 90px -54px rgba(15, 16, 40, .6); }
.film video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--nacht); }
.film figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 18px; padding: 13px 20px 14px; border-top: 1px solid rgba(255, 255, 255, .1); font: 12.5px var(--mono); color: #9da1c0; }
.film figcaption span { display: inline-flex; align-items: center; gap: 7px; }
.film figcaption i { font-size: 15px; color: var(--flieder); }

/* Störungsbanner über dem Kopf. Erscheint nur, wenn die Statusseite einen Dienst als offline meldet;
   Kopf und Bühne rücken dann um seine Höhe nach unten. */
.stoerung { position: fixed; z-index: 45; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 44px; padding: 8px 20px; background: linear-gradient(90deg, #7a1420, #b3202f 50%, #7a1420); color: #fff; font-size: 14.5px; line-height: 1.35; text-decoration: none; box-shadow: 0 10px 30px -14px rgba(122, 20, 32, .9); }
.stoerung[hidden] { display: none; }
.stoerung__punkt { flex: none; width: 9px; height: 9px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0 rgba(255, 255, 255, .7); animation: stoerung-puls 1.8s ease-out infinite; }
.stoerung__text { font-weight: 500; }
.stoerung__ziel { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 3px 12px; border: 1px solid rgba(255, 255, 255, .45); border-radius: 999px; font: 500 12.5px var(--mono); transition: background .2s ease; }
.stoerung:hover .stoerung__ziel { background: rgba(255, 255, 255, .16); }
.hat-stoerung .kopf { top: 58px; }
.hat-stoerung .buehne { padding-top: 132px; }
.hat-stoerung .kopf__status span, .hat-stoerung .kopf--nacht .kopf__status span { background: #ff5a6a; }
@keyframes stoerung-puls { to { box-shadow: 0 0 0 9px rgba(255, 255, 255, 0); } }
@media (max-width: 720px) {
    .stoerung { justify-content: flex-start; gap: 10px; padding: 8px 16px; font-size: 13.5px; }
    .stoerung__ziel { display: none; }
    .hat-stoerung .buehne { padding-top: 122px; }
}
@media (prefers-reduced-motion: reduce) { .stoerung__punkt { animation: none; } }

/* Fuß: Verweis auf die vollständige Service-Übersicht unter den Kontaktwegen */
.fuss__alle { display: inline-flex; align-items: center; gap: 9px; margin-top: 22px; padding: 10px 16px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; color: #fff; font-size: 14.5px; font-weight: 500; text-decoration: none; transition: border-color .2s ease, background .2s ease; }
.fuss__alle:hover { border-color: var(--flieder); background: rgba(167, 151, 255, .12); }
.fuss__alle i:first-child { color: var(--flieder); font-size: 18px; }

/* Startseite: Wachhund in den Farben der eigenen Marke (tiefes Blau), links die Botschaft, rechts die echte Übersicht. */
.wh { color: #fff; background: radial-gradient(90% 120% at 100% 0%, rgba(42, 85, 224, .5), transparent 62%), #050c1b; border-bottom: 0; }
.wh__raster { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.wh__marke { display: flex; align-items: center; gap: 13px; margin: 0 0 22px; }
.wh__marke img { border-radius: 12px; }
.wh__marke b { font-weight: 600; font-size: 1.3rem; letter-spacing: -.03em; }
.wh__marke span { padding: 3px 11px; border: 1px solid rgba(126, 163, 255, .45); border-radius: 999px; font: 500 12px var(--mono); color: #7ea3ff; }
.wh h2 { font-size: clamp(2rem, 3.7vw, 3.05rem); line-height: 1.04; letter-spacing: -.035em; }
.wh h2 span { display: block; color: #7ea3ff; }
.wh__einleitung { margin-top: 16px; max-width: 30em; color: #c3cdea; font-size: 1.1rem; }
.wh__punkte { list-style: none; margin: 26px 0 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, .13); }
.wh__punkte li { display: flex; gap: 14px; padding: 15px 0; border-bottom: 1px solid rgba(255, 255, 255, .13); color: #c3cdea; font-size: 15.5px; }
.wh__punkte i { flex: none; margin-top: 1px; font-size: 22px; color: #7ea3ff; }
.wh__punkte b { color: #fff; font-weight: 600; }
.wh__knoepfe { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.wh .knopf--linie { color: #fff; border-color: rgba(255, 255, 255, .28); }
.wh .knopf--linie:hover { border-color: #7ea3ff; }
.wh__bild { margin: 0; border: 1px solid rgba(126, 163, 255, .28); border-radius: 20px; overflow: hidden; background: #000; box-shadow: 0 50px 100px -50px rgba(42, 85, 224, .9); transform: perspective(1600px) rotateY(-5deg) rotateX(2deg); transform-origin: left center; transition: transform .8s var(--aus); }
.wh__bild:hover { transform: none; }
.wh__bild img { display: block; width: 100%; height: auto; }
.wh__bild figcaption { padding: 11px 18px 12px; border-top: 1px solid rgba(255, 255, 255, .1); font: 12.5px var(--mono); color: #8f9bc0; }
@media (max-width: 960px) {
    .wh__raster { grid-template-columns: minmax(0, 1fr); }
    .wh__bild { transform: none; }
}

/* Leistungen: Die Körper aus Punkten stehen auf einer dunklen Fläche wie die Bühne der Seite. */
.schirm { border-color: rgba(167, 151, 255, .2); background: radial-gradient(90% 80% at 62% 30%, rgba(90, 63, 224, .5), transparent 64%), var(--nacht); }
.schirm::before { background-image: radial-gradient(rgba(167, 151, 255, .22) 1.2px, transparent 1.3px); background-size: 26px 26px; opacity: 1; mask-image: linear-gradient(200deg, #000, transparent 70%); -webkit-mask-image: linear-gradient(200deg, #000, transparent 70%); }
.schirm__tafel .knopf { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .26); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.schirm__tafel .knopf:hover { border-color: var(--flieder); background: rgba(167, 151, 255, .16); }
.schirm__name { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .16); color: #c6c8de; }
.schirm__tipp { color: #9da1c0; }
.ohne-koerper .schirm__zeichen { color: var(--flieder); }

/* Vier Produktkarten: breit nebeneinander, darunter zwei mal zwei. */
.produkte { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.produkt { padding: 24px 22px 24px; }
.produkt__bild { height: 164px; }
.produkt__bild--links img { object-position: 0 0; }
@media (max-width: 1180px) {
    .produkte { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .produkt:nth-child(odd) { border-left: 0; }
    .produkt:nth-child(n + 3) { border-top: 1px solid var(--linie); }
}
@media (max-width: 720px) {
    .produkte { grid-template-columns: 1fr; }
    .produkt + .produkt { border-left: 0; border-top: 1px solid var(--linie); }
}
.wh .knopf--linie { background: transparent; }

/* Verweis auf alle Services: links der Text, rechts zwei Reihen Punktzeichen, die gegeneinander laufen. */
.mehr { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: stretch; margin-top: 64px; border-radius: 26px; overflow: hidden; color: #fff; text-decoration: none; background: radial-gradient(90% 130% at 100% 0%, rgba(90, 63, 224, .55), transparent 62%), var(--nacht); border: 1px solid rgba(167, 151, 255, .2); transition: border-color .3s ease, box-shadow .4s ease; }
.mehr:hover { border-color: var(--flieder); box-shadow: 0 34px 60px -40px rgba(90, 63, 224, .9); }
.mehr__text { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: clamp(28px, 3.4vw, 44px); }
.mehr__text .mono { color: var(--flieder); }
.mehr__text strong { font-weight: 600; font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1.04; letter-spacing: -.04em; }
.mehr__text > span:not(.mono) { color: #c6c8de; max-width: 26em; }
.mehr__text em { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; padding: 12px 20px; border-radius: 999px; background: #fff; color: var(--tinte); font-style: normal; font-weight: 500; }
.mehr__text em i { transition: transform .3s var(--aus); }
.mehr:hover .mehr__text em i { transform: translateX(4px); }
.mehr__bild { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 28px 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 16%, #000 86%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 16%, #000 86%, transparent); }
.mehr__reihe { display: flex; gap: 14px; width: max-content; animation: mehr-lauf 46s linear infinite; }
.mehr__reihe--gegen { animation-direction: reverse; }
.mehr:hover .mehr__reihe { animation-duration: 22s; }
.mehr__kachel { flex: none; display: grid; place-items: center; width: 92px; height: 92px; border-radius: 24px; background: radial-gradient(120% 120% at 80% 0%, rgba(167, 151, 255, .42), transparent 62%), #1a1b45; border: 1px solid rgba(255, 255, 255, .08); }
.mehr__kachel svg { width: 62px; height: 62px; fill: #e8e3ff; }
/* Jede Reihe steht doppelt da; nach der halben Breite beginnt der Lauf unsichtbar von vorn. */
@keyframes mehr-lauf { to { transform: translateX(calc(-50% - 7px)); } }
@media (max-width: 960px) {
    .mehr { grid-template-columns: minmax(0, 1fr); }
    .mehr__bild { padding: 0 0 26px; }
    .mehr__kachel { width: 76px; height: 76px; border-radius: 20px; }
    .mehr__kachel svg { width: 50px; height: 50px; }
}
@media (prefers-reduced-motion: reduce) { .mehr__reihe { animation: none; } }

/* Produktkarte Enjyn Sign: ein Blatt mit Textzeilen, darunter schreibt sich die Unterschrift. */
.produkt__bild--blatt { display: grid; place-items: center; }
.blatt { position: relative; display: grid; align-content: start; gap: 9px; width: 64%; height: 92%; margin-top: 11%; padding: 18px 18px 0; border-radius: 12px 12px 0 0; background: #fff; border: 1px solid var(--linie); border-bottom: 0; box-shadow: 0 18px 40px -22px rgba(31, 24, 92, .5); transition: transform .8s var(--aus); }
.produkt:hover .blatt { transform: translateY(-8px) rotate(-1.5deg); }
.blatt i { display: block; height: 6px; border-radius: 6px; background: #e4e5ee; }
.blatt i:nth-child(2) { width: 82%; }
.blatt i:nth-child(3) { width: 91%; }
.blatt i:nth-child(4) { width: 54%; }
.blatt svg { width: 78%; margin-top: 4px; overflow: visible; }
.blatt svg path { fill: none; stroke: var(--akzent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: blatt-schrift 5.5s var(--aus) infinite; }
.blatt b { display: block; width: 78%; height: 1px; margin-top: -6px; background: var(--linie-2); }
@keyframes blatt-schrift { 0%, 8% { stroke-dashoffset: 1; } 45%, 88% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .blatt svg path { animation: none; stroke-dashoffset: 0; } }

/* Knöpfe beim Überfahren: Schriftfarbe passend zur neuen Fläche. */
.knopf--voll:hover { color: #fff; }
.knopf--hell:hover, .buehne .knopf--voll:hover, .kopf--nacht .kopf__rechts .knopf--voll:hover { color: var(--tinte); }
.knopf--linie:hover { color: var(--tinte); }
:is(.buehne, .nacht, .abschluss, .wh, .schirm, .re-kopf) .knopf--linie:hover { color: #fff; }

/* Beispielpreise: Stern am Preis, kleiner Hinweis direkt darunter und eine Zeile am Ende des Abschnitts. */
.stern { margin-left: 1px; font-size: .5em; font-weight: 500; vertical-align: super; line-height: 0; color: var(--akzent); }
td .stern, dt .stern { font-size: .7em; }
.preis__hinweis { margin: 4px 0 0; font: 12px var(--mono); color: var(--text-3); }
.preishinweis { margin: 18px 0 0; font: 12.5px var(--mono); color: var(--text-3); }
.nacht .preishinweis, .nacht .preis__hinweis { color: #9da1c0; }

/* Menü: Die Icons stehen ruhig auf weißer Kachel mit feiner Linie; Violett kommt erst beim Überfahren.
   Die Kachel rechts ist dunkler gehalten, der violette Schein nur noch ein Hauch. */
.fachlink > i { background: #fff; border: 1px solid var(--linie); color: var(--tinte); }
.fachlink:hover > i { background: var(--tinte); border-color: var(--tinte); color: #fff; }
.fachbild { background: var(--nacht) radial-gradient(110% 90% at 100% 0, rgba(90, 63, 224, .3), transparent 58%); }
.fachbild__zeichen { background-image: radial-gradient(circle, #eceaff 1.7px, transparent 2.2px); }

/* Fuß: Status, Bewertungen und Siegel kompakter, damit der Block weniger Platz nimmt. */
.fuss__tafel { margin-top: clamp(28px, 3.4vw, 44px); border-radius: 18px; }
.fuss__kachel { padding: 16px 20px 14px; }
.fuss__kachel-kopf { margin-bottom: 12px; min-height: 22px; }
.fuss__kachel-link { padding-top: 12px; font-size: 13px; }
.fuss__status-wert b { font-size: 1.7rem; }
.fuss__status-wert span { font-size: 13px; }
.fuss__status-balken { height: 20px; margin-top: 12px; }
.fuss__status-zeile { margin-top: 8px; font-size: 12px; }
.fuss__wertungen { gap: 10px; }
.fuss__wertung { gap: 4px; column-gap: 14px; padding: 10px 13px; border-radius: 13px; }
.fuss__wertung-zahl { font-size: 1.6rem; }
.fuss__wertung-sterne { font-size: 13px; letter-spacing: 1.5px; }
.fuss__wertung-quelle { font-size: 12px; }
.fuss__wertung-quelle b { font-size: 13px; }
.fuss__pruefung-text { margin-top: 10px; font-size: 13px; }
.fuss__standards { grid-template-columns: repeat(4, minmax(0, 168px)); justify-content: center; gap: 12px 22px; padding: 12px 20px; }
@media (max-width: 720px) {
    .fuss__standards { grid-template-columns: repeat(2, minmax(0, 150px)); }
}

/* Partnerband zeigt nur Logos; der Name steht im alt-Text und im Tooltip. */
.partnerband ul { gap: 30px; align-items: center; }
.partnerband li { gap: 0; }
.partnerband img { width: auto; height: 38px; max-width: 132px; padding: 0; border-radius: 9px; object-fit: contain; background: #fff; }
.partnerband img[src$="accountable.jpg"], .partnerband img[src$="keyweb-ag.png"], .partnerband img[src$="namecheap.webp"], .partnerband img[src$="fonial.svg"] { padding: 7px 10px; }
.partnerband__zeichen { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 9px; background: #000; color: #fff; font-size: 23px; }

/* Hosting, Wachhund, Human Maker und die Werkzeuge bilden einen Bereich: gleiche Fläche, keine Trennlinie dazwischen. */
.hosting-teil { border-bottom: 0; padding-bottom: clamp(28px, 3.5vw, 44px); }
.eigenes { padding-top: 0; }
.eigenes .abschnitt__kopf { margin-top: clamp(48px, 6vw, 80px); }
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.duo__feld { position: relative; display: flex; flex-direction: column; padding: clamp(24px, 2.6vw, 34px) clamp(22px, 2.6vw, 34px) 0; border-radius: 26px; overflow: hidden; color: #fff; scroll-margin-top: 110px; }
.duo__feld--wh { --ton: #7ea3ff; background: radial-gradient(90% 110% at 100% 0%, rgba(42, 85, 224, .5), transparent 62%), #050c1b; }
.duo__feld--hm { --ton: #5fd9b6; background: radial-gradient(80% 100% at 100% 0%, rgba(139, 108, 240, .42), transparent 60%), radial-gradient(70% 90% at 0% 100%, rgba(47, 184, 148, .2), transparent 62%), #0d1218; }
.duo__marke { display: flex; align-items: center; gap: 11px; margin: 0 0 18px; }
.duo__marke img { border-radius: 10px; }
.duo__marke b { font-weight: 600; font-size: 1.12rem; letter-spacing: -.02em; }
.duo__marke span { padding: 2px 10px; border: 1px solid color-mix(in srgb, var(--ton) 45%, transparent); border-radius: 999px; font: 500 11.5px var(--mono); color: var(--ton); }
.duo__feld h3 { font-size: clamp(1.6rem, 2.5vw, 2.15rem); line-height: 1.06; letter-spacing: -.035em; }
.duo__feld h3 span { color: var(--ton); }
.duo__feld--hm h3 span { background: linear-gradient(90deg, #2fb894, #8b6cf0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.duo__text { margin-top: 12px; max-width: 31em; color: #c3cdea; font-size: 15.5px; }
.duo__punkte { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; }
.duo__punkte li { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 10px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; background: rgba(255, 255, 255, .05); font-size: 13.5px; color: #e3e8f7; }
.duo__punkte i { font-size: 17px; color: var(--ton); }
.duo__knoepfe { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin: 22px 0 26px; }
.duo__link { color: #fff; font-weight: 500; font-size: 15px; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .35); text-underline-offset: 4px; }
.duo__link:hover { text-decoration-color: var(--ton); }
.duo__schau { margin: auto 0 0; height: 168px; border: 1px solid rgba(255, 255, 255, .14); border-bottom: 0; border-radius: 16px 16px 0 0; overflow: hidden; }
.duo__schau--foto { background: #000; }
.duo__schau--foto img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.duo__schau--probe { display: flex; flex-direction: column; gap: 12px; padding: 18px 20px 0; background: rgba(255, 255, 255, .045); }
.duo__schau--probe p { margin: 0; font-size: 14.5px; line-height: 1.6; color: #c9d2de; }
.duo__schau--probe mark { padding: 1px 4px; border-radius: 5px; background: rgba(139, 108, 240, .32); color: #fff; box-shadow: inset 0 -2px 0 #8b6cf0; }
.duo__mass { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .12); }
.duo__mass span { display: block; width: 64%; height: 100%; border-radius: 6px; background: linear-gradient(90deg, #2fb894, #8b6cf0); }
.duo__befund { display: flex; justify-content: space-between; gap: 12px; font: 12.5px var(--mono); color: #9aa6b2; }
.duo__befund b { font-weight: 500; color: #fff; }
.eigenes .mehr { margin-top: 18px; }
.eigenes .produkte { background: var(--flaeche); }
@media (max-width: 900px) {
    .duo { grid-template-columns: minmax(0, 1fr); }
    .duo__schau { height: auto; min-height: 150px; }
    .duo__schau--foto img { aspect-ratio: 16 / 7; }
    .duo__schau--probe { padding-bottom: 18px; }
}

/* Tageswerte im Fuß als durchgehendes Band: Segmente füllen die Breite, statt als einzelne Punkte weit auseinanderzustehen. */
.fuss__status-balken { justify-content: stretch; gap: 3px; height: 14px; margin-top: 14px; }
.fuss__status-balken span { flex: 1 1 0; max-width: none; border-radius: 3px; }
.fuss__status-balken span:first-child { border-radius: 7px 3px 3px 7px; }
.fuss__status-balken span:last-child { border-radius: 3px 7px 7px 3px; }
/* Merkmale in den beiden Markenfeldern bleiben in einer Zeile; die Vorschau darunter beginnt dadurch auf gleicher Höhe. */
.duo__punkte { gap: 7px; }
.duo__punkte li { padding: 6px 11px 6px 9px; font-size: 13px; white-space: nowrap; }
.duo__schau { height: 184px; }
@media (min-width: 901px) and (max-width: 1180px) { .duo__punkte li { padding: 5px 9px 5px 7px; font-size: 12px; } .duo__punkte i { font-size: 15px; } }

/* Karte „Wo Enjyn aktiv ist": Deutschland, Österreich und die Schweiz als Punktraster aus echten Umrissen (video-neu/dach-karte.py). */
.ort--dach { grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); gap: clamp(32px, 5vw, 76px); }
.ort--dach dl div { grid-template-columns: 140px 1fr; }
.ort__felder { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding: 0; }
.ort__felder li { display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px 6px 10px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; background: rgba(255, 255, 255, .04); font-size: 13.5px; color: #dcdef0; }
.ort__felder i { font-size: 17px; color: var(--flieder); }
.dach { margin: 0; }
.dach__flaeche { position: relative; width: min(100%, 520px); margin-inline: auto; }
.dach svg { display: block; width: 100%; height: 100%; overflow: visible; }
.dach__punkte--de { fill: rgba(255, 255, 255, .3); }
.dach__punkte--at { fill: rgba(255, 255, 255, .2); }
.dach__punkte--ch { fill: rgba(255, 255, 255, .2); }
.dach__punkte--by { fill: #8b74ff; }
.dach__grenze { fill: none; stroke: rgba(255, 255, 255, .26); stroke-width: 1; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.dach__grenze--by { stroke: rgba(167, 151, 255, .75); }
.dach__rz { fill: var(--nacht); stroke: #c9cce6; stroke-width: 1.6; }
.dach__sitz-kern { fill: #fff; }
.dach__sitz-ring { fill: rgba(167, 151, 255, .28); stroke: #fff; stroke-width: 1.4; }
.dach__sitz-welle { fill: none; stroke: var(--flieder); stroke-width: 1.4; transform-box: fill-box; transform-origin: center; animation: puls 2.8s ease-out infinite; }
.dach__name { position: absolute; transform: translate(-50%, -50%); font: 500 11px var(--mono); letter-spacing: .04em; color: rgba(255, 255, 255, .62); white-space: nowrap; pointer-events: none; text-shadow: 0 0 6px var(--nacht), 0 0 6px var(--nacht), 0 0 10px var(--nacht); }
.dach__name--by { color: #fff; }
.dach__ort { position: absolute; display: grid; white-space: nowrap; pointer-events: none; }
.dach__ort--rz { transform: translate(9px, -50%); font: 10.5px var(--mono); color: #c9cce6; text-shadow: 0 0 5px var(--nacht), 0 0 5px var(--nacht), 0 0 8px var(--nacht); }
.dach__ort--rz b { font-weight: 500; }
.dach__ort--rz small { display: none; }
.dach__ort--frankfurt { transform: translate(calc(-100% - 9px), -50%); }
.dach__ort--sitz { transform: translate(18px, -50%); padding: 7px 12px 8px; border: 1px solid rgba(167, 151, 255, .55); border-radius: 12px; background: rgba(22, 23, 52, .95); box-shadow: 0 16px 34px -14px rgba(0, 0, 0, .9); }
.dach__ort--sitz b { font-weight: 600; font-size: 14.5px; color: #fff; }
.dach__ort--sitz small { font: 11px var(--mono); color: var(--flieder); }
.dach__legende { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 26px; font-size: 13px; color: #b5b8d3; }
.dach__legende span { display: inline-flex; align-items: center; gap: 8px; }
.dach__zeichen { flex: none; width: 10px; height: 10px; border-radius: 50%; }
.dach__zeichen--by { background: #8b74ff; }
.dach__zeichen--land { background: rgba(255, 255, 255, .34); }
.dach__zeichen--sitz { background: #fff; box-shadow: 0 0 0 3px rgba(167, 151, 255, .45); }
.dach__zeichen--rz { width: 9px; height: 9px; border: 1.6px solid #c9cce6; }
@media (max-width: 900px) {
    .ort--dach { grid-template-columns: minmax(0, 1fr); }
    .dach__flaeche { width: min(100%, 420px); }
}
@media (max-width: 560px) {
    .ort--dach dl div { grid-template-columns: 1fr; }
    .dach__name { font-size: 9.5px; }
    .dach__ort--sitz { transform: translate(14px, -50%); padding: 5px 9px 6px; }
    .dach__ort--sitz b { font-size: 12.5px; }
    .dach__ort--sitz small { font-size: 10px; }
    .dach__legende { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) { .dach__sitz-welle { animation: none; } }
.dach__punkte--de { fill: rgba(255, 255, 255, .36); }
.dach__punkte--at, .dach__punkte--ch { fill: rgba(255, 255, 255, .25); }
.dach__ort--rz, .dach__name { padding: 1px 6px; border-radius: 6px; background: rgba(11, 12, 30, .78); }

/* Bewertungen im Wortlaut und das Fenster zur Wahl des Bewertungsportals. */
.stimmen { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.stimme { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 22px 22px 20px; border: 1px solid var(--linie); border-radius: 20px; background: var(--flaeche); }
.stimme__kopf { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.stimme__sterne { font-size: 17px; letter-spacing: 2px; line-height: 1; background: linear-gradient(90deg, var(--sternfarbe) var(--anteil), #d9dbe7 var(--anteil)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stimme__quelle { font: 500 12px var(--mono); color: var(--text-3); }
.stimme blockquote { margin: 0; display: grid; gap: 6px; }
.stimme blockquote b { font-weight: 600; letter-spacing: -.01em; }
.stimme blockquote p { margin: 0; color: var(--text-2); font-size: 14.5px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.stimme figcaption { display: flex; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--linie); font-weight: 500; font-size: 14px; }
.stimme figcaption time { font: 12.5px var(--mono); color: var(--text-3); }
.vertrauen .abschnitt__kopf .knopf { align-self: end; }
.bewerten { width: min(480px, calc(100vw - 32px)); padding: 30px 30px 28px; border: 1px solid var(--linie); border-radius: 24px; background: var(--flaeche); color: var(--tinte); box-shadow: 0 60px 120px -40px rgba(11, 12, 30, .7); }
.bewerten::backdrop { background: rgba(11, 12, 30, .6); backdrop-filter: blur(4px); }
.bewerten h3 { font-size: 1.5rem; letter-spacing: -.03em; padding-right: 40px; }
.bewerten > p { margin: 8px 0 20px; color: var(--text-2); font-size: 15px; }
.bewerten__zu { position: absolute; top: 18px; right: 18px; display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--linie-2); border-radius: 50%; background: none; color: inherit; font-size: 17px; cursor: pointer; }
.bewerten__zu:hover { border-color: var(--tinte); }
.bewerten__wahl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.bewerten__wahl a { position: relative; display: grid; gap: 3px; padding: 18px 18px 16px; border: 1px solid var(--linie-2); border-radius: 18px; color: inherit; text-decoration: none; transition: border-color .2s ease, box-shadow .2s ease; }
.bewerten__wahl a:hover { border-color: var(--akzent); box-shadow: 0 0 0 4px rgba(90, 63, 224, .12); }
.bewerten__wahl span { font-size: 26px; line-height: 1; color: var(--sternfarbe); }
.bewerten__wahl b { margin-top: 8px; font-weight: 600; font-size: 1.1rem; }
.bewerten__wahl small { color: var(--text-2); font-size: 13.5px; }
.bewerten__wahl i { position: absolute; top: 16px; right: 16px; color: var(--text-3); }
@media (max-width: 1100px) { .stimmen { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .stimmen, .bewerten__wahl { grid-template-columns: minmax(0, 1fr); } }

/* Karte: Rechenzentren mit Betreiber und Ort beschriftet, Bruckberg ohne eigenes Schild. */
.dach__rz { stroke: #e3e5f7; stroke-width: 1.5; }
.dach__rz-kern { fill: #e3e5f7; }
.dach__ort--rz { line-height: 1.25; }
.dach__ort--rz b { font-weight: 600; color: #fff; }
.dach__ort--rz small { display: block; font-size: 9.5px; color: #a9adcc; }
.dach__ort--frankfurt { text-align: right; }
.dach__ort--sitz { transform: translate(17px, -50%); padding: 1px 6px; border: 0; border-radius: 6px; background: rgba(11, 12, 30, .78); box-shadow: none; }
.dach__ort--sitz b { font: 600 11.5px var(--mono); color: #fff; }
.dach__ort--sitz small { display: none; }

/* Bewertungen als Band zum seitlichen Wischen statt als Raster. */
.stimmen-kopf { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 34px; }
.stimmen-kopf h3 { font-size: 1.25rem; letter-spacing: -.02em; }
.stimmen-pfeile { display: flex; gap: 8px; }
.stimmen-pfeile button { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--linie-2); border-radius: 50%; background: var(--flaeche); color: var(--tinte); font-size: 18px; cursor: pointer; transition: border-color .2s ease, background .2s ease, color .2s ease, opacity .2s ease; }
.stimmen-pfeile button:hover:not(:disabled) { background: var(--tinte); border-color: var(--tinte); color: #fff; }
.stimmen-pfeile button:disabled { opacity: .35; cursor: default; }
.stimmen { display: flex; grid-template-columns: none; gap: 14px; margin: 16px calc(var(--rand, 24px) * -1) 0; padding: 4px var(--rand, 24px) 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--rand, 24px); scrollbar-width: none; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; cursor: grab; }
.stimmen::-webkit-scrollbar { display: none; }
.stimmen:focus-visible { outline: 2px solid var(--akzent); outline-offset: 4px; border-radius: 20px; }
.stimme { flex: 0 0 min(360px, 82vw); scroll-snap-align: start; }
.stimme blockquote p { -webkit-line-clamp: 8; }
@media (max-width: 1100px) { .stimmen { grid-template-columns: none; } }
@media (max-width: 600px) { .stimmen { grid-template-columns: none; } .stimmen-pfeile { display: none; } }

/* Fuß mit fünf Verweisspalten. */
.fuss__oben { grid-template-columns: minmax(0, 1.45fr) repeat(5, minmax(0, 1fr)); gap: 40px 24px; }
@media (max-width: 1180px) { .fuss__oben { grid-template-columns: repeat(5, minmax(0, 1fr)); } .fuss__oben > :first-child { grid-column: 1 / -1; } }
@media (max-width: 860px) { .fuss__oben { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .fuss__oben { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Verweis auf die Service-Seite als Band unter den Verweisspalten statt als Knopf in der Markenspalte. */
.fuss__band { grid-column: 2 / -1; display: flex; align-items: center; gap: 16px; margin-top: 4px; padding: 14px 16px 14px 14px; border: 1px solid rgba(255, 255, 255, .13); border-radius: 18px; background: linear-gradient(90deg, rgba(90, 63, 224, .22), rgba(255, 255, 255, .03) 60%); color: #fff; text-decoration: none; transition: border-color .25s ease, background-color .25s ease; }
.fuss__band:hover { border-color: var(--flieder); }
.fuss__band-zeichen { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: rgba(167, 151, 255, .16); color: var(--flieder); font-size: 22px; }
.fuss__band-text { display: grid; gap: 1px; min-width: 0; }
.fuss__band-text b { font-weight: 600; font-size: 15.5px; letter-spacing: -.01em; }
.fuss__band-text small { font-size: 13.5px; color: #a9adcc; }
.fuss__band-pfeil { flex: none; display: grid; place-items: center; width: 40px; height: 40px; margin-left: auto; border-radius: 50%; background: #fff; color: var(--tinte); font-size: 17px; transition: transform .3s var(--aus); }
.fuss__band:hover .fuss__band-pfeil { transform: translateX(4px); }
@media (max-width: 1180px) { .fuss__band { grid-column: 1 / -1; } }

/* Menükachel: Bei nur zwei Zeilen im Fach ist sie niedrig; das Zeichen wird kleiner, damit es ganz sichtbar bleibt und die Beschriftung frei steht. */
.fachbild { min-height: 170px; }
.fachbild__zeichen { top: 40%; font-size: min(176px, calc(var(--zeilen, 3) * 30px + 46px)); }

/* Kopfleiste mit sechs Menüpunkten: Zwischen Handy-Umbruch und breitem Fenster rücken die Punkte enger, der Statusverweis entfällt. */
@media (min-width: 1081px) and (max-width: 1300px) {
    .kopf__status { display: none; }
    .kopf__nav > a, .kopf__nav > button { padding: 8px 9px; }
}

/* Wechselnde Überschrift im Kopf der Startseite. Der Zusatzraum unten hält Unterlängen sichtbar, obwohl die Zeile abschneidet. */
.titelwechsel__zeile { display: block; overflow: hidden; padding-bottom: .14em; margin-bottom: -.14em; }
.titelwechsel__zeile > span { display: block; white-space: nowrap; transition: transform .6s cubic-bezier(.2, .8, .2, 1), opacity .45s ease; }
.titelwechsel__zeile + .titelwechsel__zeile > span { transition-delay: .09s; }
.titelwechsel.geht .titelwechsel__zeile > span { transform: translateY(-115%); opacity: 0; transition-timing-function: cubic-bezier(.6, 0, .8, .2), ease; transition-duration: .45s, .35s; }
.titelwechsel.wartet .titelwechsel__zeile > span { transform: translateY(115%); opacity: 0; transition: none; }
@media (max-width: 420px) { .titelwechsel__zeile > span { white-space: normal; } }
/* Der Satz unter der wechselnden Überschrift blendet mit um; die Mindesthöhe hält zwei Zeilen frei, damit die Knöpfe nicht springen. */
.buehne__text[data-titeltext] { min-height: 3.3em; transition: opacity .4s ease .12s, transform .5s cubic-bezier(.2, .8, .2, 1) .12s; }
.buehne__text[data-titeltext].geht { opacity: 0; transform: translateY(8px); transition-delay: 0s; transition-duration: .3s; }

/* Rechte Spalte im Kopf der Startseite als Film in Schleife: Alle Bilder liegen übereinander, sichtbar ist das aktive.
   Zeichen, Nummer, Titel und Satz blenden nacheinander ein; die Striche unten zeigen, wie lange das Bild noch steht. */
.ebenen--film { position: relative; display: grid; gap: 0; min-height: 330px; padding: 22px 22px 46px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 22px; background: radial-gradient(120% 90% at 100% 0%, rgba(90, 63, 224, .32), transparent 60%), rgba(255, 255, 255, .04); overflow: hidden; }
.ebenen--film li { grid-area: 1 / 1; display: flex; flex-direction: column; align-items: flex-start; border: 0; border-radius: 0; background: none; box-shadow: none; visibility: hidden; pointer-events: none; }
.ebenen--film li:hover, .ebenen--film li.ist-aktiv { background: none; border: 0; box-shadow: none; }
.ebenen--film li.ist-aktiv { visibility: visible; pointer-events: auto; }
.ebenen--film button { display: flex; flex-direction: column; align-items: flex-start; width: 100%; padding: 0; border-radius: 0; cursor: default; }
.ebenen--film .ebenen__zeichen { display: grid; place-items: center; width: 84px; height: 84px; margin-bottom: 20px; border: 1px solid rgba(167, 151, 255, .3); border-radius: 22px; background: radial-gradient(120% 120% at 20% 0%, rgba(167, 151, 255, .26), rgba(255, 255, 255, .03)); }
.ebenen--film .ebenen__zeichen svg { width: 56px; height: 56px; fill: #e8e3ff; }
.ebenen--film .ebenen__nr { font-size: 12px; color: var(--flieder); }
.ebenen--film strong { display: block; margin-top: 8px; font-weight: 600; font-size: clamp(1.9rem, 2.5vw, 2.35rem); line-height: 1.02; letter-spacing: -.04em; padding-bottom: .1em; }
.ebenen--film .info { margin-top: 10px; font-size: 15px; line-height: 1.45; color: #c6c8de; }
.ebenen--film li > a { display: inline-flex; align-items: center; gap: 7px; width: auto; height: auto; margin: 16px 0 0; padding: 0 0 3px; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .3); border-radius: 0; background: none; color: #fff; font-weight: 500; font-size: 14.5px; }
.ebenen--film li > a:hover, .ebenen--film li.ist-aktiv > a { border: 0; border-bottom: 1px solid rgba(255, 255, 255, .3); background: none; color: #fff; }
.ebenen--film li > a:hover { border-bottom-color: var(--flieder); }
.ebenen--film li > a i { transition: transform .3s var(--aus); }
.ebenen--film li > a:hover i { transform: translateX(4px); }
.ebenen--film li.ist-aktiv :is(.ebenen__zeichen, .ebenen__nr, strong, .info), .ebenen--film li.ist-aktiv > a { animation: ebene-ein .7s cubic-bezier(.2, .8, .2, 1) both; }
.ebenen--film li.ist-aktiv .ebenen__zeichen { animation-name: ebene-zeichen; }
.ebenen--film li.ist-aktiv .ebenen__nr { animation-delay: .12s; }
.ebenen--film li.ist-aktiv strong { animation-delay: .2s; }
.ebenen--film li.ist-aktiv .info { animation-delay: .34s; }
.ebenen--film li.ist-aktiv > a { animation-delay: .46s; }
.ebenen--film .ebenen__takt { position: absolute; left: 22px; right: 22px; bottom: 20px; display: flex; flex-direction: row; gap: 6px; visibility: visible; pointer-events: auto; }
.ebenen--film .ebenen__takt i { position: relative; flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .16); overflow: hidden; cursor: pointer; }
.ebenen--film .ebenen__takt i::before { content: ''; position: absolute; top: -9px; bottom: -9px; left: 0; right: 0; }
.ebenen--film .ebenen__takt i::after { content: ''; position: absolute; inset: 0; border-radius: 3px; background: var(--flieder); transform: scaleX(0); transform-origin: left; }
.ebenen--film .ebenen__takt i.ist::after { animation: ebene-takt var(--takt, 4800ms) linear both; }
.ebenen--film.haelt .ebenen__takt i.ist::after { animation-play-state: paused; }
@keyframes ebene-ein { from { opacity: 0; transform: translateY(16px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes ebene-zeichen { from { opacity: 0; transform: scale(.7) rotate(-8deg); } to { opacity: 1; transform: none; } }
@keyframes ebene-takt { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (max-width: 1080px) {
    .ebenen--film { min-height: 0; margin-bottom: 28px; }
    .ebenen--film li { background: none; }
    .ebenen--film .ebenen__zeichen { width: 64px; height: 64px; margin-bottom: 14px; border-radius: 18px; }
    .ebenen--film .ebenen__zeichen svg { width: 42px; height: 42px; }
}
@media (prefers-reduced-motion: reduce) {
    .ebenen--film li.ist-aktiv :is(.ebenen__zeichen, .ebenen__nr, strong, .info), .ebenen--film li.ist-aktiv > a, .ebenen--film .ebenen__takt i.ist::after { animation: none; }
    .ebenen--film .ebenen__takt i.ist::after { transform: scaleX(1); }
}

/* Filmfenster in halber Höhe: Der Ausschnitt des Standbilds öffnet sich beim Klick auf 16:9. */
.film__fenster { position: relative; aspect-ratio: 32 / 9; overflow: hidden; background: var(--nacht); transition: aspect-ratio .7s cubic-bezier(.2, .8, .2, 1); }
.film--halb .film__fenster video { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
.film--halb.ist-offen .film__fenster { aspect-ratio: 16 / 9; }
.film__start { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 14px; border: 0; background: linear-gradient(rgba(11, 12, 30, .25), rgba(11, 12, 30, .55)); color: #fff; font: 500 1.05rem var(--schrift); cursor: pointer; transition: background .3s ease, opacity .3s ease; }
.film__start span { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: #fff; color: var(--tinte); font-size: 26px; padding-left: 4px; box-shadow: 0 0 0 0 rgba(255, 255, 255, .5); transition: transform .3s var(--aus), box-shadow .4s ease; }
.film__start:hover { background: linear-gradient(rgba(11, 12, 30, .1), rgba(11, 12, 30, .4)); }
.film__start:hover span { transform: scale(1.08); box-shadow: 0 0 0 12px rgba(255, 255, 255, .14); }
.film--halb.ist-offen .film__start { opacity: 0; pointer-events: none; }
@media (max-width: 700px) { .film__fenster { aspect-ratio: 16 / 7; } .film__start span { width: 56px; height: 56px; font-size: 22px; } }

/* Kopf der Startseite: Die Schrift des Films liegt über der Punktgestalt und nutzt die ganze rechte Hälfte.
   Die Gestalt lässt sich hier nicht mehr ziehen; der Film läuft ohne Eingriff. */
.buehne__raster:has(.ebenen--film) .buehne__griff { grid-column: 2 / -1; grid-row: 1; pointer-events: none; cursor: default; }
.ebenen--film { grid-column: 2 / -1; grid-row: 1; z-index: 2; align-self: stretch; min-height: 440px; padding: 0 0 34px; border: 0; border-radius: 0; background: none; overflow: visible; place-items: center; pointer-events: none; }
.ebenen--film li { align-items: center; justify-content: center; text-align: center; max-width: 30em; }
.ebenen--film li.ist-aktiv { pointer-events: none; }
.ebenen--film li.ist-aktiv > a, .ebenen--film .ebenen__takt { pointer-events: auto; }
.ebenen--film button { align-items: center; pointer-events: none; }
.ebenen--film .ebenen__zeichen { display: none; }
.ebenen--film .ebenen__nr { padding: 4px 12px; border: 1px solid rgba(167, 151, 255, .4); border-radius: 999px; background: rgba(11, 12, 30, .55); font-size: 12px; }
.ebenen--film strong { margin-top: 16px; font-size: clamp(2.6rem, 4.6vw, 4.4rem); line-height: .98; letter-spacing: -.05em; filter: drop-shadow(0 6px 26px rgba(11, 12, 30, .95)) drop-shadow(0 0 2px rgba(11, 12, 30, .9)); }
.ebenen--film .info { margin-top: 14px; max-width: 24em; font-size: 1.08rem; color: #e6e7f5; text-shadow: 0 2px 16px rgba(11, 12, 30, 1), 0 0 4px rgba(11, 12, 30, .9); }
.ebenen--film li > a { margin-top: 18px; padding: 9px 16px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; background: rgba(11, 12, 30, .6); backdrop-filter: blur(6px); }
.ebenen--film li > a:hover, .ebenen--film li.ist-aktiv > a { border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; background: rgba(11, 12, 30, .6); }
.ebenen--film li > a:hover { border-color: var(--flieder); }
.ebenen--film .ebenen__takt { left: 50%; right: auto; bottom: 6px; width: min(260px, 70%); translate: -50% 0; max-width: none; }
@media (max-width: 1080px) {
    .buehne__raster:has(.ebenen--film) .buehne__griff, .ebenen--film { grid-column: 1 / -1; grid-row: 2; }
    .ebenen--film { min-height: 400px; margin-bottom: 28px; }
}
@media (max-width: 700px) { .ebenen--film { min-height: 330px; } }
.ebenen--film li { margin-inline: auto; }
.ebenen--film .info { display: block; margin-inline: auto; text-align: center; }

/* Die Punktgestalt tritt hinter der Schrift des Films zurück; ein weicher dunkler Schein direkt hinter dem Text hält ihn lesbar. */
.buehne:has(.ebenen--film) .buehne__welt { opacity: .42; }
.ebenen--film li.ist-aktiv::before { content: ''; position: absolute; z-index: -1; left: 50%; top: 50%; width: min(620px, 96%); height: 300px; translate: -50% -56%; border-radius: 50%; background: radial-gradient(closest-side, rgba(11, 12, 30, .82), rgba(11, 12, 30, .55) 55%, transparent); pointer-events: none; }
.ebenen--film strong { filter: drop-shadow(0 4px 18px rgba(11, 12, 30, 1)); }
.ebenen--film .info { color: #fff; }

/* Titel im Film des Kopfbereichs: Das Gemälde liegt klein hinter der Schrift, damit mehrere Farbfelder und Pinselstriche
   in jedem Wort stehen. Ein dünner heller Schleier hält die dunklen Stellen vom Nachtgrund fern, ohne die Farben auszuwaschen. */
.ebenen--film strong.farbe { --schatten: drop-shadow(0 4px 20px rgba(11, 12, 30, 1)); --schleier: linear-gradient(100deg, rgba(255, 238, 214, .3), rgba(222, 214, 255, .34)); background-size: auto, 430px auto; filter: saturate(1.4) contrast(1.06) var(--schatten); }

/* Leistungsfenster mit Filmen: oben der Film im Seitenverhältnis 16:9, darunter Name und Verweis. */
.schirm--film { min-height: 0; display: grid; grid-template-rows: auto auto; align-self: center; background: var(--nacht); }
.schirm__filme { position: relative; aspect-ratio: 16 / 9; background: var(--nacht); }
.schirm__film { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s ease; }
.schirm__film.ist-da { opacity: 1; }
.schirm--film .schirm__tafel { position: static; padding: 14px 18px 16px; border-top: 1px solid rgba(255, 255, 255, .1); pointer-events: auto; }
.schirm--film .schirm__name { display: inline-flex; align-items: center; gap: 8px; }
.schirm--film .schirm__name i { font-size: 15px; color: var(--flieder); }
/* Die beiden Knöpfe unter der Leistungsliste stehen nebeneinander. */
.werk__knoepfe { display: flex; flex-wrap: nowrap; gap: 10px; }
.werk__knoepfe .knopf { padding-inline: 18px; white-space: nowrap; }
@media (max-width: 420px) { .werk__knoepfe { flex-wrap: wrap; } }
/* Tage mit voller Erreichbarkeit, aber einzelnen langsamen Messungen, und der laufende Tag. */
.fuss__status-balken .ist-stabil { background: #8fdcb0; }
.fuss__status-balken .ist-heute { background: repeating-linear-gradient(135deg, rgba(61, 220, 151, .55) 0 4px, rgba(61, 220, 151, .22) 4px 8px); }
.schirm__ton { position: absolute; top: 14px; right: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px; background: rgba(11, 12, 30, .6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; font: 500 13.5px var(--schrift); cursor: pointer; transition: border-color .2s ease, background .2s ease; }
.schirm__ton:hover { border-color: var(--flieder); }
.schirm__ton[aria-pressed="true"] { background: #fff; border-color: #fff; color: var(--tinte); }
.schirm__ton i { font-size: 16px; }
/* Startknopf über dem Standbild des Leistungsfilms; nach dem Klick verschwindet er. */
.schirm__start { z-index: 2; font-size: 1.05rem; }
.schirm--film.laeuft .schirm__start { opacity: 0; pointer-events: none; }
.schirm__ton[hidden] { display: none; }

/* Abspielknopf der Filmfenster: eine gläserne Kapsel mit rundem Startzeichen, Titel und Zusatz. Der Grund dahinter ist
   abgedunkelt und leicht unscharf, damit die Schrift im Standbild nicht mit der Beschriftung konkurriert. */
.film__start { display: grid; place-items: center; gap: 0; background: linear-gradient(rgba(11, 12, 30, .42), rgba(11, 12, 30, .72)); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.film__start:hover { background: linear-gradient(rgba(11, 12, 30, .32), rgba(11, 12, 30, .62)); }
.film__start .film__pille { display: grid; grid-template-columns: auto auto; column-gap: 16px; align-items: center; width: auto; height: auto; padding: 10px 30px 10px 10px; border: 1px solid rgba(255, 255, 255, .26); border-radius: 999px; background: rgba(255, 255, 255, .1); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); color: #fff; font-size: 1rem; text-align: left; box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .9); transform: none; transition: border-color .25s ease, background .25s ease, transform .3s var(--aus); }
.film__start:hover .film__pille { transform: translateY(-2px); border-color: var(--flieder); background: rgba(167, 151, 255, .18); box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .9); }
.film__start .film__kreis { grid-row: 1 / span 2; position: relative; display: grid; place-items: center; width: 58px; height: 58px; padding: 0 0 0 3px; border-radius: 50%; background: #fff; color: var(--tinte); font-size: 24px; box-shadow: none; transform: none; }
.film__start .film__kreis::after { content: ''; position: absolute; inset: -7px; border: 1px solid rgba(255, 255, 255, .5); border-radius: 50%; animation: film-ring 2.6s ease-out infinite; }
.film__start:hover .film__kreis { transform: scale(1.06); box-shadow: none; }
.film__start .film__pille b { align-self: end; font-weight: 600; font-size: 1.1rem; letter-spacing: -.01em; line-height: 1.2; }
.film__start .film__pille small { align-self: start; font: 12.5px var(--mono); color: #c9cbe3; line-height: 1.3; }
@keyframes film-ring { from { opacity: .9; transform: scale(.92); } to { opacity: 0; transform: scale(1.35); } }
@media (prefers-reduced-motion: reduce) { .film__start .film__kreis::after { animation: none; opacity: .5; } }
@media (max-width: 700px) { .film__start .film__kreis { width: 48px; height: 48px; font-size: 20px; } .film__start .film__pille { padding: 8px 22px 8px 8px; column-gap: 12px; } .film__start .film__pille b { font-size: 1rem; } }

/* Einheitlicher Rhythmus zwischen den Abschnitten.
   1. Der Abstand ober- und unterhalb jedes Abschnitts ist etwas knapper als bisher und überall derselbe.
   2. Folgt auf einen Abschnitt ohne eigene Fläche direkt der Abschlusskasten, stünden zwei Abstände ohne Linie
      hintereinander. Dann zählt nur der des Kastens.
   3. Das Bewertungsband bringt keinen eigenen Zusatzabstand nach unten mit. */
.abschnitt { padding: clamp(64px, 7vw, 104px) 0; }
.abschluss { padding: clamp(64px, 7vw, 104px) 0; }
.abschnitt:not(.abschnitt--getoent, .nacht):has(+ .abschluss) { padding-bottom: 0; border-bottom: 0; }
.abschnitt:is(.abschnitt--getoent, .nacht) + .abschluss { padding-top: clamp(64px, 7vw, 104px); }
.stimmen { padding-bottom: 4px; }
.hosting-teil { padding-bottom: clamp(28px, 3.5vw, 44px); }
.eigenes { padding-top: 0; }

/* Mobiles Menü: oben die direkten Seiten als Kacheln, darunter die Fächer in zwei Spalten. */
.kopf__blatt-haupt { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 6px; }
.kopf__blatt .kopf__blatt-haupt a { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 10px; padding: 14px 14px 13px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 16px; background: rgba(255, 255, 255, .05); font-size: 1rem; font-weight: 500; }
.kopf__blatt .kopf__blatt-haupt a i { font-size: 22px; color: var(--flieder); }
.kopf__blatt .kopf__blatt-haupt a[aria-current] { border-color: var(--flieder); background: rgba(167, 151, 255, .14); }
.kopf__blatt-gruppe { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 14px; }
.kopf__blatt .kopf__blatt-gruppe a { justify-content: flex-start; gap: 10px; padding: 12px 2px; font-size: .98rem; line-height: 1.25; }
.kopf__blatt .kopf__blatt-gruppe a i { flex: none; font-size: 18px; color: var(--flieder); }
.kopf__blatt h2 { margin-top: 22px; }

@media (max-width: 760px) {
    /* Kopf: Auf dem Handy bleiben Titel, Text und Knöpfe; der Film mit den Ebenen und die Punktgestalt entfallen. */
    .buehne__raster:has(.ebenen--film) .buehne__griff, .ebenen--film { display: none; }
    .buehne--seite .buehne__griff, .buehne__tipp { display: none; }
    .buehne__welt { display: none; }
    .buehne__wort { padding-bottom: 28px; }

    /* Leistungen: erst der Film, darunter die vier Leistungen als Reihe zum Wischen. */
    .werk > div:first-child { display: contents; }
    .werk .schirm { order: 1; }
    .werk__liste { order: 2; display: flex; gap: 8px; margin: 14px calc(var(--rand) * -1) 0; padding: 0 var(--rand) 6px; border-top: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
    .werk__liste::-webkit-scrollbar { display: none; }
    .werk__liste button { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 9px; padding: 11px 16px 11px 13px; border: 1px solid var(--linie-2); border-radius: 999px; background: var(--flaeche); scroll-snap-align: start; }
    .werk__liste button i { font-size: 19px; }
    .werk__liste button strong { font-size: 15px; white-space: nowrap; }
    .werk__liste button small, .werk__liste button::after { display: none; }
    .werk__liste button > *, .werk__liste button:hover > *, .werk__liste button[aria-selected="true"] > * { transform: none; }
    .werk__liste button[aria-selected="true"] { background: var(--tinte); border-color: var(--tinte); }
    .werk__liste button[aria-selected="true"] strong, .werk__liste button[aria-selected="true"] i { color: #fff; }
    .werk__mehr { order: 3; margin-top: 16px; }
    .werk__knoepfe { order: 4; margin-top: 16px; }
    .werk { gap: 0; }

    /* Fünf Gründe: Der Fortschritt steht direkt unter der Steuerung statt unter dem längsten Text. */
    .galerie > .huelle { display: flex; flex-direction: column; }
    .galerie__striche { order: 1; margin: 0 0 22px; }
    .galerie__wand { order: 2; }
    .galerie .abschnitt__kopf { margin-bottom: 20px; }
}

@media (max-width: 760px) {
    /* Leistungsfilm auf dem Handy: festes 16:9, darunter nur der Verweis in voller Breite. */
    .schirm.schirm--film { min-height: 0; height: auto; border-radius: 22px; }
    .schirm--film .schirm__filme { aspect-ratio: 16 / 9; }
    .schirm--film .schirm__tafel { padding: 12px; }
    .schirm--film .schirm__name { display: none; }
    .schirm--film .schirm__tafel .knopf { width: 100%; justify-content: center; white-space: nowrap; }
    .schirm__ton { top: 10px; right: 10px; padding: 7px 12px; font-size: 12.5px; }
    .film__start .film__pille small { display: none; }
    .film__start .film__pille b { align-self: center; grid-row: 1 / span 2; }

    /* Hosting auf der Startseite: vier kompakte Zeilen mit Symbol links statt hoher Kacheln. */
    #hosting .faecher { grid-template-columns: minmax(0, 1fr); }
    #hosting .fach { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; align-items: center; padding: 16px 18px; }
    #hosting .fach > i { grid-row: 1 / span 2; display: grid; place-items: center; width: 44px; height: 44px; margin: 0; border-radius: 13px; background: var(--akzent-hell); font-size: 22px; }
    #hosting .fach h3 { margin: 0; font-size: 1.05rem; }
    #hosting .fach p { margin: 2px 0 0; font-size: 14px; line-height: 1.35; }
    #hosting .fach__preis { display: none; }
    #hosting .merkmale { gap: 8px 18px; font-size: 14px; }
}

/* Fuß auf dem Handy: Kontaktwege als drei Felder nebeneinander, Netzwerke und Prüfnoten mittig, kein „Nach oben". */
.fuss__weg-kurz { display: none; }
@media (max-width: 760px) {
    .fuss__wege { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
    .fuss__wege a { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 13px 6px 12px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 16px; background: rgba(255, 255, 255, .05); font-size: 14px; text-align: center; }
    .fuss__wege a i { margin: 0; font-size: 22px; }
    .fuss__weg-lang { display: none; }
    .fuss__weg-kurz { display: inline; }
    .fuss__leiste { display: grid; justify-items: center; gap: 18px; text-align: center; }
    .fuss__leiste-teil { display: grid; justify-items: center; gap: 12px; }
    .fuss__netze { flex-wrap: wrap; justify-content: center; }
    .fuss__noten { justify-content: center; }
    .fuss__hoch { display: none; }
    .fuss__unten { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; padding-bottom: 86px; }
    .fuss__unten ul { justify-content: center; }
}
@media (max-width: 760px) {
    .fuss__noten > i:last-child { display: none; }
    .werk__knoepfe { flex-wrap: nowrap; gap: 8px; }
    .werk__knoepfe .knopf { flex: 1 1 0; justify-content: center; padding: 12px 10px; font-size: 14px; }
    .werk__knoepfe .knopf i { display: none; }
}
/* Fuß auf Handy und Tablet: Netzwerke samt Prüfnoten wirklich mittig, die vier Siegel klein in einer Reihe. */
@media (max-width: 1080px) {
    .fuss__leiste { display: grid; grid-template-columns: minmax(0, 1fr); justify-content: stretch; justify-items: center; align-items: center; gap: 18px; text-align: center; }
    .fuss__leiste-teil { display: grid; justify-items: center; align-items: center; gap: 12px; }
    .fuss__netze { flex-wrap: wrap; justify-content: center; }
    .fuss__standards { grid-template-columns: repeat(4, minmax(0, 1fr)); justify-content: stretch; gap: 6px; padding: 12px; }
}

@media (max-width: 760px) {
    /* Neuigkeit im Kopf: eine Zeile, zu langer Text endet mit Auslassung statt umzubrechen. */
    .buehne__neues { justify-items: stretch; }
    .buehne__neues .buehne__neu { display: block; max-width: 100%; padding: 6px 14px 6px 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 13.5px; line-height: 1.5; }
    .buehne__neu b { display: inline-block; margin-right: 6px; }
    .buehne__neu > i { display: none; }

    /* Knöpfe im Abschlusskasten stehen nebeneinander. */
    .abschluss__knoepfe { flex-wrap: nowrap; gap: 8px; }
    .abschluss__knoepfe .knopf { flex: 1 1 0; justify-content: center; padding: 12px 8px; font-size: 14px; white-space: nowrap; }
    .abschluss__knoepfe .knopf i { display: none; }

    /* Datenweg: vier kleine Stationen in einer Reihe mit Verbindungslinie, ohne die Zusatzzeile. */
    .fluss { grid-template-columns: repeat(var(--stationen, 4), minmax(0, 1fr)); gap: 0; }
    .fluss__station { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; column-gap: 0; padding: 0 2px; }
    .fluss__zeichen, .fluss__rack { grid-row: auto; width: 52px; height: 52px; border-radius: 16px; font-size: 22px; }
    .fluss__rack { grid-template-rows: repeat(4, 6px); gap: 3px; padding: 0 11px; }
    .fluss__station b { margin-top: 10px; align-self: auto; font-size: 12.5px; line-height: 1.25; }
    .fluss__station small { display: none; }
    .fluss__station + .fluss__station::before { top: 26px; left: auto; right: calc(50% + 26px); width: calc(100% - 52px); height: 1px; background: repeating-linear-gradient(90deg, rgba(167, 151, 255, .6) 0 4px, transparent 4px 8px); }
    .fluss__station + .fluss__station::after { display: none; }
}
/* Filmfenster auf dem Handy: Unter dem Film steht eine Zeile mit Länge und Stimmhinweis, der Titel entfällt. */
@media (max-width: 760px) {
    .film figcaption { flex-wrap: nowrap; justify-content: space-between; gap: 12px; padding: 11px 16px 12px; font-size: 12px; white-space: nowrap; }
    .film figcaption span:has(.ph-film-strip) { display: none; }
}
/* Kopf mit drei Fakten: Auf dem Handy bliebe der dritte allein in einer zweiten Reihe, deshalb entfällt er dort. */
@media (max-width: 760px) {
    .fakten div:nth-child(3):last-child { display: none; }
    .fakten div:nth-child(2):nth-last-child(2) { border-bottom: 0; }
}
/* Wischreihe der Leistungen: Am rechten Rand läuft sie weich aus; beim ersten Erscheinen rutscht sie kurz an (Skript in index.php). */
@media (max-width: 760px) {
    .werk__liste { position: relative; scroll-snap-type: none; -webkit-mask-image: linear-gradient(90deg, #000 0, #000 84%, transparent 100%); mask-image: linear-gradient(90deg, #000 0, #000 84%, transparent 100%); }
}
/* Kurze Seitentitel aus zwei Wörtern stehen ab Tablet-Breite in einer Zeile. */
@media (min-width: 761px) { .buehne h1.eine-zeile span { display: inline; } }

/* Band mit Verweis auf die KI-Integration (snKiBand). */
.ki-band { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 20px; margin: 0 0 22px; padding: 22px 24px; border: 1px solid rgba(167, 151, 255, .28); border-radius: 22px; background: radial-gradient(70% 160% at 100% 0%, rgba(90, 63, 224, .55), transparent 62%), var(--nacht); color: #fff; text-decoration: none; transition: border-color .25s ease, box-shadow .25s ease; }
.ki-band:hover { border-color: var(--flieder); box-shadow: 0 30px 60px -40px rgba(90, 63, 224, .9); }
.lo-hinweis + .ki-band, .hinweis + .ki-band { margin: 22px 0 0; }
.ki-band__zeichen { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: rgba(167, 151, 255, .16); color: var(--flieder); font-size: 27px; }
.ki-band__text { display: grid; gap: 3px; min-width: 0; }
.ki-band__text small { font: 500 12px var(--mono); color: var(--flieder); }
.ki-band__text b { font-weight: 600; font-size: 1.12rem; letter-spacing: -.015em; }
.ki-band__text span { font-size: 14.5px; line-height: 1.45; color: #c6c8de; }
.ki-band__knopf { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px; background: #fff; color: var(--tinte); font-weight: 500; font-size: 14.5px; white-space: nowrap; }
.ki-band:hover .ki-band__knopf i { transform: translateX(3px); }
.ki-band__knopf i { transition: transform .3s var(--aus); }
.werk__mehr a { color: inherit; text-decoration: underline; text-decoration-color: var(--linie-2); text-underline-offset: 3px; }
@media (max-width: 760px) {
    .ki-band { grid-template-columns: auto minmax(0, 1fr); padding: 18px; gap: 14px; }
    .ki-band__zeichen { width: 44px; height: 44px; font-size: 22px; align-self: start; }
    .ki-band__knopf { grid-column: 1 / -1; justify-content: center; }
}

/* Hochkant-Film neben Text (snFilmHoch): Captive Space, Zii, Monitor, Sign */
.film-hoch { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.film-hoch__zeilen { list-style: none; margin: 28px 0 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, .13); }
.film-hoch__zeilen li { display: flex; gap: 12px; align-items: flex-start; padding: 15px 0; border-bottom: 1px solid rgba(255, 255, 255, .13); font-size: 16px; color: #dfe0f0; }
.film-hoch__zeilen i { flex: none; margin-top: 3px; font-size: 18px; color: var(--flieder); }
.film-hoch__fenster { justify-self: center; width: min(100%, 348px); margin: 0; border-radius: 26px; overflow: hidden; background: #0f131d; border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 0 0 7px rgba(255, 255, 255, .035), 0 60px 120px -50px rgba(167, 151, 255, .6); }
.film-hoch__fenster video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; background: #0f131d; }
.film-hoch__fenster figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 14px; padding: 12px 16px 13px; border-top: 1px solid rgba(255, 255, 255, .1); font: 12.5px var(--mono); color: #9da1c0; }
.film-hoch__fenster figcaption span { display: inline-flex; align-items: center; gap: 6px; }
.film-hoch__fenster figcaption i { font-size: 15px; color: var(--flieder); }
@media (max-width: 860px) { .film-hoch { grid-template-columns: minmax(0, 1fr); } }

/* Eigene Meldungen aus der Verwaltung: Warn gelb, Info blau. Error nutzt das rote Störungsbanner oben. */
.stoerung--warn { background: linear-gradient(90deg, #e0a810, #f5c542 50%, #e0a810); color: #2a1d00; }
.stoerung--warn .stoerung__punkt { background: #2a1d00; box-shadow: 0 0 0 0 rgba(42, 29, 0, .5); }
.stoerung--warn .stoerung__ziel { border-color: rgba(42, 29, 0, .45); }
.stoerung--warn:hover .stoerung__ziel { background: rgba(42, 29, 0, .1); }
.stoerung--info { background: linear-gradient(90deg, #163a9e, #2f62e0 50%, #163a9e); }
.stoerung--info .stoerung__punkt { animation: none; }
.hat-stoerung:has(.stoerung--warn) .kopf__status span, .hat-stoerung:has(.stoerung--info) .kopf__status span { background: #2fd38c; }

.stoerung { transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.stoerung > * { transition: opacity .25s ease; }
.stoerung-zu .stoerung { transform: translateY(calc(-100% + 5px)); }
.stoerung-zu .stoerung > * { opacity: 0; }
.hat-stoerung .kopf { transition: top .5s cubic-bezier(.2, .8, .2, 1); }
.hat-stoerung.stoerung-zu .kopf { top: 28px; }
.stoerung-griff { position: fixed; z-index: 46; top: 5px; right: 24px; display: grid; place-items: center; width: 38px; height: 18px; padding: 0; border: 0; border-radius: 0 0 9px 9px; background: #b3202f; color: #fff; font-size: 13px; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s; }
.stoerung-griff[hidden] { display: none; }
.stoerung-zu .stoerung-griff { opacity: 1; visibility: visible; transform: none; transition-delay: .3s, .3s, 0s; }
.stoerung-griff:hover { height: 22px; }
.stoerung-griff:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.stoerung--warn + .stoerung-griff { background: #f5c542; color: #2a1d00; }
.stoerung--info + .stoerung-griff { background: #2f62e0; }
@media (prefers-reduced-motion: reduce) { .stoerung, .stoerung > *, .hat-stoerung .kopf, .stoerung-griff { transition: none; } }
.stoerung__ziel[hidden] { display: none; }
.stoerung:not([href]) { cursor: default; }

/* Kunstschrift allgemein: kleiner gelegte Gemälde zeigen mehr Farbfelder je Wort. Auf hellem Grund malt das farbstarke
   Bild der Formen, auf dunklem bleibt der Herbst mit leichtem Schleier. */
.farbe { --bild: url(/img/sn/kunst-formen.webp); background-size: auto, 560px auto; }
.farbe--licht, .nacht .farbe, .abschluss .farbe, .buehne .farbe { background-size: auto, 520px auto; --schleier: linear-gradient(100deg, rgba(255, 236, 205, .3), rgba(218, 208, 255, .32)); }
@media (max-width: 700px) {
    .farbe, .farbe--licht, .nacht .farbe, .abschluss .farbe, .buehne .farbe { background-size: auto, 400px auto; }
}

/* Titelwechsel: Die Wörter verschwimmen nacheinander nach oben und kommen gestaffelt aus der Unschärfe wieder. */
.titelwechsel.in-worten .titelwechsel__zeile { overflow: visible; }
.titelwechsel.in-worten .titelwechsel__zeile > span { transform: none; opacity: 1; transition: none; }
.titelwechsel .wort { display: inline-block; transition: opacity .7s ease, filter .8s cubic-bezier(.2, .8, .2, 1), transform .9s cubic-bezier(.2, .8, .2, 1), letter-spacing .9s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--i, 0) * 70ms); }
.titelwechsel .wort.farbe { animation-delay: calc(var(--i, 0) * -11s); }
.titelwechsel.geht .wort { opacity: 0; filter: blur(12px); transform: translateY(-.28em) scale(1.03); transition-duration: .38s, .42s, .45s, .45s; transition-timing-function: ease-in; transition-delay: calc(var(--i, 0) * 45ms); }
.titelwechsel.wartet .wort { opacity: 0; filter: blur(16px); transform: translateY(.34em) scale(.97); letter-spacing: .03em; transition: none; }
.buehne__text[data-titeltext] { transition: opacity .6s ease .3s, transform .7s cubic-bezier(.2, .8, .2, 1) .3s, filter .6s ease .3s; }
.buehne__text[data-titeltext].geht { filter: blur(6px); transform: translateY(-6px); }

/* Film rechts: Wechsel mit Schärfezug statt hartem Schnitt. Das alte Bild verschwimmt, das neue zieht sich scharf. */
.ebenen--film li.ist-weg { visibility: visible; }
.ebenen--film li.ist-weg :is(.ebenen__nr, strong, .info, .ebenen__werk), .ebenen--film li.ist-weg > a { animation: ebene-aus .42s cubic-bezier(.4, 0, .9, .6) both; }
.ebenen--film li.ist-aktiv button strong.farbe { animation: ebene-titel 1s cubic-bezier(.2, .8, .2, 1) .22s both, farbe-zieht 60s ease-in-out infinite alternate; }
@keyframes ebene-aus { to { opacity: 0; filter: blur(10px); transform: translateY(-16px) scale(.98); } }
@keyframes ebene-titel { from { opacity: 0; filter: blur(14px); letter-spacing: 0; transform: scale(1.05); } to { opacity: 1; filter: saturate(1.4) contrast(1.06) var(--schatten, drop-shadow(0 0 0 transparent)); transform: none; } }

/* Portfolio im Film: Der Schwarm verschwindet ganz. Ein Bildschirmfoto öffnet sich aus der Mitte, die nächsten
   wischen von rechts darüber; der Titel verschwimmt dabei kurz und zieht sich mit der neuen Arbeit wieder scharf. */
.ebenen__werk { position: relative; display: block; width: min(460px, 88%); aspect-ratio: 16 / 10; margin: 18px auto 2px; overflow: hidden; border-radius: 18px; border: 1px solid rgba(167, 151, 255, .34); background: #15163a; box-shadow: 0 34px 70px -34px rgba(0, 0, 0, .95), 0 0 0 7px rgba(255, 255, 255, .03); }
.ebenen__werk img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; clip-path: inset(0 0 0 100%); transition: clip-path .95s cubic-bezier(.7, 0, .2, 1); }
.ebenen__werk img.ist { z-index: 2; clip-path: inset(0); animation: werk-fahrt 4s cubic-bezier(.3, .6, .3, 1) both; }
.ebenen__werk img.war { z-index: 1; clip-path: inset(0); transition: none; }
.ebenen__werk::after { content: ''; position: absolute; z-index: 3; top: 0; bottom: 0; width: 2px; left: 0; background: linear-gradient(transparent, #fff, transparent); opacity: 0; pointer-events: none; }
.ebenen--film li.wechselt .ebenen__werk::after { animation: werk-kante .95s cubic-bezier(.7, 0, .2, 1); }
@keyframes werk-kante { 0% { left: 100%; opacity: 1; } 90% { opacity: 1; } 100% { left: 0; opacity: 0; } }
.ebenen--film li.ist-portfolio strong { margin-top: 14px; font-size: clamp(2rem, 3.4vw, 3.1rem); }
.ebenen--film li.ist-portfolio .info { margin-top: 8px; font-size: 1rem; min-height: 1.5em; }
.ebenen--film li.ist-aktiv .ebenen__werk { animation: werk-auf 1.1s cubic-bezier(.2, .8, .2, 1) .26s both; }
.ebenen--film li.ist-aktiv.wechselt button strong.farbe, .ebenen--film li.ist-aktiv.wechselt .info { animation: werk-titel-weg .38s ease-in both; }
@keyframes werk-titel-weg { to { opacity: 0; filter: blur(10px); transform: translateY(-8px); } }
@keyframes werk-auf { from { opacity: 0; clip-path: inset(22% 26% 22% 26% round 30px); filter: blur(8px); } to { opacity: 1; clip-path: inset(0 round 18px); filter: none; } }
@keyframes werk-fahrt { from { transform: scale(1.14) translateY(2%); } to { transform: scale(1.03); } }
.buehne:has(.ebenen--film) .buehne__welt { transition: opacity .7s ease; }
.buehne.zeigt-werk .buehne__welt { opacity: 0; }
.ebenen--film .ebenen__takt i[data-takt="portfolio"] { flex: 2; }
.ebenen--film .ebenen__takt i[data-takt="live"] { flex: 1.3; }

/* Live von der Statusseite: ein Punkt je Dienst, grün erreichbar, gelb eingeschränkt, rot offline. */
.ebenen__puls { display: inline-block; width: 7px; height: 7px; margin-right: 4px; border-radius: 50%; background: #2fd38c; vertical-align: 1px; box-shadow: 0 0 0 0 rgba(47, 211, 140, .6); animation: stoerung-puls 1.8s ease-out infinite; }
.ebenen__live { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; max-width: 330px; margin: 26px auto 6px; }
.ebenen__live i { width: 13px; height: 13px; border-radius: 50%; background: #2fd38c; box-shadow: 0 0 14px rgba(47, 211, 140, .55); }
.ebenen__live i.halb { background: #f5c542; box-shadow: 0 0 14px rgba(245, 197, 66, .55); }
.ebenen__live i.aus { background: #ff5a6a; box-shadow: 0 0 14px rgba(255, 90, 106, .6); }
.ebenen--film li.ist-aktiv .ebenen__live i { animation: live-punkt .55s cubic-bezier(.2, .8, .2, 1.4) calc(.3s + var(--n) * 28ms) backwards, live-atmen 2.6s ease-in-out calc(1.2s + var(--n) * 90ms) infinite alternate; }
@keyframes live-punkt { from { opacity: 0; transform: scale(0); } }
@keyframes live-atmen { to { opacity: .55; transform: scale(.82); } }
.ebenen--film li.ist-live strong { margin-top: 14px; }
@media (max-width: 1080px) { .ebenen__werk { width: min(400px, 92%); } }
@media (prefers-reduced-motion: reduce) {
    .titelwechsel .wort, .buehne__text[data-titeltext] { transition: none; }
    .ebenen--film li.ist-aktiv button strong.farbe, .ebenen--film li.ist-aktiv .ebenen__werk, .ebenen__werk img, .ebenen--film li.ist-weg *, .ebenen__live i, .ebenen--film li.wechselt * { animation: none !important; }
    .ebenen__werk img { transition: none; }
}
.titelwechsel .farbe.wort, .titelwechsel .farbe { --schleier: linear-gradient(100deg, rgba(255, 232, 196, .4), rgba(214, 204, 255, .44)); background-size: auto, 560px auto; }

/* Neuigkeiten über dem Titel: Die alte verschwimmt, die neue wird von links nach rechts aufgedeckt, eine Lichtkante läuft mit. */
.buehne__neues .buehne__neu { position: relative; overflow: hidden; transform: none; transition: background .2s ease, border-color .2s ease; }
.buehne__neues .buehne__neu.ist-aktiv { animation: neu-auf .85s cubic-bezier(.7, 0, .2, 1) .32s backwards; }
.buehne__neues .buehne__neu.ist-weg { visibility: visible; animation: neu-weg .42s ease-in both; }
.buehne__neues .buehne__neu::after { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 46px; background: linear-gradient(90deg, transparent, rgba(167, 151, 255, .7), transparent); opacity: 0; pointer-events: none; }
.buehne__neues .buehne__neu.ist-aktiv::after { animation: neu-glanz .85s cubic-bezier(.7, 0, .2, 1) .32s; }
@keyframes neu-auf { from { clip-path: inset(0 100% 0 0 round 999px); } to { clip-path: inset(0 0 0 0 round 999px); } }
@keyframes neu-weg { from { opacity: 1; } to { opacity: 0; filter: blur(9px); transform: scale(.97); } }
@keyframes neu-glanz { 0% { left: -46px; opacity: 1; } 85% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .buehne__neues .buehne__neu, .buehne__neues .buehne__neu::after { animation: none !important; } }

/* Einblenden beim Scrollen auf allen Seiten (gesetzt von sn.js, nur unterhalb des ersten Bildschirms).
   Die Animation läuft rückwärts gefüllt: Nach dem Auftritt gehören Lage und Deckkraft wieder ganz dem Element. */
.js .ein-titel:not(.ist-da), .js .ein-satz:not(.ist-da), .js .ein-reihe:not(.ist-da) > *, .js .ein-bild:not(.ist-da) { opacity: 0; }
.ein-titel.ist-da { animation: ein-titel .95s cubic-bezier(.2, .8, .2, 1) backwards; }
.ein-satz.ist-da { animation: ein-hoch .85s cubic-bezier(.2, .8, .2, 1) .14s backwards; }
.ein-reihe.ist-da > * { animation: ein-hoch .8s cubic-bezier(.2, .8, .2, 1) calc(var(--n, 0) * 75ms + 60ms) backwards; }
.ein-bild.ist-da { animation: ein-bild 1.2s cubic-bezier(.2, .8, .2, 1) backwards; }
@keyframes ein-titel { from { opacity: 0; transform: translateY(.42em); filter: blur(6px); } }
@keyframes ein-hoch { from { opacity: 0; transform: translateY(24px); } }
@keyframes ein-bild { from { opacity: 0; transform: scale(1.045); } }

/* Wachhund bei der Arbeit: ein kleines Terminal, die Prüfungen tippen sich nacheinander ein und bekommen ihr Häkchen. */
.ebenen__terminal { display: grid; gap: 7px; width: min(400px, 90%); margin: 18px auto 4px; padding: 0 0 14px; border: 1px solid rgba(126, 163, 255, .3); border-radius: 16px; background: linear-gradient(180deg, rgba(5, 12, 27, .92), rgba(11, 12, 30, .92)); box-shadow: 0 30px 60px -34px rgba(0, 0, 0, .95), 0 0 0 6px rgba(126, 163, 255, .04); text-align: left; overflow: hidden; }
.ebenen__terminal-kopf { display: flex; align-items: center; gap: 6px; padding: 10px 14px; margin-bottom: 4px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.ebenen__terminal-kopf i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.ebenen__terminal-kopf span { margin-left: 8px; font-size: 11.5px; color: #8f96b8; }
.ebenen__terminal-zeile { display: flex; justify-content: space-between; gap: 14px; padding: 0 16px; font-size: 13px; color: #d7dcf0; }
.ebenen__terminal-zeile span::before { content: '› '; color: #7ea3ff; }
.ebenen__terminal-zeile b { flex: none; display: inline-flex; align-items: center; gap: 4px; font-weight: 500; color: #2fd38c; }
.ebenen--film li.ist-aktiv .ebenen__terminal { animation: werk-auf .9s cubic-bezier(.2, .8, .2, 1) .1s both; }
.ebenen--film li.ist-aktiv .ebenen__terminal-zeile span { animation: tippen .55s steps(24, end) calc(.5s + var(--n) * .42s) backwards; }
.ebenen--film li.ist-aktiv .ebenen__terminal-zeile b { animation: haken .4s cubic-bezier(.2, .8, .2, 1.5) calc(.98s + var(--n) * .42s) backwards; }
@keyframes tippen { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes haken { from { opacity: 0; transform: scale(.4); } }
.ebenen--film li.ist-wachhund strong { margin-top: 14px; font-variant-numeric: tabular-nums; }
.ebenen--film .ebenen__takt i[data-takt="wachhund"] { flex: 1.4; }
@media (prefers-reduced-motion: reduce) { .ebenen__terminal, .ebenen__terminal * { animation: none !important; } }

/* Graue zweite Titelzeile: Nachdem die erste Zeile da ist, wischt sie mit weicher Kante von links herein. */
.ein-titel.ist-da > span:not(.farbe), .ein-titel.ist-da > .ct-h2-zusatz {
    -webkit-mask-image: linear-gradient(90deg, #000 42%, transparent 58%); mask-image: linear-gradient(90deg, #000 42%, transparent 58%);
    -webkit-mask-size: 260% 100%; mask-size: 260% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
    -webkit-mask-position: 0 0; mask-position: 0 0;
    animation: ein-wisch 1.15s cubic-bezier(.45, 0, .2, 1) .38s backwards;
}
@keyframes ein-wisch { from { -webkit-mask-position: 100% 0; mask-position: 100% 0; } }
@media (prefers-reduced-motion: reduce) { .ein-titel.ist-da > span { animation: none; } }

/* Chat-Kopf: Untertitel heller und größer, verbleibende Nachrichten als deutlich lesbare Plakette. */
.enjix .enjix-hd .enjix-hi p { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; margin-top: 3px; font-size: 12.5px; color: #dcdcf0; letter-spacing: .01em; }
.enjix .enjix-hd .enjix-hi p .dot { width: 8px; height: 8px; border-radius: 50%; background: #2fd38c; box-shadow: 0 0 0 3px rgba(47, 211, 140, .2); }
.enjix .enjix-hd .enjix-hi #ejRL:not(:empty) { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px 3px 8px; border: 1px solid rgba(167, 151, 255, .55); border-radius: 999px; background: rgba(167, 151, 255, .2); color: #fff; font: 500 12px var(--mono); line-height: 1.2; }
.enjix .enjix-hd .enjix-hi #ejRL:not(:empty)::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--flieder); }
.enjix .enjix-hd .enjix-hi #ejRL.low { border-color: rgba(245, 197, 66, .7); background: rgba(245, 197, 66, .2); color: #ffe7a3; }
.enjix .enjix-hd .enjix-hi #ejRL.low::before { background: #f5c542; }
.enjix .enjix-hd .enjix-hi #ejRL.out { border-color: rgba(255, 90, 106, .7); background: rgba(255, 90, 106, .2); color: #ffc4cb; }
.enjix .enjix-hd .enjix-hi #ejRL.out::before { background: #ff5a6a; }
.enjix .enjix-m.b.is-strom { animation: none; }
/* Kalkulation: blinkender Schreibstrich, solange die Antwort noch hereinkommt. */
.m.bot.is-strom > :last-child::after, .m.bot.is-strom:empty::after { content: ''; display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -2px; background: var(--akzent); animation: strich-blinkt .8s steps(2) infinite; }
@keyframes strich-blinkt { to { opacity: 0; } }
/* Beim Laden einer weiteren Seite steht die eingeklappte Leiste sofort so da, ohne einzufahren. */
.stoerung-still .stoerung, .stoerung-still .stoerung > *, .stoerung-still .kopf, .stoerung-still .stoerung-griff { transition: none !important; }

/* Listen in Blöcken mit data-ein: Punkt für Punkt von links, das Symbol jedes Punkts springt kurz auf.
   Die Reihenfolge kommt aus nth-child, damit keine Seite etwas nachtragen muss. */
:is(ul, ol) > li:nth-child(2) { --i: 1; } :is(ul, ol) > li:nth-child(3) { --i: 2; } :is(ul, ol) > li:nth-child(4) { --i: 3; }
:is(ul, ol) > li:nth-child(5) { --i: 4; } :is(ul, ol) > li:nth-child(6) { --i: 5; } :is(ul, ol) > li:nth-child(7) { --i: 6; }
:is(ul, ol) > li:nth-child(8) { --i: 7; } :is(ul, ol) > li:nth-child(n+9) { --i: 8; }
.js [data-ein].ist-sichtbar :is(ul, ol):not(.fluss):not(.ebenen) > li { animation: liste-ein .75s cubic-bezier(.2, .8, .2, 1) calc(.18s + var(--i, 0) * 95ms) backwards; }
.js [data-ein].ist-sichtbar :is(ul, ol):not(.fluss):not(.ebenen) > li > i.ph:first-child,
.js [data-ein].ist-sichtbar h3 > i.ph:first-child,
.js .ein-reihe.ist-da > * > i.ph:first-child { animation: symbol-plopp .6s cubic-bezier(.2, .8, .2, 1.6) calc(.32s + var(--i, var(--n, 0)) * 95ms) backwards; }
@keyframes liste-ein { from { opacity: 0; transform: translateX(-18px); } }
@keyframes symbol-plopp { from { opacity: 0; transform: scale(.3) rotate(-14deg); } }

/* Ablaufgrafik: Die gestrichelte Verbindung zieht sich zur nächsten Station, dann springt deren Symbol auf. */
.js .fluss[data-ein].ist-sichtbar .fluss__zeichen, .js .fluss[data-ein].ist-sichtbar .fluss__rack { animation: station-plopp .7s cubic-bezier(.2, .8, .2, 1.5) calc(.15s + var(--n, 0) * .32s) backwards; }
.js .fluss[data-ein].ist-sichtbar .fluss__station :is(b, small) { animation: ein-hoch .6s cubic-bezier(.2, .8, .2, 1) calc(.35s + var(--n, 0) * .32s) backwards; }
.js .fluss[data-ein].ist-sichtbar .fluss__station + .fluss__station::before { animation: linie-zieht .45s ease-out calc(var(--n, 0) * .32s - .2s) backwards; }
@keyframes station-plopp { from { opacity: 0; transform: scale(.45) translateY(10px); } 70% { transform: scale(1.06); } }
@keyframes linie-zieht { from { clip-path: inset(0 100% 100% 0); } to { clip-path: inset(0 0 0 0); } }

/* Dunkle Abschnitte ziehen sich beim Hineinscrollen von einer abgerundeten Karte auf die volle Breite auf. */
.js .ein-flaeche:not(.ist-da) { clip-path: inset(5% 3.5% round 36px); }
.ein-flaeche.ist-da { animation: flaeche-auf 1.15s cubic-bezier(.2, .8, .2, 1) backwards; }
@keyframes flaeche-auf { from { clip-path: inset(5% 3.5% round 36px); } to { clip-path: inset(0 0 round 0); } }

@media (prefers-reduced-motion: reduce) {
    .js [data-ein].ist-sichtbar li, .js [data-ein].ist-sichtbar i.ph, .js .ein-reihe.ist-da i.ph, .js .fluss[data-ein] *, .js .fluss[data-ein] *::before, .ein-flaeche { animation: none !important; clip-path: none !important; }
}

/* Film: Grafiken ohne Schwarm räumen kurz vor dem Wechsel ab; der Schwarm kommt erst danach zurück. */
.ebenen--film li.geht-bald :is(.ebenen__live, .ebenen__terminal, .ebenen__werk) { animation: grafik-weg .45s ease-in both; }
@keyframes grafik-weg { from { opacity: 1; } to { opacity: 0; filter: blur(8px); transform: scale(.96); } }
.buehne:has(.ebenen--film) .buehne__welt { transition: opacity .8s ease .3s; }
.buehne.zeigt-werk .buehne__welt { transition: opacity .35s ease 0s; }
/* Beim Abgang: bereits abgeräumte Grafiken bleiben weg, sonst verschwimmen sie mit dem Rest. */
.ebenen--film li.ist-weg :is(.ebenen__live, .ebenen__terminal) { animation: grafik-weg .4s ease-in both; }
.ebenen--film li.ist-weg.geht-bald :is(.ebenen__live, .ebenen__terminal, .ebenen__werk) { animation: none; opacity: 0; }

/* Scroll-Bühne (nur Desktop, gesetzt von sn.js): Der Inhalt des Abschnitts steht als Bühne in voller Fensterhöhe,
   die Höhe des Abschnitts selbst ist die Scrollstrecke. overflow-x: clip statt hidden, damit sticky weiter greift. */
.buehne-fest { padding-top: 0 !important; padding-bottom: 0 !important; overflow: visible; overflow-x: clip; }
.buehne-fest > .huelle { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-top: 92px; padding-bottom: 28px; }
.buehne-fest .abschnitt__kopf { margin-bottom: clamp(22px, 3vh, 40px); }

/* Leistungen der Startseite: Ohne Bühne (Handy, Tablet) bleiben die Reiter. Mit Bühne verschwinden sie, und jede
   Leistung hat ihre eigene Seite: Film links, Text rechts. Die Seiten fahren mit dem Scrollen seitwärts. */
.werk-seiten { display: none; }
.buehne-fest .werk, .buehne-fest:has(.werk-seiten) .abschnitt__einleitung { display: none; }
.buehne-fest .werk-seiten { display: flex; gap: var(--luecke, 48px); width: max-content; will-change: transform; }
.werk-seite { flex: 0 0 var(--seite, 1200px); display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 4vw, 64px); opacity: .35; transform: scale(.96); transition: opacity .6s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.werk-seite.ist-mitte { opacity: 1; transform: none; }
.werk-seite__film { position: relative; aspect-ratio: 16 / 9; max-height: 62vh; border-radius: 26px; overflow: hidden; background: var(--nacht); box-shadow: 0 50px 90px -46px rgba(20, 18, 60, .6); }
.werk-seite__film video { display: block; width: 100%; height: 100%; object-fit: cover; }
.werk-seite__ton { position: absolute; left: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; background: rgba(11, 12, 30, .62); backdrop-filter: blur(8px); color: #fff; font: 500 13.5px var(--schrift); cursor: pointer; transition: background .2s ease, border-color .2s ease; }
.werk-seite__ton:hover { border-color: var(--flieder); background: rgba(11, 12, 30, .8); }
.werk-seite__ton[aria-pressed="true"] { border-color: var(--flieder); }
.werk-seite__nr { color: var(--text-3); }
.werk-seite__zeichen { display: grid; place-items: center; width: 64px; height: 64px; margin-top: 14px; border-radius: 18px; background: radial-gradient(120% 120% at 80% 0%, rgba(90, 63, 224, .55), transparent 60%), var(--nacht); color: #e8e3ff; font-size: 30px; }
.werk-seite h3 { margin-top: 18px; font-size: clamp(2.2rem, 3.4vw, 3.3rem); line-height: 1.02; letter-spacing: -.045em; }
.werk-seite__satz { margin-top: 14px; font-size: 1.1rem; line-height: 1.55; color: var(--text-2); }
.werk-seite .haken { margin-top: 16px; }
.werk-seite__technik { margin-top: 16px; color: var(--text-3); font-size: 12.5px; }
.werk-seite__knoepfe { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.werk-seite.ist-mitte .werk-seite__zeichen { animation: symbol-plopp .7s cubic-bezier(.2, .8, .2, 1.6) .1s backwards; }
.werk-seite.ist-mitte h3, .werk-seite.ist-mitte .werk-seite__satz, .werk-seite.ist-mitte .haken li, .werk-seite.ist-mitte .werk-seite__knoepfe { animation: ein-hoch .7s cubic-bezier(.2, .8, .2, 1) calc(.18s + var(--i, 0) * 80ms) backwards; }
@media (max-height: 760px) { .werk-seite .haken, .werk-seite__technik { display: none; } }

/* Querbahn: Karten werden zu großen Einzelseiten. Das Symbol ist mit einem Gemälde gefüllt; die Seite in der Mitte
   steht voll da, die Nachbarn treten zurück. Abwechselnd Nacht und Papier. */
.quer-bahn { display: flex !important; gap: 28px; width: max-content; max-width: none; will-change: transform; }
.quer-bahn > * { position: relative; flex: 0 0 min(780px, 62vw); min-height: min(470px, 56vh); display: grid !important; grid-template-columns: minmax(150px, 220px) minmax(0, 1fr); align-content: center; column-gap: clamp(28px, 3vw, 48px); padding: clamp(34px, 4vh, 52px) clamp(34px, 3.4vw, 56px) !important; border-radius: 32px !important; overflow: hidden; opacity: .5; transform: scale(.95); transition: opacity .6s ease, transform .7s cubic-bezier(.2, .8, .2, 1), box-shadow .6s ease; }
.quer-bahn > .ist-mitte { opacity: 1; transform: none; box-shadow: 0 40px 80px -46px rgba(20, 18, 60, .55); }
.quer-bahn > *::before { content: attr(data-nr); position: absolute; top: 26px; right: 32px; font: 500 12.5px var(--mono); letter-spacing: .04em; color: var(--text-3); }
.quer-bahn > * > i.ph:first-child { grid-row: 1 / span 6; align-self: center; justify-self: center; font-size: clamp(120px, 11vw, 180px); line-height: 1; color: transparent; background: url(/img/sn/kunst-formen.webp) 40% 40% / 420px auto; -webkit-background-clip: text; background-clip: text; filter: saturate(1.3); }
.quer-bahn > *:nth-child(6n+2) > i.ph:first-child { background-image: url(/img/sn/kunst-murnau.webp); }
.quer-bahn > *:nth-child(6n+3) > i.ph:first-child { background-image: url(/img/sn/kunst-pferd.webp); }
.quer-bahn > *:nth-child(6n+4) > i.ph:first-child { background-image: url(/img/sn/kunst-herbst.webp); }
.quer-bahn > *:nth-child(6n+5) > i.ph:first-child { background-image: url(/img/sn/kunst-pferde.webp); }
.quer-bahn > *:nth-child(6n) > i.ph:first-child { background-image: url(/img/sn/kunst-promenade.webp); }
.quer-bahn > * > :not(i.ph:first-child) { grid-column: 2; }
.quer-bahn > * h3 { font-size: clamp(1.7rem, 2.4vw, 2.4rem) !important; line-height: 1.08; letter-spacing: -.035em; }
.quer-bahn > * > p { font-size: 1.08rem; line-height: 1.55; }
.quer-bahn > *:nth-child(odd) { background: radial-gradient(90% 120% at 0% 0%, rgba(90, 63, 224, .55), transparent 60%), var(--nacht) !important; border-color: rgba(255, 255, 255, .1) !important; color: #fff; }
.quer-bahn > *:nth-child(odd) :is(p, li) { color: #c9cbe2 !important; }
.quer-bahn > *:nth-child(odd) h3 { color: #fff !important; }
.quer-bahn > *:nth-child(odd)::before { color: #9da1c0; }
.quer-bahn > *:nth-child(odd) li i { color: var(--flieder) !important; }

/* Top 3 im Portfolio: nur auf dem Desktop als Karussell; ohne Bühne (Handy, Tablet) gibt es den Block nicht. */
.po-top-strecke:not(.buehne-fest) { display: none; }
.buehne-fest > .po-top { position: sticky; top: 0; height: 100vh; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .85fr); align-items: center; gap: clamp(28px, 4vw, 64px); padding-top: 84px; }
.po-top__ring { position: relative; height: min(460px, 54vh); perspective: 1500px; transform-style: preserve-3d; }
.po-top__karte { position: absolute; left: 50%; top: 50%; width: min(540px, 36vw); margin: 0; translate: -50% -50%; transform-style: preserve-3d; will-change: transform, opacity; }
.po-top__karte .po-fenster { box-shadow: 0 50px 90px -40px rgba(20, 18, 60, .55); }
.po-top__texte { position: relative; z-index: 40; min-height: 330px; }
.po-top__marke { display: inline-flex; align-items: center; gap: 8px; color: var(--akzent-d); }
.po-top__text { position: absolute; left: 0; right: 0; top: 44px; opacity: 0; filter: blur(8px); transform: translateY(14px); transition: opacity .5s ease, filter .5s ease, transform .6s cubic-bezier(.2, .8, .2, 1); pointer-events: none; }
.po-top__text.ist { opacity: 1; filter: none; transform: none; }
.po-top__text h3 { margin-top: 8px; font-size: clamp(2.2rem, 3.6vw, 3.4rem); line-height: 1.02; letter-spacing: -.045em; }
.po-top__text > p:last-child { margin-top: 14px; color: var(--text-2); font-size: 1.05rem; line-height: 1.55; }
.po-top__striche { position: absolute; left: 0; right: 0; bottom: 0; display: flex; gap: 6px; }
.po-top__striche i { position: relative; flex: 1; height: 3px; border-radius: 3px; background: var(--linie); overflow: hidden; }
.po-top__striche i::after { content: ''; position: absolute; inset: 0; background: var(--akzent); transform: scaleX(var(--voll, 0)); transform-origin: left; }

/* Werkzeug-Szene (nur mit Scroll-Bühne): links das Zeichen groß im Raum, rechts der Text. Ohne Bühne bleiben die Karten. */
.ls-szene { display: none; }
.buehne-fest .ls-begleiter { display: none; }
.buehne-fest .ls-szene { position: relative; display: block; height: min(560px, 62vh); }
.ls-szene__schritt { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 5vw, 80px); perspective: 1300px; }
.ls-szene__zeichen { justify-self: center; display: grid; place-items: center; width: min(400px, 30vw); aspect-ratio: 1; border-radius: 30%; will-change: transform, opacity; transform-style: preserve-3d; }
.ls-szene__zeichen img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 40px 60px rgba(20, 18, 60, .35)); }
.ls-szene__zeichen--punkte { background: radial-gradient(120% 120% at 80% 0%, rgba(90, 63, 224, .6), transparent 60%), var(--nacht); box-shadow: 0 50px 90px -40px rgba(20, 18, 60, .6); }
.ls-szene__zeichen--punkte svg { width: 72%; height: 72%; fill: #e8e3ff; }
.ls-szene__text { max-width: 34em; will-change: transform, opacity; }
.ls-szene__text .mono { color: var(--text-3); }
.ls-szene__text h3 { margin-top: 10px; font-size: clamp(2.4rem, 4vw, 3.8rem); line-height: 1; letter-spacing: -.05em; }
.ls-szene__satz { margin-top: 16px; font-size: 1.12rem; line-height: 1.55; color: var(--text-2); }
.ls-szene__text .haken { margin-top: 18px; }
.ls-szene__text .knopf { margin-top: 26px; }

/* Nytrix im echten Nytrix-Design: Violett mit Punktraster, dunkle Karten, Limette, Fredoka und Mulish (fonts.eg-core.de). */
#nytrix .ho-nx { border: 0; border-radius: 28px; background: radial-gradient(rgba(255, 255, 255, .14) 1.5px, transparent 1.6px) 0 0 / 22px 22px, #5a28d8; font-family: Mulish, var(--schrift); box-shadow: 0 40px 80px -46px rgba(58, 20, 160, .75); }
#nytrix .ho-nx__kopf h2, #nytrix .ho-nx__liste b { font-family: Fredoka, var(--schrift); font-weight: 700; letter-spacing: -.01em; }
#nytrix .ho-nx__kopf p { color: #ece6ff; }
#nytrix .ho-nx__kopf .knopf { border-radius: 14px; font-family: Mulish, var(--schrift); font-weight: 800; }
#nytrix .ho-nx__liste a { border: 1px solid rgba(255, 255, 255, .08); border-radius: 18px; background: #221a33; }
#nytrix .ho-nx__liste a:hover { border-color: #c7f23e; background: #2a2040; }
#nytrix .ho-nx__liste i { background: #c7f23e; color: #1a1430; border-radius: 12px; }
#nytrix .ho-nx__liste small { color: #b8afd6; }
#nytrix .ho-nx__merkmale li { border-color: rgba(255, 255, 255, .25); background: rgba(26, 20, 48, .35); color: #fff; font-weight: 600; }

/* Nytrix-Reise (nur mit Scroll-Bühne): Die Seite zoomt in ein Nytrix-Fenster, darin fahren vier Seiten seitwärts. */
.nx-reise { display: none; }
#nytrix.buehne-fest > .huelle { display: none; }
#nytrix.buehne-fest > .nx-reise { position: sticky; top: 0; display: grid; place-items: center; height: 100vh; overflow: hidden; }
.nx-reise__rahmen { position: relative; width: 100vw; height: 100vh; overflow: hidden; background: #15101f; color: #fff; font-family: Mulish, var(--schrift); transform-origin: 50% 55%; will-change: transform, border-radius; }
.nx-reise__leiste { position: absolute; z-index: 3; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 18px; background: #1a1430; opacity: var(--leiste, 1); }
.nx-reise__leiste i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .22); }
.nx-reise__leiste span { margin-left: 12px; padding: 3px 14px; border-radius: 8px; background: rgba(255, 255, 255, .08); font: 500 12px var(--mono); color: #b8afd6; }
.nx-reise__bahn { display: flex; height: 100%; will-change: transform; }
.nx-seite { flex: 0 0 100vw; height: 100%; display: flex; flex-direction: column; justify-content: center; padding: 110px max(6vw, calc((100vw - 1240px) / 2)) 48px; background: radial-gradient(70% 90% at 100% 0%, rgba(90, 40, 216, .5), transparent 62%), #15101f; }
.nx-seite--start { align-items: flex-start; background: radial-gradient(rgba(255, 255, 255, .14) 1.5px, transparent 1.6px) 0 0 / 22px 22px, #5a28d8; }
.nx-seite--start img { height: 64px; width: auto; }
.nx-seite h2 { margin-top: 22px; font-family: Fredoka, var(--schrift); font-weight: 700; font-size: clamp(2.6rem, 4.6vw, 4.6rem); line-height: 1.02; letter-spacing: -.01em; color: #fff; }
.nx-seite h2 em { font-style: normal; color: #c7f23e; }
.nx-seite--start > p { max-width: 36em; margin-top: 18px; font-size: 1.2rem; line-height: 1.55; color: #ece6ff; }
.nx-marke { font: 700 13px Mulish, var(--schrift); letter-spacing: .06em; text-transform: uppercase; color: #c7f23e; }
.nx-text { max-width: 44em; margin-top: 14px; font-size: 1.12rem; line-height: 1.55; color: #c9c0e6; }
.nx-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; }
.nx-chips li { display: inline-flex; align-items: center; gap: 9px; padding: 10px 16px; border-radius: 14px; background: #221a33; font-weight: 700; color: #fff; }
.nx-chips i { color: #c7f23e; font-size: 19px; }
.nx-seite--start .nx-chips li { background: rgba(26, 20, 48, .55); }
.nx-weiter { display: inline-flex; align-items: center; gap: 8px; margin-top: 34px !important; font-size: .98rem !important; color: #d9d0ff !important; }
.nx-karten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 28px 0 0; padding: 0; list-style: none; }
.nx-karten--drei { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nx-karten--bald { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.nx-karten a, .nx-karten > li > span { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; align-items: center; height: 100%; padding: 20px; border: 1px solid rgba(255, 255, 255, .07); border-radius: 18px; background: #221a33; color: #fff; text-decoration: none; transition: border-color .2s ease, transform .3s cubic-bezier(.2, .8, .2, 1); }
.nx-karten a:hover { border-color: #c7f23e; transform: translateY(-3px); }
.nx-karten i { grid-row: span 2; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: #c7f23e; color: #1a1430; font-size: 26px; }
.nx-karten--bald i { background: rgba(199, 242, 62, .16); color: #c7f23e; }
.nx-karten b { font-family: Fredoka, var(--schrift); font-weight: 600; font-size: 1.22rem; }
.nx-karten b span { margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: #c7f23e; color: #1a1430; font: 800 10.5px Mulish, var(--schrift); letter-spacing: .04em; text-transform: uppercase; vertical-align: 3px; }
.nx-karten small { font-size: .95rem; line-height: 1.4; color: #b8afd6; }
.nx-chips--hell li { background: #2a2040; }
.nx-knoepfe { display: flex; gap: 12px; margin-top: 30px; }
.nx-knopf { display: inline-flex; align-items: center; gap: 8px; padding: 14px 22px; border-radius: 14px; background: #c7f23e; color: #1a1430; font: 800 1rem Mulish, var(--schrift); text-decoration: none; transition: transform .2s ease, background .2s ease; }
.nx-knopf:hover { background: #d8ff5a; transform: translateY(-2px); }
.nx-knopf--linie { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); }
.nx-knopf--linie:hover { background: rgba(255, 255, 255, .08); }
.nx-hinweis { margin-top: 18px; font-size: .9rem; color: #8f86b0; }
.nx-seite.ist-mitte .nx-karten li { animation: liste-ein .7s cubic-bezier(.2, .8, .2, 1) calc(.1s + var(--i, 0) * 80ms) backwards; }

/* Datenweg (nur mit Scroll-Bühne): vier Stationen auf einer Linie, ein leuchtendes Paket wandert mit dem Scrollen,
   am Schutz prallen rote Angriffe ab. Ohne Bühne bleibt der bisherige Abschnitt mit Ablaufgrafik. */
.weg-szene { display: none; }
#standort.buehne-fest > .huelle { display: none; }
#standort.buehne-fest > .weg-szene { position: sticky; top: 0; display: flex; align-items: center; height: 100vh; }
.weg-szene > .huelle { flex: none; }
.weg-szene h2 { max-width: 24em; }
.weg-szene__bahn { position: relative; height: 230px; margin: clamp(40px, 7vh, 80px) 60px 0; }
.weg-szene__linie { position: absolute; left: 0; right: 0; top: 58px; height: 2px; background: repeating-linear-gradient(90deg, rgba(167, 151, 255, .35) 0 8px, transparent 8px 16px); }
.weg-szene__linie::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--flieder), #2fd38c); transform: scaleX(var(--weg, 0)); transform-origin: left; box-shadow: 0 0 18px rgba(167, 151, 255, .7); }
.weg-szene__paket { position: absolute; z-index: 3; top: 50px; left: calc(var(--weg, 0) * 100%); width: 18px; height: 18px; margin-left: -9px; border-radius: 6px; background: #fff; box-shadow: 0 0 0 6px rgba(167, 151, 255, .3), 0 0 30px 6px rgba(167, 151, 255, .9); transform: rotate(45deg); }
.weg-szene__station { position: absolute; z-index: 2; top: 0; left: calc(var(--n) * 33.333%); display: grid; justify-items: center; gap: 14px; width: 180px; margin-left: -90px; text-align: center; }
.weg-szene__station i { display: grid; place-items: center; width: 116px; height: 116px; border-radius: 32px; border: 1px solid rgba(255, 255, 255, .14); background: #14153a; color: #6d6f99; font-size: 50px; transition: color .5s ease, border-color .5s ease, box-shadow .6s ease, transform .6s cubic-bezier(.2, .8, .2, 1.5); }
.weg-szene__station b { font-size: 1.05rem; font-weight: 600; color: #9da1c0; transition: color .5s ease; }
.weg-szene__station.erreicht i { color: var(--flieder); border-color: rgba(167, 151, 255, .55); }
.weg-szene__station.erreicht b { color: #fff; }
.weg-szene__station.ist i { transform: scale(1.12); color: #fff; box-shadow: 0 0 0 8px rgba(167, 151, 255, .14), 0 26px 60px -20px rgba(167, 151, 255, .8); }
.weg-szene__station:nth-of-type(2).erreicht i { color: #2fd38c; border-color: rgba(47, 211, 140, .55); }
.weg-szene__angriffe { position: absolute; z-index: 1; left: 33.333%; top: -80px; width: 0; height: 0; opacity: 0; transition: opacity .4s ease; }
.wird-angegriffen .weg-szene__angriffe { opacity: 1; }
.weg-szene__angriffe i { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: #ff5a6a; box-shadow: 0 0 14px #ff5a6a; animation: angriff 1.5s cubic-bezier(.5, 0, .7, .4) infinite; animation-delay: calc(var(--a, 0) * .3s); }
.weg-szene__angriffe i:nth-child(2) { --a: 1; --x: -120px; } .weg-szene__angriffe i:nth-child(3) { --a: 2; --x: 90px; }
.weg-szene__angriffe i:nth-child(4) { --a: 3; --x: -60px; } .weg-szene__angriffe i:nth-child(5) { --a: 4; --x: 150px; }
@keyframes angriff { 0% { transform: translate(var(--x, 60px), -90px) scale(.6); opacity: 0; } 15% { opacity: 1; } 62% { transform: translate(0, 110px) scale(1); opacity: 1; } 75% { transform: translate(calc(var(--x, 60px) * -.4), 60px) scale(1.6); opacity: .9; background: #ffb3bb; } 100% { transform: translate(calc(var(--x, 60px) * -.9), -10px) scale(.3); opacity: 0; } }
.weg-szene__texte { position: relative; min-height: 4.5em; max-width: 46em; margin: 26px auto 0; text-align: center; }
.weg-szene__text { position: absolute; inset: 0; font-size: 1.12rem; line-height: 1.55; color: #c6c8de; opacity: 0; filter: blur(6px); transform: translateY(10px); transition: opacity .45s ease, filter .45s ease, transform .5s cubic-bezier(.2, .8, .2, 1); }
.weg-szene__text.ist { opacity: 1; filter: none; transform: none; }
.weg-szene__text b { color: #fff; }
.weg-szene__text .mono { margin-right: 8px; color: var(--flieder); }

/* Bau-Szene (Entwicklung, nur Desktop): links die Stufe, rechts eine Beispielseite, die mit jeder Stufe fertiger wird.
   Ohne Bühne gibt es den Abschnitt nicht. */
.bau-abschnitt:not(.buehne-fest) { display: none; }
.bau { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.6fr); align-items: center; gap: clamp(32px, 4vw, 64px); }
.bau__text h2 { font-size: clamp(2rem, 3vw, 2.8rem); }
.bau__schritte { position: relative; min-height: 210px; margin-top: 34px; }
.bau__schritt { position: absolute; inset: 0; opacity: 0; filter: blur(6px); transform: translateY(12px); transition: opacity .45s ease, filter .45s ease, transform .55s cubic-bezier(.2, .8, .2, 1); }
.bau__schritt.ist { opacity: 1; filter: none; transform: none; }
.bau__schritt .mono { color: var(--akzent-d); }
.bau__schritt h3 { margin-top: 10px; font-size: clamp(1.8rem, 2.6vw, 2.4rem); letter-spacing: -.04em; }
.bau__schritt p:last-child { margin-top: 10px; font-size: 1.06rem; line-height: 1.55; color: var(--text-2); }
.bau__striche { display: flex; gap: 6px; margin-top: 14px; }
.bau__striche i { position: relative; flex: 1; height: 3px; border-radius: 3px; background: var(--linie); overflow: hidden; }
.bau__striche i::after { content: ''; position: absolute; inset: 0; background: var(--akzent); transform: scaleX(var(--voll, 0)); transform-origin: left; }

.bau__buehne { position: relative; height: min(560px, 64vh); }
.bau__fenster { position: absolute; inset: 0 0 0 0; overflow: hidden; border: 1px solid var(--linie); border-radius: 20px; background: #fff; box-shadow: 0 50px 90px -50px rgba(20, 18, 60, .55); transition: inset .8s cubic-bezier(.2, .8, .2, 1), transform .8s cubic-bezier(.2, .8, .2, 1); }
.bau__leiste { display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 16px; border-bottom: 1px solid var(--linie); background: #f6f5fb; }
.bau__leiste > i { width: 10px; height: 10px; border-radius: 50%; background: #d9d7e6; }
.bau__adresse { display: inline-flex; align-items: center; gap: 6px; margin-left: 14px; padding: 4px 14px; border-radius: 8px; background: #fff; border: 1px solid var(--linie); font: 500 12px var(--mono); color: var(--text-3); transition: color .5s ease; }
.bau__adresse i { opacity: 0; transition: opacity .5s ease; }
.bau__live { margin-left: auto; padding: 3px 11px; border-radius: 999px; background: #2fd38c; color: #06281a; font: 600 11.5px var(--mono); opacity: 0; transform: scale(.6); transition: opacity .4s ease, transform .5s cubic-bezier(.2, .8, .2, 1.6); }
.bau__seite { height: calc(100% - 40px); padding: 18px 26px; transition: filter .6s ease; }
.bau__nav { display: flex; align-items: center; gap: 18px; padding-bottom: 14px; font-size: 13px; color: #5a4a44; }
.bau__logo { margin-right: auto; font: 700 1.05rem Georgia, serif; color: #3b2620; }
.bau__knopf { display: inline-block; padding: 8px 14px; border-radius: 999px; background: #e0613b; color: #fff; font-style: normal; font-weight: 600; font-size: 12.5px; transition: background .6s ease, color .6s ease; }
.bau__held { display: grid; grid-template-columns: 1.15fr 1fr; gap: 22px; align-items: center; padding: 26px; border-radius: 16px; background: linear-gradient(120deg, #fff1e6, #ffd9c7 60%, #ffc2b0); transition: background .6s ease; }
.bau__marke { font: 600 11px var(--mono); letter-spacing: .04em; color: #b3502f; }
.bau__titel { margin-top: 8px; font: 700 clamp(1.4rem, 2.2vw, 2.1rem)/1.05 Georgia, serif; color: #3b2620; }
.bau__satz { margin-top: 10px; font-size: 14px; color: #6b5048; }
.bau__knopf--gross { margin-top: 16px; padding: 10px 18px; font-size: 13.5px; }
.bau__bild { position: relative; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: radial-gradient(60% 60% at 30% 35%, #ffe6a8, transparent 60%), linear-gradient(160deg, #e9935f, #b9472f); transition: background .6s ease; }
.bau__bild i { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .85); }
.bau__bild i:nth-child(1) { left: 18%; top: 50%; width: 34%; aspect-ratio: 1; background: #f7e3c4; box-shadow: inset -6px -6px 0 rgba(140, 80, 40, .25); }
.bau__bild i:nth-child(2) { left: 48%; top: 40%; width: 30%; aspect-ratio: 1; background: #6b3b26; box-shadow: inset 0 0 0 7px #fff; }
.bau__bild i:nth-child(3) { left: 60%; top: 14%; width: 12%; aspect-ratio: 1; background: rgba(255, 255, 255, .6); }
.bau__karten { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 14px; }
.bau__karten div { display: grid; gap: 2px; padding: 14px; border-radius: 12px; background: #fbf6f2; border: 1px solid #f0e4dc; transition: background .6s ease, border-color .6s ease; }
.bau__karten b { font: 700 .95rem Georgia, serif; color: #3b2620; }
.bau__karten span { font-size: 12px; color: #8a6d63; }
.bau__code { position: absolute; z-index: 2; top: 56px; right: 16px; bottom: 16px; width: 44%; margin: 0; padding: 18px; overflow: hidden; border-radius: 14px; background: #14142e; color: #cfc8ff; font: 12.5px/1.75 var(--mono); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); transform: translateX(115%); transition: transform .7s cubic-bezier(.2, .8, .2, 1); }
.bau__code span { display: block; white-space: pre; clip-path: inset(0 100% 0 0); }
.bau__code span:nth-child(n+6) { color: #7fe0b6; }
.bau__fertig { position: absolute; z-index: 2; left: 50%; bottom: 22px; display: flex; gap: 10px; margin: 0; padding: 0; list-style: none; transform: translate(-50%, 30px); opacity: 0; transition: opacity .5s ease, transform .6s cubic-bezier(.2, .8, .2, 1); }
.bau__fertig li { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; background: #14142e; color: #fff; font-size: 13px; font-weight: 500; white-space: nowrap; }
.bau__fertig i { color: #2fd38c; font-size: 16px; }
.bau__handy { position: absolute; z-index: 3; right: -8px; bottom: -26px; width: 168px; aspect-ratio: 9 / 18.5; padding: 12px 10px; border-radius: 30px; background: #14142e; box-shadow: 0 40px 70px -30px rgba(20, 18, 60, .7); opacity: 0; transform: translateY(60px) rotate(6deg); transition: opacity .5s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.bau__handy-seite { display: grid; align-content: start; gap: 8px; height: 100%; padding: 14px 10px; overflow: hidden; border-radius: 20px; background: linear-gradient(170deg, #fff1e6, #ffc2b0); }
.bau__handy-seite b { font: 700 .82rem Georgia, serif; color: #3b2620; }
.bau__handy-seite p { font: 700 1rem/1.05 Georgia, serif; color: #3b2620; }
.bau__handy-seite i { height: 70px; border-radius: 10px; background: linear-gradient(160deg, #e9935f, #b9472f); }
.bau__handy-seite em { justify-self: start; padding: 6px 10px; border-radius: 999px; background: #e0613b; color: #fff; font-style: normal; font-size: 10.5px; font-weight: 600; }
.bau__handy-seite span { height: 30px; border-radius: 8px; background: #fbf6f2; }

/* Stufe 0: Skizze. Alles grau, gestrichelt, Text als Balken. */
.bau[data-stufe="0"] .bau__seite :is(.bau__logo, .bau__titel, .bau__satz, .bau__marke, .bau__karten b, .bau__karten span, .bau__nav span) { color: transparent; background: #e6e5ee; border-radius: 6px; }
.bau[data-stufe="0"] .bau__held, .bau[data-stufe="0"] .bau__karten div { background: #fff; border: 2px dashed #cfcde0; }
.bau[data-stufe="0"] .bau__bild { background: repeating-linear-gradient(45deg, #f1f0f6 0 10px, #e6e5ee 10px 20px); border: 2px dashed #cfcde0; }
.bau[data-stufe="0"] .bau__bild i { opacity: 0; }
.bau[data-stufe="0"] .bau__knopf { background: #d6d4e3; color: transparent; }
.bau__seite :is(.bau__logo, .bau__titel, .bau__satz, .bau__marke, .bau__karten b, .bau__karten span, .bau__nav span) { transition: color .5s ease, background .5s ease; }
.bau__bild i { transition: opacity .6s ease .2s; }
/* Stufe 2: Code. Hilfslinien, das Code-Fenster schiebt sich herein und tippt. */
.bau[data-stufe="2"] .bau__seite :is(.bau__nav, .bau__held, .bau__karten > div) { outline: 1.5px dashed rgba(90, 63, 224, .55); outline-offset: 3px; }
.bau[data-stufe="2"] .bau__code, .bau[data-stufe="3"] .bau__code { transform: none; }
.bau[data-stufe="2"] .bau__code span { animation: tippen .5s steps(22, end) calc(.4s + var(--i, 0) * .28s) forwards; }
.bau__code span:nth-child(2) { --i: 1; } .bau__code span:nth-child(3) { --i: 2; } .bau__code span:nth-child(4) { --i: 3; }
.bau__code span:nth-child(5) { --i: 4; } .bau__code span:nth-child(6) { --i: 5; } .bau__code span:nth-child(7) { --i: 6; } .bau__code span:nth-child(8) { --i: 7; }
.bau[data-stufe="3"] .bau__code span, .bau[data-stufe="4"] .bau__code span { clip-path: none; }
/* Stufe 3: Geräte. Das Fenster rückt zur Seite, das Handy kommt dazu. */
.bau[data-stufe="3"] .bau__fenster, .bau[data-stufe="4"] .bau__fenster { transform: translateX(-34px) scale(.94); }
.bau[data-stufe="3"] .bau__handy, .bau[data-stufe="4"] .bau__handy { opacity: 1; transform: none; }
/* Stufe 4: Live. Schloss, Online-Plakette und Abschlussliste. */
.bau[data-stufe="4"] .bau__adresse { color: #0b6b4a; }
.bau[data-stufe="4"] .bau__adresse i { opacity: 1; color: #0b6b4a; }
.bau[data-stufe="4"] .bau__live { opacity: 1; transform: none; }
.bau[data-stufe="4"] .bau__fertig { opacity: 1; transform: translate(-50%, 0); }
.bau[data-stufe="4"] .bau__code { transform: translateX(115%); }

/* KYC-Szene (nur Desktop): links die Stufe, rechts ein Handy mit der Prüfoberfläche. Teilt Text und Striche mit der Bau-Szene. */
.hs-szene-abschnitt:not(.buehne-fest) { display: none; }
.hs-szene { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 5vw, 80px); }
.hs-handy { justify-self: center; width: min(300px, 24vw); aspect-ratio: 9 / 19; padding: 14px; border-radius: 46px; background: #14142e; box-shadow: 0 60px 100px -50px rgba(20, 18, 60, .7), inset 0 0 0 2px rgba(255, 255, 255, .06); transform: rotate(-3deg); }
.hs-handy__bild { position: relative; height: 100%; overflow: hidden; border-radius: 34px; background: linear-gradient(180deg, #f6f5fb, #fff); }
.hs-handy__kopf { display: flex; justify-content: space-between; align-items: center; padding: 22px 18px 10px; font-size: 13px; }
.hs-handy__kopf b { font-weight: 700; color: var(--tinte); }
.hs-handy__schritt::after { font: 500 11px var(--mono); color: var(--akzent-d); }
.hs-szene[data-stufe="0"] .hs-handy__schritt::after { content: 'Start'; }
.hs-szene[data-stufe="1"] .hs-handy__schritt::after { content: '1 / 3'; }
.hs-szene[data-stufe="2"] .hs-handy__schritt::after { content: '2 / 3'; }
.hs-szene[data-stufe="3"] .hs-handy__schritt::after { content: '3 / 3'; }
.hs-szene[data-stufe="4"] .hs-handy__schritt::after { content: 'Fertig'; color: #0b6b4a; }
.hs-bild { position: absolute; inset: 56px 16px 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; text-align: center; opacity: 0; transform: translateX(40px); transition: opacity .45s ease, transform .55s cubic-bezier(.2, .8, .2, 1); }
.hs-bild p { font-size: 13px; color: var(--text-2); }
.hs-szene[data-stufe="0"] .hs-bild--qr, .hs-szene[data-stufe="1"] .hs-bild--vorne, .hs-szene[data-stufe="2"] .hs-bild--hinten, .hs-szene[data-stufe="3"] .hs-bild--video, .hs-szene[data-stufe="4"] .hs-bild--fertig { opacity: 1; transform: none; }
.hs-qr { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; width: 70%; aspect-ratio: 1; padding: 12px; border-radius: 14px; background: #fff; box-shadow: 0 10px 30px -14px rgba(20, 18, 60, .35); }
.hs-qr i { border-radius: 2px; background: var(--tinte); }
.hs-qr i:nth-child(3n+2), .hs-qr i:nth-child(5n+1), .hs-qr i:nth-child(11), .hs-qr i:nth-child(26), .hs-qr i:nth-child(31) { background: transparent; }
.hs-qr i:nth-child(1), .hs-qr i:nth-child(7), .hs-qr i:nth-child(43), .hs-qr i:nth-child(49) { background: var(--akzent); border-radius: 4px; }
.hs-ausweis { position: relative; display: grid; grid-template-columns: 34% 1fr; grid-template-rows: repeat(3, 1fr); gap: 7px 10px; width: 100%; aspect-ratio: 1.58; padding: 12px; overflow: hidden; border-radius: 12px; background: linear-gradient(135deg, #dfe8f5, #c8d6ec); box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--akzent); }
.hs-ausweis span { border-radius: 4px; background: rgba(40, 60, 110, .18); }
.hs-ausweis__foto { grid-row: 1 / -1; background: linear-gradient(180deg, #a9b8d4, #8094bb) !important; }
.hs-ausweis__scan { position: absolute; left: 0; right: 0; top: 0; height: 3px; background: #2fd38c; box-shadow: 0 0 14px #2fd38c; animation: ausweis-scan 1.6s ease-in-out infinite alternate; }
@keyframes ausweis-scan { to { top: calc(100% - 3px); } }
.hs-ausweis--hinten { grid-template-columns: 1fr; grid-template-rows: auto auto repeat(3, auto); align-content: end; gap: 4px; }
.hs-ausweis--hinten span { height: 9px; }
.hs-ausweis--hinten em { font: 600 8.5px/1.25 var(--mono); font-style: normal; letter-spacing: .04em; color: #24345e; white-space: nowrap; overflow: hidden; padding: 1px 3px; border-radius: 3px; }
.hs-szene[data-stufe="2"] .hs-ausweis--hinten em { animation: zeile-markiert .5s ease calc(.3s + var(--i, 0) * .25s) forwards; }
.hs-ausweis--hinten em:nth-of-type(2) { --i: 1; } .hs-ausweis--hinten em:nth-of-type(3) { --i: 2; }
@keyframes zeile-markiert { to { background: rgba(47, 211, 140, .35); } }
.hs-kreis { position: relative; display: grid; place-items: center; width: 78%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, #e9e6f7 0 58%, #f6f5fb 59%); color: #9a95bd; font-size: 84px; }
.hs-kreis svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.hs-kreis circle { fill: none; stroke: #2fd38c; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 289; stroke-dashoffset: 289; }
.hs-szene[data-stufe="3"] .hs-kreis circle { animation: kreis-fuellt 2.4s ease-in-out .3s forwards; }
.hs-szene[data-stufe="3"] .hs-kreis i { animation: kopf-dreht 2.4s ease-in-out .3s infinite; }
@keyframes kreis-fuellt { to { stroke-dashoffset: 0; } }
@keyframes kopf-dreht { 25% { transform: translateX(10px) rotate(8deg); } 75% { transform: translateX(-10px) rotate(-8deg); } }
.hs-haken { display: grid; place-items: center; width: 96px; height: 96px; border-radius: 50%; background: #2fd38c; color: #fff; font-size: 48px; box-shadow: 0 0 0 12px rgba(47, 211, 140, .18); }
.hs-szene[data-stufe="4"] .hs-haken { animation: symbol-plopp .7s cubic-bezier(.2, .8, .2, 1.6) .2s backwards; }
.hs-bild--fertig b { font-size: 1.1rem; color: var(--tinte); }
@media (prefers-reduced-motion: reduce) { .hs-szene * { animation: none !important; } }

/* Ausbau im locsrv Lab (nur Desktop): Raster aus Speicherzellen, die sich mit dem Scrollen füllen. */
.lo-raster { display: none; }
.buehne-fest .lo-raster { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; margin-top: 26px; }
.buehne-fest .lo-ausbau .lo-notiz { display: none; }
.buehne-fest .lo-balken span { animation: none; transition: width .12s linear; }
.lo-raster__zellen { display: grid; grid-template-columns: repeat(32, 1fr); gap: 5px; }
.lo-raster__zellen i { aspect-ratio: 1; border-radius: 5px; background: #eceaf8; transition: background .3s ease, box-shadow .3s ease, transform .35s cubic-bezier(.2, .8, .2, 1.6); }
.lo-raster__zellen i.an { background: linear-gradient(135deg, var(--akzent), var(--flieder)); box-shadow: 0 6px 16px -8px rgba(90, 63, 224, .8); transform: scale(1.06); }
.lo-raster__zellen i.waechst { background: #fff; box-shadow: inset 0 0 0 2px var(--akzent); animation: zelle-waechst 1.4s ease-in-out infinite; }
@keyframes zelle-waechst { 50% { box-shadow: inset 0 0 0 2px var(--akzent), 0 0 0 6px rgba(90, 63, 224, .18); } }
.lo-raster__marken { display: flex; flex-direction: column; justify-content: space-around; font: 500 12px var(--mono); color: var(--text-3); white-space: nowrap; }

/* Captive Space: der Weg ins WLAN aus Sicht des Gastes (Handy-Szene, nur Desktop). */
.ca-szene .hs-bild { opacity: 0; transform: translateX(40px); }
.ca-szene[data-stufe="0"] .ca-netze, .ca-szene[data-stufe="1"] .ca-portal, .ca-szene[data-stufe="2"] .ca-pakete, .ca-szene[data-stufe="3"] .ca-drin { opacity: 1; transform: none; }
.ca-handy { background: linear-gradient(180deg, #f3f1ee, #fff); }
.ca-netze { justify-content: flex-start; align-items: stretch; text-align: left; gap: 10px; }
.ca-netze__titel { font: 600 11px var(--mono); letter-spacing: .05em; color: var(--text-3); }
.ca-netze ul { display: grid; gap: 1px; margin: 0; padding: 0; list-style: none; border-radius: 14px; overflow: hidden; background: var(--linie); }
.ca-netze li { display: flex; align-items: center; gap: 9px; padding: 12px; background: #fff; font-size: 13px; color: var(--tinte); }
.ca-netze li i:last-child { margin-left: auto; color: var(--text-3); }
.ca-netz--gast { font-weight: 600; }
.ca-szene[data-stufe="0"] .ca-netz--gast { animation: netz-tippen 1.6s ease-in-out .6s infinite; }
@keyframes netz-tippen { 50% { background: #efeaff; } }
.ca-portal { gap: 12px; }
.ca-portal__zeichen { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: #3b2620; color: #f7e3c4; font-size: 30px; }
.ca-portal b, .ca-drin b { font: 700 1.25rem Georgia, serif; color: #3b2620; }
.ca-sprachen { display: flex; gap: 5px; }
.ca-sprachen em { padding: 3px 7px; border-radius: 6px; background: #fff; border: 1px solid var(--linie); font: 600 10.5px var(--mono); font-style: normal; color: var(--text-2); }
.ca-sprachen em:first-child { background: #3b2620; border-color: #3b2620; color: #fff; }
.ca-knopf { display: block; width: 100%; padding: 12px; border-radius: 12px; background: #3b2620; color: #fff; font-size: 13.5px; font-weight: 600; text-align: center; }
.ca-knopf--paypal { background: #ffc439; color: #14142e; }
.ca-pakete { justify-content: flex-start; align-items: stretch; gap: 10px; text-align: left; }
.ca-paket { position: relative; display: grid; gap: 2px; padding: 14px; border-radius: 14px; background: #fff; border: 1.5px solid var(--linie); }
.ca-paket b { font-size: 14px; color: var(--tinte); }
.ca-paket small { font-size: 12px; color: var(--text-3); }
.ca-paket i { position: absolute; right: 12px; top: 50%; translate: 0 -50%; font-size: 22px; color: #2fd38c; }
.ca-paket--wahl { border-color: #2fd38c; box-shadow: 0 0 0 4px rgba(47, 211, 140, .15); }
.ca-szene[data-stufe="2"] .ca-paket--wahl { animation: symbol-plopp .6s cubic-bezier(.2, .8, .2, 1.5) .4s backwards; }
.ca-code { margin-top: 6px; padding: 8px 16px; border-radius: 10px; background: #14142e; color: #fff; font-size: 14px; letter-spacing: .12em; }
.ca-szene[data-stufe="3"] .hs-haken { animation: symbol-plopp .7s cubic-bezier(.2, .8, .2, 1.6) .2s backwards; }
.buehne-fest .mo-wetter__immer { display: none; }

/* Knöpfe im Kopfbereich: auf dem Handy immer nebeneinander. Zu lange Beschriftungen weichen der Kurzfassung,
   im Notfall endet der Text mit Auslassungspunkten statt umzubrechen. */
.knopf__kurz { display: none; }
@media (max-width: 560px) {
    .buehne__knoepfe { flex-wrap: nowrap; gap: 8px; }
    .buehne__knoepfe .knopf { flex: 1 1 0; min-width: 0; justify-content: center; padding: 12px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .buehne__knoepfe .knopf i { display: none; }
    .buehne__knoepfe .knopf__lang { display: none; }
    .buehne__knoepfe .knopf__kurz { display: inline; }
}
@media (max-width: 560px) {
    .buehne .buehne__einsatz .ct-aktionen { flex-wrap: nowrap; gap: 8px; }
    .buehne .buehne__einsatz .ct-aktionen > .ct-btn, .buehne .buehne__einsatz .ct-aktionen > :is(a, button) { flex: 1 1 0; min-width: 0; justify-content: center; padding-inline: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .buehne .ct-aktionen .knopf__lang { display: none; }
    .buehne .ct-aktionen .knopf__kurz { display: inline; }
}

/* Marken-Werkstatt (Design & Branding, nur Desktop): eine Beispielmarke entsteht Seite für Seite. */
.dw-werkstatt { display: none; }
.buehne-fest .dw-werkstatt { display: block; }
.buehne-fest:has(.dw-werkstatt) .karten, .buehne-fest:has(.dw-werkstatt) .abschnitt__einleitung { display: none; }
.dw-werkstatt__bahn { display: flex; gap: 48px; width: max-content; will-change: transform; }
.dw-seite { flex: 0 0 var(--seite, 1200px); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 4vw, 64px); opacity: .3; transform: scale(.96); transition: opacity .6s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.dw-seite.ist-mitte { opacity: 1; transform: none; }
.dw-seite__bild { position: relative; display: grid; place-items: center; height: min(480px, 56vh); border-radius: 28px; overflow: hidden; background: #f3ead8; box-shadow: 0 50px 90px -50px rgba(43, 33, 28, .55); }
.dw-seite__text .mono { color: var(--text-3); }
.dw-seite__text h3 { margin-top: 12px; font-size: clamp(2.2rem, 3.4vw, 3.2rem); line-height: 1.02; letter-spacing: -.045em; }
.dw-seite__satz { margin-top: 14px; font-size: 1.1rem; line-height: 1.55; color: var(--text-2); }
.dw-seite .haken { margin-top: 16px; }
.dw-seite.ist-mitte .dw-seite__text > * { animation: ein-hoch .7s cubic-bezier(.2, .8, .2, 1) calc(.1s + var(--i, 0) * 70ms) backwards; }
.dw-seite__text > :nth-child(2) { --i: 1; } .dw-seite__text > :nth-child(3) { --i: 2; } .dw-seite__text > :nth-child(4) { --i: 3; }
/* 1 Logo: das Zeichen zeichnet sich selbst. */
.dw-logo { display: grid; justify-items: center; gap: 8px; color: #1f3b2d; }
.dw-logo svg { width: 170px; height: 170px; fill: none; stroke: #1f3b2d; stroke-width: 7; stroke-linecap: round; stroke-dasharray: 520; stroke-dashoffset: 520; }
.dw-seite.ist-mitte .dw-logo svg { animation: logo-zeichnet 1.8s cubic-bezier(.6, 0, .2, 1) .2s forwards; }
.dw-logo path { stroke: #c0703a; }
@keyframes logo-zeichnet { to { stroke-dashoffset: 0; } }
.dw-logo b { font: 700 2.4rem Georgia, serif; letter-spacing: .02em; }
.dw-logo small { font: 500 12px var(--mono); letter-spacing: .1em; color: #8a6a4e; }
/* 2 CI: Farbfelder mit Werten und Schriftmuster. */
.dw-ci { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; width: 86%; }
.dw-ci span { display: grid; align-content: end; gap: 2px; aspect-ratio: 3 / 4; padding: 14px; border-radius: 16px; background: var(--f); color: #fff; }
.dw-ci span.hell { color: #2b211c; box-shadow: inset 0 0 0 1px #e0d4bd; }
.dw-ci b { font: 700 1rem Georgia, serif; }
.dw-ci em { font: 500 11px var(--mono); font-style: normal; opacity: .8; }
.dw-seite.ist-mitte .dw-ci span { animation: symbol-plopp .6s cubic-bezier(.2, .8, .2, 1.4) backwards; }
.dw-ci span:nth-child(2) { animation-delay: .1s !important; } .dw-ci span:nth-child(3) { animation-delay: .2s !important; } .dw-ci span:nth-child(4) { animation-delay: .3s !important; }
.dw-ci__schrift { grid-column: 1 / -1; display: flex; gap: 26px; margin-top: 8px; color: #2b211c; }
.dw-ci__schrift i { font: 700 4rem/1 Georgia, serif; font-style: normal; }
.dw-ci__schrift i + i { font: 500 4rem/1 var(--schrift); color: #c0703a; }
/* 3 UI/UX: Website und App in den Markenfarben. */
.dw-ui { position: relative; width: 84%; height: 78%; }
.dw-ui__web { position: absolute; inset: 0 18% 8% 0; display: grid; align-content: start; gap: 12px; padding: 18px; border-radius: 16px; background: #fff; box-shadow: 0 30px 60px -36px rgba(43, 33, 28, .6); }
.dw-ui__web i { height: 46%; border-radius: 10px; background: linear-gradient(135deg, #1f3b2d, #2f5a44); }
.dw-ui__web b { font: 700 1.6rem Georgia, serif; color: #1f3b2d; }
.dw-ui__web span { height: 10px; width: 70%; border-radius: 5px; background: #eadfca; }
.dw-ui em, .dw-system .dw-k { justify-self: start; padding: 9px 16px; border-radius: 999px; background: #c0703a; color: #fff; font-style: normal; font-size: 13px; font-weight: 600; }
.dw-ui__app { position: absolute; right: 0; bottom: 0; display: grid; align-content: start; gap: 10px; width: 34%; aspect-ratio: 9 / 18; padding: 16px 12px; border-radius: 26px; border: 6px solid #2b211c; background: #f3ead8; transform: translateY(30px) rotate(4deg); opacity: 0; transition: transform .7s cubic-bezier(.2, .8, .2, 1) .3s, opacity .5s ease .3s; }
.dw-seite.ist-mitte .dw-ui__app { transform: rotate(4deg); opacity: 1; }
.dw-ui__app b { font: 700 .95rem Georgia, serif; color: #1f3b2d; }
.dw-ui__app span { height: 56px; border-radius: 10px; background: #fff; }
/* 4 Design-System: Bausteine. */
.dw-system { display: grid; grid-template-columns: repeat(2, auto); gap: 18px 22px; align-items: center; justify-content: center; }
.dw-system .dw-k--linie { background: transparent; color: #1f3b2d; box-shadow: inset 0 0 0 2px #1f3b2d; }
.dw-feld { padding: 12px 16px; border-radius: 12px; background: #fff; border: 2px solid #e0d4bd; font-size: 13px; color: #8a6a4e; min-width: 200px; }
.dw-schalter { position: relative; width: 56px; height: 30px; border-radius: 999px; background: #1f3b2d; }
.dw-schalter i { position: absolute; top: 4px; left: 4px; width: 22px; height: 22px; border-radius: 50%; background: #f3ead8; transition: transform .5s cubic-bezier(.2, .8, .2, 1.4) .4s; }
.dw-seite.ist-mitte .dw-schalter i { transform: translateX(26px); }
.dw-karte { display: grid; gap: 2px; padding: 16px; border-radius: 14px; background: #fff; box-shadow: 0 16px 30px -22px rgba(43, 33, 28, .6); }
.dw-karte b { font: 700 1.1rem Georgia, serif; color: #2b211c; }
.dw-karte small { font-size: 12px; color: #8a6a4e; }
.dw-raster { display: grid; grid-template-columns: repeat(4, 22px); gap: 6px; }
.dw-raster i { height: 22px; border-radius: 6px; background: #c0703a; opacity: .35; }
.dw-raster i:nth-child(2) { opacity: .55; } .dw-raster i:nth-child(3) { opacity: .75; } .dw-raster i:nth-child(4) { opacity: 1; }
/* 5 Grafik: Social-Media-Beitrag und Visitenkarte. */
.dw-grafik { position: relative; width: 80%; height: 76%; }
.dw-post { position: absolute; left: 0; top: 0; display: grid; align-content: space-between; width: 56%; aspect-ratio: 1; padding: 22px; border-radius: 18px; background: radial-gradient(70% 70% at 80% 20%, #c0703a, transparent 70%), #1f3b2d; color: #f3ead8; transform: rotate(-4deg); box-shadow: 0 40px 70px -40px rgba(43, 33, 28, .7); }
.dw-post b { font: 700 1.9rem/1.05 Georgia, serif; }
.dw-post small { font: 500 12px var(--mono); opacity: .8; }
.dw-karte-vk { position: absolute; right: 0; bottom: 6%; display: grid; align-content: space-between; width: 52%; aspect-ratio: 1.7; padding: 18px; border-radius: 12px; background: #fff; color: #2b211c; transform: rotate(5deg) translateY(30px); opacity: 0; box-shadow: 0 30px 60px -36px rgba(43, 33, 28, .7); transition: transform .7s cubic-bezier(.2, .8, .2, 1) .3s, opacity .5s ease .3s; }
.dw-seite.ist-mitte .dw-karte-vk { transform: rotate(5deg); opacity: 1; }
.dw-karte-vk b { font: 700 1.2rem Georgia, serif; color: #1f3b2d; }
.dw-karte-vk small { font-size: 12px; line-height: 1.4; color: #8a6a4e; }
/* 6 Styleguide: richtig und falsch. */
.dw-guide { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; width: 84%; }
.dw-guide__seite { display: grid; justify-items: center; gap: 14px; padding: 30px 18px 18px; border-radius: 18px; background: #fff; box-shadow: 0 30px 60px -40px rgba(43, 33, 28, .6); }
.dw-guide__zeichen { display: grid; place-items: center; width: 110px; height: 110px; border-radius: 50%; border: 7px solid #1f3b2d; font: 700 3.4rem Georgia, serif; color: #c0703a; }
.dw-guide__seite--falsch .dw-guide__zeichen { transform: scaleX(1.45); border-color: #e04b5a; color: #e04b5a; }
.dw-guide__seite p { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: #0b6b4a; }
.dw-guide__seite--falsch p { color: #b3202f; }
@media (prefers-reduced-motion: reduce) { .dw-werkstatt * { animation: none !important; } .dw-logo svg { stroke-dashoffset: 0; } }

/* Nummerierte Anleitung (Sign): Nummern ploppen nacheinander auf, die Linie zeichnet sich nach unten, der Text gleitet herein. */
.js .ein-schritte:not(.ist-da) > li { opacity: 0; }
.ein-schritte.ist-da > li { animation: liste-ein .7s cubic-bezier(.2, .8, .2, 1) calc(.15s + var(--i, 0) * 160ms) backwards; }
.ein-schritte.ist-da > li .sg-schritt-nr { animation: symbol-plopp .6s cubic-bezier(.2, .8, .2, 1.6) calc(.2s + var(--i, 0) * 160ms) backwards; }
.ein-schritte.ist-da > li .sg-schritt-linie { animation: linie-runter .5s ease-out calc(.4s + var(--i, 0) * 160ms) backwards; }
@keyframes linie-runter { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }

/* Vergleichstabellen: Zeile für Zeile von links, Häkchen springen auf, die eigene Spalte leuchtet kurz nach. */
table tr:nth-child(2) { --i: 1; } table tr:nth-child(3) { --i: 2; } table tr:nth-child(4) { --i: 3; } table tr:nth-child(5) { --i: 4; }
table tr:nth-child(6) { --i: 5; } table tr:nth-child(7) { --i: 6; } table tr:nth-child(8) { --i: 7; } table tr:nth-child(9) { --i: 8; } table tr:nth-child(n+10) { --i: 9; }
.js .ein-tabelle:not(.ist-da) :is(thead tr, tbody tr) { opacity: 0; }
.ein-tabelle.ist-da tbody tr { animation: liste-ein .6s cubic-bezier(.2, .8, .2, 1) calc(.15s + var(--i, 0) * 70ms) backwards; }
.ein-tabelle.ist-da thead tr { animation: ein-hoch .6s cubic-bezier(.2, .8, .2, 1) backwards; }
.ein-tabelle.ist-da td i.ph { animation: symbol-plopp .55s cubic-bezier(.2, .8, .2, 1.6) calc(.45s + var(--i, 0) * 70ms) backwards; }
@media (prefers-reduced-motion: reduce) { .ein-schritte li, .ein-schritte li *, .ein-tabelle tr, .ein-tabelle i { animation: none !important; opacity: 1 !important; } }

/* Chat leeren: dezenter Knopf neben dem Schließen-Kreuz, nur sichtbar, wenn es einen Verlauf gibt. */
.enjix .enjix-hd .enjix-leeren { display: grid; place-items: center; width: 30px; height: 30px; margin-right: 6px; padding: 0; color: #e6e7f5; }
/* Der Chat setzt für alle Kinder seine eigene Schrift; das Symbol braucht die Symbolschrift zurück. */
.enjix .enjix-hd .enjix-leeren i.ph { font-family: 'Phosphor' !important; font-size: 16px; font-style: normal; line-height: 1; }
.enjix .enjix-hd .enjix-leeren:hover { background: rgba(255, 90, 106, .18); border-color: rgba(255, 90, 106, .5); color: #fff; }
.enjix .enjix-hd .enjix-leeren[hidden] { display: none; }
.enjix .enjix-hd .enjix-leeren i.ph::before { font-family: 'Phosphor' !important; }

/* Kopf: Serverstatus und Suche als Symbole. Am Handy stehen beide neben dem Menü-Schalter. */
.sprung-text { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.kopf__symbol { position: relative; display: inline-grid; place-items: center; flex: none; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 12px; background: transparent; color: var(--text-2); font-size: 19px; text-decoration: none; cursor: pointer; transition: color .2s ease, background-color .2s ease; }
.kopf__symbol:hover, .kopf__symbol:focus-visible { color: var(--tinte); background: rgba(15, 16, 40, .06); }
.kopf--nacht .kopf__symbol { color: #c6c8de; }
.kopf--nacht .kopf__symbol:hover, .kopf--nacht .kopf__symbol:focus-visible { color: #fff; background: rgba(255, 255, 255, .1); }
.kopf__rechts .kopf__status { gap: 0; font-size: 19px; }
.kopf__rechts .kopf__status span { position: absolute; top: 8px; right: 7px; width: 7px; height: 7px; box-shadow: 0 0 0 2px var(--kopf-grund, #fff); }
.kopf--nacht .kopf__rechts .kopf__status span { --kopf-grund: #1b1c40; }
.kopf__rechts .kopf__status span::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: statusPuls 2.4s ease-out infinite; }
@keyframes statusPuls { 0% { transform: scale(1); opacity: .7; } 70%, 100% { transform: scale(2.6); opacity: 0; } }
.kopf__rechts .kopf__symbol + .kopf__sprache, .kopf__rechts .kopf__suche + .knopf { margin-left: 4px; }
@media (max-width: 1080px) {
    .kopf__rechts .kopf__status { display: inline-grid; }
    .kopf__rechts .kopf__symbol { width: 42px; height: 42px; border-radius: 13px; font-size: 20px; }
}
@media (max-width: 400px) {
    .kopf__rechts { gap: 3px; }
    .kopf__rechts .kopf__symbol, .kopf__rechts .kopf__ki { width: 36px; height: 40px; }
    .kopf__schalter { width: 40px; height: 40px; }
}
@media (max-width: 360px) {
    .kopf__logo img { height: 20px; }
}

/* Suchfenster: liegt über der Seite, Ergebnisse nach Seiten und Wissensartikeln getrennt. */
.suche { position: fixed; inset: 0; z-index: 80; display: flex; justify-content: center; align-items: flex-start; padding: min(14vh, 120px) 16px 16px; background: rgba(8, 9, 24, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .22s ease; }
.suche[hidden] { display: none; }
.suche.ist-offen { opacity: 1; }
.suche__fenster { width: min(640px, 100%); max-height: min(72vh, 640px); display: flex; flex-direction: column; overflow: hidden; border: 1px solid rgba(255, 255, 255, .1); border-radius: 22px; background: var(--nacht); color: #fff; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .8); transform: translateY(-10px) scale(.985); transition: transform .3s var(--aus); }
.suche.ist-offen .suche__fenster { transform: none; }
.suche__feld { display: flex; align-items: center; gap: 12px; padding: 0 12px 0 18px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.suche__feld > i { font-size: 21px; color: var(--flieder); }
.suche__feld input { flex: 1; min-width: 0; height: 62px; border: 0; outline: 0; background: transparent; color: #fff; font-family: inherit; font-weight: 400; font-size: 1.08rem; line-height: 1; }
.suche__feld input::placeholder { color: #8f93b5; }
.suche__feld input::-webkit-search-cancel-button { display: none; }
.suche__zu { display: inline-flex; align-items: center; gap: 6px; padding: 6px; border: 0; border-radius: 9px; background: transparent; color: #8f93b5; cursor: pointer; }
.suche__zu:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.suche__zu i { display: none; font-size: 20px; }
.suche kbd { display: inline-block; min-width: 22px; padding: 2px 6px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 6px; font: 500 11px var(--mono); color: #c6c8de; text-align: center; }
.suche__liste { overflow-y: auto; overscroll-behavior: contain; padding: 8px; }
.suche__liste:empty { display: none; }
.suche__gruppe { margin: 10px 10px 6px; font: 500 12px var(--mono); color: #8f93b5; }
.suche__treffer { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px; border-radius: 14px; color: #fff; text-decoration: none; }
.suche__treffer > i { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: rgba(255, 255, 255, .07); color: var(--flieder); font-size: 18px; }
.suche__treffer strong { display: block; overflow: hidden; font-weight: 500; font-size: .98rem; white-space: nowrap; text-overflow: ellipsis; }
.suche__treffer small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 2px; font-size: .84rem; line-height: 1.4; color: #a3a6c4; }
.suche__treffer mark { background: none; color: var(--flieder); }
.suche__treffer::after { content: ''; width: 8px; height: 8px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); opacity: 0; margin-right: 6px; transition: opacity .15s ease; }
.suche__treffer:hover, .suche__treffer[aria-selected="true"] { background: rgba(167, 151, 255, .12); }
.suche__treffer[aria-selected="true"]::after { opacity: .7; }
.suche__leer { padding: 18px 12px 14px; color: #a3a6c4; font-size: .95rem; }
.suche__schnell { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 10px 12px; }
.suche__schnell a { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 999px; color: #dcdcf0; font-size: .88rem; text-decoration: none; }
.suche__schnell a:hover { border-color: var(--flieder); color: #fff; }
.suche__schnell a i { color: var(--flieder); }
.suche__hinweis { display: flex; gap: 18px; margin: 0; padding: 11px 18px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .78rem; color: #8f93b5; }
.suche__hinweis span { display: inline-flex; align-items: center; gap: 4px; }
html.suche-offen { overflow: hidden; }
@media (max-width: 720px) {
    .suche { padding: 10px; background: rgba(8, 9, 24, .7); }
    .suche__fenster { max-height: calc(100dvh - 20px); border-radius: 18px; }
    .suche__zu kbd, .suche__hinweis { display: none; }
    .suche__zu i { display: block; }
}
@media (prefers-reduced-motion: reduce) {
    .suche, .suche__fenster { transition: none; }
    .kopf__rechts .kopf__status span::after { animation: none; }
}

/* Handy-Menü in zwei Stufen: erst Auswahl (Seiten, Fächer, Kontakt, Sprache), dann nur das gewählte Fach. */
.kopf__blatt-faecher { display: grid; gap: 8px; margin-top: 14px; }
.kopf__blatt .kopf__blatt-fach { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 14px; width: 100%; padding: 14px 14px 14px 12px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 18px; background: rgba(255, 255, 255, .04); color: #fff; font: inherit; text-align: left; cursor: pointer; opacity: 0; transform: translateY(10px); transition: opacity .45s var(--aus) calc(var(--n, 0) * 35ms), transform .45s var(--aus) calc(var(--n, 0) * 35ms), border-color .2s ease, background-color .2s ease; }
.kopf.ist-offen .kopf__blatt-fach { opacity: 1; transform: none; }
.kopf__blatt-fach:active, .kopf__blatt-fach:hover { border-color: rgba(167, 151, 255, .5); background: rgba(167, 151, 255, .1); }
.kopf__blatt-fach > i:first-child { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: rgba(167, 151, 255, .14); color: var(--flieder); font-size: 22px; }
.kopf__blatt-fach strong { display: block; font-weight: 500; font-size: 1.1rem; }
.kopf__blatt-fach small { display: block; overflow: hidden; margin-top: 2px; font-size: .82rem; color: #8f93b5; white-space: nowrap; text-overflow: ellipsis; }
.kopf__blatt-pfeil { font-size: 18px; color: #8f93b5; }
.kopf__blatt-fuss { margin-top: 6px; }
.kopf__blatt-teil[hidden], .kopf__blatt.ist-tief .kopf__blatt-start { display: none; }
.kopf__blatt-teil { animation: blattRein .38s var(--aus) both; }
.kopf__blatt-start.ist-zurueck { animation: blattZurueck .38s var(--aus) both; }
@keyframes blattRein { from { opacity: 0; transform: translateX(28px); } }
@keyframes blattZurueck { from { opacity: 0; transform: translateX(-28px); } }
.kopf__blatt .kopf__blatt-zurueck { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px -4px; padding: 9px 14px 9px 10px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; background: rgba(255, 255, 255, .05); color: #fff; font-family: inherit; font-weight: 500; font-size: .95rem; cursor: pointer; }
.kopf__blatt-zurueck i { font-size: 18px; color: var(--flieder); }
.kopf__blatt .kopf__blatt-titel { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; font-family: inherit; font-weight: 600; font-size: 1.6rem; line-height: 1.2; letter-spacing: -.02em; color: #fff; }
.kopf__blatt-titel i { font-size: 26px; color: var(--flieder); }
.kopf__blatt .kopf__blatt-liste a { justify-content: flex-start; gap: 14px; padding: 14px 2px; animation: blattEintrag .4s var(--aus) both; animation-delay: calc(var(--m, 0) * 40ms + 80ms); }
.kopf__blatt .kopf__blatt-liste a > i { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .06); color: var(--flieder); font-size: 20px; }
.kopf__blatt-liste strong { display: block; font-weight: 500; font-size: 1.04rem; }
.kopf__blatt-liste small { display: block; margin-top: 2px; font-size: .84rem; line-height: 1.35; color: #8f93b5; }
.kopf__blatt .kopf__blatt-ziel { justify-content: center; gap: 10px; margin-top: 20px; padding: 15px; border: 0; border-radius: 16px; background: #fff; color: var(--tinte); font-weight: 500; font-size: 1rem; animation: blattEintrag .4s var(--aus) both; animation-delay: calc(var(--m, 0) * 40ms + 80ms); }
.kopf__blatt .kopf__blatt-ziel i { color: var(--akzent); }
@keyframes blattEintrag { from { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) {
    .kopf__blatt-teil, .kopf__blatt-start.ist-zurueck, .kopf__blatt .kopf__blatt-liste a, .kopf__blatt .kopf__blatt-ziel { animation: none; opacity: 1; transform: none; }
}
/* Der Chat-Knopf liegt sonst über dem offenen Menü und dem Suchfenster. */
html.blatt-offen .enjix-fab, html.blatt-offen .enjix-win, html.suche-offen .enjix-fab, html.suche-offen .enjix-win { display: none !important; }

/* Vorlese-Leiste über Wissensartikeln */
.wb-vorlesen { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 0 0 22px; padding: 8px; border: 1px solid var(--linie); border-radius: 16px; background: #f7f6fc; }
.wb-vorlesen[hidden] { display: none; }
.wb-vorlesen button { display: inline-flex; align-items: center; gap: 8px; border: 0; font-family: inherit; cursor: pointer; }
.wb-vorlesen__start { padding: 9px 15px 9px 12px; border-radius: 11px; background: var(--akzent); color: #fff; font-weight: 500; font-size: .93rem; transition: background-color .2s ease; }
.wb-vorlesen__start:hover { background: var(--akzent-d); }
.wb-vorlesen__start i { font-size: 18px; }
.wb-vorlesen__dauer { font-size: .85rem; color: var(--text-2); }
.wb-vorlesen__tempo, .wb-vorlesen__stopp { margin-left: auto; min-width: 40px; justify-content: center; padding: 8px 10px; border-radius: 10px; background: #fff; color: var(--tinte); font: 500 .82rem var(--mono); box-shadow: inset 0 0 0 1px var(--linie); }
.wb-vorlesen__stopp { margin-left: 0; font-size: 16px; }
.wb-vorlesen.ist-aktiv .wb-vorlesen__start i { animation: vorlesenPuls 1.4s ease-in-out infinite; }
@keyframes vorlesenPuls { 50% { opacity: .45; } }
.wb-text .wb-liest { border-radius: 6px; background: linear-gradient(90deg, rgba(167, 151, 255, .22), rgba(167, 151, 255, .08)); box-shadow: -10px 0 0 rgba(167, 151, 255, .22); transition: background-color .3s ease; }
@media (prefers-reduced-motion: reduce) { .wb-vorlesen.ist-aktiv .wb-vorlesen__start i { animation: none; } }

/* Kurzantwort am Artikelanfang (neue Artikel): hervorgehoben, weil KI-Suchen genau diesen Absatz zitieren. */
.wb-text .wb-kurz { padding: 16px 18px; border-left: 3px solid var(--akzent); border-radius: 0 14px 14px 0; background: var(--akzent-hell); }

/* Enjix: kein Eckknopf mehr, Aufruf über den Kopf; am Desktop als Panel am rechten Rand. */
.enjix-fab { display: none !important; }
.kopf__ki { display: inline-flex; align-items: center; gap: 7px; flex: none; height: 38px; padding: 0 13px 0 11px; border: 1px solid rgba(90, 63, 224, .22); border-radius: 12px; background: linear-gradient(135deg, rgba(90, 63, 224, .1), rgba(167, 151, 255, .14)); color: var(--akzent); font: 500 13.5px inherit; font-family: inherit; cursor: pointer; transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
.kopf__ki[hidden] { display: none; }
.kopf__ki i { font-size: 17px; }
.kopf__ki:hover { border-color: var(--akzent); }
.kopf--nacht .kopf__ki { border-color: rgba(167, 151, 255, .35); background: rgba(167, 151, 255, .12); color: #e4dfff; }
.kopf--nacht .kopf__ki:hover { border-color: var(--flieder); color: #fff; }
.kopf__ki i { animation: kiFunkeln 4s ease-in-out infinite; }
@keyframes kiFunkeln { 0%, 80%, 100% { transform: none; } 88% { transform: rotate(18deg) scale(1.15); } }
.kopf__ki span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.kopf__ki { position: relative; width: 38px; padding: 0; justify-content: center; }
.kopf__ki i { font-size: 18px; }
@media (max-width: 1080px) { .kopf__ki { width: 42px; height: 42px; border-radius: 13px; } .kopf__ki i { font-size: 20px; } }
.kopf__blatt .kopf__blatt-ki { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: center; gap: 14px; width: 100%; margin: 4px 0 0; padding: 12px 14px 12px 12px; border: 1px solid rgba(167, 151, 255, .35); border-radius: 18px; background: linear-gradient(135deg, rgba(90, 63, 224, .28), rgba(167, 151, 255, .1)); color: #fff; font: inherit; text-align: left; cursor: pointer; opacity: 0; transform: translateY(10px); transition: opacity .45s var(--aus) calc(var(--n, 0) * 35ms), transform .45s var(--aus) calc(var(--n, 0) * 35ms); }
.kopf__blatt .kopf__blatt-ki[hidden] { display: none; }
.kopf.ist-offen .kopf__blatt-ki { opacity: 1; transform: none; }
.kopf__blatt-ki > i { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: rgba(255, 255, 255, .1); color: #e4dfff; font-size: 22px; }
.kopf__blatt-ki strong { display: block; font-weight: 500; font-size: 1.05rem; }
.kopf__blatt-ki small { display: block; margin-top: 2px; font-size: .82rem; color: #b9b5e6; }
.suche__treffer--ki > i { background: linear-gradient(135deg, var(--akzent), var(--flieder)); color: #fff; }
@media (min-width: 501px) {
    html .enjix-win { top: 88px; bottom: auto; left: auto; right: 16px; width: min(420px, calc(100vw - 32px)); height: var(--ej-hoehe, min(480px, calc(100vh - 104px))); max-height: calc(100vh - 104px); border-radius: 22px; transform: translateY(-14px) scale(.98); transform-origin: 100% 0; transition: opacity .25s ease, transform .35s var(--aus), height .5s var(--aus); }
    html .enjix-win.open { transform: none; }
    html .enjix-win.ist-gezogen { transition: opacity .25s ease, transform .35s var(--aus); user-select: none; }
}
/* Griff am unteren Rand zum Aufziehen; am Handy ist der Chat ohnehin bildschirmfüllend. */
.enjix-win .ej-griff { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; height: 12px; cursor: ns-resize; touch-action: none; }
.enjix-win .ej-griff::before { content: ''; position: absolute; left: 50%; bottom: 4px; width: 44px; height: 4px; margin-left: -22px; border-radius: 4px; background: rgba(15, 16, 40, .18); transition: background-color .2s ease, width .2s ease, margin .2s ease; }
.enjix-win .ej-griff:hover::before, .enjix-win .ej-griff:focus-visible::before, .enjix-win.ist-gezogen .ej-griff::before { width: 64px; margin-left: -32px; background: var(--akzent); }
.enjix-win .ej-griff:focus-visible { outline: none; }
.enjix .enjix-hd .ej-gross { display: grid; place-items: center; width: 30px; height: 30px; margin-right: 6px; padding: 0; color: #e6e7f5; }
.enjix .enjix-hd .ej-gross i.ph, .enjix .enjix-hd .ej-gross i.ph::before { font-family: 'Phosphor' !important; font-size: 16px; font-style: normal; line-height: 1; }
@media (max-width: 500px) { .enjix-win .ej-griff, .enjix .enjix-hd .ej-gross { display: none; } }
@media (prefers-reduced-motion: reduce) { .kopf__ki i { animation: none; } }
.wb-vorlesen__stimme { max-width: 190px; margin-left: auto; padding: 8px 28px 8px 10px; border: 0; border-radius: 10px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath fill='%234b4f6b' d='M213.66 101.66l-80 80a8 8 0 0 1-11.32 0l-80-80a8 8 0 0 1 11.32-11.32L128 164.69l74.34-74.35a8 8 0 0 1 11.32 11.32Z'/%3E%3C/svg%3E") no-repeat right 9px center / 13px; box-shadow: inset 0 0 0 1px var(--linie); color: var(--tinte); font: 500 .82rem inherit; font-family: inherit; appearance: none; -webkit-appearance: none; cursor: pointer; }
.wb-vorlesen__stimme[hidden] { display: none; }
.wb-vorlesen__stimme:not([hidden]) + .wb-vorlesen__tempo { margin-left: 0; }
@media (max-width: 520px) { .wb-vorlesen__stimme { max-width: 140px; } }

/* Handy und Tablet: Status, Suche und Enjix rücken eng zusammen, mit etwas Abstand zum Menü-Schalter. */
@media (max-width: 1080px) {
    .kopf__rechts { gap: 0; }
    .kopf__rechts .kopf__symbol, .kopf__rechts .kopf__ki { width: 38px; }
    .kopf__rechts .kopf__ki { margin-left: 2px; }
    .kopf__rechts .kopf__schalter, .kopf__rechts .knopf { margin-left: 8px; }
}
@media (max-width: 720px) {
    .kopf__rechts .kopf__symbol, .kopf__rechts .kopf__ki { width: 36px; }
}
/* Farbe des Status-Punkts nach Lage der Statusseite (sn.js setzt die Klasse). */
.kopf__rechts .kopf__status.status--gut span, .kopf--nacht .kopf__rechts .kopf__status.status--gut span { background: #34d399; }
.kopf__rechts .kopf__status.status--warn span, .kopf--nacht .kopf__rechts .kopf__status.status--warn span { background: #f5a524; }
.kopf__rechts .kopf__status.status--stoerung span, .kopf--nacht .kopf__rechts .kopf__status.status--stoerung span { background: #ff5a6a; }
.kopf__rechts .kopf__status.status--stoerung span::after { animation-duration: 1.2s; }
/* Desktop: die drei Symbole als enge Gruppe, Sprache und Kontakt mit Abstand dahinter. */
@media (min-width: 1081px) {
    .kopf__rechts { gap: 2px; }
    .kopf__rechts .kopf__ki { margin-left: 2px; }
    .kopf__rechts .kopf__sprache { margin-left: 14px; }
    .kopf__rechts .knopf { margin-left: 14px; }
}

/* Kein Nachrichtenzähler mehr im Chat-Kopf; erreicht jemand das Limit, steht der Hinweis im Chat. */
.enjix .enjix-rl, .enjix-rl { display: none !important; }

/* Artikel-Rückmeldung am Ende jedes Wissensartikels */
.wb-hilfe { margin: 34px 0 6px; padding: 18px 20px; border: 1px solid var(--linie); border-radius: 18px; background: linear-gradient(135deg, #f7f6fc, #efecff); }
.wb-hilfe .wb-hilfe__schritt[hidden] { display: none; }
.wb-hilfe__schritt[data-schritt="frage"] { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 18px; }
.wb-hilfe__frage { display: block; margin: 0; font-weight: 600; font-size: 1.02rem; color: var(--tinte); }
.wb-hilfe__knoepfe { display: flex; gap: 8px; }
.wb-hilfe button { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1px solid var(--linie-2); border-radius: 12px; background: #fff; color: var(--tinte); font: inherit; font-weight: 500; font-size: .93rem; cursor: pointer; transition: border-color .2s ease, background-color .2s ease, color .2s ease; }
.wb-hilfe button i { font-size: 18px; color: var(--akzent); }
.wb-hilfe button:hover { border-color: var(--akzent); background: var(--akzent-hell); }
.wb-hilfe__form { display: grid; gap: 10px; }
.wb-hilfe__form textarea { width: 100%; padding: 11px 13px; border: 1px solid var(--linie-2); border-radius: 12px; background: #fff; font: inherit; font-size: .95rem; resize: vertical; }
.wb-hilfe__form textarea:focus { outline: none; border-color: var(--akzent); box-shadow: 0 0 0 3px rgba(90, 63, 224, .15); }
.wb-hilfe__form button[type="submit"] { justify-self: start; border-color: var(--akzent); background: var(--akzent); color: #fff; }
.wb-hilfe__form button[type="submit"] i { color: #fff; }
.wb-hilfe__form button[type="submit"]:hover { background: var(--akzent-d); }
.wb-hilfe__danke { display: flex; align-items: center; gap: 12px; }
.wb-hilfe__danke > i { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 11px; background: rgba(47, 158, 110, .14); color: #2f9e6e; font-size: 19px; }
.wb-hilfe__danke p { margin: 0; color: var(--text-2); }
.wb-hilfe .wb-hilfe__enjix { display: inline; padding: 0; border: 0; background: none; color: var(--akzent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.wb-hilfe .wb-hilfe__enjix:not([hidden]) + .wb-hilfe__ohne-enjix { display: none; }
.wb-hilfe .wb-hilfe__enjix[hidden] { display: none; }

/* Note nach dem Kontaktformular */
.kt-note { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--linie); }
.kt-note__frage { margin: 0 0 10px; font-weight: 600; color: var(--tinte); }
.kt-note__reihe { display: grid; grid-template-columns: repeat(5, minmax(0, 52px)); gap: 8px; }
.kt-note__reihe button { height: 46px; border: 1px solid var(--linie-2); border-radius: 12px; background: #fff; color: var(--tinte); font: inherit; font-weight: 600; font-size: 1.02rem; cursor: pointer; transition: border-color .2s ease, background-color .2s ease, color .2s ease; }
.kt-note__reihe button:hover, .kt-note__reihe button:focus-visible { border-color: var(--akzent); background: var(--akzent); color: #fff; }
.kt-note__skala { display: flex; justify-content: space-between; max-width: 292px; margin: 6px 0 0; font-size: .78rem; color: var(--text-3, #8a8da8); }
.kt-note__danke { display: flex; align-items: center; gap: 8px; margin: 0; color: #2f9e6e; font-weight: 500; }

/* Daumen unter Antworten von Enjix (der Chat setzt eine eigene Schrift, Symbole brauchen ihre zurück) */
.enjix .ej-daumen { display: flex; align-items: center; gap: 4px; margin-top: 8px; font-size: 12px; color: #8a8da8; }
.enjix .ej-daumen button { display: grid; place-items: center; width: 28px; height: 26px; padding: 0; border: 1px solid transparent; border-radius: 8px; background: transparent; color: #8a8da8; cursor: pointer; transition: color .2s ease, background-color .2s ease, border-color .2s ease; }
.enjix .ej-daumen button:hover { color: #5a3fe0; background: #efecff; border-color: #d9d2ff; }
.enjix .ej-daumen i.ph, .enjix .ej-daumen i.ph::before { font-family: 'Phosphor' !important; font-size: 15px; font-style: normal; line-height: 1; }
.enjix .ej-daumen.ist-danke { color: #2f9e6e; }

/* Themenwunsch in der Suche, wenn es keine Treffer gibt */
.suche__wunsch { display: inline-flex; align-items: center; gap: 9px; margin: 0 10px 12px; padding: 10px 14px; border: 1px dashed rgba(167, 151, 255, .5); border-radius: 12px; background: rgba(167, 151, 255, .08); color: #e4dfff; font: inherit; font-size: .92rem; cursor: pointer; transition: background-color .2s ease, border-color .2s ease; }
.suche__wunsch i { color: var(--flieder); font-size: 18px; }
.suche__wunsch:hover { border-color: var(--flieder); background: rgba(167, 151, 255, .16); }
.suche__wunsch:disabled { cursor: default; border-style: solid; color: #b9f0d6; }
.suche__wunsch:disabled i { color: #34d399; }

/* Artikelende: passende Leistung und verwandte Artikel */
.wb-mehr { display: grid; gap: 22px; margin: 38px 0 0; }
.wb-leistung { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 18px; background: var(--nacht) radial-gradient(120% 140% at 100% 0, rgba(90, 63, 224, .5), transparent 62%); color: #fff; text-decoration: none; transition: transform .25s var(--aus), box-shadow .25s ease; }
.wb-leistung:hover { transform: translateY(-2px); box-shadow: 0 22px 44px -26px rgba(15, 16, 40, .7); }
.wb-leistung > i:first-child { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; background: rgba(167, 151, 255, .16); color: var(--flieder); font-size: 26px; }
.wb-leistung small { display: block; font: 500 12px var(--mono); color: var(--flieder); }
.wb-leistung strong { display: block; margin: 3px 0 2px; font-size: 1.12rem; font-weight: 600; letter-spacing: -.01em; color: #fff; }
.wb-leistung span span { display: block; font-size: .93rem; line-height: 1.45; color: #c6c8de; }
.wb-leistung__pfeil { font-size: 22px; color: #fff; transition: transform .25s var(--aus); }
.wb-leistung:hover .wb-leistung__pfeil { transform: translateX(4px); }
.wb-verwandt h2 { margin: 0 0 10px; font-size: 1.05rem; font-weight: 600; color: var(--tinte); }
.wb-verwandt ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.wb-verwandt a { display: flex; align-items: center; gap: 10px; height: 100%; padding: 11px 13px; border: 1px solid var(--linie); border-radius: 13px; background: #fff; color: var(--tinte); font-size: .93rem; font-weight: 500; line-height: 1.35; text-decoration: none; transition: border-color .2s ease, background-color .2s ease; }
.wb-verwandt a i { flex: none; font-size: 18px; color: var(--akzent); }
.wb-verwandt a:hover { border-color: var(--akzent); background: var(--akzent-hell); }
@media (max-width: 640px) { .wb-verwandt ul { grid-template-columns: 1fr; } .wb-leistung { grid-template-columns: 44px minmax(0, 1fr); } .wb-leistung > i:first-child { width: 44px; height: 44px; font-size: 22px; } .wb-leistung__pfeil { display: none; } }
.wb-artikel .wb-mehr { width: 100%; max-width: none; }
.wb-mehr .wb-leistung, .wb-mehr .wb-verwandt, .wb-mehr .wb-verwandt ul { width: 100%; max-width: none; box-sizing: border-box; }

/* Hinweis über Artikeln, die in der gewählten Sprache nur englisch vorliegen */
.wb-sprachhinweis { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 18px; padding: 12px 16px; border: 1px solid var(--linie); border-radius: 14px; font-size: .92rem; line-height: 1.5; color: var(--text-2); }
.wb-sprachhinweis i { flex-shrink: 0; margin-top: 2px; font-size: 1.1rem; color: var(--akzent); }
