/* ═══════════════════════════════════════════════════
   Kreditfinder.net – Stylesheet
   Fonts: Sora (display) + IBM Plex Sans (body)
   Palette: Navy #0C1C2E · Amber #C49328 · Cream #F4F6F8
════════════════════════════════════════════════════ */

/* ─── Fonts (self-hosted, DSGVO-konform) ─── */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/ibm-plex-sans-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('fonts/ibm-plex-sans-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url('fonts/sora-normal.woff2') format('woff2');
}

/* ─── Custom Properties ─── */
:root {
  --navy:        #0C1C2E;
  --navy-mid:    #163247;
  --navy-light:  #1F4A6B;
  --amber:       #C49328;   /* decorative / bg only */
  --amber-light: #DEAD4C;   /* text on dark bg only */
  --amber-text:  #8A6422;   /* text/icons on light bg – WCAG AA 5.3:1 on white */
  --amber-pale:  #FBF4E2;
  --cream:       #F4F6F8;
  --white:       #FFFFFF;
  --text:        #0F2137;
  --text-mid:    #283D52;
  --muted:       #536475;
  --border:      #D4DCE4;
  --ph-bg:       #FEF3C7;
  --ph-border:   #D97706;

  --font-display: 'Sora', sans-serif;
  --font-body:    'IBM Plex Sans', sans-serif;

  --nav-h:       68px;
  --radius:      8px;
  --shadow:      0 4px 18px rgba(12,28,46,.11);
  --transition:  .25s ease-out;
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ─── Skip Link ─── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--amber);
  color: var(--navy);
  font-weight: 600;
  padding: .5rem 1.1rem;
  border-radius: 0 0 var(--radius) var(--radius);
  z-index: 9999;
  transition: top .2s;
}
.skip-link:focus { top: 0; }

/* ─── Focus Visible ─── */
:focus-visible {
  outline: 2.5px solid var(--amber);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ─── Container ─── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ─── Typography ─── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--navy);
}
h1 { font-size: clamp(2.1rem, 4.4vw + .5rem, 3.9rem); }
h2 { font-size: clamp(1.65rem, 2.6vw + .4rem, 2.55rem); }
h3 { font-size: clamp(1.05rem, 1.5vw + .2rem, 1.35rem); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--amber-text);
  margin-bottom: .65rem;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .72rem 1.5rem;
  border-radius: 3px;
  font-family: var(--font-body);
  font-size: .9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition),
              color var(--transition);
  border: 1.5px solid transparent;
  white-space: nowrap;
  text-decoration: none;
}
.btn--amber {
  background: var(--amber);
  color: var(--navy);
  border-color: var(--amber);
}
.btn--amber:hover {
  background: var(--amber-light);
  border-color: var(--amber-light);
}
.btn--amber:active { background: var(--amber-text); border-color: var(--amber-text); }
.btn--outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.45);
}
.btn--outline-white:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--white);
}
.btn--outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--border);
}
.btn--outline-navy:hover {
  border-color: var(--amber-text);
  color: var(--amber-text);
}
.btn--sm { padding: .52rem 1.1rem; font-size: .875rem; }

/* ─── Navigation ─── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--nav-h);
  transition: background var(--transition), box-shadow var(--transition);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: .55rem;
  text-decoration: none;
}
.nav__logo-mark {
  width: 36px; height: 36px;
  background: var(--amber);
  color: var(--navy);
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .8rem;
  letter-spacing: .02em;
  flex-shrink: 0;
}
.nav__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.nav__logo-name {
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 700;
  color: var(--navy);
  transition: color var(--transition);
}
.nav__logo-sub {
  font-size: .67rem;
  font-weight: 400;
  color: var(--muted);
  transition: color var(--transition);
}
.nav__links {
  display: flex;
  align-items: center;
  gap: .15rem;
}
.nav__link {
  font-size: .9rem;
  font-weight: 500;
  color: var(--text);
  padding: .38rem .7rem;
  border-radius: 5px;
  transition: color var(--transition), background var(--transition);
}
.nav__link:hover { color: var(--amber-text); }
.nav__link.active { color: var(--amber-text); font-weight: 600; }
.nav__right { display: flex; align-items: center; gap: .7rem; }

/* Hero nav (transparent -> solid on scroll) */
.nav--hero { background: transparent; }
.nav--hero .nav__logo-name { color: var(--white); }
.nav--hero .nav__logo-sub  { color: rgba(255,255,255,.55); }
.nav--hero .nav__link      { color: rgba(255,255,255,.85); }
.nav--hero .nav__link:hover { color: var(--amber-light); background: rgba(255,255,255,.08); }
.nav--hero .nav__link.active { color: var(--amber-light); }
.nav--hero .hamburger__line  { background: var(--white); }

