/* =========================================================================
   Taverne Stadtblick, Weimar — stil.css
   Dunkle, warme Abend-Taverne. Ein Akzent (Lampenlicht-Bernstein),
   zwei Schriften (Fraunces, Karla), zwei Radien. Mobile first.
   ========================================================================= */

/* ---- Schriften, selbst gehostet ----------------------------------------- */
@font-face {
  font-family: "Fraunces"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("schrift/fraunces-500.woff2?v=20260806d") format("woff2");
}
@font-face {
  font-family: "Fraunces"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("schrift/fraunces-700.woff2?v=20260806d") format("woff2");
}
@font-face {
  font-family: "Karla"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("schrift/karla-400.woff2?v=20260806d") format("woff2");
}
@font-face {
  font-family: "Karla"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("schrift/karla-500.woff2?v=20260806d") format("woff2");
}
@font-face {
  font-family: "Karla"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("schrift/karla-700.woff2?v=20260806d") format("woff2");
}

/* ---- Token ---------------------------------------------------------------- */
:root {
  --grund:      #15140F;
  --grund-tief: #100F0B;
  --flaeche:    #201E17;
  --flaeche-2:  #2A2820;
  --linie:      #3A3730;
  --linie-2:    #4A463C;
  --tinte:      #F3ECDE;
  --tinte-leise:#C1B8A4;
  --hebung:     #E9A94E;   /* der eine Akzent: Lampenlicht */

  /* Aliase für das mitgelieferte Einwilligungswerkzeug */
  --akzent:     var(--hebung);
  --akzent-txt: #EBB463;
  --akzent-auf: #181712;
  --leise:      var(--tinte-leise);
  --radius:     4px;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body:    "Karla", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r:       4px;    /* Karten, Knöpfe, Eingaben */
  --r-gross: 14px;   /* Bilder, große Flächen */

  --rand:  clamp(1.1rem, 5vw, 2.4rem);
  --breite: 1160px;
  --kopf:  64px;
}

/* ---- Grundgerüst ---------------------------------------------------------- */
* { box-sizing: border-box; }
html {
  overflow-x: hidden;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--grund);
  color: var(--tinte);
  font-family: var(--body);
  font-weight: 400;
  font-size: 1.02rem;
  line-height: 1.62;
  hyphens: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--hebung); text-underline-offset: 3px; }
strong, .stark { font-weight: 700; color: var(--hebung); }
h1, h2, h3 { font-family: var(--display); hyphens: manual; text-wrap: balance; margin: 0; }
p { text-wrap: pretty; margin: 0; overflow-wrap: anywhere; }

:focus-visible {
  outline: 3px solid var(--hebung);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap {
  width: min(100% - 2 * var(--rand), var(--breite));
  margin-inline: auto;
}
.eng { --breite: 780px; }

/* Auszeichnungsstufen (eine Ausprägung je Rolle) */
.rubrik {
  font-family: var(--body);
  font-size: .8125rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--hebung);
  margin: 0 0 .9rem;
}
.wert { color: var(--hebung); font-weight: 700; font-variant-numeric: tabular-nums; }

/* Abschnitts-Abstand */
.abschnitt { padding-block: clamp(3.5rem, 7vw, 6rem); }
.abschnitt--eng { padding-block: clamp(2.6rem, 5vw, 4rem); }

/* Überschriften-Skala */
.t-riesig { font-weight: 700; font-size: clamp(2.4rem, 8vw, 4.6rem); line-height: 1.02; letter-spacing: -.01em; }
.t-gross  { font-weight: 700; font-size: clamp(1.9rem, 5vw, 3rem);   line-height: 1.08; }
.t-mittel { font-weight: 700; font-size: clamp(1.35rem, 3.4vw, 1.8rem); line-height: 1.15; }
.leise { color: var(--tinte-leise); }
.lead { font-size: clamp(1.05rem, 2.4vw, 1.22rem); color: var(--tinte-leise); max-width: 46ch; }

