/* Kaiseki Restaurant, Entwurf 4 "Tusche mit Bildrolle". Statisch, ohne Build. Bewusst nur dunkel: das Logo ist weiss auf Schwarz. */
@font-face { font-family: "Cormorant Garamond"; src: url("../gemeinsam/fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../gemeinsam/fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Geist"; src: url("../gemeinsam/fonts/geist-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  color-scheme: dark;
  --grund: #0a0a0b;
  --flaeche: #121213;
  --linie: #2b2b2d;
  --text: #ecebe8;
  --leise: #a5a5a1;
  --akzent: #e0503a; /* Zinnober, einzige Akzentfarbe */
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --zeichen: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", "Noto Serif CJK JP", serif;
  --rand: clamp(20px, 5vw, 76px);
  --breit: 1320px;
  --weich: cubic-bezier(0.16, 1, 0.3, 1);
  --kopf: 72px;
  /* Ebenen: 1 Inhalt, 20 Kopfzeile, 30 Sprunglink, 40 Korn */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: var(--kopf); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--grund); color: var(--text); font-family: var(--sans); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: clip; }
/* feines Korn, fest ueber allem, faengt keine Zeiger */
body::after { content: ""; position: fixed; inset: 0; z-index: 40; pointer-events: none; opacity: .07; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='k'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23k)'/%3E%3C/svg%3E"); }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, p, figure, dl, dd, ol, ul, blockquote { margin: 0; padding: 0; }
ol, ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 4px; }

.huelle { max-width: var(--breit); margin-inline: auto; padding-inline: var(--rand); }
.sprung { position: absolute; left: -9999px; }
.sprung:focus { left: 16px; top: 16px; z-index: 30; background: var(--text); color: var(--grund); padding: 10px 16px; }
.nur-vorlesen { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; text-wrap: balance; }
h2 { font-size: clamp(2.1rem, 4.6vw, 4rem); text-transform: uppercase; letter-spacing: .06em; }
.fliess { color: var(--leise); max-width: 56ch; }
section { position: relative; }
.abstand { padding-block: clamp(96px, 13vw, 190px); }

/* Knoepfe: durchgehend eckig */
.knopf { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; font: 500 .98rem/1 var(--sans); letter-spacing: .02em; text-decoration: none; white-space: nowrap; border: 1px solid var(--text); transition: background-color .25s var(--weich), color .25s var(--weich), border-color .25s var(--weich), transform .15s var(--weich); }
.knopf:active { transform: translateY(1px) scale(.99); }
.knopf.voll { background: var(--akzent); border-color: var(--akzent); color: var(--grund); }
.knopf.voll:hover { background: var(--text); border-color: var(--text); }
.knopf.leer { background: rgb(10 10 11 / .5); color: var(--text); }
.knopf.leer:hover { background: var(--text); color: var(--grund); }
.textlink { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: 7px; text-decoration-thickness: 1px; text-decoration-color: var(--akzent); transition: text-decoration-color .2s; }
.textlink:hover { text-decoration-color: var(--text); }
.reihe { display: flex; flex-wrap: wrap; gap: 12px; }

/* Kopfzeile */
.kopf { position: fixed; inset: 0 0 auto 0; z-index: 20; height: var(--kopf); }
.kopf::before { content: ""; position: absolute; inset: 0; background: rgb(10 10 11 / .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--linie); transition: opacity .4s var(--weich); }
.kopf .huelle { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 100%; }
.kopf .marke { display: flex; align-items: center; min-height: 44px; transition: opacity .4s var(--weich); }
.kopf .marke svg { width: 220px; height: auto; }
.kopf nav { display: flex; gap: 6px; }
.kopf nav a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 14px; font-size: .95rem; text-decoration: none; color: var(--leise); transition: color .2s; }
.kopf nav a:hover { color: var(--text); }
.kopf .knopf { min-height: 44px; padding: 0 20px; font-size: .92rem; }
/* Ueber dem Einstieg ist die Kopfzeile frei, das Logo steht dort gross */
.kopf.frei::before { opacity: 0; }
.kopf.frei .marke { opacity: 0; pointer-events: none; }