/* LP nav (always solid) */
.nav--lp {
  background: var(--white);
  box-shadow: 0 1px 0 var(--border);
}

/* Hero nav after scroll */
.nav--hero.nav--solid {
  background: var(--white);
  box-shadow: 0 1px 0 var(--border);
}
.nav--hero.nav--solid .nav__logo-name { color: var(--navy); }
.nav--hero.nav--solid .nav__logo-sub  { color: var(--muted); }
.nav--hero.nav--solid .nav__link      { color: var(--text); }
.nav--hero.nav--solid .nav__link:hover { color: var(--amber-text); background: var(--amber-pale); }
.nav--hero.nav--solid .nav__link.active { color: var(--amber-text); }
.nav--hero.nav--solid .hamburger__line { background: var(--navy); }

/* Secondary nav CTA needs to stay legible against the transparent hero
   before scroll; .btn--outline-navy alone assumes a light background. */
.nav--hero:not(.nav--solid) .nav__right .btn--outline-navy {
  color: var(--white);
  border-color: rgba(255,255,255,.45);
}
.nav--hero:not(.nav--solid) .nav__right .btn--outline-navy:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--white);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamburger__line {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--navy);
  border-radius: 2px;
  transition: all .25s ease;
}
.hamburger.is-open .hamburger__line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open .hamburger__line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.is-open .hamburger__line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.nav__drawer {
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 1rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .2rem;
  z-index: 199;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: transform .22s ease-out, opacity .22s ease-out;
}
.nav__drawer.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.nav__drawer .nav__link {
  display: block;
  padding: .6rem .75rem;
  color: var(--text);
  font-size: 1rem;
}
.nav__drawer .btn { margin-top: .5rem; }

/* ─── Fade-in ─── */
.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease-out, transform .6s ease-out;
}
.fade-in.is-visible { opacity: 1; transform: none; }
.fade-in--d1 { transition-delay: .1s; }
.fade-in--d2 { transition-delay: .2s; }
.fade-in--d3 { transition-delay: .3s; }
.fade-in--d4 { transition-delay: .4s; }

/* ─── Section Utilities ─── */
.section    { padding: 5rem 0; }
.section--sm { padding: 3.5rem 0; }
.section--cream { background: var(--cream); }
.section--navy  { background: var(--navy); }

.section__header { margin-bottom: 2.75rem; }
.section__header--center { text-align: center; }
.section__header--center .eyebrow { display: block; }
.section__sub {
  color: var(--text-mid);
  font-size: 1.0625rem;
  margin-top: .75rem;
  max-width: 55ch;
  line-height: 1.7;
}
.section__header--center .section__sub { margin-left: auto; margin-right: auto; }

/* ─── Hero ─── */
.hero {
  background: var(--navy);
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 72% 48%, rgba(196,147,40,.11) 0%, transparent 55%),
    radial-gradient(ellipse at 8% 85%, rgba(22,50,71,.6) 0%, transparent 50%);
  pointer-events: none;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3.5rem;
  align-items: center;
  padding: 3rem 0 3.5rem;
}
.hero__content { position: relative; z-index: 1; }
.hero__eyebrow { color: var(--amber-light); margin-bottom: .75rem; }
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.8vw + .4rem, 3.4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 1.2rem;
}
.hero__sub {
  color: rgba(255,255,255,.72);
  font-size: 1.0625rem;
  max-width: 46ch;
  margin-bottom: 2rem;
  line-height: 1.7;
}
.hero__ctas { display: flex; gap: .875rem; flex-wrap: wrap; }

/* Trust list (hero right) — open, no card container */
.hero__trust { position: relative; z-index: 1; }
.trust-card__title {
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--amber-light);
  margin-bottom: 1.5rem;
}
.trust-card__list { display: flex; flex-direction: column; }
.trust-card__item {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  color: rgba(255,255,255,.86);
  font-size: 1.0625rem;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.3;
  padding: 1.05rem 0;
  border-top: 1px solid rgba(255,255,255,.14);
}
.trust-card__list .trust-card__item:last-child { border-bottom: 1px solid rgba(255,255,255,.14); }
.trust-card__check {
  flex-shrink: 0;
  color: var(--amber);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .8rem;
}

