/* ==========================================================================
   Solarma Montageservice — PV-Funnel Landing Page
   Brand: Grün #98bb49 · Hover #7fa03d · Papier #f8f6f2 · Text #111111
   ========================================================================== */

:root {
  --accent: #98bb49;
  --accent-hover: #7fa03d;
  --accent-soft: #e4eed0;
  --bg: #f8f6f2;
  --surface: #fdfbf9;
  --secondary: #ede8e0;
  --text: #111111;
  --muted: #8a8680;
  --border: #ccc7bc;
  --star: #f5b301;
  --radius: 12px;
  --shadow: 0 6px 24px rgba(17, 17, 17, 0.07);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

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

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

.quiz-card { scroll-margin-top: 150px; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip; /* kein horizontales Ausreißen auf kleinen Displays */
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin-bottom: 1.5rem; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  border: none;
  border-radius: var(--radius);
  padding: 16px 32px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}
.btn-primary {
  background: var(--accent);
  color: var(--text);
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-lg { font-size: 1.15rem; padding: 18px 44px; }
.btn-block { display: block; width: 100%; }

/* --- Top-Bar --- */
.topbar {
  background: var(--text);
  color: #ffffff;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 10px 16px;
}

/* --- Sticky-Kopf (Top-Bar + Header bleiben zusammen oben) --- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 60;
}

/* --- Header --- */
.header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand { display: inline-flex; align-items: center; text-decoration: none; color: var(--text); }
.brand-logo { height: 40px; width: auto; display: block; }
.brand-fallback {
  align-items: center;
  gap: 8px;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--text);
}
.brand-fallback svg { color: var(--accent); }
.header-trust { display: flex; align-items: center; gap: 10px; font-size: 0.95rem; }
.header-trust-text strong { font-weight: 800; }

/* Anfragen-Counter im Header (wie beim Referenz-Funnel) */
.header-counter {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
  white-space: nowrap;
}
.counter-num {
  color: var(--accent-hover);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  min-width: 2.2em;
  text-align: right;
}
.counter-badge {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--accent);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.counter-badge svg { width: 11px; height: 11px; }

/* --- Sterne --- */
.stars { display: inline-flex; gap: 2px; }
.star { width: 16px; height: 16px; fill: var(--star); }
.stars-lg .star { width: 22px; height: 22px; }

/* --- Hero --- */
.hero { padding: 64px 0 40px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.hero h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); margin-bottom: 1.6rem; }

.checklist { list-style: none; display: grid; gap: 14px; }
.checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.1rem;
  font-weight: 500;
}
.check-icon {
  flex: 0 0 auto;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--text);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.check-icon svg { width: 15px; height: 15px; }
.check-icon-green { background: var(--accent); color: var(--text); }
.check-highlight { color: var(--accent-hover); font-weight: 700; }

.hero-region {
  margin-top: 1.6rem;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.95rem;
}
.hero-region .pin { width: 18px; height: 18px; flex: 0 0 auto; }

.hero-photo {
  width: 100%;
  max-width: 560px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* --- Quiz --- */
.quiz-section { padding: 24px 0 72px; }
.quiz-teaser {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  max-width: 780px;
}
.quiz-teaser h2 { font-size: clamp(1.35rem, 2.6vw, 1.8rem); margin-bottom: 0.5rem; }
.arrow-doodle { width: 90px; height: 68px; flex: 0 0 auto; margin-bottom: -14px; }

.quiz-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px clamp(20px, 5vw, 56px) 28px;
  margin-top: 20px;
}
.quiz-card.flash { animation: cardflash 0.9s ease; }
@keyframes cardflash {
  0% { box-shadow: 0 0 0 4px var(--accent); }
  100% { box-shadow: var(--shadow); }
}

.progress-track {
  height: 8px;
  background: var(--secondary);
  border-radius: 99px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  width: 8%;
  background: var(--accent);
  border-radius: 99px;
  transition: width 0.35s ease;
}
.quiz-question {
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  font-weight: 800;
  text-align: center;
  margin: 26px 0 6px;
}
.quiz-hint {
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 22px;
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  grid-auto-rows: 1fr; /* alle Karten gleich hoch, auch bei mehrzeiligen Labels */
  gap: 14px;
  margin-top: 22px;
}
.option-card {
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
  background: #ffffff;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 16px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.option-card:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-2px);
}
.option-card svg { width: 42px; height: 42px; color: var(--text); }

