/* =========================================================================
   eHealth Alliance – Stylesheet
   Statische Site, kein Build. Reines CSS mit Custom Properties.
   Palette: Clean Healthcare – Blau / Teal, Light-Theme.
   ========================================================================= */

/* ----- Design-Tokens ---------------------------------------------------- */
:root {
  /* Marke */
  --brand-900: #0A3255;
  --brand-700: #0F4C81;
  --brand-600: #15619F;
  --brand-500: #1C74B8;
  --brand-300: #7FB9DE;
  --brand-100: #E5F1F9;

  /* Akzent (Teal) */
  --teal-600: #0E8C7E;
  --teal-500: #12A594;
  --teal-100: #DFF3F0;

  /* Neutral */
  --ink: #0B2942;
  --ink-soft: #22405A;
  --muted: #5B7186;
  --bg: #FFFFFF;
  --bg-soft: #F3F8FC;
  --bg-panel: #EEF5FB;
  --line: #E1EBF2;
  --line-strong: #CFDEEA;

  /* Status */
  --ok: #1E9E6A;

  /* Form & Raster */
  --r-sm: 10px;
  --r: 14px;
  --r-lg: 22px;
  --container: 1120px;
  --shadow-sm: 0 1px 2px rgba(11, 41, 66, .06), 0 2px 8px rgba(11, 41, 66, .05);
  --shadow-md: 0 10px 30px rgba(11, 41, 66, .10);
  --shadow-lg: 0 24px 60px rgba(11, 41, 66, .16);

  --section-pad: clamp(64px, 9vw, 112px);

  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Sora", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ----- Reset / Basis -------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg { max-width: 100%; display: block; }

a { color: var(--brand-600); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 5.2vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.35rem); }

p { margin: 0 0 1rem; }

ul { margin: 0; padding: 0; }

:focus-visible {
  outline: 3px solid var(--brand-500);
  outline-offset: 2px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ----- Layout-Hilfen ------------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 40px);
}

.section { padding-block: var(--section-pad); }
.section--soft { background: var(--bg-soft); }
.section--panel { background: var(--bg-panel); }
.section--tight { padding-block: clamp(48px, 6vw, 72px); }

.section-head {
  max-width: 720px;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin-bottom: .9rem;
}

.lead { font-size: 1.12rem; color: var(--muted); }

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

/* ----- Buttons --------------------------------------------------------------- */
.btn {
  --btn-bg: var(--brand-700);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .85rem 1.4rem;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: .98rem;
  line-height: 1;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .18s ease, background-color .18s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn--primary {
  background: var(--btn-bg);
  color: var(--btn-fg);
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover { background: var(--brand-600); box-shadow: var(--shadow-md); }

.btn--accent {
  background: var(--teal-500);
  color: #fff;
}
.btn--accent:hover { background: var(--teal-600); }

.btn--ghost {
  background: transparent;
  color: var(--brand-700);
  border-color: var(--line-strong);
}
.btn--ghost:hover { border-color: var(--brand-500); background: var(--brand-100); }

.btn--on-dark {
  background: #fff;
  color: var(--brand-700);
}
.btn--on-dark.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .5);
}
.btn--on-dark.btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }

.btn--lg { padding: 1rem 1.7rem; font-size: 1.03rem; }
.btn--block { width: 100%; }

