/* Wichtelbüro · woodlandkids.shop/pages/wichtelbuero · Quelle wichtel/ im Repo, eingespielt von wichtelbuero.py
 * Ein verspieltes Amt: Antrag, Bescheid mit Stempel, Wichtelpass, Briefe in Handschrift. Farben und Schriften der
 * Startseite (Papier, Dunkelbraun, Noto Sans, Quicksand), dazu Caveat (OFL, selbst gehostet) nur für Briefe. */
@font-face {
  font-family: 'WK Caveat';
  src: url('wk-caveat.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}

.wk-wb {
  --wb-papier: #EEEAE8;
  --wb-karte: #FBF9F8;
  --wb-tinte: #32261E;
  --wb-tinte-2: #5E4F46;
  --wb-auf-tinte: #F7F3F1;
  --wb-linie: #CFC6C0;
  --wb-stempel: #8E3B2F;
  --wb-brief: #FFFDF8;
  --wb-stempel-2: #34508C;
  --wb-zettel: #F6E27F;
  --wb-zettel-tinte: #2B2A5C;
  --wb-holz: #9A6A44;
  --wb-holz-dunkel: #6B4A30;
  --wb-taste: #FBF6EC;
  --wb-anzeige: #26321F;
  --wb-anzeige-text: #D3E6BC;
  --wb-gruen: #3B7A4C;
  --wb-rot: #A7402E;
  --wb-schrift-titel: var(--font-heading-family, 'Noto Sans', sans-serif);
  --wb-schrift: var(--font-body-family, 'Quicksand', sans-serif);
  --wb-schrift-hand: 'WK Caveat', 'Segoe Print', cursive;
  --wb-rand: 20px;
  --wb-breite: 1120px;
  --wb-luft: clamp(48px, 4vw + 32px, 96px);
  background: var(--wb-papier);
  color: var(--wb-tinte);
  font-family: var(--wb-schrift);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: clip;
}
.wk-wb *, .wk-wb *::before, .wk-wb *::after { box-sizing: border-box; }
.wk-wb [hidden] { display: none !important; }
.wk-wb-rahmen { max-width: var(--wb-breite); margin: 0 auto; padding: 0 var(--wb-rand); }
.wk-wb-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Kopf mit Antrag */
.wk-wb-kopf { padding: var(--wb-luft) 0; }
.wk-wb-kopf__raster { display: grid; gap: 40px; align-items: start; }
@media (min-width: 900px) { .wk-wb-kopf__raster { grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 64px; } }
.wk-wb-amt { margin: 0 0 12px; font-size: 15px; color: var(--wb-tinte-2); }
.wk-wb-titel {
  margin: 0 0 20px; font-family: var(--wb-schrift-titel); font-weight: 300;
  font-size: clamp(36px, 2.2vw + 26px, 60px); line-height: 1.08; letter-spacing: normal; text-transform: none;
  overflow-wrap: break-word; min-width: 0; color: var(--wb-tinte);
}
.wk-wb-lead { margin: 0; max-width: 34em; font-size: clamp(17px, 0.3vw + 16px, 20px); color: var(--wb-tinte-2); }
.wk-wb-h2 { margin: 0 0 20px; font-family: var(--wb-schrift-titel); font-weight: 400; font-size: clamp(24px, 0.8vw + 20px, 32px); line-height: 1.2; letter-spacing: normal; text-transform: none; color: var(--wb-tinte); }
.wk-wb-h3 { margin: 24px 0 8px; font-family: var(--wb-schrift-titel); font-weight: 500; font-size: 19px; line-height: 1.3; letter-spacing: normal; text-transform: none; color: var(--wb-tinte); }

.wk-wb-antrag {
  position: relative; background: var(--wb-karte); border: 1px solid var(--wb-linie); border-radius: 4px;
  padding: 28px 24px; box-shadow: 0 1px 0 var(--wb-linie), 0 12px 32px rgba(50, 38, 30, 0.08);
}
.wk-wb-feld { margin: 0 0 18px; }
.wk-wb-feld label { display: block; margin: 0 0 6px; font-weight: 600; font-size: 16px; }
.wk-wb-feld input, .wk-wb-wer input {
  width: 100%; min-height: 48px; padding: 10px 12px; font: inherit; color: var(--wb-tinte);
  background: #fff; border: 0; border-bottom: 2px solid var(--wb-tinte-2); border-radius: 2px 2px 0 0;
}
.wk-wb-feld input:focus-visible, .wk-wb-wer input:focus-visible { outline: 3px solid var(--wb-tinte); outline-offset: 2px; }
.wk-wb-feld__hilfe { margin: 6px 0 0; font-size: 14px; color: var(--wb-tinte-2); }
.wk-wb-feld select, .wk-wb-wer select {
  width: 100%; min-height: 48px; padding: 10px 12px; font: inherit; color: var(--wb-tinte); background: #fff;
  border: 0; border-bottom: 2px solid var(--wb-tinte-2); border-radius: 2px 2px 0 0;
}
.wk-wb-feld select:focus-visible, .wk-wb-wer select:focus-visible { outline: 3px solid var(--wb-tinte); outline-offset: 2px; }
.wk-wb-wahl { border: 0; padding: 0; margin: 0 0 18px; }
.wk-wb-wahl legend { margin: 0 0 8px; padding: 0; font-weight: 600; font-size: 16px; }
.wk-wb-wahl label { display: flex; align-items: center; gap: 10px; min-height: 40px; font-size: 16px; cursor: pointer; }
.wk-wb .wk-wb-wahl input[type="radio"] {
  display: inline-block !important; appearance: auto !important; -webkit-appearance: radio !important;
  position: static !important; opacity: 1 !important; width: 20px; height: 20px; min-height: 0; margin: 0; padding: 0; accent-color: var(--wb-tinte);
}
.wk-wb-optional { font-weight: 400; color: var(--wb-tinte-2); }
.wk-wb-wer select { flex: 0 1 140px; }
.wk-wb-einwilligung { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; margin: 4px 0 18px; font-size: 14px; line-height: 1.5; color: var(--wb-tinte-2); }
/* Honey blendet native Checkboxen aus (display: none), dann rutscht der Text in die schmale Spalte */
.wk-wb .wk-wb-einwilligung input[type="checkbox"] {
  display: inline-block !important; appearance: auto !important; -webkit-appearance: checkbox !important;
  position: static !important; opacity: 1 !important; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--wb-tinte);
}
.wk-wb-einwilligung input:focus-visible { outline: 3px solid var(--wb-tinte); outline-offset: 2px; }
.wk-wb-einwilligung a { color: inherit; }
.wk-wb-fehler { margin: 0 0 14px; color: var(--wb-stempel); font-weight: 600; }

.wk-wb-knopf {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px;
  font: inherit; font-weight: 600; letter-spacing: normal; text-transform: none; white-space: nowrap;
  color: var(--wb-auf-tinte); background: var(--wb-tinte); border: 1px solid var(--wb-tinte); border-radius: 4px; cursor: pointer;
  transition: background-color 150ms ease, transform 150ms ease;
}
.wk-wb-knopf:hover { background: #4a3a30; }
.wk-wb-knopf:active { transform: translateY(1px); }
.wk-wb-knopf:focus-visible { outline: 3px solid var(--wb-tinte); outline-offset: 3px; }
.wk-wb-knopf--still { color: var(--wb-tinte); background: transparent; }
.wk-wb-knopf--still:hover { background: rgba(50, 38, 30, 0.06); }

/* Bescheid und Stempel */
.wk-wb-bescheid { position: relative; }
.wk-wb-bescheid:focus { outline: none; }
.wk-wb-bescheid__daten { margin: 0 0 18px; }
.wk-wb-bescheid__daten div { display: grid; grid-template-columns: minmax(0, 9em) minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--wb-linie); }
.wk-wb-bescheid__daten dt { color: var(--wb-tinte-2); font-size: 15px; }
.wk-wb-bescheid__daten dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.wk-wb-bescheid__stempel {
  float: right; margin: -4px 0 12px 16px; padding: 6px 14px; transform: rotate(-8deg);
  font-family: var(--wb-schrift-titel); font-weight: 700; font-size: 18px; letter-spacing: normal; text-transform: none;
  color: var(--wb-stempel); border: 3px double var(--wb-stempel); border-radius: 6px; opacity: 0.85;
}
.wk-wb-hinweis { margin: 0 0 18px; font-size: 15px; color: var(--wb-tinte-2); }

/* Wichtelpost */
.wk-wb-post { padding: var(--wb-luft) 0; background: var(--wb-tinte); color: var(--wb-auf-tinte); }
.wk-wb-post .wk-wb-h2 { color: var(--wb-auf-tinte); }
.wk-wb-post__wer p { margin: 0 0 12px; }
.wk-wb-wer { display: flex; flex-wrap: wrap; gap: 12px; max-width: 520px; }
.wk-wb-wer input { flex: 1 1 220px; }
.wk-wb-post .wk-wb-knopf { color: var(--wb-tinte); background: var(--wb-auf-tinte); border-color: var(--wb-auf-tinte); }
.wk-wb-post .wk-wb-knopf:hover { background: #fff; }
.wk-wb-post .wk-wb-knopf--still { color: var(--wb-auf-tinte); background: transparent; border-color: rgba(247, 243, 241, 0.6); }
.wk-wb-post .wk-wb-knopf--still:hover { background: rgba(247, 243, 241, 0.08); }
.wk-wb-post .wk-wb-knopf:focus-visible { outline-color: var(--wb-auf-tinte); }
.wk-wb-brief {
  max-width: 620px; margin: 0 0 24px; padding: 32px 28px; color: var(--wb-tinte); background: var(--wb-brief);
  border-radius: 2px; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25); transform: rotate(-0.6deg);
  font-family: var(--wb-schrift-hand); font-size: clamp(24px, 0.6vw + 21px, 28px); line-height: 1.35;
}
.wk-wb-brief p, .wk-wb-blatt p { margin: 0 0 0.6em; font-family: inherit; font-size: inherit; line-height: inherit; color: inherit; letter-spacing: normal; }
.wk-wb-brief__gruss { margin-top: 0.8em; text-align: right; }
.wk-wb-post__knoepfe { display: flex; flex-wrap: wrap; gap: 12px; }
.wk-wb-geschlossen { margin: 0; max-width: 36em; font-size: 18px; }

.wk-wb-post__raster { display: grid; gap: 32px; align-items: start; }
@media (min-width: 900px) { .wk-wb-post__raster { grid-template-columns: minmax(0, 620px) minmax(0, 340px); justify-content: space-between; } }

/* Prüfbericht des Inspektors */
.wk-wb-brief--bericht { position: relative; }
.wk-wb-bericht__amt { margin: 0 0 0.4em; font-family: var(--wb-schrift); font-size: 15px; color: var(--wb-tinte-2); }
.wk-wb-bericht__stempel {
  position: absolute; top: 18px; right: 18px; margin: 0; padding: 4px 12px; transform: rotate(9deg);
  font-family: var(--wb-schrift-titel); font-weight: 700; font-size: 18px; color: var(--wb-stempel-2);
  border: 3px double var(--wb-stempel-2); border-radius: 6px; opacity: 0.85;
}
.wk-wb-pruefliste { margin: 0 0 0.6em; padding: 0; list-style: none; }
.wk-wb-pruefliste li { position: relative; margin: 0 0 0.3em; padding-left: 1.3em; }
.wk-wb-pruefliste li::before { content: '\2713'; position: absolute; left: 0; color: var(--wb-stempel-2); font-weight: 700; }

/* Wichtelpass mit Stempeln */
.wk-wb-pass-karte { padding: 24px 22px; color: var(--wb-tinte); background: var(--wb-karte); border-radius: 4px; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25); }
.wk-wb-pass-karte .wk-wb-h2 { color: var(--wb-tinte); margin-bottom: 12px; }
.wk-wb-pass-karte .wk-wb-bescheid__daten div { grid-template-columns: minmax(0, 7.5em) minmax(0, 1fr); padding: 7px 0; font-size: 15px; }
.wk-wb-post .wk-wb-pass-karte .wk-wb-knopf--still { color: var(--wb-tinte); border-color: var(--wb-linie); }
.wk-wb-post .wk-wb-pass-karte .wk-wb-knopf--still:hover { background: var(--wb-papier); }
.wk-wb-pass__stempel { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; min-height: 120px; margin: 4px 0 16px; }
.wk-wb-pass__stempel .wk-wb-bescheid__stempel { float: none; margin: 0; }
.wk-wb-pass__leer {
  display: grid; place-items: center; width: 112px; height: 112px; margin: 0; padding: 12px; text-align: center;
  font-size: 13px; line-height: 1.3; color: var(--wb-tinte-2); border: 2px dashed var(--wb-linie); border-radius: 50%;
}
.wk-wb-pruefstempel {
  display: grid; place-content: center; justify-items: center; width: 118px; height: 118px; transform: rotate(-12deg);
  color: var(--wb-stempel-2); border: 4px double var(--wb-stempel-2); border-radius: 50%; opacity: 0.88; text-align: center;
  line-height: 1.1;
}
.wk-wb-pruefstempel__rand, .wk-wb-pruefstempel__datum { font-size: 11px; font-weight: 600; }
.wk-wb-pruefstempel__gross { margin: 3px 0 1px; font-family: var(--wb-schrift-titel); font-weight: 700; font-size: 21px; }
.wk-wb-pruefstempel__klein { margin-bottom: 3px; font-size: 12px; }
.wk-wb-pruefstempel__unterschrift { margin: 0; font-family: var(--wb-schrift-hand); font-size: 24px; color: var(--wb-stempel-2); transform: rotate(-4deg); }