/* ─── Intro Grid ─── */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.intro__tag {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: var(--amber-pale);
  color: var(--amber-text);
  border: 1px solid rgba(138,100,34,.25);
  padding: .3rem .8rem;
  border-radius: 5px;
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 1rem;
}
.intro__text {
  color: var(--text-mid);
  font-size: 1.0625rem;
  line-height: 1.72;
  margin-top: 1rem;
  max-width: 52ch;
}
.intro__link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: 1.75rem;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--amber-text);
  transition: gap var(--transition);
}
.intro__link:hover { gap: .65rem; }
.intro__visual {
  background: var(--cream);
  border: 1px solid var(--border);
  overflow: hidden;
}
.intro__visual img { width: 100%; height: 280px; object-fit: cover; }
.intro__visual-body { padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.intro__attr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.intro__attr:last-child { border-bottom: none; padding-bottom: 0; }
.intro__attr-label { font-size: .85rem; color: var(--muted); }
.intro__attr-val {
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: .35rem;
}
.attr-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--amber);
}

/* ─── Steps / Editorial numbered list ───
   Shared pattern for "Leistungen" (services), the funnel-style step
   walkthroughs, and any other sequential listing. Bare rows separated
   by a divider line, no card container. Reused across index.html,
   leistungen/index.html and rechner/index.html. */
.steps { display: flex; flex-direction: column; border-top: 1px solid var(--border); }
.step {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 2rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.step__num {
  font-family: var(--font-display);
  font-size: 3.25rem;
  font-weight: 800;
  color: var(--amber);
  opacity: .35;
  line-height: 1;
  letter-spacing: -.02em;
  padding-top: .1rem;
}
.step__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .5rem;
}
.step__desc { color: var(--muted); font-size: .9375rem; line-height: 1.68; max-width: 56ch; }
.step__link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: .9rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--amber-text);
  transition: gap var(--transition);
}
.step__link:hover { gap: .6rem; }

/* Steps inside a dark (navy) section need light-on-dark tokens */
.steps--on-dark { border-top-color: rgba(255,255,255,.14); }
.steps--on-dark .step { border-bottom-color: rgba(255,255,255,.14); }
.steps--on-dark .step__num { color: var(--amber-light); opacity: .5; }
.steps--on-dark .step__title { color: var(--white); }
.steps--on-dark .step__desc { color: rgba(255,255,255,.68); }

.services__cta {
  margin-top: 2.25rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--amber-text);
  transition: gap var(--transition);
}
.services__cta:hover { gap: .75rem; }


/* ─── CTA Banner ───
   Split rule-banner instead of a filled rounded box: headline+text on
   one side, action on the other, framed by thin navy rules. */
.cta-banner {
  border-top: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
  padding: 2.75rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.cta-banner__text { flex: 1; min-width: 260px; }
.cta-banner h2 { color: var(--navy); margin-bottom: .4rem; }
.cta-banner p  {
  color: var(--muted);
  line-height: 1.6;
}
.cta-banner__btns { display: flex; gap: 1rem; flex-wrap: wrap; flex-shrink: 0; }

/* ─── Footer ─── */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,.72);
  padding: 4rem 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.09);
}
.footer__brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: .15rem;
}
.footer__brand-sub  { font-size: .75rem; color: rgba(255,255,255,.45); margin-bottom: 1rem; }
.footer p           { font-size: .875rem; line-height: 1.65; }
.footer__col-title  {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .74rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: .9rem;
}
.footer__links { display: flex; flex-direction: column; gap: .5rem; }
.footer__link  { font-size: .875rem; color: rgba(255,255,255,.68); transition: color var(--transition); }
.footer__link:hover { color: var(--amber-light); }
.footer__partner-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .875rem;
  color: var(--amber-light);
  font-weight: 500;
  margin-top: .3rem;
}
.footer__partner-link:hover { color: var(--amber); }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 0;
  gap: 1rem;
}
.footer__copy { font-size: .8rem; color: rgba(255,255,255,.38); }
.footer__legal { display: flex; gap: 1.25rem; }
.footer__legal a { font-size: .8rem; color: rgba(255,255,255,.38); transition: color var(--transition); }
.footer__legal a:hover { color: rgba(255,255,255,.72); }

/* ─── Page Banner (subpages) ─── */
.page-banner {
  background: var(--navy);
  padding: calc(var(--nav-h) + 3rem) 0 3rem;
}
.page-banner .eyebrow { color: var(--amber-light); }
.page-banner h1 { color: var(--white); margin-top: .45rem; }
.page-banner__line {
  width: 44px; height: 3px;
  background: var(--amber);
  margin-top: 1.2rem;
  border-radius: 2px;
}

