/* Hallmark · shape: Split Studio (/) with Index of the four places · genre: editorial · theme: brand · redesign: full
 * paper: oklch(98% 0.006 115) · accent: oklch(80.2% 0.191 121) · display: Playfair Display · body: Raleway · hero: Stage (/), Stage (Leistungsseiten), Counter (/ocs-restaurant), Banner (/kontakt, Rechtliches) · nav: edge-aligned bar, wordmark, links, one action · footer: mast on the brown band · signature: the real dishes from the OCS kitchen, set big beside the claim
 * axes: light/high-contrast-serif/chromatic-lime · posture: Restrained · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V3 · weakest: V, the services share one split skeleton; each service page varies the body (rows, statement, grid, dl) and the side swaps once */
/* Hallmark · dropped #reservationModal, #requestSuccess, #imprintModal, #AGBModal, owl/magnific/datepicker/timepicker · the one-pager becomes pages: the form lives on /kontakt.html, the legal texts on their own pages */
/* Hallmark · dropped links #section-* on the start page · the sections are pages now; site.js forwards each old #section-* address to its page */
/* Hallmark · dropped form fields on the start page (topic, name, email, phone, expected_people, expected_date, message, wish[]) · moved, same names, to form#anfrage on /kontakt.html, still posting to request.php */
/* Hallmark · dropped jquery, bootstrap, waypoints, easing, animateNumber, magnific-popup, datepicker, timepicker, main.js · one small site.js does menu, form and old links */
/* Hallmark · kept dashes in /impressum, /datenschutz, /agb · legal texts are copied word for word and are not ours to reword */
/* Hallmark · kept the season notice in the /wunnebad hero (gate 58) · guests need to see first that the kiosk is closed */
/* Hallmark · dropped 3 Unsplash bands (louis-hansel, kovacs, city-church) · stock pictures between sections; the owner's own photos carry the pages now */
@import url("./tokens.css");
@import url("./base.css");

@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/playfair-display-latin-400.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/playfair-display-latin-700.woff2") format("woff2"); }
@font-face { font-family: "Raleway"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/raleway-latin-400.woff2") format("woff2"); }
@font-face { font-family: "Raleway"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/raleway-latin-700.woff2") format("woff2"); }

:root { --display-weight: 400; --nav-h: 76px; }
html { scroll-padding-top: calc(var(--nav-h) + var(--space-lg)); }
body { line-height: 1.6; }
h1 { font-weight: 700; line-height: 1.04; }
h2 { line-height: 1.1; }
p + p { margin-top: var(--space-md); }
strong { font-weight: 700; }
a { color: var(--color-link); }
a:hover { color: var(--color-ink); }
.lead { color: var(--color-ink-2); }
.muted { color: var(--color-muted); }

/* Skip link */
.skip { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-4xl)); z-index: var(--z-modal); background: var(--color-ink); color: var(--color-paper); padding: var(--space-xs) var(--space-md); }
.skip:focus { top: var(--space-md); }

/* Buttons: one filled primary, one quiet secondary */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: 48px; padding: 0 var(--space-lg); border-radius: var(--radius-card); font-family: var(--font-body); font-weight: 700; font-size: var(--text-md); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background-color var(--dur-micro) var(--ease-out), color var(--dur-micro) var(--ease-out), border-color var(--dur-micro) var(--ease-out); }
.btn-primary { background: var(--color-accent); color: var(--color-accent-ink); border-color: var(--color-accent); }
.btn-primary:hover { background: var(--color-accent-hover); border-color: var(--color-accent-hover); color: var(--color-accent-ink); }
.btn-primary:active { background: var(--color-accent-hover); transform: translateY(1px); }
.btn-secondary { background: transparent; color: var(--color-ink); border-color: var(--color-ink); }
.btn-secondary:hover { background: var(--color-ink); color: var(--color-paper); }
.btn-secondary:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; background: var(--color-paper-3); border-color: var(--color-paper-3); color: var(--color-muted); }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-xl); }

