/* ============================================================
   Devon Droste — Webdesign Landing
   Premium-Dark mit Gold-Akzenten · vanilla CSS · keine Frameworks
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  --bg:        #0b0d12;
  --bg-soft:   #0f1219;
  --bg-card:   #141824;
  --ink:       #eef1f7;
  --ink-dim:   #9aa3b5;
  --gold:      #d8a94e;
  --gold-soft: #e8c87e;
  --gold-deep: #a87c2f;
  --line:      rgba(255, 255, 255, 0.08);
  --line-soft: rgba(255, 255, 255, 0.05);

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-sans:    'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.35);
  --shadow:    0 12px 40px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.55);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --pad-x: clamp(1.25rem, 5vw, 3.5rem);
  --section-pad: clamp(4.5rem, 10vw, 8rem);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-soft); }

::selection { background: rgba(216, 169, 78, 0.35); color: #fff; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 var(--pad-x); }
.container--narrow { max-width: 860px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--gold); color: #0b0d12; font-weight: 600;
  padding: 0.75rem 1.25rem; border-radius: 0 0 var(--radius-sm) 0; z-index: 200;
}
.skip-link:focus { left: 0; }

/* ---------- Typography ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }

h1 { font-size: clamp(2.4rem, 6vw, 4.3rem); font-weight: 500; }
h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); }

em { font-style: italic; color: var(--gold-soft); }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(216, 169, 78, 0.35);
  background: rgba(216, 169, 78, 0.08);
  padding: 0.45rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.section { padding: var(--section-pad) 0; position: relative; }
.section--dark { background: var(--bg-soft); }

.section-title { margin-bottom: 1rem; }
.section-sub { color: var(--ink-dim); max-width: 640px; margin-bottom: 3rem; font-size: 1.05rem; }
.section--dark .section-sub { margin-inline: auto; text-align: center; }

.center { text-align: center; }

.lead { font-size: 1.15rem; color: var(--ink-dim); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-weight: 600; font-size: 1rem;
  padding: 0.95rem 1.9rem;
  border-radius: 999px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
  cursor: pointer;
  border: 1px solid transparent;
}
.btn--primary {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold) 55%, var(--gold-deep));
  color: #161006;
  box-shadow: 0 8px 30px rgba(216, 169, 78, 0.35);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(216, 169, 78, 0.45); color: #161006; }
.btn--ghost {
  background: transparent; color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: rgba(216, 169, 78, 0.6); color: var(--gold-soft); transform: translateY(-2px); }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(11, 13, 18, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line-soft);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px; gap: 1.5rem;
}
.brand { display: flex; align-items: center; gap: 0.7rem; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold-deep));
  color: #161006;
  font-family: var(--font-display); font-weight: 700; font-size: 1.4rem;
  box-shadow: 0 4px 18px rgba(216, 169, 78, 0.4);
}
.brand-mark--sm { width: 30px; height: 30px; font-size: 1rem; border-radius: 9px; }
.brand-text { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; line-height: 1.1; }
.brand-text small { display: block; font-family: var(--font-sans); font-size: 0.68rem; font-weight: 500; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); }

.nav { display: flex; align-items: center; gap: 1.9rem; }
.nav a { color: var(--ink-dim); font-size: 0.95rem; font-weight: 500; transition: color 0.25s; }
.nav a:hover { color: var(--gold-soft); }
.nav .nav-cta {
  color: var(--gold);
  border: 1px solid rgba(216, 169, 78, 0.4);
  padding: 0.55rem 1.2rem; border-radius: 999px;
  transition: background 0.25s, color 0.25s;
}
.nav .nav-cta:hover { background: rgba(216, 169, 78, 0.12); color: var(--gold-soft); }

.nav-toggle {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px;
  background: transparent; border: 1px solid var(--line); border-radius: 12px;
  cursor: pointer; padding: 10px;
}
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav — echter Closed-State (max-height + visibility, nicht nur transform) */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; top: 76px; right: 0; left: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    flex-direction: column; align-items: stretch;
    gap: 0.75rem;
    padding: 0 var(--pad-x);
    background: rgba(11, 13, 18, 0.97);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: max-height 0.45s var(--ease), opacity 0.25s, transform 0.35s var(--ease),
                visibility 0s linear 0.45s, padding 0.35s var(--ease), border-color 0.35s;
  }
  .nav.is-open {
    max-height: calc(100vh - 76px);
    overflow-y: auto;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    padding: 1.25rem var(--pad-x) 1.5rem;
    border-bottom-color: var(--line-soft);
    transition: max-height 0.5s var(--ease), opacity 0.25s 0.05s, transform 0.35s 0.05s var(--ease),
                visibility 0s linear 0s, padding 0.35s;
  }
  .nav a {
    padding: 0.85rem 0.9rem;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.04);
    text-align: center; font-size: 1.02rem;
  }
  .nav .nav-cta { order: -1; border-color: rgba(216, 169, 78, 0.5); }
  /* Radius 10px → row-gap ≥ 1rem, damit die Rundungen nicht kollidieren */
  .nav { row-gap: 0.75rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: 140px 0 80px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 70% 20%, rgba(216, 169, 78, 0.10), transparent 60%),
    radial-gradient(ellipse 50% 45% at 18% 80%, rgba(216, 169, 78, 0.06), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero-glow {
  position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none;
}
.hero-glow--a { width: 420px; height: 420px; background: rgba(216, 169, 78, 0.14); top: -120px; right: -100px; animation: float 9s ease-in-out infinite; }
.hero-glow--b { width: 320px; height: 320px; background: rgba(216, 169, 78, 0.09); bottom: -80px; left: -80px; animation: float 12s ease-in-out infinite reverse; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-22px); } }

