/* ==========================================================================
   Schriften — lokal gehostet (keine Verbindung zu Google, DSGVO-freundlich)
   Lizenz: SIL Open Font License 1.1, siehe fonts/LICENSE-OFL.txt
   ========================================================================== */

@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('fonts/fraunces-latin-ext-opsz-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('fonts/fraunces-latin-opsz-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-display: swap;
  font-weight: 100 900;
  src: url('fonts/fraunces-latin-ext-opsz-italic.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-display: swap;
  font-weight: 100 900;
  src: url('fonts/fraunces-latin-opsz-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url('fonts/instrument-sans-latin-ext-wght-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url('fonts/instrument-sans-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* ==========================================================================
   ImmoGrow — Design Tokens
   Palette: Olivgrün als Markenfarbe, Weiß als Grundfläche, Schwarz als Akzent.
   ========================================================================== */

:root {
  /* Farben — Olivgrün steht für Vertrauen, Ordnung und Ruhe.
     Weiß trägt die Seite, Schwarz setzt nur gezielte Akzente. */
  --forest:        #2f3821;   /* Tiefes Oliv — dunkle Sektionen, Buttons */
  --forest-2:      #3d4a2b;   /* Helleres Oliv — Karten-Verläufe auf Dunkel */
  --forest-3:      #1f2616;   /* Dunkelstes Oliv — Headlines auf Hell, Footer */
  --onyx:          #0e0f0b;   /* Schwarz — Statement-Moment */
  --ink:           #1c2015;   /* Fließtext auf Weiß */
  --sand:          #c5d19e;   /* Helles Salbeigrün — Akzent auf Dunkel */
  --sand-dim:      #a3ae80;   /* Gedämpftes Salbei — Labels auf Dunkel */
  --moss:          #6b7a48;   /* Mittleres Oliv — Akzent auf Weiß */
  --paper:         #ffffff;   /* Grundweiß */
  --paper-2:       #f5f6f1;   /* Zartes Grünweiß — Flächen, Text auf Dunkel */
  --paper-line:    #e4e7dc;   /* Trennlinien */
  --white:         #ffffff;
  --blue:          #4f5f35;   /* (Altname) Markenoliv für Rahmen & Icons */
  --blue-deep:     #2f3821;

  /* Typografie */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Skala */
  --step-0: clamp(1rem, 0.95rem + 0.2vw, 1.0625rem);
  --step-1: clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem);
  --step-2: clamp(1.5rem, 1.3rem + 0.8vw, 2rem);
  --step-3: clamp(2.1rem, 1.7rem + 1.6vw, 3.1rem);
  --step-4: clamp(2.8rem, 2.1rem + 3vw, 4.6rem);

  /* Layout */
  --content-width: 1180px;
  --pad: clamp(1.25rem, 4vw, 3.5rem);
  --radius-s: 4px;
  --radius-m: 10px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ==========================================================================
   Reset & Basics
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, p, figure { margin: 0; }

ul { margin: 0; padding: 0; list-style: none; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

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

.wrap {
  width: 100%;
  max-width: var(--content-width);
  margin-inline: auto;
  padding-inline: var(--pad);
}

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

/* ==========================================================================
   Typography helpers
   ========================================================================== */

.display {
  font-family: var(--font-display);
  font-weight: 560;
  letter-spacing: -0.01em;
  line-height: 1.05;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--moss);
}

.kicker::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--moss);
}

.lede {
  font-size: var(--step-1);
  line-height: 1.55;
  color: var(--forest-3);
  max-width: 46ch;
}

.on-dark .lede { color: var(--paper-2); }
.on-dark .kicker { color: var(--sand-dim); }
.on-dark .kicker::before { background: var(--sand-dim); }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.35s var(--ease), background 0.25s ease, color 0.25s ease, border-color .25s ease;
}

.btn-primary {
  background: var(--forest);
  color: var(--paper);
}
.btn-primary:hover { transform: translateY(-2px); background: var(--forest-3); }

.on-dark .btn-primary {
  background: var(--white);
  color: var(--forest-3);
}
.on-dark .btn-primary:hover { background: var(--sand); }

.btn-ghost {
  border: 1px solid var(--paper-line);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--forest); transform: translateY(-2px); }

.on-dark .btn-ghost {
  border-color: rgba(197, 209, 158,0.35);
  color: var(--paper-2);
}
.on-dark .btn-ghost:hover { border-color: var(--sand); }

.btn svg { width: 16px; height: 16px; }

/* ==========================================================================
   Loader
   ========================================================================== */

body.is-loading { overflow: hidden; }

.loader {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--forest);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  transition: opacity 0.7s var(--ease), visibility 0.7s var(--ease);
}

.loader-mark {
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  color: var(--paper);
}
.loader-mark span { color: var(--sand-dim); font-style: italic; font-weight: 400; }

.loader-bar {
  width: 160px;
  height: 2px;
  background: rgba(197, 209, 158, 0.2);
  border-radius: 2px;
  overflow: hidden;
}
.loader-bar span {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--sand);
  animation: loader-fill 1s var(--ease) forwards;
}
@keyframes loader-fill { to { width: 100%; } }

.loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .loader { display: none; }
}

/* ==========================================================================
   Custom Cursor
   ========================================================================== */

.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--sand);
  pointer-events: none;
  z-index: 250;
  opacity: 0;
  mix-blend-mode: difference;
  transition: width 0.3s var(--ease), height 0.3s var(--ease),
              background 0.3s var(--ease), opacity 0.3s ease;
}
.cursor-dot.is-active { opacity: 1; }
.cursor-dot.is-hover { width: 38px; height: 38px; background: var(--paper); }

@media (pointer: coarse), (max-width: 900px) {
  .cursor-dot { display: none; }
}

/* ==========================================================================
   Marquee
   ========================================================================== */

.marquee {
  background: var(--forest-3);
  overflow: hidden;
  padding: 1.1rem 0;
  border-top: 1px solid rgba(197, 209, 158, 0.14);
  border-bottom: 1px solid rgba(197, 209, 158, 0.14);
}

.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 2.5rem;
  animation: marquee-scroll 26s linear infinite;
}

.marquee-track span {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.05rem, 2.2vw, 1.4rem);
  color: var(--sand-dim);
  white-space: nowrap;
}
.marquee-track span.dot { color: var(--moss); font-style: normal; }

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding-top: clamp(1.5rem, 3vw, 2.4rem);
  transition: padding 0.6s var(--ease);
}

.site-header.scrolled { padding-top: 0.85rem; }

.nav-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1.5rem, 4vw, 3rem);
  width: min(1080px, 92vw);
  padding: 1.5rem clamp(1.5rem, 3vw, 2.4rem);
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  transition: width 0.6s var(--ease), padding 0.6s var(--ease),
              background 0.5s var(--ease), border-color 0.5s var(--ease),
              box-shadow 0.5s var(--ease);
}

.site-header.scrolled .nav-pill {
  width: min(760px, 92vw);
  padding: 0.65rem 0.7rem 0.65rem 1.5rem;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-color: var(--paper-line);
  box-shadow: 0 16px 40px -18px rgba(20, 24, 12, 0.35);
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.6vw, 1.7rem);
  font-weight: 600;
  color: var(--paper);
  transition: font-size 0.6s var(--ease), color 0.5s var(--ease);
}
.logo span { color: var(--sand-dim); font-style: italic; font-weight: 400; }
.site-header.scrolled .logo { font-size: 1.05rem; color: var(--forest-3); }
.site-header.scrolled .logo span { color: var(--moss); }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1.4rem, 2.8vw, 2.1rem);
  font-size: 0.94rem;
  font-weight: 500;
}

.nav-links a {
  position: relative;
  padding-bottom: 3px;
  color: var(--paper);
  transition: color 0.5s var(--ease), font-size 0.6s var(--ease);
}
.site-header.scrolled .nav-links a { color: var(--forest-3); font-size: 0.88rem; }

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 1px;
  background: currentColor;
  transition: right 0.3s var(--ease);
}
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { right: 0; }

.header-actions { display: flex; align-items: center; gap: 1.1rem; }

.site-header .btn-primary {
  background: var(--white);
  color: var(--forest-3);
  padding: 0.7rem 1.3rem;
  font-size: 0.88rem;
  transition: background 0.5s var(--ease), color 0.5s var(--ease),
              padding 0.6s var(--ease), transform 0.35s var(--ease);
}
.site-header .btn-primary:hover { background: var(--sand); }
.site-header.scrolled .btn-primary {
  background: var(--forest);
  color: var(--paper);
  padding: 0.55rem 1.1rem;
}
.site-header.scrolled .btn-primary:hover { background: var(--forest-3); }

.nav-toggle {
  display: none;
  width: 34px; height: 34px;
  align-items: center;
  justify-content: center;
  color: var(--paper);
  transition: color 0.5s var(--ease);
}
.site-header.scrolled .nav-toggle { color: var(--forest-3); }
.nav-toggle svg { width: 22px; height: 22px; }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  color: var(--paper);
  padding: clamp(7.5rem, 14vw, 10.5rem) 0 clamp(4rem, 8vw, 6rem);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 55%;
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(18,22,12,0.94) 0%, rgba(18,22,12,0.86) 26%, rgba(18,22,12,0.55) 52%, rgba(18,22,12,0.28) 74%, rgba(18,22,12,0.12) 100%),
    linear-gradient(to top, rgba(18,22,12,0.55) 0%, rgba(18,22,12,0) 32%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(60% 55% at 90% 0%, rgba(197, 209, 158,0.14), transparent 60%);
  pointer-events: none;
}

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

.hero-copy { max-width: 640px; }

.hero-copy .kicker { margin-bottom: 1.2rem; }

.hero-heading {
  font-size: var(--step-4);
  color: var(--white);
  overflow: hidden;
}

