/* Hochsteinbaude – Stil B „Weitblick-Blau & Orange“ · Source Sans 3 (lokal gehostet) */

@font-face {
  font-family: 'Source Sans 3';
  src: url('../fonts/source-sans-3.woff2') format('woff2');
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f5f7f9;
  --weiss: #ffffff;
  --blau: #123a5e;
  --nacht: #0c2740;
  --akzent: #b8510d;
  --orange: #f7b267;
  --tint: #e8edf2;
  --ocker: #fbe9cf;
  --ocker-text: #9a4409;
  --text: #14283a;
  --leise: #44566a;
  --linie: #d3dae1;
  --hell: #d5dfea;
  --gruen-bg: #d9eadf;
  --gruen-text: #16432a;
  --radius: 16px;
  --rand: clamp(16px, 5vw, 80px);
  --abschnitt: clamp(56px, 8vw, 96px);
  --max: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}
body.menu-offen { overflow: hidden; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blau); text-underline-offset: 3px; }
a:hover { color: var(--akzent); }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
address { font-style: normal; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; background: var(--blau); color: #fff; padding: 12px 18px; border-radius: 10px; z-index: 100; font-weight: 700; }
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--max) + 2 * var(--rand)); margin: 0 auto; padding: 0 var(--rand); }
.abschnitt { padding: var(--abschnitt) 0; }
.abschnitt--tint { background: var(--tint); }
.abschnitt--ocker { background: var(--ocker); }
.abschnitt--blau { background: var(--blau); color: var(--bg); }
.abschnitt--nacht { background: var(--nacht); color: var(--bg); }
.abschnitt--blau a:not(.btn), .abschnitt--nacht a:not(.btn) { color: var(--orange); }
.zwei { display: grid; gap: clamp(32px, 6vw, 80px); align-items: center; }
.zwei--start { align-items: start; }
@media (min-width: 900px) {
  .zwei { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zwei--breit-links { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
  .zwei--breit-rechts { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
  .zwei--umgekehrt > :first-child { order: 2; }
}
.stapel { display: flex; flex-direction: column; gap: 20px; }
.stapel--eng { gap: 12px; }
.kopfzeile { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 48px; margin-bottom: 40px; }
.kopfzeile > .stapel { max-width: 780px; }

/* ---------- Typografie ---------- */
.eyebrow { font-size: 15px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--akzent); }
.abschnitt--blau .eyebrow, .abschnitt--nacht .eyebrow { color: var(--orange); }
h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1.04; font-weight: 700; color: var(--blau); hyphens: auto; }
h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.1; font-weight: 700; color: var(--blau); }
h3 { font-size: 22px; line-height: 1.25; font-weight: 700; color: var(--blau); }
.abschnitt--blau h2, .abschnitt--nacht h2, .abschnitt--blau h3, .abschnitt--nacht h3 { color: var(--bg); }
.lead { font-size: clamp(19px, 2vw, 21px); line-height: 1.55; color: var(--leise); }
.text { color: var(--leise); }
.abschnitt--blau .text, .abschnitt--nacht .text, .abschnitt--blau .lead, .abschnitt--nacht .lead { color: var(--hell); }
.klein { font-size: 15px; color: var(--leise); }
blockquote.zitat { font-style: italic; color: var(--text); border-left: 3px solid var(--orange); padding-left: 14px; }