/* ----- Header / Navigation ------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
  color: var(--ink);
}
.brand:hover { text-decoration: none; }
.brand__mark { width: 34px; height: 34px; flex: none; object-fit: contain; }
.brand__name b { color: var(--brand-500); font-weight: 700; }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav__list {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  list-style: none;
}
.nav__list a {
  color: var(--ink-soft);
  font-weight: 500;
  font-size: .97rem;
  white-space: nowrap;
}
.nav__list a:hover { color: var(--brand-700); text-decoration: none; }
.nav__list a[aria-current="page"] { color: var(--brand-700); font-weight: 600; }
/* Nav dropdown */
.nav__item--dropdown { position: relative; }
.nav__dropdown-btn {
  all: unset;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 6px;
  font: inherit;
  font-size: .95rem;
  font-weight: 500;
  color: var(--ink-soft);
  cursor: pointer;
  padding: .35rem .5rem;
  transition: color .15s;
  white-space: nowrap;
}
.nav__dropdown-btn svg { width: 14px; height: 14px; flex-shrink: 0; transition: transform .2s; }
.nav__dropdown-btn:hover,
.nav__item--dropdown.is-open .nav__dropdown-btn { color: var(--brand-700); }
.nav__item--dropdown.is-open .nav__dropdown-btn svg { transform: rotate(180deg); }
.nav__dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  box-shadow: var(--shadow-md);
  min-width: 230px;
  padding: 6px;
  z-index: 200;
  list-style: none;
}
.nav__item--dropdown.is-open .nav__dropdown-menu { display: block; }
.nav__dropdown-menu a {
  display: block;
  padding: 9px 14px;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: background .13s, color .13s;
}
.nav__dropdown-menu a:hover { background: var(--brand-100); color: var(--brand-700); text-decoration: none; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: #fff;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before { position: absolute; top: -6px; }
.nav-toggle__bars::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed;
    inset: 72px 0 auto 0;
    z-index: 120;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 1rem clamp(20px, 5vw, 40px) 1.6rem;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
  }
  .nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav__list a {
    display: block;
    padding: .9rem .2rem;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
  }
  .nav__item--dropdown { list-style: none; }
  .nav__dropdown-btn {
    width: 100%;
    padding: .9rem .2rem;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    font-size: 1.05rem;
  }
  .nav__dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--brand-100);
    border-radius: 0;
    padding: 4px 0 4px 16px;
    margin-bottom: .5rem;
  }
  .nav__dropdown-menu a {
    border-bottom: none;
    padding: .7rem .2rem;
    font-size: .95rem;
  }
  .nav__cta { margin-top: 1rem; }
  .nav__cta .btn { width: 100%; }
}

/* ----- Hero --------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 520px at 78% -10%, rgba(18, 165, 148, .16), transparent 60%),
    radial-gradient(900px 500px at 8% 0%, rgba(28, 116, 184, .18), transparent 55%),
    linear-gradient(180deg, var(--bg-soft), var(--bg));
  border-bottom: 1px solid var(--line);
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
  padding-block: clamp(56px, 8vw, 104px);
}
.hero h1 { margin-bottom: .4em; }
.hero__lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 34ch; }
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin-top: 1.8rem;
}
.hero__note {
  margin-top: 1.4rem;
  font-size: .9rem;
  color: var(--muted);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: #fff;
  border: 1px solid var(--line-strong);
  color: var(--ink-soft);
  font-weight: 600;
  font-size: .82rem;
  padding: .45rem .9rem;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.4rem;
}
.badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal-500);
}

/* Kennzahlen im Hero */
.stat-stack { display: grid; gap: 1rem; }
.stat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 1.1rem;
}
.stat-card__icon {
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 12px;
  background: var(--teal-100);
  color: var(--teal-600);
  display: grid;
  place-items: center;
}
.stat-card__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.7rem;
  color: var(--ink);
  line-height: 1;
}
.stat-card__label { font-size: .92rem; color: var(--muted); }

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__lead { max-width: none; }
  .stat-stack { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
}

/* ----- Zwei-Spalten: Herausforderung / Antwort -------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
}
.split__card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  box-shadow: var(--shadow-sm);
}
.split__card--accent {
  border-color: var(--teal-100);
  background: linear-gradient(180deg, #fff, var(--teal-100));
}
.split__card h3 { display: flex; align-items: center; gap: .6rem; }
.split__tag {
  font-family: var(--font-sans);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: .5rem;
}
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }

/* ----- Karten-Raster ---------------------------------------------------- */
.grid {
  display: grid;
  gap: clamp(18px, 2.6vw, 28px);
}
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 980px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.7rem;
  box-shadow: var(--shadow-sm);
  height: 100%;
}
.card h3 { margin-bottom: .35rem; }
.card p { color: var(--muted); margin-bottom: 0; }
.card__icon {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: var(--brand-100);
  color: var(--brand-700);
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
}
.card--soft { background: var(--bg-soft); box-shadow: none; }

