/* Osteria Vespro · Konzeptarbeit Northline Studios */

@font-face {
  font-family: "Bodoni Moda";
  src: url("fonts/bodoni-moda.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bodoni Moda";
  src: url("fonts/bodoni-moda-italic.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Karla";
  src: url("fonts/karla.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Farben: Nacht (Hero), Vino (Barolo), Tufo (Travertin), Cotto (Terrakotta), Zafferano (Safran) */
  --nacht: #13110d;
  --nacht-2: #1e1916;
  --vino: #4a1a1c;
  --vino-2: #5a2326;
  --tufo: #f0e8db;
  --tufo-2: #e6dccb;
  --cotto: #a9472a;
  --cotto-dunkel: #8f3a20;
  --zafferano: #e2a84b;
  --oliva: #59603a;
  --tinte: #221b17;
  --tinte-2: #5e5047;
  --auf-dunkel-2: #b9ad9c;
  --auf-vino-2: #dcc6b2;
  --linie-hell: rgba(34, 27, 23, 0.16);
  --linie-dunkel: rgba(240, 232, 219, 0.18);

  --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Karla", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --fs-0: 1.0625rem;
  --fs-small: 0.875rem;
  --fs-h3: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  --fs-h2: clamp(2.3rem, 1.5rem + 3.2vw, 4.4rem);
  --fs-mast: clamp(4.2rem, 1.8rem + 10.5vw, 9rem);

  --pad: clamp(1.25rem, 4vw, 3rem);
  --section: clamp(5rem, 4rem + 6vw, 9.5rem);
  --max: 1320px;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  scrollbar-color: var(--cotto) var(--nacht);
  background: var(--nacht);
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--fs-0);
  line-height: 1.6;
  color: var(--tinte);
  background: var(--tufo);
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  caret-color: var(--cotto);
}

::selection { background: var(--zafferano); color: var(--nacht); }

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
  letter-spacing: -0.01em;
}

p { margin: 0; text-wrap: pretty; }

:focus-visible {
  outline: 2px solid var(--zafferano);
  outline-offset: 3px;
  border-radius: 2px;
}
.hell :focus-visible,
.tufo :focus-visible,
.dlg :focus-visible { outline-color: var(--cotto-dunkel); }
.cotto :focus-visible { outline-color: var(--tufo); }

.sr {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--zafferano); color: var(--nacht);
  padding: 0.75rem 1rem; font-weight: 700; text-decoration: none;
  transition: transform 160ms var(--ease-out);
}
.skip:focus { top: 1rem; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.num { font-variant-numeric: tabular-nums lining-nums; font-feature-settings: "tnum" 1, "lnum" 1; }

/* ---------- Konzept-Hinweis ---------- */
.konzept {
  background: #0b0a08;
  color: var(--auf-dunkel-2);
  font-size: 0.8125rem;
  line-height: 1.45;
  padding: 0.55rem 0;
}
.konzept p { max-width: none; }
.konzept a { color: var(--tufo); }

/* ---------- Kopf ---------- */
.kopf {
  position: sticky; top: 0; z-index: 40;
  background: var(--nacht);
  color: var(--tufo);
  border-bottom: 1px solid var(--linie-dunkel);
}
.kopf-in {
  display: flex; align-items: center; gap: 1rem;
  min-height: 4rem;
}
.marke {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.6rem;
  line-height: 1;
  text-decoration: none;
  margin-right: auto;
  display: inline-flex; align-items: baseline; gap: 0.6rem;
  min-height: 44px; align-items: center;
}
.marke small {
  font-family: var(--sans); font-style: normal;
  font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--auf-dunkel-2);
}
.nav { display: flex; align-items: center; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.25rem; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px;
  padding: 0 0.8rem;
  text-decoration: none; font-size: 0.95rem;
  color: var(--tufo);
  position: relative;
}
.nav a::after {
  content: ""; position: absolute; left: 0.8rem; right: 0.8rem; bottom: 0.6rem;
  height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform 260ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .nav a:hover::after { transform: scaleX(1); }
}
.nav-knopf { display: none; }

/* ---------- Knöpfe ---------- */
.btn {
  --bg: var(--cotto);
  --fg: #f6eee2;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 48px;
  padding: 0.8rem 1.4rem;
  border: 0; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font: 600 1rem/1.1 var(--sans);
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease, box-shadow 200ms ease;
  -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 1.1em; height: 1.1em; flex: none; transition: transform 220ms var(--ease-out); }
.btn:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { --bg: var(--cotto-dunkel); }
  .btn:hover svg.pfeil { transform: translateX(3px); }
}
.btn-klein { min-height: 44px; padding: 0.55rem 1.1rem; font-size: 0.95rem; }
.btn-hell { --bg: var(--tufo); --fg: var(--tinte); }
@media (hover: hover) and (pointer: fine) {
  .btn-hell:hover { --bg: #fff8ee; }
}
.btn-linie {
  --bg: transparent; --fg: currentColor;
  box-shadow: inset 0 0 0 1px currentColor;
}
@media (hover: hover) and (pointer: fine) {
  .btn-linie:hover { --bg: rgba(240, 232, 219, 0.08); }
  .tufo .btn-linie:hover, .hell .btn-linie:hover { --bg: rgba(34, 27, 23, 0.06); }
}
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; transform: none; }