/* ============ Einstieg: Tusche ============ */
.start { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-rows: 1fr auto; overflow: hidden; padding-top: var(--kopf); }
.start .schein { position: absolute; left: 50%; top: 42%; width: 120vmax; height: 120vmax; margin: -60vmax 0 0 -60vmax; background: radial-gradient(closest-side, rgb(255 255 255 / .085), rgb(255 255 255 / .03) 38%, transparent 68%); pointer-events: none; }
.start .logo { position: relative; align-self: center; justify-self: center; width: min(58vw, 96vh, 900px); padding-block: 2vh; }
.start .logo svg { width: 100%; height: auto; overflow: visible; }
.start .fuss { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; padding-bottom: clamp(28px, 6vh, 64px); }
.start h1 { font-size: clamp(1.7rem, 2.6vw, 2.5rem); text-transform: uppercase; letter-spacing: .08em; }
.start .fuss p { color: var(--leise); margin-top: 10px; max-width: 46ch; }

.zug { stroke-dasharray: 1 1.3; stroke-dashoffset: 0; }
@media (prefers-reduced-motion: no-preference) {
  .zug { animation: zug var(--t) cubic-bezier(.45, .05, .3, 1) var(--d) both; }
  .satt { animation: ein .45s linear 1.95s both; }
  .start .schrift { animation: ein 1.1s var(--weich) .9s both; }
  .start .schein { animation: schein 2.6s var(--weich) .1s both; }
  .start .fuss > * { animation: hoch .9s var(--weich) both; }
  .start .fuss > :nth-child(1) { animation-delay: .75s; }
  .start .fuss > :nth-child(2) { animation-delay: .9s; }
  @keyframes zug { from { stroke-dashoffset: 1.08; } to { stroke-dashoffset: 0; } }
  @keyframes ein { from { opacity: 0; } to { opacity: 1; } }
  @keyframes hoch { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
  @keyframes schein { from { opacity: 0; transform: scale(.55); } to { opacity: 1; transform: none; } }
}

/* ============ Gang fuer Gang ============ */
/* Grundzustand (ohne Skript, reduzierte Bewegung): normale, lesbare Abfolge */
.gaenge { padding-block: clamp(96px, 13vw, 190px); }
.vorspann { max-width: var(--breit); margin-inline: auto; padding-inline: var(--rand); }
.vorspann .satz { font-family: var(--serif); font-size: clamp(1.9rem, 4.3vw, 3.9rem); line-height: 1.14; max-width: 21ch; margin-top: clamp(24px, 4vw, 48px); text-wrap: balance; }
.vorspann .satz em { font-style: italic; }
.vorspann .fliess { margin-top: 28px; max-width: 48ch; }
.vorspann h2 { font-family: var(--sans); font-size: .8rem; font-weight: 500; letter-spacing: .26em; color: var(--leise); }
.folge { max-width: var(--breit); margin: clamp(56px, 8vw, 110px) auto 0; padding-inline: var(--rand); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 6vw, 90px) clamp(24px, 5vw, 72px); }
.gang .licht { aspect-ratio: 1; -webkit-mask-image: radial-gradient(ellipse 50% 50% at var(--mx, 50%) var(--my, 50%), #000 34%, rgb(0 0 0 / .55) 62%, transparent 100%); mask-image: radial-gradient(ellipse 50% 50% at var(--mx, 50%) var(--my, 50%), #000 34%, rgb(0 0 0 / .55) 62%, transparent 100%); }
.gang .licht img { width: 100%; height: 100%; object-fit: cover; }
.gang .wort { position: relative; margin-top: -8%; }
.gang .ziffer { display: block; font-family: var(--zeichen); font-size: clamp(3rem, 6vw, 5rem); line-height: 1; color: var(--akzent); }
.gang h3 { font-size: clamp(1.7rem, 3vw, 2.6rem); text-transform: uppercase; letter-spacing: .06em; margin-top: 14px; }
.gang p { color: var(--leise); margin-top: 10px; max-width: 34ch; }
.zaehler { display: none; }
.abspann { max-width: var(--breit); margin: clamp(48px, 6vw, 80px) auto 0; padding-inline: var(--rand); }

/* Filmzustand: angeheftete Buehne mit Querfahrt (Bildrolle). Das Skript setzt .film nur bei erlaubter Bewegung
   und gibt dem Abschnitt seine Hoehe passend zur Laenge der Rolle. */
.strich { display: none; }
.film .gaenge { padding-block: 0; height: 700vh; }
.film .buehne { position: sticky; top: 0; height: 100vh; height: 100dvh; overflow: hidden; }
.film .vorspann { position: absolute; inset: 0; max-width: none; display: flex; flex-direction: column; justify-content: center; padding-inline: max(var(--rand), calc((100vw - var(--breit)) / 2 + var(--rand))); }
.film .bahn { position: absolute; left: 0; top: 0; height: 100%; width: max-content; will-change: transform; }
.film .folge { max-width: none; margin: 0; height: 100%; position: relative; z-index: 1; display: flex; gap: clamp(56px, 24vw, 380px); padding: 0 22vw 0 60vw; }
.film .gang { flex: none; height: 100%; display: grid; grid-template-columns: min(30vw, 400px) min(46vw, 78vh); align-items: center; gap: clamp(24px, 4vw, 64px); }
.film .gang .licht { order: 2; }
.film .gang .licht img { will-change: transform, opacity; }
.film .gang .wort { margin: 0; }
.film .gang .ziffer { font-size: clamp(6rem, 12vw, 11rem); }
.film .gang h3 { font-size: clamp(2rem, 3.4vw, 3.2rem); margin-top: 26px; }
.film .gang p { font-size: 1.08rem; margin-top: 16px; }
.film .gang { position: relative; z-index: 0; }
.film .strich { display: block; position: absolute; z-index: -1; left: var(--sl, 8%); bottom: 11.5vh; width: var(--sw, 60%); max-width: none; height: clamp(40px, 9vh, 80px); transform: rotate(var(--sr, 0deg)); color: var(--text); opacity: .86; overflow: visible; pointer-events: none; }
.film .strich .zug { stroke-dashoffset: 1; transition: stroke-dashoffset .25s ease-in; }
.film .gemalt .strich .zug { stroke-dashoffset: 0; transition: stroke-dashoffset .95s cubic-bezier(.5, 0, .2, 1) .12s; }
.strich .haar { stroke: var(--grund); opacity: .7; }
.film .zaehler { position: absolute; left: max(var(--rand), calc((100vw - var(--breit)) / 2 + var(--rand))); bottom: clamp(20px, 5vh, 48px); display: flex; align-items: center; gap: 2px; margin-left: -12px; }
.film .zaehler button { position: relative; width: 44px; height: 44px; font-family: var(--zeichen); font-size: 1.15rem; line-height: 1; color: var(--text); opacity: .38; transition: opacity .3s; }
.film .zaehler button::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 1px; background: var(--akzent); transform: scaleX(0); transition: transform .4s var(--weich); }
.film .zaehler button[aria-current="true"] { opacity: 1; }
.film .zaehler button[aria-current="true"]::after { transform: scaleX(1); }
.film .zaehler button:hover { opacity: 1; }
.film .abspann { position: absolute; right: max(var(--rand), calc((100vw - var(--breit)) / 2 + var(--rand))); bottom: clamp(20px, 5vh, 48px); margin: 0; padding: 0; }

/* ============ Kueche ============ */
.kueche .huelle { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.kueche .bild { position: sticky; top: calc(var(--kopf) + 32px); aspect-ratio: 4 / 5; overflow: hidden; }
.kueche .bild img { width: 100%; height: 100%; object-fit: cover; }
.kueche .fliess { margin-top: 22px; }
.gruppen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px clamp(24px, 4vw, 64px); margin-top: clamp(40px, 5vw, 72px); }
.gruppen h3 { font-family: var(--sans); font-size: .8rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--akzent); margin-bottom: 14px; }
.gruppen li { font-family: var(--serif); font-size: clamp(1.3rem, 1.9vw, 1.65rem); line-height: 1.35; }
.gruppen .neben { display: grid; gap: 48px; align-content: start; }
.kueche .weiter { margin-top: clamp(36px, 5vw, 64px); }

