/* Palmbräu Gasse – Stylesheet
   Rauchschwarz, Ochsenblut, Messing. Schriften lokal gehostet (DSGVO). */

@font-face {
  font-family: "Pirata One";
  src: url("/assets/fonts/pirata-one-latin.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Pirata One";
  src: url("/assets/fonts/pirata-one-latin-ext.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Bitter";
  src: url("/assets/fonts/bitter-latin.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Bitter";
  src: url("/assets/fonts/bitter-latin-ext.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Bitter";
  src: url("/assets/fonts/bitter-latin-italic.woff2") format("woff2");
  font-weight: 100 900; font-style: italic; font-display: swap;
}

:root {
  --cream: #f5eedf;     /* Grundfläche, wie Speisekartenpapier */
  --cream-2: #ebe1cc;   /* abgesetzte Abschnitte */
  --paper: #fbf7ee;     /* Formularfelder, Panels */
  --ink: #141212;       /* Text, Kopf- und Fußleiste */
  --ink-2: #3b3533;
  --muted: #6a615a;
  --red: #9e1b1b;       /* Ochsenblut */
  --red-hi: #b8231d;
  --red-deep: #7a1414;
  --on-dark: #f5eedf;
  --line: rgba(20, 18, 18, .16);
  --line-strong: rgba(20, 18, 18, .45);

  --black-letter: "Pirata One", Georgia, serif;
  --text: "Bitter", Georgia, "Times New Roman", serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --sec: clamp(64px, 9vw, 120px);
  --radius: 2px;
  --header-h: 68px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 70px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--text); font-size: clamp(1rem, .96rem + .2vw, 1.1rem); line-height: 1.65;
  font-variant-numeric: lining-nums; -webkit-font-smoothing: antialiased; overflow-x: hidden;
  padding-top: var(--header-h);
}
img { display: block; max-width: 100%; }
svg { display: block; }
a { color: inherit; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: .2em; }
a:hover { color: var(--red); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.15; letter-spacing: -.01em; }
button { font: inherit; color: inherit; }
abbr[title] { text-decoration: none; }
address { font-style: normal; }
address a, .visit-info a { overflow-wrap: anywhere; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.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: 12px; top: -60px; z-index: 300; background: var(--ink); color: var(--cream); padding: 10px 14px; }
.skip:focus { top: 12px; }
main:focus { outline: none; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.small { font-size: .875rem; color: var(--muted); }

/* ---------- Typografie ---------- */
.h2 { font-size: clamp(2rem, 1.6rem + 1.8vw, 3rem); margin-bottom: .4em; }
.h3 { font-size: clamp(1.4rem, 1.25rem + .6vw, 1.75rem); margin-bottom: .45em; }
.lead { font-size: clamp(1.08rem, 1rem + .35vw, 1.25rem); line-height: 1.55; max-width: 40rem; color: var(--ink-2); }
.sec-head { max-width: 46rem; margin-bottom: clamp(28px, 4vw, 48px); }

/* ---------- Buttons ---------- */
.btn {
  --b: var(--red);
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .7em 1.35em; border: 2px solid var(--b); border-radius: var(--radius);
  font-family: var(--text); font-weight: 700; font-size: 1rem; line-height: 1.1; text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-red { background: var(--red); color: var(--cream); }
.btn-red:hover { --b: var(--red-deep); background: var(--red-deep); color: var(--cream); }
.btn-outline { --b: var(--ink); background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--cream); }
.btn-light { --b: var(--cream); background: var(--cream); color: var(--ink); }
.btn-light:hover { --b: #fff; background: #fff; color: var(--ink); }
.btn-line { --b: rgba(245,238,223,.7); background: transparent; color: var(--cream); }
.btn-line:hover { --b: var(--cream); color: var(--cream); background: rgba(0,0,0,.12); }
.btn-sm { min-height: 40px; padding: .45em 1em; font-size: .95rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Kopfleiste ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); background: var(--ink); color: var(--on-dark); border-bottom: 3px solid var(--red); }
.header-row { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: .45em; text-decoration: none; font-family: var(--black-letter); font-size: 1.65rem; line-height: 1; white-space: nowrap; }
.brand .palm { color: var(--red-hi); flex: none; }
.site-header .brand:hover, .site-footer .brand:hover { color: var(--on-dark); }
.brand-lg { font-size: 2.1rem; }
.brand-lg .palm { width: 34px; height: 34px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.nav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; }
.nav > ul a { text-decoration: none; font-size: .98rem; padding: .3em 0; position: relative; }
.nav > ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px; background: var(--red-hi); transform: scaleX(0); transform-origin: left; transition: transform .2s var(--ease); }
.nav > ul a:hover { color: var(--on-dark); }
.nav > ul a:hover::after, .nav > ul a[aria-current="page"]::after { transform: scaleX(1); }
.nav > ul a[aria-current="page"] { font-weight: 700; }

/* Sprachauswahl */
.lang-menu { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 10px; background: transparent; border: 1px solid rgba(245,238,223,.35); border-radius: var(--radius); cursor: pointer; font-size: .9rem; font-weight: 700; color: var(--on-dark); }
.lang-btn:hover { border-color: var(--on-dark); }
.lang-btn img, .lang-list img { width: 24px; height: 16px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0,0,0,.25); }
.lang-btn .chev { transition: transform .2s; }
.lang-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.lang-list[hidden] { display: none; }
.lang-list { position: absolute; right: 0; top: calc(100% + 8px); min-width: 180px; margin: 0; padding: 6px; list-style: none; background: var(--paper); color: var(--ink); border: 1px solid var(--line-strong); box-shadow: 0 12px 30px rgba(0,0,0,.25); z-index: 70; }
.lang-list a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; text-decoration: none; font-weight: 600; }
.lang-list a:hover { background: var(--cream-2); color: var(--ink); }
.lang-list a[aria-current="true"] { color: var(--red); }
.lang-list a[aria-current="true"]::after { content: "✓"; margin-left: auto; }

.burger { display: none; }
@media (max-width: 980px) {
  .header-cta { display: none; }
  .burger { display: grid; place-content: center; gap: 5px; margin-left: auto; width: 46px; height: 46px; background: none; border: 1px solid rgba(245,238,223,.35); border-radius: var(--radius); cursor: pointer; }
  .burger i { display: block; width: 20px; height: 2px; background: var(--on-dark); transition: transform .25s var(--ease), opacity .2s; }
  .burger[aria-expanded="true"] i:nth-of-type(1) { transform: translateY(7px) rotate(45deg); }
  .burger[aria-expanded="true"] i:nth-of-type(2) { opacity: 0; }
  .burger[aria-expanded="true"] i:nth-of-type(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav { position: fixed; inset: var(--header-h) 0 0; z-index: 49; flex-direction: column; align-items: flex-start; gap: 24px; padding: 28px var(--gutter) 120px; background: var(--cream); color: var(--ink); transform: translateX(100%); visibility: hidden; transition: transform .3s var(--ease), visibility 0s .3s; overflow-y: auto; }
  .nav.is-open { transform: none; visibility: visible; transition: transform .3s var(--ease); }
  .nav > ul { flex-direction: column; gap: 0; width: 100%; }
  .nav > ul li { border-bottom: 1px solid var(--line); }
  .nav > ul a { display: block; font-size: 1.6rem; font-weight: 700; padding: .55em 0; }
  .nav > ul a::after { display: none; }
  .nav > ul a:hover { color: var(--red); }
  .nav > ul a[aria-current="page"] { color: var(--red); }
  .nav .lang-btn { color: var(--ink); border: 1px solid var(--line-strong); }
  .lang-list { left: 0; right: auto; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Fotoplätze: erscheinen nur, wenn das Foto existiert ---------- */
.ph { display: none; margin: 0; overflow: hidden; background: var(--cream-2); }
.ph.has-photo { display: block; }
.ph img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Start: Hero ---------- */
.hero { padding: clamp(48px, 8vw, 104px) 0 clamp(40px, 6vw, 72px); }
.split-grid { display: grid; grid-template-columns: 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split-grid:has(> .ph.has-photo) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.wordmark { font-family: var(--black-letter); font-weight: 400; font-size: clamp(3.6rem, 1.6rem + 8.5vw, 9.5rem); line-height: .9; letter-spacing: 0; margin: 0 0 .3em -.03em; color: var(--ink); }
.hero .split-grid:has(> .ph.has-photo) .wordmark { font-size: clamp(3.4rem, 1.4rem + 5.5vw, 6.8rem); }
.hero-lead { font-size: clamp(1.12rem, 1rem + .5vw, 1.4rem); line-height: 1.5; max-width: 36rem; margin-bottom: 1.5em; color: var(--ink-2); }
.ph-tall { aspect-ratio: 4 / 5; }
@media (max-width: 860px) { .split-grid:has(> .ph.has-photo) { grid-template-columns: 1fr; } .ph-tall { aspect-ratio: 4 / 3; } }

/* Infoleiste */
.infobar { border-block: 2px solid var(--ink); background: var(--paper); }
.infobar-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.infobar-grid > div { padding: 22px clamp(12px, 2.5vw, 28px); }
.infobar-grid > div:first-child { padding-left: 0; }
.infobar-grid > div + div { border-left: 1px solid var(--line-strong); }
.infobar h2 { font-size: .95rem; color: var(--red); margin-bottom: .35em; letter-spacing: 0; }
.infobar p { margin: 0; }
@media (max-width: 720px) {
  .infobar-grid { grid-template-columns: 1fr; }
  .infobar-grid > div, .infobar-grid > div:first-child { padding: 16px 0; }
  .infobar-grid > div + div { border-left: 0; border-top: 1px solid var(--line-strong); }
}

/* ---------- Start: Haxe auf Rot ---------- */
.haxe { background: var(--red); color: var(--cream); padding: var(--sec) 0; }
.haxe .split-grid:has(> .ph.has-photo) { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.haxe .ph { aspect-ratio: 5 / 4; }
.haxe-copy { max-width: 40rem; }
.haxe .h2 { color: var(--cream); }
.haxe-dish { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; padding: 14px 0; margin: 0 0 18px; border-block: 1px solid rgba(245,238,223,.4); }
.haxe-name { font-size: clamp(1.3rem, 1.15rem + .7vw, 1.75rem); font-weight: 700; margin: 0; }
.haxe-price { font-size: clamp(1.3rem, 1.15rem + .7vw, 1.75rem); font-weight: 700; margin: 0; white-space: nowrap; }
.side-line { display: flex; justify-content: space-between; gap: 12px; max-width: 28rem; padding-top: 4px; margin-bottom: 1.6em; font-size: .95rem; opacity: .9; }
.haxe a:hover { color: var(--cream); }
@media (max-width: 860px) { .haxe .split-grid:has(> .ph.has-photo) { grid-template-columns: 1fr; } }

/* ---------- Start: Küche ---------- */
.kitchen { padding: var(--sec) 0; }
.cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.col { padding: 24px clamp(14px, 2.5vw, 30px) 4px; display: flex; flex-direction: column; }
.col:first-child { padding-left: 0; }
.col + .col { border-left: 1px solid var(--line-strong); }
.col h3 { font-size: 1.45rem; margin-bottom: .45em; }
.col p { color: var(--ink-2); }
.col-foot { margin-top: auto !important; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; }
.price-hint { color: var(--red); font-weight: 700; }
@media (max-width: 860px) {
  .cols3 { grid-template-columns: 1fr; }
  .col, .col:first-child { padding: 20px 0; }
  .col + .col { border-left: 0; border-top: 1px solid var(--line-strong); }
}

/* ---------- Start: Bar & Gruppen ---------- */
.pair { background: var(--cream-2); padding: var(--sec) 0; }
.pair-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 64px); }
.pair-item .ph { aspect-ratio: 3 / 2; margin-bottom: 20px; }
.pair-item p { color: var(--ink-2); max-width: 32rem; }
@media (max-width: 720px) { .pair-grid { grid-template-columns: 1fr; } }

/* ---------- Start: Geschichte ---------- */
.story-teaser { padding: var(--sec) 0; }
.st-row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(20px, 5vw, 64px); padding-top: 32px; position: relative; }
.st-row::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); border-top: 2px solid var(--ink); }
.story-teaser a { font-weight: 700; }
@media (max-width: 760px) { .st-row { grid-template-columns: 1fr; } }

/* ---------- Rotes Reservierungsband ---------- */
.band { background: var(--ink); color: var(--cream); padding: clamp(44px, 6vw, 72px) 0; border-top: 6px solid var(--red); }
.band-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.band-title { font-size: clamp(1.8rem, 1.5rem + 1.4vw, 2.6rem); margin-bottom: .25em; }
.band p { margin: 0; color: rgba(245,238,223,.85); }
.band-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.band .btn-light { --b: var(--red); background: var(--red); color: var(--cream); }
.band .btn-light:hover { --b: var(--red-hi); background: var(--red-hi); }
.band a:hover { color: var(--cream); }

/* ---------- Seitenkopf ---------- */
.page-hero { padding: clamp(48px, 7vw, 88px) 0 clamp(28px, 4vw, 44px); border-bottom: 2px solid var(--ink); }
.page-title { font-size: clamp(2.6rem, 1.8rem + 3.6vw, 4.6rem); line-height: 1; letter-spacing: -.02em; margin-bottom: .3em; }
.page-lead { font-size: clamp(1.08rem, 1rem + .4vw, 1.3rem); line-height: 1.5; max-width: 40rem; color: var(--ink-2); margin: 0; }
.legend { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; color: var(--muted); font-size: .92rem; margin: 1.4em 0 0; }

/* ---------- Speisekarte ---------- */
.tag { display: inline-grid; place-items: center; min-width: 1.75em; height: 1.45em; padding: 0 .3em; margin-left: .45em; border-radius: 2px; font-size: .68rem; font-weight: 700; font-style: normal; vertical-align: .2em; color: #fff; }
.tag-veg { background: #4f7a2a; }
.tag-vegan { background: #2c6e4f; }
.legend .tag { margin: 0 .35em 0 0; }
.catbar { position: sticky; top: var(--header-h); z-index: 40; background: var(--cream); border-bottom: 1px solid var(--line-strong); }
.catbar-scroll { display: flex; align-items: center; gap: 6px; overflow-x: auto; scrollbar-width: none; max-width: var(--wrap); margin-inline: auto; padding: 10px var(--gutter); }
.catbar-scroll::-webkit-scrollbar { display: none; }
.catbar-group { flex: none; font-weight: 700; color: var(--red); padding-right: 4px; font-size: .95rem; }
.chip + .catbar-group { margin-left: 12px; padding-left: 16px; border-left: 1px solid var(--line-strong); }
.chip { flex: none; text-decoration: none; border: 1px solid var(--line-strong); padding: .38em .9em; border-radius: 999px; font-size: .92rem; white-space: nowrap; background: var(--paper); }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-current="true"] { background: var(--ink); color: var(--cream); border-color: var(--ink); }

.menu-page { padding: clamp(36px, 5vw, 64px) 0 var(--sec); }
.menu-group-h { color: var(--red); margin-bottom: .2em; }
.mcat + .menu-group-h { margin-top: clamp(48px, 7vw, 88px); }
.mcat { padding: 26px 0 30px; border-top: 2px solid var(--ink); }
.mcat-title { font-size: clamp(1.5rem, 1.3rem + .8vw, 2rem); margin-bottom: .3em; }
.panel-note { color: var(--muted); font-style: italic; margin-bottom: 1.3em; }
.dishes { list-style: none; margin: 0; padding: 0; columns: 2 340px; column-gap: clamp(32px, 5vw, 72px); }
.dishes-1 { columns: 1; }
.dish { break-inside: avoid; padding: 0 0 20px; }
.dish-line { display: flex; align-items: baseline; gap: 8px; }
.dish-name { font-weight: 700; font-size: 1.05rem; line-height: 1.35; }
.leader { flex: 1; min-width: 24px; border-bottom: 1px dotted var(--line-strong); transform: translateY(-.3em); }
.dish-price { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.dish-desc { color: var(--muted); margin: .1em 0 0; font-size: .96rem; line-height: 1.5; }
.dish-variants { list-style: none; margin: .4em 0 0; padding: 0; }
.dish-variants li { display: flex; align-items: baseline; gap: 8px; font-size: .96rem; }
.dish-variants li span:first-child { color: var(--muted); }
.dish-extra { display: flex; justify-content: space-between; gap: 12px; margin: .3em 0 0; font-size: .92rem; color: var(--muted); }
.dish-extra .dish-price { font-weight: 600; color: var(--muted); }
.price-table { width: 100%; border-collapse: collapse; }
.price-table th, .price-table td { text-align: left; padding: .7em .6em; border-bottom: 1px solid var(--line); vertical-align: baseline; }
.price-table thead th { color: var(--red); font-weight: 700; font-size: .9rem; border-bottom: 1px solid var(--line-strong); }
.price-table th[scope="row"] { font-weight: 400; padding-left: 0; }
.price-table th[scope="row"] .dish-name, .price-table th[scope="row"] .dish-desc { display: block; }
.price-table td, .price-table thead th:not(:first-child) { text-align: right; width: 1%; white-space: nowrap; }

/* ---------- Bar ---------- */
.bar { padding: var(--sec) 0; }
.bar-grid { display: grid; grid-template-columns: 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.bar-grid:has(> .ph.has-photo) { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.bar-grid > .ph { aspect-ratio: 4 / 5; position: sticky; top: calc(var(--header-h) + 32px); }
.bar-copy { max-width: 46rem; }
.bar-copy .h3 { margin-top: 1.6em; padding-top: 18px; border-top: 2px solid var(--ink); }
@media (max-width: 860px) { .bar-grid:has(> .ph.has-photo) { grid-template-columns: 1fr; } .bar-grid > .ph { position: static; aspect-ratio: 4 / 3; } }

/* ---------- Gruppen ---------- */
.groups { padding: var(--sec) 0; }
.groups-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 2em 0; border-block: 2px solid var(--ink); }
.facts div { padding: 16px 12px 16px 0; }
.facts div + div { padding-left: 16px; border-left: 1px solid var(--line-strong); }
.facts dt { font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem); line-height: 1; font-weight: 700; color: var(--red); }
.facts dd { margin: .35em 0 0; color: var(--ink-2); font-size: .92rem; line-height: 1.35; }
.pfanne h2 { font-size: 1.4rem; margin-bottom: .3em; }
.pfanne p { color: var(--ink-2); margin: 0; }
.enquiry { background: var(--paper); border: 2px solid var(--ink); padding: clamp(22px, 3.5vw, 36px); }
.enquiry h2 { font-size: 1.7rem; margin-bottom: .7em; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.f-row-3 { grid-template-columns: 1.3fr 1fr .8fr; }
.f { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.f > span { font-size: .9rem; font-weight: 700; }
.f em { font-weight: 400; color: var(--muted); }
.f input, .f select, .f textarea { width: 100%; min-height: 46px; padding: .6em .75em; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1px solid var(--line-strong); border-radius: var(--radius); }
.f textarea { resize: vertical; min-height: 92px; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(158,27,27,.2); }
.f [aria-invalid="true"] { border-color: var(--red); }
.f-err { color: var(--red); font-size: .85rem; font-weight: 600; }
.f-note { color: var(--muted); font-size: .85rem; margin: 1em 0 0; }
.f-status { margin: .6em 0 0; color: var(--red); font-weight: 600; }
.f-status:empty { display: none; }
@media (max-width: 860px) { .groups-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .f-row, .f-row-3 { grid-template-columns: 1fr; } }

/* ---------- Geschichte ---------- */
.story { padding: var(--sec) 0; }
.story-grid { display: grid; grid-template-columns: 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.story-grid:has(> .ph.has-photo) { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.story-grid > .ph { aspect-ratio: 4 / 5; }
.story-copy { max-width: 46rem; }
.story-copy p:not(.lead) { color: var(--ink-2); }
.timeline { list-style: none; margin: 2em 0 0; padding: 0; border-top: 2px solid var(--ink); }
.timeline li { display: grid; grid-template-columns: 8em 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.tl-year { font-weight: 700; color: var(--red); }
@media (max-width: 860px) { .story-grid:has(> .ph.has-photo) { grid-template-columns: 1fr; } .story-grid > .ph { aspect-ratio: 4 / 3; } }
@media (max-width: 520px) { .timeline li { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- Jobs ---------- */
.jobs { padding: var(--sec) 0; }
.jobs-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 6vw, 80px); }
.jobs-grid p { max-width: 40rem; }
.ticks { list-style: none; padding: 0; margin: 0 0 1.6em; }
.ticks li { position: relative; padding-left: 1.3em; margin-bottom: .5em; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; background: var(--red); }
.roles { margin: 0 0 2.2em; border-top: 2px solid var(--ink); }
.roles div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.roles dt { font-size: 1.3rem; font-weight: 700; margin-bottom: .2em; }
.roles dd { margin: 0; color: var(--ink-2); }
@media (max-width: 860px) { .jobs-grid { grid-template-columns: 1fr; } }

/* ---------- Kontakt ---------- */
.visit { padding: var(--sec) 0 calc(var(--sec) * .6); }
.ph-wide { aspect-ratio: 21 / 9; margin-bottom: clamp(28px, 4vw, 48px); }
.visit-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 64px); }
.visit-info { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 32px; align-content: start; }
.visit-info h2 { font-size: .95rem; color: var(--red); margin-bottom: .45em; letter-spacing: 0; }
.visit-info p { margin-bottom: .4em; }
.map { position: relative; aspect-ratio: 4 / 3; border: 2px solid var(--ink); background: var(--cream-2); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-gate { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; padding: 24px; }
.map-gate .ico { width: 32px; height: 32px; color: var(--red); }
.map-gate .small { max-width: 22rem; margin: 0; }
@media (max-width: 860px) { .visit-grid { grid-template-columns: 1fr; } }
@media (max-width: 460px) { .visit-info { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { padding: 0 0 var(--sec); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(24px, 6vw, 80px); padding-top: 36px; position: relative; }
.faq-grid::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); border-top: 2px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--line-strong); }
.faq-list summary { list-style: none; cursor: pointer; padding: 1em 2.4em 1em 0; position: relative; font-weight: 700; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: .7em; font-size: 1.5rem; line-height: 1; color: var(--red); transition: transform .2s var(--ease); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list summary:hover { color: var(--red); }
.faq-list details p { color: var(--ink-2); padding-bottom: 1em; max-width: 40rem; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }

/* ---------- Fußleiste ---------- */
.site-footer { background: var(--ink); color: var(--on-dark); padding: 52px 0 26px; font-size: .95rem; }
.site-footer a:hover { color: #ff9a8f; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1.2fr 1fr 1fr; gap: 32px; }
.footer-brand p { color: rgba(245,238,223,.7); margin-top: .6em; }
.footer-hours { margin-top: 1em; color: rgba(245,238,223,.7); }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: .35em; }
.footer-base { position: relative; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 40px; padding-top: 20px; color: rgba(245,238,223,.6); font-size: .85rem; }
.footer-base::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); border-top: 1px solid rgba(245,238,223,.2); }
.footer-base p { margin: 0; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- Mobile Leiste ---------- */
.dock { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: 76px; }
  .dock { display: grid; grid-template-columns: 1fr 1.6fr 1fr; gap: 8px; align-items: center; position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--ink); color: var(--on-dark); border-top: 3px solid var(--red); }
  .dock a { display: flex; flex-direction: column; align-items: center; gap: 2px; text-decoration: none; font-size: .78rem; }
  .dock a:hover { color: var(--on-dark); }
  .dock-main { min-height: 48px; border: 0; border-radius: var(--radius); background: var(--red); color: var(--cream); font-weight: 700; cursor: pointer; }
}

/* ---------- Dialog ---------- */
.dlg { width: min(460px, calc(100vw - 32px)); padding: 0; border: 2px solid var(--ink); border-top: 6px solid var(--red); border-radius: var(--radius); background: var(--paper); color: var(--ink); box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.dlg::backdrop { background: rgba(20, 18, 18, .55); }
.dlg-inner { padding: 28px 26px 24px; position: relative; }
.dlg h2 { font-size: 1.8rem; margin-bottom: .2em; }
.dlg-lead { color: var(--muted); }
.dlg-x { position: absolute; top: 10px; right: 10px; width: 42px; height: 42px; font-size: 1.6rem; line-height: 1; background: none; border: 0; color: var(--muted); cursor: pointer; }
.dlg-x:hover { color: var(--ink); background: var(--cream-2); }
.dlg-options { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.dlg-opt { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border: 1px solid var(--line-strong); text-decoration: none; background: #fff; }
.dlg-opt strong { font-size: 1.05rem; }
.dlg-opt span { color: var(--muted); font-size: .9rem; }
.dlg-opt:hover { border-color: var(--ink); color: var(--ink); }
.dlg-opt-main { background: var(--red); border-color: var(--red); color: var(--cream); }
.dlg-opt-main span { color: rgba(245,238,223,.85); }
.dlg-opt-main:hover { background: var(--red-deep); border-color: var(--red-deep); color: var(--cream); }

/* ---------- Rechtliches / 404 ---------- */
.page { padding: clamp(48px, 7vw, 88px) 0 var(--sec); }
.page .wrap { max-width: 820px; }
.page h1 { font-size: clamp(2.4rem, 1.8rem + 3vw, 4rem); line-height: 1; margin-bottom: .5em; }
.page h2 { font-size: 1.15rem; margin: 2em 0 .5em; color: var(--red); }
.page .muted { color: var(--muted); }
.draft-note { border-left: 3px solid var(--red); padding: .6em 0 .6em 16px; color: var(--muted); font-style: italic; }

@media print {
  .site-header, .dock, .dlg, .map, .catbar, .band { display: none !important; }
  body { padding-top: 0; }
}
