/* ============================================================
   FOXMONT — Stylesheet
   ------------------------------------------------------------
   Aufbau:
   01  Design-Tokens (Farben, Schrift, Abstände)
   02  Schriften (lokal gehostet, DSGVO-konform)
   03  Basis & Reset
   04  Typografie & Utilities
   05  Buttons & Links
   06  Intro-Animation (M als Kurslinie)
   07  Header / Navigation
   08  Hero
   09  Sektionen (Problem, Brandline, Ansatz, Founder,
       Erfahrung, Leistungen, Investments, Kontakt)
   10  Footer
   11  Scroll-Reveal-Animationen
   12  Responsive: Mobile (max-width: 767px)
   13  Responsive: Tablet/Laptop (768–1399px)
   14  Responsive: Ultrawide (min-width: 1400px)
   15  Reduced Motion & Druck
   ============================================================ */


/* ============ 01 DESIGN-TOKENS ============ */

:root {
  /* Foxmont CI — Farben */
  --charcoal:  #111214;   /* Primary Charcoal */
  --copper:    #B9734A;   /* Warm Copper */
  --copper-soft: #C98A63; /* Kupfer aufgehellt (Hover, dunkle Flächen) */
  --offwhite:  #F6F4F1;   /* Off White */
  --softgray:  #D9D9D6;   /* Soft Gray */
  --midgray:   #8F8F8F;   /* Mid Gray */
  --deep:      #1F1F22;   /* Deep Neutral */

  /* Schrift */
  --font-serif: "Cormorant Garamond", "Garamond", Georgia, serif;
  --font-sans:  "Inter", Helvetica, Arial, sans-serif;

  /* Layout */
  --max-w: 1200px;                 /* maximale Inhaltsbreite */
  --gutter: 48px;                  /* seitlicher Außenabstand */
  --section-y: clamp(96px, 10vw, 144px);  /* vertikaler Sektionsabstand */
  --header-h: 76px;

  /* Bewegung */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Helle Sektionen (Standard) */
.theme-light {
  --bg:    var(--offwhite);
  --ink:   var(--charcoal);
  --muted: #55565A;
  --line:  rgba(17, 18, 20, 0.14);
}

/* Dunkle Sektionen */
.theme-dark {
  --bg:    var(--charcoal);
  --ink:   var(--offwhite);
  --muted: rgba(246, 244, 241, 0.62);
  --line:  rgba(246, 244, 241, 0.16);
}


/* ============ 02 SCHRIFTEN (lokal) ============ */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../assets/fonts/cormorant-garamond-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../assets/fonts/cormorant-garamond-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../assets/fonts/cormorant-garamond-500-italic.woff2") format("woff2");
  font-weight: 500; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../assets/fonts/cormorant-garamond-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}


/* ============ 03 BASIS & RESET ============ */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px); /* Anker landen unter dem Header */
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--offwhite);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }

/* Skip-Link für Tastaturnutzer */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--charcoal); color: var(--offwhite);
  padding: 10px 18px; z-index: 200; font-size: 14px;
}
.skip-link:focus { left: 12px; top: 12px; }

/* Klare Fokuszustände */
:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 3px;
}


/* ============ 04 TYPOGRAFIE & UTILITIES ============ */

.container {
  width: min(100% - var(--gutter) * 2, var(--max-w));
  margin-inline: auto;
}

/* Sektion: Grundgerüst + abwechselnde Hintergründe */
.section {
  background: var(--bg);
  color: var(--ink);
  padding-block: var(--section-y);
  position: relative;
}
.section + .section { border-top: 1px solid rgba(17, 18, 20, 0.08); }

/* Kleines Uppercase-Label (Kupfer) */
.label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--copper);
}
.label::before {
  content: "";
  width: 36px; height: 1px;
  background: var(--copper);
}

/* Serif-Headlines */
.h-display {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(46px, 6.2vw, 84px);
  line-height: 1.04;
  letter-spacing: -0.01em;
}
.h-section {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.005em;
}
.h-sub {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.2;
}

/* Kupfer-Akzent in Headlines (kursiv, wie im Brand Guide) */
.accent {
  font-style: italic;
  font-weight: 500;
  color: var(--copper);
}

