/* Stil der Buchillustrationen: goldener Herbstwald, weiches Licht, Farben aus 03-visuell/stilguide.md.
   Keine externen Schriften oder Dienste. */
:root {
  --papier: #FBF0D8; --karte: #FFF9EC; --tinte: #43301F; --leise: #77603F; --linie: #E8D3A9;
  --senf: #E8A317; --herbst: #D2691E; --rost: #A9521A; --gold: #B97A3E; --karamell: #D9A566; --wald: #5E6B3A;
  --serif: Georgia, "Times New Roman", serif;
  --text: "Avenir Next", "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--tinte); font: 18px/1.6 var(--text); background: var(--papier);
  padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right);
}
/* gemaltes Abendlicht im Hintergrund (weiches Bokeh) */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(circle at 12% 8%, rgba(255,214,110,.75), transparent 34%),
    radial-gradient(circle at 88% 4%, rgba(244,168,112,.45), transparent 30%),
    radial-gradient(circle at 78% 62%, rgba(232,163,23,.22), transparent 36%),
    radial-gradient(circle at 8% 88%, rgba(210,105,30,.22), transparent 32%),
    radial-gradient(circle at 50% 110%, rgba(94,107,58,.28), transparent 45%),
    linear-gradient(180deg, #FFF3D6 0%, #FBEBCB 55%, #F3DDB4 100%);
}
a { color: var(--rost); }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.15; text-wrap: balance; margin: 0 0 .5em; }
.sprung { position: absolute; left: -9999px; }
.sprung:focus { left: 12px; top: 12px; z-index: 10; background: var(--karte); padding: 8px 14px; border-radius: 10px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--rost); outline-offset: 3px; }