/* ─── Contact Page ─── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-items { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
}
.contact-item__icon {
  width: 40px; height: 40px;
  background: var(--amber-pale);
  border: 1px solid rgba(138,100,34,.2);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--amber-text);
}
.contact-item__label { font-size: .75rem; text-transform: uppercase; letter-spacing: .09em; font-weight: 600; color: var(--muted); margin-bottom: .2rem; }
.contact-item__value { font-size: .9375rem; color: var(--text); font-weight: 500; }
.contact-item__value a { color: var(--amber-text); font-weight: 600; }
.contact-item__value a:hover { text-decoration: underline; }
.contact-partner {
  border-left: 3px solid var(--amber);
  background: var(--cream);
  padding: 1.75rem 2rem;
  margin-top: 2rem;
}
.contact-partner h3 { color: var(--navy); margin-bottom: .6rem; }
.contact-partner p  { color: var(--text-mid); font-size: .9375rem; line-height: 1.68; margin-bottom: 1.25rem; }
.map-frame {
  overflow: hidden;
  border: 1px solid var(--border);
  line-height: 0;
}

/* ─── Leistungen Page ───
   Service list reuses .steps/.step (see above) instead of a card grid. */

.partner-hint {
  border-left: 3px solid var(--amber);
  background: var(--cream);
  padding: 1.75rem 2rem;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}
.partner-hint__logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .8rem;
  letter-spacing: .04em;
  color: var(--amber-text);
  flex-shrink: 0;
  padding-top: .2rem;
}
.partner-hint__text strong { color: var(--navy); font-family: var(--font-display); display: block; margin-bottom: .25rem; }
.partner-hint__text p { color: var(--text-mid); font-size: .875rem; line-height: 1.6; }
.partner-hint__text a { color: var(--amber-text); font-weight: 600; }
.partner-hint__text a:hover { text-decoration: underline; }

/* ─── FAQ ─── */
.faq { max-width: 700px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: .9375rem;
  font-weight: 600;
  color: var(--navy);
  text-align: left;
  gap: 1rem;
}
.faq-question__icon {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--amber-pale);
  display: grid;
  place-items: center;
  color: var(--amber-text);
  transition: transform .22s ease, background .22s ease, color .22s ease;
}
.faq-question.is-open .faq-question__icon {
  transform: rotate(45deg);
  background: var(--amber);
  color: var(--white);
}
.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height .35s ease;
}
.faq-answer__inner {
  padding-bottom: 1.2rem;
  font-size: .9375rem;
  color: var(--muted);
  line-height: 1.72;
}

/* ─── Rechner Page ─── */
.rechner-consent {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 2.75rem 2.5rem;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.rechner-consent__icon { display: none; }
.rechner-consent h3 { color: var(--navy); margin-bottom: .6rem; }
.rechner-consent p { color: var(--text-mid); font-size: .9375rem; line-height: 1.68; margin-bottom: 1.5rem; }
.rechner-consent p a { color: var(--amber-text); font-weight: 600; }
.rechner-consent__row {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  text-align: left;
  background: var(--cream);
  border: 1px solid var(--border);
  padding: 1rem 1.2rem;
  margin-bottom: 1rem;
}
.rechner-consent__row input[type="checkbox"] {
  margin-top: .2rem;
  width: 18px; height: 18px;
  accent-color: var(--amber-text);
  flex-shrink: 0;
  cursor: pointer;
}
.rechner-consent__row label { font-size: .875rem; color: var(--text-mid); line-height: 1.55; cursor: pointer; }
.rechner-consent__error {
  color: #B3261E;
  font-size: .825rem;
  font-weight: 600;
  margin: 0 0 1.25rem;
  display: none;
}
.rechner-consent__error.is-visible { display: block; }
.rechner-widget-wrap {
  display: none;
  background: var(--white);
  border: 1px solid var(--border);
  padding: 1.5rem;
  min-height: 480px;
}

/* ─── Ueber Uns Page ───
   Values as a split-row definition list: short term left, description
   right, divider rules between rows — no card container. */
.values-grid { display: flex; flex-direction: column; border-top: 1px solid var(--border); }
.value-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2.5rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
}
.value-card__icon  { display: none; }
.value-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--navy);
}
.value-card__desc { font-size: .9375rem; color: var(--muted); line-height: 1.66; max-width: 58ch; }