/* ---- Knöpfe --------------------------------------------------------------- */
.knopf, .knopf-ruhig {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--body); font-weight: 700; font-size: 1rem;
  line-height: 1.1; text-decoration: none; cursor: pointer;
  padding: .85rem 1.35rem; min-height: 48px;
  border-radius: var(--r); border: 1.5px solid transparent;
  transition: filter .18s ease, border-color .18s ease, background-color .18s ease;
}
.knopf { background: var(--hebung); color: #181712; border-color: var(--hebung); }
.knopf:hover { filter: brightness(1.08); }
.knopf-ruhig { background: transparent; color: var(--tinte); border-color: var(--linie-2); }
.knopf-ruhig:hover { border-color: var(--hebung); color: var(--hebung); }

/* ---- Kopf ----------------------------------------------------------------- */
.kopf {
  position: sticky; top: 0; z-index: 50;
  background: rgba(16, 15, 11, .88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--linie);
}
.kopf__innen {
  display: flex; align-items: center; gap: .6rem;
  min-height: var(--kopf); padding-block: .5rem;
}
.marke {
  display: inline-flex; flex-direction: column; line-height: 1;
  text-decoration: none; color: var(--tinte); flex: 0 0 auto; min-width: 0;
}
.marke b { font-family: var(--display); font-weight: 700; font-size: 1.12rem; letter-spacing: -.01em; }
.marke span { font-family: var(--body); font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--hebung); margin-top: 3px; }
.kopf__nav {
  display: flex; align-items: center; gap: clamp(.7rem, 2.4vw, 1.5rem);
  margin-left: auto; min-width: 0; overflow-x: auto;
  scrollbar-width: none;
}
.kopf__nav::-webkit-scrollbar { display: none; }
.kopf__nav a {
  color: var(--tinte-leise); text-decoration: none; font-weight: 500;
  font-size: .95rem; white-space: nowrap; padding: .4rem .1rem;
}
.kopf__nav a:hover, .kopf__nav a[aria-current="page"] { color: var(--tinte); }
.kopf__nav a[aria-current="page"] { color: var(--hebung); }
.kopf__tel {
  flex: 0 0 auto; margin-left: .3rem;
  padding: .55rem .9rem; min-height: 40px;
}

/* ---- Hero ----------------------------------------------------------------- */
.held { position: relative; isolation: isolate; }
.held__bild { position: absolute; inset: 0; z-index: -2; }
.held__bild img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.92); }
.held::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(16,15,11,.42) 0%, rgba(16,15,11,.30) 32%, rgba(16,15,11,.78) 82%, rgba(21,20,15,.96) 100%),
    linear-gradient(90deg, rgba(16,15,11,.72) 0%, rgba(16,15,11,.10) 62%);
}
.held__innen {
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: clamp(520px, 86vh, 760px);
  padding-block: clamp(2.4rem, 6vw, 4rem);
}
.held--flach .held__innen { min-height: clamp(300px, 44vw, 420px); }
.held__text { max-width: 40ch; }
.held__text .rubrik { color: var(--hebung); }
.held h1 { color: #FBF6EC; text-shadow: 0 2px 24px rgba(0,0,0,.55); }
.held .lead { color: #EDE4D4; margin-top: 1rem; }
.held .knopf { margin-top: 1.6rem; }

/* ---- Werte-Karten (mit echtem Bild) -------------------------------------- */
.karten {
  display: grid; gap: 1.4rem;
  grid-template-columns: minmax(0,1fr);
}
.karte {
  background: var(--flaeche); border: 1px solid var(--linie);
  border-radius: var(--r-gross); overflow: hidden;
  min-width: 0; display: flex; flex-direction: column;
}
.karte__bild { position: relative; aspect-ratio: 3 / 2; }
.karte__bild img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9); transition: filter .3s ease, transform .5s ease; }
.karte:hover .karte__bild img { filter: saturate(1) brightness(1.06); }
.karte__leib { padding: 1.3rem 1.3rem 1.5rem; display: flex; flex-direction: column; gap: .55rem; }
.karte__leib h3 { font-size: 1.3rem; font-weight: 700; }
.karte__leib p { color: var(--tinte-leise); font-size: .98rem; }

/* ---- Zweispalter Text + Bild (.zug) -------------------------------------- */
.zug { display: grid; gap: clamp(1.4rem, 4vw, 2.6rem); align-items: center; }
.zug__text { min-width: 0; }
.zug__text > * + * { margin-top: 1rem; }
.zug__bild { min-width: 0; border-radius: var(--r-gross); overflow: hidden; border: 1px solid var(--linie); }
.zug__bild img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9); }
.bildzeile { font-size: .82rem; color: var(--tinte-leise); margin-top: .7rem; }

