/* ============================================================
   eCaupo · Startseite
   Komponenten & Layout auf Basis von tokens.css (Marketing-Kit)
   ============================================================ */

/* ---------- Base ---------- */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: clip; color-scheme: light; }

a, button, input, summary { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }

section[id], [id] h2 { scroll-margin-top: 88px; } /* sticky Header nicht überdecken */

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

body {
  font-family: var(--ec-font-text);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ec-ink);
  background: var(--ec-paper);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--ec-green-700); }

h1, h2, h3, h4 {
  font-family: var(--ec-font-display);
  line-height: 1.15;
  text-wrap: balance;
}

:focus-visible {
  outline: 3px solid var(--ec-green-600);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ec-ink); color: #fff;
  padding: 12px 20px; z-index: 200; border-radius: 0 0 var(--ec-r-sm) 0;
}
.skip-link:focus { left: 0; }

.container { max-width: 1160px; margin-inline: auto; padding-inline: 24px; }

section { padding-block: 96px; }

/* ---------- Sektions-Kopf ---------- */

.eyebrow {
  font-family: var(--ec-font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ec-green-700);
}
.eyebrow--on-dark { color: var(--ec-lime-500); } /* Fläche-Akzent als Marker, Text daneben bleibt hell */

.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 {
  font-size: clamp(30px, 4.4vw, 42px);
  font-weight: 700;
  letter-spacing: -.02em;
  margin: 14px 0 12px;
}
.section-head p { color: var(--ec-muted); font-size: 18px; }
.section-head .eyebrow { font-size: 13px; color: var(--ec-green-700); } /* spezifischer als .section-head p, sonst erbt der Eyebrow dessen 18px/Muted-Farbe */
.section-head .eyebrow--on-dark { color: var(--ec-lime-500); }

/* ---------- Kit-Komponenten ---------- */

/* Glossy-Fläche — Verlauf + Licht-Schein */
.ec-surface {
  position: relative;
  color: #fff;
  background: var(--ec-gradient);
  overflow: hidden;
}
.ec-surface::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto auto;
  width: 70%;
  height: 130%;
  background: var(--ec-sheen);
  pointer-events: none;
}
.ec-surface > * { position: relative; } /* Inhalt über dem Sheen */

/* Dunkle Fläche mit grünem Radial-Schimmer */
.ec-dark {
  position: relative;
  color: #fff;
  background: var(--ec-ink);
  overflow: hidden;
}
.ec-dark::before {
  content: "";
  position: absolute;
  inset: auto auto -30% -15%;
  width: 60%;
  height: 90%;
  background: radial-gradient(circle, rgba(57,156,120,.28), transparent 65%);
  pointer-events: none;
}
.ec-dark > * { position: relative; }

/* Buttons */
.ec-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ec-font-display);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  text-decoration: none;
  border: 0;
  border-radius: var(--ec-r-pill);
  padding: 15px 28px;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}