/* ---------- Buttons ---------- */
.knoepfe { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 14px 28px; border-radius: 10px;
  font-weight: 700; font-size: 17px; line-height: 1.2; text-decoration: none; text-align: center;
  background: var(--blau); color: var(--bg); border: 2px solid var(--blau);
}
.btn:hover { background: var(--nacht); border-color: var(--nacht); color: #fff; }
.btn--rahmen { background: transparent; color: var(--blau); }
.btn--rahmen:hover { background: var(--blau); color: #fff; }
.btn--akzent { background: var(--akzent); border-color: var(--akzent); color: #fff; }
.btn--akzent:hover { background: #9a4409; border-color: #9a4409; }
.btn--orange { background: var(--orange); border-color: var(--orange); color: var(--text); }
.btn--orange:hover { background: #f4a24a; border-color: #f4a24a; color: var(--text); }
.btn--hell { background: transparent; color: var(--bg); border-color: var(--bg); }
.btn--hell:hover { background: var(--bg); color: var(--nacht); }
.textlink { font-weight: 700; font-size: 17px; }

/* ---------- Topbar & Header ---------- */
.topbar { background: var(--nacht); color: var(--hell); font-size: 14px; }
.topbar .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding-top: 9px; padding-bottom: 9px; }
.topbar a { color: var(--hell); text-decoration: none; }
.topbar a:hover { color: var(--orange); }
.topbar .bar { color: var(--orange); }
.topbar-links { display: flex; gap: 20px; }
@media (max-width: 700px) { .topbar-links { display: none; } }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--weiss); border-bottom: 1px solid var(--linie); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.logo svg { width: 40px; height: 40px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-name { font-size: 22px; font-weight: 700; color: var(--blau); }
.logo-zusatz { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--akzent); }
.site-nav { display: flex; align-items: center; gap: 22px; font-size: 16px; font-weight: 600; }
.site-nav a { text-decoration: none; color: var(--text); white-space: nowrap; padding: 6px 0; }
.site-nav a:hover { color: var(--akzent); }
.site-nav a[aria-current="page"] { color: var(--akzent); border-bottom: 2px solid var(--akzent); }
.header-anruf { flex-shrink: 0; min-height: 46px; padding: 10px 18px; font-size: 15px; }
.nav-toggle { display: none; align-items: center; gap: 8px; min-height: 46px; padding: 0 14px; border-radius: 10px; border: 2px solid var(--blau); background: transparent; color: var(--blau); font-weight: 700; }
.nav-toggle svg { width: 22px; height: 22px; }
/* Aus den drei Strichen wird ein Kreuz. transform-box: view-box, damit sich die
   Striche um die Mitte des Zeichens drehen und nicht um ihren eigenen Kasten. */
.nav-toggle svg line { transform-box: view-box; transform-origin: 12px 12px;
  transition: transform .3s cubic-bezier(.2, .85, .25, 1), opacity .18s ease; }
.nav-toggle[aria-expanded="true"] .b1 { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .b2 { opacity: 0; transform: scaleX(.3); }
.nav-toggle[aria-expanded="true"] .b3 { transform: translateY(-5px) rotate(-45deg); }
/* Wer Bewegung abbestellt hat, bekommt sie nicht. */
@media (prefers-reduced-motion: reduce) {
  .nav-toggle svg line { transition: none; }
  .site-nav.offen, .site-nav.offen > a { animation: none; }
}
.nav-nur-mobil { display: none; }

@media (max-width: 1359px) {
  .nav-toggle { display: inline-flex; }
  .header-anruf { display: none; }
  /* Das Menü haengt unter dem Kopf, nicht 76 px unter dem Fensterrand. Fest
     gesetzt stimmte der Abstand nur bei gescrollter Seite - oben deckte das
     Panel Logo und Menue-Knopf zu, weil es im Kopf steckt und ueber ihm liegt.
     top: 100% misst die Kopfhoehe selbst, auch wenn die Leiste umbricht. */
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--nacht); box-shadow: 0 20px 40px rgba(12, 39, 64, .35);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 4px var(--rand) 22px;
    max-height: calc(100dvh - 9rem); overflow-y: auto;
    font-size: 20px; text-align: right;
  }
  .site-nav.offen { display: flex; }
  .site-nav a { color: var(--bg); padding: 15px 0; border-bottom: 1px solid #33587c; }
  /* Der Heimweg steht oben im Menue, mit Haus - rechtsbuendig wie alles andere. */
  .site-nav a.nav-nur-mobil { display: block; }
  .site-nav .nav-nur-mobil svg { width: 20px; height: 20px; vertical-align: -3px; margin-right: 8px; }

  /* ---------- Auftritt des Menues ----------
     Die Klappe faellt herunter, dann kommen die Punkte einer nach dem anderen
     von rechts herein - in der Richtung, in der sie auch ausgerichtet sind.
     Nur beim Oeffnen: beim Schliessen verschwindet das Element sofort, und eine
     halbe Animation ins Leere sieht schlechter aus als keine. */
  .site-nav.offen { animation: menue-klappe .3s cubic-bezier(.2, .85, .25, 1) both; }
  @keyframes menue-klappe {
    from { opacity: 0; transform: translateY(-12px) scaleY(.96); }
    to   { opacity: 1; transform: none; }
  }
  .site-nav.offen > a { animation: menue-punkt .42s cubic-bezier(.2, .85, .25, 1) both; }
  @keyframes menue-punkt {
    from { opacity: 0; transform: translateX(26px); }
    to   { opacity: 1; transform: none; }
  }
  .site-nav.offen > a:nth-child(1)  { animation-delay: .06s; }
  .site-nav.offen > a:nth-child(2)  { animation-delay: .10s; }
  .site-nav.offen > a:nth-child(3)  { animation-delay: .14s; }
  .site-nav.offen > a:nth-child(4)  { animation-delay: .18s; }
  .site-nav.offen > a:nth-child(5)  { animation-delay: .22s; }
  .site-nav.offen > a:nth-child(6)  { animation-delay: .26s; }
  .site-nav.offen > a:nth-child(7)  { animation-delay: .30s; }
  .site-nav.offen > a:nth-child(8)  { animation-delay: .34s; }
  .site-nav.offen > a:nth-child(9)  { animation-delay: .38s; }
  .site-nav.offen > a:nth-child(10) { animation-delay: .42s; }
  /* Auf dem Finger bleibt der Hover-Zustand nach dem Tippen haengen. Das dunkle
     Akzentbraun war auf dem Nachtblau kaum zu lesen - hier also Orange. */
  .site-nav a:hover { color: var(--orange); }
  .site-nav a[aria-current="page"] { color: var(--orange); border-bottom-color: #33587c; }
  .nav-nur-mobil { display: block; }
  .site-nav .btn { margin-top: 18px; color: var(--text); border-bottom: 0; }
}

/* Der Weg zurueck. Das Logo als Heimweg ist eine Konvention, die laengst nicht
   jeder kennt - deshalb steht hier ein Haus und ein Wort, beides anklickbar. */
.brotkrumen { padding-top: 22px; font-size: 15px; color: var(--leise); }
.brotkrumen a { display: inline-flex; align-items: center; gap: 6px; padding: 4px 0; color: var(--blau); font-weight: 600; }
.brotkrumen a:hover { color: var(--akzent); }
.brotkrumen svg { width: 17px; height: 17px; flex-shrink: 0; }
.brotkrumen ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.brotkrumen li + li::before { content: "/"; margin-right: 8px; color: var(--linie); }

/* ---------- Bilder ---------- */
.bild { border-radius: var(--radius); overflow: hidden; position: relative; background: var(--tint); }
.bild img { width: 100%; height: 100%; object-fit: cover; }
.bild--hero { aspect-ratio: 5 / 4; }
.bild--breit { aspect-ratio: 16 / 9; }
.bild--quer { aspect-ratio: 4 / 3; }
.bild--hoch { aspect-ratio: 4 / 5; }
.bild--panorama { aspect-ratio: 21 / 9; }
/* Ganzes Bild statt Ausschnitt: das Motiv bestimmt die Hoehe, nichts wird
   oben und unten abgeschnitten. */
.bild--voll { aspect-ratio: auto; }
.bild--voll img { height: auto; object-fit: contain; display: block; }
@media (max-width: 700px) { .bild--panorama { aspect-ratio: 16 / 10; } }
.badge { position: absolute; left: 16px; bottom: 16px; background: rgba(12, 39, 64, .88); color: var(--bg); font-weight: 700; font-size: 15px; padding: 8px 14px; border-radius: 8px; text-decoration: none; }
.badge--rechts { left: auto; right: 16px; font-size: 13px; font-weight: 600; padding: 6px 10px; }
a.badge:hover { color: var(--orange); }
.bildreihe { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.bildreihe .bild { aspect-ratio: 4 / 3; }
.bildreihe--3gross { grid-template-columns: 1fr; }
@media (min-width: 800px) { .bildreihe--3gross { grid-template-columns: 1.4fr 1fr 1fr; } .bildreihe--3gross .bild { aspect-ratio: auto; height: 280px; } }
figure.mit-text { display: flex; flex-direction: column; gap: 10px; }
figure.mit-text figcaption { font-size: 15px; color: var(--leise); }

/* ---------- Kacheln & Karten ---------- */
.kacheln { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.kachel { background: var(--tint); border-radius: 14px; padding: 16px 18px; display: flex; flex-direction: column; gap: 2px; }
.kachel b { font-size: 26px; line-height: 1.15; color: var(--blau); }
.kachel span { font-size: 15px; color: var(--leise); line-height: 1.35; }
.abschnitt--tint .kachel, .abschnitt--ocker .kachel { background: var(--weiss); }
.kachel--gross b { font-size: clamp(30px, 3.4vw, 40px); }
.kachel--ocker { background: var(--ocker); }
.kachel--ocker .label { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ocker-text); }
.kachel--ocker b { font-size: 24px; }
.abschnitt--blau .kachel { background: rgba(255,255,255,.08); }
.abschnitt--blau .kachel b { color: var(--bg); }
.abschnitt--blau .kachel span { color: var(--hell); }

.karten { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.karte { background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.karte p { font-size: 16px; line-height: 1.55; color: var(--leise); }
.karte address { font-style: normal; display: flex; flex-direction: column; gap: 2px; font-size: 17px; color: var(--text); }
.karte--blau { background: var(--blau); border-color: var(--blau); color: var(--bg); }
.karte--blau h2, .karte--blau h3 { color: var(--bg); }
.karte--blau p { color: var(--hell); }
.icon { flex-shrink: 0; width: 44px; height: 44px; border-radius: 10px; background: var(--ocker); color: var(--ocker-text); display: flex; align-items: center; justify-content: center; }
.icon svg { width: 24px; height: 24px; }

/* ---------- Hero ---------- */
/* Unterseiten-Hero: schlicht, zweispaltig */
.hero { padding: clamp(40px, 6vw, 72px) 0; }
.hero .stapel { gap: 24px; }

/* Startseiten-Hero: Foto vollflaechig, Text darueber */
.hero#top {
  position: relative; isolation: isolate; overflow: hidden; padding: 0;
  min-height: clamp(460px, 62vh, 640px);
  display: flex; flex-direction: column; justify-content: center;
  background: var(--nacht);
}
.hero-bild { position: absolute; inset: 0; z-index: -2; }
.hero-bild img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-schleier {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(12, 39, 64, .96) 0%, rgba(12, 39, 64, .88) 42%, rgba(12, 39, 64, .55) 100%);
}
.hero-inhalt { display: flex; flex-direction: column; gap: 20px; padding-top: 48px; padding-bottom: 40px; }
.hero-inhalt h1 { color: #fff; max-width: 15ch; }
.hero-inhalt .lead { color: #dfe8f1; max-width: 56ch; }
.eyebrow--hell { color: var(--orange); }

/* Drei kleine Vorschaubilder */
.hero-vorschau { display: none; }
.hero-vorschau figure { margin: 0; width: 200px; }
.hero-vorschau img {
  width: 200px; height: 134px; object-fit: cover; display: block;
  border-radius: 12px; border: 3px solid rgba(255, 255, 255, .9);
}
.hero-vorschau figcaption {
  padding-top: 8px; font-size: 14px; font-weight: 600; color: #f5f7f9;
  text-shadow: 0 1px 6px rgba(12, 39, 64, .9);
}

@media (min-width: 620px) {
  /* Schleier von links statt von unten, sobald Platz neben dem Text ist */
  .hero-schleier {
    background: linear-gradient(100deg, rgba(12, 39, 64, .95) 0%, rgba(12, 39, 64, .88) 36%, rgba(12, 39, 64, .5) 66%, rgba(12, 39, 64, .15) 100%);
  }
}

@media (min-width: 1100px) {
  .hero#top { min-height: 640px; justify-content: center; }
  .hero-inhalt { padding-top: 0; padding-bottom: 0; gap: 26px; }
  .hero-vorschau {
    display: flex; gap: 16px; align-items: flex-end;
    position: absolute; right: clamp(24px, 4vw, 64px); bottom: 48px;
  }
}
.blick { background: var(--blau); color: var(--bg); }
.blick .container { display: grid; gap: 20px 32px; grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: 28px; padding-bottom: 28px; }
@media (min-width: 900px) { .blick .container { grid-template-columns: repeat(4, minmax(0, 1fr)); padding-top: 34px; padding-bottom: 34px; } }
.blick div { display: flex; flex-direction: column; gap: 2px; }
.blick span:first-child { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); }
.blick span:last-child { font-size: clamp(17px, 1.8vw, 20px); font-weight: 600; line-height: 1.3; }

/* ---------- Gastraum ---------- */
.gastraum-bilder { display: grid; gap: 16px; }
.gastraum-bilder .bild { aspect-ratio: 4 / 3; }
.hinweis-box { background: var(--blau); color: var(--bg); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.hinweis-box .label { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); }
.hinweis-box b { font-size: 22px; line-height: 1.25; }
.hinweis-box span:last-child { color: var(--hell); font-size: 16px; }

/* ---------- Speise-Liste ---------- */
.speisen { background: rgba(255,255,255,.06); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); display: flex; flex-direction: column; gap: 4px; }
.speise { display: flex; justify-content: space-between; gap: 24px; padding: 14px 0; border-top: 1px solid var(--linie); }
.speise:first-of-type { border-top: 0; }
.speise-name { display: flex; flex-direction: column; gap: 2px; font-size: 19px; font-weight: 600; }
.speise-name small { font-size: 15px; font-weight: 400; color: var(--leise); }
.speise-preis { font-size: 19px; font-weight: 700; white-space: nowrap; }
.abschnitt--blau .speise { border-top-color: #33587c; }
.abschnitt--blau .speise-name small { color: var(--hell); }
.pill { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--gruen-bg); color: var(--gruen-text); vertical-align: middle; margin-left: 6px; }
.speisekarte-raster { display: grid; gap: 32px; align-items: start; }
@media (min-width: 900px) { .speisekarte-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 48px; } .speisekarte-raster > .lang { grid-row: span 2; } }
.speise-box { background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); padding: clamp(22px, 3vw, 36px); }
.speise-box h2 { font-size: 30px; padding-bottom: 8px; }
.speise-box--ocker { background: var(--ocker); border-color: var(--ocker); }
.speise-box--ocker .speise { border-top-color: #f0d6ae; }
/* Flex statt Grid, damit eine angebrochene letzte Reihe mittig sitzt statt links
   zu kleben - bei fuenf Gerichten geht keine Spaltenzahl glatt auf. Die 250px
   Grundbreite passt zur Bildhoehe von 240px: waeren die Karten schmaler, wuerde
   die Breite das Bild begrenzen und die groessere Hoehe liefe ins Leere. */
/* Der Hinweis, dass die Karte wechselt, steht ueber den Gerichten - im
   Kleingedruckten darunter hat ihn niemand gelesen. */
.wechselt { max-width: 760px; margin: 4px 0 0; padding: 16px 20px; border-left: 4px solid var(--akzent); background: var(--tint); border-radius: 0 12px 12px 0; font-size: 16px; line-height: 1.6; color: var(--text); }

.gerichte { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; }
/* 320 als Grundbreite ergibt auf breiten Schirmen drei Karten je Reihe statt vier -
   damit wird jedes Foto rund die Haelfte groesser. max-width haelt die Karte auf
   Tablets im Zaum, wo sonst eine einzige Spalte uebrig bliebe. */
.gerichte > .gericht { flex: 1 1 320px; max-width: 420px; }
.gericht { background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
/* Quadratische Freisteller: die Hoehe folgt der Breite. Eine feste Hoehe liess das
   Foto klein, auch wenn die Karte breiter wurde. */
.gericht img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; }
.gericht b { font-size: 18px; color: var(--blau); line-height: 1.25; }
.gericht span { font-size: 14px; color: var(--leise); }

/* ---------- Gedenktafel / Hochstein ---------- */
.tafel { background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); overflow: hidden; }
.tafel img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.tafel figcaption { padding: 20px 24px 24px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: var(--leise); }
.tafel .label { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--akzent); }
.tafel b { font-size: 20px; color: var(--blau); }

/* ---------- Touren (Startseite) ---------- */
.tour-karte { background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.tour-kopf { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--akzent); }
.tour-werte { font-size: 15px; font-weight: 600; color: var(--leise); }

/* ---------- Aktuelles ---------- */
.event { background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); overflow: hidden; display: grid; }
@media (min-width: 760px) { .event { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); } }
.event > img { width: 100%; height: 100%; min-height: 240px; object-fit: cover; }
.event-inhalt { padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.event-datum { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; font-weight: 700; color: var(--blau); font-size: 18px; }
.chip { font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--gruen-bg); color: var(--gruen-text); }
.programm { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.programm li { display: grid; grid-template-columns: 76px 1fr; gap: 12px; font-size: 16px; line-height: 1.45; }
.programm b { color: var(--akzent); }
.rueckblick { display: grid; gap: 10px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rueckblick img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }
@media (max-width: 560px) { .rueckblick { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.social-profil { display: flex; gap: 14px; align-items: center; }
.social-profil img { width: 64px; height: 64px; border-radius: 999px; object-fit: cover; }
.social-profil b { color: var(--blau); display: block; }

/* ---------- Galerie ---------- */
.galerie { display: grid; gap: 16px; }
@media (min-width: 900px) { .galerie { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 24px; } }
.galerie-gross { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--nacht); aspect-ratio: 4 / 3; }
.galerie-gross img { width: 100%; height: 100%; object-fit: cover; }
.galerie-gross figcaption { position: absolute; left: 16px; bottom: 16px; right: 16px; width: fit-content; background: var(--nacht); color: var(--bg); padding: 8px 14px; border-radius: 10px; font-size: 16px; font-weight: 600; }
/* grid-auto-rows ist noetig: ohne die Angabe staucht das Grid die Zeilen auf die
   max-height, waehrend die Knoepfe ihre aspect-ratio behalten - sie ueberlappen dann. */
.galerie-leiste { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); grid-auto-rows: min-content; align-content: start; max-height: 640px; overflow-y: auto; padding: 3px; }
@media (max-width: 899px) { .galerie-leiste { grid-auto-flow: column; grid-auto-columns: 96px; grid-template-columns: none; overflow-x: auto; overflow-y: hidden; max-height: none; } }
.galerie-leiste button { padding: 0; border: 3px solid transparent; border-radius: 10px; background: transparent; overflow: hidden; aspect-ratio: 3 / 2; }
.galerie-leiste button[aria-pressed="true"] { border-color: var(--akzent); }
.galerie-leiste img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Bewertungen ---------- */
.stimmen { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.stimme { background: var(--weiss); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; color: var(--text); }
.stimme blockquote { font-size: 17px; line-height: 1.6; color: var(--leise); }
.sterne { display: flex; gap: 2px; color: #e08a1e; }
.sterne svg { width: 22px; height: 22px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 16px; }
@media (min-width: 900px) { .faq { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; } }
.faq details { background: var(--weiss); border-radius: var(--radius); padding: 0 24px; }
.faq summary { cursor: pointer; list-style: none; padding: 22px 32px 22px 0; font-size: 20px; font-weight: 700; color: var(--blau); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 18px; font-size: 28px; color: var(--akzent); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 22px; color: var(--leise); font-size: 17px; }

/* ---------- Video ---------- */
/* preload="none" im Markup: die Datei laedt erst, wenn jemand auf Play drueckt.
   Bei 3,3 MB waere ein Vorabladen auf dem Handy unhoeflich. */
.video-rahmen { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block;
  border-radius: var(--radius); background: var(--nacht); }

/* ---------- Pilgerkarte ---------- */
/* Die Karte ist ein SVG mit festem Seitenverhaeltnis. Auf schmalen Schirmen wird sie
   sonst so klein, dass die Ortsnamen unlesbar werden - deshalb darf sie dort seitlich
   gescrollt werden, statt zu schrumpfen. */
.pilgerkarte { margin: 0; background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); padding: 20px; overflow-x: auto; }
.pilgerkarte img { display: block; width: 100%; min-width: 620px; height: auto; }
.pilgerkarte figcaption { padding-top: 12px; color: var(--leise); }
/* Der Wisch-Hinweis gilt nur dort, wo die Karte wirklich breiter ist als der Schirm. */
.nur-schmal { display: none; }
@media (max-width: 700px) { .nur-schmal { display: inline; } }

/* ---------- Pilgerstempel ---------- */
/* Der Abdruck ist ein Foto von Papier. Auf der weissen Karte schwimmt es ohne
   Rahmen im Nichts, deshalb eine feine Linie drumherum. */
.stempel { margin: 4px 0 0; border: 1px solid var(--linie); border-radius: 12px; overflow: hidden; }
.stempel img { display: block; width: 100%; height: auto; }

/* ---------- Panorama ---------- */
hochstein-panorama { display: block; border-radius: var(--radius); overflow: hidden; }
/* Im Vollbild darf keine Ecke rund bleiben. Regeln des Dokuments schlagen die
   :host-Regeln im Shadow DOM, deshalb steht das hier und nicht in der Komponente. */
hochstein-panorama[data-fullscreen] { border-radius: 0; }
/* Auf dem Handy waere 16:9 nur gut 200 px hoch - zu wenig, um sich umzusehen. */
@media (max-width: 700px) { hochstein-panorama { --hp-ratio: 4 / 3; } }

/* ---------- Wandern (Unterseite) ---------- */
.filter { display: flex; flex-wrap: wrap; gap: 8px; }
.filter button { min-height: 48px; padding: 0 20px; border-radius: 10px; border: 2px solid var(--blau); background: transparent; color: var(--blau); font-weight: 700; font-size: 15px; }
.filter button[aria-pressed="true"] { background: var(--blau); color: var(--bg); }
.touren { display: grid; gap: 32px; align-items: start; }
@media (min-width: 1000px) { .touren { grid-template-columns: minmax(0, 1fr) 480px; } }
.touren-liste { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.tour { text-align: left; background: var(--weiss); border: 3px solid var(--linie); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 8px; color: var(--text); }
.tour[aria-pressed="true"] { border-color: var(--akzent); }
.tour[hidden] { display: none; }
.tour-oben { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.tour-name { font-size: 20px; font-weight: 700; color: var(--blau); line-height: 1.2; }
.stufe { font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: #fbe3bd; color: #5a3903; }
.stufe--leicht { background: var(--gruen-bg); color: var(--gruen-text); }
.tour-detail { background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 1000px) { .tour-detail { position: sticky; top: 100px; } }
.tour-detail .bild { border-radius: 0; aspect-ratio: 12 / 7; }
.tour-detail-inhalt { padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.tour-detail .kachel b { font-size: 22px; }
.karte-consent { height: 100%; min-height: 360px; border-radius: var(--radius); border: 1px solid var(--linie); overflow: hidden; background: repeating-linear-gradient(0deg, #d6dfe7 0 1px, transparent 1px 40px), repeating-linear-gradient(90deg, #d6dfe7 0 1px, #e6ecf1 1px 40px); display: flex; flex-direction: column; }
.karte-consent .mitte { flex-grow: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 24px; text-align: center; }
.karte-consent .pin { background: var(--nacht); color: var(--bg); padding: 8px 14px; border-radius: 8px; font-size: 15px; font-weight: 700; }
.karte-consent .fuss { background: var(--weiss); padding: 14px 18px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; color: var(--leise); }
.karte-consent .fuss button { min-height: 44px; padding: 0 16px; border-radius: 10px; border: 2px solid var(--blau); background: transparent; color: var(--blau); font-weight: 700; font-size: 14px; }
.karte-iframe { width: 100%; height: 100%; min-height: 360px; border: 0; }

/* ---------- Eingebettete Inhalte (Google Kalender) ---------- */
.einbettung { min-height: 640px; border-radius: var(--radius); border: 1px solid var(--linie); overflow: hidden; background: var(--weiss); display: flex; flex-direction: column; }
.einbettung .mitte { flex-grow: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 32px 24px; text-align: center; background: repeating-linear-gradient(0deg, #d6dfe7 0 1px, transparent 1px 40px), repeating-linear-gradient(90deg, #d6dfe7 0 1px, #e6ecf1 1px 40px); }
.einbettung .mitte p { max-width: 46ch; color: var(--leise); }
.einbettung .pin { background: var(--nacht); color: var(--bg); padding: 8px 14px; border-radius: 8px; font-size: 15px; font-weight: 700; }
.einbettung .fuss { background: var(--weiss); padding: 14px 18px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; color: var(--leise); border-top: 1px solid var(--linie); }
.einbettung .fuss button { min-height: 44px; padding: 0 16px; border-radius: 10px; border: 2px solid var(--blau); background: transparent; color: var(--blau); font-weight: 700; font-size: 14px; cursor: pointer; }
.einbettung .fuss button:hover { background: var(--blau); color: var(--weiss); }
.einbettung iframe { width: 100%; flex-grow: 1; min-height: 640px; border: 0; display: block; }
@media (max-width: 700px) { .einbettung, .einbettung iframe { min-height: 540px; } }

/* ---------- Öffnungszeiten-Liste ---------- */
.zeiten { margin: 0; display: flex; flex-direction: column; }
.zeiten > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--linie); }
.zeiten > div:last-child { border-bottom: 0; }
.zeiten dt { margin: 0; font-weight: 600; }
.zeiten dd { margin: 0; color: var(--leise); text-align: right; }

/* ---------- Saal ---------- */
.bestuhlung { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.bestuhlung figure { background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); overflow: hidden; }
.bestuhlung img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.bestuhlung figcaption { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 4px; font-size: 15px; color: var(--leise); }
.bestuhlung figcaption b { font-size: 18px; color: var(--blau); }
.mosaik { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
/* Erstes Bild gross, der Rest im 3-Spalten-Raster. Bei genau vier Bildern bliebe
   unten rechts eine Luecke - deshalb spannt das letzte dann zwei Spalten. Ab fuenf
   Bildern fuellt sich das Raster von selbst, die Regel greift dank :nth-child nicht. */
@media (min-width: 900px) {
  .mosaik { grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 260px; }
  .mosaik .bild:first-child { grid-row: span 2; }
  .mosaik .bild:nth-child(4):last-child { grid-column: span 2; }
}
/* Schmale Ansicht: zwei Spalten. Bei ungerader Anzahl stuende das letzte Bild
   allein in einer halben Reihe - lieber ueber die volle Breite. Ab 900 px gilt
   das dreispaltige Raster, dort waere das falsch. */
@media (max-width: 899px) { .mosaik .bild:nth-child(odd):last-child { grid-column: span 2; } }
.mosaik .bild { min-height: 200px; }
.kamin-bilder { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.kamin-bilder .bild:first-child { grid-column: span 2; aspect-ratio: 16 / 10; }
.kamin-bilder .bild { aspect-ratio: 4 / 3; }

/* ---------- CTA-Band ---------- */
.cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px 48px; }
.cta h2 { font-size: clamp(28px, 3vw, 34px); }

/* ---------- Footer ---------- */
.site-footer { background: var(--nacht); color: var(--hell); padding: clamp(48px, 6vw, 72px) 0 32px; font-size: 16px; }
.footer-raster { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); padding-bottom: 40px; border-bottom: 1px solid #33587c; }
.footer-raster > div, .footer-raster > address { display: flex; flex-direction: column; gap: 6px; }
.footer-titel { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); }
.footer-name { font-size: 24px; font-weight: 700; color: var(--bg); }
.site-footer a { color: var(--hell); }
.site-footer a:hover { color: var(--orange); }
.footer-unten { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 24px; font-size: 15px; }
.footer-unten nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* ---------- Rechtstexte ---------- */
.rechtstext { max-width: 820px; }
.rechtstext h2 { font-size: 28px; margin-top: 40px; margin-bottom: 12px; }
.rechtstext h3 { font-size: 20px; margin-top: 24px; margin-bottom: 8px; }
.rechtstext p, .rechtstext li { color: var(--leise); }
.rechtstext p + p { margin-top: 12px; }
.markiert { background: #fff3c4; padding: 0 4px; border-radius: 4px; color: var(--text); }
.speise-name .pill { align-self: flex-start; margin: 4px 0 2px; }
.rechtstext { overflow-wrap: anywhere; }

/* ---------- Bild mit Bildunterschrift ---------- */
.bild-figur { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.bild-figur img { width: 100%; height: 360px; object-fit: cover; border-radius: var(--radius); display: block; }
.bild-figur figcaption { font-size: 15px; color: var(--leise); }
@media (max-width: 700px) { .bild-figur img { height: 240px; } }
