/* ==========================================================================
   Jonathan Ries — Personal Brand
   Apple-Luxury Design System: Weiß · Near-Black · gedämpftes Dunkelgrün.
   Reduktion, viel Weißraum, ruhige große Typografie. Inter + JetBrains Mono.
   Kein Serif, kein Italic. Leise, premium-dezente Bewegung.
   ========================================================================== */

:root {
  --bg:        #ffffff;
  --bg-soft:   #f5f5f3;
  --ink:       #0a0c0b;
  --ink-soft:  #5b6160;
  --line:      #e7e7e3;
  --green:     #1b4332;
  --green-2:   #2d6a4f;
  --green-3:   #40916c;
  --dark:      #0a0f0c;
  --dark-soft: #aeb6b1;
  --dark-line: rgba(255,255,255,.12);

  --r:    24px;
  --r-lg: 30px;
  --r-pill: 999px;

  --wrap: 1200px;
  --pad: clamp(20px, 5vw, 48px);
  --sec: clamp(90px, 12vw, 180px);

  --ease: cubic-bezier(.22, 1, .36, 1);

  --ff: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
[id] { scroll-margin-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--ff);
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.035em; line-height: 1.04; }
em, i, cite, q { font-style: normal; }
::selection { background: var(--green); color: #fff; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
  padding: 14px 26px;
  border-radius: var(--r-pill);
  transition: transform .35s var(--ease), background .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--solid { background: var(--ink); color: #fff; }
.btn--solid:hover { background: var(--green); }

.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #fff; box-shadow: 0 12px 40px rgba(0,0,0,.25); }

.btn--sm { padding: 10px 18px; font-size: 15px; }
.btn--lg { padding: 17px 34px; font-size: 17px; }

/* Text link with arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  font-weight: 600;
  font-size: 16px;
  color: var(--green);
  transition: gap .35s var(--ease), color .35s var(--ease);
}
.link-arrow span { transition: transform .35s var(--ease); }
.link-arrow:hover { color: var(--green-2); }
.link-arrow:hover span { transform: translateX(4px); }
.link-arrow--on-dark { color: #fff; }
.link-arrow--on-dark:hover { color: var(--dark-soft); }

/* Eyebrow */
.eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--green);
}
.eyebrow--on-dark { color: var(--green-3); }

/* Section heading block */
.head { max-width: 740px; margin-bottom: clamp(48px, 6vw, 80px); }
.head .eyebrow { margin-bottom: 18px; }
.head__title { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.head__lead {
  margin-top: 22px;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--ink-soft);
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: -0.015em;
}