.ec-btn:hover { transform: translateY(-2px); }
.ec-btn--primary { color: #fff; background: var(--ec-gradient); box-shadow: var(--ec-shadow-pill); }
.ec-btn--dark    { color: #fff; background: var(--ec-ink); }
.ec-btn--dark:hover { box-shadow: 0 10px 22px rgba(22,36,28,.30); }
.ec-btn--ghost   { color: var(--ec-ink); background: #fff; border: 1.5px solid #CFE0CB; }
.ec-btn--ghost:hover { box-shadow: 0 10px 22px rgba(22,36,28,.12); }

/* Karte */
.ec-card {
  background: var(--ec-paper);
  border: 1px solid var(--ec-line);
  border-radius: var(--ec-r-lg);
  box-shadow: var(--ec-shadow-card);
}

/* Badges */
.ec-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  border-radius: var(--ec-r-pill);
  padding: 8px 14px;
}
.ec-badge--success { color: var(--ec-green-700); background: #EAF4E4; border: 1px solid #CFE6BF; }
.ec-badge--mono {
  font-family: var(--ec-font-mono);
  letter-spacing: .18em;
  color: var(--ec-ink);
  background: var(--ec-lime-500);
  border-radius: 8px;
}

/* Sprechblasen */
.ec-bubble {
  display: inline-block;
  max-width: 340px;
  padding: 14px 20px;
  border-radius: 20px;
  font-size: 16px;
}
.ec-bubble--in  { background: var(--ec-bubble); color: #fff; border-bottom-left-radius: 6px; }
.ec-bubble--out { background: var(--ec-gradient); color: #fff; border-bottom-right-radius: 6px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251,252,250,.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ec-line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 72px;
}
.site-header__logo img { height: 34px; width: auto; mix-blend-mode: multiply; } /* weißer Logo-Hintergrund verschmilzt mit dem transluzenten Header */
.site-header__nav { margin-left: auto; }
.site-header__nav ul { display: flex; gap: 4px; list-style: none; }
.site-header__nav a {
  display: block;
  padding: 8px 12px;
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  color: var(--ec-ink);
  text-decoration: none;
  border-radius: var(--ec-r-pill);
  transition: background .15s ease;
}
.site-header__nav a:hover { background: var(--ec-mist); }
.site-header__cta { white-space: nowrap; padding: 11px 22px; font-size: 15px; }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 0;
  padding: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2.5px;
  background: var(--ec-ink);
  border-radius: 2px;
  margin: 5px 0;
  transition: transform .2s ease, opacity .2s ease;
}

/* Off-Canvas (mobil) */
.offcanvas {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(320px, 85vw);
  z-index: 150;
  background: var(--ec-ink);
  color: #fff;
  padding: 28px;
  transform: translateX(100%);
  transition: transform .28s ease;
  display: flex;
  flex-direction: column;
  visibility: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.offcanvas.is-open { transform: translateX(0); visibility: visible; }
.offcanvas__close {
  align-self: flex-end;
  background: none; border: 0; color: #fff;
  font-size: 32px; line-height: 1; cursor: pointer; padding: 4px 10px;
}
.offcanvas ul { list-style: none; margin-top: 16px; }
.offcanvas a {
  display: block;
  padding: 13px 8px;
  color: #fff;
  text-decoration: none;
  font-family: var(--ec-font-display);
  font-weight: 600;
  font-size: 19px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.offcanvas .ec-btn { margin-top: 28px; justify-content: center; }
.offcanvas-backdrop {
  position: fixed; inset: 0; z-index: 140;
  background: rgba(15,26,20,.55);
  opacity: 0; visibility: hidden;
  transition: opacity .28s ease;
}
.offcanvas-backdrop.is-open { opacity: 1; visibility: visible; }

/* ---------- Hero ---------- */

.hero { padding-block: 0; }
.hero__surface { padding: clamp(64px, 8vw, 110px) 0 0; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(44px, 7vw, 76px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.02;
  margin: 22px 0 18px;
}
.hero__sub {
  font-size: clamp(18px, 2.2vw, 21px);
  max-width: 480px;
  margin-bottom: 32px;
}
.hero__sub strong { font-weight: 700; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 56px; }
.hero__media { align-self: end; display: flex; justify-content: center; }
.hero__media img {
  width: min(420px, 100%);
  filter: drop-shadow(0 30px 80px rgba(22,36,28,.35));
}

/* Stat-Zeile unten im Hero */
.hero__stats {
  border-top: 1px solid rgba(255,255,255,.22);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.hero__stats > div { padding: 24px 12px; text-align: center; }
.hero__stats > div + div { border-left: 1px solid rgba(255,255,255,.22); }
.hero__stats strong {
  display: block;
  font-family: var(--ec-font-display);
  font-weight: 800;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -.02em;
}
.hero__stats span { font-size: 14px; opacity: .92; }

/* ---------- Vergleich Portal vs. eCaupo ---------- */

.compare { background: var(--ec-mist); }
.compare__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}
.compare__card { padding: 36px; }
.compare__card--portal { background: var(--ec-bg); border: 1px solid #D8DED4; border-radius: var(--ec-r-lg); }
.compare__card h3 { font-size: 21px; font-weight: 700; margin-bottom: 20px; }
.compare__card ul { list-style: none; display: grid; gap: 14px; }
.compare__card li { display: flex; gap: 12px; align-items: baseline; }
.compare__mark {
  font-weight: 700;
  flex: 0 0 auto;
  width: 24px; height: 24px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  font-size: 13px;
  transform: translateY(4px);
}
.compare__card--portal .compare__mark { background: #D5DBD1; color: var(--ec-muted); }
.compare__card--ecaupo .compare__mark { background: #EAF4E4; color: var(--ec-green-700); }
.compare__card--portal li { color: var(--ec-muted); }
.compare__note {
  margin-top: 28px;
  text-align: center;
  color: var(--ec-muted);
  font-size: 15px;
}

/* ---------- Ersparnis-Rechner ---------- */

.calc { padding-block: 104px; }
.calc__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.calc__controls { display: grid; gap: 34px; }
.calc__field label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  font-weight: 600;
  margin-bottom: 12px;
}
.calc__field output {
  font-family: var(--ec-font-display);
  font-weight: 700;
  font-size: 22px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.calc input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: var(--ec-r-pill);
  background: rgba(255,255,255,.18);
  outline-offset: 6px;
  cursor: pointer;
}
.calc input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--ec-gradient);
  border: 3px solid #fff;
  box-shadow: var(--ec-shadow-pill);
}
.calc input[type="range"]::-moz-range-thumb {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--ec-green-500);
  border: 3px solid #fff;
  box-shadow: var(--ec-shadow-pill);
}
.calc__result {
  text-align: center;
  padding: 48px 32px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--ec-r-lg);
  background: rgba(255,255,255,.05);
}
.calc__result-label {
  font-family: var(--ec-font-mono);
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ec-on-dark);
}
.calc__monthly {
  font-family: var(--ec-font-display);
  font-weight: 800;
  font-size: clamp(52px, 6vw, 84px);
  letter-spacing: -.03em;
  line-height: 1.05;
  margin: 10px 0 4px;
  font-variant-numeric: tabular-nums;
}
.calc__yearly { font-size: 18px; color: var(--ec-on-dark); margin-bottom: 28px; }
.calc__yearly strong { color: #fff; font-weight: 700; }
.calc__disclaimer { margin-top: 22px; font-size: 13px; color: var(--ec-on-dark); }

/* ---------- Feature-Grid ---------- */

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.feature { padding: 32px 28px; transition: transform .18s ease; }
.feature:hover { transform: translateY(-4px); }
.feature__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: #EAF4E4;
  color: var(--ec-green-700);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.feature__icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.feature p { color: var(--ec-muted); font-size: 16px; }

/* ---------- Design-Showcase ---------- */

.showcase__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.showcase__card {
  display: block;
  text-decoration: none;
  color: var(--ec-ink);
  background: var(--ec-paper);
  border-radius: var(--ec-r);
  overflow: hidden;
  box-shadow: var(--ec-shadow-card);
  transition: transform .18s ease, box-shadow .18s ease;
}
.showcase__card:hover { transform: translateY(-5px); box-shadow: var(--ec-shadow-xl); }
.showcase__card img { aspect-ratio: 4 / 3; object-fit: cover; object-position: top; width: 100%; }
.showcase__label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  font-family: var(--ec-font-display);
  font-weight: 700;
  font-size: 16px;
}
.showcase__label span:last-child { color: var(--ec-green-700); }

/* ---------- Testimonial ---------- */

.quote { background: var(--ec-ink-800); color: #fff; }
.quote__grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 64px;
  align-items: center;
}
.quote blockquote {
  font-family: var(--ec-font-display);
  font-weight: 600;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.35;
  letter-spacing: -.01em;
}
.quote figcaption {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--ec-on-dark);
  font-size: 16px;
}
.quote figcaption img {
  width: 56px; height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--ec-green-500);
}
.quote figcaption strong { display: block; color: #fff; font-weight: 700; }
.quote__chat { display: grid; gap: 14px; justify-items: start; }
.quote__chat .ec-bubble--out { justify-self: end; }
.quote__chat-hint {
  font-family: var(--ec-font-mono);
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ec-on-dark);
  margin-bottom: 6px;
}

/* ---------- Preis-Teaser ---------- */

.pricing { background: var(--ec-mist); }
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 440px));
  justify-content: center;
  gap: 28px;
}
.plan { padding: 40px 36px; display: flex; flex-direction: column; }
.plan--pro { background: var(--ec-ink); color: #fff; border: 0; }
.plan__name {
  font-family: var(--ec-font-mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .18em;
}
.plan__price {
  font-family: var(--ec-font-display);
  font-weight: 800;
  font-size: 56px;
  letter-spacing: -.03em;
  margin: 14px 0 2px;
}
.plan__price small { font-size: 17px; font-weight: 600; letter-spacing: 0; }
.plan__vat { font-size: 13px; color: var(--ec-muted); }
.plan--pro .plan__vat { color: var(--ec-on-dark); }
.plan .ec-badge { margin: 18px 0 22px; align-self: flex-start; }
.plan ul { list-style: none; display: grid; gap: 12px; margin-bottom: 30px; }
.plan li { display: flex; gap: 10px; align-items: baseline; font-size: 16px; }
.plan li::before { content: "✓"; font-weight: 700; color: var(--ec-green-700); }
.plan--pro li::before { color: var(--ec-lime-500); }
.plan .ec-btn { margin-top: auto; justify-content: center; }
.pricing__conditions {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 32px;
  color: var(--ec-muted);
  font-size: 15px;
}
.pricing__conditions span { display: inline-flex; gap: 8px; align-items: baseline; }
.pricing__conditions b { color: var(--ec-green-700); }

/* ---------- FAQ ---------- */

.faq__list { max-width: 780px; margin-inline: auto; display: grid; gap: 14px; }
.faq__item {
  background: var(--ec-paper);
  border: 1px solid var(--ec-line);
  border-radius: var(--ec-r);
  overflow: hidden;
}
.faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px 26px;
  font-family: var(--ec-font-display);
  font-weight: 600;
  font-size: 17px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  font-family: var(--ec-font-display);
  font-weight: 600;
  font-size: 26px;
  color: var(--ec-green-700);
  transition: transform .2s ease;
  flex: 0 0 auto;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding: 0 26px 22px; color: var(--ec-muted); }

/* ---------- Abschluss-CTA ---------- */

.cta-band { padding-block: 0 96px; background: var(--ec-paper); }
.cta-band__surface {
  border-radius: var(--ec-r-lg);
  padding: clamp(52px, 7vw, 84px) 32px;
  text-align: center;
  box-shadow: var(--ec-shadow-xl);
}
.cta-band h2 {
  font-size: clamp(30px, 4.5vw, 46px);
  font-weight: 800;
  letter-spacing: -.02em;
  margin: 16px 0 12px;
}
.cta-band p { font-size: 18px; max-width: 460px; margin: 0 auto 30px; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ec-ink-900);
  color: var(--ec-on-dark);
  padding: 72px 0 36px;
  font-size: 15px;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 56px;
}
.site-footer h3 {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: var(--ec-on-dark); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer__meta {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 32px;
}
.site-footer__meta img { height: 28px; width: auto; }
.site-footer__meta p { font-size: 13px; }
.site-footer__meta .instagram { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; }
.site-footer__meta .instagram svg { width: 20px; height: 20px; }

/* ---------- Unterseiten: Seiten-Hero ---------- */

.page-hero { padding-block: 0; }
.page-hero__surface { padding: clamp(52px, 6vw, 88px) 0; }
.page-hero h1 {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -.03em;
  margin: 18px 0 14px;
  max-width: 720px;
}
.page-hero__sub { font-size: clamp(17px, 2vw, 20px); max-width: 560px; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.site-header__nav a[aria-current="page"] { background: var(--ec-mist); }

/* ---------- Vergleichstabelle (Preise) ---------- */

.table-wrap {
  overflow-x: auto;
  background: var(--ec-paper);
  border: 1px solid var(--ec-line);
  border-radius: var(--ec-r-lg);
  box-shadow: var(--ec-shadow-card);
}
.price-table {
  width: 100%;
  min-width: 660px;
  border-collapse: collapse;
  font-size: 16px;
}
.price-table th, .price-table td {
  padding: 15px 22px;
  text-align: center;
  border-bottom: 1px solid var(--ec-line);
}
.price-table tbody tr:last-child th,
.price-table tbody tr:last-child td { border-bottom: 0; }
.price-table th[scope="row"] {
  text-align: left;
  font-weight: 600;
  font-family: var(--ec-font-text);
}
.price-table thead th { padding-block: 24px; vertical-align: top; }
.price-table thead .plan__name { display: block; margin-bottom: 6px; color: var(--ec-muted); }
.price-table thead .price-table__price {
  font-family: var(--ec-font-display);
  font-weight: 800;
  font-size: 34px;
  letter-spacing: -.02em;
  display: block;
}
.price-table thead .price-table__price small { font-size: 14px; font-weight: 600; }
.price-table col.is-pro { background: var(--ec-mist); }
.price-table .check { color: var(--ec-green-700); font-weight: 700; }
.price-table .minus { color: var(--ec-muted); }
.price-table td small { color: var(--ec-muted); display: block; }
.price-table tfoot td { padding-block: 22px; border-bottom: 0; }
.price-table__note { margin-top: 16px; font-size: 13px; color: var(--ec-muted); }

/* ---------- Split-Sektionen (Text + Bild) ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}
.split + .split { margin-top: clamp(64px, 9vw, 110px); }
.split h2, .split h3 { font-size: clamp(26px, 3.4vw, 34px); font-weight: 700; letter-spacing: -.02em; margin: 12px 0 14px; }
.split p { color: var(--ec-muted); }
.split__media img { border-radius: var(--ec-r-lg); box-shadow: var(--ec-shadow-xl); width: 100%; }
.split__media--plain img { border-radius: 0; box-shadow: none; }
.split--rev .split__media { order: -1; }
.split .ec-btn { margin-top: 20px; }

/* Häkchen-Liste */
.check-list { list-style: none; display: grid; gap: 11px; margin-top: 16px; }
.check-list li { display: flex; gap: 11px; align-items: baseline; }
.check-list li::before { content: "✓"; font-weight: 700; color: var(--ec-green-700); flex: 0 0 auto; }
.ec-dark .check-list li::before, .quote .check-list li::before { color: var(--ec-lime-500); }

/* ---------- Prose (Rechtstexte, lange Inhalte) ---------- */

.prose { max-width: 780px; margin-inline: auto; }
.prose h2 { font-size: 24px; font-weight: 700; margin: 40px 0 12px; }
.prose h3 { font-size: 19px; font-weight: 700; margin: 28px 0 10px; }
.prose p, .prose li { color: var(--ec-muted); }
.prose p { margin-bottom: 14px; }
.prose ul, .prose ol { margin: 0 0 14px 22px; }
.prose li { margin-bottom: 6px; }
.prose hr { border: 0; border-top: 1px solid var(--ec-line); margin: 32px 0; }
.prose strong { color: var(--ec-ink); }
.prose img { border-radius: var(--ec-r); margin: 10px 0 20px; box-shadow: var(--ec-shadow-card); }
.prose blockquote { border-left: 3px solid var(--ec-green-600); padding-left: 18px; color: var(--ec-muted); font-style: italic; margin-bottom: 14px; }

/* ---------- Blog-Karten ---------- */

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.post-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  text-decoration: none;
  color: var(--ec-ink);
  transition: transform .18s ease, box-shadow .18s ease;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--ec-shadow-xl); }
