/* Benjamin Seib: Fertighaus-Beratung
   Farbpalette angelehnt an moderne Fertighaus-Auftritte (Orange, Anthrazit, warme Naturtöne) */

:root {
  --color-primary: #e77600;
  --color-primary-hover: #c96400;
  --color-primary-soft: #fae4cc;
  --color-dark: #3c4443;
  --color-navy: #002337;
  --color-wood: #492910;
  --color-wood-mid: #9b8270;
  --color-sand: #ded5cf;
  --color-bg: #f7f5f2;
  --color-bg-alt: #ebeded;
  --color-muted: #9fa6a6;
  --color-text: #3c4443;
  --color-text-light: #5a6261;
  --color-white: #ffffff;
  --color-border: #d8dad9;
  --color-success: #0bb267;
  --color-error: #bb0a21;
  --font-sans: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 8px 28px rgba(60, 68, 67, 0.1);
  --shadow-sm: 0 2px 10px rgba(60, 68, 67, 0.08);
  --max: 1120px;
  --header-h: 100px;
  --transition: 0.22s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-primary-hover);
}

h1, h2, h3, h4 {
  color: var(--color-navy);
  line-height: 1.25;
  font-weight: 700;
  margin: 0 0 0.75rem;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.15rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1rem; color: var(--color-text-light); }

ul, ol { margin: 0 0 1rem; padding-left: 1.25rem; color: var(--color-text-light); }
li { margin-bottom: 0.4rem; }

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.section {
  padding: 4.5rem 0;
}

.section--alt {
  background: var(--color-white);
}

.section--dark {
  background: var(--color-dark);
  color: var(--color-white);
}

.section--dark h2,
.section--dark h3 {
  color: var(--color-white);
}

.section--dark p,
.section--dark li {
  color: rgba(255, 255, 255, 0.88);
}

.section__eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.6rem;
}

.section__intro {
  max-width: 640px;
  margin-bottom: 2.5rem;
}

.section__intro p {
  font-size: 1.1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  height: var(--header-h);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}

/* Header wider than page content so logo (88px) + links fit on large screens */
.site-header > .container {
  width: min(100% - 1.5rem, 1500px);
}

.logo {
  display: flex;
  flex-direction: column;
  color: var(--color-navy);
  font-weight: 700;
  line-height: 1.15;
}

.logo:hover { color: var(--color-navy); }

.logo__name {
  font-size: 1.08rem;
  letter-spacing: -0.01em;
}
.logo__tag {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--color-wood-mid);
  letter-spacing: 0.01em;
  max-width: 16rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav a {
  color: var(--color-dark);
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
}

.nav a:hover { color: var(--color-primary); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-dark);
  border-radius: 1px;
}

/* Desktop nav (above hamburger): compact so all items fit with 88px logo */
@media (min-width: 1361px) {
  .nav { gap: 0.55rem; flex-wrap: nowrap; }
  .nav a { font-size: 0.8rem; }
  .logo__name { font-size: 0.95rem; }
  .logo__tag { display: none; } /* frees horizontal space; slogan remains in footer */
  .btn--small { padding: 0.42rem 0.7rem; font-size: 0.76rem; }
}
@media (min-width: 1361px) and (max-width: 1480px) {
  .nav { gap: 0.4rem; }
  .nav a { font-size: 0.74rem; }
}

/* Hamburger below ~1360px: full link row does not fit with 88px logo */
@media (max-width: 1360px) {
  .nav-toggle { display: flex; position: relative; z-index: 201; }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    /* Explicit height: top+bottom alone can collapse while nav lives inside sticky header */
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    max-height: calc(100vh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
    background: var(--color-white);
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem 1rem calc(6rem + env(safe-area-inset-bottom, 0px));
    gap: 0;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow);
    display: none;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    touch-action: pan-y;
    z-index: 200; /* above .sticky-cta (160); cookie banner stays 220 */
  }

  .nav.is-open { display: flex; }

  .nav a {
    padding: 0.55rem 0.5rem;
    border-bottom: 1px solid var(--color-bg-alt);
    font-size: 0.9rem;
    line-height: 1.25;
  }

  .nav .btn {
    margin-top: 0.55rem;
    width: 100%;
    flex-shrink: 0;
  }

  /* Hide sticky CTA while mobile menu is open so it cannot cover last links */
  body.nav-open .sticky-cta,
  body.nav-open .sticky-smart-cta {
    display: none !important;
  }

  /* Lock background scroll while menu open.
     Do NOT set body { position:fixed } — nav lives inside sticky header;
     a fixed body becomes the containing block and breaks the menu panel. */
  html.nav-open,
  body.nav-open {
    overflow: hidden;
    overscroll-behavior: none;
    height: 100%;
  }
}

/* Cookie banner stays above menu when both open (rare) */
.fmh-cookie-banner { z-index: 220; }


/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform 0.15s ease;
  text-decoration: none;
  line-height: 1.2;
}

.btn:active { transform: scale(0.98); }

.btn--primary {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn--primary:hover {
  background: var(--color-primary-hover);
  color: var(--color-white);
}

.btn--secondary {
  background: transparent;
  color: var(--color-navy);
  border-color: var(--color-navy);
}

.btn--secondary:hover {
  background: var(--color-navy);
  color: var(--color-white);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn--ghost:hover {
  background: var(--color-white);
  color: var(--color-navy);
}

.btn--light {
  background: var(--color-white);
  color: var(--color-navy);
}

.btn--light:hover {
  background: var(--color-primary-soft);
  color: var(--color-navy);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Hero */
.hero {
  position: relative;
  padding: 5rem 0 4.5rem;
  background:
    linear-gradient(135deg, rgba(0, 35, 55, 0.88) 0%, rgba(73, 41, 16, 0.78) 55%, rgba(231, 118, 0, 0.55) 100%),
    linear-gradient(160deg, #002337 0%, #492910 100%);
  color: var(--color-white);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(231, 118, 0, 0.25), transparent 50%),
    radial-gradient(ellipse at 10% 90%, rgba(222, 213, 207, 0.12), transparent 45%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
}

.hero h1 { color: var(--color-white); margin-bottom: 1rem; }

.hero__lead {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.92);
  max-width: 34rem;
  margin-bottom: 0.5rem;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 1.75rem;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.85);
}

.hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.hero__meta svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 0.9;
}

.hero-card {
  background: rgba(255, 255, 255, 0.97);
  color: var(--color-text);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.hero-card h2 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.hero-card p {
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.hero-card .btn { width: 100%; }

.hero-card__note {
  margin-top: 0.85rem;
  font-size: 0.82rem;
  color: var(--color-muted);
  text-align: center;
}

/* Trust strip */
.trust-strip {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  padding: 1.35rem 0 1.1rem;
}

.trust-strip__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem 0.65rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-dark);
}

.trust-strip__list li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0.4rem 0.75rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  line-height: 1.25;
  max-width: 100%;
}

.trust-strip__list li.is-key {
  background: var(--color-primary-soft);
  border-color: #f0c896;
  font-size: 0.88rem;
}

.trust-strip__list svg {
  width: 14px;
  height: 14px;
  color: var(--color-primary);
  flex-shrink: 0;
}

.trust-strip__note {
  margin: 0.85rem auto 0;
  max-width: 52rem;
  text-align: center;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--color-text-light);
  font-weight: 400;
}

/* Cards / grids */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.card__icon svg { width: 22px; height: 22px; }

.card h3 { margin-bottom: 0.5rem; }
.card p:last-child { margin-bottom: 0; }

/* Leistungen / service cards with bullets + CTA */
.cards--services {
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 1100px) {
  .cards--services { grid-template-columns: repeat(3, 1fr); }
}
.service-card p.service-card__lead {
  margin-bottom: 0.65rem;
  color: var(--color-text);
}
.service-card ul {
  margin: 0 0 1rem;
  padding-left: 1.15rem;
  color: var(--color-muted, #5a6570);
  font-size: 0.95rem;
  line-height: 1.45;
}
.service-card li { margin-bottom: 0.35rem; }
.service-card .btn { margin-top: 0.25rem; }
.haustyp-help {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.haustyp-help .card h3 { font-size: 1.05rem; }
.haustyp-help .card p { font-size: 0.95rem; color: var(--color-muted, #5a6570); margin: 0; }


/* About */
.about-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.5rem;
  align-items: start;
}

.about-photo {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(160deg, var(--color-sand), var(--color-wood-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-wood);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  padding: 1.5rem;
  border: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}

.about-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.35), transparent 50%);
}

.about-photo span {
  position: relative;
  z-index: 1;
}

.about-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.fact {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
}

.fact__label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-muted);
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.fact__value {
  color: var(--color-navy);
  font-weight: 600;
  font-size: 0.98rem;
}

.fact__value a { color: inherit; }
.fact__value a:hover { color: var(--color-primary); }

/* Steps / Ratgeber */
.steps {
  display: grid;
  gap: 1rem;
  counter-reset: step;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
}

.step__num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step h3 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.step p { margin: 0; font-size: 0.95rem; }

.ratgeber-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

.ratgeber-block {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--color-border);
}

.ratgeber-block h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.ratgeber-block .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-primary);
  flex-shrink: 0;
}

/* Factory tour */
.tour-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.tour-points {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
}

.tour-points li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 0.65rem;
  margin-bottom: 0.9rem;
  align-items: start;
}

.tour-points .check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 2px;
}

.info-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.pill {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-dark);
}

/* Forms */
.form-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.form-card h3 {
  margin-bottom: 0.35rem;
}

.form-card > p {
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group--full {
  grid-column: 1 / -1;
}

label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-navy);
}

label .req { color: var(--color-primary); }

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="number"],
select,
textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font: inherit;
  color: var(--color-text);
  background: var(--color-white);
  transition: border-color var(--transition), box-shadow var(--transition);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(231, 118, 0, 0.2);
}

textarea { resize: vertical; min-height: 100px; }

.checkbox-group {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--color-text-light);
}

.checkbox-group input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--color-primary);
  flex-shrink: 0;
}

.checkbox-group label {
  font-weight: 500;
  color: var(--color-text-light);
}

.form-hint {
  font-size: 0.8rem;
  color: var(--color-muted);
  margin-top: 0.75rem;
}

.form-message {
  display: none;
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
}

.form-message.is-success {
  display: block;
  background: rgba(11, 178, 103, 0.12);
  color: #086b3d;
  border: 1px solid rgba(11, 178, 103, 0.3);
}

.form-message.is-error {
  display: block;
  background: rgba(187, 10, 33, 0.08);
  color: var(--color-error);
  border: 1px solid rgba(187, 10, 33, 0.25);
}