/* ---------- Scroll-Progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--green-2), var(--green-3));
  z-index: 200;
  will-change: transform;
}

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), backdrop-filter .4s var(--ease);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 72px;
}
.nav.is-scrolled {
  background: rgba(255,255,255,.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 1px 0 var(--line);
}
.nav__logo { display: flex; align-items: center; }
.nav__menu {
  display: flex;
  gap: 30px;
  margin-left: auto;
}
.nav__menu a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  opacity: .82;
  transition: opacity .25s var(--ease);
}
.nav__menu a:hover { opacity: 1; }
.nav__cta { flex: none; }
.nav__burger { display: none; }

/* Transparent nav over the dark hero */
.nav:not(.is-scrolled) .nav__menu a { color: #fff; opacity: .9; }
.nav:not(.is-scrolled) .nav__logo-text { color: #fff; }
.nav:not(.is-scrolled) .nav__burger span { background: #fff; }
.nav:not(.is-scrolled) .nav__cta { background: #fff; color: var(--ink); }
.nav:not(.is-scrolled) .nav__cta:hover { background: #fff; transform: translateY(-2px); }

/* Mobile nav */
.mobile-nav {
  position: fixed;
  inset: 72px 0 auto 0;
  z-index: 99;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px var(--pad) 28px;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.mobile-nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-nav a { font-size: 19px; font-weight: 600; padding: 12px 0; }
.mobile-nav .btn { margin-top: 14px; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(135deg, #0f2a1f 0%, #14352681 46%, #08110c 100%), #0a0f0c;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(125% 120% at 50% 38%, rgba(7,11,9,.22) 0%, rgba(7,11,9,.58) 100%),
    linear-gradient(180deg, rgba(7,11,9,.48) 0%, rgba(7,11,9,.18) 38%, rgba(7,11,9,.72) 100%);
}
.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #fff;
  padding-block: clamp(116px, 15vh, 190px) clamp(60px, 8vh, 110px);
}
.eyebrow--hero { color: #a8d5be; margin-bottom: 26px; }
.hero__title {
  color: #fff;
  font-size: clamp(3rem, 9vw, 7rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.98;
  text-wrap: balance;
}
.hero__sub {
  margin: 30px auto 0;
  max-width: 620px;
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  line-height: 1.45;
  color: rgba(255,255,255,.86);
  font-weight: 400;
  letter-spacing: -0.018em;
}
.hero__cta {
  margin-top: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

/* Hero — Foto-Hintergrund (abgedunkelt über .hero__scrim) */
.hero__photo {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
}

/* Aurora blobs (Pipeline + Connect) */
.connect__aurora {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .55;
  will-change: transform;
}

/* Hero — fine grain texture */
.hero__grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .5;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* Hero — text shimmer (1 phrase only) */
.shimmer {
  background: linear-gradient(100deg, #cde6d8 20%, #ffffff 42%, #a8d5be 52%, #cdeeda 70%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }

/* Hero — scroll indicator */
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 1.5px solid rgba(255,255,255,.4);
  border-radius: 999px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
  z-index: 2;
}
.hero__scroll span {
  width: 3px; height: 8px;
  background: rgba(255,255,255,.8);
  border-radius: 2px;
  animation: scrolldot 1.8s var(--ease) infinite;
}
@keyframes scrolldot { 0% { opacity:0; transform: translateY(-3px);} 40%{opacity:1;} 80%,100%{opacity:0; transform: translateY(10px);} }

/* ==========================================================================
   COUNTDOWN (im Hero)
   ========================================================================== */
.countdown {
  margin-top: 40px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(8px, 1.5vw, 18px);
}
.cd {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: clamp(64px, 9vw, 104px);
  padding: clamp(14px, 2vw, 22px) clamp(8px, 1.5vw, 16px);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.cd__num {
  font-family: var(--mono);
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.cd__label {
  font-size: clamp(11px, 1.3vw, 13px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.62);
}
.cd__sep {
  align-self: center;
  margin-top: clamp(-8px, -1vw, -4px);
  font-family: var(--mono);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 500;
  color: rgba(255,255,255,.28);
}

/* ==========================================================================
   STATS
   ========================================================================== */
.stats { padding: var(--sec) 0; }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 4vw, 48px);
}
.stat { display: flex; flex-direction: column; gap: 8px; }
.stat__num {
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
}
.stat__num .stat__unit { font-size: .4em; font-weight: 600; letter-spacing: -0.01em; }
.stat__label {
  font-size: 15px;
  color: var(--ink-soft);
  letter-spacing: -0.01em;
}

/* ==========================================================================
   EXPERT / ÜBER MICH
   ========================================================================== */
.expert { padding: var(--sec) 0; background: var(--bg-soft); }
.expert__inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.expert__photo {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #e2e2dd;
  display: grid;
  place-items: center;
}
.expert__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 87%; }
.expert__body .eyebrow { margin-bottom: 18px; }
.expert__title { font-size: clamp(2rem, 4vw, 3rem); }
.expert__text {
  margin-top: 22px;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--ink-soft);
  line-height: 1.55;
  max-width: 540px;
}
.expert__text + .expert__text { margin-top: 16px; }
.expert__actions {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}

/* ==========================================================================
   VENTURES / WORAN ICH ARBEITE
   ========================================================================== */
.ventures { padding: var(--sec) 0; }
.sparten {
  display: flex;
  flex-direction: column;
  gap: clamp(26px, 3.2vw, 44px);
}
.sparte {
  position: relative;
  background: var(--dark);
  color: #fff;
  border-radius: var(--r-lg);
  padding: clamp(32px, 4vw, 56px);
  overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.sparte:hover { transform: translateY(-4px); box-shadow: 0 30px 70px -36px rgba(0,0,0,.5); }
.sparte__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
}
.sparte__name {
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  letter-spacing: -0.035em;
  line-height: 1.02;
}
.sparte__role {
  display: block;
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.03em;
  color: rgba(255,255,255,.5);
}
.sparte__text {
  color: var(--dark-soft);
  font-size: clamp(15.5px, 1.6vw, 17px);
  line-height: 1.65;
}
.sparte__text a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255,255,255,.35);
  transition: color .3s var(--ease), text-decoration-color .3s var(--ease);
}
.sparte__text a:hover { color: var(--green-3); text-decoration-color: var(--green-3); }
.sparte__partner {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 15.5px;
  color: #fff;
  transition: color .3s var(--ease);
}
.sparte__partner:hover { color: var(--green-3); }
.sparte__partner-arrow { font-size: 13px; color: var(--green-3); }
/* Website-Link unter Name + Rolle (Sparte 01 / 02) */
.sparte__site { margin-top: 16px; }
.sparte__facts {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.sparte__facts li {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--dark-soft);
  border: 1px solid var(--dark-line);
  border-radius: var(--r-pill);
  padding: 7px 14px;
}
.sparte__metrics {
  margin-top: clamp(26px, 3vw, 38px);
  padding-top: clamp(20px, 2.4vw, 28px);
  border-top: 1px solid var(--dark-line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.4vw, 32px);
}
.sparte__metric-value {
  display: block;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
}
.sparte__metric-value .u-green { color: var(--green-3); }
/* Metrik als Link (Optik identisch, nur Hover verrät die Klickbarkeit) */
.sparte__metric--link .sparte__metric-value,
.sparte__metric--link .sparte__metric-label { transition: color .3s var(--ease); }
.sparte__metric--link:hover .sparte__metric-value { color: var(--green-3); }
.sparte__metric--link:hover .sparte__metric-label { color: rgba(255,255,255,.8); }
.sparte__metric--link:focus-visible { outline: 2px solid var(--green-3); outline-offset: 6px; border-radius: 4px; }
.sparte__metric-label {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: rgba(255,255,255,.55);
  line-height: 1.4;
}
.sparte__refs {
  margin-top: clamp(22px, 2.6vw, 30px);
  padding-top: clamp(18px, 2vw, 24px);
  border-top: 1px solid var(--dark-line);
}
.sparte__refs-label {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 12px;
}
.sparte__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(18px, 3vw, 40px);
  row-gap: 18px;
}
.sparte__logos img {
  height: clamp(22px, 2.6vw, 30px);
  width: auto;
  max-width: 150px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .5;
  transition: opacity .3s var(--ease);
}
.sparte__logos img:hover { opacity: .95; }

/* ==========================================================================
   PIPELINE / NÄCHSTES PROJEKT (dark, mit Countdown)
   ========================================================================== */
.pipeline {
  position: relative;
  margin: 0 var(--pad) var(--pad);
  background: var(--dark);
  color: #fff;
  border-radius: clamp(28px, 4vw, 48px);
  padding: clamp(64px, 8vw, 110px) 0;
  overflow: hidden;
  isolation: isolate;
}
.pipeline__aurora {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.pipeline__aurora .blob--1 {
  width: 50%; height: 130%; left: -12%; top: -15%;
  background: radial-gradient(circle, rgba(45,106,79,.42) 0%, transparent 70%);
}
.pipeline__aurora .blob--2 {
  width: 45%; height: 130%; right: -12%; bottom: -20%;
  background: radial-gradient(circle, rgba(64,145,108,.32) 0%, transparent 70%);
}
.pipeline__inner {
  max-width: 820px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.pipeline .eyebrow { margin-bottom: 22px; }
.pipeline__title { font-size: clamp(2rem, 5vw, 3.4rem); letter-spacing: -0.04em; }
.pipeline__lead {
  margin-top: 18px;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--dark-soft);
  max-width: 540px;
}
.pipeline__cta { margin-top: 36px; }

/* ==========================================================================
   CONNECT / LASS UNS CONNECTEN (dark)
   ========================================================================== */
.connect {
  position: relative;
  margin: 0 var(--pad) var(--pad);
  background: var(--dark);
  color: #fff;
  border-radius: clamp(28px, 4vw, 48px);
  padding: clamp(64px, 9vw, 130px) 0;
  overflow: hidden;
  isolation: isolate;
}
.connect__aurora .blob--1 {
  width: 50%; height: 120%; left: -10%; top: -10%;
  background: radial-gradient(circle, rgba(45,106,79,.42) 0%, transparent 70%);
}
.connect__aurora .blob--2 {
  width: 45%; height: 120%; right: -10%; bottom: -20%;
  background: radial-gradient(circle, rgba(64,145,108,.32) 0%, transparent 70%);
}
.connect__inner { max-width: 980px; margin-inline: auto; }

.connect__top { text-align: center; display: flex; flex-direction: column; align-items: center; }
.connect .eyebrow { margin-bottom: 22px; }
.connect__title { font-size: clamp(2.2rem, 5.5vw, 4rem); letter-spacing: -0.04em; }
.connect__lead {
  margin-top: 22px;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--dark-soft);
  max-width: 560px;
}
.connect__socials {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 16px;
  color: #fff;
  transition: background .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.social:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.4); transform: translateY(-2px); }
.social__icon {
  display: inline-grid;
  place-items: center;
  width: 22px; height: 22px;
  border-radius: 6px;
  background: var(--green-2);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  color: #fff;
}

/* Split — Kunden oder Mitarbeiter */
.connect__split {
  margin-top: clamp(48px, 6vw, 80px);
  padding-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--dark-line);
}
.connect__split-q {
  text-align: center;
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: clamp(28px, 3.5vw, 44px);
}
.paths {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 1.8vw, 22px);
}
.path {
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3vw, 40px);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--r-lg);
  transition: background .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.path:hover { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.34); transform: translateY(-4px); }