.post-card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.post-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; }
.post-card__cat {
  font-family: var(--ec-font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ec-green-700);
}
.post-card h2, .post-card h3 { font-size: 18px; font-weight: 700; line-height: 1.3; }
.post-card p { color: var(--ec-muted); font-size: 15px; }

@media (max-width: 1020px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .post-grid { grid-template-columns: 1fr; } }

/* ---------- Schritte (echte Abfolge) ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  counter-reset: step;
}
.step { padding: 30px 28px; }
.step__num {
  font-family: var(--ec-font-display);
  font-weight: 800;
  font-size: 15px;
  width: 40px; height: 40px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
  background: var(--ec-gradient);
  box-shadow: var(--ec-shadow-pill);
  margin-bottom: 18px;
}
.step h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.step p { color: var(--ec-muted); font-size: 16px; }

@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; }
}

/* ---------- Formular ---------- */

.form-grid { display: grid; gap: 20px; }
.form-field label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 7px; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%;
  font: inherit;
  color: var(--ec-ink);
  background: #fff;
  border: 1.5px solid #CFDACB;
  border-radius: var(--ec-r-sm);
  padding: 13px 16px;
}
.form-field input:focus-visible, .form-field textarea:focus-visible, .form-field select:focus-visible {
  outline: 3px solid var(--ec-green-600);
  outline-offset: 1px;
}
.form-field textarea { resize: vertical; min-height: 140px; }
.form-hint { font-size: 14px; color: var(--ec-muted); }

