/* ============================================================
   HAU & GRÄF ADVISORY — One-Pager
   Editorial · dunkel · edel · Anwalt-like
   ============================================================ */

:root {
  /* palette */
  --green:        #005348;   /* Markenfarbe */
  --green-2:      #00715f;   /* hover */
  --green-bright: #5db6a5;   /* lesbarer Akzent auf Dunkel */
  --green-soft:   #cfe2dc;

  --ink:     #0a100f;        /* Tiefschwarz-Grün */
  --ink-2:   #0d1413;        /* dunkle Sektion */
  --ink-3:   #111b19;        /* Karten auf Dunkel */
  --paper:   #f4f1ea;        /* warmes Off-White */
  --paper-2: #ebe6db;        /* zweite helle Stufe */

  --on-dark:        #ece9e1;
  --on-dark-dim:    #9aa6a2;
  --on-dark-faint:  #5e6c68;
  --on-light:       #14201d;
  --on-light-dim:   #51605b;

  --line-dark:  rgba(236,233,225,.13);
  --line-light: rgba(20,32,29,.14);

  --serif: "Spectral", Georgia, "Times New Roman", serif;
  --sans:  "IBM Plex Sans", system-ui, sans-serif;

  --w: 1240px;
  --pad: clamp(1.4rem, 5vw, 5rem);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--ink);
  color: var(--on-dark);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
em { font-style: italic; }
::selection { background: var(--green); color: var(--paper); }

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

section { position: relative; padding-block: clamp(5rem, 12vw, 11rem); }
.section--dark    { background: var(--ink);     color: var(--on-dark); }
.section--paper   { background: var(--paper);   color: var(--on-light); }
.section--paper-2 { background: var(--paper-2); color: var(--on-light); }

/* hairline transitions between bands */
.section--paper, .section--paper-2 { border-top: 1px solid var(--line-light); }
.section--dark + .section--dark { border-top: 1px solid var(--line-dark); }

/* eyebrow / section index */
.eyebrow, .index {
  display: inline-block;
  font-size: .72rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--green-bright);
}
.section--paper .index, .section--paper-2 .index { color: var(--green); }

.sec-head { max-width: 60rem; margin-bottom: clamp(3rem, 6vw, 5.5rem); }
.sec-head .index { margin-bottom: 1.6rem; position: relative; padding-left: 2.6rem; }
.sec-head .index::before {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 1.8rem; height: 1px; background: currentColor; opacity: .5;
}

.lead {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.7rem, 4.2vw, 3.1rem);
  line-height: 1.18;
  letter-spacing: -.01em;
  color: var(--on-dark);
}
.lead em { color: var(--green-bright); font-style: italic; }
.lead--dark { color: var(--on-light); }
.lead--dark em { color: var(--green); }

/* ---------- buttons ---------- */
.btn {
  --bh: 3.5rem;
  display: inline-flex; align-items: center; justify-content: center;
  height: var(--bh); padding-inline: 1.9rem;
  font-family: var(--sans); font-size: .9rem; font-weight: 500;
  letter-spacing: .02em;
  border: 1px solid transparent; border-radius: 2px;
  cursor: pointer; position: relative; overflow: hidden;
  transition: transform .5s var(--ease), background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.btn--solid { background: var(--green); color: var(--paper); }
.btn--solid:hover { background: var(--green-2); transform: translateY(-2px); }
.btn--ghost { border-color: var(--line-dark); color: var(--on-dark); }
.btn--ghost:hover { border-color: var(--green-bright); color: #fff; transform: translateY(-2px); }
.section--paper .btn--ghost, .section--paper-2 .btn--ghost { border-color: var(--line-light); color: var(--on-light); }

/* ============================================================
   PROGRESS + GRAIN
   ============================================================ */
.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 200;
  background: transparent; pointer-events: none;
}
.progress span {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--green), var(--green-bright));
}
.grain {
  position: fixed; inset: 0; z-index: 150; pointer-events: none; opacity: .04; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .5s var(--ease), backdrop-filter .5s var(--ease), border-color .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10,16,15,.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line-dark);
}
.nav__inner {
  max-width: var(--w); margin-inline: auto; padding: 1.35rem var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}