.participants-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.participant-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
  align-items: center;
}

.btn--small {
  padding: 0.55rem 0.9rem;
  font-size: 0.85rem;
}

.btn--text {
  background: none;
  border: none;
  color: var(--color-primary);
  font-weight: 600;
  cursor: pointer;
  padding: 0.4rem 0;
  font-size: 0.9rem;
}

.btn--text:hover { color: var(--color-primary-hover); }

.btn--danger-text {
  color: var(--color-error);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.4rem;
}

/* Testimonials placeholder */
.placeholder-box {
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  background: var(--color-bg);
  text-align: center;
  color: var(--color-muted);
}

.placeholder-box strong {
  display: block;
  color: var(--color-wood-mid);
  margin-bottom: 0.35rem;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 0.75rem;
  max-width: 800px;
}

.faq-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item summary {
  padding: 1.1rem 1.25rem;
  font-weight: 600;
  color: var(--color-navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--color-primary);
  font-weight: 400;
  flex-shrink: 0;
}

.faq-item[open] summary::after { content: "-"; }

.faq-item .faq-body {
  padding: 0 1.25rem 1.15rem;
  color: var(--color-text-light);
  font-size: 0.98rem;
}

.faq-item .faq-body p:last-child { margin-bottom: 0; }

/* CTA band */
.cta-band {
  background:
    linear-gradient(120deg, var(--color-navy) 0%, #3a2818 55%, var(--color-wood) 100%);
  color: var(--color-white);
  padding: 3.5rem 0;
  text-align: center;
}

.cta-band h2 { color: var(--color-white); }
.cta-band p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 560px;
  margin: 0 auto 1.5rem;
}

.cta-band .btn-group {
  justify-content: center;
}

/* Footer */
.site-footer {
  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 3rem 0 1.5rem;
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.site-footer h3 {
  color: var(--color-white);
  font-size: 1rem;
  margin-bottom: 0.85rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.8);
}

.site-footer a:hover { color: var(--color-primary); }

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li { margin-bottom: 0.45rem; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-bottom a { color: rgba(255, 255, 255, 0.55); }

/* Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Responsive */
@media (max-width: 900px) {
  .hero__grid,
  .about-grid,
  .tour-layout,
  .ratgeber-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .about-photo {
    max-width: 280px;
    margin-inline: auto;
  }
}

@media (max-width: 640px) {
  .section { padding: 3.25rem 0; }

  .form-grid,
  .about-facts {
    grid-template-columns: 1fr;
  }

  .hero { padding: 3.5rem 0 3rem; }

  .btn-group { flex-direction: column; }
  .btn-group .btn { width: 100%; }

  .trust-strip__list {
    justify-content: flex-start;
    gap: 0.45rem;
  }
  .trust-strip__list li {
    font-size: 0.78rem;
    padding: 0.35rem 0.65rem;
  }
}

/* ===== Extended components ===== */
.logo-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: inherit;
  text-decoration: none;
}
.logo-row:hover { color: inherit; }
.logo-mark {
  width: 88px;
  height: 88px;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
}

.hero-call {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.5rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-lg);
  padding: 0.75rem 1rem;
  max-width: 28rem;
}
.hero-call img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.7);
}
.hero-call__text {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.95);
  margin: 0;
}
.hero-call__text a {
  color: #fae4cc;
  font-weight: 700;
}
.hero-call__text a:hover { color: #fff; }

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
}
.about-photo {
  padding: 0;
  background: var(--color-sand);
  aspect-ratio: 3/4;
  overflow: hidden;
}

/* Gallery */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0 0 1.5rem;
  border-bottom: 2px solid rgba(139, 90, 43, 0.15);
  padding-bottom: 0.85rem;
}
.gallery-filters button,
.filter-btn {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid rgba(139, 90, 43, 0.25);
  background: #fff;
  color: #3d2b1f;
  border-radius: 999px;
  padding: 0.7rem 1.2rem;
  font: inherit;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.gallery-filters button:hover,
.filter-btn:hover {
  border-color: var(--color-primary, #e77600);
  color: var(--color-navy, #002337);
  box-shadow: 0 1px 0 rgba(0,0,0,0.04);
}
.gallery-filters button[aria-selected="true"],
.gallery-filters button.is-active,
.filter-btn.is-active,
.filter-btn[aria-selected="true"] {
  background: #8b5a2b;
  color: #fff;
  border-color: #8b5a2b;
  box-shadow: none;
}
.gallery-filters button:focus-visible,
.filter-btn:focus-visible {
  outline: 2px solid #8b5a2b;
  outline-offset: 2px;
}
@media (max-width: 640px) {
  .gallery-filters button,
  .filter-btn {
    flex: 1 1 auto;
    text-align: center;
    font-size: 0.9rem;
    padding: 0.6rem 0.95rem;
  }
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  border: 1px solid var(--color-border);
  background: var(--color-bg-alt);
}
.gallery-item.is-hidden { display: none; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item__cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 0.65rem 0.85rem;
  background: linear-gradient(transparent, rgba(0,35,55,0.85));
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,35,55,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: min(960px, 100%);
  max-height: 85vh;
  border-radius: 8px;
  object-fit: contain;
}
.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
}
.lightbox__cap {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-weight: 600;
  text-align: center;
  max-width: 90%;
}

/* Timeline */
.timeline {
  position: relative;
  display: grid;
  gap: 0;
  margin-top: 1.5rem;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 8px;
  bottom: 8px;
  width: 3px;
  background: linear-gradient(var(--color-primary), var(--color-sand));
  border-radius: 2px;
}
.timeline-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 1rem;
  padding: 0.85rem 0;
  position: relative;
}
.timeline-item__dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  box-shadow: 0 0 0 4px var(--color-bg);
}
.timeline-item__body {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
}
.timeline-item__body h3 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}
.timeline-item__body p { margin: 0; font-size: 0.95rem; }

/* Calculator */
.calc-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}
.calc-result {
  margin-top: 1.25rem;
  padding: 1.15rem;
  border-radius: var(--radius);
  background: var(--color-primary-soft);
  border: 1px solid #f5c899;
}
.calc-result strong {
  display: block;
  color: var(--color-navy);
  font-size: 1.35rem;
  margin: 0.35rem 0;
}
.calc-note {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-top: 0.75rem;
}
.range-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.35rem;
}
.range-row output {
  font-weight: 700;
  color: var(--color-navy);
}
input[type="range"] {
  width: 100%;
  accent-color: var(--color-primary);
}

/* Channels / sustainability */
.channel-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.channel-card {
  text-align: center;
  padding: 1.75rem 1.25rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}
.channel-card svg {
  width: 36px;
  height: 36px;
  color: var(--color-primary);
  margin: 0 auto 0.85rem;
}
.channel-card .btn { margin-top: 0.75rem; width: 100%; }

.sustain-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}
.sustain-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  border: 1px solid var(--color-border);
}
.sustain-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mini-portrait {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1rem;
}
.mini-portrait img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--color-primary-soft);
}
.mini-portrait p { margin: 0; font-size: 0.95rem; }
.mini-portrait a { font-weight: 700; }

/* Sticky mobile contact */
.sticky-contact {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 150;
  background: rgba(255,255,255,0.97);
  border-top: 1px solid var(--color-border);
  padding: 0.55rem 0.75rem calc(0.55rem + env(safe-area-inset-bottom));
  gap: 0.5rem;
  box-shadow: 0 -6px 20px rgba(60,68,67,0.12);
}
.sticky-contact .btn {
  flex: 1;
  border-radius: 999px;
  padding: 0.75rem 0.5rem;
  font-size: 0.9rem;
}
.btn--whatsapp {
  background: #25d366;
  color: #fff;
}
.btn--whatsapp:hover {
  background: #1ebe57;
  color: #fff;
}

@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .channel-cards,
  .sustain-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .sticky-contact { display: flex; }
  body { padding-bottom: 92px; }
  .logo-mark { width: 56px; height: 56px; }
  .logo__tag { display: none; }
}

/* Legal pages (Impressum, Datenschutz) */
.page-hero {
  padding: 2.5rem 0 1.5rem;
  background: linear-gradient(180deg, var(--color-bg-alt) 0%, var(--color-bg) 100%);
  border-bottom: 1px solid var(--color-border);
}
.page-hero h1 {
  margin-bottom: 0.35rem;
}
.page-hero .eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}
.legal-page {
  padding: 2rem 0 3.5rem;
}
.legal-page .legal-content {
  max-width: 760px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 1.75rem 1.75rem 2rem;
}
.legal-content h2 {
  font-size: 1.25rem;
  margin-top: 1.75rem;
  margin-bottom: 0.6rem;
  padding-top: 0.35rem;
  border-top: 1px solid var(--color-border);
}
.legal-content h2:first-child {
  margin-top: 0;
  border-top: none;
  padding-top: 0;
}
.legal-content h3 {
  font-size: 1.05rem;
  margin-top: 1.15rem;
  color: var(--color-dark);
}
.legal-content p,
.legal-content li {
  color: var(--color-text);
  font-size: 0.98rem;
}
.legal-content ul {
  margin: 0.4rem 0 0.9rem;
  padding-left: 1.2rem;
}
.legal-content li { margin-bottom: 0.35rem; }
.legal-content address {
  font-style: normal;
  line-height: 1.7;
}
.legal-meta {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
  color: var(--color-text-light);
  font-size: 0.9rem;
}
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1rem;
  font-weight: 600;
  font-size: 0.95rem;
}
@media (max-width: 640px) {
  .legal-page .legal-content {
    padding: 1.25rem 1.1rem 1.5rem;
  }
  .page-hero { padding: 1.75rem 0 1.1rem; }
}

