/* Startseite (Onepager, 29.10.2026) - ersetzt die Rezeption.
 *
 * Freigegeben vom Betreiber im Entwurf _werkzeuge/startseite-entwurf/ (Fassung "Fotoband"): oben die Hotel-Szene mit
 * EINER Karte fuer Einchecken und Registrieren, darunter ein Fotoband und die Neuigkeiten, unten eine schlichte
 * Fussleiste. Keine Kopfleiste, kein Menue, keine Warteschlange. Wer eincheckt oder sich registriert, laeuft mit
 * seinem Avatar ins Hotel (Kamera faehrt heran), der Tuersteher tritt beiseite, dann blendet die Seite in Schwarz aus.
 *
 * Handgeschriebenes CSS mit eigenen Namen (sn- = Startseite neu), wie bei rezeption.css: Im gebauten Tailwind-Bundle
 * fehlen die Groessen und Animationen, und eigene Namen kann Tailwind nicht ueberschreiben.
 *
 * Ein Design ist nur eine Haut (docs/cms/jahreszeiten-design.md): Aufbau und Bausteine gibt es genau einmal, ein
 * Design setzt nur die Marken unten. Das Design steht als data-design am .sn (StartseitenDesign::aktiv()).
 */

/* ---------- Ausbruch aus dem Raster des Layouts auf volle Breite (wie .rezeption-voll) ---------- */
.sn-voll {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-top: -1.5rem;
    margin-bottom: -1.5rem;
    width: 100vw;
    max-width: 100vw;
}
@media (max-width: 767px) {
    .sn-voll { margin-top: calc(-1.5rem - 40px); }
}

/* ---------- Designs: nur Marken ---------- */
.sn {
    --sn-schrift: 'Ubuntu', 'Trebuchet MS', 'Segoe UI', sans-serif;
    --himmel-oben: #3a97d6; --himmel-unten: #b5e2f8;
    --wolke-filter: none; --szene-filter: none;
    --grund: #f3f5f8; --linie: #e3e8ee;
    --karte: #ffffff; --karte-rand: #e6ebf0; --text: #22313c; --text-leise: #66788a; --verweis: #1677b8;
    --akzent: #1677b8; --akzent-dunkel: #0e5487; --akzent-text: #ffffff;
    --feld: #f4f7fa; --feld-rand: #d6e0e8; --feld-text: #22313c;
    --knopf: #3aa835; --knopf-hell: #58c44f; --knopf-dunkel: #237a22; --knopf-text: #ffffff;
    --blase: #e3f6dc; --blase-rand: #a9dd98; --blase-text: #1d5a12;
    --schatten: 0 1px 2px rgba(20, 40, 60, .05), 0 6px 18px rgba(20, 40, 60, .07);
    --schatten-hoch: 0 2px 6px rgba(20, 40, 60, .08), 0 22px 48px rgba(20, 40, 60, .18);
    --fuss: #0e2233; --fuss-text: #d7e6f2; --fuss-leise: #7d98ad;
    --deko-sterne: 0; --deko-fledermaus: 0;
}
.sn[data-design="halloween"] {
    --himmel-oben: #12082a; --himmel-unten: #4a2a70;
    --wolke-filter: brightness(.42) saturate(.6) hue-rotate(210deg);
    --szene-filter: brightness(.62) saturate(.85) hue-rotate(-8deg);
    --grund: #17131d; --linie: #31283d;
    --karte: #241e2e; --karte-rand: #3a2f48; --text: #eee8f5; --text-leise: #a99cb8; --verweis: #ffa24a;
    --akzent: #ff8c1a; --akzent-dunkel: #c4620a; --akzent-text: #1a0d2b;
    --feld: #1b1623; --feld-rand: #43375a; --feld-text: #eee8f5;
    --knopf: #7bd23a; --knopf-hell: #9be85e; --knopf-dunkel: #4f9420; --knopf-text: #1a0d2b;
    --blase: #2c4a17; --blase-rand: #5f9a2a; --blase-text: #d6ffb0;
    --schatten: 0 1px 2px rgba(0, 0, 0, .4), 0 6px 18px rgba(0, 0, 0, .35);
    --schatten-hoch: 0 2px 6px rgba(0, 0, 0, .5), 0 22px 48px rgba(0, 0, 0, .55);
    --fuss: #0f0918; --fuss-text: #e2d6f2; --fuss-leise: #8b7aa3;
    --deko-sterne: 1; --deko-fledermaus: 1;
}
/* Herbst "Goldener Oktober" (31.10.2026, vom Betreiber in der Vorschau gewaehlt): hell und warm, Himmel von Blau zu
   Gold (mehrstufig, darum --himmel-verlauf), Buesche bunt mit Laub auf dem Pflaster (eigene Bilder ueber --szene-bild
   und --buesche-bild, erzeugt von _werkzeuge/jahreszeiten/herbst-ausliefern.mjs), fallende Blaetter (startseite.js). */