/* ---- Stationen ------------------------------------------------------------ */
.station {
  background: var(--flaeche); border: 1px solid var(--linie);
  border-radius: var(--r-gross); padding: clamp(1.4rem, 4vw, 2.4rem);
  min-width: 0;
}
.station legend, .station .legende {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(1.5rem, 4vw, 2.1rem); line-height: 1.12; padding: 0;
}
.station .hilfe { color: var(--tinte-leise); margin-top: .7rem; max-width: 52ch; }
fieldset.station { border: 1px solid var(--linie); margin: 0; }

.wahl {
  display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem;
}
.wahl button {
  font-family: var(--body); font-weight: 600; font-size: .98rem;
  color: var(--tinte); background: var(--flaeche-2);
  border: 1.5px solid var(--linie-2); border-radius: var(--r);
  padding: .6rem 1rem; min-height: 44px; cursor: pointer;
  display: inline-flex; align-items: center; gap: .5rem;
  transition: border-color .16s ease, background-color .16s ease, color .16s ease;
}
.wahl button:hover { border-color: var(--hebung); }
.wahl button[aria-pressed="true"] {
  background: var(--hebung); color: #181712; border-color: var(--hebung);
}
.wahl__heute {
  font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--hebung);
}
.wahl button[aria-pressed="true"] .wahl__heute { color: #4a3410; }

.ergebnis {
  margin-top: 1.6rem; padding: 1.15rem 1.25rem;
  background: var(--grund-tief); border: 1px solid var(--linie);
  border-left: 3px solid var(--hebung); border-radius: var(--r);
  min-width: 0;
}
.ergebnis .kopfzeile { display: flex; align-items: baseline; gap: .7rem; flex-wrap: wrap; }
.status-marke {
  font-family: var(--body); font-weight: 700; font-size: .72rem;
  letter-spacing: .14em; text-transform: uppercase;
  padding: .25rem .6rem; border-radius: var(--r); border: 1px solid var(--linie-2);
  color: var(--tinte-leise);
}
.status-marke[data-zustand="auf"] { color: #181712; background: var(--hebung); border-color: var(--hebung); }
.status-marke[data-zustand="zu"] { color: var(--tinte-leise); }
.ergebnis__satz { font-size: 1.1rem; color: var(--tinte); margin-top: .55rem; }
.ergebnis__ctas { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.2rem; }

.fussnote { font-size: .82rem; color: var(--tinte-leise); margin-top: 1.2rem; max-width: 60ch; }

/* Lesbarer Fallback ohne JS: die Wochenliste / Kategorien stehen als Text */
.wochenliste { margin-top: 1.5rem; display: grid; gap: .1rem; }
.wochenliste > div { display: contents; }
.wochenliste dl { display: grid; grid-template-columns: auto minmax(0,1fr); gap: .35rem 1.2rem; margin: 0; }
.wochenliste dt { font-weight: 600; color: var(--tinte); }
.wochenliste dd { margin: 0; color: var(--tinte-leise); font-variant-numeric: tabular-nums; }

/* ---- Signatur-Band (ruhiges Vollbild) ------------------------------------ */
.band { position: relative; isolation: isolate; }
.band__bild { position: absolute; inset: 0; z-index: -2; }
.band__bild img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); }
.band::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(16,15,11,.66), rgba(16,15,11,.6)),
              radial-gradient(120% 100% at 20% 60%, rgba(16,15,11,.2), rgba(16,15,11,.82));
}
.band__innen {
  min-height: clamp(300px, 46vw, 460px);
  display: flex; flex-direction: column; justify-content: center;
  padding-block: clamp(3rem, 8vw, 5rem);
}
.band__innen .rubrik { color: var(--hebung); }
.band__innen h2 { color: #FBF6EC; max-width: 20ch; text-shadow: 0 2px 22px rgba(0,0,0,.5); }
.band__innen p { color: #E9E0D0; max-width: 52ch; margin-top: 1rem; }

/* ---- Zahlenstreifen (eine gemeinsame Spalte) ----------------------------- */
.zahlen {
  display: grid; grid-template-columns: auto minmax(0,1fr);
  gap: 1rem 1.3rem; align-items: baseline;
  margin: 0; padding: 0;
}
.zahlen > div { display: contents; }
.zahlen .z-wert {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(2rem, 6vw, 3rem); line-height: 1;
  color: var(--tinte); font-variant-numeric: tabular-nums; hyphens: manual;
}
.zahlen .z-text { color: var(--tinte-leise); align-self: center; min-width: 0; }
.zahlenband {
  border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie);
  padding-block: clamp(1.8rem, 4vw, 2.6rem);
}

/* ---- Zitat ---------------------------------------------------------------- */
.zitat { border-left: 3px solid var(--hebung); padding-left: clamp(1rem, 3vw, 1.6rem); }
.zitat blockquote {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(1.4rem, 4vw, 2.1rem); line-height: 1.25;
  color: var(--tinte); margin: 0;
}
.zitat cite { display: block; margin-top: 1rem; font-style: normal; color: var(--tinte-leise); font-size: .92rem; }

/* ---- Kontakt-Aufruf ------------------------------------------------------- */
.aufruf {
  background: var(--flaeche); border: 1px solid var(--linie);
  border-radius: var(--r-gross); padding: clamp(1.8rem, 5vw, 3rem);
  text-align: center;
}
.aufruf .tel {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(2rem, 7vw, 3.2rem); color: var(--hebung);
  text-decoration: none; display: inline-block; margin: 1rem 0 .4rem;
  font-variant-numeric: tabular-nums;
}
.aufruf .tel:hover { filter: brightness(1.08); }
.aufruf__ctas { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-top: 1.4rem; }

/* ---- Formular ------------------------------------------------------------- */
.formular { display: grid; gap: 1.1rem; min-width: 0; }
.feld { display: grid; gap: .4rem; min-width: 0; }
.feld label { font-weight: 600; font-size: .92rem; }
.feld input, .feld select, .feld textarea {
  font-family: var(--body); font-size: 1rem; color: var(--tinte);
  background: var(--grund-tief); border: 1.5px solid var(--linie-2);
  border-radius: var(--r); padding: .75rem .85rem; min-height: 48px; width: 100%;
}
.feld textarea { min-height: 130px; resize: vertical; }
.feld input:focus, .feld select:focus, .feld textarea:focus { border-color: var(--hebung); outline: none; }
.feld--paar { display: grid; gap: 1.1rem; grid-template-columns: minmax(0,1fr); }

/* ---- Karte (Cookie-gesteuert) -------------------------------------------- */
.karte-block { position: relative; }
.karte-block iframe { width: 100%; height: clamp(280px, 38vw, 460px); border: 0; display: block; }
.karte-block .karte__sperre {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .9rem; text-align: center; padding: clamp(1.4rem, 5vw, 2.4rem);
  background: var(--flaeche);
}
.karte-block.ks-frei .karte__sperre { display: none; }
.karte__sperre p { color: var(--tinte-leise); max-width: 46ch; }
.karte__sperre .zeile { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; align-items: center; }

/* ---- Fuß ------------------------------------------------------------------ */
.fuss {
  background: var(--grund-tief); border-top: 1px solid var(--linie);
  padding-block: clamp(2.6rem, 6vw, 4rem);
}
.fuss__gitter { display: grid; gap: 2rem; grid-template-columns: minmax(0,1fr); }
.fuss h3 { font-family: var(--body); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--hebung); margin: 0 0 .9rem; font-weight: 700; }
.fuss p, .fuss a, .fuss li { color: var(--tinte-leise); }
.fuss a { text-decoration: none; }
.fuss a:hover { color: var(--tinte); }
.fuss ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.fuss .marke b { color: var(--tinte); }
.fuss__unten {
  margin-top: 2.4rem; padding-top: 1.4rem; border-top: 1px solid var(--linie);
  display: flex; flex-wrap: wrap; gap: .8rem 1.4rem; align-items: center; justify-content: space-between;
}
.fuss__unten small { color: var(--tinte-leise); }
.ks-cookie-oeffnen {
  font-family: var(--body); font-weight: 600; font-size: .9rem;
  color: var(--tinte-leise); background: transparent;
  border: 1px solid var(--linie-2); border-radius: var(--r);
  padding: .55rem .9rem; min-height: 40px; cursor: pointer;
}
.ks-cookie-oeffnen:hover { border-color: var(--hebung); color: var(--tinte); }