.lead {
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.75;
  color: var(--muted);
  max-width: 620px;
}
.text-muted { color: var(--muted); }

/* Sektionskopf: Label + Headline, editorial gesetzt */
.section-head { max-width: 820px; margin-bottom: clamp(48px, 5vw, 72px); }
.section-head .label { margin-bottom: 22px; }
.section-head .lead { margin-top: 24px; }

/* Feine Trennlinie */
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* Sektionsnummer (Marginalie, editorial) */
.sec-no {
  position: absolute;
  top: calc(var(--section-y) + 6px);
  right: max(var(--gutter), calc((100vw - var(--max-w)) / 2));
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px;
  color: var(--muted);
  letter-spacing: 0.08em;
}


/* ============ 05 BUTTONS & LINKS ============ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 17px 30px;
  border: 1px solid transparent;
  border-radius: 0;                /* bewusst eckig — keine SaaS-Optik */
  cursor: pointer;
  transition: background-color .35s var(--ease-out),
              color .35s var(--ease-out),
              border-color .35s var(--ease-out);
}

/* Primärer CTA */
.btn-primary { background: var(--charcoal); color: var(--offwhite); }
.btn-primary:hover { background: var(--copper); color: var(--offwhite); }

/* Primärer CTA auf dunklen Flächen */
.theme-dark .btn-primary { background: var(--copper); }
.theme-dark .btn-primary:hover { background: var(--offwhite); color: var(--charcoal); }

/* Sekundärer CTA: ruhiger Textlink mit Pfeil */
.btn-ghost {
  padding: 17px 6px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.btn-ghost .arrow { transition: transform .35s var(--ease-out); }
.btn-ghost:hover { color: var(--copper); border-bottom-color: var(--copper); }
.btn-ghost:hover .arrow { transform: translateX(5px); }

/* Bild-Icons (freigestellte PNGs aus dem Brand Kit).
   Detailreichere Motive als Line-Icons — brauchen etwas mehr Größe;
   werden später 1:1 durch transparente Originale ersetzt. */
.icon-img { display: block; height: auto; }
.pillar .icon-img { width: 46px; }
.service .icon-img { width: 44px; }
.proof-field .icon-img { width: 38px; }

/* Fließtext-Links */
.link {
  color: var(--copper);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.link:hover { color: var(--charcoal); }
.theme-dark .link:hover { color: var(--offwhite); }


/* ============ 06 INTRO-ANIMATION ============
   Das M zeichnet sich wie ein steigender Kurs,
   stoppt am höchsten Punkt, dann Zoom-out zum Logo. */

.intro {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--charcoal);
  cursor: pointer;
  transition: opacity .9s var(--ease-out), visibility .9s;
}
.intro.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.intro[hidden] { display: none; }

.intro-stage {
  display: flex;
  align-items: baseline;
  justify-content: center;
}

/* Wortbestandteile "Fox" / "ont" — erscheinen beim Zoom-out */
.intro-word {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(56px, 10vw, 124px);
  color: var(--offwhite);
  line-height: 1;
  opacity: 0;
  letter-spacing: 0.06em;
  transition: opacity 1s var(--ease-out), letter-spacing 1s var(--ease-out);
}

/* Das M: startet stark vergrößert (= reingezoomte Kurslinie) */
.intro-m {
  width: clamp(72px, 12.5vw, 156px);
  height: auto;
  margin: 0 0.04em;
  transform: scale(2.6) translateY(6%);
  transform-origin: 62% 60%;
  transition: transform 1.25s var(--ease-out);
}

/* Kurslinie: EIN Pfad, wird per stroke-dashoffset gezeichnet (JS setzt Längen).
   Die zwei Phasen (Anstieg / Abstieg) steuert das JS über die Transition-Dauer. */
.intro-m .m-line { transition: stroke-dashoffset 1.5s var(--ease-out); }

/* Kupfer-Peak + Endpunkt am Gipfel */
.intro-m .m-peak { opacity: 0; transition: opacity .8s var(--ease-out); }
.intro-m .m-dot {
  opacity: 0;
  transform-origin: center;
  transform-box: fill-box;
}

/* Phase 1: Punkt pulsiert am Gipfel */
.intro.phase-peak .m-dot { animation: dot-pulse 1.1s var(--ease-out) forwards; }
@keyframes dot-pulse {
  0%   { opacity: 0; transform: scale(0.3); }
  40%  { opacity: 1; transform: scale(1.5); }
  100% { opacity: 1; transform: scale(1); }
}

/* Phase 2: Zoom-out — M fügt sich ins Wortbild, Buchstaben erscheinen */
.intro.phase-logo .intro-m { transform: scale(1) translateY(0); }
.intro.phase-logo .intro-word { opacity: 1; letter-spacing: 0.015em; }
.intro.phase-logo .m-peak { opacity: 1; }
.intro.phase-logo .m-dot { animation: dot-out .5s ease forwards; }
@keyframes dot-out { to { opacity: 0; transform: scale(0.2); } }

/* Echtes Logo, deckungsgleich über der gezeichneten Fassung zentriert.
   Die Breite wird beim Übergang per JS exakt auf die gezeichnete
   Wortmarke gelegt, damit der Crossfade wie ein Morph wirkt. */
.intro-logo {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -46%) scale(0.985);
  width: min(60vw, 560px);        /* Fallback — JS misst die echte Breite */
  height: auto;
  opacity: 0;
  filter: blur(4px);              /* kommt „in den Fokus" */
  pointer-events: none;
  /* leicht verzögert, damit kein hartes Doppelbild entsteht */
  transition: opacity 1.5s ease-in-out .15s,
              transform 1.5s var(--ease-out) .15s,
              filter 1.5s ease-in-out .15s;
}