.mission-text { color: var(--text-mid); font-size: 1.0625rem; line-height: 1.75; max-width: 68ch; margin-bottom: 2.5rem; }

/* ─── Legal Pages ─── */
.legal-content {
  max-width: 740px;
  margin: 0 auto;
  padding-top: calc(var(--nav-h) + 2.5rem);
  padding-bottom: 5rem;
}
.legal-content h1 { margin-bottom: .4rem; }
.legal-content .lead { color: var(--muted); font-size: .9rem; margin-bottom: 2rem; }
.legal-content h2 { font-size: 1.2rem; margin-top: 2.5rem; margin-bottom: .7rem; }
.legal-content h3 { font-size: .9375rem; font-weight: 600; margin-top: 1.5rem; margin-bottom: .4rem; }
.legal-content p  { margin-bottom: .875rem; font-size: .9375rem; color: var(--text-mid); line-height: 1.72; }
.legal-content ul { margin: .5rem 0 1rem 1.5rem; }
.legal-content ul li { font-size: .9375rem; color: var(--text-mid); line-height: 1.7; margin-bottom: .25rem; list-style: disc; }
.legal-meta {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: .8rem;
  color: var(--muted);
}

/* ─── Placeholder Styles ─── */
.ph {
  display: inline;
  background: var(--ph-bg);
  border: 1px dashed var(--ph-border);
  border-radius: 3px;
  color: #92400E;
  padding: 1px 6px;
  font-size: .85em;
  font-style: italic;
}
.ph-block {
  background: var(--ph-bg);
  border: 2px dashed var(--ph-border);
  border-radius: var(--radius);
  padding: 1.25rem;
  color: #92400E;
  font-style: italic;
  font-size: .875rem;
  margin: .5rem 0 .875rem;
  line-height: 1.6;
}

/* ─── Anfrage Funnel Page ─── */
.funnel {
  background: var(--white);
  border: 1px solid var(--border);
  max-width: 640px;
  margin: 0 auto;
  overflow: hidden;
}
.funnel__progress {
  padding: 1.5rem 2.25rem 1.25rem;
  border-bottom: 1px solid var(--border);
}
.funnel__progress-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: .8125rem;
  color: var(--muted);
  margin-bottom: .65rem;
}
.funnel__progress-label strong { color: var(--navy); font-weight: 600; }
.funnel__progress-track {
  height: 6px;
  background: var(--cream);
  border-radius: 4px;
  overflow: hidden;
}
.funnel__progress-fill {
  height: 100%;
  background: var(--amber);
  border-radius: 4px;
  width: 0%;
  transition: width .35s ease-out;
}
.funnel__body { padding: 2.5rem 2.25rem 2.25rem; }
.funnel__step { display: none; }
.funnel__step.is-active {
  display: block;
  animation: funnelStepIn .35s ease-out;
}
@keyframes funnelStepIn {
  from { opacity: 0; transform: translateX(10px); }
  to   { opacity: 1; transform: none; }
}
.funnel__step-title { color: var(--navy); margin-bottom: .4rem; }
.funnel__step-sub { color: var(--muted); font-size: .9375rem; margin-bottom: 1.75rem; }

.choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .875rem;
}
.choice-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .6rem;
  background: var(--white);
  border: 1.5px solid var(--border);
  padding: 1.25rem 1.1rem;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  transition: border-color var(--transition), background var(--transition);
  position: relative;
}
.choice-card:hover { border-color: var(--amber); }
.choice-card__icon {
  color: var(--amber-text);
  flex-shrink: 0;
}
.choice-card__title { font-weight: 600; color: var(--navy); font-size: .9375rem; }
.choice-card__desc { font-size: .8125rem; color: var(--muted); line-height: 1.5; }
.choice-card.is-selected {
  border-color: var(--amber);
  background: var(--amber-pale);
}
.choice-card__check {
  position: absolute;
  top: .9rem; right: .9rem;
  width: 18px; height: 18px;
  background: var(--amber);
  color: var(--navy);
  display: none;
  place-items: center;
}
.choice-card.is-selected .choice-card__check { display: grid; }

.amount-slider__value {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  margin-bottom: 1.5rem;
}
.amount-slider__value span { color: var(--amber-text); }
.amount-slider input[type="range"] {
  width: 100%;
  accent-color: var(--amber-text);
  height: 6px;
  cursor: pointer;
  margin-bottom: .6rem;
}
.amount-slider__scale {
  display: flex;
  justify-content: space-between;
  font-size: .8125rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.amount-slider__presets {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
}
.preset-chip {
  background: var(--cream);
  border: 1.5px solid var(--border);
  padding: .45rem 1rem;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--text-mid);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), color var(--transition);
}
.preset-chip:hover { border-color: var(--amber); }
.preset-chip.is-selected {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--navy);
}

