/* ============================================================
   FALKENKONTOR · Kontor für Unternehmensnachfolge
   Design "Die Institution": Nachtblau, Königsblau, Creme,
   rechteckige Flächen mit 1px-Linien, EB Garamond + Source Sans 3.
   Statisch, keine externen Requests, Fonts lokal (DSGVO).
   ============================================================ */

/* ---------- Fonts (lokal, Variable Fonts) ---------- */
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../assets/fonts/ebgaramond.woff2') format('woff2');
}
@font-face {
  font-family: 'EB Garamond';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url('../assets/fonts/ebgaramond-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../assets/fonts/sourcesans3.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url('../assets/fonts/sourcesans3-italic.woff2') format('woff2');
}

/* ---------- Design-Tokens ---------- */
:root {
  --nacht-900: #081227;
  --nacht-800: #0C1A38;
  --nacht-700: #11224A;
  --koenig: #1D44AC;
  --koenig-dunkel: #16368C;
  --koenig-hell: #8FA6E6;   /* Links auf dunklem Grund */
  --stahl: #8A93A6;         /* Labels auf dunkel */
  --stahl-dunkel: #5F6775;  /* Labels auf hell */
  --creme: #F7F5EF;
  --creme-2: #EFECE3;
  --tinte: #131A2E;
  --tinte-70: #454D63;
  --hell: #F3F1E9;
  --hell-70: rgba(243, 241, 233, 0.74);
  --hell-45: rgba(243, 241, 233, 0.45);
  --linie-hell: rgba(243, 241, 233, 0.16);
  --linie-hell-stark: rgba(243, 241, 233, 0.3);
  --linie-dunkel: rgba(19, 26, 46, 0.16);
  --warn: #8C3B2E;
  --serif: 'EB Garamond', Garamond, 'Times New Roman', serif;
  --sans: 'Source Sans 3', 'Helvetica Neue', Arial, sans-serif;
  --max: 1160px;
  --gutter: clamp(20px, 4vw, 48px);
}

/* ---------- Reset & Basis ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  font-size: 17.5px;
  line-height: 1.65;
  color: var(--tinte);
  background: var(--creme);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--koenig); }
button { font: inherit; }

::selection { background: var(--koenig); color: #fff; }

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

.nur-vorleser {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Typografie ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 550; line-height: 1.14; letter-spacing: 0.002em; }
h1 { font-size: clamp(42px, 6.4vw, 78px); font-weight: 500; }
h2 { font-size: clamp(32px, 4.2vw, 50px); font-weight: 540; }
h3 { font-size: clamp(21px, 2.3vw, 26px); font-weight: 600; }

.lead { font-size: clamp(18px, 1.8vw, 21px); line-height: 1.62; color: var(--tinte-70); }

.label {
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--stahl-dunkel);
}
.sektion-dunkel .label, .hero .label { color: var(--stahl); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
/* Ornament: feine Kontor-Raute statt Standard-Strich */
.eyebrow::before, .eyebrow.mittig::after {
  content: '';
  width: 7px;
  height: 7px;
  border: 1px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.55;
  flex: none;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 0;
  padding: 19px 36px;
  position: relative;
  overflow: hidden;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
/* Dezenter Glanz-Lauf beim Hover */
.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -70%;
  width: 45%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.16), transparent);
  transform: skewX(-18deg);
  transition: left 0.7s ease;
  pointer-events: none;
}
.btn:hover::after { left: 130%; }
.btn .pfeil { transition: transform 0.3s ease; }
.btn:hover .pfeil { transform: translateX(5px); }

.btn-koenig { background: var(--koenig); color: #fff; }
.btn-koenig:hover { background: var(--koenig-dunkel); }

.btn-kontur-hell { border-color: var(--linie-hell-stark); color: var(--hell); background: transparent; }
.btn-kontur-hell:hover { border-color: var(--hell); }

.btn-kontur-dunkel { border-color: rgba(19, 26, 46, 0.35); color: var(--tinte); background: transparent; }
.btn-kontur-dunkel:hover { border-color: var(--tinte); }

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 24px 0;
  transition: background-color 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}
.header.fest {
  background: rgba(8, 18, 39, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--linie-hell);
  padding: 13px 0;
}
.header-innen { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.marke { display: flex; align-items: center; gap: 15px; text-decoration: none; color: var(--hell); }
.marke svg, .marke .marke-siegel { flex: none; }
.marke-text { display: flex; flex-direction: column; }
.marke-name {
  font-family: var(--serif);
  font-weight: 560;
  font-size: 21px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  line-height: 1;
}
.marke-sub {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--stahl);
  margin-top: 7px;
}

