@charset "utf-8";
/* =========================================================================
   Restaurant Römerkastell – Habenichts 1, 66646 Marpingen-Urexweiler
   -------------------------------------------------------------------------
   Direction "Der gedeckte Tisch am Waldrand" (locked brief): the page is mostly
   photograph. Every colour is sampled from the house's own photos (the Fest
   table, the facade with the forest behind it) and the fir trees in its logo,
   and is named after the thing it came from. One exception: the white disc behind
   the Google "G" in the Stimmen block (--google-feld), because Google's brand rules
   require the G on white.

   Contrast (WCAG 2.x, measured 2026-10-04):
     tischtuch      on waldrand     13.53 AAA   tischtuch on vorhang      12.09 AAA
     tannengruen    on waldrand      5.44 AA    tannengruen on vorhang     4.87 AA
     giebelrot-hell on waldrand      5.15 AA    giebelrot-hell on vorhang  4.60 AA
     tischtuch      on giebelrot     6.27 AA    tischtuch on giebelrot-feld 5.31 AA
     waldrand       on fassadengelb  9.90 AAA   vorhang on fassadengelb    8.85 AAA
     giebelrot      on fassadengelb  4.58 AA    tanne-tief on fassadengelb 5.27 AA
   NEVER: tannengruen on fassadengelb (1.82), fassadengelb or tannengruen as text
   on giebelrot-feld (3.88 / 2.14), the raw facade red #AF564D under text (4.11).

   No third-party requests. Fonts are self-hosted (SIL OFL, LICENSE-*-OFL.txt).
   Every animation sits inside @media (prefers-reduced-motion: no-preference) and
   no rule hides content waiting for an animation: the finished state is the base.
   ========================================================================= */

/* ---------- fonts (self-hosted) ----------
   Subset 2026-10-04 with fontTools from the full files in _src/fonts-full/:
   Alegreya Sans + SC to Google's "latin" range (U+0000-00FF, – “ „ … € etc.; every
   character on the pages, gate.py checks coverage). The serif italic is cut to the
   letters of the ONE word it sets ("Restaurant"): re-subset it before using it for
   anything else. Changed files get new names because the host serves them immutable. */