/* ============ Mittag ============ */
.mittag .band { position: relative; height: clamp(240px, 38vw, 520px); overflow: hidden; }
.mittag .band img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.mittag .band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, var(--grund), rgb(10 10 11 / .15) 30%, rgb(10 10 11 / .3) 60%, var(--grund)); }
.mittag .kopfteil { margin-top: clamp(-110px, -8vw, -48px); position: relative; }
.mittag .wann { color: var(--leise); margin-top: 14px; }
.preise { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 6vw, 96px); margin-top: clamp(40px, 6vw, 80px); }
.preise dt { font-family: var(--serif); font-size: clamp(4.2rem, 10.5vw, 9.5rem); line-height: .95; letter-spacing: -.01em; white-space: nowrap; }
.preise dt small { font-size: .34em; color: var(--akzent); margin-left: .18em; letter-spacing: 0; }
.preise dd { color: var(--leise); margin-top: 18px; max-width: 34ch; font-size: 1.08rem; }
.mittag .dazu { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 72px); align-items: end; }
.mittag .dazu .fliess { max-width: 60ch; }
.mittag .dazu .reihe { justify-content: flex-end; }
.auswahl { margin-top: clamp(32px, 4vw, 56px); border-top: 1px solid var(--linie); }
.auswahl summary { display: flex; align-items: center; justify-content: space-between; min-height: 64px; cursor: pointer; list-style: none; font-family: var(--serif); font-size: 1.5rem; }
.auswahl summary::-webkit-details-marker { display: none; }
.auswahl summary::after { content: ""; width: 12px; height: 12px; border-right: 1px solid var(--text); border-bottom: 1px solid var(--text); transform: rotate(45deg) translate(-3px, -3px); transition: transform .3s var(--weich); }
.auswahl[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.auswahl .spalten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px clamp(24px, 4vw, 64px); padding-block: 12px 40px; }
.auswahl h3 { font-family: var(--sans); font-size: .8rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--akzent); margin-bottom: 12px; }
.auswahl li { color: var(--leise); line-height: 1.5; padding-block: 3px; }

