/* ============================================================
   meweto.de — Design-System v1 (S58, 2026-06-12)
   CI-Kern: Dunkelblau #2c3e50 + Grün #9bb53e (konsistent mit
   Dossier, Exposé, Präsentation, Drucksachen)
   Leitmotiv: „Ruhige Überzeugung"
   ============================================================ */

/* ---------- Fonts (lokal, DSGVO) ---------- */
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('assets/fonts/CormorantGaramond-var.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('assets/fonts/CormorantGaramond-italic-var.woff2') format('woff2');
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('assets/fonts/Inter-var.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Design Tokens ---------- */
:root {
  /* Farben — CI-Kern */
  --navy:        #2c3e50;   /* Primär: Headlines, dunkle Flächen */
  --navy-deep:   #243342;   /* Abdunkelung für Verläufe/Hover */
  --green:       #9bb53e;   /* Akzent: Balken, CTAs, Highlights */
  --green-dark:  #86a032;   /* Hover/Active auf Grün */
  --green-text:  #5f7420;   /* Grün als TEXT auf hellen Flächen (WCAG 5.07:1) */
  --green-tint:  #f6faf0;   /* Hellgrüne Inset-Flächen */
  --warm-white:  #fdfbf7;   /* Flächengrundton (statt reinem Weiß) */
  --white:       #ffffff;   /* Karten auf Warmweiß */
  --text:        #3d4852;   /* Fließtext (Kontrast ≥ 8:1 auf Warmweiß) */
  --text-soft:   #5f6b76;   /* Sekundärtext (Kontrast ≥ 5:1) */
  --line:        #e7e3da;   /* Linien auf warmen Flächen */
  --line-cool:   #e2e8f0;   /* Linien auf Weiß */

  /* Typografie */
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'Inter', 'Helvetica Neue', Arial, sans-serif;

  /* Skala (Desktop) */
  --fs-hero:    clamp(2.6rem, 5.2vw, 4.2rem);
  --fs-h2:      clamp(1.9rem, 3.2vw, 2.6rem);
  --fs-h3:      1.45rem;
  --fs-lead:    1.2rem;
  --fs-body:    1.0625rem;  /* 17px */
  --fs-small:   0.9375rem;  /* 15px */
  --fs-caption: 0.8125rem;  /* 13px */

  /* Raum */
  --space-section: clamp(4.5rem, 9vw, 8rem);
  --content-w: 1240px;
  --radius: 6px;
  --shadow-soft: 0 2px 24px rgba(44, 62, 80, 0.07);
  --shadow-card: 0 1px 3px rgba(44, 62, 80, 0.06), 0 10px 36px rgba(44, 62, 80, 0.09);
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.7;
  color: var(--text);
  background: var(--warm-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { font-family: var(--serif); color: var(--navy); line-height: 1.15; margin: 0; }
h1 { font-size: var(--fs-hero); font-weight: 600; letter-spacing: -0.01em; }
h2 { font-size: var(--fs-h2); font-weight: 600; }
h3 { font-size: var(--fs-h3); font-weight: 600; font-family: var(--sans); letter-spacing: -0.01em; }
p  { margin: 0 0 1.2em; }
a  { color: var(--navy); }
img { max-width: 100%; display: block; }

.lead { font-size: var(--fs-lead); line-height: 1.65; color: var(--text-soft); font-weight: 400; }
.small { font-size: var(--fs-small); }
.caption { font-size: var(--fs-caption); color: var(--text-soft); }

em.serif { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 1.12em; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--content-w); margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }
.section { padding: var(--space-section) 0; }
.section--white { background: var(--white); }
.section--navy { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%); }
.section--navy h2, .section--navy h3, .section--navy p { color: var(--warm-white); }
.section--navy .lead { color: rgba(253, 251, 247, 0.78); }

/* Kicker + Akzentbalken — das CI-Pattern aus Dossier/Präsi */
.kicker {
  display: block;
  font-family: var(--sans);
  font-size: var(--fs-caption);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-text);
  margin-bottom: 1rem;
}
.accent-bar { width: 52px; height: 3px; background: var(--green); border: 0; margin: 1.4rem 0; }
.accent-bar--center { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  border-radius: var(--radius);
  padding: 0.95rem 2.1rem;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  border: 0;
}
.btn--primary {
  background: var(--green);
  color: var(--navy);   /* WCAG 4.75:1 — Weiß auf Grün fiel mit 2.31:1 durch */
  font-weight: 600;
}
.btn--primary:hover { background: var(--green-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(155, 181, 62, 0.35); }
.btn--ghost {
  background: transparent;
  color: var(--navy);
  box-shadow: inset 0 0 0 1.5px var(--navy);
}
.btn--ghost:hover { background: var(--navy); color: var(--warm-white); }
.section--navy .btn--ghost { color: var(--warm-white); box-shadow: inset 0 0 0 1.5px rgba(253,251,247,0.6); }
.section--navy .btn--ghost:hover { background: var(--warm-white); color: var(--navy); }

/* ---------- Karten ---------- */
.card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line-cool);
  box-shadow: var(--shadow-soft);
  padding: 2rem;
}
.card--tint { background: var(--green-tint); border-color: #e3ecd2; box-shadow: none; }
.card--navy { background: var(--navy); border: 0; color: var(--warm-white); }
.card--navy h3 { color: var(--warm-white); }
.card--navy .num { color: var(--green); }

/* Kennzahl */
.num {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1;
  display: block;
}
.num + .caption { margin-top: 0.5rem; }

/* ---------- Trust-Badge (ProvenExpert) ---------- */
.trust {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--white);
  border: 1px solid var(--line-cool);
  border-radius: 100px;
  padding: 0.55rem 1.3rem 0.55rem 0.9rem;
  box-shadow: var(--shadow-soft);
}
.trust__stars { color: #e8a821; font-size: 1rem; letter-spacing: 0.1em; }
.trust__text { font-size: var(--fs-small); font-weight: 500; color: var(--navy); }
.trust__text small { font-weight: 400; color: var(--text-soft); }

/* ---------- Prozess-Schritte ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.25rem; counter-reset: step; }
.step { position: relative; padding-top: 1.1rem; }
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--serif);
  font-size: 2.1rem;
  font-weight: 600;
  color: var(--green);
  display: block;
  margin-bottom: 0.4rem;
}
.step h3 { font-size: 1.05rem; margin-bottom: 0.35rem; }
.step p { font-size: var(--fs-small); color: var(--text-soft); margin: 0; }
.step + .step { border-left: 0; }

/* ---------- Zitat / Kundenstimme ---------- */
.quote {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1.5;
  color: var(--navy);
}
.quote-source { font-family: var(--sans); font-size: var(--fs-small); color: var(--text-soft); margin-top: 1rem; }

/* ---------- Motion (dezent, <0.3s) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .fade { opacity: 0; transform: translateY(14px); transition: opacity 0.28s ease-out, transform 0.28s ease-out; }
  .fade.in { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .card { padding: 1.5rem; }
}
