/* ============================================================================
   assets/seiten/unterseite.css – die „Clubhaus-Mappe“: ein Aussehen für alle Lese-Seiten
   (Konzept docs/konzept-unterseiten-design-2026-11-10.md, Marc 10.11.2026).

   Drei Teile, in dieser Reihenfolge im Markup (Bausteine: includes/unterseite.php):
     .us-deckel    dunkelgrüner Seitenkopf mit Überschrift, Knöpfen und Lochskizze in Gold
     .us-register  Inhaltsverzeichnis – ab 1024 px klebt es links neben dem Blatt, darunter klappt es auf
     .us-blatt     das Papier mit dem Text; .us-tafel hebt das Wichtigste dunkel mit Goldrahmen heraus

   Tokens (--forest, --gold, --gold-ink, --kante, --licht, --papier …) kommen aus dem einen :root in
   style.css, auf diesen Seiten über includes/tokens.php. Kante und Licht der Karten sind dieselben Werte
   wie im Block „@karte“ von style.css; dort steht die Regel für die Startseite, hier die für die Lese-Seiten.

   ⚠ Alle eigenen Klassen beginnen mit „us-“. Die Klassen ohne Vorsilbe weiter unten (.schritte, .tipp,
      .material, .tabelle, .check, .cta …) stehen in den Seitentexten des Leitfadens (sechs Sprachen) und
      sind deshalb nur innerhalb von .us-blatt gestaltet.
   ⚠ Schriftgrößen von Bedienelementen nie unter 17 px (tools/lesbarkeitscheck.mjs, Zielgruppe 55+).
   ============================================================================ */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans, 'Inter', system-ui, sans-serif); background: var(--cream, #F8F4EC); color: var(--text, #0F1F16); -webkit-font-smoothing: antialiased; }
/* Der Grund kommt vom body: Creme mit den Hoehenlinien der Clubhaus-Schicht (Ende von assets/kopf.css) */
.us { display: block; font-size: 1.0625rem; }
.us :where(h1, h2, h3, p, ul, ol, figure) { margin: 0; padding: 0; }
/* Links: Gewicht bewusst niedrig (:where), damit eingebettete Bausteine mit eigener Linkfarbe sie behalten */
:where(.us) a { color: var(--green, #1B4332); text-underline-offset: 3px; text-decoration-thickness: 1px; }
:where(.us) a:where(:hover) { color: var(--gold-ink, #7A5E1E); }
.us :focus-visible { outline: 3px solid var(--gold, #C9A84C); outline-offset: 3px; border-radius: 6px; }
.us-icon { display: block; flex: 0 0 auto; }

/* ── 1. Deckel ─────────────────────────────────────────────────────────────── */
.us-deckel {
  position: relative; overflow: hidden; color: var(--white, #FDFAF5);
  background-color: var(--forest, #0F2D1E);
  /* Mähstreifen wie auf einem frisch gemähten Fairway, darüber das Licht von links oben */
  background-image:
    radial-gradient(90rem 34rem at 12% -10%, rgba(45,106,79,.42), transparent 62%),
    repeating-linear-gradient(112deg, rgba(255,255,255,.026) 0 46px, transparent 46px 92px),
    linear-gradient(180deg, var(--forest, #0F2D1E) 0%, #0b2317 70%, var(--midnight, #081510) 100%);
  padding: clamp(2.25rem, 5vw, 4rem) 1.25rem calc(clamp(2.25rem, 5vw, 3.5rem) + 76px);
}
.us-deckel::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(201,168,76,.55) 18%, rgba(201,168,76,.55) 82%, transparent); }
.us-deckel-in { position: relative; max-width: 1140px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 400px); gap: clamp(1.5rem, 5vw, 4.5rem); align-items: center; }
.us-deckel-text { position: relative; z-index: 1; min-width: 0; }
.us-eyebrow { display: flex; align-items: center; gap: .8rem; color: var(--gold-lt, #E4C87A); font-size: 1.0625rem; font-weight: 600; line-height: 1.4; margin-bottom: 1.1rem; }
.us-eyebrow::before { content: ""; flex: 0 0 30px; height: 1.5px; background: var(--gold, #C9A84C); }
.us-h1 { font-family: var(--serif, 'Cormorant Garamond', Georgia, serif); font-weight: 600; font-size: clamp(2.5rem, 5.6vw, 4.1rem); line-height: 1.04; letter-spacing: -.012em; color: var(--white, #FDFAF5); max-width: 17ch; text-wrap: balance; }
.us-lead { font-family: var(--serif, 'Cormorant Garamond', Georgia, serif); font-weight: 500; font-size: clamp(1.3rem, 2.2vw, 1.55rem); line-height: 1.45; color: rgba(253,250,245,.88); max-width: 36rem; margin-top: 1.25rem; text-wrap: pretty; }
.us-deckel .us-sprachhinweis { display: inline-block; font-size: 1.0625rem; line-height: 1.5; color: rgba(253,250,245,.8); border: 1px solid rgba(253,250,245,.22); border-radius: 10px; padding: .5rem .85rem; margin-bottom: 1.25rem; }
.us-knoepfe { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.9rem; }
.us-knopf { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 52px; padding: .75rem 1.4rem; border-radius: 12px; font: inherit; font-size: 1.0625rem; font-weight: 600; line-height: 1.25; text-decoration: none; cursor: pointer; transition: transform .12s ease, box-shadow .12s ease, border-color .15s ease, color .15s ease; }
.us a.us-knopf-gold, .us-knopf-gold { color: var(--forest, #0F2D1E); border: 0; background: linear-gradient(180deg, #EBD38D 0%, var(--gold, #C9A84C) 100%); box-shadow: 0 2px 0 #8f7426, 0 14px 26px -14px rgba(0,0,0,.7); }
.us a.us-knopf-gold:hover, .us-knopf-gold:hover { color: var(--forest, #0F2D1E); transform: translateY(-1px); box-shadow: 0 3px 0 #8f7426, 0 18px 30px -14px rgba(0,0,0,.75); }
.us-knopf-gold:active { transform: translateY(1px); box-shadow: 0 1px 0 #8f7426; }
.us a.us-knopf-leise, .us-knopf-leise { color: var(--white, #FDFAF5); background: rgba(255,255,255,.05); border: 1.5px solid rgba(253,250,245,.36); }
.us a.us-knopf-leise:hover, .us-knopf-leise:hover { color: var(--gold-lt, #E4C87A); border-color: var(--gold-lt, #E4C87A); }
.us-deckel-bild { display: flex; justify-content: center; }
.us-loch { display: block; width: 100%; max-width: 400px; height: auto; }
/* Flacher Deckel: Seiten mit Formular (Portal-Anmeldung) – das Formular soll ohne Scrollen im Bild sein */
.us-deckel-flach { padding-top: clamp(1.75rem, 3.5vw, 2.75rem); padding-bottom: calc(clamp(1.5rem, 3vw, 2.25rem) + 76px); }
.us-deckel-flach .us-loch { max-width: 230px; }
.us-deckel-flach .us-h1 { font-size: clamp(2.3rem, 4.6vw, 3.4rem); }

/* ── 2. Bühne: Register + Blatt ────────────────────────────────────────────── */
.us-buehne { position: relative; z-index: 1; max-width: 1140px; margin: -76px auto 0; padding: 0 1.25rem clamp(3rem, 7vw, 5.5rem); display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: clamp(1.5rem, 3.5vw, 3rem); align-items: start; }
.us-buehne-solo { grid-template-columns: minmax(0, 860px); justify-content: center; }

.us-register { position: sticky; top: 92px; margin-top: 112px; max-height: calc(100vh - 112px); overflow: auto; }
.us-register summary { list-style: none; cursor: default; pointer-events: none; }
.us-register summary::-webkit-details-marker { display: none; }
.us-register-label { display: block; font-size: 1.0625rem; font-weight: 700; color: var(--gold-ink, #7A5E1E); padding: 0 0 .7rem .95rem; }
.us-register :where(ul, ol) { list-style: none; margin: 0; padding: 0; border-left: 1.5px solid var(--fy-border, #e6e2d8); counter-reset: us-reg; }
.us-register li { margin: 0; }
.us-register li a { display: block; position: relative; margin-left: -1.5px; padding: .5rem .5rem .5rem .95rem; border-left: 3px solid transparent; font-size: 1.0625rem; line-height: 1.35; color: var(--muted, #52706A); text-decoration: none; text-wrap: balance; }
.us-register li a:hover { color: var(--green, #1B4332); border-left-color: rgba(201,168,76,.5); }
.us-register li a.us-hier { color: var(--green, #1B4332); font-weight: 650; border-left-color: var(--gold, #C9A84C); }
.us-register-nr li { counter-increment: us-reg; }
.us-register-nr li a::before { content: counter(us-reg) "\2002"; font-variant-numeric: tabular-nums; color: var(--gold-ink, #7A5E1E); font-weight: 600; }

.us-blatt { min-width: 0; background: #FFFDF9; border: 1px solid var(--kante, rgba(201,168,76,.35)); border-radius: 22px; box-shadow: var(--licht, 0 16px 36px -18px rgba(15,45,30,.26)); padding: clamp(1.35rem, 4.2vw, 3.25rem); }
.us-blatt > :first-child { margin-top: 0; padding-top: 0; border-top: 0; }

/* ── 3. Text auf dem Blatt ─────────────────────────────────────────────────── */
/* :where() hält das Gewicht dieser Grundregeln niedrig: eingebettete Bausteine mit eigenem CSS (Assistenten-Band,
   Schlägersatz-Hinweis) behalten ihre Farben und Abstände. */
.us-blatt :where(p, li) { font-size: 1.0625rem; line-height: 1.72; color: #25332C; }
.us-blatt :where(p) { margin-bottom: 1rem; max-width: 41rem; text-wrap: pretty; }
.us-blatt :where(p:last-child) { margin-bottom: 0; }
.us-blatt strong { font-weight: 650; color: var(--text, #0F1F16); }
.us-blatt section { padding-top: clamp(1.9rem, 4vw, 2.6rem); margin-top: clamp(1.9rem, 4vw, 2.6rem); border-top: 1px solid var(--fy-border-soft, #ede8dc); scroll-margin-top: 92px; }
.us-blatt h2 { font-family: var(--serif, 'Cormorant Garamond', Georgia, serif); font-weight: 600; font-size: clamp(1.75rem, 3.2vw, 2.2rem); line-height: 1.14; color: var(--green, #1B4332); margin-bottom: .9rem; text-wrap: balance; }
.us-blatt h3 { font-size: 1.125rem; font-weight: 700; line-height: 1.4; color: var(--text, #0F1F16); margin: 1.7rem 0 .55rem; }
@media (min-width: 768px) { .us-blatt :where(p, li) { font-size: 1.125rem; } }

/* Medaillon: Zeichen oder Nummer vor der Abschnittsüberschrift */
.us-med { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 48px; height: 48px; border-radius: 50%; color: var(--green, #1B4332); background: linear-gradient(180deg, #FFFEFA 0%, var(--gold-pale, #F5EDD6) 100%); border: 1px solid rgba(201,168,76,.6); box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(15,45,30,.10); }
.us-teil { position: relative; }
.us-teil > h2 { display: flex; align-items: center; gap: .9rem; }
@media (min-width: 768px) {
  .us-teil { padding-left: 70px; }
  .us-teil > h2 { display: block; min-height: 48px; padding-top: .28rem; }
  .us-teil > h2 > .us-med { position: absolute; left: 0; }
}

/* Leitfaden: die Abschnitte sind eine Reihenfolge, darum Nummern statt Zeichen */
.us-blatt-nr { counter-reset: us-abschnitt; }
.us-blatt-nr > section > h2 { counter-increment: us-abschnitt; display: flex; align-items: center; gap: .9rem; }
.us-blatt-nr > section > h2::before { content: counter(us-abschnitt); display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 48px; height: 48px; border-radius: 50%; font-family: var(--sans, 'Inter', system-ui, sans-serif); font-size: 1.25rem; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; color: var(--green, #1B4332); background: linear-gradient(180deg, #FFFEFA 0%, var(--gold-pale, #F5EDD6) 100%); border: 1px solid rgba(201,168,76,.6); box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(15,45,30,.10); }

/* ── 4. Tafel: das Wichtigste, dunkel mit doppeltem Goldrahmen ─────────────── */
.us-blatt .us-tafel { position: relative; margin-top: clamp(2rem, 4vw, 2.75rem); padding: clamp(1.6rem, 4vw, 2.6rem); border: 1px solid rgba(201,168,76,.4); border-radius: 18px; color: var(--white, #FDFAF5); scroll-margin-top: 92px;
  background-color: var(--forest, #0F2D1E);
  background-image: repeating-linear-gradient(112deg, rgba(255,255,255,.024) 0 40px, transparent 40px 80px), linear-gradient(170deg, #14392a 0%, var(--forest, #0F2D1E) 55%, #0a2116 100%);
  box-shadow: var(--licht-dunkel, 0 28px 64px -24px rgba(0,0,0,.55)); }
.us-blatt .us-tafel::before { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(201,168,76,.55); border-radius: 11px; pointer-events: none; }
.us-blatt .us-tafel > * { position: relative; }
.us-blatt .us-tafel h2 { color: var(--white, #FDFAF5); margin-bottom: .6rem; }
.us-blatt .us-tafel p, .us-blatt .us-tafel li { color: rgba(253,250,245,.92); }
.us-blatt .us-tafel a { color: var(--gold-lt, #E4C87A); }
.us-nie { list-style: none; }
.us-nie li { display: flex; gap: .95rem; align-items: flex-start; padding: .85rem 0; border-bottom: 1px solid rgba(253,250,245,.12); max-width: 44rem; }
.us-nie li:last-child { border-bottom: 0; padding-bottom: 0; }
.us-x { flex: 0 0 30px; height: 30px; margin-top: .1rem; border-radius: 50%; border: 1.5px solid var(--gold, #C9A84C); color: var(--gold-lt, #E4C87A); font-size: .95rem; font-weight: 700; line-height: 1; display: flex; align-items: center; justify-content: center; }

/* ── 5. Kacheln „Weiterlesen“ ──────────────────────────────────────────────── */
.us-kacheln { list-style: none; display: grid; grid-template-columns: 1fr; gap: .7rem; margin-top: .4rem; max-width: 34rem; }
.us-kacheln li { display: flex; }
.us .us-kacheln a { flex: 1; display: flex; align-items: center; gap: .8rem; min-height: 68px; padding: .8rem 1rem; border: 1px solid var(--kante, rgba(201,168,76,.35)); border-radius: 14px; background: var(--white, #FDFAF5); color: var(--green, #1B4332); font-size: 1.0625rem; font-weight: 600; line-height: 1.3; text-decoration: none; box-shadow: var(--fy-shadow-1, 0 6px 18px -10px rgba(15,45,30,.14)); transition: transform .12s ease, border-color .15s ease, box-shadow .15s ease; }
.us .us-kacheln a:hover { transform: translateY(-2px); border-color: var(--gold, #C9A84C); color: var(--green, #1B4332); box-shadow: var(--fy-shadow-2, 0 14px 32px -14px rgba(15,45,30,.22)); }
.us-kacheln .us-med { width: 40px; height: 40px; }
.us-kacheln .us-kachel-text { flex: 1; min-width: 0; }
.us-kacheln .us-kachel-pfeil { color: var(--gold-ink, #7A5E1E); }

/* ── 6. Bausteine des Leitfadens (Klassen aus den Seitentexten) ────────────── */
.us-blatt .liste { margin: .5rem 0 1rem 1.3rem; padding: 0; max-width: 40rem; }
.us-blatt .liste li { padding: .25rem 0; }
.us-blatt .liste li::marker { color: var(--gold-ink, #7A5E1E); }
/* Schritte als Spielbahn: Nummern, verbunden durch eine gepunktete Linie */
.us-blatt .schritte { list-style: none; margin: 1.1rem 0 1.3rem; max-width: 42rem; }
.us-blatt .schritte li { position: relative; display: flex; gap: 1rem; align-items: flex-start; padding: 0 0 1.25rem; }
.us-blatt .schritte li:last-child { padding-bottom: 0; }
.us-blatt .schritte li:not(:last-child)::before { content: ""; position: absolute; left: 19px; top: 44px; bottom: 4px; border-left: 2px dotted rgba(201,168,76,.75); }
.us-blatt .schritte .nr { flex: 0 0 40px; height: 40px; border-radius: 50%; background: var(--forest, #0F2D1E); color: var(--gold-lt, #E4C87A); border: 1.5px solid var(--gold, #C9A84C); font-weight: 700; font-size: 1.0625rem; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 4px #FFFDF9; position: relative; }
.us-blatt .schritte li > span:last-child { padding-top: .32rem; }
/* Hinweiskästen */
.us-blatt .tipp, .us-blatt .hinweis, .us-blatt .warnung { border-radius: 14px; padding: 1.1rem 1.3rem; margin: 1.3rem 0; max-width: 42rem; }
.us-blatt .tipp { background: #EEF5F0; border: 1px solid #d3e5da; border-left: 4px solid var(--green, #1B4332); }
.us-blatt .hinweis { background: var(--white, #FDFAF5); border: 1px solid var(--fy-border, #e6e2d8); border-left: 4px solid var(--gold, #C9A84C); }
.us-blatt .warnung { background: #FFF6E5; border: 1px solid #f0d9a6; border-left: 4px solid #b7791f; }
.us-blatt :is(.tipp, .hinweis, .warnung) p:last-child { margin-bottom: 0; }
/* Druckvorlagen als gerahmte Blätter */
.us-blatt .material { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.1rem; margin: 1.5rem 0; }
.us-blatt .material figure { background: var(--cream, #F8F4EC); background-image: var(--papier, none); border: 1px solid var(--kante, rgba(201,168,76,.35)); border-radius: 14px; padding: .9rem; }
.us-blatt .material img { display: block; width: 100%; max-width: 280px; height: auto; margin: 0 auto; border-radius: 4px; background: #fff; box-shadow: 0 1px 2px rgba(15,45,30,.10), 0 10px 22px -12px rgba(15,45,30,.35); }
.us-blatt .material figcaption { font-size: 1.0625rem; line-height: 1.55; color: #25332C; margin-top: .8rem; }
/* Tabelle */
.us-blatt .tabelle { overflow-x: auto; margin: 1.1rem 0 1.4rem; border: 1px solid var(--kante, rgba(201,168,76,.35)); border-radius: 14px; }
.us-blatt table { border-collapse: collapse; width: 100%; font-size: 1.0625rem; line-height: 1.5; }
.us-blatt th, .us-blatt td { text-align: left; vertical-align: top; padding: .8rem .95rem; border-bottom: 1px solid var(--fy-border-soft, #ede8dc); }
.us-blatt tr:last-child td { border-bottom: 0; }
.us-blatt th { background: var(--forest, #0F2D1E); color: var(--gold-lt, #E4C87A); font-weight: 600; }
.us-blatt tbody tr:nth-child(even) td { background: #FBF8F1; }
.us-blatt td:first-child { font-weight: 650; color: var(--green, #1B4332); }
@media (max-width: 640px) {
  .us-blatt .tabelle { border: 0; border-radius: 0; overflow: visible; }
  .us-blatt table, .us-blatt thead, .us-blatt tbody, .us-blatt tr, .us-blatt th, .us-blatt td { display: block; }
  .us-blatt thead { display: none; }
  .us-blatt tr { border: 1px solid var(--kante, rgba(201,168,76,.35)); border-radius: 12px; margin-bottom: .8rem; padding: .45rem .2rem; background: var(--white, #FDFAF5); }
  .us-blatt td, .us-blatt tbody tr:nth-child(even) td { border: 0; padding: .3rem .8rem; background: transparent; }
}
/* Häufige Fragen */
.us-blatt details { border: 1px solid var(--fy-border, #e6e2d8); border-radius: 14px; margin: .7rem 0; background: var(--white, #FDFAF5); max-width: 44rem; transition: border-color .15s ease; }
.us-blatt details[open] { border-color: rgba(201,168,76,.7); box-shadow: var(--fy-shadow-1, 0 6px 18px -10px rgba(15,45,30,.14)); }
.us-blatt summary { position: relative; cursor: pointer; list-style: none; font-weight: 600; font-size: 1.0625rem; line-height: 1.45; color: var(--text, #0F1F16); padding: 1rem 3.6rem 1rem 1.2rem; min-height: 56px; display: flex; align-items: center; }
.us-blatt summary::-webkit-details-marker { display: none; }
.us-blatt summary::after { content: "+"; position: absolute; right: 1rem; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; border: 1.5px solid var(--gold, #C9A84C); color: var(--gold-ink, #7A5E1E); font-size: 1.25rem; font-weight: 500; line-height: 1; display: flex; align-items: center; justify-content: center; }
.us-blatt details[open] summary::after { content: "\2212"; background: var(--gold-pale, #F5EDD6); }
.us-blatt details p { padding: 0 1.2rem; margin: 0 0 1.1rem; }
/* Checkliste zum Abhaken (wird gedruckt, darum Kästchen statt Schalter) */
.us-blatt .check { list-style: none; margin: 1rem 0 0; max-width: 42rem; }
.us-blatt .check li { display: flex; gap: .9rem; align-items: flex-start; padding: .7rem 0; border-bottom: 1px dashed var(--fy-border, #e6e2d8); line-height: 1.5; }
.us-blatt .check li:last-child { border-bottom: 0; }
.us-blatt .check .box { flex: 0 0 1.4rem; height: 1.4rem; margin-top: .12rem; border: 2px solid var(--green, #1B4332); border-radius: 5px; background: #fff; }
/* Schluss des Leitfadens: Tafel mit den nächsten Wegen */
.us-blatt .cta { position: relative; text-align: center; margin-top: clamp(2rem, 4vw, 2.75rem); padding: clamp(1.7rem, 4vw, 2.6rem) clamp(1.2rem, 3vw, 2rem); border: 1px solid rgba(201,168,76,.4); border-radius: 18px;
  background-color: var(--forest, #0F2D1E);
  background-image: repeating-linear-gradient(112deg, rgba(255,255,255,.024) 0 40px, transparent 40px 80px), linear-gradient(170deg, #14392a 0%, var(--forest, #0F2D1E) 55%, #0a2116 100%);
  box-shadow: var(--licht-dunkel, 0 28px 64px -24px rgba(0,0,0,.55)); }
.us-blatt .cta::before { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(201,168,76,.55); border-radius: 11px; pointer-events: none; }
.us-blatt .cta > * { position: relative; }
.us-blatt .cta h2 { color: var(--white, #FDFAF5); margin-bottom: 1.2rem; }
.us .us-blatt .cta a { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; margin: .3rem; padding: .75rem 1.35rem; border-radius: 12px; font-size: 1.0625rem; font-weight: 600; line-height: 1.25; text-decoration: none; color: var(--forest, #0F2D1E); background: linear-gradient(180deg, #EBD38D 0%, var(--gold, #C9A84C) 100%); box-shadow: 0 2px 0 #8f7426; }
.us .us-blatt .cta a.leise { color: var(--white, #FDFAF5); background: rgba(255,255,255,.05); border: 1.5px solid rgba(253,250,245,.36); box-shadow: none; }
.us .us-blatt .cta a.leise:hover { color: var(--gold-lt, #E4C87A); border-color: var(--gold-lt, #E4C87A); }
@media (max-width: 30rem) { .us .us-blatt .cta a { display: flex; margin: .5rem 0; } }
.us-nach-blatt { margin-top: 1.5rem; }
/* Band des Assistenten oben auf dem Blatt (Leitfaden): der erste Abschnitt danach braucht keine Trennlinie */
.us-blatt .us-band + section { border-top: 0; padding-top: 0; margin-top: clamp(1.5rem, 3vw, 2.1rem); }

/* ── 7. Schmale Fenster ────────────────────────────────────────────────────── */
@media (max-width: 1023px) {
  .us-deckel { padding-bottom: calc(clamp(2rem, 5vw, 3rem) + 60px); }
  .us-deckel-in { display: block; }
  .us-deckel-bild { position: absolute; right: -8px; top: -4px; width: 250px; opacity: .42; pointer-events: none; }
  .us-buehne { display: block; margin-top: -60px; }
  .us-register { position: static; margin: 0 0 .9rem; max-height: none; overflow: visible; background: #FFFDF9; border: 1px solid var(--kante, rgba(201,168,76,.35)); border-radius: 16px; box-shadow: var(--licht, 0 16px 36px -18px rgba(15,45,30,.26)); }
  .us-register summary { position: relative; cursor: pointer; pointer-events: auto; min-height: 56px; display: flex; align-items: center; padding: .6rem 3.4rem .6rem 1.2rem; }
  .us-register summary::after { content: ""; position: absolute; right: 1.35rem; top: 50%; width: 10px; height: 10px; margin-top: -8px; border-right: 2px solid var(--gold-ink, #7A5E1E); border-bottom: 2px solid var(--gold-ink, #7A5E1E); transform: rotate(45deg); transition: transform .15s ease; }
  .us-register details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
  .us-register-label { padding: 0; color: var(--green, #1B4332); }
  .us-register :where(ul, ol) { border-left: 0; border-top: 1px solid var(--fy-border-soft, #ede8dc); padding: .35rem 0 .5rem; }
  .us-register li a { margin: 0; padding: .7rem 1.2rem; border-left: 0; color: var(--green, #1B4332); min-height: 48px; display: flex; align-items: center; }
  .us-register li a.us-hier { font-weight: 600; }
}
@media (max-width: 560px) {
  .us-deckel { padding-left: 1rem; padding-right: 1rem; }
  .us-deckel-bild { width: 190px; right: -10px; top: 4px; opacity: .4; }
  .us-buehne { padding-left: .75rem; padding-right: .75rem; }
  .us-blatt { border-radius: 16px; }
  .us-knoepfe { flex-direction: column; }
  .us-knopf { width: 100%; }
}

/* ── 8. Bewegung und Druck ─────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .us *, .us *::before, .us *::after { transition: none !important; }
}
@media print {
  .fk, .fk-fuss, .fk-leiste, .us-register, .us-knoepfe, .us-deckel-bild, .us-band, .us-nach-blatt, .us-blatt .cta, #fygc-help, #fygcLeiste, [id^="hlpw-"] { display: none !important; }
  body, .us { background: #fff; font-size: 12pt; }
  .us-deckel { background: #fff; color: #000; padding: 0 0 1rem; }
  .us-deckel::after { display: none; }
  .us-h1, .us-lead, .us-eyebrow { color: #000; }
  .us-buehne { display: block; margin: 0; padding: 0; max-width: none; }
  .us-blatt { border: 0; box-shadow: none; padding: 0; background: #fff; }
  .us-blatt .us-tafel { background: #fff; color: #000; box-shadow: none; }
  .us-blatt .us-tafel h2, .us-blatt .us-tafel p, .us-blatt .us-tafel li { color: #000; }
  .us-blatt details { border: 0; }
  .us-blatt details > *:not(summary) { display: block; }
  .us-blatt summary::after { display: none; }
  .us-blatt section { break-inside: auto; }
  .us-blatt .material figure, .us-blatt .schritte li, .us-blatt .check li, .us-blatt tr { break-inside: avoid; }
}
