/* =========================================================
   LIQOVA — Design-Vorschlag
   Grundlage: dunkler Marmor mit Goldadern (Bestandsmarke),
   ausgebaut zu einem vollständigen, ruhigen Editorial-System.
   ========================================================= */

/* Selbst gehostet statt über Google Fonts geladen (Datenschutz — siehe
   CLAUDE.md „Formular"/„Designsystem": kein Drittanbieter-Request mehr).
   Eine einzige Variable-Font-Datei deckt Gewicht 200–800 ab, daher genügt
   ein @font-face-Block mit Gewichts-Spanne statt fünf einzelner Schnitte. */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../fonts/manrope-variable.woff2') format('woff2-variations');
}

:root {
  /* -- Marke: Deep Forest + Antique Gold + Marmor -- */
  --forest-950: #0c1712;
  --forest-900: #10201a;
  --forest-800: #16281f;
  --forest-700: #203527;
  --forest-600: #2c4433;

  --gold-300: #e4c691;
  --gold-400: #d9b56e;
  --gold-500: #c9a56a;
  --gold-700: #86693b;

  --ivory-50: #f3ebdd; /* = offizielles Creme, siehe CLAUDE.md „Markenfarben" */
  --ivory-100: #efe6d1;
  --ivory-200: #e2d5b8;

  --ink: #16241c;
  --ink-soft: #47554a;
  --ink-faint: #74806f;

  --line-on-dark: rgba(201, 165, 106, 0.22);
  --line-on-light: rgba(22, 40, 31, 0.14);

  /* Manrope ist Priorität 1 für Überschriften UND Fliesstext (bewusste Entscheidung,
     überschreibt die vorherige Serif/Sans-Paarung mit Fraunces). Aptos steht als
     Priorität 2 im Stack (offizielle Markenschrift, siehe LIQOVA_CI.pdf), wird aber
     nie greifen, solange Manrope über Google Fonts lädt — bewusst so gewünscht,
     nicht versehentlich unerreichbarer Code. */
  --font-display: 'Manrope', 'Aptos Serif Bold', 'Aptos Serif', Georgia, 'Times New Roman', serif;
  --font-body: 'Manrope', 'Aptos', -apple-system, 'Segoe UI', Roboto, sans-serif;

  --container: 1120px;
  --container-narrow: 760px;
  --shadow-soft: 0 20px 60px -30px rgba(12, 23, 18, 0.5);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--ivory-50);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
::selection { background: var(--gold-300); color: var(--forest-950); }

a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 3px;
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }
/* Als KIND-Element innerhalb eines .container verschachtelt verwenden
   (nicht als kombinierte Klasse auf demselben Element!), z.B.
   <div class="container"><div class="narrow">...</div></div>: .container
   übernimmt die Zentrierung/linke Kante, .narrow begrenzt nur die
   Lesebreite des Inhalts. Kombinierte Klassen auf einem Element (z.B.
   class="container narrow") würden .containers margin:auto behalten, aber
   auf die schmalere max-width neu zentrieren — andere linke Kante als
   andere .container-Sektionen (mit curl/Playwright-Boundingbox als Bug
   entdeckt, siehe CLAUDE.md „Design"). */
.narrow { max-width: var(--container-narrow); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 480;
  letter-spacing: -0.01em;
  text-wrap: balance;
  margin: 0;
  color: inherit;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-500);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--gold-500);
}

/* ---------------------------------------------------------
   Header / Navigation
   --------------------------------------------------------- */
