/* Hausgemacht. Adventskalender 2026
   NAB-Marke (brand-nab.md): dark-first, Radius 0, Bebas Neue, DM Sans, Gelb für Knöpfe und Akzente.
   Dazu aus der Bildwelt des Kalenders: Lebkuchen, Zuckerguss-Creme, Kerzenlicht. Rot nur für Fehler. */

@font-face { font-family: "Bebas Neue"; src: url("/assets/fonts/bebas-neue-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("/assets/fonts/dm-sans-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("/assets/fonts/dm-sans-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("/assets/fonts/dm-sans-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --anthrazit: #2D2D2D;
  --anthrazit-2: #3A3A3A;
  --anthrazit-3: #242424;
  --nacht: #1E1B18;
  --weiss: #FFFFFF;
  --grau: #B8B2AA;
  --gelb: #F5C400;
  --orange: #E8820C;
  --lebkuchen: #B5713A;
  --lebkuchen-dunkel: #8A5228;
  --lebkuchen-seite: #9C5E2E;
  --creme: #F6EBD9;
  --rot: #E02020;
  --breite: 1160px;
}

* { box-sizing: border-box; border-radius: 0; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--anthrazit);
  color: var(--weiss);
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 1.125rem;
  line-height: 1.65;
  border-top: 4px solid var(--gelb);
  overflow-x: hidden;
}
a { color: var(--creme); text-underline-offset: 3px; }
a:hover { color: var(--gelb); }
:focus-visible { outline: 3px solid var(--gelb); outline-offset: 3px; }
img { max-width: 100%; }

h1, h2, .marke, .nr {
  font-family: "Bebas Neue", Impact, sans-serif;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1;
}
h2 { font-size: clamp(2.4rem, 5.6vw, 3.6rem); margin: 0.1em 0 0.45em; }
h3 { line-height: 1.3; }
p { margin: 0 0 1em; }

.overline {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gelb);
  margin: 0 0 0.6em;
}
.klein { font-size: 0.9rem; color: var(--grau); }
.mitte { text-align: center; }

.sprung { position: absolute; left: -9999px; }
.sprung:focus { left: 16px; top: 16px; background: var(--gelb); color: var(--anthrazit); padding: 8px 12px; z-index: 50; }