.sn[data-design="herbst"] {
    --himmel-oben: #56a0d6; --himmel-unten: #f6c584;
    --himmel-verlauf: linear-gradient(#56a0d6, #86b8da 30%, #c8d0c4 58%, #f0d29c 82%, #f6c584);
    --wolke-filter: brightness(.94) sepia(.55) saturate(1.2) brightness(1.07);
    --szene-bild: url('/assets/images/startseite/herbst/eingang-links.png');
    --buesche-bild: url('/assets/images/startseite/herbst/buesche-rechts.png');
    --grund: #f7f1e8; --linie: #eadfce;
    --karte: #fffdf9; --karte-rand: #eadfcf; --text: #3a2a1e; --text-leise: #8a7462; --verweis: #b4541a;
    --akzent: #c8611c; --akzent-dunkel: #9a4512; --akzent-text: #ffffff;
    --feld: #fbf6ef; --feld-rand: #e2d3bf; --feld-text: #3a2a1e;
    --knopf: #e2741f; --knopf-hell: #f39a45; --knopf-dunkel: #a8500f; --knopf-text: #ffffff;
    --schatten: 0 1px 2px rgba(60, 30, 10, .06), 0 6px 18px rgba(60, 30, 10, .08);
    --schatten-hoch: 0 2px 6px rgba(60, 30, 10, .10), 0 22px 48px rgba(60, 30, 10, .20);
    --fuss: #2e1d14; --fuss-text: #f1e2d2; --fuss-leise: #b49a83;
}

/* Fussleiste immer unten: die Seite ist mindestens so hoch wie das Fenster, der Inhalt fuellt den Rest. */
.sn {
    display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh;
    background: var(--grund); color: var(--text); font: 14px/1.5 var(--sn-schrift);
}
.sn a { color: var(--verweis); }
.sn-innen { width: 100%; max-width: 1180px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.sn-pixel { image-rendering: pixelated; flex: none; display: inline-block; max-width: none; height: auto; }
.sn [hidden] { display: none !important; }

/* ---------- Hotel-Szene ---------- */
.sn-kopfbereich { position: relative; }
.sn-buehne { position: relative; isolation: isolate; overflow: hidden; height: 620px; background: var(--himmel-verlauf, linear-gradient(var(--himmel-oben), var(--himmel-unten))); transition: height .55s cubic-bezier(.22, .61, .36, 1); }
/* Beim Hineingehen fuellt die Szene das ganze Fenster, und Fotos, Neuigkeiten und Fussleiste blenden aus (Betreiber 29.10.:
   "wenn der zoom kommt sollen die Fotos nicht mehr zu sehen sein unten"). */
.sn-kopfbereich.kamera-heran .sn-buehne { height: 100vh; height: 100dvh; }
.sn-kopfbereich.sofort .sn-buehne { transition: none; }
.sn-inhalt, .sn-fuss { transition: opacity .35s ease; }
.sn-kopfbereich.kamera-heran ~ .sn-inhalt, .sn-kopfbereich.kamera-heran ~ .sn-fuss { opacity: 0; pointer-events: none; }
/* Sterne wie im Halloween-Design des Spielerbereichs (design-halloween.css, .jz-stern) */
.sn-sterne { position: absolute; inset: 0; opacity: var(--deko-sterne); pointer-events: none; }
.sn-sterne i { position: absolute; width: 1px; height: 1px; background: #fff6d8; animation: sn-funkeln var(--dauer, 2.6s) steps(1) infinite; }
.sn-sterne i.matt { background: #beaadc; }
.sn-sterne i.gross { width: 3px; height: 3px; background: none; }
.sn-sterne i.gross::before, .sn-sterne i.gross::after { content: ""; position: absolute; background: #fff6d8; }
.sn-sterne i.gross::before { left: 1px; top: 0; width: 1px; height: 3px; }
.sn-sterne i.gross::after { left: 0; top: 1px; width: 3px; height: 1px; }
@keyframes sn-funkeln { 0%, 100% { opacity: 1; } 40% { opacity: .15; } 70% { opacity: .55; } }

/* Habbos eigene Wolken in vier echten Groessen: drei aus der Hotelansicht (87, 178, 233 breit) und die Raumwolke
   roombg_cloud (146). Nie hochgerechnet - doppelte Wolken waren dem Betreiber "viel zu gross". Die Ebene liegt
   HINTER dem Hotel (Wolken 0, Welt 1). Gezogen wird vom Browser selbst (CSS-Animation), das bleibt fliessend. */
.sn-wolken { position: absolute; inset: 0; z-index: 0; pointer-events: none; filter: var(--wolke-filter); }
.sn-wolke {
    position: absolute; left: 0; top: 0; background: var(--bild) 0 0 no-repeat; image-rendering: pixelated; will-change: transform;
    animation: sn-wolke var(--dauer) linear var(--start) infinite;
}
@keyframes sn-wolke {
    from { transform: translate3d(var(--von), var(--y), 0) scaleX(var(--spiegel)); }
    to { transform: translate3d(var(--bis), var(--y), 0) scaleX(var(--spiegel)); }
}

/* Die Welt (Buesche, Eingang) faehrt beim Hineingehen heran - Bezugspunkt links unten, Faktor ganzzahlig 2 wie in der
   Rezeption, damit die Pixel sauber bleiben. */
.sn-welt { position: absolute; inset: 0; z-index: 1; transform-origin: 0 100%; transition: transform .55s cubic-bezier(.22, .61, .36, 1); }
.sn-kopfbereich.kamera-heran .sn-welt { transform: scale(2); }
.sn-kopfbereich.sofort .sn-welt { transition: none; }
.sn-buesche { position: absolute; right: 0; bottom: 0; width: 526px; height: 407px; background: var(--buesche-bild, url('/assets/images/rezeption/buesche-rechts.png')) no-repeat; image-rendering: pixelated; filter: var(--szene-filter); }
.sn-szene { position: absolute; left: 0; bottom: 0; width: 1006px; height: 998px; background: var(--szene-bild, url('/assets/images/rezeption/eingang-links.png')) no-repeat; image-rendering: pixelated; filter: var(--szene-filter); }
/* Markise, Saeule und Kordelpfosten liegen VOR den Figuren - sie gehen darunter hindurch. */
.sn-vorne { position: absolute; inset: 0; z-index: 2000; background: url('/assets/images/rezeption/eingang-vorne.png') no-repeat; image-rendering: pixelated; pointer-events: none; }
.sn-figur { position: absolute; width: 64px; height: 110px; background: no-repeat 0 0 / 256px 110px; image-rendering: pixelated; pointer-events: none; opacity: 0; transition: opacity .3s; }
.sn-figur.weg { transition-duration: .6s; }
.sn-tuersteher { position: absolute; width: 64px; height: 110px; background: url('/assets/images/wartung/tuersteher.png') no-repeat 0 0; image-rendering: pixelated; pointer-events: none; }
.sn-tuersteher.winkt { background-image: url('/assets/images/wartung/tuersteher-winkt.png'); }
.sn-sprechblase { position: absolute; z-index: 3000; transform: translate(-50%, -100%); padding: 2px 7px; border: 1px solid #000; border-radius: 6px; background: #fff; color: #111; font: 11px/1.35 var(--sn-schrift); white-space: nowrap; box-shadow: 0 2px 0 rgba(0, 0, 0, .25); animation: sn-sprechblase 2.6s forwards; }
.sn-sprechblase b { margin-right: 3px; }
.sn-sprechblase::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 8px; height: 8px; background: #fff; border-right: 1px solid #000; border-bottom: 1px solid #000; transform: translateX(-50%) rotate(45deg); }
@keyframes sn-sprechblase { 0% { opacity: 0; margin-top: 6px; } 8%, 85% { opacity: 1; margin-top: 0; } 100% { opacity: 0; margin-top: -8px; } }
/* Fledermaeuse wie im Spielerbereich (design-halloween.js): 19x8 Pixel, zwei Fluegelbilder */
.sn-fledermaus { position: absolute; z-index: 2; left: 0; top: 0; width: 19px; height: 8px; opacity: var(--deko-fledermaus); pointer-events: none; }
.sn-fledermaus svg { display: block; shape-rendering: crispEdges; }
/* Fallende Blaetter im Herbst (startseite.js, nur bei data-design="herbst"): 9 x 9, vier Bilder je Blatt nebeneinander */
.sn-blaetter { position: absolute; inset: 0; z-index: 5; overflow: hidden; pointer-events: none; }
.sn-blaetter i { position: absolute; left: 0; top: 0; width: 9px; height: 9px; background-repeat: no-repeat; image-rendering: pixelated; will-change: transform; }

/* Zum Schluss blendet die ganze Seite in Schwarz aus, dann geht es ins Hotel bzw. zur Registrierung. */
.sn-vorhang { position: fixed; inset: 0; z-index: 100; background: #000; opacity: 0; pointer-events: none; transition: opacity .8s ease; }
.sn-vorhang.zu { opacity: 1; pointer-events: auto; }

/* ---------- Die Karte: Logo, Hotel-Status, Einchecken, Registrieren ---------- */
.sn-karte {
    position: absolute; z-index: 6; top: calc(50% - 16px); right: max(24px, calc((100% - 1180px) / 2 + 16px)); transform: translateY(-50%);
    width: 380px; padding: 18px 24px 20px; border: 1px solid var(--karte-rand); border-radius: 18px;
    background: var(--karte); color: var(--text); box-shadow: var(--schatten-hoch); transition: opacity .45s;
}
.sn-kopfbereich.kamera-heran .sn-karte { opacity: 0; pointer-events: none; }
.sn-karte-oben { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
/* Logo aus der Logo-Verwaltung, gezeigt 83 hoch wie in der Rezeption. Halloween: derselbe Kontrastfilter wie im
   Spielerbereich (design-halloween.css). */
.sn-logo { display: block; width: auto; height: 83px; max-width: none; }
.sn[data-design="halloween"] .sn-logo { filter: contrast(1.2) saturate(1.35) brightness(1.08) drop-shadow(0 0 1px rgba(0, 0, 0, .9)) drop-shadow(0 0 7px rgba(255, 140, 30, .45)); }
/* Hotel-Status als Sprechblase mit Spitze zum Logo: gruen und leuchtendes Hotel (28x33), wenn der Emulator laeuft
   (HotelStatusService), sonst grau mit dem grauen Hotel (21x28). */
.sn-status {
    position: relative; display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 14px 0 12px; margin-left: 10px;
    border: 1px solid var(--blase-rand); border-radius: 12px; background: var(--blase); color: var(--blase-text);
    font-size: 15px; font-weight: 700; white-space: nowrap; box-shadow: var(--schatten), inset 0 -3px 0 rgba(0, 0, 0, .06);
}
.sn-status.aus { --blase: var(--karte); --blase-rand: var(--karte-rand); --blase-text: var(--text-leise); }
.sn-status::before { content: ""; position: absolute; left: -7px; top: 50%; width: 12px; height: 12px; margin-top: -6px; background: var(--blase); border-left: 1px solid var(--blase-rand); border-bottom: 1px solid var(--blase-rand); transform: rotate(45deg); box-shadow: -3px 3px 4px rgba(20, 40, 60, .06); }
.sn-karte h1 { margin: 0 0 4px; font-size: 25px; line-height: 1.15; font-weight: 700; letter-spacing: -.01em; color: var(--text); }
.sn-unterzeile { margin: 0 0 14px; font-size: 13px; color: var(--text-leise); }
.sn-formular { display: flex; flex-direction: column; gap: 8px; }
/* Pixel-Symbole (Figur 41x22, Schloss 25x30) in Originalgroesse, mittig in einem gemeinsamen 41 Punkte breiten Platz */
.sn-feld { position: relative; display: block; }
.sn-feld .sn-symbol { position: absolute; left: 8px; top: 0; bottom: 0; width: 41px; display: grid; place-items: center; pointer-events: none; }
.sn-feld input {
    width: 100%; height: 42px; padding: 0 12px 0 54px; border: 1px solid var(--feld-rand); border-radius: 10px;
    background: var(--feld); color: var(--feld-text); font: 14px var(--sn-schrift); box-shadow: none;
}
.sn-feld input::placeholder { color: var(--text-leise); opacity: .9; }
.sn-feld input:focus { outline: none; border-color: var(--akzent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--akzent) 22%, transparent); }
/* Vom Browser ausgefuellt (gespeicherte Anmeldedaten): Chrome faerbt das Feld sonst hellblau - im dunklen Design ein
   greller Fleck. Der Innenschatten deckt die Browserfarbe mit der Feldfarbe zu; mit Fokus kommt der Ring dazu. */
.sn-feld input:-webkit-autofill { -webkit-box-shadow: inset 0 0 0 100px var(--feld); -webkit-text-fill-color: var(--feld-text); caret-color: var(--feld-text); }
.sn-feld input:-webkit-autofill:focus { -webkit-box-shadow: inset 0 0 0 100px var(--feld), 0 0 0 3px color-mix(in srgb, var(--akzent) 22%, transparent); }
/* Auge im Passwortfeld (20x12, Originalgroesse): halb geschlossen = verborgen, offen = sichtbar */
.sn-feld.mit-auge input { padding-right: 48px; }
.sn-auge { position: absolute; right: 6px; top: 0; bottom: 0; width: 36px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 8px; background: none; cursor: pointer; opacity: .85; transition: opacity .15s; }
.sn-auge:hover, .sn-auge[aria-pressed="true"] { opacity: 1; }
.sn-auge:focus { outline: none; }
.sn-auge:focus-visible { box-shadow: inset 0 0 0 2px var(--akzent); }
.sn-zeile { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 12px; color: var(--text-leise); }
.sn-zeile a { text-decoration: none; }
.sn-merken { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
/* "Angemeldet bleiben": eigenes Kaestchen statt des nackten Browser-Kaestchens (Betreiber 29.10.2026: "der button sieht
   auch billig aus") - rund wie die Felder, angehakt in der Akzentfarbe des Designs. Der Haken ist ein Hintergrundbild,
   weil Firefox an Eingabefeldern kein ::after zeichnet; im Halloween-Design dunkel auf Orange (--akzent-text). */
.sn-merken input {
    appearance: none; -webkit-appearance: none; flex: none; width: 18px; height: 18px; margin: 0; cursor: pointer;
    border: 2px solid var(--feld-rand); border-radius: 6px; background: var(--feld) center / 12px 12px no-repeat;
    transition: background-color .15s, border-color .15s, box-shadow .15s;
}
.sn-merken:hover input { border-color: var(--akzent); }
.sn-merken input:checked { border-color: var(--akzent); background-color: var(--akzent); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.4 6.3 4.9 8.7 9.6 3.6' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.sn[data-design="halloween"] .sn-merken input:checked { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.4 6.3 4.9 8.7 9.6 3.6' fill='none' stroke='%231a0d2b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
/* Kein blauer Ring beim Anklicken: Tailwinds Formular-Grundregeln ([type='checkbox']:focus) legen sonst einen blauen
   Ring um das Kaestchen (Betreiber 29.10.2026: "wieso aber diese blaue umrandung?"). Nur bei Tastatur ein Ring in der
   Akzentfarbe. */
.sn-merken input:focus { outline: none; box-shadow: none; }
.sn-merken input:focus-visible { outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--akzent) 30%, transparent); }
.sn-knopf-blau { height: 44px; border: 0; border-radius: 10px; cursor: pointer; background: var(--akzent); color: var(--akzent-text); font: 700 14px var(--sn-schrift); box-shadow: inset 0 -3px 0 var(--akzent-dunkel); }
.sn-knopf-blau:hover { filter: brightness(1.07); }
/* "oder" und darunter Discord/Passkey als zwei gleich breite Knoepfe mit Bild (Betreiber 29.10.2026: "muss auch schoener
   gemacht werden" - vorher zwei kleine Textverweise). Blendet passkeys.js den Passkey aus, fuellt Discord die Zeile. */
.sn-oder { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--text-leise); }
.sn-oder::before, .sn-oder::after { content: ""; flex: 1; height: 1px; background: var(--karte-rand); }
/* Kein Knopf zu sehen (Discord nicht eingerichtet, Browser ohne Passkey): dann auch kein "oder" */
.sn-formular:not(:has(.sn-ohne-knopf:not([hidden]))) .sn-oder { display: none; }
.sn-ohne { display: flex; gap: 8px; }
.sn .sn-ohne-knopf {
    flex: 1 1 0; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 10px;
    border: 1px solid var(--feld-rand); border-radius: 10px; background: var(--feld); color: var(--feld-text);
    font: 700 13px var(--sn-schrift); text-decoration: none; white-space: nowrap; transition: border-color .15s, transform .15s;
}
.sn .sn-ohne-knopf:hover { border-color: var(--akzent); transform: translateY(-1px); }
.sn .sn-ohne-knopf[hidden] { display: none; }
.sn-ohne-knopf svg { flex: none; width: 18px; height: 18px; }
.sn-ohne-knopf.ist-discord svg { color: #5865f2; }
.sn[data-design="halloween"] .sn-ohne-knopf.ist-discord svg { color: #8c95ff; }
.sn-ohne-knopf.ist-passkey svg { color: var(--akzent); }
.sn-trenner { display: flex; align-items: center; gap: 10px; margin: 14px 0 12px; font-size: 12px; color: var(--text-leise); }
.sn-trenner::before, .sn-trenner::after { content: ""; flex: 1; height: 1px; background: var(--karte-rand); }
.sn .sn-knopf {
    display: flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; padding: 0 22px;
    border: 2px solid var(--knopf-dunkel); border-radius: 11px; background: linear-gradient(var(--knopf-hell), var(--knopf) 55%); color: var(--knopf-text);
    font: 700 16px var(--sn-schrift); text-decoration: none; box-shadow: inset 0 2px 0 rgba(255, 255, 255, .35), 0 4px 0 var(--knopf-dunkel);
}
.sn .sn-knopf:hover { filter: brightness(1.06); }
.sn .sn-knopf:active { transform: translateY(2px); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .35), 0 2px 0 var(--knopf-dunkel); }
.sn .sn-knopf:focus-visible, .sn-knopf-blau:focus-visible { outline: 3px solid #ffd34d; outline-offset: 2px; }

/* ---------- Inhalt: legt sich mit runden Ecken ueber den unteren Rand der Szene ---------- */
.sn-inhalt { flex: 1 0 auto; position: relative; z-index: 5; margin-top: -32px; border-radius: 32px 32px 0 0; background: var(--grund); box-shadow: 0 -14px 34px rgba(10, 30, 50, .12); }
.sn-titel { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; font-size: 24px; font-weight: 700; letter-spacing: -.01em; color: var(--text); }

/* Fotoband: Polaroids ziehen quer ueber die ganze Breite, Maus drauf haelt an. Die Fotos stehen zweimal
   hintereinander im Band, damit es ohne Sprung weiterlaeuft. */
.sn-fotos > .sn-innen { padding-top: 44px; }
/* Oben mehr Luft, seit die Ueberschrift "Fotos" weg ist (Betreiber 29.10.2026: "das kann eig auch raus aber nur fotos") */
.sn-lauf { overflow: hidden; padding: 40px 0 30px; }
.sn-spur { display: flex; gap: 26px; width: max-content; padding-left: 26px; animation: sn-band 80s linear infinite; }
.sn-lauf:hover .sn-spur { animation-play-state: paused; }
@keyframes sn-band { to { transform: translateX(-50%); } }
.sn-polaroid { flex: none; width: 196px; padding: 10px 10px 8px; border: 0; border-radius: 4px; background: #fbf8ef; color: #444; font: inherit; text-align: left; cursor: pointer; box-shadow: 0 10px 24px rgba(0, 0, 0, .18), 0 1px 0 rgba(0, 0, 0, .06); transform: rotate(var(--dreh, 0deg)); transition: transform .2s; }
.sn-polaroid:hover { transform: rotate(0deg) translateY(-6px); }
.sn-polaroid .sn-bild { display: block; aspect-ratio: 1; border: 1px solid rgba(0, 0, 0, .12); background: #234 center / cover no-repeat; image-rendering: pixelated; }
/* Wer das Foto gemacht hat: Kopfbild aus dem Bilddienst (headonly, size=n = 54x62 in Originalgroesse - Betreiber
   29.10.2026: "besser und groesser"; vorher size=s 27x30) und Name. Das Feld waechst mit dem Bild und schneidet nichts
   ab (Huete reichen bis an den oberen Rand). */
.sn-wer { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.sn-kopfmini { display: grid; place-items: center; width: 58px; height: 62px; flex: none; border-radius: 10px; background: #eadfca; }
.sn-wer > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.sn-wer b { display: block; font-size: 13px; line-height: 1.2; }
.sn-wer small { display: block; font-size: 11px; color: #888; }

/* Neuigkeiten: drei Karten */
.sn-neu { padding-bottom: 60px; }
.sn-karten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.sn .sn-artikel { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--karte-rand); border-radius: 16px; background: var(--karte); color: inherit; text-decoration: none; text-align: left; font: inherit; cursor: pointer; box-shadow: var(--schatten); transition: transform .18s; padding: 0; }
.sn .sn-artikel:hover { transform: translateY(-3px); }
.sn-artikel .sn-bild { display: block; aspect-ratio: 759 / 300; background: #234 center / cover no-repeat; image-rendering: pixelated; }
.sn-artikel .sn-text { display: flex; flex-direction: column; gap: 4px; flex: 1; padding: 14px 16px 16px; }
.sn-artikel b { font-size: 17px; line-height: 1.25; color: var(--text); }
.sn-artikel .sn-kurz { font-size: 13px; color: var(--text-leise); }
.sn-artikel .sn-unten { display: flex; justify-content: space-between; margin-top: auto; padding-top: 8px; font-size: 12px; color: var(--text-leise); }
.sn-artikel .sn-unten span:last-child { color: var(--akzent); font-weight: 700; }
.sn-leer { color: var(--text-leise); }

/* Fenster fuer Neuigkeiten, Fotos, Sicherheitstipps und "Passwort vergessen?". Dahinter alles unscharf wie bei der
   Preisliste (.pl-schleier, preisliste.css) - Betreiber 29.10.2026: "den rest im hintergrund verschwommen machen wie bei
   der Preisliste". */
/* margin: auto haelt das Fenster in der Mitte - Tailwinds Grundregeln (app.css) setzen den Rand jedes Bausteins auf 0,
   und damit klebte es oben links (Betreiber 29.10.2026: "soll mittig sein"). */
.sn-fenster { margin: auto; width: min(640px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 0; border: 1px solid var(--karte-rand); border-radius: 16px; background: var(--karte); color: var(--text); box-shadow: var(--schatten-hoch); overflow: auto; }
.sn-fenster::backdrop { background: rgba(28, 44, 58, .38); -webkit-backdrop-filter: blur(7px) saturate(.9); backdrop-filter: blur(7px) saturate(.9); }
.sn-fenster[open] { animation: sn-fenster-hoch .2s ease-out; }
.sn-fenster[open]::backdrop { animation: sn-fenster-ein .16s ease-out; }
@keyframes sn-fenster-ein { from { opacity: 0; } to { opacity: 1; } }
@keyframes sn-fenster-hoch { from { transform: translateY(14px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
.sn-fenster.ist-klein { width: min(440px, calc(100vw - 32px)); }
.sn-fenster .sn-bild { aspect-ratio: 759 / 300; background: #234 center / cover no-repeat; image-rendering: pixelated; }
.sn-fenster.ist-foto .sn-bild { aspect-ratio: 1; max-height: 62vh; margin: 0 auto; }
.sn-fenster .sn-rumpf { padding: 20px 24px 24px; }
.sn-fenster h2 { margin: 4px 0 6px; font-size: 26px; line-height: 1.15; color: var(--text); }
.sn-fenster .sn-datum { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 12px; color: var(--text-leise); }
.sn-fenster .sn-volltext { font-size: 15px; }
.sn-fenster .sn-volltext img { max-width: 100%; height: auto; }
.sn-fenster .sn-zu { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border: 0; border-radius: 10px; background: rgba(0, 0, 0, .55); color: #fff; font: 700 18px/1 var(--sn-schrift); cursor: pointer; }
.sn-fenster .sn-zu:hover { background: #c9252f; }
.sn-tipps { margin: 0; padding-left: 20px; font-size: 15px; }
/* "Passwort vergessen?": Feld ohne Pixel-Symbol (wie das E-Mail-Feld der Registrierung), Rueckmeldung darunter */
.sn-feld.ohne-symbol input { padding-left: 14px; }
.sn-vergessen, .sn-fertig { display: flex; flex-direction: column; gap: 12px; }
.sn-hinweis { margin: 0; font-size: 14px; color: var(--text-leise); }
.sn-fertig p { margin: 0; }
.sn-meldung { margin: 0; padding: 8px 12px; border-radius: 8px; font-size: 13px; background: #fdecec; color: #b3261e; }
.sn-vergessen .sn-knopf-blau:disabled { cursor: wait; filter: grayscale(.35); }
.sn-tipps li { margin-bottom: 8px; }

/* ---------- Fussleiste ---------- */
.sn-fuss { background: var(--fuss); color: var(--fuss-text); }
.sn-fuss .sn-innen { display: flex; flex-direction: column; gap: 18px; padding-block: 28px 22px; }
.sn-fuss-links { display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 13px; font-weight: 500; }
.sn .sn-fuss-links a, .sn .sn-fuss-links button { border: 0; padding: 0; background: none; color: var(--fuss-text); font: inherit; text-decoration: none; cursor: pointer; }
.sn .sn-fuss-links a:hover, .sn .sn-fuss-links button:hover { text-decoration: underline; }
.sn-fuss-links span { margin: 0 9px; color: var(--fuss-leise); }
.sn-fuss-unten { padding-top: 14px; border-top: 1px solid color-mix(in srgb, var(--fuss-leise) 30%, transparent); font-size: 11px; color: var(--fuss-leise); }

/* ---------- schmal ---------- */
@media (max-width: 960px) {
    .sn-karten { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
    .sn-buehne { height: 320px; }
    .sn-karte { position: relative; top: auto; right: auto; transform: none; width: auto; margin: -28px max(16px, env(safe-area-inset-left, 0px)) 0; }
    .sn-inhalt { margin-top: 0; border-radius: 0; box-shadow: none; }
}
@media (max-width: 400px) {
    .sn-karte { padding-inline: 18px; }
    .sn-status .sn-lang { display: none; }
}
/* KEINE Ausnahme fuer "Bewegung reduzieren" - der Betreiber will, dass es sich immer bewegt (siehe startseite.js). */