/* Nav: edge-aligned bar */
.site-head { position: sticky; top: 0; z-index: var(--z-sticky-nav); background: var(--color-paper); border-bottom: var(--rule-hair) solid var(--color-rule); }
.site-head .container { display: flex; align-items: center; gap: var(--space-lg); min-height: var(--nav-h); }
.brand { display: block; flex-shrink: 0; }
.brand img { width: 118px; height: auto; }
.site-nav { margin-left: auto; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: var(--space-lg); }
.site-nav a { color: var(--color-ink); text-decoration: none; font-size: var(--text-sm); font-weight: 700; white-space: nowrap; padding: var(--space-xs) 0; border-bottom: 2px solid transparent; transition: border-color var(--dur-short) var(--ease-out); }
.site-nav a:hover { border-bottom-color: var(--color-ink); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--color-accent); }
.head-tel { white-space: nowrap; font-size: var(--text-sm); color: var(--color-ink); text-decoration: none; font-weight: 700; }
.head-tel:hover { text-decoration: underline; }
.head-action { white-space: nowrap; min-height: 44px; padding: 0 var(--space-md); font-size: var(--text-sm); }
.menu-toggle { display: none; margin-left: auto; min-height: 44px; padding: 0 var(--space-md); background: transparent; border: var(--rule-hair) solid var(--color-ink); border-radius: var(--radius-card); color: var(--color-ink); font-weight: 700; cursor: pointer; }
.menu-toggle:hover { background: var(--color-paper-2); }
@media (max-width: 85rem) {
  .head-tel { display: none; }
  .site-nav ul { gap: var(--space-md); }
}
@media (max-width: 64rem) {
  .menu-toggle { display: inline-flex; align-items: center; }
  .head-action { display: none; }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--color-paper); border-bottom: var(--rule-hair) solid var(--color-rule); margin: 0; }
  .js .site-nav:not(.is-open) { display: none; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: var(--space-xs) var(--gutter) var(--space-lg); }
  .site-nav a { display: block; font-size: var(--text-lg); padding: var(--space-sm) 0; border-bottom: var(--rule-hair) solid var(--color-rule); }
  .site-nav a[aria-current="page"] { border-bottom-color: var(--color-rule); color: var(--color-link); }
}

/* Sections */
.section { padding-block: var(--section-gap); }
.section-s { padding-block: var(--section-gap-s); }
.section + .section, .section + .section-s, .section-s + .section { padding-top: 0; }
.band { background: var(--color-paper-2); padding-block: var(--section-gap-s); }
.band + .section { padding-top: var(--section-gap-s); }
.hero + .section, .hero-banner + .section, .hero-banner + .section-s { padding-top: var(--space-xl); }
.section + .band, .band + .band { margin-top: 0; }
.head-block { display: grid; gap: var(--space-md); margin-bottom: var(--space-2xl); }
.head-block .lead { max-width: 52ch; }
.grid-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); }

.hero { padding-block: var(--space-2xl); }

.hero .container { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3xl); align-items: center; }
.hero-text { display: grid; gap: var(--space-lg); align-content: center; }
body:not([data-page="start"]) .hero h1, .hero-banner h1 { font-size: var(--text-display-s); }
.hero-text .actions { margin-top: var(--space-md); }
.hero-media { margin: 0; position: relative; }
.hero-media img { width: 100%; height: clamp(420px, calc(100svh - var(--nav-h) - 2 * var(--space-2xl)), 760px); object-fit: cover; border-radius: var(--radius-card); }
.hero-media figcaption { margin-top: var(--space-xs); font-size: var(--text-sm); color: var(--color-muted); }
.hero-reverse .container { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.hero-reverse .hero-media { order: -1; }
.hero-banner { padding-block: var(--space-3xl) var(--space-2xl); }
.hero-banner .container { display: grid; gap: var(--space-md); }
.facts-inline { display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-xl); margin: 0; padding: 0; list-style: none; font-weight: 700; color: var(--color-ink-2); }

