@font-face { font-family: "Young Serif"; src: url("assets/young-serif-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("assets/hanken-grotesk-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --creme: #f2e9da;
  --papier: #e8dcc6;
  --kaffee: #2a1c13;
  --braun: #6b4a33;
  --zimt: #a5532a;
  --butter: #f0d39a;
  --linie: rgba(42, 28, 19, .16);
  --serif: "Young Serif", Georgia, serif;
  --sans: "Hanken Grotesk", system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { background: var(--creme); color: var(--kaffee); font-family: var(--sans); font-size: 17px; line-height: 1.6; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--zimt); outline-offset: 3px; }
em { font-style: normal; color: var(--zimt); }

/* ---------- Kopf ---------- */
.kopf {
  position: fixed; inset: 0 0 auto; z-index: 30; display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(16px, 4vw, 56px); color: var(--creme); mix-blend-mode: difference;
}
.marke { font-family: var(--serif); font-size: 28px; text-decoration: none; letter-spacing: -.01em; }
.kopf nav { display: flex; gap: 26px; font-size: 14px; letter-spacing: .04em; }
.kopf nav a { text-decoration: none; }
.kopf nav a:hover { text-decoration: underline; text-underline-offset: 5px; }

/* ---------- Auftakt mit Dampf ---------- */
.auftakt { position: relative; height: 100vh; min-height: 560px; overflow: hidden; background: #140d09; color: var(--creme); }
.auftakt-bild { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dampf { position: absolute; inset: 0; width: 100%; height: 100%; mix-blend-mode: screen; }
.auftakt-text { position: absolute; left: clamp(16px, 5vw, 80px); top: 50%; transform: translateY(-46%); max-width: 560px; pointer-events: none; }
.ort { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; opacity: .7; margin-bottom: 26px; }
.auftakt h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(64px, 9vw, 150px); line-height: .92; letter-spacing: -.03em; }
.auftakt h1 em { color: var(--butter); }
.unter { font-size: clamp(17px, 1.4vw, 20px); margin-top: 28px; max-width: 26em; opacity: .9; }
.pusten { margin-top: 30px; font-size: 13px; letter-spacing: .08em; color: var(--butter); }

/* ---------- Tag mit Fensterlicht ---------- */
.tag { height: 340vh; position: relative; background: #ddcdb2; }
.tag-buehne { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding: 90px clamp(16px, 5vw, 80px) 50px; }
.sonne {
  position: absolute; left: 0; top: 50%; width: 44vw; height: 66vh; margin: -33vh 0 0 -22vw;
  display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1.2fr 1fr; gap: 2.4vw;
  filter: blur(12px); pointer-events: none; will-change: transform;
}
.sonne span { background: var(--licht, #fff0d2); opacity: .82; }
.tag-titel { position: relative; font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.6vw, 56px); line-height: 1.1; letter-spacing: -.02em; max-width: 22em; margin-bottom: 7vh; }
.tag-titel span { color: var(--zimt); }
.zeiten { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 4vw, 60px); }
.zeit { opacity: var(--hell, .4); transition: opacity .2s linear; }
.zeit h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3vw, 48px); letter-spacing: -.02em; line-height: 1; }
.von { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--braun); margin: 10px 0 18px; }
.zeit ul { list-style: none; border-top: 1px solid var(--linie); }
.zeit li { padding: 10px 0; border-bottom: 1px solid var(--linie); }