/* ---- Sprungmarken unter dem klebenden Kopf ------------------------------- */
[id] { scroll-margin-top: calc(var(--kopf) + 14px); }

/* ---- Fläche mit ruhigem Panel -------------------------------------------- */
.panel { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--r-gross); padding: clamp(1.4rem, 4vw, 2.2rem); min-width: 0; }
.kopfzeile-abschnitt { max-width: 60ch; }
.kopfzeile-abschnitt p { color: var(--tinte-leise); margin-top: .8rem; }
.stapel > * + * { margin-top: clamp(2.4rem, 5vw, 3.4rem); }

/* Menü-Kategorien (Speisekarte) */
.speiseliste { display: grid; gap: 1.4rem; grid-template-columns: minmax(0,1fr); }
.speise { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--r-gross); padding: 1.4rem 1.5rem; min-width: 0; }
.speise h3 { font-size: 1.3rem; font-weight: 700; }
.speise p { color: var(--tinte-leise); margin-top: .5rem; }
.speise .marke-klein { display: inline-block; margin-top: .8rem; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--hebung); font-weight: 700; }

/* ---- Ab Tablet ------------------------------------------------------------ */
@media (min-width: 620px) {
  .karten { grid-template-columns: repeat(2, 1fr); }
  .feld--paar { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .fuss__gitter { grid-template-columns: minmax(0,1.4fr) minmax(0,1fr) minmax(0,1fr); }
  .speiseliste { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  :root { --kopf: 72px; }
  .karten { grid-template-columns: repeat(3, 1fr); }
  .zug { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .zug--bild-links .zug__text { order: 2; }
  .zug--bild-links .zug__bild { order: 1; }
  .kontakt-gitter { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(1.6rem, 4vw, 3rem); align-items: start; }
  .kontakt-gitter .infospalte { position: sticky; top: calc(var(--kopf) + 20px); align-self: start; }
  .zahlen { grid-template-columns: auto minmax(0,1fr) auto minmax(0,1fr); }
  .band__innen h2 { max-width: 16ch; }
}

/* ---- Reduzierte Bewegung -------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

/* Rechtstexte, nachgetragen am 05.08.2026: Impressum und Datenschutz waren im
   Fuss verlinkt, aber nie angelegt worden — beide Verweise gingen ins Leere. */
.rechtstext{max-width:44rem}
.rechtstext h1{margin-bottom:.5rem}
.rechtstext h2{font-size:1.15rem;margin:2.2rem 0 .5rem}
.rechtstext p{margin-bottom:.85rem}
.rechtstext a{text-decoration:underline;text-underline-offset:3px;
  display:inline-block;min-height:26px;padding-block:3px}
.marke__zeile{display:inline-block;font-size:.72rem;letter-spacing:.2em;
  text-transform:uppercase;opacity:.8;margin-bottom:.8rem}
.hinweis-kasten{margin-top:2.6rem;border:1px solid currentColor;border-left-width:4px;
  padding:1.15rem;border-radius:6px;opacity:.95}
.hinweis-kasten strong{display:block;margin-bottom:.5rem}
.hinweis-kasten p:last-child{margin-bottom:0}

/* Regel 10 (05.08.2026): Bilder in gleichartigen Kacheln haben dieselbe Höhe.
   Gemessen bei 1440 px: 493 / 555 / 555 px in EINER Reihe.

   Ursache: Die drei Motive sind Hochformat. Das Bild stand mit `height:100%`
   IM Fluss; ein Prozentwert gegen einen Elternteil ohne feste Höhe löst zu
   `auto` auf, und damit bestimmte das Bild die Höhe des Kastens statt
   umgekehrt. Das `aspect-ratio` des Kastens kam nie zum Tragen — es ist keine
   Obergrenze.

   Lösung: Das Bild wird absolut gesetzt und füllt den Kasten. Erst dann gilt
   das Seitenverhältnis, und alle drei Kacheln sind gleich hoch. */
.karte__bild{ flex:0 0 auto; height:auto; }
.karte__bild img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
