/* ==========================================================================
   C+S Markenschicht (Look & Feel von ceramic-stein.de)
   Wird als letztes Stylesheet geladen und überschreibt die wirvomfach-Basis
   (base.css, funnel.css, consent.css) gezielt. Farben/Schriften nur hier ändern.
   ========================================================================== */

:root {
  --cs-orange: #ec7201;        /* Akzent (Logo, Linien, Icons) */
  --cs-orange-dark: #b85a00;   /* Text/Links auf Weiß – AA-Kontrast */
  --cs-orange-cta: #e06c00;    /* Buttons: kräftiges Orange, Weiß fett ab 18 px (3,3:1) */
  --cs-orange-hover: #c25a00;
  --cs-black: #050606;
  --cs-gray: #535353;
  --cs-gray-light: #f0f0f0;
  --cs-border: #e5e7eb;
  --cs-radius: .5rem;
  --font-heading: "DM Sans", ui-sans-serif, system-ui, sans-serif;
  --font-text: "Open Sans", ui-sans-serif, system-ui, sans-serif;

  /* Variablen der WVF-Basis auf C+S umbiegen */
  --main-color: var(--cs-orange-dark);
  --primary-red: var(--cs-orange-dark);
  --secondary-font: var(--font-heading);
  --text-normal-color: #353535;
  --heading-normal-color: var(--cs-black);
  /* Consent-Banner wie auf ceramic-stein.de: Schwarz als Primärbutton */
  --color-primary: var(--cs-black);
  --color-secondary: var(--cs-black);
  --color-secondary-hover: #353535;
  --color-text: #353535;
  --btn-radius: var(--cs-radius);
}

body {
  font-family: var(--font-text);
  color: #353535;
}

h1, h2, h3, h4,
.headline, .img-text--title, .faq-title, .form-step-heading,
.thank-you-heading, .thank-you-heading-2, .hero-form--headline,
.hero-steps--headline, .next-steps-title {
  font-family: var(--font-heading);
  color: var(--cs-black);
  letter-spacing: -0.01em;
}