.hero-inner { position: relative; z-index: 2; max-width: 880px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold-soft);
  border: 1px solid rgba(216, 169, 78, 0.3);
  background: rgba(216, 169, 78, 0.07);
  padding: 0.5rem 1.1rem; border-radius: 999px;
  margin-bottom: 1.6rem;
}
.hero h1 { margin-bottom: 1.5rem; }
.hero-sub { color: var(--ink-dim); font-size: clamp(1.05rem, 2vw, 1.25rem); max-width: 620px; margin-bottom: 2.2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.4rem; }
.hero-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; color: var(--ink-dim); font-size: 0.92rem; margin-bottom: 3.2rem; }

/* Hero-Browser-Karte (Glassmorphism) */
.hero-card {
  max-width: 640px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(20, 24, 36, 0.55);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: perspective(1200px) rotateX(4deg);
  transform-origin: top center;
  transition: transform 0.6s var(--ease);
}
.hero-card:hover { transform: perspective(1200px) rotateX(0deg); }
.hero-card-top {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.8rem 1.1rem;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--line-soft);
}
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot--r { background: #ff5f57; } .dot--y { background: #febc2e; } .dot--g { background: #28c840; }
.hero-card-url { margin-left: 0.75rem; color: var(--ink-dim); font-size: 0.82rem; letter-spacing: 0.03em; }
.hero-card-body { padding: 1.8rem 1.8rem 2rem; }
.hero-card-kicker {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.6rem;
}
.hero-card-headline { font-family: var(--font-display); font-size: clamp(1.3rem, 2.6vw, 1.8rem); font-weight: 500; margin-bottom: 1.4rem; }
.hero-card-metrics { display: flex; flex-wrap: wrap; gap: 1rem 2.2rem; }
.hero-card-metrics span { color: var(--ink-dim); font-size: 0.9rem; }
.hero-card-metrics strong { display: block; color: var(--gold-soft); font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; }

.hero-scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  z-index: 2;
}
.hero-scroll::after {
  content: '';
  position: absolute; left: 50%; top: 8px;
  width: 4px; height: 8px; border-radius: 4px;
  background: var(--gold);
  transform: translateX(-50%);
  animation: scroll-hint 1.8s var(--ease) infinite;
}
@keyframes scroll-hint { 0% { opacity: 1; top: 8px; } 70% { opacity: 0; top: 22px; } 100% { opacity: 0; top: 22px; } }