.nav { display: flex; align-items: center; gap: 34px; }
.nav a {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--hell-70);
  transition: color 0.3s ease;
  position: relative;
  padding: 6px 0;
}
.nav a:hover { color: var(--hell); }
.nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--hell);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.nav a:hover::after { transform: scaleX(1); }
.nav .btn { padding: 13px 24px; font-size: 13px; font-weight: 700; color: #fff; }

.nav-burger { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 560px at 50% -18%, rgba(29, 68, 172, 0.28), transparent 62%),
    radial-gradient(130% 105% at 50% 42%, transparent 58%, rgba(4, 9, 20, 0.5) 100%),
    repeating-radial-gradient(circle at 50% 100%, rgba(243, 241, 233, 0.035) 0 1px, transparent 1px 96px),
    var(--nacht-800);
  color: var(--hell);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  padding: 170px 0 120px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.02 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-innen { position: relative; z-index: 2; max-width: 900px; display: flex; flex-direction: column; align-items: center; }
.hero .eyebrow { color: var(--stahl); justify-content: center; }
.hero h1 { color: var(--hell); }
.hero h1 em { font-style: italic; font-weight: 460; }
.hero .lead { color: var(--hell-70); max-width: 660px; margin-top: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 46px; justify-content: center; }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 34px;
  font-size: 13px;
  color: var(--hell-70);
  letter-spacing: 0.04em;
}
.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px;
  border: 1px solid var(--linie-hell);
  background: rgba(243, 241, 233, 0.04);
}
.hero-trust svg { flex: none; opacity: 0.7; }

/* Feine Siegel-Linien hinter dem Hero, zeichnen sich beim Laden */
.hero-siegel {
  position: absolute;
  left: 50%;
  top: auto;
  bottom: 0;
  transform: translate(-50%, calc(50% + var(--parallax, 0px)));
  width: min(130vw, 1500px);
  max-width: none;
  opacity: 0.05;
  z-index: 1;
  pointer-events: none;
}
.hero-siegel circle {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: siegelZeichnen 3s cubic-bezier(0.4, 0, 0.2, 1) 0.4s forwards;
}
.hero-siegel text {
  opacity: 0;
  animation: siegelText 1.6s ease 1.6s forwards;
}
img.hero-siegel {
  height: auto;
  animation: siegelEinblenden 2.4s ease 0.3s backwards;
}
@keyframes siegelZeichnen { to { stroke-dashoffset: 0; } }
@keyframes siegelText { to { opacity: 1; } }
@keyframes siegelEinblenden { from { opacity: 0; } to { opacity: 0.05; } }

/* Maskierter Zeilen-Reveal für die Hero-Headline */
.zeile-maske { display: block; overflow: hidden; padding-bottom: 0.14em; margin-bottom: -0.14em; }
.zeile-maske > span {
  display: block;
  transform: translateY(112%);
  transition: transform 1.15s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--zd, 0s);
}
.reveal.sichtbar .zeile-maske > span { transform: none; }