/* Kopfzeile */
.kopf {
  max-width: var(--breite);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.marke { font-size: 2rem; color: var(--creme); text-decoration: none; }
.kopf nav { display: flex; align-items: center; gap: 20px; }
.kopf nav a:not(.knopf) { color: var(--weiss); text-decoration: none; font-weight: 500; }

/* Knöpfe */
.knopf {
  display: inline-block;
  background: var(--gelb);
  color: var(--anthrazit);
  font-weight: 700;
  text-decoration: none;
  padding: 16px 28px;
  border: 2px solid var(--gelb);
  transition: background 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.knopf:hover { background: transparent; color: var(--gelb); }
.knopf.klein { padding: 8px 16px; font-size: 0.95rem; }
.knopf.gross { padding: 18px 34px; font-size: 1.1rem; box-shadow: 0 10px 34px rgba(245, 196, 0, 0.28); }
.knopf.gross:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(245, 196, 0, 0.38); }
.pfeil-link { font-weight: 700; }
.pfeil-link::after { content: " →"; }

/* ---------- Kopf der Seite: hängender Schriftzug vor unscharfer Backstube ---------- */
.held {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 30% 42% at 24% 46%, rgba(255, 196, 110, 0.42), transparent 72%),
    linear-gradient(90deg, rgba(30, 27, 24, 0.35) 0%, rgba(30, 27, 24, 0.55) 45%, rgba(30, 27, 24, 0.82) 100%),
    linear-gradient(180deg, rgba(45, 45, 45, 0) 72%, var(--anthrazit) 100%),
    var(--nacht) url("/assets/bilder/szene-unscharf.webp") center / cover no-repeat;
}
.schnee { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.held-innen {
  position: relative;
  z-index: 2;
  max-width: var(--breite);
  margin: 0 auto;
  padding: 0 24px 88px;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 56px;
  align-items: center;
  min-height: min(86vh, 780px);
}
.held-schrift { perspective: 1100px; align-self: start; display: flex; justify-content: center; }

/* Das Schild hängt an seinem Aufhängepunkt (Spitze der Schnur: 46,35 % / 0,4 %, siehe bilder-aufbereiten.py)
   und dreht sich im Wind. Ein Klick lässt es einmal herumwirbeln (seite.js setzt .wirbeln). */
.schild {
  position: relative;
  width: min(100%, 400px);
  transform-origin: 46.35% 0.4%;
  transform-style: preserve-3d;
  cursor: pointer;
}
.schild::after { /* der Nagel */
  content: "";
  position: absolute;
  left: 46.35%;
  top: 0.4%;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  background: radial-gradient(circle at 35% 35%, #e9e1d4, #8d8478 60%, #4e4842);
  border-radius: 50%; /* der Nagel darf rund sein, er ist kein Rahmen */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}
.schild-dreh { transform-origin: 46.35% 0.4%; transform-style: preserve-3d; }
.schild img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 26px rgba(245, 196, 0, 0.22)) drop-shadow(0 16px 26px rgba(0, 0, 0, 0.55));
}
@media (prefers-reduced-motion: no-preference) {
  .schild { animation: wind 7.5s ease-in-out infinite; }
  .schild-dreh.wirbeln { animation: wirbeln 1.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
}
@keyframes wind {
  0%   { transform: rotateZ(-1.8deg) rotateY(-12deg); }
  22%  { transform: rotateZ(1.2deg)  rotateY(7deg); }
  48%  { transform: rotateZ(2.4deg)  rotateY(16deg); }
  70%  { transform: rotateZ(-0.6deg) rotateY(-3deg); }
  86%  { transform: rotateZ(-2.2deg) rotateY(-15deg); }
  100% { transform: rotateZ(-1.8deg) rotateY(-12deg); }
}
@keyframes wirbeln {
  0%   { transform: rotateY(0deg); }
  70%  { transform: rotateY(380deg); }
  85%  { transform: rotateY(350deg); }
  100% { transform: rotateY(360deg); }
}

.held-text { padding-top: 24px; }
.fuer {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--anthrazit);
  background: var(--creme);
  padding: 6px 12px;
  margin: 0 0 18px;
}
.held h1 {
  font-size: clamp(3.4rem, 6.2vw, 5.8rem);
  line-height: 0.92;
  color: var(--creme);
  margin: 0 0 22px;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.55);
}
.motto-klein { font-size: clamp(1.2rem, 2vw, 1.45rem); line-height: 1.4; font-weight: 500; margin: 0 0 16px; }
.motto-klein span { color: var(--gelb); font-weight: 700; }
.satz24 { font-size: 1.08rem; line-height: 1.6; color: var(--creme); max-width: 33em; margin: 0 0 32px; opacity: 0.92; }
.held-aktion { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }

.countdown { border-left: 3px solid var(--gelb); padding-left: 18px; }
.countdown-titel { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--creme); margin: 0 0 4px; font-weight: 700; }
.countdown-satz { margin: 0; font-weight: 500; }
.zaehler { display: flex; gap: 14px; margin: 0; }
.zaehler span { display: flex; flex-direction: column; align-items: center; font-size: 0.72rem; color: var(--grau); text-transform: uppercase; letter-spacing: 0.08em; }
.zaehler b { font-family: "Bebas Neue", Impact, sans-serif; font-weight: 400; font-size: 2.4rem; line-height: 1; color: var(--weiss); min-width: 1.4em; text-align: center; }