.path__tag {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--green-3);
  margin-bottom: 14px;
}
.path__name { font-size: clamp(1.6rem, 3vw, 2.1rem); letter-spacing: -0.035em; }
.path__desc { margin-top: 12px; color: var(--dark-soft); font-size: 15.5px; line-height: 1.55; }
.path__cta {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: .45em;
  font-weight: 600;
  font-size: 15.5px;
  color: #fff;
}
.path__cta span { transition: transform .3s var(--ease); }
.path:hover .path__cta span { transform: translateX(4px); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { padding: clamp(64px, 8vw, 110px) 0 40px; }
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: clamp(32px, 4vw, 64px);
  padding-bottom: clamp(48px, 6vw, 72px);
  border-bottom: 1px solid var(--line);
}
.footer__brand p { color: var(--ink-soft); font-size: 15px; max-width: 300px; }
.footer__col h4 {
  font-size: 13px;
  font-family: var(--mono);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.footer__col p { font-size: 15px; color: var(--ink-soft); margin-bottom: 14px; line-height: 1.5; }
.footer__col a {
  display: block;
  font-size: 15px;
  color: var(--ink);
  opacity: .8;
  padding: 4px 0;
  transition: opacity .25s var(--ease), color .25s var(--ease);
}
.footer__col a:hover { opacity: 1; color: var(--green); }
.footer__base {
  display: flex;
  justify-content: space-between;
  padding-top: 28px;
  font-size: 14px;
  color: var(--ink-soft);
}

/* ==========================================================================
   REVEAL ON SCROLL
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
[data-reveal].is-revealed { opacity: 1; transform: none; }

/* ==========================================================================
   CURSOR-SPOTLIGHT (dezent, auf Venture-Karten)
   ========================================================================== */
[data-spotlight] .sparte::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity .4s var(--ease);
  background: radial-gradient(560px circle at var(--mx, 50%) var(--my, 50%), rgba(64,145,108,.18), transparent 60%);
  pointer-events: none;
}
[data-spotlight]:hover .sparte::before { opacity: 1; }