.hero-heading .line {
  display: block;
  overflow: hidden;
}
.hero-heading .line span {
  display: block;
  transform: translateY(110%);
  transition: transform 0.9s var(--ease);
}
.hero.is-loaded .hero-heading .line:nth-child(1) span { transition-delay: 0.05s; }
.hero.is-loaded .hero-heading .line:nth-child(2) span { transition-delay: 0.14s; }
.hero.is-loaded .hero-heading .line:nth-child(3) span { transition-delay: 0.23s; }
.hero.is-loaded .hero-heading .line:nth-child(4) span { transition-delay: 0.32s; }
.hero.is-loaded .hero-heading .line span { transform: translateY(0); }

.hero-heading em {
  font-style: italic;
  color: var(--sand);
  font-weight: 400;
}

.hero-lede {
  margin-top: 1.6rem;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.8s var(--ease) 0.55s, transform 0.8s var(--ease) 0.55s;
}
.hero.is-loaded .hero-lede { opacity: 1; transform: translateY(0); }

.hero-actions {
  margin-top: 2.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.8s var(--ease) 0.7s, transform 0.8s var(--ease) 0.7s;
}
.hero.is-loaded .hero-actions { opacity: 1; transform: translateY(0); }

.hero-note {
  margin-top: 2.6rem;
  font-size: 0.85rem;
  color: var(--sand-dim);
  opacity: 0;
  transition: opacity 0.8s var(--ease) 0.85s;
}
.hero.is-loaded .hero-note { opacity: 1; }

/* Hero flow diagram */
.hero-art {
  position: relative;
  aspect-ratio: 1 / 1;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 1.1s var(--ease) 0.35s, transform 1.1s var(--ease) 0.35s;
}
.hero.is-loaded .hero-art { opacity: 1; transform: scale(1); }

.hero-art .flow-path {
  fill: none;
  stroke: var(--sand);
  stroke-width: 1.4;
  stroke-linecap: round;
  opacity: 0.75;
  stroke-dasharray: 6 8;
  animation: dash-flow 6s linear infinite;
}
.hero-art .flow-path.p2 { animation-duration: 7.5s; opacity: 0.5; }
.hero-art .flow-path.p3 { animation-duration: 5.2s; opacity: 0.6; }

@keyframes dash-flow {
  to { stroke-dashoffset: -140; }
}

.hero-art .node {
  fill: var(--forest);
  stroke: var(--sand-dim);
  stroke-width: 1;
}
.hero-art .node.lead {
  fill: var(--sand);
  stroke: none;
}
.hero-art text {
  font-family: var(--font-body);
  fill: var(--paper);
  font-size: 8px;
}
.hero-art .node-label.lead-label { fill: var(--forest-3); font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  .hero-art .flow-path { animation: none; stroke-dasharray: none; }
}

/* ==========================================================================
   Section basics
   ========================================================================== */

.section {
  padding: clamp(4.5rem, 9vw, 7.5rem) 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-head h2 {
  font-size: var(--step-3);
  margin-top: 0.6rem;
  color: var(--forest-3);
}
.on-dark .section-head h2 { color: var(--white); }

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Problem section — editorial list (not a sequence, so no numbering)
   ========================================================================== */

.problem-intro {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.problem-intro .aside {
  border-left: 1px solid var(--paper-line);
  padding-left: 1.5rem;
  font-size: 0.95rem;
  color: var(--forest-3);
}

.problem-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.78fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}

.problem-media {
  position: sticky;
  top: 120px;
  border-radius: var(--radius-m);
  overflow: hidden;
  box-shadow: 0 30px 60px -28px rgba(20, 24, 12, 0.4);
}
.problem-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}
.problem-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, rgba(47,56,33,0.62), rgba(14,15,11,0.28));
  mix-blend-mode: color;
  pointer-events: none;
}
.problem-list { border-top: 1px solid var(--paper-line); margin-top: clamp(2rem, 4vw, 3rem); }

.problem-item {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding: clamp(1.6rem, 3vw, 2.4rem) 0;
  border-bottom: 1px solid var(--paper-line);
}

.problem-item h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 560;
  color: var(--forest-3);
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
}

.problem-item h3::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--moss);
  flex: none;
}

.problem-item p {
  color: var(--forest-3);
  opacity: 0.85;
  max-width: 46ch;
}

/* ==========================================================================
   Process / Ablauf — pinned scroll sequence
   ========================================================================== */

.process { background: var(--forest); color: var(--paper); }

.process-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(2rem, 5vw, 4rem);
}

.process-sticky-col {
  position: sticky;
  top: 110px;
  align-self: start;
  height: min(560px, 72vh);
}

.process-visual {
  position: relative;
  height: 100%;
}

.process-phone {
  position: absolute;
  right: -7%;
  bottom: -7%;
  width: 42%;
  border-radius: 20px;
  box-shadow: 0 35px 70px -20px rgba(10, 12, 6, 0.65);
  transform: rotate(6deg);
  border: 1px solid rgba(197, 209, 158, 0.18);
  z-index: 1;
}

.process-panel-stack {
  position: relative;
  height: 100%;
  border-radius: var(--radius-m);
  background: linear-gradient(155deg, var(--forest-2), var(--forest-3));
  border: 1px solid rgba(197, 209, 158,0.14);
  overflow: hidden;
}

.process-panel {
  position: absolute;
  inset: 0;
  padding: clamp(2rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.process-panel.is-active { opacity: 1; transform: translateY(0); }

.process-panel .num {
  font-family: var(--font-display);
  font-size: 3.2rem;
  color: var(--sand);
  font-weight: 400;
  font-style: italic;
}

.process-panel h4 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 560;
  margin-top: 1.2rem;
  color: var(--white);
}

.process-panel p {
  margin-top: 0.85rem;
  color: var(--paper-2);
  opacity: 0.85;
  max-width: 40ch;
}

.process-dots {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.process-dots span {
  width: 22px; height: 3px;
  background: rgba(197, 209, 158,0.25);
  border-radius: 2px;
  transition: background 0.3s ease;
}
.process-panel.is-active .process-dots span.on { background: var(--sand); }

.process-steps { display: flex; flex-direction: column; gap: 0; }

.process-step {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
  border-top: 1px solid rgba(197, 209, 158,0.14);
}
.process-step:last-child { border-bottom: 1px solid rgba(197, 209, 158,0.14); }

.process-step .step-eyebrow {
  font-size: 0.85rem;
  color: var(--sand-dim);
  font-weight: 500;
}

.process-step h3 {
  font-family: var(--font-display);
  font-size: var(--step-2);
  margin-top: 0.6rem;
  color: var(--white);
  transition: color 0.3s ease;
}

.process-step p {
  margin-top: 0.9rem;
  color: var(--paper-2);
  max-width: 50ch;
  opacity: 0.75;
}

.process-step.is-active h3 { color: var(--sand); }

/* ==========================================================================
   Proof / Beweis — animated stats
   ========================================================================== */

.proof { background: var(--paper-2); }

.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--paper-line);
  border: 1px solid var(--paper-line);
  margin-top: 2.5rem;
}

.stat {
  background: var(--paper-2);
  padding: clamp(1.75rem, 3vw, 2.5rem) clamp(1.25rem, 2vw, 1.75rem);
}

.stat .num {
  font-family: var(--font-display);
  color: var(--forest);
  font-weight: 560;
}

.stat--hero .num { font-size: clamp(3rem, 6.5vw, 5.4rem); }
.stat--hero { padding-block: clamp(2.25rem, 4vw, 3.25rem); }
.stat--sub .num { font-size: clamp(1.6rem, 3vw, 2.15rem); color: var(--moss); }

.stat .label {
  margin-top: 0.6rem;
  font-size: 0.9rem;
  color: var(--forest-3);
  opacity: 0.8;
  max-width: 26ch;
}

.proof-foot {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2.5rem;
  align-items: center;
  justify-content: space-between;
}

.proof-disclaimer {
  font-size: 0.82rem;
  color: var(--forest-3);
  opacity: 0.65;
  max-width: 62ch;
}

.proof-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--forest);
  white-space: nowrap;
}
.proof-link svg { width: 15px; height: 15px; transition: transform 0.3s var(--ease); }
.proof-link:hover svg { transform: translateX(4px); }

/* ==========================================================================
   Benefits / Vorteile
   ========================================================================== */

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 3rem);
  margin-top: 2.5rem;
}

.benefit {
  border-top: 2px solid var(--forest);
  padding-top: 1.4rem;
}

.benefit h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--forest-3);
}

.benefit p {
  margin-top: 0.75rem;
  color: var(--forest-3);
  opacity: 0.8;
}

.benefits-closer {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--paper-line);
  font-family: var(--font-display);
  font-size: var(--step-2);
  color: var(--forest-3);
  max-width: 34ch;
}

.benefits-closer em {
  font-style: italic;
  color: var(--moss);
}

/* ==========================================================================
   Pillars — "Was wir tun" (zwei Bereiche)
   ========================================================================== */

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-top: clamp(2rem, 4vw, 2.75rem);
}

.pillar {
  padding: clamp(2rem, 4vw, 2.75rem);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-m);
  background: var(--white);
  transition: border-color 0.3s ease, transform 0.35s var(--ease), box-shadow 0.35s ease;
}
.pillar:hover {
  border-color: var(--blue);
  transform: translateY(-5px);
  box-shadow: 0 24px 44px -26px rgba(47, 56, 33, 0.35);
}

.pillar-icon { width: 34px; height: 34px; color: var(--blue); }

.pillar h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-top: 1.4rem;
  color: var(--ink);
}

.pillar p {
  margin-top: 0.85rem;
  color: var(--ink);
  opacity: 0.72;
}

.pillar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.6rem;
}
.pillar-tags li {
  list-style: none;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: var(--paper-2);
  color: var(--ink);
}

.pillars-closer {
  margin-top: clamp(2rem, 4vw, 2.75rem);
  font-size: 0.98rem;
  color: var(--ink);
  opacity: 0.7;
  max-width: 62ch;
}

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