.scroll-hinweis {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--hell-45);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  z-index: 2;
}
.scroll-hinweis::after {
  content: '';
  width: 1px;
  height: 44px;
  background: linear-gradient(var(--hell-45), transparent);
  animation: scrollPuls 2.4s ease-in-out infinite;
}
@keyframes scrollPuls {
  0%, 100% { transform: scaleY(0.4); transform-origin: top; opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* ---------- Zusicherungs-Leiste (vollbreit) ---------- */
.zusicherung {
  background-color: var(--nacht-900);
  background-image: repeating-linear-gradient(0deg, rgba(243, 241, 233, 0.015) 0 1px, transparent 1px 6px);
  color: var(--hell);
  border-top: 1px solid var(--linie-hell);
  border-bottom: 1px solid var(--linie-hell);
}
.zusicherung-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.zusicherung-punkt {
  padding: 36px 34px;
  border-left: 1px solid var(--linie-hell);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}
.zusicherung-punkt:first-child { border-left: none; }
.zusicherung-punkt strong {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 560;
  letter-spacing: 0.01em;
}
.zusicherung-punkt span { font-size: 14.5px; color: var(--hell-70); }

/* ---------- Sektionen ---------- */
.sektion { padding: clamp(90px, 11vw, 150px) 0; position: relative; }
.sektion-kopf { max-width: 780px; margin-bottom: clamp(46px, 6vw, 76px); }
.sektion-kopf.mittig { margin-inline: auto; text-align: center; }
.sektion-kopf .lead { margin-top: 22px; }
.sektion-kopf.mittig .eyebrow { justify-content: center; }

.sektion-dunkel {
  background-color: var(--nacht-800);
  background-image: repeating-linear-gradient(0deg, rgba(243, 241, 233, 0.015) 0 1px, transparent 1px 6px);
  color: var(--hell);
}
.sektion-dunkel h2, .sektion-dunkel h3 { color: var(--hell); }
.sektion-dunkel .lead { color: var(--hell-70); }
.sektion-creme2 { background: var(--creme-2); }

/* ---------- Marktzahlen ---------- */
.zahlen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--linie-dunkel);
  background: var(--creme);
}
.zahl-block { padding: clamp(30px, 3.6vw, 52px); border-left: 1px solid var(--linie-dunkel); }
.zahl-block:first-child { border-left: none; }
.zahl {
  font-family: var(--serif);
  font-size: clamp(46px, 4.8vw, 68px);
  font-weight: 500;
  line-height: 1;
  color: var(--tinte);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  position: relative;
  padding-bottom: 20px;
}
.zahl::after {
  content: '';
  position: absolute;
  left: 1px;
  bottom: 0;
  width: 36px;
  height: 1px;
  background: var(--koenig);
  opacity: 0.6;
}
.zahl .einheit { font-size: 0.55em; }
.zahl-label { margin-top: 14px; font-size: 15.5px; color: var(--tinte-70); }
.zahl-quelle {
  margin-top: 12px;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--stahl-dunkel);
}
.zahlen-fazit {
  margin-top: clamp(40px, 5vw, 60px);
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 500;
  line-height: 1.4;
  max-width: 820px;
  margin-inline: auto;
}
.zahlen-fazit em { font-style: italic; color: var(--koenig); }

/* ---------- Problem (drei Pains) ---------- */
.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--linie-hell); }
.pain { padding: clamp(30px, 3.4vw, 48px); border-left: 1px solid var(--linie-hell); }
.pain:first-child { border-left: none; }
.pain-nr {
  font-family: var(--serif);
  font-size: 17px;
  font-style: italic;
  color: var(--stahl);
  display: block;
  margin-bottom: 20px;
}
.pain h3 { margin-bottom: 14px; font-weight: 560; }
.pain p { color: var(--hell-70); font-size: 16px; }

/* ---------- Reframe ---------- */
.reframe { text-align: center; max-width: 860px; margin-inline: auto; }
.reframe h2 { font-size: clamp(34px, 4.6vw, 56px); }
.reframe h2 em { font-style: italic; font-weight: 470; }
.reframe .lead { max-width: 700px; margin: 26px auto 0; }
.reframe-linie {
  width: 1px;
  height: clamp(50px, 7vw, 90px);
  background: linear-gradient(transparent, var(--stahl));
  margin: 0 auto clamp(30px, 4vw, 46px);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.reframe-linie.sichtbar { transform: scaleY(1); }

/* ---------- Verfahren ---------- */
.schritt {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) 250px;
  gap: clamp(24px, 4vw, 60px);
  padding: 48px 0;
  position: relative;
  align-items: start;
}
/* Trennlinie zeichnet sich beim Erscheinen von links */
.schritt::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--linie-hell);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.3s cubic-bezier(0.22, 1, 0.36, 1) 0.1s;
}
.schritt.sichtbar::before { transform: scaleX(1); }
.schritt:last-of-type { border-bottom: 1px solid var(--linie-hell); }
.schritt-nr {
  font-family: var(--serif);
  font-size: clamp(46px, 5vw, 66px);
  font-weight: 460;
  color: var(--stahl);
  line-height: 1;
}
.schritt h3 { margin-bottom: 12px; }
.schritt p { color: var(--hell-70); font-size: 16.5px; max-width: 580px; }
.schritt-meta { display: flex; flex-direction: column; gap: 18px; padding-top: 8px; }
.schritt-meta div { display: flex; flex-direction: column; gap: 4px; }
.schritt-meta .label { font-size: 11px; letter-spacing: 0.26em; }
.schritt-meta span { color: var(--hell); font-size: 15.5px; }
.verfahren-fazit {
  margin-top: clamp(36px, 5vw, 56px);
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(20px, 2.3vw, 26px);
  font-style: italic;
  font-weight: 460;
  color: var(--hell-70);
}
.verfahren-fazit strong { color: var(--hell); font-weight: 560; font-style: normal; }