.link-pfeil {
  display: inline-flex; align-items: center; gap: 0.45rem;
  min-height: 44px;
  font-weight: 600; text-decoration: underline; text-decoration-color: transparent;
  transition: text-decoration-color 200ms ease;
}
.link-pfeil svg { width: 1em; height: 1em; transition: transform 220ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .link-pfeil:hover { text-decoration-color: currentColor; }
  .link-pfeil:hover svg { transform: translate(2px, -2px); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--nacht);
  color: var(--tufo);
  overflow: hidden;
  isolation: isolate;
}
.hero-bild { position: absolute; inset: 0; z-index: -1; display: block; margin: 0; }
.hero-bild img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hero-bild::after { content: ""; position: absolute; inset: 0; background: rgba(19, 17, 13, 0.36); }
.hero-in {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: min(calc(100svh - 6.5rem), 900px);
  padding-block: clamp(2.5rem, 7vh, 5rem) clamp(2.5rem, 6vh, 4.5rem);
  gap: clamp(2rem, 4vh, 3rem);
}
.hero-kopf { display: grid; gap: clamp(1.25rem, 3vh, 2rem); align-content: start; }
.hero h1 {
  font-size: var(--fs-mast);
  line-height: 0.86;
  letter-spacing: -0.035em;
  font-weight: 400;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.35);
}
.hero h1 .ort {
  display: block;
  font-style: italic;
  font-size: clamp(1.25rem, 0.9rem + 1.3vw, 2rem);
  letter-spacing: 0;
  line-height: 1.2;
  margin-top: 0.9rem;
}
.kinetik { display: inline-flex; overflow: hidden; padding: 0 0.04em 0.16em; margin: 0 -0.04em -0.16em; vertical-align: bottom; }
.kinetik span { display: inline-block; }
.kinetik span:first-child { margin-right: -0.075em; }
.js .kinetik span { animation: kin-ein 1.15s cubic-bezier(0.7, 0, 0.3, 1) both; animation-delay: calc(var(--i) * 55ms + 120ms); }
@keyframes kin-ein { from { transform: translateY(112%) rotate(6deg); } }
.hero-text {
  max-width: 34ch;
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.2rem);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}

/* ---------- Zettel aus dem Reservierungsbuch ---------- */
.zettel {
  width: min(100%, 26rem);
  background: var(--tufo);
  color: var(--tinte);
  padding: 1.4rem 1.5rem 1.5rem;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.42), 0 2px 6px rgba(0, 0, 0, 0.25);
}
.zettel :focus-visible { outline-color: var(--cotto-dunkel); }
.zettel-kopf {
  display: flex; align-items: baseline; justify-content: space-between; gap: 0.25rem 1rem; flex-wrap: wrap;
  padding-bottom: 0.8rem; border-bottom: 3px double rgba(34, 27, 23, 0.45);
}
.zettel-titel { font-family: var(--serif); font-style: italic; font-size: 1.55rem; line-height: 1.15; }
.zettel-datum { font-size: 0.875rem; color: var(--tinte-2); }
.zettel-pers {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.6rem 0; border-bottom: 1px solid var(--linie-hell); font-size: 0.95rem;
}
.zeilen { list-style: none; margin: 0 0 1.1rem; padding: 0; }
.zeilen li { border-bottom: 1px solid var(--linie-hell); }
.zeile {
  width: 100%;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: baseline; gap: 1rem;
  min-height: 52px; padding: 0.35rem 0.25rem;
  border: 0; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer;
  transition: transform 150ms var(--ease-out), background-color 180ms ease;
}
.zeile .uhr { font-family: var(--serif); font-style: italic; font-size: 1.85rem; line-height: 1.1; font-variant-numeric: lining-nums; min-width: 4.2ch; }
.zeile-info { font-size: 0.875rem; color: var(--tinte-2); }
.zeile svg { width: 18px; height: 18px; align-self: center; color: var(--cotto-dunkel); transition: transform 220ms var(--ease-out); }
.zeile:active { transform: scale(0.985); }
@media (hover: hover) and (pointer: fine) {
  .zeile:hover { background: rgba(169, 71, 42, 0.07); }
  .zeile:hover svg { transform: translateX(4px); }
}
.zeilen.neu li { animation: zeile-ein 260ms var(--ease-out) both; }
.zeilen.neu li:nth-child(2) { animation-delay: 40ms; }
.zeilen.neu li:nth-child(3) { animation-delay: 80ms; }
.zeilen.neu li:nth-child(4) { animation-delay: 120ms; }
@keyframes zeile-ein { from { opacity: 0; transform: translateY(6px); } }
.zeilen .leer { padding: 0.9rem 0; color: var(--tinte-2); font-size: 0.95rem; }
.zettel-fuss { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem 1rem; flex-wrap: wrap; }
.zettel-fuss .btn { flex: 1 1 auto; }
.demo-hinweis { font-size: 0.8125rem; color: var(--tinte-2); }

.stepper {
  display: inline-flex; align-items: center;
  border: 1px solid var(--linie-dunkel);
  border-radius: 999px;
}
.stepper button {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 0; background: transparent; color: inherit;
  border-radius: 999px; cursor: pointer;
  transition: transform 140ms var(--ease-out), background-color 160ms ease;
}
.stepper button svg { width: 16px; height: 16px; }
.stepper button:active { transform: scale(0.92); }
@media (hover: hover) and (pointer: fine) {
  .stepper button:hover { background: rgba(240, 232, 219, 0.08); }
}
.stepper button:disabled { opacity: 0.35; cursor: not-allowed; }
.stepper output { min-width: 6.2rem; text-align: center; font-size: 0.95rem; }