/* ---------- Abschnitte ---------- */
.abschnitt { max-width: var(--breite); margin: 0 auto; padding: 0 24px 112px; }
.abschnitt.schmal { max-width: 780px; }
.schmal-innen { max-width: 780px; margin: 0 auto; }
.kopfabschnitt { padding-top: 40px; }
.kopfabschnitt h1 { font-size: clamp(3.5rem, 10vw, 6rem); color: var(--creme); margin: 0.1em 0 0.3em; }

/* Zuckerguss-Linie zwischen den Abschnitten: Tupfen wie am Lebkuchenhaus */
.guss-linie {
  height: 12px;
  max-width: 280px;
  margin: 0 auto 112px;
  background: radial-gradient(circle, var(--creme) 4px, transparent 4.5px) center / 22px 12px repeat-x;
  opacity: 0.8;
}

.einstieg { max-width: 980px; padding-top: 24px; }
.lead { font-size: clamp(1.2rem, 2vw, 1.4rem); line-height: 1.55; max-width: 40em; }
.kurzinfo { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 36px 0 0; }
.kurzinfo div { background: var(--anthrazit-2); padding: 20px; border-top: 4px solid var(--lebkuchen); transition: transform 0.25s, border-color 0.25s; }
.kurzinfo div:hover { transform: translateY(-4px); border-color: var(--gelb); }
.kurzinfo .symbol { width: 28px; height: 28px; color: var(--gelb); margin-bottom: 10px; }
.kurzinfo dt { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.75rem; color: var(--grau); }
.kurzinfo dd { margin: 4px 0 0; font-weight: 700; line-height: 1.35; font-size: 1.05rem; }

/* Stimmen */
.stimme { position: relative; margin: 0; padding: 40px 36px 32px; background: var(--anthrazit-2); border-left: 4px solid var(--gelb); }
.stimme::before {
  content: "„";
  position: absolute;
  left: 24px;
  top: -34px;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 7rem;
  line-height: 1;
  color: var(--gelb);
}
.stimme blockquote { margin: 0 0 18px; }
.stimme blockquote p { margin: 0; font-size: 1.2rem; line-height: 1.6; }
.stimme figcaption { color: var(--grau); font-size: 0.95rem; line-height: 1.45; }
.stimme figcaption strong { color: var(--creme); }
.stimmen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.stimmen .stimme { padding: 36px 26px 26px; }
.stimmen .stimme blockquote p { font-size: 1.02rem; }

/* Darum geht's */
.darum .kern {
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: 0.03em;
  color: var(--creme);
  border-left: 4px solid var(--gelb);
  padding: 4px 0 4px 20px;
  margin: 1.4em 0;
}

/* Hinter den Türchen: Bild über die ganze Breite, darunter die Päckchen */
.szene { position: relative; margin: 0; }
.szene img { width: 100%; height: clamp(320px, 52vw, 640px); object-fit: cover; object-position: 50% 60%; display: block; }
.szene::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(180deg, transparent, var(--anthrazit)); }
.tueren-inhalt { margin-top: -80px; position: relative; }
.tueren-inhalt .schmal-innen { background: var(--anthrazit); padding: 36px 40px 8px; max-width: 860px; }

