/* Café Heidelberg – Demo-Entwurf
   Nacht-Hero mit Lichterkette, Scroll-Geschichte „Ein Tag im Heidelberg“, Tapas-Merkliste, Kreidetafel.
   Schriften lokal (Fraunces, Caveat – SIL OFL), keine externen Dienste. */

@font-face { font-family: "Fraunces"; src: url("../schriften/fraunces-latin-wght-normal.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../schriften/fraunces-latin-wght-italic.woff2") format("woff2"); font-weight: 300 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Caveat"; src: url("../schriften/caveat-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --nacht: #16100d;
  --espresso: #211915;
  --espresso-2: #2c221c;
  --ziegel: #b4492c;
  --ziegel-dunkel: #8e3720;
  --safran: #f2b544;
  --safran-dunkel: #d9952a;
  --creme: #f7efe3;
  --papier: #fffaf3;
  --sand: #ead8bd;
  --tafel: #1d2420;
  --text: #2a1d16;
  --text-leise: #6d5c4f;
  --hell: #fbf1e3;
  --hell-leise: #cdbba5;
  --linie: #dfcdb3;
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --kreide: "Caveat", "Bradley Hand", "Segoe Print", cursive;
  --rund: 18px;
  --schatten: 0 24px 50px -24px rgba(22, 16, 13, .6);
  --kopf-hoehe: 68px;
  --leiste-hoehe: 0px;
  --sanft: cubic-bezier(.2, .8, .2, 1);
}
@media (max-width: 899px) { :root { --leiste-hoehe: 62px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--kopf-hoehe) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 1.0625rem/1.6 var(--sans); color: var(--text); background: var(--creme); overflow-x: clip; padding-bottom: var(--leiste-hoehe); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--ziegel-dunkel); text-underline-offset: .18em; }
a:hover { color: var(--ziegel); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.05; margin: 0 0 .5em; letter-spacing: -.02em; font-variation-settings: "SOFT" 50; }
h2 { font-size: clamp(2.4rem, 7vw, 4.4rem); }
h3 { font-size: 1.4rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
figure { margin: 0; }
svg { flex: none; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--safran); outline-offset: 3px; border-radius: 6px; }

.huelle { width: min(1180px, 100% - 32px); margin-inline: auto; }
.huelle-schmal { width: min(760px, 100% - 32px); }
.kursiv { font-style: italic; font-weight: 400; }

