/* Box & Block · Design-System „Werkbank“. Tokens zuerst, dann Bausteine. Eine Akzentfarbe (Messing); Grün gehört der Figur und dem
   hervorgehobenen Wort, wie in den Reels. Kein Verlauf als Fläche, keine Karten-Raster, keine Standard-Schatten. */
@font-face { font-family: "Jost"; src: url("/assets/fonts/jost-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/assets/fonts/JetBrainsMono-400-latin.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+2010-2027; }
@font-face { font-family: "JetBrains Mono"; src: url("/assets/fonts/JetBrainsMono-400-latin-ext.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0100-024F; }
@font-face { font-family: "JetBrains Mono"; src: url("/assets/fonts/JetBrainsMono-700-latin.woff2") format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0000-00FF, U+2010-2027; }
@font-face { font-family: "JetBrains Mono"; src: url("/assets/fonts/JetBrainsMono-700-latin-ext.woff2") format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0100-024F; }

:root {
  --holz-950: #1f140e;
  --holz-900: #2a1b13;
  --holz-800: #3a2719;
  --holz-600: #6b4a30;
  --papier: #f5ecdd;
  --papier-2: #e9dbc4;
  --tinte: #27180f;
  --tinte-2: #5a4433;
  --kreide: #f8f2e7;
  --kreide-2: #d3c2ad;
  --messing: #e0b84f;
  --messing-tief: #a07a24;
  --moos: #14664b;
  --moos-tief: #0b4633;
  --schrift: "Jost", "Century Gothic", "Futura", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --rand: clamp(16px, 4.5vw, 64px);
  --text: 42rem;
  --r: 8px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: rgba(224, 184, 79, .25); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--holz-950); color: var(--kreide); font-family: var(--schrift); font-size: 1.125rem; line-height: 1.55; overflow-x: clip; }
body::before { content: ""; position: fixed; inset: 0; background: url("/assets/korn.svg"); opacity: .09; pointer-events: none; z-index: 50; mix-blend-mode: overlay; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--messing); outline-offset: 2px; border-radius: 3px; }
.auf-papier :focus-visible, .zettel :focus-visible { outline-color: var(--messing-tief); }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.012em; text-wrap: balance; margin: 0; }
h2 { font-size: clamp(2rem, 5.4vw, 3.25rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0; text-wrap: pretty; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sprunglink { position: absolute; left: 8px; top: -60px; background: var(--messing); color: var(--tinte); padding: 10px 14px; border-radius: var(--r); z-index: 60; }
.sprunglink:focus { top: 8px; }
.mono { font-family: var(--mono); font-size: .8rem; letter-spacing: .04em; }
.kicker { font-family: var(--mono); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--messing); }
.auf-papier .kicker { color: var(--moos); }

/* Wort-Chip: der Untertitel-Baustein aus den Reels */
.chip { display: inline-block; padding: .06em .3em .1em; border-radius: .18em; background: var(--messing); color: var(--tinte); font-weight: 800; line-height: 1.04; border: 1.5px solid rgba(255, 248, 225, .55); box-shadow: 0 .07em 0 var(--messing-tief); transform: rotate(var(--kipp, 0deg)); }
.chip-gruen { background: var(--moos); color: #fff; box-shadow: 0 .07em 0 var(--moos-tief); }
.chips { display: flex; flex-wrap: wrap; gap: .14em .14em; font-size: clamp(1.9rem, 9vw, 5.4rem); }
.chips .chip:nth-child(3n+1) { --kipp: -1.2deg; }
.chips .chip:nth-child(3n+2) { --kipp: .8deg; }
.chips .chip:nth-child(3n) { --kipp: -.4deg; }
.chips .umbruch { flex-basis: 100%; height: 0; }
.chip-klein { font-size: .95rem; font-family: var(--mono); font-weight: 700; letter-spacing: .03em; padding: .14em .5em .18em; border-radius: 5px; box-shadow: 0 2px 0 var(--messing-tief); }
.chip-klein.chip-gruen { box-shadow: 0 2px 0 var(--moos-tief); }
@media (prefers-reduced-motion: no-preference) {
  .held .chips .chip { animation: plopp .42s cubic-bezier(.2, 1.3, .4, 1) both; animation-delay: 120ms; }
  .held .chips .chip:nth-child(2) { animation-delay: 210ms; }
  .held .chips .chip:nth-child(3) { animation-delay: 255ms; }
  .held .chips .chip:nth-child(4) { animation-delay: 300ms; }
  .held .chips .chip:nth-child(5) { animation-delay: 345ms; }
  .held .chips .chip:nth-child(6) { animation-delay: 390ms; }
  .held .chips .chip:nth-child(7) { animation-delay: 435ms; }
  .held .chips .chip:nth-child(8) { animation-delay: 480ms; }
  .held .chips .chip:nth-child(9) { animation-delay: 525ms; }
  .held .chips .chip:nth-child(10) { animation-delay: 570ms; }
  .held .chips .chip:nth-child(11) { animation-delay: 615ms; }
  .held .chips .chip:nth-child(12) { animation-delay: 660ms; }
  .held .chips .chip:nth-child(13) { animation-delay: 705ms; }
  @keyframes plopp { from { opacity: 0; transform: translateY(.3em) scale(.92) rotate(var(--kipp, 0deg)); } to { opacity: 1; transform: rotate(var(--kipp, 0deg)); } }
}

/* Kopf und Fuß */
.kopf { position: absolute; top: 0; left: 0; right: 0; z-index: 10; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px var(--rand); }
.kopf-marke { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; text-decoration: none; min-height: 44px; color: var(--kreide); }
.kopf-marke img { width: 30px; height: 30px; }
.kopf nav { display: flex; gap: 6px; align-items: center; }
.kopf nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; font-size: 1rem; font-weight: 500; text-decoration: none; color: var(--kreide); }
.kopf nav a:hover { text-decoration: underline; }
/* Drei Links im Kopf (Sprachwechsel EN/DE/ES, 29.11.): unter 360 px enger, sonst 2–7 px Überlauf bei 320 px */
@media (max-width: 359px) { .kopf nav a { padding: 0 7px; } }
.kopf-fest { position: static; background: var(--holz-950); }
.fuss { background: var(--holz-950); padding: 56px var(--rand) 40px; color: var(--kreide-2); font-size: 1rem; border-top: 1px solid var(--holz-800); }
.fuss-innen { display: grid; gap: 26px; max-width: 84rem; margin: 0 auto; }
.fuss .kopf-marke { color: var(--kreide); }
.fuss nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.fuss nav a { display: inline-flex; align-items: center; min-height: 44px; }
.fuss-klein { font-size: .9rem; max-width: 46rem; }
@media (min-width: 900px) { .fuss-innen { grid-template-columns: 1.3fr 1fr; align-items: start; } }

/* Held: Figur in ihrer Welt, Text und Chips darüber wie im Reel */
.held { position: relative; }
.held-bild { position: relative; height: min(50svh, 440px); overflow: hidden; }
.held-bild img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 74%; }
.held-bild::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 34%; background: linear-gradient(to bottom, rgba(31, 20, 14, 0), var(--holz-950)); }
.held-kopfschatten::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 90px; background: linear-gradient(to bottom, rgba(31, 20, 14, .72), rgba(31, 20, 14, 0)); z-index: 1; }
.held-text { position: relative; padding: 0 var(--rand) 36px; margin-top: -84px; z-index: 2; }
.held-unter { margin-top: 14px; font-size: 1.12rem; line-height: 1.42; max-width: 34rem; color: var(--kreide); }
@media (min-width: 900px) {
  .held { display: grid; grid-template-columns: minmax(0, 47fr) minmax(0, 53fr); min-height: min(100vh, 860px); }
  .held-text { grid-column: 1; grid-row: 1; align-self: center; margin: 0; padding: 104px 0 60px var(--rand); }
  .held-bild { grid-column: 2; grid-row: 1; height: auto; }
  .held-bild img { position: absolute; inset: 0; object-position: 50% 78%; }
  .held-bild::after { top: 0; bottom: 0; right: auto; width: 34%; height: auto; background: linear-gradient(to right, var(--holz-950), rgba(31, 20, 14, 0)); }
  .chips { font-size: clamp(3.2rem, 5.2vw, 5.1rem); margin-right: -4vw; position: relative; z-index: 3; }
  .held-unter { margin-top: 20px; font-size: 1.2rem; line-height: 1.55; }
  .wort { margin-top: 28px; }
  .knopf { padding: 0 22px; }
}