/* ---------- Abschnitte ---------- */
.abschnitt { padding-block: var(--section); }
.tufo { background: var(--tufo); color: var(--tinte); }
.vino { background: var(--vino); color: var(--tufo); }
.cotto { background: var(--cotto); color: #f6eee2; }
.nacht { background: var(--nacht); color: var(--tufo); }

.titel { font-size: var(--fs-h2); letter-spacing: -0.02em; }
.titel em { font-style: italic; }
.lead { font-size: clamp(1.125rem, 1rem + 0.5vw, 1.35rem); line-height: 1.55; max-width: 38ch; }

/* Haltung */
.haltung-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 4rem);
}
.haltung-text { display: grid; gap: 1.6rem; max-width: 40rem; }
.haltung-text p { max-width: 62ch; }
.haltung-bild { margin: 0; }
.haltung-bild img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.bildzeile {
  font-size: var(--fs-small); color: var(--tinte-2);
  margin-top: 0.7rem; font-family: var(--serif); font-style: italic;
}
.grundsaetze {
  display: grid; gap: 0; margin: 0;
  border-top: 1px solid var(--linie-hell);
}
.grundsaetze div {
  display: grid; gap: 0.35rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--linie-hell);
}
.grundsaetze dt { font-family: var(--serif); font-style: italic; font-size: 1.45rem; line-height: 1.2; }
.grundsaetze dd { margin: 0; color: var(--tinte-2); max-width: 52ch; }
.rollen { font-size: var(--fs-small); color: var(--tinte-2); }

/* Speisekarte */
.karte-kopf { display: grid; gap: 1.2rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.karte-kopf p { color: var(--auf-vino-2); max-width: 52ch; }
.karte-index {
  position: sticky; top: 4rem; z-index: 5;
  background: var(--vino);
  border-block: 1px solid var(--linie-dunkel);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.karte-index ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 0.25rem; overflow-x: auto;
  scrollbar-width: none;
}
.karte-index ul::-webkit-scrollbar { display: none; }
.karte-index a {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 0.85rem;
  white-space: nowrap; text-decoration: none; font-size: 0.95rem;
  color: var(--auf-vino-2);
  transition: color 200ms ease;
}
.karte-index a[aria-current="true"] { color: var(--tufo); text-decoration: underline; text-underline-offset: 0.5em; }
@media (hover: hover) and (pointer: fine) {
  .karte-index a:hover { color: var(--tufo); }
}

.woche {
  background: var(--tufo); color: var(--tinte);
  padding: clamp(1.5rem, 4vw, 3rem);
  margin-bottom: clamp(3.5rem, 7vw, 6rem);
  display: grid; gap: 2rem;
  border-radius: 2px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}
.woche-kopf { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem 2rem; flex-wrap: wrap; }
.woche-kopf h3 { font-size: var(--fs-h3); }
.woche-kopf p { color: var(--tinte-2); font-size: var(--fs-small); margin-top: 0.4rem; }
.settimana { font-family: var(--serif); font-style: italic; font-size: 1.15rem; line-height: 1; display: flex; align-items: baseline; gap: 0.45rem; color: var(--tinte-2); }
.settimana b { font-weight: 400; font-size: clamp(2.6rem, 2rem + 2vw, 3.6rem); color: var(--vino); font-variant-numeric: lining-nums; letter-spacing: -0.02em; }
.woche-menue {
  border-top: 1px solid var(--linie-hell);
  padding-top: 1.25rem;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
}
.woche-menue p { max-width: 56ch; }
.woche .gerichte .dish-desc { color: var(--tinte-2); }
.woche .gerichte li { border-color: var(--linie-hell); }
.woche .gerichte li:last-child { border-bottom: 0; }

.gaenge {
  display: grid; grid-template-columns: minmax(0, 1fr);
  gap: clamp(3rem, 6vw, 5rem) clamp(3rem, 7vw, 7rem);
}
.gang h3 {
  font-size: var(--fs-h3);
  font-style: italic;
  margin-bottom: 1rem;
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
}
.gang h3 span { font-family: var(--sans); font-style: normal; font-size: 0.8125rem; color: var(--auf-vino-2); letter-spacing: 0.02em; }
.gerichte { list-style: none; margin: 0; padding: 0; }
.gerichte li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--linie-dunkel);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.2rem 1.25rem;
}
.dish-name { font-family: var(--serif); font-size: 1.3rem; line-height: 1.25; }
.dish-name i { font-family: var(--sans); font-style: normal; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: inherit; opacity: 0.85; margin-left: 0.4rem; white-space: nowrap; }
.preis { font-variant-numeric: tabular-nums lining-nums; font-feature-settings: "tnum" 1, "lnum" 1; font-size: 1.05rem; text-align: right; align-self: start; padding-top: 0.15rem; }
.dish-desc { grid-column: 1 / -1; color: var(--auf-vino-2); font-size: 0.975rem; max-width: 52ch; }

.weine { margin-top: clamp(3.5rem, 7vw, 6rem); display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem clamp(3rem, 7vw, 7rem); }
.weine-kopf .karte-fuss { margin-top: 0.4rem; max-width: 34ch; }
.allergene { border-top: 1px solid var(--linie-dunkel); padding-top: 1.5rem; margin-top: clamp(3rem, 6vw, 4.5rem); }
.gang-titel { font-size: var(--fs-h3); font-style: italic; margin-bottom: 1rem; }
.weine-tab { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums lining-nums; }
.weine-tab caption { text-align: left; }
.weine-tab th, .weine-tab td { text-align: left; padding: 0.85rem 0; border-bottom: 1px solid var(--linie-dunkel); vertical-align: top; }
.weine-tab thead th { font-size: 0.8125rem; color: var(--auf-vino-2); font-weight: 400; padding-top: 0; }
.weine-tab .z { text-align: right; width: 5.5rem; white-space: nowrap; }
.weine-tab tbody th { font-weight: 400; }
.weine-tab .wein { font-family: var(--serif); font-size: 1.2rem; line-height: 1.25; display: block; }
.weine-tab .herkunft { font-size: 0.9rem; color: var(--auf-vino-2); }
.weine-tab .gruppe th { font-family: var(--serif); font-style: italic; font-size: 1.15rem; padding-top: 1.6rem; color: var(--zafferano); border-bottom-color: transparent; }
.karte-fuss { margin-top: 2.5rem; color: var(--auf-vino-2); font-size: var(--fs-small); max-width: 70ch; }

