/* ============================================================
   VORLAGE — Web-Fassung der Speisekarten (feste Adresse /karte)
   Einspaltig, Hausfarben und Hausschriften, am Handy gut lesbar.
   ============================================================ */

:root {
  --marine:     #090c50;
  --mittelblau: #3b407a;
  --grau:       #6d719a;
  --linie:      #d7dae6;
}

body.webkarte {
  margin: 0;
  background: #fff;
  color: var(--mittelblau);
  font-family: "Hanken Grotesk", sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Kopf & Sprungleiste ---------- */
.w-kopf { text-align: center; padding: 36px 16px 8px; }
.w-kopf img { width: 96px; }
.w-haus {
  margin: 12px 0 0;
  font-family: "Hanken Grotesk", sans-serif; font-weight: 600; font-size: 17px;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--marine);
}

.w-nav {
  position: sticky; top: 0; z-index: 5;
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
  padding: 16px; margin-top: 12px;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--linie);
}
.w-nav a, .w-nav button {
  font-size: 12px; font-weight: 600; font-family: inherit;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--marine); text-decoration: none;
  padding: 6px 11px; background: none; cursor: pointer;
  border: 1px solid var(--linie); border-radius: 999px;
  white-space: nowrap;
}
.w-nav a:hover, .w-nav button:hover { border-color: var(--marine); }
.w-nav button.aktiv { background: var(--marine); border-color: var(--marine); color: #fff; }

/* ---------- Karten ---------- */
#w-karten { max-width: 640px; margin: 0 auto; padding: 8px 20px 40px; }

.w-karte { margin-top: 52px; scroll-margin-top: 76px; }
.w-logo { text-align: center; margin-bottom: 10px; }
.w-logo img { height: 44px; }
.w-titel {
  margin: 0 0 4px;
  font-family: "Hanken Grotesk", sans-serif; font-weight: 600; font-size: 22px;
  line-height: 1.3; letter-spacing: .12em; text-transform: uppercase;
  color: var(--marine); text-align: center;
}
.w-untertitel { margin: 0; text-align: center; font-weight: 300; color: var(--grau); }
.w-linie { width: 120px; height: 1px; margin: 16px auto 24px; background: var(--mittelblau); opacity: .5; }

.w-karte.ohne-akzent .w-titel,
.w-karte.ohne-akzent .w-menue-titel {
  font-family: "Hanken Grotesk", sans-serif;
  font-weight: 600; letter-spacing: .12em;
}

/* Vorwort */
.w-vorwort { font-weight: 300; font-size: 14.5px; line-height: 1.9; white-space: pre-line; }
.w-vorwort b { font-weight: 600; color: var(--marine); }

/* Rubriken mit Preisen */
.w-rubrik { margin: 26px 0; }
.w-rubrik-titel {
  margin: 0 0 12px;
  font-weight: 600; font-size: 13.5px;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--marine);
}
.w-gericht { margin: 0 0 14px; }
.w-gericht .zeile1 { display: flex; align-items: baseline; gap: 12px; }
.w-gericht .name { font-weight: 600; font-size: 15px; line-height: 1.4; color: var(--marine); }
.w-gericht .frei { flex: 1; }
.w-gericht .preis { color: var(--marine); font-variant-numeric: tabular-nums; white-space: nowrap; }
.w-gericht .beilagen { margin: 2px 0 0; font-weight: 300; font-size: 13.5px; line-height: 1.45; }

/* Menüs & Blöcke — linksbündig wie die Stubenkarte (Vicky 14.09.) */
.w-menue { text-align: left; }
.w-menue-titel {
  margin: 20px 0 14px;
  font-family: "Hanken Grotesk", sans-serif; font-weight: 600; font-size: 17px;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--marine);
}
.w-gang { margin-bottom: 16px; }
.w-gang .name { margin: 0; font-weight: 600; font-size: 15px; line-height: 1.4; color: var(--marine); }
.w-gang .beilagen { margin: 1px 0 0; font-weight: 300; font-size: 13.5px; }
.w-staffel { margin: 20px 0 0; color: var(--marine); white-space: pre-line; }
.w-hinweis {
  margin: 22px 0 0; text-align: center;
  font-weight: 300; font-size: 12.5px; line-height: 1.55;
  color: var(--grau); white-space: pre-line;
}

