/* Inhaltsseiten (SEO-Schicht, ~90 Seiten aus scripts/build-content.mjs) plus die Anbieter- und
   Losseiten des Vorstart-Servers, die dieselbe Huelle benutzen.

   Seit dem 28.09.2026 in der Sprache der neuen Startseite (Entwurf W1, Quelle
   docs/design/weiss-2026-09-27/startseite-w1.css): schwarzer Kopf und Fuss mit ruhiger Koernung,
   heller Grund --sheet-bg, Inhalt auf weissen Karten (Radius 18 px, geschichteter Schatten),
   Ueberschriften in Schablonenschrift (h1/h2 in Grossbuchstaben), Text in Archivo.

   Feste Regeln (docs/design/STYLEGUIDE.md und Marcels Vorgaben fuer W1):
   - Farben nur aus /schema.tokens.css (inklusive --sheet-* und --tor-*); rgba() nur fuer Schatten.
   - Schriftgroessen nur --h1/--h2/--h3 (Titel), --fs-h2 des Schemas (Zwischentitel im Artikel),
     --t (17 px Text) und --k (14 px Klein).
   - Gewichte nur 400 und 700. Keine Martian Mono, keine kleinen grauen Sperrschrift-Etiketten.
   - Lime nur als Flaeche: Knoepfe, Abzeichen, Marker hinter einem Wort, Pinselstrich unter Links.
     Lime als Schriftfarbe ist auf Weiss unlesbar und kommt deshalb nur auf Schwarz vor.
   - Breakpoints nur 640 / 768 / 1024 (plus die drei Handy-Stufen der Startseite fuer den Kopf). */
@import url("/schema.tokens.css");

@font-face { font-family: "Stardos Stencil"; font-weight: 400 700; font-display: swap; src: url("/fonts/stardos-700.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 100 900; font-display: swap; src: url("/fonts/barlow-condensed-800.woff2") format("woff2"); size-adjust: 116%; }
/* Archivo ist eine VARIABLE Schrift: eine Datei traegt alle Strichstaerken. Eine Regel mit
   font-weight 100 900 auf EINE Datei laesst den Browser alle Gewichte aus einem Download bedienen. */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/fonts/archivo-400-normal.woff2") format("woff2"); }

/* Mass der Seite wie auf der Startseite (W1), mit einer Ausnahme: die H1 endet bei 40 px statt 48 px.
   Die Startseite hat eine kurze Zeile ("Keller, Garage oder Lager voll?"), die Inhaltsseiten tragen
   Suchbegriffe in der H1 und sind drei- bis viermal so lang. Bei 48 px lief jede dritte H1 am Rechner
   ueber vier bis sechs Zeilen (/kaufen/: LAGERINHALTE / UND / RAEUMUNGSPOSTEN / KAUFEN), und Marcel
   will keine riesigen Titel am Rechner (Rat 28.09.2026). Auf dem Handy bleibt alles wie auf der
   Startseite: die Grenze greift erst ab rund 680 px Breite. */
:root {
  color-scheme: light;
  --t: 1.0625rem;
  --k: .875rem;
  --h1: clamp(2rem, 1.4rem + 2.6vw, 2.5rem);
  --h2: clamp(1.625rem, 1.3rem + 1.4vw, 2.25rem);
  --h3: clamp(1.2rem, 1.1rem + .4vw, 1.375rem);
  --s-sektion: 52px;
  --s-kopf: 20px;
  --pad: 20px;
  --gap: 14px;
  --karte-r: 18px;
  /* Hoehe der Hauptknoepfe, gleich mit der App (src/styles/erscheinung.css --knopf-h); die Startseite hat 54 px. */
  --knopf-h: 50px;
  --kopf-h: 68px;
  /* Drei Hoehen, eine Lichtrichtung (Politur 29.09.2026): flach fuer umrandete Flaechen (Tabellen, Kacheln,
     Pressekarten), die Karte selbst, und hoch fuer Karten unter dem Zeiger. Die Karte traegt zusaetzlich
     eine 1-px-Haarkante aus Schatten, damit Weiss auf Hellgrau auch auf blassen Displays eine Kante hat. */
  --flach-schatten: 0 1px 2px rgba(13,14,11,.05);
  --karte-schatten: 0 0 0 1px rgba(13,14,11,.035), 0 1px 1px rgba(13,14,11,.04), 0 2px 4px rgba(13,14,11,.04), 0 6px 14px rgba(13,14,11,.05), 0 18px 36px rgba(13,14,11,.06);
  --karte-schatten-hoch: 0 0 0 1px rgba(13,14,11,.05), 0 2px 2px rgba(13,14,11,.04), 0 4px 8px rgba(13,14,11,.05), 0 12px 24px rgba(13,14,11,.07), 0 28px 56px rgba(13,14,11,.10);
  --lade-schatten: 0 2px 6px rgba(13,14,11,.10), 0 20px 48px rgba(13,14,11,.22);
  --koernung: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='k'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23k)'/%3E%3C/svg%3E");
  /* Pinselstrich unter Links: lime Flaeche unter dem unteren Drittel des Wortes. */
  --marker: linear-gradient(var(--signal), var(--signal));
}
@media (min-width: 768px) { :root { --s-sektion: 88px; --s-kopf: 28px; --pad: 28px; --gap: 20px; } }
/* Sehr schmale Handys (unter 360 px, etwa das erste iPhone SE): die H1 eine Stufe kleiner. Mit 32 px
   passten dort Woerter wie RAEUMUNGSPOSTEN oder SAMMLERNACHLAESSE nicht in die 280 px breite Spalte
   und wurden in 20 von 96 H1 getrennt; mit 28 px sind es noch 6. Ab 360 px gilt wieder die Startseite. */
@media (max-width: 359.98px) { :root { --h1: 1.75rem; } }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--kopf-h) + var(--sp-4)); overflow-x: clip; }
body { margin: 0; overflow-x: clip; overflow-wrap: break-word; background: var(--sheet-bg); color: var(--sheet-text); font-family: var(--font-body); font-size: var(--t); line-height: var(--lh-body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: 0; text-wrap: balance; color: var(--sheet-heading); }
h1, h2 { text-transform: uppercase; }
h1 { font-size: var(--h1); line-height: 1.02; margin: var(--sp-4) 0 var(--sp-4); hyphens: auto; overflow-wrap: break-word; }
a { color: inherit; text-underline-offset: var(--sp-1); }
b, strong { font-weight: 700; }
.wrap { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 768px) { .wrap { padding: 0 var(--gutter-lg); } }

/* Fokus: der Ring des Schemas ist lime und auf Weiss kaum zu sehen. Auf hellem Grund dunkel,
   auf den schwarzen Flaechen bleibt er lime. */
:focus-visible { outline: 2px solid var(--sheet-heading); outline-offset: var(--focus-offset); }
.foot :focus-visible, .box.pine :focus-visible { outline-color: var(--signal); }
/* Sprunglink fuer die Tastatur: unsichtbar bis fokussiert, dann oben links ueber dem Kopf. */
.skip-link { position: fixed; top: -60px; left: 12px; z-index: 1000; display: inline-flex; align-items: center; padding: 0 var(--sp-4); background: var(--signal); color: var(--on-signal); font-weight: 700; font-size: var(--k); border-radius: var(--r-sm); text-decoration: none; transition: top .16s ease; }
.skip-link:focus-visible { top: calc(env(safe-area-inset-top, 0px) + 10px); outline-color: var(--sheet-heading); }
main:focus { outline: none; }

/* Nur fuer Vorlesehilfen und Suchmaschinen (Doppelpunkt der geteilten H1, "Folge uns" auf dem Handy). */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

/* =============================== Kopf ===============================
   Seit dem 03.10.2026 (Zusammenlegung Schritt 2) steht der Kopf in src/styles/kopf.css; der Bau haengt
   ihn an diese Datei an (scripts/build-content.mjs). Hier bleiben nur Marke und Koernung, die auch die
   Fusszeile benutzt. */
.foot::before, .box.pine::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: var(--koernung); background-size: 160px; }
.wordmark { display: inline-flex; align-items: center; gap: var(--sp-3); flex: none; color: var(--text-bright); text-decoration: none; }
.mark { width: 40px; height: 40px; border-radius: var(--r-sm); background: var(--signal); display: grid; place-items: center; flex: none; }
.mark svg { width: 24px; height: 24px; fill: var(--on-signal); }
.brand { font-family: var(--font-marke); font-weight: 700; text-transform: uppercase; font-size: 1.5rem; line-height: 1; letter-spacing: 0; white-space: nowrap; color: var(--text-bright); }
.brand .los { color: var(--signal); }
@media (max-width: 767.98px) { .wordmark { gap: 6px; } }
@media (max-width: 639.98px) { .brand { font-size: 1.2rem; } } /* Optik F-25: vorher 439.98, jetzt die erlaubte Stufe sm */
@media (max-width: 379.98px) { .brand { font-size: 1.15rem; } .mark { width: 32px; height: 32px; } .mark svg { width: 20px; height: 20px; } }

/* =============================== Seitenkopf ===============================
   Brotkruemel auf dem Grund, darunter die weisse Einstiegskarte mit der lime Ecke der Startseite. */
main { display: block; padding-top: var(--sp-2); }
@media (min-width: 768px) { main { padding-top: var(--sp-4); } }
.crumbs { font-size: var(--k); color: var(--sheet-muted); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--sp-2); margin: 0; padding: 0; }
/* Kurze Kruemel wie "Start" bekommen ihre 44 px Tippbreite ueber Innenabstand mit Gegenrand: die Flaeche
   waechst, die Schrift bleibt, wo sie ist. */
.crumbs a { display: inline-flex; align-items: center; min-height: var(--tap-min); min-width: var(--tap-min); padding-inline: 6px; margin-inline: -6px; color: var(--sheet-heading); font-weight: 700; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; text-decoration-color: var(--signal-deep); text-decoration-thickness: 3px; }
.crumbs li + li::before { content: "/"; margin-right: var(--sp-2); color: var(--sheet-muted); }
/* Fund 10 (06.09.2026): auf dem Telefon eine Zeile mit Auslassungspunkten; die Ueberschrift sagt den Rest. */
@media (max-width: 639.98px) {
  .crumbs ol { flex-wrap: nowrap; }
  .crumbs li { flex: none; }
  .crumbs li:last-child { flex: 0 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}

.page-hero { position: relative; margin-top: var(--sp-1); padding: var(--pad); background: var(--sheet-card); border-radius: var(--karte-r); box-shadow: var(--karte-schatten); }
/* Die lime Ecke der Startseite (dort .eck), hier ohne eigenes Element. */
.page-hero::before { content: ""; position: absolute; top: 18px; right: 18px; width: 34px; height: 34px; border-top: 6px solid var(--signal); border-right: 6px solid var(--signal); pointer-events: none; }
/* Rubrik ueber der Ueberschrift: ruhige Marke wie das Seiten-Stichwort der App (Rat Optik O-3, 08.11.2026: Gelb
   fuehrt nur noch zur Handlung; lime bleiben die Ecke der Karte und der Knopf). */
.eyebrow { display: block; width: fit-content; max-width: calc(100% - 44px); margin: 0 0 var(--sp-4); padding: 2px 10px; border: 1px solid var(--sheet-line); border-radius: var(--r-pill); background: var(--sheet-bg); color: var(--sheet-heading); font-weight: 700; font-size: var(--k); line-height: 1.5; }
.page-hero h1 { margin: 0 0 var(--sp-4); max-width: 26ch; }
/* Nur ohne Abzeichen darueber reicht die Ueberschrift bis unter die lime Ecke; sonst steht dort das Abzeichen. */
.page-hero > h1:first-child { padding-right: 44px; }
.page-hero .eyebrow + h1 { margin-top: 0; }
/* Fund 11: Unterzeile der geteilten Ueberschrift, ruhige Textschrift unter dem grossen ersten Teil. */
h1 .h1-sub { display: block; margin-top: var(--sp-3); max-width: var(--measure); font-family: var(--font-body); font-weight: 400; font-size: var(--t); line-height: 1.5; letter-spacing: 0; text-transform: none; text-wrap: pretty; hyphens: manual; color: var(--sheet-muted); }
/* N6: freistehend beginnt die Unterzeile gross. Nur Darstellung, der Text der H1 bleibt gleich. */
h1 .h1-sub::first-letter { text-transform: uppercase; }
.answer { margin: 0; max-width: var(--measure); font-size: var(--t); line-height: var(--lh-body); color: var(--sheet-text); }
.answer .stand { display: block; margin-top: var(--sp-3); font-size: var(--k); color: var(--sheet-muted); }
/* Handy: Abzeichen und Ueberschrift stehen auf dem Grund wie die Abschnittstitel der Startseite, die
   Antwort darunter ist die weisse Karte. So bekommt die Schablonen-Ueberschrift die volle Spaltenbreite;
   lange Woerter wie RÄUMUNGSPOSTEN oder SAMMLERNACHLÄSSE passen dann wie vorher ohne Trennung. */
@media (max-width: 639.98px) {
  .page-hero { padding: var(--sp-2) 0 0; background: none; border-radius: 0; box-shadow: none; }
  .page-hero::before { content: none; }
  .page-hero > h1:first-child { padding-right: 0; }
  .page-hero .answer { padding: var(--pad); background: var(--sheet-card); border-radius: var(--karte-r); box-shadow: var(--karte-schatten); }
}
@media (min-width: 768px) { .page-hero { padding: 32px; } }
/* Auf breiten Schirmen zwei Spalten wie der Einstieg der Startseite: links Rubrik und Ueberschrift,
   rechts die zitierfaehige Antwort. Erst ab 1280 px: darunter ist die Titelspalte zu schmal fuer
   lange Schablonenwoerter wie VERSTEIGERUNG, dort bleibt es eine Spalte.
   Die Titelspalte ist die breitere (1,1 zu 1): bei 0,9 zu 1,1 und 48 px lief die H1 auf 33 von 96
   Seiten ueber vier bis sechs Zeilen, jetzt (40 px) auf 8 Seiten ueber vier und nirgends mehr. Breiter
   nicht: dann wird die Antwortspalte so schmal, dass die langen Einleitungen der Stadtseiten die
   Karte in die Hoehe ziehen und links ein grosses Loch bleibt. Die Antwort hat so rund 55 Zeichen
   je Zeile. */
@media (min-width: 1024px) { .page-hero { padding: 40px; } }
@media (min-width: 1280px) {
  .page-hero { display: grid; grid-template-columns: minmax(min-content, 1.1fr) minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 48px; align-items: start; padding: 40px 48px 40px 40px; }
  .page-hero > .eyebrow { grid-column: 1; grid-row: 1; }
  /* Die Titelspalte waechst bis zum laengsten Wort; hier wird nie automatisch getrennt, nur an den
     weichen Trennstellen aus dem Generator. */
  .page-hero > h1 { grid-column: 1; grid-row: 2; margin: 0; padding-right: 0; max-width: none; hyphens: manual; }
  /* Die erste Zeile der Antwort steht auf Hoehe der Ueberschrift (Abzeichen: 1,5 x 14 px + 4 px Innenabstand + 2 px Rand + Abstand). */
  .page-hero > .answer { grid-column: 2; grid-row: 1 / span 2; padding-top: calc(1.5 * var(--k) + 6px + var(--sp-4)); }
  .page-hero:not(:has(> .eyebrow)) > .answer { padding-top: 0; }
  /* Losseite: der Merken-Knopf bleibt unter dem Titel und so breit wie sein Inhalt (Fable-Pruefung
     04.10.2026, B-4: im Raster wurde er sonst auf die ganze Spalte gestreckt). */
}

/* Design-Rat 04.10.2026 (3): auf Handy und Tablet eine schmale dunkle Zeile mit einem Knopf, im Artikel nach
   dem ersten Abschnitt (build-content.mjs, ctaZeile). Am Rechner steht der Kasten in der Seitenspalte. */
.cta-hoist { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-3); margin: var(--sp-8) 0 0; padding: var(--sp-3) var(--sp-4); border-radius: var(--r-card); background: var(--bg-base); color: var(--text); }
.cta-hoist::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: var(--koernung); background-size: 160px; }
.article .cta-hoist .cta-zeile-text { flex: 1 1 14em; margin: 0; max-width: none; font-size: var(--k); line-height: 1.45; color: var(--text); }
.cta-hoist .cta-zeile-text strong { color: var(--text-bright); }
.cta-hoist .btn { flex: 0 0 auto; width: auto; min-height: var(--knopf-h); margin: 0; }
.cta-hoist :focus-visible { outline-color: var(--signal); }
@media (min-width: 1024px) { .cta-hoist { display: none; } }
@media (max-width: 1023.98px) { .aside .pine { display: none; } }

/* =============================== Inhalt ===============================
   Der Artikel ist EINE weisse Karte (ein Blatt), daneben die Seitenspalte. */
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--gap); margin-top: var(--gap); padding-bottom: var(--s-sektion); }
@media (min-width: 1024px) { .page-grid { grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; } }
.article { min-width: 0; padding: var(--pad); background: var(--sheet-card); border-radius: var(--karte-r); box-shadow: var(--karte-schatten); }
@media (min-width: 768px) { .article { padding: 36px 40px 40px; } }
/* Handy: der Artikel ist ein weisses Blatt ueber die ganze Breite. Als eingerueckte Karte kostete er
   40 px Zeilenbreite, und lange Schablonenwoerter in den Zwischentiteln (SCHLUSSBESTIMMUNGEN,
   GENOSSENSCHAFTSHÖFE) brachen dann mitten im Wort. So hat der Text dieselbe Breite wie vorher.
   Wo ein Wort trotzdem nicht passt, trennt der Browser nach deutschem Woerterbuch statt hart. */
@media (max-width: 639.98px) {
  .article { margin-inline: calc(-1 * var(--gutter)); padding: 28px var(--gutter) 32px; border-radius: 0; }
  .article h2, .article h3 { hyphens: auto; }
}
.article > :first-child { margin-top: 0; }
/* Zwischentitel im Artikel auf der Stufe --fs-h2 des Schemas (24 bis 34 px) statt --h2 der Startseite
   (26 bis 36 px): mit der kleineren H1 (40 px) bleibt so ein klarer Abstand zwischen Seitentitel und
   Abschnitt, und auf schmalen Handys brechen weniger lange Woerter (320 px, zusammen mit der
   kleineren H1 dort: 18 statt 41 getrennte Woerter ueber alle Ueberschriften). Seitenweite Abschnitte ausserhalb des Artikels ("Weiterlesen",
   "Kurz und klar") bleiben auf --h2 wie die Abschnittstitel der Startseite. */
/* Politur 29.09.2026: jeder Abschnitt beginnt mit einer Haarlinie ueber dem Zwischentitel; lange Seiten
   (AGB, Stadtseiten) lassen sich so ueberfliegen. Nicht direkt unter den Start-Hinweisen (dort steht schon
   eine Flaeche), nicht als erstes Element und nicht in Fragen und Uebersicht (die haben eigene Linien). */
.article h2 { font-size: var(--fs-h2); line-height: 1.06; margin: var(--sp-8) 0 var(--sp-4); padding-top: 28px; border-top: 1px solid var(--sheet-line); }
.article > h2:first-child, .article .prelaunch-hinweis + h2, .article .faq h2, .article .hub-index h2 { padding-top: 0; border-top: 0; }
.article .faq > h2:first-child, .article .hub-index > h2:first-child { margin-top: 0; }
.article .prelaunch-hinweis + h2 { margin-top: 36px; }
.article h3 { font-size: var(--h3); line-height: 1.2; margin: 28px 0 var(--sp-2); text-transform: none; }
.article p { margin: 0 0 var(--sp-4); max-width: var(--measure); }
.article ul, .article ol { max-width: var(--measure); margin: 0 0 18px; padding-left: 1.3em; }
.article li { margin-bottom: var(--sp-2); padding-left: 2px; }
.article ul > li::marker { color: var(--sheet-heading); }
.article ol > li::marker { color: var(--sheet-heading); font-weight: 700; }
.article strong, .article b { color: var(--sheet-heading); }
.article .lead { color: var(--sheet-muted); }
.article em { font-style: italic; }
.article code { font-family: inherit; font-size: var(--k); padding: 1px 6px; border-radius: 6px; background: var(--sheet-bg); color: var(--sheet-heading); overflow-wrap: anywhere; }
.article blockquote { margin: 18px 0; padding: var(--sp-4) 18px var(--sp-4) 22px; border-radius: var(--r-card); background: var(--sheet-bg); color: var(--sheet-text); box-shadow: inset 4px 0 0 var(--signal), inset 0 0 0 1px var(--sheet-line); }
.article blockquote p:last-child { margin-bottom: 0; }

/* Links im Fliesstext: dunkel und fett, darunter ein lime Pinselstrich; beim Zeigen fuellt er
   das Wort. Gilt fuer alle Textflaechen auf hellem Grund, nicht fuer Knoepfe und Kacheln. */
.article a:not(.btn), .answer a, .qa-kanon a, .anb-kurz a, .anb-line a, .anb-wrap p > a, .hub-liste span a {
  color: var(--sheet-heading); font-weight: 700; text-decoration: none; overflow-wrap: anywhere;
  background-image: var(--marker); background-repeat: no-repeat; background-position: 0 100%; background-size: 100% .32em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  transition: background-size var(--motion-state) var(--ease-ui);
}
.article a:not(.btn):hover, .answer a:hover, .qa-kanon a:hover, .anb-kurz a:hover, .anb-line a:hover, .anb-wrap p > a:hover { background-size: 100% 100%; }

/* Abschnittsbilder (Zeichnungen 800x800 auf dunklem Grund): auf dem Telefon mittig, breit rechts. */
.article .schritt-bild { margin: var(--sp-1) auto var(--sp-4); width: min(100%, 320px); }
.article .schritt-bild img { width: 100%; height: auto; border-radius: var(--r-card); background: var(--bg-base); box-shadow: var(--karte-schatten); }
@media (min-width: 640px) { .article .schritt-bild { float: right; width: 220px; margin: 0 0 var(--sp-3) var(--sp-6); } .article h2 { clear: both; } }
/* Kopfbild der Ratgeber- und Vergleichsseiten (30.09.2026): volle Breite der Artikelkarte, oben
   vor dem ersten Zwischentitel. Das Seitenverhaeltnis kommt aus width/height am Bild. */
.article .artikel-kopfbild { margin: 0 0 var(--sp-6); width: 100%; }
.article .artikel-kopfbild img { width: 100%; height: auto; border-radius: var(--r-card); background: var(--bg-base); box-shadow: var(--karte-schatten); }

/* Hinweis zum Start ganz oben im Artikel: hellgraue Flaeche, die Kernaussage mit lime Marker. */
.prelaunch-hinweis { margin: 0 0 var(--sp-2); padding: 14px var(--sp-4); border-radius: var(--r-card); background: var(--sheet-bg); box-shadow: inset 0 0 0 1px var(--sheet-line); font-size: var(--k); line-height: 1.55; color: var(--sheet-text); }
.article .prelaunch-hinweis { max-width: none; }
.prelaunch-hinweis strong { padding: 0 .2em; background: var(--signal); color: var(--on-signal); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.callout { margin: var(--sp-4) 0; padding: 14px var(--sp-4) 14px 20px; border-radius: var(--r-card); background: var(--sheet-bg); color: var(--sheet-text); box-shadow: inset 4px 0 0 var(--signal), inset 0 0 0 1px var(--sheet-line); }

/* Tabellen: saubere weisse Karte mit Haarlinien, Kopfzeile auf hellgrauem Grund. */
/* Politur 29.09.2026: flacher Schatten unter der Karte, kraeftigere Linie unter dem Tabellenkopf, Ziffern
   gleich breit, Zeile unter dem Zeiger leicht getoent. Laeuft eine Tabelle doch einmal breiter als die
   Spalte, zeigt ein weicher Schatten am Rand, dass seitlich mehr kommt (die weissen Deckflaechen wandern
   mit dem Inhalt, die Schatten bleiben am Rand; am Anfang und am Ende verschwinden sie so von selbst). */
.tablewrap { margin: 18px 0 22px; overflow-x: auto; border: 1px solid var(--sheet-line); border-radius: var(--r-card); box-shadow: var(--flach-schatten);
  background:
    linear-gradient(to right, var(--sheet-card) 30%, transparent) left / 40px 100% no-repeat local,
    linear-gradient(to left, var(--sheet-card) 30%, transparent) right / 40px 100% no-repeat local,
    radial-gradient(farthest-side at 0 50%, rgba(13,14,11,.14), transparent) left / 14px 100% no-repeat scroll,
    radial-gradient(farthest-side at 100% 50%, rgba(13,14,11,.14), transparent) right / 14px 100% no-repeat scroll,
    var(--sheet-card); }
.article table { border-collapse: collapse; width: 100%; min-width: 30rem; font-size: var(--k); line-height: 1.5; font-variant-numeric: tabular-nums; }
.article th, .article td { text-align: left; vertical-align: top; padding: var(--sp-3) 14px; border-bottom: 1px solid var(--sheet-line); }
.article thead th { background: var(--sheet-bg); border-bottom-color: var(--sheet-field); font-weight: 700; color: var(--sheet-heading); }
.article tbody th { font-weight: 700; color: var(--sheet-heading); }
.article tbody tr:last-child > * { border-bottom: 0; }
@media (hover: hover) and (min-width: 640px) {
  .article tbody tr { transition: background-color var(--motion-feedback) ease; }
  .article tbody tr:hover { background: color-mix(in srgb, var(--sheet-bg) 60%, transparent); }
}
/* Fund 8 (06.09.2026): unter 640 px werden Tabellen zu gestapelten Karten. Jede Zeile ist eine
   Karte, jeder Wert traegt seine Spaltenbezeichnung (data-label vom Generator) darueber. */
@media (max-width: 639.98px) {
  .tablewrap { overflow: visible; background: none; border: 0; border-radius: 0; }
  .article table { display: block; min-width: 0; }
  .article thead { display: none; }
  .article tbody { display: grid; gap: 10px; }
  .tablewrap { box-shadow: none; }
  .article tr { display: block; padding: var(--sp-3) var(--sp-4); background: var(--sheet-card); border: 1px solid var(--sheet-line); border-radius: var(--r-card); box-shadow: var(--flach-schatten); }
  .article th, .article td { display: block; padding: var(--sp-1) 0; border-bottom: 0; }
  /* Paare aus Etikett und Wert zusammenhalten: Abstand zwischen den Paaren groesser als im Paar. */
  .article td { padding-block: var(--sp-2) 0; }
  .article tbody th { font-size: var(--t); padding-bottom: 6px; }
  .article td[data-label]::before { content: attr(data-label); display: block; margin-bottom: 2px; font-weight: 700; font-size: var(--k); color: var(--sheet-muted); }
  .article td:empty { display: none; }
}

/* Haeufige Fragen: Zeilen mit Haarlinie, das Plus dreht sich zum Kreuz (wie auf der Startseite). */
.faq { margin-top: 44px; }
/* Im Artikel beginnen Fragen und Uebersicht wie jeder Abschnitt mit der Haarlinie (Politur 29.09.2026). */
.article .faq, .article .hub-index { margin-top: var(--sp-8); padding-top: 28px; border-top: 1px solid var(--sheet-line); }
.article > .faq:first-child, .article > .hub-index:first-child { padding-top: 0; border-top: 0; }
.faq h2 { margin-bottom: var(--sp-3); }
.faq details { border-bottom: 1px solid var(--sheet-line); }
.faq details:first-of-type { border-top: 1px solid var(--sheet-line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--sp-4); min-height: 60px; padding: var(--sp-2) 0; font-weight: 700; font-size: var(--t); line-height: 1.4; color: var(--sheet-heading); }
.faq summary::-webkit-details-marker { display: none; }
/* Politur 29.09.2026: das Plus sitzt in einem runden Knopf mit Haarkante. Unter dem Zeiger wird der Rand
   kraeftiger, geoeffnet ist der Knopf schwarz und dreht sich wie bisher zum Kreuz. */
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: var(--sp-8); height: var(--sp-8); border-radius: var(--r-pill); box-shadow: inset 0 0 0 1px var(--sheet-field); font-size: var(--h3); font-weight: 400; line-height: 1; transition: transform var(--motion-sheet) var(--ease-ui), background-color var(--motion-feedback) ease, color var(--motion-feedback) ease, box-shadow var(--motion-feedback) ease; }
@media (hover: hover) { .faq summary:hover::after { box-shadow: inset 0 0 0 2px var(--sheet-heading); } }
.faq summary:active::after { background: var(--sheet-bg); }
.faq details[open] > summary::after { transform: rotate(45deg); background: var(--sheet-heading); color: var(--sheet-card); box-shadow: none; }
.faq details p { margin: 0 0 var(--sp-4); max-width: var(--measure); color: var(--sheet-muted); }