.brand { display: inline-flex; align-items: center; line-height: 1; }
.brand__logo { height: 50px; width: auto; display: block; transition: opacity .3s var(--ease); }
.brand:hover .brand__logo { opacity: .8; }
.brand__logo--footer { height: 66px; }
@media (max-width: 560px) { .brand__logo { height: 42px; } }

.nav__links { display: flex; align-items: center; gap: 2.2rem; }
.nav__links a {
  font-size: .88rem; font-weight: 400; color: var(--on-dark-dim);
  position: relative; transition: color .3s var(--ease);
}
.nav__links a:not(.nav__cta)::after {
  content: ""; position: absolute; left: 0; bottom: -.4rem; height: 1px; width: 0;
  background: var(--green-bright); transition: width .4s var(--ease);
}
.nav__links a:not(.nav__cta):hover { color: var(--on-dark); }
.nav__links a:not(.nav__cta):hover::after { width: 100%; }
.nav__cta {
  border: 1px solid var(--line-dark); padding: .6rem 1.15rem; border-radius: 2px;
  color: var(--on-dark) !important; transition: border-color .3s var(--ease), background .3s var(--ease);
}
.nav__cta:hover { border-color: var(--green-bright); background: rgba(93,182,165,.08); }

/* burger */
.burger {
  display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer;
  flex-direction: column; gap: 6px; align-items: center; justify-content: center;
}
.burger span { display: block; width: 24px; height: 1.5px; background: var(--on-dark); transition: transform .4s var(--ease), opacity .3s; }
.burger.open span:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
.burger.open span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }

/* mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--ink);
  display: flex; flex-direction: column; justify-content: center; gap: 0;
  padding: var(--pad);
  clip-path: inset(0 0 100% 0); transition: clip-path .6s var(--ease);
}
.mobile-menu.open { clip-path: inset(0 0 0 0); }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  font-family: var(--serif); font-size: clamp(2rem, 9vw, 3rem); font-weight: 300;
  color: var(--on-dark); padding: .5rem 0; border-bottom: 1px solid var(--line-dark);
  display: flex; align-items: baseline; gap: 1rem; opacity: 0; transform: translateY(20px);
}
.mobile-menu.open nav a { opacity: 1; transform: none; transition: opacity .5s var(--ease), transform .5s var(--ease); }
.mobile-menu.open nav a:nth-child(1){ transition-delay:.10s } .mobile-menu.open nav a:nth-child(2){ transition-delay:.16s }
.mobile-menu.open nav a:nth-child(3){ transition-delay:.22s } .mobile-menu.open nav a:nth-child(4){ transition-delay:.28s }
.mobile-menu.open nav a:nth-child(5){ transition-delay:.34s }
.mobile-menu nav a::before { content: attr(data-i); font-family: var(--sans); font-size: .8rem; color: var(--green-bright); letter-spacing: .1em; }
.mobile-menu__foot { margin-top: 2.5rem; display: flex; flex-direction: column; gap: .4rem; color: var(--on-dark-dim); }
.mobile-menu__foot a { font-size: 1rem; }

/* ============================================================
   01 · HERO
   ============================================================ */