.site-header {
  /* Always fixed — never part of document flow, in either state. Toggling
     is-solid must only ever change paint (background/border), never a
     layout property, or the page content jumps by the header's height
     the instant it crosses from out-of-flow to in-flow. */
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 20;
  padding: 22px 0;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.site-header.is-solid {
  background: var(--forest-950);
  border-bottom-color: var(--line-on-dark);
}
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 40px; height: 40px; }
.brand-word {
  font-family: var(--font-display);
  font-size: 19px;
  letter-spacing: 0.06em;
  color: var(--ivory-50);
}
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a {
  font-size: 14px;
  color: var(--ivory-200);
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.nav-links a:hover { color: var(--gold-300); }
.nav-links a.is-active { color: var(--gold-400); border-color: var(--gold-500); }
.nav-links a.nav-cta {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  background: var(--gold-500);
  color: var(--forest-950);
  padding: 10px 20px;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-bottom: none;
  transition: background 0.2s ease, transform 0.2s ease;
}
.nav-links a.nav-cta:hover { background: var(--gold-300); transform: translateY(-1px); }
.nav-toggle { display: none; }

@media (max-width: 780px) {
  .nav-links { position: fixed; inset: 0; top: 0; background: var(--forest-950); flex-direction: column; justify-content: center; gap: 30px; transform: translateY(-100%); transition: transform 0.35s ease; }
  .nav-links.is-open { transform: translateY(0); }
  .nav-toggle { display: block; background: none; border: none; color: var(--ivory-50); font-size: 26px; cursor: pointer; z-index: 30; }
}

/* ---------------------------------------------------------
   Hero
   --------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  background-image:
    linear-gradient(180deg, rgba(9,16,12,0.55) 0%, rgba(9,16,12,0.35) 40%, rgba(9,16,12,0.88) 100%),
    url('../img/marble-hero.webp');
  background-size: cover;
  background-position: center;
  color: var(--ivory-50);
}
.hero-inner { padding-bottom: 96px; width: 100%; }

/* Ab 1700px steht der Hero-Text vertikal mittig statt unten verankert
   (1700 knapp unter 1760, der Breite, ab der das gewünscht ist). Nur
   align-items ändern, nicht die position-Art (siehe CLAUDE.md „Gelernte
   Lektionen" — Header-Sprung-Bug bei Flow-Wechsel mitten im Scrollen).
   padding-bottom hier auf 0, sonst schiebt die sonst feste Bottom-Padding
   die Box asymmetrisch nach oben statt sie echt zu zentrieren. */
@media (min-width: 1700px) {
  .hero { align-items: center; }
  .hero-inner { padding-bottom: 0; }
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 420;
  line-height: 1.06;
  color: var(--ivory-50);
  max-width: 15ch;
  margin: 22px 0 26px;
}
.hero-lede {
  font-size: 18px;
  color: var(--ivory-200);
  max-width: 46ch;
  margin: 0 0 38px;
  line-height: 1.7;
}
.hero-scroll {
  position: absolute;
  bottom: 34px; left: 32px;
  display: flex; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ivory-200); opacity: 0.7;
}
.hero-scroll::after { content: ""; width: 1px; height: 34px; background: linear-gradient(var(--gold-500), transparent); }

/* ---------------------------------------------------------
   Buttons
   --------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold-500); color: var(--forest-950); }
.btn-gold:hover { background: var(--gold-300); }
.btn-ghost-light { border-color: var(--gold-500); color: var(--gold-400); }
.btn-ghost-light:hover { background: var(--gold-500); color: var(--forest-950); }
.btn-ghost-dark { border-color: var(--forest-700); color: var(--forest-800); }
.btn-ghost-dark:hover { background: var(--forest-800); color: var(--ivory-50); }
.btn-arrow { display: inline-flex; transition: transform 0.2s ease; }
.btn-arrow svg { width: 17px; height: 17px; display: block; }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ---------------------------------------------------------
   Sections — shared rhythm
   --------------------------------------------------------- */
section { padding: 108px 0; }
.section-tight { padding: 84px 0; }
.on-forest { background: var(--forest-900); color: var(--ivory-100); }
.on-ivory { background: var(--ivory-50); color: var(--ink); }
.on-ivory-alt { background: var(--ivory-100); color: var(--ink); }