.form-field { margin-bottom: 1.5rem; }
.form-field:last-child { margin-bottom: 0; }
.form-field label {
  display: block;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: .45rem;
}
.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"] {
  width: 100%;
  padding: .8rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .9375rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
}
.form-field input:focus {
  outline: none;
  border-color: var(--amber);
}
.form-field input.is-invalid { border-color: #B3261E; }
.form-field__error {
  color: #B3261E;
  font-size: .8125rem;
  font-weight: 600;
  margin-top: .4rem;
  display: none;
}
.form-field__error.is-visible { display: block; }

.funnel__summary {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
  margin-bottom: 1.5rem;
}
.funnel__summary-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .6rem 0;
  border-bottom: 1px solid var(--border);
  font-size: .9rem;
}
.funnel__summary-row:last-child { border-bottom: none; }
.funnel__summary-row dt { color: var(--muted); }
.funnel__summary-row dd { color: var(--navy); font-weight: 600; text-align: right; }

.funnel__consent-row {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  margin-bottom: 1.5rem;
}
.funnel__consent-row input[type="checkbox"] {
  margin-top: .2rem;
  width: 18px; height: 18px;
  accent-color: var(--amber-text);
  flex-shrink: 0;
  cursor: pointer;
}
.funnel__consent-row label { font-size: .875rem; color: var(--text-mid); line-height: 1.55; cursor: pointer; }
.funnel__consent-row a { color: var(--amber-text); font-weight: 600; }

.funnel__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: .5rem;
}
.funnel__nav-back {
  background: none;
  border: none;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  padding: .6rem .4rem;
  visibility: hidden;
}
.funnel__nav-back.is-visible { visibility: visible; }
.funnel__nav-back:hover { color: var(--text); }
.funnel__nav .btn:disabled {
  opacity: .45;
  cursor: not-allowed;
  transform: none !important;
}

.funnel__success {
  display: none;
  text-align: center;
  padding: 1rem 0;
}
.funnel__success.is-active { display: block; }
.funnel__success-icon {
  width: 56px; height: 56px;
  border: 1.5px solid var(--amber);
  display: grid;
  place-items: center;
  color: var(--amber-text);
  margin: 0 auto 1.25rem;
}
.funnel__success h2 { color: var(--navy); margin-bottom: .6rem; }
.funnel__success p { color: var(--text-mid); font-size: .9375rem; line-height: 1.68; max-width: 42ch; margin: 0 auto; }

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .hero__grid       { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__trust      { max-width: 460px; }
  .intro-grid       { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-grid     { grid-template-columns: 1fr; gap: 2.5rem; }
  .partner-inner    { grid-template-columns: 1fr; gap: 2rem; }
  .partner-visual   { flex-direction: row; justify-content: flex-start; }
  .footer__grid     { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .nav__links       { display: none; }
  .nav__right .btn  { display: none; }
  .hamburger        { display: flex; }

  .value-card       { grid-template-columns: 1fr; gap: .5rem; }
  .footer__grid     { grid-template-columns: 1fr; }
  .footer__bottom   { flex-direction: column; text-align: center; }
  .partner-hint     { flex-direction: column; gap: 1rem; }

  .section { padding: 3.5rem 0; }
  .step    { grid-template-columns: 72px 1fr; }
  .step__num { font-size: 3rem; }
  .hero__grid { padding: 2rem 0 2.5rem; }
  .cta-banner { padding: 2.5rem 1.5rem; }

  .funnel__progress { padding: 1.25rem 1.25rem 1rem; }
  .funnel__body     { padding: 1.75rem 1.25rem 1.75rem; }
  .choice-grid      { grid-template-columns: 1fr; }
  .amount-slider__value { font-size: 2rem; }
}

@media (max-width: 480px) {
  .hero__ctas   { flex-direction: column; }
  .hero__ctas .btn { text-align: center; justify-content: center; }
  .footer__legal { flex-direction: column; gap: .4rem; }
  .cta-banner__btns { flex-direction: column; align-items: center; }
}

@media (prefers-reduced-motion: reduce) {
  .fade-in, .btn, .step, .choice-card, .faq-answer { transition: none; }
  * { animation-duration: .01ms !important; }
}