/* Benefit figures (Rechenbeispiele) */
.benefit-figure {
  margin-top: 0.9rem;
  font-size: clamp(2.1rem, 4vw, 2.7rem);
  color: var(--forest);
}
.benefit-caption {
  margin-top: 0.2rem;
  font-size: 0.85rem;
  color: var(--forest-3);
  opacity: 0.65;
}
.benefit p:not(.benefit-caption):not(.benefit-assumption) {
  margin-top: 0.9rem;
}
.benefit-assumption {
  margin-top: 0.9rem !important;
  padding-top: 0.9rem;
  border-top: 1px solid var(--paper-line);
  font-size: 0.8rem !important;
  color: var(--forest-3);
  opacity: 0.6 !important;
}

/* ==========================================================================
   Lead-Beispielkarte (innerhalb Ablauf-Sektion, dunkel)
   ========================================================================== */

.lead-sample {
  margin-top: clamp(4rem, 8vw, 6rem);
  padding-top: clamp(3rem, 6vw, 4.5rem);
  border-top: 1px solid rgba(197, 209, 158,0.14);
}

.lead-sample-head h3 {
  font-family: var(--font-display);
  font-size: var(--step-2);
  color: var(--white);
  margin-top: 0.6rem;
}

.conversion-grid {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  display: grid;
  grid-template-columns: 0.72fr auto 1fr;
  gap: clamp(1.25rem, 3vw, 2.25rem);
  align-items: center;
}

.conversion-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--sand-dim);
  margin-bottom: 0.8rem;
}

/* Auf dem rotierten Foto sitzt das Label als Badge, nicht im normalen Textfluss
   (sonst entsteht durch die Rotation eine hässliche Lücke). */
.conversion-chat .conversion-label {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 2;
  margin: 0;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(10, 10, 14, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.conversion-chat {
  position: relative;
}
.conversion-chat img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 18px;
  transform: rotate(-3deg);
  box-shadow: 0 30px 60px -22px rgba(10, 12, 6, 0.65);
  border: 1px solid rgba(197, 209, 158, 0.18);
}

.conversion-arrow {
  color: var(--sand);
  width: 60px;
  opacity: 0.8;
}
.conversion-arrow svg { width: 100%; height: auto; }
.conversion-arrow .arrow-line {
  stroke-dasharray: 50;
  stroke-dashoffset: 50;
  transition: stroke-dashoffset 1s var(--ease) 0.3s;
}
.reveal.is-visible .conversion-arrow .arrow-line { stroke-dashoffset: 0; }

.conversion-result .lead-card { margin: 0; }

@media (max-width: 900px) {
  .conversion-grid {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .conversion-arrow { transform: rotate(90deg); width: 40px; margin: 0.5rem 0; }
  .conversion-chat { width: 60%; max-width: 260px; }
  .conversion-result { width: 100%; }
}

.lead-card {
  background: linear-gradient(155deg, var(--forest-2), var(--forest-3));
  border: 1px solid rgba(197, 209, 158,0.16);
  border-radius: var(--radius-m);
  padding: clamp(1.75rem, 3vw, 2.25rem);
}

.lead-card-top {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(197, 209, 158,0.16);
}

.lead-tag {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--forest-3);
  background: var(--sand);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
}

.lead-card-top h4 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--white);
}

.lead-fields { margin: 0; padding: 1.1rem 0 0.2rem; }
.lead-fields > div {
  display: grid;
  grid-template-columns: 11rem 1fr;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(197, 209, 158,0.08);
}
.lead-fields dt { color: var(--sand-dim); font-size: 0.88rem; }
.lead-fields dd { margin: 0; color: var(--paper-2); font-size: 0.94rem; }

.lead-card-foot {
  margin-top: 1.1rem;
  font-weight: 600;
  color: var(--sand);
}

@media (max-width: 900px) {
  .lead-sample { grid-template-columns: 1fr; }
  .lead-fields > div { grid-template-columns: 1fr; gap: 0.2rem; }
}

/* ==========================================================================
   Pricing teaser
   ========================================================================== */

.pricing-teaser {
  background: var(--forest);
  color: var(--paper);
  border-radius: var(--radius-m);
  padding: clamp(2.5rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(2rem, 5vw, 3rem);
  align-items: center;
}

.pricing-teaser h2 {
  font-family: var(--font-display);
  font-size: var(--step-3);
  color: var(--white);
}

.pricing-teaser p { margin-top: 1rem; color: var(--paper-2); max-width: 46ch; }

.pricing-figures {
  display: flex;
  gap: clamp(1.75rem, 3vw, 2.75rem);
  flex-wrap: wrap;
}

.pricing-figures .figure { max-width: 190px; }

.figure-icon {
  width: 24px;
  height: 24px;
  color: var(--sand);
}

.pricing-figures .figure .figure-label {
  margin-top: 0.7rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 560;
  color: var(--white);
}
.pricing-figures .figure .caption {
  margin-top: 0.35rem;
  font-size: 0.85rem;
  color: var(--sand-dim);
}

.pricing-teaser .btn-primary { margin-top: 1.75rem; }

/* ==========================================================================
   Risiko-Badge (7 Tage kostenlose Projektinstallation)
   ========================================================================== */

.risk-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  background: var(--paper-2);
  border: 1px solid var(--blue);
  color: var(--ink);
  font-size: 0.92rem;
  margin-bottom: 2rem;
}
.risk-badge svg { width: 20px; height: 20px; color: var(--blue); flex: none; }
.risk-badge strong { color: var(--blue-deep); font-weight: 700; }

@media (max-width: 560px) {
  .risk-badge { font-size: 0.85rem; }
}

/* ==========================================================================
   Final CTA
   ========================================================================== */

.cta-final {
  text-align: left;
  max-width: 640px;
}

.cta-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.cta-media {
  border-radius: var(--radius-m);
  overflow: hidden;
  box-shadow: 0 30px 60px -28px rgba(20, 24, 12, 0.35);
}
.cta-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transform: scale(1.14);
  transition: transform 1.6s var(--ease);
}
.cta-media.is-visible img,
.reveal.is-visible.cta-media img { transform: scale(1); }

.cta-final h2 {
  font-family: var(--font-display);
  font-size: var(--step-3);
  color: var(--forest-3);
}
.on-dark .cta-final h2 { color: var(--white); }

.cta-final p { margin-top: 1.1rem; }

.cta-final .btn { margin-top: 2rem; }

/* ==========================================================================
   Page-Intro (dunkles Kopfband für Unterseiten)
   ========================================================================== */

.page-intro {
  background: var(--forest);
  color: var(--paper);
  padding: clamp(8rem, 14vw, 10.5rem) 0 clamp(3.5rem, 7vw, 5rem);
}
.page-intro h1 {
  font-size: var(--step-4);
  color: var(--white);
  margin-top: 0.9rem;
  max-width: 18ch;
}

/* ==========================================================================
   Feature-Liste (Lösungen-Seite)
   ========================================================================== */

.feature-list {
  margin-top: 1.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.feature-list li {
  list-style: none;
  position: relative;
  padding-left: 1.9rem;
  font-size: 0.97rem;
  color: var(--ink);
  opacity: 0.82;
}
.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--blue);
  font-weight: 700;
}
.on-dark .feature-list li { color: var(--paper-2); }

/* ==========================================================================
   Solution-Layout (Lösungen-Seite: Text + Bild/Visual)
   ========================================================================== */

.solution-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.solution-media img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius-m);
  box-shadow: 0 30px 60px -28px rgba(20, 24, 12, 0.35);
  transform: rotate(-2deg);
  display: block;
}

.waveform {
  height: min(340px, 48vh);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.5rem, 1.6vw, 0.95rem);
  padding: 2rem;
  border-radius: var(--radius-m);
  background: linear-gradient(155deg, var(--forest-2), var(--forest-3));
  border: 1px solid rgba(197, 209, 158, 0.18);
}
.waveform span {
  display: block;
  width: clamp(6px, 1.3vw, 11px);
  border-radius: 999px;
  background: var(--blue);
  animation: wave 1.3s ease-in-out infinite;
}
.waveform span:nth-child(1) { height: 28%; animation-delay: 0s; }
.waveform span:nth-child(2) { height: 55%; animation-delay: 0.1s; }
.waveform span:nth-child(3) { height: 82%; animation-delay: 0.2s; }
.waveform span:nth-child(4) { height: 100%; animation-delay: 0.3s; }
.waveform span:nth-child(5) { height: 72%; animation-delay: 0.4s; }
.waveform span:nth-child(6) { height: 48%; animation-delay: 0.5s; }
.waveform span:nth-child(7) { height: 32%; animation-delay: 0.6s; }

@keyframes wave {
  0%, 100% { transform: scaleY(0.45); }
  50% { transform: scaleY(1); }
}

@media (prefers-reduced-motion: reduce) {
  .waveform span { animation: none; transform: scaleY(0.7); }
}

@media (max-width: 900px) {
  .solution-layout { grid-template-columns: 1fr; }
  .solution-media { order: -1; max-width: 340px; margin-inline: auto; width: 100%; }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--forest-3);
  color: var(--paper-2);
  padding: clamp(3rem, 6vw, 4.5rem) 0 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid rgba(197, 209, 158,0.14);
}

.footer-top .logo { color: var(--white); }
.footer-top .logo span { color: var(--sand-dim); }

.footer-tag {
  margin-top: 1rem;
  font-size: 0.92rem;
  color: var(--paper-2);
  opacity: 0.7;
  max-width: 34ch;
}

.footer-col h4 {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--sand-dim);
  margin-bottom: 1rem;
}

.footer-col ul { display: flex; flex-direction: column; gap: 0.65rem; font-size: 0.92rem; }
.footer-col a:hover { color: var(--sand); }

.footer-bottom {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.82rem;
  opacity: 0.55;
}

/* ==========================================================================
   Mobile nav
   ========================================================================== */

.nav-scrim {
  position: fixed;
  inset: 0;
  background: var(--forest-3);
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 var(--pad);
  transform: translateY(-100%);
  transition: transform 0.5s var(--ease);
}
.nav-scrim.is-open { transform: translateY(0); }

