/* =========================================================
   Whitemeadow Webdesign — Global Stylesheet
   =========================================================
   DSGVO-Hinweis: Diese Datei lädt KEINE externen Ressourcen.
   Schriften werden lokal eingebunden (siehe @font-face unten).
   Falls die Font-Dateien noch nicht in /assets/fonts/ liegen,
   greifen automatisch hochwertige System-Schriften.
   ========================================================= */

/* ---------- Self-hosted Fonts (DSGVO-konform) ----------
   So aktivieren: Variable-Font-Dateien herunterladen und
   nach assets/fonts/ legen. Quellen:
   • Fraunces:  https://fonts.google.com/specimen/Fraunces  → "Static / Variable"
   • Inter:     https://fonts.google.com/specimen/Inter     → "Static / Variable"
   Die unten referenzierten Dateinamen entsprechen den
   Standard-Downloads von Google Fonts (woff2-Variable). */

@font-face {
  font-family: "Fraunces";
  src: local("Fraunces"),
       url("../fonts/Fraunces-Variable-v2.woff2") format("woff2-variations");
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: local("Fraunces Italic"),
       url("../fonts/Fraunces-Italic-Variable-v3.woff2") format("woff2-variations");
  font-weight: 300 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: local("Inter"),
       url("../fonts/Inter-Variable-v2.woff2") format("woff2-variations");
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
img, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
input, textarea, select { font: inherit; color: inherit; }

/* ---------- Design Tokens ---------- */
:root {
  --bg: #FAFAF7;
  --surface: #F2F1EB;
  --ink: #111315;
  --ink-muted: #5A5E63;
  --meadow: #2C5F4A;
  --meadow-deep: #1F4636;
  --meadow-soft: #D9E3DC;
  --line: #E5E3DB;
  --white: #FFFFFF;

  /* Fallback-Stacks greifen automatisch, falls die lokalen Font-Dateien fehlen.
     Damit sieht die Site auch ohne /assets/fonts/ vollwertig aus. */
  --font-display: "Fraunces", ui-serif, Georgia, "Iowan Old Style", "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI Variable", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --shadow-soft: 0 4px 24px rgba(17, 19, 21, 0.04);
  --shadow-lift: 0 18px 48px rgba(17, 19, 21, 0.10);

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 40px);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --header-h: 76px;
}

/* ---------- Typography ---------- */
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--ink);
  font-feature-settings: "ss01", "ss02";
}

h1 { font-size: clamp(2.75rem, 6.5vw, 5.5rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(2rem, 4.5vw, 3.5rem); letter-spacing: -0.025em; }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); }
h4 { font-size: 1.15rem; font-family: var(--font-sans); font-weight: 600; letter-spacing: 0; }

p { color: var(--ink-muted); max-width: 62ch; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--ink-muted); line-height: 1.55; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--meadow);
}
.eyebrow::before {
  content: ""; width: 22px; height: 1px; background: var(--meadow);
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
section { padding: clamp(72px, 10vw, 140px) 0; position: relative; }
.section-tight { padding: clamp(56px, 7vw, 96px) 0; }
.surface { background: var(--surface); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  font-weight: 500; font-size: 0.95rem;
  transition: transform .35s var(--ease-out), background .25s ease, color .25s ease, box-shadow .35s ease;
  will-change: transform;
}
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: var(--meadow); transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.btn-ghost { color: var(--ink); border: 1px solid var(--line); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); transform: translateY(-2px); }
.btn .arrow { transition: transform .35s var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(250, 250, 247, 0.72);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, height .3s ease;
}
.site-header.is-scrolled {
  background: rgba(250, 250, 247, 0.92);
  border-bottom-color: var(--line);
  height: 64px;
}
.nav-inner {
  width: 100%; max-width: var(--container);
  margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 1.25rem; letter-spacing: -0.02em;
  color: var(--ink);
}
.brand-mark {
  width: 30px; height: 30px; display: inline-flex;
  align-items: center; justify-content: center;
  color: var(--ink);
  position: relative;
}
.brand-mark svg, .brand-mark img {
  width: 100%; height: 100%; display: block;
  transition: transform .6s cubic-bezier(0.3, 1.3, 0.5, 1);
}
.brand:hover .brand-mark img,
.brand:hover .brand-mark svg { transform: rotate(15deg); }
.brand-mark .pollen {
  position: absolute;
  width: 1.5px; height: 1.5px;
  background: var(--ink);
  pointer-events: none;
  opacity: 0;
  left: var(--px);
  top: var(--py);
}
@media (prefers-reduced-motion: reduce) {
  .brand-mark .pollen { display: none; }
}
.nav-links {
  display: flex; gap: 6px; list-style: none;
}
.nav-links a {
  display: inline-block; padding: 10px 16px; font-size: 0.93rem; color: var(--ink);
  border-radius: var(--radius-pill); position: relative; transition: color .2s ease, background .2s ease;
}
.nav-links a:hover { background: var(--meadow-soft); color: var(--meadow-deep); }
.nav-links a.active { color: var(--meadow); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 50%; bottom: 4px; transform: translateX(-50%);
  width: 4px; height: 4px; border-radius: 50%; background: var(--meadow);
}
.nav-cta { display: inline-flex; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: var(--radius-pill);
  align-items: center; justify-content: center;
  border: 1px solid var(--line);
}
.nav-toggle span {
  display: block; width: 18px; height: 1.5px; background: var(--ink); position: relative;
  transition: transform .35s var(--ease-out), background .2s;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--ink);
  transition: transform .35s var(--ease-out), top .35s var(--ease-out);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top:  6px; }

body.menu-open { overflow: hidden; }
body.menu-open .nav-toggle span { background: transparent; }
body.menu-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
body.menu-open .nav-toggle span::after  { top: 0; transform: rotate(-45deg); }