.sprunglink { position: absolute; left: -999px; top: 0; background: var(--espresso); color: #fff; padding: .7em 1em; z-index: 100; }
.sprunglink:focus { left: 8px; top: 8px; }

/* Platzhalter / unbestätigt */
.platzhalter { background: #fff1a8; color: #3b3000; border-bottom: 2px dashed #c9a800; padding: 0 .25em; border-radius: 3px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.demo-band { margin: 0; background: #ffe66d; color: #2d2600; text-align: center; font-size: .85rem; padding: .45rem 1rem; position: relative; z-index: 60; }
.demo-band .platzhalter { background: #fff7c9; }

/* Knöpfe */
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 50px; padding: .75em 1.4em; border-radius: 999px; font: 650 1rem/1.2 var(--sans); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .25s, color .25s, transform .25s var(--sanft), box-shadow .25s; }
.knopf svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.knopf:hover { transform: translateY(-2px); }
.knopf:active { transform: translateY(0); }
.knopf-safran { background: var(--safran); color: var(--nacht); box-shadow: 0 10px 30px -10px rgba(242, 181, 68, .7); }
.knopf-safran:hover { background: #ffc85e; color: var(--nacht); box-shadow: 0 14px 34px -10px rgba(242, 181, 68, .9); }
.knopf-ziegel { background: var(--ziegel); color: #fffaf3; }
.knopf-ziegel:hover { background: var(--ziegel-dunkel); color: #fff; }
.knopf-hell { color: var(--hell); border-color: rgba(251, 241, 227, .55); }
.knopf-hell:hover { background: var(--hell); color: var(--nacht); border-color: var(--hell); }
.knopf-rahmen { background: transparent; color: var(--espresso); border-color: currentColor; }
.knopf-rahmen:hover { background: var(--espresso); color: var(--papier); border-color: var(--espresso); }
.knopf-reihe { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.8rem 0 1.3rem; }

.oberzeile { font: 700 .76rem/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ziegel); margin-bottom: 1rem; display: flex; align-items: center; gap: .7rem; }
.oberzeile::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.oberzeile-hell { color: var(--safran); }

/* Lichterketten (von JS als SVG erzeugt) */
[data-kette] svg { display: block; width: 100%; height: 100%; overflow: visible; }
.kette-draht { fill: none; stroke: #0c0806; stroke-width: 1.4; opacity: .9; }
.birne-glanz { opacity: 0; transition: opacity .5s ease; }
.birne-kern { fill: #6b5a43; transition: fill .4s ease; }
.birne.an .birne-glanz { opacity: 1; }
.birne.an .birne-kern { fill: #ffe6a6; }
.birne-fassung { fill: #0c0806; }
[data-kette="leuchten"] .birne .birne-glanz { animation: flackern 4s ease-in-out infinite; animation-delay: var(--v, 0s); }
@keyframes flackern { 0%, 100% { opacity: 1; } 45% { opacity: .75; } 50% { opacity: .95; } 70% { opacity: .82; } }

/* Kopf */
.kopf { position: sticky; top: 0; z-index: 50; background: rgba(22, 16, 13, .9); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); color: var(--hell); }
.kopf-innen { display: flex; align-items: center; gap: 1rem; min-height: var(--kopf-hoehe); }
.kopf-kette { position: absolute; left: 0; right: 0; bottom: -9px; height: 14px; pointer-events: none; }
.kopf-kette .kette-draht { stroke: rgba(251, 241, 227, .25); stroke-width: 1; }
.kopf-kette .birne-kern { fill: #4a3d2e; }
.kopf-kette .birne-fassung { fill: rgba(251, 241, 227, .35); }
.marke { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--hell); margin-right: auto; }
.marke:hover { color: #fff; }
.marke-zeichen { width: 40px; height: 40px; }
.marke-text { display: flex; flex-direction: column; line-height: 1.1; }
.marke-name { font: 600 1.35rem/1 var(--serif); letter-spacing: .14em; text-transform: uppercase; }
.marke-zusatz { font-size: .72rem; letter-spacing: .08em; color: var(--hell-leise); margin-top: .28rem; }
.menue-knopf { display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; padding: .4rem .95rem; border: 1.5px solid rgba(251, 241, 227, .5); border-radius: 999px; background: transparent; color: var(--hell); font-weight: 600; font-size: .95rem; cursor: pointer; }
.menue-knopf-strich, .menue-knopf-strich::before, .menue-knopf-strich::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .25s, background .25s; }
.menue-knopf-strich::before, .menue-knopf-strich::after { content: ""; position: absolute; left: 0; }
.menue-knopf-strich::before { top: -6px; } .menue-knopf-strich::after { top: 6px; }
.menue-knopf[aria-expanded="true"] .menue-knopf-strich { background: transparent; }
.menue-knopf[aria-expanded="true"] .menue-knopf-strich::before { transform: translateY(6px) rotate(45deg); }
.menue-knopf[aria-expanded="true"] .menue-knopf-strich::after { transform: translateY(-6px) rotate(-45deg); }
.hauptnav ul { list-style: none; margin: 0; padding: 0; }
.hauptnav a { display: block; text-decoration: none; color: var(--hell); font-weight: 600; }
.hauptnav a:hover { color: var(--safran); }
.kopf-aktion { display: none; }
@media (max-width: 899px) {
  .js .hauptnav { position: absolute; left: 0; right: 0; top: 100%; background: var(--nacht); padding: .8rem 16px 1.4rem; box-shadow: 0 30px 40px -20px rgba(0,0,0,.7); clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .4s var(--sanft), visibility 0s .4s; }
  .js .hauptnav.offen { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .45s var(--sanft); }
  .js .hauptnav a { font: 500 2rem/1.15 var(--serif); padding: .55rem .2rem; border-bottom: 1px solid rgba(255,255,255,.08); }
  .js .hauptnav li:nth-child(odd) a { font-style: italic; }
  html:not(.js) .menue-knopf { display: none; }
  html:not(.js) .kopf-innen { flex-wrap: wrap; }
  html:not(.js) .hauptnav ul { display: flex; flex-wrap: wrap; gap: .3rem 1rem; padding-bottom: .6rem; }
}
@media (min-width: 900px) {
  .menue-knopf { display: none; }
  .hauptnav ul { display: flex; gap: 1.8rem; }
  .hauptnav a { font-size: .97rem; padding: .4rem 0; position: relative; }
  .hauptnav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--safran); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--sanft); }
  .hauptnav a:hover::after, .hauptnav a.aktiv::after { transform: scaleX(1); }
  .kopf-aktion { display: inline-flex; min-height: 42px; padding: .5em 1.15em; font-size: .95rem; }
}

/* START – Nacht-Hero */
.start { position: relative; background: var(--nacht); color: var(--hell); overflow: hidden; padding: 6.2rem 0 5.5rem; min-height: calc(100svh - var(--kopf-hoehe)); display: flex; flex-direction: column; justify-content: center; isolation: isolate; }
.start-hintergrund { position: absolute; inset: -40px; z-index: -1; background:
    radial-gradient(60% 50% at 75% 30%, rgba(242, 181, 68, .28), transparent 70%),
    radial-gradient(50% 60% at 10% 90%, rgba(180, 73, 44, .35), transparent 70%),
    linear-gradient(180deg, rgba(22, 16, 13, .55), rgba(22, 16, 13, .92)),
    url("../bilder/terrasse-unscharf.webp") center 30% / cover no-repeat;
  filter: saturate(1.15); }
.start-kette { position: absolute; top: 0; left: 0; right: 0; height: 96px; }
.start-raster { display: grid; gap: 3rem; align-items: center; position: relative; }
.start-titel { font-size: clamp(3rem, 12.5vw, 6.6rem); line-height: .95; margin-bottom: .35em; font-weight: 600; letter-spacing: -.035em; }
.start-titel .zeile { display: block; }
.start-titel .kursiv { color: var(--safran); font-weight: 400; }
.js .start-titel .wort { display: inline-block; opacity: 0; transform: translateY(.55em) rotate(4deg); animation: wortRein .95s var(--sanft) forwards; animation-delay: calc(.15s + var(--i, 0) * 95ms); }
@keyframes wortRein { to { opacity: 1; transform: none; } }
.start-lust { font: 400 clamp(1.35rem, 4.2vw, 1.9rem)/1.3 var(--serif); margin-bottom: .9rem; color: var(--hell); }
.wechselwort { display: inline-block; font-style: italic; color: var(--safran); position: relative; transition: opacity .35s, transform .35s var(--sanft); }
.wechselwort::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.08em; height: .12em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 4'%3E%3Cpath d='M0 2q5-3 10 0t10 0' fill='none' stroke='%23f2b544' stroke-width='1.4'/%3E%3C/svg%3E") repeat-x 0 0 / .9em 100%; }
.wechselwort.raus { opacity: 0; transform: translateY(-.4em); }
.start-lead { font-size: 1.1rem; color: var(--hell-leise); max-width: 33em; }
.heute { display: inline-flex; align-items: center; gap: .6rem; margin: 0; font-size: .95rem; color: var(--hell-leise); }
.heute a { color: var(--safran); }
.heute-punkt { width: 10px; height: 10px; border-radius: 50%; background: var(--safran); box-shadow: 0 0 0 0 rgba(242, 181, 68, .6); animation: puls 2.4s infinite; }
@keyframes puls { 0% { box-shadow: 0 0 0 0 rgba(242, 181, 68, .55); } 70% { box-shadow: 0 0 0 12px rgba(242, 181, 68, 0); } 100% { box-shadow: 0 0 0 0 rgba(242, 181, 68, 0); } }

.start-stapel { position: relative; width: min(100%, 470px); aspect-ratio: 1 / 1.02; margin-inline: auto; --mx: 0; --my: 0; }
.stapel-foto { position: absolute; border-radius: var(--rund); overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8); border: 6px solid #fff6e8; transition: transform .6s var(--sanft); background: var(--espresso-2); }
.stapel-foto img { width: 100%; height: 100%; object-fit: cover; }
.stapel-mitte { width: 54%; aspect-ratio: 3 / 4; left: 23%; top: 2%; z-index: 2; border-radius: 999px 999px var(--rund) var(--rund); transform: translate3d(calc(var(--mx) * 10px), calc(var(--my) * 10px), 0); }
.stapel-links { width: 44%; aspect-ratio: 3 / 4; left: 0; top: 30%; z-index: 1; transform: translate3d(calc(var(--mx) * 22px), calc(var(--my) * 18px), 0) rotate(-9deg); }
.stapel-rechts { width: 42%; aspect-ratio: 3 / 4; right: 0; top: 40%; z-index: 3; transform: translate3d(calc(var(--mx) * 30px), calc(var(--my) * 24px), 0) rotate(7deg); }
.js .stapel-foto { opacity: 0; animation: stapelRein 1.1s var(--sanft) forwards; }
.js .stapel-mitte { animation-delay: .35s; } .js .stapel-links { animation-delay: .55s; } .js .stapel-rechts { animation-delay: .75s; }
@keyframes stapelRein { from { opacity: 0; translate: 0 60px; } to { opacity: 1; translate: 0 0; } }
.stapel-stempel { position: absolute; z-index: 4; left: 2%; top: 4%; margin: 0; width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; background: var(--ziegel); color: #fff3e0; font: italic 600 1.5rem/1 var(--serif); transform: rotate(-14deg); box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .7); outline: 2px dashed rgba(255, 243, 224, .55); outline-offset: -9px; animation: wackeln 6s ease-in-out infinite; }
@keyframes wackeln { 0%, 100% { transform: rotate(-14deg); } 50% { transform: rotate(-6deg) scale(1.04); } }
.start-weiter { position: absolute; left: 50%; bottom: 1.4rem; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: .35rem; color: var(--hell-leise); text-decoration: none; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.start-weiter svg { width: 22px; height: 22px; fill: none; stroke: var(--safran); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; animation: hops 1.8s ease-in-out infinite; }
.start-weiter:hover { color: var(--safran); }
@keyframes hops { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
@media (min-width: 900px) {
  .start { padding: 7rem 0 6rem; }
  .start-raster { grid-template-columns: 1.15fr .85fr; gap: 3.5rem; }
}
@media (max-width: 899px) { .start-weiter { display: none; } .start { padding-bottom: 4rem; } .start-stapel { width: min(92%, 400px); } .stapel-stempel { width: 78px; height: 78px; font-size: 1.2rem; } }

/* Laufband */
.laufband { background: var(--safran); color: var(--nacht); overflow: hidden; padding: .9rem 0; border-block: 2px solid var(--nacht); }
.laufband-spur { display: flex; width: max-content; gap: 1.6rem; align-items: center; animation: laufen 38s linear infinite; }
.laufband span { font: italic 500 clamp(1.5rem, 4vw, 2.3rem)/1 var(--serif); white-space: nowrap; }
.laufband i { font-style: normal; font-size: 1rem; color: var(--ziegel-dunkel); }
@keyframes laufen { to { transform: translateX(-50%); } }

/* DER TAG – Grundzustand (ohne JS oder bei reduzierter Bewegung) */
.tag { background: var(--papier); padding: 4.5rem 0; }
.tag-kopf h2 { margin-bottom: .6em; }
.tag-phasen { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: 1rem; }
.phase { background: var(--creme); border-radius: var(--rund); padding: 1.3rem 1.3rem 1.1rem; }
.phase-wort { font: italic 500 2rem/1 var(--serif); color: var(--ziegel); margin-bottom: .4rem; }
.phase h3 { margin-bottom: .3em; }
.phase p:last-child { margin: 0; }
.tag-bilder { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; }
.tag-bild { border-radius: var(--rund); overflow: hidden; aspect-ratio: 3 / 4; }
.tag-bild img { width: 100%; height: 100%; object-fit: cover; }
.himmel, .tag-leiste { display: none; }
@media (min-width: 900px) { .tag-phasen { grid-template-columns: repeat(4, 1fr); } .tag-bilder { grid-template-columns: repeat(4, 1fr); } }

/* DER TAG – Scroll-Geschichte (von JS aktiviert) */
.tag.geschichte { padding: 0; height: 440svh; background: var(--nacht); --p: 0; --nacht-anteil: 0; }
.geschichte .tag-buehne { position: sticky; top: var(--kopf-hoehe); height: calc(100svh - var(--kopf-hoehe) - var(--leiste-hoehe)); overflow: hidden; background: var(--himmel, #f8ecd6); color: var(--text); transition: color .6s ease; isolation: isolate; }
.geschichte[data-hell] .tag-buehne { color: var(--hell); }
.geschichte .himmel { display: block; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.sonne { position: absolute; width: 130px; height: 130px; margin: -65px 0 0 -65px; left: var(--sx, 10%); top: var(--sy, 70%); border-radius: 50%; background: radial-gradient(circle, #fff6d6 0 28%, #ffd36b 36%, rgba(255, 196, 80, .45) 52%, rgba(255, 180, 60, 0) 70%); opacity: var(--sonne-sicht, 1); }
.mond { position: absolute; right: 14%; top: 16%; width: 54px; height: 54px; border-radius: 50%; box-shadow: 14px -8px 0 0 #f6e7c4; opacity: var(--nacht-anteil); transform: translateY(calc((1 - var(--nacht-anteil)) * 40px)); filter: drop-shadow(0 0 18px rgba(246, 231, 196, .45)); }
.sterne { position: absolute; inset: 0; opacity: var(--nacht-anteil); background-image:
  radial-gradient(1.5px 1.5px at 12% 18%, #fff 50%, transparent 52%), radial-gradient(1px 1px at 26% 9%, #fff 50%, transparent 52%),
  radial-gradient(1.5px 1.5px at 41% 22%, #fff 50%, transparent 52%), radial-gradient(1px 1px at 57% 12%, #fff 50%, transparent 52%),
  radial-gradient(1.5px 1.5px at 66% 28%, #fff 50%, transparent 52%), radial-gradient(1px 1px at 79% 8%, #fff 50%, transparent 52%),
  radial-gradient(1.5px 1.5px at 92% 24%, #fff 50%, transparent 52%), radial-gradient(1px 1px at 7% 36%, #fff 50%, transparent 52%),
  radial-gradient(1px 1px at 34% 33%, #fff 50%, transparent 52%), radial-gradient(1.5px 1.5px at 51% 40%, #fff 50%, transparent 52%); }
.himmel-kette { position: absolute; left: 0; right: 0; top: 0; height: 56px; opacity: var(--nacht-anteil); }
.geschichte .tag-raster { height: 100%; display: grid; grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr) auto auto; gap: .7rem; padding: 3.2rem 0 .9rem; }
.geschichte .tag-kopf h2 { font-size: clamp(1.6rem, 6vw, 3.6rem); margin: 0; }
.geschichte .tag-kopf .oberzeile { margin-bottom: .4rem; font-size: .68rem; }
.geschichte[data-hell] .oberzeile { color: var(--safran); }
.geschichte .tag-bilder { display: block; position: relative; min-height: 0; grid-row: 2; }
.geschichte .tag-bild { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 22px; box-shadow: var(--schatten); opacity: 0; transform: scale(1.06) rotate(1.5deg); transition: opacity .7s ease, transform 1s var(--sanft); }
.geschichte .tag-bild.aktiv { opacity: 1; transform: none; }
.geschichte .tag-phasen { display: block; position: relative; margin: 0; min-height: 9.6rem; grid-row: 3; }
.geschichte .phase { position: absolute; inset: 0 0 auto 0; background: none; padding: 0; opacity: 0; transform: translateY(26px); transition: opacity .5s ease, transform .7s var(--sanft); pointer-events: none; }
.geschichte .phase.aktiv { opacity: 1; transform: none; pointer-events: auto; transition-delay: .12s; }
.geschichte .phase-wort { font-size: clamp(2.6rem, 11vw, 6.4rem); line-height: .95; margin-bottom: .2em; letter-spacing: -.03em; }
.geschichte[data-hell] .phase-wort { color: var(--safran); }
.geschichte .phase h3 { font-size: clamp(1.25rem, 3.2vw, 1.9rem); }
.geschichte .phase p:last-child { font-size: 1rem; max-width: 30em; opacity: .9; }
.geschichte .tag-leiste { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; grid-row: 4; border-top: 2px solid currentColor; opacity: .95; }
.tag-leiste-fuellung { position: absolute; left: 0; top: -2px; height: 2px; width: calc(var(--p) * 100%); background: var(--ziegel); }
.geschichte[data-hell] .tag-leiste-fuellung { background: var(--safran); }
.tag-leiste button { background: none; border: 0; color: inherit; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .7rem 0 .2rem; text-align: left; cursor: pointer; opacity: .55; transition: opacity .3s; min-height: 44px; }
.tag-leiste button.aktiv, .tag-leiste button:hover { opacity: 1; }
@media (min-width: 900px) {
  .geschichte .tag-raster { grid-template-columns: 1.05fr .95fr; grid-template-rows: auto 1fr auto; column-gap: 4rem; padding: 4.6rem 0 1.6rem; }
  .himmel-kette { height: 74px; }
  .geschichte .tag-kopf { grid-column: 1; grid-row: 1; }
  .geschichte .tag-phasen { grid-column: 1; grid-row: 2; align-self: center; min-height: 18rem; }
  .geschichte .tag-bilder { grid-column: 2; grid-row: 1 / 4; margin: 1.5rem 0; }
  .geschichte .tag-bild { border-radius: 260px 260px 22px 22px; }
  .geschichte .tag-leiste { grid-column: 1; grid-row: 3; }
  .tag-leiste button { font-size: .8rem; }
}

@media (max-width: 899px) { .geschichte .tag-kopf .oberzeile { display: none; } .geschichte .tag-leiste button { font-size: .62rem; letter-spacing: .01em; } }
@media (min-width: 600px) and (max-width: 899px) { .geschichte .tag-phasen { min-height: 13rem; } .geschichte .tag-leiste button { font-size: .74rem; } }

/* KARTE */
.abschnitt { padding: 4.8rem 0; }
@media (min-width: 900px) { .abschnitt { padding: 7rem 0; } }
.abschnitt-kopf { max-width: 660px; margin-bottom: 2.6rem; }
.abschnitt-kopf p:last-child { color: var(--text-leise); font-size: 1.08rem; }
.karte { background: var(--espresso); color: var(--hell); position: relative; padding-top: 6.5rem; }
.karte h2 { color: #fff7ea; }
.karte .abschnitt-kopf p:last-child { color: var(--hell-leise); }
.fliesen { position: absolute; top: 0; left: 0; right: 0; height: 44px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 44'%3E%3Crect width='44' height='44' fill='%23f7efe3'/%3E%3Cpath d='M22 4c3 7 3 11 0 18-3-7-3-11 0-18zM22 40c-3-7-3-11 0-18 3 7 3 11 0 18zM4 22c7-3 11-3 18 0-7 3-11 3-18 0zM40 22c-7 3-11 3-18 0 7-3 11-3 18 0z' fill='%23b4492c'/%3E%3Ccircle cx='22' cy='22' r='3.2' fill='%23f2b544'/%3E%3Cpath d='M0 0h7L0 7zM44 0h-7l7 7zM0 44h7l-7-7zM44 44h-7l7-7z' fill='%23214a6b'/%3E%3C/svg%3E") repeat-x 0 0 / 44px 44px; border-bottom: 3px solid var(--safran); }
.tapas-raster { display: grid; gap: .7rem; margin-bottom: 3rem; }
.tapa { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: .25rem; text-align: left; width: 100%; padding: 1.05rem 3.6rem 1.05rem 1.2rem; background: var(--espresso-2); color: var(--hell); border: 1px solid rgba(251, 241, 227, .1); border-radius: 16px; cursor: pointer; transition: background .3s, border-color .3s, transform .3s var(--sanft), box-shadow .3s; min-height: 76px; }
.tapa:hover { border-color: rgba(242, 181, 68, .6); transform: translateY(-3px); box-shadow: 0 18px 30px -18px rgba(0,0,0,.8); }
.tapa-name { font: 600 1.2rem/1.15 var(--serif); color: #fff7ea; }
.tapa-info { font-size: .9rem; color: var(--hell-leise); }
.tapa-plus { position: absolute; right: 1rem; top: 50%; width: 34px; height: 34px; margin-top: -17px; border-radius: 50%; border: 1.5px solid rgba(242, 181, 68, .7); transition: transform .4s var(--sanft), background .3s; }
.tapa-plus::before, .tapa-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; background: var(--safran); border-radius: 2px; transition: transform .4s var(--sanft), width .3s, background .3s; }
.tapa-plus::after { transform: rotate(90deg); }
.tapa[aria-pressed="true"] { background: var(--safran); border-color: var(--safran); }
.tapa[aria-pressed="true"] .tapa-name { color: var(--nacht); }
.tapa[aria-pressed="true"] .tapa-info { color: #5a3b14; }
.tapa[aria-pressed="true"] .tapa-plus { background: var(--nacht); border-color: var(--nacht); transform: rotate(360deg); }
.tapa[aria-pressed="true"] .tapa-plus::before { width: 7px; transform: translate(-3px, 3px) rotate(45deg); }
.tapa[aria-pressed="true"] .tapa-plus::after { width: 13px; transform: translate(2px, 0) rotate(-50deg); }
.tapa.hupf { animation: hupf .45s var(--sanft); }
@keyframes hupf { 40% { transform: scale(1.04); } }
@media (min-width: 600px) { .tapas-raster { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .tapas-raster { grid-template-columns: repeat(5, 1fr); } .tapa { min-height: 150px; padding: 1.2rem 1.2rem 3.6rem; justify-content: flex-start; } .tapa-plus { top: auto; bottom: 1rem; left: 1.2rem; right: auto; margin: 0; } }

.karte-unten { display: grid; gap: 1.4rem; }
.karte-block { background: var(--espresso-2); border: 1px solid rgba(251, 241, 227, .08); border-radius: var(--rund); padding: 1.6rem 1.4rem; }
.karte-block h3 { font-size: 1.7rem; font-style: italic; font-weight: 500; color: var(--safran); border-bottom: 1px solid rgba(242, 181, 68, .3); padding-bottom: .7rem; margin-bottom: .6rem; }
.gerichte { list-style: none; margin: 0; padding: 0; }
.gerichte li { display: flex; flex-direction: column; padding: .7rem 0; border-bottom: 1px dashed rgba(255, 255, 255, .1); }
.gerichte li:last-child { border-bottom: 0; }
.gericht { font: 600 1.15rem/1.3 var(--serif); color: #fff7ea; }
.gericht-info { font-size: .93rem; color: var(--hell-leise); }
.tafel { background: var(--tafel); color: #efeee8; border: 12px solid #5c3f2b; border-radius: 6px; padding: 1.6rem 1.3rem; box-shadow: inset 0 0 50px rgba(0, 0, 0, .6), var(--schatten); font-family: var(--kreide); text-align: center; background-image: radial-gradient(rgba(255,255,255,.035) 1px, transparent 1px), radial-gradient(ellipse at 30% 20%, rgba(255,255,255,.06), transparent 60%); background-size: 5px 5px, 100% 100%; }
.tafel h3 { font: 700 2.7rem/1 var(--kreide); color: #fff; letter-spacing: 0; margin-bottom: .7rem; display: inline-block; border-bottom: 2px solid rgba(255,255,255,.75); padding-bottom: .1em; }
.tafel-oben { font-size: 1.4rem; color: #ffd38a; margin-bottom: .2rem; }
.tafel-liste { list-style: none; margin: .8rem 0 1rem; padding: 0; font-size: 1.55rem; line-height: 1.2; }
.tafel-liste li { padding: .3rem 0; }
.tafel-liste li + li { border-top: 1px dashed rgba(255,255,255,.18); }
.tafel-gruss { margin: 0 0 .6rem; font-size: 1.8rem; color: #ffd38a; transform: rotate(-3deg); }
.tafel-klein { margin: 0; font: .82rem/1.4 var(--sans); color: #a9aaa0; }
.js .tafel [data-kreide-zeile] { clip-path: inset(-10% 100% -10% 0); transition: clip-path 1.1s steps(18, end); transition-delay: var(--kd, 0s); }
.js .tafel.geschrieben [data-kreide-zeile] { clip-path: inset(-10% 0 -10% 0); }
.karte-hinweis { margin: 2.2rem 0 0; color: var(--hell-leise); }
@media (min-width: 760px) { .karte-unten { grid-template-columns: 1fr 1fr; } .tafel { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .karte-unten { grid-template-columns: 1fr 1fr 1.05fr; align-items: start; } .tafel { grid-column: auto; transform: rotate(1.5deg); margin-top: -.6rem; } }

.tapas-tisch { position: fixed; z-index: 55; left: 50%; bottom: calc(var(--leiste-hoehe) + 14px); display: flex; align-items: center; gap: 1rem; width: max-content; max-width: calc(100% - 24px); padding: .55rem .55rem .55rem 1.3rem; background: rgba(22, 16, 13, .94); color: var(--hell); border: 1px solid rgba(242, 181, 68, .45); border-radius: 999px; box-shadow: 0 20px 40px -12px rgba(0,0,0,.6); transform: translate(-50%, 160%); visibility: hidden; transition: transform .5s var(--sanft), visibility 0s .5s; }
.tapas-tisch.sichtbar { transform: translate(-50%, 0); visibility: visible; transition: transform .5s var(--sanft); }
.tapas-tisch p { margin: 0; font-size: .95rem; line-height: 1.25; }
.tapas-tisch strong { color: var(--safran); }
.tapas-tisch .knopf { min-height: 44px; padding: .5em 1.1em; font-size: .92rem; white-space: nowrap; }
.tapas-tisch-klein { color: var(--hell-leise); font-size: .85rem; }
@media (max-width: 560px) { .tapas-tisch-klein { display: none; } }

/* ÜBER UNS */
.ueber { background: var(--creme); }
.ueber-kopf { display: grid; gap: 1.5rem; margin-bottom: 3rem; align-items: end; }
.ueber-kopf h2 { margin: 0; }
.ueber-kopf .kursiv { color: var(--ziegel); }
.ueber-zitat { margin: 0; position: relative; padding-left: 2.6rem; font: italic 400 clamp(1.25rem, 2.6vw, 1.65rem)/1.4 var(--serif); color: var(--espresso); }
.ueber-zitat::before { content: "„"; position: absolute; left: -.2rem; top: -1.6rem; font-size: 5rem; line-height: 1; color: var(--safran); font-style: normal; }
.ueber-zitat p { margin: 0; }
.orte { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.ort { position: relative; border-radius: var(--rund); overflow: hidden; box-shadow: var(--schatten); aspect-ratio: 3 / 4; background: var(--sand); }
.ort img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--sanft); }
.ort:hover img { transform: scale(1.06); }
.ort figcaption { position: absolute; inset: auto 0 0 0; padding: 3rem 1rem .9rem; background: linear-gradient(transparent, rgba(22, 16, 13, .88)); color: #fff6e8; display: flex; flex-direction: column; gap: .1rem; }
.ort figcaption strong { font: italic 500 1.35rem/1.1 var(--serif); }
.ort figcaption span { font-size: .85rem; color: #e7d6bd; }
.ort-terrasse { grid-column: 1 / -1; aspect-ratio: 1200 / 470; }
.ort-terrasse figcaption strong { font-size: 1.6rem; }
.ort-text { grid-column: 1 / -1; padding: .6rem 0 0; }
.ort-text p:first-child { font-size: 1.1rem; }
.ueber-sozial { font-size: .97rem; color: var(--text-leise); margin: 0; }
@media (min-width: 900px) {
  .ueber-kopf { grid-template-columns: .9fr 1.1fr; gap: 4rem; }
  .orte { grid-template-columns: 1fr 1fr 1.1fr; gap: 1.2rem; }
  .ort-terrasse { grid-column: 1 / -1; }
  .ort-text { grid-column: auto; align-self: center; padding: 0 0 0 1rem; }
  .ort-terrasse figcaption { padding: 4rem 1.6rem 1.4rem; }
  .ort-terrasse figcaption strong { font-size: 2.2rem; }
}

/* EINBLICKE – Filmstreifen */
.einblicke { background: var(--papier); overflow: hidden; }
.einblicke-kopf { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 2rem; }
.einblicke-kopf h2 { margin: 0; }
.streifen-pfeile { display: flex; gap: .5rem; }
.streifen-pfeil { width: 50px; height: 50px; border-radius: 50%; border: 1.5px solid var(--espresso); background: transparent; color: var(--espresso); cursor: pointer; display: grid; place-items: center; transition: background .25s, color .25s; }
.streifen-pfeil:hover { background: var(--espresso); color: var(--papier); }
.streifen-pfeil svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.streifen { list-style: none; margin: 0; display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .5rem max(16px, calc((100% - 1180px) / 2)) 1.4rem; scroll-padding-inline: max(16px, calc((100% - 1180px) / 2)); scrollbar-width: thin; scrollbar-color: var(--ziegel) transparent; }
.streifen li { flex: none; scroll-snap-align: start; height: clamp(280px, 52vw, 460px); aspect-ratio: 3 / 4; }
.streifen li.streifen-breit { aspect-ratio: 1200 / 470; }
.galerie-knopf { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: var(--sand); border-radius: var(--rund); overflow: hidden; cursor: zoom-in; }
.galerie-knopf img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--sanft); }
.galerie-knopf:hover img { transform: scale(1.05); }
@media (max-width: 640px) { .streifen-pfeile { display: none; } .streifen li.streifen-breit { aspect-ratio: 4 / 5; } .streifen li.streifen-breit img { object-position: 30% center; } }

.grossansicht { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; margin: 0; }
.grossansicht[open] { display: flex; align-items: center; justify-content: center; flex-direction: column; animation: aufblenden .3s ease; }
@keyframes aufblenden { from { opacity: 0; } }
.grossansicht::backdrop { background: rgba(12, 8, 6, .94); }
.grossansicht img { max-width: min(92vw, 1000px); max-height: 80vh; width: auto; height: auto; border-radius: 10px; }
.grossansicht-text { color: #e9dccb; margin: .8rem 1rem 0; text-align: center; font-size: .95rem; max-width: 40em; }
.grossansicht button { position: fixed; background: rgba(255, 250, 243, .14); color: #fff; border: 0; width: 52px; height: 52px; border-radius: 50%; font-size: 2rem; line-height: 1; cursor: pointer; }
.grossansicht button:hover { background: rgba(255, 250, 243, .28); }
.grossansicht-zu { top: 14px; right: 14px; }
.grossansicht-pfeil { top: 50%; transform: translateY(-50%); }
.grossansicht-zurueck { left: 10px; } .grossansicht-weiter { right: 10px; }
@media (max-width: 640px) { .grossansicht-pfeil { top: auto; bottom: 18px; transform: none; } .grossansicht-zurueck { left: calc(50% - 64px); } .grossansicht-weiter { right: calc(50% - 64px); } }

/* KONTAKT */
.kontakt { background: var(--creme); }
.kontakt h2 .kursiv { color: var(--ziegel); }
.kontakt-raster { display: grid; gap: 2.2rem; }
.kontakt-adresse { font-style: normal; font-size: 1.15rem; line-height: 1.5; margin-bottom: 1.3rem; }
.kontakt-adresse strong { font: 600 1.6rem/1.2 var(--serif); }
.kontakt-wege { list-style: none; margin: 0 0 2.2rem; padding: 0; display: grid; gap: .55rem; }
.kontakt-wege a { display: flex; align-items: center; gap: .85rem; min-height: 54px; padding: .6rem 1rem; background: var(--papier); border: 1px solid var(--linie); border-radius: 14px; text-decoration: none; color: var(--espresso); font-weight: 600; overflow-wrap: anywhere; transition: border-color .25s, transform .25s var(--sanft); }
.kontakt-wege a:hover { border-color: var(--ziegel); color: var(--ziegel-dunkel); transform: translateX(4px); }
.kontakt-wege svg { width: 22px; height: 22px; fill: none; stroke: var(--ziegel); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.zeiten h3 { margin-bottom: .7rem; font-size: 1.5rem; }
.zeiten-tabelle { width: 100%; border-collapse: collapse; font-size: 1rem; }
.zeiten-tabelle th, .zeiten-tabelle td { padding: .55rem .2rem; border-bottom: 1px solid var(--linie); text-align: left; font-weight: 400; }
.zeiten-tabelle td { text-align: right; font-variant-numeric: tabular-nums; }
.zeiten-tabelle tr.heute-zeile th, .zeiten-tabelle tr.heute-zeile td { font-weight: 700; color: var(--ziegel-dunkel); }
.zeiten-tabelle tr.heute-zeile th::after { content: " · heute"; font-weight: 400; font-size: .85em; }
.zeiten-tabelle.unbestaetigt { background: #fff7c9; outline: 2px dashed #c9a800; }
.zeiten-tabelle.unbestaetigt th { padding-left: .6rem; } .zeiten-tabelle.unbestaetigt td { padding-right: .6rem; }
.zeiten-hinweis { margin-top: .8rem; font-size: .9rem; }
.anfrage { background: var(--papier); border: 1px solid var(--linie); border-radius: 22px; padding: 1.6rem 1.2rem; box-shadow: var(--schatten); position: relative; }
.anfrage h3 { font-size: 2rem; }
.anfrage-einleitung { color: var(--text-leise); }
.feld { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1rem; min-width: 0; }
.feld > span, .feld legend { font-weight: 600; font-size: .93rem; }
.feld em { font-weight: 400; color: var(--text-leise); }
.feld input, .feld select, .feld textarea { width: 100%; min-height: 50px; padding: .65rem .85rem; border: 1.5px solid #cdb999; border-radius: 12px; background: #fff; font: inherit; color: var(--text); transition: border-color .2s, box-shadow .2s; }
.feld textarea { resize: vertical; min-height: 90px; }
.feld input:focus, .feld select:focus, .feld textarea:focus { border-color: var(--ziegel); outline: none; box-shadow: 0 0 0 4px rgba(180, 73, 44, .18); }
.feld [aria-invalid="true"] { border-color: #b3261e; background: #fff5f4; }
.feld-reihe { display: grid; gap: 0 1rem; }
.feld-wahl { border: 0; padding: 0; flex-direction: row; flex-wrap: wrap; gap: .5rem; }
.feld-wahl legend { margin-bottom: .45rem; padding: 0; width: 100%; }
.feld-wahl label { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: .4rem .95rem; border: 1.5px solid #cdb999; border-radius: 999px; background: #fff; cursor: pointer; transition: border-color .2s, background .2s; }
.feld-wahl label:has(input:checked) { border-color: var(--ziegel); background: #fbe9e2; }
.feld-wahl input { accent-color: var(--ziegel); width: 18px; height: 18px; margin: 0; }
.anfrage-tapas { background: #fff4dc; border: 1.5px dashed var(--safran-dunkel); border-radius: 14px; padding: .9rem 1rem; margin-bottom: 1rem; }
.anfrage-tapas p { margin: 0 0 .5rem; font-size: .93rem; }
.anfrage-tapas p span { color: var(--text-leise); }
.anfrage-tapas ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.anfrage-tapas li { background: var(--safran); color: var(--nacht); font-weight: 600; font-size: .88rem; padding: .3rem .75rem; border-radius: 999px; }
.anfrage-knoepfe { display: flex; flex-wrap: wrap; gap: .7rem; }
.anfrage-fehler { color: #b3261e; font-weight: 600; }
.anfrage-status { margin: .9rem 0 0; font-weight: 600; color: #2e6b2e; min-height: 1em; }
.anfrage-klein { font-size: .85rem; color: var(--text-leise); margin: .6rem 0 0; }
@media (min-width: 560px) { .feld-reihe { grid-template-columns: 1fr 1fr; } .feld-reihe-3 { grid-template-columns: 1.3fr 1fr 1fr; } }
@media (min-width: 900px) { .kontakt-raster { grid-template-columns: .85fr 1.15fr; gap: 4rem; align-items: start; } .anfrage { padding: 2.4rem 2.2rem; } }

/* Rechtliches */
.rechtliches { background: var(--papier); padding: 3.5rem 0; border-top: 1px solid var(--linie); }
.rechtliches h2 { font-size: 2rem; }
.rechtliches p { color: var(--text-leise); }
.rechtliches-klein { font-size: .85rem; }

/* Fuß */
.fuss { position: relative; background: var(--nacht); color: #d9cbb8; padding: 6rem 0 2.6rem; font-size: .97rem; overflow: hidden; }
.fuss-kette { position: absolute; top: 0; left: 0; right: 0; height: 80px; }
.fuss a { color: #fff3e0; }
.fuss a:hover { color: var(--safran); }
.fuss-gruss { font: italic 500 clamp(3.2rem, 13vw, 8.5rem)/1 var(--serif); color: var(--safran); letter-spacing: -.04em; margin: 0 0 2.5rem; }
.fuss-raster { display: grid; gap: 1.4rem; border-top: 1px solid rgba(251, 241, 227, .12); padding-top: 2rem; }
.fuss-marke { font: 600 1.5rem/1 var(--serif); letter-spacing: .16em; text-transform: uppercase; color: #fff7ea; margin-bottom: .7rem; }
.fuss-klein { font-size: .85rem; color: #a8977f; }
@media (min-width: 760px) { .fuss-raster { grid-template-columns: 1.4fr 1fr 1fr; } }

/* Aktionsleiste Handy */
.aktionsleiste { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--nacht); border-top: 1px solid rgba(255,255,255,.1); padding-bottom: env(safe-area-inset-bottom); }
.aktionsleiste a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .2rem; min-height: 62px; color: #f5e9d8; text-decoration: none; font: 600 .82rem var(--sans); }
.aktionsleiste a.hervor { background: var(--safran); color: var(--nacht); }
.aktionsleiste svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 900px) { .aktionsleiste { display: none; } }

/* Einblenden beim Scrollen */
.js .zeigen { opacity: 0; transform: translateY(34px); transition: opacity .9s ease, transform 1s var(--sanft); transition-delay: var(--zd, 0s); }
.js .zeigen.da { opacity: 1; transform: none; }

/* Weniger Bewegung */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .start-titel .wort, .js .stapel-foto, .js .zeigen { opacity: 1; transform: none; translate: none; }
  .stapel-links { transform: rotate(-9deg); } .stapel-rechts { transform: rotate(7deg); } .stapel-mitte { transform: none; }
  .laufband-spur { animation: none; }
  .js .tafel [data-kreide-zeile] { clip-path: none; }
}