/* Uebersicht der Unterseiten auf Bereichsseiten: Titel als Link, darunter der beschreibende Satz,
   jede Zeile eine umrandete Kachel, die ganze Kachel ist anklickbar. */
.hub-index { margin: 44px 0 0; }
.hub-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.article .hub-liste { max-width: none; padding: 0; }
/* Die Zeile ist ein Block, damit der Titel ein Link im Fliesstext bleibt: der lime Strich laeuft
   dann Zeile fuer Zeile unter dem Wort und nicht ueber die ganze Kachelbreite. */
.hub-liste li { position: relative; display: block; margin: 0; padding: 14px var(--sp-4); background: var(--sheet-card); border: 1px solid var(--sheet-line); border-radius: var(--r-card); box-shadow: var(--flach-schatten); transition: border-color var(--motion-feedback) ease, box-shadow var(--motion-state) ease, transform var(--motion-feedback) ease; }
.hub-liste li:hover { border-color: var(--sheet-field); box-shadow: var(--karte-schatten); }
.hub-liste li:active { transform: scale(.99); }
/* Tastatur: der Ring umfasst die ganze Kachel statt nur den Titel (nur wo :has() da ist, sonst bleibt er am Link). */
@supports selector(:has(a)) {
  .hub-liste li:has(a:focus-visible) { outline: 2px solid var(--sheet-heading); outline-offset: var(--focus-offset); }
  .hub-liste a:focus-visible { outline: none; }
}
/* In der Kachel ist die ganze Flaeche der Link; der lime Strich unter jedem Titel machte aus der
   Uebersicht (bis zu 20 Kacheln) eine Wand aus Markierungen. Er erscheint jetzt erst beim Zeigen
   oder mit der Tastatur, und waechst dann wie im Fliesstext von links herein. */
.article .hub-liste a { display: block; font-size: var(--t); line-height: 1.35; background-size: 0 .32em; }
.article .hub-liste li:hover a, .article .hub-liste a:focus-visible { background-size: 100% .32em; }
.hub-liste a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.hub-liste span { display: block; margin-top: 6px; font-size: var(--k); line-height: 1.5; color: var(--sheet-muted); }
@media (min-width: 768px) { .hub-liste { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* =============================== Seitenspalte ===============================
   Oben der schwarze Knopf-Kasten (wie "Bereit für den Start?" auf der Startseite), darunter
   "Passend dazu" als weisse Karte. */
.aside { display: flex; flex-direction: column; gap: var(--gap); }
/* Am Rechner bleibt nur der Knopf-Kasten stehen, nicht die ganze Spalte. Die Spalte ist 600 bis 870 px
   hoch; als Ganzes klebend war sie auf jedem Laptop (1366x768, 1280x720, auch 1440x900 bei langen
   Listen) hoeher als das Fenster, und "Passend dazu" war bis zum Ende des Artikels abgeschnitten.
   Jetzt reicht die Spalte ueber die ganze Artikelhoehe, der Kasten klebt darin, und die Liste darunter
   scrollt normal weg (sie steht am Seitenende unter "Weiterlesen" noch einmal). Unter 640 px
   Fensterhoehe klebt nichts, weil dort auch der Kasten allein nicht mehr ins Fenster passt. */
@media (min-width: 1024px) and (min-height: 40rem) {
  .aside { align-self: stretch; }
  .aside .box.pine { position: sticky; top: calc(var(--kopf-h) + var(--sp-5)); z-index: 1; }
}
.box { padding: var(--pad); background: var(--sheet-card); border-radius: var(--karte-r); box-shadow: var(--karte-schatten); }
.box .label { margin: 0 0 var(--sp-3); font-family: var(--font-display); font-weight: 700; font-size: var(--h3); line-height: 1.2; color: var(--sheet-heading); }
.aside ul.links { list-style: none; margin: 0; padding: 0; }
.aside ul.links a { display: flex; align-items: center; min-height: var(--tap-min); padding: 10px 0; border-top: 1px solid var(--sheet-line); color: var(--sheet-heading); font-weight: 700; font-size: var(--k); line-height: 1.4; text-decoration: none; }
.aside ul.links a:hover { text-decoration: underline; text-decoration-color: var(--signal-deep); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.aside ul.links a:active { color: var(--sheet-muted); }
/* Echte Ergebnisse im Artikel (Landingpage-Rat 12.10.2026), vom Server eingesetzt (deploy/src-worker/ergebnisse.ts). */
.box.erg { margin: var(--s-kopf) 0; }
.box.erg > p { margin: 0 0 var(--sp-3); font-size: var(--t); color: var(--sheet-text); }
.article ul.erg-liste, .erg-liste { list-style: none; max-width: none; margin: 0 0 var(--sp-4); padding: 0; }
.article ul.erg-liste li { margin: 0; padding: 0; }
.article ul.erg-liste a, .erg-liste a { background: none; display: grid; row-gap: 2px; min-height: var(--tap-min); padding: 10px 0; border-top: 1px solid var(--sheet-line); color: var(--sheet-heading); text-decoration: none; }
.erg-liste a:hover .erg-was { text-decoration: underline; text-decoration-color: var(--signal-deep); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.erg-preis { font-family: var(--font-display); font-size: var(--h3); line-height: 1.1; white-space: nowrap; }
.erg-was { font-weight: 700; font-size: var(--k); line-height: 1.4; overflow-wrap: anywhere; }
.erg-meta { font-size: var(--k); line-height: 1.4; color: var(--sheet-muted); }
.erg-knoepfe { display: grid; gap: var(--sp-2); }
.article .erg-alle, .erg-alle { background: none; display: flex; align-items: center; justify-content: center; min-height: var(--tap-min); color: var(--sheet-heading); font-weight: 700; text-decoration: underline; text-decoration-color: var(--signal-deep); text-decoration-thickness: 2px; text-underline-offset: 3px; }
@media (min-width: 640px) { .erg-knoepfe { grid-auto-flow: column; justify-content: start; align-items: center; } .erg-knoepfe .btn { width: auto; } }

.box.pine { position: relative; isolation: isolate; overflow: hidden; background: var(--bg-base); color: var(--text); }
.box.pine .label { display: block; width: fit-content; margin: 0 0 var(--sp-3); padding: 2px 10px; border-radius: var(--r-pill); background: var(--signal); color: var(--on-signal); font-family: var(--font-body); font-size: var(--k); line-height: 1.5; }
.box.pine .box-h { margin: 0 0 var(--sp-2); font-family: var(--font-display); font-weight: 700; font-size: var(--h3); line-height: 1.06; text-transform: uppercase; color: var(--text-bright); }
.box.pine p { margin: 0 0 var(--sp-4); font-size: var(--t); color: var(--text); }
.box.pine .box-fine { margin: 14px 0 0; font-size: var(--k); color: var(--text); }
/* Sol-Test 30.09.2026, D-2: der Link war 37 px hoch und klebte unter dem grossen Knopf. Eigene Zeile, volle Tippflaeche. */
.box.pine .box-fine a { display: flex; align-items: center; width: fit-content; min-height: var(--tap-min); color: var(--text-bright); font-weight: 700; text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 2px; text-underline-offset: 3px; }
/* Gelbe Knoepfe wie eine gedrueckte Platte: feste Kante unten, beim Antippen gibt der Knopf nach. */
.btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: var(--knopf-h); padding: 12px 20px; border: 0; border-radius: var(--r-btn); background: var(--signal); color: var(--on-signal); font-family: inherit; font-weight: 700; font-size: var(--t); line-height: var(--lh-control); text-decoration: none; cursor: pointer; box-shadow: 0 3px 0 var(--bg-base); transition: transform 80ms ease, box-shadow 80ms ease, background-color .15s; }
.btn:hover { background: var(--signal-deep); }
.btn:active { transform: translateY(3px); box-shadow: 0 0 0 var(--bg-base); }
/* Optik-Rat 05.10.2026: EIN Hauptknopf. Auf hellem Grund schwarze Unterkante (wie Startseite und anb-btn-primary),
   die Lime-Kante nur in dunklen Flaechen, wo Schwarz nicht zu sehen waere. */
:is(.box.pine, .cta-hoist, .verkauf-leiste, .foot) .btn { box-shadow: 0 3px 0 var(--signal-deep); }
:is(.box.pine, .cta-hoist, .verkauf-leiste, .foot) .btn:active { box-shadow: 0 0 0 var(--signal-deep); }
/* Sol-6.1 02.10.2026, D-1/D-2: Knopf im Fliesstext (Widerruf, 404). Auf dem Telefon volle Breite, breit so gross wie sein Text. */
@media (min-width: 640px) { .article p > .btn { width: fit-content; } }
/* D-2: Rueckwege der 404-Seite als eigene Zeilen mit voller Tippflaeche statt eng nebeneinander liegender Textlinks. */
.article ul.weiter-liste { list-style: none; padding-left: 0; margin-bottom: var(--sp-6); }
.article ul.weiter-liste li { margin: 0; padding: 0; }
.article ul.weiter-liste a { display: flex; align-items: center; min-height: var(--tap-min); padding: 10px 0; border-top: 1px solid var(--sheet-line); background: none; line-height: 1.4; }
.article ul.weiter-liste li:last-child a { border-bottom: 1px solid var(--sheet-line); }
.article ul.weiter-liste a:hover { background: none; text-decoration: underline; text-decoration-color: var(--signal-deep); text-decoration-thickness: 3px; text-underline-offset: 4px; }

/* =============================== Kurz und klar ===============================
   Kanonische Antworten auf den vier Kernseiten: echtes dl, immer sichtbar, in einer weissen Karte. */
.qa-kanon { padding-bottom: var(--s-sektion); }
.qa-kanon h2 { font-size: var(--fs-h2); line-height: 1.06; margin: 0 0 var(--s-kopf); }
.qa-kanon dl { margin: 0; padding: 6px var(--pad) var(--sp-2); background: var(--sheet-card); border-radius: var(--karte-r); box-shadow: var(--karte-schatten); }
.qa-kanon dt { padding-top: 18px; font-weight: 700; color: var(--sheet-heading); break-after: avoid; }
.qa-kanon dd { margin: var(--sp-1) 0 0; padding-bottom: 18px; border-bottom: 1px solid var(--sheet-line); color: var(--sheet-text); break-inside: avoid; }
/* Design-Rat 04.10.2026 (6): "Kurz und klar" zugeklappt, ein Knopf oeffnet alle Antworten. */
.qa-kanon-auf > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: var(--sp-3); min-height: var(--tap-min); padding: 0 var(--sp-5); border-radius: var(--r-btn); background: var(--sheet-card); box-shadow: var(--karte-schatten); font-weight: 700; font-size: var(--t); color: var(--sheet-heading); }
.qa-kanon-auf > summary::-webkit-details-marker { display: none; }
.qa-kanon-auf > summary::after { content: "+"; font-size: var(--h3); font-weight: 400; line-height: 1; }
.qa-kanon-auf[open] > summary { margin-bottom: var(--sp-4); }
.qa-kanon-auf[open] > summary::after { content: "\2212"; }
@media print { .qa-kanon-auf > summary { display: none; } }

/* Design-Rat 04.10.2026 (6): Sprungleiste "Auf dieser Seite" auf langen Seiten, am Handy wischbar. */
.sprungleiste { margin: 0 0 var(--sp-6); }
.article .sprungleiste .sprung-titel { margin: 0 0 var(--sp-2); font-size: var(--k); color: var(--sheet-muted); }
.article .sprungleiste ul { display: flex; gap: var(--sp-2); max-width: none; margin: 0; padding: 0 0 var(--sp-1); list-style: none; overflow-x: auto; scrollbar-width: none; }
.sprungleiste ul::-webkit-scrollbar { display: none; }
.article .sprungleiste li { flex: none; margin: 0; }
.article .sprungleiste a { display: inline-flex; align-items: center; min-height: var(--tap-min); padding: 0 var(--sp-4); border-radius: var(--r-pill); background: var(--sheet-bg); box-shadow: inset 0 0 0 1px var(--sheet-line); color: var(--sheet-heading); font-size: var(--k); font-weight: 700; white-space: nowrap; text-decoration: none; }
.article .sprungleiste a:hover { box-shadow: inset 0 0 0 2px var(--sheet-heading); background: var(--sheet-bg); }
/* Pruefung 04.10.2026: am Handy bis an den Rand, damit der naechste Chip anlugt und man sieht, dass man wischen kann. */
@media (max-width: 767.98px) { .article .sprungleiste ul { margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); } }
@media (min-width: 768px) { .article .sprungleiste ul { flex-wrap: wrap; overflow: visible; } }
@media print { .sprungleiste { display: none; } }

/* Design-Rat 04.10.2026 (6): die Verkaufsschritte als Bildkarten wie auf der Startseite (am Handy wischbar). */
.article ol.schritt-karten { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: var(--gap); max-width: none; margin: var(--sp-4) calc(-1 * var(--pad)) var(--sp-6); padding: var(--sp-1) var(--pad) var(--sp-3); list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); scrollbar-width: none; }
.schritt-karten::-webkit-scrollbar { display: none; }
.schritt-karten .sk { scroll-snap-align: start; display: flex; flex-direction: column; margin: 0; background: var(--sheet-card); border-radius: var(--karte-r); overflow: hidden; box-shadow: var(--sheet-shadow); }
.schritt-karten .sk-bild { position: relative; }
.schritt-karten .sk-bild img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.schritt-karten .sk-nr { position: absolute; left: var(--sp-3); bottom: calc(-1 * var(--sp-4)); display: grid; place-items: center; width: var(--sp-10); height: var(--sp-10); border-radius: var(--r-card); background: var(--signal); color: var(--on-signal); font-family: var(--font-display); font-weight: 700; font-size: var(--h3); transform: rotate(-4deg); box-shadow: 0 4px 12px rgba(13,14,11,.25); }
.schritt-karten .sk-t { padding: var(--sp-8) var(--card-pad) var(--card-pad); }
.article .schritt-karten .sk-t p { margin: 0 0 var(--sp-2); font-size: var(--t); color: var(--sheet-muted); }
.article .schritt-karten .sk-t .sk-titel { font-family: var(--font-display); font-size: var(--h3); line-height: 1.2; color: var(--sheet-heading); }
@media (max-width: 639.98px) { .article ol.schritt-karten { margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); } }
@media (min-width: 640px) { .article ol.schritt-karten { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-inline: 0; padding-inline: 0; overflow: visible; } }
.qa-kanon dd:last-of-type { border-bottom: 0; }
@media (min-width: 1024px) { .qa-kanon dl { column-count: 2; column-gap: 56px; padding: var(--sp-3) 40px var(--sp-4); } .qa-kanon dd:last-of-type { border-bottom: 1px solid var(--sheet-line); } }

/* =============================== Weiterlesen =============================== */
.related { padding: 0 0 var(--s-sektion); }
.related h2 { font-size: var(--fs-h2); line-height: 1.06; margin: 0 0 var(--s-kopf); }
.related-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--gap); }
@media (min-width: 640px) { .related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.related-grid a { display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp-3); padding: var(--pad); background: var(--sheet-card); border-radius: var(--karte-r); box-shadow: var(--karte-schatten); color: var(--sheet-heading); text-decoration: none; transition: transform var(--motion-state) var(--ease-ui), box-shadow var(--motion-state) var(--ease-ui); }
.related-grid a:active { transform: scale(.985); }
@media (hover: hover) { .related-grid a:hover { transform: translateY(-2px); box-shadow: var(--karte-schatten-hoch); } }
/* Rubrik als Schablonen-Stempel wie "Ab 1. Okt." auf den Losen der Startseite. */
.related-grid .k { display: block; width: fit-content; padding: 2px 10px; border-radius: var(--r-pill); background: var(--signal); color: var(--on-signal); font-family: var(--font-body); font-weight: 700; font-size: var(--k); line-height: 1.5; letter-spacing: 0; text-transform: none; }
.related-grid .t { display: block; font-weight: 700; font-size: var(--t); line-height: 1.35; }

/* =============================== Fuss ===============================
   Wie die Startseite: Marke und runde Kanaele oben, Rechtliches, Themengruppen (auf dem Telefon
   eingeklappt), Betreiberangaben mit dem Widerruf als umrandeter Karte, Schlusszeile. */
.foot { position: relative; isolation: isolate; background: var(--bg-base); color: var(--text); font-size: var(--k); padding: 40px 0 calc(40px + env(safe-area-inset-bottom)); }
.foot a { color: var(--text); text-decoration: none; }
.foot-in { display: grid; grid-template-columns: minmax(0, 1fr); }
.foot-kopf { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-4); }
.foot .foot-marke { color: var(--text-bright); gap: var(--sp-2); }
.foot-marke .mark { width: 36px; height: 36px; }
.foot-marke .mark svg { width: 22px; height: 22px; }
.foot-social { display: flex; align-items: center; gap: 10px; }
.foot-folge { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.foot-social a { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--hairline-strong); border-radius: 50%; color: var(--text-bright); transition: background-color var(--motion-feedback) ease, color var(--motion-feedback) ease, border-color var(--motion-feedback) ease; }
.foot-social a:hover { background: var(--signal); border-color: var(--signal); color: var(--on-signal); }
.foot-social span { display: grid; place-items: center; }
.foot-social svg { width: 20px; height: 20px; display: block; }
.foot-legal { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--sp-4); margin-top: 22px; }
.foot-legal a { display: flex; align-items: center; min-height: var(--tap-min); }
.foot a:hover { color: var(--text-bright); text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.foot .foot-marke:hover, .foot-social a:hover { text-decoration: none; }
.sitelinks { margin-top: 14px; border-top: 1px solid var(--hairline); }
.sitelinks details { border-bottom: 1px solid var(--hairline); }
.sitelinks summary { list-style: none; display: flex; justify-content: space-between; align-items: center; min-height: 52px; cursor: pointer; font-weight: 700; font-size: var(--k); color: var(--text-bright); }
.sitelinks summary::-webkit-details-marker { display: none; }
.sitelinks summary::after { content: "+"; font-size: var(--h3); font-weight: 400; line-height: 1; transition: transform var(--motion-sheet) var(--ease-ui); }
.sitelinks details[open] > summary::after { transform: rotate(45deg); }
.sitelinks ul { list-style: none; margin: 0; padding: 0 0 var(--sp-3); }
.sitelinks a { display: flex; align-items: center; min-height: var(--tap-min); line-height: 1.35; }
.foot-recht { display: grid; gap: var(--sp-4); margin-top: 22px; }
.foot-text { margin: 0; max-width: var(--measure); color: var(--text); }
.foot-text + .foot-text { margin-top: 10px; }
/* Marcel 26.11.2026: "Vertrag widerrufen" und "Rechtswidrige Lose melden" stehen klein in .foot-legal, kein grosser
   Knopf und keine Karte mehr (vorher .wr-block / .wr-btn). "Vertrag widerrufen" bleibt HERVORGEHOBEN (Paragraf 356a
   BGB): fett und mit feinem Rahmen als kleine Pille. Der Link behaelt 44 px Tippflaeche, der Rahmen sitzt auf dem span. */
.foot-legal .foot-wr { color: var(--text-bright); }
.foot-legal .foot-wr span { display: inline-flex; align-items: center; min-height: var(--sp-8); padding: 0 var(--sp-3); border: 1px solid color-mix(in srgb, currentColor 55%, transparent); border-radius: var(--r-pill); font-weight: 700; white-space: nowrap; }
.foot .foot-legal .foot-wr:hover { text-decoration: none; }
.foot-legal .foot-wr:hover span { border-color: currentColor; }
.foot-zeile { margin: 22px 0 0; color: var(--text); }
@media (min-width: 768px) {
  .foot-folge { position: static; width: auto; height: auto; overflow: visible; clip-path: none; margin-right: var(--sp-1); color: var(--text); }
  .foot-legal { display: flex; flex-wrap: wrap; gap: 0 var(--sp-6); margin-top: 14px; }
  .foot-legal a { padding-inline: 8px; margin-inline: -8px; }
  .sitelinks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 var(--sp-6); margin-top: var(--sp-6); border-top: 0; }
  .sitelinks details { border-bottom: 0; }
  .sitelinks summary { min-height: 0; padding-bottom: var(--sp-2); cursor: default; pointer-events: none; }
  .sitelinks summary::after { content: none; }
  .foot-recht { margin-top: var(--sp-8); padding-top: var(--sp-6); border-top: 1px solid var(--hairline); }
}
/* Fuenf Gruppen wie auf der Startseite (28.09.2026). Staedte als Zweierliste, Hinweiszeile ueber die ganze Gruppe. */
.foot-staedte ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--sp-4); }
.foot-staedte li:last-child, .foot-hinweis { grid-column: 1 / -1; }
.foot-hinweis { padding-block: var(--sp-2); color: var(--text-muted); line-height: 1.35; }
@media (min-width: 768px) and (max-width: 1023.98px) {
  .foot-staedte { grid-column: span 2; }
}
@media (min-width: 1024px) {
  .sitelinks { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* =============================== Anbieter- und Losseiten ===============================
   (/anbieter/*, /los/*, /lose/, SSR: deploy/src-worker/anbieter.ts und losseiten.ts). Gleiche
   Sprache: weisse Karten auf hellem Grund, lime nur als Flaeche. Neue Klassen mit anb-Praefix. */
.anb-wrap { padding-block: var(--sp-2) var(--s-sektion); }
.anb-wrap .anb-wrap { padding-inline: 0; }
.lead { font-size: var(--t); color: var(--sheet-muted); max-width: var(--measure); }
.anb-kopf { display: flex; gap: var(--sp-5); align-items: flex-start; margin: var(--gap) 0; padding: var(--pad); background: var(--sheet-card); border-radius: var(--karte-r); box-shadow: var(--karte-schatten); }
.anb-sigil { flex: none; width: var(--sp-14); height: var(--sp-14); border-radius: var(--r-sm); background: var(--signal); color: var(--on-signal); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: var(--h3); }
.anb-kopf-text { min-width: 0; }
.anb-kopf-text .eyebrow { margin-bottom: var(--sp-3); }
.anb-kopf-text h1 { margin: 0 0 var(--sp-2); }
.anb-line { margin: 0 0 var(--sp-1); color: var(--sheet-muted); font-size: var(--k); font-style: normal; }
.anb-nums { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-5); margin: var(--sp-3) 0; color: var(--sheet-muted); font-size: var(--k); }
.anb-nums b { margin-right: var(--sp-1); font-size: var(--t); color: var(--sheet-heading); font-variant-numeric: tabular-nums; }
.anb-kurz { margin: var(--sp-3) 0 0; max-width: var(--measure); color: var(--sheet-text); }
.anb-h2 { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3); margin: 40px 0 var(--s-kopf); font-size: var(--fs-h2); line-height: 1.06; }
.anb-count { padding: 2px 10px; border-radius: var(--r-pill); background: var(--signal); color: var(--on-signal); font-family: var(--font-body); font-weight: 700; font-size: var(--k); line-height: 1.5; text-transform: none; }
.anb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: var(--gap); }
.anb-img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--bg-base); }
.anb-grid > .anb-img { border-radius: var(--karte-r); box-shadow: var(--karte-schatten); }
/* Los ohne Foto: das geschlossene Rolltor der Startseite. */
.anb-img-empty { background: linear-gradient(to bottom, transparent 88%, var(--tor-sockel) 88%), repeating-linear-gradient(to bottom, var(--tor-blech) 0 9px, var(--tor-rille) 9px 11px, var(--tor-blech-hell) 11px 12px); }
.anb-pill { padding: 2px 10px; border-radius: var(--r-pill); background: var(--signal); color: var(--on-signal); font-weight: 700; font-size: var(--k); line-height: 1.5; white-space: nowrap; }
.anb-pill-done { background: var(--sheet-bg); color: var(--sheet-muted); box-shadow: inset 0 0 0 1px var(--sheet-line); }
/* Design-Rat 04.10.2026 (5): Leerzustand als ruhige Karte mit Titel, Satz und einem Knopf (vorher grosse "0" im
   gestrichelten Rahmen, das las sich wie "hier ist nichts los"). */