/* Mobile menu overlay */
.mobile-menu {
  position: fixed; inset: 0;
  background: var(--bg);
  padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
  transform: translateY(-12px);
  opacity: 0; pointer-events: none;
  transition: opacity .35s var(--ease-out), transform .45s var(--ease-out);
  z-index: 90;
  display: flex; flex-direction: column; justify-content: space-between;
}
body.menu-open .mobile-menu { opacity: 1; pointer-events: auto; transform: translateY(0); }
.mobile-menu ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.mobile-menu a {
  display: block; padding: 14px 0;
  font-family: var(--font-display); font-size: clamp(2rem, 8vw, 3rem);
  letter-spacing: -0.025em; border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateY(12px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}
body.menu-open .mobile-menu a {
  opacity: 1; transform: translateY(0);
  transition-delay: calc(var(--i, 0) * 60ms + 100ms);
}
.mobile-meta { display: flex; justify-content: space-between; color: var(--ink-muted); font-size: 0.9rem; }

/* ---------- (Alte .hero / .hero-grid / .hero-portfolio Regeln entfernt —
   wurden durch den neuen Dark-Hero ersetzt, haben dort aber den
   Akzent-Gradient und das Maskenverhalten kaputt gemacht weil sie
   spezifischer als .hero-headline .accent matchten.) ---------- */

/* Marquee strip */
.marquee {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 22px 0; overflow: hidden;
}
.marquee-track {
  display: flex; gap: 56px; white-space: nowrap;
  animation: marquee 36s linear infinite;
  font-family: var(--font-display); font-style: italic; font-size: 1.2rem; color: var(--ink-muted);
}
.marquee-track span { display: inline-flex; align-items: center; gap: 56px; }
.marquee-track span::after {
  content: "✦"; color: var(--meadow); font-style: normal;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- Section header ---------- */
.section-head {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px);
  margin-bottom: clamp(40px, 5vw, 72px); align-items: end;
}
.section-head .lead { max-width: 52ch; }

/* ---------- Feature/Value cards ---------- */
.values-grid {
  display: grid; gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  grid-template-columns: repeat(3, 1fr);
}
.value {
  background: var(--bg); padding: clamp(28px, 3.5vw, 44px);
  display: flex; flex-direction: column; gap: 18px;
  transition: background .4s ease;
}
.value:hover { background: var(--surface); }
.value-num {
  font-family: var(--font-display); font-size: 1rem; color: var(--meadow); letter-spacing: 0.04em;
}

/* ---------- Cross-Link am Sektionsende (Leistungen → Pakete) ---------- */
.section-pakete-link {
  display: flex;
  justify-content: flex-end;
  margin-top: clamp(20px, 3vw, 32px);
}
.section-pakete-link a {
  color: var(--meadow);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color .2s ease;
}
.section-pakete-link a > span:first-child {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.section-pakete-link a .arrow {
  display: inline-block;
  transition: transform .25s var(--ease-out);
}
.section-pakete-link a:hover { color: var(--meadow-deep); }
.section-pakete-link a:hover .arrow { transform: translateX(4px); }
.value h3 { font-family: var(--font-sans); font-weight: 500; font-size: 1.3rem; letter-spacing: -0.01em; }
.value p { font-size: 0.97rem; }

/* ---------- Service rows (Accordion mit <details>) ---------- */
.services-stack { display: grid; gap: 16px; }
.service-row {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--bg);
  transition: background .35s ease, border-color .3s ease;
}
.service-row:hover { background: var(--surface); border-color: var(--meadow-soft); }
.service-row[open] { background: var(--surface); border-color: var(--meadow-soft); }
.service-row > summary {
  display: grid; grid-template-columns: 80px 1fr auto; gap: 24px; align-items: center;
  padding: 28px clamp(20px, 3vw, 36px);
  cursor: pointer;
  list-style: none;
  user-select: none;
}
/* Statische Variante ohne <details> (z.B. FAQ) */
article.service-row {
  display: grid; grid-template-columns: 80px 1fr; gap: 24px; align-items: start;
  padding: 28px clamp(20px, 3vw, 36px);
}
/* Link-Variante (z.B. Home-Services-Teaser) — gleiche Grid-Logik
   wie summary, plus Text-Decoration weg und Cursor-Pointer. */
a.service-row {
  display: grid; grid-template-columns: 80px 1fr auto; gap: 24px; align-items: center;
  padding: 28px clamp(20px, 3vw, 36px);
  text-decoration: none;
  color: inherit;
}
a.service-row:hover .chevron { transform: translateX(4px); }
.service-row > summary::-webkit-details-marker { display: none; }
.service-row > summary::marker { content: ''; }
.service-row > summary:focus-visible { outline: 2px solid var(--meadow); outline-offset: 4px; border-radius: var(--radius-lg); }
.service-row .num { font-family: var(--font-display); color: var(--meadow); font-size: 1.1rem; }
.optional-tag {
  font-family: var(--font-sans);
  font-size: 0.7em;
  font-weight: 400;
  font-style: italic;
  color: var(--meadow);
  margin-left: 10px;
  letter-spacing: 0.02em;
  vertical-align: 0.05em;
}
.service-row h3 { font-family: var(--font-sans); font-weight: 500; font-size: 1.25rem; letter-spacing: -0.005em; }
/* Abstand h3 → p in allen drei Service-Row-Varianten:
   - a.service-row (Home Services-Teaser):     .service-row > div > p
   - article.service-row (FAQ-Fragen):          .service-row > div > p
   - details.service-row > summary (Leistungen): .service-row > summary > div > p
   Exkludiert .service-row-detail (das ist die ausgeklappte Detail-Box). */
.service-row > div > p,
.service-row > summary > div > p { margin-top: 12px; font-size: 0.95rem; max-width: 60ch; }
.service-row .chevron { color: var(--ink-muted); transition: transform .35s var(--ease-out), color .25s ease; }
.service-row:hover .chevron, .service-row[open] .chevron { color: var(--meadow); }
.service-row[open] .chevron { transform: rotate(90deg); }

.service-row-detail {
  padding: 4px clamp(20px, 3vw, 36px) 28px clamp(100px, 12vw, 140px);
  color: var(--ink-muted);
  animation: detail-fade-in .3s ease-out;
}
.service-row-detail p { font-size: 0.95rem; line-height: 1.6; max-width: 60ch; margin-bottom: 14px; }
.service-row-detail p:last-child { margin-bottom: 0; }
.service-row-detail ul, .service-row-detail ol { padding-left: 1.4em; margin: 0 0 16px; max-width: 62ch; }
.service-row-detail li { font-size: 0.95rem; line-height: 1.55; margin-bottom: 8px; color: var(--ink-muted); }
.service-row-detail strong { color: var(--ink); font-weight: 500; }
@keyframes detail-fade-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (max-width: 720px) {
  .service-row > summary,
  article.service-row,
  a.service-row { grid-template-columns: 1fr auto; }
  .service-row .num { display: none; }
  .service-row-detail { padding-left: clamp(20px, 3vw, 36px); }
}
@media (prefers-reduced-motion: reduce) {
  .service-row-detail { animation: none; }
}

/* ---------- Process timeline ---------- */
.process {
  display: grid; gap: clamp(24px, 3vw, 40px);
  grid-template-columns: repeat(4, 1fr);
}
.step {
  padding: 28px; border-top: 1px solid var(--line); position: relative;
}
.step::before {
  content: ""; position: absolute; top: -1px; left: 0; height: 1px; width: 0;
  background: var(--meadow); transition: width .8s var(--ease-out);
}
.step.in-view::before { width: 40%; }
.step .num { font-family: var(--font-display); color: var(--meadow); font-size: 0.95rem; }
.step h4 { margin-top: 12px; margin-bottom: 8px; font-size: 1.1rem; }
.step p { font-size: 0.93rem; }

/* ---------- Stats / Trust ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  padding: clamp(36px, 5vw, 56px); background: var(--ink); color: var(--bg);
  border-radius: var(--radius-lg);
}
.stat .num {
  font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3.2rem); letter-spacing: -0.02em;
  display: block; line-height: 1;
}
.stat .label { color: rgba(250,250,247,0.65); font-size: 0.9rem; margin-top: 8px; display: block; }
.stats-cta {
  grid-column: 1 / -1;
  justify-self: end;
  margin-top: 18px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  background: var(--bg); color: var(--ink);
  border-radius: var(--radius-pill);
  font-size: 0.9rem; font-weight: 500;
  transition: background .25s ease, transform .35s var(--ease-out);
}
.stats-cta:hover { background: var(--white); transform: translateY(-1px); }
.stats-cta .arrow { transition: transform .35s var(--ease-out); }
.stats-cta:hover .arrow { transform: translateX(4px); }

/* ---------- Testimonial / Quote ---------- */
.quote {
  font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.25; letter-spacing: -0.015em;
  max-width: 22ch; color: var(--ink);
}
.quote em { color: var(--meadow); font-style: italic; }

/* ---------- CTA Block ---------- */
.cta-block {
  background: var(--meadow);
  color: var(--bg);
  border-radius: var(--radius-lg);
  padding: clamp(48px, 6vw, 84px);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end;
  position: relative; overflow: hidden;
}
.cta-block::after {
  content: ""; position: absolute; right: -120px; top: -120px;
  width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.18), transparent 65%);
}
.cta-block h2 { color: var(--bg); }
.cta-block p { color: rgba(250,250,247,0.78); }
.cta-block .btn-primary { background: var(--bg); color: var(--ink); }
.cta-block .btn-primary:hover { background: var(--white); }
.cta-block--centered {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
  align-items: center;
  gap: 28px;
}
.cta-block--centered p {
  margin-left: auto;
  margin-right: auto;
  max-width: 60ch;
}