/* ---------- Diskretion ---------- */
.diskretion-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--linie-dunkel); }
.diskretion-stufe { padding: clamp(30px, 3.4vw, 48px); border-left: 1px solid var(--linie-dunkel); background: var(--creme); }
.diskretion-stufe:first-child { border-left: none; }
.diskretion-stufe .label { display: block; margin-bottom: 18px; color: var(--koenig); letter-spacing: 0.26em; }
.diskretion-stufe h3 { margin-bottom: 12px; }
.diskretion-stufe p { color: var(--tinte-70); font-size: 16px; }

/* ---------- Grundsätze ---------- */
.prinzipien-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); }
.prinzip { border-top: 1px solid var(--linie-dunkel); padding-top: 28px; }
.prinzip .label { display: block; margin-bottom: 16px; }
.prinzip h3 { margin-bottom: 12px; }
.prinzip p { color: var(--tinte-70); font-size: 16px; }

.kontor-block {
  margin-top: clamp(60px, 8vw, 100px);
  border: 1px solid var(--linie-dunkel);
  padding: clamp(40px, 6vw, 72px);
  text-align: center;
  position: relative;
  background: var(--creme);
}
.kontor-block::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(19, 26, 46, 0.08);
  pointer-events: none;
}
.kontor-block .kontor-siegel { display: block; margin: 0 auto 22px; }
.kontor-block .label { display: block; margin-bottom: 24px; }
.kontor-block p {
  font-family: var(--serif);
  font-size: clamp(21px, 2.5vw, 28px);
  font-weight: 500;
  line-height: 1.5;
  max-width: 780px;
  margin-inline: auto;
}
.kontor-block p em { font-style: italic; }

/* ---------- Anti-Selling / Qualifizierung ---------- */
.quali-grid { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--linie-hell); }
.quali-karte { padding: clamp(34px, 4vw, 54px); }
.quali-karte.ja { border-right: 1px solid var(--linie-hell); }
.quali-karte h3 { margin-bottom: 26px; }
.quali-liste { list-style: none; display: flex; flex-direction: column; }
.quali-liste li {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--hell-70);
  padding: 15px 0;
  border-bottom: 1px solid var(--linie-hell);
  text-wrap: pretty;
}
.quali-liste li:first-child { padding-top: 0; }
.quali-liste li:last-child { border-bottom: none; padding-bottom: 0; }
.quali-zeichen {
  flex: none;
  width: 24px; height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid var(--linie-hell-stark);
}
.quali-karte.ja { background: rgba(29, 68, 172, 0.13); }
.quali-karte.ja .quali-zeichen { color: #fff; background: var(--koenig); border-color: var(--koenig); }
.quali-karte.ja .quali-liste li { color: rgba(243, 241, 233, 0.88); }
.quali-karte.nein .quali-zeichen { color: var(--stahl); }
.quali-karte.nein h3 { color: var(--hell-70); }
.quali-hinweis {
  margin-top: clamp(36px, 5vw, 52px);
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(20px, 2.3vw, 25px);
  font-style: italic;
  font-weight: 460;
  color: var(--hell-70);
}
.quali-hinweis strong { color: var(--hell); font-style: normal; font-weight: 560; }

/* ---------- FAQ ---------- */
.faq-liste { max-width: 880px; margin-inline: auto; }
.faq { border-top: 1px solid var(--linie-dunkel); }
.faq:last-child { border-bottom: 1px solid var(--linie-dunkel); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 27px 4px;
  font-family: var(--serif);
  font-size: clamp(19px, 2vw, 23px);
  font-weight: 560;
  transition: color 0.3s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--koenig); }
.faq-plus {
  flex: none;
  font-family: var(--sans);
  font-size: 21px;
  font-weight: 400;
  color: var(--stahl-dunkel);
  transition: transform 0.35s ease;
  line-height: 1;
  position: relative;
  top: -1px;
}
.faq[open] .faq-plus { transform: rotate(45deg); }
.faq-inhalt { padding: 0 4px 30px; color: var(--tinte-70); max-width: 740px; font-size: 16.5px; }
.faq-inhalt p + p { margin-top: 14px; }

/* Sanftes Auf-/Zuklappen (progressive enhancement, Chrome 131+) */
:root { interpolate-size: allow-keywords; }
.faq::details-content {
  height: 0;
  overflow: clip;
  opacity: 0;
  transition: height 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease, content-visibility 0.45s allow-discrete;
}
.faq[open]::details-content {
  height: auto;
  opacity: 1;
}