.anb-empty { margin-bottom: var(--sp-4); padding: var(--card-pad-lg); text-align: center; background: var(--sheet-card); border: 0; border-radius: var(--karte-r); box-shadow: var(--sheet-shadow); color: var(--sheet-muted); }
.anb-empty-titel { margin: 0 auto var(--sp-2); max-width: var(--measure); font-family: var(--font-display); font-weight: 700; font-size: var(--fs-h3); line-height: 1.15; text-transform: uppercase; color: var(--sheet-heading); }
.anb-empty p { margin: 0 auto var(--sp-1); max-width: var(--measure); }
.anb-empty .anb-btn { margin-top: var(--sp-4); }
.anb-empty b { color: var(--sheet-heading); }
.anb-trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--gap); margin: var(--s-kopf) 0; }
.anb-trust > div { padding: var(--pad); background: var(--sheet-card); border-radius: var(--karte-r); box-shadow: var(--karte-schatten); }
.anb-trust b { display: block; margin-bottom: var(--sp-1); color: var(--sheet-heading); }
.anb-trust p { margin: 0; font-size: var(--k); color: var(--sheet-muted); }
.anb-trust a { color: var(--sheet-heading); font-weight: 700; overflow-wrap: anywhere; }
.anb-ctas { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin: var(--s-kopf) 0; }
.anb-btn { display: inline-flex; align-items: center; justify-content: center; min-height: var(--knopf-h); padding: 0 var(--sp-5); border: 0; border-radius: var(--r-btn); font: inherit; font-weight: 700; font-size: var(--t); line-height: var(--lh-control); text-decoration: none; cursor: pointer; }
.anb-btn-primary { background: var(--signal); color: var(--on-signal); box-shadow: 0 3px 0 var(--bg-base); transition: transform 80ms ease, box-shadow 80ms ease, background-color .15s; }
.anb-btn-primary:hover { background: var(--signal-deep); }
.anb-btn-primary:active { transform: translateY(3px); box-shadow: 0 0 0 var(--bg-base); }
.anb-btn-ghost { background: transparent; color: var(--sheet-heading); box-shadow: inset 0 0 0 2px var(--sheet-heading); }
.anb-btn-ghost:hover { background: var(--sheet-card); }
.anb-btn-sm { min-height: var(--tap-min); padding: 0 var(--sp-4); font-size: var(--k); }
.anb-link-block { margin: var(--s-kopf) 0; padding: var(--pad); background: var(--sheet-card); border-radius: var(--karte-r); box-shadow: var(--karte-schatten); }
.anb-link-block > p { max-width: var(--measure); color: var(--sheet-muted); }
.anb-link-block .anb-h2 { margin-top: 0; }
.anb-url code { font-family: inherit; font-size: var(--k); color: var(--sheet-heading); word-break: break-all; }
.anb-snippet { margin: 0; padding: var(--sp-3); overflow-x: auto; background: var(--sheet-bg); border-radius: var(--r-sm); }
.anb-snippet code { font-size: var(--k); color: var(--sheet-text); white-space: pre-wrap; word-break: break-all; }
.anb-hub { list-style: none; margin: var(--sp-5) 0; padding: 0; display: grid; gap: var(--sp-3); }
.anb-hub a { display: flex; justify-content: space-between; align-items: baseline; gap: var(--sp-3); min-height: var(--tap-min); padding: var(--sp-4) var(--pad); background: var(--sheet-card); border-radius: var(--karte-r); box-shadow: var(--karte-schatten); color: var(--sheet-heading); font-weight: 700; text-decoration: none; transition: box-shadow var(--motion-state) var(--ease-ui); }
@media (hover: hover) { .anb-hub a:hover { box-shadow: var(--karte-schatten-hoch); } }
.anb-hub span { font-weight: 400; font-size: var(--k); color: var(--sheet-muted); white-space: nowrap; }
@media (max-width: 639.98px) { .anb-kopf { flex-direction: column; } }

/* ---- Loskarten und Galerie im Aufbau der App (Zusammenlegung Schritt 1b, 03.10.2026) ----
   Vorbild src/styles/erscheinung.css, Abschnitt 9 (.lot-card) und die Galerie der App-Losseite.
   Am Handy zwei Karten nebeneinander, ab 768 drei, ab 1280 vier, wie im App-Katalog. */
/* Etikett ueber der Ueberschrift: dieselbe Pille wie auf allen Inhaltsseiten (.eyebrow), Optik-Rat 05.10.2026. */
.lose-kopf > h1 { margin: 0 0 var(--sp-2); }
.lose-lead { margin: 0 0 var(--sp-2); max-width: var(--measure); color: var(--sheet-text); }
.lose-zahl { margin: 0 0 var(--s-kopf); font-size: var(--k); color: var(--sheet-muted); }
/* Sol-Massnahme 3 (04.10.2026): ruhiger Konto-Aufruf fuer Gaeste, Angemeldete (ll-an) sehen ihn nicht. */
.lose-konto { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3) var(--sp-4); margin: 0 0 var(--sp-4); padding: var(--sp-4); border: 1px solid var(--sheet-line); border-radius: var(--r-card); background: var(--sheet-card); }
.lose-konto p { flex: 1 1 18rem; margin: 0; color: var(--sheet-text); }
.lose-konto .lose-konto-knopf { flex: 1 1 auto; width: auto; justify-content: center; text-align: center; }
@media (min-width: 768px) { .lose-konto .lose-konto-knopf { flex: 0 0 auto; } }
.ll-an .lose-konto { display: none; }
/* Rat Optik 10.11.2026 (F-06): am Rechner steht der Konto-Aufruf unter den Karten, damit die erste Kartenreihe im
   ersten Bild ist. Nur Reihenfolge: die Kopfzeile wird eine Spalte, .lose-meta gibt ihre Kinder an sie ab. Am Handy
   bleibt er die schlanke Zeile neben der Zahl (unten, max-width 767.98px). */
@media (min-width: 768px) {
  .lose-kopf { display: flex; flex-direction: column; }
  .lose-kopf > * { min-width: 0; }
  .lose-meta { display: contents; }
  .lose-kopf .lose-konto { order: 1; margin: var(--s-kopf) 0 0; }
  .lose-kopf > .lf-leer { width: 100%; }
}
/* Die Loskarte (.lk, .lk-grid) steht seit dem Optik-Rat 05.10.2026 in src/styles/loskarte.css: EINE Karte fuer
   /lose/, Losseiten, Anbieterseiten und die Startseite. Der Bau haengt die Datei an content.css an. */

/* ---- Losseite im App-Look (Marcel 04.10.2026; Vorbild src/pages/losdetail.ts + src/styles/erscheinung.css) ----
   Oben eine DUNKLE Buehne: Brotkrume der Huelle, Titel mit Merken-Herz, grosse Galerie mit Zaehler, Rolle des
   Fotos, Pfeilen und Vorschaubildern. Darunter hell: Merkmale als 2 x 2 Kaesten mit Zeichen und der Kasten
   "Stand" (Preis, Restzeit, Gebote, eingeklappter Verlauf). Ab 1024 px zwei Spalten: links die Galerie, rechts
   Titel, Merkmale und Stand mit dem Knopf (Design-Rat 04.10.2026, Punkt 8). Die dunkle Flaeche reicht ueber
   die ganze Fensterbreite (border-image wie .detail-header der App); body hat overflow-x: clip.
   Ohne JavaScript ist alles lesbar und jedes Foto ein Verweis; die Insel src/inseln/bieten.ts haelt Preis,
   Restzeit, Lage und Verlauf aktuell, die Galerie-Insel der Huelle blaettert. */
main:has(.lp-buehne) { padding-top: 0; }
.wrap:has(> .lp-buehne) > .crumbs { padding-top: var(--sp-2); color: var(--text-muted); border-image: conic-gradient(var(--bg-base) 0 0) fill 0 // 0 100vmax; }
.wrap:has(> .lp-buehne) > .crumbs a { color: var(--text-bright); }
.wrap:has(> .lp-buehne) > .crumbs a:hover { text-decoration-color: var(--signal); }
.wrap:has(> .lp-buehne) > .crumbs li + li::before { color: var(--text-muted); }
.wrap:has(> .lp-buehne) > .crumbs :focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }
.lp-buehne :is(.lp-kopf, .lg) :focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }

.lp-kopf { padding: var(--sp-1) 0 var(--sp-4); color: var(--text); border-image: conic-gradient(var(--bg-base) 0 0) fill 0 // 0 100vmax; }
.lp-titelzeile { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--sp-4); }
.lp-titel { min-width: 0; max-width: 26ch; margin: 0; font-family: var(--font-display); font-weight: 700; font-size: var(--h2); line-height: var(--lh-tight); text-transform: none; letter-spacing: 0; color: var(--text-bright); overflow-wrap: break-word; hyphens: auto; hyphenate-limit-chars: 10 4 4; }
.lp-unterzeile { margin: var(--sp-2) 0 0; font-size: var(--k); line-height: 1.45; color: var(--text-muted); }
.lp-nr { white-space: nowrap; }
.lp-kurz { max-width: var(--measure); margin: var(--sp-3) 0 0; padding: 0; background: none; box-shadow: none; color: var(--text); }
.lp-ab18 { display: inline-block; margin: var(--sp-3) 0 0; padding: 2px 10px; border-radius: var(--r-pill); background: var(--signal); color: var(--on-signal); font-size: var(--k); font-weight: 700; }

/* Merken: wie .detail-heart der App, auf Schwarz. Am Handy ein runder Knopf ohne Text. */
.lp-merken { flex: none; display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2); min-height: var(--tap-min); margin: 0; padding: 0 var(--sp-4); border: 0; border-radius: var(--r-pill); background: transparent; box-shadow: inset 0 0 0 1px var(--hairline-strong); color: var(--text-bright); font: inherit; font-size: var(--k); font-weight: 700; cursor: pointer; }
.lp-merken[hidden] { display: none; }
.lp-merken svg { width: 20px; height: 20px; flex: none; }
.lp-merken.on { background: var(--signal); color: var(--on-signal); box-shadow: none; }
.lp-merken.on svg { fill: currentColor; }
@media (max-width: 639.98px) { .lp-merken { width: var(--tap-min); padding: 0; } .lp-merken-txt { display: none; } }

/* Galerie: ein grosses Foto, darunter Vorschaubilder. Feste Seitenverhaeltnisse, nichts springt beim Laden. */
.lg { margin: var(--gap) 0; }
.lp-buehne .lg { margin: 0; padding-bottom: var(--sp-5); border-image: conic-gradient(var(--bg-base) 0 0) fill 0 // 0 100vmax; }
.lg-buehne { position: relative; }
.lg-gross { position: relative; display: block; overflow: hidden; aspect-ratio: var(--ratio-lot-photo); border-radius: var(--r-card); background: var(--bg-raised); cursor: zoom-in; }
.lg-gross img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lg-zahl, .lg-rolle { position: absolute; left: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: var(--r-pill); background: color-mix(in srgb, var(--bg-base) 72%, transparent); color: var(--text-bright); font-size: var(--k); font-weight: 700; line-height: 1.3; font-variant-numeric: tabular-nums; pointer-events: none; }
.lg-zahl { top: 10px; }
.lg-rolle { bottom: 10px; max-width: calc(100% - 140px); white-space: nowrap; }
.lg-rolle svg { width: 14px; height: 14px; flex: none; }
.lg-rolle-txt { overflow: hidden; text-overflow: ellipsis; }
.lg-pfeile { position: absolute; right: 10px; bottom: 10px; display: flex; gap: var(--sp-2); }
.lg-pfeile[hidden] { display: none; }
.lg-pfeil { display: grid; place-items: center; width: var(--tap-min); height: var(--tap-min); padding: 0; border: 0; border-radius: var(--r-pill); background: var(--sheet-card); color: var(--sheet-heading); box-shadow: 0 2px 8px rgba(13,14,11,.25); cursor: pointer; }
.lg-pfeil svg { width: 20px; height: 20px; }
.lg-vorschauen { display: flex; gap: var(--sp-2); margin: var(--sp-2) 0 0; padding: 0 0 2px; list-style: none; overflow-x: auto; scrollbar-width: none; }
.lg-vorschauen::-webkit-scrollbar { display: none; }
.lg-vorschauen li { flex: none; margin: 0; }
.lg-vorschau { display: block; width: 64px; height: 48px; overflow: hidden; border: 2px solid transparent; border-radius: var(--r-sm); background: var(--bg-raised); opacity: .55; }
.lg-vorschau[aria-current="true"] { border-color: var(--signal); opacity: 1; }
.lg-vorschau img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lg-leer p { margin: 0; padding: var(--sp-6) 0; color: var(--text-muted); }
.lg-lb { position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; background: var(--bg-base); color: var(--sheet-card);
  padding: calc(12px + env(safe-area-inset-top, 0px)) calc(12px + env(safe-area-inset-right, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) calc(12px + env(safe-area-inset-left, 0px)); }
.lg-lb-kopf, .lg-lb-leiste { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-2); }
.lg-lb-zahl { font-size: var(--k); font-weight: 700; font-variant-numeric: tabular-nums; }
.lg-lb-buehne { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 0; overflow: hidden; touch-action: pinch-zoom; }
.lg-lb-bild { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: var(--r-sm); user-select: none; -webkit-user-select: none; }
.lg-lb-zu, .lg-lb-nav { display: inline-flex; align-items: center; justify-content: center; min-width: var(--tap-comfortable); min-height: var(--tap-comfortable); padding: 0 var(--sp-4); border: 1px solid var(--sheet-muted); border-radius: var(--r-btn); background: transparent; color: var(--sheet-card); font: inherit; font-size: var(--k); font-weight: 700; cursor: pointer; }
.lg-lb-nav svg { width: 20px; height: 20px; }
.lg-lb :focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }

/* Heller Teil: Merkmale und Stand */
.lp-seite { display: flex; flex-direction: column; gap: var(--gap); margin-top: var(--gap); }
/* L-2/L-11 (Kundenansicht 09.10.2026): der Kasten "Stand" steht vor den Merkmalen, damit Preis, Restzeit und
   "Bieten" auf dem ersten Bildschirm liegen. Die Merkmale folgen darunter (am Rechner links unter der Galerie). */
.lp-buehne > .lp-fakten { margin-top: var(--gap); }
/* Merkmal-Kaesten nach Marcels Aufbau (Abend-Liste 04.10.2026): Zeichen, kleine Beschriftung, Wert gross, darunter eine
   kleine Zeile; Standort mit dem Link "Auf Karte". Im Stil der Seite: Linienzeichen der Codex-Mappe ohne
   graue Kreise, Haarlinien statt Kaesten im Kasten, ein Kritzel in der Ecke. */
.lp-fakten { position: relative; background: var(--sheet-card); border-radius: var(--karte-r); box-shadow: var(--karte-schatten); overflow: hidden; }
.lp-fakten-raster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin: 0; }
.lp-fakt { display: flex; align-items: flex-start; gap: var(--sp-3); min-width: 0; padding: var(--sp-4); border-top: 1px solid var(--sheet-line); }
.lp-fakt:nth-child(-n+2) { border-top: 0; }
.lp-fakt:nth-child(odd) { border-right: 1px solid var(--sheet-line); }
.lp-fakt-ic { width: 26px; height: 26px; flex: none; margin-top: 1px; color: var(--sheet-heading); }
.lp-fakt-text { min-width: 0; }
.lp-fakt dt { margin: 0 0 2px; font-size: var(--k); line-height: 1.4; color: var(--sheet-muted); }
.lp-fakt dd { margin: 0; color: var(--sheet-heading); overflow-wrap: anywhere; hyphens: manual; }
.lp-fakt-wert { font-size: var(--h3); font-weight: 700; line-height: 1.2; }
.lp-adresse { font-style: normal; }
.lp-fakt-klein { display: block; margin-top: 2px; font-size: var(--k); font-weight: 400; line-height: 1.4; color: var(--sheet-muted); }
.lp-fakt-ca { font-size: var(--k); font-weight: 400; color: var(--sheet-muted); }
/* Kartenlink im Standort-Kasten (Marcel 05.10.2026): klein und unterstrichen statt Knopf; die Tippflaeche
   bleibt 44 px hoch, ohne den Kasten aufzublasen (negativer Rand gleicht sie aus). */
.lp-karte { display: inline-flex; align-items: center; gap: 6px; min-height: var(--tap-min); margin: calc(var(--sp-1) - (var(--tap-min) - 1.4em) / 2) 0 calc((var(--tap-min) - 1.4em) / -2); color: var(--sheet-heading); font-size: var(--k); font-weight: 700; line-height: 1.4; text-decoration: underline; text-underline-offset: 3px; }
.lp-karte:hover { text-decoration-thickness: 2px; }
.lp-karte:focus-visible { outline: 2px solid var(--sheet-heading); outline-offset: 2px; }
.lp-karte-ic { width: 16px; height: 16px; flex: none; }
/* Schmal: Zeichen ueber der Beschriftung (wie die Werte der Gebotskarte), damit der Wert die halbe Breite hat. */
@media (max-width: 639.98px) { /* Optik F-25: vorher 439.98, jetzt die erlaubte Stufe sm */
  .lp-fakt { flex-direction: column; gap: var(--sp-2); padding: 14px; }
  .lp-fakt-ic { width: 24px; height: 24px; margin: 0; }
}
@media (max-width: 359.98px) { .lp-fakt-wert { font-size: var(--t); } }
@media (min-width: 640px) { .lp-fakt { padding: var(--sp-5); } }

/* Gebotskarte nach Marcels Entwurf (04.10.2026, docs/design/gebotskarte-2026-10-04): Dachzeile, grosser Betrag,
   Pille, drei Werte, EIN Knopf, Verlaufszeile. In der Sprache der Seite statt der Optik des Entwurfs: weisse Karte
   mit dem Kartenschatten, Betrag in der Titelschrift, Dachzeile wie .dach der Startseite, Werte durch Haarlinien
   getrennt (keine grauen Zeichen-Kreise), Zeichen klein und als Linie, Lime nur fuer Knopf und Pille, im Knopf ein
   Handstrich-Pfeil wie "Zur Seite wischen" auf der Startseite. */
.lp-stand { container-type: inline-size; padding: var(--pad); background: var(--sheet-card); border-radius: var(--karte-r); box-shadow: var(--karte-schatten); }
.lp-stand-kopf { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); }
.lp-stand-label { font-size: var(--k); font-weight: 700; line-height: 1.45; letter-spacing: .06em; text-transform: uppercase; color: var(--sheet-muted); }
.lp-stand-kopf .anb-pill { display: inline-flex; align-items: center; gap: 6px; }
.lp-stand-kopf .anb-pill:not(.anb-pill-done)::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.lp-preis { margin: var(--sp-2) 0 0; font-family: var(--font-display); font-size: var(--fs-display); font-weight: 700; line-height: 1; letter-spacing: 0; color: var(--sheet-heading); font-variant-numeric: tabular-nums; }
.lp-preis b { font-weight: 700; }
/* Handstrich unter dem Betrag (Codex-Akzent), Signal-Gelb wie kr-unter der Startseite. */
.lp-preis:has(.lp-preis-strich) { position: relative; display: inline-block; padding-bottom: .16em; }
.lp-preis-strich { position: absolute; left: -2%; bottom: -.08em; width: 104%; height: .2em; fill: var(--signal); pointer-events: none; }
/* L-1/L-9 (Kundenansicht 09.10.2026): Kaeufergebuehr, Barzahlung und naechstes Gebot direkt am Preis, ruhig. */
.lp-preis-info { margin: var(--sp-2) 0 0; font-size: var(--k); line-height: 1.45; color: var(--sheet-muted); }
.lp-preis-info[hidden] { display: none; }
/* Nutztest 10.11.2026 (N-03, N-18): die Summe ist die Leitzeile ("Zusammen 69 €" in <b>); Zahlungsmittel und Abholung
   stehen als ruhige Hinweise unter einer Haarlinie, mit kleinem Punkt davor. Server (losseiten.ts standZeilen) und Insel
   (src/inseln/bieten.ts) setzen dieselben Klassen. Ist der erste Hinweis verborgen, traegt der zweite die Linie. */
.lp-summe { color: var(--sheet-text); }
.lp-summe b { color: var(--sheet-heading); }
.lp-preis-hinweis { position: relative; padding-left: var(--sp-4); }
.lp-preis-hinweis::before { content: ""; position: absolute; left: 0; top: .55em; width: calc(var(--sp-3) / 2); height: calc(var(--sp-3) / 2); border-radius: var(--r-pill); background: var(--signal-deep); }
.lp-preis-info:not(.lp-preis-hinweis, [hidden]) + .lp-preis-hinweis,
.lp-preis-info:not(.lp-preis-hinweis) + .lp-preis-hinweis[hidden] + .lp-preis-hinweis { margin-top: var(--sp-3); padding-top: var(--sp-3); border-top: 1px solid var(--sheet-line); }
.lp-preis-info:not(.lp-preis-hinweis, [hidden]) + .lp-preis-hinweis::before,
.lp-preis-info:not(.lp-preis-hinweis) + .lp-preis-hinweis[hidden] + .lp-preis-hinweis::before { top: calc(var(--sp-3) + .55em); }
/* Reinigungskaution (09.10.2026): eigene Zeile am Preis, eine Stufe kraeftiger als die Gebuehr, damit sie vor dem Bieten auffaellt. */
.lp-kaution { color: var(--sheet-text); }
.lp-lage { margin: var(--sp-3) 0 0; font-weight: 700; color: var(--sheet-heading); }
/* L-8/L-3: "Du führst" und "gewonnen" als Band mit Flaeche statt schwarzer Zeile. */
.lp-lage:is([data-art="fuehrt"], [data-art="gewonnen"]) { padding: var(--sp-2) var(--sp-3); border: 2px solid var(--ok); border-radius: var(--r-sm); background: color-mix(in srgb, var(--ok) 14%, var(--sheet-card)); }
.lp-gewinn-schritte { margin: var(--sp-2) 0 0; font-size: var(--k); line-height: 1.45; color: var(--sheet-text); }
.lp-lage:empty { display: none; }
.lp-lage[data-art="ueberboten"] { color: var(--sheet-bad); }
.lp-lage:is([data-art="pruefung"], [data-art="fremd"], [data-art="leer"], [data-art="beendet"], [data-art="verloren"]) { font-weight: 400; color: var(--sheet-muted); }

/* Die Werte im hellen Kasten, zwei mal zwei, durch Haarlinien getrennt. */
.lp-werte { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: var(--sp-5) 0 0; border-radius: var(--r-card); background: var(--sheet-bg); }
/* Marcel 05.10.2026: zweizeilig, das Zeichen steht neben der Dachzeile, der Wert darunter ueber die ganze Breite. */
.lp-wert { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 6px; min-width: 0; padding: var(--sp-3) 10px; }
.lp-wert:nth-child(even) { border-left: 1px solid var(--sheet-line); }
.lp-wert-ic { display: block; width: 16px; height: 16px; color: var(--sheet-heading); }
.lp-wert dt { min-width: 0; margin: 0; font-size: var(--fs-caption); font-weight: 700; line-height: 1.4; letter-spacing: .04em; text-transform: uppercase; color: var(--sheet-muted); }
.lp-wert dd { grid-column: 1 / -1; margin: 2px 0 0; font-size: var(--k); font-weight: 700; line-height: 1.35; color: var(--sheet-heading); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; hyphens: auto; }
.lp-wert dd a { color: inherit; }
/* L-4: die laufende Zeit in der letzten Stunde rot wie Karte und Leiste; darunter die feste Endzeit. */
.lp-stand time[data-letzte-stunde] { color: var(--sheet-bad); }
.lp-wert-ende { display: block; font-size: var(--fs-caption); font-weight: 400; line-height: 1.4; color: var(--sheet-muted); }
.lp-wert-ende[hidden] { display: none; }
/* Seit der vierten Kachel "Teilen" (Marcel 07.10.2026) immer zwei mal zwei, auch in der rechten Spalte am Rechner.
   Ohne Restzeit (beendet, vor dem Start) sind es drei: die letzte geht dann ueber die volle Breite. */
.lp-wert:nth-child(n+3) { border-top: 1px solid var(--sheet-line); }
.lp-wert:last-child:nth-child(odd) { grid-column: 1 / -1; }
/* Tiefentest 07.11.2026, N-4: "Los teilen" war 15 px hoch. Volle Tippflaeche nach oben und unten, die Kachel bleibt gleich hoch. */
.lp-wert dd .lp-teilen { display: inline-block; padding-block: var(--sp-4); margin-block: calc(-1 * var(--sp-4)); text-decoration: underline; text-underline-offset: 3px; }
/* L-12 (Kundenansicht 09.10.2026), gemessen bei 320: "VERKÄUFER" brach als "VERKÄUFE / R". Ohne Sperrung und mit
   etwas weniger Innenabstand passt das Wort in die halbe Kastenbreite. */
@media (max-width: 359.98px) { .lp-wert { padding-inline: var(--sp-2); } .lp-wert dt { letter-spacing: 0; } }
@media (min-width: 640px) { .lp-wert { padding: var(--sp-4); column-gap: var(--sp-2); } .lp-wert dd { font-size: var(--t); } }

/* Der EINE Knopf: volle Breite, Zeichen links, Text mittig, Handstrich-Pfeil rechts. */
/* Marcel 05.10.2026: nur das Wort, ohne Kreis-Pfeil und gemalten Pfeil. */
.lp-stand > .lp-bieten { display: flex; width: 100%; min-height: calc(var(--knopf-h) + var(--sp-2)); margin: var(--sp-5) 0 0; padding: 0 var(--sp-5); font-size: var(--h3); }
.lp-stand > .lp-bieten:focus-visible { outline: 2px solid var(--sheet-heading); outline-offset: 3px; }
.lp-stand-knopf { margin: var(--sp-5) 0 0; }
.lp-stand-knopf .anb-btn { width: 100%; }
/* Verkauftes Los: Hinweis an Leute mit eigenem vollen Raum (Landingpage-Rat 12.10.2026). */
.lp-selbst { margin: var(--sp-5) 0 0; padding: var(--sp-4) 0 0; border-top: 1px solid var(--sheet-line); }
.lp-selbst p { margin: 0 0 var(--sp-2); font-size: var(--t); color: var(--sheet-text); }
.lp-selbst .lp-selbst-h { font-weight: 700; color: var(--sheet-heading); }
.lp-selbst .lp-stand-knopf { margin-top: var(--sp-3); }