.form-field--error input, .form-field--error textarea, .form-field--error select {
  border-color: #C0392B;
}
.form-error-text { font-size: 14px; color: #C0392B; margin-top: 6px; }
.form-message {
  border-radius: var(--ec-r-sm);
  padding: 14px 18px;
  margin-bottom: 20px;
  font-size: 15px;
  font-weight: 600;
}
.form-message--success { background: #EAF4E4; color: var(--ec-green-700); border: 1px solid #CFE6BF; }
.form-message--error { background: #FBEAE8; color: #C0392B; border: 1px solid #F0C4BE; }

/* Honeypot: für Menschen unsichtbar, für Screenreader semantisch ausgeblendet */
.form-field--hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- Scroll-Reveal ---------- */

/* Nur wenn JS läuft (html.js), sonst bleibt alles sichtbar */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .ec-btn, .feature, .showcase__card, .offcanvas, .offcanvas-backdrop { transition: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1020px) {
  .site-header__nav { display: none; }
  .site-header__cta { display: none; }
  .nav-toggle { display: block; }

  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .showcase__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  section { padding-block: 64px; }
  .section-head { margin-bottom: 40px; }

  /* Sheen/Schimmer: auf hohen Mobil-Sektionen läuft der Kit-Verlauf nicht mehr
     weich aus, sondern schneidet als harte Kante — hier als begrenzter,
     weich auslaufender Corner-Glow ersetzt */
  .ec-surface::before {
    inset: -120px -120px auto auto;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle closest-side, rgba(255,255,255,.22), transparent);
  }
  .ec-dark::before {
    inset: auto auto -140px -140px;
    width: 460px;
    height: 460px;
    background: radial-gradient(circle closest-side, rgba(57,156,120,.30), transparent);
  }

  .split, .split--rev { grid-template-columns: 1fr; }
  .split--rev .split__media { order: 0; }

  .hero__grid { grid-template-columns: 1fr; gap: 8px; }
  .hero__media img { width: min(300px, 80%); }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .hero__stats > div:nth-child(3) { border-left: 0; }
  .hero__stats > div:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.22); }

  .compare__grid,
  .calc__grid,
  .quote__grid { grid-template-columns: 1fr; }
  .calc__grid { gap: 44px; }
  .quote__grid { gap: 44px; }

  .features__grid { grid-template-columns: 1fr; }
  .pricing__grid { grid-template-columns: 1fr; }

  .site-footer__grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer__meta .instagram { margin-left: 0; }
}