/* .on-cream: Creme-Hintergrund für Sektionen, die sonst dunkel (.on-forest,
   .cta-band) oder in einer anderen Helltönung (.on-ivory-alt/--ivory-100)
   wären. Nur dort gesetzt, wo es tatsächlich etwas ändert — auf reinen
   .on-ivory-Sektionen wäre es identisch zu var(--ivory-50) und damit ohne
   Wirkung. Referenziert var(--ivory-50) statt einem eigenen Hex-Wert, damit
   es mit .on-ivory in Sync bleibt. */
.on-forest.on-cream,
.cta-band.on-cream { background: var(--ivory-50); }
.on-ivory-alt.on-cream { background: var(--ivory-50); }
/* Marmor-Overlay auf Creme unerwünscht — würde sonst durchblenden. */
.cta-band.on-cream::before { display: none; }
/* Text war für dunkle .on-forest-Hintergründe gedacht (hell/ivory) — auf
   Creme unlesbar. Eyebrow (var(--gold-500)) und .quote-cite (var(--gold-400))
   bewusst unangetastet, siehe CLAUDE.md „Designsystem". */
.on-cream blockquote { color: var(--ink); }
.cta-band.on-cream,
.cta-band.on-cream h2 { color: var(--ink); }

.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-top: 16px; }
.on-forest .section-head h2 { color: var(--ivory-50); }

.hairline { height: 1px; background: var(--line-on-light); border: none; margin: 0; }
.on-forest .hairline { background: var(--line-on-dark); }

/* ---------------------------------------------------------
   Pillars (triptych)
   --------------------------------------------------------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line-on-light); }
.pillar { padding: 40px 36px 0; border-left: 1px solid var(--line-on-light); }
.pillar:first-child { border-left: none; }
.pillar-num { font-family: var(--font-display); font-size: 13px; color: var(--gold-700); letter-spacing: 0.08em; margin-bottom: 18px; display: block; }
.pillar h3 { font-size: 22px; font-weight: 480; margin-bottom: 12px; line-height: 1.25; }
.pillar p { color: var(--ink-soft); font-size: 15px; margin: 0; }

@media (max-width: 860px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar { border-left: none; border-top: 1px solid var(--line-on-light); padding: 32px 0; }
  .pillar:first-child { border-top: none; }
}

/* ---------------------------------------------------------
   Audience list
   --------------------------------------------------------- */
.audience { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-on-light); border: 1px solid var(--line-on-light); }
.audience-item { background: var(--ivory-50); padding: 30px 34px; display: flex; align-items: baseline; gap: 18px; }
.audience-item .mark { font-family: var(--font-display); font-style: italic; color: var(--gold-700); font-size: 20px; flex-shrink: 0; }
.audience-item p { margin: 0; font-size: 15.5px; color: var(--ink); }

@media (max-width: 700px) { .audience { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------
   Process (ledger steps)
   --------------------------------------------------------- */
.process { position: relative; }
.process-step {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 32px;
  padding: 36px 0;
  border-top: 1px solid var(--line-on-light);
  position: relative;
}
.process-step:last-child { border-bottom: 1px solid var(--line-on-light); }
.step-num {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  color: var(--gold-700);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}
.step-icon { width: 25px; height: 25px; color: var(--gold-500); }
.step-icon svg { display: block; width: 100%; height: 100%; }
.step-body h3 { font-size: 20px; font-weight: 550; margin-bottom: 8px; }
.step-body p { margin: 0; color: var(--ink-soft); font-size: 15.5px; max-width: 56ch; }

@media (max-width: 620px) {
  .process-step { grid-template-columns: 1fr; gap: 8px; }
  .step-num { flex-direction: row; align-items: center; gap: 10px; }
}

/* ---------------------------------------------------------
   Pull quote
   --------------------------------------------------------- */
.quote-band { position: relative; text-align: left; }
.quote-mark { font-family: var(--font-display); font-size: 64px; color: var(--gold-500); line-height: 1; margin-bottom: 8px; display: block; }
blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.5rem, 3.2vw, 2.15rem);
  line-height: 1.45;
  max-width: 20ch;
  color: var(--ivory-50);
}
.quote-cite { margin-top: 26px; font-size: 14px; color: var(--gold-400); font-family: var(--font-body); }