/* Räume */
.raeume-kopf { display: grid; gap: 1.2rem; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.raeume-kopf p { color: var(--tinte-2); max-width: 54ch; }
.raeume-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 3vw, 2.5rem); }
.raum { margin: 0; }
.raum .rahmen { overflow: hidden; background: var(--tufo-2); }
.raum img { width: 100%; height: 100%; object-fit: cover; }
.raum figcaption { margin-top: 1rem; display: grid; gap: 0.25rem; max-width: 40ch; }
.raum figcaption strong { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.5rem; line-height: 1.2; }
.raum figcaption span { color: var(--tinte-2); }

/* Gruppen */
.gruppen-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2.5rem, 5vw, 5rem); align-items: center; }
.gruppen-bild { margin: 0; }
.gruppen-bild img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.gruppen-text { display: grid; gap: 1.6rem; }
.gruppen-text .lead { max-width: 36ch; }
.menues { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(246, 238, 226, 0.3); }
.menues li {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.2rem 1rem;
  padding: 1rem 0; border-bottom: 1px solid rgba(246, 238, 226, 0.3);
}
.menues strong { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.3rem; line-height: 1.25; }
.menues span { grid-column: 1 / -1; font-size: 0.95rem; color: #f3e3c8; }
.menues .preis { grid-column: auto; color: inherit; }
.gruppen-aktion { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; align-items: center; }
.gruppen-aktion p { font-size: var(--fs-small); color: #f3e3c8; }

/* Öffnungszeiten & Anfahrt */
.info-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(3.5rem, 7vw, 6rem); }
.info-block h2 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.4rem); margin-bottom: 1.6rem; }
.status {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-weight: 600; margin-bottom: 1.4rem;
}
.status::before { content: ""; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--oliva); }
.status.zu::before { background: var(--cotto); }
.zeiten { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums lining-nums; }
.zeiten th, .zeiten td { text-align: left; padding: 0.85rem 0; border-bottom: 1px solid var(--linie-hell); vertical-align: top; }
.zeiten th { font-weight: 400; width: 40%; }
.zeiten td small { display: block; color: var(--tinte-2); font-size: 0.875rem; }
.zeiten tr.heute th, .zeiten tr.heute td { font-weight: 700; }
.zeiten tr.heute th::after { content: " · heute"; font-weight: 400; color: var(--cotto-dunkel); }
.adresse {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 1.3rem + 1.8vw, 2.6rem);
  line-height: 1.15;
  font-style: normal;
  margin-bottom: 1.2rem;
}
.adresse span { display: block; }
.adresse .fiktiv { font-family: var(--sans); font-size: 0.875rem; color: var(--tinte-2); margin-top: 0.6rem; line-height: 1.4; }
.wege { list-style: none; margin: 1.6rem 0; padding: 0; border-top: 1px solid var(--linie-hell); }
.wege li { display: grid; grid-template-columns: 4.2rem minmax(0, 1fr); gap: 1rem; padding: 0.85rem 0; border-bottom: 1px solid var(--linie-hell); align-items: baseline; }
.wege b {
  font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.04em;
  display: inline-flex; justify-content: center; align-items: center;
  min-width: 2.6rem; height: 1.6rem; padding: 0 0.4rem; border-radius: 3px;
  color: #fff; background: var(--tinte);
}
.wege b.u7 { background: #2a7ab0; }
.wege b.s1 { background: #a2508b; }
.kontakt { display: grid; gap: 0.2rem; margin-top: 1.6rem; }
.kontakt a { min-height: 44px; display: inline-flex; align-items: center; width: fit-content; }
.info-aktion { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; align-items: center; margin-top: 1.4rem; }

/* Fuß */
.fuss { background: var(--nacht); color: var(--tufo); padding-block: clamp(4rem, 8vw, 7rem) 2.5rem; }
.fuss-marke {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(4rem, 2rem + 12vw, 12rem);
  line-height: 0.85; letter-spacing: -0.04em;
  margin-bottom: clamp(2.75rem, 6vw, 4.5rem);
}
.fuss-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--linie-dunkel); }
.fuss-grid h2 { font-family: var(--sans); font-size: 0.8125rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--auf-dunkel-2); margin-bottom: 0.6rem; font-weight: 600; }
.fuss-grid p, .fuss-grid li { color: var(--tufo); }
.fuss-grid ul { list-style: none; margin: 0; padding: 0; }
.fuss-grid a { display: inline-flex; min-height: 44px; align-items: center; }
.fuss-klein { padding-top: 2rem; display: grid; gap: 0.9rem; font-size: 0.875rem; color: var(--auf-dunkel-2); }
.fuss-klein a { color: var(--tufo); }

/* ---------- Reservierungs-Dialog ---------- */
.dlg {
  width: min(1040px, calc(100vw - 2rem));
  max-width: none;
  height: min(820px, calc(100dvh - 2rem));
  max-height: none;
  padding: 0; border: 0; border-radius: 8px;
  background: var(--tufo); color: var(--tinte);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}
