/* ============================================================
   TAVV-IMMOBILIEN — site.css
   ------------------------------------------------------------
   Investor-Developer editorial system. ONE token set, every
   rule references tokens. Mobile-first; desktop values guarded
   in min-width queries (FEHLER-019). Overrides at END.

   Design-Anker (gesehen, nicht gelesen):
     - aman-resorts.com — full-bleed atmosphärisches Hero,
       schmaler heller Brand-Streifen, ein Bild/ein Wort — hospitality
       /srv/design-corpus/hospitality/_visual/aman-resorts.png
     - cassina.com — großformatige art-directed Bild-Splits,
       Serif/Sans-Disziplin, Asymmetrie — editorial-luxury
       /srv/design-corpus/editorial-luxury/_visual/cassina.png
     - bureau-borsche.com — überdimensionale Typo-/Index-Tableaus,
       harte editorial-Asymmetrie — _progressive (PFLICHT)
       /srv/design-corpus/_progressive/_visual/bureau-borsche.png

   Refusals (Enforcement):
     1 kein gleichförmiges Hairline-Box-Raster (max 1 Register/Seite)
     2 kein Inset-Thumbnail — Bilder full-bleed oder >=7/12
     3 genau EINE tiefe Ink-Sektion als Material-Bruch
     4 eine Akzentfarbe (Terracotta) — Kontrast aus Licht/Foto
     5 keine erfundenen Trust-Signale (UWG)
     6 keine Deko-Gradienten, Radius <= 3px
     7 max 2 Schriften, self-hosted (FEHLER-009)
     8 kein Motion-Theater, reduced-motion respektiert
   ============================================================ */