.kostproben { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 48px 0 72px; }
.paeckchen {
  position: relative;
  overflow: hidden;
  background: var(--creme);
  color: var(--anthrazit);
  padding: 0 26px 26px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s, box-shadow 0.3s, opacity 0.8s ease;
}
.paeckchen:hover { transform: translateY(-6px) rotate(-0.6deg); box-shadow: 0 26px 50px rgba(0, 0, 0, 0.45); }
.paeckchen::before { /* senkrechtes Geschenkband */
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 56px;
  width: 12px;
  background: var(--gelb);
  opacity: 0.9;
}
.schleife {
  position: relative;
  display: flex;
  justify-content: space-between;
  margin: 0 -26px 22px;
  padding: 10px 26px;
  background: var(--gelb);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.paeckchen-nr {
  position: absolute;
  right: 18px;
  bottom: -18px;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 8rem;
  line-height: 1;
  color: var(--lebkuchen);
  opacity: 0.18;
  pointer-events: none;
}
.paeckchen h3 { position: relative; font-size: 1.25rem; margin: 0 0 10px; padding-right: 48px; }
.paeckchen p { position: relative; margin: 0; font-size: 1rem; line-height: 1.6; padding-right: 48px; }

.schluss { display: grid; grid-template-columns: 240px 1fr; gap: 36px; align-items: center; max-width: 820px; margin: 0 auto 80px; }
.schlusszeile { font-family: "Bebas Neue", Impact, sans-serif; font-size: clamp(1.9rem, 3.8vw, 2.7rem); line-height: 1.1; letter-spacing: 0.03em; color: var(--creme); margin: 0; }

/* Lebkuchenhaus */
.haus { width: 100%; height: auto; display: block; }
.haus .flaeche { fill: var(--lebkuchen); }
.haus .flaeche.dunkel { fill: var(--lebkuchen-dunkel); }
.haus .flaeche.seite { fill: var(--lebkuchen-seite); }
.haus .flaeche.dach { fill: var(--lebkuchen-dunkel); }
.haus .flaeche.boden { fill: var(--creme); }
.haus .tuer { fill: var(--lebkuchen-dunkel); }
.haus .fenster { fill: var(--anthrazit-3); stroke: var(--creme); stroke-width: 3; }
.haus .guss { fill: var(--creme); }
.haus .schein { fill: var(--gelb); opacity: 0.85; }
.haus .kerze { fill: var(--creme); }
.haus .flamme { fill: var(--orange); }
.haus .teil.aus * { fill: none; stroke: var(--grau); stroke-width: 1.5; stroke-dasharray: 5 5; opacity: 0.5; }

/* seite.js setzt „bauen“, sobald das Haus ins Bild kommt; ohne Skript steht das Haus einfach da */
@media (prefers-reduced-motion: no-preference) {
  .bauen .haus .teil { animation: setzen 0.5s ease-out both; }
  .bauen .haus .p1 { animation-delay: 0.1s; }
  .bauen .haus .p2 { animation-delay: 0.35s; }
  .bauen .haus .p3 { animation-delay: 0.6s; }
  .bauen .haus .p4 { animation-delay: 0.85s; }
  .bauen .haus .p5 { animation-delay: 1.1s; }
  .bauen .haus .p6 { animation-delay: 1.35s; }
  .bauen .haus .p7 { animation-delay: 1.6s; }
  .bauen .haus .p8 { animation-delay: 1.85s; }
  .bauen .haus .p9 { animation-delay: 2.15s; }
  .bauen .haus .p10 { animation-delay: 2.6s; }
  .bauen .haus .flamme { animation: setzen 0.5s ease-out 2.6s both, flackern 1.8s ease-in-out 3.1s infinite; transform-origin: 147px 221px; }
  .warten .haus .teil { opacity: 0; }
}
@keyframes setzen { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
@keyframes flackern { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12, 0.92); } }

/* Kalender */
.kalender { margin: 0; padding: 0; }
.kalender .overline { text-align: center; color: var(--grau); }
.tueren { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; }
.tuer { aspect-ratio: 1; position: relative; }
.tuer.zu {
  background: var(--lebkuchen);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 0 5px var(--lebkuchen-dunkel), inset 0 0 0 8px rgba(246, 235, 217, 0.35);
}
@media (prefers-reduced-motion: no-preference) { .tuer.zu:hover { animation: ruetteln 0.5s ease-in-out; } }
@keyframes ruetteln { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-4deg); } 50% { transform: rotate(3deg); } 75% { transform: rotate(-2deg); } }
.tuer.zu .nr { font-size: clamp(1.8rem, 3.6vw, 2.8rem); color: var(--creme); }
.tuer.auf a {
  display: flex; flex-direction: column; height: 100%;
  padding: 8px 10px; text-decoration: none;
  background: var(--creme); color: var(--anthrazit);
  box-shadow: inset 0 0 0 2px var(--lebkuchen);
  overflow: hidden;
}
.tuer.auf .nr { font-size: 1.6rem; color: var(--lebkuchen); }
.tuer.auf .typ { text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.6rem; font-weight: 700; color: var(--lebkuchen-dunkel); }
.tuer.auf .titel { font-size: 0.75rem; line-height: 1.25; margin-top: 3px; }
.tuer.heute a { box-shadow: inset 0 0 0 4px var(--gelb); }
.tuer.auf a:hover { background: var(--weiss); }

