/* ==========================================================================
   Studio Schwarz by Adesigna – site.css
   Single theme on purpose: the page is the black room (color-scheme: dark).
   No external requests: fonts are self-hosted (SIL OFL, licences in ../fonts/).

   1 Fonts · 2 Tokens & base · 3 Header & navigation · 4 Buttons · 5 Hero
   6 Photos · 7 Facts · 8 Sections · 9 Steps · 10 Lieferbar · 11 Musterbestand
   12 Räume · 13 Einblicke · 14 Termin & booking · 15 Footer
   16 Responsive · 17 Motion · 18 Print
   ========================================================================== */

/* 1 · Fonts ---------------------------------------------------------------- */
@font-face {
  font-family: "Marcellus";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/marcellus-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Marcellus";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/marcellus-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/hanken-grotesk-latin-ext-wght-normal.woff2") format("woff2-variations"),
       url("../fonts/hanken-grotesk-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2-variations"),
       url("../fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/ibm-plex-mono-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/ibm-plex-mono-latin-ext-500-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* 2 · Tokens & base -------------------------------------------------------- */
:root {
  --ground: #121112;     /* page background – the black room */
  --surface: #1b1a1b;    /* alternate section background */
  --raised: #171617;     /* card gradient start */
  --graphite: #414042;   /* strong rules, the monolith in the mark */
  --line: #2c2a2c;       /* hairlines */
  --gold: #b8975a;       /* brass accent */
  --gold-soft: #d4bb8a;
  --ink: #ede8df;        /* text */
  --ink-soft: #cfc9bf;   /* lead and card copy */
  --ink-prose: #d2ccc2;  /* running prose */
  --muted: #9d978d;      /* secondary text */

  --display: "Marcellus", "Times New Roman", serif;
  --body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 77px;      /* sticky header height, used for anchor offsets */
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html, body { margin: 0; }
body {
  background: var(--ground);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
::selection { background: var(--gold); color: var(--ground); }

h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: .01em; margin: 0; text-wrap: balance; }
h3 { line-height: 1.2; }
p { margin: 0; }
.prose p, .lead, .step p, .room p, .deliver-intro, .compare-item p { text-wrap: pretty; }

.wrap {
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right));
}
.eyebrow { font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
main:focus { outline: none; }
main { scroll-margin-top: var(--header-h); } /* skip link: #main lands below the sticky header */
/* Keyboard focus scrolled into view stays clear of the sticky header (WCAG 2.4.11).
   Section anchors keep their own, more specific offsets below. */
main *, .site-footer * { scroll-margin-top: calc(var(--header-h) + 8px); }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link {
  position: absolute; left: var(--gutter); top: 0; z-index: 100;
  padding: 12px 18px;
  background: var(--gold); color: var(--ground);
  font-weight: 500; text-decoration: none;
  transform: translateY(-120%);
}
.skip-link:focus { transform: translateY(12px); }

/* 3 · Header & navigation -------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  padding-top: env(safe-area-inset-top);
  background: rgb(18 17 18 / .92);
  background: color-mix(in srgb, var(--ground) 88%, transparent);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 12px 32px; padding-block: 16px; }

/* Lockup: mark + STUDIO SCHWARZ (brass). "by Adesigna" lives in the footer brand line. */
.brand { display: flex; flex: none; align-items: center; gap: 12px; min-height: 44px; color: var(--gold); text-decoration: none; }
.brand-mark { flex: none; width: 28px; height: 28px; }
.brand-word { font-family: var(--display); font-size: 17px; line-height: 1; letter-spacing: .32em; margin-right: -.32em; text-transform: uppercase; white-space: nowrap; }

/* .site-menu = main navigation + language switch. Desktop: one row between
   lockup and CTA. Below 900px (with JS) it becomes the panel of the menu button. */
.site-menu { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.site-nav ul { display: flex; gap: 28px; margin: 0; padding: 0; list-style: none; }
.site-nav a { display: block; padding-block: 8px; font-size: 14px; font-weight: 400; color: var(--muted); text-decoration: none; transition: color .2s; }
.site-nav a:hover { color: var(--ink); }
.header-cta { flex: none; }

/* Language switch „DE | EN“: current language is a span (aria-current), the other one a link */
.lang-switch { display: flex; flex: none; align-items: center; font-family: var(--mono); font-size: 12px; font-weight: 400; line-height: 1; letter-spacing: .14em; text-transform: uppercase; }
.lang-switch > * { position: relative; display: inline-flex; align-items: center; justify-content: center; min-width: 32px; min-height: 32px; padding-inline: 7px; padding-left: calc(7px + .14em); } /* .14em evens out the trailing letter-spacing */
.lang-switch > * + *::before { content: ""; position: absolute; left: 0; top: 50%; height: 12px; margin-top: -6px; border-left: 1px solid var(--graphite); }
.lang-switch [aria-current] { color: var(--ink); text-decoration: underline 1px var(--gold); text-underline-offset: 5px; }
.lang-switch a { color: var(--muted); text-decoration: none; transition: color .2s; }
.lang-switch a:hover { color: var(--gold-soft); }

.menu-btn {
  display: none;
  align-items: center; justify-content: center; gap: 10px;
  min-width: 44px; min-height: 44px; margin-left: auto; padding: 0 14px;
  border: 1px solid var(--line); border-radius: 0;
  background: transparent; color: var(--ink);
  font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase;
  cursor: pointer;
  transition: border-color .2s;
}
.menu-btn:hover { border-color: var(--gold); }
.menu-icon { position: relative; flex: none; width: 18px; height: 8px; }
.menu-icon::before, .menu-icon::after {
  content: ""; position: absolute; left: 0; right: 0; height: 0;
  border-top: 1px solid currentColor; transition: transform .2s; /* a border stays visible in forced-colors mode */
}
.menu-icon::before { top: 0; }
.menu-icon::after { bottom: 0; }
.menu-btn[aria-expanded="true"] .menu-icon::before { transform: translateY(3.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-icon::after { transform: translateY(-3.5px) rotate(-45deg); }

/* 4 · Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px;
  border: 1px solid var(--gold); border-radius: 0;
  background: var(--gold); color: var(--ground);
  font-family: var(--body); font-size: 14px; font-weight: 500; line-height: 1.65; letter-spacing: .04em;
  text-decoration: none; text-align: center;
  cursor: pointer;
  transition: background-color .2s, color .2s;
}
.btn:hover { background: transparent; color: var(--gold); }
.btn.ghost { background: transparent; color: var(--gold); }
.btn.ghost:hover { background: var(--gold); color: var(--ground); }
.btn.small { padding: 9px 16px; font-size: 13px; white-space: nowrap; }

/* 5 · Hero ----------------------------------------------------------------- */
.hero { padding-block: clamp(40px, 7vw, 88px) clamp(28px, 4vw, 48px); }
.hero .intro { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: end; }
.hero h1 { margin-top: 22px; font-size: clamp(40px, 6.2vw, 80px); line-height: 1.02; }
.hero h1 span { display: block; color: var(--gold); }
.hero .lead { max-width: 34em; font-size: 18px; color: var(--ink-soft); }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero .shot { margin-top: clamp(36px, 5vw, 64px); }

/* 6 · Photos: landscape on screens, portrait (4:5) on phones ---------------- */
figure { margin: 0; }
.ph { display: block; }
.ph img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; background: var(--surface); }
.ph.wide img { aspect-ratio: 16 / 9; }
.note { margin-top: 14px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.note, .deliver-note, .strip figcaption { text-wrap: pretty; }
@media (max-width: 700px) {
  .ph img, .ph.wide img { aspect-ratio: 4 / 5; }
  .ph.keep img { aspect-ratio: 3 / 2; }
}

/* 7 · Facts strip ---------------------------------------------------------- */
.facts { border-block: 1px solid var(--line); }
.facts ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.facts li { padding: 22px 20px; border-left: 1px solid var(--line); text-wrap: balance; }
.facts li:first-child { padding-left: 0; border-left: 0; }
.facts strong { display: block; font-family: var(--display); font-size: 21px; font-weight: 400; line-height: 1.25; color: var(--ink); }
.facts span { display: block; margin-top: 3px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.fact-link { display: block; text-decoration: none; }
.fact-link strong { color: var(--gold); transition: color .2s; }
.fact-link strong::after {
  content: ""; display: inline-block;
  width: .34em; height: .34em; margin-left: .5em;
  border-right: 1px solid currentColor; border-bottom: 1px solid currentColor;
  transform: translateY(-.22em) rotate(45deg);
  transition: transform .2s;
}
.fact-link:hover strong { color: var(--gold-soft); }
.fact-link:hover strong::after { transform: translateY(-.06em) rotate(45deg); }
.fact-link:hover span { color: var(--ink-soft); }

/* 8 · Sections ------------------------------------------------------------- */
.block { padding-block: clamp(64px, 9vw, 120px); }
.block.flush { padding-top: 0; }
.block[id] { scroll-margin-top: var(--header-h); }
.block.flush[id] { scroll-margin-top: calc(var(--header-h) + clamp(32px, 5vw, 56px)); }

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); }
.split h2 { margin-top: 18px; font-size: clamp(32px, 4vw, 50px); line-height: 1.08; }
.prose p { max-width: 36em; color: var(--ink-prose); }
.prose p + p { margin-top: 1.1em; }
.prose strong { font-weight: 500; color: var(--ink); }

.studio-shot { margin-top: clamp(40px, 6vw, 72px); }
.sample .split { align-items: end; }
.sample figure { margin-top: clamp(40px, 6vw, 72px); }

/* 9 · Steps I–III ---------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 56px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--graphite); }
.step { padding: 32px 28px 8px 0; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--line); }
.step .num { display: block; font-family: var(--display); font-size: 46px; line-height: 1; color: var(--gold); }
.step h3 { margin-top: 18px; font-size: 24px; }
.step p { margin-top: 12px; font-size: 16px; color: var(--ink-soft); }

/* 10 · Lieferbar – brass frame with viewfinder corners (echoes the mark) ---- */
.deliver-frame {
  --corner-offset: 12px;
  --corner-leg: 28px;
  position: relative;
  padding: clamp(28px, 6vw, 80px) clamp(22px, 6vw, 80px);
  border: 1px solid var(--gold);
  background: linear-gradient(180deg, var(--raised), var(--ground) 70%);
}
.deliver-frame::before {
  content: "";
  position: absolute;
  inset: calc(-1 * var(--corner-offset));
  pointer-events: none;
  background:
    linear-gradient(var(--gold), var(--gold)) left top / var(--corner-leg) 2px,
    linear-gradient(var(--gold), var(--gold)) left top / 2px var(--corner-leg),
    linear-gradient(var(--gold), var(--gold)) right top / var(--corner-leg) 2px,
    linear-gradient(var(--gold), var(--gold)) right top / 2px var(--corner-leg),
    linear-gradient(var(--gold), var(--gold)) right bottom / var(--corner-leg) 2px,
    linear-gradient(var(--gold), var(--gold)) right bottom / 2px var(--corner-leg),
    linear-gradient(var(--gold), var(--gold)) left bottom / var(--corner-leg) 2px,
    linear-gradient(var(--gold), var(--gold)) left bottom / 2px var(--corner-leg);
  background-repeat: no-repeat;
}
.deliver-head h2 { max-width: 15em; margin-top: 18px; font-size: clamp(32px, 4vw, 50px); line-height: 1.08; }
.deliver-intro { max-width: 36em; margin-top: 24px; font-size: 18px; color: var(--ink-prose); }

.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--graphite); }
.compare-item { padding: 32px 40px 8px 0; }
.compare-item + .compare-item { padding: 32px 0 8px 40px; border-left: 1px solid var(--line); }
.compare-item h3 { font-size: 26px; }
.compare-item p { max-width: 32em; margin-top: 12px; font-size: 16px; color: var(--muted); }
.compare-item.is-ours h3 { color: var(--gold); }
.compare-item.is-ours p { color: var(--ink-soft); }

.deliver-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; margin-top: clamp(32px, 4vw, 48px); padding-top: 28px; border-top: 1px solid var(--line); }
.deliver-note { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* 11 · Musterbestand ------------------------------------------------------- */
.materials { background: var(--surface); border-block: 1px solid var(--line); }
.matlist { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 40px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--graphite); }
.matlist li { display: flex; align-items: baseline; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.matlist li:nth-child(3n+2), .matlist li:nth-child(3n+3) { padding-left: 24px; }
.matlist .k { min-width: 2.4em; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--gold); }
.matlist .v { font-family: var(--display); font-size: 20px; }
.matlist .v small { display: block; margin-top: 4px; font-family: var(--body); font-size: 14px; color: var(--muted); }

.strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 48px; }
.strip:focus-visible { outline-offset: 6px; }
.strip figcaption { margin-top: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 700px) {
  .strip {
    display: flex; gap: 12px;
    margin-inline: calc(-1 * var(--gutter));
    padding-inline: var(--gutter);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: thin;
    scrollbar-color: var(--muted) transparent;
  }
  .strip figure { flex: 0 0 78%; scroll-snap-align: start; }
  .strip:focus-visible { outline-offset: -2px; }
}
/* Scrollbar only hidden on touch phones (swipe); mouse users keep it */
@media (max-width: 700px) and (hover: none) and (pointer: coarse) {
  .strip { scrollbar-width: none; }
  .strip::-webkit-scrollbar { display: none; }
}

/* 12 · Räume --------------------------------------------------------------- */
.roomshot { margin-top: 56px; }
.rooms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 56px; }
.room { display: flex; flex-direction: column; gap: 14px; padding: 30px; border: 1px solid var(--line); background: linear-gradient(180deg, var(--raised), var(--ground)); }
.room .cap { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.room h3 { font-size: 26px; }
.room p { font-size: 16px; color: var(--ink-soft); }
.room a { text-decoration-color: var(--gold); text-underline-offset: .2em; }
.room a:hover { color: var(--ink); }
.room .fig { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); font-family: var(--display); font-size: 54px; line-height: 1; color: var(--ink); }
.room .fig small { margin-left: 4px; font-family: var(--body); font-size: 14px; color: var(--muted); }
.room .fig--text { display: flex; align-items: flex-end; min-height: 71px; font-family: var(--body); font-size: 22px; font-weight: 400; color: var(--muted); } /* same height as the numeral figures */
/* Four cards: 2 × 2 from 700px (equal row heights keep the figure rules aligned), one column below */
@media (max-width: 699.98px) {
  .rooms { grid-template-columns: minmax(0, 1fr); }
}