.hero {
  min-height: 100svh; display: flex; flex-direction: column; justify-content: center;
  padding-top: 7rem; padding-bottom: 4rem; overflow: hidden;
}
.hero__glow {
  position: absolute; top: -20%; right: -10%; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(circle, rgba(0,83,72,.55), transparent 62%);
  filter: blur(30px); pointer-events: none; opacity: .9;
}
.hero__grid {
  max-width: var(--w); margin-inline: auto; padding-inline: var(--pad); width: 100%;
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: center;
}
.hero__copy { position: relative; z-index: 2; }
.hero .eyebrow { margin-bottom: 2rem; }
.hero__title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2rem, 3.6vw, 3.4rem); line-height: 1.08; letter-spacing: -.015em;
  color: #fff; text-wrap: balance;
}
.hero__title em { color: var(--green-bright); }
.hero__sub {
  margin-top: 1.8rem; font-size: clamp(1.05rem, 2vw, 1.35rem); font-weight: 300;
  color: var(--on-dark-dim); max-width: 30rem; line-height: 1.55;
}
.hero__cta { margin-top: 2.6rem; display: flex; gap: 1rem; flex-wrap: wrap; }

/* monochrome studio imagery, clean — no colour overlay */
.duotone { position: relative; margin: 0; overflow: hidden; border-radius: 3px; background: #f0ede6; }
.duotone img { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%) contrast(1.03); }
.duotone::before { content: ""; position: absolute; inset: 0; z-index: 1; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); border-radius: 3px; pointer-events: none; }

.hero__media { position: relative; z-index: 2; }
.hero__media .duotone { aspect-ratio: 3/2; }
/* overscan so the parallax shift never exposes an edge */
.hero__media .duotone img { position: absolute; inset: -12% 0 auto 0; width: 100%; height: 124%; object-fit: cover; object-position: center 26%; will-change: transform; }
.hero__media .duotone::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 45%; z-index: 1;
  background: linear-gradient(to top, rgba(6,11,10,.88), rgba(6,11,10,0)); pointer-events: none;
}
.hero__media-tag {
  position: absolute; left: 1.4rem; right: 1.4rem; bottom: 1.2rem; z-index: 2;
  font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: #fff; font-weight: 500;
}

.scroll-hint {
  position: absolute; bottom: 2rem; left: var(--pad); display: flex; align-items: center; gap: .8rem;
  font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; color: var(--on-dark-faint); z-index: 2;
}
.scroll-hint__line { display: block; width: 3rem; height: 1px; background: var(--on-dark-faint); position: relative; overflow: hidden; }
.scroll-hint__line::after { content: ""; position: absolute; inset: 0; background: var(--green-bright); transform: translateX(-100%); animation: scrollLine 2.4s var(--ease) infinite; }
@keyframes scrollLine { 0%{transform:translateX(-100%)} 50%{transform:translateX(0)} 100%{transform:translateX(100%)} }

/* ============================================================
   02 · PROBLEM
   ============================================================ */
.pains { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.pain { background: var(--ink); padding: clamp(1.8rem, 3vw, 2.8rem); display: flex; flex-direction: column; }
.pain__no { font-family: var(--serif); font-size: 1rem; color: var(--green-bright); letter-spacing: .1em; margin-bottom: 2.6rem; }
.pain h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin: 0 0 .9rem; color: #fff; min-height: 2.4em; display: flex; align-items: flex-end; }
.pain p { color: var(--on-dark-dim); font-size: .98rem; }

/* ============================================================
   03 · ANSATZ / JOURNEY
   ============================================================ */
.journey { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 3rem); }
.journey__line { position: absolute; top: 2.1rem; left: 6%; right: 6%; height: 1px; background: var(--line-light); z-index: 0; }
.step { position: relative; z-index: 1; }
.step__no {
  display: inline-flex; align-items: center; justify-content: center; width: 4.2rem; height: 4.2rem;
  border: 1px solid var(--line-light); border-radius: 50%; background: var(--paper);
  font-family: var(--serif); font-size: 1.25rem; color: var(--green); margin-bottom: 1.8rem;
}
.step__kicker { display: block; font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--green); font-weight: 500; margin-bottom: .6rem; }
.step h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin-bottom: .7rem; }
.step p { color: var(--on-light-dim); font-size: 1rem; max-width: 22rem; }
.ansatz__note {
  margin-top: clamp(3rem, 6vw, 5rem); max-width: 44rem; font-size: 1.05rem; color: var(--on-light-dim);
  padding-top: 2rem; border-top: 1px solid var(--line-light);
}