/* Ruhetext, solange nichts freigegeben ist */
.w-ruhe { text-align: center; padding: 60px 20px; font-weight: 300; color: var(--grau); }

.w-fuss {
  text-align: center; padding: 20px 16px 46px;
  font-weight: 300; font-size: 12px; color: var(--grau);
}

/* „unser neues Menü" + Beigaben auf der Web-Karte */
.w-neu {
  margin: 2px 0 6px; text-align: center;
  font-style: italic; font-weight: 300; color: var(--mittelblau, #3b407a);
  letter-spacing: .05em;
}
.w-gang.beigabe .name, .w-gericht.beigabe .name, .w-gericht.beigabe b {
  font-style: italic; font-weight: 300;
}
.w-gang.beigabe .beilagen, .w-gericht.beigabe .beilagen {
  font-style: italic; font-size: 12.5px;
}
.w-gang.beigabe { margin-bottom: 7px; }
.w-gang:not(.beigabe) + .w-gang.beigabe { margin-top: 22px; }
.w-gang.beigabe + .w-gang:not(.beigabe) { margin-top: 22px; }

/* ---------- Infoseiten /sonntage und /zeiten ---------- */
.w-info { margin-top: 44px; }

.w-zeiten { max-width: 520px; margin: 0 auto; }
/* Ohne Trennlinien zwischen den Reihen (Vicky 14.09.: „sieht seltsam
   aus mit den dünnen Linien dazwischen") — Struktur geben allein die
   Zwischentitel mit ihren Linien */
.w-zeit-reihe {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 18px; padding: 9px 0;
}
.w-zeit-reihe .was { font-weight: 600; font-size: 14px; color: var(--marine); }
.w-zeit-reihe .wert { font-weight: 300; font-size: 14px; text-align: right; }

.w-sonntag-stand { text-align: center; margin: 4px 0 26px; }
.w-sonntag-stand .datum { margin: 0; font-weight: 300; font-size: 15px; }
.w-sonntag-stand .zustand {
  margin: 4px 0 0;
  font-family: "Hanken Grotesk", sans-serif; font-weight: 600; font-size: 20px;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--grau);
}
.w-sonntag-stand.offen .zustand { color: var(--marine); }

.w-listen-titel {
  margin: 34px 0 12px; text-align: center;
  font-weight: 600; font-size: 13.5px;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--marine);
}
.w-sonntage { text-align: center; }
.w-sonntag { margin: 0; padding: 7px 0; font-weight: 300; font-size: 14.5px; }
.w-sonntag.naechster { font-weight: 600; color: var(--marine); }

.w-oder { margin: 0 0 2px; font-style: italic; font-weight: 300; font-size: 13px; color: var(--grau); }

.w-gang:has(+ .w-gang.alternative) { margin-bottom: 3px; }

/* ---------- Lightbox-Fassung (Vicky 14.09.) ---------- */
/* Leiste im Fluss statt schwebender Knöpfe (Vicky 14.09.):
   drückt das Logo nach unten, nichts liegt mehr übereinander */
.w-chrome {
  position: sticky; top: 0; z-index: 20;
  display: flex; flex-direction: row; gap: 8px; align-items: center;
  padding: 10px 12px; background: #fff;
  border-bottom: 1px solid var(--linie);
}
.w-zu {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--linie); background: #fff; color: var(--marine);
  font-size: 15px; cursor: pointer; box-shadow: 0 2px 8px rgba(9,12,80,.10);
}
.w-alle {
  padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--linie); background: #fff; color: var(--marine);
  font-size: 12px; font-weight: 600; letter-spacing: .05em; cursor: pointer;
}
.w-kopf-klein { padding: 22px 16px 4px; }
.w-kopf-klein img { width: 64px; }
.w-kopf-klein .w-haus { font-size: 14px; margin-top: 8px; }