/* 13 · Einblicke ----------------------------------------------------------- */
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 48px; }

/* 14 · Termin & booking ---------------------------------------------------- */
.cta { border-top: 1px solid var(--line); }
.cta .inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: end; }
.cta h2 { margin-top: 18px; font-size: clamp(36px, 5vw, 64px); line-height: 1.04; }
.cta h2 span { display: block; color: var(--gold); }
.cta .actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }

.contact { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 24px; margin: 0; font-size: 15px; }
.contact dt { padding-top: 4px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact dd { margin: 0; }
.contact dd a { text-decoration: none; border-bottom: 1px solid var(--graphite); transition: border-color .2s; }
.contact dd a:hover { border-color: var(--gold); }

.booking { grid-column: 1 / -1; border: 1px solid var(--line); background: var(--surface); }
.booking-consent { display: grid; justify-items: start; gap: 16px; padding: clamp(24px, 4vw, 40px); }
.booking-title { font-size: 26px; }
.booking-consent p { max-width: 40em; font-size: 15px; color: var(--ink-soft); }
.booking a { text-decoration-color: var(--gold); text-underline-offset: .2em; }
.booking a:hover { color: var(--ink); }
.booking.is-loaded .booking-consent { padding-bottom: 0; }
.booking.is-loaded .booking-consent > :not(.booking-title) { display: none; } /* keep the heading above the calendar */
.booking-frame iframe { display: block; width: 100%; height: 900px; border: 0; background: var(--surface); }
.booking-alt { padding: 14px clamp(24px, 4vw, 40px); border-top: 1px solid var(--line); font-size: 14px; }
.booking-alt a { display: inline-block; padding-block: 6px; }

.fine { max-width: 52em; margin-top: 40px; font-size: 14px; color: var(--muted); }

/* 15 · Footer -------------------------------------------------------------- */
.site-footer {
  padding-block: 28px calc(28px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  font-size: 13px; color: var(--muted);
}
.site-footer .wrap { display: flex; flex-direction: column; gap: 20px; }

/* Brand line: sentence + official Adesigna wordmark (brass), hairline below */
.footer-brand { padding-bottom: 20px; border-bottom: 1px solid var(--line); font-size: 14px; text-wrap: pretty; }
.footer-adesigna { position: relative; display: inline-block; padding-block: 4px; vertical-align: -4px; color: var(--gold); transition: color .2s; } /* wordmark sits on the text baseline */
.footer-adesigna:hover { color: var(--gold-soft); }
.adesigna-wordmark { width: 84.6px; height: 16px; }
/* On 1x screens the wordmark's hairlines (< .6px) blur away: add a thin outline stroke. */
@media (max-resolution: 1.99dppx) {
  .adesigna-wordmark g > * { stroke: currentColor; stroke-width: .6px; vector-effect: non-scaling-stroke; }
}

.footer-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; }
.footer-links { display: flex; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.footer-links li + li::before { content: "·"; content: "·" / ""; padding-inline: 10px; }
.footer-links a { display: inline-block; padding-block: 4px; text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--ink); }

/* 16 · Responsive ---------------------------------------------------------- */

/* Compact desktop header: lockup + six links + DE | EN + CTA must fit from 900px */
@media (min-width: 900px) and (max-width: 1099.98px) {
  .site-header .wrap { column-gap: 18px; }
  .brand { gap: 10px; }
  .brand-mark { width: 26px; height: 26px; }
  .brand-word { font-size: 13px; letter-spacing: .22em; margin-right: -.22em; }
  .site-menu { gap: 12px; }
  .site-nav ul { gap: 14px; }
  .site-nav a { font-size: 13px; }
  .lang-switch { font-size: 11px; letter-spacing: .1em; }
  .lang-switch > * { min-width: 28px; padding-inline: 5px; padding-left: calc(5px + .1em); }
  .site-header .header-cta { padding-inline: 12px; }

  /* Content: keep short labels and headings on one line in the narrow columns */
  .facts li { padding-inline: 14px; }
  .facts strong { font-size: 19px; }
  .step { padding-right: 20px; }
  .step + .step { padding-left: 20px; }
  .step h3 { font-size: 21px; }
}

/* 900–999px: tightest desktop row (room for the longer English labels) */
@media (min-width: 900px) and (max-width: 999.98px) {
  .site-header .wrap { column-gap: 16px; }
  .site-nav ul { gap: 12px; }
}

/* 1100–1179px: full-size lockup and links, slightly tighter gaps */
@media (min-width: 1100px) and (max-width: 1179.98px) {
  .site-header .wrap { column-gap: 24px; }
  .site-menu { gap: 20px; }
  .site-nav ul { gap: 22px; }
}

@media (max-width: 899.98px) {
  :root { --header-h: 65px; }

  /* Header: lockup · Menü · CTA; nav + language switch become a panel below the header */
  .site-header .wrap { column-gap: 12px; padding-block: 10px; }
  .brand { gap: 10px; }
  .brand-mark { width: 26px; height: 26px; }
  .brand-word { font-size: 15px; letter-spacing: .28em; margin-right: -.28em; }
  .btn.small { min-height: 44px; }

  .js .menu-btn { display: inline-flex; }
  .js .site-menu {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    max-height: calc(100vh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
    margin: 0;
    padding: 8px max(var(--gutter), env(safe-area-inset-right)) 16px max(var(--gutter), env(safe-area-inset-left));
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--ground);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 32px 48px rgb(0 0 0 / .5);
  }
  .js .site-header.is-open .site-menu { display: block; }
  .js .site-nav ul { display: block; counter-reset: nav; }
  .js .site-nav li { counter-increment: nav; }
  .js .site-nav a {
    display: flex; align-items: baseline; gap: 18px;
    min-height: 56px; padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--display); font-size: 24px; line-height: 1.2; color: var(--ink);
  }
  .js .site-nav a::before {
    content: counter(nav, decimal-leading-zero);
    content: counter(nav, decimal-leading-zero) / "";
    min-width: 2.4em;
    font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--gold);
  }
  .js .site-nav li:last-child a { border-bottom: 0; } /* the panel's own rule closes the list */
  .js .site-nav a:hover { color: var(--gold-soft); }
  .js .site-nav a:focus-visible { outline-offset: -2px; }
  /* Language switch: 44px targets, DE on the left edge; with JS it is the last row of the panel */
  .lang-switch > * { justify-content: flex-start; min-width: 44px; min-height: 44px; padding: 0 14px 0 0; }
  .lang-switch > * + * { padding-left: 24px; }
  .js .lang-switch { margin-top: 4px; border-top: 1px solid var(--line); font-size: 13px; }
  .js .lang-switch > * { min-height: 52px; }
  .js .lang-switch a:focus-visible { outline-offset: 2px; }

  /* Without JavaScript: links wrap in a row under the lockup, header scrolls away */
  html:not(.js) .site-header { position: relative; }
  html:not(.js) .site-header .wrap { flex-wrap: wrap; }
  html:not(.js) .site-menu { order: 3; flex-basis: 100%; flex-wrap: wrap; gap: 0 20px; margin-left: 0; }
  html:not(.js) .site-nav ul { flex-wrap: wrap; gap: 0 20px; }
  html:not(.js) .site-nav a { display: flex; align-items: center; min-height: 44px; }
  html:not(.js) .header-cta { margin-left: auto; }

  /* Content */
  .hero .intro, .split, .cta .inner { grid-template-columns: minmax(0, 1fr); }
  .facts ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts li { border-top: 1px solid var(--line); }
  .facts li:nth-child(-n+2) { border-top: 0; }
  .facts li:nth-child(3) { padding-left: 0; border-left: 0; }
  .steps, .compare { grid-template-columns: minmax(0, 1fr); }
  .step, .step + .step { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .compare-item, .compare-item + .compare-item { padding: 28px 0; border-left: 0; }
  .compare-item + .compare-item { border-top: 1px solid var(--line); }
  .compare-item + .compare-item { padding-bottom: 0; } /* .deliver-foot adds its own space */
  .deliver-frame { --corner-offset: 8px; --corner-leg: 20px; }
  .matlist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .matlist li:nth-child(n) { padding-left: 0; }
  .matlist li:nth-child(2n) { padding-left: 20px; }
  .matlist li:last-child:nth-child(odd) { grid-column: 1 / -1; } /* no half-width last row */

  /* Touch targets ≥ 44px */
  .contact { row-gap: 0; }
  .contact dt { align-self: center; padding-top: 0; }
  .contact dd { display: flex; align-items: center; min-height: 44px; }
  .contact dd a { position: relative; }
  .contact dd a::after { content: ""; position: absolute; inset: -10px -4px; } /* 44px hit area, underline stays put */
  .footer-links a { display: inline-flex; align-items: center; min-height: 44px; }
  .footer-adesigna::after { content: ""; position: absolute; inset: -10px -4px; } /* 44px hit area */
  .booking-alt a { padding-block: 10.5px; }
  .booking-frame iframe { height: 1000px; }
}