.quiz-nav { margin-top: 18px; }
.btn-back {
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
  background: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 0;
}
.btn-back:hover { color: var(--text); }
.btn-back svg { width: 16px; height: 16px; }
.btn-back[hidden] { display: none; }

.quiz-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 20px;
  border-top: 1px solid var(--secondary);
  padding-top: 16px;
}
.quiz-note svg { width: 15px; height: 15px; flex: 0 0 auto; }

/* Kontaktformular (Schritt 6) */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 22px;
}
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field-full { grid-column: 1 / -1; }
.form-field label { font-size: 0.9rem; font-weight: 600; }
.form-field input {
  font-family: inherit;
  font-size: 1rem;
  padding: 13px 14px;
  border: 2px solid var(--border);
  border-radius: 10px;
  background: #ffffff;
  color: var(--text);
}
.form-field input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.form-field input.invalid { border-color: #c0392b; }
.field-error { color: #c0392b; font-size: 0.82rem; display: none; }
.form-field.has-error .field-error { display: block; }

/* Einspaltige Formular-Schritte (PLZ, Name, Kontakt) */
.form-grid-single { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }

.btn-weiter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.btn-weiter svg { width: 18px; height: 18px; }

/* Verfügbarkeits-Prüfung (Zwischenschritt) */
.check-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  padding: 18px 0 8px;
}
.spinner {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 4px solid var(--secondary);
  border-top-color: var(--accent);
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.check-trust {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.92rem;
}
.check-trust-icon, .avail-check {
  flex: 0 0 auto;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--accent);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.check-trust-icon svg, .avail-check svg { width: 11px; height: 11px; }

/* Verfügbarkeits-Ergebnis über dem Namensformular */
.avail-banner {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
  background: var(--accent-soft);
  border-radius: 10px;
  padding: 16px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  max-width: 520px;
  margin: 28px auto 0;
}
.avail-banner .avail-check { margin-top: 2px; }

.consent {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--muted);
}
.consent input {
  width: 18px; height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
  flex: 0 0 auto;
}
.consent a { color: var(--text); }
.consent.has-error { color: #c0392b; }

.form-submit { grid-column: 1 / -1; margin-top: 6px; }

/* --- Trust-Leiste --- */
.trust-strip {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 34px 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.92rem;
  line-height: 1.4;
}
.trust-icon {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-hover);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.trust-icon svg { width: 22px; height: 22px; }

/* --- Prinzip --- */
.principle {
  background: var(--accent);
  color: var(--text);
  padding: 72px 0 80px;
}
.principle h2 { text-align: center; margin-bottom: 3rem; }
.principle-steps {
  position: relative;
  display: grid;
  gap: 48px;
  max-width: 860px;
  margin: 0 auto;
}
.p-step {
  display: grid;
  grid-template-columns: 1fr 64px 1fr;
  align-items: center;
  gap: 24px;
}
.p-visual {
  display: flex;
  justify-content: center;
}
.p-visual svg {
  width: 110px; height: 110px;
  color: #ffffff;
}
.p-number {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--text);
  color: #ffffff;
  font-size: 1.4rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  position: relative;
  z-index: 2;
}
.principle-steps::before {
  content: "";
  position: absolute;
  top: 30px;
  bottom: 30px;
  left: 50%;
  width: 2px;
  background: var(--text);
  opacity: 0.35;
  transform: translateX(-50%);
}
/* Explizite Spaltenzuordnung statt order: sonst rutscht der Text
   in die schmale 64px-Mittelspalte */
.p-step-reverse .p-text { grid-column: 1; grid-row: 1; text-align: right; }
.p-step-reverse .p-number { grid-column: 2; grid-row: 1; }
.p-step-reverse .p-visual { grid-column: 3; grid-row: 1; }
.p-text h3 { font-size: 1.25rem; margin-bottom: 0.6rem; }
.p-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.p-link svg { width: 16px; height: 16px; flex: 0 0 auto; transition: transform 0.15s ease; }
.p-link:hover svg { transform: translateX(3px); }
.p-link { white-space: nowrap; }

/* --- Bewertungen --- */
.reviews { padding: 72px 0; }
.reviews h2 { text-align: center; }
.reviews-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 2.4rem;
}
.g-badge {
  flex: 0 0 auto; /* nicht von der Flexbox zusammendrücken lassen (sonst oval) */
  width: 52px; height: 52px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.reviews-summary-text { min-width: 0; }
.reviews-summary-text p { font-size: 0.95rem; color: var(--muted); }
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.review-card blockquote {
  font-size: 0.95rem;
  line-height: 1.6;
  flex: 1;
}
.review-card figcaption {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  border-top: 1px solid var(--secondary);
  padding-top: 12px;
}

/* --- Vergleich --- */
.compare { padding: 24px 0 72px; }
.compare h2 { text-align: center; margin-bottom: 2.2rem; }
.table-wrap { overflow-x: auto; }
.compare-table {
  width: 100%;
  min-width: 640px;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.compare-table th, .compare-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--secondary);
  text-align: center;
  font-size: 0.95rem;
}
.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table thead th {
  font-size: 1.02rem;
  font-weight: 800;
  padding: 18px 20px;
}
.compare-table tbody th {
  text-align: left;
  font-weight: 600;
}
.col-solarma { background: var(--accent-soft); }
thead .col-solarma {
  background: var(--accent);
  color: var(--text);
}
.mark {
  display: inline-flex;
  width: 28px; height: 28px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
}
.mark svg { width: 15px; height: 15px; }
.mark-yes { background: var(--accent); color: var(--text); }
.mark-no { background: #dd5a4b; color: #ffffff; }
.compare-cta { text-align: center; margin-top: 2.2rem; }

/* --- FAQ --- */
.faq { padding: 24px 0 72px; }
.faq-inner { max-width: 820px; }
.faq h2 { text-align: center; margin-bottom: 2.2rem; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
  flex: 0 0 auto;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, background 0.2s ease;
}
.faq-icon svg { width: 14px; height: 14px; }
.faq-item[open] .faq-icon { transform: rotate(45deg); background: var(--accent); }
.faq-body { padding: 0 22px 22px; color: #3d3a35; font-size: 0.98rem; }

/* --- Finaler CTA --- */
.final-cta {
  background: var(--text);
  color: #ffffff;
  padding: 72px 0;
  text-align: center;
}
.final-cta p { color: #c9c5be; margin: 0.6rem 0 1.8rem; }

/* --- Footer --- */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer-brand { font-weight: 800; margin-bottom: 0.4rem; }
.footer-heading { font-weight: 700; margin-bottom: 0.4rem; }
.footer a { color: var(--text); text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer-fineprint {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--secondary);
  color: var(--muted);
  font-size: 0.8rem;
  display: grid;
  gap: 6px;
}

/* --- Preis-Teaser im Namens-Schritt (Preis bewusst unkenntlich) --- */
.price-teaser {
  display: flex;
  align-items: stretch;
  max-width: 520px;
  margin: 0 auto 18px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.price-teaser-text {
  flex: 1;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}
.price-teaser-label { font-weight: 800; font-size: 1.05rem; }
.price-teaser-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: #3d3a35;
  font-size: 0.95rem;
}
.price-blur {
  filter: blur(7px);
  user-select: none;
  pointer-events: none;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
}
.price-teaser-visual {
  flex: 0 0 148px;
  min-height: 88px;
  background: var(--accent-soft);
}
.price-teaser-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- Danke-Seite --- */
.thanks-main {
  min-height: 60vh;
  padding: 72px 0;
}
.thanks-card {
  max-width: 680px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 48px clamp(24px, 5vw, 56px);
  text-align: center;
}
.thanks-check {
  width: 76px; height: 76px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
}
.thanks-check svg { width: 36px; height: 36px; }
.thanks-card h1 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin-bottom: 0.8rem; }
.thanks-card > p { color: #3d3a35; }
.thanks-summary {
  margin: 2rem 0;
  text-align: left;
  background: var(--bg);
  border: 1px solid var(--secondary);
  border-radius: 10px;
  padding: 20px 24px;
}
.thanks-summary h2 { font-size: 1rem; margin-bottom: 0.8rem; }
.thanks-summary dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 18px;
  font-size: 0.92rem;
}
.thanks-summary dt { color: var(--muted); font-weight: 500; }
.thanks-summary dd { font-weight: 600; }
.thanks-next {
  text-align: left;
  margin: 2rem 0;
  display: grid;
  gap: 12px;
}
.thanks-next-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
}
.thanks-next-item .step-dot {
  flex: 0 0 auto;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.thanks-contact {
  font-size: 0.92rem;
  color: var(--muted);
  border-top: 1px solid var(--secondary);
  padding-top: 18px;
}
.thanks-contact a { color: var(--text); font-weight: 600; text-decoration: none; }

/* --- Rechtsseiten (Impressum, Datenschutz) --- */
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
}
.legal-back:hover { color: var(--text); }
.legal-back svg { width: 15px; height: 15px; }
.legal-main { padding: 56px 0 72px; }
.legal-inner { max-width: 760px; }
.legal-inner h1 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin-bottom: 1.4rem; }
.legal-inner h2 { font-size: 1.25rem; margin: 2rem 0 0.6rem; }
.legal-inner h3 { font-size: 1.05rem; margin: 1.4rem 0 0.4rem; }
.legal-inner p { margin-bottom: 0.8rem; }
.legal-inner ul { margin: 0 0 0.8rem 1.4rem; }
.legal-inner a { color: var(--text); }