.nav-close {
  position: absolute;
  top: 1.5rem;
  right: var(--pad);
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--paper);
}
.nav-close svg { width: 22px; height: 22px; }

.nav-scrim ul { display: flex; flex-direction: column; gap: 1.1rem; }
.nav-scrim a {
  font-family: var(--font-display);
  font-size: 2.1rem;
  color: var(--paper);
}
.nav-scrim .btn { margin-top: 2rem; align-self: flex-start; }

/* ==========================================================================
   Boom — großformatiger Zahlen-/Statement-Moment (dunkler Kontrast-Break)
   ========================================================================== */

.boom {
  background: var(--onyx);
  color: var(--paper);
}

.boom-figure {
  position: relative;
  margin-top: 2.2rem;
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.boom-chart {
  position: absolute;
  right: 2%;
  top: -3.5rem;
  width: min(360px, 46vw);
  opacity: 0.55;
  pointer-events: none;
}
.boom-chart-line {
  fill: none;
  stroke: var(--moss);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 420;
  stroke-dashoffset: 420;
  transition: stroke-dashoffset 1.7s var(--ease) 0.3s;
}
.reveal.is-visible .boom-chart-line { stroke-dashoffset: 0; }
.boom-chart-dot {
  fill: var(--sand);
  opacity: 0;
  transition: opacity 0.4s ease 1.8s;
}
.reveal.is-visible .boom-chart-dot { opacity: 1; }

@media (max-width: 900px) {
  .boom-chart { display: none; }
}

.boom-number {
  font-size: clamp(3.4rem, 13.5vw, 8.8rem);
  line-height: 0.9;
  color: var(--sand);
  font-weight: 560;
  white-space: nowrap;
}

.boom-caption {
  max-width: 24ch;
  padding-bottom: clamp(0.6rem, 2vw, 1.4rem);
  font-size: 1.05rem;
  color: var(--paper-2);
  opacity: 0.82;
}

.boom-statement {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  font-size: clamp(2.1rem, 6vw, 4.2rem);
  line-height: 1.12;
  color: var(--white);
  max-width: 16ch;
}

.boom-statement em {
  font-style: italic;
  font-weight: 400;
  color: var(--sand);
}

.boom-disclaimer {
  margin-top: clamp(2rem, 4vw, 3rem);
  font-size: 0.8rem;
  color: var(--paper-2);
  opacity: 0.5;
  max-width: 60ch;
}

@media (max-width: 900px) {
  .boom-figure { align-items: flex-start; flex-direction: column; gap: 1rem; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }

  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { max-width: 340px; margin-inline: auto; order: -1; margin-bottom: 1rem; }
  .hero-heading { font-size: clamp(2.3rem, 8vw, 3rem); }

  .problem-layout { grid-template-columns: 1fr; }
  .problem-media { position: static; margin-top: 2.5rem; }
  .problem-media img { aspect-ratio: 16 / 10; }
  .problem-item { grid-template-columns: 1fr; gap: 0.6rem; }
  .cta-layout { grid-template-columns: 1fr; }
  .cta-media { order: -1; }

  .process-grid { grid-template-columns: 1fr; }
  .process-sticky-col { position: static; height: auto; margin-bottom: 2rem; }
  .process-panel-stack { height: 320px; margin-right: 0; }
  .process-phone { display: none; }

  .proof-grid { grid-template-columns: repeat(2, 1fr); }

  .benefits-grid { grid-template-columns: 1fr; gap: 2rem; }

  .pricing-teaser { grid-template-columns: 1fr; text-align: left; }

  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
}

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


/* ==========================================================================
   Netzwerk — Ihr System ↔ neue Website ↔ Interessenten
   ========================================================================== */

.network-section { background: var(--forest); color: var(--paper); }

.network {
  display: grid;
  grid-template-columns: 1fr minmax(90px, 0.55fr) 1.15fr minmax(90px, 0.55fr) 1fr;
  align-items: center;
  margin-top: clamp(1rem, 3vw, 2rem);
}

.net-node {
  position: relative;
  padding: clamp(1.5rem, 2.6vw, 2rem);
  border-radius: var(--radius-m);
  border: 1px solid rgba(197, 209, 158, 0.2);
  background: rgba(255, 255, 255, 0.03);
}
.net-node h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--white);
  margin-top: 0.5rem;
}
.net-node ul { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.45rem; }
.net-node li { font-size: 0.9rem; color: var(--paper-2); opacity: 0.8; }
.net-eyebrow { font-size: 0.78rem; font-weight: 600; color: var(--sand-dim); }

.net-node--core {
  background: var(--white);
  border-color: var(--white);
  padding: clamp(1.9rem, 3.2vw, 2.6rem);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.55);
  z-index: 1;
}
.net-node--core h3 { color: var(--forest-3); font-size: 1.6rem; }
.net-node--core li { color: var(--ink); opacity: 0.78; }
.net-node--core .net-eyebrow { color: var(--moss); }
.net-node--core::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: calc(var(--radius-m) + 8px);
  border: 1px solid rgba(197, 209, 158, 0.35);
  animation: net-pulse 3.2s ease-in-out infinite;
  pointer-events: none;
}
@keyframes net-pulse {
  0%, 100% { opacity: 0.25; transform: scale(0.985); }
  50% { opacity: 1; transform: scale(1.01); }
}

.net-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  padding: 0 0.4rem;
}
.net-line {
  position: relative;
  display: block;
  width: 100%;
  height: 1px;
  background: rgba(197, 209, 158, 0.35);
  overflow: visible;
}
.net-line i {
  position: absolute;
  top: -3px;
  left: 0;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--sand);
  box-shadow: 0 0 12px var(--sand);
  animation: net-travel 2.6s var(--ease) infinite;
}
.net-link:nth-of-type(4) .net-line i { animation-delay: 1.3s; }
@keyframes net-travel {
  0% { left: 0; opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { left: calc(100% - 7px); opacity: 0; }
}
.net-label {
  font-size: 0.74rem;
  text-align: center;
  color: var(--sand-dim);
  line-height: 1.35;
}

@media (prefers-reduced-motion: reduce) {
  .net-line i, .net-node--core::before { animation: none; }
}

@media (max-width: 900px) {
  .network { grid-template-columns: 1fr; gap: 0; }
  .net-link { flex-direction: row; justify-content: center; padding: 0.6rem 0; height: 70px; }
  .net-line { width: 1px; height: 100%; }
  .net-line i { top: 0; left: -3px; animation-name: net-travel-v; }
  .net-label { text-align: left; max-width: 16ch; }
  @keyframes net-travel-v {
    0% { top: 0; opacity: 0; }
    15% { opacity: 1; }
    85% { opacity: 1; }
    100% { top: calc(100% - 7px); opacity: 0; }
  }
}

/* ==========================================================================
   Drei Bausteine / Vergleich
   ========================================================================== */

.pillars-grid--3 { grid-template-columns: repeat(3, 1fr); }
.pillar h3 { font-size: 1.35rem; }

.compare-section { background: var(--paper-2); }

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--paper-line);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-m);
  overflow: hidden;
}
.compare-col { background: var(--white); padding: clamp(2rem, 4vw, 2.8rem); }
.compare-col h3 { font-family: var(--font-display); font-size: 1.45rem; color: var(--forest-3); }
.compare-col ul { margin-top: 1.4rem; display: flex; flex-direction: column; gap: 0.9rem; }
.compare-col li {
  list-style: none;
  position: relative;
  padding-left: 1.8rem;
  color: var(--ink);
  opacity: 0.82;
}
.compare-col li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 1.5px solid var(--moss);
}
.compare-col--new { background: var(--forest); }
.compare-col--new h3 { color: var(--white); }
.compare-col--new li { color: var(--paper-2); opacity: 0.88; }
.compare-col--new li::before { background: var(--sand); border-color: var(--sand); }

@media (max-width: 900px) {
  .pillars-grid--3 { grid-template-columns: 1fr; }
  .compare { grid-template-columns: 1fr; }
}

/* Boom: Statement zuerst, Linie im freien Raum rechts oben */
.boom-statement { max-width: 20ch; margin-top: 1.6rem; }
.boom .boom-figure { margin-top: clamp(3rem, 6vw, 4.5rem); }
.boom .boom-chart { top: auto; bottom: calc(100% + 2rem); right: 0; }

.pillar > h3:first-child { margin-top: 0; line-height: 1.25; }

/* ==========================================================================
   Expand-Row — Karten wachsen beim Hover, die anderen treten zurück
   ========================================================================== */

.xrow {
  display: flex;
  align-items: stretch;
  gap: clamp(0.8rem, 1.6vw, 1.25rem);
  min-height: 420px;
  margin-top: clamp(1rem, 3vw, 2rem);
}
.xrow--dark { gap: 0; }

.xcard {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.6rem, 2.6vw, 2.4rem);
  border-radius: 20px;
  overflow: hidden;
  outline: none;
  transition: flex-grow 0.7s var(--ease), background 0.5s var(--ease),
              color 0.5s var(--ease), opacity 0.5s var(--ease),
              border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

/* Weiches Licht, das beim Aktivieren aufleuchtet */
.xcard::before {
  content: "";
  position: absolute;
  inset: auto -30% -40% auto;
  width: 120%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.35), transparent 62%);
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.6s var(--ease), transform 0.8s var(--ease);
  pointer-events: none;
}

.xcard-icon {
  position: absolute;
  top: clamp(1.6rem, 2.6vw, 2.4rem);
  left: clamp(1.6rem, 2.6vw, 2.4rem);
  width: 56px; height: 56px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  transition: background 0.5s var(--ease), color 0.5s var(--ease), transform 0.6s var(--ease);
}
.xcard-icon svg { width: 28px; height: 28px; }

.xcard-eyebrow { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.02em; }
.xcard h3 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.2vw, 1.95rem);
  line-height: 1.12;
  margin-top: 0.45rem;
}
.xcard-text { margin-top: 0.7rem; font-size: 0.97rem; max-width: 34ch; opacity: 0.8; }

