/*
 * STEAKHAUS AM SEE – Gestaltung
 * Leitidee: „Glut in der blauen Stunde“ – nachtblaue Seite, glühendes Orange, schmale Versalien wie ein Brandzeichen.
 * Wiederkehrendes Element: die Glutlinie (kurzer Balken von Glut zu Kupfer).
 * Regeln: docs/GESTALTUNG.md · Prüfen: php bin/design-pruefen.php
 */

@font-face { font-family: "Oswald"; src: url("/design/fonts/oswald.woff2") format("woff2"); font-weight: 200 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/design/fonts/inter.woff2") format("woff2"); font-weight: 300 800; font-style: normal; font-display: swap; }

:root {
  --serif: "Oswald", Bahnschrift, "DIN Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --h-weight: 700; --h-spacing: 0.012em; --h-transform: uppercase;
  --radius: 0px; --btn-radius: 0px; --media-radius: 0px; --card-radius: 0px;
  --btn-spacing: 0.16em; --btn-size: 0.82rem;
  --brand-weight: 700; --brand-spacing: 0.08em;
  --danger: #ff9d94;
  --ember: linear-gradient(90deg, var(--accent), var(--gold));
}

/* --- Schriftbild --------------------------------------------------------------------- */
h1 { font-size: clamp(3rem, 10vw, 9.5rem); line-height: 0.9; }
h2 { font-size: clamp(2.4rem, 6vw, 5rem); line-height: 0.95; }
h3 { font-size: 1.6rem; letter-spacing: 0.02em; }
.eyebrow { font-size: 0.8rem; letter-spacing: 0.3em; display: flex; align-items: center; gap: 0.9rem; }
.eyebrow::before { content: ""; flex: none; width: 2.75rem; height: 3px; background: var(--ember); }
.lead { color: var(--muted); }
.legal h2, .legal-text h2, .legal-text h3 { text-transform: none; }
.h-small, .footer-h, .hours-special-h { color: var(--accent-text); letter-spacing: 0.26em; }

/* --- Kopfzeile ----------------------------------------------------------------------- */
.site-header { background: var(--dark); border-bottom: 0; box-shadow: 0 3px 0 0 var(--accent); }
.brand { font-size: 1.6rem; }
.site-nav a:not(.btn) { letter-spacing: 0.2em; font-size: 0.78rem; color: var(--muted); }
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"]:not(.btn) { color: var(--text); border-bottom-color: var(--gold); }
@media (min-width: 900px) {
  [data-header="mitte"] .brand { font-size: 2.3rem; letter-spacing: 0.12em; }
  [data-header="mitte"] .header-inner { padding-block: 1.1rem 0.4rem; }
}

/* --- Schaltflächen ------------------------------------------------------------------- */
.btn { border-width: 2px; font-weight: 700; }
.btn-primary:hover { background: color-mix(in srgb, var(--accent) 80%, #fff); }
.btn-outline { border-color: var(--gold); color: var(--gold); }
.btn-outline:hover { background: var(--gold); color: var(--dark); }
.link-arrow { border-bottom-width: 2px; letter-spacing: 0.04em; }

/* --- Startbild (gestaltung/home/hero.php) --------------------------------------------- */
.x-hero { background: var(--dark); padding-top: clamp(2.5rem, 6vw, 5rem); overflow: hidden; }
.x-hero-head h1 { margin: 0 0 clamp(1.5rem, 4vw, 3rem); max-width: 18ch; }
.x-hero-stage { position: relative; }
.x-hero-stage > .media { height: clamp(20rem, 62vh, 40rem); }
.x-hero-stage::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--ember); z-index: 1; }
.x-hero-dock { position: relative; display: flex; justify-content: flex-end; }
.x-hero-board { position: relative; z-index: 2; width: min(100%, 34rem); margin-top: -7rem; margin-bottom: clamp(2rem, 5vw, 4rem); padding: clamp(1.5rem, 3.5vw, 2.5rem); background: var(--bg); border-top: 4px solid var(--accent); }
.x-hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.5; margin: 0; }
.x-hero-meta { margin: 1.75rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line); font-size: 0.85rem; letter-spacing: 0.08em; color: var(--muted); }
@media (max-width: 899px) {
  .x-hero-stage > .media { height: clamp(15rem, 44vh, 22rem); }
  .x-hero-board { margin-top: -3rem; }
  .x-hero-board .btn { width: 100%; }
}