/* ==========================================================================
   PLATZHALTER (entfernen, sobald echte Assets da sind)
   ========================================================================== */
.nav__logo-text { font-weight: 800; font-size: 18px; letter-spacing: -0.03em; color: var(--ink); white-space: nowrap; }
.footer__logo-text { display: inline-block; margin-bottom: 18px; font-weight: 800; font-size: 20px; letter-spacing: -0.03em; color: var(--ink); }

.ph {
  background:
    repeating-linear-gradient(45deg, rgba(0,0,0,.03) 0 11px, rgba(0,0,0,0) 11px 22px),
    var(--bg-soft);
  border: 1px dashed var(--line);
  border-radius: var(--r-lg);
}
.ph__hint {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  opacity: .6;
}

/* ==========================================================================
   LEGAL PAGES (Impressum / Datenschutz)
   ========================================================================== */
.subnav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.subnav__inner { display: flex; align-items: center; gap: 20px; height: 64px; }
.subnav__logo { font-weight: 800; font-size: 17px; letter-spacing: -0.03em; color: var(--ink); }
.subnav__back { margin-left: auto; font-size: 15px; font-weight: 500; color: var(--green); display: inline-flex; align-items: center; gap: .4em; transition: gap .3s var(--ease); }
.subnav__back span { transition: transform .3s var(--ease); }
.subnav__back:hover { color: var(--green-2); }
.subnav__back:hover span { transform: translateX(-3px); }