.xcard-detail {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.6s var(--ease), opacity 0.4s ease, margin 0.6s var(--ease);
}
.xcard-detail ul { overflow: hidden; display: flex; flex-wrap: wrap; gap: 0.45rem; min-height: 0; }
.xcard-detail li {
  list-style: none;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  white-space: nowrap;
}

/* --- Dunkle Variante (Sektion "Unsere Lösung") --- */
.xrow--dark .xcard {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(197, 209, 158, 0.2);
  color: var(--paper);
}
.xrow--dark .xcard-icon { background: rgba(197, 209, 158, 0.12); color: var(--sand); }
.xrow--dark .xcard-eyebrow { color: var(--sand-dim); }
.xrow--dark .xcard h3 { color: var(--white); }
.xrow--dark .xcard-detail li { background: rgba(197, 209, 158, 0.12); color: var(--paper-2); }

/* Kern-Karte ist standardmäßig hervorgehoben */
.xrow--dark .xcard--core { flex-grow: 1.45; background: var(--white); border-color: var(--white); color: var(--ink); }
.xrow--dark .xcard--core .xcard-icon { background: var(--forest); color: var(--sand); }
.xrow--dark .xcard--core .xcard-eyebrow { color: var(--moss); }
.xrow--dark .xcard--core h3 { color: var(--forest-3); }
.xrow--dark .xcard--core .xcard-detail li { background: var(--paper-2); color: var(--ink); }
.xcard--core .xcard-detail { grid-template-rows: 1fr; opacity: 1; margin-top: 1.2rem; }

/* --- Helle Variante (Sektion "Alles aus einer Hand") --- */
.xrow--light .xcard { background: var(--paper-2); border: 1px solid var(--paper-line); color: var(--ink); }
.xrow--light .xcard-icon { background: var(--white); color: var(--forest); box-shadow: 0 8px 20px -12px rgba(20, 24, 12, 0.3); }
.xrow--light .xcard-eyebrow { color: var(--moss); }
.xrow--light .xcard h3 { color: var(--forest-3); }
.xrow--light .xcard-detail li { background: var(--white); color: var(--ink); }

/* --- Interaktion nur auf Geräten mit Maus --- */
@media (hover: hover) and (min-width: 901px) {
  .xrow:hover .xcard, .xrow:focus-within .xcard { flex-grow: 0.8; opacity: 0.55; }
  .xrow:hover .xcard .xcard-detail, .xrow:focus-within .xcard .xcard-detail { grid-template-rows: 0fr; opacity: 0; margin-top: 0; }

  .xrow--dark:hover .xcard, .xrow--dark:focus-within .xcard {
    background: rgba(255, 255, 255, 0.04); border-color: rgba(197, 209, 158, 0.2); color: var(--paper);
  }
  .xrow--dark:hover .xcard h3, .xrow--dark:focus-within .xcard h3 { color: var(--white); }
  .xrow--dark:hover .xcard .xcard-icon, .xrow--dark:focus-within .xcard .xcard-icon { background: rgba(197, 209, 158, 0.12); color: var(--sand); }
  .xrow--dark:hover .xcard .xcard-eyebrow, .xrow--dark:focus-within .xcard .xcard-eyebrow { color: var(--sand-dim); }

  /* Aktive Karte */
  .xrow .xcard:hover, .xrow .xcard:focus { flex-grow: 1.9; opacity: 1; }
  .xrow .xcard:hover .xcard-detail, .xrow .xcard:focus .xcard-detail { grid-template-rows: 1fr; opacity: 1; margin-top: 1.2rem; }
  .xrow .xcard:hover::before, .xrow .xcard:focus::before { opacity: 1; transform: scale(1); }
  .xrow .xcard:hover .xcard-icon, .xrow .xcard:focus .xcard-icon { transform: scale(1.12) rotate(-6deg); }

  .xrow--dark .xcard:hover, .xrow--dark .xcard:focus {
    background: var(--sand); border-color: var(--sand); color: var(--forest-3);
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6);
  }
  .xrow--dark .xcard:hover h3, .xrow--dark .xcard:focus h3 { color: var(--forest-3); }
  .xrow--dark .xcard:hover .xcard-eyebrow, .xrow--dark .xcard:focus .xcard-eyebrow { color: var(--forest); }
  .xrow--dark .xcard:hover .xcard-icon, .xrow--dark .xcard:focus .xcard-icon { background: var(--forest); color: var(--sand); }
  .xrow--dark .xcard:hover .xcard-detail li, .xrow--dark .xcard:focus .xcard-detail li { background: rgba(255, 255, 255, 0.55); color: var(--forest-3); }

  .xrow--light .xcard:hover, .xrow--light .xcard:focus {
    background: var(--forest); border-color: var(--forest); color: var(--paper);
    box-shadow: 0 40px 70px -35px rgba(20, 24, 12, 0.55);
  }
  .xrow--light .xcard:hover h3, .xrow--light .xcard:focus h3 { color: var(--white); }
  .xrow--light .xcard:hover .xcard-eyebrow, .xrow--light .xcard:focus .xcard-eyebrow { color: var(--sand); }
  .xrow--light .xcard:hover .xcard-icon, .xrow--light .xcard:focus .xcard-icon { background: var(--sand); color: var(--forest-3); }
  .xrow--light .xcard:hover .xcard-detail li, .xrow--light .xcard:focus .xcard-detail li { background: rgba(197, 209, 158, 0.16); color: var(--paper-2); }
  .xrow--light .xcard:hover::before, .xrow--light .xcard:focus::before { background: radial-gradient(circle, rgba(197, 209, 158, 0.28), transparent 62%); }
}

/* Verbindungslinien zwischen den Karten */
.xlink { flex: 0 0 clamp(36px, 4vw, 60px); display: flex; align-items: center; }
.xlink .net-line { width: 100%; }
.xlink:nth-of-type(2) .net-line i { animation-delay: 1.3s; }

.xrow-hint { margin-top: 1.4rem; font-size: 0.82rem; color: var(--sand-dim); }
@media (hover: none), (max-width: 900px) { .xrow-hint { display: none; } }

/* Touch & Mobil: alles sichtbar, untereinander */
@media (hover: none), (max-width: 900px) {
  .xcard-detail { grid-template-rows: 1fr; opacity: 1; margin-top: 1.2rem; }
}
@media (max-width: 900px) {
  .xrow { flex-direction: column; min-height: 0; }
  .xcard { min-height: 300px; }
  .xlink { flex: 0 0 56px; justify-content: center; }
  .xlink .net-line { width: 1px; height: 100%; }
  .xlink .net-line i { top: 0; left: -3px; animation-name: net-travel-v; }
}

/* ==========================================================================
   Finale — Einstieg + Termin kombiniert
   ========================================================================== */

.finale { background: var(--forest); color: var(--paper); overflow: hidden; }

.finale-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}
.finale-text h2 { font-size: var(--step-3); color: var(--white); margin-top: 0.6rem; max-width: 16ch; }
.finale-text .lede { margin-top: 1.1rem; }

.finale-steps {
  position: relative;
  margin: 2.4rem 0 2.4rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  counter-reset: fs;
}
.finale-steps::before, .finale-steps::after {
  content: "";
  position: absolute;
  top: 7px; left: 7px; right: calc(33% - 7px);
  height: 1px;
  background: rgba(197, 209, 158, 0.25);
}
.finale-steps::after {
  background: var(--sand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.6s var(--ease) 0.4s;
}
.reveal.is-visible .finale-steps::after { transform: scaleX(1); }

.finale-steps li { list-style: none; position: relative; display: flex; flex-direction: column; gap: 0.25rem; }
.fs-dot {
  width: 15px; height: 15px;
  border-radius: 50%;
  border: 1.5px solid var(--sand);
  background: var(--forest);
  margin-bottom: 0.9rem;
  position: relative;
  z-index: 1;
  transition: background 0.4s ease;
}
.reveal.is-visible .finale-steps li:nth-child(1) .fs-dot { background: var(--sand); transition-delay: 0.4s; }
.reveal.is-visible .finale-steps li:nth-child(2) .fs-dot { background: var(--sand); transition-delay: 1.1s; }
.reveal.is-visible .finale-steps li:nth-child(3) .fs-dot { background: var(--sand); transition-delay: 1.8s; }
.finale-steps strong { font-family: var(--font-display); font-size: 1.2rem; font-weight: 560; color: var(--white); }
.finale-steps em { font-style: normal; font-size: 0.85rem; color: var(--sand-dim); line-height: 1.4; }

.finale-media { position: relative; }
.finale-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 22px;
  display: block;
  clip-path: inset(18% 18% 18% 18% round 22px);
  transform: scale(1.12);
  transition: clip-path 1.4s var(--ease), transform 1.8s var(--ease);
}
.finale-media.is-visible img { clip-path: inset(0 0 0 0 round 22px); transform: scale(1); }

.finale-badge {
  position: absolute;
  left: -2rem;
  bottom: 2.2rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  max-width: 300px;
  padding: 1rem 1.25rem;
  border-radius: 16px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.55);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease) 1s, transform 0.7s var(--ease) 1s;
}
.finale-media.is-visible .finale-badge { opacity: 1; transform: translateY(0); animation: float-soft 5s ease-in-out 2s infinite; }
.finale-badge svg { width: 30px; height: 30px; flex: none; color: var(--forest); }
.finale-badge span { font-size: 0.82rem; line-height: 1.4; opacity: 0.85; }
.finale-badge strong { display: block; font-size: 0.9rem; color: var(--forest-3); margin-bottom: 0.15rem; }