/* Split */
.split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--space-3xl); align-items: center; }
.split-57 { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.split-75 { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.split figure { margin: 0; }
.split img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-card); min-height: 440px; }
.split [data-slot] { width: 100%; height: clamp(300px, 34vw, 520px); border-radius: var(--radius-card); }
.split .text { display: grid; gap: var(--space-md); align-content: center; }
.split .text h2 { margin-bottom: var(--space-xs); }

/* Rows */
.rows { list-style: none; margin: 0; padding: 0; border-top: var(--rule-hair) solid var(--color-rule); }
.rows > li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap-columns); padding-block: var(--space-xl); border-bottom: var(--rule-hair) solid var(--color-rule); align-items: baseline; }
.rows h3 { font-size: var(--text-title); }
.rows p { color: var(--color-ink-2); }
.rows a.row-link { text-decoration: none; color: inherit; display: contents; }
.rows .go { font-weight: 700; color: var(--color-link); white-space: nowrap; }

/* Index of places (home) */
.places { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--color-ink); }
.places li { border-bottom: var(--rule-hair) solid var(--color-rule); }
.places a { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr); gap: var(--gap-columns); align-items: baseline; padding-block: var(--space-lg); color: var(--color-ink); text-decoration: none; transition: background-color var(--dur-short) var(--ease-out); }
.places a:hover { background: var(--color-paper-2); }
.places .name { font-family: var(--font-display); font-size: var(--text-xl); }
.places .what { color: var(--color-ink-2); }
.places .where { color: var(--color-muted); font-size: var(--text-sm); text-align: right; }

/* Services (home): bento */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); }
.tile { position: relative; display: grid; grid-template-rows: auto 1fr; color: var(--color-ink); text-decoration: none; background: var(--color-paper); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); overflow: hidden; transition: border-color var(--dur-short) var(--ease-out); }
.tile:hover { border-color: var(--color-ink); }
.tile img { width: 100%; height: 300px; object-fit: cover; }
.tile .tile-text { padding: var(--space-lg) var(--space-lg) var(--space-xl); display: grid; gap: var(--space-xs); align-content: start; }
.tile h3 { font-size: var(--text-xl); }
.tile p { color: var(--color-ink-2); }
.tile .go { margin-top: var(--space-sm); font-weight: 700; color: var(--color-link); }
.tile-lead { grid-column: span 7; }
.tile-lead img { height: 420px; }
.tile-side { grid-column: span 5; }
.tile-side img { height: 420px; }
.tile-third { grid-column: span 4; }

/* Statement */
.statement { font-family: var(--font-display); font-size: var(--text-display-s); line-height: 1.15; max-width: 24ch; text-wrap: balance; }
.statement-note { margin-top: var(--space-lg); color: var(--color-ink-2); max-width: 60ch; }

/* Grid of dishes */
.dishes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); }
.dishes figure { margin: 0; display: grid; gap: var(--space-xs); align-content: start; }
.dishes img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-card); }
.dishes figcaption { font-size: var(--text-sm); color: var(--color-ink-2); }

/* Showcase */
.showcase { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap-columns); }
.showcase figure { margin: 0; }
.showcase img { width: 100%; height: 520px; object-fit: cover; border-radius: var(--radius-card); }
.showcase figcaption { margin-top: var(--space-xs); font-size: var(--text-sm); color: var(--color-muted); }

/* Facts as a description list */
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--gap-columns); margin: 0; border-top: var(--rule-hair) solid var(--color-rule); }
.facts div { padding-block: var(--space-md); border-bottom: var(--rule-hair) solid var(--color-rule); }
.facts dt { font-weight: 700; }
.facts dd { margin: var(--space-2xs) 0 0; color: var(--color-ink-2); }
.facts-1 { grid-template-columns: minmax(0, 1fr); }