/* ============================================================
   04 · LEISTUNGEN
   ============================================================ */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.card {
  background: var(--paper); border: 1px solid var(--line-light); border-radius: 3px;
  padding: clamp(1.8rem, 3vw, 2.8rem); display: flex; flex-direction: column;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .6s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(10,32,29,.35); border-color: rgba(0,83,72,.4); }
.card__num { font-family: var(--serif); font-size: .95rem; color: var(--green); letter-spacing: .1em; }
.card h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.45rem, 2.6vw, 2rem); margin: 1rem 0 .8rem; }
.card__claim { font-size: 1.05rem; color: var(--on-light); line-height: 1.5; margin-bottom: 1.6rem; }
.tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.tags li {
  font-size: .76rem; letter-spacing: .02em; color: var(--on-light-dim);
  border: 1px solid var(--line-light); border-radius: 100px; padding: .35rem .8rem;
}
.card__link {
  margin-top: auto; display: inline-flex; align-items: center; gap: .6rem;
  font-size: .9rem; font-weight: 500; color: var(--green);
}
.card__link span { transition: transform .4s var(--ease); }
.card:hover .card__link span { transform: translateX(6px); }

/* ============================================================
   05 · ERGEBNISSE
   ============================================================ */
.case + .case { margin-top: clamp(3rem, 6vw, 5rem); padding-top: clamp(3rem, 6vw, 5rem); border-top: 1px solid var(--line-dark); }
.case__tag { display: inline-block; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; color: var(--green-bright); margin-bottom: 1.4rem; }
.case__lead { font-family: var(--serif); font-weight: 300; font-size: clamp(1.4rem, 2.8vw, 2.1rem); line-height: 1.3; color: var(--on-dark); max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2rem); margin-bottom: clamp(3rem, 6vw, 4rem); }
.stat { padding-top: 2rem; border-top: 1px solid var(--line-dark); }
.stat__num { font-family: var(--serif); font-weight: 300; font-size: clamp(3.2rem, 8vw, 5.5rem); line-height: 1; color: #fff; display: block; letter-spacing: -.02em; }
.stat__num--word { color: var(--green-bright); }
.stat__label { display: block; margin-top: 1.1rem; color: var(--on-dark-dim); font-size: .98rem; max-width: 20rem; }
.quote {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(1.3rem, 3vw, 2rem); line-height: 1.45; color: var(--on-dark);
  max-width: 52rem; padding-left: clamp(1.2rem, 3vw, 2.2rem); border-left: 2px solid var(--green);
}
.quote cite { display: block; margin-top: 1.4rem; font-family: var(--sans); font-style: normal; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-faint); }
.quote cite span { color: var(--green-bright); }

/* ============================================================
   06 · ÜBER UNS
   ============================================================ */
.team { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(2rem, 5vw, 4rem); }
.person { display: flex; flex-direction: column; }
.person__img { position: relative; overflow: hidden; border-radius: 3px; background: #fff; border: 1px solid var(--line-light); }
.person__img img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center 8%;
  filter: grayscale(100%) contrast(1.04); transition: transform 1.1s var(--ease), filter .8s var(--ease);
}
.person:hover .person__img img { transform: scale(1.03); }
.person__body { padding-top: 1.8rem; }
.person__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.li-icon { color: var(--green); flex: none; transition: color .3s var(--ease), transform .3s var(--ease); }
.li-icon:hover { color: var(--green-2); transform: translateY(-2px); }
.person h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--on-light); }
.person__role { display: block; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin: .5rem 0 1.2rem; }
.person p { color: var(--on-light-dim); font-size: 1rem; max-width: 30rem; }
.ueber__story {
  margin-top: clamp(3rem, 6vw, 5rem); max-width: 50rem; font-family: var(--serif); font-weight: 300;
  font-size: clamp(1.2rem, 2.6vw, 1.7rem); line-height: 1.5; color: var(--on-light);
  padding-top: 2.4rem; border-top: 1px solid var(--line-light);
}
.ueber__story em { color: var(--green); }