/* ---------- Kontakt / Formular ---------- */
.kontakt {
  background:
    radial-gradient(900px 480px at 50% -10%, rgba(29, 68, 172, 0.22), transparent 60%),
    var(--nacht-900);
  color: var(--hell);
}
.kontakt-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  gap: clamp(48px, 6vw, 90px);
  align-items: start;
}
.kontakt-links h2 { color: var(--hell); }
.kontakt-links .lead { color: var(--hell-70); margin-top: 22px; }
.kontakt-punkte { list-style: none; margin-top: 40px; display: flex; flex-direction: column; }
.kontakt-punkte li {
  display: flex;
  gap: 18px;
  padding: 20px 0;
  border-top: 1px solid var(--linie-hell);
  color: var(--hell-70);
  font-size: 16px;
  align-items: baseline;
}
.kontakt-punkte .knr { font-family: var(--serif); font-size: 21px; color: var(--stahl); flex: none; }
.kontakt-punkte strong { color: var(--hell); display: block; font-weight: 600; font-size: 16.5px; }

.formular-karte {
  background: var(--creme);
  color: var(--tinte);
  padding: clamp(34px, 4vw, 52px);
  border: 1px solid var(--linie-hell-stark);
  position: relative;
}
/* Innere Doppellinie, Urkunden-Anmutung */
.formular-karte::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(19, 26, 46, 0.09);
  pointer-events: none;
}
.formular-kopf { margin-bottom: 28px; }
.formular-kopf h3 { font-size: 27px; }
.formular-kopf p { color: var(--tinte-70); font-size: 15px; margin-top: 8px; }

.schritt-anzeige {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stahl-dunkel);
  margin-bottom: 26px;
}
.schritt-anzeige .balken { flex: 1; height: 2px; background: var(--linie-dunkel); position: relative; overflow: hidden; }
.schritt-anzeige .balken::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--koenig);
  transform: scaleX(0.5);
  transform-origin: left;
  transition: transform 0.5s ease;
}
.formular[data-schritt="2"] .schritt-anzeige .balken::after { transform: scaleX(1); }

.feld-gruppe { display: none; flex-direction: column; gap: 20px; }
.formular[data-schritt="1"] .schritt-1 { display: flex; }
.formular[data-schritt="2"] .schritt-2 { display: flex; }

.feld { display: flex; flex-direction: column; gap: 8px; }
.feld-reihe { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.feld label {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tinte);
}
.feld input, .feld select {
  font-family: var(--sans);
  font-size: 16.5px;
  color: var(--tinte);
  background: #FFFFFE;
  border: 1px solid rgba(19, 26, 46, 0.28);
  border-radius: 0;
  padding: 15px 16px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}
.feld select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23131A2E' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
}
.feld input:focus, .feld select:focus {
  outline: none;
  border-color: var(--koenig);
  box-shadow: 0 0 0 3px rgba(29, 68, 172, 0.14);
}
.feld input.fehler, .feld select.fehler { border-color: var(--warn); }
.feld select:invalid { color: var(--stahl-dunkel); }

/* Honeypot unsichtbar */
.hp-feld { position: absolute; left: -6000px; top: 0; height: 1px; overflow: hidden; }

.einwilligung { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: var(--tinte-70); line-height: 1.55; }
.einwilligung input { flex: none; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--koenig); }
.einwilligung a { color: var(--koenig); }

.formular .btn { width: 100%; margin-top: 4px; }
.formular-fussnote {
  margin-top: 18px;
  text-align: center;
  font-size: 13px;
  color: var(--stahl-dunkel);
}
.formular-fehler {
  display: none;
  margin-top: 16px;
  padding: 13px 16px;
  border: 1px solid rgba(140, 59, 46, 0.4);
  border-left: 3px solid var(--warn);
  font-size: 14.5px;
  color: var(--warn);
  background: rgba(140, 59, 46, 0.06);
}
.formular-fehler.sichtbar { display: block; }

/* ---------- Footer ---------- */
.footer {
  background-color: var(--nacht-900);
  background-image: repeating-linear-gradient(0deg, rgba(243, 241, 233, 0.015) 0 1px, transparent 1px 6px);
  color: var(--hell-45);
  border-top: 1px solid var(--linie-hell);
  padding: 64px 0 44px;
  font-size: 14.5px;
}
.footer-innen { display: flex; flex-wrap: wrap; gap: 34px; align-items: flex-start; justify-content: space-between; }
.footer-marke { display: flex; flex-direction: column; gap: 14px; max-width: 400px; }
.footer-marke .marke { color: var(--hell); }
.footer-marke .marke .marke-siegel { width: 76px; height: 76px; }
.footer-marke p { color: var(--hell-45); }
.jahr-zeile {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--stahl);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.jahr-zeile::before, .jahr-zeile::after {
  content: '';
  width: 6px; height: 6px;
  border: 1px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.5;
}
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-links a { color: var(--hell-70); text-decoration: none; transition: color 0.3s ease; }
.footer-links a:hover { color: var(--hell); }
.footer-recht {
  width: 100%;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--linie-hell);
  font-size: 12.5px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