/* Zielgruppen – kompakte Pills/Kärtchen */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
}
.audience {
  display: flex;
  align-items: center;
  gap: .8rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1rem 1.15rem;
  font-weight: 600;
  color: var(--ink-soft);
  box-shadow: var(--shadow-sm);
}
.audience svg { color: var(--teal-600); flex: none; }

/* ----- Schritte -------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 3vw, 30px);
  counter-reset: step;
}
.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.8rem 1.6rem 1.6rem;
  box-shadow: var(--shadow-sm);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand-700);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 1rem;
}
.step h3 { margin-bottom: .3rem; }
.step p { color: var(--muted); margin-bottom: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ----- Mitgliedschaftsstufen (Teaser-Karten) -------------------------- */
.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.6vw, 26px);
  align-items: stretch;
}
.tier {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.9rem 1.7rem;
  box-shadow: var(--shadow-sm);
}
.tier--featured {
  border-color: var(--brand-500);
  box-shadow: var(--shadow-md);
  position: relative;
}
.tier--featured::after {
  content: "Beliebt";
  position: absolute;
  top: -12px;
  right: 1.5rem;
  background: var(--teal-500);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .35rem .7rem;
  border-radius: 999px;
}
.tier__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--ink);
}
.tier__price {
  font-size: .95rem;
  color: var(--muted);
  margin: .3rem 0 1.1rem;
}
.tier__price b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--ink);
  font-weight: 700;
}
.tier__list {
  list-style: none;
  margin: 0 0 1.6rem;
  display: grid;
  gap: .6rem;
  flex: 1;
}
.tier__list li {
  position: relative;
  padding-left: 1.7rem;
  color: var(--ink-soft);
  font-size: .96rem;
}
.tier__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .15em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--teal-100);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230E8C7E' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}
@media (max-width: 900px) { .tiers { grid-template-columns: 1fr; } }

/* ----- Partner-Logostreifen ------------------------------------------- */
.logo-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  align-items: stretch;
}
.logo-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.1rem 1rem;
  min-height: 72px;
  box-shadow: var(--shadow-sm);
  color: var(--ink-soft);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .98rem;
}
.logo-chip svg { flex: none; }

/* ----- Zitate -------------------------------------------------------- */
.quote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.quote {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.7rem;
  box-shadow: var(--shadow-sm);
}
.quote p {
  font-size: 1.03rem;
  color: var(--ink-soft);
}
.quote__author {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-top: 1.2rem;
  font-size: .9rem;
  color: var(--muted);
}
.quote__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand-100);
  color: var(--brand-700);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  flex: none;
}
.quote__author b { color: var(--ink); font-weight: 600; display: block; }