/* Hours (OCS) */
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th, .hours td { text-align: left; padding: var(--space-sm) 0; border-bottom: var(--rule-hair) solid var(--color-rule); vertical-align: top; }
.hours th { font-weight: 700; padding-right: var(--space-lg); white-space: nowrap; }
.visit-card { display: grid; gap: var(--space-lg); }
.visit-card address { font-style: normal; }

/* Contact band, close of every page */
.close-band { background: var(--color-band); color: var(--color-band-ink); padding-block: var(--section-gap-s); }
.close-band h2 { color: var(--color-band-ink); }
.close-band .lead { color: var(--color-band-muted); }
.close-band a { color: var(--color-band-ink); }
.close-band a:focus-visible, .site-foot a:focus-visible { outline-color: var(--color-focus-on-dark); }
.close-band .btn-primary { color: var(--color-accent-ink); }
.close-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3xl); align-items: end; }
.contacts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap-columns); }
.contacts div { border-top: var(--rule-hair) solid var(--color-band-muted); padding-top: var(--space-md); display: grid; gap: var(--space-2xs); }
.contacts h3 { font-family: var(--font-body); font-size: var(--text-md); font-weight: 700; color: var(--color-band-ink); }
.contacts a { font-size: var(--text-lg); text-decoration: none; }
.contacts a:hover { text-decoration: underline; }

/* Footer: mast */
.site-foot { background: var(--color-band-2); color: var(--color-band-muted); padding-block: var(--space-3xl) var(--space-xl); font-size: var(--text-sm); }
.site-foot a { color: var(--color-band-ink); }
.foot-mast { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2fr)) minmax(0, 2fr); gap: var(--gap-columns); align-items: start; }
.foot-mast img.logo { width: 180px; height: auto; }
.foot-mast h2 { font-family: var(--font-body); font-size: var(--text-sm); font-weight: 700; color: var(--color-band-ink); margin-bottom: var(--space-xs); max-width: none; letter-spacing: normal; }
.foot-mast ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2xs); }
.foot-mast address { font-style: normal; }
.foot-mast .foot-gap { margin-top: var(--space-md); }
.foot-seal { display: grid; gap: var(--space-sm); justify-items: start; }
.foot-seal img { width: 88px; height: auto; }
.foot-legal { margin-top: var(--space-2xl); padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-band-rule); display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-lg); }
.foot-legal p { max-width: none; margin-right: auto; }
.icon { width: 1.1em; height: 1.1em; display: inline-block; vertical-align: -0.15em; flex-shrink: 0; }

/* Form (Kontakt) */
.form-wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-3xl); align-items: start; }
.form { display: grid; gap: var(--space-lg); }
.form .row-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-lg); }
.field { display: grid; gap: var(--space-xs); }
.field label { font-weight: 700; }
.field .opt { font-weight: 400; color: var(--color-muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: var(--space-sm) var(--space-md); border: var(--rule-hair) solid var(--color-muted); border-radius: var(--radius-card); background: var(--color-paper); color: var(--color-ink); font-size: var(--text-md); }
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--color-focus); outline-offset: -1px; }
.field input:disabled, .field select:disabled, .field textarea:disabled { opacity: 0.55; cursor: not-allowed; background: var(--color-paper-2); }
.checks { display: grid; gap: var(--space-xs); border: 0; margin: 0; padding: 0; }
.checks legend { font-weight: 700; margin-bottom: var(--space-xs); padding: 0; }
.checks label { display: flex; gap: var(--space-sm); align-items: center; min-height: 44px; cursor: pointer; }
.checks input { width: 20px; height: 20px; accent-color: var(--color-link); flex-shrink: 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: var(--text-sm); color: var(--color-ink-2); }
.form-status { padding: var(--space-md) var(--space-lg); border-radius: var(--radius-card); font-weight: 700; }
.form-status:empty { display: none; }
.form-status[data-state="ok"] { background: var(--color-paper-3); color: var(--color-ink); }
.form-status[data-state="error"] { background: var(--color-error-paper); color: var(--color-error); }
.form-aside { display: grid; gap: var(--space-xl); }
.form-aside div { border-top: var(--rule-hair) solid var(--color-rule); padding-top: var(--space-md); display: grid; gap: var(--space-2xs); }
.form-aside h2 { font-family: var(--font-body); font-size: var(--text-md); font-weight: 700; max-width: none; letter-spacing: normal; }