.w-wahl {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
  padding: 14px 16px 0;
}
.w-knopf {
  font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--marine); background: none; cursor: pointer;
  padding: 7px 13px; border: 1px solid var(--linie); border-radius: 999px;
}
.w-knopf.aktiv { background: var(--marine); border-color: var(--marine); color: #fff; }
.w-wahl-klein .w-knopf { font-size: 11px; padding: 5px 10px; text-transform: none; letter-spacing: .02em; }

.w-kacheln { display: flex; flex-direction: column; gap: 10px; margin-top: 28px; }
.w-kachel {
  display: flex; justify-content: space-between; align-items: baseline; gap: 14px;
  padding: 14px 18px; background: none; cursor: pointer;
  border: 1px solid var(--linie); border-radius: 12px; text-align: left;
}
.w-kachel:hover { border-color: var(--marine); }
.w-kachel-name {
  font-family: "Hanken Grotesk", sans-serif; font-weight: 600; font-size: 15px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--marine);
}
.w-kachel-art { font-size: 12px; color: var(--grau); white-space: nowrap; }

.w-zurueck {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 15;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(rgba(255,255,255,0), #fff 40%);
  text-align: center;
}
.w-zurueck a {
  display: inline-block; padding: 10px 22px; border-radius: 999px;
  background: var(--marine); color: #fff; text-decoration: none;
  font-size: 13px; font-weight: 600; letter-spacing: .05em;
  box-shadow: 0 6px 18px rgba(9,12,80,.25);
}
body.mit-zurueck #w-karten { padding-bottom: 90px; }

/* Öffnungszeit des Anlasses über der Karte + in den Kacheln */
.w-gilt {
  margin: 18px 0 -34px; text-align: center;
  font-size: 12.5px; font-weight: 300; letter-spacing: .04em;
  color: var(--grau);
}
.w-kachel { flex-wrap: wrap; }
.w-kachel-zeit { flex-basis: 100%; font-size: 12px; font-weight: 300; color: var(--grau); margin-top: 2px; }

/* HochZwei-Logo oben, GzB unten + Stand; DE/EN-Umschalter */
.w-kopf-klein img.w-logo-hochzwei { width: 150px; }
.w-abschluss { text-align: center; margin: 40px 0 8px; }
.w-abschluss img { width: 58px; opacity: .95; }
.w-stand { margin: 8px 0 0; font-size: 11.5px; font-style: italic; font-weight: 300; color: var(--grau); }
.w-sprache { display: flex; gap: 4px; }
.w-sprache button {
  padding: 5px 9px; border-radius: 999px; font-size: 11px; font-weight: 700;
  letter-spacing: .06em; border: 1px solid var(--linie); background: #fff;
  color: var(--marine); cursor: pointer;
}
.w-sprache button.aktiv { background: var(--marine); border-color: var(--marine); color: #fff; }
.w-sprache[hidden] { display: none; }
#w-fuss em { font-style: italic; }

.w-kopf-klein img.w-logo-stube { width: 92px; }
/* DE/EN links, Knöpfe rechts — wie auf den Info-Seiten (Vicky 14.09.);
   die alte order-Sortierung schob die Pills nach rechts */

/* DE/EN links in der Leiste, „alle Karten" + ✕ rechts */
.w-alle { margin-left: auto; }

/* Sonntags-Status unter der Anlass-Zeit */
.w-gilt-sonntag { margin-top: 40px; color: var(--marine); font-weight: 400; }

/* /sonntage: Menü-Link + Monats-Gliederung */
.w-menue-link {
  display: block; width: fit-content; margin: 26px auto 6px;
  padding: 9px 20px; border-radius: 999px;
  background: var(--marine); color: #fff; text-decoration: none;
  font-size: 13px; font-weight: 600; letter-spacing: .05em;
}
.w-monat {
  margin: 18px 0 4px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--grau);
}

/* Anlass-Kopf über den Karten-Pills (Vicky 14.09.) */
.w-gruppenkopf { text-align: center; padding: 8px 16px 0; }
.w-gruppen-name {
  margin: 0; font-family: "Hanken Grotesk", sans-serif; font-weight: 600; font-size: 16px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--marine);
}
.w-gruppenkopf .w-gilt { margin: 5px 0 0; }
.w-gruppenkopf .w-gilt-sonntag { margin-top: 2px; }

/* Betriebsurlaub (Vicky 14.09.) */
.w-gilt-urlaub { margin-top: 2px; color: var(--marine); font-weight: 400; }
.w-urlaub-zeitraum { text-align: center; font-size: 15px; margin: 14px 0 6px; color: var(--marine); }
.w-urlaub-text { text-align: center; font-weight: 300; font-size: 13.5px; line-height: 1.6; margin: 0; }