/* ---------- Unterseiten ---------- */
.unterseite { padding: 170px 0 100px; min-height: 70vh; }
.unterseite h1 { font-size: clamp(34px, 4.5vw, 52px); margin-bottom: 34px; }
.unterseite h2 { font-size: clamp(22px, 2.6vw, 28px); margin: 44px 0 14px; }
.unterseite h3 { margin: 28px 0 10px; }
.unterseite p, .unterseite li { color: var(--tinte-70); max-width: 780px; }
.unterseite p + p { margin-top: 12px; }
.unterseite ul { padding-left: 22px; margin: 12px 0; }

.danke-held {
  min-height: 100svh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(1000px 520px at 50% -15%, rgba(29, 68, 172, 0.25), transparent 60%),
    var(--nacht-800);
  color: var(--hell);
  padding: 140px 0 90px;
}
.danke-innen { max-width: 760px; }
.danke-innen h1 { color: var(--hell); }
.danke-innen .lead { color: var(--hell-70); margin-top: 24px; }
.danke-schritte { list-style: none; margin-top: 46px; counter-reset: ds; }
.danke-schritte li {
  counter-increment: ds;
  display: flex;
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid var(--linie-hell);
  color: var(--hell-70);
  align-items: baseline;
}
.danke-schritte li::before {
  content: counter(ds, decimal-leading-zero);
  font-family: var(--serif);
  font-size: 25px;
  color: var(--stahl);
  flex: none;
}
.danke-schritte strong { color: var(--hell); }
.danke-hinweis { margin-top: 40px; font-size: 15px; color: var(--hell-45); }