/* ----- CTA-Band ---------------------------------------------------------- */
.cta-band {
  background:
    radial-gradient(700px 380px at 85% 0%, rgba(18, 165, 148, .38), transparent 60%),
    linear-gradient(120deg, var(--brand-900), var(--brand-700));
  color: #fff;
}
.cta-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  padding-block: clamp(48px, 7vw, 80px);
}
.cta-band h2 { color: #fff; margin-bottom: .3rem; }
.cta-band p { color: rgba(255, 255, 255, .82); margin-bottom: 0; max-width: 46ch; }
.cta-band__actions { display: flex; gap: .9rem; flex-wrap: wrap; }

/* ----- Partnerverzeichnis (partner.html) ------------------------------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-bottom: 1.4rem;
}
.filter-btn {
  border: 1.5px solid var(--line-strong);
  background: #fff;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: .9rem;
  padding: .55rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.filter-btn:hover { border-color: var(--brand-500); }
.filter-btn[aria-pressed="true"] {
  background: var(--brand-700);
  border-color: var(--brand-700);
  color: #fff;
}
.filter-count {
  font-size: .9rem;
  color: var(--muted);
  margin-bottom: 1.6rem;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.6vw, 26px);
}
@media (max-width: 960px) { .partner-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .partner-grid { grid-template-columns: 1fr; } }

.partner-card {
  display: flex;
  flex-direction: column;
  gap: .7rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
}
.partner-card__logo {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
}
.partner-card h3 { margin: 0; font-size: 1.1rem; }
.partner-card p { color: var(--muted); margin: 0; font-size: .95rem; flex: 1; }
.partner-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
  margin-top: .3rem;
}
.tag {
  display: inline-block;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--brand-700);
  background: var(--brand-100);
  padding: .3rem .6rem;
  border-radius: 999px;
}
.partner-card__link {
  font-size: .9rem;
  font-weight: 600;
  white-space: nowrap;
}
.is-hidden { display: none !important; }

/* ----- Vergleichstabelle Stufen -------------------------------------- */
.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  -webkit-overflow-scrolling: touch;
}
.compare {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  background: #fff;
}
.compare th,
.compare td {
  padding: 1rem 1.2rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: .96rem;
}
.compare thead th {
  background: var(--bg-soft);
  font-family: var(--font-display);
  color: var(--ink);
  font-size: 1rem;
}
.compare thead th:first-child { border-top-left-radius: var(--r-lg); }
.compare thead th:last-child { border-top-right-radius: var(--r-lg); }
.compare tbody tr:last-child td { border-bottom: none; }
.compare td:not(:first-child),
.compare th:not(:first-child) { text-align: center; width: 18%; }
.compare .col-featured { background: var(--brand-100); }
.compare .yes { color: var(--ok); font-weight: 700; }
.compare .no { color: var(--line-strong); }
.compare .row-price td { font-weight: 700; color: var(--ink); }

/* ----- Formular ------------------------------------------------------- */
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.6rem, 4vw, 2.6rem);
  box-shadow: var(--shadow-md);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem 1.2rem;
}
.field { display: flex; flex-direction: column; gap: .4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .92rem; color: var(--ink); }
.field .req { color: var(--teal-600); }
.field input,
.field select,
.field textarea {
  font: inherit;
  color: var(--ink);
  padding: .8rem .9rem;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: #fff;
  width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--brand-500);
  outline: none;
  box-shadow: 0 0 0 3px var(--brand-100);
}
.checkbox {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  font-size: .9rem;
  color: var(--muted);
}
.checkbox input { width: 18px; height: 18px; margin-top: .15rem; flex: none; }
.form-status {
  margin-top: 1rem;
  padding: .9rem 1.1rem;
  border-radius: var(--r-sm);
  background: var(--teal-100);
  border: 1px solid var(--teal-500);
  color: var(--teal-600);
  font-weight: 600;
  font-size: .95rem;
}
.form-status[hidden] { display: none; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

/* ----- FAQ ---------------------------------------------------------------- */
.faq { display: grid; gap: .8rem; max-width: 820px; }
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 1.3rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--brand-600);
  line-height: 1;
  flex: none;
}
.faq details[open] summary::after { content: "\2013"; }
.faq details > div {
  padding: 0 1.3rem 1.2rem;
  color: var(--muted);
}

/* ----- Sub-Hero (innere Seiten) ------------------------------------- */
.page-hero {
  background:
    radial-gradient(900px 440px at 85% -20%, rgba(18, 165, 148, .16), transparent 60%),
    linear-gradient(180deg, var(--bg-soft), var(--bg));
  border-bottom: 1px solid var(--line);
  padding-block: clamp(48px, 7vw, 88px);
}
.page-hero p { max-width: 60ch; }
.breadcrumb {
  font-size: .85rem;
  color: var(--muted);
  margin-bottom: 1rem;
}
.breadcrumb a { color: var(--muted); }

/* ----- Prose (Impressum / Datenschutz) ---------------------------- */
.prose { max-width: 760px; }
.prose h2 { margin-top: 2.4rem; }
.prose h3 { margin-top: 1.6rem; }
.prose .todo {
  background: #FFF7E6;
  border: 1px solid #F0D08A;
  border-radius: var(--r-sm);
  padding: .8rem 1rem;
  font-size: .9rem;
  color: #8A6400;
}