/* --- Cookie-Banner --- */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 100;
  max-width: 720px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(17, 17, 17, 0.18);
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.cookie-text {
  flex: 1;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #3d3a35;
}
.cookie-text a { color: var(--text); }
.cookie-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 0 0 auto;
}
.cookie-btn {
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: 10px;
  cursor: pointer;
  white-space: nowrap;
}
.cookie-btn-secondary {
  background: none;
  border: 2px solid var(--border);
  color: var(--muted);
}
.cookie-btn-secondary:hover { border-color: var(--muted); color: var(--text); }
/* display:flex würde das hidden-Attribut überschreiben — explizit ausblenden */
.cookie-banner[hidden] { display: none; }

@media (max-width: 640px) {
  .cookie-banner { flex-direction: column; align-items: stretch; gap: 14px; }
  .cookie-buttons { flex-direction: row; }
  .cookie-btn { flex: 1; white-space: normal; }
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-visual { display: none; } /* Mobil ohne Hero-Bild (siehe Referenz) */
  .hero { padding-top: 40px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }

  .p-step, .p-step-reverse {
    grid-template-columns: 44px 1fr;
    gap: 16px;
  }
  .p-visual { display: none; }
  .p-step-reverse .p-text { grid-column: 2; grid-row: 1; text-align: left; }
  .p-step-reverse .p-number { grid-column: 1; grid-row: 1; }
  .p-number { width: 44px; height: 44px; font-size: 1.15rem; justify-self: start; }
  .principle-steps::before { left: 22px; }
  .principle-steps { gap: 32px; }
}