/* ---------- Faltkarte ---------- */
.karte-teil { height: 300vh; position: relative; background: var(--creme); }
.karte-buehne { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 80px 16px 40px; }
.karte-titel { font-family: var(--serif); font-weight: 400; text-align: center; font-size: clamp(34px, 4vw, 64px); line-height: 1.02; letter-spacing: -.02em; margin-bottom: 5vh; }
.falt-raum { position: relative; width: 100%; flex: 1; perspective: 1800px; }
.falt {
  --w: 250px; --h: 370px;
  position: absolute; left: 50%; top: 50%; width: var(--w); height: var(--h);
  transform-style: preserve-3d; transform-origin: 0 0;
}
.blatt { position: absolute; left: 0; top: 0; width: var(--w); height: var(--h); transform-style: preserve-3d; transform-origin: left center; }
.blatt .blatt { left: 100%; }
.falt.senkrecht .blatt .blatt { left: 0; top: 100%; }
.falt.senkrecht .blatt { transform-origin: center top; }
.seite {
  position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  background: #fbf6ec; padding: 26px 22px 20px; display: flex; flex-direction: column;
  border: 1px solid rgba(42, 28, 19, .1);
}
.seite::after { content: ""; position: absolute; inset: 0; background: #3a2414; opacity: var(--schatten, 0); pointer-events: none; }
.hinten { transform: rotateY(180deg); background: #e9dcc4; display: grid; place-items: center; }
.falt.senkrecht .hinten { transform: rotateX(180deg); }
.hinten span { font-family: var(--serif); font-size: 44px; color: var(--zimt); }
.seite h3 { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1; margin-bottom: 18px; color: var(--zimt); }
.seite dl > div { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px dotted var(--linie); font-size: 15px; }
.seite dd { font-variant-numeric: tabular-nums; }
.fuss-zeile-blatt { margin-top: auto; font-size: 12px; color: var(--braun); }

/* ---------- Vitrine ---------- */
.vitrine-teil { padding: 12vh 0 10vh; background: #20150e; color: var(--creme); }
.vitrine-kopf { padding: 0 clamp(16px, 5vw, 80px); display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; margin-bottom: 30px; }
.vitrine-kopf h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 5vw, 80px); line-height: 1; letter-spacing: -.02em; }
.vitrine-kopf p { max-width: 26em; opacity: .75; }
.vitrine { position: relative; height: 74vh; min-height: 420px; overflow: hidden; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; }
.vitrine.zieht { cursor: grabbing; }
.vitrine-bahn { position: absolute; left: 0; top: 0; will-change: transform; }
.vitrine-bahn img { width: var(--bw, 2200px); max-width: none; height: auto; pointer-events: none; }
.glanz {
  position: absolute; inset: -20% -40%; pointer-events: none; mix-blend-mode: screen;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .13) 41%, rgba(255, 255, 255, .02) 46%, transparent 47%, transparent 53%, rgba(255, 255, 255, .08) 54%, transparent 57%);
}
.lupe {
  position: absolute; left: 0; top: 0; width: 230px; height: 230px; margin: -115px 0 0 -115px; border-radius: 50%;
  border: 2px solid rgba(255, 245, 225, .85); box-shadow: 0 18px 40px rgba(0, 0, 0, .5), inset 0 0 30px rgba(0, 0, 0, .35);
  background-repeat: no-repeat; opacity: 0; transform: scale(.6); transition: opacity .25s, transform .3s cubic-bezier(.2, .9, .3, 1.3);
  pointer-events: none;
}
.lupe.an { opacity: 1; transform: scale(1); }
.lupe-name {
  position: absolute; left: 50%; top: calc(100% + 10px); transform: translateX(-50%); white-space: nowrap;
  background: var(--creme); color: var(--kaffee); font-size: 14px; padding: 5px 12px; border-radius: 99px;
}
.lupe-name:empty { display: none; }
.vitrine-knoepfe { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 22px; padding: 0 16px; }
.vitrine-knoepfe button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(242, 233, 218, .4); background: none; cursor: pointer; font-size: 18px; }
.vitrine-knoepfe button:hover { background: var(--creme); color: var(--kaffee); }
.vitrine-ansage { min-width: 220px; text-align: center; font-family: var(--serif); font-size: 20px; }

/* ---------- Eingießen ---------- */
.giessen { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 80px); align-items: center; padding: 14vh clamp(16px, 5vw, 80px); background: #d9c8ab; }
.giess-text h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(42px, 5vw, 84px); line-height: 1; letter-spacing: -.02em; }
.giess-text p { margin-top: 22px; max-width: 28em; }
.giess-stand { font-family: var(--serif); font-size: 22px; color: var(--zimt); min-height: 1.5em; }
.giess-neu { margin-top: 18px; border: 1px solid var(--kaffee); background: none; padding: 10px 20px; border-radius: 99px; cursor: pointer; }
.giess-neu:hover { background: var(--kaffee); color: var(--creme); }
.giess-feld { position: relative; }
.giess-feld canvas { width: 100%; height: auto; aspect-ratio: 1; display: block; cursor: crosshair; touch-action: none; border-radius: 4px; box-shadow: 0 40px 60px -40px rgba(42, 28, 19, .6); }
.giess-knopf { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); border: 0; background: rgba(42, 28, 19, .82); color: var(--creme); padding: 10px 18px; border-radius: 99px; font-size: 14px; cursor: pointer; touch-action: none; }

/* ---------- Besuch ---------- */
.besuch { padding: 14vh clamp(16px, 5vw, 80px) 10vh; }
.besuch h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(42px, 5vw, 84px); line-height: 1; margin-bottom: 40px; }
.besuch-zeilen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; border-top: 1px solid var(--linie); padding-top: 26px; }
.besuch strong { font-weight: 600; }
.fuss { padding: 26px clamp(16px, 5vw, 80px) 36px; border-top: 1px solid var(--linie); font-size: 13px; color: var(--braun); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* ---------- Handy ---------- */
@media (max-width: 860px) {
  .kopf nav { display: none; }
  .auftakt-text { top: 92px; transform: none; right: 16px; }
  .auftakt h1 { font-size: 60px; }
  .ort { margin-bottom: 14px; }
  .unter { margin-top: 16px; }
  .auftakt-bild { object-position: 72% 50%; }
  .tag-buehne { justify-content: flex-start; padding-top: 90px; }
  .tag-titel { margin-bottom: 26px; }
  .zeiten { grid-template-columns: 1fr; gap: 14px; }
  .zeit ul { display: none; }
  .zeit h3 { font-size: 32px; }
  .zeit .von { margin: 4px 0 0; }
  .zeit.hell ul { display: block; margin-top: 10px; }
  .sonne { width: 90vw; height: 44vh; margin: -22vh 0 0 -45vw; }
  .falt { --w: min(340px, 86vw); --h: 186px; }
  .seite { padding: 14px 16px 10px; }
  .seite h3 { font-size: 22px; margin-bottom: 6px; }
  .seite dl > div { padding: 3px 0; font-size: 14px; }
  .fuss-zeile-blatt { display: none; }
  .karte-titel { margin-bottom: 2vh; }
  .vitrine { height: 62vh; }
  .lupe { width: 170px; height: 170px; margin: -85px 0 0 -85px; }
  .giessen { grid-template-columns: 1fr; }
  .besuch-zeilen { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01s !important; }
}