@media (max-width: 519.98px) {
  .brand-word { font-size: 13px; letter-spacing: .22em; margin-right: -.22em; }
  .menu-btn { padding: 0; font-weight: 400; } /* label is visually hidden: no need for the Plex Mono 500 file */
  .menu-label { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
  .site-header .header-cta { padding-inline: 12px; font-size: 12px; }

  .facts ul, .matlist, .gallery { grid-template-columns: minmax(0, 1fr); }
  .facts li, .facts li:nth-child(n) { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .facts li:first-child { border-top: 0; }
  .matlist li:nth-child(n) { padding-left: 0; }
  .room { padding: 24px; }
}

/* Very small phones: stack STUDIO / SCHWARZ next to the mark */
@media (max-width: 419.98px) {
  .site-header .wrap { column-gap: 8px; }
  .brand { gap: 8px; }
  .brand-mark { width: 28px; height: 28px; }
  .brand-word { font-size: 12px; line-height: 1.2; letter-spacing: .2em; margin-right: -.2em; }
  .brand-word span { display: block; }
  .site-header .header-cta { padding-inline: 10px; }
}

/* 17 · Motion -------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* 18 · Print --------------------------------------------------------------- */
@media print {
  :root {
    --ground: #fff; --surface: #fff; --raised: #fff;
    --ink: #000; --ink-soft: #000; --ink-prose: #000; --muted: #333;
    --gold: #000; --gold-soft: #000; --line: #bbb; --graphite: #888;
  }
  body { background: #fff; color: #000; font-size: 11pt; }
  .site-header { position: static; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .site-menu, .menu-btn, .header-cta, .skip-link, .actions, .booking, .deliver-foot .btn { display: none !important; }
  .block { padding-block: 24pt; }
  .strip { display: grid; overflow: visible; margin-inline: 0; padding-inline: 0; }
  .deliver-frame::before { display: none; }
  figure, .step, .room, .compare-item, .matlist li { break-inside: avoid; }
  h2, h3 { break-after: avoid; }
}

/* === Legal pages ============================================================
   Impressum, Datenschutz and the 404 page (LEGAL/OPS agent).
   Appended block: reuses the tokens and components above and does not change
   any rule of the main page.
   ========================================================================== */
.legal { padding-block: clamp(48px, 7vw, 96px) clamp(64px, 9vw, 120px); }
.legal-head { max-width: 860px; }
.legal-head h1 { margin-top: 18px; font-size: clamp(40px, 5.6vw, 68px); line-height: 1.04; }
.legal-lead { max-width: 36em; margin-top: 22px; font-size: 18px; color: var(--ink-soft); text-wrap: pretty; }
.legal-meta { margin-top: 18px; font-family: var(--mono); font-size: 11px; line-height: 1.7; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.legal-note { max-width: 40em; margin-top: 22px; padding: 10px 0 10px 16px; border-left: 1px solid var(--gold); font-size: 15px; color: var(--ink-soft); text-wrap: pretty; } /* EN legal pages: "the German version is legally binding" */

/* Table of contents (Datenschutz) */
.legal-toc { max-width: 860px; margin-top: clamp(32px, 5vw, 48px); padding: 20px 24px 12px; border: 1px solid var(--line); background: var(--surface); }
.legal-toc ol { margin: 8px 0 0; padding: 0; list-style: none; columns: 2; column-gap: 40px; }
.legal-toc li { break-inside: avoid; }
.legal .legal-toc a { display: flex; align-items: baseline; gap: 14px; padding-block: 8px; color: var(--ink-soft); text-decoration: none; transition: color .2s; }
.legal .legal-toc a:hover { color: var(--ink); }
.legal-toc .n { flex: none; min-width: 1.4em; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--gold); }

/* Sections */
.legal-body { max-width: 860px; margin-top: clamp(40px, 6vw, 64px); border-top: 1px solid var(--graphite); }
.legal-section { padding-block: clamp(32px, 4vw, 44px); scroll-margin-top: calc(var(--header-h) + 8px); }
.legal-section + .legal-section { border-top: 1px solid var(--line); }
.legal-section > * + * { margin-top: 16px; }
.legal-section > h3 { margin-top: 32px; }
.legal-section h2 { display: flex; align-items: baseline; gap: 16px; font-size: clamp(25px, 3vw, 32px); line-height: 1.15; }
.legal-section h2 .n { flex: none; min-width: 1.4em; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: var(--gold); }
.legal-section h3 { font-size: 21px; line-height: 1.25; }
.nobr { white-space: nowrap; } /* keeps "E-Mail" from breaking at the hyphen in headings */
.legal-section p, .legal-section li { max-width: 40em; color: var(--ink-prose); text-wrap: pretty; }
.legal strong { font-weight: 500; color: var(--ink); }
.legal a { color: var(--ink); text-decoration-color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: .2em; transition: color .2s; }
.legal a:hover { color: var(--gold-soft); }

.legal-list { margin-block: 0; padding: 0; list-style: none; }
.legal-list li { position: relative; padding-left: 24px; }
.legal-list li + li { margin-top: 8px; }
.legal-list li::before { content: ""; position: absolute; left: 0; top: .82em; width: 10px; height: 1px; background: var(--gold); }

/* Definition list: label in Plex Mono, value in the body font */
.legal-dl { margin-block: 0; }
.legal-section > .legal-dl { margin-top: 20px; }
.legal-dl > div { display: grid; grid-template-columns: minmax(0, 14em) minmax(0, 1fr); gap: 4px 28px; align-items: baseline; padding-block: 14px; border-bottom: 1px solid var(--line); }
.legal-dl > div:first-child { border-top: 1px solid var(--line); }
.legal-section > .legal-dl:last-child > div:last-child { border-bottom: 0; padding-bottom: 0; } /* the section rule follows */
.legal-dl dt { font-family: var(--mono); font-size: 11px; line-height: 1.6; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.legal-dl dd { margin: 0; color: var(--ink); }
.legal-meta, .legal-dl dd { text-wrap: pretty; }
.legal-dl dd small { display: block; margin-top: 2px; font-size: 14px; color: var(--muted); }

/* Highlighted paragraph (Widerspruchsrecht) */
.legal-callout { padding: 22px 24px; border: 1px solid var(--gold); background: linear-gradient(180deg, var(--raised), var(--ground)); }
.legal-callout h3 { font-family: var(--mono); font-size: 12px; font-weight: 500; line-height: 1.5; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.legal-callout p { margin-top: 10px; color: var(--ink); }

/* Open placeholders – deliberately impossible to miss (see LIESMICH.md) */
.todo {
  padding: .08em .45em;
  background: var(--gold); color: var(--ground);
  font-family: var(--mono); font-size: .82em; font-weight: 500; letter-spacing: .02em;
  outline: 1px dashed var(--gold-soft); outline-offset: 2px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

.footer-links a[aria-current="page"] { color: var(--ink); }

/* 404 */
.is-404 { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; } /* footer sits at the bottom edge, no scroll */
.is-404 main { flex: 1; display: flex; }
.nf { flex: 1; display: flex; align-items: center; min-height: 0; padding-block: clamp(40px, 6vw, 88px); }
.nf > .wrap { width: 100%; }
.nf-mark { width: clamp(64px, 9vw, 96px); height: auto; margin-bottom: clamp(28px, 4vw, 40px); }
.nf h1 { margin-top: 18px; font-size: clamp(40px, 6.2vw, 80px); line-height: 1.02; }
.nf h1 span { display: block; color: var(--gold); }
.nf-text { max-width: 34em; margin-top: 24px; font-size: 18px; color: var(--ink-soft); text-wrap: pretty; }
.nf .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.nf-alt { max-width: 34em; margin-top: 14px; font-size: 15px; color: var(--muted); text-wrap: pretty; } /* English line (lang="en") */
.nf-alt a { color: var(--ink); text-decoration-color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: .2em; transition: color .2s; }
.nf-alt a:hover { color: var(--gold-soft); }

@media (max-width: 899.98px) {
  .legal .legal-toc a { min-height: 44px; } /* touch targets */
  .legal-dl dd > a { position: relative; }
  .legal-dl dd > a::after { content: ""; position: absolute; inset: -11px -4px; } /* 44px hit area, underline stays put */
}

@media (max-width: 639.98px) {
  .legal-toc { padding-inline: 18px; }
  .legal-toc ol { columns: 1; }
  .legal-dl > div { grid-template-columns: minmax(0, 1fr); }
  .legal-callout { padding: 20px 18px; }
}

@media print {
  .legal { padding-block: 12pt; }
  .legal-toc, .nf .actions { display: none !important; }
  .legal-dl > div, .legal-callout { break-inside: avoid; }
  .legal-section h2, .legal-section h3 { break-after: avoid; }
  .legal a { text-decoration: none; }
  .todo { background: none; color: #000; outline: 1px solid #000; }
}
