/* Claudia Kowitz – Design-System v2 „Waldgrün“
   Basis: Refero „Mode“ (Waldgrün-Bühne, hervorgehobene Blöcke, 16px, linksbündig, keine Schatten)
   + Ease Health (helle Mint-Karten). Farben aus Claudias bisheriger Marke (#06402F, #01261C, #195947, #AEBFBC). */

@font-face {
  font-family: "Newsreader"; font-style: normal; font-weight: 300 600; font-display: swap;
  src: url(assets/fonts/newsreader.woff2) format("woff2");
}
@font-face {
  font-family: "Hanken Grotesk"; font-style: normal; font-weight: 300 500; font-display: swap;
  src: url(assets/fonts/hanken-grotesk.woff2) format("woff2");
}

:root {
  --forest: #06402f;      /* Bühne, Hauptfarbe der Marke */
  --forest-deep: #01261c; /* Footer */
  --forest-mid: #195947;  /* Flächen auf Grün, Balken-Spur */
  --mint: #c3e8d2;        /* hervorgehobene Blöcke + Hauptaktion auf Grün */
  --mint-wash: #e2f1e7;   /* helle Karten auf Papier */
  --paper: #eef2ea;       /* Seitenfläche */
  --white: #ffffff;
  --ink: #10231c;         /* Text auf hell */
  --mute: #4a5e57;        /* Nebentext auf hell */
  --mist: #aebfbc;        /* Nebentext auf Grün */
  --line: #cfd9d1;
  --line-dark: rgba(255, 255, 255, .16);

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --r: 16px;

  --gutter: clamp(20px, 4vw, 56px);
  --max: 1280px;
  --section: clamp(80px, 10vw, 144px);
  --head-gap: clamp(40px, 5vw, 64px);  /* Überschrift → Inhalt */
  --gap: 16px;                               /* zwischen Karten/Blöcken */
  --header-h: 88px;
  --ease: cubic-bezier(.22, .61, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 18px/1.6 var(--sans); -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; text-wrap: pretty; }
h1, h2, h3 { margin: 0; font-weight: 400; text-wrap: balance; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.on-dark :focus-visible { outline-color: var(--mint); }

.skip { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--white); color: var(--ink); padding: 12px 18px; text-decoration: none; border-radius: 8px; }
.skip:focus { top: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Typo-Rollen ---------- */
.label { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; color: var(--mute); }
.on-dark .label { color: var(--mist); }
.display { font-family: var(--serif); font-size: clamp(52px, 7.4vw, 112px); line-height: .98; letter-spacing: -.03em; font-weight: 400; }
.h2 { font-family: var(--serif); font-size: clamp(38px, 4.6vw, 68px); line-height: 1.02; letter-spacing: -.025em; }
.h3 { font-family: var(--serif); font-size: clamp(26px, 2.3vw, 34px); line-height: 1.1; letter-spacing: -.015em; hyphens: manual; }
.lead { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.5; }
.on-dark .lead { color: #dbe6e0; }
.mute { color: var(--mute); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none; cursor: pointer;
  font: 500 16px/1 var(--sans); padding: 18px 24px; border-radius: var(--r); border: 1px solid transparent;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-mint { background: var(--mint); color: var(--forest); }
.btn-mint:hover { background: var(--white); }
.btn-ghost { border-color: rgba(255,255,255,.4); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); }
.btn-forest { background: var(--forest); color: var(--white); }
.btn-forest:hover { background: var(--forest-deep); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 20; color: var(--white);
  transition: background .3s var(--ease), transform .4s var(--ease), box-shadow .3s var(--ease);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); transition: height .3s var(--ease); }
.site-header.is-scrolled { background: rgba(6, 64, 47, .96); box-shadow: 0 1px 0 var(--line-dark); }
@supports (backdrop-filter: blur(8px)) { .site-header.is-scrolled { background: rgba(6, 64, 47, .88); backdrop-filter: blur(10px); } }
.site-header.is-scrolled .wrap { height: 68px; }
.site-header.is-hidden { transform: translateY(-100%); }
/* offenes Menü: kein Filter/Transform am Header, sonst greift das Vollbild-Overlay nicht */
.nav-open .site-header { transform: none; backdrop-filter: none; }
.brand { text-decoration: none; font-family: var(--serif); font-size: 24px; letter-spacing: -.01em; line-height: 1; padding: 10px 0; }
.nav { display: flex; gap: clamp(16px, 2.4vw, 36px); align-items: center; }
.nav a { text-decoration: none; font-size: 15px; padding: 12px 0; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .nav-cta { background: var(--mint); color: var(--forest); padding: 12px 18px; border-radius: 12px; font-weight: 500; }
.nav .nav-cta::after { display: none; }
.nav .nav-cta:hover { background: var(--white); }
.menu-btn { display: none; height: 44px; padding: 0 18px; border-radius: 12px; border: 1px solid rgba(255,255,255,.4); background: transparent; color: inherit; font: 500 14px/1 var(--sans); cursor: pointer; }

@media (max-width: 900px) {
  .menu-btn { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: 30; background: var(--forest-deep); color: var(--white);
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; padding: 0 var(--gutter);
    visibility: hidden; opacity: 0; transition: opacity .3s var(--ease), visibility 0s .3s;
  }
  .nav a { font-family: var(--serif); font-size: clamp(34px, 9vw, 52px); line-height: 1.2; }
  .nav .nav-cta { font-family: var(--sans); font-size: 17px; margin-top: 24px; }
  .nav-open .nav { visibility: visible; opacity: 1; transition: opacity .3s var(--ease); }
  .nav-open .menu-btn { position: relative; z-index: 40; color: var(--white); }
}

/* ---------- Hero ---------- */
.hero { background: var(--forest); color: var(--white); padding: calc(var(--header-h) + clamp(40px, 6vw, 88px)) 0 clamp(48px, 6vw, 80px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 6vw, 96px); align-items: end; }
.hero .label { display: block; margin-bottom: 28px; }
.hero .display { margin-bottom: 32px; }
.hero .lead { max-width: 520px; margin-bottom: 40px; }
.hero-copy { padding-bottom: clamp(0px, 3vw, 40px); }

/* Porträt ragt aus dem Mint-Block heraus */
.portrait-card {
  position: relative; margin: 18% 0 0; background: var(--mint); border-radius: var(--r);
  aspect-ratio: 1 / 1.08;
}
.portrait-card img {
  position: absolute; left: 0; bottom: 0; width: 100%;
  clip-path: inset(-60% 0 0 0 round 0 0 var(--r) var(--r));
}
.portrait-card figcaption {
  position: absolute; left: 16px; bottom: 16px; z-index: 2;
  background: var(--forest); color: var(--white); border-radius: 12px; padding: 10px 14px;
  font-size: 14px; line-height: 1.35;
}
.portrait-card figcaption span { display: block; color: var(--mist); font-size: 13px; }

@media (max-width: 1100px) { .hero-grid { grid-template-columns: 1.2fr .8fr; gap: 40px; } }
@media (max-width: 759px) {
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .portrait-card { width: 100%; max-width: 420px; margin-top: 30%; }
}
@media (max-width: 599px) {
  .actions { flex-direction: column; }
  .actions .btn { justify-content: center; }
}

/* ---------- Abschnitte ---------- */
.section { padding: var(--section) 0; }
.section.white { background: var(--white); }
.section.dark { background: var(--forest); color: var(--white); }
.head { display: flex; justify-content: space-between; align-items: end; gap: 24px 32px; margin-bottom: var(--head-gap); flex-wrap: wrap; }
.section.tight-top { padding-top: 0; }
.head .label { display: block; margin-bottom: 20px; }
.head .h2 { max-width: 16ch; }
.head p { max-width: 400px; margin: 0; color: var(--mute); }
.on-dark .head p { color: var(--mist); }

/* Karten (Mint-Wash, 16px) */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); list-style: none; margin: 0; padding: 0; }
.card {
  background: var(--mint-wash); border-radius: var(--r); padding: clamp(28px, 2.6vw, 40px);
  display: flex; flex-direction: column; min-height: 320px; text-decoration: none; height: 100%;
  transition: background .35s var(--ease);
}
.card .num { font-size: 14px; color: var(--mute); margin-bottom: auto; padding-bottom: 48px; font-variant-numeric: tabular-nums; }
.card .h3 { margin-bottom: 14px; }
.card p { margin: 0; color: var(--mute); font-size: 16px; }
/* Desktop: drei Textzeilen reservieren, damit Kartentitel in einer Reihe auf einer Linie stehen */
@media (min-width: 900px) { .card p { min-height: 4.8em; min-height: 3lh; } }
.card .go { margin-top: 28px; display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: 15px; }
.card .go svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
a.card:hover { background: var(--mint); }
a.card:hover .go svg { transform: translateX(4px); }
.white .card { background: var(--paper); }
.white a.card:hover { background: var(--mint); }
.on-dark .card { background: var(--forest-mid); color: var(--white); }
.on-dark .card p, .on-dark .card .num { color: #c9d6d2; }
@media (max-width: 1100px) { .card { min-height: 280px; padding: 28px; } }
@media (max-width: 899px) { .cards { grid-template-columns: 1fr; } .card { min-height: 0; } .card .num { padding-bottom: 24px; } .card p { max-width: 520px; } }

/* Zahl im hervorgehobenen Block */
.stat { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.stat-block { border-radius: var(--r); padding: clamp(28px, 3vw, 48px); display: flex; flex-direction: column; justify-content: space-between; gap: 32px; min-height: clamp(260px, 26vw, 340px); }
.stat-block.mint { background: var(--mint); color: var(--forest); }
.stat-block.mid { background: var(--forest-mid); }
.stat-block .big { white-space: nowrap; font-family: var(--serif); font-size: clamp(72px, 9vw, 140px); line-height: .85; letter-spacing: -.04em; margin: 0; }
.stat-block p { font-size: 18px; max-width: 420px; margin-bottom: 12px; }
.stat-block cite { font-style: normal; font-size: 13px; line-height: 1.45; }
.stat-block.mint cite { color: #2c5446; }
.stat-block.mid cite { color: #c9d6d2; }
@media (max-width: 759px) { .stat { grid-template-columns: 1fr; } .stat-block { min-height: 0; } }

/* Über mich */
.about { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.about .h2 { margin: 20px 0 0; }
.about .facts { margin-top: 0; }
.facts { list-style: none; padding: 0; margin: 0 0 32px; border-top: 1px solid var(--line); }
.facts li { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 16px; display: grid; grid-template-columns: 150px 1fr; gap: var(--gap); }
.facts li span:first-child { color: var(--mute); }
@media (max-width: 899px) { .about { grid-template-columns: 1fr; } }
@media (max-width: 599px) { .facts li { grid-template-columns: 1fr; gap: 2px; } }

/* CTA als großer Mint-Block */
.cta-block { background: var(--mint); color: var(--forest); border-radius: var(--r); padding: clamp(32px, 6vw, 88px); display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px 48px; align-items: center; }
.cta-block .h2 { max-width: 14ch; }
.cta-block p { margin-bottom: 24px; max-width: 420px; }
.cta-block .phone { display: inline-block; margin-top: 8px; padding: 12px 0; font-size: 15px; text-underline-offset: 4px; }
@media (max-width: 759px) { .cta-block { grid-template-columns: 1fr; } .cta-block .btn { width: 100%; justify-content: center; } }

.section:not(.dark):not(.white) + .cta-sec { padding-top: 0; }

/* Unterseiten-Kopf */
.page-hero { background: var(--forest); color: var(--white); padding: calc(var(--header-h) + clamp(56px, 8vw, 120px)) 0 clamp(56px, 7vw, 96px); overflow: hidden; }
.page-hero .label { display: block; margin-bottom: 24px; }
.page-hero .display { font-size: clamp(46px, 6.4vw, 96px); max-width: 15ch; margin-bottom: 32px; }
.page-hero .lead { max-width: 640px; margin: 0; }

/* Schritte */
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.steps li { counter-increment: s; background: var(--white); border-radius: var(--r); padding: 32px; }
.steps li::before { content: counter(s, decimal-leading-zero); display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--mint); color: var(--forest); font-weight: 500; font-size: 15px; margin-bottom: 40px; }
.steps h3 { font-family: var(--serif); font-size: 26px; line-height: 1.15; margin-bottom: 10px; letter-spacing: -.01em; }
.steps p { margin: 0; color: var(--mute); font-size: 16px; }
@media (max-width: 899px) { .steps { grid-template-columns: 1fr; } .steps li::before { margin-bottom: 24px; } }

/* Balken-Diagramm auf Grün */
.bars { list-style: none; margin: 0; padding: 0; }
.bar { display: grid; grid-template-columns: minmax(180px, 1.2fr) 3fr 64px; gap: 20px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line-dark); font-size: 16px; }
.bar .track { height: 12px; border-radius: 6px; background: var(--forest-mid); position: relative; overflow: hidden; }
.bar .fill { position: absolute; inset: 0 auto 0 0; width: calc(var(--v) * 1%); border-radius: 6px; background: var(--mist); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease); }
.bar.mark .fill { background: var(--mint); }
.bar.mark { font-weight: 500; }
.bar .val { text-align: right; font-variant-numeric: tabular-nums; }
.is-in .bar .fill { transform: scaleX(1); }
.bars .bar:nth-child(2) .fill { transition-delay: .08s; } .bars .bar:nth-child(3) .fill { transition-delay: .16s; }
.bars .bar:nth-child(4) .fill { transition-delay: .24s; } .bars .bar:nth-child(5) .fill { transition-delay: .32s; }
.bars .bar:nth-child(6) .fill { transition-delay: .4s; } .bars .bar:nth-child(7) .fill { transition-delay: .48s; }
.bars .bar:nth-child(8) .fill { transition-delay: .56s; }
.chart-cap { font-size: 13px; color: var(--mist); margin-top: 24px; max-width: 760px; line-height: 1.5; }
@media (max-width: 640px) { .bar { grid-template-columns: 1fr 56px; } .bar .track { grid-column: 1 / -1; grid-row: 2; } }

/* Zitat-Block */
.quote-block { background: var(--mint); color: var(--forest); border-radius: var(--r); padding: clamp(36px, 6vw, 88px); }
.quote-block .label { color: #2c5446; }
.quote-block p { font-family: var(--serif); font-size: clamp(36px, 5vw, 76px); line-height: 1.02; letter-spacing: -.03em; margin: 20px 0 0; max-width: 18ch; }

/* Formular */
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: var(--gap); align-items: start; }
.contact-aside { background: var(--forest); color: var(--white); border-radius: var(--r); padding: 36px; }
.contact-aside dl { margin: 0; }
.contact-aside dt { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--mist); font-weight: 500; margin-top: 24px; }
.contact-aside dt:first-child { margin-top: 0; }
.contact-aside dd { margin: 2px 0 0; font-size: 19px; overflow-wrap: anywhere; }
.contact-aside dd a { text-decoration: none; display: inline-block; padding: 8px 0; }
.contact-aside dd a:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact-aside .note { margin: 32px 0 0; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: 15px; color: #dbe6e0; }
.form { background: var(--white); border-radius: var(--r); padding: clamp(28px, 4vw, 48px); display: grid; gap: 24px; }
.field label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 8px; }
.field input, .field textarea { width: 100%; font: inherit; font-size: 17px; color: var(--ink); background: var(--paper); border: 1px solid #7a8d84; border-radius: 12px; padding: 14px 16px; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 1px var(--forest); background: var(--white); }
.form .btn { justify-self: start; border: 0; }
.form-status { margin: 0; font-size: 15px; background: var(--mint-wash); border-radius: 12px; padding: 14px 16px; }
.form-status:empty { display: none; }
.field .hint { display: block; font-size: 14px; color: var(--mute); margin-top: 6px; }
@media (max-width: 599px) { .form .btn { justify-self: stretch; justify-content: center; } }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } .contact-grid .form { order: -1; } }

.legal { max-width: 760px; }
.legal h2 { font-family: var(--serif); font-size: 30px; margin: 40px 0 12px; }
.legal .note { background: var(--mint-wash); border-radius: 12px; padding: 16px 20px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest-deep); color: var(--white); padding: clamp(56px, 7vw, 96px) 0 32px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer-grid .brand { margin-bottom: 8px; font-size: 32px; color: var(--white); }
.footer-grid p { color: var(--mist); max-width: 320px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin: 0; }
.footer-grid a { text-decoration: none; color: #dbe6e0; display: inline-block; padding: 10px 0; }
.footer-grid a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.footer-grid .label { display: block; margin-bottom: 14px; }
.footer-meta { margin-top: 48px; padding-top: 14px; align-items: center; border-top: 1px solid var(--line-dark); display: flex; justify-content: space-between; gap: var(--gap); font-size: 13px; color: var(--mist); flex-wrap: wrap; }
.footer-meta a { color: inherit; display: inline-block; padding: 10px 4px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- Bewegung ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.hero .hero-copy > *, .portrait-card { animation: rise 1.1s var(--ease) both; }
.hero .hero-copy > :nth-child(2) { animation-delay: .06s; } .hero .hero-copy > :nth-child(3) { animation-delay: .12s; }
.hero .hero-copy > :nth-child(4) { animation-delay: .18s; } .portrait-card { animation-delay: .2s; }
@keyframes rise { from { opacity: 0; translate: 0 28px; } to { opacity: 1; translate: 0 0; } }

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