/* Ablauf als Karten */
.ablauf-raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; margin: 36px 0 36px; }
.ablauf-karte { background: var(--anthrazit-2); padding: 24px; border-top: 4px solid var(--lebkuchen); }
.ablauf-karte .symbol { width: 28px; height: 28px; color: var(--gelb); }
.ablauf-karte h3 { font-size: 1.1rem; margin: 10px 0 6px; color: var(--creme); }
.ablauf-karte p { margin: 0; font-size: 1rem; line-height: 1.55; }
@media (min-width: 1100px) { .ablauf-karte.breit { grid-column: span 2; } }

/* Für wen */
.zweispaltig { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 40px 0 48px; }
.spalte { background: var(--anthrazit-2); padding: 32px; }
.spalte.ja { border-top: 4px solid var(--gelb); }
.spalte.nein { border-top: 4px solid var(--grau); background: transparent; box-shadow: inset 0 0 0 1px var(--anthrazit-2); }
.spalte h3 { margin: 0 0 14px; font-size: 1.3rem; color: var(--creme); }
.haken { list-style: none; margin: 0 0 8px; padding: 0; }
.haken li { position: relative; padding: 8px 0 8px 34px; line-height: 1.5; }
.haken li::before { content: ""; position: absolute; left: 4px; top: 0.95em; width: 13px; height: 7px; border-left: 3px solid var(--gelb); border-bottom: 3px solid var(--gelb); transform: rotate(-45deg); }
.spalte.nein .haken li::before { width: 14px; height: 0; top: 1.15em; border-left: 0; border-bottom: 3px solid var(--grau); transform: none; }

/* Person */
.person { display: grid; grid-template-columns: 360px 1fr; gap: 64px; align-items: center; max-width: 1000px; }
.person-bild { position: relative; }
.person-bild::before { /* versetzter gelber Rahmen */
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 4px solid var(--gelb);
}
.person-bild img { position: relative; width: 100%; height: auto; display: block; }