/* Wort-Eingabe */
.wort { margin-top: 18px; max-width: 30rem; }
.wort label { display: block; font-weight: 700; font-size: 1.15rem; margin-bottom: 8px; }
.wort-zeile { display: flex; gap: 8px; }
.wort input { flex: 1; min-width: 0; height: 56px; padding: 0 14px; border-radius: var(--r); border: 2px solid var(--messing); background: var(--holz-900); color: var(--kreide); font-family: var(--mono); font-size: 1.05rem; text-transform: uppercase; letter-spacing: .05em; }
.wort input::placeholder { color: var(--kreide-2); opacity: .75; }
.wort-meldung { margin-top: 12px; color: var(--kreide); }
.wort-mehr { margin-top: 10px; font-size: 1rem; color: var(--kreide-2); }

.knopf { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 18px; border: 0; border-radius: var(--r); background: var(--messing); color: var(--tinte); font: 800 1.08rem var(--schrift); cursor: pointer; text-decoration: none; box-shadow: 0 3px 0 var(--messing-tief); touch-action: manipulation; }
.knopf:hover { background: #ecc765; }
.knopf:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--messing-tief); }

/* Hut-Leiste */
.hutleiste { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-left: var(--rand); padding: 8px var(--rand) 30px; scrollbar-width: thin; scrollbar-color: var(--holz-600) transparent; }
.hut { flex: 0 0 auto; width: clamp(128px, 15vw, 188px); scroll-snap-align: start; text-decoration: none; }
.hut img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r); transition: transform .18s ease; }
.hut:hover img { transform: translateY(-3px) rotate(-1deg); }
@media (prefers-reduced-motion: reduce) { .hut img { transition: none; } .hut:hover img { transform: none; } }
.hut span { display: block; margin-top: 8px; font-family: var(--mono); font-size: .78rem; letter-spacing: .04em; color: var(--kreide-2); }