/* ---------- Portfolio Grid ---------- */
.portfolio-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 36px);
}
.project {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--surface);
  cursor: pointer;
}
.project .media {
  aspect-ratio: 4/3; overflow: hidden;
  background:
    radial-gradient(circle at 30% 30%, var(--meadow-soft) 0%, transparent 60%),
    radial-gradient(circle at 80% 70%, #E8DFCB 0%, transparent 60%),
    var(--surface);
}
.project .media .media-fallback {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-style: italic; color: var(--meadow-deep);
  font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.02em;
}
.project img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}
.project:hover img { transform: scale(1.05); }
.project .meta {
  display: flex; justify-content: space-between; align-items: baseline; padding: 22px 24px;
}
.project .meta h3 { font-family: var(--font-sans); font-weight: 500; font-size: 1.15rem; }
.project .meta span { font-size: 0.85rem; color: var(--ink-muted); }
.project.large { grid-column: span 2; }
.project.large .media { aspect-ratio: 21/9; }

/* ---------- About / Founders ---------- */
.founders {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 40px);
}
.founder {
  background: var(--surface); border-radius: var(--radius-lg);
  padding: clamp(26px, 3vw, 36px);
  display: flex; flex-direction: column; gap: 18px;
}
.founder .avatar {
  width: 64px; height: 64px; border-radius: 50%; overflow: hidden;
  flex-shrink: 0; border: 1px solid var(--line);
}
.founder .avatar img { width: 100%; height: 100%; object-fit: cover; }
.founder .role { color: var(--meadow); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; }
.founder h3 { font-family: var(--font-display); font-size: 1.5rem; margin: 4px 0 10px; }
.founder ul { list-style: none; margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.founder li {
  font-size: 0.78rem; padding: 6px 10px; border: 1px solid var(--line); border-radius: var(--radius-pill);
  color: var(--ink-muted);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(48px, 6vw, 72px);
  align-items: start;
}
.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.contact-card {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 22px 24px; transition: background .3s ease, border-color .3s ease;
}
.contact-card:hover { background: var(--surface); border-color: var(--meadow-soft); }
.contact-card .label { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--meadow); }
.contact-card .value {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  margin-top: 6px;
  display: block;
  overflow-wrap: anywhere;
  line-height: 1.25;
}
.contact-card .sub { font-size: 0.92rem; color: var(--ink-muted); margin-top: 4px; }