/* ── Header: weiß mit Logo wie ceramic-stein.de ───────────────────────── */
.brand-header {
  background-color: #fff;
  border-bottom: 1px solid var(--cs-border);
  height: 4.5rem;
  justify-content: space-between;
  max-width: 1250px;
  margin: 0 auto;
  box-shadow: 0 0 0 100vmax #fff;
  clip-path: inset(0 -100vmax);
}
.brand-header__home { display: flex; align-items: center; }
.brand-header__logo--img { height: 3.25rem; width: auto; }
.brand-header__claim {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: .95rem;
  color: var(--cs-gray);
}
@media (max-width: 480px) {
  .brand-header { height: 3.75rem; }
  .brand-header__logo--img { height: 2.6rem; }
  .brand-header__claim { font-size: .8rem; text-align: right; max-width: 10rem; }
}
header { background-color: #fff; }

/* ── Hero ─────────────────────────────────────────────────────────────── */
.hero-section::after { background: var(--cs-black); }
.hero-section { background-size: cover; background-position: center; }
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5,6,6,.82) 0%, rgba(5,6,6,.55) 55%, rgba(5,6,6,.15) 100%);
  pointer-events: none;
}
.hero-section--inner { position: relative; padding-top: 1.25rem; padding-bottom: 2.5rem; }
.hero-section { padding-top: 0 !important; }
.hero-section--inner .headline { margin-top: 0; }
.hero-section--inner .headline {
  color: #fff;
  font-weight: 700;
  font-size: clamp(2rem, 4.2vw, 3.5rem);
  line-height: 1.08;
  max-width: 18ch;
}
.hero-section--inner .paragraph { color: rgba(255,255,255,.92); max-width: 46rem; }
.grid-list li { color: #fff; }
.grid-list svg { width: 40px; height: 40px; flex: 0 0 40px; }
.grid-list-heading { font-family: var(--font-heading); }

/* Einstiegsformular: weiße Karte, orange Kante statt WVF-Gelb */
.hero-form--inner {
  background-color: #fff;
  border-radius: var(--cs-radius);
  border-top: 4px solid var(--cs-orange);
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.hero-form--inner fieldset { border-radius: var(--cs-radius); }
.hero-form--caption { color: var(--cs-black); }

/* Buttons */
.hero-form--btn,
.btn-primary {
  background: var(--cs-orange-cta);
  border-radius: var(--cs-radius);
  font-family: var(--font-heading);
  box-shadow: none;
}
.hero-form--btn:hover,
.btn-primary:hover { background: var(--cs-orange-hover); }
.btn { border-radius: var(--cs-radius); font-family: var(--font-heading); }
.btn-secondary { background: var(--cs-black); }

.hero-steps--headline { color: #fff; }
.hero-steps--list li { color: rgba(255,255,255,.92); }
.hero-steps--list li::before { background: var(--cs-orange); color: #fff; }

/* Siegel im Hero */
.hero--bubble svg { width: 100%; height: auto; }

/* ── Inhaltsblöcke ────────────────────────────────────────────────────── */
.img-text--subheading {
  color: var(--cs-orange-dark);
  font-family: var(--font-heading);
  letter-spacing: .06em;
}
.img-text--img img { border-radius: var(--cs-radius); }
.faq-question[aria-expanded="true"] .faq-icon { background-color: var(--cs-orange-dark); }

/* ── Footer: hell statt WVF-Dunkelgrün, schwarzes Logo bleibt lesbar ──── */
footer { background-color: var(--cs-gray-light); }
.footer-wrapper { color: var(--cs-black); }
.footer-jumptotop { background: var(--cs-black); color: #fff; }
.footer-logo { height: 3.25rem; }

/* ── Funnel ───────────────────────────────────────────────────────────── */
.funnel-stepper__step.is-current .funnel-stepper__dot,
.funnel-stepper__step.is-done .funnel-stepper__dot {
  background: var(--cs-orange-dark);
  border-color: var(--cs-orange-dark);
}
.funnel-stepper .progress,
.funnel-stepper__fill { background: var(--cs-orange); }
.form-step-button-image.selected,
.form-step-button.selected { border-color: var(--cs-orange-dark); }

.dummy-hint {
  margin-top: 2rem;
  padding: .75rem 1rem;
  border-left: 4px solid var(--cs-orange);
  background: var(--cs-gray-light);
  font-size: .875rem;
}

/* Consent-Banner: Variablen sitzen lokal auf .consent – dort überschreiben */
.consent {
  --color-primary: var(--cs-black);
  --color-secondary: var(--cs-black);
  --color-secondary-hover: #353535;
  --color-text: #353535;
  --btn-radius: var(--cs-radius);
}
.consent, .consent button { font-family: var(--font-text); }
.consent h2, .consent h3 { font-family: var(--font-heading); color: var(--cs-black); }
footer { background-color: var(--cs-gray-light) !important; }

/* Siegel unter dem Einstiegsformular: nebeneinander statt auf Breite verteilt */
.hero-section .trust-icon-row { justify-content: flex-start; gap: 1rem; }

/* Funnel-Icons größer: die WVF-Abstände ließen nur ~32 px übrig */
.form-step-button-image-asset-svg { padding: 0.9rem 1.25rem; }
@media (max-width: 768px) {
  .form-step-button-image-wrapper.img-default .form-step-button-image-asset-svg { padding: 6px 14px; }
}

/* ── Landingpage: Buttons schwarz (Kontrast, sonst zu viel Orange) – Funnel bleibt orange ── */
.hero-form--btn.hero-form--choice,
.img-text--btns .btn-primary,
.sticky-cta .hero-form--btn {
  background: var(--cs-black);
  color: #fff;
}
.hero-form--btn.hero-form--choice:hover,
.img-text--btns .btn-primary:hover,
.sticky-cta .hero-form--btn:hover { background: #353535; }
.hero-form--btn.hero-form--choice svg { color: var(--cs-orange); stroke: var(--cs-orange); }

/* ── Hero-Motiv Desktop: Person tiefer setzen, damit der Blick auf die Einstiegsfrage fällt ── */
@media (min-width: 801px) {
  .hero-section {
    background-color: #2a2a2a;
    background-size: auto calc(100% - 140px) !important;
    background-position: right 0 top 140px !important;
    background-repeat: no-repeat;
  }
  .hero-section::before {
    /* Obere Bildkante (bei 140 px) in die Flächenfarbe auslaufen lassen, links abdunkeln:
       auf breiten Screens beginnt das Bild erst mitten im Hero */
    background:
      linear-gradient(180deg, #2a2a2a 0, #2a2a2a 140px, rgba(42,42,42,0) 300px),
      linear-gradient(90deg, #1c1d1d 0%, rgba(20,21,21,.9) 40%, rgba(5,6,6,.35) 62%, rgba(5,6,6,.05) 100%);
  }
}

/* ── Vertrauens-Elemente (ersetzen DSGVO-/SSL-Fremdsiegel) ─────────────── */
.trust-badges {
  list-style: none;
  margin: 16px 0 8px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  max-width: 560px;
}
.trust-badges__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  font-family: var(--font-heading);
  font-size: .78rem;
  font-weight: 500;
  line-height: 1.25;
}
.trust-badges__icon { width: 26px; height: 26px; color: var(--cs-orange); flex: none; }
.trust-badges--light .trust-badges__item { color: #353535; }
.trust-badges--dark { max-width: 450px; margin: 20px 0 28px; }
.trust-badges--dark .trust-badges__item { color: rgba(255,255,255,.9); }
@media (max-width: 480px) {
  .trust-badges { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 10px; }
  .trust-badges__item { flex-direction: row; text-align: left; }
}

/* Fachhändler-Suche: Überschrift mittig zur Animation */
.form-step[data-type="loading"] .form-step-heading { text-align: center; }

/* Absende-Button: base.css setzt ihn per ID (button#send-btn) – hier gleichziehen */
.funnel-wrapper button#send-btn { background: var(--cs-orange-cta); border-radius: var(--cs-radius); box-shadow: none; }
.funnel-wrapper button#send-btn:hover { background: var(--cs-orange-hover); }

/* ── Rechtsseiten (Impressum, Datenschutz) ─────────────────────────────── */
.legal-page { max-width: 760px; line-height: 1.6; margin-bottom: 4rem !important; }
.legal-page h2 { font-size: 1.3rem; margin: 2.25rem 0 .6rem; scroll-margin-top: 1rem; }
.legal-page h3 { font-size: 1.05rem; margin: 1.4rem 0 .4rem; }
.legal-page p, .legal-page li { font-size: .95rem; color: #353535; }
.legal-page ul { padding-left: 1.2rem; }
.legal-page li { margin-bottom: .35rem; }
.legal-page a:not(.legal-back) { color: var(--cs-orange-dark); text-decoration: underline; }
.legal-intro { background: var(--cs-gray-light); border-left: 4px solid var(--cs-orange); padding: .9rem 1rem; border-radius: 0 var(--cs-radius) var(--cs-radius) 0; }
.legal-toc { margin: 1.5rem 0; padding: .75rem 1rem; border: 1px solid var(--cs-border); border-radius: var(--cs-radius); }
.legal-toc ol { margin: 0; padding-left: 1.3rem; }
.legal-toc li { margin: .2rem 0; font-size: .9rem; }