/* Gebotsverlauf eingeklappt: die Kopfzeile nennt den Fuehrenden und das Gebot, aufgeklappt die Liste. */
.lp-verlauf { margin-top: var(--sp-5); border-top: 1px solid var(--sheet-line); }
.lp-verlauf[hidden] { display: none; }
.lp-verlauf-kopf { display: flex; align-items: center; gap: var(--sp-3); min-height: var(--tap-min); padding: var(--sp-3) 0 0; cursor: pointer; list-style: none; }
.lp-verlauf-kopf::-webkit-details-marker { display: none; }
.lp-verlauf-ic { width: 20px; height: 20px; flex: none; color: var(--sheet-heading); }
.lp-verlauf-text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.lp-verlauf-titel { font-size: var(--fs-caption); font-weight: 700; line-height: 1.4; letter-spacing: .06em; text-transform: uppercase; color: var(--sheet-muted); }
.lp-verlauf-kurz { font-size: var(--k); line-height: 1.4; color: var(--sheet-heading); font-variant-numeric: tabular-nums; }
.lp-verlauf-kurz:empty { display: none; }
.lp-verlauf-pfeil { width: 20px; height: 20px; flex: none; color: var(--sheet-heading); transition: transform var(--motion-state) var(--ease-ui); }
.lp-verlauf[open] .lp-verlauf-pfeil { transform: rotate(180deg); }
.lp-verlauf-kopf:focus-visible { outline: 2px solid var(--sheet-heading); outline-offset: 2px; }
.lp-verlauf-liste { margin: var(--sp-3) 0 0; padding: 0; list-style: none; }
.lp-verlauf-zeile { display: grid; grid-template-columns: minmax(0, 1fr) auto 7.5rem; align-items: center; gap: var(--sp-3); min-height: 40px; border-top: 1px solid var(--sheet-line); font-size: var(--k); }
.lp-verlauf-wer { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; color: var(--sheet-heading); }
.lp-verlauf-wann, .lp-verlauf-betrag { color: var(--sheet-muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.lp-verlauf-zeile > :last-child { justify-self: end; }
/* Runde 2 (04.10.2026): "Bieter 4821" ist breiter als "Bieter 1". Unter 768 px und in der schmalen rechten Spalte
   steht die Zeit klein unter dem Namen. Der Betrag bzw. "fuehrt" rechts ueber beide Zeilen. */
@media (max-width: 767.98px), (min-width: 1024px) {
  .lp-verlauf-zeile { grid-template-columns: minmax(0, 1fr) auto; row-gap: 0; padding: 6px 0; }
  .lp-verlauf-wer { grid-column: 1; grid-row: 1; }
  .lp-verlauf-wann { grid-column: 1; grid-row: 2; font-size: var(--fs-caption); }
  .lp-verlauf-zeile > :last-child { grid-column: 2; grid-row: 1 / span 2; }
}

/* Beschreibung, Anbieter: je eine weisse Karte wie .detail-block der App */
.lp-block { margin: var(--gap) 0 0; padding: var(--pad); background: var(--sheet-card); border-radius: var(--karte-r); box-shadow: var(--karte-schatten); }
.lp-block-titel { margin: 0; font-size: var(--h3); line-height: 1.2; text-transform: none; letter-spacing: 0; }
.lp-block > .anb-kurz:first-of-type { margin-top: var(--sp-2); }
.lp-block .anb-trust { margin: var(--sp-4) 0 0; }
.lp-block .anb-trust > div { background: var(--sheet-bg); box-shadow: none; }
/* Optik-Rat 05.10.2026: Aufzaehlungen des Verkaeufers als echte Liste, lange Texte ab der Mitte eingeklappt. */
.lp-liste { margin: var(--sp-3) 0 0; padding-left: 1.2em; max-width: var(--measure); color: var(--sheet-text); }
.lp-liste li + li { margin-top: var(--sp-1); }
.lp-liste li::marker { color: var(--sheet-muted); }
.lp-mehr { margin-top: var(--sp-3); }
.lp-mehr > summary { display: inline-flex; align-items: center; gap: var(--sp-2); min-height: var(--tap-min); font-weight: 700; color: var(--sheet-heading); cursor: pointer; list-style: none; text-decoration: underline; text-underline-offset: 3px; }
.lp-mehr > summary::-webkit-details-marker { display: none; }
.lp-mehr[open] > summary { display: none; }
.lp-hinweis { margin-top: var(--sp-4); padding: 16px; border-radius: var(--r-card); background: var(--sheet-bg); }
.lp-hinweis-titel { margin: 0; font-family: var(--font-display); font-size: var(--t); font-weight: 700; line-height: 1.2; text-transform: none; letter-spacing: 0; color: var(--sheet-heading); }
.lp-hinweis .anb-kurz { margin-top: var(--sp-2); color: var(--sheet-muted); }
.lp-regeln { margin: var(--gap) 0 0; }
/* Charity-Lager (24.11.2026): Verkaeuferangaben und der Satz zum Verkauf als eine ruhige kleine Zeile im Block "Gut zu wissen". */
/* Rat Optik 10.11.2026 (F-08): auf der Losseite spricht jede Ueberschrift in der Titelschrift, wie "Beschreibung"
   (Losname, "Nicht enthalten", die drei Regel-Karten). Vorher drei Stimmen auf einer Seite. */
.lp-regeln b { margin-bottom: var(--sp-2); font-family: var(--font-display); font-size: var(--h3); line-height: 1.2; }
.lp-melden-zeile { margin: var(--sp-5) 0 0; }
.lp-melden { display: inline-flex; align-items: center; min-height: var(--tap-min); font-size: var(--k); color: var(--sheet-muted); text-decoration: underline; text-underline-offset: 2px; }

/* Feste Leiste unten (Handy und Tablet): aktuelles Gebot, Restzeit, "Bieten". Nur mit Skript und nur, solange der
   Knopf der Gebotskarte aus dem Bild ist (src/inseln/bieten.ts); so ist immer genau EIN Knopf zu sehen. */
.lp-leiste { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; isolation: isolate; background: var(--bg-base); color: var(--text-bright); box-shadow: 0 -8px 24px rgba(0,0,0,.18); padding: 10px 0 calc(10px + env(safe-area-inset-bottom, 0px)); }
.lp-leiste[hidden] { display: none; }
.lp-leiste-in { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); max-width: var(--container-max); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 768px) { .lp-leiste-in { padding: 0 var(--gutter-lg); } }
.lp-zahlen { display: flex; flex-direction: column; min-width: 0; }
.lp-leiste-label { font-size: var(--k); line-height: 1.35; color: var(--text-muted); overflow-wrap: anywhere; }
.lp-leiste-label[data-art="fuehrt"] { align-self: flex-start; padding: 0 8px; border-radius: var(--r-pill); background: var(--ok); color: var(--bg-base); font-weight: 700; }
.lp-leiste-label[data-art="ueberboten"] { color: var(--text-bright); font-weight: 700; }
.lp-leiste-zeile { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px var(--sp-3); }
.lp-leiste-preis { font-size: var(--t); font-weight: 700; color: var(--text-bright); font-variant-numeric: tabular-nums; white-space: nowrap; }
.lp-leiste-zeit { font-size: var(--k); color: var(--text-bright); font-variant-numeric: tabular-nums; white-space: nowrap; }
.lp-leiste-zeit[data-letzte-stunde] { padding: 2px 10px; border-radius: var(--r-pill); background: var(--sheet-bad); color: var(--sheet-card); font-weight: 700; font-size: 1.12em; }
.lp-leiste .lp-bieten { flex: none; min-width: 112px; box-shadow: 0 3px 0 var(--signal-deep); }
.lp-leiste .lp-bieten:active { box-shadow: 0 0 0 var(--signal-deep); }
/* L-8: fuehrend ist "Maximum erhöhen" eine Nebenhandlung, auf dem dunklen Grund als helle Umrandung. */
.lp-leiste .lp-bieten.anb-btn-ghost { background: transparent; color: var(--text-bright); box-shadow: inset 0 0 0 2px var(--text-bright); }
.lp-leiste :focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }
/* Platz fuer die Leiste am Seitenende, damit sie die letzten Links der Fusszeile nie verdeckt. In der
   schwarzen Fusszeile selbst, sonst bliebe zwischen Fusszeile und Leiste ein heller Streifen. */
@media (max-width: 1023.98px) { body:has(.lp-leiste:not([hidden])) .foot { padding-bottom: calc(40px + 76px + env(safe-area-inset-bottom, 0px)); } }

/* Am Rechner: zwei Spalten auf der dunklen Buehne. Keine feste Leiste; die Gebotskarte haftet oben in der rechten
   Spalte, solange die Galerie daneben steht. */
@media (min-width: 1024px) {
  /* Optik-Rat 05.10.2026: dritte Zeile "text" links unter der Galerie, rechts laeuft die Spalte mit der Gebotskarte
     weiter. Die dunkle Flaeche ist ein Rasterelement ueber den ersten zwei Zeilen (bis 40 px unter die Galerie). */
  .lp-buehne { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 1fr); grid-template-rows: auto auto auto 1fr; grid-template-areas: "galerie kopf" "galerie seite" "fakten seite" "text seite"; column-gap: 40px; align-items: start; padding: var(--sp-4) 0 0; }
  .lp-buehne::before { content: ""; grid-column: 1 / -1; grid-row: 1 / 3; align-self: stretch; z-index: -1; margin: calc(var(--sp-4) * -1) 0 -40px; border-image: conic-gradient(var(--bg-base) 0 0) fill 0 // 0 100vmax; }
  .lp-buehne > .lp-fakten { grid-area: fakten; margin-top: calc(40px + var(--sp-6)); }
  .lp-text { grid-area: text; min-width: 0; padding-top: var(--gap); }
  .lp-text > .lp-block:first-child { margin-top: 0; }
  .lp-regeln { grid-template-columns: minmax(0, 1fr); }
  .lp-titelzeile { flex-direction: column; align-items: flex-start; gap: var(--sp-3); }
  .lp-buehne .lp-kopf, .lp-buehne .lg { border-image: none; }
  .lp-buehne .lg { grid-area: galerie; padding-bottom: 0; }
  .lp-kopf { grid-area: kopf; padding: 0; }
  .lp-seite { grid-area: seite; align-self: stretch; margin-top: var(--sp-4); }
  .lp-stand { position: sticky; top: calc(var(--kopf-h) + var(--sp-4)); }
  /* Die rechte Spalte ist schmaler als ein Tablet: Werte wieder klein, damit "Privatanbieter" nicht getrennt wird. */
  .lp-wert { padding: var(--sp-3) 10px; column-gap: 6px; }
  .lp-wert dd { font-size: var(--k); }
  .lp-titel { max-width: none; font-size: var(--fs-h2); hyphens: manual; }
  .lg-vorschauen { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); overflow: visible; }
  .lg-vorschau { width: 100%; height: auto; aspect-ratio: var(--ratio-lot-photo); }
  .lp-leiste { display: none !important; }
}
/* Ab 1280 bekommt die Galerie mehr Breite (vorher ab 1024, dort war die rechte Spalte zu schmal). */
@media (min-width: 1280px) { .lp-buehne { grid-template-columns: minmax(0, 1.3fr) minmax(360px, 1fr); } }

/* Design-Rat 04.10.2026 (7): Verkaeuferseiten bekommen am Handy und Tablet dieselbe feste Leiste wie die Losseite,
   mit einem Hauptknopf. Bis der Seitenkopf aus dem Bild ist, wartet sie unter dem Rand (Skript in build-content.mjs). */
.verkauf-leiste { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; isolation: isolate; background: var(--bg-base); color: var(--text); box-shadow: 0 -8px 24px rgba(0,0,0,.18); padding: var(--sp-3) 0 calc(var(--sp-3) + env(safe-area-inset-bottom, 0px)); transition: transform var(--motion-sheet) var(--ease-ui), visibility var(--motion-sheet); }
.verkauf-leiste--wartet { transform: translateY(100%); visibility: hidden; }
.verkauf-leiste-in { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); max-width: var(--container-max); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 768px) { .verkauf-leiste-in { padding: 0 var(--gutter-lg); } }
.verkauf-leiste-text { display: flex; flex-direction: column; min-width: 0; margin: 0; font-size: var(--k); line-height: 1.35; color: var(--text-muted); }
.verkauf-leiste-text strong { font-size: var(--t); color: var(--text-bright); }
.verkauf-leiste .btn { flex: none; width: auto; min-height: var(--tap-comfortable); }
.verkauf-leiste :focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }
@media (max-width: 1023.98px) { body:has(.verkauf-leiste) .foot { padding-bottom: calc(40px + 76px + env(safe-area-inset-bottom, 0px)); } }
@media (min-width: 1024px) { .verkauf-leiste { display: none; } }
@media (prefers-reduced-motion: reduce) { .verkauf-leiste { transition: none; } }
@media print { .verkauf-leiste { display: none; } }

/* =============================== Pressebereich (/presse/) ===============================
   Neugestaltung 06.11.2026 (Marcel): Kopf mit zwei Knoepfen, hervorgehobene Charity-Karte, Medienliste,
   Kurzprofil mit Kopierknopf, Zahlen als Kacheln, Mitteilungen zugeklappt, Logos als Kacheln, Kontakt als
   Karte. Ohne Seitenspalte: der Artikel nimmt die volle Breite (page-grid--voll, build-content.mjs). */
@media (min-width: 1024px) { .page-grid--voll { grid-template-columns: minmax(0, 1fr); } }
/* Zweiter Knopf neben dem lime Hauptknopf: Rand statt Flaeche, auf hellem Grund. */
.btn--ghost { background: transparent; color: var(--sheet-heading); box-shadow: inset 0 0 0 2px var(--sheet-heading); }
.btn--ghost:hover { background: var(--sheet-bg); }
.btn--ghost:active { transform: translateY(1px); box-shadow: inset 0 0 0 2px var(--sheet-heading); }
/* Knoepfe im Seitenkopf: nebeneinander, so breit wie ihr Text; auf schmalen Handys teilen sie sich die Zeile. */
.kopf-knoepfe { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin: var(--sp-5) 0 0; }
.kopf-knoepfe .btn { flex: 1 1 auto; width: auto; }
@media (min-width: 640px) { .kopf-knoepfe .btn { flex: 0 0 auto; } }
@media (min-width: 1280px) {
  .page-hero:has(> .kopf-knoepfe) { grid-template-rows: auto 1fr auto; }
  .page-hero > .kopf-knoepfe { grid-column: 2; grid-row: 3; }
}

/* Aktuell: dunkle Karte mit Bild, wie die Marktplatz-Kaesten. Links darin sind nur Knoepfe. */
.presse-aktuell { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr); margin: 0 0 var(--sp-4); border-radius: var(--karte-r); background: var(--bg-base); color: var(--text); }
.presse-aktuell::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: var(--koernung); background-size: 160px; }
.presse-aktuell .pa-bild { display: block; width: 100%; height: auto; }
.presse-aktuell .pa-text { padding: var(--pad); }
.article .presse-aktuell p { color: var(--text); }
.article .presse-aktuell .pa-anriss { font-weight: 700; color: var(--text-bright); }
.pa-eckdaten { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sp-3); margin: 0 0 var(--sp-5); }
.pa-eckdaten > div { padding-top: var(--sp-3); border-top: 1px solid var(--hairline); }
.pa-eckdaten dt { font-size: var(--k); color: var(--text-muted); }
.pa-eckdaten dd { margin: 2px 0 0; font-weight: 700; color: var(--text-bright); }
.article .presse-aktuell .pa-knopf { margin: 0; }
.presse-aktuell .btn { box-shadow: 0 3px 0 var(--signal-deep); }
.presse-aktuell .btn:active { box-shadow: 0 0 0 var(--signal-deep); }
.presse-aktuell :focus-visible { outline-color: var(--signal); }
@media (min-width: 640px) {
  .pa-eckdaten { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--sp-5); }
  .pa-eckdaten > div:nth-child(n+3) { grid-column: 1 / -1; }
  .presse-aktuell .pa-knopf .btn { width: fit-content; }
}
@media (min-width: 1024px) {
  .presse-aktuell { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; }
  .presse-aktuell .pa-bild { margin: var(--sp-6) 0 var(--sp-6) var(--sp-6); width: calc(100% - var(--sp-6)); border-radius: var(--r-card); }
  .presse-aktuell .pa-text { padding: var(--sp-8) var(--sp-10) var(--sp-8) var(--sp-8); }
}

/* Medienberichte: ruhige Liste, Medium und Datum klein darueber. */
.article .presse-medien { list-style: none; max-width: none; margin: 0 0 var(--sp-4); padding: 0; }
.article .presse-medien li { margin: 0; padding: var(--sp-4) 0; border-top: 1px solid var(--sheet-line); }
.article .presse-medien li:last-child { border-bottom: 1px solid var(--sheet-line); }
.article .presse-medien p { margin: 0; }
.article .presse-medien .pm-meta { font-size: var(--k); color: var(--sheet-muted); }
.article .presse-medien .pm-titel { margin-top: var(--sp-1); font-weight: 700; color: var(--sheet-heading); }

/* Kurzprofil zum Zitieren: Zitatflaeche mit lime Kante, darunter der Kopierknopf (entsteht im Skript). */
.presse-zitat { max-width: calc(var(--measure) + var(--sp-12)); padding: var(--sp-5) var(--sp-5) var(--sp-1) var(--sp-6); border-radius: var(--r-card); background: var(--sheet-bg); box-shadow: inset 4px 0 0 var(--signal), inset 0 0 0 1px var(--sheet-line); }
.article .kopier-zeile { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3); margin: var(--sp-4) 0 0; }
.kopier-zeile .btn { width: auto; }
.kopier-status { font-size: var(--k); color: var(--sheet-muted); }