@keyframes float-soft { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.finale-note { margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: 1.75rem; border-top: 1px solid rgba(197, 209, 158, 0.18); font-size: 0.92rem; color: var(--paper-2); opacity: 0.8; }
.finale-note a { color: var(--sand); text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  .finale-media img { clip-path: none; transform: none; }
  .finale-badge { opacity: 1; transform: none; animation: none; }
}
@media (max-width: 900px) {
  .finale-grid { grid-template-columns: 1fr; }
  .finale-steps { grid-template-columns: 1fr; gap: 1.1rem; }
  .finale-steps::before, .finale-steps::after { top: 7px; bottom: 7px; left: 7px; right: auto; width: 1px; height: auto; }
  .finale-steps::after { transform: scaleY(0); transform-origin: top; }
  .reveal.is-visible .finale-steps::after { transform: scaleY(1); }
  .finale-steps li { padding-left: 2rem; }
  .fs-dot { position: absolute; left: 0; top: 4px; margin: 0; }
  .finale-badge { left: 1rem; right: 1rem; bottom: 1rem; max-width: none; }
  .finale-media img { aspect-ratio: 4 / 3; }
}

/* ==========================================================================
   Lösungen-Seite — Bild-Header, Hauptlösung, helle Grünflächen
   ========================================================================== */

:root { --sage-50: #eef2e4; --sage-100: #e2e9d3; }

.page-intro--image { position: relative; overflow: hidden; background: var(--onyx); padding-bottom: clamp(5rem, 10vw, 7.5rem); }
.page-intro-bg { position: absolute; inset: 0; }
.page-intro-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; transform: scale(1.06); animation: intro-zoom 14s var(--ease) forwards; }
.page-intro-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(10, 10, 9, 0.88) 0%, rgba(10, 10, 9, 0.7) 45%, rgba(10, 10, 9, 0.35) 100%);
}
.page-intro--image .wrap { position: relative; z-index: 1; }
@keyframes intro-zoom { to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .page-intro-bg img { animation: none; transform: none; } }

/* Hauptlösung */
.main-solution {
  position: relative;
  background:
    radial-gradient(70% 60% at 100% 0%, rgba(197, 209, 158, 0.22), transparent 60%),
    radial-gradient(50% 50% at 0% 100%, rgba(107, 122, 72, 0.45), transparent 65%),
    linear-gradient(160deg, #4a5a2f 0%, var(--forest) 55%, #232b17 100%);
  color: var(--paper);
  overflow: hidden;
}
.ms-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }

.ms-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: var(--sand);
  color: var(--forest-3);
  font-size: 0.82rem;
  font-weight: 700;
}
.ms-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--forest); animation: badge-pulse 2s ease-in-out infinite; }
@keyframes badge-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.ms-text h2 { font-size: var(--step-4); color: var(--white); margin-top: 1.1rem; max-width: 13ch; }
.ms-text .lede { margin-top: 1.2rem; color: var(--paper-2); }

.ms-points { margin-top: 2rem; display: flex; flex-direction: column; }
.ms-points li {
  list-style: none;
  display: grid;
  grid-template-columns: 2.2rem 1fr;
  column-gap: 0.4rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(197, 209, 158, 0.2);
  counter-increment: ms;
}
.ms-points li::before {
  content: "";
  grid-row: span 2;
  width: 22px; height: 22px;
  margin-top: 0.15rem;
  border-radius: 50%;
  background: var(--sand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='%231f2616' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat;
}
.ms-points strong { font-family: var(--font-display); font-size: 1.2rem; font-weight: 560; color: var(--white); }
.ms-points span { margin-top: 0.2rem; font-size: 0.92rem; color: var(--paper-2); opacity: 0.8; }
.ms-actions { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: 1rem; }

/* Mockup als Eye-Catcher */
.mockup { position: relative; padding: 2rem 2.5rem 3.5rem 0; }
.mockup-window {
  border-radius: 16px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 50px 100px -35px rgba(0, 0, 0, 0.7);
  transform: perspective(1400px) rotateY(-9deg) rotateX(3deg);
  transition: transform 0.9s var(--ease);
}
.mockup:hover .mockup-window { transform: perspective(1400px) rotateY(-2deg) rotateX(1deg); }
.mockup-bar { display: flex; align-items: center; gap: 0.4rem; padding: 0.7rem 1rem; background: #f1f2ed; border-bottom: 1px solid #e3e5dc; }
.mockup-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d3d6cb; }
.mockup-bar span { margin-left: 0.8rem; flex: 1; font-size: 0.72rem; color: #7d8370; background: var(--white); border-radius: 6px; padding: 0.25rem 0.7rem; }
.mockup-screen { position: relative; aspect-ratio: 16 / 10; }
.mockup-screen img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.mockup-screen::after { content: ""; position: absolute; inset: 0; background: linear-gradient(95deg, rgba(20, 24, 12, 0.85), rgba(20, 24, 12, 0.1) 70%); }
.mockup-hero { position: absolute; z-index: 1; left: 7%; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 0.9rem; }
.mockup-hero b { font-family: var(--font-display); font-weight: 560; font-size: clamp(1rem, 1.9vw, 1.55rem); line-height: 1.15; color: var(--white); }
.mockup-hero em { font-style: normal; align-self: flex-start; font-size: 0.7rem; font-weight: 600; padding: 0.4rem 0.85rem; border-radius: 999px; background: var(--white); color: var(--forest-3); }

.mockup-chat {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(250px, 60%);
  padding: 1rem 1.1rem;
  border-radius: 16px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.55);
  animation: float-soft 6s ease-in-out infinite;
}
.mc-head { display: flex; align-items: center; gap: 0.5rem; font-size: 0.72rem; font-weight: 700; color: var(--forest); }
.mc-head i { width: 8px; height: 8px; border-radius: 50%; background: #5fa04e; box-shadow: 0 0 0 3px rgba(95, 160, 78, 0.2); }
.mockup-chat p { margin-top: 0.6rem; font-size: 0.82rem; line-height: 1.45; padding: 0.6rem 0.75rem; border-radius: 12px 12px 12px 3px; background: var(--paper-2); }
.mc-chips { display: flex; gap: 0.4rem; margin-top: 0.6rem; }
.mc-chips span { font-size: 0.72rem; font-weight: 600; padding: 0.3rem 0.75rem; border-radius: 999px; border: 1px solid var(--forest); color: var(--forest); }

.mockup-sync {
  position: absolute;
  left: -1.5rem;
  top: 0;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.75rem 1rem;
  border-radius: 14px;
  background: var(--sand);
  color: var(--forest-3);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.5);
  animation: float-soft 6s ease-in-out 1.5s infinite;
}
.mockup-sync svg { width: 22px; height: 22px; animation: spin-slow 6s linear infinite; }
.mockup-sync span { font-size: 0.74rem; line-height: 1.3; }
.mockup-sync strong { display: block; font-size: 0.82rem; }
@keyframes spin-slow { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .mockup-chat, .mockup-sync, .mockup-sync svg, .ms-badge::before { animation: none; }
}
@media (max-width: 900px) {
  .ms-grid { grid-template-columns: 1fr; }
  .mockup { padding: 2.5rem 0 4rem; }
  .mockup-window { transform: none; }
  .mockup-sync { left: 0.5rem; }
  .mockup-chat { right: 0.5rem; }
}

/* Helle Grünflächen für die Einzelbausteine */
.sage-bg { background: var(--sage-50); }
.sage-bg .pillar-tags li { background: var(--white); }
.sage-bg .solution-media img { box-shadow: 0 30px 60px -28px rgba(47, 56, 33, 0.4); }

/* Feinschliff */
.ms-text h2 { font-size: clamp(2.4rem, 1.6rem + 2.8vw, 3.9rem); max-width: 15ch; }
@media (max-width: 900px) {
  .xcard { min-height: 0; justify-content: flex-start; }
  .xcard-icon { position: static; margin-bottom: 1.4rem; }
}
@media (max-width: 900px) {
  .xrow .xcard { flex: none; }
}

/* ==========================================================================
   Feinschliff — ruhigere Interaktion, mehr Abwechslung
   ========================================================================== */

/* "Unsere Lösung": feste Breiten, Details immer sichtbar, nur sanfte Hervorhebung */
.xrow .xcard { flex-grow: 1 !important; }
.xrow--dark .xcard--core { flex-grow: 1.3 !important; }
.xcard-detail { grid-template-rows: 1fr !important; opacity: 1 !important; margin-top: 1.2rem !important; }
.xcard { transition: background 0.4s ease, color 0.4s ease, opacity 0.4s ease, transform 0.4s var(--ease), box-shadow 0.4s ease, border-color 0.4s ease; }
@media (hover: hover) and (min-width: 901px) {
  .xrow:hover .xcard, .xrow:focus-within .xcard { opacity: 0.82; }
  .xrow .xcard:hover, .xrow .xcard:focus { opacity: 1; transform: translateY(-4px); }
  .xrow .xcard:hover .xcard-icon, .xrow .xcard:focus .xcard-icon { transform: none; }
  .xrow .xcard:hover::before, .xrow .xcard:focus::before { opacity: 0.5; }
}

/* "Alles aus einer Hand": redaktionelle Liste statt Karten */
.bundle {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.bundle-head { position: sticky; top: 130px; }
.bundle-head h2 { font-size: var(--step-4); color: var(--forest-3); max-width: 9ch; }
.bundle-head .lede { margin-top: 1.4rem; max-width: 34ch; }

.bundle-list { border-top: 1px solid var(--paper-line); }
.bundle-row {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: clamp(1.25rem, 3vw, 2rem);
  padding: clamp(2rem, 4vw, 2.75rem) 0;
  border-bottom: 1px solid var(--paper-line);
}
.bundle-icon {
  width: 64px; height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--sage-50, #eef2e4);
  color: var(--forest);
}
.bundle-icon svg { width: 28px; height: 28px; }
.bundle-body h3 { font-family: var(--font-display); font-size: clamp(1.5rem, 2.4vw, 2rem); color: var(--forest-3); line-height: 1.15; }
.bundle-body p { margin-top: 0.6rem; color: var(--ink); opacity: 0.78; max-width: 52ch; }
.bundle-body ul { margin-top: 1.2rem; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.bundle-body li { list-style: none; display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.92rem; font-weight: 500; color: var(--forest); }
.bundle-body li svg { width: 18px; height: 18px; flex: none; }

/* "Ohne Systemwechsel": geteilte Fläche, rechts dunkles Oliv bis zum Rand */
.split-section { background: linear-gradient(90deg, var(--paper-2) 50%, var(--forest) 50%); }
.split { display: grid; grid-template-columns: 1fr 1fr; }
.split-left { padding: clamp(5rem, 9vw, 7.5rem) clamp(2rem, 5vw, 4.5rem) clamp(5rem, 9vw, 7.5rem) 0; }
.split-right {
  padding: clamp(5rem, 9vw, 7.5rem) 0 clamp(5rem, 9vw, 7.5rem) clamp(2rem, 5vw, 4.5rem);
  color: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.split-left h2 { font-size: var(--step-3); color: var(--forest-3); max-width: 13ch; }
.split h3 { font-size: 0.95rem; font-weight: 600; margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.split-left h3 { color: var(--moss); }
.split-right h3 { color: var(--sand); margin-top: 0; }

.split-keep { margin-top: 1rem; }
.split-keep li {
  list-style: none;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--paper-line);
  color: var(--ink);
  opacity: 0.8;
}
.split-new { margin-top: 1rem; }
.split-new li {
  list-style: none;
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  align-items: baseline;
  padding: 1.15rem 0;
  border-bottom: 1px solid rgba(197, 209, 158, 0.2);
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.1vw, 1.75rem);
  line-height: 1.25;
  color: var(--white);
}
.split-new li::before { content: "+"; font-family: var(--font-body); font-size: 1.4rem; font-weight: 300; color: var(--sand); }

@media (max-width: 900px) {
  .bundle { grid-template-columns: 1fr; }
  .bundle-head { position: static; }
  .bundle-row { grid-template-columns: 52px 1fr; }
  .bundle-icon { width: 52px; height: 52px; }

  .split-section { background: none; }
  .split { grid-template-columns: 1fr; padding-inline: 0; }
  .split-left, .split-right { padding: 4rem var(--pad); }
  .split-left { background: var(--paper-2); }
  .split-right { background: var(--forest); }
}

/* Abschluss jetzt hell — Wechsel nach dem schwarzen Statement */
.finale { background: var(--white); color: var(--ink); }
.finale-text h2 { color: var(--forest-3); }
.finale-text .lede { color: var(--ink); }
.finale .btn-primary { background: var(--forest); color: var(--white); }
.finale .btn-primary:hover { background: var(--forest-3); }
.finale-steps::before { background: var(--paper-line); }
.finale-steps::after { background: var(--forest); }
.fs-dot { border-color: var(--forest); background: var(--white); }
.reveal.is-visible .finale-steps li .fs-dot { background: var(--forest); }
.finale-steps strong { color: var(--forest-3); }
.finale-steps em { color: var(--moss); }
.finale-badge { background: var(--forest); color: var(--paper); }
.finale-badge svg { color: var(--sand); }
.finale-badge strong { color: var(--white); }
.finale-media img { box-shadow: 0 40px 80px -40px rgba(20, 24, 12, 0.45); }
.finale-note { border-top-color: var(--paper-line); color: var(--ink); }
.finale-note a { color: var(--forest); }
.xcard { justify-content: flex-start; }
.xcard-icon { position: static; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.reveal.is-visible .finale-steps li:nth-child(n) .fs-dot { background: var(--forest); }
@media (max-width: 900px) {
  .process-sticky-col { display: none; }
  .finale-badge { position: relative; left: auto; right: auto; bottom: auto; margin: -2.5rem 1rem 0; }
}

/* ==========================================================================
   Ablauf: Bild pro Schritt in der Box
   ========================================================================== */
.process-panel { overflow: hidden; border-radius: inherit; }
.panel-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transform: scale(1.08);
  transition: transform 1.4s var(--ease);
}
.process-panel.is-active .panel-img { transform: scale(1); }
.process-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(20, 24, 12, 0.55) 0%, rgba(20, 24, 12, 0.15) 35%, rgba(20, 24, 12, 0.6) 62%, rgba(20, 24, 12, 0.94) 100%);
}
.process-panel > *:not(.panel-img) { position: relative; z-index: 1; }
.process-panel { justify-content: space-between; }
.process-panel > div:first-of-type { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.process-panel > div:first-of-type h4 { margin-top: auto; }
.process-panel p { color: var(--paper-2); opacity: 0.92; }

.step-img { display: none; }
@media (max-width: 900px) {
  .step-img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 1.4rem;
  }
}

/* ==========================================================================
   Referenzen
   ========================================================================== */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 1.05rem;
  border-radius: 999px;
  background: var(--sage-50, #eef2e4);
  color: var(--forest);
  font-size: 0.86rem;
  font-weight: 600;
}
.status-pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--moss); position: relative; }
.status-pill i::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 1.5px solid var(--moss); opacity: 0; animation: ping 2.2s ease-out infinite;
}
@keyframes ping { 0% { transform: scale(0.6); opacity: 0.8; } 100% { transform: scale(1.8); opacity: 0; } }
.status-pill--small { padding: 0.35rem 0.8rem; font-size: 0.76rem; }
@media (prefers-reduced-motion: reduce) { .status-pill i::after { animation: none; } }

