/* Kämmerer – „Tag & Nacht“. Farben nur über Variablen, Themen: .nacht .tag .abend */
@font-face { font-family: 'Abhaya Libre'; font-weight: 700; font-display: swap; src: url(../fonts/abhaya-libre-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Abhaya Libre'; font-weight: 800; font-display: swap; src: url(../fonts/abhaya-libre-latin-800-normal.woff2) format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 300; font-display: swap; src: url(../fonts/poppins-latin-300-normal.woff2) format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 400; font-display: swap; src: url(../fonts/poppins-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 500; font-display: swap; src: url(../fonts/poppins-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 600; font-display: swap; src: url(../fonts/poppins-latin-600-normal.woff2) format('woff2'); }

:root {
  --gold: #d79d18;
  --gold-hell: #ebb93f;
  --gold-tief: #a8770c;
  --nacht: #141110;
  --nacht-2: #1e1916;
  --nacht-3: #2a231e;
  --mehl: #f5efe4;
  --mehl-2: #ebe2d1;
  --tinte: #2b2724;
  --abend: #1b1310;
  --adeg: #2d8a32;
  --serif: 'Abhaya Libre', Georgia, serif;
  --sans: 'Poppins', system-ui, sans-serif;
  --rand: clamp(16px, 4vw, 56px);
  --breite: 1280px;
  --kopf-h: 76px;
  --r: 16px;
  --start: 1.15s;
}

/* Themen */
.nacht, .abend { --bg: var(--nacht); --text: #f3ece0; --text-2: rgba(243, 236, 224, .72); --linie: rgba(243, 236, 224, .14); --karte: var(--nacht-2); --karte-2: var(--nacht-3); --akzent: var(--gold-hell); }
.abend { --bg: var(--abend); --karte: #261b16; --karte-2: #33241c; }
.tag { --bg: var(--mehl); --text: var(--tinte); --text-2: rgba(43, 39, 36, .74); --linie: rgba(43, 39, 36, .14); --karte: #fffaf1; --karte-2: var(--mehl-2); --akzent: var(--gold-tief); }
.tag-2 { --bg: var(--mehl-2); --karte: var(--mehl); }
.nacht-tief { --bg: #0d0b0a; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--kopf-h) + 8px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--nacht); color: #f3ece0; font: 300 1.0625rem/1.65 var(--sans); overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 800; line-height: 1.02; margin: 0; letter-spacing: -.005em; text-wrap: balance; }
h2 { font-size: clamp(2.3rem, 5.2vw, 4.4rem); }
h3 { font-size: clamp(1.45rem, 2.2vw, 1.9rem); line-height: 1.1; }
p { margin: 0; text-wrap: pretty; }
strong, b { font-weight: 600; }
:focus-visible { outline: 3px solid var(--gold-hell); outline-offset: 3px; border-radius: 4px; }
.i { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.22em; }
.rahmen { width: 100%; max-width: calc(var(--breite) + 2 * var(--rand)); margin-inline: auto; padding-inline: var(--rand); }
.sprung { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: #1a1410; padding: 10px 16px; border-radius: 8px; font-weight: 500; }
.sprung:focus { top: 12px; }
.klein { font-size: .875rem; color: var(--text-2); }
.mitte { text-align: center; margin-inline: auto; }
section { background: var(--bg); color: var(--text); position: relative; }

.zeitmarke { display: inline-flex; align-items: center; gap: .55em; font: 500 .78rem/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--akzent, var(--gold-hell)); margin-bottom: 1.1rem; }
.zeitmarke .i { width: 1.1rem; height: 1.1rem; }
.gross-text { font-size: clamp(1.08rem, 1.35vw, 1.22rem); color: var(--text-2); max-width: 38em; margin-top: 1.4rem; }
.gross-text strong { color: var(--text); }

/* Knöpfe */
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 46px; padding: .7em 1.35em; border-radius: 999px; font: 500 .98rem/1 var(--sans); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s; white-space: nowrap; }
.knopf:hover { transform: translateY(-2px); }
.knopf.gross { min-height: 56px; padding: .9em 1.7em; font-size: 1.05rem; }
.knopf.gold { background: var(--gold); color: #1a1410; }
.knopf.gold:hover { background: var(--gold-hell); }
.knopf.rand { border-color: currentColor; color: var(--text, #f3ece0); background: transparent; }
.knopf.rand:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
.knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }

/* Status „geöffnet“ */
.status { display: inline-flex; align-items: baseline; gap: .6em; margin-top: 1.4rem; font-weight: 400; color: var(--text-2); }
.status::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: #888; flex: none; transform: translateY(-1px); }
.status[data-offen='ja']::before { background: #5fd068; box-shadow: 0 0 0 0 rgba(95, 208, 104, .6); animation: puls 2s infinite; }
.status[data-offen='nein']::before { background: #e06a4f; }
.status strong { color: var(--text); }
.status.gross { font-size: 1.05rem; margin: .4rem 0 1.4rem; }
.status.mitte { display: flex; justify-content: center; }
@keyframes puls { 70% { box-shadow: 0 0 0 9px rgba(95, 208, 104, 0); } 100% { box-shadow: 0 0 0 0 rgba(95, 208, 104, 0); } }

/* ---------- Vorhang (kurze Ladeanimation) ---------- */
.vorhang { position: fixed; inset: 0; z-index: 90; background: var(--nacht); display: grid; place-items: center; pointer-events: none; color: #fff; animation: vorhang-weg .55s 1.15s ease-in forwards; }
.vorhang .logo { width: min(340px, 64vw); height: auto; animation: logo-auf 1s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes logo-auf { from { opacity: 0; clip-path: inset(0 100% 0 0); transform: translateY(8px); } 60% { opacity: 1; } to { opacity: 1; clip-path: inset(0 0 0 0); transform: none; } }
@keyframes vorhang-weg { to { opacity: 0; visibility: hidden; } }
.ohne-vorhang .vorhang { display: none; }
.ohne-vorhang { --start: 0s; }

/* ---------- Kopf ---------- */
.kopf { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--kopf-h); display: flex; align-items: center; gap: clamp(12px, 2vw, 28px); padding-inline: var(--rand); color: #f3ece0; transition: background .45s, color .45s, box-shadow .45s, transform .35s; }
.kopf.fest { background: rgba(20, 17, 16, .94); box-shadow: 0 1px 0 rgba(243, 236, 224, .08); }
.kopf[data-thema='tag'] { color: var(--tinte); }
.kopf[data-thema='tag'].fest { background: rgba(245, 239, 228, .95); box-shadow: 0 1px 0 rgba(43, 39, 36, .1); }
.kopf[data-thema='abend'].fest { background: rgba(27, 19, 16, .95); }
.kopf-logo { display: block; flex: none; }
.kopf .logo { display: block; width: auto; height: 50px; }
.kopf-nav { display: flex; gap: clamp(14px, 1.8vw, 30px); margin-left: auto; }
.kopf-nav a { text-decoration: none; font-weight: 400; font-size: .95rem; position: relative; padding: 6px 0; }
.kopf-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.kopf-nav a:hover::after, .kopf-nav a[aria-current='true']::after { transform: scaleX(1); }
.kopf-status { font-size: .82rem; opacity: .8; white-space: nowrap; display: flex; align-items: center; gap: .45em; }
.kopf-status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #888; }
.kopf-status[data-offen='ja']::before { background: #5fd068; }
.kopf-status[data-offen='nein']::before { background: #e06a4f; }
.kopf-tel { min-height: 42px; padding: .55em 1.1em; }
.kopf-menue { display: none; background: none; border: 0; color: inherit; width: 46px; height: 46px; padding: 11px; cursor: pointer; margin-left: auto; }
.kopf-menue .i { width: 24px; height: 24px; }
.kopf-menue .zu, .kopf-menue[aria-expanded='true'] .auf { display: none; }
.kopf-menue[aria-expanded='true'] .zu { display: block; }

/* ---------- Tagesuhr ---------- */
.uhr { position: fixed; left: var(--rand); bottom: 24px; z-index: 40; display: flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px; border-radius: 999px; background: rgba(20, 17, 16, .9); color: #f3ece0; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); opacity: 0; transform: translateY(16px); transition: opacity .4s, transform .4s, background .6s, color .6s; }
.uhr.da { opacity: 1; transform: none; }
.uhr[data-thema='tag'] { background: rgba(255, 250, 241, .95); color: var(--tinte); box-shadow: 0 10px 30px rgba(60, 40, 10, .14); }
.uhr-bogen { width: 38px; height: 38px; border-radius: 50%; background: var(--gold); color: #1a1410; display: grid; place-items: center; position: relative; overflow: hidden; }
.uhr-bogen .i { position: absolute; width: 20px; height: 20px; transition: transform .6s cubic-bezier(.5, 0, .2, 1), opacity .4s; }
.uhr-sonne { transform: translateY(26px); opacity: 0; }
.uhr[data-thema='tag'] .uhr-sonne { transform: none; opacity: 1; }
.uhr[data-thema='tag'] .uhr-mond { transform: translateY(-26px); opacity: 0; }
.uhr-zeit { font: 800 1.45rem/1 var(--serif); font-variant-numeric: tabular-nums; min-width: 3.1ch; }
.uhr-ort { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; opacity: .75; }
.uhr .wechsel { animation: uhr-wechsel .5s; }
@keyframes uhr-wechsel { from { opacity: 0; transform: translateY(8px); } }

/* ---------- Hero ---------- */
.hero { min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; padding-top: var(--kopf-h); isolation: isolate; }
.hero-bild { position: absolute; inset: 0 0 0 auto; width: min(100%, 70vw); z-index: -2; }
.hero-bild img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 30%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 34%); mask-image: linear-gradient(90deg, transparent 0, #000 34%); animation: hero-zoom 2.2s calc(var(--start) - .15s) cubic-bezier(.2, .7, .2, 1) both; }
@keyframes hero-zoom { from { transform: scale(1.08); opacity: 0; } }
.hero::after { content: ''; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(transparent, var(--nacht)); z-index: -1; }
.mehlstaub { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hero-inhalt { padding-block: clamp(20px, 4vh, 70px) 28px; }
.hero-titel { font-size: clamp(3.4rem, min(10.5vw, 12.5vh), 9.6rem); line-height: .86; letter-spacing: -.02em; display: flex; flex-direction: column; }
.hero-titel > span { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-titel > span > span { display: inline-block; animation: zeile-auf 1s cubic-bezier(.2, .8, .2, 1) both; }
.hero-titel > span:nth-child(1) > span { animation-delay: calc(var(--start) + .1s); }
.hero-titel > span:nth-child(2) > span { animation-delay: calc(var(--start) + .23s); }
.hero-titel > span:nth-child(3) > span { animation-delay: calc(var(--start) + .36s); }
.hero-titel i { color: var(--gold); font-style: normal; }
@keyframes zeile-auf { from { transform: translateY(105%); } }
.hero-text { font-size: clamp(1.08rem, 1.5vw, 1.3rem); max-width: 31em; margin-top: 1.6rem; color: var(--text-2); }
.hero .zeitmarke, .hero-text, .hero .knoepfe, .hero .status { animation: weich-auf .9s calc(var(--start) + .45s) both; }
@keyframes weich-auf { from { opacity: 0; transform: translateY(14px); } }

.tueren { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding-bottom: 28px; }
.tuer { position: relative; display: flex; align-items: flex-end; gap: 12px; min-height: 112px; padding: 18px 20px; border-radius: var(--r); overflow: hidden; text-decoration: none; color: #fff; isolation: isolate; border: 1px solid rgba(255, 255, 255, .12); animation: weich-auf .9s both; }
.tuer:nth-child(1) { animation-delay: calc(var(--start) + .65s); } .tuer:nth-child(2) { animation-delay: calc(var(--start) + .75s); } .tuer:nth-child(3) { animation-delay: calc(var(--start) + .85s); }
.tuer img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.tuer::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14, 11, 9, .15), rgba(14, 11, 9, .82)); }
.tuer:hover img { transform: scale(1.06); }
.tuer-text { display: flex; flex-direction: column; margin-right: auto; }
.tuer small { font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-hell); font-weight: 500; }
.tuer strong { font: 800 1.45rem/1.1 var(--serif); }
.tuer > .i { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--gold); color: #1a1410; transition: transform .3s; }
.tuer:hover > .i { transform: translateX(4px); }

/* ---------- Kapitel allgemein ---------- */
.kapitel { padding-block: clamp(80px, 12vw, 160px); }
.kapitel-kopf { max-width: 860px; margin-bottom: clamp(36px, 5vw, 64px); }
.kapitel-kopf.mitte { text-align: center; }
.kapitel-kopf.mitte .zeitmarke { justify-content: center; }
.unterzeile { margin: clamp(70px, 9vw, 120px) 0 28px; font-size: clamp(1.6rem, 2.6vw, 2.2rem); }

[data-zeige] { opacity: 0; transform: translateY(36px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); }
[data-zeige].sichtbar { opacity: 1; transform: none; }

/* Backstube */
.backstube-raster { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.backstube-bild { margin: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; }
.backstube-bild img { width: 100%; height: 112%; object-fit: cover; object-position: 50% 40%; }
.fakten { display: grid; grid-template-columns: repeat(3, auto); gap: 18px 34px; margin: 2.4rem 0 0; padding-top: 1.8rem; border-top: 1px solid var(--linie); justify-content: start; }
.fakten dt { font: 800 clamp(1.5rem, 2.4vw, 2.1rem)/1 var(--serif); color: var(--gold-hell); hyphens: manual; }
.fakten dd { margin: .45rem 0 0; font-size: .9rem; color: var(--text-2); max-width: 12em; }
.ablauf { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: x; }
.ablauf li { position: relative; }
.ablauf img { border-radius: var(--r); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; margin-bottom: 18px; filter: saturate(.9); }
.ablauf .nr { position: absolute; top: 14px; left: 14px; width: 40px; height: 40px; border-radius: 50%; background: var(--gold); color: #1a1410; display: grid; place-items: center; font: 800 1.3rem/1 var(--serif); }
.ablauf strong { font: 800 1.35rem/1.15 var(--serif); display: block; margin-bottom: 6px; }
.ablauf p { color: var(--text-2); font-size: .95rem; }
.ablauf li:nth-child(2) { transition-delay: .08s; } .ablauf li:nth-child(3) { transition-delay: .16s; } .ablauf li:nth-child(4) { transition-delay: .24s; }

/* Dämmerung */
.daemmerung { min-height: 78vh; display: flex; align-items: center; overflow: hidden; --p: 0; isolation: isolate; color: #fff; }
.daemmerung.morgen { background: linear-gradient(180deg, var(--nacht) 0%, #2c1d22 28%, #8a4a3c 56%, #e9a35b 78%, var(--mehl) 100%); }
.daemmerung.abend-band { background: linear-gradient(180deg, var(--mehl-2) 0%, #f3cf98 20%, #eda463 45%, #d8743f 62%, #7a352c 82%, var(--abend) 100%); }
.abend-band .daemmerung-text { color: #2a140e; text-shadow: none; }
.abend-band .daemmerung-text .zeitmarke { color: #5a2a12; }
.himmel { position: absolute; inset: 0; z-index: -1; }
.himmel-sonne { position: absolute; left: 50%; width: clamp(140px, 18vw, 260px); aspect-ratio: 1; margin-left: calc(clamp(140px, 18vw, 260px) / -2); border-radius: 50%; background: radial-gradient(circle, #ffe7a8 0 40%, #f6b84d 62%, rgba(246, 184, 77, 0) 72%); filter: blur(.5px); }
.morgen .himmel-sonne { bottom: calc(-10% + var(--p) * 55%); }
.abend-band .himmel-sonne { left: 87%; bottom: calc(34% - var(--p) * 55%); }
.himmel-huegel { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 34%; }
.morgen .himmel-huegel path:first-child { fill: #c98a5a; opacity: .55; }
.morgen .himmel-huegel path:last-child { fill: var(--mehl); }
.abend-band .himmel-huegel path:first-child { fill: #3a1d1a; opacity: .7; }
.abend-band .himmel-huegel path:last-child { fill: var(--abend); }
.daemmerung-text { text-align: center; padding-block: 80px; text-shadow: 0 2px 24px rgba(40, 15, 10, .35); }
.daemmerung-text .zeitmarke { color: #fff2d4; justify-content: center; }
.daemmerung-text h2 { font-size: clamp(2.8rem, 7vw, 6rem); }
.daemmerung-text p:not(.zeitmarke) { font-size: clamp(1.05rem, 1.5vw, 1.25rem); margin-top: 1rem; font-weight: 400; }

/* Brot */
#brot { padding-top: clamp(40px, 6vw, 80px); }
.laufband { overflow: hidden; border-block: 1px solid var(--linie); padding: 14px 0; margin-bottom: clamp(40px, 5vw, 64px); }
.laufband div { display: flex; gap: 48px; width: max-content; animation: laufen 38s linear infinite; }
.laufband span { font: 800 clamp(1.4rem, 2.5vw, 2rem)/1 var(--serif); white-space: nowrap; display: flex; align-items: center; gap: 48px; }
.laufband span::after { content: ''; width: 10px; height: 10px; background: var(--gold); transform: rotate(45deg); }
@keyframes laufen { to { transform: translateX(-50%); } }
.brote { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.brot { background: var(--karte); border-radius: var(--r); overflow: hidden; padding-bottom: 20px; box-shadow: 0 1px 0 var(--linie); transition: transform .4s, box-shadow .4s; }
.brot:hover { transform: translateY(-6px); box-shadow: 0 22px 40px -22px rgba(80, 50, 10, .35); }
.brot img { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; margin-bottom: 18px; transition: transform .6s; }
.brot:hover img { transform: scale(1.04); }
.brot h3, .brot p { padding-inline: 20px; }
.brot p { color: var(--text-2); font-size: .94rem; margin-top: 6px; }
.brot:first-child { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; }
.brot:first-child img { aspect-ratio: auto; flex: 1; min-height: 0; }
.brot:first-child h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.brot-hell img { object-fit: contain; background: #fff; padding: 12%; }
.brote li:nth-child(2) { transition-delay: .06s; } .brote li:nth-child(3) { transition-delay: .12s; } .brote li:nth-child(4) { transition-delay: .18s; } .brote li:nth-child(5) { transition-delay: .24s; } .brote li:nth-child(6) { transition-delay: .3s; } .brote li:nth-child(7) { transition-delay: .36s; }
.hinweis { margin-top: 36px; display: flex; gap: .7em; align-items: center; justify-content: center; text-align: center; color: var(--text-2); }
.hinweis .i { color: var(--gold-tief); }

/* Markt */
.markt-raster { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.dienste { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dienste li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--karte); border-radius: 12px; font-size: .93rem; font-weight: 400; line-height: 1.35; }
.dienste .i { width: 26px; height: 26px; color: var(--gold-tief); }
.mosaik { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: auto auto; gap: 14px; }
.mosaik img { border-radius: var(--r); width: 100%; height: 100%; object-fit: cover; }
.mosaik .m1 { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.mosaik .m2, .mosaik .m3 { aspect-ratio: 4 / 3; }
.mosaik .adeg-marke { position: absolute; right: -14px; top: -26px; width: 168px; height: auto; background: #fff; padding: 14px 16px; border-radius: 14px; box-shadow: 0 16px 34px -16px rgba(0, 0, 0, .35); object-fit: contain; transform: rotate(3deg); }

.zeiten-raster { display: grid; grid-template-columns: .9fr 1.1fr; gap: 22px; margin-top: clamp(64px, 8vw, 110px); }
.zeiten-karte { background: var(--tinte); color: #f3ece0; --text: #f3ece0; --text-2: rgba(243, 236, 224, .72); border-radius: 22px; padding: clamp(26px, 3.5vw, 44px); }
.zeiten-karte h3 { display: flex; align-items: center; gap: .45em; color: #fff; }
.zeiten-karte h3 .i { color: var(--gold-hell); }
.zeiten { width: 100%; border-collapse: collapse; font-size: 1rem; }
.zeiten th, .zeiten td { text-align: left; padding: 11px 0; border-bottom: 1px solid rgba(243, 236, 224, .12); font-weight: 400; }
.zeiten td { text-align: right; font-variant-numeric: tabular-nums; color: rgba(243, 236, 224, .82); }
.zeiten tr.heute th, .zeiten tr.heute td { color: var(--gold-hell); font-weight: 600; }
.zeiten tr.heute th::after { content: ' · heute'; font-weight: 400; font-size: .8rem; }
.zeiten-karte .klein { margin-top: 14px; }
.zeiten-bild { margin: 0; position: relative; border-radius: 22px; overflow: hidden; min-height: 320px; }
.zeiten-bild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.zeiten-bild figcaption { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; gap: .5em; align-items: center; background: rgba(255, 250, 241, .95); color: var(--tinte); border-radius: 12px; padding: 12px 16px; font-size: .92rem; font-weight: 400; }
.zeiten-bild figcaption .i { color: var(--gold-tief); }

/* Zustellung */
#zustellung { padding-top: clamp(40px, 6vw, 70px); overflow: hidden; }
.strasse { position: relative; height: 120px; margin-bottom: clamp(30px, 5vw, 60px); --p: 0; }
.strasse::after { content: ''; position: absolute; left: 0; right: 0; bottom: 8px; height: 3px; background: repeating-linear-gradient(90deg, var(--tinte) 0 28px, transparent 28px 52px); opacity: .25; }
.bus { position: absolute; bottom: 10px; left: 0; width: 220px; height: auto; transform: translateX(calc(var(--p) * (100vw - 160px) - 220px)); }
.bus-koerper { fill: #fff; stroke: var(--tinte); stroke-width: 2.5; }
.bus-glas { fill: #3a4148; }
.bus-streifen { fill: var(--gold); }
.bus-schrift { font: 800 21px var(--serif); fill: var(--tinte); letter-spacing: .02em; }
.bus-klein { font: 500 7.4px var(--sans); fill: var(--tinte); letter-spacing: .3em; }
.rad circle { fill: #2b2724; } .rad .rad-nabe { fill: #c9c4bd; } .rad-speiche { stroke: #2b2724; stroke-width: 2.5; }
.rad { transform: rotate(calc(var(--p) * 2400deg)); }
.zustell-raster { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.schritte { list-style: none; padding: 0; margin: 2rem 0; display: grid; gap: 12px; }
.schritte li { display: flex; gap: 16px; align-items: flex-start; padding: 16px 18px; background: var(--karte); border-radius: 14px; }
.schritte .i { width: 30px; height: 30px; color: var(--gold-tief); margin-top: 2px; }
.schritte strong { color: var(--text); }
.schritte span { color: var(--text-2); }
.bestell-nummern { display: flex; flex-wrap: wrap; gap: 10px; }
.touren { display: grid; gap: 14px; }
.tour { position: relative; background: var(--tinte); color: #f3ece0; border-radius: 18px; padding: 24px 26px 24px 30px; overflow: hidden; }
.tour::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--gold); }
.tour h3 { color: var(--gold-hell); margin-bottom: 6px; }
.tour p { font-size: 1.02rem; color: rgba(243, 236, 224, .86); }
.tour.heute { outline: 2px solid var(--gold); }
.tour.heute h3::after { content: 'heute'; margin-left: 10px; vertical-align: middle; font: 500 .7rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; background: var(--gold); color: #1a1410; padding: 5px 8px; border-radius: 999px; }
.marke { display: inline-block; margin-left: 6px; font-size: .78rem; padding: 3px 9px; border-radius: 999px; border: 1px solid rgba(243, 236, 224, .3); }

/* Feste */
#feste { padding-top: clamp(130px, 14vw, 190px); overflow: hidden; }
.lichterkette { position: absolute; top: 0; left: 0; width: 100%; height: 120px; overflow: visible; }
.kabel { fill: none; stroke: #4a3a30; stroke-width: 2; }
.birne { fill: #5a4630; transition: fill .3s, filter .3s; }
.lichter-an .birne { fill: #ffd27a; filter: drop-shadow(0 0 6px rgba(255, 200, 90, .95)) drop-shadow(0 0 16px rgba(255, 180, 60, .5)); transition-delay: var(--v, 0s); }
.feste-raster { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.feste-text h2 { font-size: clamp(2.6rem, 6vw, 5.2rem); }
.feste-bild { margin: 0; position: relative; padding-bottom: 60px; }
.feste-bild > img:first-child { border-radius: var(--r); aspect-ratio: 4 / 3; object-fit: cover; width: 88%; margin-left: auto; }
.feste-fass { position: absolute; left: 0; bottom: 0; width: 46%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; border: 6px solid var(--bg); }
.festliste-kopf { margin: clamp(70px, 9vw, 120px) 0 26px; }
.festliste-kopf p { color: var(--text-2); margin-top: 8px; }
.festliste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.festliste button { width: 100%; display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 12px 16px; background: var(--karte); color: var(--text); border: 1.5px solid var(--linie); border-radius: 14px; font: 400 .97rem/1.25 var(--sans); text-align: left; cursor: pointer; transition: background .25s, border-color .25s, transform .2s; }
.festliste button:hover { border-color: var(--gold); }
.festliste button:active { transform: scale(.98); }
.festliste button > .i:first-child { width: 28px; height: 28px; color: var(--gold-hell); }
.festliste button span { flex: 1; }
.festliste .haken { width: 22px; height: 22px; padding: 3px; border-radius: 50%; border: 1.5px solid var(--linie); stroke-width: 2.4; color: transparent; transition: all .25s; }
.festliste button[aria-pressed='true'] { background: var(--gold); border-color: var(--gold); color: #1a1410; }
.festliste button[aria-pressed='true'] > .i:first-child { color: #1a1410; }
.festliste button[aria-pressed='true'] .haken { background: #1a1410; border-color: #1a1410; color: var(--gold-hell); }
.feste-karten { display: grid; grid-template-columns: .8fr 1.2fr; gap: 22px; margin-top: 40px; }
.breze-karte, .jause-karte { background: var(--karte); border-radius: 22px; overflow: hidden; }
.breze-karte { position: relative; padding: clamp(26px, 3.5vw, 44px); }
.breze-karte h3 { font-size: clamp(1.8rem, 3vw, 2.5rem); color: var(--gold-hell); margin-bottom: 12px; }
.breze-karte p:not(.zeitmarke) { color: var(--text-2); max-width: 26em; }
.breze-gross { position: absolute; right: -30px; bottom: -40px; width: 220px; height: 220px; fill: none; stroke: var(--gold); stroke-width: 1.2; opacity: .22; stroke-linecap: round; }
.jause-karte { display: grid; grid-template-columns: 1.1fr 1fr; }
.jause-karte img { width: 100%; height: 100%; object-fit: cover; min-height: 240px; }
.jause-karte div { padding: clamp(24px, 3vw, 40px); align-self: center; }
.jause-karte p { color: var(--text-2); margin-top: 10px; }
.anfrage-raster { display: grid; grid-template-columns: 1.4fr .6fr; gap: 22px; margin-top: 22px; align-items: start; }
.anfrage { background: var(--karte); border-radius: 22px; padding: clamp(24px, 3.5vw, 44px); }
.anfrage h3 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.anfrage > .klein:first-of-type { margin: 6px 0 24px; }
.felder { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; margin-bottom: 18px; }
.felder label { display: flex; flex-direction: column; gap: 6px; font-size: .85rem; font-weight: 500; color: var(--text-2); }
.felder .breit { grid-column: 1 / -1; }
.felder input, .felder select, .felder textarea { font: 400 1rem/1.4 var(--sans); color: var(--text); background: var(--karte-2); border: 1.5px solid var(--linie); border-radius: 10px; padding: 12px 14px; min-height: 48px; width: 100%; color-scheme: dark; }
.felder textarea { resize: vertical; }
.felder input:focus, .felder select:focus, .felder textarea:focus { outline: none; border-color: var(--gold); }
.felder [aria-invalid='true'] { border-color: #e06a4f; }
.fehler { color: #ff9a80; min-height: 1.2em; margin-bottom: 10px; font-size: .92rem; }
.anfrage .klein:last-child { margin-top: 14px; }
.anfrage-seite { display: grid; gap: 22px; }
.anruf-karte { background: var(--gold); color: #1a1410; border-radius: 22px; padding: 28px; }
.anruf-karte .zeitmarke { color: #3d2a05; margin-bottom: 8px; }
.gross-nummer { display: block; font: 800 clamp(1.9rem, 2.6vw, 2.3rem)/1.05 var(--serif); text-decoration: none; margin-bottom: 8px; }
.plakat { margin: 0; }
.plakat img { border-radius: 10px; transform: rotate(-2.5deg); box-shadow: 0 24px 40px -18px rgba(0, 0, 0, .7); width: 78%; margin: 6px auto 20px; transition: transform .4s; }
.plakat:hover img { transform: rotate(0); }
.plakat figcaption { font-size: .92rem; color: var(--text-2); }
.plakat strong { color: var(--text); }

/* Familie */
.familie-raster { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.familie-bild { margin: 0; }
.familie-bild img { border-radius: var(--r); aspect-ratio: 4 / 3.4; object-fit: cover; width: 100%; }
blockquote { margin: 2rem 0 0; padding-left: 22px; border-left: 3px solid var(--gold); }
blockquote p { font: 700 clamp(1.3rem, 2vw, 1.65rem)/1.35 var(--serif); }
blockquote footer { margin-top: 12px; font-size: .9rem; color: var(--text-2); letter-spacing: .06em; }
.zeitleiste { list-style: none; padding: 0; margin: 2.2rem 0 0; display: grid; gap: 0; }
.zeitleiste li { display: grid; grid-template-columns: 4.2rem 1fr; gap: 14px; padding: 12px 0; border-top: 1px solid var(--linie); color: var(--text-2); font-size: .97rem; }
.zeitleiste b { font: 800 1.35rem/1.2 var(--serif); color: var(--gold-hell); }
.danke { margin-top: 1.8rem; color: var(--text-2); }
.danke strong { color: var(--text); }

/* Kontakt */
.kontakt-raster { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 30px; }
.kontakt-karte { display: flex; flex-direction: column; gap: 4px; padding: 26px 22px; background: var(--karte); border: 1px solid var(--linie); border-radius: 18px; text-decoration: none; transition: border-color .3s, transform .3s; }
.kontakt-karte:hover { border-color: var(--gold); transform: translateY(-4px); }
.kontakt-karte .i { width: 30px; height: 30px; color: var(--gold-hell); margin-bottom: 10px; }
.kontakt-karte small { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-2); }
.kontakt-karte strong { font: 800 1.35rem/1.2 var(--serif); overflow-wrap: anywhere; }
#kontakt .klein { margin-top: 10px; }

/* Fuß */
.fuss { padding: 64px 0 28px; border-top: 1px solid var(--linie); }
.fuss-raster { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; align-items: start; }
.fuss-marke { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.fuss .logo { width: 190px; height: auto; color: #fff; }
.fuss-adeg { width: 150px; background: #fff; padding: 10px 12px; border-radius: 10px; }
.fuss-adresse { font-style: normal; color: var(--text-2); font-size: .95rem; }
.fuss-adresse strong { color: var(--text); }
.fuss-adresse a { text-decoration: none; }
.fuss-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; font-size: .95rem; }
.fuss-nav a { text-decoration: none; color: var(--text-2); }
.fuss-nav a:hover { color: var(--gold-hell); }
.fuss-zeile { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--linie); font-size: .82rem; color: var(--text-2); }

/* Handy-Leiste */
.leiste { display: none; }

/* Impressum */
.seite-text { padding-top: calc(var(--kopf-h) + 60px); }
.seite-text .rahmen { max-width: 860px; }
.seite-text h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); margin-bottom: 30px; }
.seite-text h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin: 56px 0 18px; }
.seite-text h3 { font-size: 1.3rem; margin: 30px 0 8px; }
.seite-text p, .seite-text li, .seite-text dd { color: var(--text-2); }
.seite-text dl { display: grid; grid-template-columns: 13rem 1fr; gap: 8px 20px; margin: 0; }
.seite-text dt { font-weight: 500; }
.seite-text dd { margin: 0; }

/* ---------- Breiten ---------- */
@media (max-width: 1180px) {
  .kopf-status { display: none; }
}
@media (max-width: 1024px) {
  .kopf-nav { position: fixed; inset: var(--kopf-h) 0 auto; flex-direction: column; gap: 0; padding: 10px var(--rand) 24px; background: var(--nacht); color: #f3ece0; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s; box-shadow: 0 20px 30px rgba(0, 0, 0, .3); }
  .kopf-nav.offen { opacity: 1; transform: none; visibility: visible; }
  .kopf-nav a { font: 800 1.6rem/1 var(--serif); padding: 14px 0; border-bottom: 1px solid rgba(243, 236, 224, .1); }
  .kopf-menue { display: block; margin-left: 0; }
  .kopf-tel { margin-left: auto; }
  .brote { grid-template-columns: repeat(3, 1fr); }
  .brot:first-child { grid-column: span 2; grid-row: span 1; }
  .brot:first-child img { aspect-ratio: 16 / 10; flex: none; }
  .ablauf { grid-template-columns: repeat(2, 1fr); }
  .kontakt-raster { grid-template-columns: repeat(2, 1fr); }
  .anfrage-raster { grid-template-columns: 1fr; }
  .anfrage-seite { grid-template-columns: 1fr 1fr; align-items: start; }
  .fuss-raster { grid-template-columns: 1fr 1fr; }
  .fuss-marke { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .backstube-raster, .markt-raster, .zustell-raster, .feste-raster, .familie-raster, .zeiten-raster { grid-template-columns: 1fr; }
  .backstube-bild { aspect-ratio: 4 / 3; }
  .familie-bild { order: 2; }
  .feste-karten, .jause-karte { grid-template-columns: 1fr; }
  .mosaik .adeg-marke { right: 8px; top: -20px; width: 140px; }
  .zeiten-bild { min-height: 260px; }
}
@media (max-width: 720px) {
  :root { --kopf-h: 64px; }
  body { font-size: 1rem; padding-bottom: 64px; }
  .kopf .logo { height: 40px; }
  .kopf-tel span { display: none; }
  .kopf-tel { padding: 0; width: 44px; min-height: 44px; }
  .uhr { top: 13px; bottom: auto; left: 50%; z-index: 55; padding: 4px 12px 4px 4px; gap: 8px; translate: -50% 0; box-shadow: none; }
  .uhr-bogen { width: 30px; height: 30px; }
  .uhr-zeit { font-size: 1.1rem; }
  .uhr-ort { display: none; }
  .hero { justify-content: flex-end; }
  .hero-bild { width: 100%; height: 62%; bottom: auto; }
  .hero-bild img { -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent); mask-image: linear-gradient(180deg, #000 55%, transparent); object-position: 50% 20%; }
  .hero-inhalt { padding-top: 34vh; }
  .knoepfe .knopf { flex: 1 1 100%; }
  .tueren { grid-template-columns: 1fr; gap: 10px; }
  .tuer { min-height: 92px; }
  .fakten { grid-template-columns: 1fr 1fr; }
  .ablauf { grid-template-columns: 1fr 1fr; gap: 14px; }
  .ablauf p { font-size: .88rem; }
  .brote { grid-template-columns: 1fr 1fr; gap: 12px; }
  .brot { padding-bottom: 14px; }
  .brot h3, .brot p { padding-inline: 14px; }
  .brot h3 { font-size: 1.25rem; }
  .brot p { font-size: .85rem; }
  .brot:first-child { grid-column: 1 / -1; }
  .dienste { grid-template-columns: 1fr; }
  .mosaik { grid-template-columns: 1fr 1fr; gap: 10px; }
  .felder { grid-template-columns: 1fr; }
  .festliste { grid-template-columns: 1fr 1fr; gap: 8px; }
  .festliste button { min-height: 58px; padding: 10px 12px; gap: 9px; font-size: .88rem; }
  .festliste .haken { display: none; }
  .anfrage-seite { grid-template-columns: 1fr; }
  .kontakt-raster { grid-template-columns: 1fr; }
  .daemmerung { min-height: 62vh; }
  .strasse { height: 90px; }
  .bus { width: 160px; transform: translateX(calc(var(--p) * (100vw + 40px) - 170px)); }
  .fuss-raster { grid-template-columns: 1fr; }
  .seite-text dl { grid-template-columns: 1fr; gap: 2px; }
  .seite-text dd { margin-bottom: 10px; }
  .leiste { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--nacht); border-top: 1px solid rgba(243, 236, 224, .12); padding-bottom: env(safe-area-inset-bottom); }
  .leiste a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 9px 0 10px; font-size: .74rem; color: #f3ece0; text-decoration: none; }
  .leiste a:first-child { background: var(--gold); color: #1a1410; font-weight: 500; }
  .leiste .i { width: 22px; height: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .vorhang { display: none; }
  [data-zeige] { opacity: 1; transform: none; }
  .laufband div { animation: none; }
}