form.contact-form { display: grid; gap: 16px; }
.field { position: relative; }
.field label {
  position: absolute; left: 18px; top: 16px; font-size: 0.95rem; color: var(--ink-muted);
  transition: transform .25s var(--ease-out), font-size .25s ease, color .25s ease;
  pointer-events: none; background: var(--bg); padding: 0 6px;
}
.field input, .field textarea {
  width: 100%; padding: 18px;
  border: 1px solid rgba(17, 19, 21, 0.22);
  border-radius: var(--radius-md);
  background: var(--bg);
  transition: border-color .25s ease;
  font-size: 0.98rem;
}
.field textarea { min-height: 280px; resize: vertical; font-family: var(--font-sans); }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--meadow);
}
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label {
  transform: translate(-6px, -26px); font-size: 0.78rem; color: var(--meadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-meta {
  font-size: 0.82rem;
  color: var(--ink-muted);
  max-width: 70ch;
  margin: 4px 0 0;
}
.form-success {
  display: none; padding: 16px 18px; border-radius: var(--radius-md);
  background: var(--meadow-soft); color: var(--meadow-deep); font-size: 0.95rem;
}
.form-success.show { display: block; animation: fadeUp .5s var(--ease-out) both; }
.form-actions { margin-top: 8px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink); color: var(--bg);
  padding: clamp(64px, 8vw, 120px) 0 36px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .footer-mark {
  width: 56px; height: 56px; display: block; margin-bottom: 22px;
  opacity: 0.92;
}
.footer-brand h2 {
  color: var(--bg); font-size: clamp(2rem, 3.5vw, 2.8rem); max-width: 12ch;
}
.footer-brand p { color: rgba(250,250,247,0.6); margin-top: 16px; max-width: 30ch; font-size: 0.95rem; }
.footer-col h3 {
  font-family: var(--font-sans); font-weight: 500; font-size: 0.78rem;
  letter-spacing: 0.18em; text-transform: uppercase; color: rgba(250,250,247,0.5);
  margin-bottom: 16px;
  line-height: 1.4;
}
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { color: rgba(250,250,247,0.85); font-size: 0.95rem; transition: color .2s ease; }
.footer-col a:hover { color: var(--bg); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding-top: 28px; flex-wrap: wrap;
  color: rgba(250,250,247,0.55); font-size: 0.85rem;
}

/* ---------- Pricing grid ---------- */
.pricing-grid {
  display: grid; gap: clamp(20px, 2.5vw, 28px);
  grid-template-columns: repeat(4, 1fr);
}
.price-card {
  display: flex; flex-direction: column; gap: 14px;
  padding: clamp(28px, 3vw, 36px);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  position: relative;
  cursor: pointer;
  transition: background .35s ease, border-color .3s ease, transform .35s var(--ease-out);
}
.price-card:hover {
  background: var(--surface);
  border-color: var(--meadow-soft);
  transform: translateY(-2px);
}
.price-card:focus-visible {
  outline: 2px solid var(--meadow);
  outline-offset: 3px;
}
.price-card::after {
  content: "✓";
  position: absolute; top: 18px; right: 22px;
  width: 28px; height: 28px;
  border: 1.5px solid var(--meadow);
  background: transparent;
  color: transparent;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem; font-weight: 600;
  transition: background .25s ease, border-color .25s ease, color .25s ease, transform .25s var(--ease-out);
}
.price-card:hover::after {
  background: var(--meadow-soft);
  transform: scale(1.08);
}
.price-card.is-selected {
  background: var(--meadow-soft);
  border-color: var(--meadow);
}
.price-card.is-selected:hover { background: var(--meadow-soft); }
.price-card.is-selected::after {
  background: var(--meadow);
  border-color: var(--meadow);
  color: var(--bg);
  transform: scale(1);
}
.price-card-label {
  font-family: var(--font-display);
  color: var(--meadow); font-size: 1rem;
  letter-spacing: 0.04em;
}
.price-card-price {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.2vw, 2rem);
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.1;
}
.price-card-desc {
  font-size: 0.95rem;
  color: var(--ink-muted);
}
.price-card-features {
  list-style: none;
  display: flex; flex-direction: column; gap: 8px;
  margin-top: 4px; padding-top: 18px;
  border-top: 1px solid var(--line);
}
.price-card.is-selected .price-card-features {
  border-color: rgba(44, 95, 74, 0.25);
}
.price-card-features li {
  font-size: 0.92rem;
  color: var(--ink);
  padding-left: 22px; position: relative;
  line-height: 1.45;
}
.price-card-features li::before {
  content: "✓";
  position: absolute; left: 0; color: var(--meadow);
  font-weight: 500;
}
@media (max-width: 1100px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

/* ---------- Pricing action bar ---------- */
.pricing-actions {
  margin-top: clamp(32px, 4vw, 56px);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: clamp(20px, 3vw, 32px);
  padding: 22px clamp(22px, 3vw, 32px);
  background: var(--ink); color: var(--bg);
  border-radius: var(--radius-lg);
  opacity: 0; transform: translateY(8px);
  transition: opacity .35s var(--ease-out), transform .35s var(--ease-out);
}
.pricing-actions.is-visible { opacity: 1; transform: none; }
.pricing-actions[hidden] { display: none; }
.pricing-actions-info {
  display: flex; flex-direction: column; gap: 12px;
}
.pricing-actions p {
  color: rgba(250,250,247,0.85); margin: 0;
  font-size: 0.95rem;
}
.pricing-actions p strong { color: var(--bg); font-weight: 500; }
.pricing-addons {
  display: flex; flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
}
.pricing-addons[hidden] { display: none; }
.pricing-addons-label {
  color: rgba(250,250,247,0.55);
  font-size: 0.85rem;
}
.pricing-addon {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--bg);
  font-size: 0.92rem;
  cursor: pointer;
  user-select: none;
}
.pricing-addon[hidden] { display: none; }
.pricing-addon input {
  width: 16px; height: 16px;
  accent-color: var(--meadow);
  cursor: pointer;
}
.pricing-addon-price {
  color: rgba(250,250,247,0.6);
  font-size: 0.85em;
  margin-left: 4px;
}
.pricing-note {
  text-align: center;
  margin: clamp(28px, 3vw, 40px) auto 0;
  max-width: 62ch;
  font-size: 0.92rem;
  color: var(--ink-muted);
}
.pricing-note a {
  color: var(--meadow);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.pricing-note a:hover { color: var(--meadow-deep); }
.pricing-actions .btn-primary { background: var(--bg); color: var(--ink); white-space: nowrap; }
.pricing-actions .btn-primary:hover { background: var(--white); }
@media (max-width: 720px) {
  .pricing-actions { grid-template-columns: 1fr; }
  .pricing-addons { flex-direction: column; align-items: flex-start; gap: 8px; }
  .pricing-actions .btn-primary { justify-self: start; }
}

/* ---------- NGO callout ---------- */
.ngo-callout {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(36px, 4vw, 56px);
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 40px; align-items: end;
  position: relative; overflow: hidden;
}
.ngo-callout::before {
  content: ""; position: absolute; left: -80px; top: -80px;
  width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(circle, var(--meadow-soft) 0%, transparent 65%);
  opacity: 0.6; pointer-events: none;
}
.ngo-callout > * { position: relative; z-index: 1; }
.ngo-callout h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}
@media (max-width: 820px) {
  .ngo-callout { grid-template-columns: 1fr; padding: 32px 24px; }
}

/* ---------- Tagline banner (animated hero SVG) ---------- */
.tagline-banner {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(12px, 2vw, 24px) 0;
}
.tagline-banner .tagline-inner {
  display: flex; justify-content: center; align-items: center;
  flex-direction: column;
  gap: 10px;
}
.tagline-banner img {
  width: 100%; max-width: 680px; height: auto;
}
.tagline-banner .tagline-note {
  font-size: 0.85rem;
  color: var(--ink-muted);
  text-align: center;
  max-width: 60ch;
  margin: 0;
}
.tagline-banner .tagline-note a {
  color: var(--meadow);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------- Page header decorative mark ---------- */
.page-header-mark {
  display: block;
  margin-top: clamp(40px, 5vw, 72px);
  max-width: 360px;
  width: 100%;
  height: auto;
}
.page-header--split .page-header-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.page-header--split .page-header-mark {
  margin-top: 0;
  max-width: 100%;
  width: 100%;
  justify-self: center;
}
@media (max-width: 820px) {
  .page-header--split .page-header-grid {
    grid-template-columns: 1fr;
  }
  .page-header--split .page-header-mark {
    max-width: 360px;
    margin-top: clamp(24px, 5vw, 48px);
  }
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
.reveal.in-view { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- Page header (sub-pages) ---------- */
.page-header {
  padding-top: calc(var(--header-h) + clamp(16px, 3vw, 32px));
  padding-bottom: clamp(48px, 7vw, 96px);
  border-bottom: 1px solid var(--line);
}
.page-header h1 { max-width: 16ch; margin-top: 22px; }
.page-header .lead { margin-top: 24px; max-width: 56ch; }
.breadcrumb { color: var(--ink-muted); font-size: 0.85rem; }
.breadcrumb a:hover { color: var(--meadow); }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  :root { --header-h: 64px; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .section-head { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .project.large { grid-column: span 1; }
  .founders { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .cta-block { grid-template-columns: 1fr; padding: 40px 28px; }
  .form-row { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 520px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   HOME DARK HERO — Tiger-Flashlight, Manifest, Lime + Pink
   Farbpalette 1:1 vom Halbfett-Mockup übernommen.
   ========================================================= */

.hero-dark {
  --hbg: #0B0B0C;
  --hbg-soft: #141416;
  --hink: #F4F1E7;
  --hmuted: #9A988E;
  --hline: rgba(244, 241, 231, 0.14);
  --hlime: #D8FF47;
  --hpink: #FF5C72;

  position: relative;
  background: var(--hbg);
  color: var(--hink);
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(120px, 16vh, 180px) clamp(20px, 4vw, 40px) clamp(96px, 12vh, 150px);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}

/* Background Effects */
.hero-grain {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-blob {
  position: absolute; width: 540px; height: 540px; border-radius: 50%;
  filter: blur(95px); pointer-events: none; z-index: 0;
  top: -200px; right: -140px;
  background: radial-gradient(circle, rgba(255, 92, 114, 0.40), transparent 70%);
  animation: heroBlobDrift 18s ease-in-out infinite;
}
@keyframes heroBlobDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-70px, 80px) scale(1.18); }
}
.hero-cursor-glow {
  position: absolute; top: 0; left: 0; width: 600px; height: 600px; border-radius: 50%;
  /* z-index 2 damit der Glow ÜBER dem tiger-overlay liegt. */
  z-index: 2; pointer-events: none; will-change: transform;
  background: radial-gradient(circle, rgba(244, 241, 231, 0.30), transparent 62%);
  /* mix-blend-mode: screen garantiert dass der Glow heller als der
     Untergrund wird — egal wie dunkel der Hintergrund ist. Ohne das
     wäre eine geringe Alpha auf #0B0B0C kaum als "Glow" erkennbar. */
  mix-blend-mode: screen;
  display: block;
}
/* Auf Touch-Geräten kein Cursor → kein Glow. (max-width: 720px) ist
   Fallback für Browser-Devtools Mobile-Mode der hover/pointer nicht
   emuliert, plus Desktop-User die ihr Fenster sehr schmal machen. */
@media (hover: none), (pointer: coarse), (max-width: 720px) {
  .hero-cursor-glow { display: none; }
}

/* =========================================================
   TIGER ENTRANCE — beim Page-Load groß im Vordergrund, schrumpft
   dann in den Hintergrund. mask-size animiert (CSS), nach Ende
   übernimmt JS das Tracken pro Maus-Position (mask-image inline).
   ========================================================= */
.hero-dark .tiger-layer {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  overflow: hidden;
  opacity: 1;
}
.hero-dark .tiger-img {
  position: absolute; left: 50%; top: 50%;
  height: 132vh; width: auto;
  /* max-width: none überschreibt die globale Regel `img { max-width: 100% }`
     die den Tiger sonst auf Viewport-Breite quetschen würde — verzerrt
     das Aspect-Ratio (Lighthouse moniert das). overflow:hidden auf
     .tiger-layer clipt die Überlauf-Bereiche eh visuell. */
  max-width: none;
  will-change: transform, opacity;
  /* Entrance: Tiger Kopf prominent, Ohren oben knapp aus dem Bild */
  transform: translate(-50%, -36%) scale(1.35);
  transform-origin: center 28%;
  opacity: 1;
  user-select: none; -webkit-user-select: none;
}
body.ready .hero-dark .tiger-img {
  transform: translate(-53.9%, -29.5%) scale(1);
  opacity: 0.62;
  /* Opacity-Fade läuft parallel zum Overlay-Fade (0.8 s start, ends 2.5 s) */
  transition:
    transform 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.3s,
    opacity 1.7s ease 0.8s;
}

/* Dunkles Overlay mit Spotlight-Loch.
   Cleaner Rewrite: kein background-size + background-position-Trick
   mehr (das brauchte half-image-size-Offset-Math und war fehleranfällig).
   Stattdessen: ein einziger radial-gradient mit "circle at Xpx Ypx" —
   der Mittelpunkt IST exakt die Cursor-Position. JS schreibt den
   kompletten gradient-String bei jedem mousemove neu. Standard-Pattern
   für CodePen "spotlight reveal" Demos. */
.hero-dark .tiger-overlay {
  position: absolute; inset: 0;
  pointer-events: none;
  /* Initial: Spotlight in der Mitte (50% 48%). JS überschreibt
     diesen Wert bei jedem mousemove mit konkreten Pixelkoordinaten. */
  background-image: radial-gradient(
    circle at 50% 48%,
    transparent 0,
    transparent 140px,
    #0B0B0C 320px
  );
  opacity: 0;
  will-change: opacity, background-image;
}
body.ready .hero-dark .tiger-overlay {
  opacity: 1;
  /* Startet früher (0.8 s) und läuft länger, sodass das Dunkelwerden
     sich mit dem Tiger-Schrumpfen überlappt — endet aber wie vorher
     bei 2.5 s. */
  transition: opacity 1.7s ease 0.8s;
}

/* Touch: kein Cursor → kein Spotlight möglich. Statt dessen bleibt
   der Tiger dezent als Background-Watermark über die volle Fläche
   sichtbar. Overlay komplett aus, Tiger-Opacity reduziert.
   (max-width: 720px) als Fallback für DevTools-Mobile-Mode. */
@media (hover: none), (pointer: coarse), (max-width: 720px) {
  .hero-dark .tiger-img { height: 110vh; }
  body.ready .hero-dark .tiger-img {
    height: 95vh;
    opacity: 0.13;   /* sehr dezent: Tiger nur als angedeutete
                        Hintergrund-Textur, Subhead-Grey bleibt lesbar */
  }
  .hero-dark .tiger-overlay { display: none; }
}

/* Brand oben links (nur Hero). Logo-SVG ist bereits creme (#F5F2EC),
   deshalb KEIN invert-Filter — sonst wäre's wieder dunkel auf dunkel. */
.hero-brand {
  position: absolute;
  top: 22px; left: clamp(20px, 4vw, 56px);
  z-index: 5;
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--hink);
  font-family: var(--font-display);
  font-size: 1.2rem; letter-spacing: -0.02em; font-weight: 500;
  text-decoration: none;
  opacity: 0;
}
body.ready .hero-brand {
  opacity: 1;
  transition: opacity .8s ease 0.4s;
}
.hero-brand .hero-brand-mark {
  width: 30px; height: 30px;
  display: block;
  transition: transform .5s cubic-bezier(0.3, 1.3, 0.5, 1);
}
.hero-brand:hover .hero-brand-mark { transform: rotate(15deg); }
@media (max-width: 540px) {
  .hero-brand { top: 16px; left: 16px; font-size: 1.05rem; gap: 8px; }
  .hero-brand .hero-brand-mark { width: 24px; height: 24px; }
}

/* Inner Content */
.hero-inner {
  position: relative; z-index: 3;
  display: flex; flex-direction: column; align-items: center;
  max-width: 1100px; margin: 0 auto; width: 100%;
}

/* Headline */
.hero-headline {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 0.97;
  letter-spacing: -0.045em;
  font-size: clamp(2.6rem, 9vw, 8rem);
  max-width: 14ch;
  margin: 0;
  color: var(--hink);
}
/* Typewriter wird von Typed.js gesteuert — das Lib spawnt einen
   <span class="typed-cursor"> nach dem Ziel-Element. Wir überschreiben
   nur die Optik (Farbe, Form, Step-Blink). */
.hero-headline .hero-typed { display: inline; }
.typed-cursor {
  color: var(--hlime);
  font-weight: 400;
  /* Step-Blink fühlt sich mehr nach Typewriter an als smooth-fade.
     !important weil Typed.js die smoothe Variante per <style>-Tag
     in <body> injiziert (autoInsertCss). */
  animation: heroCaretBlink 0.55s steps(2, end) infinite !important;
  -webkit-animation: heroCaretBlink 0.55s steps(2, end) infinite !important;
}
@keyframes heroCaretBlink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0; }
}
/* Nach onComplete: Cursor sofort raus aus dem Layout, damit die
   letzte Zeile ("auffallen.") sauber zentriert ist und nicht durch
   die Cursor-Breite minimal nach links versetzt erscheint. */
.typed-cursor.is-gone { display: none; }
/* sr-only Helper für versteckte Headline-Backup-Text */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.hero-dark .hero-headline .accent {
  /* Erbt font-family + font-weight von .hero-headline.
     <em> ist per Default kursiv → explizit zurücksetzen.
     Hochgezogene Spezifität (.hero-dark vorangestellt), damit keine
     andere ".accent"-Regel das Element nochmal einfärbt. */
  font-style: normal;
  position: relative;
  background: linear-gradient(100deg, #D8FF47, #A8E6A0, #FF5C72, #D8FF47);
  background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: heroAccentSlide 7s linear infinite;
}
@keyframes heroAccentSlide { to { background-position: 300% 0; } }
.hero-squig {
  position: absolute; left: -2%; width: 104%; bottom: -0.16em; height: 0.26em;
  overflow: visible;
}
.hero-squig path {
  fill: none; stroke: var(--hlime); stroke-width: 9; stroke-linecap: round;
  stroke-dasharray: 640; stroke-dashoffset: 640;
  /* Transition liegt am path: wenn JS stroke-dashoffset auf 0 setzt,
     wird's animiert. */
  transition: stroke-dashoffset 0.9s ease;
}

/* Subhead */
.hero-subhead {
  margin: 32px auto 0; max-width: 600px;
  font-family: var(--font-sans);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.6;
  color: var(--hmuted);
}

/* CTAs */
.hero-cta-row {
  display: flex; gap: 14px; margin-top: 40px;
  flex-wrap: wrap; justify-content: center;
}
.btn-hero-lime {
  background: var(--hlime); color: var(--hbg); border: 1px solid var(--hlime);
  font-weight: 700; padding: 18px 30px;
}
.btn-hero-lime:hover {
  background: #E7FF74; border-color: #E7FF74; color: var(--hbg);
  transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4);
}
.btn-hero-ghost {
  background: transparent; color: var(--hink);
  border: 1px solid var(--hline);
  padding: 18px 30px;
}
.btn-hero-ghost:hover {
  background: var(--hink); color: var(--hbg); border-color: var(--hink);
  transform: translateY(-2px);
}

/* =========================================================
   ENTRANCE TIMELINE
   0.0s — body.ready (Tiger noch groß, Texte/Buttons unsichtbar)
   0.45s — Tiger startet zu schrumpfen & in Hintergrund zu gleiten
   0.55s — Tiger-Maske beginnt sich auf 400px-Spot zu verengen
   0.50s — Headline-Zeile 1 wird "getippt"
   1.00s — Zeile 2 wird getippt
   1.50s — Zeile 3 ("auffallen") wird getippt
   2.05s — Squiggle-Welle unter "auffallen" zeichnet sich
   2.20s — Subhead fadet ein
   2.65s — Buttons fadet ein
   0.30s — Brand oben links fadet ein
   ========================================================= */
.hero-rise { opacity: 0; transform: translateY(26px); }

/* Typed.js liefert das Tipp-Timing. Das Squiggle wird im onComplete-
   Callback per JS in .accent injiziert und animiert dort von
   stroke-dashoffset 640 → 0 (siehe main.js + .hero-squig path-Regel). */

/* Subhead und Buttons werden via JS getriggert (nach Typed.js onComplete),
   weil das Typing-Timing dynamisch ist (Typed.js humanisiert leicht). */
body.hero-text-done .hero-subhead.hero-rise {
  opacity: 1; transform: translateY(0);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(.16, 1, .3, 1);
}
body.hero-text-done .hero-cta-row.hero-rise {
  opacity: 1; transform: translateY(0);
  transition:
    opacity 0.7s ease 0.3s,
    transform 0.7s cubic-bezier(.16, 1, .3, 1) 0.3s;
}

@media (prefers-reduced-motion: reduce) {
  /* Bei reduced-motion alles sofort im Endzustand zeigen */
  .hero-rise { opacity: 1 !important; transform: none !important; }
  .hero-squig path { stroke-dashoffset: 0 !important; }
  .hero-dark .tiger-img {
    transform: translate(-53.9%, -29.5%) scale(1);
    opacity: 0.62;
  }
  .hero-dark .tiger-overlay { opacity: 1; }
  .hero-brand { opacity: 1; }
  .hero-blob, .hero-cursor-glow { animation: none; }
  .typed-cursor { display: none; }
}

/* Mobile-Anpassungen */
@media (max-width: 720px) {
  .hero-dark {
    padding-top: clamp(96px, 14vh, 130px);
    padding-bottom: clamp(80px, 12vh, 120px);
  }
  .hero-subhead { font-size: 1rem; }
  .hero-headline { letter-spacing: -0.035em; }
}

/* ---------- Header-Verhalten auf Dark-Hero-Seiten ---------- */
/* Desktop: Header startet unsichtbar, fadet beim Scrollen ein.
   Mobile: Header bleibt sichtbar, damit das Hamburger-Menü erreichbar ist. */
@media (min-width: 901px) {
  body.home-hero-dark .site-header {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom-color: transparent;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-100%);
    transition:
      opacity .45s var(--ease-out),
      transform .5s var(--ease-out),
      background .3s ease,
      border-color .3s ease,
      height .3s ease;
  }
  body.home-hero-dark .site-header.is-scrolled {
    background: rgba(250, 250, 247, 0.92);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom-color: var(--line);
    height: 64px;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
}
@media (max-width: 900px) {
  body.home-hero-dark .site-header:not(.is-scrolled) {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom-color: transparent;
  }
  /* WICHTIG: Den Site-Header-Brand komplett ausblenden solange der
     User im Hero ist — sonst überlappt er sich mit dem .hero-brand
     (auch oben links positioniert), was als verrutschter Doppel-
     Header gelesen wird. Der Hamburger-Button bleibt sichtbar,
     damit das Menü erreichbar ist. Smoothes Fade beim Scrollen. */
  body.home-hero-dark .site-header .brand {
    transition: opacity .35s ease;
  }
  body.home-hero-dark .site-header:not(.is-scrolled) .brand {
    opacity: 0;
    pointer-events: none;
  }
  body.home-hero-dark .site-header:not(.is-scrolled) .nav-toggle { border-color: rgba(250, 250, 247, 0.35); }
  body.home-hero-dark .site-header:not(.is-scrolled) .nav-toggle span,
  body.home-hero-dark .site-header:not(.is-scrolled) .nav-toggle span::before,
  body.home-hero-dark .site-header:not(.is-scrolled) .nav-toggle span::after { background: var(--bg); }
}

/* =========================================================
   PROJEKT-STARTEN — Multi-Step-Formular
   ========================================================= */
.projekt-form-container { max-width: 920px; }

/* fieldset/legend Reset + Gruppen-Styling */
.form-group {
  border: none; padding: 0; margin: 0 0 clamp(40px, 5vw, 64px);
  display: flex; flex-direction: column; gap: 18px;
}
.form-group-label {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 1.75rem);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  display: flex; align-items: center; gap: 14px;
  flex-wrap: wrap;
}
.step-num {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--meadow);
  color: var(--bg);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0;
  flex-shrink: 0;
}
.form-group-hint {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 400;
  font-style: italic;
  color: var(--ink-muted);
  letter-spacing: 0;
}

/* Field-Group: für Radio-Kartenreihen (kein <input>, sondern <label>s) */
.field-group { display: flex; flex-direction: column; gap: 12px; }
.field-group-label {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: var(--ink-muted);
  margin: 0;
}

/* Radio-Karten als Auswahl-Pills */
.radio-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}
.radio-card {
  display: flex;
  align-items: center; justify-content: center;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--bg);
  cursor: pointer;
  font-size: 0.95rem;
  text-align: center;
  transition: background .25s ease, border-color .25s ease, color .25s ease, transform .15s ease;
  user-select: none;
  position: relative;
}
.radio-card input {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.radio-card:hover {
  background: var(--surface);
  border-color: var(--meadow-soft);
}
.radio-card:has(input:checked) {
  background: var(--meadow-soft);
  border-color: var(--meadow);
  color: var(--meadow-deep);
  font-weight: 500;
}
.radio-card:has(input:focus-visible) {
  outline: 2px solid var(--meadow);
  outline-offset: 2px;
}

/* Im Projekt-Form Kontext: die Pakete-Cards bekommen etwas mehr Margin
   nach unten falls Add-ons folgen */
.projekt-form .pricing-grid { margin-bottom: 24px; }

/* Add-ons im Form-Kontext: Toggle-Cards statt inline-Checkboxen.
   Eigener Block .projekt-addons (NICHT .pricing-addons) damit die
   alte dark-bg-Variante auf pakete.html nicht überschrieben wird.
   States:
   - default:   cremefarbene Card, Checkbox links, Preis rechts
   - hover:     surface bg, meadow-soft border
   - checked:   meadow-soft bg, meadow border
   - inklusive: meadow-soft bg, Preis durchgestrichen, Badge, disabled */
.projekt-addons {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.projekt-addons[hidden] { display: none; }
.projekt-addons-label {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: var(--ink-muted);
  margin-bottom: 2px;
}
.projekt-addons .pricing-addon {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg);
  color: var(--ink);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.97rem;
  transition: background .25s ease, border-color .25s ease;
}
.projekt-addons .pricing-addon:hover:not(.is-inklusive) {
  background: var(--surface);
  border-color: var(--meadow-soft);
}
.projekt-addons .pricing-addon input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--meadow);
  cursor: pointer;
  margin: 0;
  flex-shrink: 0;
}
.projekt-addons .pricing-addon:has(input:checked):not(.is-inklusive) {
  background: var(--meadow-soft);
  border-color: var(--meadow);
}
.projekt-addons .pricing-addon-name {
  font-weight: 500;
  color: var(--ink);
}
.projekt-addons .pricing-addon-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.projekt-addons .pricing-addon-price {
  color: var(--ink-muted);
  font-size: 0.9rem;
  margin: 0;
}
.projekt-addons .pricing-addon-badge {
  display: none;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--meadow-deep);
  background: rgba(255, 255, 255, 0.7);
  padding: 4px 10px;
  border-radius: 100px;
  white-space: nowrap;
}
.projekt-addons .pricing-addon.is-inklusive {
  background: var(--meadow-soft);
  border-color: var(--meadow);
  cursor: default;
}
.projekt-addons .pricing-addon.is-inklusive .pricing-addon-price {
  text-decoration: line-through;
  opacity: 0.55;
}
.projekt-addons .pricing-addon.is-inklusive .pricing-addon-badge {
  display: inline-flex;
  align-items: center;
}
.projekt-addons .pricing-addon.is-inklusive input[type="checkbox"] {
  cursor: default;
}