/* Long document (Rechtliches, Über uns) */
.prose { max-width: 68ch; }
.prose h2 { font-size: var(--text-2xl); margin: var(--space-2xl) 0 var(--space-md); }
.prose h3 { font-family: var(--font-body); font-size: var(--text-lg); font-weight: 700; letter-spacing: normal; margin: var(--space-xl) 0 var(--space-xs); }
.prose h4 { font-size: var(--text-md); margin: var(--space-lg) 0 var(--space-2xs); }
.prose p, .prose ul, .prose ol { margin: 0 0 var(--space-md); line-height: 1.7; }
.prose p { max-width: none; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li + li { margin-top: var(--space-2xs); }
.prose a { overflow-wrap: anywhere; }

/* Saison-Hinweis */
.notice { display: inline-block; padding: var(--space-sm) var(--space-md); background: var(--color-paper-3); border-radius: var(--radius-card); font-weight: 700; }

/* Handyleiste: Anrufen und Anfrage */
.mobile-bar { display: none; }
@media (max-width: 64rem) {
  .mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-sticky); display: grid; grid-template-columns: 1fr 1fr; padding-bottom: env(safe-area-inset-bottom); background: var(--color-ink); }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: 56px; font-weight: 700; text-decoration: none; }
  .mobile-bar .call { color: var(--color-paper); }
  .mobile-bar .ask { background: var(--color-accent); color: var(--color-accent-ink); }
  .mobile-bar a:focus-visible { outline-color: var(--color-focus-on-dark); outline-offset: -4px; }
  body { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }
  html { scroll-padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
}
@media (max-width: 75rem) {
  .foot-mast { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .foot-mast > :first-child { grid-column: 1 / -1; }
}
@media print { .mobile-bar, .site-nav, .menu-toggle, .head-action { display: none !important; } }

/* Unter 60rem stapelt alles in Lesereihenfolge */
@media (max-width: 60rem) {
  .hero { padding-block: var(--space-xl) var(--space-2xl); }
  .hero .container, .hero-reverse .container { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); min-height: 0; }
  .hero-reverse .hero-media { order: 0; }
  .hero-media img { height: auto; aspect-ratio: 4 / 3; }
  .split, .split-57, .split-75, .showcase, .close-grid, .form-wrap { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .split img { min-height: 0; }
  .split [data-slot] { height: auto; aspect-ratio: 4 / 3; }
  .split .media-first { order: -1; }
  .showcase img { height: auto; aspect-ratio: 4 / 3; }
  .rows > li { grid-template-columns: minmax(0, 1fr); gap: var(--space-xs); padding-block: var(--space-lg); }
  .tile-lead, .tile-side { grid-column: span 12; }
  .tile-third { grid-column: span 6; }
  .tile-lead img, .tile-side img { height: 300px; }
  .dishes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .places a { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xs); }
  .places .where { text-align: left; }
  .foot-mast { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-mast > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 40rem) {
  .tile-third { grid-column: span 12; }
  .dishes { gap: var(--space-md); }
  .dishes figcaption { font-size: var(--text-xs); }
  .contacts, .facts, .form .row-2 { grid-template-columns: minmax(0, 1fr); }
  .foot-mast { grid-template-columns: minmax(0, 1fr); }
}

/* Eine ruhige Ankunft im Startbereich, ohne Skript sichtbar */
@keyframes settle { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.hero-text > * { animation: settle 0.6s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 60ms); }
@media (prefers-reduced-motion: reduce) { .hero-text > * { animation: none; } }