.legal { max-width: 760px; margin-inline: auto; padding: clamp(48px,8vw,96px) 0 clamp(60px,8vw,110px); }
.legal .eyebrow { margin-bottom: 16px; }
.legal h1 { font-size: clamp(2rem,5vw,3rem); letter-spacing: -0.04em; margin-bottom: 14px; }
.legal__meta { font-family: var(--mono); font-size: 13px; color: var(--ink-soft); margin-bottom: 44px; }
.legal h2 { font-size: clamp(1.3rem,2.4vw,1.6rem); letter-spacing: -0.03em; margin: 44px 0 14px; }
.legal h3 { font-size: 1.1rem; letter-spacing: -0.02em; margin: 26px 0 8px; }
.legal p, .legal li { color: var(--ink-soft); line-height: 1.7; margin-bottom: 14px; font-size: 16px; }
.legal ul { padding-left: 22px; margin-bottom: 14px; }
.legal a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: var(--green-2); }
.legal strong { color: var(--ink); font-weight: 600; }
.legal__todo {
  background: #fff7ed;
  border: 1px solid #fdba74;
  border-radius: 14px;
  padding: 16px 20px;
  margin: 16px 0 24px;
  font-size: 15px;
  color: #9a3412;
  line-height: 1.6;
}
.legal__todo strong { color: #7c2d12; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 980px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .expert__inner { grid-template-columns: 1fr; }
  .expert__photo { max-width: 420px; }
  .sparte__grid { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 640px) {
  .nav__menu, .nav__cta { display: none; }
  .nav__burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    margin-left: auto;
    width: 40px; height: 40px;
  }
  .nav__burger span {
    display: block;
    width: 22px; height: 2px;
    background: var(--ink);
    margin-inline: auto;
    transition: transform .3s var(--ease), opacity .3s var(--ease);
  }
  .nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-7px) rotate(-45deg); }

  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
  .sparte__metrics { grid-template-columns: 1fr; gap: 18px; }
  .paths { grid-template-columns: 1fr; }
  .cd { min-width: 0; flex: 1; padding-inline: 4px; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__brand { grid-column: span 2; }
  .hero__cta, .expert__actions { gap: 18px; }
}

/* ==========================================================================
   MOTION OFF — alles ruhigstellen
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .blob, .shimmer, .hero__scroll span { animation: none; }
  .shimmer { -webkit-text-fill-color: #cdeeda; color: #cdeeda; }
  .scroll-progress { display: none; }
}

/* ==========================================================================
   MOBILE-FEINSCHLIFF  (überschreibt bewusst die Blöcke darüber)
   ========================================================================== */