/* ---------- Grid & Cards ---------- */
.grid { display: grid; gap: 1.5rem; margin-top: 2.8rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: linear-gradient(180deg, var(--bg-card), rgba(20, 24, 36, 0.6));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem 1.8rem;
  transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s var(--ease);
  position: relative; overflow: hidden;
}
.card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0; transition: opacity 0.4s;
}
.card:hover { transform: translateY(-6px); border-color: rgba(216, 169, 78, 0.35); box-shadow: var(--shadow); }
.card:hover::before { opacity: 1; }
.card-icon {
  display: grid; place-items: center;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(216, 169, 78, 0.1);
  border: 1px solid rgba(216, 169, 78, 0.3);
  color: var(--gold-soft);
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
}
.card h3 { font-size: 1.3rem; margin-bottom: 0.7rem; }
.card p { color: var(--ink-dim); font-size: 0.95rem; }

/* ---------- Wirkung ---------- */
.wirkung-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3rem; align-items: start; margin-top: 2.5rem; }
.check-list { list-style: none; display: grid; gap: 1.1rem; margin-top: 1.6rem; }
.check-list li { color: var(--ink-dim); padding-left: 2rem; position: relative; }
.check-list li::before {
  content: '✓';
  position: absolute; left: 0; top: 0;
  color: var(--gold);
  font-weight: 700;
}
.check-list strong { color: var(--gold-soft); }

.wirkung-card {
  background: linear-gradient(160deg, rgba(216, 169, 78, 0.12), rgba(20, 24, 36, 0.7));
  border: 1px solid rgba(216, 169, 78, 0.3);
  border-radius: var(--radius-xl);
  padding: 2.4rem 2.2rem;
  box-shadow: var(--shadow);
}
.wirkung-q {
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; font-style: italic;
  color: var(--ink); line-height: 1.4; margin-bottom: 1.2rem;
}
.wirkung-a { color: var(--ink-dim); font-size: 0.98rem; }

/* ---------- Statistik-Sektion ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 2.8rem; max-width: 860px; }
.stat {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.7rem 1.9rem;
  display: flex; flex-direction: column;
  transition: transform 0.4s var(--ease), border-color 0.4s;
}
.stat:hover { transform: translateY(-5px); border-color: rgba(216, 169, 78, 0.35); }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4.5vw, 3.6rem);
  font-weight: 600; line-height: 1;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-bottom: 1.1rem;
}
.stat p { color: var(--ink-dim); font-size: 0.92rem; flex-grow: 1; }
.stat cite {
  font-style: normal; font-size: 0.75rem; color: var(--ink-dim);
  opacity: 0.75; margin-top: 1.2rem;
  border-top: 1px solid var(--line-soft); padding-top: 0.9rem;
}
.stats-note { color: var(--ink-dim); font-size: 0.8rem; opacity: 0.7; margin-top: 1.8rem; }
.stat-topic { font-weight: 700; color: var(--ink); font-size: 0.98rem; margin-bottom: 0.45rem; }

/* ---------- Über mich ---------- */
.section-about { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%); }

/* ---------- Timeline ---------- */
.timeline {
  list-style: none;
  max-width: 720px; margin: 3rem auto 3.2rem;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute; left: 31px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold), rgba(216, 169, 78, 0.15));
}
.timeline-item { display: flex; gap: 1.6rem; position: relative; padding-bottom: 2.6rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-num {
  flex: 0 0 62px; height: 62px;
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 600;
  color: #161006;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold-deep));
  border-radius: 50%;
  box-shadow: 0 6px 24px rgba(216, 169, 78, 0.4);
  z-index: 1;
}
.timeline-body h3 { font-size: 1.25rem; margin-bottom: 0.4rem; }
.timeline-body p { color: var(--ink-dim); font-size: 0.96rem; max-width: 560px; }

/* ---------- FAQ ---------- */
.faq { margin-top: 2.8rem; display: grid; gap: 0.9rem; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s;
}
.faq-item[open] { border-color: rgba(216, 169, 78, 0.4); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.25rem 1.5rem;
  font-weight: 600; font-size: 1.02rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
  flex: 0 0 30px; height: 30px; position: relative;
  border-radius: 50%;
  border: 1px solid rgba(216, 169, 78, 0.5);
  transition: background 0.3s, transform 0.35s var(--ease);
}
.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute; left: 50%; top: 50%;
  background: var(--gold-soft);
  transform: translate(-50%, -50%);
}
.faq-icon::before { width: 12px; height: 2px; }
.faq-icon::after { width: 2px; height: 12px; transition: transform 0.35s var(--ease); }
.faq-item[open] .faq-icon { background: rgba(216, 169, 78, 0.15); transform: rotate(180deg); }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) scaleY(0); }
.faq-item p { padding: 0 1.5rem 1.4rem; color: var(--ink-dim); font-size: 0.96rem; max-width: 640px; }