/* Abschnitte */
.band { padding: clamp(52px, 8vw, 104px) var(--rand); }
.innen { max-width: 84rem; margin: 0 auto; }
.auf-papier { background: var(--papier); color: var(--tinte); }
.auf-papier a { color: var(--tinte); }
.auf-holz { background: var(--holz-900); }
.schritte { list-style: none; margin: 34px 0 0; padding: 0; counter-reset: s; max-width: 52rem; }
.schritte li { counter-increment: s; display: grid; grid-template-columns: 2.6rem 1fr; gap: 2px 14px; padding: 22px 0; border-top: 1px solid var(--holz-600); }
.schritte li::before { content: counter(s); grid-row: 1 / span 2; font-family: var(--mono); font-weight: 700; color: var(--messing); font-size: 1.15rem; line-height: 1.5; }
.schritte h3 { font-size: 1.45rem; }
.schritte p { margin-top: 6px; color: var(--kreide-2); }

/* Regal: Guide-Zeilen, bewusst Liste statt Karten-Raster */
.regal { list-style: none; margin: 30px 0 0; padding: 0; }
.regal li { border-top: 1px solid rgba(39, 24, 15, .22); }
.regal li:last-child { border-bottom: 1px solid rgba(39, 24, 15, .22); }
.zeile { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 14px; padding: 14px 0; text-decoration: none; align-items: start; }
.zeile img, .zeile-leer { width: 84px; height: 84px; border-radius: var(--r); object-fit: cover; }
.zeile-leer { display: flex; align-items: center; justify-content: center; background: var(--papier-2); }
.zeile-leer img { width: 40px; height: 40px; border-radius: 0; }
.zeile-titel { display: block; margin-top: 6px; font-size: 1.22rem; font-weight: 700; line-height: 1.18; }
.zeile:hover .zeile-titel { text-decoration: underline; text-underline-offset: .16em; }
.zeile-thema { display: block; margin-top: 4px; font-size: 1.02rem; line-height: 1.38; color: var(--tinte-2); }
.zeile-hut { display: none; }
.regal-mehr { margin-top: 26px; }
.knopf-tinte { background: var(--tinte); color: var(--kreide); box-shadow: 0 3px 0 #000; }
.knopf-tinte:hover { background: var(--holz-800); }
.auf-papier a.knopf-tinte { color: var(--kreide); }
@media (min-width: 720px) {
  .zeile { grid-template-columns: 120px minmax(0, 1.5fr) minmax(0, 1fr); gap: 22px; align-items: center; }
  .zeile img, .zeile-leer { width: 120px; height: 120px; }
  .zeile-hut { display: block; font-family: var(--mono); font-size: .8rem; color: var(--tinte-2); text-align: right; }
}
.suche { margin-top: 26px; max-width: 30rem; }
.suche label { display: block; font-weight: 700; margin-bottom: 8px; }
.suche input { width: 100%; height: 54px; padding: 0 14px; font: 500 1.08rem var(--schrift); color: var(--tinte); background: #fffaf0; border: 2px solid var(--tinte); border-radius: var(--r); }
.hinweis-band { margin-top: 18px; padding: 12px 14px; background: var(--papier-2); border-left: 4px solid var(--moos); max-width: 40rem; }
.leer { margin-top: 24px; font-size: 1.15rem; }

/* Block */
.block-teil { display: grid; gap: 28px; align-items: center; }
.block-teil img { border-radius: var(--r); width: 100%; max-width: 420px; aspect-ratio: 1; object-fit: cover; }
.block-teil p { margin-top: 14px; color: var(--kreide-2); max-width: 36rem; }
.block-teil h3 { margin-top: 30px; }
@media (min-width: 820px) { .block-teil { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 56px; } }

/* Anmeldung: ein Abriss-Zettel */
.zettel { background: var(--papier); color: var(--tinte); border-radius: var(--r); padding: 26px 20px 28px; max-width: 34rem; position: relative; }
.zettel a { color: var(--tinte); }
.zettel::before { content: ""; position: absolute; left: 12px; right: 12px; top: 12px; border-top: 2px dashed rgba(39, 24, 15, .28); }
.zettel .kicker { color: var(--moos); margin-top: 8px; }
.zettel h2, .zettel h3 { margin-top: 16px; }
.zettel h2 { font-size: clamp(1.9rem, 5vw, 2.6rem); }
.zettel-lead { margin-top: 10px; }
.feld { margin-top: 16px; }
.feld > label { display: block; font-weight: 700; margin-bottom: 6px; }
.feld input[type=text], .feld input[type=email] { width: 100%; height: 54px; padding: 0 14px; font: 500 1.08rem var(--schrift); color: var(--tinte); background: #fffaf0; border: 2px solid var(--tinte); border-radius: var(--r); }
.feld input[aria-invalid=true] { border-color: #a0261b; }
.feld-check { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; }
.feld-check input { width: 24px; height: 24px; margin: 2px 0 0; accent-color: var(--moos); }
.feld-check label { font-weight: 400; font-size: 1rem; line-height: 1.4; margin: 0; }
.feld-hinweis { margin-top: 6px; font-size: .95rem; line-height: 1.35; color: var(--tinte); opacity: .75; }
.feld-fehler { display: none; margin-top: 6px; color: #8f1d13; font-size: .98rem; font-weight: 600; grid-column: 2; }
.feld.fehler .feld-fehler { display: block; }
.hp { position: absolute; left: -9999px; height: 1px; overflow: hidden; }
.zettel .knopf { width: 100%; margin-top: 18px; background: var(--moos); color: #fff; box-shadow: 0 3px 0 var(--moos-tief); }
.zettel .knopf:hover { background: #1a7a5a; }
.klein { margin-top: 12px; font-size: .95rem; color: var(--tinte-2); }
.netzfehler { margin-top: 12px; color: #8f1d13; font-weight: 600; }
.erfolg { display: none; }
.zettel.fertig form { display: none; }
.zettel.fertig .erfolg { display: block; }

/* Guide */
.guide-kopf { position: relative; }
.guide-kopf-bild { position: relative; height: min(58svh, 460px); overflow: hidden; }
.guide-kopf-bild img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; }
.f52 img { object-position: 50% 52%; }
.f54 img { object-position: 50% 54%; }
.f66 img { object-position: 50% 66%; }
.f68 img { object-position: 50% 68%; }
.f72 img { object-position: 50% 72%; }
.f74 img { object-position: 50% 74%; }
.f78 img { object-position: 50% 78%; }
.f82 img { object-position: 50% 82%; }
.guide-kopf-bild::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40%; background: linear-gradient(to bottom, rgba(31, 20, 14, 0), var(--holz-950)); }
.guide-kopf-text { position: relative; z-index: 2; padding: 0 var(--rand) 36px; margin-top: -64px; max-width: calc(var(--text) + 2 * var(--rand)); }
.guide-kopf-ohne { padding-top: 96px; }
.guide-kopf-ohne .guide-kopf-text { margin-top: 0; }
.guide-kopf h1 { margin-top: 16px; font-size: clamp(2.3rem, 7.4vw, 4rem); font-weight: 800; }
.guide-unter { margin-top: 14px; font-size: 1.22rem; color: var(--kreide); }
.guide-hut { margin-top: 14px; font-family: var(--mono); font-size: .82rem; color: var(--kreide-2); }
.guide-auftakt { margin-top: 14px; font-style: italic; color: var(--kreide); }
@media (min-width: 900px) {
  .guide-kopf-mit { display: grid; grid-template-columns: minmax(0, 54fr) minmax(0, 46fr); min-height: 620px; }
  .guide-kopf-mit .guide-kopf-text { grid-column: 1; grid-row: 1; align-self: center; margin: 0; padding: 104px 40px 56px var(--rand); max-width: none; }
  .guide-kopf-mit .guide-kopf-bild { grid-column: 2; grid-row: 1; height: auto; }
  .guide-kopf-mit .guide-kopf-bild img { position: absolute; inset: 0; }
  .guide-kopf-mit .guide-kopf-bild::after { top: 0; bottom: 0; right: auto; width: 30%; height: auto; background: linear-gradient(to right, var(--holz-950), rgba(31, 20, 14, 0)); }
}
.guide-text { padding: clamp(36px, 6vw, 72px) var(--rand) clamp(44px, 7vw, 88px); }
.guide-text-innen { max-width: var(--text); margin: 0 auto; }
.guide-text h2 { font-size: clamp(1.7rem, 4.6vw, 2.4rem); margin-top: 2em; scroll-margin-top: 20px; }
.guide-text h2:first-child { margin-top: 0; }
.guide-text h3 { margin-top: 1.7em; scroll-margin-top: 20px; }
.guide-text p { margin-top: 1em; }
.guide-text ul, .guide-text ol { margin: 1em 0 0; padding-left: 1.3em; }
.guide-text li { margin-top: .5em; }
.guide-text li::marker { color: var(--moos); font-weight: 700; }
.guide-text code { font-family: var(--mono); font-size: .86em; background: var(--papier-2); padding: .08em .3em; border-radius: 4px; overflow-wrap: anywhere; }
.guide-text a { overflow-wrap: anywhere; }
.guide-text table { display: block; overflow-x: auto; border-collapse: collapse; margin-top: 1.2em; font-size: 1rem; }
.guide-text th, .guide-text td { border: 1px solid rgba(39, 24, 15, .25); padding: 8px 10px; text-align: left; vertical-align: top; }
.sprung { margin-top: 1.4em; }
.sprung .knopf { min-height: 48px; background: var(--tinte); color: var(--kreide); box-shadow: 0 3px 0 #000; font-size: 1rem; text-decoration: none; }
.schritt-nr { font-family: var(--mono); font-size: .72em; font-weight: 700; color: var(--moos); letter-spacing: .02em; }
.vorlage-kasten { margin-top: 1.1em; background: var(--holz-900); color: var(--kreide); border-radius: var(--r); overflow: hidden; }
.vorlage-kopf { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 8px 8px 14px; background: var(--holz-800); }
.vorlage-titel { margin: 0 !important; font-family: var(--mono); font-size: .8rem; letter-spacing: .02em; }
.kopier-knopf { min-height: 44px; min-width: 76px; padding: 0 14px; border: 0; border-radius: 6px; background: var(--messing); color: var(--tinte); font: 800 .98rem var(--schrift); cursor: pointer; touch-action: manipulation; }
.kopier-knopf:hover { background: #ecc765; }
.vorlage { margin: 0; padding: 14px; font-family: var(--mono); font-size: .86rem; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }
.kopier-hinweis { margin: 0 !important; padding: 0 14px; font-size: .9rem; color: var(--kreide-2); }
.kopier-hinweis:empty { display: none; }
.guide-ende { padding: clamp(44px, 7vw, 88px) var(--rand); background: var(--holz-900); }
.guide-ende-innen { display: grid; gap: 36px; max-width: 84rem; margin: 0 auto; }
.guide-ende .regal li { border-color: var(--holz-600); }
.guide-ende .zeile-thema, .guide-ende .zeile-hut { color: var(--kreide-2); }
.guide-ende .zeile-leer { background: var(--holz-800); }
@media (min-width: 900px) { .guide-ende-innen { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; } .guide-ende .zeile { grid-template-columns: 96px minmax(0, 1fr); } .guide-ende .zeile img, .guide-ende .zeile-leer { width: 96px; height: 96px; } .guide-ende .zeile-hut { display: none; } }

/* Abfrage vor dem Guide: eigene Seite ohne Guide-Text (netlify/functions/guide.mjs liefert sie ohne Zugangs-Cookie) */
.tor { display: block; padding: 0 var(--rand) clamp(44px, 7vw, 72px); }
article:has(> .tor-allein) .guide-auftakt, article:has(> .tor-allein) .guide-hut { display: none; }
@media (max-width: 899px) { article:has(> .tor-allein) .guide-kopf-bild { height: 30svh; } article:has(> .tor-allein) .guide-kopf-text { padding-bottom: 20px; margin-top: -48px; } }
.tor .zettel { margin: 0; }
.frisch-hinweis { border: 2px solid var(--holz-600); border-radius: 10px; padding: 14px 16px; margin: 0 0 28px; }
.frisch-hinweis p { margin: 0 0 6px; }
.frisch-hinweis[hidden] { display: none; }
@media (min-width: 900px) { .tor { padding-left: var(--rand); } }

/* Pflichtseiten: nüchtern, Witz nur drumherum */
.recht { padding: clamp(36px, 6vw, 64px) var(--rand) clamp(52px, 8vw, 96px); }
.recht-innen { max-width: var(--text); margin: 0 auto; }
.recht h1 { font-size: clamp(2.2rem, 6.4vw, 3.4rem); font-weight: 800; }
.recht h2 { font-size: 1.45rem; font-weight: 700; margin-top: 1.9em; }
.recht p, .recht ul { margin-top: .85em; }
.recht ul { padding-left: 1.3em; }
.recht li { margin-top: .4em; }
.recht a { overflow-wrap: anywhere; }
.muted { color: var(--tinte-2); }
.recht-kopf { padding: 92px var(--rand) 24px; }
.recht-kopf .innen { max-width: var(--text); }
.klappe { color: var(--kreide-2); }

/* Kleine Seiten: Danke, Bestätigt, 404 */
.knapp { display: grid; min-height: 100svh; }
.knapp-bild { position: relative; height: 52svh; overflow: hidden; }
.knapp-bild img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 74%; }
.knapp-bild::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40%; background: linear-gradient(to bottom, rgba(31, 20, 14, 0), var(--holz-950)); }
.knapp-text { position: relative; z-index: 2; padding: 0 var(--rand) 56px; margin-top: -72px; max-width: 42rem; }
.knapp-text p { margin-top: 18px; }
.knapp-text .knopf { margin-top: 24px; }
@media (min-width: 900px) {
  .knapp { grid-template-columns: 1fr 1fr; min-height: 720px; }
  .knapp-text { grid-column: 1; grid-row: 1; align-self: center; margin: 0; padding: 96px 0 56px var(--rand); }
  .knapp-bild { grid-column: 2; grid-row: 1; height: auto; }
  .knapp-bild img { position: absolute; inset: 0; }
  .knapp-bild::after { top: 0; bottom: 0; right: auto; width: 30%; height: auto; background: linear-gradient(to right, var(--holz-950), rgba(31, 20, 14, 0)); }
}

/* Abstände als Klassen: Die Content-Security-Policy erlaubt keine style-Attribute */
.h1-abstand { margin-top: 12px; }
.h2-abstand { margin-top: 8px; }
.band-oben { padding-top: 36px; }
.regal-unter { margin-top: 18px; font-size: 1.2rem; }
.h-klein { font-size: 1.6rem; }
.abstand-oben { margin-top: 2em; }