/* Zahlen und Fakten: Kennzahl-Kacheln (.kennzahl, siehe unten) und Regelkacheln. */
.article .presse-zahlen { list-style: none; max-width: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-3); margin: 0 0 var(--sp-3); padding: 0; }
.article .presse-zahlen .kennzahl { margin: 0; padding: var(--sp-4); }
.article .presse-zahlen .kennzahl b { font-size: var(--fs-h3); line-height: 1.1; }
@media (min-width: 768px) { .article .presse-zahlen { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.presse-regeln { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sp-3); margin: 0 0 var(--sp-5); }
.presse-regeln > div { padding: var(--sp-4); border: 1px solid var(--sheet-line); border-radius: var(--r-card); }
.presse-regeln dt { font-weight: 700; color: var(--sheet-heading); }
.presse-regeln dd { margin: var(--sp-1) 0 0; }
@media (min-width: 768px) { .presse-regeln { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .presse-regeln { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Pressemitteilungen: je eine zugeklappte Karte, Datum und Titel sichtbar, Wortlaut auf Klick. */
.presse-meldungen { display: grid; gap: var(--sp-3); margin: var(--sp-4) 0; }
.presse-meldung { background: var(--sheet-card); border: 1px solid var(--sheet-line); border-radius: var(--r-card); box-shadow: var(--flach-schatten); }
.presse-meldung > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); min-height: var(--tap-min); padding: var(--sp-4) var(--sp-5); }
.presse-meldung > summary::-webkit-details-marker { display: none; }
.presse-meldung > summary::after { content: "+"; flex: none; font-size: var(--h3); font-weight: 400; line-height: 1; color: var(--sheet-heading); transition: transform var(--motion-sheet) var(--ease-ui); }
.presse-meldung[open] > summary::after { transform: rotate(45deg); }
.pm-kopf { display: flex; flex-direction: column; gap: var(--sp-1); min-width: 0; }
.pm-datum { font-size: var(--k); color: var(--sheet-muted); }
.article .presse-meldung h3 { margin: 0; font-size: var(--h3); line-height: 1.2; }
.pm-inhalt { padding: 0 var(--sp-5) var(--sp-2); border-top: 1px solid var(--sheet-line); }
.article .pm-inhalt > :first-child { margin-top: var(--sp-4); }
.article .pm-inhalt .anriss { font-weight: 700; color: var(--sheet-heading); }
.article .pm-inhalt .quelle { font-size: var(--k); color: var(--sheet-muted); }
.article .presse-meldung h4 { margin: var(--sp-5) 0 6px; font-family: var(--font-body); font-weight: 700; font-size: var(--t); color: var(--sheet-heading); }
.presse-meldung blockquote { font-style: italic; }

/* Logos und Bildmaterial: Kacheln mit Vorschau, die ganze Kachel laedt die Datei. */
.article .presse-dateien { list-style: none; max-width: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-3); margin: 0 0 var(--sp-5); padding: 0; }
.article .presse-dateien li { margin: 0; padding: 0; }
@media (min-width: 1024px) { .article .presse-dateien { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.article a.presse-datei { display: flex; flex-direction: column; height: 100%; padding: var(--sp-3); border: 1px solid var(--sheet-line); border-radius: var(--r-card); background: var(--sheet-card); background-image: none; color: var(--sheet-text); font-weight: 400; box-shadow: var(--flach-schatten); transition: box-shadow var(--motion-state) var(--ease-ui); }
.article a.presse-datei:hover { box-shadow: var(--karte-schatten-hoch); }
.pd-bild { display: flex; align-items: center; justify-content: center; height: 96px; margin-bottom: var(--sp-3); padding: var(--sp-3); border-radius: var(--r-sm); }
.pd-bild--dunkel { background: var(--bg-base); }
.pd-bild--hell { background: var(--sheet-bg); }
.pd-bild img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; }
.pd-name { font-weight: 700; color: var(--sheet-heading); }
.pd-info { font-size: var(--k); color: var(--sheet-muted); }
.pd-laden { margin-top: auto; padding-top: var(--sp-3); font-weight: 700; color: var(--sheet-heading); text-decoration: underline; text-decoration-color: var(--signal-deep); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.farbfeld { display: inline-block; width: .9em; height: .9em; margin: 0 .3em 0 .1em; vertical-align: -.1em; border-radius: 3px; box-shadow: inset 0 0 0 1px var(--sheet-line); }
.farbfeld--signal { background: var(--signal); }
.farbfeld--grund { background: var(--bg-base); }

/* Pressekontakt: Karte, am Rechner Person links, Text und Knopf rechts. */
.presse-kontakt { padding: var(--pad); border-radius: var(--r-card); background: var(--sheet-bg); box-shadow: inset 0 0 0 1px var(--sheet-line); }
.article .pk-name { display: flex; flex-direction: column; margin: 0 0 var(--sp-3); }
.pk-name strong { font-family: var(--font-display); font-size: var(--h3); line-height: 1.2; text-transform: uppercase; }
.pk-name span { font-size: var(--k); color: var(--sheet-muted); }
.article .pk-wege { list-style: none; max-width: none; margin: 0 0 var(--sp-4); padding: 0; }
.article .pk-wege li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 var(--sp-3); margin: 0; padding: var(--sp-2) 0; border-top: 1px solid var(--sheet-line); }
.pk-wege span { min-width: 5.5em; font-size: var(--k); color: var(--sheet-muted); }
.article .pk-knopf { margin: 0; }
@media (min-width: 640px) { .pk-knopf .btn { width: fit-content; } }
@media (min-width: 1024px) {
  .presse-kontakt { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--sp-10); align-items: start; padding: var(--sp-8); }
  .article .pk-wege { margin-bottom: 0; }
}

/* Offene Platzhalter in Rechtstexten: unuebersehbar in Warnfarbe (kein Akzent, ein Mangel).
   scripts/check-launch.mjs meldet denselben Zustand als Blocker. */
.prose mark.tbd,
mark.tbd { padding: 0 .35em; border: 1px dashed var(--warn); border-radius: 4px; background: color-mix(in srgb, var(--warn) 22%, transparent); color: var(--sheet-heading); font-style: normal; font-weight: 700; white-space: normal; }

/* =============================== Druck ===============================
   Gedruckt oder als PDF gespeichert wird der Text. Browser drucken ohne Hintergruende, dann stand die
   helle Schrift des schwarzen Kopfs und Fusses weiss auf weissem Papier, dazu Knoepfe, Seitenspalte,
   Schatten und eingeklappte Fragen. Hier: Wortmarke, Titel, Text, Tabellen, alle Antworten offen,
   Betreiberzeilen; alles dunkel auf Weiss. */
@media print {
  html, body { background: var(--sheet-card); }
  .kopf { position: static; background: none; color: var(--sheet-heading); }
  .kopf::before, .kopf::after, .foot::before, .box.pine::before { content: none; }
  .kopf .kopf-wort, .kopf .kopf-punkt { color: var(--sheet-heading); }
  .kopf-nav, .kopf-aktion, .skip-link, .crumbs, .cta-hoist, .aside, .related, .foot-kopf, .foot-legal, .sitelinks { display: none; }
  main { padding-top: var(--sp-2); }
  .page-hero, .article, .qa-kanon dl { background: none; box-shadow: none; border-radius: 0; padding: 0; margin-inline: 0; }
  .page-hero { display: block; }
  .page-hero::before { content: none; }
  .page-hero > .answer { padding: 0; background: none; box-shadow: none; }
  .page-grid { display: block; margin-top: var(--sp-6); padding-bottom: var(--sp-6); }
  .qa-kanon dl { column-count: 1; }
  .article h2, .article h3, .qa-kanon dt, .faq summary { break-after: avoid; }
  .article p, .article li { orphans: 3; widows: 3; }
  .article tr, .schritt-bild, .artikel-kopfbild, .hub-liste li, .qa-kanon dd { break-inside: avoid; }
  .article a:not(.btn), .answer a, .qa-kanon a { background: none; text-decoration: underline; }
  .faq summary::after { content: none; }
  .article .faq details::details-content { content-visibility: visible; opacity: 1; transform: none; }
  .foot { background: none; color: var(--sheet-text); padding: var(--sp-4) 0 0; border-top: 1px solid var(--sheet-line); }
  .foot-recht { margin-top: 0; }
  .foot-text, .foot-zeile { color: var(--sheet-text); }
}

/* =============================== Bewegung ===============================
   Nur Deko: ohne Bewegung sieht die Seite genauso aus. */
@media (prefers-reduced-motion: no-preference) {
  .faq details::details-content, .presse-meldung::details-content { opacity: 0; transform: translateY(-6px); transition: opacity .25s ease, transform .25s ease, content-visibility .25s allow-discrete; }
  .faq details[open]::details-content, .presse-meldung[open]::details-content { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .related-grid a:hover, .related-grid a:active, .lk:hover, .lk:active, .hub-liste li:active { transform: none; }
}

/* ================= Betreiber-Seite /verkaufen/selfstorage-betreiber/ (30.09.2026) =================
   Ziel des QR-Codes im Brief an die Lagerbetreiber. Schlichte Linien-Symbole (24er Raster, Strich
   1,75, currentColor, keine Zeichnungen) machen aus der Textwand Schritte und Punkte. Alle Regeln
   haengen an den Klassen betreiber-*, die nur in dieser Seite (content/bodies.json) stehen. */
.article .betreiber-symbol { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: var(--r-btn); background: var(--sheet-bg); color: var(--sheet-heading); }
.article .betreiber-symbol svg { display: block; width: 22px; height: 22px; }
.article .betreiber-punkte, .article .betreiber-schritte, .article .betreiber-doku, .article .betreiber-fakten { list-style: none; max-width: none; padding: 0; }
.article .betreiber-punkte > li, .article .betreiber-schritte > li, .article .betreiber-doku > li, .article .betreiber-fakten > li { margin: 0; padding-left: 0; }

/* Was du hier findest: vier kurze Punkte, ab 640 px zwei nebeneinander. */
.article .betreiber-punkte { display: grid; gap: var(--sp-3); margin: var(--sp-2) 0 var(--sp-6); }
.article .betreiber-punkte > li { display: flex; align-items: center; gap: var(--sp-3); }
@media (min-width: 640px) { .article .betreiber-punkte { grid-template-columns: 1fr 1fr; column-gap: var(--sp-6); } }

/* So laeuft der Verkauf: Schrittleiste, Symbol in Lime, feine Linie verbindet die Schritte. */
.article .betreiber-schritte { counter-reset: schritt; margin: var(--sp-6) 0; }
.article .betreiber-schritte > li { position: relative; counter-increment: schritt; display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: var(--sp-4); padding-bottom: var(--sp-6); }
.article .betreiber-schritte > li:last-child { padding-bottom: 0; }
.article .betreiber-schritte > li::before { content: ""; position: absolute; left: 21.5px; top: 52px; bottom: var(--sp-2); width: 1px; background: var(--sheet-line); }
.article .betreiber-schritte > li:last-child::before { content: none; }
.article .betreiber-schritte .betreiber-symbol { width: 44px; height: 44px; background: var(--signal); color: var(--on-signal); }
.article .betreiber-schritte .betreiber-text::before { content: "Schritt " counter(schritt); content: "Schritt " counter(schritt) / ""; display: block; margin-bottom: 2px; font-size: var(--fs-caption); font-weight: 700; line-height: 1.5; letter-spacing: .06em; text-transform: uppercase; color: var(--sheet-muted); }

/* Kennzahlen: nur Fakten aus dem Text der Seite. Ab 640 px drei Spalten. */
.article .betreiber-fakten { display: grid; gap: 1px; margin: 0 0 var(--sp-6); overflow: hidden; border-radius: var(--r-card); background: var(--sheet-line); box-shadow: 0 0 0 1px var(--sheet-line); }
.article .betreiber-fakten > li { display: flex; align-items: baseline; gap: var(--sp-3); padding: var(--sp-4) var(--sp-5); background: var(--sheet-bg); }
.article .betreiber-fakten strong { flex: none; min-width: 4.2em; font-family: var(--font-display); font-size: var(--fs-h3); line-height: var(--lh-tight); text-transform: uppercase; }
.article .betreiber-fakten span { font-size: var(--fs-small); line-height: 1.4; color: var(--sheet-muted); }
@media (min-width: 640px) {
  .article .betreiber-fakten { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .article .betreiber-fakten > li { flex-direction: column; gap: var(--sp-1); padding: var(--sp-5); }
  .article .betreiber-fakten strong { font-size: var(--fs-h2); }
}

/* Sicherheit: Fotos, Beschreibung, Protokoll mit Symbol davor. */
.article .betreiber-doku { display: grid; gap: var(--sp-4); margin: var(--sp-2) 0 var(--sp-6); }
.article .betreiber-doku > li { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: var(--sp-4); align-items: start; }
.article .betreiber-doku .betreiber-text { max-width: var(--measure); padding-top: var(--sp-2); }
.article .betreiber-schritte .betreiber-text { max-width: var(--measure); }

/* ---- Die eine Los-Uebersicht /lose/ (Zusammenlegung Schritt 6, 03.10.2026) ----
   Vorbild der App-Katalog (src/styles/erscheinung.css, Abschnitt 10): Suche ueber die ganze Breite,
   darunter Sortierung, "In deiner Naehe" (Postleitzahl + Entfernung) und der Knopf "Filter" mit
   aufklappbaren Knoepfen. Ab 1024 Suche, Sortierung und Umkreis in einer Zeile. Die Filterknoepfe sind
   Optionsfelder (geht ohne Skript), sichtbar als runde Knoepfe wie in der App. */
.lose-kopf [hidden] { display: none !important; }
.lose-zahl { margin-bottom: var(--sp-3); }
.lf { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 10px; margin: 0 0 var(--s-kopf); }
.lf > * { flex: 1 1 100%; min-width: 0; }
.lf-suchzeile { position: relative; display: flex; flex-wrap: wrap; gap: 10px; }
.lf-lupe { position: absolute; left: 16px; top: 15px; width: 22px; height: 22px; color: var(--sheet-heading); pointer-events: none; }
.lf-lupe-ic { display: block; width: 22px; height: 22px; }
.lf-suche, .lf-auswahl, .lf-plz { box-sizing: border-box; min-height: 52px; font-family: var(--font-body); font-size: var(--t); color: var(--sheet-heading); background-color: var(--sheet-card); border: 1px solid var(--sheet-field); border-radius: var(--r-input); }
.lf-suche { -webkit-appearance: none; appearance: none; flex: 1 1 100%; min-width: 0; height: 52px; padding: 0 16px 0 48px; border-color: transparent; border-radius: var(--r-card); box-shadow: var(--karte-schatten); }
.lf-suche::placeholder, .lf-plz::placeholder { color: var(--sheet-muted); opacity: 1; }
.lf-auswahl {
  -webkit-appearance: none; appearance: none; padding: 0 2.5rem 0 14px; font-weight: 700; border-radius: var(--r-btn); cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--sheet-heading) 50%), linear-gradient(135deg, var(--sheet-heading) 50%, transparent 50%);
  background-position: calc(100% - 1.25rem) 50%, calc(100% - 0.95rem) 50%; background-size: 0.32rem 0.32rem; background-repeat: no-repeat;
}
.lf-sort { flex: 1 1 auto; min-width: 0; }
.lf-umkreis { display: flex; flex-direction: column; gap: 6px; }
.lf-label { font-size: var(--k); font-weight: 700; color: var(--sheet-heading); }
.lf-umk-zeile { display: flex; gap: 10px; }
.lf-plz { flex: 0 0 96px; min-width: 0; padding: 0 14px; }
.lf-km { flex: 1 1 140px; min-width: 0; }
.lf-hinweis { margin: 0; font-size: var(--k); color: var(--sheet-muted); }
.lf-hinweis:empty { display: none; }
.lf-hinweis-fehler { color: var(--sheet-bad); }
.lf-plz[aria-invalid="true"] { border-color: var(--sheet-bad); }
.lf-suche:focus-visible, .lf-auswahl:focus-visible, .lf-plz:focus-visible { outline: 2px solid var(--sheet-heading); outline-offset: 2px; border-color: var(--sheet-heading); }
@media (max-width: 359.98px) { .lf-plz { flex-basis: 72px; padding: 0 10px; } .lf-umk-zeile { gap: 8px; } .lf-km { padding-left: 10px; padding-right: 2rem; font-size: var(--k); } }
.lf-klapp { flex: 1 1 100%; }
.lf-klapp-kopf {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 16px; list-style: none; cursor: pointer;
  border: 1px solid var(--sheet-field); border-radius: var(--r-btn); background: var(--sheet-card); color: var(--sheet-heading); font-weight: 700; font-size: var(--t);
}
.lf-klapp-kopf::-webkit-details-marker { display: none; }
.lf-klapp-kopf::after { content: ""; width: 8px; height: 8px; margin: -4px 0 0 4px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.lf-klapp[open] > .lf-klapp-kopf { border-color: var(--sheet-heading); }
.lf-klapp[open] > .lf-klapp-kopf::after { transform: rotate(-135deg); margin-top: 4px; }
.lf-klapp-kopf:focus-visible { outline: 2px solid var(--sheet-heading); outline-offset: 2px; }
.lf-aktiv { font-weight: 400; color: var(--sheet-muted); }
.lf-filter { display: flex; flex-direction: column; gap: 16px; margin-top: var(--sp-3); padding: var(--pad); background: var(--sheet-card); border-radius: var(--karte-r); box-shadow: var(--karte-schatten); }
.lf-gruppe { margin: 0; padding: 0; border: 0; min-width: 0; }
.lf-gruppe > legend { padding: 0; margin-bottom: 8px; font-size: var(--k); font-weight: 700; color: var(--sheet-heading); }
.lf-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.lf-chip { position: relative; display: inline-flex; max-width: 100%; }
.lf-chip > span { display: inline-flex; align-items: center; min-height: var(--tap-min); padding: 0 16px; border: 1px solid var(--sheet-field); border-radius: var(--r-pill); background: var(--sheet-card); color: var(--sheet-heading); font-size: var(--k); cursor: pointer; }
.lf-chip > input:checked + span { background: var(--sheet-heading); border-color: var(--sheet-heading); color: var(--sheet-card); font-weight: 700; }
.lf-chip > input:focus-visible + span { outline: 2px solid var(--sheet-heading); outline-offset: 2px; }
@media (hover: hover) { .lf-chip > span:hover { border-color: var(--sheet-heading); } }
.lf-anwenden { flex: 0 0 auto; min-height: 52px; padding: 0 20px; border: 0; border-radius: var(--r-btn); background: var(--signal); color: var(--on-signal); font-family: var(--font-body); font-weight: 700; font-size: var(--t); cursor: pointer; }
.lf.lf-js .lf-anwenden { display: none; }
.lf-reset { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 52px; padding: 0 16px; border: 1px solid var(--sheet-field); border-radius: var(--r-btn); background: var(--sheet-card); color: var(--sheet-heading); font-weight: 700; font-size: var(--t); text-decoration: none; }
@media (min-width: 768px) { .lf-suche { flex: 1 1 420px; } .lf-sort { flex: 0 1 auto; } }
@media (min-width: 1024px) {
  .lf-suchzeile { flex: 1 1 auto; flex-wrap: nowrap; align-self: flex-end; }
  .lf-umkreis { flex: 0 0 auto; }
  .lf-km { flex: 0 0 230px; }
  /* Eine ruhige Zeile: das Etikett "In deiner Naehe" stand allein ueber dem PLZ-Feld und schob es aus der Flucht (15.11.2026). Vorlesen liest es weiter. */
  .lf-label { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
/* Karte mit Herz: die Huelle traegt die Kennung fuer die Insel, das Herz liegt auf dem Foto (nicht im
   Verweis, ein Knopf in einem Verweis waere kein gueltiges HTML). Ohne Skript bleibt es verborgen. */
.lk-zelle { position: relative; display: flex; min-width: 0; }
.lk-zelle > .lk { flex: 1 1 auto; }
.lk-herz { position: absolute; top: 6px; right: 6px; z-index: 2; isolation: isolate; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; color: var(--sheet-heading); cursor: pointer; }
.lk-herz::after { content: ""; position: absolute; inset: 3px; z-index: -1; border-radius: 50%; background: var(--sheet-card); box-shadow: 0 2px 8px rgba(13,14,11,.18); }
.lk-herz svg { width: 20px; height: 20px; }
.lk-herz.on { color: var(--on-signal); }
.lk-herz.on::after { background: var(--signal); }
.lk-herz.on svg { fill: var(--on-signal); }
.lk-herz:focus-visible { outline: 2px solid var(--sheet-heading); outline-offset: 2px; border-radius: 50%; }
.lk-herz:active { transform: scale(.9); }
/* Leerzustand wie in der App: Rahmen gestrichelt, mittig, ein Knopf zum Zuruecksetzen. */
.lf-leer { max-width: 460px; margin: var(--sp-4) auto 0; padding: 40px 24px; text-align: center; border: 1px dashed var(--sheet-field); border-radius: var(--karte-r); background: var(--sheet-card); }
.lf-leer-titel { margin: 0 0 8px; font-size: var(--h3); }
.lf-leer p { margin: 0 0 18px; color: var(--sheet-muted); }
/* G-11 (Design-Pruefung 09.10.2026): die Insel baut hier einen <button>, der erbt die Schrift nicht von selbst. */
.lf-leer-knopf { width: fit-content; margin-inline: auto; font-family: inherit; }
/* Nutztest 10.11.2026 (N-04): "Nächstes laufendes Los ..." als Textlink unter dem Knopf, eigene Zeile, volle Tipphoehe. */
.lf-leer-link { display: flex; align-items: center; justify-content: center; width: fit-content; max-width: 100%; min-height: var(--tap-min); margin: var(--sp-2) auto 0; color: var(--sheet-heading); font-size: var(--k); font-weight: 700; line-height: 1.4; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.lf-leer-link:hover { text-decoration-thickness: 2px; }
/* G-11: steht der Zuruecksetzen-Knopf im leeren Kasten, faellt der gleiche Knopf oben in der Leiste weg. */
:root:has(.lf-leer[data-fall="auswahl"]:not([hidden])) .lf-reset { display: none; }
/* Blaettern, wenn das Ergebnis mehr als eine Seite fuellt (Pruefung zu Schritt 6, A-5). */
.lf-blaettern { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--sp-2); margin: var(--sp-4) 0 0; text-align: center; }
.lf-blaettern p { flex: 1 0 100%; margin: 0; color: var(--sheet-muted); }
/* Reiterleiste wie in der App (Plan, Entscheidung 2): am Handy fest unten, ab 768 als Zeile oben. */
.lf-reiter { display: flex; }
.lf-tab { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-width: 0; min-height: calc(var(--nav-compact-h) - 1px); padding: 6px 0 4px; color: var(--sheet-muted); font-size: var(--k); text-decoration: none; }
.lf-tab > span { max-width: 100%; text-align: center; overflow-wrap: anywhere; }
.lf-tab-ic { box-sizing: content-box; width: var(--icon-nav); height: var(--icon-nav); flex: none; padding: 4px 18px; border-radius: var(--r-pill); }
.lf-tab-aktiv { color: var(--sheet-heading); font-weight: 700; }
.lf-tab-aktiv .lf-tab-ic { background: var(--sheet-heading); color: var(--sheet-card); } /* dunkle Pille wie in der App (O-3) */
@media (max-width: 767.98px) {
  .lf-reiter { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding-bottom: env(safe-area-inset-bottom); background: var(--sheet-card); border-top: 1px solid var(--sheet-line); box-shadow: 0 -6px 20px rgba(13,14,11,.06); }
  body:has(.lf-reiter) { padding-bottom: calc(var(--nav-compact-h) + env(safe-area-inset-bottom)); }
  html:has(.lf-reiter) { scroll-padding-bottom: calc(var(--nav-compact-h) + var(--sp-4)); }
}
/* Design-Rat 04.10.2026 (10): ab 768 px hat der Kopf dieselben Wege; die Pillen darunter wirkten wie eine zweite Navigation. */
@media (min-width: 768px) { .lf-reiter { display: none; } }
/* Der Filter am Handy als Blatt von unten (nur mit Skript, ohne Skript bleibt er im Fluss und "Anwenden" schickt ab). */
.lf-zeigen[hidden] { display: none; }
.lf-zeigen { width: 100%; font-family: var(--font-body); }
@media (min-width: 768px) { .lf-zeigen { display: none; } }
/* Rat Optik 10.11.2026 (F-07): Kopf (Greifer, Titel "Filter", X) und Fuss (Knopf "N Lose zeigen") gibt es nur im Blatt.
   Ohne Skript und ab 768 px klappt der Filter im Fluss auf, dort sagt der Knopf "Filter" schon alles. */
.lf-blatt-kopf, .lf-blatt-fuss { display: none; }
@media (max-width: 767.98px) {
  /* Das Blatt rollt in sich; Kopf und Fuss kleben oben und unten, mit eigenem weissen Grund. Der Fuss steht im Fluss
     NACH der letzten Gruppe, darum deckt er am Ende des Rollens nie die letzte Chip-Reihe zu (vorher bei 320 px). */
  .lf.lf-js .lf-klapp[open] > .lf-filter { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; max-height: 85dvh; margin: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 var(--gutter); border-radius: var(--karte-r) var(--karte-r) 0 0; box-shadow: 0 0 0 100vmax rgba(13,14,11,.45), 0 -8px 24px rgba(13,14,11,.18); }
  .lf.lf-js .lf-klapp[open] .lf-blatt-kopf {
    position: sticky; top: 0; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) var(--tap-min); align-items: center;
    margin: 0 calc(-1 * var(--gutter)); padding: var(--sp-3) var(--sp-2) var(--sp-1) var(--gutter); background: var(--sheet-card);
  }
  .lf-blatt-griff { grid-column: 1 / -1; justify-self: center; width: 40px; height: 4px; margin: 0 0 var(--sp-2); border-radius: var(--r-pill); background: var(--sheet-field); }
  .lf-blatt-titel { margin: 0; font-size: var(--fs-h2); line-height: var(--lh-tight); text-transform: none; }
  .lf-blatt-x { display: grid; place-items: center; width: var(--tap-min); height: var(--tap-min); padding: 0; border: 0; border-radius: var(--r-pill); background: transparent; color: var(--sheet-heading); cursor: pointer; }
  .lf-blatt-x-ic { width: 22px; height: 22px; }
  .lf.lf-js .lf-klapp[open] .lf-blatt-fuss {
    position: sticky; bottom: 0; z-index: 1; display: block; margin: 0 calc(-1 * var(--gutter));
    padding: var(--sp-3) var(--gutter) calc(var(--sp-4) + env(safe-area-inset-bottom, 0px)); background: var(--sheet-card); box-shadow: var(--schatten-leiste);
  }
}
/* Runde 2 (Marcel 04.10.2026): /lose/ am Handy kompakter. Suche etwas flacher, darunter EINE Zeile mit drei
   gleich breiten Knoepfen: "Sortieren" (die Auswahl liegt unsichtbar darueber, der Tipp oeffnet die Liste
   des Geraets), "Umkreis" (ein Kontrollkaestchen klappt Postleitzahl und Entfernung auf, ohne Skript) und
   "Filter". Die Ueberschrift "Ort (optional)" entfaellt. Der Konto-Hinweis wird eine schlanke Zeile.
   Ab 768 px bleibt alles wie vorher: die Handy-Teile sind dort ausgeblendet bzw. durchsichtig (contents). */
.lf-umk-knopf, .lf-knopf-text, .lose-konto-kurz { display: none; }
.lf-sortknopf { display: contents; }
.lf-aktiv:not(:empty)::before { content: "("; }
.lf-aktiv:not(:empty)::after { content: ")"; }
@media (max-width: 767.98px) {
  .lf { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; position: relative; }
  .lf:not(:has(.lf-klapp)) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lf > * { grid-column: 1 / -1; order: 3; }
  .lf-suchzeile { display: contents; }
  .lf-suche { grid-column: 1 / -1; order: 0; height: 46px; min-height: 46px; }
  .lf-lupe { top: 12px; }
  .lf-sortknopf, .lf-umk-knopf, .lf-klapp { grid-column: auto; order: 1; }
  .lf-umkreis { order: 2; }
  .lf-label { display: none; }
  .lf-umk-auf:not(:checked) ~ .lf-umkreis { display: none; }
  .lf-knopf, .lf .lf-klapp-kopf {
    position: relative; box-sizing: border-box; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 1px;
    width: 100%; min-width: 0; min-height: 50px; padding: 6px 26px 6px 12px; border: 1px solid var(--sheet-field); border-radius: var(--r-btn);
    background: var(--sheet-card); color: var(--sheet-heading); cursor: pointer; text-align: left;
  }
  .lf-knopf-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; max-width: 100%; }
  .lf-knopf-titel { font-weight: 700; font-size: var(--k); line-height: 1.2; }
  .lf-knopf-wert, .lf .lf-aktiv { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 400; font-size: var(--fs-caption); line-height: 1.2; color: var(--sheet-muted); }
  .lf .lf-aktiv::before, .lf .lf-aktiv::after { content: none; }
  .lf .lf-aktiv:empty::before { content: "Alle"; }
  .lf-knopf::after, .lf .lf-klapp-kopf::after { content: ""; position: absolute; right: 12px; top: 50%; width: 7px; height: 7px; margin: -5px 0 0; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
  .lf-umk-auf:checked + .lf-umk-knopf, .lf .lf-klapp[open] > .lf-klapp-kopf { border-color: var(--sheet-heading); }
  .lf-umk-auf:checked + .lf-umk-knopf::after, .lf .lf-klapp[open] > .lf-klapp-kopf::after { transform: rotate(-135deg); margin-top: -1px; }
  .lf-umk-auf:focus-visible + .lf-umk-knopf, .lf-sortknopf:focus-within { outline: 2px solid var(--sheet-heading); outline-offset: 2px; }
  /* Die echte Auswahl deckt den Knopf ganz ab: Tippen oeffnet die Liste des Geraets, Vorlesen liest "Sortierung". */
  .lf-sortknopf .lf-sort { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; margin: 0; padding: 0; opacity: 0; font-size: var(--fs-body); cursor: pointer; }
  .lf-sortknopf .lf-sort:focus-visible { outline: none; }
  /* Ohne Skript klappt der Filter im Fluss auf: dann ueber die ganze Breite statt in seinem Drittel. */
  .lf:not(.lf-js) .lf-klapp[open] { grid-column: 1 / -1; }
  .lf-anwenden, .lf-reset { min-height: 46px; justify-content: center; }
  /* Marcel 05.10.2026: Etikett weg (Pfad und Ueberschrift sagen schon "Lose"), Zahl und Konto-Knopf
     teilen sich EINE Zeile: links die Zahl, rechts ein kleiner umrandeter Knopf. */
  .lose-kopf > .eyebrow { display: none; }
  .lose-kopf > h1 { margin-bottom: var(--sp-1); }
  /* Am Handy steht der Einleitungssatz nicht mehr sichtbar ueber den Losen (15.11.2026): Titel, Zahl und Suche,
     dann gleich die Karten. Im Dokument und fuer Vorleser bleibt er. */
  .lose-kopf > .lose-lead { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .lose-meta { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); margin: 0 0 var(--sp-3); }
  .lose-meta .lose-zahl { margin: 0; }
  .lose-konto { flex: none; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; }
  .lose-konto p, .lose-konto-lang { display: none; }
  .lose-konto-kurz { display: inline; }
  .lose-konto .lose-konto-knopf { display: inline-flex; align-items: center; width: auto; min-height: var(--tap-min); padding: 0 var(--sp-4); border: 1px solid var(--sheet-heading); border-radius: var(--r-pill); background: none; box-shadow: none; color: var(--sheet-heading); font-size: var(--k); font-weight: 700; text-decoration: none; transform: none; }
  .lose-konto .lose-konto-knopf:hover, .lose-konto .lose-konto-knopf:active { background: none; box-shadow: none; transform: none; }
}
/* 320 px: ein Drittel ist 88 px breit. Wort ohne Umbruch, Rand und Pfeil enger; der Konto-Hinweis nur noch als Link. */
@media (max-width: 359.98px) {
  .lf { gap: 6px; }
  .lf-knopf, .lf .lf-klapp-kopf { padding: 6px 18px 6px 8px; }
  .lf-knopf::after, .lf .lf-klapp-kopf::after { right: 8px; width: 6px; height: 6px; }
  .lf-knopf-titel { font-size: var(--fs-small); }
}
@media (max-width: 767.98px) { .lf-knopf-titel { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } }

/* Optik-Rat 05.10.2026: unter 1024 px steht die Seitenspalte unter dem Artikel; ihre Kiste "Passend dazu" nennt dort
   dieselben Ziele wie gleich danach "Weiterlesen". Am Rechner (Seitenspalte neben dem Text) bleibt sie. */
@media (max-width: 1023.98px) { .aside .box:has(> .links) { display: none; } }

/* Kennzahl-Kacheln im Seitenkopf (Optik-Rat 05.10.2026, /gebuehren/): zwei Zahlen gross, darunter klein, was sie sind. */
.kennzahlen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-3); margin: var(--sp-4) 0 var(--sp-3); }
.kennzahl { display: flex; flex-direction: column; gap: var(--sp-1); margin: 0; padding: var(--sp-4); border-radius: var(--r-card); background: var(--sheet-bg); }
.kennzahl b { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-h2); line-height: 1; color: var(--sheet-heading); }
.kennzahl span { font-size: var(--k); line-height: 1.4; color: var(--sheet-muted); hyphens: auto; -webkit-hyphens: auto; } /* B-4 (10.10.): "Verkäufergebühr" brach bei 320 px mitten im Wort */
@media (max-width: 639.98px) { .page-hero .kennzahl { background: var(--sheet-card); box-shadow: var(--karte-schatten); } }
@media (min-width: 1280px) {
  .page-hero > .kennzahlen { grid-column: 1; grid-row: 3; align-self: start; }
  .page-hero:has(> .kennzahlen) { grid-template-rows: auto auto 1fr; }
  .page-hero:has(> .kennzahlen) > .answer { grid-row: 1 / span 3; }
}

/* Kurze Rueckmeldung beim Herz (src/ui/toast.ts, Rat Optik O-12, 08.11.2026). Dieselbe Form wie in der
   App (src/styles/fokus.css), unten mittig; ueber der Reiterleiste von /lose/ und der Gebotsleiste der Losseite. */