/* Submit-Button auf der Projekt-Seite etwas prominenter zentriert */
.projekt-form .form-actions {
  display: flex; justify-content: center;
  margin-top: 16px;
}
.projekt-form .form-actions .btn { padding: 18px 36px; font-size: 1rem; }

@media (max-width: 720px) {
  .form-group { margin-bottom: clamp(32px, 6vw, 48px); }
  .form-group-label { font-size: 1.25rem; }
  .step-num { width: 32px; height: 32px; font-size: 0.78rem; }
  .radio-card-grid { grid-template-columns: 1fr 1fr; }
}

/* =========================================================
   TECHNISCHE-STANDARDS — Erklärtext-Block + klickbare Stat-Cards
   ========================================================= */
.standards-detail {
  max-width: 70ch;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.standards-detail p { font-size: 1.02rem; line-height: 1.7; }
.standards-detail code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background: var(--surface);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.88em;
}
.standards-detail strong { color: var(--ink); }

/* Stat-Cards auf der Standards-Page sind anklickbar (Anker zum Detail) */
a.stat {
  text-decoration: none; color: inherit;
  border-radius: var(--radius-lg);
  padding: 8px;
  transition: background .25s ease, transform .2s ease;
}
a.stat:hover { background: var(--surface); transform: translateY(-2px); }