/* ---- Fonts (self-hosted, display:swap, NO @import — FEHLER-009) ---- */
@font-face {
  font-family: "Cormorant";
  src: url("/assets/fonts/cormorant-garamond-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant";
  src: url("/assets/fonts/cormorant-garamond-600-ext.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
  unicode-range: U+0100-024F, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter Tight";
  src: url("/assets/fonts/inter-tight-variable.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

/* ---- Tokens (the ONE set) ---- */
:root {
  /* Warm-White-Familie (heller Grund) */
  --warm-white: #faf7f1;
  --sand:       #f1ebe0;
  --greige:     #e9e2d6;
  --stone:      #d8cfbf;

  /* Tiefe Ink/Charcoal-Familie (dramatischer Gegenpol) */
  --ink:         #1a1b17;
  --char:        #211f1a;
  --char-2:      #2b2823;
  --on-dark:     #ece6d8;
  --on-dark-mute:#a59d8c;

  --mute:        #6b685e;
  --accent:      #9a4f33;   /* die EINE Terracotta */
  --accent-deep: #7e3f28;
  --accent-bright:#c0673f;  /* nur Akzent AUF dunkel */
  --hairline:    #cfc6b6;
  --hairline-dark:#3a352d;

  --maxw: 1280px;
  --gutter: clamp(20px, 5vw, 72px);
  --serif: "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Mutige Typo-Skala (großer Kontrast Display:Body) */
  --d0: clamp(54px, 12vw, 168px);
  --d1: clamp(44px, 9.5vw, 116px);
  --d2: clamp(32px, 5.6vw, 60px);
  --d3: clamp(23px, 3.2vw, 34px);

  --r: 3px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---- Reset / base ---- */
*, *::before, *::after { box-sizing: border-box; }
html {
  color-scheme: light;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--warm-white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.62;
  font-weight: 380;
  letter-spacing: .004em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* German typography */
p, li, dd, .body { hyphens: manual; overflow-wrap: break-word; }
h1, h2, h3, .display, .word { word-break: keep-all; }
.nobr { white-space: nowrap; }

/* ---- Layout primitives ---- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(68px, 9vw, 140px); }
.section--sand { background: var(--sand); }
.hr { border: 0; border-top: 1px solid var(--hairline); margin: 0; }

.eyebrow {
  font-size: 12.5px; letter-spacing: .28em; text-transform: uppercase;
  font-weight: 600; color: var(--accent);
  display: inline-flex; align-items: center; gap: .7em;
}
.eyebrow::before {
  content: ""; width: 30px; height: 1px; background: currentColor; display: inline-block;
  opacity: .9;
}

/* Display type */
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 600; line-height: 1.03; letter-spacing: -.006em; color: var(--ink); }
.d0 { font-size: var(--d0); line-height: .9; }
.d1 { font-size: var(--d1); line-height: .98; }
.d2 { font-size: var(--d2); line-height: 1.04; }
.d3 { font-size: var(--d3); line-height: 1.12; }
.lede { font-size: clamp(18px, 2.1vw, 23px); line-height: 1.5; color: var(--mute); max-width: 56ch; font-weight: 360; }
.measure { max-width: 62ch; }

/* Accent gesture: one hairline underline under a single word */
.mark { position: relative; color: inherit; white-space: nowrap; display: inline-block; }
.mark::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -.02em;
  height: 2px;
  background-image: linear-gradient(var(--accent), var(--accent));
  forced-color-adjust: none;
  transform: scaleX(1); transform-origin: left;
}

/* ---- Buttons ---- */
.btn {
  --bg: var(--accent);
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: 0 28px;
  font-family: var(--sans); font-size: 15px; font-weight: 560; letter-spacing: .02em;
  color: #fff;
  background-image: linear-gradient(var(--bg), var(--bg));
  background-color: var(--bg);
  forced-color-adjust: none;
  border: 1px solid transparent; border-radius: var(--r);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform .25s var(--ease), background-color .25s var(--ease);
}
.btn:link, .btn:visited { color: #fff; }
.btn:hover { background-color: var(--accent-deep); --bg: var(--accent-deep); }
.btn:active { transform: translateY(1px); }
.btn--ghost {
  color: var(--ink); background-image: none; background-color: transparent;
  border-color: var(--ink);
}
.btn--ghost:link, .btn--ghost:visited { color: var(--ink); }
.btn--ghost:hover { background-color: var(--ink); color: var(--warm-white); }
/* Light buttons sitting on the dark ink sections */
.btn--light {
  --bg: var(--warm-white); color: var(--ink);
}
.btn--light:link, .btn--light:visited { color: var(--ink); }
.btn--light:hover { background-color: #fff; --bg: #fff; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .55em;
  font-weight: 540; font-size: 15px; color: var(--ink);
  border-bottom: 1px solid var(--hairline); padding-bottom: 3px;
  transition: border-color .25s var(--ease), gap .25s var(--ease);
}
.link-arrow:hover { border-color: var(--accent); gap: .9em; }
.link-arrow svg { color: var(--accent); }
.link-arrow--light { color: var(--on-dark); border-bottom-color: var(--hairline-dark); }
.link-arrow--light:hover { border-color: var(--accent-bright); }
.link-arrow--light svg { color: var(--accent-bright); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

/* ============================================================
   HEADER  (Aman: schmaler heller Brand-Streifen)
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--warm-white) 86%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
/* Over the dark full-bleed hero the header starts transparent/light text */
.site-header--over-hero {
  background: transparent; backdrop-filter: none;
  color: var(--on-dark);
}
.site-header--over-hero .wordmark { color: var(--on-dark); }
.site-header--over-hero .nav a { color: color-mix(in srgb, var(--on-dark) 80%, transparent); }
.site-header--over-hero .nav a:hover { color: #fff; }
.site-header--over-hero .nav-toggle { border-color: color-mix(in srgb, var(--on-dark) 45%, transparent); }
.site-header--over-hero .nav-toggle span { background: var(--on-dark); }
.site-header.is-scrolled {
  background: color-mix(in srgb, var(--warm-white) 97%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom-color: var(--hairline);
  color: var(--ink);
}
.site-header.is-scrolled .wordmark { color: var(--ink); }
.site-header.is-scrolled .nav a { color: var(--mute); }
.site-header.is-scrolled .nav a:hover { color: var(--ink); }
.site-header.is-scrolled .nav-toggle { border-color: var(--hairline); }
.site-header.is-scrolled .nav-toggle span { background: var(--ink); }

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 72px; gap: 16px;
}
.wordmark {
  font-family: var(--sans); font-weight: 600; font-size: 16px;
  letter-spacing: .2em; text-transform: uppercase; color: var(--ink);
  white-space: nowrap; min-width: 0;
  transition: color .3s var(--ease);
}
.wordmark .dot { color: var(--accent); }
.site-header--over-hero .wordmark .dot { color: var(--accent-bright); }
.nav { display: none; }
.nav a {
  font-size: 14px; letter-spacing: .05em; color: var(--mute); font-weight: 480;
  transition: color .2s var(--ease);
}
.nav a:hover { color: var(--ink); }
.header-cta { display: none; }

.nav-toggle {
  display: inline-flex; flex-direction: column; gap: 5px;
  width: 44px; height: 44px; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--hairline); border-radius: var(--r);
  cursor: pointer;
}
.nav-toggle span { display: block; width: 20px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease), opacity .2s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile drawer */
.mobile-nav {
  position: fixed; inset: 72px 0 0 0; z-index: 49;
  background: var(--warm-white);
  padding: 28px var(--gutter) 40px;
  display: flex; flex-direction: column; gap: 2px;
  transform: translateY(-12px); opacity: 0; pointer-events: none;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.mobile-nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-nav a {
  font-family: var(--serif); font-size: 32px; font-weight: 600; color: var(--ink);
  padding: 14px 0; border-bottom: 1px solid var(--hairline);
}
.mobile-nav .btn { margin-top: 24px; align-self: flex-start; }

/* ============================================================
   HERO — full-bleed atmospheric image (Aman)
   ============================================================ */
.hero {
  position: relative;
  min-height: 88vh;
  margin-top: -72px;            /* pull under the transparent header */
  display: flex; align-items: flex-end;
  overflow: hidden;
  background: var(--char);
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 64%; }
/* Tonal-Scrim: ECHTE, tiefe Verdunklung unten + diagonaler Anker links —
   garantiert WCAG-AA-Lesbarkeit der hellen On-Dark-Typo auf JEDEM der
   hellen Fotos (Kill-Liste #1). Zwei gestapelte ruhige Verläufe, kein Deko. */
.hero__veil {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(18,18,15,.40) 0%, rgba(18,18,15,.12) 26%, rgba(18,18,15,0) 42%, rgba(18,18,15,.46) 60%, rgba(18,18,15,.80) 84%, rgba(18,18,15,.90) 100%),
    linear-gradient(75deg, rgba(18,18,15,.60) 0%, rgba(18,18,15,.22) 40%, rgba(18,18,15,0) 66%);
}
/* @390: das gesamte Textcluster sitzt unten — der Bottom-Stop wird tiefer
   gezogen, damit Eyebrow + H1 + Sub-Zeile auf garantiert dunklem Feld
   stehen (Kill-Liste #3) und nicht über hellem Himmel kontrastarm werden. */
@media (max-width: 700px) {
  .hero__veil {
    background:
      linear-gradient(180deg, rgba(18,18,15,.38) 0%, rgba(18,18,15,.14) 22%, rgba(18,18,15,.06) 38%, rgba(18,18,15,.50) 54%, rgba(18,18,15,.82) 78%, rgba(18,18,15,.92) 100%);
  }
}
.hero__inner {
  position: relative; z-index: 2; width: 100%;
  padding-block: clamp(40px, 8vw, 96px); padding-top: clamp(120px, 18vw, 180px);
}
.hero .eyebrow { color: #f3ecdd; margin-bottom: 22px; text-shadow: 0 1px 3px rgba(0,0,0,.6), 0 2px 20px rgba(0,0,0,.55); }
.hero .eyebrow::before { background: var(--accent-bright); opacity: 1; }
.hero h1 {
  color: var(--on-dark);
  font-size: var(--d1);
  line-height: .96; letter-spacing: -.014em;
  max-width: 13ch;
  text-shadow: 0 2px 28px rgba(0,0,0,.42);
}
.hero h1 .mark { color: inherit; }
.hero h1 .mark::after { background-image: linear-gradient(var(--accent-bright), var(--accent-bright)); height: 3px; }
/* Positionierung: EINE klar lesbare Sub-Zeile unter der H1, volle Deckkraft
   (Kill-Liste #2 — keine "Geister"-Ebene mehr) */
.hero-positioning {
  margin-top: 26px; max-width: 46ch;
  font-size: clamp(16px, 1.9vw, 19px); line-height: 1.58; letter-spacing: .005em;
  color: var(--on-dark); font-weight: 420;
  text-shadow: 0 1px 16px rgba(0,0,0,.5);
}
/* @390 Luft zwischen H1 und Sub-Zeile, damit das Cluster atmet (Kill-Liste #4) */
@media (max-width: 700px) {
  .hero-positioning { margin-top: 24px; }
}
.hero-positioning strong { color: #fff; font-weight: 600; }
.hero-tagline {
  margin-top: 16px; max-width: 50ch;
  color: color-mix(in srgb, var(--on-dark) 94%, transparent);
  font-size: clamp(15px, 1.7vw, 18px); line-height: 1.55; font-weight: 360;
  text-shadow: 0 1px 16px rgba(0,0,0,.5);
}
.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.hero-meta {
  margin-top: 38px; display: flex; flex-wrap: wrap; gap: 10px 30px;
  font-size: 13px; letter-spacing: .05em; color: var(--on-dark);
  text-shadow: 0 1px 12px rgba(0,0,0,.55);
}
.hero-meta span { display: inline-flex; align-items: center; gap: .6em; }
.hero-meta span::before { content: ""; width: 5px; height: 5px; background: var(--accent-bright); border-radius: 50%; }

/* one quiet above-the-fold gesture */
.hero .rise { opacity: 0; transform: translateY(16px); }
.hero.is-ready .rise { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease); }
.hero.is-ready .rise:nth-child(2) { transition-delay: .06s; }
.hero.is-ready .rise:nth-child(3) { transition-delay: .12s; }
@media (prefers-reduced-motion: reduce) {
  .hero .rise, .hero.is-ready .rise { opacity: 1; transform: none; transition: none; }
}

/* reveal (scroll motion; disabled under reduced-motion) */
.reveal { opacity: 0; transform: translateY(18px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease); }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.is-in { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   WERKVERZEICHNIS — Index-Tableau (Progressivitäts-Geste,
   Bureau Borsche): überdimensionale Cormorant-Nummern,
   asymmetrisch gestaffelt — NICHT gleich große Boxen.
   ============================================================ */
.index-head { display: grid; gap: 18px; align-items: end; }
.index-head h2 { max-width: 16ch; }
.index-lead { color: var(--mute); max-width: 46ch; font-size: clamp(16px, 1.9vw, 18px); }

.index {
  margin-top: clamp(40px, 6vw, 72px);
  display: grid; grid-template-columns: 1fr; gap: 0;
  counter-reset: idx;
}
.index__item {
  position: relative; min-width: 0;
  display: grid; grid-template-columns: 1fr; gap: 6px 28px;
  padding-block: clamp(26px, 4vw, 40px);
  border-top: 1px solid var(--hairline);
}
.index__item:last-child { border-bottom: 1px solid var(--hairline); }
.index__no {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(46px, 11vw, 124px); line-height: .82;
  color: var(--stone); letter-spacing: -.02em;
  -webkit-font-feature-settings: "lnum" 1; font-feature-settings: "lnum" 1;
}
.index__body { min-width: 0; align-self: center; }
.index__title { font-size: clamp(26px, 3.6vw, 40px); }
.index__title .flag { color: var(--accent); }
.index__desc { margin-top: 12px; color: var(--mute); max-width: 50ch; }

/* ============================================================
   DARK SECTION — die EINE tiefe Ink-Sektion (Material-Bruch)
   Positionierung + Selektiver Verkauf
   ============================================================ */
.dark { background: var(--char); color: var(--on-dark); position: relative; }
.dark .eyebrow { color: var(--accent-bright); }
.dark .eyebrow::before { background: var(--accent-bright); opacity: 1; }
.dark h2, .dark h3 { color: var(--on-dark); }
.dark p { color: var(--on-dark-mute); }
.dark-grid { display: grid; grid-template-columns: 1fr; gap: clamp(36px, 6vw, 72px); align-items: start; }
.dark-statement { min-width: 0; }
.dark-statement h2 { margin-top: 18px; max-width: 17ch; }
.dark-statement .big {
  margin-top: 24px; font-family: var(--serif); font-weight: 600;
  font-size: clamp(24px, 3.4vw, 38px); line-height: 1.16; color: var(--on-dark);
  max-width: 22ch;
}
.dark-statement .big em { font-style: italic; color: var(--accent-bright); }
.dark-aside { min-width: 0; }
.dark-aside .panel {
  border-top: 1px solid var(--hairline-dark);
  padding-top: 22px; margin-top: 22px;
}
.dark-aside .panel:first-child { margin-top: 0; border-top: 0; padding-top: 0; }
.dark-aside h3 { font-size: clamp(21px, 2.6vw, 27px); }
.dark-aside p { margin-top: 10px; }
.dark .link-arrow { margin-top: 26px; }

/* ============================================================
   SPLIT — großformatige art-directed Bild-Splits (Cassina)
   Bild >= 7/12, echtes object-fit, kein Thumbnail
   ============================================================ */
/* Bild ist die dominante Fläche: KEIN Radius, KEIN Rahmen, echtes
   object-fit:cover — Refusal Rule 2 (Kill-Liste #1). Media >= 7/12 wird
   im min-width:900-Block erzwungen; mobil läuft das Bild breiter als der
   Wrap-Gutter (negativer Inline-Margin), damit es nicht als gerahmtes
   Thumbnail liest. */
.split { display: grid; grid-template-columns: 1fr; gap: clamp(26px, 4vw, 56px); align-items: center; }
.split__media { min-width: 0; position: relative; margin-inline: calc(-1 * var(--gutter)); }
.split__media img { width: 100%; border-radius: 0; aspect-ratio: 3 / 2; object-fit: cover; }
.split__media.tall img { aspect-ratio: 4 / 5; }
.split__media .tag {
  position: absolute; left: 0; bottom: 0;
  background: var(--warm-white); color: var(--accent);
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600;
  padding: 10px 18px;
}
.section--sand .split__media .tag { background: var(--sand); }
.split__body { min-width: 0; }
.split__body h2 { margin-bottom: 20px; }
.split__body p { color: var(--mute); }
.split__body p + p { margin-top: 16px; }
.split__body .link-arrow { margin-top: 26px; }

/* ============================================================
   FULL-BLEED STRIP — Grundstück/Ankauf atmosphärisch (Aman)
   ============================================================ */
.strip { position: relative; min-height: 56vh; display: flex; align-items: flex-end; overflow: hidden; background: var(--char); }
.strip__media { position: absolute; inset: 0; }
.strip__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 56%; }
/* Mobile-first: tieferer Bottom-Stop, damit die überlagerte Headline @390
   über dem hellen Crop klar lesbar bleibt (Kill-Liste #2 — Lesbarkeit vor
   Foto-Brillanz an dieser Stelle). Breitbild bekommt das ruhigere Original. */
.strip__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,21,18,.18) 0%, rgba(20,21,18,0) 30%, rgba(20,21,18,.58) 64%, rgba(20,21,18,.84) 100%); }
@media (min-width: 700px) {
  .strip__veil { background: linear-gradient(180deg, rgba(20,21,18,.12) 0%, rgba(20,21,18,0) 38%, rgba(20,21,18,.66) 100%); }
}
.strip__inner { position: relative; z-index: 2; width: 100%; padding-block: clamp(40px, 7vw, 80px); }
.strip .eyebrow { color: var(--on-dark); }
.strip .eyebrow::before { background: var(--accent-bright); opacity: 1; }
.strip h2 { color: var(--on-dark); margin-top: 16px; max-width: 18ch; }
.strip p { color: color-mix(in srgb, var(--on-dark) 86%, transparent); margin-top: 16px; max-width: 50ch; }

/* ============================================================
   DETAIL CROP — ruhiges hartes Editorial-Crop im Übergang
   ============================================================ */
/* Mobile-first: 21:9 kollabiert auf schmalen Screens zum Sliver — daher
   substanzielleres 4/3-Crop bis ~700px (Kill-Liste #1). Breitbild bekommt
   ein stärkeres architektonisches Detail per object-position (Kill-Liste #3). */
.detail-crop { position: relative; overflow: hidden; }
.detail-crop img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 58% 42%; display: block; }
@media (min-width: 700px) {
  .detail-crop img { aspect-ratio: 21 / 9; object-position: 64% 38%; }
}

/* ============================================================
   PERSPEKTIVEN — KEIN Register. Refusal Rule 1: das Werkverzeichnis ist
   das EINE nummerierte Register (Kill-Liste #2). Hier: asymmetrische
   editorial-Einträge mit UNTERSCHIEDLICHER Gewichtung, gesperrtes
   Caps-Label + Serif-Lead-Satz im Fließtext, ohne Nummern und ohne
   gleichförmige Hairline-Boxen. Eine einzelne hellere Trennlinie
   gliedert, spiegelt aber nicht den Index-Rhythmus.
   ============================================================ */
.perspectives { margin-top: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: 1fr; gap: clamp(34px, 5vw, 56px); }
.persp { min-width: 0; display: grid; grid-template-columns: 1fr; gap: 12px; }
.persp__label {
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  font-weight: 600; color: var(--accent);
}
.persp__text { margin: 0; color: var(--mute); max-width: 62ch; font-size: clamp(17px, 1.9vw, 20px); line-height: 1.5; }
.persp__text .lead {
  font-family: var(--serif); font-weight: 600; color: var(--ink);
  font-size: clamp(22px, 3.2vw, 32px); line-height: 1.12; letter-spacing: -.006em;
  display: block; margin-bottom: 10px;
}

/* ============================================================
   ABOUT — definition list, ruhig (keine gerahmte Box)
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.about-facts { display: grid; gap: 0; min-width: 0; }
.about-facts .row {
  display: grid; grid-template-columns: 1fr; gap: 3px;
  padding-block: 18px; border-top: 1px solid var(--hairline);
}
.about-facts .row:last-child { border-bottom: 1px solid var(--hairline); }
.about-facts dt { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.about-facts dd { margin: 0; font-size: 17px; color: var(--ink); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: clamp(32px, 5vw, 64px); }
.contact-aside { min-width: 0; }
.contact-aside .d2 { margin-bottom: 20px; }
.contact-aside p { color: var(--mute); max-width: 46ch; }
.contact-direct { margin-top: 30px; display: grid; gap: 14px; }
.contact-direct a.mail {
  font-family: var(--serif); font-size: clamp(22px, 3vw, 32px); color: var(--ink);
  border-bottom: 1px solid var(--hairline); padding-bottom: 6px; width: fit-content; min-width: 0;
  overflow-wrap: anywhere;
}
.contact-direct a.mail:hover { border-color: var(--accent); }
.contact-direct .place { color: var(--mute); font-size: 15px; }

form.contact { min-width: 0; }
.field { display: grid; gap: 8px; margin-bottom: 20px; min-width: 0; }
.field label { font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); font-weight: 600; }
.field input, .field textarea {
  width: 100%; min-width: 0;
  font-family: var(--sans); font-size: 16px; color: var(--ink);
  background: #fff;
  border: 1px solid var(--hairline); border-radius: var(--r);
  padding: 14px 15px; min-height: 52px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 138px; resize: vertical; line-height: 1.5; }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 16%, transparent);
}
.field input::placeholder, .field textarea::placeholder { color: #a8a297; }
/* honeypot — visually hidden but not type=hidden */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 8px; }
.form-note { font-size: 13px; color: var(--mute); max-width: 40ch; min-width: 0; }
.form-note a { color: var(--accent-deep); border-bottom: 1px solid var(--hairline); }
.form-note a:hover { border-color: var(--accent); }
.form-msg { margin-top: 16px; font-size: 15px; min-height: 1.2em; }
.form-msg.ok { color: var(--accent-deep); font-weight: 540; }
.form-msg.err { color: #9a3a2f; font-weight: 540; }
.contact form .btn { min-width: 190px; }

/* ============================================================
   FOOTER (Ink-Familie)
   ============================================================ */
.site-footer { background: var(--char); color: var(--on-dark-mute); padding-block: clamp(52px, 6vw, 80px); }
.site-footer a { color: var(--on-dark-mute); transition: color .2s var(--ease); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 36px; }
.footer-brand .wordmark { color: var(--on-dark); font-size: 18px; }
.footer-brand .wordmark .dot { color: var(--accent-bright); }
.footer-brand p { margin-top: 16px; color: var(--on-dark-mute); font-size: 14px; max-width: 42ch; }
.footer-col h4 { font-family: var(--sans); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--on-dark-mute); font-weight: 600; margin: 0 0 14px; }
.footer-col a, .footer-col span { display: block; font-size: 15px; padding: 5px 0; color: color-mix(in srgb, var(--on-dark) 80%, transparent); }
.footer-bottom { margin-top: clamp(36px, 5vw, 56px); padding-top: 22px; border-top: 1px solid var(--hairline-dark); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; color: var(--on-dark-mute); font-size: 13px; }
.footer-bottom a { color: var(--on-dark-mute); }
.footer-bottom a:hover { color: #fff; }
/* schlanker Footer (404): Recht-Links MÜSSEN auch @390 sichtbar bleiben
   (Kill-Liste #10) */
.site-footer--slim { padding-block: clamp(36px, 5vw, 56px); }
.footer-bottom--err { margin-top: 0; border-top: 0; padding-top: 0; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px; }
.footer-legal a { border-bottom: 1px solid var(--hairline-dark); padding-bottom: 1px; }
.footer-legal a:hover, .footer-legal a:focus-visible { border-bottom-color: var(--on-dark-mute); }

/* ============================================================
   LEGAL pages — editorial Kopfzone + lesbare Spalte
   ============================================================ */
.legal-head { padding-top: clamp(56px, 9vw, 120px); padding-bottom: clamp(28px, 4vw, 48px); border-bottom: 1px solid var(--hairline); }
.legal-head .wrap { max-width: var(--maxw); }
.legal-head .eyebrow { margin-bottom: 20px; }
.legal-head h1 { font-size: var(--d2); max-width: 16ch; }
.legal-head .updated { color: var(--mute); font-size: 14px; margin-top: 18px; }

.legal { padding-block: clamp(40px, 6vw, 72px); }
/* Prosaspalte linksbündig zur Eyebrow/H1-Gutter-Achse (Kill-Liste #12) —
   wrap trägt die volle maxw, die Lesespalte ist ≤72ch und sitzt links. */
.legal .wrap { max-width: var(--maxw); }
.legal-body { max-width: 760px; min-width: 0; }
/* Optionale Gutter-Lesart auf Breitbild (Kill-Liste #8): linke Schiene mit
   "Stand" + Abschnitts-Navigation füllt den toten Gutter; Prosa bleibt ≤72ch.
   Nur additiv, ohne Risiko für die Pflichttexte. */
.legal-rail { display: none; }
@media (min-width: 1120px) {
  .legal--railed .wrap {
    max-width: var(--maxw);
    display: grid; grid-template-columns: 210px minmax(0, 760px);
    gap: clamp(44px, 5vw, 88px); align-items: start;
  }
  .legal-rail {
    display: block; position: sticky; top: 104px; align-self: start;
  }
  .legal-rail .rail-stand {
    font-size: 13px; letter-spacing: .04em; color: var(--mute);
    padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--hairline);
  }
  .legal-rail nav { display: grid; gap: 2px; }
  .legal-rail nav a {
    /* engerer Nummer/Label-Gutter für Index-Kohäsion (Kill-Liste #9) */
    display: flex; gap: .5em; align-items: baseline;
    font-size: 13.5px; line-height: 1.35; color: var(--mute); padding: 6px 0;
    border-bottom: 0; transition: color .2s var(--ease);
  }
  .legal-rail nav a .rn {
    font-variant-numeric: lining-nums; color: var(--accent); font-weight: 600;
    min-width: 1.4em;
  }
  .legal-rail nav a:hover, .legal-rail nav a:focus-visible { color: var(--ink); }
  .legal--railed .legal-body { min-width: 0; }
  /* Stand-Datum lebt auf Breitbild in der Schiene → Kopf-Dublette ausblenden */
  body:has(.legal--railed) .legal-head .updated { display: none; }
}
.legal h2 {
  font-family: var(--serif); font-size: clamp(23px, 3vw, 30px); font-weight: 600;
  margin: 0 0 16px; padding-top: 38px; border-top: 1px solid var(--hairline);
  /* Abschnitts-Nummern als Versalziffern, sonst lesen "1." als "i." (Kill-Liste #6) */
  font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1;
  /* lange Titel dürfen natürlich umbrechen (am "/"), kein erzwungener Wortbruch
     (Kill-Liste #13): keep-all aufheben, hyphens manual lassen */
  word-break: normal; overflow-wrap: break-word; hyphens: manual;
}
.legal section:first-of-type h2 { padding-top: 0; border-top: 0; }
.legal h3 { font-family: var(--sans); font-size: 16px; font-weight: 600; letter-spacing: .01em; margin: 24px 0 8px; color: var(--ink); }
.legal section { margin-bottom: 40px; }
/* Komposita-Brüche in langer deutscher Prosa vermeiden (Kill-Liste #8) */
.legal p, .legal li { color: #45443d; max-width: 72ch; hyphens: manual; -webkit-hyphens: manual; }
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 16px; padding-left: 1.15em; }
.legal li { margin-bottom: 8px; }
.legal address { font-style: normal; color: var(--ink); line-height: 1.7; margin: 0 0 14px; }
/* Mail-/Legal-Links: ruhige Affordance, deutlichere Unterstreichung bei
   hover/focus (Kill-Liste #7) */
.legal a {
  color: var(--accent-deep);
  border-bottom: 1px solid color-mix(in srgb, var(--accent-deep) 38%, transparent);
  transition: border-color .2s var(--ease);
}
.legal a:hover, .legal a:focus-visible { border-bottom-color: var(--accent); }
.legal address a { font-style: normal; }
/* die Zurück-Verlinkung ist ein .link-arrow — sie behält ihr eigenes Register */
.legal a.back { display: inline-flex; margin-top: 12px; color: var(--ink); border-bottom: 1px solid var(--hairline); }
.legal a.back:hover, .legal a.back:focus-visible { border-bottom-color: var(--accent); }

/* ============================================================
   404 — übergroße Cormorant-Zahl, auf Breitbild als rechte Typo-Plate
   gegen die linke Inhaltsspalte komponiert (Kill-Liste #9/#11)
   ============================================================ */
.err-page { min-height: 72vh; display: grid; align-content: center; padding: clamp(64px, 9vw, 108px) var(--gutter); }
.err-page .inner { width: 100%; max-width: var(--maxw); margin-inline: auto; }
.err-page .eyebrow { margin-bottom: 24px; }
.err-page .code {
  display: block; font-family: var(--serif); font-weight: 600;
  font-size: var(--d0); line-height: .82; color: var(--hairline); letter-spacing: -.02em;
  font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1;
}
.err-page h1 { font-size: clamp(28px, 5vw, 50px); margin: 18px 0 16px; max-width: 18ch; }
.err-page p { color: var(--mute); max-width: 48ch; margin: 0 0 34px; }
/* Touch: ≥12px Gap + 44px Höhe für beide CTAs (Kill-Liste #7) */
.err-page .err-actions { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; }
.err-page .err-actions .link-arrow { min-height: 44px; }
/* Mobile-first: die zweite Riesen-„404"-Plate erst ab Breitbild zeigen,
   sonst liest die Dublette wie ein Versehen und drängt den Footer
   (Kill-Liste #5+#6). Unter ~900px trägt allein die Inline-Zahl, und die
   err-page behält ≥48px Bodenluft über dem Footer. */
.err-page .err-plate { display: none; }
.err-page { padding-bottom: max(48px, clamp(64px, 9vw, 108px)); }
@media (min-width: 920px) {
  .err-page .err-plate { display: block; }
  .err-page .inner {
    display: grid; grid-template-columns: 1fr minmax(0, 1.05fr);
    gap: clamp(48px, 7vw, 110px); align-items: center;
  }
  .err-page .err-copy { grid-column: 1; min-width: 0; }
  /* rechte Hälfte trägt eine übergroße, rechtsbündige Plate statt Leere;
     an die Headline-Achse gebunden (align-self:start) und ~80px höher
     gezogen, damit Baseline nicht abreißt und kein Leerraum darunter
     entsteht (Kill-Liste #7) */
  .err-page .err-plate {
    grid-column: 2; grid-row: 1; justify-self: end; align-self: start;
    text-align: right; min-width: 0; transform: translateY(-12px);
  }
  .err-page .err-plate .code {
    font-size: clamp(160px, 22vw, 300px); line-height: .78; color: var(--greige);
  }
  .err-page .err-copy .code { display: none; }
}

/* ============================================================
   RESPONSIVE — desktop values guarded in min-width (FEHLER-019)
   ============================================================ */
@media (min-width: 680px) {
  .index-head { grid-template-columns: 1.2fr 1fr; }
  .index__item { grid-template-columns: clamp(110px, 16vw, 200px) 1fr; align-items: baseline; }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; gap: 48px; }
  .about-facts .row { grid-template-columns: 230px 1fr; gap: 24px; align-items: baseline; }
  .dark-grid { grid-template-columns: 1.15fr 1fr; gap: clamp(48px, 7vw, 96px); }
}

@media (min-width: 900px) {
  .nav { display: flex; gap: 32px; }
  .header-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  /* media >= 7/12 (1.55/2.55 ≈ 60.8%): Bild dominiert klar (Refusal Rule 2) */
  .split { grid-template-columns: 1fr 1.55fr; }
  .split .split__media { margin-inline: 0; }
  .split.media-left .split__media { order: -1; }
  .split.media-right .split__media { order: 2; }
  .split--tall { grid-template-columns: 1.5fr 1fr; } /* media 60% */
  .split--tall .split__media { order: -1; }
  .about-grid { grid-template-columns: 1fr 1.05fr; gap: 72px; }
  .contact-grid { grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: start; }
  .index-head { gap: 28px; }
  .legal-head h1 { max-width: none; }
}

/* Hero-Fold @390 entlasten (Kill-Liste #3): Meta-Zeile erst ab Tablet —
   auf Mobile bleibt der Fold = Eyebrow + H1 + EINE Sub-Zeile + ein CTA + Link
   (ruhige Aman-Wirkung). */
.hero-meta { display: none; }
@media (min-width: 680px) {
  .hero-meta { display: flex; }
}

/* Perspektiven asymmetrisch: Label-Schiene links, Prosa rechts mit
   variabler Breite/Einzug — editorial, NICHT als Register (Kill-Liste #2). */
@media (min-width: 760px) {
  .persp { grid-template-columns: clamp(140px, 18vw, 230px) minmax(0, 1fr); gap: 0 clamp(32px, 5vw, 64px); align-items: start; }
  .persp__label { padding-top: .35em; }
  .persp:nth-child(1) .persp__text { max-width: 56ch; }
  .persp:nth-child(2) { margin-left: clamp(40px, 8vw, 130px); }
  .persp:nth-child(2) .persp__text { max-width: 50ch; }
  .persp:nth-child(3) { margin-left: clamp(14px, 3vw, 56px); }
  .persp:nth-child(3) .persp__text { max-width: 60ch; }
}

/* asymmetric staggering of the Werkverzeichnis index (Bureau Borsche) —
   echtes unregelmäßiges Raster: Einzug UND Skalierung pro Zeile variiert,
   damit die Geste auf Breitbild furchtlos trägt (Kill-Liste #4). */
@media (min-width: 980px) {
  .index__item { grid-template-columns: clamp(150px, 20vw, 300px) 1fr; }
  .index__item:nth-child(1) { margin-left: 0; }
  .index__item:nth-child(2) { margin-left: clamp(70px, 12vw, 200px); }
  .index__item:nth-child(3) { margin-left: clamp(28px, 5vw, 90px); }
  .index__item:nth-child(4) { margin-left: clamp(96px, 16vw, 280px); }
  .index__item:nth-child(even) .index__no { color: var(--accent); opacity: .85; }
  .index__item:nth-child(1) .index__no { font-size: clamp(96px, 13vw, 168px); }
  .index__item:nth-child(2) .index__no { font-size: clamp(78px, 10vw, 130px); }
  .index__item:nth-child(3) .index__no { font-size: clamp(108px, 14.5vw, 188px); }
  .index__item:nth-child(4) .index__no { font-size: clamp(72px, 9.5vw, 120px); }
}