.kurzhinweis {
  position: fixed; left: 50%; z-index: 80;
  bottom: calc(var(--sp-6) + env(safe-area-inset-bottom, 0px));
  width: max-content; max-width: calc(100% - 2 * var(--gutter));
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--r-pill);
  background: var(--sheet-heading); color: var(--sheet-card);
  font-size: var(--fs-small); font-weight: 600; line-height: var(--lh-control);
  box-shadow: var(--shadow-pop);
  opacity: 0; pointer-events: none;
  transform: translate(-50%, var(--sp-2));
  transition: opacity var(--motion-state) var(--ease-ui), transform var(--motion-state) var(--ease-ui);
}
.kurzhinweis:empty { padding: 0; box-shadow: none; } /* leer unsichtbar, aber im Vorlesebaum (Pruefung 08.11.) */
.kurzhinweis.an { opacity: 1; transform: translate(-50%, 0); }
body:has(.lp-leiste:not([hidden])) .kurzhinweis,
body:has(.lf-reiter) .kurzhinweis { bottom: calc(var(--sp-20) + var(--sp-4) + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 768px) { body:has(.lf-reiter) .kurzhinweis { bottom: calc(var(--sp-6) + env(safe-area-inset-bottom, 0px)); } }
@media (prefers-reduced-motion: reduce) { .kurzhinweis { transition: none; transform: translate(-50%, 0); } }

/* Losseite hell (Marcel 12.11.2026): dunkle Buehne hell wie der Rest der Seite. */
.wrap:has(> .lp-buehne) > .crumbs { border-image: none; color: var(--sheet-muted); }
.wrap:has(> .lp-buehne) > .crumbs a { color: var(--sheet-heading); }
.wrap:has(> .lp-buehne) > .crumbs li + li::before { color: var(--sheet-muted); }
.lp-kopf, .lp-buehne .lg { border-image: none; color: var(--sheet-text); }
/* Ab 1024 malte .lp-buehne::before weiter das dunkle Band hinter Galerie und Titel: dunkler Titel auf Schwarz (gefunden 15.11.2026). */
.lp-buehne::before { content: none; }
.lp-titel { color: var(--sheet-heading); }
.lp-unterzeile, .lp-kurz { color: var(--sheet-muted); }
.lp-unterzeile a { color: var(--sheet-heading); }
.lp-merken { background: var(--sheet-card); box-shadow: var(--karte-schatten); color: var(--sheet-heading); }
.lg-gross { background: var(--sheet-card); box-shadow: var(--karte-schatten); }
.lg-zahl, .lg-rolle { background: color-mix(in srgb, var(--sheet-card) 88%, transparent); color: var(--sheet-heading); }
.lg-vorschau { background: var(--sheet-card); opacity: .7; }
.lg-vorschau[aria-current="true"] { border-color: var(--sheet-heading); opacity: 1; }
.lg-leer p { color: var(--sheet-muted); }

/* ============================================================================================================
   CHARITY-LOSSEITE lagerlos.de/charity/los/NN (Neuaufbau 25.11.2026, Bordeaux-Entwurf B).
   HTML: deploy/src-worker/charity-losseite.ts, Leben: src/inseln/charity-los.ts.
   EINE Seite je Los, vor dem Start, in der Gebotsphase und danach: Samtbuehne mit Losbild im Messingrahmen,
   Messingschild und Bilderleiste, daneben Titel, Gebotskasten, Spender und Lostext; darunter Papier mit den
   Stuecken, der Karte am Ende und "Gut zu wissen". Alles steht unter .cl (und html.cl-seite fuer den Rahmen der
   Seite), normale Losseiten beruehrt nichts hiervon.
   Eigene Farbnamen --cl-* (die Charity-Welt hat ihre eigenen Farben, wie die Charity-Seite; nirgends sonst benutzen).
   Schriften, Abstaende, Groessen und Umbrueche kommen weiter aus schema.tokens.css. Lime bleibt die Farbe zum Handeln.
   Gebotskasten und Gebotsverlauf lesen die --sheet-*-Namen; auf der Buehne bekommen sie dort andere Werte, statt
   jede Regel einzeln zu ueberschreiben.
   Bilder in Kaestchen mit festem Seitenverhaeltnis tragen NIE eine Hoehe in Prozent (height:auto + aspect-ratio):
   Safari rechnet solche Kaestchen sonst bei jedem Seitenaufbau neu durch (Rat Technik 25.11.2026, fluessig Nr. 1).
   ============================================================================================================ */
/* Dieselben Namen und Werte wie die Uebersicht des Charity-Lagers (docs/design/charity-lose-vorschau-2026-11-18/arbeit/
   neudesign-2026-11-25/neudesign.css, oberster Block). Aendert sich dort ein Wert, hier nachziehen. */
html.cl-seite, .cl, .auth-sheet-root .auth-sheet.bs-schmal {
  --cl-samt-hell: #3d1a20; --cl-samt: #2a1217; --cl-samt-tief: #1c1013; --cl-tafel: #221417;
  --cl-messing: #ad8955; --cl-messing-hell: #d7b57e; --cl-messing-licht: #f0d9a4; --cl-messing-tief: #8a683a; --cl-gravur: #2b1a0e;
  --cl-creme: #f5f3ea; --cl-creme-matt: #d9d4c6;
  --cl-papier: #f6f5f0; --cl-karte: #fff; --cl-tinte: #20231f; --cl-grau: #575b53; --cl-linie: #d3d2c8; --cl-passepartout: #f4f1ec;
  --cl-samt-linie: rgba(215,181,126,.3); --cl-messing-linie: rgba(173,137,85,.5); --cl-messing-schrift: #75552a; --cl-messing-kante: #5f4520;
  --cl-warn: #ffab9a;
  --cl-kurve: cubic-bezier(.22, 1, .36, 1);
  --cl-messing-flaeche: repeating-linear-gradient(90deg, rgba(255,255,255,.06) 0 1px, rgba(0,0,0,0) 1px 3px), linear-gradient(176deg, #f0d9a4 0%, #d6b577 16%, #b48e54 52%, #c9a66b 80%, #94703f 100%);
  --cl-samt-flaeche: radial-gradient(ellipse 60% 50% at 70% -5%, rgba(237,187,118,.26), transparent 70%), repeating-linear-gradient(90deg, rgba(0,0,0,.16) 0 3px, rgba(255,255,255,.015) 3px 9px, rgba(0,0,0,0) 9px 46px), linear-gradient(165deg, var(--cl-samt-hell) 0%, var(--cl-samt) 45%, var(--cl-samt-tief) 100%);
  --cl-fs-kachel: .9375rem; /* Kartenname: zwischen --fs-small und --fs-body, damit zwei Spalten am Handy nicht fuenf Zeilen brauchen */
  /* Seitenrand eines Abschnitts, der ueber die ganze Breite reicht: der Inhalt bleibt auf der Breite der Seite, buendig
     mit Kopf und Fuss (.wrap: --gutter, ab md --gutter-lg). */
  --cl-pad: var(--gutter);
  --cl-rand: max(var(--cl-pad), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  --cl-innen: max(var(--cl-rand), calc((100% - var(--container-max)) / 2 + var(--cl-pad)));
}
/* Der Rahmen der Seite: Papier bis zum Fuss, die Abschnitte reichen ueber die ganze Breite (kein 100vw, kein
   Zusatzelement), der Fuss in Bordeaux wie auf der Uebersicht. */
/* Messing als Flaeche: auf der Seite die schraege Verlaufsflaeche der Uebersicht. Das Gebotsblatt (.bs-schmal) behaelt
   seine bisherige Flaeche (oben, heller Kopf): dort stehen kleine Beschriftungen auf dem Messing, die auf der dunklen
   Ecke des schraegen Verlaufs zu wenig Kontrast haetten. */
html.cl-seite, .cl { --cl-messing-flaeche: linear-gradient(135deg, #8f6d3a 0%, #c9a567 13%, #f1dfb4 26%, #b8935a 41%, #8a6836 57%, #c9a567 75%, #ecd6a4 88%, #94713d 100%); }
.auth-sheet-root .auth-sheet.bs-schmal { --cl-messing-flaeche: repeating-linear-gradient(90deg, rgba(255,255,255,.06) 0 1px, rgba(0,0,0,0) 1px 3px), linear-gradient(176deg, #f0d9a4 0%, #d6b577 16%, #b48e54 52%, #c9a66b 80%, #94703f 100%); }
html.cl-seite main { padding-top: 0; background: var(--cl-papier); }
html.cl-seite main > .wrap { max-width: none; padding: 0; }
html.cl-seite .foot { background: var(--cl-samt-tief); box-shadow: inset 0 1px 0 var(--cl-messing); }
html.cl-fenster-auf { overflow: hidden; }
.cl { color: var(--cl-tinte); }
.cl img[data-cl-fehlt] { visibility: hidden; } /* laedt ein Bild nicht, bleibt die ruhige Flaeche dahinter statt des Fragezeichens */
.cl-sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.cl-etikett { margin: 0; font-family: var(--font-mono); font-size: var(--fs-caption); font-weight: 400; line-height: 1.5; letter-spacing: .08em; text-transform: uppercase; color: var(--cl-messing-schrift); }

/* ---- Knoepfe der Seite (Pillen). Der Hauptknopf zum Bieten bleibt .anb-btn-primary in Lime. ---- */
.cl-knopf { display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2); min-height: var(--tap-comfortable); padding: 0 var(--sp-5); border: 1px solid var(--cl-messing-linie); border-radius: var(--r-pill); background: var(--cl-karte); color: var(--cl-tinte); font: inherit; font-size: var(--fs-small); font-weight: 600; line-height: 1.2; text-decoration: none; white-space: nowrap; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: transform .14s var(--cl-kurve), border-color .15s; }
.cl-knopf[hidden] { display: none; }
.cl-knopf:active { transform: scale(.97); }
.cl-knopf svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cl-knopf-samt { border-color: var(--cl-messing); background: var(--cl-tafel); color: var(--cl-creme); }
.cl-knopf-lime { border-color: var(--signal); background: var(--signal); color: var(--on-signal); font-size: var(--fs-body); font-weight: 700; }
.cl-knopf-lime:disabled { opacity: .45; cursor: default; }
.cl-merk[aria-pressed="true"] { border-color: var(--cl-samt-hell); background: var(--cl-samt-hell); color: var(--cl-creme); }
.cl-merk[aria-pressed="true"] svg { fill: currentColor; }
@media (hover: hover) {
  .cl-knopf:hover { border-color: var(--cl-samt-hell); }
  .cl-knopf-samt:hover { border-color: var(--cl-messing-hell); }
  .cl-knopf-lime:hover { border-color: var(--signal-deep); background: var(--signal-deep); }
}

/* ---- Zurueck-Leiste: haftet unter dem Kopf der Seite ---- */
.cl-zr { position: sticky; top: var(--kopf-h); z-index: 30; padding: var(--sp-2) var(--cl-innen); background: var(--cl-samt-tief); border-bottom: 1px solid var(--cl-samt-linie); }
.cl-zr :focus-visible, .cl-buehne :focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
.cl-zurueck { display: inline-flex; align-items: center; gap: var(--sp-2); min-height: var(--tap-min); padding: 0 var(--sp-4) 0 6px; border: 1px solid var(--cl-messing); border-radius: var(--r-pill); background: var(--cl-tafel); color: var(--cl-creme); font-size: var(--fs-small); font-weight: 600; text-decoration: none; }
.cl-zurueck-pfeil { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--cl-messing-hell); color: var(--cl-gravur); font-size: 1rem; line-height: 1; }
@media (hover: hover) { .cl-zurueck:hover { border-color: var(--cl-messing-hell); } }

/* ---- Buehne: Samt ueber die ganze Breite ---- */
.cl-buehne { padding: var(--sp-4) var(--cl-innen) var(--sp-8); color: var(--cl-creme); background: var(--cl-samt-flaeche); box-shadow: inset 0 -1px 0 var(--cl-messing); }
.cl-oben { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sp-6); align-items: start; }
/* Losbild, Messingschild und Bilderleiste in EINEM Messingrahmen */
.cl-schau { min-width: 0; padding: 5px; border: 1px solid var(--cl-messing); border-radius: var(--r-lg); background: var(--cl-tafel); box-shadow: 0 0 0 1px var(--cl-messing-kante), 0 26px 40px -28px rgba(0,0,0,.75); overflow: hidden; }
.cl-schau-leiste { padding-bottom: 0; }
.cl-rahmen { border-radius: 11px 11px 0 0; background: var(--cl-samt); overflow: hidden; }
.cl-losbild { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.cl-sockel { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 240; object-fit: cover; }
.cl-schau:not(.cl-schau-leiste) .cl-sockel { border-radius: 0 0 11px 11px; }
.cl-sockel-leer { display: grid; place-items: center; aspect-ratio: auto; min-height: 76px; padding: var(--sp-3); background: repeating-linear-gradient(90deg, rgba(0,0,0,.14) 0 2px, rgba(255,255,255,.02) 2px 7px, rgba(0,0,0,0) 7px 31px), linear-gradient(180deg, #5a2a1c 0%, #3b190f 60%, #26100a 100%); box-shadow: inset 0 1px 0 rgba(255,220,170,.25); }
.cl-plakette { display: inline-block; padding: 6px 26px; border-radius: 4px; background: var(--cl-messing-flaeche); color: var(--cl-gravur); font-family: var(--font-display); font-weight: 800; font-size: 1.75rem; line-height: 1.1; letter-spacing: .06em; text-transform: uppercase; text-shadow: 0 1px 0 rgba(255,236,190,.55); box-shadow: inset 0 1px 0 rgba(255,255,255,.55), inset 0 -1px 0 rgba(0,0,0,.35), 0 3px 8px rgba(0,0,0,.5); }
/* Ein Charity-Los ohne Plan zeigt die hochgeladenen Fotos im selben Rahmen. */
.cl-rahmen .lg { margin: 0; padding: 0; border-image: none; }
.cl-rahmen .lg-gross { border-radius: 0; background: var(--cl-tafel); box-shadow: none; }
.cl-rahmen .lg-zahl { background: rgba(28,16,19,.78); color: var(--cl-creme); }
.cl-rahmen .lg-pfeil { background: var(--cl-creme); color: var(--cl-tinte); }
.cl-rahmen .lg-vorschauen { margin: 5px 0 0; padding: 0 0 5px; }
.cl-rahmen .lg-vorschau { border-radius: 6px; background: var(--cl-samt); opacity: .6; }
.cl-rahmen .lg-vorschau[aria-current="true"] { border-color: var(--cl-messing-hell); opacity: 1; }
.cl-rahmen .lg-leer p { padding: var(--sp-10) var(--sp-4); text-align: center; color: var(--cl-creme-matt); }
/* Bilderleiste: alle Stuecke des Loses direkt unter dem Schild. Am Handy zum Wischen (Bildtext: Name in Zeile 1, das
   Stueck in Zeile 2), ab lg eine Reihe ohne Text. Ein Tipp oeffnet das Stueck-Fenster. */
.cl-leiste { display: flex; gap: var(--sp-2); margin: 0 -5px; padding: var(--sp-3); list-style: none; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scroll-padding-inline: var(--sp-3); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.cl-leiste::-webkit-scrollbar { display: none; }
.cl-leiste li { flex: none; width: clamp(6.5rem, 31vw, 9rem); min-width: 0; margin: 0; scroll-snap-align: start; }
/* Die Bilderleiste laeuft wie die Laufbaender der Uebersicht (Marcel 25.11.2026, leisteLaufen in src/inseln/charity-los.ts).
   Ohne die Klasse cl-lauf ist alles wie zuvor: die Spur zaehlt dann nicht als eigener Kasten. Mit cl-lauf ist die Spur eine
   Reihe aus drei gleichen Folgen, die per transform nach links gleitet. Der Abstand ist dann ein Rand am Kaertchen (kein
   gap): nur so ist eine Folge genau ein Drittel der Spur und die Naht ruckt nicht. Rastpunkte sind im Lauf aus. */
.cl-leiste-spur { display: contents; margin: 0; padding: 0; list-style: none; }
.cl-leiste.cl-lauf { gap: 0; scroll-snap-type: none; }
.cl-leiste.cl-lauf .cl-leiste-spur { display: flex; width: max-content; }
.cl-leiste.cl-lauf li { margin-right: var(--sp-2); }
.cl-leiste-k { display: grid; gap: var(--sp-2); align-content: start; min-height: var(--tap-min); border-radius: 10px; color: var(--cl-creme); text-decoration: none; -webkit-tap-highlight-color: transparent; }
.cl-leiste-bild { display: block; border-radius: 10px; background: var(--cl-karte); overflow: hidden; outline: 1px solid rgba(242,240,232,.14); outline-offset: -1px; transition: transform .14s var(--cl-kurve); }
.cl-leiste-bild img, .cl-st-bild img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
/* Ein Stueck ohne Foto: sein Zeichen und "Foto folgt / vor dem Start", in Leiste, Karte und Fenster gleich. Die Schrift
   richtet sich nach der Breite des Kaestchens (am Rechner sind die Bilder der Leiste bei sieben Stuecken nur rund 70 px breit). */
.cl-leiste-bild.cl-leer, .cl-st-bild.cl-leer { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6%; aspect-ratio: 1; padding: 3%; background: #efede6; container-type: inline-size; }
.cl-leer svg { flex: none; width: 30%; height: auto; aspect-ratio: 1; fill: none; stroke: var(--cl-tinte); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; opacity: .55; }
.cl-folgt { max-width: 100%; font-family: var(--font-body); font-size: var(--fs-caption); font-size: clamp(.5625rem, 12.5cqi, .8125rem); font-weight: 600; line-height: 1.25; text-align: center; color: var(--cl-grau); }
.cl-leiste-name { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; min-height: 2.7em; font-size: var(--fs-caption); line-height: 1.35; color: var(--cl-creme-matt); overflow-wrap: anywhere; text-wrap: balance; }
.cl-leiste-name b { display: block; font-weight: 400; color: var(--cl-creme); }
.cl-leiste-k:active .cl-leiste-bild { transform: scale(.97); }
@media (hover: hover) { .cl-leiste-k:hover .cl-leiste-bild { outline: 2px solid var(--cl-messing-hell); outline-offset: -2px; } }

/* ---- Kopf auf der Buehne: Dachzeile, Titel, Gebotskasten, Spender, Lostext ---- */
.cl-kopf { min-width: 0; }
.cl-buehne .cl-etikett { color: var(--cl-messing-hell); }
.cl-titel { margin: var(--sp-2) 0 0; min-width: 0; font-family: var(--font-display); font-weight: 800; font-size: var(--fs-display); line-height: .96; letter-spacing: .01em; text-transform: uppercase; color: var(--cl-creme); text-wrap: balance; overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; }
.cl-ab18 { margin: var(--sp-3) 0 0; font-size: var(--fs-small); font-weight: 700; color: var(--cl-warn); }

/* Der Gebotskasten: direkt unter dem Titel, ruhig. Eine dunkle Tafel mit Messinglinie, der Betrag in der
   Plakatschrift, EIN Knopf in Lime. */
.cl .cl-gebot {
  --sheet-card: var(--cl-tafel); --sheet-bg: var(--cl-samt-tief); --sheet-text: var(--cl-creme); --sheet-heading: var(--cl-creme);
  --sheet-muted: var(--cl-creme-matt); --sheet-line: var(--cl-samt-linie); --sheet-bad: var(--cl-warn);
  position: static; min-width: 0; margin: var(--sp-5) 0 0; padding: var(--sp-4); border: 1px solid var(--cl-messing); border-radius: var(--r-lg); background: rgba(34,20,23,.82); box-shadow: none; color: var(--cl-creme);
}
.cl .cl-gebot-ruhig { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-3) var(--sp-4); }
.cl-gebot-satz { flex: 1 1 12rem; margin: 0; font-family: var(--font-display); font-weight: 800; font-size: var(--fs-h3); line-height: 1.1; letter-spacing: .02em; text-transform: uppercase; color: var(--cl-creme); text-wrap: balance; }
.cl-gebot-klein { flex: 1 1 100%; margin: 0; font-size: var(--fs-small); line-height: 1.5; color: var(--cl-creme-matt); }
.cl-gebot-kopf { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-1) var(--sp-3); }
.cl .cl-gebot .lp-stand-label { font-family: var(--font-mono); font-size: var(--fs-caption); font-weight: 400; letter-spacing: .08em; text-transform: uppercase; color: var(--cl-messing-hell); }
.cl .cl-gebot-kopf .anb-pill { display: inline-flex; align-items: center; gap: 6px; padding: 1px 10px; background: transparent; color: var(--cl-creme); font-size: var(--fs-caption); font-weight: 600; box-shadow: inset 0 0 0 1px var(--cl-samt-linie); }
.cl .cl-gebot-kopf .anb-pill:not(.anb-pill-done)::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--signal); }
.cl .cl-gebot-kopf .anb-pill-done { color: var(--cl-creme-matt); }
.cl-gebot-zahlen { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0 var(--sp-4); margin: var(--sp-1) 0 0; }
.cl-preis { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: var(--fs-h1); line-height: 1; letter-spacing: .01em; color: var(--cl-creme); font-variant-numeric: tabular-nums; white-space: nowrap; }
.cl-preis b { font-weight: inherit; }
.cl-gebote { margin: 0; font-size: var(--fs-small); font-weight: 600; color: var(--cl-creme-matt); font-variant-numeric: tabular-nums; white-space: nowrap; }
.cl-zeit { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 var(--sp-2); margin: var(--sp-3) 0 0; padding-top: var(--sp-3); border-top: 1px solid var(--cl-samt-linie); font-size: var(--fs-small); line-height: 1.45; color: var(--cl-creme-matt); font-variant-numeric: tabular-nums; }
.cl-zeit time { font-weight: 700; color: var(--cl-creme); }
.cl-zeit time[data-letzte-stunde] { color: var(--cl-warn); }
.cl-zeit-ende::before { content: "·"; margin-right: var(--sp-2); }
.cl-zeit-ende[hidden] { display: none; }
/* Endet das Los vor offener Seite, schreibt die Insel "Wird geprüft …" und dann "beendet" an die Stelle der Restzeit: ohne
   das Wort "Noch" davor, und beendet faellt die Zeile ganz weg (die Plakette sagt es schon). */
.cl[data-cl-zustand="pruefung"] .cl-zeit-wort { display: none; }
.cl[data-cl-zustand="beendet"] .cl-zeit { display: none; }
.cl .cl-lage { margin: var(--sp-3) 0 0; font-size: var(--fs-small); color: var(--cl-creme); }
.cl .cl-lage:is([data-art="fuehrt"], [data-art="gewonnen"]) { padding: var(--sp-2) var(--sp-3); border: 1px solid var(--cl-messing-hell); border-radius: var(--r-sm); background: rgba(215,181,126,.14); color: var(--cl-messing-licht); }
.cl .cl-lage[data-art="ueberboten"] { color: var(--cl-warn); }
.cl .cl-lage:is([data-art="pruefung"], [data-art="fremd"], [data-art="leer"], [data-art="beendet"], [data-art="verloren"]) { color: var(--cl-creme-matt); }
.cl .lp-gewinn-schritte { color: var(--cl-creme-matt); }
.cl .cl-gebot > .lp-bieten, .cl .cl-gebot .lp-stand-knopf .anb-btn { display: flex; width: 100%; min-height: 52px; margin: var(--sp-4) 0 0; padding: 0 var(--sp-5); border-radius: var(--r-pill); font-size: var(--fs-lead); box-shadow: 0 3px 0 rgba(0,0,0,.55); }
.cl .cl-gebot .lp-stand-knopf { margin: 0; }
.cl .cl-gebot .anb-btn-primary:active { box-shadow: 0 0 0 rgba(0,0,0,.55); }
.cl .cl-gebot .anb-btn-ghost, .cl .cl-bar .lp-bieten.anb-btn-ghost { background: transparent; color: var(--cl-creme); box-shadow: inset 0 0 0 1.5px var(--cl-messing-hell); }
.cl .cl-gebot .anb-btn-ghost:hover { background: rgba(215,181,126,.12); }
.cl .cl-gebot > .lp-bieten[hidden] { display: none; }
.cl-preiszeilen:empty { display: none; }
.cl-preiszeilen .lp-preis-info { margin-top: var(--sp-3); font-size: var(--fs-small); color: var(--cl-creme-matt); }
.cl-preiszeilen .lp-preis-info + .lp-preis-info { margin-top: var(--sp-1); }
.cl .cl-gebot .lp-verlauf { margin-top: var(--sp-4); }
.cl .cl-gebot .lp-verlauf .anb-pill { background: var(--cl-messing-hell); color: var(--cl-gravur); }

/* Spender: "Mit Stücken von ..." nennt alle Spender des Loses, jeder Name fuehrt zu seinem Profil. */
.cl-von { margin: var(--sp-5) 0 0; font-size: var(--fs-small); line-height: 1.6; color: var(--cl-creme); }
.cl-von-dach { display: block; font-family: var(--font-mono); font-size: var(--fs-caption); letter-spacing: .08em; text-transform: uppercase; color: var(--cl-messing-hell); }
.cl-von a { display: inline-block; padding-block: 11px; margin-block: -11px; color: inherit; text-decoration: underline; text-decoration-color: var(--cl-samt-linie); text-underline-offset: 3px; }
@media (hover: hover) { .cl-von a:hover { text-decoration-color: var(--cl-messing-hell); } }
/* Lostext: am Handy drei Zeilen, "Mehr lesen" klappt den Rest auf (ein Haekchen vor dem Text, ohne Skript). Ab lg
   steht der ganze Text da. */
.cl-lostext-box { margin: var(--sp-4) 0 0; padding-top: var(--sp-4); border-top: 1px solid var(--cl-samt-linie); max-width: 72ch; }
.cl-lostext { margin: 0; font-size: var(--fs-body); line-height: 1.65; color: var(--cl-creme-matt); }
.cl-lostext-db > * { margin: 0 0 var(--sp-3); font-size: var(--fs-body); line-height: 1.65; color: var(--cl-creme-matt); }
.cl-lostext-db > :last-child { margin-bottom: 0; }
.cl-lostext-db a, .cl-lostext-db summary { color: var(--cl-creme); }
.cl-mehr-wahl { position: absolute; width: 1px; height: 1px; margin: -1px; opacity: 0; }
.cl-mehr-wahl:not(:checked) ~ .cl-lostext { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.cl-mehr { display: inline-flex; align-items: center; min-height: var(--tap-min); margin-top: var(--sp-1); color: var(--cl-creme); font-size: var(--fs-small); font-weight: 700; text-decoration: underline; text-decoration-color: var(--cl-messing-hell); text-underline-offset: 4px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.cl-mehr-wahl:not(:checked) ~ .cl-mehr .cl-mehr-zu, .cl-mehr-wahl:checked ~ .cl-mehr .cl-mehr-auf { display: none; }
.cl-mehr-wahl:focus-visible ~ .cl-mehr { outline: 2px solid var(--signal); outline-offset: 3px; }

/* ---- Papier: die Stuecke, die Karte am Ende, Gut zu wissen ---- */
.cl-papier { padding: var(--sp-10) var(--cl-innen) var(--sp-10); color: var(--cl-tinte); }
.cl-papier :focus-visible, .cl-fenster :focus-visible { outline: 2px solid var(--cl-tinte); outline-offset: 2px; }
.cl-h2, .cl-wissen-h { margin: 0; padding-bottom: var(--sp-3); border-bottom: 1px solid var(--cl-tinte); font-family: var(--font-display); font-weight: 800; font-size: var(--fs-h2); line-height: 1.05; letter-spacing: .01em; text-transform: uppercase; color: var(--cl-tinte); }
.cl-stuecke { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-6) var(--sp-3); margin: var(--sp-6) 0 0; padding: 0; list-style: none; }
.cl-st { position: relative; display: flex; flex-direction: column; min-width: 0; margin: 0; }
.cl-st-k { display: block; width: 100%; margin: 0; padding: 0; border: 0; border-radius: var(--r-card); background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.cl-st-k::after { content: ""; position: absolute; inset: 0; }
.cl-st-bild { position: relative; display: block; padding: 5px; border: 1px solid var(--cl-messing-linie); border-radius: var(--r-card); background: var(--cl-karte); box-shadow: 0 12px 22px -18px rgba(61,26,32,.5); transition: transform .5s var(--cl-kurve), box-shadow .5s var(--cl-kurve); }
.cl-st-bild img { border-radius: 9px; background: var(--cl-passepartout); }
.cl-kommt { position: absolute; left: 12px; bottom: 12px; padding: 2px 9px; border: 1px solid var(--cl-linie); border-radius: var(--r-pill); background: var(--cl-karte); color: var(--cl-grau); font-family: var(--font-body); font-size: var(--fs-caption); font-weight: 400; line-height: 1.5; letter-spacing: 0; text-transform: none; white-space: nowrap; }
@media (hover: hover) { .cl-st:hover .cl-st-bild { transform: translateY(-4px); box-shadow: 0 22px 30px -18px rgba(61,26,32,.55); } }
/* Vermerk an einem vorlaeufigen Foto (Handyfoto vom Rahmer, 26.11.2026): leise Bildunterschrift, wie "kommt noch" in Grau. */
.cl-st-vorl { margin: var(--sp-2) 0 0; font-family: var(--font-body); font-size: var(--fs-caption); font-weight: 400; line-height: 1.4; letter-spacing: 0; text-transform: none; color: var(--cl-grau); }
.cl-vorl-fenster { margin: var(--sp-2) 0 0; text-align: center; }
.cl-st-name { margin: var(--sp-3) 0 0; font-family: var(--font-body); font-size: var(--cl-fs-kachel); font-weight: 600; line-height: 1.35; letter-spacing: 0; text-transform: none; color: var(--cl-tinte); overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; }
.cl-st-wer { margin: 3px 0 0; font-size: var(--fs-small); line-height: 1.35; color: var(--cl-grau); }
.cl-st-mehr { position: relative; margin: var(--sp-2) 0 0; font-size: var(--fs-small); line-height: 1.5; color: var(--cl-grau); }
.cl-st-mehr[hidden] { display: none; }
.cl-st-mehr p { margin: 0 0 var(--sp-1); }
.cl-st-kopf { font-weight: 600; color: var(--cl-tinte); }
.cl-nicht { max-width: 72ch; margin: var(--sp-8) 0 0; padding: var(--sp-4); border: 1px solid var(--cl-linie); border-radius: var(--r-card); }
.cl-nicht h2 { margin: 0 0 var(--sp-2); font-family: var(--font-mono); font-size: var(--fs-caption); font-weight: 600; line-height: 1.5; letter-spacing: .08em; text-transform: uppercase; color: var(--cl-grau); }
.cl-nicht p { margin: 0; }

/* Die Karte am Ende: Merken, Erinnern, Hinweis zu Konto und Ausweis, Frage per Mail */
.cl-ende { display: grid; gap: var(--sp-4); max-width: 46rem; margin: var(--sp-10) 0 0; padding: var(--sp-4); border: 1px solid var(--cl-messing-linie); border-radius: var(--r-lg); background: var(--cl-karte); }
.cl-drin + .cl-ende, .cl-nicht + .cl-ende { margin-top: var(--sp-10); }
.cl-papier > .cl-ende:first-child { margin-top: 0; }
.cl-ende-knoepfe { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.cl-ende-knoepfe:empty { display: none; }
.cl-ende-text { min-width: 0; }
.cl-vorab { margin: 0; font-size: var(--fs-small); line-height: 1.55; color: var(--cl-grau); }
.cl-frage { margin: var(--sp-3) 0 0; padding-top: var(--sp-3); border-top: 1px solid var(--cl-linie); font-size: var(--fs-body); line-height: 1.5; color: var(--cl-grau); }
.cl-vorab a, .cl-frage a, .cl-fuss a, .cl-fenster-frage a { display: inline-block; padding-block: 11px; margin-block: -11px; color: var(--cl-tinte); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.cl-wissen { margin: var(--sp-14) 0 0; }
.cl-wissen-raster { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sp-5) var(--sp-8); margin: var(--sp-5) 0 0; }
.cl-wissen-punkt { min-width: 0; }
.cl-wissen-punkt dt { margin: 0 0 var(--sp-1); font-family: var(--font-mono); font-size: var(--fs-caption); letter-spacing: .08em; text-transform: uppercase; color: var(--cl-messing-schrift); }
.cl-wissen-punkt dd { margin: 0; font-size: var(--fs-body); line-height: 1.55; color: var(--cl-tinte); }
/* Links im Fliesstext: so breit wie ihr Wort, aber 44 px hoch zu treffen (gepolstert, ohne die Zeile zu verschieben). */
.cl-wissen a { display: inline-block; padding-block: 14px; margin-block: -14px; color: var(--cl-tinte); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.cl-wissen-klein { margin: var(--sp-6) 0 0; padding-top: var(--sp-3); border-top: 1px solid var(--cl-linie); font-size: var(--fs-small); line-height: 1.6; color: var(--cl-grau); }
.cl-fuss { margin: var(--sp-6) 0 0; font-size: var(--fs-small); line-height: 2; color: var(--cl-grau); }
.cl-fuss a { font-weight: 600; }

/* ---- Die schmale feste Leiste am Handy, nur in der Gebotsphase: Endzeit und der Knopf ---- */
.cl .cl-bar { padding: var(--sp-2) 0 calc(var(--sp-2) + env(safe-area-inset-bottom, 0px)); background: var(--cl-samt-tief); color: var(--cl-creme); box-shadow: inset 0 1px 0 var(--cl-messing), 0 -10px 28px rgba(0,0,0,.35); }
.cl-bar-in { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); padding: 0 var(--cl-rand); }
.cl-bar-zeit { min-width: 0; margin: 0; font-size: var(--fs-small); font-weight: 600; line-height: 1.3; color: var(--cl-creme); font-variant-numeric: tabular-nums; text-wrap: balance; }
.cl-bar-ende { display: inline-block; }
.cl-bar-ende::first-letter { text-transform: uppercase; }
.cl-bar-ende[hidden] { display: none; }
/* In der letzten Stunde zaehlt die Restzeit, davor reicht die Endzeit. */
.cl-bar-rest { display: none; }
.cl-bar-rest[data-letzte-stunde] { display: inline-block; padding: 1px 10px; border-radius: var(--r-pill); background: var(--cl-warn); color: var(--cl-gravur); font-weight: 700; }
.cl-bar-rest[data-letzte-stunde] + .cl-bar-ende { display: none; }
.cl .cl-bar .lp-bieten { flex: none; min-width: 0; min-height: var(--tap-min); padding: 0 var(--sp-6); border-radius: var(--r-pill); box-shadow: 0 3px 0 rgba(0,0,0,.6); }
.cl .cl-bar .lp-bieten:active { box-shadow: 0 0 0 rgba(0,0,0,.6); }

/* ---- Ruhige Seite fuer eine Nummer, die es nicht gibt ---- */
.cl-buehne-allein { min-height: 50vh; min-height: 50dvh; padding-top: var(--sp-12); padding-bottom: var(--sp-16); }
.cl-allein-satz { max-width: 46ch; margin: var(--sp-4) 0 var(--sp-6); font-size: var(--fs-lead); line-height: 1.5; color: var(--cl-creme-matt); }

/* ---- Das Stueck-Fenster (und das schmale Fenster "Erinnern") ---- */
.cl-fenster { width: 100%; max-width: 100%; max-height: 92vh; max-height: 92dvh; margin: auto 0 0; padding: 0 0 env(safe-area-inset-bottom, 0px); border: 0; border-radius: 20px 20px 0 0; background: var(--cl-papier); color: var(--cl-tinte); box-shadow: 0 -20px 60px rgba(0,0,0,.4); overflow: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.cl-fenster:focus { outline: none; }
.cl-fenster::backdrop { background: rgba(28,16,19,.86); }
.cl-fenster[open] { animation: cl-fenster-auf .38s var(--cl-kurve); }
@keyframes cl-fenster-auf { from { opacity: 0; transform: translateY(28px); } }
.cl-fenster-zu { position: sticky; top: 10px; z-index: 3; float: right; display: grid; place-items: center; width: var(--tap-min); height: var(--tap-min); margin: 10px 10px -54px 0; padding: 0; border: 1px solid var(--cl-linie); border-radius: 50%; background: var(--cl-papier); color: var(--cl-tinte); font: inherit; font-size: 1.375rem; line-height: 1; cursor: pointer; }
.cl-fenster-in { display: grid; grid-template-columns: minmax(0, 1fr); }
.cl-fenster-bild { position: relative; display: grid; place-items: center; min-width: 0; padding: var(--sp-4); background: #eceae2; box-shadow: inset 0 -1px 0 var(--cl-messing-linie); }
.cl-fenster-bild.cl-leer { align-content: center; justify-items: center; gap: var(--sp-2); min-height: 12rem; }
.cl-fenster-bild.cl-leer svg { width: 56px; }
.cl-fenster-bild.cl-leer .cl-folgt { font-size: var(--fs-small); }
.cl-zoom-auf { display: block; width: min(100%, 42svh, 340px); margin-inline: auto; padding: 0; border: 0; border-radius: 12px; background: none; cursor: zoom-in; -webkit-tap-highlight-color: transparent; }
.cl-zoom-auf img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; border-radius: 12px; background: var(--cl-karte); box-shadow: 0 1px 2px rgba(32,35,31,.08), 0 12px 28px rgba(32,35,31,.1); }
.cl-galerie { display: flex; flex-direction: column; justify-content: center; padding: var(--sp-3) 0 var(--sp-3); }
.cl-gal-spur { display: flex; width: 100%; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; touch-action: pan-x pan-y; }
.cl-gal-spur::-webkit-scrollbar { display: none; }
.cl-gal-bild { flex: 0 0 100%; min-width: 0; scroll-snap-align: center; scroll-snap-stop: always; display: grid; place-items: center; padding: 4px 14px 14px; }
.cl-gal-pfeil { position: absolute; top: calc(50% - 38px); display: none; place-items: center; width: var(--tap-min); height: var(--tap-min); padding: 0; border: 1px solid var(--cl-linie); border-radius: 50%; background: var(--cl-karte); color: var(--cl-tinte); font: 600 1.5rem/1 var(--font-body); box-shadow: 0 2px 10px rgba(0,0,0,.12); cursor: pointer; }
.cl-gal-vor { left: 6px; }
.cl-gal-nach { right: 6px; }
.cl-gal-pfeil:disabled { opacity: .35; cursor: default; }
@media (hover: hover) and (pointer: fine) { .cl-gal-pfeil { display: grid; } .cl-gal-pfeil:not(:disabled):hover { border-color: var(--cl-tinte); } }
.cl-gal-leiste { display: flex; justify-content: center; align-items: center; gap: var(--sp-3); }
.cl-gal-punkte { display: flex; gap: 6px; }
.cl-gal-punkte i { width: 7px; height: 7px; border-radius: 50%; background: var(--cl-tinte); opacity: .22; transition: opacity .2s; }
.cl-gal-punkte i.cl-an { opacity: .85; }
.cl-gal-zahl { font-family: var(--font-mono); font-size: var(--fs-caption); font-weight: 600; line-height: 1; color: var(--cl-grau); font-variant-numeric: tabular-nums; }
.cl-fenster-text { display: grid; gap: var(--sp-3); align-content: start; min-width: 0; padding: var(--sp-5) var(--sp-4) var(--sp-6); }
.cl-fenster .cl-etikett { color: var(--cl-grau); }
.cl-fenster-h { margin: 0; font-family: var(--font-body); font-size: var(--fs-h3); font-weight: 700; line-height: 1.3; letter-spacing: 0; text-transform: none; color: var(--cl-tinte); }
.cl-kommt-zeile { position: static; display: inline-block; margin-left: var(--sp-2); vertical-align: 2px; }
.cl-fenster a.cl-geber { color: inherit; text-decoration: none; }
.cl-geber { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: var(--sp-3); min-height: var(--tap-min); padding: 10px 0; border-top: 1px solid var(--cl-linie); border-bottom: 1px solid var(--cl-linie); }
.cl-geber-bild { display: block; width: 44px; height: 44px; border-radius: 50%; overflow: hidden; background: var(--cl-linie); box-shadow: 0 0 0 1.5px var(--cl-messing); }
.cl-geber-bild img { display: block; width: 44px; height: 44px; object-fit: cover; object-position: 50% 22%; }
.cl-geber-bild.cl-ini { display: grid; place-items: center; background: var(--cl-samt-hell); color: var(--cl-creme); font-family: var(--font-display); font-weight: 800; font-size: 1rem; letter-spacing: .02em; }
.cl-geber-text small { display: block; font-family: var(--font-mono); font-size: var(--fs-caption); letter-spacing: .08em; text-transform: uppercase; color: var(--cl-grau); }
.cl-geber-text b { display: block; font-size: var(--fs-body); font-weight: 600; line-height: 1.3; }
.cl-geber-pfeil { color: var(--cl-grau); }
@media (hover: hover) { a.cl-geber:hover b { text-decoration: underline; text-underline-offset: 3px; } }
.cl-fenster-wer, .cl-fenster-p, .cl-fenster-frage { margin: 0; font-size: var(--fs-body); line-height: 1.6; color: var(--cl-grau); }
.cl-fenster-frage { font-size: var(--fs-small); }
.cl-fenster-nav { display: flex; gap: var(--sp-2); margin-top: var(--sp-2); }
.cl-fenster-nav button { flex: 1; min-width: 0; min-height: var(--tap-comfortable); padding: 0 var(--sp-3); border: 1px solid var(--cl-linie); border-radius: var(--r-pill); background: var(--cl-karte); color: var(--cl-tinte); font: inherit; font-size: var(--fs-small); font-weight: 600; cursor: pointer; }
@media (hover: hover) { .cl-fenster-nav button:hover { border-color: var(--cl-tinte); } }
.cl-erinnern { display: grid; gap: var(--sp-3); padding: var(--sp-6) var(--sp-4) var(--sp-6); }
.cl-erinnern-form { display: grid; gap: var(--sp-3); margin: var(--sp-1) 0 0; }
.cl-erinnern-form input { min-height: 52px; padding: 0 var(--sp-5); border: 1px solid var(--cl-linie); border-radius: var(--r-pill); background: var(--cl-karte); color: var(--cl-tinte); font: inherit; font-size: var(--fs-body); }
.cl-erinnern-form .cl-knopf { min-height: 52px; }
.cl-erinnern-klein { margin: 0; font-size: var(--fs-small); line-height: 1.5; color: var(--cl-grau); }
.cl-erinnern-klein a { display: inline-block; padding-block: 13px; margin-block: -13px; color: var(--cl-tinte); text-decoration: underline; text-underline-offset: 3px; }
.cl-erinnern-fehler { margin: 0; font-size: var(--fs-small); font-weight: 600; color: #a3261a; }
.cl-erinnern-fehler:empty { display: none; }

/* ---- Die Grossansicht eines Fotos ---- */
.cl-zoom { position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: var(--cl-creme); overflow: hidden; overscroll-behavior: contain; touch-action: none; }
.cl-zoom::backdrop { background: transparent; }
.cl-zoom-hg { position: absolute; inset: 0; background: #0d0b0c; }
.cl-zoom-buehne { position: absolute; inset: 0; touch-action: none; overflow: hidden; cursor: zoom-in; -webkit-user-select: none; user-select: none; }
.cl-zoom-buehne.cl-zoom-nah { cursor: grab; }
.cl-zoom-buehne.cl-zoom-nah:active { cursor: grabbing; }
.cl-zoom-buehne img { position: absolute; left: 50%; top: 50%; display: block; max-width: none; transform-origin: 50% 50%; will-change: transform; -webkit-user-drag: none; -webkit-touch-callout: none; pointer-events: none; }
.cl-zoom-gross { opacity: 0; }
.cl-zoom-gross.cl-da { opacity: 1; }
.cl-zoom-zu, .cl-zoom-pfeil { position: absolute; z-index: 2; display: grid; place-items: center; padding: 0; border: 1px solid rgba(245,243,234,.28); border-radius: 50%; background: rgba(13,11,12,.78); color: var(--cl-creme); cursor: pointer; }
.cl-zoom-zu { top: max(10px, env(safe-area-inset-top)); right: max(10px, env(safe-area-inset-right)); width: 48px; height: 48px; font: 400 1.875rem/1 var(--font-body); }
.cl-zoom-pfeil { top: 50%; display: none; width: 52px; height: 52px; margin-top: -26px; font: 600 1.75rem/1 var(--font-body); }
.cl-zoom-vor { left: max(14px, env(safe-area-inset-left)); }
.cl-zoom-nach { right: max(14px, env(safe-area-inset-right)); }
.cl-zoom-pfeil:disabled { opacity: .25; cursor: default; }
@media (hover: hover) and (pointer: fine) { .cl-zoom-pfeil { display: grid; } .cl-zoom-zu:hover, .cl-zoom-pfeil:not(:disabled):hover { background: rgba(13,11,12,.92); } }
.cl-zoom-einzeln .cl-zoom-pfeil, .cl-zoom-einzeln .cl-zoom-zahl { display: none; }
.cl-zoom-zahl { position: absolute; left: 50%; bottom: max(18px, env(safe-area-inset-bottom)); margin: 0; padding: 7px 12px; border-radius: var(--r-pill); background: rgba(13,11,12,.62); font-family: var(--font-mono); font-size: var(--fs-caption); font-weight: 600; line-height: 1; letter-spacing: .06em; color: var(--cl-messing-hell); font-variant-numeric: tabular-nums; transform: translateX(-50%); pointer-events: none; }
.cl-zoom-zahl:empty { display: none; }
.cl-zoom :focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }

/* ---- Das Gebotsfenster eines Charity-Loses (src/ui/bidSheet.ts, Klasse .bs-schmal) im selben Aussehen: Kopf in
   Bordeaux-Samt mit Messinglinie, Papier statt Weiss, der Stand auf einem Messingschild, Knoepfe als Pillen. Nur das
   Aussehen: kein Text, kein Feld, kein Ablauf aendert sich. Steht HIER und nicht in src/styles/bieten-blatt.css, weil
   jene Datei nur Werte aus schema.tokens.css traegt. Das Blatt haengt am body, deshalb gelten die Farbnamen oben auch
   fuer .bs-schmal. Jede Regel hat eine Klasse mehr als ihr Gegenstueck im Blatt-Stylesheet, das spaeter laedt. ---- */
.auth-sheet-root .auth-sheet.bs-schmal {
  --sheet-card: var(--cl-papier); --sheet-bg: #ebe8de; --sheet-text: var(--cl-tinte); --sheet-heading: var(--cl-tinte); --sheet-muted: var(--cl-grau); --sheet-line: var(--cl-linie); --sheet-field: #b9b7ab;
  /* Hoehe des Samtkopfs: Abstand oben, Griff, die Ueberschrift, Luft darunter. */
  --cl-band: calc(var(--sp-3) + 4px + var(--sp-3) + var(--fs-h2) * 1.05 + 14px);
  background:
    linear-gradient(var(--cl-messing), var(--cl-messing)) 0 var(--cl-band) / 100% 1px no-repeat local,
    radial-gradient(ellipse 60% 120% at 78% -30%, rgba(237,187,118,.28), transparent 70%) 0 0 / 100% var(--cl-band) no-repeat local,
    repeating-linear-gradient(90deg, rgba(0,0,0,.16) 0 3px, rgba(255,255,255,.015) 3px 9px, rgba(0,0,0,0) 9px 46px) 0 0 / 100% var(--cl-band) no-repeat local,
    linear-gradient(165deg, var(--cl-samt-hell), var(--cl-samt-tief)) 0 0 / 100% var(--cl-band) no-repeat local,
    var(--cl-papier);
}
.auth-sheet-root .bs-schmal .auth-grip { background: rgba(215,181,126,.55); }
.auth-sheet-root .bs-schmal .auth-x { color: var(--cl-creme); }
.auth-sheet-root .bs-schmal .auth-x:focus-visible { outline-color: var(--signal); }
.auth-sheet-root .bs-schmal .auth-title { margin-bottom: calc(14px + var(--sp-4)); font-weight: 800; letter-spacing: .01em; text-transform: uppercase; color: var(--cl-creme); }
.auth-sheet-root .bs-schmal .bs-eyebrow { font-family: var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--cl-grau); }
.auth-sheet-root .bs-schmal .bs-title { font-size: var(--fs-lead); }
/* Stand des Loses auf dem Messingschild, wie auf der Tafel der Losseite. */
.auth-sheet-root .bs-schmal .bs-stand { background: var(--cl-messing-flaeche); color: var(--cl-gravur); box-shadow: inset 0 1px 0 rgba(255,255,255,.6), inset 0 -1px 0 rgba(0,0,0,.35), inset 0 0 0 1px rgba(124,92,48,.5), 0 2px 0 rgba(43,26,14,.35); }
.auth-sheet-root .bs-schmal .bs-stand .label { font-family: var(--font-mono); font-size: var(--fs-caption); letter-spacing: .08em; text-transform: uppercase; color: var(--cl-gravur); }
.auth-sheet-root .bs-schmal .bs-stand :is(.bs-price, .bs-rest) { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-h2); line-height: 1; letter-spacing: .01em; color: var(--cl-gravur); text-shadow: 0 1px 0 rgba(255,236,190,.6); }
.auth-sheet-root .bs-schmal .bs-stand { align-items: flex-end; gap: var(--sp-2) var(--sp-3); }
.auth-sheet-root .bs-schmal .bs-stand .bs-rest { font-size: var(--fs-h3); line-height: 1.15; white-space: nowrap; }
.auth-sheet-root .bs-schmal .bs-rest[data-letzte-stunde] { background: var(--cl-gravur); color: var(--cl-messing-licht); text-shadow: none; }
.auth-sheet-root .bs-schmal .bs-input { border-color: var(--cl-tinte); background: #fff; font-family: var(--font-display); font-weight: 800; font-size: var(--fs-h2); }
.auth-sheet-root .bs-schmal .bs-zeile-summe .bs-zeile-v { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-h2); line-height: 1; }
/* Knoepfe wie auf der Losseite: Pillen, der Hauptknopf in Lime mit fester Kante. */
.auth-sheet-root .bs-schmal .btn { border-radius: var(--r-pill); }
.auth-sheet-root .bs-schmal .btn.btn-primary { min-height: 56px; font-size: var(--fs-lead); box-shadow: 0 3px 0 var(--cl-tinte); }
.auth-sheet-root .bs-schmal .btn.btn-primary:active { box-shadow: 0 0 0 var(--cl-tinte); }
.auth-sheet-root .bs-schmal .btn.btn-primary:disabled { box-shadow: none; }
.auth-sheet-root .bs-schmal .bs-foot { background: var(--cl-papier); }
/* "Einmal den Ausweis zeigen": eine Samtkarte mit Messingkante statt eines grauen Kastens. */
.auth-sheet-root .bs-schmal .bs-kaution[data-bs-ausweis-vorweg] { margin-top: var(--sp-4); padding: var(--sp-5); border: 1px solid var(--cl-messing); border-radius: var(--r-lg); background: linear-gradient(165deg, var(--cl-samt-hell), var(--cl-samt-tief)); }
.auth-sheet-root .bs-schmal .bs-kaution[data-bs-ausweis-vorweg] .bs-lage { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: var(--fs-h3); line-height: 1.05; letter-spacing: .01em; text-transform: uppercase; color: var(--cl-creme); }
.auth-sheet-root .bs-schmal .bs-kaution[data-bs-ausweis-vorweg] .bs-rechnung-note { margin-top: var(--sp-2); font-size: var(--fs-body); color: var(--cl-creme-matt); }
/* Nach dem Gebot: das Zeichen als Messing-Medaillon. */
.auth-sheet-root .bs-schmal .auth-sent { padding-top: var(--sp-4); }
.auth-sheet-root .bs-schmal .auth-sent-ic { background: var(--cl-messing-flaeche); box-shadow: inset 0 1px 0 rgba(255,255,255,.6), inset 0 0 0 1px rgba(124,92,48,.5), 0 2px 0 rgba(43,26,14,.35); }
.auth-sheet-root .bs-schmal .auth-sent-ic svg { color: var(--cl-gravur); }
.auth-sheet-root .bs-schmal .auth-sent-title { font-weight: 800; font-size: var(--fs-h2); line-height: 1; letter-spacing: .01em; text-transform: uppercase; }
@media (min-width: 768px) {
  .auth-sheet-root .auth-sheet.bs-schmal { --cl-band: calc(var(--sp-6) + var(--fs-h2) * 1.05 + 18px); }
  .auth-sheet-root .bs-schmal .auth-title { margin-bottom: calc(18px + var(--sp-5)); }
}

/* ---- Breiten der Charity-Losseite ---- */
/* Die feste Leiste verdeckt sonst das Ende des Fusses (nur unter lg, darueber gibt es sie nicht). */
@media (max-width: 1023.98px) { html.cl-seite:has(.cl-bar:not([hidden])) .foot { padding-bottom: calc(40px + var(--sp-16) + env(safe-area-inset-bottom, 0px)); } }
@media (min-width: 640px) {
  .cl-schau { width: 100%; max-width: 35rem; margin-inline: auto; }
  .cl-stuecke { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-8) var(--sp-5); }
  .cl-wissen-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cl-ende { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--sp-6); padding: var(--sp-5) var(--sp-6); }
  .cl-ende-knoepfe { grid-column: 2; grid-row: 1; flex-direction: column; align-items: stretch; }
  .cl-ende-text { grid-column: 1; grid-row: 1; }
}
@media (min-width: 768px) {
  html.cl-seite, .cl { --cl-pad: var(--gutter-lg); }
  .cl-fenster { width: min(760px, calc(100% - 32px)); max-height: calc(100dvh - 48px); margin: auto; padding-bottom: 0; border-radius: var(--r-lg); box-shadow: 0 40px 100px rgba(0,0,0,.45); }
  .cl-fenster-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .cl-fenster-bild { min-height: 100%; padding: var(--sp-6); box-shadow: inset -1px 0 0 var(--cl-messing-linie); }
  .cl-zoom-auf { width: 100%; }
  .cl-galerie { padding: var(--sp-6) 0 var(--sp-4); }
  .cl-fenster-text { padding: var(--sp-12) var(--sp-6) var(--sp-6); }
  .cl-fenster-schmal { width: min(30rem, calc(100% - 32px)); }
  .cl-erinnern { padding: var(--sp-8) var(--sp-6) var(--sp-6); }
}
@media (min-width: 1024px) {
  .cl-buehne { padding-top: var(--sp-8); padding-bottom: var(--sp-14); }
  .cl-oben { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--sp-12); }
  .cl-schau { max-width: none; }
  .cl-kopf { padding-top: var(--sp-2); }
  .cl-leiste { display: grid; grid-template-columns: repeat(var(--cl-n, 6), minmax(0, 1fr)); overflow: visible; }
  .cl-leiste li { width: auto; }
  .cl-leiste-k { position: relative; min-height: 0; }
  .cl-leiste-name { position: absolute; width: 1px; height: 1px; min-height: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .cl .cl-gebot { margin-top: var(--sp-6); padding: var(--sp-5); }
  .cl-von { margin-top: var(--sp-6); }
  .cl-lostext-box { margin-top: var(--sp-5); padding-top: var(--sp-5); }
  .cl-mehr-wahl:not(:checked) ~ .cl-lostext { display: block; -webkit-line-clamp: none; line-clamp: none; overflow: visible; }
  .cl-mehr-wahl, .cl-mehr { display: none; }
  .cl-papier { padding-top: var(--sp-14); padding-bottom: var(--sp-14); }
  .cl-stuecke { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cl-wissen-raster { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
/* Handy im Querformat (wenig Hoehe): die Zurueck-Leiste haftet nicht, damit Platz fuer den Inhalt bleibt, und das
   Stueck-Fenster zeigt Foto und Text nebeneinander, das Foto ganz (Rat Technik 25.11.2026, Gefuehl Nr. 11). */
@media (orientation: landscape) and (max-height: 520px) {
  .cl-zr { position: static; }
  .cl-fenster { width: min(760px, calc(100% - 32px)); max-height: calc(100vh - 16px); max-height: calc(100dvh - 16px); margin: auto; padding-bottom: 0; border-radius: var(--r-lg); }
  .cl-fenster-in { grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); align-items: start; }
  .cl-fenster-bild { position: sticky; top: 0; padding: var(--sp-3); box-shadow: inset -1px 0 0 var(--cl-messing-linie); }
  .cl-zoom-auf { width: min(100%, calc(100vh - 88px)); width: min(100%, calc(100dvh - 88px)); }
  .cl-fenster-text { padding: var(--sp-5) var(--sp-4) var(--sp-4); }
  .cl-fenster-schmal { width: min(30rem, calc(100% - 32px)); }
}
@media (prefers-reduced-motion: reduce) {
  .cl-knopf, .cl-st-bild, .cl-leiste-bild, .cl-gal-punkte i { transition: none; }
  .cl-fenster[open] { animation: none; }
}

/* DER EINE KOPF (Zusammenlegung Schritt 2, 03.10.2026). Markup: deploy/src-worker/shared/kopf.ts.

   Diese Datei steht wortgleich in der App (src/main.ts importiert sie), in content.css (Inhaltsseiten,
   Los-, Anbieterseiten, /lose/; scripts/build-content.mjs haengt sie an) und im <style> der
   Vorlagenseiten (Startseite, Widerruf, Registrierung; scripts/lib/kopf-bau.mjs setzt sie ein).

   Regeln (docs/design/STYLEGUIDE.md): Farben, Abstaende, Radien und Schriften nur aus schema.tokens.css,
   rgba() nur fuer Schatten. Alle Klassen beginnen mit "kopf", damit die alten Regeln der Seiten
   (.hdr, .mark, .brand, .wordmark ...) nichts verstellen. Gemessen ohne Ueberlauf von 320 bis 1440 px.

   Hoehe 68 px wie bisher auf allen Seiten (--kopf-h). Breakpoints wie vorher: 768 (Menue im Kopf statt
   Klappmenue), 1024 (volle Schrift), dazu die Handy-Stufen 440 / 380 / 360 fuer Wortmarke und Knopf. */

.kopf {
  position: sticky; top: 0; z-index: 40; isolation: isolate;
  background: var(--bg-base); color: var(--text-bright);
  font-family: var(--font-body); font-size: var(--t, 1.0625rem); line-height: var(--lh-body, 1.5);
  -webkit-font-smoothing: antialiased;
}
/* Ruhige Koernung wie Startseite und Fusszeile, nie animiert. */
.kopf::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-size: 160px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='k'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23k)'/%3E%3C/svg%3E");
}
/* Abstand fuer die iPhone-Kamera nur als App vom Home-Bildschirm. */
@media (display-mode: standalone) { .kopf { padding-top: env(safe-area-inset-top); } }
.kopf *, .kopf *::before, .kopf *::after { box-sizing: border-box; }
.kopf :focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }

.kopf-in {
  display: flex; align-items: center; gap: var(--sp-3);
  max-width: var(--container-max); min-height: var(--kopf-h, 68px); margin: 0 auto;
  padding: var(--sp-3) var(--gutter);
}
@media (min-width: 768px) { .kopf-in { padding-inline: var(--gutter-lg); } }
/* Optik-Rat 05.10.2026: am Handy 56 px (Schema --masthead-compact-h) statt 68; mit den festen Leisten unten fehlte sonst
   fast ein Viertel des Bildschirms. Die Knoepfe behalten 44 px Tippflaeche. --kopf-h folgt, damit Abstaende stimmen. */
@media (max-width: 767.98px) { :root { --kopf-h: var(--sp-14); } .kopf-in { padding-block: var(--sp-1); } }

/* Marke: lime Kachel mit dem L-Zeichen, Schablonen-Wortmarke. Fuehrt zur Startseite von lagerlos.de. */
.kopf-marke { display: inline-flex; align-items: center; gap: var(--sp-3); flex: none; min-height: var(--tap-min); color: var(--text-bright); text-decoration: none; }
.kopf-zeichen { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: var(--r-sm); background: var(--signal); }
.kopf-zeichen svg { width: 24px; height: 24px; fill: var(--on-signal); }
.kopf-wort { font-family: var(--font-marke); font-weight: 700; text-transform: uppercase; font-size: 1.5rem; line-height: 1; letter-spacing: 0; white-space: nowrap; color: var(--text-bright); }
.kopf-punkt { color: var(--signal); }

/* Menue im Kopf ab 768 px. */
.kopf-nav { display: none; align-items: center; gap: var(--sp-1); margin-left: auto; }
.kopf-nav a { position: relative; display: inline-flex; align-items: center; min-height: var(--tap-min); padding: 0 var(--sp-3); color: var(--text-bright); font-weight: 700; font-size: var(--k, .875rem); white-space: nowrap; text-decoration: none; text-underline-offset: 8px; }
.kopf-nav a:hover, .kopf-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 3px; }

.kopf-aktion { display: flex; align-items: center; gap: var(--sp-2); margin-left: auto; flex: none; }

/* Runde Knoepfe (Lupe, Glocke der App, Menue): 44 px Tippflaeche. */
.kopf-suche > summary, .kopf-menue > summary {
  list-style: none; width: var(--tap-min); height: var(--tap-min); display: grid; place-items: center;
  cursor: pointer; border-radius: var(--r-btn); color: var(--text-bright);
  transition: background-color var(--motion-feedback) ease, color var(--motion-feedback) ease;
}
.kopf-suche > summary::-webkit-details-marker, .kopf-menue > summary::-webkit-details-marker { display: none; }
.kopf-suche > summary svg { width: 24px; height: 24px; }
.kopf-menue > summary { border: 1px solid var(--hairline-strong); }
.kopf-suche[open] > summary, .kopf-menue[open] > summary { background: var(--signal); border-color: var(--signal); color: var(--on-signal); }
@media (hover: hover) { .kopf-suche:not([open]) > summary:hover { background: var(--bg-raised); } }

/* Die Suche klappt unter dem Kopf ueber die volle Breite auf (wie bisher auf der Startseite). */
.kopf-such-form {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 45;
  display: flex; gap: var(--sp-2); padding: var(--sp-2) var(--gutter) var(--sp-3);
  background: var(--bg-base); box-shadow: 0 12px 24px rgba(0,0,0,.28);
}
@media (min-width: 768px) {
  .kopf-such-form { padding-inline: max(var(--gutter-lg), calc((100% - var(--container-max)) / 2 + var(--gutter-lg))); }
}
.kopf-such-feld { flex: 1; min-width: 0; display: flex; align-items: center; gap: var(--sp-3); min-height: 50px; padding: 0 var(--sp-4); border-radius: var(--r-input); background: var(--sheet-card); color: var(--sheet-heading); }
.kopf-such-feld svg { width: 22px; height: 22px; flex: none; }
.kopf-such-feld input { flex: 1; width: 100%; min-width: 0; min-height: var(--tap-min); border: 0; outline: 0; background: transparent; color: var(--sheet-heading); font: inherit; font-size: 1rem; }
.kopf-such-feld input::placeholder { color: var(--sheet-muted); }
.kopf-such-feld:focus-within { outline: 2px solid var(--signal); outline-offset: 2px; }
.kopf-such-los { flex: none; min-height: 50px; padding: 0 var(--sp-4); border: 0; border-radius: var(--r-btn); background: var(--signal); color: var(--on-signal); font: inherit; font-weight: 700; cursor: pointer; }

/* Anmelden / Mein Konto: beide Knoepfe in EINER Rasterzelle, nur einer sichtbar. Die Zelle ist so
   breit wie der laengere, beim Umschalten springt nichts (Plan 7.5). */
.kopf-konto { display: grid; flex: none; }
.kopf-konto > .kopf-cta { grid-area: 1 / 1; }
.kopf-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  min-height: var(--tap-min); padding: 0 var(--sp-4);
  border: 1px solid var(--signal); border-radius: var(--r-btn);
  color: var(--text-bright); font-weight: 700; font-size: var(--t, 1.0625rem); line-height: var(--lh-control);
  white-space: nowrap; text-decoration: none;
  transition: background-color var(--motion-feedback) ease, color var(--motion-feedback) ease;
}
.kopf-cta svg { width: 18px; height: 18px; flex: none; color: var(--signal); }
.kopf-cta:hover { background: var(--signal); color: var(--on-signal); }
.kopf-cta:hover svg { color: var(--on-signal); }
.kopf-cta-an { visibility: hidden; }
/* Rat Optik O-3 (08.11.2026): Gelb fuehrt nur noch zur Handlung. Angemeldet bleibt der Knopf durchsichtig mit
   lime Rand wie "Anmelden"; den Unterschied ohne Wort traegt das Personen-Zeichen: abgemeldet als Linie,
   angemeldet gefuellt (Kopf und Schultern als Flaeche in currentColor, also lime, beim Ueberfahren --on-signal). */
.kopf-cta-an svg circle, .kopf-cta-an svg path { fill: currentColor; }
.ll-an .kopf-cta-ab { visibility: hidden; }
.ll-an .kopf-cta-an { visibility: visible; }
/* Sol-Massnahme 2 (04.10.2026): "Anmelden / Registrieren" nur ab 1280 px, dort gemessen mit 44 px
   Hoehe ohne Ueberlauf (bei 1024 ragte der Kopf 13 px in den Rand). Darunter steht "Anmelden" wie bisher, und das Klappmenue (unter 768 px) bietet
   Gaesten "Kostenloses Konto anlegen". Die Zelle bleibt so breit wie der laengere Knopf (kein Springen). */
.kc-reg { display: none; }
@media (min-width: 1280px) { .kc-reg { display: inline; } }

/* Klappmenue (unter 768 px): weisse Karte unter dem Knopf. */
.kopf-menue { position: relative; }
.kopf-burger, .kopf-burger::before, .kopf-burger::after { content: ""; display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.kopf-burger { position: relative; }
.kopf-burger::before, .kopf-burger::after { position: absolute; left: 0; transition: transform var(--motion-state) var(--ease-ui), top var(--motion-state) var(--ease-ui); }
.kopf-burger::before { top: -6px; }
.kopf-burger::after { top: 6px; }
.kopf-menue[open] .kopf-burger { background: transparent; }
.kopf-menue[open] .kopf-burger::before { top: 0; transform: rotate(45deg); background: currentColor; }
.kopf-menue[open] .kopf-burger::after { top: 0; transform: rotate(-45deg); background: currentColor; }
.kopf-lade {
  position: absolute; right: 0; top: calc(100% + var(--sp-3)); z-index: 50;
  display: flex; flex-direction: column; width: min(300px, calc(100vw - 2 * var(--gutter)));
  padding: var(--sp-2); background: var(--sheet-card); border-radius: var(--r-card);
  box-shadow: 0 2px 6px rgba(13,14,11,.10), 0 20px 48px rgba(13,14,11,.22);
}
.kopf-lade a { display: flex; align-items: center; min-height: 52px; padding: 0 var(--sp-3); border-radius: var(--r-btn); color: var(--sheet-heading); font-weight: 700; font-size: var(--t, 1.0625rem); text-decoration: none; }
.kopf-lade a + a { border-top: 1px solid var(--sheet-line); border-radius: 0; }
.kopf-lade a:hover, .kopf-lade a:active, .kopf-lade a[aria-current="page"] { background: var(--sheet-bg); }
.kopf-lade :focus-visible { outline-color: var(--sheet-heading); }
.kopf-lade a.kopf-lade-konto { margin-top: var(--sp-2); border-top: 0; border-radius: var(--r-btn); justify-content: center; background: var(--signal); color: var(--on-signal); }
.kopf-lade a.kopf-lade-konto:hover, .kopf-lade a.kopf-lade-konto:active { background: var(--signal-deep); }
.ll-an .kopf-lade-konto { display: none !important; }
/* Abmelden ganz unten im Klappmenue, nur angemeldet (Marcel 14.10.2026). Sieht aus wie die Menuepunkte darueber. */
.kopf-lade .kopf-lade-ab { display: none; }
.ll-an .kopf-lade .kopf-lade-ab {
  display: flex; align-items: center; width: 100%; min-height: 52px; padding: 0 var(--sp-3);
  border: 0; border-top: 1px solid var(--sheet-line); background: none; font: inherit; font-weight: 700;
  font-size: var(--t, 1.0625rem); color: var(--sheet-muted); text-align: left; cursor: pointer;
}
.ll-an .kopf-lade .kopf-lade-ab:hover, .ll-an .kopf-lade .kopf-lade-ab:active { background: var(--sheet-bg); color: var(--sheet-heading); }
.kopf-lade .kopf-lade-ab:disabled { opacity: .6; }

/* Glocke der App (src/ui/notifSheet.ts) steht im Kopf zwischen Lupe und Kontoknopf. */
.kopf .bell { width: var(--tap-min); height: var(--tap-min); color: var(--text-bright); border-radius: var(--r-btn); }

@media (min-width: 768px) {
  .kopf-nav { display: flex; }
  .kopf-menue { display: none; }
  .kopf-aktion { margin-left: var(--sp-2); }
}
/* Tablet: vier Menuewoerter, Lupe und Knopf neben der Wortmarke; Knopf ohne Zeichen. */
@media (min-width: 768px) and (max-width: 1023.98px) {
  .kopf-in { gap: var(--sp-2); }
  .kopf-nav { gap: 0; }
  .kopf-nav a { padding: 0 var(--sp-2); }
  .kopf-cta { padding: 0 var(--sp-3); font-size: var(--k, .875rem); }
  .kopf-cta svg { display: none; }
  /* Optik-Rat 05.10.2026 (Marcel: ja): hier nur das L-Zeichen, die Wortmarke klebte an der Navigation. */
  .kopf-wort { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
@media (min-width: 1024px) { .kopf-nav a { font-size: var(--t, 1.0625rem); } }

/* Handy: der Kopf bleibt EINE Zeile. */
@media (max-width: 767.98px) {
  .kopf-in { gap: 6px; }
  .kopf-marke { gap: 6px; }
  .kopf-aktion { gap: 6px; }
  .kopf-cta { padding: 0 10px; gap: 6px; font-size: var(--k, .875rem); }
  .kopf-cta svg { width: 17px; height: 17px; }
}
@media (max-width: 439.98px) { .kopf-wort { font-size: 1.2rem; } .kopf-cta svg { display: none; } }
@media (max-width: 379.98px) { .kopf-wort { font-size: 1.15rem; } .kopf-zeichen { width: 32px; height: 32px; } .kopf-zeichen svg { width: 20px; height: 20px; } }
/* Schmale Handys, und die App angemeldet (Glocke sichtbar) unter 480 px (das iPhone Pro Max ist 440 px breit, dort lief der Kopf um 33 px ueber); abgemeldet bleibt "Anmelden" lesbar wie
   auf lagerlos.de: nur das Personen-Zeichen, das Wort bleibt
   fuer Vorleser da. Angemeldet ist das Personen-Zeichen gefuellt (O-3, oben bei .kopf-cta-an), damit man den
   Unterschied auch ohne Wort sieht; die Flaeche bleibt durchsichtig wie abgemeldet. */
@media (max-width: 379.98px) {
  .kopf-in, .kopf-aktion { gap: 4px; }
  .kopf-konto .kopf-cta { width: var(--tap-min); padding: 0; }
  .kopf-konto .kopf-cta svg { display: block; width: 20px; height: 20px; }
  .kopf-konto .kc-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
@media (max-width: 479.98px) {
  html.ll-an .kopf-mit-glocke .kopf-konto .kopf-cta { width: var(--tap-min); padding: 0; }
  html.ll-an .kopf-mit-glocke .kopf-konto .kopf-cta svg { display: block; width: 20px; height: 20px; }
  html.ll-an .kopf-mit-glocke .kopf-konto .kc-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}

/* App, angemeldet (Glocke sichtbar): gemessen auf der Testumgebung lief der Kopf bei 320 px um 30 px und
   zwischen 768 und 1023 px um 18 px ueber. Unter 380 px weicht die Lupe (Suchen bleibt ueber "Lose" im
   Menue und in der Reiterleiste), auf dem Tablet wird der Kontoknopf zum Zeichen wie am Handy. */
@media (max-width: 379.98px) {
  html.ll-an .kopf-mit-glocke .kopf-suche { display: none; }
}
@media (min-width: 768px) and (max-width: 1023.98px) {
  html.ll-an .kopf-mit-glocke .kopf-konto .kopf-cta { width: var(--tap-min); padding: 0; }
  html.ll-an .kopf-mit-glocke .kopf-konto .kopf-cta svg { display: block; width: 20px; height: 20px; }
  html.ll-an .kopf-mit-glocke .kopf-konto .kc-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}

/* Gegenpruefung Schritt 2: die Glocke kommt erst mit der Antwort von /api/me. Haengt das Verdichten an ihr,
   springt der Kopf danach (768 px: Kontoknopf 101 -> 44 px, 320 px: Lupe weg). Darum gilt das Merkzeichen
   (ll-an steht vor dem ersten Zeichnen fest), und ihr Platz ist bis dahin unsichtbar reserviert. */
html.ll-an .kopf-mit-glocke .bell[hidden] { display: grid !important; visibility: hidden; }

/* Charity-Band (seit 26.11.2026, Marcel: auf allen Landingpages; vorher gelbe Zeile nur am Handy). Steht direkt
   hinter dem Kopf, auf jeder Breite, rollt mit dem Inhalt weg (nicht klebend, --kopf-h bleibt 56). Satz und Stand
   setzt der Server ein (shared/kopf.ts charityLeisteHtml), darum springt beim Laden nichts. Bewusst schmal: am Handy
   zwei kurze Zeilen (56 px), ab 768 px eine Zeile (48 px), damit der Inhalt der Seite oben bleibt.
   Farben: Bordeaux und Messing aus dem Schema (--ch-*), der Knopf in Lime. Schrift: nur --fs-small.
   Vor dem Start: rechts das Messingschild mit dem Zaehler (erst mit Skript sichtbar, .kl-an). Ab dem Start: kein
   Zaehler, an seiner Stelle der Knopf "Zur Auktion". Keine Bewegung ausser dem Pfeil beim Ueberfahren. */
.kopf-leiste {
  margin: 0; color: var(--ch-creme);
  background: linear-gradient(165deg, var(--ch-samt) 0%, var(--ch-samt-mitte) 60%, var(--ch-samt-tief) 100%);
  box-shadow: inset 0 -1px 0 var(--ch-messing);
}
.kopf-leiste a {
  display: flex; align-items: center; gap: var(--sp-3); box-sizing: border-box;
  max-width: var(--container-max); margin-inline: auto;
  min-height: var(--sp-14); padding: var(--sp-2) var(--gutter);
  color: inherit; font-family: var(--font-body); font-size: var(--fs-small); font-weight: 500;
  line-height: 1.3; text-decoration: none; -webkit-text-size-adjust: 100%; text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}
.kopf-leiste .kl-satz { flex: 1; min-width: 0; }
.kopf-leiste b { font-weight: 700; color: var(--ch-messing-hell); }
.kopf-leiste .kl-fuer { font-weight: 700; color: var(--ch-messing-hell); }
/* Am Handy zwei Zeilen: oben die Aktion, darunter der Termin. Der Doppelpunkt gehoert nur zur einen Zeile ab 768 px. */
.kopf-leiste .kl-dp { display: none; }
.kopf-leiste .kl-wann { display: block; }
/* Das Messingschild. Ohne Skript leer und unsichtbar; tabellarische Ziffern, damit beim Zaehlen nichts wackelt. */
.kopf-leiste .kl-uhr { display: none; }
.kopf-leiste.kl-an .kl-uhr {
  flex: none; display: grid; justify-items: center; align-content: center; box-sizing: border-box;
  min-height: var(--sp-10); min-width: 9ch; padding: var(--sp-1) var(--sp-3); border-radius: var(--r-sm);
  color: var(--ch-samt-tief); font-weight: 700; line-height: 1.2; font-variant-numeric: tabular-nums; white-space: nowrap;
  background: linear-gradient(172deg, var(--ch-messing-hell) 0%, var(--ch-messing) 100%);
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--ch-creme) 65%, transparent), inset 0 -1px 0 color-mix(in srgb, var(--ch-samt-tief) 45%, transparent);
}
.kopf-leiste .kl-knopf {
  flex: none; display: inline-flex; align-items: center; min-height: var(--sp-10); padding: 0 var(--sp-4);
  border-radius: var(--r-pill); background: var(--signal); color: var(--on-signal); font-weight: 700; white-space: nowrap;
}
.kopf-leiste .kl-pfeil {
  flex: none; width: var(--sp-4); height: var(--sp-4);
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.kopf-leiste a:active .kl-knopf { background: var(--signal-deep); }
.kopf-leiste a:focus-visible { outline: 2px solid var(--signal); outline-offset: calc(var(--sp-1) * -1); }
@media (hover: hover) {
  .kopf-leiste .kl-pfeil { transition: transform var(--motion-feedback) ease; }
  .kopf-leiste a:hover .kl-pfeil { transform: translateX(var(--sp-1)); }
  .kopf-leiste a:hover .kl-wann { text-decoration: underline; text-underline-offset: 3px; }
}
@media (prefers-reduced-motion: reduce) { .kopf-leiste .kl-pfeil { transition: none; } }
/* Ab 768 px eine Zeile, als Gruppe in der Mitte: Satz, Schild oder Knopf, Pfeil. */
@media (min-width: 768px) {
  .kopf-leiste a { justify-content: center; gap: var(--sp-4); min-height: var(--sp-12); padding: var(--sp-1) var(--gutter-lg); }
  .kopf-leiste .kl-satz { flex: 0 1 auto; }
  .kopf-leiste .kl-dp, .kopf-leiste .kl-wann { display: inline; }
  .kopf-leiste.kl-an .kl-uhr { display: block; min-height: 0; padding: var(--sp-2) var(--sp-3); }
  .kopf-leiste .kl-knopf { min-height: var(--sp-8); }
}
/* Schmale Handys (gemessen 26.11.2026 bei 320 px: "Charity-Lager für Tierheime" bricht neben dem Schild um):
   "für Tierheime" bleibt fuer Vorleseprogramme im Link. */
@media (max-width: 379.98px) {
  .kopf-leiste .kl-fuer { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  /* Gemessen bei 320 px: "mitbieten ab 29.11., 20 Uhr" brach vor "Uhr" um. Engere Abstaende, schmaleres Schild. */
  .kopf-leiste a { gap: var(--sp-2); }
  .kopf-leiste.kl-an .kl-uhr { min-width: 0; padding-inline: var(--sp-2); }
  .kopf-leiste .kl-knopf { padding-inline: var(--sp-3); }
}
@media print { .kopf-leiste { display: none; } }

/* Schlichter Kopf (nur Marke). */
.kopf-schlicht .kopf-in { justify-content: flex-start; }

/* Tiefe beim Scrollen: feine lime Linie mit weichem Schatten, nur wo der Browser es kann. */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: scroll()) {
    .kopf::after {
      content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--signal);
      box-shadow: 0 8px 22px rgba(0,0,0,.28); opacity: 0; pointer-events: none;
      animation: kopf-tiefe linear both; animation-timeline: scroll(root); animation-range: 0 64px;
    }
  }
}
@keyframes kopf-tiefe { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .kopf-cta, .kopf-suche > summary, .kopf-menue > summary, .kopf-burger::before, .kopf-burger::after { transition: none; } }
@media print { .kopf-nav, .kopf-aktion { display: none; } .kopf { position: static; } }

/* Die EINE Loskarte von lagerlos.de (Optik-Rat 05.10.2026). Vorher hatte die Startseite eine eigene Karte
   (.tor-karte) mit anderem Titel, Preis, Stempel und schwarzem Knopf; jetzt rendert auch sie losKarteHtml
   (deploy/src-worker/losseiten.ts). Gebraucht von /lose/, Losseiten ("Weitere Lose"), Anbieterseiten und der
   Startseite. Eingebunden beim Bau: build-content.mjs haengt die Datei an content.css an, build-soon.mjs setzt
   sie fuer den Platzhalter LOSKARTE_CSS in die Startseite ein. Nur Werte aus schema.tokens.css und den Seitenstufen
   (--t, --k, --h3, --gap, --karte-r, --karte-schatten), die beide Seiten gleich definieren. */
.lk-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
@media (min-width: 768px) { .lk-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* Genau ein Los (Rat Optik 10.11.2026, F-20): am Handy volle Breite statt einer halben Karte. Ohne Skript zaehlt
   :only-child, mit der Insel von /lose/ die sichtbare Zahl (data-anzahl, die verborgenen Karten bleiben im Raster). */
@media (max-width: 767.98px) { .lk-grid:not([data-anzahl]) > :only-child, .lk-grid[data-anzahl="1"] > :not([hidden]) { grid-column: 1 / -1; } }
@media (min-width: 1280px) { .lk-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.lk { display: flex; flex-direction: column; min-width: 0; overflow: hidden; background: var(--sheet-card); border-radius: var(--karte-r); box-shadow: var(--karte-schatten); color: var(--sheet-text); text-decoration: none; transition: transform var(--motion-state) var(--ease-ui), box-shadow var(--motion-state) var(--ease-ui); }
.lk:active { transform: scale(.985); }
@media (hover: hover) { .lk:hover { transform: translateY(-2px); box-shadow: var(--karte-schatten-hoch); } }
.lk-foto { display: block; width: 100%; height: auto; aspect-ratio: var(--ratio-lot-photo); object-fit: cover; background: var(--sheet-line); }
/* Verkauft-Stempel auf dem Foto (Marcel 08.10.2026): Schablonenschrift wie das Logo, schraeg, doppelter Rand. */
.lk-bild { position: relative; display: block; container-type: inline-size; }
.lk-stempel { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-12deg); padding: .14em .45em .08em; border: .09em solid var(--sheet-bad); border-radius: var(--r-sm); outline: .04em solid var(--sheet-bad); outline-offset: .07em; background: color-mix(in srgb, var(--sheet-card) 82%, transparent); color: var(--sheet-bad); font-family: var(--font-marke); font-weight: 700; font-size: var(--fs-h2); font-size: 12.5cqw; line-height: 1; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; pointer-events: none; box-shadow: var(--karte-schatten); }
.lk-text { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; padding: 12px 12px 6px; }
@media (min-width: 768px) { .lk-text { padding: 16px 16px 8px; } }
.lk-titel { margin: 0; font-family: var(--font-body); font-weight: 700; font-size: var(--t); line-height: 1.3; text-transform: none; letter-spacing: 0; color: var(--sheet-heading); overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; hyphenate-limit-chars: 10 4 4; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
.lk-zeile { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 6px 0 0; font-size: var(--k); line-height: 1.35; color: var(--sheet-muted); }
.lk-ort { display: inline-flex; align-items: flex-start; gap: 4px; min-width: 0; overflow-wrap: anywhere; }
.lk-ort::before { content: ""; flex: none; width: 15px; height: 15px; margin-top: .15em; background: currentColor; -webkit-mask: var(--lk-ic-ort) center / contain no-repeat; mask: var(--lk-ic-ort) center / contain no-repeat; }
.lk-los { white-space: nowrap; padding: 0 6px; border-radius: var(--r-sm); background: var(--sheet-bg); }
.lk-sub { margin: 2px 0 0; font-size: var(--k); line-height: 1.35; color: var(--sheet-muted); }
.lk-preis { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; margin: auto 0 0; padding-top: 10px; }
.lk-preis span { font-size: var(--k); color: var(--sheet-muted); }
.lk-preis > span:first-child { flex-basis: 100%; }
.lk-preis b { font-size: var(--h3); line-height: 1.15; color: var(--sheet-heading); font-variant-numeric: tabular-nums; }
.lk-zeit { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; max-width: calc(100% - 24px); margin: 0 12px 14px; font-size: var(--k); font-weight: 700; line-height: 1.3; color: var(--sheet-heading); }
@media (min-width: 768px) { .lk-zeit { margin: 0 16px 16px; } }
.lk-zeit svg { display: block; flex: none; width: 16px; height: 16px; }
.lk-zeit[data-letzter-tag] { color: var(--sheet-bad); } /* letzter Tag rot, Marcel 08.10.2026 */
.lk-zeit[data-letzte-stunde] { padding: 4px 12px 4px 10px; border-radius: var(--r-pill); background: var(--sheet-bad); color: var(--sheet-card); font-size: var(--t); } /* letzte Stunde rot und groesser, Marcel 08.10.2026 */
.lk-zeit-done { font-weight: 400; color: var(--sheet-muted); }
/* Laufende Lose: die Restzeit als Plakette unten links auf dem Foto (15.11.2026). Letzter Tag rot, letzte Stunde
   rote Plakette und groesser bleiben (Marcel 08.10.2026). */
.lk-bild .lk-zeit { position: absolute; left: 8px; bottom: 8px; margin: 0; max-width: calc(100% - 16px); padding: 4px 10px 4px 8px; border-radius: var(--r-pill); background: color-mix(in srgb, var(--sheet-card) 92%, transparent); box-shadow: 0 2px 8px rgba(13,14,11,.18); }
.lk-bild .lk-zeit[data-letzte-stunde] { padding: 4px 12px 4px 10px; background: var(--sheet-bad); }
.lk-text:last-child { padding-bottom: 14px; }
@media (min-width: 768px) { .lk-text:last-child { padding-bottom: 16px; } }
/* Langes Wort im Titel: am Handy eine Stufe kleiner, wie .lc-title-lang der App (erscheinung.css). */
@media (max-width: 767.98px) { .lk-titel-lang { font-size: var(--fs-body); } }
@media (max-width: 359.98px) { .lk-text { padding-inline: 10px; } .lk-zeit { margin-inline: 10px; max-width: calc(100% - 20px); } }
:root { --lk-ic-ort: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linejoin='round'%3E%3Cpath d='M12 21s7-6.2 7-11a7 7 0 1 0-14 0c0 4.8 7 11 7 11Z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E"); }
.lk .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (prefers-reduced-motion: reduce) { .lk, .lk:hover, .lk:active { transition: none; transform: none; } }