.wk-wb-pass__kopf { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.wk-wb-pass__foto { position: relative; flex: 0 0 84px; width: 84px; margin: 0 0 8px; }
.wk-wb-pass__foto svg { display: block; width: 84px; height: 105px; border: 1px solid var(--wb-linie); }
.wk-wb-pass__grund { fill: var(--wb-brief); }
.wk-wb-pass__riss { fill: var(--wb-tinte); }
.wk-wb-pass__geheim {
  position: absolute; top: 70px; left: -8px; right: -8px; padding: 2px 0; text-align: center; transform: rotate(-14deg);
  font-family: var(--wb-schrift-titel); font-weight: 700; font-size: 12px; line-height: 1.2; color: var(--wb-stempel);
  background: rgba(251, 249, 248, 0.82); border: 2px solid var(--wb-stempel); border-radius: 3px;
}
.wk-wb-pass__foto figcaption { margin-top: 4px; font-size: 11px; line-height: 1.25; text-align: center; color: var(--wb-tinte-2); }

/* Wichteltelefon: Zettel mit Nummer, Tastenfeld, Hörer */
.wk-wb-tel { padding: var(--wb-luft) 0; }
.wk-wb-tel__raster { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .wk-wb-tel__raster { grid-template-columns: minmax(0, 1fr) minmax(0, 540px); gap: 48px; } }
.wk-wb-tel__lead { max-width: 26em; margin: 0; }
.wk-wb-tel__tisch { position: relative; display: flex; flex-direction: column; align-items: center; }
.wk-wb-tel__tisch .wk-wb-apparat { margin: 0; }
@media (min-width: 600px) {
  .wk-wb-tel__tisch { flex-direction: row; justify-content: flex-end; padding-left: 170px; }
  .wk-wb-tel__tisch .wk-wb-zettel { position: absolute; left: 0; top: 72px; }
}
@media (max-width: 599px) { .wk-wb-tel__tisch .wk-wb-zettel { margin-bottom: -18px; } }
.wk-wb-zettel {
  position: relative; z-index: 2; width: 210px; padding: 28px 22px 22px; color: var(--wb-zettel-tinte); background: var(--wb-zettel);
  transform: rotate(-4deg); box-shadow: 0 10px 18px rgba(50, 38, 30, 0.18); font-family: var(--wb-schrift-hand);
}
.wk-wb-zettel::before {
  content: ''; position: absolute; top: -12px; left: 50%; width: 96px; height: 26px; margin-left: -48px;
  background: rgba(255, 255, 255, 0.55); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08); transform: rotate(3deg);
}
.wk-wb-zettel p { margin: 0; font-family: inherit; color: inherit; letter-spacing: normal; }
.wk-wb-zettel__wer { font-size: 28px; line-height: 1.1; }
.wk-wb-zettel__nummer { font-size: 60px; line-height: 1; font-weight: 700; }
.wk-wb-zettel__klein { margin-top: 6px !important; font-size: 22px; line-height: 1.15; }