/* Phase 3: Wellen-Übergang.
   Eine weiche Maskenkante wandert von links nach rechts durch den
   Schriftzug: die gezeichnete Fassung löst sich hinter der Welle auf,
   das echte Logo taucht mit ihr auf. Dazu ein leichter Buchstaben-
   Ripple und Unschärfe, damit die Schriften ineinander verschwimmen.
   Der Opacity-Crossfade bleibt als Basis — Browser ohne mask-image
   zeigen weiterhin die weiche Überblendung. */
.intro-stage {
  transition: opacity 1.4s ease-in-out, transform 1.5s var(--ease-out);
}
.intro.phase-real .intro-stage {
  opacity: 0;
  transform: scale(1.012);
  /* Welle raus: transparente Zone schiebt sich von links herein */
  -webkit-mask-image: linear-gradient(100deg, transparent 34%, #000 56%);
          mask-image: linear-gradient(100deg, transparent 34%, #000 56%);
  -webkit-mask-size: 300% 100%;
          mask-size: 300% 100%;
  animation: mask-sweep 1.6s var(--ease-out) forwards;
}
.intro.phase-real .intro-logo {
  opacity: 1;
  transform: translate(-50%, -46%) scale(1);
  filter: blur(0);
  /* Welle rein: sichtbare Zone folgt derselben Kante */
  -webkit-mask-image: linear-gradient(100deg, #000 40%, transparent 62%);
          mask-image: linear-gradient(100deg, #000 40%, transparent 62%);
  -webkit-mask-size: 300% 100%;
          mask-size: 300% 100%;
  animation: mask-sweep 1.6s var(--ease-out) forwards;
}
@keyframes mask-sweep {
  from { -webkit-mask-position: 100% 0; mask-position: 100% 0; }
  to   { -webkit-mask-position: 0% 0;   mask-position: 0% 0; }
}

/* Buchstaben-Ripple: „Fox" taucht zuerst ab, „ont" folgt —
   die Welle läuft spürbar durch den Schriftzug */
.intro.phase-real .intro-word {
  animation: word-wave 1.1s ease-in-out forwards;
}
.intro.phase-real .intro-word:last-of-type { animation-delay: .22s; }
@keyframes word-wave {
  0%   { transform: translateY(0);   filter: blur(0); }
  45%  { transform: translateY(6px); filter: blur(2px); }
  100% { transform: translateY(9px); filter: blur(4px); }
}

/* Tagline unter dem Logo */
.intro-tagline {
  position: absolute;
  bottom: 18vh;
  left: 0; right: 0;
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--midgray);
  opacity: 0;
  transition: opacity 1s var(--ease-out) .35s;
}
.intro.phase-logo .intro-tagline { opacity: 1; }

/* Hinweis zum Überspringen */
.intro-skip {
  position: absolute;
  bottom: 28px; left: 0; right: 0;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(246, 244, 241, 0.34);
}


/* ============ 07 HEADER / NAVIGATION ============ */

.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 90;
  height: var(--header-h);
  background: rgba(246, 244, 241, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(17, 18, 20, 0.1);
  transition: height .35s var(--ease-out), box-shadow .35s;
}
.header.is-scrolled { height: 62px; box-shadow: 0 1px 0 rgba(17, 18, 20, 0.06); }

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo: echte Foxmont-Wortmarke als Bild */
.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.logo img {
  height: 30px;             /* Wortmarkenhöhe inkl. hohem M-Gipfel */
  width: auto;
  max-width: none;
  display: block;
  transition: height .35s var(--ease-out);
}
.header.is-scrolled .logo img { height: 26px; }

/* Navigation */
.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); }
.nav a {
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--charcoal);
  padding: 6px 0;
  position: relative;
  white-space: nowrap;
}
/* feiner Kupferstrich beim Hover */
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease-out);
}
.nav a:hover::after { transform: scaleX(1); }