/* --- Zahlenband (fakten.php) ---------------------------------------------------------- */
.x-fakten { background: var(--bg); border-block: 1px solid var(--line); }
.x-fakten-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.x-fakten-list li { display: grid; gap: 0.5rem; align-content: start; padding: clamp(1.5rem, 4vw, 2.75rem) clamp(0.75rem, 2vw, 1.75rem); border-left: 1px solid var(--line); }
.x-fakten-list li:nth-child(odd) { border-left: 0; padding-left: 0; }
.x-fakten-list li:nth-child(n + 3) { border-top: 1px solid var(--line); }
.x-fakten-list strong { font: 700 clamp(2.6rem, 6.5vw, 5rem)/0.9 var(--serif); color: var(--gold); font-variant-numeric: tabular-nums; }
.x-fakten-list span { font-size: 0.95rem; line-height: 1.45; color: var(--muted); max-width: 22ch; }
@media (min-width: 900px) {
  .x-fakten-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .x-fakten-list li:nth-child(odd) { border-left: 1px solid var(--line); padding-left: clamp(0.75rem, 2vw, 1.75rem); }
  .x-fakten-list li:first-child { border-left: 0; padding-left: 0; }
  .x-fakten-list li:nth-child(n + 3) { border-top: 0; }
}

/* --- Feuer und Wasser (feuer-wasser.php) ---------------------------------------------- */
.x-fw-head { display: grid; gap: 1rem 4rem; margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.x-fw-head h2 { margin: 0; }
.x-fw-head .lead { margin: 0; max-width: 38rem; }
.x-fw-pair { display: grid; gap: clamp(2.5rem, 4vw, 3.5rem); }
.x-fw-panel { display: flex; flex-direction: column; background: var(--surface); }
.x-fw-panel > .media { aspect-ratio: 5 / 4; }
.x-fw-text { position: relative; padding: clamp(1.5rem, 3.5vw, 2.5rem); border-top: 4px solid var(--accent); flex: 1; }
.x-fw-wasser .x-fw-text { border-top-color: #4f8fa8; }
.x-fw-word { position: absolute; right: clamp(1rem, 3vw, 2rem); top: 0; transform: translateY(-58%); margin: 0; font: 700 clamp(3.5rem, 9vw, 7rem)/1 var(--serif); text-transform: uppercase; letter-spacing: 0.02em; color: transparent; -webkit-text-stroke: 2px var(--gold); pointer-events: none; }
.x-fw-wasser .x-fw-word { -webkit-text-stroke-color: #9cc9dc; }
.x-fw-text h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1; margin-bottom: 0.6em; max-width: 16ch; }
.x-fw-text p { color: var(--muted); }
@media (min-width: 900px) {
  .x-fw-head { grid-template-columns: 5fr 6fr; align-items: end; }
  .x-fw-pair { grid-template-columns: 1fr 1fr; }
  .x-fw-wasser { margin-top: 5rem; }
}

/* --- Kartentafel (karte.php) ---------------------------------------------------------- */
.x-karte { background: var(--dark); }
.x-karte-grid { display: grid; gap: clamp(2.5rem, 6vw, 5rem); }
.x-karte-rows { list-style: none; margin: 2rem 0 2.5rem; padding: 0; border-top: 2px solid var(--gold); }
.x-karte-rows li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 0.25rem clamp(0.9rem, 2.5vw, 1.75rem); align-items: baseline; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.x-karte-no { font: 700 1rem/1 var(--serif); letter-spacing: 0.1em; color: var(--muted); }
.x-karte-main h3 { margin: 0 0 0.3rem; font-size: clamp(1.5rem, 3.2vw, 2.25rem); line-height: 1; }
.x-karte-main p { margin: 0; color: var(--muted); font-size: 0.98rem; }
.x-karte-price { margin: 0; font: 700 clamp(1.3rem, 2.6vw, 1.9rem)/1 var(--serif); color: var(--gold); white-space: nowrap; font-variant-numeric: tabular-nums; }
.x-karte-cats { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 2rem; padding: 0; }
.x-karte-cats li { padding: 0.45rem 0.8rem; border: 1px solid var(--line); font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; }
.x-karte-cats span { margin-left: 0.4rem; color: var(--gold); font-weight: 700; }
.x-karte-media .media { aspect-ratio: 4 / 5; box-shadow: -0.9rem 0.9rem 0 0 var(--accent); margin-left: 0.9rem; }
@media (min-width: 900px) {
  .x-karte-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; }
  .x-karte-media { position: sticky; top: calc(var(--header-h) + 2rem); }
}

/* --- Flächen, Rhythmus, Bilder -------------------------------------------------------- */
.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section-head h2::after, .split-text h2::after, .visit h2::after { content: ""; display: block; width: 4.5rem; height: 4px; margin-top: 0.4em; background: var(--ember); }
.split-media .media { aspect-ratio: 1; box-shadow: 0.9rem 0.9rem 0 0 var(--surface); }
.split-text > p { color: var(--muted); }
.cine-line { font-style: normal; font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; }
.media { background: linear-gradient(135deg, #0b1116, #1f2c36 60%, #121a20); }
.media.is-missing::after, .media.is-failed::after { color: rgba(255, 179, 122, 0.55); border-color: rgba(255, 179, 122, 0.25); }
.gallery .media { aspect-ratio: 4 / 5; }

/* --- Karten: Gerichte und Aktionen ---------------------------------------------------- */
.dish { background: var(--surface); border-bottom: 4px solid var(--accent); }
.dish .media { aspect-ratio: 4 / 3; }
.dish-body { padding: 1.25rem 1.4rem 1.4rem; }
.dish-body .price { color: var(--gold); font: 700 1.4rem/1 var(--serif); }
.promo { border: 0; border-top: 4px solid var(--accent); }
.promo-body h2, .promo-body h3 { font-size: 1.9rem; line-height: 1; }

/* --- Seitenköpfe der Unterseiten ------------------------------------------------------ */
.page-hero { min-height: clamp(16rem, 40vh, 24rem); border-bottom: 4px solid var(--accent); }
.page-hero::after { background: linear-gradient(90deg, rgba(8, 11, 14, 0.9), rgba(8, 11, 14, 0.45) 70%), linear-gradient(180deg, rgba(8, 11, 14, 0.2), rgba(8, 11, 14, 0.8)); }
.page-hero h1 { font-size: clamp(3rem, 9vw, 7rem); }

/* --- Speisekarte ---------------------------------------------------------------------- */
.menu-tools { border: 0; border-left: 4px solid var(--accent); }
.menu-cats { background: var(--bg); border-bottom: 2px solid var(--gold); }
.menu-cats a { letter-spacing: 0.2em; color: var(--muted); }
.menu-cats a:hover { color: var(--gold); }
.menu-cat-head h2 { font-size: clamp(2.5rem, 6vw, 4.25rem); padding-bottom: 0.25em; border-bottom: 1px solid var(--line); }
@media (min-width: 521px) { .menu-item-head h3 { font-size: 1.55rem; } }
.menu-dots { border-bottom: 0; }
.menu-price { color: var(--gold); font: 700 1.45rem/1 var(--serif); }
@media (min-width: 521px) { .menu-thumb { width: 6rem; height: 6rem; } }

/* --- Reservierung --------------------------------------------------------------------- */
.steps span { border-radius: 0; }
.steps [aria-current="step"] span { background: var(--accent); color: #fff; border-color: var(--accent); }
.slot-group h3 { color: var(--gold); letter-spacing: 0.24em; }
.summary-line { border: 0; border-left: 4px solid var(--accent); }
.summary { border-top: 2px solid var(--gold); }
.code-box { border-top: 4px solid var(--accent); }
.alternatives, .notice { border-left-width: 4px; }

/* --- Besuch, Stammgast-Karte, Fußbereich ---------------------------------------------- */
.visit { background: var(--surface); }
.big-address { font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; font-size: clamp(1.5rem, 3vw, 2.25rem); line-height: 1.15; }
.hours .is-today th, .hours .is-today td { color: var(--gold); }
.vip-teaser { border-block: 1px solid var(--line); }
.card-stage-dark { background: linear-gradient(135deg, #1a232b, #080b0e); }
.site-footer { border-top: 4px solid var(--accent); }
.footer-brand { font-weight: 700; letter-spacing: 0.08em; font-size: 2rem; }
.mobile-bar { border-top: 3px solid var(--accent); }

/* --- Bewegung nur, wenn erwünscht ----------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .x-karte-rows li { transition: padding-left 0.25s ease; }
  .x-karte-rows li:hover { padding-left: 0.6rem; }
}