/* ---------- Consent-Banner ---------- */
.consent {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: min(660px, calc(100% - 32px));
  background: var(--creme);
  color: var(--tinte);
  border: 1px solid rgba(19, 26, 46, 0.3);
  box-shadow: 0 24px 60px -20px rgba(8, 18, 39, 0.55);
  padding: 26px 28px;
  z-index: 200;
  display: none;
}
.consent.sichtbar { display: block; }
.consent h3 { font-size: 20px; margin-bottom: 8px; }
.consent p { font-size: 14px; color: var(--tinte-70); }
.consent p a { color: var(--koenig); }
.consent-knoepfe { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.consent-knoepfe .btn { padding: 14px 18px; font-size: 13px; }

/* ---------- Scroll-Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--delay, 0s);
}
.reveal.sichtbar { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .pains, .diskretion-grid, .prinzipien-grid { grid-template-columns: 1fr; }
  .pain, .diskretion-stufe { border-left: none; border-top: 1px solid var(--linie-hell); }
  .pain:first-child { border-top: none; }
  .diskretion-stufe { border-top: 1px solid var(--linie-dunkel); }
  .diskretion-stufe:first-child { border-top: none; }
  .schritt { grid-template-columns: 74px 1fr; }
  .schritt-meta { grid-column: 2; flex-direction: row; gap: 34px; }
  .kontakt-grid { grid-template-columns: 1fr; }
  .quali-grid { grid-template-columns: 1fr; }
  .quali-karte.ja { border-right: none; border-bottom: 1px solid var(--linie-hell); }
  .zusicherung-grid { grid-template-columns: 1fr; }
  .zusicherung-punkt { border-left: none; border-top: 1px solid var(--linie-hell); }
  .zusicherung-punkt:first-child { border-top: none; }
  .zahlen-grid { grid-template-columns: 1fr; }
  .zahl-block { border-left: none; border-top: 1px solid var(--linie-dunkel); }
  .zahl-block:first-child { border-top: none; }
}

@media (max-width: 760px) {
  body { font-size: 16.5px; }
  .nav { display: none; }
  .nav.nav-immer { display: flex; gap: 18px; }
  .nav.nav-immer .btn { display: none; }
  .nav.offen {
    display: flex;
    position: fixed;
    inset: 0;
    background: var(--nacht-900);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    z-index: 90;
  }
  .nav.offen a { font-size: 17px; }
  .nav-burger {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 95;
  }
  .nav-burger span { width: 26px; height: 1.5px; background: var(--hell); transition: transform 0.35s ease, opacity 0.35s ease; }
  .nav-burger.offen span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-burger.offen span:nth-child(2) { opacity: 0; }
  .nav-burger.offen span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

  .hero { padding: 140px 0 100px; }
  .feld-reihe { grid-template-columns: 1fr; }
  .footer-recht { flex-direction: column; gap: 8px; }
  .scroll-hinweis { display: none; }
  .consent-knoepfe { grid-template-columns: 1fr; }
  .marke svg, .marke .marke-siegel { width: 38px; height: 38px; }
  .marke-name { font-size: 16.5px; letter-spacing: 0.18em; }
  .marke-sub { font-size: 7.5px; letter-spacing: 0.24em; white-space: nowrap; }
  .eyebrow { letter-spacing: 0.22em; font-size: 11.5px; gap: 10px; }
}

/* ---------- Reduzierte Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-hinweis::after { animation: none; }
  .schritt::before { transform: none; }
  .reframe-linie { transform: none; }
  .zeile-maske > span { transform: none; }
  .hero-siegel circle { stroke-dasharray: none; stroke-dashoffset: 0; animation: none; }
  .hero-siegel text { opacity: 1; animation: none; }
  .btn::after { display: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------- Licht-Rand: Blauschein folgt der Maus auf den Kachelkanten ---------- */
.licht-rand { position: relative; }
.licht-rand::after {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  background: radial-gradient(
    240px circle at var(--lx, 50%) var(--ly, 50%),
    rgba(140, 225, 240, 0.9),
    rgba(29, 68, 172, 0.45) 40%,
    transparent 72%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 1;
}
.licht-rand:hover::after { opacity: 1; }

/* ---------- Herkunft ---------- */
.herkunft-text { max-width: 760px; }
.herkunft-text p { color: var(--hell-70); font-size: clamp(17.5px, 1.7vw, 20px); line-height: 1.72; }
.herkunft-text p + p { margin-top: 26px; }
.herkunft-text em { color: var(--hell); font-family: var(--serif); font-size: clamp(19px, 1.9vw, 22px); line-height: 1.5; }
.herkunft-signatur { margin-top: 44px; display: flex; flex-direction: column; gap: 9px; }
.herkunft-name { font-family: var(--serif); font-style: italic; font-size: 27px; color: var(--hell); letter-spacing: 0.04em; }

/* Herkunft: Split-Screen — links Text, rechts randloses 16:9-Portrait als Höhengeber */
#herkunft { display: grid; grid-template-columns: 1fr 1fr; padding: 0; }
#herkunft .herkunft-inhalt {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(36px, 3.5vw, 52px) clamp(28px, 5vw, 84px) clamp(36px, 3.5vw, 52px)
           max(var(--gutter), calc((100vw - var(--max)) / 2));
}
#herkunft .herkunft-text { max-width: 640px; }
#herkunft h2 { font-size: clamp(26px, 2.6vw, 38px); }
#herkunft .sektion-kopf { margin-bottom: 30px; }
#herkunft .herkunft-text p { font-size: clamp(16px, 1.3vw, 18px); }
#herkunft .herkunft-signatur { margin-top: 24px; }
.herkunft-bild { margin: 0; width: 100%; min-width: 0; height: 100%; aspect-ratio: 16 / 9; overflow: hidden; }
.herkunft-bild img { width: 100%; height: 100%; object-fit: cover; object-position: 42% 30%; display: block; }
@media (max-width: 1020px) {
  #herkunft { grid-template-columns: 1fr; }
  #herkunft .herkunft-bild { order: -1; min-height: 0; }
  #herkunft .herkunft-inhalt { padding: clamp(48px, 8vw, 80px) var(--gutter); }
}

/* Hero-ICP: Widmungszeile im Material der Trust-Badges — Haarlinie statt Fläche */
.hero .hero-icp {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(16px, 1.6vw, 19px);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--hell);
  text-align: center;
  flex-wrap: wrap;
  justify-content: center;
  padding: 10px 22px;
  border: 1px solid var(--linie-hell);
  background: rgba(243, 241, 233, 0.05);
  max-width: 92%;
  margin-inline: auto;
}
.hero .hero-icp::before,
.hero .hero-icp::after { display: none; }

/* Hero-ICP mobil: eine Zeile, ohne Rauten, Groesse folgt der Viewport-Breite */
@media (max-width: 760px) {
  .hero .hero-icp {
    white-space: nowrap;
    font-size: min(3.4vw, 14px);
    padding: 7px 11px;
    gap: 0;
  }
  .hero .hero-icp::before,
  .hero .hero-icp::after { display: none; }
}