.dlg::backdrop { background: rgba(11, 10, 8, 0.74); }
.dlg[open] { display: flex; }
.dlg.kommt { animation: dlg-ein 260ms var(--ease-out); }
.dlg.kommt::backdrop { animation: blende-ein 260ms var(--ease-out); }
.dlg.geht { animation: dlg-aus 170ms var(--ease-out) forwards; }
.dlg.geht::backdrop { animation: blende-aus 170ms var(--ease-out) forwards; }
@keyframes dlg-ein { from { opacity: 0; transform: translateY(14px) scale(0.985); } }
@keyframes dlg-aus { to { opacity: 0; transform: translateY(8px) scale(0.99); } }
@keyframes blende-ein { from { opacity: 0; } }
@keyframes blende-aus { to { opacity: 0; } }

.dlg-in { display: flex; flex-direction: column; width: 100%; min-height: 0; }
.dlg-kopf { padding: 1.25rem clamp(1.1rem, 3vw, 2.25rem) 0; border-bottom: 1px solid var(--linie-hell); }
.dlg-kopf-zeile { display: flex; align-items: center; gap: 0.75rem 1rem; flex-wrap: wrap; }
.dlg-titel { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); margin-right: auto; }
.stempel {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--cotto-dunkel);
  border: 1.5px solid currentColor; border-radius: 3px;
  padding: 0.3rem 0.55rem;
}
.dlg-zu {
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 0; border-radius: 999px; background: transparent; color: inherit; cursor: pointer;
  transition: transform 140ms var(--ease-out), background-color 160ms ease;
}
.dlg-zu svg { width: 20px; height: 20px; }
.dlg-zu:active { transform: scale(0.92); }
@media (hover: hover) and (pointer: fine) { .dlg-zu:hover { background: rgba(34, 27, 23, 0.07); } }

.schritte { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; gap: 1.5rem; overflow-x: auto; scrollbar-width: none; }
.schritte li {
  display: flex; align-items: center; gap: 0.5rem; white-space: nowrap;
  padding: 0.6rem 0 0.75rem; font-size: 0.9rem; color: var(--tinte-2);
  border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.schritte li span {
  width: 1.5rem; height: 1.5rem; border-radius: 50%; display: grid; place-items: center;
  font-size: 0.75rem; font-weight: 700; border: 1px solid currentColor;
}
.schritte li[aria-current="step"] { color: var(--tinte); border-bottom-color: var(--cotto); font-weight: 600; }
.schritte li.erledigt span { background: var(--tinte); color: var(--tufo); border-color: var(--tinte); }

.dlg-form { display: contents; }
.schritt { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; }
.schritt[hidden] { display: none; }
.schritt.neu .dlg-body { animation: schritt-ein 240ms var(--ease-out); }
@keyframes schritt-ein { from { opacity: 0; transform: translateX(12px); } }
.dlg-body {
  flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain;
  padding: clamp(1.25rem, 3vw, 2rem) clamp(1.1rem, 3vw, 2.25rem);
  scrollbar-color: var(--tinte-2) transparent;
}
.dlg-fuss {
  display: flex; align-items: center; justify-content: flex-end; gap: 0.75rem 1rem; flex-wrap: wrap;
  padding: 0.9rem clamp(1.1rem, 3vw, 2.25rem);
  border-top: 1px solid var(--linie-hell);
  background: var(--tufo);
}
.dlg-fuss .auswahl { margin-right: auto; font-size: 0.95rem; color: var(--tinte-2); }
.dlg-fuss .auswahl strong { color: var(--tinte); }

.wahl-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
.feld-label, .wahl legend { font-weight: 700; font-size: 0.95rem; margin-bottom: 0.7rem; padding: 0; display: block; }
fieldset.wahl { border: 0; margin: 0; padding: 0; min-width: 0; }
.stepper.hell { border-color: rgba(34, 27, 23, 0.3); }
@media (hover: hover) and (pointer: fine) { .stepper.hell button:hover { background: rgba(34, 27, 23, 0.07); } }
.hinweis { margin-top: 0.8rem; font-size: 0.9rem; color: var(--tinte-2); max-width: 44ch; }

.tage-liste { display: flex; gap: 0.5rem; overflow-x: auto; padding: 2px 2px 0.5rem; scroll-snap-type: x proximity; scrollbar-width: thin; }
.wahl-kachel { position: relative; flex: none; scroll-snap-align: start; }
.wahl-kachel input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.wahl-kachel input:disabled { cursor: not-allowed; }
.wahl-kachel span {
  display: grid; justify-items: center; align-content: center; gap: 0.05rem;
  min-width: 4.1rem; min-height: 4.6rem; padding: 0.5rem 0.4rem;
  border: 1px solid rgba(34, 27, 23, 0.22); border-radius: 6px;
  background: #f7f1e6;
  font-size: 0.8125rem; line-height: 1.2;
  transition: transform 150ms var(--ease-out), background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}
.wahl-kachel span b { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; line-height: 1.1; font-variant-numeric: lining-nums; }
.wahl-kachel input:checked + span { background: var(--tinte); color: var(--tufo); border-color: var(--tinte); }
.wahl-kachel input:focus-visible + span { outline: 2px solid var(--cotto-dunkel); outline-offset: 2px; }
.wahl-kachel input:active:not(:disabled) + span { transform: scale(0.97); }
.wahl-kachel input:disabled + span { background: transparent; color: #8a7d72; border-style: dashed; }
@media (hover: hover) and (pointer: fine) {
  .wahl-kachel input:not(:disabled):not(:checked):hover + span { border-color: var(--tinte); }
}
.zeit-gruppe + .zeit-gruppe { margin-top: 1.2rem; }
.zeit-gruppe p { font-size: 0.85rem; color: var(--tinte-2); margin-bottom: 0.5rem; }
.zeit-liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(5.4rem, 1fr)); gap: 0.5rem; }
.zeit-liste .wahl-kachel span { min-height: 3.2rem; min-width: 0; font-size: 1.05rem; font-variant-numeric: tabular-nums; font-weight: 600; }
.zeit-liste .wahl-kachel span small { font-weight: 400; font-size: 0.75rem; }
.zeit-liste .wahl-kachel input:disabled + span { text-decoration: line-through; text-decoration-thickness: 1px; }
.leer-text { color: var(--tinte-2); font-size: 0.95rem; }