/* ============ Stimmen ============ */
.stimmen .huelle { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.stimmen blockquote p { font-family: var(--serif); font-style: italic; line-height: 1.22; padding-bottom: 4px; }
.stimmen footer { margin-top: 18px; font-size: .9rem; color: var(--leise); }
.stimmen .gross p { font-size: clamp(1.9rem, 3.7vw, 3.3rem); }
.stimmen .klein { display: grid; gap: clamp(40px, 5vw, 72px); padding-top: clamp(0px, 9vw, 150px); }
.stimmen .klein p { font-size: clamp(1.35rem, 2vw, 1.75rem); }

/* ============ Besuch ============ */
.besuch .huelle { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.besuch .bild { aspect-ratio: 6 / 5; overflow: hidden; }
.besuch .bild img { width: 100%; height: 100%; object-fit: cover; }
.besuch .haus { margin-top: 20px; }
.zeiten { margin-top: clamp(32px, 4vw, 52px); display: grid; grid-template-columns: auto 1fr; gap: 10px 28px; }
.zeiten dt { color: var(--leise); }
.zeiten .heute { color: var(--text); }
.zeiten dt.heute::before { content: ""; display: inline-block; width: 14px; height: 1px; background: var(--akzent); vertical-align: middle; margin-right: 10px; }
.angaben { font-style: normal; display: grid; gap: 2px; margin-top: 28px; justify-items: start; }
.angaben a { display: inline-flex; align-items: center; min-height: 44px; }
.angaben .tel { text-decoration: none; font-family: var(--serif); font-size: 1.9rem; }
.besuch .reihe { margin-top: 28px; }

/* ============ Fuss ============ */
.fuss-seite { border-top: 1px solid var(--linie); padding-block: 56px 48px; }
.fuss-seite .huelle { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.fuss-seite svg { width: 190px; height: auto; }
.fuss-seite nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.fuss-seite nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .92rem; color: var(--leise); text-decoration: none; }
.fuss-seite nav a:hover { color: var(--text); }

/* Einblenden beim Erreichen, nur mit Skript und erlaubter Bewegung */
@media (prefers-reduced-motion: no-preference) {
  .js .zeig { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--weich), transform 1s var(--weich); transition-delay: var(--v, 0s); }
  .js .zeig.da { opacity: 1; transform: none; }
}

/* ============ Schmal ============ */
@media (max-width: 900px) {
  .kopf nav { display: none; }
  .kueche .huelle, .stimmen .huelle, .besuch .huelle, .mittag .dazu { grid-template-columns: minmax(0, 1fr); }
  .kueche .bild { position: static; aspect-ratio: 4 / 3; }
  .mittag .dazu .reihe { justify-content: flex-start; }
  .stimmen .klein { padding-top: 0; }
  .besuch .bild { order: -1; }
}
@media (max-width: 720px) {
  :root { --kopf: 64px; }
  body { font-size: 16px; }
  .kopf .marke svg { width: 150px; }
  .kopf .knopf { padding: 0 14px; font-size: .86rem; }
  .start .logo { width: min(84vw, 60vh); }
  .start .fuss { flex-direction: column; align-items: stretch; gap: 24px; }
  .start .reihe .knopf { flex: 1 1 100%; }
  .folge { grid-template-columns: minmax(0, 1fr); }
  .film .folge { padding-right: 11vw; gap: 30vw; }
  .film .gang { grid-template-columns: min(78vw, 46vh); align-content: center; gap: 0; }
  .film .gang .licht { order: 0; }
  .film .gang .wort { margin-top: -6%; }
  .film .gang .ziffer { font-size: 4.6rem; }
  .film .gang h3 { font-size: 1.85rem; margin-top: 12px; }
  .film .gang p { font-size: 1rem; margin-top: 8px; }
  .film .strich { bottom: 11.5vh; height: 40px; left: calc(var(--sl) * .5); width: calc(var(--sw) + 26%); }
  .film .zaehler { bottom: 20px; }
  .gruppen, .preise { grid-template-columns: minmax(0, 1fr); }
  .auswahl .spalten { grid-template-columns: minmax(0, 1fr); }
  .zeiten { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .zeiten dd { margin-bottom: 12px; }
  .besuch .reihe .knopf { flex: 1 1 100%; }
  .fuss-seite .huelle { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 720px) { .film .abspann { display: none; } }
/* Nachtrag: Wasserzeichen im Vorspann, groesserer Satz auf der Buehne */
.wasser { display: none; }
.film .wasser { display: block; position: absolute; right: -4vw; top: 50%; width: min(62vw, 110vh); height: auto; transform: translateY(-50%); opacity: .05; pointer-events: none; }
.film .vorspann .satz { font-size: clamp(2rem, 4.9vw, 4.6rem); max-width: 19ch; }
.start .schein { background: radial-gradient(closest-side, rgb(255 255 255 / .085), rgb(255 255 255 / .06) 18%, rgb(255 255 255 / .035) 36%, rgb(255 255 255 / .015) 52%, transparent 70%); }
@media (max-width: 720px) {
  .film .wasser { right: -30vw; width: 130vw; top: 30%; }
}
.film .wasser { right: -2vw; width: min(50vw, 100vh); }
.preise dt, .angaben .tel { font-variant-numeric: lining-nums; }
.besuch .huelle { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
@media (max-width: 900px) { .besuch .huelle { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 720px) { .film .wasser { right: -30vw; width: 130vw; } }
@media (max-width: 720px) {
  .film .gang .licht { -webkit-mask-image: radial-gradient(ellipse 46% 50% at 50% var(--my, 50%), #000 30%, rgb(0 0 0 / .6) 58%, transparent 100%); mask-image: radial-gradient(ellipse 46% 50% at 50% var(--my, 50%), #000 30%, rgb(0 0 0 / .6) 58%, transparent 100%); }
}