.header .btn { padding: 12px 22px; font-size: 12px; }


/* ============ 08 HERO ============ */

.hero {
  position: relative;
  min-height: max(640px, 92vh);
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
  background: var(--offwhite);
}

.hero-inner { position: relative; z-index: 2; }

.hero .label { margin-bottom: 28px; }

.hero h1 { max-width: 13em; }
.hero .lead { margin-top: 30px; }

.hero-ctas {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 44px;
}

/* Großes M als Hintergrundgrafik rechts — ruhige Linienzeichnung */
.hero-art {
  position: absolute;
  z-index: 1;
  right: max(calc((100vw - var(--max-w)) / 2 - 60px), 0px);
  bottom: 0;
  width: clamp(380px, 38vw, 560px);
  pointer-events: none;
}
.hero-art svg { width: 100%; height: auto; }
.hero-art .m-line {
  transition: stroke-dashoffset 2.2s var(--ease-out);
}
.hero-art .m-peak { opacity: 0; transition: opacity 1.4s ease 1.4s; }
.hero-art.is-drawn .m-peak { opacity: 1; }

/* Untere Hero-Zeile: dezente Einordnung + Scrollhinweis */
.hero-foot {
  position: absolute;
  z-index: 2;
  left: 0; right: 0; bottom: 0;
  border-top: 1px solid rgba(17, 18, 20, 0.1);
  background: rgba(246, 244, 241, 0.85);
}
.hero-foot-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 18px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--midgray);
}


/* ============ 09 SEKTIONEN ============ */

/* ---- Problem / These ---- */
.statements {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(32px, 4vw, 64px);
  margin-top: clamp(48px, 5vw, 72px);
}
.statement { border-top: 1px solid var(--line); padding-top: 26px; }
.statement .no {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 17px;
  color: var(--copper);
  display: block;
  margin-bottom: 14px;
}
.statement h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(22px, 2vw, 27px);
  line-height: 1.25;
}
.statement h3 em { font-style: italic; font-weight: 500; color: var(--copper); }
.statement p { margin-top: 12px; font-size: 15px; color: var(--muted); }

/* Engpass-Liste im Problemtext */
.bottleneck-list {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 40px;
}
.bottleneck-list li {
  font-size: 15px;
  color: var(--muted);
  padding-left: 22px;
  position: relative;
}
.bottleneck-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.72em;
  width: 12px; height: 1px;
  background: var(--copper);
}

/* ---- Brand Line (Berg-Visual) ---- */
.brandline {
  text-align: center;
  overflow: hidden;
  background: linear-gradient(var(--charcoal), var(--deep)); /* matte Tiefe, kein Effekt */
}
.brandline .label { justify-content: center; }
.brandline .label::before { display: none; }
.brandline h2 { margin-top: 26px; }
.brandline .lead { margin: 26px auto 0; }