@media (max-width: 640px) {
  .topbar { font-size: 0.8rem; padding: 7px 14px; }
  .header-trust { display: none; }
  .header-counter { font-size: 0.8rem; gap: 4px; }
  .counter-badge { width: 16px; height: 16px; }
  .counter-badge svg { width: 9px; height: 9px; }
  .brand-logo { height: 28px; }
  .header-inner { padding-top: 10px; padding-bottom: 10px; }
  .arrow-doodle { display: none; }

  /* Kompakter Hero: Funnel rutscht ins erste Sichtfeld */
  .hero h1 { font-size: 1.5rem; margin-bottom: 1rem; }
  .checklist { gap: 10px; }
  .checklist li { font-size: 0.95rem; gap: 10px; }
  .check-icon { width: 24px; height: 24px; }
  .check-icon svg { width: 12px; height: 12px; }
  .hero-region { margin-top: 0.9rem; font-size: 0.82rem; }
  .quiz-section { padding-top: 4px; }
  .quiz-teaser h2 { font-size: 1.1rem; }
  .quiz-card { margin-top: 12px; padding-top: 24px; }
  .trust-grid { grid-template-columns: 1fr; gap: 16px; }
  .form-grid { grid-template-columns: 1fr; }
  .option-grid { grid-template-columns: 1fr 1fr; }
  .option-card { padding: 14px 10px; font-size: 0.9rem; min-height: 118px; }
  .option-card svg { width: 32px; height: 32px; flex: 0 0 auto; }
  .hero { padding-top: 28px; }
  .price-teaser-visual { flex-basis: 116px; }

  /* Vergleichstabelle passt ohne horizontales Scrollen (siehe Referenz):
     Label links, zwei schmale Icon-Spalten rechts */
  .table-wrap { overflow-x: visible; }
  .compare-table { min-width: 0; }
  .compare-table th, .compare-table td { padding: 14px 6px; }
  .compare-table thead th { font-size: 0.78rem; line-height: 1.3; padding: 12px 6px; }
  .compare-table tbody th { font-size: 0.85rem; line-height: 1.4; padding-left: 14px; }
  .compare-table td { width: 72px; }
  .mark { width: 26px; height: 26px; }
  .mark svg { width: 13px; height: 13px; }
}