/* ----- Footer ------------------------------------------------------------- */
.site-footer {
  background: var(--brand-900);
  color: rgba(255, 255, 255, .74);
  padding-block: clamp(48px, 7vw, 72px) 2rem;
  font-size: .93rem;
}
.site-footer a { color: rgba(255, 255, 255, .74); }
.site-footer a:hover { color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.footer-brand .brand { color: #fff; }
.footer-brand .brand__name b { color: var(--brand-300); }
.footer-brand p { margin-top: 1rem; max-width: 34ch; }
.footer-legal-note {
  margin-top: .8rem;
  font-size: .85rem;
  opacity: .8;
  max-width: 34ch;
}
.footer-legal-note a { color: #fff; text-decoration: underline; }
.footer-legal-note a:hover { color: var(--teal-500); }
.footer-col h4 {
  color: #fff;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; display: grid; gap: .6rem; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.6rem;
  font-size: .86rem;
}
.footer-bottom nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ----- Utilities --------------------------------------------------------- */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   EDITORIAL REDESIGN — Cormorant Garamond + Figtree
   ══════════════════════════════════════════════════════════════════════════ */

:root {
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans:    'Figtree', system-ui, -apple-system, "Segoe UI", sans-serif;
}

body { font-family: var(--font-sans); }

h1, h2, h3, h4 { font-weight: 600; letter-spacing: 0; }
h1, h2 { font-style: italic; }

/* ── Hero ─────────────────────────────────────────────────────────── */
.hero__slogan {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6.5vw, 5rem);
  font-weight: 600;
  font-style: italic;
  line-height: 1.02;
  color: var(--brand-900);
  letter-spacing: -.01em;
  margin-bottom: 20px;
}
.hero__dot { color: var(--teal-600); font-style: normal; }
.hero__tagline {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink-soft);
  font-style: normal;
  margin-bottom: 32px;
  margin-top: 0;
}

/* Stat-Stack → editorial Reihen */
.stat-stack { display: flex; flex-direction: column; gap: 0; }
.stat-card {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding-block: 18px;
  border-top: 1px solid var(--line);
  background: none;
  box-shadow: none;
  border-radius: 0;
}
.stat-card:last-child { border-bottom: 1px solid var(--line); }
.stat-card__icon { display: none; }
.stat-card__num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 600;
  font-style: normal;
  color: var(--brand-900);
  line-height: 1;
  min-width: 80px;
}
.stat-card__label { font-size: .83rem; color: var(--muted); line-height: 1.4; }

/* ── Section-Heads ────────────────────────────────────────────────── */
.section-head h2,
.section-head--center h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-style: italic;
  font-weight: 600;
  color: var(--brand-900);
}
.eyebrow {
  display: inline-block;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin-bottom: 14px;
  font-style: normal;
}

/* ── 7 gute Gründe – Themeninseln ────────────────────────────────── */
.reasons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 740px)  { .reasons { grid-template-columns: 1fr; } }
@media (min-width: 741px) and (max-width: 980px) {
  .reasons { grid-template-columns: repeat(2, 1fr); }
}
.reason {
  background: var(--bg-soft);
  border-radius: 8px;
  padding: 32px 28px 28px;
}
.reason__num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 600;
  font-style: italic;
  color: var(--teal-600);
  line-height: 1;
  display: block;
  margin-bottom: 14px;
  opacity: .5;
}
.reason h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  font-style: normal;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.2;
}
.reason p {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}
.reason--wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: start;
  background: var(--brand-900);
}
.reason--wide .reason__num { opacity: .4; color: #fff; margin-bottom: 0; margin-top: 2px; }
.reason--wide h3 { color: #fff; }
.reason--wide p  { color: rgba(255,255,255,.65); }

/* ── Unsere Bausteine ────────────────────────────────────────────── */
.bau {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
@media (max-width: 740px) { .bau { grid-template-columns: 1fr; gap: 32px; } }
.bau-item { border-top: 2px solid var(--brand-900); padding-top: 24px; }
.bau-item__label {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.bau-item h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  font-style: normal;
  color: var(--brand-900);
  margin-bottom: 12px;
  line-height: 1.2;
}
.bau-item p { font-size: .9rem; color: var(--muted); line-height: 1.65; margin: 0; }
