/* Tong Thai Dee – Nachbau-Vorschau (Werkmedia). Farben und Schrift nach CI.md. */
@font-face { font-family: 'Fira Sans'; src: url('/schriften/fira-sans-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Fira Sans'; src: url('/schriften/fira-sans-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Fira Sans'; src: url('/schriften/fira-sans-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --logo-blau: #0C3F78;
  --text: #284175;
  --gold: #C29E52;
  --gold-dunkel: #7A5C1E;   /* Gold für kleine Schrift: 6.2:1 auf Weiss */
  --taube: #BEC6D5;
  --nebel: #EEF1F6;
  --weiss: #FFFFFF;
  --linie: #D5DBE6;
  --breite: 70rem;   /* 1120 px bei Standardschrift; wächst mit, wenn im Browser grössere Schrift eingestellt ist (01.11.2026) */
  --rand: clamp(1rem, 4vw, 2rem);
  --rund: 10px;
  --schatten: 0 1px 2px rgba(12, 63, 120, .06), 0 8px 24px rgba(12, 63, 120, .08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--weiss); color: var(--text);
  font-family: 'Fira Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 1.0625rem; line-height: 1.6; overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--logo-blau); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--gold-dunkel); }
:focus-visible { outline: 3px solid var(--logo-blau); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { color: var(--logo-blau); line-height: 1.2; font-weight: 600; margin: 0 0 .6em; text-wrap: balance; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.1rem); }
h3 { font-size: 1.2rem; font-weight: 500; }
p { margin: 0 0 1em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.huelle { max-width: var(--breite); margin-inline: auto; padding-inline: var(--rand); }

/* Gelbe Markierungen (BAUREGELN, unabhängig von der CI) */
.offen{background:#ffe14d;color:#1a1a1a;font-weight:600;padding:.15em .45em;border-radius:4px}
p.offen,div.offen{display:block;padding:.8rem 1rem;border-left:6px solid #d4a600;margin:1rem 0}

/* Vorschau-Band */
.vorschau-band { background: var(--logo-blau); color: var(--weiss); text-align: center; font-size: 1rem; padding: .5rem var(--rand); }

/* Kopf */
.kopf { position: sticky; top: 0; z-index: 20; background: var(--taube); border-bottom: 1px solid #aab4c7; }
.kopf .huelle { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.5rem; }
.marke { display: block; padding: .5rem 0; flex: 0 0 auto; }
.marke img { width: 200px; height: auto; }
.nav-gross ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem; }
.nav-gross a, .menue a {
  display: flex; align-items: center; min-height: 44px; padding: 0 .75rem; border-radius: 6px;
  color: var(--logo-blau); text-decoration: none; font-weight: 500;
}
.nav-gross a:hover { background: rgba(255, 255, 255, .55); color: var(--logo-blau); }
.menue { display: none; position: relative; }
.menue summary {
  list-style: none; cursor: pointer; min-height: 44px; min-width: 44px; padding: 0 1rem; display: flex; align-items: center; gap: .5rem;
  border: 1px solid var(--logo-blau); border-radius: 6px; color: var(--logo-blau); font-weight: 500; background: rgba(255,255,255,.4);
}
.menue summary::-webkit-details-marker { display: none; }
.menue summary::before { content: ''; width: 18px; height: 12px; background: linear-gradient(var(--logo-blau) 0 0) top/100% 2px no-repeat, linear-gradient(var(--logo-blau) 0 0) center/100% 2px no-repeat, linear-gradient(var(--logo-blau) 0 0) bottom/100% 2px no-repeat; }
.menue ul { list-style: none; margin: 0; padding: .5rem; position: absolute; right: 0; top: calc(100% + .5rem); width: min(18rem, calc(100vw - 2rem)); background: var(--weiss); border-radius: var(--rund); box-shadow: var(--schatten); }
.menue li + li { border-top: 1px dotted var(--taube); }
/* em statt px: Bei grösserer Browserschrift kommt der Menü-Knopf früher, statt dass die Leiste in zwei Zeilen
   umbricht (Jay 01.11.2026, Bild mit Schriftgrösse «Gross»). 68.75em = 1100 px bei Standardschrift. */
@media (max-width: 68.75em) {
  .nav-gross { display: none; }
  .menue { display: block; }
  .marke img { width: 170px; }
}

/* Start */
.start { padding: clamp(2rem, 5vw, 4rem) 0 clamp(2.5rem, 5vw, 4.5rem); }
.start .huelle { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.start h1 { font-size: clamp(2.2rem, 3.4vw, 2.9rem); margin-bottom: .4em; }
.start h1 span { display: block; }
h1.titel { font-size: clamp(1.9rem, 3.5vw, 2.5rem); }
.start .claim { width: min(260px, 70%); margin-bottom: 1.25rem; }
.einleitung { font-size: 1.2rem; max-width: 34ch; }
.status { display: inline-flex; align-items: center; gap: .55rem; margin: .25rem 0 1.25rem; padding: .45rem .9rem; border-radius: 999px; background: var(--nebel); color: var(--logo-blau); font-weight: 500; }
.status::before { content: ''; width: .6rem; height: .6rem; border-radius: 50%; background: #9aa6bd; flex: 0 0 auto; }
.status.ist-offen::before { background: #2E7D4F; }
.hinweis { margin: -.5rem 0 1.25rem; padding: .6rem .9rem; max-width: 34rem; border-left: 4px solid var(--gold); border-radius: 0 var(--rund) var(--rund) 0; background: #F6EEDC; color: var(--logo-blau); font-weight: 500; }
.hinweis[hidden], .geschlossen-anzeige[hidden] { display: none; }
.geschlossen-anzeige { margin: 0 0 .5rem; color: var(--logo-blau); font-weight: 500; }
.knoepfe { display: flex; flex-wrap: wrap; gap: .75rem; }
.knoepfe + p { margin-top: 1.25rem; }
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .6rem 1.25rem;
  border-radius: 8px; font-weight: 500; text-decoration: none; border: 2px solid var(--logo-blau); background: var(--logo-blau); color: var(--weiss);
}
.knopf:hover { background: #0a335f; border-color: #0a335f; color: var(--weiss); }
.knopf.zweit { background: transparent; color: var(--logo-blau); }
.knopf-gross { min-height: 64px; padding: .9rem 1.75rem; font-size: 1.2rem; font-weight: 600; margin: .5rem 0 1rem; box-shadow: var(--schatten); }
.knopf-gross svg { width: 1.4em; height: 1.4em; }
.menu-text { font-size: 1.15rem; max-width: 40rem; }
@media (max-width: 480px) { .knopf-gross { width: 100%; } }
.knopf.zweit:hover { background: var(--nebel); color: var(--logo-blau); }
@media (max-width: 480px) { .knoepfe .knopf { flex: 1 1 100%; } }
.knopf svg { width: 1.15em; height: 1.15em; flex: 0 0 auto; }
.ladenfoto { margin: 0; justify-self: end; max-width: 840px; width: 100%; }
.ladenfoto img { border-radius: var(--rund); box-shadow: var(--schatten); width: 100%; }
@media (max-width: 860px) {
  .start .huelle { grid-template-columns: 1fr; }
  .ladenfoto { justify-self: stretch; order: -1; }
}

/* Abschnitte */
.abschnitt { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.abschnitt.nebel { background: var(--nebel); }
.titel::after { content: ''; display: block; width: 3.5rem; height: 3px; margin-top: .55rem; background: var(--gold); border-radius: 2px; }
.zwei { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
@media (max-width: 800px) { .zwei { grid-template-columns: 1fr; } }
.abstand-oben { margin-top: 2.5rem; }
.liste { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.liste li { position: relative; padding-left: 1.4rem; margin-bottom: .35rem; }
.liste li::before { content: ''; position: absolute; left: 0; top: .72em; width: .7rem; height: 2px; background: var(--gold); }
.notiz { color: var(--text); font-style: italic; }
.karte-box { background: var(--weiss); border-radius: var(--rund); box-shadow: var(--schatten); padding: clamp(1.25rem, 3vw, 2rem); }
.nebel .karte-box { background: var(--weiss); }

/* Fotos */
.fotoreihe { display: grid; grid-template-columns: repeat(4, minmax(0, 267px)); justify-content: center; gap: 1rem; margin-top: 1.5rem; }
@media (max-width: 640px) {
  .fotoreihe { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(200px, 62%); justify-content: start; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .5rem; }
  .fotoreihe img { scroll-snap-align: start; }
}
.fotoreihe img { width: 100%; aspect-ratio: 268 / 193; object-fit: cover; border-radius: var(--rund); }
.hochfoto { margin: 0; max-width: 267px; justify-self: center; }
.hochfoto img { border-radius: var(--rund); aspect-ratio: 267 / 400; object-fit: cover; width: 100%; }
.lokal-fotos { align-self: stretch; }
.lokal-fotos .fotopaar { position: sticky; top: 7rem; }
.fotopaar { display: grid; grid-template-columns: repeat(2, minmax(0, 267px)); gap: 1rem; justify-content: center; }
.fotopaar img { border-radius: var(--rund); aspect-ratio: 267 / 420; object-fit: cover; width: 100%; }

/* Menuplan */
.wochen { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 1rem; margin: 1.5rem 0; }
.tag { background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--rund); padding: 1.25rem 1.25rem 1rem; }
.tag.ist-heute { border: 2px solid var(--gold); box-shadow: var(--schatten); }
.extras-tag { background: var(--nebel); }
.tag h3 { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .6rem; }
.heute-marke { font-size: 1rem; font-weight: 600; color: var(--gold-dunkel); background: #F6EEDC; padding: .1rem .6rem; border-radius: 999px; }
.tag h4 { margin: .9rem 0 .35rem; font-size: 1rem; font-weight: 600; color: var(--gold-dunkel); text-transform: uppercase; letter-spacing: .04em; }
.gerichte { list-style: none; margin: 0; padding: 0; }
.gerichte li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .75rem; padding: .3rem 0; border-bottom: 1px dotted var(--taube); }
.gerichte li:last-child { border-bottom: 0; }
.preis { font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 500; color: var(--logo-blau); }
.extras { max-width: 40rem; }
.extras .gerichte li { padding: .45rem 0; }
.extras-foto { display: grid; grid-template-columns: minmax(0, 1fr) 140px; gap: 1rem; align-items: start; }
.extras-foto img { border-radius: var(--rund); aspect-ratio: 267 / 360; object-fit: cover; }
@media (max-width: 480px) { .extras-foto { grid-template-columns: 1fr; } .extras-foto img { max-width: 200px; } }
.deklaration { display: grid; grid-template-columns: auto 1fr; gap: .2rem 1.25rem; margin: 0 0 1rem; }
.deklaration dt { font-weight: 500; }
.deklaration dd { margin: 0; }
.klein { font-size: 1rem; }

/* Öffnungszeiten */
.zeiten { width: 100%; border-collapse: collapse; margin: .5rem 0 1rem; }
.zeiten th, .zeiten td { text-align: left; padding: .45rem 0; border-bottom: 1px dotted var(--taube); vertical-align: top; }
.zeiten td { text-align: right; }
.zeiten tr.ist-heute th, .zeiten tr.ist-heute td { font-weight: 600; color: var(--logo-blau); }
.zeiten th { font-weight: 400; }

/* Anfahrt */
.lage { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 1.5rem; align-items: start; }
.lage img { border-radius: var(--rund); border: 1px solid var(--linie); }
@media (max-width: 640px) { .lage { grid-template-columns: 1fr; } .lage figure { max-width: 200px; } }
.lage figure, .kartenbild { margin: 0; }
.kartenbild { margin-top: 2rem; }
.kartenbild a { display: block; }
.kartenbild img { width: 100%; border-radius: var(--rund); border: 1px solid var(--linie); }
.kartenbild figcaption { margin-top: .75rem; }

/* Kontakt */
.kontakt-liste { font-style: normal; font-size: 1.15rem; line-height: 1.7; margin-bottom: 1.5rem; }

/* Fuss */
.fuss { background: var(--taube); color: var(--logo-blau); padding: 2.5rem 0 2rem; }
.fuss .huelle { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem 2rem; align-items: end; }
.fuss .claim { width: 240px; margin-bottom: .75rem; }
.fuss address { font-style: normal; }
.fuss ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem 1rem; }
.fuss a { display: inline-flex; align-items: center; min-height: 44px; color: var(--logo-blau); }
.fuss address a { display: inline; min-height: 0; }
.fuss .werkmedia { grid-column: 1 / -1; font-size: 1rem; margin: 0; }
@media (max-width: 700px) { .fuss .huelle { grid-template-columns: 1fr; } }

/* Anrufen-Leiste am Handy */
.anrufleiste { display: none; }
@media (max-width: 760px) {
  .anrufleiste {
    display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    background: var(--logo-blau); padding-bottom: env(safe-area-inset-bottom);
    box-shadow: 0 -4px 16px rgba(12, 63, 120, .2);
  }
  .anrufleiste a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .1rem; min-height: 60px; color: var(--weiss); text-decoration: none; font-weight: 500; font-size: 1rem; }
  .anrufleiste a + a { border-left: 1px solid rgba(255, 255, 255, .2); }
  .anrufleiste svg { width: 1.3rem; height: 1.3rem; }
  body { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
}

/* Rechtliches */
.text-seite { max-width: 46rem; }
.krumen ol { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .5rem; }
.krumen li + li::before { content: '/'; margin-right: .5rem; color: var(--gold-dunkel); }
.krumen a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; }
.text-seite h2 { font-size: 1.5rem; margin-top: 2.5rem; }
.text-seite h3 { margin-top: 1.5rem; }

/* Browser-Flächen im Look */
::selection { background: var(--taube); color: var(--logo-blau); }
html { accent-color: var(--logo-blau); scrollbar-color: var(--taube) var(--weiss); }