/* Subpage tools: Kostenrechner, Baunebenkosten, Beratung */
.tool-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.75rem;
  align-items: start;
}
.tool-layout--stack {
  grid-template-columns: 1fr;
}
.calc-panel {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 1.35rem 1.4rem 1.5rem;
}
.calc-panel h2, .calc-panel h3 { margin-top: 0; }
.calc-panel fieldset {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 0.85rem 1rem 1rem;
  margin: 0 0 1rem;
}
.calc-panel legend {
  font-weight: 700;
  color: var(--color-navy);
  padding: 0 0.35rem;
  font-size: 0.95rem;
}
.tier-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}
.tier-card {
  display: block;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  cursor: pointer;
  background: var(--color-bg);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.tier-card:hover { border-color: var(--color-primary); }
.tier-card.is-active,
.tier-card:has(input:checked) {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px var(--color-primary-soft);
  background: #fffaf3;
}
.tier-card input { margin-right: 0.5rem; }
.tier-card strong { display: inline; color: var(--color-navy); }
.tier-card p { margin: 0.35rem 0 0; font-size: 0.9rem; color: var(--color-text-light); }
.extras-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem 1rem;
}
.extras-grid label {
  display: flex;
  gap: 0.45rem;
  align-items: flex-start;
  font-size: 0.95rem;
}
.calc-output {
  background: linear-gradient(160deg, #fffaf3, #fff);
  border: 1px solid var(--color-primary-soft);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.35rem;
  position: sticky;
  top: calc(var(--header-h) + 12px);
}
.calc-output .big-range {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  color: var(--color-navy);
  font-weight: 800;
  margin: 0.35rem 0 0.75rem;
  line-height: 1.3;
}
.calc-breakdown {
  list-style: none;
  margin: 0;
  padding: 0;
}
.calc-breakdown li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.92rem;
}
.calc-breakdown li.is-excluded {
  opacity: 0.45;
  text-decoration: line-through;
}
.calc-breakdown .muted { color: var(--color-text-light); }
.calc-total {
  display: flex;
  justify-content: space-between;
  font-weight: 800;
  font-size: 1.05rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 2px solid var(--color-navy);
  color: var(--color-navy);
}
.footnote {
  font-size: 0.82rem;
  color: var(--color-text-light);
  margin-top: 1rem;
  line-height: 1.5;
}
.explainer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
}
.explainer-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.15rem 1.2rem;
  box-shadow: var(--shadow-sm);
}
.explainer-card h3 { font-size: 1.1rem; }
.explainer-card ul { margin: 0.5rem 0 0; padding-left: 1.1rem; }
.explainer-card li { margin-bottom: 0.3rem; font-size: 0.92rem; }
.notice-premium {
  background: var(--color-primary-soft);
  border-left: 4px solid var(--color-primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.15rem;
  margin: 1rem 0 1.25rem;
}
.notice-premium strong { color: var(--color-wood); }
.neben-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  gap: 0.65rem;
  align-items: center;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--color-border);
}
.neben-row label.include {
  font-size: 0.82rem;
  color: var(--color-text-light);
  display: flex;
  gap: 0.35rem;
  align-items: center;
  white-space: nowrap;
}
.beratung-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.75rem;
  align-items: start;
}
.beratung-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
.beratung-list .card { margin: 0; }
.hours-badge {
  display: inline-block;
  background: var(--color-primary-soft);
  color: var(--color-wood);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}
.teaser-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 960px) {
  .tool-layout, .beratung-grid { grid-template-columns: 1fr; }
  .calc-output { position: static; }
  .explainer-grid { grid-template-columns: 1fr; }
  .extras-grid { grid-template-columns: 1fr; }
  .neben-row { grid-template-columns: 1fr; }
  .beratung-list, .teaser-cards { grid-template-columns: 1fr; }
}

/* --- Rechner-Tabs & Eigenleistung --- */
.calc-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0 1rem;
  border-bottom: 2px solid rgba(139, 90, 43, 0.15);
  padding-bottom: 0.75rem;
}
.calc-tabs button {
  appearance: none;
  border: 1px solid rgba(139, 90, 43, 0.25);
  background: #fff;
  color: #3d2b1f;
  font: inherit;
  font-weight: 600;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.calc-tabs button[aria-selected="true"] {
  background: #8b5a2b;
  color: #fff;
  border-color: #8b5a2b;
}
.calc-tabs button:focus-visible {
  outline: 2px solid #8b5a2b;
  outline-offset: 2px;
}
.tab-panel[hidden] { display: none !important; }
.eigen-list {
  display: grid;
  gap: 0.65rem;
  margin: 0.75rem 0 0;
}
.eigen-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 0.75rem;
  padding: 0.75rem 0.9rem;
  background: rgba(255, 250, 245, 0.9);
  border: 1px solid rgba(139, 90, 43, 0.12);
  border-radius: 10px;
  align-items: start;
}
.eigen-item input[type="checkbox"] {
  margin-top: 0.2rem;
}
.eigen-item .eigen-meta {
  font-size: 0.85rem;
  color: #6b5748;
  grid-column: 2;
}
.eigen-savings {
  margin-top: 0.75rem;
  padding: 0.85rem 1rem;
  background: rgba(139, 90, 43, 0.08);
  border-radius: 10px;
  font-size: 0.95rem;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin: 1rem 0 1.5rem;
}
.compare-table th,
.compare-table td {
  border: 1px solid rgba(139, 90, 43, 0.18);
  padding: 0.65rem 0.75rem;
  text-align: left;
  vertical-align: top;
}
.compare-table th {
  background: rgba(139, 90, 43, 0.1);
  font-weight: 700;
}
.compare-table caption {
  caption-side: bottom;
  text-align: left;
  font-size: 0.8rem;
  color: #6b5748;
  padding-top: 0.5rem;
}
.sources-box {
  font-size: 0.85rem;
  color: #6b5748;
  background: #faf6f1;
  border-left: 3px solid #8b5a2b;
  padding: 0.85rem 1rem;
  margin-top: 1.5rem;
}
.sources-box ul { margin: 0.4rem 0 0; padding-left: 1.1rem; }
.weekend-callout {
  background: linear-gradient(135deg, rgba(139, 90, 43, 0.12), rgba(212, 165, 116, 0.18));
  border: 1px solid rgba(139, 90, 43, 0.22);
  border-radius: 14px;
  padding: 1.1rem 1.25rem;
  margin: 1.25rem 0;
}
.weekend-callout strong { color: #5c3d1e; }
.time-choice {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 0.35rem;
}
.time-choice label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
}
@media (max-width: 640px) {
  .calc-tabs button { flex: 1 1 auto; text-align: center; font-size: 0.9rem; }
  .compare-table { font-size: 0.82rem; }
}

.checkbox-stack { display: grid; gap: 0.4rem; }
.checkbox-stack label { display: flex; gap: 0.45rem; align-items: flex-start; font-weight: 500; }

.range-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }

.calc-result-card .big-range { font-size: 1.45rem; font-weight: 700; color: #5c3d1e; margin: 0.5rem 0 1rem; }
.calc-breakdown { list-style: none; padding: 0; margin: 0 0 1rem; }
.calc-breakdown li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.45rem 0; border-bottom: 1px solid rgba(139,90,43,0.12); font-size: 0.95rem; }
.footnote { font-size: 0.8rem; color: #6b5748; line-height: 1.45; }


/* --- Calculator & content helpers (2026 pages) --- */
.narrow { max-width: 48rem; margin-inline: auto; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 900px) { .grid-2 { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 0.85rem; font-size: 0.95rem; }
.field input, .field select, .field textarea {
  font: inherit; padding: 0.55rem 0.7rem; border: 1px solid var(--color-border, #d9cfc3);
  border-radius: 8px; background: #fff;
}
.kpi-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 0.75rem;
}
.kpi-grid .kpi-label { display: block; font-size: 0.78rem; color: var(--color-text-light, #6b5e52); margin-bottom: 0.15rem; }
.kpi-grid strong { font-size: 1.05rem; color: #5c3d1e; }
.data-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.data-table th, .data-table td { border-bottom: 1px solid var(--color-border, #e8dfd4); padding: 0.45rem 0.5rem; text-align: left; }
.data-table th { font-weight: 600; color: #5c3d1e; }
.muted { color: var(--color-text-light, #6b5e52); }
.warn { color: #9a3412; font-weight: 600; }
.faq-a { padding: 0 0 0.85rem 0; color: var(--color-text, #2f2a26); }
.faq-list { display: flex; flex-direction: column; gap: 0.5rem; }
.gallery-open { display:block; border:0; padding:0; background:none; cursor:pointer; width:100%; overflow:hidden; border-radius: inherit; }
.cta-band {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  background: #fff8ef; border: 1px solid #f0e0cc; border-radius: 14px; padding: 1.25rem 1.5rem;
}
.cta-band h2 { margin: 0 0 0.35rem; font-size: 1.25rem; }
.cta-band p { margin: 0; color: var(--color-text-light, #6b5e52); }
#fin-chart, #hi-grid img { background: #faf7f2; }


/* --- Logo emphasis & downloads / print (2026 feedback) --- */
.logo-row {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}
.logo-row:hover .logo__name { color: var(--color-accent, #e77600); }
.logo-divider,
.logo-divider img,
.page-hero .logo-divider {
  display: none !important; /* removed: small transparent hero/section divider logos */
}

/* Mid-page logo spotlight */
.logo-spotlight {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2.5rem 1rem;
  margin: 0;
}
.logo-spotlight--hero {
  padding: 3rem 1rem 2.5rem;
}
.logo-spotlight img {
  display: block;
  width: 140px;
  height: 140px;
  object-fit: contain;
}
.logo-spotlight--hero img {
  width: 200px;
  height: 200px;
}
.logo-spotlight__slogan {
  margin: 0.85rem 0 0;
  max-width: 28rem;
  font-size: 1.05rem;
  line-height: 1.45;
  color: var(--color-navy, #2c2416);
  font-weight: 600;
}
.logo-spotlight__name {
  margin: 0.35rem 0 0;
  font-size: 0.95rem;
  color: var(--color-text-light, #6b6358);
}
@media (max-width: 600px) {
  .logo-spotlight img { width: 112px; height: 112px; }
  .logo-spotlight--hero img { width: 160px; height: 160px; }
  .logo-spotlight__slogan { font-size: 0.98rem; }
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  margin-bottom: 0.5rem;
}
.footer-logo img {
  width: 56px;
  height: 56px;
  display: block;
  object-fit: contain;
}
.footer-logo:hover strong { color: var(--color-accent, #e77600); }
.site-footer .footer-logo img,
.footer .footer-logo img {
  width: 72px;
  height: 72px;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.15));
}
.eigen-item--fach { border-left: 3px solid var(--color-accent, #e77600); padding-left: 0.5rem; }
.eigen-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #fff;
  background: var(--color-accent, #e77600);
  padding: 0.1rem 0.4rem;
  border-radius: 3px;
  margin-right: 0.25rem;
  vertical-align: middle;
}
.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}
.download-card__icon { margin-bottom: 0.75rem; opacity: 0.9; }
.checkbox-consent {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.9rem;
  margin-top: 0.75rem;
}
.checkbox-consent input { margin-top: 0.25rem; flex-shrink: 0; }
.form-error { color: #b42318; font-size: 0.9rem; margin-top: 0.5rem; }
.modal[hidden] { display: none !important; }
.modal {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
}
.modal__backdrop {
  position: absolute; inset: 0; background: rgba(30,22,12,0.55);
}
.modal__dialog {
  position: relative; z-index: 1;
  background: #fff; border-radius: 12px;
  max-width: 28rem; width: 100%;
  padding: 1.5rem 1.5rem 1.25rem;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
  max-height: 90vh; overflow: auto;
}
.modal__close {
  position: absolute; top: 0.5rem; right: 0.75rem;
  border: 0; background: transparent; font-size: 1.5rem;
  cursor: pointer; line-height: 1; color: #666;
}
.compare-table th:nth-child(n+2),
.compare-table td:nth-child(n+2) { min-width: 7.5rem; }

/* Screen: hide print sheet */
.fmh-print-sheet { display: none; }

@media print {
  body.fmh-printing > *:not(.fmh-print-sheet) { display: none !important; }
  body.fmh-printing .fmh-print-sheet {
    display: block !important;
    padding: 12mm;
    color: #2c2416;
    font-size: 11pt;
  }
  .fmh-print-header {
    display: flex; align-items: center; gap: 12px;
    border-bottom: 2px solid #e77600; padding-bottom: 10px; margin-bottom: 14px;
  }
  .fmh-print-header img { width: 56px; height: 56px; }
  .fmh-print-body h1 { font-size: 16pt; margin: 0 0 10px; color: #2c2416; }
  .fmh-print-body h2 { font-size: 12pt; color: #e77600; margin: 14px 0 6px; }
  .fmh-print-inputs { padding-left: 1.1em; margin: 0 0 10px; }
  .fmh-print-result .btn, .fmh-print-result button { display: none !important; }
  .fmh-print-disclaimer {
    font-size: 8.5pt; color: #5c5346; margin-top: 16px;
    border-top: 1px solid #ddd; padding-top: 8px;
  }
  .fmh-print-footer {
    margin-top: 18px; display: flex; justify-content: space-between; align-items: flex-end;
    border-top: 2px solid #e77600; padding-top: 10px; font-size: 9pt;
  }
  .fmh-print-mark { opacity: 0.7; }
  a[href]::after { content: none !important; }
}

@media (max-width: 720px) {
  .logo-mark { width: 56px; height: 56px; }
  .logo__tag { display: none; }
  .site-footer .footer-logo img,
  .footer .footer-logo img { width: 56px; height: 56px; }
}


/* Financing / funding partner band */
.partner-band {
  display: grid;
  gap: 1.25rem;
  background: linear-gradient(135deg, #fff8ef 0%, #f7efe3 55%, #fff 100%);
  border: 1px solid #ecdcc6;
  border-radius: 16px;
  padding: 1.5rem 1.6rem;
  margin: 1.75rem 0;
  box-shadow: 0 8px 24px rgba(44, 36, 22, 0.05);
}
.partner-band__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary, #e77600);
}
.partner-band h2 {
  margin: 0 0 0.65rem;
  font-size: 1.35rem;
  color: var(--color-navy, #002337);
}
.partner-band p { margin: 0 0 0.75rem; max-width: 52rem; }
.partner-band p:last-child { margin-bottom: 0; }
.partner-band__note {
  font-size: 0.86rem;
  color: var(--color-text-light, #6b5e52);
}
.partner-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 0.35rem;
}
.partner-teaser {
  margin: 1rem 0 0;
  padding: 0.9rem 1rem;
  background: #fffaf3;
  border: 1px dashed #e2c9a8;
  border-radius: 12px;
  font-size: 0.95rem;
}
.partner-teaser strong { color: var(--color-navy, #002337); }


/* Slim sticky CTA – desktop + mobile */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 160;
  display: flex;
  justify-content: center;
  padding: 0.55rem 0.75rem calc(0.55rem + env(safe-area-inset-bottom));
  background: rgba(255,255,255,0.97);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -6px 20px rgba(60,68,67,0.12);
}
.sticky-cta .btn {
  border-radius: 999px;
  padding: 0.7rem 1.4rem;
  font-size: 0.95rem;
  min-width: min(100%, 320px);
  text-align: center;
}
/* body padding for sticky moved to .has-sticky-cta-visible (v18b) */
body { padding-bottom: 0; }
/* Keep old mobile sticky-contact behind CTA if both present; hide when sticky-cta exists */
.sticky-cta ~ .sticky-contact,
body:has(.sticky-cta) .sticky-contact { display: none !important; }
.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;}

/* —— Form rows & full contact —— */
.form-row { display: grid; gap: 0.75rem; margin-top: 0.55rem; }
.form-row--2 { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .form-row--2 { grid-template-columns: 1fr 1fr; }
}
.thank-you-box {
  background: #f3f8f4;
  border: 1px solid #c5dfc9;
  border-radius: 12px;
  padding: 1.25rem 1.4rem;
  margin-top: 1rem;
}
.thank-you-box h3 { margin: 0 0 0.5rem; color: var(--color-navy); }
.next-step-box {
  background: var(--color-bg, #faf7f2);
  border: 1px solid var(--color-border, #e5ddd0);
  border-radius: 12px;
  padding: 1.1rem 1.25rem;
  margin-top: 1.25rem;
}
.next-step-box h3 { margin: 0 0 0.4rem; font-size: 1.05rem; color: var(--color-navy); }
.funnel-steps {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  margin-top: 1.25rem;
}
@media (min-width: 700px) {
  .funnel-steps { grid-template-columns: repeat(4, 1fr); }
}
.funnel-step {
  background: #fff;
  border: 1px solid var(--color-border, #e5ddd0);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  position: relative;
}
.funnel-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--color-accent, #e77600);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}
.page-cta {
  background: linear-gradient(135deg, #1e3a5f 0%, #2a5080 100%);
  color: #fff;
  border-radius: 14px;
  padding: 1.5rem 1.6rem;
  margin: 2rem 0 0;
}
.page-cta h2, .page-cta h3 { color: #fff; margin-top: 0; }
.page-cta p { color: rgba(255,255,255,0.9); }
.page-cta .btn { margin-right: 0.5rem; margin-top: 0.5rem; }
.ratgeber-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .ratgeber-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1000px) {
  .ratgeber-grid { grid-template-columns: 1fr 1fr 1fr; }
}
.ratgeber-card h3 { margin: 0 0 0.4rem; font-size: 1.1rem; }
.article-body h2 { margin-top: 2rem; color: var(--color-navy); }
.article-body h3 { margin-top: 1.4rem; }
.article-toc {
  background: var(--color-bg, #faf7f2);
  border-radius: 10px;
  padding: 1rem 1.2rem;
  margin: 1.25rem 0;
}
.article-toc ol { margin: 0.4rem 0 0; padding-left: 1.2rem; }
.collapse-group {
  border: 1px solid var(--color-border, #e5ddd0);
  border-radius: 10px;
  margin-bottom: 0.75rem;
  overflow: hidden;
}
.collapse-group > summary {
  cursor: pointer;
  padding: 0.85rem 1rem;
  font-weight: 600;
  background: #fff;
  list-style: none;
}
.collapse-group > summary::-webkit-details-marker { display: none; }
.collapse-group[open] > summary { border-bottom: 1px solid var(--color-border, #e5ddd0); }
.collapse-group .collapse-body { padding: 0.85rem 1rem 1rem; }
.feature-checks { display: grid; gap: 0.35rem; }
.feature-checks label { display: flex; gap: 0.5rem; align-items: flex-start; font-size: 0.95rem; }
.budget-compare {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
  margin-top: 1rem;
}
@media (min-width: 800px) {
  .budget-compare { grid-template-columns: repeat(4, 1fr); }
}
.budget-compare__card {
  border: 1px solid var(--color-border, #e5ddd0);
  border-radius: 10px;
  padding: 0.9rem;
  background: #fff;
}
.budget-compare__card.is-active {
  border-color: var(--color-accent, #e77600);
  box-shadow: 0 0 0 2px rgba(231,118,0,0.2);
}
.budget-compare__card h4 { margin: 0 0 0.35rem; font-size: 0.95rem; }
button[type="submit"][disabled],
button[type="submit"][aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
}
.faq-group { margin-bottom: 2rem; }
.faq-group > h2 { font-size: 1.25rem; color: var(--color-navy); margin-bottom: 0.75rem; }

.calc-breakdown__info {
  opacity: 0.92;
  border-top: 1px dashed rgba(0,0,0,0.12);
  margin-top: 0.35rem;
  padding-top: 0.35rem;
}
.calc-breakdown__info em {
  font-style: normal;
  font-size: 0.85em;
  color: #6b5a4a;
}

/* —— Cookie consent banner (v8) —— */
.fmh-cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 220;
  display: none;
  background: #ffffff;
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -8px 28px rgba(60,68,67,0.18);
  max-height: min(70vh, 520px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0;
}
.fmh-cookie-banner.is-visible { display: block; }
.fmh-cookie-banner__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 0.85rem;
  padding: 1rem 1rem calc(1.75rem + env(safe-area-inset-bottom, 0px));
  background: #ffffff;
}
@media (min-width: 860px) {
  .fmh-cookie-banner__inner {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 1.1rem 1.25rem calc(1.5rem + env(safe-area-inset-bottom, 0px));
  }
}
.fmh-cookie-banner__brand {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.fmh-cookie-banner__brand img { flex-shrink: 0; border-radius: 8px; }
.fmh-cookie-banner__title {
  margin: 0 0 0.25rem;
  font-weight: 700;
  color: var(--color-navy);
  font-size: 1rem;
}
.fmh-cookie-banner__desc {
  margin: 0;
  font-size: 0.88rem;
  color: var(--color-text-light);
  line-height: 1.5;
}
.fmh-cookie-banner__actions {
  display: grid;
  gap: 0.5rem;
  width: 100%;
  /* mobile default: stack all three full-width */
  grid-template-columns: 1fr;
}
.fmh-cookie-banner__actions .btn {
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  width: 100%;
  min-height: 2.75rem;
  box-sizing: border-box;
  white-space: nowrap;
}
/* Equal visual weight: primary filled + two navy outlines (never ghost/white-on-white) */
.fmh-cookie-banner__actions .btn--primary {
  /* Darker orange so white text meets WCAG AA ≥ 4.5:1 (~4.67) */
  background: #b85a00;
  color: #ffffff;
  border-color: #b85a00;
}
.fmh-cookie-banner__actions .btn--primary:hover {
  background: #a04e00;
  border-color: #a04e00;
  color: #ffffff;
}
.fmh-cookie-banner__actions .btn--secondary {
  background: var(--color-bg);
  color: var(--color-navy);
  border: 2px solid var(--color-navy);
}
.fmh-cookie-banner__actions .btn--secondary:hover {
  background: var(--color-navy);
  color: #ffffff;
}
/* ≥480px: 2+1 — Alle full width, then two equal outlines */
@media (min-width: 480px) and (max-width: 859px) {
  .fmh-cookie-banner__actions {
    grid-template-columns: 1fr 1fr;
  }
  .fmh-cookie-banner__actions .btn[data-consent="accept-all"] {
    grid-column: 1 / -1;
  }
}
/* Desktop: one row, equal flex columns */
@media (min-width: 860px) {
  .fmh-cookie-banner__actions {
    display: flex;
    flex-wrap: nowrap;
    width: auto;
    min-width: 28rem;
    max-width: 34rem;
  }
  .fmh-cookie-banner__actions .btn {
    flex: 1 1 0;
    width: auto;
    white-space: nowrap;
  }
}
/* consent-open sticky lift removed in v18b – sticky hides instead */


.fmh-cookie-settings {
  position: fixed;
  inset: 0;
  z-index: 240;
}
.fmh-cookie-settings__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,35,55,0.45);
}
.fmh-cookie-settings__panel {
  position: relative;
  z-index: 1;
  background: #fff;
  max-width: 560px;
  width: calc(100% - 1.5rem);
  max-height: min(90vh, 720px);
  overflow: auto;
  margin: 5vh auto;
  border-radius: 16px;
  padding: 1.35rem 1.4rem 1.5rem;
  box-shadow: var(--shadow);
  outline: none;
}
.fmh-cookie-settings__close {
  position: absolute;
  top: 0.6rem;
  right: 0.75rem;
  border: 0;
  background: transparent;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: var(--color-dark);
}
.fmh-cookie-settings__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.fmh-cookie-settings__head h2 {
  margin: 0;
  font-size: 1.25rem;
  color: var(--color-navy);
}
.fmh-cookie-settings__intro {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  color: var(--color-text-light);
}
.fmh-cookie-cat {
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  margin-bottom: 0.75rem;
  background: var(--color-bg);
}
.fmh-cookie-cat p {
  margin: 0.4rem 0 0.7rem;
  font-size: 0.86rem;
  color: var(--color-text-light);
}
.fmh-cookie-badge {
  display: inline-block;
  margin-left: 0.4rem;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  background: var(--color-primary-soft);
  color: var(--color-wood);
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  vertical-align: middle;
}
.fmh-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}
.fmh-switch input { width: 1.1rem; height: 1.1rem; accent-color: var(--color-primary); }
.fmh-switch--locked { opacity: 0.85; cursor: default; }
.fmh-cookie-settings__note {
  font-size: 0.82rem;
  color: var(--color-text-light);
  margin: 0.5rem 0 1rem;
}
.fmh-cookie-settings__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}


/* —— Hausangebot explain + priorities (v9) —— */
.hausangebot-explain {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 860px) {
  .hausangebot-explain {
    grid-template-columns: 1.2fr 1fr;
    align-items: start;
  }
}
.hausangebot-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.hausangebot-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  margin: 0;
  padding: 0.85rem 1rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 12px;
}
.hausangebot-steps .step-num {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.priority-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .priority-grid { grid-template-columns: 1fr 1fr; }
}
.priority-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 1rem 1.1rem;
}
.priority-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.02rem;
  color: var(--color-navy);
}
.priority-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.5;
}

/* —— Anbieter-Check —— */
.ac-criteria {
  display: grid;
  gap: 0.75rem;
}
.ac-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 0.9rem 1rem;
}
.ac-item__top {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: baseline;
  margin-bottom: 0.35rem;
}
.ac-item__top strong {
  color: var(--color-navy);
  font-size: 0.95rem;
}
.ac-item__val {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-wood);
  white-space: nowrap;
}
.ac-item p {
  margin: 0 0 0.55rem;
  font-size: 0.82rem;
  color: var(--color-text-light);
  line-height: 1.4;
}
.ac-item input[type="range"] {
  width: 100%;
  accent-color: var(--color-primary);
}
.ac-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--color-text-light);
  margin-top: 0.2rem;
}
.ac-result {
  display: none;
  margin-top: 1.5rem;
  padding: 1.35rem 1.4rem;
  background: var(--color-primary-soft);
  border: 1px solid #f0c896;
  border-radius: 16px;
}
.ac-result.is-visible { display: block; }
.ac-result h2 {
  margin: 0 0 0.5rem;
  color: var(--color-navy);
  font-size: 1.35rem;
}
.ac-result__match {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-wood);
  margin: 0 0 0.75rem;
}
.ac-top-list {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
  color: var(--color-text);
}
.ac-top-list li { margin: 0.25rem 0; }
.ac-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}


/* ===== v11: Irrtümer, Angebotsvergleich, Trust-Datenschutz ===== */
.myth-grid {
  display: grid;
  gap: 1rem;
}
.myth-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 1.15rem 1.25rem 1.25rem;
  box-shadow: var(--shadow-soft, 0 8px 24px rgba(0,35,55,.06));
}
.myth-card__badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #8b3a2a;
  background: #fdece7;
  padding: .2rem .55rem;
  border-radius: 999px;
  margin-bottom: .55rem;
}
.myth-card__irrtum {
  margin: 0 0 .65rem;
  font-size: 1.05rem;
  color: var(--color-navy);
  line-height: 1.35;
}
.myth-card__tatsaechlich {
  margin: 0;
  padding: .85rem 1rem;
  background: #f3f8f4;
  border-left: 4px solid #2f6b4f;
  border-radius: 0 10px 10px 0;
}
.myth-card__tatsaechlich strong {
  color: #2f6b4f;
  display: block;
  margin-bottom: .35rem;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.myth-card__src {
  margin: .65rem 0 0;
  font-size: .82rem;
  color: var(--color-text-light);
}
.myth-toc {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin: 1rem 0 1.5rem;
}
.myth-toc a {
  font-size: .82rem;
  padding: .35rem .7rem;
  border-radius: 999px;
  background: var(--color-bg-alt);
  color: var(--color-navy);
  text-decoration: none;
  border: 1px solid var(--color-border);
}
.myth-toc a:hover { border-color: var(--color-primary); color: var(--color-primary); }

.trust-privacy {
  background: linear-gradient(135deg, #f7faf8 0%, #eef5fb 100%);
  border: 1px solid #d5e3ef;
  border-radius: 16px;
  padding: 1.35rem 1.4rem;
  margin: 1.5rem 0;
}
.trust-privacy h3 {
  margin: 0 0 .55rem;
  font-size: 1.15rem;
  color: var(--color-navy);
}
.trust-privacy ul {
  margin: .75rem 0 0;
  padding-left: 1.1rem;
}
.trust-privacy li { margin-bottom: .35rem; }
.trust-privacy__badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .78rem;
  font-weight: 700;
  color: #1f5c45;
  background: #dcefe4;
  padding: .25rem .65rem;
  border-radius: 999px;
  margin-bottom: .65rem;
}

.offer-compare-hero {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 880px) {
  .offer-compare-hero { grid-template-columns: 1.1fr .9fr; align-items: stretch; }
}
.offer-price-card {
  border-radius: 16px;
  padding: 1.25rem;
  border: 1px solid var(--color-border);
  background: #fff;
}
.offer-price-card.is-cheap {
  border-color: #e8c4b8;
  background: #fff8f5;
}
.offer-price-card.is-solid {
  border-color: #b9d8c8;
  background: #f4faf6;
}
.offer-price-card .price {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-navy);
  margin: .35rem 0;
}
.offer-price-card .hint { font-size: .9rem; color: var(--color-text-light); margin: 0; }

.row-compare {
  display: grid;
  grid-template-columns: 1fr;
  gap: .55rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-border);
}
@media (min-width: 760px) {
  .row-compare { grid-template-columns: 1.1fr 1fr 1fr; gap: 1rem; align-items: start; }
}
.row-compare__label { font-weight: 700; color: var(--color-navy); }
.row-compare__here {
  background: #f3f8f4;
  border-radius: 10px;
  padding: .65rem .8rem;
  border-left: 3px solid #2f6b4f;
  font-size: .92rem;
}
.row-compare__often {
  background: #fff6f2;
  border-radius: 10px;
  padding: .65rem .8rem;
  border-left: 3px solid #c45c3e;
  font-size: .92rem;
}
.row-compare__tag {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  margin-bottom: .25rem;
  opacity: .85;
}

.checklist-tool {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: var(--shadow-soft, 0 8px 24px rgba(0,35,55,.06));
}
.checklist-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: .75rem;
  align-items: start;
  padding: .7rem 0;
  border-bottom: 1px solid var(--color-bg-alt);
}
.checklist-item:last-child { border-bottom: 0; }
.checklist-item label { cursor: pointer; font-weight: 600; color: var(--color-navy); overflow-wrap: anywhere; }
.checklist-item .range { font-size: .82rem; color: var(--color-text-light); margin-top: .15rem; overflow-wrap: anywhere; }
.checklist-item .cost {
  font-weight: 700;
  color: #8b3a2a;
  white-space: nowrap;
  min-width: 4.5rem;
  max-width: 6.5rem;
  text-align: right;
  font-size: .9rem;
}
@media (max-width: 480px) {
  .checklist-item {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-rows: auto auto;
  }
  .checklist-item .cost {
    grid-column: 2;
    text-align: left;
    max-width: none;
    min-width: 0;
    margin-top: -.15rem;
  }
  .checklist-tool { padding: 1rem .85rem; }
}
.checklist-item.is-included .cost { color: #2f6b4f; }
.checklist-sum {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  background: var(--color-navy);
  color: #fff;
  border-radius: 12px;
}
.checklist-sum strong { font-size: 1.35rem; }
.checklist-sum p { margin: .35rem 0 0; opacity: .9; font-size: .9rem; }

.example-banner {
  background: #fff8e8;
  border: 1px dashed #e0b84a;
  border-radius: 12px;
  padding: .85rem 1rem;
  font-size: .9rem;
  margin: 1rem 0 1.25rem;
}


/* ===== Contact preference (t105u / v14) ===== */
.contact-pref {
  margin: 0 0 1.35rem;
  padding: 1.15rem 1.15rem 1.2rem;
  background: linear-gradient(165deg, #fff8ef 0%, #fff 55%);
  border: 2px solid #f0c896;
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(231, 118, 0, 0.08);
}
.contact-pref__title {
  margin: 0 0 0.4rem;
  padding: 0;
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.3;
}
.contact-pref__note {
  margin: 0 0 0.95rem;
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.45;
}
.contact-pref__options {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: 1fr;
}
@media (min-width: 560px) {
  .contact-pref__options { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .contact-pref__options { grid-template-columns: repeat(3, 1fr); }
}
.contact-pref__card {
  position: relative;
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  min-height: 4.5rem;
  padding: 0.85rem 0.9rem 0.85rem 0.85rem;
  background: #fff;
  border: 2px solid #d9e2ea;
  border-radius: 14px;
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s, background .15s;
  -webkit-tap-highlight-color: transparent;
}
.contact-pref__card:hover {
  border-color: #e9a04a;
}
.contact-pref__card:has(input:checked),
.contact-pref__card:has(input:focus-visible) {
  border-color: var(--color-primary);
  background: #fff7ed;
  box-shadow: 0 0 0 3px rgba(231, 118, 0, 0.22);
}
.contact-pref__card:has(input:focus-visible) {
  outline: 2px solid var(--color-navy);
  outline-offset: 2px;
}
/* Visible, touch-friendly checkbox – NEVER visually hidden */
.contact-pref__card > input[type="checkbox"] {
  appearance: auto;
  -webkit-appearance: checkbox;
  width: 1.25rem;
  height: 1.25rem;
  min-width: 1.25rem;
  margin: 0.35rem 0 0;
  flex-shrink: 0;
  accent-color: var(--color-primary);
  cursor: pointer;
  opacity: 1 !important;
  position: static !important;
  clip: auto !important;
  clip-path: none !important;
  overflow: visible !important;
  pointer-events: auto !important;
}
.contact-pref__icon {
  font-size: 1.55rem;
  line-height: 1;
  margin-top: 0.15rem;
  flex-shrink: 0;
}
.contact-pref__text {
  flex: 1;
  min-width: 0;
}
.contact-pref__text strong {
  display: block;
  color: var(--color-navy);
  font-size: 0.98rem;
  line-height: 1.25;
}
.contact-pref__text > span {
  display: block;
  font-size: 0.82rem;
  color: var(--color-text-light);
  line-height: 1.35;
  margin-top: 0.2rem;
  font-weight: 400;
}
.contact-pref__check {
  display: none;
}
.contact-pref__error {
  margin: 0.65rem 0 0;
  padding: 0.55rem 0.75rem;
  background: #fdecea;
  border: 1px solid #f5c2c0;
  border-radius: 8px;
  color: #8a1f1a;
  font-size: 0.9rem;
}
.contact-pref__panel {
  display: none;
  margin-top: 0.9rem;
  padding: 0.85rem 0.9rem;
  background: #fff;
  border: 1px dashed #e5c9a8;
  border-radius: 12px;
}
.contact-pref__panel.is-open { display: block; }
.contact-pref__subhead {
  margin: 0 0 0.55rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-navy);
}
.contact-pref__hotel {
  margin: 0 0 0.75rem;
  padding: 0.55rem 0.7rem;
  background: #f3f9f5;
  border-left: 3px solid #2f6b4f;
  border-radius: 6px;
  font-size: 0.88rem;
  line-height: 1.4;
}
.contact-pref__hint {
  margin: 0.45rem 0 0;
  font-size: 0.8rem;
  color: var(--color-text-light);
}
.contact-pref__trust {
  margin: 0.85rem 0 0;
  font-size: 0.84rem;
  color: var(--color-text-light);
  line-height: 1.4;
}
.contact-pref .form-row--2 {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: 1fr;
}
@media (min-width: 560px) {
  .contact-pref .form-row--2 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 400px) {
  .contact-pref { padding: 0.95rem 0.8rem 1rem; }
  .contact-pref__title { font-size: 1.05rem; }
  .contact-pref__card { min-height: 4rem; padding: 0.7rem; }
}

.cta-trust-line {
  margin: 0.55rem 0 0;
  font-size: 0.82rem;
  color: var(--color-text-light);
  line-height: 1.4;
  max-width: 36rem;
}
.hero .cta-trust-line,
.hero-trust-line {
  margin: 0.75rem 0 0;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.88);
  line-height: 1.45;
  max-width: 34rem;
}

/* Home: So möchten Sie kontaktiert werden */
.kontakt-wahl-home {
  margin: 0;
  padding: 2.5rem 0;
  background: linear-gradient(180deg, #fff8ef 0%, #fff 100%);
  border-top: 1px solid #f0e0cc;
  border-bottom: 1px solid #f0e0cc;
}
.kontakt-wahl-home__intro { max-width: 40rem; margin-bottom: 1.25rem; }
.kontakt-wahl-home__intro h2 { margin: 0.25rem 0 0.5rem; color: var(--color-navy); }
.kontakt-wahl-home__grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}
@media (min-width: 560px) {
  .kontakt-wahl-home__grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .kontakt-wahl-home__grid { grid-template-columns: repeat(5, 1fr); }
}
.kontakt-wahl-home__card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 0.9rem;
  background: #fff;
  border: 2px solid #e2e8ee;
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  transition: border-color .15s, box-shadow .15s, transform .15s;
  min-height: 7.5rem;
}
.kontakt-wahl-home__card:hover,
.kontakt-wahl-home__card:focus-visible {
  border-color: var(--color-primary);
  box-shadow: 0 8px 22px rgba(231, 118, 0, 0.12);
  transform: translateY(-2px);
}
.kontakt-wahl-home__card .kw-icon { font-size: 1.6rem; }
.kontakt-wahl-home__card strong { color: var(--color-navy); font-size: 0.95rem; line-height: 1.25; }
.kontakt-wahl-home__card span { font-size: 0.8rem; color: var(--color-text-light); line-height: 1.35; }

/* ===== v12: Was steckt wirklich im Standard? ===== */
.standard-deep {
  margin: 2.75rem 0 1.5rem;
  padding: 1.75rem 1.35rem 1.5rem;
  background: linear-gradient(165deg, #f6faf8 0%, #fff 42%, #f8f5f1 100%);
  border: 1px solid #d5e4dc;
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(0, 35, 55, 0.06);
}
.standard-deep__intro { max-width: 46rem; margin-bottom: 1.35rem; }
.standard-deep__intro h2 { margin: .35rem 0 .65rem; color: var(--color-navy); }
.standard-deep__intro p { margin: 0; color: var(--color-text); line-height: 1.55; }

.std-compare { display: grid; gap: 1rem; }
.std-compare__head {
  display: none;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--color-text-light);
  padding: 0 .25rem;
}
@media (min-width: 900px) {
  .std-compare__head {
    display: grid;
    grid-template-columns: 11rem 1fr 1fr;
    gap: 1rem;
  }
}
.std-compare__row {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 1rem 1.05rem 1.1rem;
  display: grid;
  gap: .85rem;
}
@media (min-width: 900px) {
  .std-compare__row {
    grid-template-columns: 11rem 1fr 1fr;
    align-items: start;
    gap: 1rem;
  }
}
.std-compare__topic {
  margin: 0;
  font-size: 1.02rem;
  color: var(--color-navy);
  line-height: 1.3;
}
.std-compare__tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  padding: .18rem .5rem;
  border-radius: 999px;
  margin-bottom: .45rem;
}
.std-compare__here .std-compare__tag {
  background: #dcefe4;
  color: #1f5c45;
}
.std-compare__often .std-compare__tag {
  background: #fdece7;
  color: #8b3a2a;
}
.std-compare__here,
.std-compare__often {
  font-size: .92rem;
  line-height: 1.45;
}
.std-compare__here ul,
.std-compare__often ul {
  margin: 0;
  padding-left: 1.05rem;
}
.std-compare__here li,
.std-compare__often li { margin-bottom: .28rem; }
.std-compare__here {
  background: #f4faf6;
  border-radius: 10px;
  padding: .75rem .85rem;
  border: 1px solid #cfe5d8;
}
.std-compare__often {
  background: #fff8f5;
  border-radius: 10px;
  padding: .75rem .85rem;
  border: 1px solid #f0d5cb;
}

.bemusterungs-falle {
  margin-top: 1.5rem;
  padding: 1.25rem 1.2rem 1.15rem;
  background: #fff;
  border: 1px solid #e2c48a;
  border-radius: 14px;
  box-shadow: inset 0 0 0 1px rgba(226, 196, 138, 0.35);
}
.bemusterungs-falle__badge {
  display: inline-block;
  margin: 0 0 .5rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #7a5a12;
  background: #f7ebcf;
  padding: .22rem .6rem;
  border-radius: 999px;
}
.bemusterungs-falle h3 { margin: 0 0 .55rem; color: var(--color-navy); }
.bemusterungs-falle > p { margin: 0 0 .85rem; line-height: 1.5; }
.bemusterungs-falle__grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 720px) {
  .bemusterungs-falle__grid { grid-template-columns: 1fr 1fr; }
}
.bemusterungs-falle__grid > div {
  background: #faf8f3;
  border-radius: 12px;
  padding: .9rem 1rem;
  border: 1px solid #eee4d2;
}
.bemusterungs-falle__grid h4 {
  margin: 0 0 .5rem;
  font-size: .98rem;
  color: var(--color-navy);
}
.bemusterungs-falle__grid ul {
  margin: 0 0 .65rem;
  padding-left: 1.05rem;
  font-size: .9rem;
}
.bemusterungs-falle__sum {
  margin: 0;
  font-size: .92rem;
  padding-top: .45rem;
  border-top: 1px dashed #ddd0b4;
}

@media (max-width: 640px) {
  .standard-deep { padding: 1.25rem 1rem 1.1rem; border-radius: 14px; }
  .std-compare__here,
  .std-compare__often { padding: .65rem .7rem; }
}

/* ===== v13: Klartext-Spotlight (Vollholz, Bodenplatte, Hand, Langfrist, Komfort) ===== */
.spotlight-blocks {
  margin: 2.5rem 0 1.25rem;
  display: grid;
  gap: 1.25rem;
}
.spotlight-blocks__intro { max-width: 48rem; margin-bottom: .25rem; }
.spotlight-blocks__intro h2 { margin: .35rem 0 .55rem; color: var(--color-navy); }
.spotlight-blocks__intro p { margin: 0; line-height: 1.55; }

.spotlight-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  padding: 1.35rem 1.3rem 1.25rem;
  box-shadow: 0 14px 36px rgba(0, 35, 55, 0.07);
  border-top: 5px solid var(--color-primary);
}
.spotlight-card--wood { border-top-color: #8b5a2b; background: linear-gradient(180deg, #fbf7f2 0%, #fff 28%); }
.spotlight-card--plate { border-top-color: #4a6fa5; background: linear-gradient(180deg, #f3f7fc 0%, #fff 28%); }
.spotlight-card--hand { border-top-color: #2f6b4f; background: linear-gradient(180deg, #f3f9f5 0%, #fff 28%); }
.spotlight-card--long { border-top-color: #c47a12; background: linear-gradient(180deg, #fff8ef 0%, #fff 28%); }
.spotlight-card--comfort { border-top-color: #6b5b95; background: linear-gradient(180deg, #f7f4fb 0%, #fff 28%); }

.spotlight-card__badge {
  display: inline-block;
  margin: 0 0 .45rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--color-navy);
  background: rgba(0, 35, 55, 0.08);
  padding: .22rem .6rem;
  border-radius: 999px;
}
.spotlight-card h3 {
  margin: 0 0 .65rem;
  color: var(--color-navy);
  font-size: 1.28rem;
  line-height: 1.25;
}
.spotlight-card > p { margin: 0 0 .9rem; line-height: 1.55; }
.spotlight-card__sub {
  margin: 1rem 0 .55rem;
  font-size: 1rem;
  color: var(--color-navy);
}
.spotlight-card__compare {
  display: grid;
  gap: .75rem;
}
@media (min-width: 760px) {
  .spotlight-card__compare { grid-template-columns: 1fr 1fr; }
}
.spotlight-card__here,
.spotlight-card__often {
  border-radius: 12px;
  padding: .85rem .95rem;
}
.spotlight-card__here {
  background: #f4faf6;
  border: 1px solid #cfe5d8;
}
.spotlight-card__often {
  background: #fff8f5;
  border: 1px solid #f0d5cb;
}
.spotlight-card__here ul,
.spotlight-card__often ul {
  margin: .35rem 0 0;
  padding-left: 1.05rem;
  font-size: .92rem;
}
.spotlight-card__big {
  margin: .35rem 0 .25rem;
  font-size: 1.35rem;
  color: var(--color-navy);
  line-height: 1.2;
}
.spotlight-card__gridlist {
  display: grid;
  gap: .55rem;
  margin: 0;
  padding-left: 1.1rem;
}
@media (min-width: 880px) {
  .spotlight-card__gridlist { grid-template-columns: 1fr 1fr; }
}
.spotlight-card__gridlist li { font-size: .92rem; line-height: 1.45; }
.spotlight-card__tablewrap { overflow-x: auto; margin: .75rem 0; }
.spotlight-cost {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
  min-width: 280px;
}
.spotlight-cost caption {
  text-align: left;
  font-weight: 700;
  font-size: .82rem;
  color: #7a5a12;
  margin-bottom: .45rem;
  caption-side: top;
}
.spotlight-cost th,
.spotlight-cost td {
  border: 1px solid #e2e8ee;
  padding: .55rem .65rem;
  text-align: left;
  vertical-align: top;
}
.spotlight-cost thead th { background: #eef3f7; color: var(--color-navy); }
.spotlight-cost tfoot th {
  background: #fff3e0;
  color: var(--color-navy);
  font-size: .95rem;
}
.spotlight-card__note {
  margin: .75rem 0 0;
  font-size: .88rem;
  color: var(--color-text-light);
  line-height: 1.45;
}
@media (max-width: 640px) {
  .spotlight-card { padding: 1.1rem 1rem 1rem; border-radius: 14px; }
  .spotlight-card h3 { font-size: 1.12rem; }
  .spotlight-card__big { font-size: 1.15rem; }
}

/* ===== v14: Ausstattung-Vergleich ===== */
.std-compare__src {
  margin: -0.35rem 0 0.85rem;
  font-size: 0.78rem;
  line-height: 1.35;
}
.std-compare__full { width: 100%; }
.ausstattung-grid {
  display: grid;
  gap: 0.55rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .ausstattung-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .ausstattung-grid { grid-template-columns: 1fr 1fr 1fr; }
}
.ausstattung-item {
  background: #fff;
  border: 1px solid #e2e8ee;
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
}
.ausstattung-item strong {
  display: block;
  color: var(--color-navy);
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}
.ausstattung-item span {
  font-size: 0.8rem;
  color: var(--color-text-light);
  line-height: 1.4;
}


/* === v15 nav groups + anfrage hub + cta trust === */
/* Nav dropdown groups */
.nav-group {
  position: relative;
  margin: 0;
  border: 0;
  padding: 0;
}
.nav-group__summary {
  list-style: none;
  cursor: pointer;
  font-size: inherit;
  font-weight: 600;
  color: var(--color-dark);
  padding: 0.15rem 0.25rem;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  user-select: none;
}
.nav-group__summary::-webkit-details-marker { display: none; }
.nav-group__summary::after {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.65;
  margin-top: -0.15rem;
  transition: transform 0.15s ease;
}
.nav-group[open] > .nav-group__summary::after {
  transform: rotate(225deg);
  margin-top: 0.15rem;
}
.nav-group__panel {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 14rem;
}
.nav-group__panel a {
  font-weight: 500;
  white-space: nowrap;
}
.nav-group--anfragen > .nav-group__summary {
  color: var(--color-primary);
}

@media (min-width: 1361px) {
  .nav-group__panel {
    position: absolute;
    top: calc(100% + 0.45rem);
    left: 0;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 0.55rem 0.35rem;
    z-index: 220;
    display: none;
  }
  .nav-group[open] > .nav-group__panel,
  .nav-group:hover > .nav-group__panel,
  .nav-group:focus-within > .nav-group__panel {
    display: flex;
  }
  .nav-group:hover > .nav-group__summary,
  .nav-group:focus-within > .nav-group__summary {
    color: var(--color-primary);
  }
  .nav-group__panel a {
    padding: 0.45rem 0.75rem;
    border-radius: 6px;
    font-size: 0.82rem;
  }
  .nav-group__panel a:hover {
    background: var(--color-bg-alt);
  }
  /* Keep only one open on desktop via JS; CSS hover helps */
}

@media (max-width: 1360px) {
  .nav-group {
    border-bottom: 1px solid var(--color-bg-alt);
  }
  .nav-group__summary {
    display: flex;
    width: 100%;
    justify-content: space-between;
    padding: 0.65rem 0.5rem;
    font-size: 0.95rem;
  }
  .nav-group__panel {
    padding: 0 0.25rem 0.55rem 0.85rem;
  }
  .nav-group__panel a {
    padding: 0.45rem 0.35rem;
    border-bottom: 1px solid var(--color-bg-alt);
    font-size: 0.88rem;
  }
  .nav > a {
    /* top-level links already styled */
  }
}

/* Anfrage hub cards */
.anfrage-hub {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}
.anfrage-hub__card {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1.25rem 1.15rem;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: var(--color-white);
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm, 0 1px 2px rgba(0,0,0,.04));
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
  min-height: 10rem;
}
.anfrage-hub__card:hover,
.anfrage-hub__card:focus-visible {
  border-color: var(--color-primary);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  outline: none;
}
.anfrage-hub__card--primary {
  border-color: rgba(231, 118, 0, 0.45);
  background: linear-gradient(180deg, #fff8f0 0%, #fff 70%);
}
.anfrage-hub__icon {
  font-size: 1.6rem;
  line-height: 1;
}
.anfrage-hub__card strong {
  font-size: 1.05rem;
  color: var(--color-dark);
}
.anfrage-hub__card > span:last-child {
  color: var(--color-text-light);
  font-size: 0.92rem;
  line-height: 1.45;
}

/* CTA trust under request buttons */
.cta-trust-line,
.hero-trust-line {
  margin: 0.55rem 0 0;
  font-size: 0.88rem;
  line-height: 1.4;
  color: var(--color-text-light);
  max-width: 36rem;
}
.service-card .cta-trust-line,
.hero-card .cta-trust-line {
  margin-top: 0.65rem;
  font-size: 0.82rem;
}
.sticky-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
}
.sticky-cta__trust {
  margin: 0;
  text-align: center;
  font-size: 0.78rem;
  line-height: 1.3;
  color: var(--color-text-light);
  padding: 0 0.35rem 0.1rem;
  max-width: none;
}
.sticky-cta .btn { margin: 0; }

.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;
}

/* Contact pref optional (PDF gates) */
.contact-pref--optional .contact-pref__title .req { display: none; }
.contact-pref--optional .contact-pref__note { opacity: 0.9; }


/* v17 breadcrumbs + print + thank-you */
.breadcrumbs {
  font-size: 0.875rem;
  color: var(--muted, #5a6570);
  padding: 0.75rem 0 0;
  margin: 0;
}
.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  margin: 0;
  padding: 0;
  align-items: center;
}
.breadcrumbs li:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: #9aa3ad;
}
.breadcrumbs a { color: inherit; text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent, #e77600); text-decoration: underline; }
.breadcrumbs [aria-current="page"] { color: var(--text, #2c2416); font-weight: 600; }

.thank-you-box {
  background: #f7faf5;
  border: 1px solid #c5d9b8;
  border-radius: 12px;
  padding: 1.5rem 1.25rem;
  margin: 1rem 0;
}
.thank-you-box h3 { margin-top: 0; color: #2c2416; }
.thank-you-box .ty-next { margin: 1rem 0 0.5rem; }
.thank-you-box .ty-contact {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid #d7e4cc;
  font-size: 0.95rem;
}
.lead-thank-you { animation: fadeIn .35s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px);} to { opacity: 1; transform: none;} }

@media print {
  .site-header, .site-footer, .nav-toggle, .btn, .contact-pref,
  .sticky-cta, .skip-link, form button[type="submit"],
  .cookie-banner, .nav-group summary { display: none !important; }
  a[href]::after { content: ""; }
  body { background: #fff; color: #000; font-size: 11pt; }
  main, .section, .container { max-width: 100% !important; padding: 0 !important; }
  h1, h2, h3 { page-break-after: avoid; }
  img { max-width: 100%; page-break-inside: avoid; }
  .breadcrumbs { display: none; }
}


/* === v18 premium === */
.hero--premium { position: relative; overflow: hidden; }
.hero--premium::before {
  content: "";
  position: absolute; inset: -20% -10% auto auto; width: 55%; height: 80%;
  background: radial-gradient(ellipse at center, color-mix(in srgb, var(--accent, #e77600) 22%, transparent), transparent 70%);
  pointer-events: none; z-index: 0;
  animation: fmh-glow 12s ease-in-out infinite alternate;
}
.hero--premium .container, .hero--premium .hero__grid, .hero--premium .hero-grid { position: relative; z-index: 1; }
@keyframes fmh-glow { from { transform: translate(0,0) scale(1); opacity: .85; } to { transform: translate(-4%, 6%) scale(1.08); opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .hero--premium::before { animation: none; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

.sticky-smart-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: color-mix(in srgb, var(--bg, #0f1115) 92%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid color-mix(in srgb, var(--accent, #e77600) 35%, transparent);
  transform: translateY(110%); transition: transform .35s ease;
  padding: .65rem 0;
}
.sticky-smart-cta.is-visible { transform: translateY(0); }
.sticky-smart-cta__inner { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; justify-content: space-between; }
.sticky-smart-cta__text { margin: 0; font-size: .9rem; }
.trust-inline { opacity: .85; }
.exit-hint {
  position: fixed; top: 1rem; right: 1rem; z-index: 80; max-width: 22rem;
  background: var(--card, #1a1d24); color: inherit; border: 1px solid color-mix(in srgb, var(--accent,#e77600) 40%, transparent);
  border-radius: 12px; padding: .9rem 2rem .9rem 1rem; box-shadow: 0 12px 40px rgba(0,0,0,.25);
}
.exit-hint__close { position: absolute; top: .35rem; right: .5rem; background: transparent; border: 0; font-size: 1.25rem; cursor: pointer; color: inherit; }

.ausbau-slider { display: grid; gap: 1rem; }
.ausbau-slider input[type=range] { width: 100%; accent-color: var(--accent, #e77600); }
.ausbau-slider__ticks { display: flex; flex-wrap: wrap; gap: .4rem; }
.ausbau-tick { border: 1px solid var(--border, #333); background: transparent; color: inherit; border-radius: 999px; padding: .35rem .75rem; cursor: pointer; font-size: .85rem; }
.ausbau-tick.is-active { background: var(--accent, #e77600); color: #111; border-color: transparent; }
.ausbau-pct { font-size: .95rem; }
.raten-big { font-size: 1.5rem; }

.compare-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.compare-board img { width: 100%; height: auto; border-radius: 8px; }

.timeline-interactive { display: grid; gap: .75rem; }
.timeline-item {
  border: 1px solid var(--border, #333); border-radius: 12px; padding: 1rem 1.1rem; cursor: pointer;
  transition: border-color .2s, background .2s;
}
.timeline-item[aria-expanded="true"], .timeline-item.is-open {
  border-color: var(--accent, #e77600); background: color-mix(in srgb, var(--accent,#e77600) 8%, transparent);
}
.timeline-item__body { display: none; margin-top: .5rem; }
.timeline-item.is-open .timeline-item__body, .timeline-item[aria-expanded="true"] .timeline-item__body { display: block; }

.hero-grid { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.2fr .8fr; align-items: start; } }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .75rem; opacity: .75; margin: 0 0 .5rem; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 1.5rem; margin: .45rem 0; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent, #e77600); font-weight: 700; }
.process-steps { display: grid; gap: .85rem; padding-left: 1.2rem; }
.region-grid, .nrw-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.btn-row { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1rem; }
.prose h2 { margin-top: 2rem; }
[data-merkliste-count]:not([hidden]) {
  display: inline-flex; min-width: 1.25rem; height: 1.25rem; align-items: center; justify-content: center;
  border-radius: 999px; background: var(--accent, #e77600); color: #111; font-size: .75rem; font-weight: 700; margin-left: .25rem; padding: 0 .3rem;
}
.plan-card__actions { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .75rem; }
.multi-step__progress { display: flex; gap: .35rem; margin-bottom: 1rem; }
.multi-step__dot { flex: 1; height: 4px; border-radius: 4px; background: var(--border, #333); }
.multi-step__dot.is-done, .multi-step__dot.is-active { background: var(--accent, #e77600); }
.angebote-score {
  position: sticky; top: .75rem; z-index: 5; margin: 1rem 0; padding: 1rem 1.25rem; border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--accent,#e77600) 40%, transparent);
  background: color-mix(in srgb, var(--card, #1a1d24) 95%, var(--accent, #e77600));
}
/* v18 padding superseded by v18b has-sticky-cta-visible */

.bauzeit-tl { list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem; }
.bauzeit-tl__btn {
  width: 100%; display: flex; flex-wrap: wrap; gap: .65rem; align-items: center;
  text-align: left; background: transparent; color: inherit; border: 1px solid var(--border,#333);
  border-radius: 12px; padding: .85rem 1rem; cursor: pointer;
}
.bauzeit-tl__item.is-open .bauzeit-tl__btn { border-color: var(--accent,#e77600); }
.bauzeit-tl__n {
  display: inline-flex; width: 1.75rem; height: 1.75rem; align-items: center; justify-content: center;
  border-radius: 999px; background: var(--accent,#e77600); color: #111; font-weight: 700; font-size: .85rem;
}
.bauzeit-tl__d { margin-left: auto; opacity: .75; font-size: .9rem; }
.bauzeit-tl__panel { padding: .25rem 1rem 1rem 3.2rem; }
.form-progress { height: 6px; background: var(--border,#333); border-radius: 6px; overflow: hidden; margin: .35rem 0; }
.form-progress__bar { height: 100%; background: var(--accent,#e77600); transition: width .25s ease; }
.form-progress__label { font-size: .85rem; margin: .35rem 0 0; }
.form-step-nav { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }

.compare-tray-host { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg,#0f1115) 94%, transparent); border-bottom: 1px solid var(--border,#333); }
.compare-tray { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; padding: .65rem 0; }
.compare-tray ul { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.compare-tray li { background: var(--card,#1a1d24); border-radius: 999px; padding: .25rem .7rem; font-size: .9rem; }


/* === v18b a11y/sticky === */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  padding: 0.65rem 1.1rem;
  background: var(--color-primary, #c45c26);
  color: #fff !important;
  font-weight: 600;
  border-radius: 0 0 8px 8px;
  text-decoration: none;
  width: auto;
  height: auto;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.skip-link:focus,
.skip-link:focus-visible {
  left: 12px;
  top: 0;
  clip: auto;
  overflow: visible;
  white-space: normal;
  outline: 3px solid #fff;
  outline-offset: 2px;
}
.sticky-cta {
  display: none !important;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(110%);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.sticky-cta.is-visible {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
html.fmh-consent-open .sticky-cta,
html.fmh-consent-open .sticky-cta.is-visible,
body.nav-open .sticky-cta,
body.nav-open .sticky-cta.is-visible {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.sticky-smart-cta,
#sticky-smart-cta {
  display: none !important;
}
body { padding-bottom: 0; }
body.has-sticky-cta-visible { padding-bottom: 5.5rem; }
@media (prefers-reduced-motion: reduce) {
  .sticky-cta { transition: none; }
}

/* === v18b team === */
.team-role-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  margin-top: 1.5rem;
}
@media (min-width: 640px) {
  .team-role-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .team-role-grid { grid-template-columns: 1fr 1fr 1fr; }
}
.team-role {
  background: var(--color-surface, #fff);
  border: 1px solid var(--color-border, #e5e7eb);
  border-radius: 14px;
  padding: 1.15rem 1.2rem 1.25rem;
  box-shadow: 0 8px 24px rgba(0,35,55,0.05);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-height: 100%;
}
.team-role--face {
  border-color: rgba(231,118,0,0.35);
  background: linear-gradient(180deg, #fffaf4 0%, #fff 55%);
}
.team-role__eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary, #e77600);
  font-weight: 700;
  margin: 0;
}
.team-role h3 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--color-navy, #002337);
}
.team-role p {
  margin: 0;
  color: var(--color-text-light, #5b6470);
  font-size: 0.94rem;
  line-height: 1.55;
}
.team-role__person {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.35rem;
}
.team-role__person img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}
.team-role__placeholder {
  margin-top: auto;
  padding-top: 0.65rem;
  border-top: 1px dashed var(--color-border, #e5e7eb);
  font-size: 0.8rem;
  color: #8a93a0;
}
.team-role__placeholder[hidden],
.team-role[data-partner-filled="false"] .team-role__partner-slot {
  /* slot stays in DOM for later fill; visually quiet */
}
.team-role__partner-slot {
  display: none; /* hidden until real partner name/photo filled */
}
.team-role[data-partner-filled="true"] .team-role__partner-slot {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.5rem;
}
.team-role[data-partner-filled="true"] .team-role__placeholder {
  display: none;
}
.team-intro-band {
  display: grid;
  gap: 1.25rem;
  align-items: center;
}
@media (min-width: 800px) {
  .team-intro-band { grid-template-columns: 1.2fr 0.8fr; }
}
.team-promise {
  background: #002337;
  color: #fff;
  border-radius: 16px;
  padding: 1.35rem 1.4rem;
}
.team-promise p { margin: 0.4rem 0 0; color: rgba(255,255,255,0.85); }
.team-promise strong { color: #fae4cc; }


/* === v19 grundstueck === */
.plot-hint, .field-hint.plot-hint {
  margin: 0.35rem 0 0;
  font-size: 0.86rem;
  color: var(--color-text-light, #5b6470);
  line-height: 1.45;
}
.form-group--plot select { width: 100%; }
.plot-check-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}
@media (min-width: 700px) {
  .plot-check-list { grid-template-columns: 1fr 1fr; }
}
.plot-check-list li {
  background: var(--color-surface, #fff);
  border: 1px solid var(--color-border, #e5e7eb);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  font-size: 0.94rem;
  line-height: 1.45;
}
.plot-check-list strong { display: block; color: var(--color-navy, #002337); margin-bottom: 0.2rem; }
.plot-sources {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}
@media (min-width: 700px) {
  .plot-sources { grid-template-columns: 1fr 1fr; }
}
.plot-sources a.card {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 1rem 1.1rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.plot-sources a.card:hover {
  border-color: rgba(231,118,0,0.45);
  box-shadow: 0 10px 28px rgba(0,35,55,0.08);
}
.plot-band {
  background: linear-gradient(135deg, #002337 0%, #0a3a52 55%, #123d2e 100%);
  color: #fff;
  border-radius: 18px;
  padding: 1.6rem 1.5rem;
  margin: 0;
}
.plot-band h2 { color: #fff; margin-top: 0; }
.plot-band p { color: rgba(255,255,255,0.88); }
.plot-band .btn--ghost { color: #fff; border-color: rgba(255,255,255,0.55); }
.home-plot-block {
  display: grid;
  gap: 1.25rem;
  align-items: center;
}
@media (min-width: 860px) {
  .home-plot-block { grid-template-columns: 1.15fr 0.85fr; }
}
.home-plot-block__card {
  background: #fff;
  border-radius: 16px;
  padding: 1.25rem 1.35rem;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 16px 40px rgba(0,0,0,0.18);
  color: var(--color-navy, #002337);
}
.home-plot-block__card p { color: var(--color-text-light); margin: 0.4rem 0 0; }
.home-plot-block__card ul { margin: 0.75rem 0 0; padding-left: 1.1rem; color: var(--color-text-light); }

/* v18c: readable trust line on dark hero */
.hero .cta-trust-line,
.hero .hero-trust-line,
.hero-trust-line { color: rgba(255,255,255,0.9) !important; }
.hero-card .cta-trust-line { color: var(--color-text-light) !important; }