/* ============================================================
   07 · FÜR WEN
   ============================================================ */
.fit { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; }
.fit li {
  display: flex; gap: 1.2rem; padding: 2rem 0; font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--on-light); border-top: 1px solid var(--line-light); align-items: baseline; padding-right: 2rem;
}
.fit li span { color: var(--green); font-family: var(--serif); flex: none; }

/* ============================================================
   08 · KONTAKT
   ============================================================ */
.kontakt { text-align: left; overflow: hidden; }
.kontakt__glow {
  position: absolute; bottom: -30%; left: 50%; transform: translateX(-50%);
  width: 80vw; height: 60vw; max-width: 1000px; max-height: 700px;
  background: radial-gradient(circle, rgba(0,83,72,.4), transparent 65%); filter: blur(20px); pointer-events: none;
}
.kontakt .wrap { position: relative; z-index: 1; }
.kontakt__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.kontakt__media { aspect-ratio: 3/2; align-self: stretch; }
.kontakt__media img { object-position: center 35%; }
.kontakt .index { margin-bottom: 1.8rem; }
.kontakt__title {
  font-family: var(--serif); font-weight: 300; font-size: clamp(2.6rem, 9vw, 6rem);
  line-height: 1.02; letter-spacing: -.02em; color: #fff; max-width: 16ch;
}
.kontakt__title em { color: var(--green-bright); }
.kontakt__sub { margin-top: 1.6rem; font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--on-dark-dim); max-width: 34rem; }
.kontakt__actions { margin-top: 2.6rem; }
.kontakt__details {
  margin-top: clamp(3rem, 6vw, 4.5rem); display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; border-top: 1px solid var(--line-dark); padding-top: 2.5rem;
}
.kontakt__detail { display: flex; flex-direction: column; gap: .5rem; font-size: 1.05rem; color: var(--on-dark); transition: color .3s var(--ease); }
a.kontakt__detail:hover { color: var(--green-bright); }
.kontakt__detail-k { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--on-dark-faint); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink); border-top: 1px solid var(--line-dark); padding-block: clamp(3rem, 6vw, 4.5rem); }
.footer__inner { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 2rem; align-items: start; }
.footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; }
.footer__social { display: flex; flex-direction: column; gap: .55rem; margin-top: 1.5rem; }
.footer__social a { display: inline-flex; align-items: center; gap: .6rem; font-size: .85rem; color: var(--on-dark-dim); transition: color .3s var(--ease); }
.footer__social a:hover { color: var(--green-bright); }
.footer__social svg { flex: none; }
.fuerwen__intro { margin-top: 1.6rem; max-width: 46rem; font-size: 1.05rem; line-height: 1.7; color: var(--on-light-dim); }
.footer__nav { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.footer__nav a { font-size: .85rem; color: var(--on-dark-dim); transition: color .3s var(--ease); }
.footer__nav a:hover { color: var(--green-bright); }
.footer__nav a[aria-disabled="true"] { opacity: .55; }
.footer__legal { text-align: right; font-size: .8rem; color: var(--on-dark-faint); line-height: 1.9; }

/* ============================================================
   LEGAL PAGES (Impressum / Datenschutz)
   ============================================================ */
.legal-hero { background: var(--ink); color: var(--on-dark); padding: 9rem 0 clamp(3rem, 6vw, 5rem); position: relative; overflow: hidden; }
.legal-hero .legal-glow { position: absolute; top: -30%; right: -5%; width: 50vw; height: 50vw; max-width: 600px; max-height: 600px; background: radial-gradient(circle, rgba(0,83,72,.5), transparent 62%); filter: blur(30px); pointer-events: none; }
.legal-hero .wrap { position: relative; z-index: 1; }
.legal-hero h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1.05; letter-spacing: -.02em; color: #fff; margin-top: 1.4rem; }
.legal-back { display: inline-flex; align-items: center; gap: .5rem; font-size: .85rem; color: var(--green-bright); }
.legal-back:hover { color: #fff; }

.legal { background: var(--paper); color: var(--on-light); }
.legal-wrap { max-width: 780px; margin-inline: auto; padding: clamp(3rem, 7vw, 5.5rem) var(--pad); }
.legal h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.4rem, 3vw, 1.9rem); color: var(--on-light); margin: 2.8rem 0 1rem; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-family: var(--sans); font-weight: 600; font-size: 1rem; color: var(--on-light); margin: 1.8rem 0 .5rem; }
.legal p, .legal li { color: var(--on-light-dim); font-size: 1rem; line-height: 1.7; margin-bottom: .8rem; }
.legal ul { margin: 0 0 1rem 1.2rem; list-style: disc; }
.legal a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: var(--green-2); }
.legal dl { display: grid; grid-template-columns: minmax(140px, 200px) 1fr; gap: .5rem 1.5rem; margin: 1rem 0 1.5rem; }
.legal dt { font-weight: 500; color: var(--on-light); font-size: .95rem; }
.legal dd { color: var(--on-light-dim); font-size: .95rem; }
.legal .legal-note { margin-top: 3rem; padding: 1.2rem 1.4rem; border-left: 2px solid var(--green); background: var(--paper-2); font-size: .9rem; }
.legal .placeholder { color: #b08900; font-weight: 500; }
@media (max-width: 560px) { .legal dl { grid-template-columns: 1fr; gap: .1rem; } .legal dt { margin-top: .8rem; } }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
/* stagger items inside a grid */
.pains .pain:nth-child(2), .cards .card:nth-child(2), .stats .stat:nth-child(2),
.journey .step:nth-child(2), .fit li:nth-child(2) { transition-delay: .1s; }
.pains .pain:nth-child(3), .cards .card:nth-child(3), .stats .stat:nth-child(3),
.journey .step:nth-child(3), .fit li:nth-child(3) { transition-delay: .2s; }
.cards .card:nth-child(4), .fit li:nth-child(4) { transition-delay: .3s; }

/* hero load-in (staggered) */
.hero .reveal { opacity: 0; transform: translateY(34px); }
.hero.loaded .reveal { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1s var(--ease); }
.hero.loaded .reveal[data-d="0"]{transition-delay:.05s}
.hero.loaded .reveal[data-d="1"]{transition-delay:.18s}
.hero.loaded .reveal[data-d="2"]{transition-delay:.28s}
.hero.loaded .reveal[data-d="3"]{transition-delay:.38s}
.hero.loaded .reveal[data-d="4"]{transition-delay:.52s}
.hero.loaded .reveal[data-d="5"]{transition-delay:.64s}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .burger { display: flex; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 8rem; padding-bottom: 4rem; }
  .hero__media { margin-top: 2.6rem; }
  .hero__media .duotone { aspect-ratio: 16/10; }
  .scroll-hint { display: none; }
  .pains, .journey, .cards, .stats, .team, .fit, .kontakt__grid, .kontakt__details, .footer__inner { grid-template-columns: 1fr; }
  .journey__line { display: none; }
  .footer__legal { text-align: left; }
  .footer__inner { gap: 2.2rem; }
  .quote { font-size: 1.4rem; }
}
@media (max-width: 560px) {
  .pains { border: 0; background: transparent; gap: 1px; }
  .pain { border: 1px solid var(--line-dark); }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
}

/* capture mode (screenshots) */
.cap .hero { min-height: auto; padding-top: 9rem; padding-bottom: 6rem; }
.cap .reveal { opacity: 1 !important; transform: none !important; }

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal, .hero .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}