/* Header-Siegel: gross und in der Zeile — Wortmarke, Subline und Navigation
   mittig zur Siegelachse. Beim Scrollen (fest) schrumpft das Siegel und ragt
   ein Stueck unter die Leiste. */
.header .marke .marke-siegel {
  width: 120px;
  height: 120px;
  padding: 4px;
  border-radius: 50%;
  background: var(--nacht-900);
  border: 1px solid var(--nacht-700);
  transition: width 0.4s ease, height 0.4s ease, margin 0.4s ease;
}
.header .marke-name { font-size: 22px; }
.header.fest .marke .marke-siegel {
  width: 92px;
  height: 92px;
  margin: -10px 0 -32px;
}
@media (max-width: 760px) {
  .header .marke .marke-siegel { width: 88px; height: 88px; }
  .header .marke-name { font-size: 17px; }
  .header.fest .marke .marke-siegel { width: 72px; height: 72px; margin: -7px 0 -26px; }
}

/* Footer: Adresse und Kontakt */
.footer-kontakt { margin-top: 18px; font-size: 13.5px; line-height: 1.8; color: var(--hell-45); }
.footer-kontakt a { color: var(--hell-70); text-decoration: none; transition: color 0.3s ease; }
.footer-kontakt a:hover { color: var(--hell); }

/* Kaeufer-Seite */
.kaeufer-kopf { padding-top: clamp(170px, 24vh, 240px); }
.kaeufer-kopf h1 { font-size: clamp(38px, 5vw, 62px); }
.kaeufer-kopf h1 em { font-style: italic; }
.kaeufer-kopf .hero-cta { margin-top: 38px; display: flex; justify-content: center; }


/* ============================================================
   FALKENKONTOR · Erstgespräch-Formular auf eigener Seite (erstgespraech.html)
   Startseite: Kontakt-Sektion mit Karte und Knopf statt Formular
   ============================================================ */
.abschluss-karte { align-self: center; }
.abschluss-karte .btn { width: 100%; }
@media (max-width: 480px) {
  .abschluss-karte .btn { padding: 15px 10px; font-size: 12.5px; letter-spacing: 0.05em; gap: 8px; white-space: nowrap; }
}

/* Kopfzeile der Formularseite: ein einziger Weg zurück */
.kopf-zurueck {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  border: 1px solid var(--linie-hell-stark);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--hell);
  white-space: nowrap;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}
.kopf-zurueck:hover { border-color: var(--hell); background: rgba(243, 241, 233, 0.05); }
.kopf-zurueck:focus-visible { outline: 2px solid var(--koenig-hell); outline-offset: 3px; }
.kopf-zurueck .pfeil { transition: transform 0.3s ease; }
.kopf-zurueck:hover .pfeil { transform: translateX(-4px); }
.kopf-zurueck-kurz { display: none; }
@media (max-width: 640px) {
  /* Neben Siegel und Wortmarke bleibt am Handy nur Platz für das kurze Wort */
  .kopf-eng { gap: 12px; }
  .kopf-zurueck { padding: 10px 11px; font-size: 11px; letter-spacing: 0.08em; gap: 7px; }
  .kopf-zurueck-lang { display: none; }
  .kopf-zurueck-kurz { display: inline; }
}
@media (max-width: 440px) {
  /* Die Wortmarke mit Unterzeile ist hier breiter als bei FALKENGUT: am Handy bleibt nur der Pfeil */
  .kopf-zurueck { padding: 9px 13px; font-size: 14px; }
  .kopf-zurueck-kurz { display: none; }
}

.formular-seite {
  min-height: 100svh;
  background:
    radial-gradient(1000px 560px at 50% -12%, rgba(29, 68, 172, 0.3), transparent 62%),
    var(--nacht-900);
  color: var(--hell);
  padding: clamp(150px, 15vw, 190px) 0 clamp(70px, 9vw, 120px);
}
.formular-seite-innen { display: flex; flex-direction: column; align-items: center; }
.formular-seite-kopf { max-width: 760px; text-align: center; }
.formular-seite-kopf .eyebrow { color: var(--stahl); justify-content: center; }
.formular-seite-kopf h1 { color: var(--hell); font-size: clamp(36px, 5vw, 60px); margin-top: 18px; }
.formular-seite-kopf h1 em { font-style: italic; }
.formular-seite-kopf .lead { color: var(--hell-70); margin-top: 22px; }
.formular-seite-innen .formular-karte { width: 100%; max-width: 640px; margin-top: clamp(36px, 5vw, 56px); text-align: left; }
@media (max-width: 640px) {
  .formular-seite { padding-top: 124px; }
}