/* Anmeldung: warmes Band mit der Backstube im Hintergrund */
.anmelde-band {
  position: relative;
  padding: 120px 24px;
  background:
    linear-gradient(180deg, var(--anthrazit) 0%, rgba(45, 45, 45, 0.55) 18%, rgba(30, 27, 24, 0.7) 82%, var(--anthrazit) 100%),
    var(--nacht) url("/assets/bilder/szene-unscharf.webp") center / cover no-repeat;
}
.anmelde-karte {
  max-width: 760px;
  margin: 0 auto;
  background: var(--anthrazit);
  padding: 48px;
  border-top: 6px solid var(--gelb);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.formular { background: var(--anthrazit-2); padding: 32px; margin: 28px 0 20px; }
.formular.platzhalter { color: var(--grau); text-align: center; border: 2px dashed var(--grau); }

/* Leiste unten auf dem Handy: erscheint nach dem Kopf, verschwindet bei der Anmeldung (seite.js) */
.leiste {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 40;
  display: none;
  text-align: center;
  background: var(--gelb);
  color: var(--anthrazit);
  font-weight: 700;
  text-decoration: none;
  padding: 15px 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  transform: translateY(140%);
  transition: transform 0.35s ease;
}
.leiste.zeigen { transform: none; }

/* Einblenden beim Scrollen: nur was unterhalb des Bildschirms startet (seite.js setzt .warten) */
.aufbau.warten { opacity: 0; transform: translateY(28px); }
.aufbau.zeigen { transition: opacity 0.8s ease, transform 0.8s ease; }
@media (prefers-reduced-motion: reduce) { .aufbau.warten { opacity: 1; transform: none; } }

/* Tabelle der Spielregel */
.tabelle { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: var(--creme); color: var(--anthrazit); font-size: 1rem; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px dashed #CDB89A; vertical-align: top; }
th { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--lebkuchen-dunkel); }
td.pnr { font-family: "Bebas Neue", Impact, sans-serif; font-size: 1.6rem; line-height: 1; color: var(--lebkuchen); }
.datum { color: var(--lebkuchen-dunkel); font-size: 0.9rem; }

/* Fuß */
.fuss { text-align: center; padding: 56px 24px 64px; border-top: 1px solid var(--anthrazit-2); color: var(--grau); }
.fuss p { margin: 0 0 6px; }
.absender { font-family: "Bebas Neue", Impact, sans-serif; font-size: 1.6rem; letter-spacing: 0.05em; color: var(--creme); }

/* ---------- Tablet ---------- */
@media (max-width: 900px) {
  .held-innen { grid-template-columns: 1fr; gap: 12px; padding-bottom: 64px; min-height: 0; }
  .held-schrift .schild { width: min(62vw, 300px); }
  .held-text { padding-top: 0; }
  .kurzinfo { grid-template-columns: 1fr 1fr; }
  .stimmen, .kostproben, .zweispaltig { grid-template-columns: 1fr; }
  .stimmen { gap: 48px; }
  .kostproben { max-width: 560px; margin-left: auto; margin-right: auto; }
  .person { grid-template-columns: 1fr; gap: 48px; }
  .person-bild { max-width: 340px; }
  .schluss { grid-template-columns: 160px 1fr; gap: 24px; }
  .tueren { grid-template-columns: repeat(6, 1fr); }
  .abschnitt { padding-bottom: 88px; }
  .guss-linie { margin-bottom: 88px; }
  .leiste { display: block; }
  .fuss { padding-bottom: 96px; }
}

/* ---------- Handy ---------- */
@media (max-width: 520px) {
  body { font-size: 1.05rem; }
  .kopf { padding: 14px 16px; }
  .kopf nav { gap: 12px; }
  .marke { font-size: 1.6rem; }
  .kopf nav a:not(.knopf) { font-size: 0.95rem; }
  .knopf.klein { padding: 6px 10px; }
  .held-innen, .abschnitt { padding-left: 16px; padding-right: 16px; }
  .held-schrift .schild { width: min(64vw, 250px); }
  .held h1 { font-size: clamp(2.8rem, 12.6vw, 4.2rem); }
  .knopf.gross { width: 100%; text-align: center; }
  .tueren-inhalt { margin-top: -48px; }
  .tueren-inhalt .schmal-innen { padding: 24px 16px 4px; }
  .tueren { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .tuer.auf .titel { display: none; }
  .schluss { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .schluss-haus { width: 180px; }
  .stimme { padding: 36px 22px 22px; }
  .spalte { padding: 22px; }
  .person-bild::before { inset: 12px -12px -12px 12px; }
  .anmelde-band { padding: 72px 12px; }
  .anmelde-karte { padding: 28px 20px; }
  .formular { padding: 20px; }
  table thead { display: none; }
  table, table tbody { display: block; }
  table tr { display: grid; grid-template-columns: 2.4em 1fr; padding: 12px 14px; border-bottom: 1px dashed #CDB89A; }
  table td { border: 0; padding: 0; }
  table td.pnr { grid-row: span 3; }
  table td:nth-child(2) { font-weight: 700; }
}