.wk-wb-apparat {
  width: 100%; max-width: 340px; margin: 0 auto; padding: 22px 22px 24px; border-radius: 28px;
  background: linear-gradient(160deg, var(--wb-holz), var(--wb-holz-dunkel));
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.18), 0 22px 40px rgba(50, 38, 30, 0.3);
}
.wk-wb-apparat__anzeige {
  display: flex; align-items: center; justify-content: center; min-height: 72px; margin: 0 0 18px; padding: 10px 14px;
  font-family: var(--wb-schrift-titel); font-size: 17px; line-height: 1.25; text-align: center;
  color: var(--wb-anzeige-text); background: var(--wb-anzeige); border-radius: 10px;
  box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.45); overflow-wrap: anywhere;
}
.wk-wb-apparat[data-zustand="waehlt"] .wk-wb-apparat__anzeige { font-size: 34px; letter-spacing: 0.12em; }
.wk-wb-apparat__tasten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.wk-wb-taste {
  display: grid; place-items: center; aspect-ratio: 1 / 1; min-height: 56px; padding: 0; font: inherit;
  font-family: var(--wb-schrift-titel); font-size: 26px; font-weight: 600; color: var(--wb-tinte); background: var(--wb-taste);
  border: 0; border-radius: 50%; cursor: pointer; box-shadow: 0 4px 0 rgba(0, 0, 0, 0.28);
  transition: transform 80ms ease, box-shadow 80ms ease, background-color 120ms ease;
}
.wk-wb-taste:hover { background: #fff; }
.wk-wb-taste:active { transform: translateY(3px); box-shadow: 0 1px 0 rgba(0, 0, 0, 0.28); }
.wk-wb-taste:focus-visible, .wk-wb-hoerer:focus-visible { outline: 3px solid var(--wb-zettel); outline-offset: 3px; }
.wk-wb-apparat__leiste { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 12px; align-items: center; margin-top: 18px; }
.wk-wb-taste--klein { aspect-ratio: auto; min-height: 44px; padding: 0 12px; font-size: 14px; border-radius: 999px; }
.wk-wb-hoerer {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; padding: 0 14px; font: inherit;
  font-size: 15px; font-weight: 700; color: #fff; border: 0; border-radius: 999px; cursor: pointer;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.3); transition: transform 80ms ease, box-shadow 80ms ease, filter 120ms ease;
}
.wk-wb-hoerer svg { flex: 0 0 22px; width: 22px; min-width: 22px; height: 22px; fill: currentColor; }
.wk-wb-hoerer:hover { filter: brightness(1.08); }
.wk-wb-hoerer:active { transform: translateY(3px); box-shadow: 0 1px 0 rgba(0, 0, 0, 0.3); }
.wk-wb-hoerer--an { background: var(--wb-gruen); }
.wk-wb-hoerer--aus { background: var(--wb-rot); }
.wk-wb-apparat[data-zustand="klingelt"] .wk-wb-hoerer--an { animation: wk-wb-klingeln 0.5s ease-in-out infinite alternate; }
@keyframes wk-wb-klingeln { from { transform: rotate(-6deg); } to { transform: rotate(6deg); } }
@media (max-width: 380px) { .wk-wb-hoerer span { display: none; } }

/* Elternzimmer */
.wk-wb-eltern { padding: var(--wb-luft) 0 calc(var(--wb-luft) / 2); }
.wk-wb-zimmer { max-width: 760px; background: var(--wb-karte); border: 1px solid var(--wb-linie); border-radius: 4px; }
.wk-wb-zimmer > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 14px 20px;
  cursor: pointer; font-family: var(--wb-schrift-titel); font-weight: 500; font-size: 19px; list-style: none;
}
.wk-wb-zimmer > summary::-webkit-details-marker { display: none; }
.wk-wb-zimmer > summary::after { content: '+'; font-size: 24px; line-height: 1; color: var(--wb-tinte-2); }
.wk-wb-zimmer[open] > summary::after { content: '−'; }
.wk-wb-zimmer > summary:focus-visible { outline: 3px solid var(--wb-tinte); outline-offset: 2px; }
.wk-wb-zimmer__inhalt { padding: 0 20px 24px; }
.wk-wb-angaben { margin: 0 0 16px; padding: 0 0 12px; border-bottom: 1px dashed var(--wb-linie); }
.wk-wb-angaben > summary { min-height: 44px; padding: 10px 0; cursor: pointer; font-size: 15px; color: var(--wb-tinte-2); text-decoration: underline; text-underline-offset: 3px; }
.wk-wb-angaben > summary:focus-visible { outline: 3px solid var(--wb-tinte); outline-offset: 2px; }
.wk-wb-angaben__form { display: grid; gap: 0 20px; padding-top: 8px; }
@media (min-width: 600px) { .wk-wb-angaben__form { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.wk-wb-angaben__form .wk-wb-einwilligung { align-items: center; font-size: 16px; color: var(--wb-tinte); }
.wk-wb-angaben__form .wk-wb-einwilligung, .wk-wb-angaben__form .wk-wb-knopf, .wk-wb-angaben__form .wk-wb-hinweis, .wk-wb-angaben__form .wk-wb-fehler { grid-column: 1 / -1; justify-self: start; }
.wk-wb-stufen { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 8px; }
.wk-wb-stufe {
  min-height: 40px; padding: 8px 14px; font: inherit; font-size: 15px; font-weight: 600; color: var(--wb-tinte);
  background: transparent; border: 1px solid var(--wb-linie); border-radius: 999px; cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease;
}
.wk-wb-stufe:hover { border-color: var(--wb-tinte-2); }
.wk-wb-stufe[aria-pressed="true"] { color: var(--wb-auf-tinte); background: var(--wb-tinte); border-color: var(--wb-tinte); }
.wk-wb-stufe:focus-visible { outline: 3px solid var(--wb-tinte); outline-offset: 2px; }
.wk-wb-nacht__so p { margin: 0 0 0.6em; }
.wk-wb-nacht__daten { margin: 12px 0 0; }
.wk-wb-nacht__daten div { display: grid; grid-template-columns: minmax(0, 11em) minmax(0, 1fr); gap: 12px; padding: 8px 0; border-top: 1px dashed var(--wb-linie); }
.wk-wb-nacht__daten dt { color: var(--wb-tinte-2); font-size: 15px; }
.wk-wb-nacht__daten dd { margin: 0; }
.wk-wb-nacht .wk-wb-knopf { margin-top: 16px; }
.wk-wb-liste { margin: 0 0 12px; padding-left: 1.2em; }
.wk-wb-liste li { margin: 0 0 6px; }

/* Fragen */
.wk-wb-fragen { padding: calc(var(--wb-luft) / 2) 0 var(--wb-luft); }
.wk-wb-frage { max-width: 760px; border-bottom: 1px solid var(--wb-linie); }
.wk-wb-frage > summary { min-height: 52px; padding: 14px 0; cursor: pointer; font-weight: 600; }
.wk-wb-frage > summary:focus-visible { outline: 3px solid var(--wb-tinte); outline-offset: 2px; }
.wk-wb-frage__antwort { padding: 0 0 14px; color: var(--wb-tinte-2); }
.wk-wb-frage__antwort p { margin: 0 0 0.6em; }

@media (max-width: 599px) {
  .wk-wb-bescheid__daten div, .wk-wb-nacht__daten div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .wk-wb-antrag { padding: 24px 18px; }
  .wk-wb-brief { padding: 24px 20px; transform: none; }
  .wk-wb-knopf { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  .wk-wb-knopf { transition: none; }
  .wk-wb-knopf:active { transform: none; }
  .wk-wb-taste, .wk-wb-hoerer { transition: none; }
  .wk-wb-apparat[data-zustand="klingelt"] .wk-wb-hoerer--an { animation: none; }
}

/* Drucken: nur das Blatt, eine A4-Seite. Das Skript hängt .wk-wb-druck direkt unter <body>. */
.wk-wb-druck { display: none; }
@media print {
  /* Rand 0: Dann druckt der Browser keine eigene Kopf- und Fußzeile (Datum, Adresse, Seitenzahl);
     den Rand gibt das Blatt selbst (Dennis 03.12.) */
  @page { size: A4 portrait; margin: 0; }
  html.wk-wb-druckt body > *:not(.wk-wb-druck) { display: none !important; }
  html.wk-wb-druckt, html.wk-wb-druckt body { background: #fff !important; margin: 0 !important; padding: 0 !important; height: auto !important; overflow: visible !important; }
  html.wk-wb-druckt .wk-wb-druck { display: block !important; background: #fff; color: #000; overflow: visible; }
  .wk-wb-blatt { box-sizing: border-box; width: 210mm; max-width: none; margin: 0; padding: 22mm 25mm; color: #000; background: #fff; break-inside: avoid; page-break-inside: avoid; }
  .wk-wb-blatt .wk-wb-brief { max-width: none; margin: 0; padding: 0; box-shadow: none; transform: none; background: #fff; color: #000; }
  .wk-wb-blatt:not(.wk-wb-blatt--pass) { font-family: var(--wb-schrift-hand); font-size: var(--wb-druckgroesse, 24pt); line-height: 1.35; }
  .wk-wb-blatt .wk-wb-brief, .wk-wb-blatt .wk-wb-brief p, .wk-wb-blatt .wk-wb-brief li { font-size: var(--wb-druckgroesse, 24pt); }
  .wk-wb-blatt--pass { width: 130mm; margin: 22mm auto 0; padding: 10mm; border: 2px solid #000; border-radius: 6px; font-size: 14pt; }
  .wk-wb-blatt--pass .wk-wb-bescheid__daten div { border-bottom-color: #999; }
  .wk-wb-blatt .wk-wb-bescheid__stempel { float: none; display: inline-block; margin-top: 0; }
  /* Die allgemeine Regel für Absätze im Blatt (color/font: inherit) darf Stempel und Unterschrift nicht schwärzen */
  .wk-wb-blatt p.wk-wb-bescheid__stempel { color: var(--wb-stempel); font-family: var(--wb-schrift-titel); font-size: 15pt; line-height: 1.3; }
  .wk-wb-blatt p.wk-wb-pruefstempel__unterschrift { color: var(--wb-stempel-2); font-family: var(--wb-schrift-hand); font-size: 20pt; line-height: 1.2; }
  .wk-wb-blatt .wk-wb-pass__stempel { margin-top: 8mm; min-height: 0; }
  .wk-wb-blatt .wk-wb-pruefstempel { width: 36mm; height: 36mm; }
  .wk-wb-blatt .wk-wb-pruefstempel__gross { font-size: 20pt; }
  .wk-wb-blatt .wk-wb-pruefstempel__rand, .wk-wb-blatt .wk-wb-pruefstempel__datum { font-size: 9pt; }
  .wk-wb-blatt .wk-wb-pruefstempel__klein { font-size: 10pt; }
  .wk-wb-blatt .wk-wb-pass__leer { width: 34mm; height: 34mm; font-size: 9pt; }
  .wk-wb-blatt .wk-wb-pass__foto { flex-basis: 30mm; width: 30mm; }
  .wk-wb-blatt .wk-wb-pass__foto svg { width: 30mm; height: 37.5mm; border-color: #999; }
  .wk-wb-blatt .wk-wb-pass__geheim { top: 25mm; font-size: 9pt; }
  .wk-wb-blatt .wk-wb-pass__foto figcaption { font-size: 8pt; }
  .wk-wb-pass__riss, .wk-wb-pass__geheim, .wk-wb-pruefstempel__unterschrift, .wk-wb-bescheid__stempel { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .wk-wb-blatt .wk-wb-brief--bericht p.wk-wb-bericht__amt { font-family: var(--wb-schrift); font-size: 11pt; }
  .wk-wb-blatt .wk-wb-bericht__stempel { top: 0; right: 0; font-size: 16pt; }
  .wk-wb-pruefstempel, .wk-wb-bericht__stempel, .wk-wb-pruefliste li::before { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