.mountain {
  margin-top: clamp(48px, 6vw, 84px);
}
.mountain svg { width: 100%; height: auto; }

/* Kupfer-Weglinie zeichnet sich beim Scrollen */
.mountain .path-line { transition: stroke-dashoffset 3s var(--ease-out); }
.mountain .summit-dot { opacity: 0; transition: opacity .9s ease 2.4s; }
.mountain.is-drawn .summit-dot { opacity: 1; }

/* ---- Ansatz: drei Säulen ---- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.pillar {
  padding: clamp(36px, 3.5vw, 52px) clamp(24px, 2.8vw, 44px) 8px;
  border-left: 1px solid var(--line);
}
.pillar:first-child { border-left: 0; padding-left: 0; }
.pillar:last-child { padding-right: 0; }

.pillar .no {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px;
  color: var(--copper);
}
.pillar .icon { margin-top: 26px; color: var(--charcoal); }
.pillar h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(26px, 2.2vw, 31px);
  margin-top: 18px;
}
.pillar p { margin-top: 14px; font-size: 15.5px; color: var(--muted); }

/* ---- Founder ---- */
.founder-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

/* Echte Fotos: editorialer Look mit Passepartout-Rahmen.
   Die Schwarzweiß-Anmutung (leicht warm getönt, passend zu Kupfer/Papier)
   entsteht durch den filter auf .photo img — Zeile löschen = Farbe zurück. */
.photo {
  position: relative;
  margin: 0;
  background: var(--deep);
  overflow: hidden;
}
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) sepia(0.14) contrast(1.04) brightness(1.02);
}
.photo::after {  /* feiner Innenrahmen wie ein Passepartout */
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(246, 244, 241, 0.35);
  pointer-events: none;
}
.photo-portrait { aspect-ratio: 4 / 5; }
.photo figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 22px 14px 10px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-align: center;
  color: rgba(246, 244, 241, 0.85);
  background: linear-gradient(transparent, rgba(17, 18, 20, 0.55));
}

/* Bildleiste unter dem Portrait: drei Situationsaufnahmen */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 10px;
}
.photo-strip .photo { aspect-ratio: 1; }
.photo-strip .photo::after { inset: 7px; }

/* Bildplatzhalter — für noch fehlende Motive */
.ph {
  position: relative;
  background: var(--deep);
  color: rgba(246, 244, 241, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  overflow: hidden;
}
.ph::after {  /* feiner Rahmen innen, wie ein Passepartout */
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(246, 244, 241, 0.18);
  pointer-events: none;
}
.ph .ph-label {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.ph .ph-m { width: 56px; opacity: 0.6; }
.ph-portrait { aspect-ratio: 4 / 5; }

/* kleine Bildleiste unter dem Portrait */
.ph-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 10px;
}
.ph-strip .ph { aspect-ratio: 1; }
.ph-strip .ph::after { inset: 7px; }
.ph-strip .ph-label { font-size: 9px; letter-spacing: 0.18em; }

.founder-text .label { margin-bottom: 22px; }
.founder-text h2 { max-width: 10em; }
.founder-text p { margin-top: 20px; color: var(--muted); max-width: 56ch; }
.founder-text p strong { color: var(--ink); font-weight: 600; }

.founder-name {
  margin-top: 28px;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
}
.founder-role {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper);
  margin-top: 6px;
}

/* Kompetenzfelder als ruhige, eckige Chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.chips li {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 9px 16px;
}

/* ---- Erfahrung / Proof ---- */
/* Kleine Überschrift über der Namensleiste */
.proof-caption { margin-top: clamp(40px, 4vw, 56px); }
.proof-caption + .proof-orgs { margin-top: 22px; }