/* Termin-Link im Sonntags-Status (Vicky 14.09.) */
.w-gilt-sonntag a {
  color: var(--marine); font-weight: 600;
  text-decoration: underline; text-underline-offset: 2px;
}

/* Untertitel im Anlass-Kopf (Ein-Karten-Gruppen: „by Hans Häge") */
.w-gruppen-unter {
  margin: 2px 0 0; font-weight: 300; font-size: 13px;
  letter-spacing: .06em; color: var(--grau);
}

/* Zwischenüberschriften + Hinweissätze der Zeiten-Blöcke (Vicky 14.09.) */
.w-zeit-zwischen {
  margin: 22px 0 8px; font-family: "Hanken Grotesk", sans-serif; font-weight: 600;
  font-size: 13.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--marine);
  /* Linien links und rechts — wie auf dem Zeiten-PDF (Vicky 14.09.) */
  display: flex; align-items: center; gap: 16px; text-align: center;
}
.w-zeit-zwischen::before, .w-zeit-zwischen::after {
  content: ""; flex: 1; height: 1px;
  background: var(--marine); opacity: .35;
}
.w-zeit-text {
  margin: 10px 0 2px; text-align: center;
  font-weight: 300; font-size: 13px; line-height: 1.55; color: var(--grau);
}

/* Event-Zeilen der Anstehende-Events-Liste (Vicky 14.09.): der
   Kartentitel führt zur Speisekarte des Events */
.w-zeit-reihe .was a {
  color: var(--marine); font-weight: 600;
  text-decoration: underline; text-underline-offset: 2px;
}

/* Klickbare Telefon-/Mail-Angaben in den Hinweissätzen (Vicky 14.09.) */
.w-zeit-text a, .w-urlaub-text a {
  color: var(--marine); font-weight: 400;
  text-decoration: underline; text-underline-offset: 2px;
  white-space: nowrap;
}

/* Foto-Reihen in den Info-Blöcken (Vicky 14.09.) */
.w-fotos { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; justify-content: center; }
.w-fotos img {
  flex: 1 1 140px; min-width: 120px; max-width: 220px; aspect-ratio: 4 / 3;
  object-fit: cover; border-radius: 10px;
}

/* Überblend-Diashow oben auf den Info-Seiten (Vicky 14.09.:
   „Essen und Hotel und Atmosphäre") — Bilder liegen übereinander
   und blenden weich durch */
.w-diashow {
  position: relative; height: clamp(170px, 42vw, 280px);
  margin: 14px 0 18px; border-radius: 12px; overflow: hidden;
}
.w-diashow img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; transition: opacity 1.4s ease;
}
.w-diashow img.an { opacity: 1; }

/* Angebots-Zeilen (Name | Beschreibung | Preis) brauchen etwas Luft
   unter der Zwischenüberschrift */
.w-angebot { margin: 10px 0 18px; }

/* Untertitel in der Event-Zeile („mit Florian Wagenbach") */
.w-zeit-reihe .w-event-unter { font-weight: 300; color: var(--grau); }

/* Eventdatum + Einladungstext auf Event-Karten (Vicky 14.09.) */
.w-event-datum {
  margin: 6px 0 0; text-align: center;
  font-weight: 600; font-size: 13px; letter-spacing: .08em;
  color: var(--marine);
}
.w-einladung {
  margin: 0 0 26px; text-align: center;
  font-weight: 300; font-size: 14.5px; line-height: 1.85;
  color: var(--mittelblau); white-space: pre-line;
}
.w-einladung a {
  color: var(--marine); font-weight: 400;
  text-decoration: underline; text-underline-offset: 2px;
  white-space: nowrap;
}

/* Schöner Flattersatz für Einladungs- und Hinweistexte (Vicky 14.09.:
   Zeilen etwa gleich lang, früher umbrechen) */
.w-einladung, .w-zeit-text, .w-hinweis, .w-urlaub-text {
  max-width: 52ch;
  margin-left: auto; margin-right: auto;
  text-wrap: balance;
}

/* Rechte Knopf-Gruppe im Karten-Kopf (Vicky 14.09.: DE/EN links
   wie auf den Info-Seiten) */
.w-chrome-rechts { margin-left: auto; display: flex; gap: 8px; align-items: center; }