@media (max-width: 640px) {
  :root { --sec: 46px; }

  /* ---------- Hero: kompakter, Buttons volle Breite ---------- */
  .hero__inner { padding-block: 104px 76px; }
  .hero__title { font-size: clamp(2.9rem, 13vw, 3.5rem); }
  .hero__sub   { font-size: 1.06rem; margin-top: 22px; }
  .hero__cta   { margin-top: 34px; flex-direction: column; align-items: stretch; gap: 15px; width: 100%; }
  .hero__cta .btn { width: 100%; }
  .hero__cta .link-arrow { justify-content: center; }
  .eyebrow--hero { font-size: 12.5px; letter-spacing: .07em; margin-bottom: 20px; }

  /* ---------- Stats ---------- */
  .stats__grid { gap: 26px 18px; }
  .stat__num   { font-size: 2.45rem; }
  .stat__label { font-size: 14px; }

  /* ---------- Über mich: Foto weniger hoch ---------- */
  .expert__inner  { gap: 26px; }
  .expert__photo  { aspect-ratio: 4 / 5; max-width: none; }
  .expert__title  { font-size: 2.05rem; }
  .expert__text   { font-size: 16px; margin-top: 18px; }
  .expert__actions{ margin-top: 28px; gap: 16px; }

  /* ---------- Abschnitts-Überschriften ---------- */
  .head        { margin-bottom: 26px; }
  .head__title { font-size: 2.1rem; }
  .head__lead  { font-size: 1.02rem; margin-top: 15px; }

  /* ---------- Sparten-Karten ---------- */
  .sparten { gap: 14px; }
  .sparte  { padding: 30px 24px; border-radius: 22px; }
  .sparte__name { font-size: 1.85rem; }
  .sparte__role { margin-top: 10px; font-size: 12.5px; }
  .sparte__text { font-size: 15.5px; line-height: 1.6; }
  .sparte__facts { gap: 7px; margin-top: 18px; }
  .sparte__facts li { font-size: 12px; padding: 7px 12px; }

  .sparte__metrics { margin-top: 24px; padding-top: 18px; gap: 16px; }
  .sparte__metric-value { font-size: 1.6rem; }
  .sparte__metric-label { font-size: 12.5px; margin-top: 4px; }

  /* Kundenlogos: größer und ruhiger */
  .sparte__refs { margin-top: 22px; padding-top: 18px; }
  .sparte__refs-label { font-size: 12px; margin-bottom: 14px; }
  .sparte__logos { gap: 18px 24px; }
  .sparte__logos img { height: 27px; max-width: 124px; opacity: .62; }
  .sparte__partner { font-size: 16px; }

  /* ---------- Pipeline ---------- */
  .pipeline { margin: 0 14px 14px; padding: 46px 0; }
  .pipeline__title { font-size: 2rem; }
  .pipeline__lead  { font-size: 1rem; margin-top: 15px; }
  .pipeline__cta   { margin-top: 30px; }

  /* ---------- Kontakt ---------- */
  .connect { margin: 0 14px 14px; padding: 46px 0; }
  .connect__title { font-size: 2.05rem; }
  .connect__lead  { font-size: 1rem; margin-top: 16px; }
  .connect__socials { margin-top: 28px; display: grid; grid-template-columns: 1fr; gap: 11px; width: 100%; }
  .social { justify-content: flex-start; padding: 15px 22px; }
  .connect__split   { margin-top: 40px; padding-top: 34px; }
  .connect__split-q { font-size: 1.28rem; margin-bottom: 24px; }
  .path { padding: 26px 24px; }
  .path__name { font-size: 1.6rem; }

  /* ---------- Footer ---------- */
  .footer { padding: 46px 0 28px; }
  .footer__inner { padding-bottom: 34px; }
  .footer__base { flex-direction: column; gap: 6px; align-items: flex-start; }

  /* ---------- Rechtsseiten ---------- */
  .legal { padding: 40px 0 54px; }
  .legal h1 { font-size: 2rem; }
  .legal h2 { font-size: 1.24rem; margin: 34px 0 12px; }
  .legal p, .legal li { font-size: 15.5px; }
}

/* ==========================================================================
   MOBILE: Überlauf-Schutz + Tippflächen (Apple/Google-Richtwert 44px)
   ========================================================================== */
@media (max-width: 640px) {

  /* Countdown passte auf schmalen Geräten (320px) nicht ins Bild:
     Trenner raus, Kästen dürfen schrumpfen, Label kleiner. */
  .countdown { width: 100%; gap: 7px; }
  .cd        { flex: 1 1 0; min-width: 0; padding: 15px 3px; }
  .cd__num   { font-size: clamp(1.45rem, 7.4vw, 2rem); }
  .cd__label { font-size: 11px; letter-spacing: .02em; }
  .cd__sep   { display: none; }

  /* Lange Wörter dürfen umbrechen statt zu überlaufen */
  .sparte__name, .head__title, .expert__title,
  .connect__title, .pipeline__title { overflow-wrap: break-word; hyphens: auto; }
}

/* Tippflächen auf allen Touch-Geräten (auch Tablets in Hochkant, 768px+).
   Nur Innenabstand, das Layout bleibt unverändert. */
@media (pointer: coarse), (max-width: 900px) {
  .link-arrow       { padding-block: 11px; }
  .footer__col a    { padding: 11px 0; }
  .nav__logo        { padding-block: 9px; }
  .nav__menu a      { padding-block: 10px; }
  .sparte__partner  { padding-block: 10px; }
  .subnav__back     { padding-block: 10px; }
  .path__cta        { padding-block: 8px; }
  .social           { padding-block: 15px; }
}

/* Sehr schmale Geräte (bis 340px) */
@media (max-width: 340px) {
  /* Countdown: „Sekunden" braucht Luft, also schmalerer Innenrand und Abstand */
  .pipeline .wrap { padding-inline: 12px; }
  .countdown   { gap: 5px; }
  .cd          { padding: 15px 2px; }
  .cd__label   { font-size: 10px; letter-spacing: 0; }
  .sparte      { padding: 26px 20px; }
  .connect, .pipeline { margin-inline: 10px; }
  .hero__title { font-size: 2.6rem; }
}