/* ---------- Kontakt ---------- */
.contact-form {
  margin-top: 2.8rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: clamp(1.6rem, 4vw, 2.6rem);
  display: grid; gap: 1.3rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.form-field { display: grid; gap: 0.45rem; }
.form-field label { font-size: 0.88rem; font-weight: 600; color: var(--ink-dim); }
.form-field input, .form-field textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  color: var(--ink);
  font-family: var(--font-sans); font-size: 0.98rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  resize: vertical;
}
.form-field input:focus, .form-field textarea:focus {
  outline: none;
  border-color: rgba(216, 169, 78, 0.6);
  box-shadow: 0 0 0 3px rgba(216, 169, 78, 0.15);
}
.form-field input::placeholder, .form-field textarea::placeholder { color: rgba(154, 163, 181, 0.55); }
.form-note { font-size: 0.8rem; color: var(--ink-dim); opacity: 0.8; }
.form-feedback { font-size: 0.92rem; font-weight: 600; min-height: 1.4em; }
.form-feedback.ok { color: #7ddc8f; }
.form-feedback.err { color: #ff8a80; }

.contact-direct {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 2.4rem;
  margin-top: 2rem;
}
.contact-line { color: var(--ink-dim); font-size: 0.98rem; }
a.contact-line { color: var(--gold-soft); font-weight: 600; }
a.contact-line:hover { color: var(--gold); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line-soft); padding: 2.6rem 0 2.2rem; background: var(--bg); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.4rem; }
.footer-brand { display: flex; align-items: center; gap: 0.7rem; font-family: var(--font-display); font-weight: 600; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0.4rem 1.6rem; }
.footer-nav a { color: var(--ink-dim); font-size: 0.9rem; }
.footer-nav a:hover { color: var(--gold-soft); }
.footer-copy { width: 100%; color: var(--ink-dim); font-size: 0.82rem; opacity: 0.7; text-align: center; margin-top: 1rem; }

/* ---------- Reveal Animation (nur aktiv, wenn JS verfügbar — ohne JS bleibt alles sichtbar) ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Stats-Head & Referenz ---------- */
.stats-head { margin-bottom: 1rem; }
.section--dark .stats-head .section-sub { margin-inline: 0; text-align: left; }

#statistiken .wirkung-card { max-width: 860px; margin-top: 1.5rem; }

.section--ref {
  background: linear-gradient(160deg, rgba(216, 169, 78, 0.12), rgba(20, 24, 36, 0.7));
  border: 1px solid rgba(216, 169, 78, 0.3);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  padding: clamp(2rem, 4vw, 3rem) 0;
  margin: 0 var(--pad-x);
}
.section--ref .section-title { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
.ref-text { color: var(--ink-dim); max-width: 680px; margin-bottom: 1.8rem; }

/* ---------- Legal Pages ---------- */
.legal { padding: 150px 0 80px; min-height: 70vh; }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 1.6rem; }
.legal h2 { font-size: 1.3rem; margin: 2.2rem 0 0.8rem; }
.legal p, .legal li { color: var(--ink-dim); font-size: 0.96rem; margin-bottom: 0.6rem; }
.legal ul { padding-left: 1.4rem; margin-bottom: 1rem; }
.legal a { word-break: break-word; }
.legal .legal-meta { color: var(--gold-soft); font-size: 0.85rem; margin-bottom: 2rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .wirkung-grid { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 640px) {
  .grid--3 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 120px; }
  .hero-card-body { padding: 1.4rem 1.2rem 1.6rem; }
  .timeline::before { left: 25px; }
  .timeline-num { flex-basis: 50px; height: 50px; font-size: 1.2rem; }
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Print: nichts darf unsichtbar bleiben ---------- */
@media print {
  .js .reveal { opacity: 1 !important; transform: none !important; }
}