.ref-intro { padding: clamp(9rem, 15vw, 11.5rem) 0 clamp(3rem, 6vw, 4.5rem); background: var(--white); }
.ref-intro h1 { font-size: var(--step-4); color: var(--forest-3); margin-top: 1.4rem; max-width: 15ch; }
.ref-intro .lede { margin-top: 1.4rem; max-width: 54ch; }

.ref-projects { padding-top: clamp(1rem, 3vw, 2rem); }
.ref-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 3vw, 2.5rem); }
.ref-card {
  border-radius: 22px;
  overflow: hidden;
  background: var(--paper-2);
  border: 1px solid var(--paper-line);
}
.ref-preview { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--forest); }
.ref-preview img { width: 100%; height: 100%; object-fit: cover; filter: blur(14px) saturate(0.7); transform: scale(1.15); opacity: 0.75; }
.ref-preview::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(47, 56, 33, 0.35), rgba(20, 24, 12, 0.75));
}
.ref-preview-label {
  position: absolute; z-index: 1; left: 50%; top: 50%; transform: translate(-50%, -50%);
  padding: 0.6rem 1.15rem; border-radius: 999px;
  background: rgba(255, 255, 255, 0.92); color: var(--forest-3);
  font-size: 0.85rem; font-weight: 600; white-space: nowrap;
}
.ref-body { padding: clamp(1.6rem, 3vw, 2.3rem); }
.ref-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.ref-head h2 { font-family: var(--font-display); font-size: clamp(1.5rem, 2.4vw, 1.9rem); color: var(--forest-3); }
.ref-scope { margin-top: 1.4rem; }
.ref-scope li {
  list-style: none; display: grid; grid-template-columns: 9rem 1fr; gap: 1rem;
  padding: 0.9rem 0; border-top: 1px solid var(--paper-line);
}
.ref-scope strong { font-size: 0.92rem; color: var(--forest); }
.ref-scope span { font-size: 0.92rem; color: var(--ink); opacity: 0.78; }
.ref-note { margin-top: 1.6rem; font-size: 0.85rem; color: var(--ink); opacity: 0.6; }