/* ---------- Grid-Varianten ----------
   Ersetzen die früheren Inline-Styles (style="grid-template-columns:…"),
   die jede Media-Query aushebelten: mobil blieben die Karten nebeneinander
   und wurden vom overflow-x:clip abgeschnitten.
   Stehen bewusst NACH den Media-Queries, damit sie deren Desktop-Werte
   überschreiben; ihr eigenes Mobil-Verhalten folgt direkt darunter. */

.features__grid--3 { grid-template-columns: repeat(3, 1fr); }
.features__grid--2 { grid-template-columns: repeat(2, 1fr); }
.showcase__grid--2 { grid-template-columns: repeat(2, minmax(0, 480px)); justify-content: center; }

@media (max-width: 760px) {
  .features__grid--3, .features__grid--2 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .showcase__grid--2 { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .showcase__grid { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; }

  /* Buttons: kompakter, damit lange Labels nicht umbrechen;
     Haupt-CTAs volle Breite in der Daumenzone */
  .ec-btn { padding: 14px 22px; font-size: 15px; }
  .hero__actions .ec-btn,
  .calc__result .ec-btn,
  .cta-band__surface .ec-btn { width: 100%; justify-content: center; }

  /* Mono-Auszeichnungen: Letter-Spacing reduziert, damit sie einzeilig bleiben */
  .eyebrow, .section-head .eyebrow { font-size: 12px; letter-spacing: .12em; }
  .ec-badge--mono { font-size: 13px; letter-spacing: .12em; }

  /* Feature-Karten: Icon neben der Headline statt darüber — kürzerer Scrollweg */
  .feature {
    display: grid;
    grid-template-columns: 48px 1fr;
    column-gap: 16px;
    align-items: center;
    padding: 22px 20px;
  }
  .feature__icon { width: 48px; height: 48px; margin-bottom: 0; }
  .feature__icon svg { width: 24px; height: 24px; }
  .feature h3 { margin-bottom: 0; }
  .feature p { grid-column: 1 / -1; margin-top: 10px; }
  /* Karten mit Content-Bild statt Icon (z. B. Bestellkanäle): Bild und Headline volle Breite */
  .feature > img { grid-column: 1 / -1; width: 100%; }
  .feature > img + h3 { grid-column: 1 / -1; }

  /* Karten-Innenabstände ans schmale Raster angepasst */
  .compare__card { padding: 28px 22px; }
  .plan { padding: 32px 24px; }
  .faq__item summary { padding: 18px 20px; }
  .faq__item p { padding: 0 20px 18px; }
}