.proof-orgs {
  margin-top: clamp(40px, 4vw, 56px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(28px, 3vw, 40px);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px 40px;
}
.proof-orgs span {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(26px, 3vw, 40px);
  letter-spacing: 0.04em;
  color: var(--ink);
  opacity: 0.92;
}
.proof-note {
  margin-top: 18px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 760px;
}

.proof-fields {
  margin-top: clamp(48px, 5vw, 72px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 clamp(40px, 6vw, 96px);
}
.proof-field {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  padding-block: 24px;
  border-top: 1px solid var(--line);
}
.proof-field .icon { flex: 0 0 auto; color: var(--copper); margin-top: 2px; }
.proof-field h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 22px;
}
.proof-field p { font-size: 14.5px; color: var(--muted); margin-top: 6px; }

/* ---- Leistungen (editoriale Zeilen statt Cards) ---- */
.service {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 4vw, 72px);
  padding-block: clamp(40px, 4vw, 60px);
  border-top: 1px solid var(--line);
}
.service:last-of-type { border-bottom: 1px solid var(--line); }

.service .no {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px;
  color: var(--copper);
  display: block;
}
.service h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(28px, 2.6vw, 36px);
  line-height: 1.15;
  margin-top: 14px;
  max-width: 11em;
}
.service .icon { margin-top: 22px; color: var(--copper); }

.service-body p { color: var(--muted); max-width: 58ch; }
.service-list {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 36px;
}
.service-list li {
  font-size: 14.5px;
  color: var(--ink);
  padding-left: 22px;
  position: relative;
}
.service-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.72em;
  width: 12px; height: 1px;
  background: var(--copper);
}

/* ---- Selective Investments (bewusst klein) ---- */
.investments { padding-block: clamp(56px, 6vw, 80px); }
.investments-inner {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(24px, 4vw, 72px);
  align-items: start;
}
.investments p { font-size: 15px; color: var(--muted); max-width: 64ch; }

/* ---- Kontakt (zweispaltig: Ansprache + Formular) ---- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(48px, 6vw, 110px);
  align-items: start;
}
.contact h2 { margin-top: 26px; }
.contact .lead { margin-top: 24px; }
.contact-mail { margin-top: 36px; }
.contact-meta {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* ---- Kontaktformular ----
   Editorialer Stil: Linien statt Boxen, Kupfer im Fokuszustand */
.contact-form { border-top: 1px solid var(--line); padding-top: 12px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 32px;
}

.form-field { margin-top: 26px; }
.form-field label {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.form-field input,
.form-field textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;                 /* bewusst eckig */
  padding: 10px 2px;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  transition: border-color .3s var(--ease-out);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(246, 244, 241, 0.3); }
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-bottom-color: var(--copper);
}
/* Browser-Validierung dezent sichtbar machen */
.form-field input:user-invalid,
.form-field textarea:user-invalid { border-bottom-color: #C97B6B; }

/* Honeypot: visuell & für Screenreader verstecken (display:none meiden,
   manche Bots erkennen das) */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

.form-privacy {
  margin-top: 26px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted);
}

.contact-form .btn { margin-top: 26px; }
.contact-form .btn[disabled] { opacity: 0.55; cursor: wait; }

/* Statusmeldung nach dem Absenden */
.form-status { margin-top: 18px; font-size: 14px; line-height: 1.6; display: none; }
.form-status.is-ok    { display: block; color: #9CC29A; }
.form-status.is-error { display: block; color: #C97B6B; }

/* Erfolgszustand: Formularfelder weichen der Bestätigung */
.contact-form.is-sent .form-row,
.contact-form.is-sent .form-field,
.contact-form.is-sent .form-privacy,
.contact-form.is-sent .btn { display: none; }
.contact-form.is-sent .form-status { font-size: 16px; }


/* ============ 10 FOOTER ============ */

.footer {
  background: var(--charcoal);
  color: rgba(246, 244, 241, 0.6);
  text-align: center;             /* Footer immer zentriert */
  padding-block: 64px 40px;
  border-top: 1px solid rgba(246, 244, 241, 0.1);
}
.footer .footer-wordmark {
  height: 42px;
  width: auto;
  max-width: 78%;
  margin: 0 auto 14px;
  display: block;
}
.footer .footer-tagline {
  font-size: 10.5px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  margin-top: 10px;
  color: var(--midgray);
}
.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 30px;
  margin-top: 36px;
}
.footer-nav a {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(246, 244, 241, 0.6);
}
.footer-nav a:hover { color: var(--copper-soft); }
.footer-legal {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(246, 244, 241, 0.1);
  font-size: 12px;
  letter-spacing: 0.06em;
}


/* ============ 11 SCROLL-REVEAL ============ */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  transition-delay: var(--d, 0s);   /* Stagger über --d steuerbar */
}
.reveal.is-visible { opacity: 1; transform: none; }