/* ---------------------------------------------------------
   CTA band
   --------------------------------------------------------- */
.cta-band {
  background: var(--forest-950);
  color: var(--ivory-50);
  padding: 100px 0;
  text-align: left;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url('../img/marble-hero.webp');
  background-size: cover; background-position: center;
  opacity: 0.14;
}
/* .cta-inner als KIND-Element in .container verschachtelt, nicht als
   kombinierte Klasse auf demselben Element (siehe .narrow oben für die
   ausführliche Erklärung, warum das nötig ist). */
.cta-inner { position: relative; max-width: 640px; }
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin: 18px 0 34px; color: var(--ivory-50); }

/* ---------------------------------------------------------
   Page header (non-hero pages)
   --------------------------------------------------------- */
.page-head {
  background: var(--forest-950);
  color: var(--ivory-50);
  padding: 190px 0 90px;
  background-image: linear-gradient(180deg, rgba(9,16,12,0.5), rgba(9,16,12,0.92)), url('../img/marble-hero.webp');
  background-size: cover; background-position: center;
}
.page-head h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 440; margin-top: 18px; max-width: 36ch; }

/* ---------------------------------------------------------
   Contact form
   --------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 80px; }
.contact-info p { color: var(--ink-soft); font-size: 16px; }
.contact-info .lede { font-family: var(--font-display); font-size: 22px; font-weight: 480; color: var(--ink); margin: 18px 0 18px; line-height: 1.4; }

.field { margin-bottom: 30px; }
.field label {
  display: block; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 10px;
}
.field input, .field textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--line-on-light);
  background: transparent;
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--ink);
  padding: 8px 2px 12px;
  transition: border-color 0.2s ease;
}
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold-500);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); }

@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 50px; } }

/* ---------------------------------------------------------
   Footer
   --------------------------------------------------------- */
.site-footer {
  background-color: var(--forest-950);
  background-image:
    linear-gradient(180deg, rgba(9,16,12,0.55) 0%, rgba(9,16,12,0.35) 40%, rgba(9,16,12,0.88) 100%),
    url('../img/marble-hero.webp');
  background-size: cover;
  background-position: center;
  color: var(--ivory-200);
  padding: 70px 0 34px;
}
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; padding-bottom: 46px; border-bottom: 1px solid var(--line-on-dark); flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 34px; height: 34px; }
.footer-brand span { font-family: var(--font-display); font-size: 17px; color: var(--ivory-50); }
.footer-links { display: flex; gap: 30px; font-size: 14px; }
.footer-links a:hover { color: var(--gold-400); }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 26px; font-size: 12.5px; color: var(--ink-faint); flex-wrap: wrap; gap: 10px; }
.footer-bottom a:hover { color: var(--gold-400); }

@media (max-width: 620px) {
  section { padding: 72px 0; }
  .page-head { padding: 150px 0 60px; }
  .footer-top { flex-direction: column; }
}

/* ---------------------------------------------------------
   Legal pages
   --------------------------------------------------------- */
/* .legal als KIND-Element in .container verschachtelt (siehe impressum.html/
   datenschutz.html), nicht als kombinierte Klasse auf demselben Element —
   sonst bleibt .containers margin:auto aktiv und zentriert die schmalere
   Box erneut (andere linke Kante als der Seitentitel). Siehe .narrow oben
   für dieselbe Erklärung im Detail. */
.legal { max-width: var(--container-narrow); }
.legal h2 { font-size: 20px; font-weight: 550; margin: 44px 0 14px; }
.legal h2:first-child { margin-top: 0; }
.legal p { color: var(--ink-soft); font-size: 16px; margin: 0 0 12px; }
.legal ul { margin: 0 0 12px; padding-left: 20px; color: var(--ink-soft); font-size: 16px; }
.legal li { margin-bottom: 4px; }
.legal .addr { font-style: normal; color: var(--ink-soft); font-size: 16px; line-height: 1.8; margin-bottom: 12px; }