@font-face {
  font-family: "Alegreya Sans";
  src: url("../fonts/alegreya-sans-400-latin.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Alegreya Sans";
  src: url("../fonts/alegreya-sans-400-italic-latin.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Alegreya Sans";
  src: url("../fonts/alegreya-sans-500-latin.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Alegreya Sans";
  src: url("../fonts/alegreya-sans-700-latin.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Alegreya Sans SC";
  src: url("../fonts/alegreya-sans-sc-500-latin.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
/* the serif companion: ONLY the word "Restaurant" above the name on the placard,
   an echo of the calligraphic fascia sign and the logo script (Direction 2 graft) */
@font-face {
  font-family: "Alegreya";
  src: url("../fonts/alegreya-400-italic-restaurant.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}

/* ---------- tokens ---------- */
:root {
  /* grounds */
  --waldrand:      #1A2316;  /* the forest behind the house: page ground, nav, footer (about half the surface) */
  --vorhang:       #3B2416;  /* the brown curtain behind the Fest table: secondary dark surface,
                                mobile hero caption band */
  --fassadengelb:  #E2C793;  /* the facade's ochre render: the ONE light region (Kontakt /
                                Öffnungszeiten / Anfahrt band, Speisekarte page ground) */

  /* text */
  --tischtuch:     #F1EADB;  /* the tablecloth: body text and headings on dark grounds */
  --tannengruen:   #7F9E76;  /* the logo's fir trees: metadata, review attribution, rating source
                                line, small-caps labels. Dark grounds only. */
  --tanne-tief:    #3A5233;  /* the same green, darkened for the light band (5.27:1 on fassadengelb) */

  /* the gable */
  --giebelrot:      #8E3A30; /* the single action colour: the 06827 655 call button fill,
                                current-page marker */
  --giebelrot-hell: #D07A6A; /* links and focus ring on dark grounds */
  /* Feiern & Catering MAY take the gable as a whole Committed field (Direction 2 graft).
     LOCKED darkened value: tischtuch on it is 5.31:1. Do NOT restore the photo's raw
     #AF564D: tischtuch on that is 4.11:1 and fails AA for body text. */
  --giebelrot-feld: #9C443B;
  --giebelrot-gedrueckt: #742F27;  /* pressed state of the call button (reduced motion) */

  /* form fields (light fill on dark grounds) */
  --platzhalter-text: #5C6655;  /* placeholder text on tischtuch: 5.03:1 (browser default #757575 was 3.85) */
  /* not sampled: Google's brand rules want the G on white */
  --google-feld: #fff;

  /* type */
  --sans: "Alegreya Sans", "Gill Sans", "Segoe UI", system-ui, sans-serif;
  --sc:   "Alegreya Sans SC", "Alegreya Sans", "Gill Sans", system-ui, sans-serif;
  --serif-kursiv: "Alegreya", Georgia, "Times New Roman", serif;

  --s--1: clamp(0.875rem, 0.85rem + 0.12vw, 0.94rem);   /* metadata, source lines */
  --s-0:  clamp(1.0625rem, 1.03rem + 0.18vw, 1.1875rem);/* body, 17 -> 19 px */
  --s-1:  clamp(1.2rem, 1.12rem + 0.4vw, 1.4rem);       /* SC labels, lead lines */
  --s-2:  clamp(1.45rem, 1.25rem + 0.9vw, 1.85rem);     /* short headings */
  --s-3:  clamp(1.75rem, 1.4rem + 1.6vw, 2.25rem);      /* the ceiling: business name, page titles */
  --track-sc: 0.06em;
  --measure: 62ch;

  /* space */
  --gutter: clamp(1rem, 4vw, 2.5rem);   /* 16 px at 375 */
  --max:    74rem;
  --pad-s:  clamp(2.5rem, 5vw, 4rem);
  --pad-m:  clamp(3.5rem, 8vw, 6rem);
  --pad-l:  clamp(4.5rem, 11vw, 8.5rem);
  --leiste-h: 2.5rem;

  /* motion: critically damped (apple-design damping 1.0), no overshoot */
  --daempfung: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--leiste-h) + 0.75rem); }
body {
  margin: 0;
  background: var(--waldrand);
  color: var(--tischtuch);
  font: 400 var(--s-0)/1.55 var(--sans);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, picture, svg { display: block; max-width: 100%; height: auto; }
p, ul, ol, dl, figure, blockquote { margin: 0; }
p + p { margin-top: 0.9em; }
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--sans);
  font-weight: 700;
  line-height: 1.15;
  text-wrap: balance;
}
h1 { font-size: var(--s-3); }
h2 { font-size: var(--s-2); }
h3 { font-size: var(--s-1); font-weight: 500; }
a { color: var(--giebelrot-hell); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
strong { font-weight: 700; }
:focus-visible { outline: 2px solid var(--giebelrot-hell); outline-offset: 3px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.prose { max-width: var(--measure); }
.prose > * + * { margin-top: 0.9em; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip {
  position: absolute; left: var(--gutter); top: -4rem; z-index: 40;
  padding: 0.6rem 1rem; background: var(--giebelrot); color: var(--tischtuch);
}
.skip:focus { top: 0.5rem; }

/* small-caps label (section names, nav): Alegreya Sans SC 500 */
.label {
  font: 500 var(--s-1)/1.2 var(--sc);
  letter-spacing: var(--track-sc);
  color: var(--tannengruen);
}

/* ---------- Kopfleiste: hours + phone, sticky, one line at 375 px ---------- */
.leiste {
  position: sticky; top: 0; z-index: 30;
  background: var(--waldrand);
  border-bottom: 1px solid color-mix(in oklab, var(--tannengruen) 30%, transparent);
  font: 500 var(--s--1)/1 var(--sans);
}
.leiste__in {
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  min-height: var(--leiste-h);
}
/* one line at normal spacing (375 px and up); with user text-spacing or a large font it
   wraps instead of clipping "Mo Ruhetag" (WCAG 1.4.12) */
.leiste__zeit { color: var(--tannengruen); line-height: 1.2; padding-block: 0.3rem; font-variant-numeric: lining-nums tabular-nums; }
.leiste__tel {
  color: var(--tischtuch); font-weight: 700; text-decoration: none;
  display: inline-flex; align-items: center; min-height: 44px; padding-inline: 0.25rem;
  font-variant-numeric: lining-nums tabular-nums; white-space: nowrap;
}
.leiste__tel:hover { text-decoration: underline; }
@media (max-width: 23.99em) { .leiste__lang { display: none; } }

/* ---------- header ---------- */
.kopf { background: var(--waldrand); }
.kopf__in {
  display: flex; align-items: center; gap: 0.5rem 1.75rem; flex-wrap: wrap;
  min-height: 4rem; padding-block: 0.6rem;
}
.marke {
  display: inline-flex; align-items: center; gap: 0.6rem; margin-right: auto; min-height: 44px;
  color: var(--tischtuch); text-decoration: none;
}
.tannen { color: var(--tannengruen); width: 2.25rem; height: auto; flex: none; }
.marke__name { font: 700 1.2rem/1.1 var(--sans); }
.nav { display: flex; gap: 0 1.25rem; flex-wrap: wrap; }
.nav a {
  font: 500 1.05rem/1 var(--sc); letter-spacing: var(--track-sc);
  color: var(--tischtuch);
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.4em;
  text-decoration-color: transparent;
  display: inline-flex; align-items: center; min-height: 44px;
}
.nav a:hover, .nav a:focus-visible { text-decoration-color: var(--giebelrot-hell); }
/* current page: the light gable red (5.15:1 on waldrand; the dark --giebelrot was 2.16:1)
   and a heavier line than the hover state, so it reads as a state, not a hover */
.nav a[aria-current="page"] { text-decoration-color: var(--giebelrot-hell); text-decoration-thickness: 3px; }
@media (forced-colors: active) {
  .nav a { text-decoration-line: none; }
  .nav a[aria-current="page"], .nav a:hover, .nav a:focus-visible { text-decoration-line: underline; }
}
@media (max-width: 47.99em) { .nav { width: 100%; gap: 0 1rem; } }

/* ---------- the call button: the ONE Giebelrot action ---------- */
.ruf {
  display: inline-flex; align-items: center; gap: 0.5rem;
  min-height: 48px; padding: 0.75rem 1.2rem;
  background: var(--giebelrot); color: var(--tischtuch);
  font: 700 var(--s-0)/1 var(--sans); text-decoration: none;
  border-radius: 3px;
  font-variant-numeric: lining-nums tabular-nums;
}
.ruf:hover { background: color-mix(in oklab, var(--giebelrot) 88%, var(--tischtuch)); }
/* secondary: a plain text link, never a second button */
.weg { display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- sections (bands) ----------
   <section class="band">                 Waldrand (default)
   <section class="band band--vorhang">   Vorhang brown
   <section class="band band--giebel">    Giebelrot-Feld (Feiern & Catering option)
   <section class="band band--hell">      Fassadengelb, the one light region */
.band { padding-block: var(--pad-m); }
.band--eng { padding-block: var(--pad-s); }
.band--weit { padding-block: var(--pad-l); }
.band--vorhang { background: var(--vorhang); }
.band--giebel { background: var(--giebelrot-feld); }
.band--giebel a, .band--giebel .label, .band--giebel .quelle { color: var(--tischtuch); }
.band--giebel :focus-visible { outline-color: var(--tischtuch); }
.band--giebel .demo-hinweis { color: var(--tischtuch); border-color: var(--tischtuch); }  /* green on this red is 2.14:1 */
.band--hell { background: var(--fassadengelb); color: var(--waldrand); }
.band--hell a { color: var(--giebelrot); }
.band--hell .ruf { color: var(--tischtuch); }   /* the rule above would paint the call button's text in its own fill */
.band--hell .label, .band--hell .quelle { color: var(--tanne-tief); }
.band--hell :focus-visible { outline-color: var(--giebelrot); }
.band--hell .tannen { color: var(--tanne-tief); }

.raster { display: grid; gap: var(--pad-s) var(--gutter); }
@media (min-width: 48em) {
  .raster { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; }
  .raster > .sp-4 { grid-column: span 4; }
  .raster > .sp-5 { grid-column: span 5; }
  .raster > .sp-6 { grid-column: span 6; }
  .raster > .sp-7 { grid-column: span 7; }
  .raster > .sp-8 { grid-column: span 8; }
  .raster > .sp-12 { grid-column: 1 / -1; }
  .raster--mitte { align-items: center; }
}
.stapel > * + * { margin-top: 1.25rem; }
.stapel--weit > * + * { margin-top: 2rem; }

.quelle { font-size: var(--s--1); line-height: 1.45; color: var(--tannengruen); }
.quelle cite { font-style: normal; }
.liste { list-style: none; padding: 0; }
.liste li { padding-block: 0.6rem; border-bottom: 1px solid color-mix(in oklab, currentColor 18%, transparent); }
.liste li:first-child { border-top: 1px solid color-mix(in oklab, currentColor 18%, transparent); }

/* demo-only notes, visible on demand from the draft bar; removed at go-live */
.demo-hinweis {
  font-size: var(--s--1); line-height: 1.45; max-width: 52ch;
  border: 1px dashed var(--tannengruen); padding: 0.55rem 0.75rem; color: var(--tannengruen);
}
.band--hell .demo-hinweis { border-color: var(--tanne-tief); color: var(--tanne-tief); }

/* ---------- hero: the photograph leads ----------
   <section class="held">
     <div class="held__bild"> picture (avif, webp, jpg fallback with width/height/alt) </div>
     <div class="held__platz">  the placard: p.held__vor "Restaurant", h1, address, hours, actions
   Desktop: image full-bleed ~92vh, placard top-left over the forest above the roof line.
   Phone: image 4:5, placard in a Vorhang band BELOW the image (no text on a busy photo).
   The 4:5 frame is capped at 60 % of the viewport height, so on a tablet in portrait or a
   laptop at 200 % zoom (640 css px) the name, hours and call button start on the first screen. */
.held { position: relative; background: var(--waldrand); }
.held__bild { position: relative; overflow: hidden; }
/* the facade leads (hero test, 2026-10-04): its sign sits in the lowest fifth of both crops, so a
   wide screen trims forest from the top, never the sign from the bottom */
.held__bild picture { height: 100%; }
.held__bild img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; }
/* the photo fades into the ground with a mask, not a gradient overlay (Direction 2 graft).
   The fade starts at 90 %, below the sign. */
.held__bild {
  -webkit-mask-image: linear-gradient(to bottom, #000 90%, transparent);
          mask-image: linear-gradient(to bottom, #000 90%, transparent);
}
@media (prefers-reduced-transparency: reduce) {
  .held__bild { -webkit-mask-image: none; mask-image: none; }
}
.held__platz {
  background: var(--vorhang);
  padding: 1.5rem var(--gutter) 1.75rem;
  display: grid; gap: 0.6rem; justify-items: start;
}
.held__vor { font: italic 400 var(--s-1)/1 var(--serif-kursiv); color: var(--tischtuch); }
.held h1 { font: 700 var(--s-3)/1.05 var(--sans); }
.held__fakt { font: 500 var(--s-0)/1.35 var(--sans); font-style: normal; color: var(--tischtuch); }
.held__wege { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.25rem; margin-top: 0.5rem; }
/* Phones and small tablets: a short landscape crop, so the name, the hours and the call button
   are on the first screen (measured 2026-10-04: with 4:5 the call button sat below the fold on
   every width from 320 to 767 px). The sign stays in frame via object-position 50% 70%. */
@media (max-width: 47.99em) {
  .held__bild { aspect-ratio: 3 / 2; max-height: 30vh; max-height: 30svh; width: 100%; }
}
@media (min-width: 36em) and (max-width: 47.99em) {
  .held__bild { aspect-ratio: 16 / 9; max-height: 38vh; max-height: 38svh; }
}
@media (min-width: 48em) {
  .held__bild { height: 92vh; min-height: 32rem; max-height: 62rem; }
  .held__platz {
    position: absolute; top: clamp(1.5rem, 5vh, 3.5rem); left: max(var(--gutter), (100% - var(--max)) / 2);
    max-width: 26rem; padding: 1.25rem 1.5rem 1.4rem;
    background: color-mix(in oklab, var(--vorhang) 92%, transparent);
    border-radius: 3px;
  }
}
@media (min-width: 48em) and (prefers-reduced-transparency: reduce) {
  .held__platz { background: var(--vorhang); }
}

/* ---------- rating line: one plain line, no stars graphic, no counter ---------- */
.wertung { font: 500 var(--s--1)/1.4 var(--sans); color: var(--tannengruen); font-variant-numeric: lining-nums; }

/* ---------- quotations: verbatim, dated, attributed ----------
   <figure class="zitat"><blockquote><p>…</p></blockquote>
   <figcaption class="quelle">Dieter W., Google, 4 Sterne, 2023</figcaption></figure> */
.zitat blockquote {
  margin: 0; font-style: italic; font-size: var(--s-1); line-height: 1.45; max-width: 52ch;
}
.zitat figcaption { margin-top: 0.6rem; }

/* ---------- Stimmen: a static, verbatim list (no carousel, never auto-scrolling) ---------- */
.rv-kopf { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.rv-g-feld { display: grid; place-items: center; width: 3.25rem; height: 3.25rem; background: var(--google-feld); border-radius: 50%; flex: none; }
.rv-g { width: 1.8rem; height: 1.8rem; }
.rv-liste { list-style: none; padding: 0; display: grid; gap: 1.5rem var(--gutter); margin-top: 1.75rem; }
@media (min-width: 48em) { .rv-liste { grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); } }
.rv-karte { border-top: 1px solid color-mix(in oklab, var(--tannengruen) 45%, transparent); padding-top: 1rem; }
.rv-karte blockquote { margin: 0; font-style: italic; line-height: 1.5; }
.rv-wer { margin-top: 0.75rem; font-size: var(--s--1); color: var(--tannengruen); }
.rv-fuss { margin-top: 1.75rem; display: grid; gap: 0.75rem; }
.rv-wege { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; }
.rv-wege a { display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- forms (Feier enquiry, written reservation; booking app styles its own) ---------- */
.formular { display: grid; gap: 1.5rem; max-width: 40rem; }
.formular__feld { border: 0; margin: 0; padding: 0; display: grid; gap: 0.5rem; min-width: 0; }
.formular label, .formular legend { font: 500 var(--s-0)/1.25 var(--sans); padding: 0; }
.formular input, .formular select, .formular textarea {
  font: 400 var(--s-0)/1.3 var(--sans); color: var(--waldrand);
  background: var(--tischtuch); border: 1px solid color-mix(in oklab, var(--waldrand) 40%, transparent);
  border-radius: 3px; padding: 0.7rem 0.8rem; min-height: 48px; width: 100%;
  color-scheme: light;   /* the page says "dark light"; without this the date picker icon is drawn white on the light fill */
}
.formular ::placeholder { color: var(--platzhalter-text); opacity: 1; }
.formular textarea { resize: vertical; }
.formular input[type="radio"], .formular input[type="checkbox"] { width: auto; min-height: 0; accent-color: var(--giebelrot); }
.formular__falle { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.feld-fehler { color: var(--giebelrot-hell); font-weight: 700; font-size: var(--s--1); margin: 0; }
.band--hell .feld-fehler { color: var(--giebelrot); }

/* ---------- Speisekarte (Fassadengelb ground) ---------- */
.karte { max-width: 44rem; }
.karte__zeile {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.25rem 1.5rem; align-items: baseline;
  padding-block: 0.7rem; border-bottom: 1px solid color-mix(in oklab, var(--waldrand) 18%, transparent);
}
.karte__preis { font-weight: 500; font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.karte__zusatz { grid-column: 1 / -1; font-size: var(--s--1); color: var(--tanne-tief); }

/* ---------- Feiern & Catering page ----------
   The Fest table runs full-bleed, cropped wide so the lettered vase labels in the
   lower half of the shot stay out; the text sits below it on Vorhang, never on the photo. */
.feier-bild { margin: 0; overflow: hidden; background: var(--vorhang); }
.feier-bild img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 55% 70%; }
@media (min-width: 48em) { .feier-bild img { aspect-ratio: 3 / 1; max-height: 52vh; } }
.feier-karte { list-style: none; padding: 0; font: 500 var(--s-1)/1.4 var(--sans); }
.feier-karte li + li { margin-top: 0.3em; }
.feier-zitate { display: grid; gap: 2rem var(--gutter); }
@media (min-width: 48em) { .feier-zitate { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.feier-zitate .zitat blockquote { font-size: var(--s-0); line-height: 1.5; }
.feier-zitate__hinweis { max-width: 60ch; }
.formular__paar { display: grid; gap: 1.5rem var(--gutter); align-items: start; }
.formular__feld { align-content: start; }
@media (min-width: 36em) { .formular__paar { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.formular__hinweis { font-size: var(--s--1); line-height: 1.45; color: var(--tannengruen); }
.formular__frei { font-weight: 400; color: var(--tannengruen); }
.formular__senden {
  justify-self: start; min-height: 48px; padding: 0.75rem 1.4rem; cursor: pointer;
  font: 700 var(--s-0)/1 var(--sans); color: var(--waldrand);
  background: var(--tischtuch); border: 0; border-radius: 3px;
}
.formular__senden:hover { background: var(--fassadengelb); }
.formular__senden:focus-visible { outline: 2px solid var(--giebelrot-hell); outline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) {
  .formular__senden { transition: background-color 150ms ease-out, transform 100ms ease-out; }
  .formular__senden:active { transform: scale(0.97); }
}
@media (prefers-reduced-motion: reduce) {
  .formular__senden:active { background: var(--fassadengelb); }
}

/* ---------- legal pages ---------- */
.recht { max-width: var(--measure); }
.recht h2 { font-size: var(--s-1); margin-top: 2.25rem; }
.recht h3 { font-size: var(--s-0); font-weight: 700; margin-top: 1.5rem; }
.recht p, .recht ul, .recht address { margin-top: 0.75rem; }
.recht address { font-style: normal; }
.recht ul { padding-left: 1.2rem; }
.recht__stand { margin-top: 2.5rem; font-size: var(--s--1); color: var(--tannengruen); }
.recht__hervor { margin-top: 2.25rem; padding: 1.1rem 1.25rem 1.3rem; border: 1px solid var(--tannengruen); }
.recht__hervor h2 { margin-top: 0; }
/* the Impressum name stays a visible placeholder until the owner confirms (FACTS §0.5) */
.platzhalter { border-bottom: 1px dashed currentColor; }

/* ---------- Start page: Kontakt band (fir glyph beside the name, upright address) ---------- */
.kontakt__name { display: flex; align-items: center; gap: 0.6rem; font-size: var(--s-1); }
.kontakt__adresse { font-style: normal; }
.wertung-band { padding-block: 1.25rem 0; }  /* the rating line sits close under the hero */

/* ---------- footer ---------- */
.fuss {
  background: var(--waldrand);
  border-top: 1px solid color-mix(in oklab, var(--tannengruen) 30%, transparent);
  padding-block: var(--pad-s);
  font-size: var(--s--1); line-height: 1.6;
}
.fuss a { color: var(--tischtuch); }
.fuss address { font-style: normal; }
.fuss__in { display: grid; gap: 1.5rem var(--gutter); }
@media (min-width: 48em) { .fuss__in { grid-template-columns: 1fr auto; align-items: start; } }
.fuss__name { display: flex; align-items: center; gap: 0.5rem; font: 700 1.1rem/1.2 var(--sans); margin-bottom: 0.5rem; }
.fuss__name .tannen { width: 1.75rem; }
.fuss__nav { display: flex; flex-wrap: wrap; gap: 0 1.25rem; }
.fuss__nav a { display: inline-flex; align-items: center; min-height: 44px; }
/* stacked contact links (Kontakt band, Kontakt page): one 44 px target per line */
.tap-liste a { display: flex; align-items: center; min-height: 44px; width: fit-content; }

/* ---------- demo bar: removed at go-live ---------- */
.entwurf { background: var(--vorhang); color: var(--tannengruen); font-size: var(--s--1); }
.entwurf__in { display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: 0 1rem; min-height: 2rem; }
.entwurf__knopf {
  font: 500 var(--s--1)/1 var(--sans); color: var(--tischtuch); white-space: nowrap;
  background: none; border: 0; padding: 0 0.25rem; min-height: 44px; cursor: pointer;
  text-decoration: underline 1px; text-underline-offset: 0.25em;
}
.entwurf__knopf[aria-pressed="true"] { text-decoration-thickness: 2px; }
@media (max-width: 39.99em) { .entwurf__lang { display: none; } }
.js .demo-hinweis { display: none; }
.js.hinweise .demo-hinweis { display: block; }
html:not(.js) .entwurf__knopf { display: none; }

/* =========================================================================
   MOTION (locked brief). Only the photographs move; everything else is press
   feedback. The base styles above are the FINISHED state.
     1. hero settle: the image eases from scale(1.035) to 1 over 900 ms once it has
        decoded (site.js adds .held--da); the placard settles 6 px 180 ms later.
        No opacity-0 start state: without JS, or before decode, all is visible.
     2. press feedback on :active, 100 ms; colour changes 150 ms.
   The brief's scroll-linked facade drift is gone with the panorama it belonged to:
   the facade became the hero (hero test, see _src/pages/index.html).
   ========================================================================= */
@media (prefers-reduced-motion: no-preference) {
  .js .held__bild img { transform: scale(1.035); transition: transform 900ms var(--daempfung); }
  .js .held--da .held__bild img { transform: none; }
  .js .held--da .held__platz { animation: setzen 280ms var(--daempfung) 180ms backwards; }

  a, .ruf, .nav a { transition: color 150ms ease-out, background-color 150ms ease-out, text-decoration-color 150ms ease-out, transform 100ms ease-out; }
  .ruf:active, .weg:active, .leiste__tel:active, .nav a:active { transform: scale(0.97); }
}
@keyframes setzen { from { transform: translateY(6px); } }

/* Reduced motion: nothing scales or drifts; press is a colour change. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition-property: color, background-color, border-color, text-decoration-color !important;
    transition-duration: 150ms !important;
  }
  .held__bild img { transform: none !important; }
  .ruf:active { transform: none; background: var(--giebelrot-gedrueckt); }
}

/* ---------- print: the address and number are what matter ---------- */
@media print {
  .leiste, .nav, .skip, .entwurf, .held__bild { display: none; }
  body { background: #fff; color: #000; }
  .band, .fuss, .held__platz { background: #fff !important; color: #000; position: static; }
}