/* ============ 12 RESPONSIVE: MOBILE (max-width: 767px) ============ */

@media (max-width: 767px) {
  :root {
    --gutter: 22px;
    --section-y: 64px;
    --header-h: 64px;
  }

  /* Navigation: nur Logo + CTA */
  .nav { display: none; }
  .logo img { height: 26px; }
  .header .btn { padding: 10px 16px; font-size: 11px; }

  /* Hero: kompakt, Inhalt beginnt direkt unter dem Header */
  .hero {
    min-height: 0;
    padding-top: calc(var(--header-h) + 40px);
    padding-bottom: 56px;
    align-items: flex-start;
  }
  .hero-ctas { gap: 18px; margin-top: 32px; }
  .hero-foot { display: none; }      /* untere Leiste mobil ausblenden */
  .hero-art {                        /* M-Grafik klein und dezent unten rechts */
    width: 200px;
    right: -36px;
    bottom: -12px;
    opacity: 0.5;
  }

  .sec-no { display: none; }

  /* Mehrspaltiges wird einspaltig */
  .statements { grid-template-columns: 1fr; gap: 28px; }
  .bottleneck-list { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .pillar { border-left: 0; padding-left: 0; padding-right: 0; border-top: 1px solid var(--line); }
  .pillar:first-child { border-top: 0; }
  .founder-grid { grid-template-columns: 1fr; gap: 36px; }
  .proof-fields { grid-template-columns: 1fr; }
  .service { grid-template-columns: 1fr; gap: 20px; padding-block: 36px; }
  .service-list { grid-template-columns: 1fr; }
  .investments-inner { grid-template-columns: 1fr; gap: 18px; }
  .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .form-row { grid-template-columns: 1fr; }

  /* Foto-Captions: kompakter, damit nichts anstößt */
  .photo figcaption { font-size: 8.5px; letter-spacing: 0.12em; padding-inline: 6px; }

  /* Erfahrungs-Namen: kleiner, zweizeilig erlaubt */
  .proof-orgs { justify-content: flex-start; gap: 10px 28px; }
  .proof-orgs span { font-size: 22px; }

  /* Berg-Visual mobil reduzieren (Platz sparen) */
  .mountain { margin-top: 36px; }

  .contact-meta { gap: 8px 24px; flex-direction: column; }

  /* Intro etwas kleiner */
  .intro-tagline { letter-spacing: 0.28em; font-size: 10px; padding-inline: 24px; }
}


/* ============ 13 RESPONSIVE: TABLET / LAPTOP (768–1399px) ============ */

@media (min-width: 768px) and (max-width: 1399px) {
  :root { --section-y: clamp(80px, 9vw, 112px); }

  /* Navigation kompakt, aber einzeilig */
  .nav { gap: 18px; }
  .nav a { font-size: 11.5px; letter-spacing: 0.09em; }
  .header .btn { padding: 11px 18px; font-size: 11px; }
}

/* Zwischengröße: Nav-Links erst ab 900px zeigen, darunter wie Mobile */
@media (min-width: 768px) and (max-width: 899px) {
  .nav { display: none; }
}


/* ============ 14 RESPONSIVE: ULTRAWIDE (min-width: 1400px) ============ */

@media (min-width: 1400px) {
  /* Inhalt bleibt 1200px breit und zentriert (.container regelt das);
     Hero-Grafik proportional begrenzen */
  .hero-art { width: 560px; }
}


/* ============ 15 REDUCED MOTION & DRUCK ============ */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .intro { display: none; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .header, .intro, .hero-foot { display: none; }
  .section { padding-block: 24px; }
}