.fehler { color: #9b2c1c; font-size: 0.9rem; margin-top: 0.45rem; font-weight: 600; }
.zusammen {
  display: flex; align-items: center; justify-content: space-between; gap: 0.5rem 1rem; flex-wrap: wrap;
  padding: 0.9rem 1rem; margin-bottom: 1.6rem;
  background: #f7f1e6; border: 1px solid var(--linie-hell); border-radius: 6px;
}
.zusammen p { font-family: var(--serif); font-size: 1.2rem; line-height: 1.3; }
.link-knopf {
  border: 0; background: none; padding: 0 0.25rem; min-height: 44px; cursor: pointer;
  font: 600 0.95rem var(--sans); color: var(--cotto-dunkel);
  text-decoration: underline; text-underline-offset: 0.22em;
}
.felder { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem 1.5rem; }
.feld { display: grid; gap: 0.4rem; align-content: start; min-width: 0; }
.feld label, .feld legend { font-weight: 700; font-size: 0.95rem; padding: 0; }
.optional { font-weight: 400; color: var(--tinte-2); }
.feld input, .feld textarea {
  width: 100%;
  font: 400 1rem/1.4 var(--sans); color: var(--tinte);
  background: #fbf7f0;
  border: 1px solid rgba(34, 27, 23, 0.32); border-radius: 6px;
  padding: 0.75rem 0.85rem; min-height: 48px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.feld textarea { resize: vertical; min-height: 6rem; }
.feld input:focus, .feld textarea:focus { outline: none; border-color: var(--tinte); box-shadow: 0 0 0 3px rgba(169, 71, 42, 0.28); }
.feld input[aria-invalid="true"] { border-color: #9b2c1c; }
.feld-hilfe { font-size: 0.85rem; color: var(--tinte-2); }
.vorschlaege { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.vorschlaege button {
  min-height: 36px; padding: 0.3rem 0.8rem; border-radius: 999px;
  border: 1px solid rgba(34, 27, 23, 0.25); background: transparent; color: var(--tinte);
  font: 0.875rem var(--sans); cursor: pointer;
  transition: transform 140ms var(--ease-out), background-color 160ms ease;
  position: relative;
}
.vorschlaege button::after { content: ""; position: absolute; inset: -4px 0; }
.vorschlaege button:active { transform: scale(0.96); }
@media (hover: hover) and (pointer: fine) { .vorschlaege button:hover { background: rgba(34, 27, 23, 0.06); } }
fieldset.feld { border: 0; margin: 0; padding: 0; }
.radio-zeile { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.radio-zeile label { font-weight: 400; display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; padding: 0 0.9rem; border: 1px solid rgba(34, 27, 23, 0.25); border-radius: 999px; cursor: pointer; }
.radio-zeile input, .check input { accent-color: var(--cotto); width: 1.1rem; height: 1.1rem; margin: 0; }
.check { display: inline-flex; align-items: center; gap: 0.6rem; min-height: 44px; cursor: pointer; font-weight: 600; }
.datenschutz { margin-top: 1.4rem; font-size: 0.85rem; color: var(--tinte-2); max-width: 60ch; }
.btn.laedt { pointer-events: none; }
.btn .kreis { width: 1em; height: 1em; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: dreh 0.7s linear infinite; }
@keyframes dreh { to { transform: rotate(360deg); } }

/* Bestätigung */
.bestaetigung { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; align-content: start; }
.best-links { display: grid; gap: 1.1rem; align-content: start; }
.best-links h3 { font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.8rem); outline: none; }
.code { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.25rem 0.75rem; padding: 0.7rem 0; border-top: 1px solid var(--linie-hell); }
.code span { font-size: 0.875rem; color: var(--tinte-2); }
.code em { font-family: var(--serif); font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.4rem); line-height: 1.1; letter-spacing: 0.03em; font-variant-numeric: lining-nums; }
.best-daten { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.5rem 1.25rem; margin: 0; padding: 1rem 0; border-block: 1px solid var(--linie-hell); }
.best-daten dt { color: var(--tinte-2); font-size: 0.9rem; padding-top: 0.1rem; }
.best-daten dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.best-aktion { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.best-rechts { display: grid; gap: 0.8rem; align-content: start; min-width: 0; }
.vorschau-titel { font-family: var(--sans); font-size: 0.95rem; font-weight: 700; }
.vorschau-titel + p { font-size: 0.85rem; color: var(--tinte-2); margin-top: -0.4rem; }
.best-rechts .vorschau-titel:not(:first-child) { margin-top: 1rem; }
.mail {
  background: #fffdf9; border: 1px solid var(--linie-hell); border-radius: 8px;
  box-shadow: 0 10px 28px rgba(34, 27, 23, 0.1);
  font-size: 0.9375rem; overflow: hidden;
}
.mail-kopf { padding: 0.9rem 1.1rem; border-bottom: 1px solid var(--linie-hell); display: grid; gap: 0.2rem; font-size: 0.85rem; color: var(--tinte-2); }
.mail-kopf b { color: var(--tinte); font-weight: 600; }
.mail-kopf .betreff { font-size: 1rem; color: var(--tinte); font-weight: 700; margin-top: 0.3rem; }
.mail-text { padding: 1.1rem 1.1rem 1.3rem; display: grid; gap: 0.8rem; }
.mail-text .mail-marke { font-family: var(--serif); font-style: italic; font-size: 1.6rem; line-height: 1; color: var(--vino); }
.mail-box { background: var(--tufo); border-radius: 6px; padding: 0.8rem 0.9rem; font-variant-numeric: tabular-nums; }
.mail-box strong { font-family: var(--serif); font-weight: 500; font-size: 1.15rem; display: block; }
.mail-knoepfe { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.mail-knoepfe span { display: inline-block; padding: 0.45rem 0.9rem; border-radius: 999px; background: var(--vino); color: var(--tufo); font-size: 0.85rem; font-weight: 600; }
.mail-knoepfe span + span { background: transparent; color: var(--vino); box-shadow: inset 0 0 0 1px var(--vino); }
.sms { background: #e8e1d5; border-radius: 18px; padding: 1rem; max-width: 24rem; }
.sms-absender { font-size: 0.75rem; color: var(--tinte-2); text-align: center; margin-bottom: 0.6rem; }
.sms-blase { background: #fffdf9; border-radius: 16px 16px 16px 4px; padding: 0.7rem 0.85rem; font-size: 0.9rem; line-height: 1.45; box-shadow: 0 1px 2px rgba(34, 27, 23, 0.12); }

@media (min-width: 760px) {
  .tage-liste { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); overflow: visible; max-width: 40rem; }
  .tage-liste .wahl-kachel span { min-width: 0; }
  .felder { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .felder .voll { grid-column: 1 / -1; }
  .bestaetigung { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 3rem; }
}
@media (max-width: 699px) {
  .dlg { width: 100vw; height: 100dvh; max-width: 100vw; max-height: 100dvh; border-radius: 0; margin: 0; }
  .dlg.kommt { animation: dlg-ein-mobil 320ms var(--ease-drawer); }
  .dlg.geht { animation: dlg-aus-mobil 200ms var(--ease-out) forwards; }
  .stempel { order: 3; }
  .dlg-fuss .btn { flex: 1 1 auto; }
  .dlg-fuss .auswahl { flex: 1 1 100%; }
}
@keyframes dlg-ein-mobil { from { transform: translateY(40px); opacity: 0; } }
@keyframes dlg-aus-mobil { to { transform: translateY(40px); opacity: 0; } }

/* ---------- Bewegung beim Erscheinen (nur transform/opacity) ---------- */
@keyframes bild-ein { from { opacity: 0; transform: scale(1.06); } }
@keyframes text-ein { from { opacity: 0; transform: translateY(18px); } }
.js .zeigen img { opacity: 0; }
.js .zeigen.ist-da img { opacity: 1; animation: bild-ein 1.1s var(--ease-out) both; }
.js .hero-kopf > :not(h1) { animation: text-ein 0.9s var(--ease-out) 0.45s both; }
.js .zettel { animation: text-ein 0.9s var(--ease-out) 0.6s both; }
.js .hero-bild img { animation: bild-ein 1.8s var(--ease-out) both; }

/* ---------- Breakpoints ---------- */
@media (max-width: 899px) {
  .nav { position: static; }
  .nav-knopf {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border: 0; background: transparent; color: var(--tufo);
    border-radius: 999px; cursor: pointer;
    transition: transform 140ms var(--ease-out);
  }
  .nav-knopf:active { transform: scale(0.94); }
  .nav-knopf svg { width: 22px; height: 22px; }
  .nav ul {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0;
    background: var(--nacht);
    border-bottom: 1px solid var(--linie-dunkel);
    padding: 0.5rem var(--pad) 1rem;
    opacity: 0; transform: translateY(-8px); visibility: hidden;
    transition: opacity 180ms var(--ease-out), transform 220ms var(--ease-out), visibility 0s linear 220ms;
  }
  .nav.offen ul { opacity: 1; transform: none; visibility: visible; transition: opacity 180ms var(--ease-out), transform 220ms var(--ease-out), visibility 0s; }
  .nav a { padding: 0; font-size: 1.15rem; min-height: 52px; border-bottom: 1px solid var(--linie-dunkel); }
  .nav li:last-child a { border-bottom: 0; }
  .nav a::after { display: none; }
  .marke small { display: none; }

  .hero-in { padding-block: clamp(8rem, 22svh, 12rem) 2.5rem; }
  .zettel { width: 100%; }
}

@media (max-width: 380px) {
  .schritte { gap: 0.75rem; }
  .schritte li { font-size: 0.8rem; gap: 0.35rem; }
  .schritte li span { width: 1.3rem; height: 1.3rem; }
  .kopf .btn-klein { padding-inline: 0.85rem; font-size: 0.9rem; }
  .marke { font-size: 1.4rem; }
  .zettel { padding: 1.1rem 1rem 1.2rem; }
  .zeile .uhr { font-size: 1.6rem; }
  .stepper output { min-width: 5.4rem; }
}

@media (min-width: 700px) {
  .gaenge { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .raeume-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .raum.gross { grid-column: 1 / -1; }
  .fuss-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 900px) {
  .hero-in { grid-template-columns: minmax(0, 1fr) minmax(0, 26rem); align-items: end; column-gap: clamp(2rem, 6vw, 6rem); }
  .hero-kopf { align-self: start; }
  .zettel { justify-self: end; }
  .haltung-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; }
  .haltung-bild { margin-top: 7rem; }
  .gruppen-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
  .info-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .raeume-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: auto auto; }
  .raum.gross { grid-column: 1; grid-row: 1 / span 2; }
  .raum.gross .rahmen { aspect-ratio: 4 / 5; }
  .raum.klein-1 { grid-column: 2; grid-row: 1; padding-top: 4rem; }
  .raum.klein-2 { grid-column: 2; grid-row: 2; }
  .raum .rahmen { aspect-ratio: 4 / 3; }
  .karte-index { top: 4rem; }
  .karte-kopf { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; }
  .karte-kopf p { justify-self: end; max-width: 44ch; }
  .weine { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
  .weine-kopf { position: sticky; top: 9rem; align-self: start; }
}

/* ---------- Nacht-Überarbeitung: symmetrisch wie eine gedruckte Karte ---------- */
/* Der Abend steht in der Mitte: Wortmarke, Untertitel und Reservierung liegen auf einer Achse. */
.hero-bild::after {
  background:
    radial-gradient(ellipse 70% 60% at 50% 42%, rgba(19, 17, 13, 0.55), rgba(19, 17, 13, 0.18) 70%),
    linear-gradient(180deg, rgba(19, 17, 13, 0.2), rgba(19, 17, 13, 0.1) 40%, rgba(19, 17, 13, 0.72));
}
.hero-in { justify-items: center; text-align: center; }
.hero-kopf { justify-items: center; }
.hero h1 { display: grid; justify-items: center; }
.hero h1 .ort { margin-top: 1.1rem; }
.hero-text { max-width: 40ch; margin-inline: auto; }
.hero .kinetik { padding-inline: 0.06em; }
.zettel { text-align: left; }

/* Zier: kleines Ornament wie auf der gedruckten Karte */
.ornament { display: block; width: 4.5rem; height: 0.9rem; margin: 0 auto; color: var(--zafferano); }
.ornament path { fill: none; stroke: currentColor; stroke-width: 1.2; }
.ornament circle { fill: currentColor; }

/* Abschnittsköpfe auf der Mittelachse */
.raeume-kopf, .karte-kopf { justify-items: center; text-align: center; }
.raeume-kopf p, .karte-kopf p { margin-inline: auto; }

@media (min-width: 900px) {
  :root { --fs-mast: clamp(6rem, 2rem + 9vw, 12.5rem); }
  .hero-in {
    grid-template-columns: minmax(0, 1fr); align-items: center; align-content: space-between;
    padding-block: clamp(2.5rem, 8vh, 5.5rem) clamp(1.75rem, 4vh, 3rem);
  }
  .hero-kopf { align-self: center; gap: clamp(1rem, 2.4vh, 1.6rem); }
  .hero h1 { line-height: 0.8; }

  /* Der Zettel wird zur Leiste aus dem Reservierungsbuch */
  .zettel {
    justify-self: center; width: min(100%, 76rem);
    display: grid; grid-template-columns: 15.5rem minmax(0, 1fr) 13.5rem; grid-template-rows: auto auto;
    column-gap: clamp(1.25rem, 2.2vw, 2.25rem); row-gap: 0.35rem; align-items: center;
    padding: 1.1rem 1.4rem;
  }
  .zettel-kopf { grid-column: 1; grid-row: 1; border-bottom: 0; padding: 0; }
  .zettel-pers { grid-column: 1; grid-row: 2; border-bottom: 0; padding: 0; justify-content: flex-start; }
  .zettel-pers > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .zettel-pers .stepper { border-color: var(--linie-hell); }
  .zeilen {
    grid-column: 2; grid-row: 1 / span 2; margin: 0; align-self: stretch;
    display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 0.5rem;
    border-left: 3px double rgba(34, 27, 23, 0.4); border-right: 3px double rgba(34, 27, 23, 0.4);
    padding-inline: clamp(1rem, 2vw, 1.75rem);
  }
  .zeilen li { border-bottom: 0; display: grid; }
  .zeile {
    grid-template-columns: minmax(0, 1fr); justify-items: center; align-content: center; gap: 0.1rem;
    text-align: center; min-height: 5.25rem; padding: 0.5rem 0.25rem; border-radius: 2px;
  }
  .zeile .uhr { font-size: clamp(1.7rem, 1.2rem + 0.8vw, 2.2rem); min-width: 0; }
  .zeile svg { display: none; }
  .zeilen .leer { align-self: center; text-align: center; }
  .zettel-fuss { grid-column: 3; grid-row: 1 / span 2; flex-direction: column; align-items: stretch; gap: 0.6rem; }
  .zettel-fuss .btn { flex: none; }
  .demo-hinweis { text-align: center; }

  /* Karte und Räume: Kopf zentriert, wie über einer gedruckten Karte */
  .karte-kopf { grid-template-columns: minmax(0, 1fr); }
  .karte-kopf p { justify-self: center; max-width: 52ch; }
}

/* Fuß: Wortmarke auf der Mittelachse */
.fuss-marke { text-align: center; }
@media (min-width: 900px) {
  .hero h1 .ort { margin-top: clamp(1.6rem, 3.2vw, 2.9rem); }
}

/* Breiter Kopf: Navigation links, Wortmarke in der Mitte, Reservieren rechts */
@media (min-width: 1180px) {
  .kopf-in { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
  .kopf .nav { grid-column: 1; grid-row: 1; justify-self: start; margin-left: -0.8rem; }
  .kopf .marke { grid-column: 2; grid-row: 1; margin: 0; justify-self: center; flex-direction: column; gap: 0.15rem; font-size: 1.85rem; }
  .kopf .marke small { font-size: 0.6875rem; }
  .kopf .btn-klein { grid-column: 3; grid-row: 1; justify-self: end; }
  .kopf-in { min-height: 4.75rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .js .zeigen img { opacity: 1; }
}