/* fallende Blätter */
.laub { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.laub i { position: absolute; top: -40px; width: 18px; height: 18px; background: var(--herbst); border-radius: 50% 0 55% 50%; opacity: .55; animation: fallen 19s linear infinite; }
.laub i:nth-child(1) { left: 6%; animation-delay: -2s; }
.laub i:nth-child(2) { left: 22%; background: var(--senf); animation-duration: 25s; animation-delay: -11s; width: 14px; height: 14px; }
.laub i:nth-child(3) { left: 47%; background: var(--rost); animation-duration: 29s; animation-delay: -20s; }
.laub i:nth-child(4) { left: 66%; background: var(--karamell); animation-duration: 22s; animation-delay: -6s; }
.laub i:nth-child(5) { left: 83%; animation-duration: 27s; animation-delay: -15s; width: 22px; height: 22px; }
.laub i:nth-child(6) { left: 94%; background: var(--senf); animation-duration: 21s; animation-delay: -9s; }
@keyframes fallen { from { transform: translate3d(0, 0, 0) rotate(0); } 50% { transform: translate3d(60px, 55vh, 0) rotate(220deg); } to { transform: translate3d(-20px, 112vh, 0) rotate(430deg); } }
@media (prefers-reduced-motion: reduce) { .laub { display: none; } html { scroll-behavior: auto; } }

/* Kopf und Fuß */
.site-kopf { max-width: 1120px; margin: 0 auto; padding: 18px 16px; display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; justify-content: space-between; }
.marke { font-family: var(--serif); font-weight: 700; font-size: 26px; color: var(--tinte); text-decoration: none; }
.marke span, .buehne h1 span { color: var(--rost); }
.site-kopf nav { display: flex; flex-wrap: wrap; gap: 8px; }
.site-kopf nav a { padding: 6px 14px; border-radius: 999px; text-decoration: none; color: var(--tinte); font-weight: 600; font-size: 15px; background: rgba(255,249,236,.75); border: 1.5px solid var(--linie); }
.site-kopf nav a:hover { background: var(--karte); border-color: var(--karamell); }
.site-kopf nav a.wl { background: var(--rost); border-color: var(--rost); color: #FFF9EC; }
.site-kopf nav a[aria-current=page] { background: var(--senf); border-color: var(--senf); color: var(--tinte); }
main { max-width: 1120px; margin: 0 auto; padding: 8px 16px 48px; }
main > section { margin-bottom: 56px; }
.site-fuss { text-align: center; padding: 48px 16px 56px; border-top: 2px dashed var(--karamell); }
.site-fuss p { margin: 8px 0; }
.refrain-fuss { font-family: var(--serif); font-weight: 700; font-size: clamp(24px, 4vw, 36px); }
.refrain-fuss span { color: var(--rost); }
.klein { font-size: 14px; color: var(--leise); }

/* Bühne (Startseite) */
.buehne { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding: 24px 0 16px; }
.buehne > * { min-width: 0; }
.augenbraue { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--rost); margin: 0 0 8px; }
.buehne h1 { font-size: clamp(48px, 8.5vw, 96px); margin-bottom: 16px; }
.vorspann { font-size: 20px; max-width: 32em; }
.refrain { display: inline-block; margin: 8px 0; padding: 12px 22px; border-radius: 999px; background: var(--senf); font-family: var(--serif); font-weight: 700; }
.buehne figure { margin: 0; justify-self: center; width: min(100%, 430px); transform: rotate(2deg); }
.buehne figure img { border-radius: 26px; border: 8px solid var(--karte); box-shadow: 0 30px 60px -22px rgba(90,50,10,.55); }
.buehne figcaption { text-align: center; font-size: 14px; color: var(--leise); margin-top: 10px; }
.knoepfe { display: flex; flex-wrap: wrap; gap: 12px; }
.knopf { display: inline-block; padding: 13px 24px; border-radius: 999px; background: var(--rost); color: #FFF9EC; font-weight: 700; text-decoration: none; box-shadow: 0 8px 18px -10px rgba(90,40,0,.7); }
.knopf:hover { background: #8D4112; }
.knopf.zart { background: var(--karte); color: var(--tinte); border: 1.5px solid var(--karamell); box-shadow: none; }

/* Kacheln */
main h2 { font-size: clamp(28px, 4vw, 40px); }
.raster { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.kachel a { display: flex; flex-direction: column; height: 100%; background: var(--karte); border: 1.5px solid var(--linie); border-radius: 22px; overflow: hidden; text-decoration: none; color: var(--tinte); box-shadow: 0 16px 34px -24px rgba(90,50,10,.7); }
.kachel img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 72%; }
.kachel .text { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px 20px; font-size: 16px; color: var(--leise); }
.kachel strong { font-family: var(--serif); font-size: 22px; color: var(--tinte); line-height: 1.2; }
@media (prefers-reduced-motion: no-preference) {
  .kachel a, .buehne figure { transition: transform .25s ease, box-shadow .25s ease; }
  .kachel a:hover { transform: translateY(-4px) rotate(-.4deg); box-shadow: 0 24px 40px -24px rgba(90,50,10,.75); }
  .buehne figure:hover { transform: rotate(0); }
}
.datum { font-size: 13px; font-weight: 700; letter-spacing: .06em; color: var(--rost); }

/* Bereichsseiten und Beiträge */
.titelblock { margin: 16px 0 28px !important; max-width: 40em; }
.titelblock h1 { font-size: clamp(36px, 6vw, 60px); }
.beitrag { max-width: 720px; margin: 16px auto 0; background: var(--karte); border: 1.5px solid var(--linie); border-radius: 26px; padding: clamp(20px, 5vw, 48px); box-shadow: 0 24px 50px -34px rgba(90,50,10,.7); }
.beitrag h1 { font-size: clamp(32px, 5vw, 48px); }
.beitrag h2 { font-size: 26px; margin-top: 1.4em; }
.beitrag h3 { font-size: 21px; margin-top: 1.2em; }
.beitrag li { margin: 6px 0; }
.beitrag img { border-radius: 18px; margin: 16px auto; }
.beitrag .kopfbild { width: 100%; max-height: 520px; object-fit: cover; object-position: 50% 70%; margin-top: 8px; }
.beitrag blockquote { margin: 20px 0; padding: 14px 20px; border-left: 6px solid var(--senf); background: #FFF1CC; border-radius: 0 14px 14px 0; font-family: var(--serif); }
.zurueck { margin-top: 0; font-size: 15px; font-weight: 700; }
.zurueck a { text-decoration: none; }
.hinweis { padding: 14px 18px; border-radius: 14px; background: var(--karte); border: 1.5px dashed var(--karamell); display: inline-block; }
.rufen { text-align: center; background: linear-gradient(160deg, #FFE6A6, #F4C073); border-radius: 30px; padding: 40px 20px; }

body.breit main { max-width: 1180px; }

/* Warteliste */
.anmelden { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; padding-top: 16px; }
.anmelden > * { min-width: 0; }
.anmelden h1 { font-size: clamp(38px, 6vw, 64px); }
.anmelden figure { margin: 0; justify-self: center; width: min(100%, 380px); transform: rotate(2deg); }
.anmelden figure img { border-radius: 26px; border: 8px solid var(--karte); box-shadow: 0 30px 60px -22px rgba(90,50,10,.55); }
.anmelden figcaption { text-align: center; font-size: 14px; color: var(--leise); margin-top: 10px; }
.formular { margin: 20px 0 16px; padding: 22px; border-radius: 22px; background: var(--karte); border: 1.5px solid var(--linie); box-shadow: 0 16px 34px -24px rgba(90,50,10,.7); }
.formular > label[for=email] { display: block; font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.zeile { display: flex; flex-wrap: wrap; gap: 10px; }
.zeile input { flex: 1 1 220px; min-width: 0; font: inherit; padding: 12px 16px; border-radius: 999px; border: 2px solid var(--linie); background: #fff; color: var(--tinte); }
button.knopf { font: inherit; font-weight: 700; border: 0; cursor: pointer; }
button.knopf[disabled] { opacity: .6; cursor: progress; }
.einwilligung { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-size: 14px; line-height: 1.45; color: var(--leise); }
.einwilligung input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--rost); }
.honig { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.status { margin: 12px 0 0; min-height: 1.4em; font-weight: 700; font-size: 16px; }
.status.ok { color: var(--wald); }
.status.err { color: #9B2C1C; }
input:focus-visible { outline: 3px solid var(--rost); outline-offset: 2px; }

@media (max-width: 860px) {
  .buehne { grid-template-columns: 1fr; gap: 28px; padding-top: 4px; }
  .buehne figure { order: -1; width: min(64%, 280px); }
  .anmelden { grid-template-columns: 1fr; gap: 24px; }
  .anmelden figure { width: min(50%, 210px); justify-self: center; }
  .site-kopf nav a { font-size: 14px; padding: 5px 11px; }
}
@media print {
  .laub, .site-kopf, .site-fuss, .sprung { display: none !important; }
  body { background: #fff; }
}