.ref-cta { background: var(--forest); color: var(--paper); position: relative; overflow: hidden; }
.ref-cta::before {
  content: ""; position: absolute; width: 60vw; aspect-ratio: 1; right: -20vw; top: -30vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(197, 209, 158, 0.18), transparent 65%); pointer-events: none;
}
.ref-cta-inner { position: relative; max-width: 760px; }
.ref-cta h2 { font-size: var(--step-4); color: var(--white); max-width: 14ch; }
.ref-cta .lede { margin-top: 1.3rem; color: var(--paper-2); }
.ref-cta-actions { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.ref-cta .btn-primary { background: var(--white); color: var(--forest-3); }
.ref-cta .btn-primary:hover { background: var(--sand); }
.ref-cta .btn-ghost { border-color: rgba(197, 209, 158, 0.4); color: var(--paper-2); }

@media (max-width: 900px) {
  .ref-grid { grid-template-columns: 1fr; }
  .ref-scope li { grid-template-columns: 1fr; gap: 0.2rem; }
}

/* ==========================================================================
   Kontakt
   ========================================================================== */
.contact-intro {
  position: relative; overflow: hidden;
  background:
    radial-gradient(60% 70% at 100% 0%, rgba(197, 209, 158, 0.2), transparent 60%),
    linear-gradient(160deg, #4a5a2f 0%, var(--forest) 60%, #232b17 100%);
  color: var(--paper);
  padding: clamp(9rem, 15vw, 11.5rem) 0 clamp(4rem, 8vw, 6rem);
}
.contact-intro h1 { font-size: var(--step-4); color: var(--white); max-width: 15ch; }
.contact-intro .lede { margin-top: 1.4rem; max-width: 52ch; color: var(--paper-2); }
.contact-intro .btn { margin-top: 2.2rem; }
.contact-intro .wrap { position: relative; z-index: 1; }
.contact-intro .page-intro-bg img { object-position: 65% 45%; }

.contact-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }

.contact-form {
  background: var(--white);
  border: 1px solid var(--paper-line);
  border-radius: 24px;
  padding: clamp(1.6rem, 4vw, 3rem);
  box-shadow: 0 40px 80px -50px rgba(20, 24, 12, 0.35);
}
.cf-group { border: 0; margin: 0 0 2.2rem; padding: 0; min-width: 0; }
.cf-group legend { font-family: var(--font-display); font-size: 1.45rem; font-weight: 560; color: var(--forest-3); padding: 0; margin-bottom: 1.2rem; }
.cf-hint { margin: -0.7rem 0 1rem; font-size: 0.85rem; color: var(--moss); }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.cf-field { display: flex; flex-direction: column; gap: 0.45rem; margin-bottom: 1.1rem; }
.cf-field label { font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.cf-field label span[aria-hidden] { color: var(--moss); }
.cf-optional { font-weight: 400; color: var(--ink); opacity: 0.55; }
.cf-field input, .cf-field textarea {
  font: inherit; font-size: 1rem; color: var(--ink);
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1.5px solid var(--paper-line);
  border-radius: 12px;
  background: var(--paper-2);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.cf-field textarea { resize: vertical; min-height: 130px; line-height: 1.5; }
.cf-field input:focus, .cf-field textarea:focus {
  outline: none; border-color: var(--forest); background: var(--white);
  box-shadow: 0 0 0 4px rgba(197, 209, 158, 0.45);
}
.cf-field.is-invalid input, .cf-field.is-invalid textarea { border-color: #b4462f; background: #fdf6f4; }
.cf-error { display: none; font-size: 0.82rem; color: #a13f2a; margin: 0; }
.is-invalid > .cf-error, .cf-consent.is-invalid .cf-error { display: block; }

.cf-choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 0.7rem; margin-bottom: 1.4rem; }
.cf-choice { position: relative; cursor: pointer; }
.cf-choice input { position: absolute; opacity: 0; pointer-events: none; }
.cf-choice > span {
  display: flex; flex-direction: column; gap: 0.15rem;
  height: 100%;
  padding: 0.95rem 1rem 0.95rem 2.8rem;
  border: 1.5px solid var(--paper-line); border-radius: 14px;
  background: var(--paper-2);
  transition: border-color 0.2s ease, background 0.2s ease;
  position: relative;
}
.cf-choice > span::before {
  content: ""; position: absolute; left: 1rem; top: 1.05rem;
  width: 18px; height: 18px; border-radius: 5px;
  border: 1.5px solid var(--moss); background: var(--white);
  transition: background 0.2s ease, border-color 0.2s ease;
}
.cf-choice strong { font-size: 0.95rem; color: var(--forest-3); }
.cf-choice em { font-style: normal; font-size: 0.8rem; color: var(--ink); opacity: 0.65; }
.cf-choice:hover > span { border-color: var(--moss); }
.cf-choice input:checked + span { border-color: var(--forest); background: var(--sage-50, #eef2e4); }
.cf-choice input:checked + span::before {
  background: var(--forest) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
  border-color: var(--forest);
}
.cf-choice input:focus-visible + span { box-shadow: 0 0 0 4px rgba(197, 209, 158, 0.6); }

.cf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.cf-consent { margin: 0.4rem 0 1.8rem; }
.cf-check { display: grid; grid-template-columns: 22px 1fr; gap: 0.8rem; align-items: start; cursor: pointer; font-size: 0.9rem; line-height: 1.5; color: var(--ink); }
.cf-check input { width: 20px; height: 20px; margin: 0.15rem 0 0; accent-color: var(--forest); cursor: pointer; }
.cf-check a { color: var(--forest); text-decoration: underline; }
.cf-consent .cf-error { margin: 0.5rem 0 0 2.6rem; }

.cf-submit { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.cf-submit .btn { padding: 1rem 2rem; font-size: 1rem; }
.cf-submit .btn[disabled] { opacity: 0.6; cursor: wait; transform: none; }
.cf-required { font-size: 0.82rem; color: var(--ink); opacity: 0.55; margin: 0; }

.cf-status { margin-top: 1.5rem; padding: 1.1rem 1.25rem; border-radius: 14px; font-size: 0.95rem; line-height: 1.5; }
.cf-status.is-success { background: var(--sage-50, #eef2e4); color: var(--forest-3); border: 1px solid var(--sand); }
.cf-status.is-error { background: #fdf6f4; color: #7d2f1f; border: 1px solid #e8c3b8; }
.cf-status a { color: inherit; font-weight: 600; text-decoration: underline; }
.contact-form.is-sent .cf-group, .contact-form.is-sent .cf-consent, .contact-form.is-sent .cf-submit { display: none; }
.contact-form.is-sent .cf-status { margin-top: 0; padding: 2rem; }
.cf-status strong { display: block; font-family: var(--font-display); font-size: 1.4rem; font-weight: 560; margin-bottom: 0.4rem; }

.contact-aside { position: sticky; top: 130px; padding-top: 0.5rem; }
.contact-aside h2 { font-family: var(--font-display); font-size: 1.6rem; color: var(--forest-3); }
.contact-steps { margin: 1.6rem 0 0; padding: 0; counter-reset: cs; }
.contact-steps li {
  list-style: none; counter-increment: cs; position: relative;
  padding: 0 0 1.8rem 3.4rem;
}
.contact-steps li::before {
  content: counter(cs); position: absolute; left: 0; top: -0.15rem;
  width: 2.2rem; height: 2.2rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--forest); color: var(--sand);
  font-family: var(--font-display); font-size: 1rem;
}
.contact-steps li:not(:last-child)::after {
  content: ""; position: absolute; left: 1.1rem; top: 2.3rem; bottom: 0.4rem; width: 1px; background: var(--paper-line);
}
.contact-steps strong { display: block; color: var(--forest-3); font-size: 1rem; }
.contact-steps span { display: block; margin-top: 0.25rem; font-size: 0.9rem; color: var(--ink); opacity: 0.72; }

.contact-info-section { background: var(--paper-2); padding: clamp(3.5rem, 7vw, 5rem) 0; }
.contact-info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.ci-item {
  display: grid; grid-template-columns: 48px 1fr; grid-template-rows: auto auto; column-gap: 1rem;
  align-items: center;
  padding: 1.4rem 1.5rem;
  border-radius: 18px; background: var(--white); border: 1px solid var(--paper-line);
  transition: border-color 0.25s ease, transform 0.25s var(--ease);
}
.ci-item:hover { border-color: var(--moss); transform: translateY(-2px); }
.ci-icon { grid-row: span 2; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--sage-50, #eef2e4); color: var(--forest); }
.ci-icon svg { width: 22px; height: 22px; }
.ci-label { font-size: 0.8rem; font-weight: 600; color: var(--moss); }
.ci-value { font-size: 1rem; color: var(--forest-3); font-weight: 500; overflow-wrap: anywhere; }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-aside { position: static; order: -1; }
  .contact-info { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .cf-row { grid-template-columns: 1fr; gap: 0; }
  .cf-choices { grid-template-columns: 1fr; }
}

/* Seiten mit hellem Kopfbereich: Menü von Anfang an in dunkler Schrift */
.page-light .site-header:not(.scrolled) .logo { color: var(--forest-3); }
.page-light .site-header:not(.scrolled) .logo span { color: var(--moss); }
.page-light .site-header:not(.scrolled) .nav-links a { color: var(--forest-3); }
.page-light .site-header:not(.scrolled) .btn-primary { background: var(--forest); color: var(--white); }
.page-light .site-header:not(.scrolled) .btn-primary:hover { background: var(--forest-3); }
.page-light .site-header:not(.scrolled) .nav-toggle { color: var(--forest-3); }

.ci-value { font-size: 0.95rem; overflow-wrap: break-word; }

/* ==========================================================================
   Rechtstexte (Impressum, Datenschutz)
   ========================================================================== */
.legal-intro { padding: clamp(9rem, 15vw, 11rem) 0 clamp(1.5rem, 3vw, 2.5rem); background: var(--white); }
.legal-intro h1 { font-size: var(--step-4); color: var(--forest-3); }
.legal-date { margin-top: 1rem; color: var(--moss); font-size: 0.95rem; }
.legal { padding: clamp(1rem, 3vw, 2rem) 0 clamp(5rem, 9vw, 7rem); }
.legal-wrap > * { max-width: 760px; }
.legal h2 {
  font-family: var(--font-display); font-size: clamp(1.35rem, 2.2vw, 1.65rem); color: var(--forest-3);
  margin-top: 2.8rem; padding-top: 1.4rem; border-top: 1px solid var(--paper-line); scroll-margin-top: 110px;
}
.legal p, .legal li { margin-top: 0.9rem; line-height: 1.7; color: var(--ink); }
.legal ul { margin: 0.6rem 0 0; padding-left: 1.2rem; }
.legal ul li { list-style: disc; }
.legal a { color: var(--forest); text-decoration: underline; text-underline-offset: 2px; }
.legal-dl { margin: 1rem 0 0; }
.legal-dl > div { display: grid; grid-template-columns: 15rem 1fr; gap: 1rem; padding: 0.7rem 0; border-bottom: 1px solid var(--paper-line); }
.legal-dl dt { color: var(--moss); font-size: 0.92rem; }
.legal-dl dd { margin: 0; color: var(--ink); }
.legal-toc { margin-top: 2rem; padding: 1.4rem 1.6rem; background: var(--paper-2); border-radius: 14px; }
.legal-toc ol { margin: 0; padding-left: 1.3rem; columns: 2; column-gap: 2rem; }
.legal-toc li { margin: 0.3rem 0; font-size: 0.92rem; break-inside: avoid; }
.legal-toc a { text-decoration: none; }
.legal-toc a:hover { text-decoration: underline; }

/* Offene Platzhalter: deutlich sichtbar, damit nichts unbemerkt online geht */
mark.ph { background: #ffe1db; color: #8a2a17; padding: 0.05em 0.3em; border-radius: 4px; font-weight: 600; }
.site-footer mark.ph { background: #7a2a1a; color: #ffe1db; }

.optout { margin-top: 1.2rem; padding: 1.3rem 1.5rem; border: 1px solid var(--paper-line); border-radius: 14px; background: var(--white); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.optout-status { margin: 0 !important; font-weight: 600; color: var(--forest-3) !important; }
.optout .btn-ghost { color: var(--forest-3); border-color: var(--paper-line); }
.optout .btn-ghost:hover { border-color: var(--forest); }

@media (max-width: 700px) {
  .legal-dl > div { grid-template-columns: 1fr; gap: 0.2rem; }
  .legal-toc ol { columns: 1; }
}
