/* ============================================================
   DENOBIA – Hauptstylesheet
   Helle, reduzierte Apple-ähnliche Ästhetik
   Prototyp für spätere WordPress/Elementor Umsetzung
   ============================================================ */

/* --- 1. CSS Reset & Grundlagen -------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }


/* --- 2. Design-Tokens (CSS Custom Properties) ----------------- */
:root {
  /* Hintergrundfarben */
  --white:          #FFFFFF;
  --bg-warm:        #F8F6F2;
  --bg-subtle:      #F1EDE6;
  --bg-accent-light:#EBF2EE;

  /* Textfarben */
  --text-dark:      #1A1A1A;
  --text-mid:       #4A4848;
  --text-light:     #7A7672;
  --text-muted:     #ABA7A0;

  /* Akzentfarbe (Waldgrün – natürlich, nachhaltig) */
  --accent:         #3C6E52;
  --accent-hover:   #2E5540;
  --accent-light:   #EBF2EE;
  --accent-border:  #C2D9CC;

  /* Rahmenlinien */
  --border:         #E4E0D8;
  --border-light:   #EEEAE3;

  /* Typografische Größen */
  --text-xs:   0.75rem;   /*  12px */
  --text-sm:   0.875rem;  /*  14px */
  --text-base: 1rem;      /*  16px */
  --text-lg:   1.125rem;  /*  18px */
  --text-xl:   1.25rem;   /*  20px */
  --text-2xl:  1.5rem;    /*  24px */
  --text-3xl:  1.875rem;  /*  30px */
  --text-4xl:  2.25rem;   /*  36px */
  --text-5xl:  3rem;      /*  48px */
  --text-6xl:  3.75rem;   /*  60px */

  /* Abstände */
  --space-2:   0.5rem;
  --space-3:   0.75rem;
  --space-4:   1rem;
  --space-5:   1.25rem;
  --space-6:   1.5rem;
  --space-8:   2rem;
  --space-10:  2.5rem;
  --space-12:  3rem;
  --space-16:  4rem;
  --space-20:  5rem;
  --space-24:  6rem;

  /* Radien */
  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Schatten */
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.06);
  --shadow:    0 4px 14px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 36px rgba(0,0,0,0.10);
  --shadow-xl: 0 24px 56px rgba(0,0,0,0.12);

  /* Layout */
  --container-max:     1180px;
  --container-padding: 1.5rem;
  --nav-height:        72px;

  /* Übergänge */
  --ease:      0.22s ease;
  --ease-slow: 0.40s ease;
}


/* --- 3. Typografie -------------------------------------------- */
h1, h2, h3, h4, h5 {
  font-weight: 600;
  line-height: 1.25;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }

p {
  color: var(--text-mid);
  line-height: 1.75;
}

.text-sm  { font-size: var(--text-sm); }
.text-lg  { font-size: var(--text-lg); }
.text-mid { color: var(--text-mid); }
.text-light { color: var(--text-light); }


/* --- 4. Layout & Container ------------------------------------ */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

.section {
  padding-block: var(--space-24);
}

.section--warm {
  background-color: var(--bg-warm);
}

.section--subtle {
  background-color: var(--bg-subtle);
}

.section--accent {
  background-color: var(--bg-accent-light);
}

.section-header {
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: var(--space-16);
}

.section-header--left {
  margin-inline: 0;
  text-align: left;
}

.section-label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-4);
}

.section-heading {
  font-size: var(--text-4xl);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text-dark);
  margin-bottom: var(--space-4);
}

.section-subtext {
  font-size: var(--text-lg);
  color: var(--text-mid);
  line-height: 1.75;
}


/* --- 5. Buttons ----------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius-full);
  font-size: var(--text-base);
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: background-color var(--ease), color var(--ease),
              box-shadow var(--ease), transform var(--ease);
  white-space: nowrap;
}

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

.btn-primary {
  background-color: var(--accent);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(60, 110, 82, 0.25);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  box-shadow: 0 4px 16px rgba(60, 110, 82, 0.35);
}

.btn-secondary {
  background-color: var(--white);
  color: var(--text-dark);
  border: 1.5px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  background-color: var(--accent-light);
}

.btn-ghost {
  background: transparent;
  color: var(--accent);
  padding-inline: 0;
  font-weight: 600;
}

.btn-ghost:hover {
  color: var(--accent-hover);
  gap: 0.75rem;
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: var(--text-lg);
}

.btn-group {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}


/* --- 6. Navigation -------------------------------------------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--ease), box-shadow var(--ease);
}

.nav.scrolled {
  border-color: var(--border-light);
  box-shadow: var(--shadow-sm);
}

.nav__inner {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-padding);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
}

.nav__logo {
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text-dark);
  flex-shrink: 0;
}

.nav__logo span {
  color: var(--accent);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav__link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-mid);
  transition: color var(--ease);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1.5px;
  background-color: var(--accent);
  transform: scaleX(0);
  transition: transform var(--ease);
  transform-origin: left;
}

.nav__link:hover,
.nav__link.active {
  color: var(--text-dark);
}

.nav__link:hover::after,
.nav__link.active::after {
  transform: scaleX(1);
}

.nav__cta {
  flex-shrink: 0;
}

/* Mobile Hamburger */
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  cursor: pointer;
}

.nav__toggle span {
  display: block;
  height: 1.5px;
  background-color: var(--text-dark);
  border-radius: 2px;
  transition: transform var(--ease), opacity var(--ease);
}

.nav__toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile Nav Drawer */
.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  max-height: calc(100vh - var(--nav-height));
  overflow-y: auto;
  background-color: var(--white);
  border-bottom: 1px solid var(--border-light);
  padding: var(--space-6) var(--container-padding) var(--space-8);
  box-shadow: var(--shadow-lg);
  z-index: 99;
}

.nav__mobile.open { display: block; }

.nav__mobile-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.nav__mobile-link {
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--text-dark);
  padding-block: var(--space-2);
  border-bottom: 1px solid var(--border-light);
}


/* --- 7. Bild-Platzhalter -------------------------------------- */
/* Werden durch echte Projektbilder ersetzt */
.img-ph {
  background: linear-gradient(145deg, #E8E4DC 0%, #D6D0C4 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.img-ph--hero    { aspect-ratio: 4 / 3; }
.img-ph--wide    { aspect-ratio: 16 / 9; }
.img-ph--square  { aspect-ratio: 1 / 1; }
.img-ph--portrait{ aspect-ratio: 3 / 4; }
.img-ph--model   { aspect-ratio: 3 / 2; }

.img-ph__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4);
  text-align: center;
}

.img-ph__icon {
  width: 40px;
  height: 40px;
  color: var(--text-muted);
  opacity: 0.6;
}

.img-ph__label {
  font-size: var(--text-xs);
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.04em;
  max-width: 180px;
  line-height: 1.4;
}


/* --- 8. Hero (Startseite) ------------------------------------- */
.hero {
  padding-top: calc(var(--nav-height) + var(--space-20));
  padding-bottom: var(--space-24);
  background-color: var(--white);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background-color: var(--bg-accent-light);
  color: var(--accent);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-6);
  border: 1px solid var(--accent-border);
}

.hero__heading {
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text-dark);
  margin-bottom: var(--space-6);
}

.hero__heading em {
  font-style: normal;
  color: var(--accent);
}

.hero__subtext {
  font-size: var(--text-lg);
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: var(--space-10);
  max-width: 480px;
}

.hero__image-wrapper {
  position: relative;
}

.hero__image-wrapper .img-ph {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}

/* Kleines Highlight-Tag auf dem Hero-Bild */
.hero__tag {
  position: absolute;
  bottom: var(--space-6);
  left: var(--space-6);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: var(--space-3) var(--space-5);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.hero__tag-text { font-size: var(--text-sm); font-weight: 600; color: var(--text-dark); }
.hero__tag-sub  { font-size: var(--text-xs); color: var(--text-light); }

/* Stat-Chips unter dem Hero */
.hero__stats {
  display: flex;
  gap: var(--space-8);
  margin-top: var(--space-12);
  padding-top: var(--space-12);
  border-top: 1px solid var(--border-light);
}

.hero__stat-value {
  font-size: var(--text-3xl);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-dark);
}

.hero__stat-label {
  font-size: var(--text-sm);
  color: var(--text-light);
  margin-top: 2px;
}


/* --- 9. Intro-Bereich ----------------------------------------- */
.intro {
  padding-block: var(--space-20);
}

.intro__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.intro__quote {
  font-size: var(--text-2xl);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: var(--text-dark);
}

.intro__quote em {
  font-style: normal;
  color: var(--accent);
}

.intro__text p + p {
  margin-top: var(--space-4);
}


/* --- 10. Vorteile / Benefits ---------------------------------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.benefit-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-6);
  transition: box-shadow var(--ease), transform var(--ease);
}

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

.benefit-card__icon {
  width: 44px;
  height: 44px;
  background-color: var(--accent-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  color: var(--accent);
}

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

.benefit-card__title {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: var(--space-2);
}

.benefit-card__text {
  font-size: var(--text-sm);
  color: var(--text-light);
  line-height: 1.65;
}


/* --- 11. Produkt-Vorschau (Homepage) -------------------------- */
.products-intro__label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-3);
}

/* Mobilhäuser (3 Modelle) */
.model-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.model-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: box-shadow var(--ease), transform var(--ease);
}

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

.model-card__img .img-ph,
.model-card__img img {
  border-radius: 0;
  aspect-ratio: 3 / 2;
  width: 100%;
  object-fit: cover;
  display: block;
}

.model-card__body {
  padding: var(--space-6);
}

.model-card__tag {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-2);
}

.model-card__name {
  font-size: var(--text-2xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-3);
}

.model-card__desc {
  font-size: var(--text-sm);
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: var(--space-5);
}

.model-card__meta {
  display: flex;
  gap: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid var(--border-light);
}

.model-card__meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.model-card__meta-value {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text-dark);
}

.model-card__meta-label {
  font-size: var(--text-xs);
  color: var(--text-muted);
}


/* --- 12. Modularhaus Feature-Sektion (Homepage) --------------- */
.modular-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.modular-feature__image .img-ph {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.modular-feature__list {
  margin-top: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}

.feature-item__icon {
  width: 24px;
  height: 24px;
  background-color: var(--accent-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--accent);
}

.feature-item__icon svg { width: 14px; height: 14px; }

.feature-item__title { font-size: var(--text-base); font-weight: 600; color: var(--text-dark); }
.feature-item__text  { font-size: var(--text-sm); color: var(--text-light); margin-top: 2px; }


/* --- 13. TinyGym & TinySauna ---------------------------------- */
.tiny-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}

.tiny-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--bg-warm);
  border: 1px solid var(--border-light);
}

.tiny-card__img .img-ph {
  border-radius: 0;
  aspect-ratio: 16 / 9;
}

.tiny-card__body {
  padding: var(--space-8);
}

.tiny-card__eyebrow {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-3);
}

.tiny-card__heading {
  font-size: var(--text-2xl);
  font-weight: 700;
  margin-bottom: var(--space-3);
}

.tiny-card__text {
  font-size: var(--text-base);
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: var(--space-6);
}


/* --- 14. Ablauf / Prozessschritte ----------------------------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  position: relative;
}

/* Verbindungslinie zwischen Schritten */
.steps-grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(12.5% + 28px);
  right: calc(12.5% + 28px);
  height: 1px;
  background: linear-gradient(90deg, var(--accent-border), var(--accent-border));
  z-index: 0;
}

.step-item {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: var(--space-6) var(--space-4);
}

.step-item__number {
  width: 56px;
  height: 56px;
  background-color: var(--accent);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-lg);
  font-weight: 700;
  margin: 0 auto var(--space-5);
  box-shadow: 0 4px 12px rgba(60, 110, 82, 0.30);
}

.step-item__title {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: var(--space-2);
}

.step-item__text {
  font-size: var(--text-sm);
  color: var(--text-light);
  line-height: 1.6;
}


/* --- 15. Vertrauen / Trust-Bereich ---------------------------- */
.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.trust-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.trust-badge {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.trust-badge__icon {
  color: var(--accent);
  flex-shrink: 0;
}

.trust-badge__icon svg { width: 28px; height: 28px; }

.trust-badge__title { font-size: var(--text-sm); font-weight: 600; color: var(--text-dark); }
.trust-badge__sub   { font-size: var(--text-xs); color: var(--text-muted); margin-top: 2px; }

.trust-image .img-ph {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}


/* --- 16. FAQ -------------------------------------------------- */
.faq-list {
  max-width: 720px;
  margin-inline: auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-light);
}

.faq-item:first-child {
  border-top: 1px solid var(--border-light);
}

.faq-item__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding: var(--space-6) 0;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text-dark);
  text-align: left;
  transition: color var(--ease);
  background: none;
  border: none;
  cursor: pointer;
}

.faq-item__trigger:hover { color: var(--accent); }

.faq-item__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: var(--bg-subtle);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--ease), transform var(--ease);
}

.faq-item.open .faq-item__icon {
  background-color: var(--accent-light);
  transform: rotate(45deg);
}

.faq-item__icon svg { width: 12px; height: 12px; color: var(--text-mid); }
.faq-item.open .faq-item__icon svg { color: var(--accent); }

.faq-item__content {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease, padding 0.2s ease;
}

.faq-item.open .faq-item__content {
  max-height: 500px;
}

.faq-item__answer {
  padding-bottom: var(--space-6);
  font-size: var(--text-base);
  color: var(--text-mid);
  line-height: 1.75;
}


/* --- 17. Abschluss-CTA --------------------------------------- */
.cta-section {
  background: linear-gradient(155deg, #2C5440 0%, #3C6E52 50%, #4A8464 100%);
  padding-block: var(--space-24);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(255,255,255,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.cta-section__label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: var(--space-5);
}

.cta-section__heading {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: var(--space-5);
  max-width: 600px;
  margin-inline: auto;
}

.cta-section__sub {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.75);
  margin-bottom: var(--space-10);
  max-width: 480px;
  margin-inline: auto;
}

.cta-section .btn-primary {
  background-color: var(--white);
  color: var(--accent-hover);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.cta-section .btn-primary:hover {
  background-color: var(--bg-warm);
  box-shadow: 0 6px 28px rgba(0,0,0,0.25);
}

.cta-section .btn-secondary {
  background: transparent;
  border-color: rgba(255,255,255,0.35);
  color: var(--white);
}

.cta-section .btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
}

.cta-note {
  margin-top: var(--space-5);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.5);
}


/* --- 18. Page-Hero (Unterseiten) ------------------------------ */
.page-hero {
  padding-top: calc(var(--nav-height) + var(--space-16));
  padding-bottom: var(--space-16);
  background-color: var(--bg-warm);
  border-bottom: 1px solid var(--border-light);
}

.page-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.page-hero__eyebrow {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-4);
}

.page-hero__heading {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-5);
}

.page-hero__sub {
  font-size: var(--text-lg);
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: var(--space-8);
}

.page-hero__image .img-ph {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

/* --- Legal Content (Datenschutz, Impressum, AGB) ----------------------- */
.legal-content {
  max-width: 760px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: var(--text-2xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-dark);
  margin-top: var(--space-12);
  margin-bottom: var(--space-4);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text-dark);
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
}

.legal-content p {
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: var(--space-4);
}

.legal-content ul {
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: var(--space-4);
  padding-left: var(--space-6);
}

.legal-content li {
  margin-bottom: var(--space-2);
}

.legal-content a {
  color: var(--accent);
  text-decoration: underline;
}

.legal-content a:hover {
  color: var(--accent-hover);
}

.legal-content strong {
  color: var(--text-dark);
}

/* Zeit-Chips */
.time-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--accent-light);
  color: var(--accent);
  font-size: var(--text-sm);
  font-weight: 600;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--accent-border);
}

.time-chips {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-top: var(--space-6);
}


/* --- 19. Modell-Detail (Mobil/Modular-Seite) ------------------ */
.model-detail {
  padding-block: var(--space-20);
  border-bottom: 1px solid var(--border-light);
}

.model-detail:last-child { border-bottom: none; }

.model-detail__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: start;
}

.model-detail__inner.reverse {
  direction: rtl;
}

.model-detail__inner.reverse > * {
  direction: ltr;
}

.model-detail__image .img-ph {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

/* Bild-Galerie für Modell-Details */
.model-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: var(--space-3);
}

.model-gallery .img-ph:first-child {
  grid-row: 1 / 3;
  border-radius: var(--radius-xl);
}

.model-gallery .img-ph:not(:first-child) {
  border-radius: var(--radius-lg);
}

.model-detail__badge {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-3);
}

.model-detail__name {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: var(--space-5);
}

.model-detail__desc {
  font-size: var(--text-lg);
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: var(--space-8);
}

/* Technische Merkmale */
.model-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}

.model-spec {
  background: var(--bg-warm);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: var(--space-4) var(--space-5);
}

.model-spec__value {
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-dark);
}

.model-spec__label {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-top: 2px;
}

/* Ausstattungsmerkmale Liste */
.model-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}

.model-feature-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--text-mid);
}

.model-feature-row svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex-shrink: 0;
}


/* --- 20. Kontaktseite ----------------------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: var(--space-16);
  align-items: start;
}

.contact-info__heading {
  font-size: var(--text-2xl);
  font-weight: 700;
  margin-bottom: var(--space-4);
}

.contact-info__text {
  font-size: var(--text-base);
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: var(--space-8);
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-10);
}

.contact-channel {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  background: var(--bg-warm);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  transition: box-shadow var(--ease);
}

.contact-channel:hover { box-shadow: var(--shadow-sm); }

.contact-channel__icon {
  width: 40px;
  height: 40px;
  background-color: var(--accent-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.contact-channel__icon svg { width: 20px; height: 20px; }

.contact-channel__label { font-size: var(--text-xs); color: var(--text-muted); }
.contact-channel__value { font-size: var(--text-base); font-weight: 600; color: var(--text-dark); }

.contact-promise {
  background: var(--bg-accent-light);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
}

.contact-promise__title {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--accent-hover);
  margin-bottom: var(--space-3);
}

.contact-promise ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.contact-promise li {
  font-size: var(--text-sm);
  color: var(--accent-hover);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

/* Formular */
.contact-form {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  box-shadow: var(--shadow);
}

.form-heading {
  font-size: var(--text-2xl);
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.form-subtext {
  font-size: var(--text-sm);
  color: var(--text-light);
  margin-bottom: var(--space-8);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.form-group {
  margin-bottom: var(--space-5);
}

.form-group:last-of-type { margin-bottom: 0; }

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: var(--space-2);
}

.form-label.required::after {
  content: ' *';
  color: var(--accent);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  background: var(--bg-warm);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: var(--text-base);
  color: var(--text-dark);
  transition: border-color var(--ease), box-shadow var(--ease), background-color var(--ease);
  appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(60, 110, 82, 0.12);
}

.form-textarea {
  min-height: 130px;
  resize: vertical;
  line-height: 1.65;
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M6 8l4 4 4-4' stroke='%238A8680' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 20px;
  padding-right: 2.5rem;
}

.form-privacy {
  font-size: var(--text-xs);
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: var(--space-4);
}

.form-privacy a {
  color: var(--accent);
  text-decoration: underline;
}

.form-success {
  display: none;
  background: var(--accent-light);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-align: center;
  margin-top: var(--space-5);
}

.form-success.visible { display: block; }

.form-success__icon { font-size: 2rem; margin-bottom: var(--space-3); }
.form-success__text { font-size: var(--text-base); font-weight: 600; color: var(--accent-hover); }


/* --- 21. Footer ----------------------------------------------- */
.footer {
  background-color: var(--text-dark);
  color: rgba(255,255,255,0.65);
  padding-block: var(--space-16);
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-10);
}

.footer__brand {
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--white);
  margin-bottom: var(--space-4);
}

.footer__brand span { color: var(--accent); }

.footer__tagline {
  font-size: var(--text-sm);
  line-height: 1.7;
  margin-bottom: var(--space-6);
}

.footer__social {
  display: flex;
  gap: var(--space-3);
}

.footer__social-link {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: background-color var(--ease), color var(--ease);
}

.footer__social-link:hover {
  background: rgba(255,255,255,0.15);
  color: var(--white);
}

.footer__social-link svg { width: 18px; height: 18px; }

.footer__col-title {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.40);
  margin-bottom: var(--space-5);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__link {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
  transition: color var(--ease);
}

.footer__link:hover { color: var(--white); }

.footer__bottom {
  margin-top: var(--space-12);
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.footer__copy {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.35);
}

.footer__legal {
  display: flex;
  gap: var(--space-6);
}

.footer__legal a {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.35);
  transition: color var(--ease);
}

.footer__legal a:hover { color: rgba(255,255,255,0.7); }


/* --- 22. Scroll-Reveal Animationen ---------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }


/* --- 23. Responsive ------------------------------------------- */
@media (max-width: 1024px) {
  .grid-3            { grid-template-columns: repeat(2, 1fr); }
  .benefits__grid    { grid-template-columns: repeat(2, 1fr); }
  .steps-grid        { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
  .footer__inner     { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hero__inner,
  .intro__inner,
  .modular-feature,
  .trust-grid,
  .page-hero__inner,
  .model-detail__inner,
  .model-detail__inner.reverse,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .model-detail__inner.reverse { direction: ltr; }

  .hero__stats {
    gap: var(--space-6);
  }

  .hero {
    padding-top: calc(var(--nav-height) + var(--space-12));
    padding-bottom: var(--space-16);
  }

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

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

@media (max-width: 768px) {
  :root {
    --container-padding: 1.25rem;
  }

  .nav__links,
  .nav__cta {
    display: none;
  }

  .nav__toggle { display: flex; }

  .section { padding-block: var(--space-16); }

  .section-heading { font-size: var(--text-3xl); }

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

  .form-row { grid-template-columns: 1fr; }

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

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-4);
  }

  .hero__stats {
    flex-wrap: wrap;
    gap: var(--space-8);
  }

  .model-specs { grid-template-columns: 1fr 1fr; }

  .trust-badges { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  h1 { font-size: var(--text-4xl); }
  .section-heading { font-size: var(--text-2xl); }
  .grid-3 { grid-template-columns: 1fr; }
  .benefits__grid { grid-template-columns: 1fr; }
  .model-specs { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .contact-form { padding: var(--space-6); }
}


/* ============================================================
   24. Nav Overlay (blur effect for mega menu)
   ============================================================ */

.nav-overlay {
  position: fixed;
  inset: 0;
  top: var(--nav-height);
  z-index: 97;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  background: transparent;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, backdrop-filter 0.25s ease;
}

.nav-overlay.active {
  opacity: 1;
  pointer-events: auto;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  background: rgba(248, 246, 242, 0.4);
}


/* ============================================================
   25. Nav Items & Chevron (mega menu triggers)
   ============================================================ */

.nav__item {
  position: relative;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nav__chevron {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  transition: transform var(--ease);
  opacity: 0.45;
}

.nav__item.mega-active .nav__chevron {
  transform: rotate(180deg);
  opacity: 1;
}

.nav__item.mega-active > a {
  color: var(--text-dark);
}

/* Remove the old underline-on-hover from mega nav links
   (the chevron rotation is enough feedback) */
.nav__item .nav__link::after {
  display: none;
}


/* ============================================================
   26. Mega Menu
   ============================================================ */

.mega {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.08);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 98;
}

.mega.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Two-column layout (Mobilhäuser) */
.mega__layout--two-col {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 0;
  padding: var(--space-8) 0;
}

/* Single-column layout (Modularhäuser, Kontakt, DENOBIA) */
.mega__layout {
  display: flex;
  gap: var(--space-10);
  padding: var(--space-8) 0;
}

/* Sidebar (model picker in Mobilhäuser) */
.mega__sidebar {
  padding: 0 var(--space-8) 0 0;
  border-right: 1px solid var(--border-light);
}

.mega__sidebar-label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-4);
  padding-left: var(--space-3);
}

.mega__model-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color var(--ease);
  margin-bottom: var(--space-1);
  gap: var(--space-4);
}

.mega__model-btn:hover,
.mega__model-btn.active {
  background: var(--bg-accent-light);
}

.mega__model-btn svg {
  width: 14px;
  height: 14px;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: color var(--ease), transform var(--ease);
}

.mega__model-btn.active svg,
.mega__model-btn:hover svg {
  color: var(--accent);
  transform: translateX(2px);
}

.mega__model-name {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  line-height: 1.3;
}

.mega__model-meta {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-top: 2px;
}

.mega__model-badge {
  font-size: 10px;
  font-weight: 600;
  background: var(--accent);
  color: var(--white);
  padding: 1px 7px;
  border-radius: var(--radius-full);
  letter-spacing: 0.03em;
  line-height: 1.6;
}

/* Panel (detail pane in Mobilhäuser) */
.mega__panel {
  padding: 0 0 0 var(--space-10);
}

.mega__panel-detail {
  animation: megaPanelIn 0.18s ease;
}

@keyframes megaPanelIn {
  from { opacity: 0; transform: translateX(6px); }
  to   { opacity: 1; transform: translateX(0); }
}

.mega__panel-heading {
  font-size: var(--text-lg);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-dark);
  margin-bottom: var(--space-3);
}

.mega__panel-desc {
  font-size: var(--text-sm);
  color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: var(--space-5);
  max-width: 380px;
}

/* Column (Modularhäuser / Kontakt / DENOBIA) */
.mega__col {
  min-width: 200px;
}

.mega__col-title {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-4);
}

/* Links inside mega menu */
.mega__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mega__links a {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-mid);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  transition: color var(--ease), background-color var(--ease);
  text-decoration: none;
}

.mega__links a:hover {
  color: var(--accent);
  background: var(--accent-light);
}

.mega__links a svg {
  width: 15px;
  height: 15px;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: color var(--ease);
}

.mega__links a:hover svg {
  color: var(--accent);
}


/* ============================================================
   27. Mobile Nav – Accordion
   ============================================================ */

.nav__mobile-section {
  border-bottom: 1px solid var(--border-light);
}

.nav__mobile-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) 0;
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--text-dark);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: color var(--ease);
}

.nav__mobile-trigger:hover { color: var(--accent); }

.nav__mobile-trigger svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform var(--ease), color var(--ease);
}

.nav__mobile-section.open .nav__mobile-trigger {
  color: var(--accent);
}

.nav__mobile-section.open .nav__mobile-trigger svg {
  transform: rotate(180deg);
  color: var(--accent);
}

.nav__mobile-sub {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding-bottom 0.3s ease;
  padding-left: var(--space-3);
  padding-bottom: 0;
}

.nav__mobile-section.open .nav__mobile-sub {
  max-height: 400px;
  padding-bottom: var(--space-4);
}

.nav__mobile-sub a {
  display: block;
  font-size: var(--text-sm);
  color: var(--text-mid);
  padding: var(--space-2) var(--space-2);
  border-radius: var(--radius-sm);
  transition: color var(--ease), background-color var(--ease);
  text-decoration: none;
}

.nav__mobile-sub a:hover {
  color: var(--accent);
  background: var(--accent-light);
}


/* ============================================================
   28. Hero – Vollflächiger Hintergrund mit Card
   ============================================================ */

/* Override old two-column hero layout */
.hero {
  position: relative;
  padding-top: 0;
  padding-bottom: 0;
  min-height: 88vh;
  align-items: center;
  background-color: var(--bg-subtle);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Real background image */
.hero__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}

/* Dark overlay for text readability */
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.28) 55%,
    rgba(0, 0, 0, 0.12) 100%
  );
  z-index: 1;
}

.hero__container {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--nav-height) + var(--space-16));
  padding-bottom: var(--space-20);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Frosted-glass content card – left-aligned, slightly compact */
.hero__content-card {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: var(--radius-xl);
  padding: var(--space-10) var(--space-10);
  max-width: 500px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10), 0 1px 4px rgba(0, 0, 0, 0.06);
}

/* Override old hero heading styles */
.hero__heading {
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--text-dark);
  margin-bottom: var(--space-6);
}

.hero__heading em {
  font-style: normal;
  color: var(--accent);
}

.hero__subtext {
  font-size: var(--text-lg);
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: var(--space-10);
  max-width: 430px;
}

.hero__stats {
  display: flex;
  gap: var(--space-8);
  margin-top: var(--space-8);
  padding-top: var(--space-8);
  border-top: 1px solid var(--border-light);
  flex-wrap: wrap;
}

.hero__stat-value {
  font-size: var(--text-2xl);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-dark);
}

.hero__stat-label {
  font-size: var(--text-xs);
  color: var(--text-light);
  margin-top: 2px;
}


/* ============================================================
   29. Comparison Toggle
   ============================================================ */

.compare-toggle {
  display: flex;
  justify-content: center;
  gap: 4px;
  background: var(--bg-subtle);
  padding: 4px;
  border-radius: var(--radius-full);
  max-width: 340px;
  margin-inline: auto;
  margin-bottom: var(--space-12);
}

.compare-toggle__btn {
  flex: 1;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-mid);
  transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
  background: transparent;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

/* "Mit DENOBIA" active → Denobia-Grün */
.compare-toggle__btn[data-state="with"].active {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(60, 110, 82, 0.30);
}

/* "Klassischer Weg" active → gedämpftes Rot */
.compare-toggle__btn[data-state="without"].active {
  background: #C97B7B;
  color: var(--white);
  box-shadow: 0 2px 8px rgba(180, 60, 60, 0.20);
}

.compare-toggle__btn:hover:not(.active) {
  color: var(--text-dark);
}

/* Card sets – leichtes Überlappen (Kartenspiel-Effekt) */
.compare-cards {
  display: flex;
  animation: compareIn 0.35s ease;
}

.compare-cards .benefit-card {
  flex: 1 1 0;
  min-width: 0;
  margin-left: -0.875rem;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.compare-cards .benefit-card:first-child { margin-left: 0; z-index: 1; }
.compare-cards .benefit-card:nth-child(2) { z-index: 2; }
.compare-cards .benefit-card:nth-child(3) { z-index: 3; }
.compare-cards .benefit-card:nth-child(4) { z-index: 4; }

/* Inaktive Cards (nicht gehoverte) leicht vergrauen */
.compare-cards:hover .benefit-card:not(:hover) {
  filter: brightness(0.88) saturate(0.65);
  transform: scale(0.99);
}

.compare-cards .benefit-card:hover {
  z-index: 5 !important;
  transform: translateY(-4px) scale(1.01) !important;
  box-shadow: var(--shadow-lg) !important;
  filter: none !important;
}

@keyframes compareIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Neutral/Klassischer Weg card variant – leicht rot, nicht knallig */
.benefit-card--neutral {
  background: #FDF3F3;
  border-color: #EDCECE;
}

.benefit-card__icon--neutral {
  background-color: #FAE5E5;
  color: #B05252;
}

.benefit-card--neutral .benefit-card__title {
  color: #5C1E1E;
}

.benefit-card--neutral .benefit-card__text {
  color: #8A4040;
}


/* ============================================================
   30. Responsive updates for new components
   ============================================================ */

@media (max-width: 1024px) {
  .compare-cards { flex-wrap: wrap; }
  .compare-cards .benefit-card { flex: 1 1 calc(50% + 0.875rem); margin-left: 0; z-index: auto !important; }
  .compare-cards .benefit-card:nth-child(odd) { margin-right: -0.875rem; }
  .mega__layout--two-col { grid-template-columns: 220px 1fr; }
}

@media (max-width: 900px) {
  .hero__content-card {
    max-width: 100%;
    padding: var(--space-8) var(--space-8);
  }
}

@media (max-width: 768px) {
  /* Mega menus not shown on mobile */
  .mega { display: none; }

  .hero__content-card {
    padding: var(--space-6) var(--space-6);
  }

  .compare-toggle {
    max-width: 100%;
  }

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

@media (max-width: 480px) {
  .compare-cards { flex-direction: column; }
  .compare-cards .benefit-card { margin-left: 0 !important; margin-right: 0 !important; flex: 1 1 auto; }

  .hero__content-card {
    padding: var(--space-6) var(--space-5);
  }
}


/* ============================================================
   UNTERSEITEN – Baureihen & Modelle (KABO / DMH / RYKI)
   ============================================================ */

/* --- Breadcrumb -------------------------------------------- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: .375rem;
  font-size: var(--text-sm);
  color: var(--text-light);
  margin-bottom: var(--space-6);
  flex-wrap: wrap;
}
.breadcrumb a {
  color: var(--text-light);
  transition: color .2s;
}
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb__sep { opacity: .4; }
.breadcrumb__current { color: var(--text-mid); }


/* --- Modell-Karten-Raster ---------------------------------- */
.model-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: var(--space-6);
}

.model-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--white);
  display: flex;
  flex-direction: column;
  transition: box-shadow .25s, transform .25s;
  text-decoration: none;
  color: inherit;
}
.model-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.model-card__img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}
.model-card__body {
  padding: var(--space-5) var(--space-5) var(--space-6);
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: .125rem;
}
.model-card__name {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text-dark);
}
.model-card__tagline {
  font-size: var(--text-sm);
  color: var(--text-mid);
  margin-bottom: var(--space-3);
  flex: 1;
}
.model-card__specs {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
  flex-wrap: wrap;
}
.model-card__spec-val {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--text-dark);
}
.model-card__spec-lbl {
  font-size: var(--text-xs);
  color: var(--text-light);
}


/* --- Raumflächen-Tabelle ----------------------------------- */
.areas-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}
.areas-table tr {
  border-bottom: 1px solid var(--border-light);
}
.areas-table tr:last-child { border-bottom: none; }
.areas-table td {
  padding: .55rem .25rem;
  color: var(--text-mid);
}
.areas-table td:last-child {
  text-align: right;
  font-weight: 600;
  color: var(--text-dark);
}


/* --- 2D/3D Plan-Duo --------------------------------------- */
.plan-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}
.plan-duo__item img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-warm);
  display: block;
}
.plan-duo__label {
  font-size: var(--text-xs);
  color: var(--text-light);
  text-align: center;
  margin-top: .5rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}


/* --- DMH Varianten-Trennlinie ------------------------------ */
.dmh-variant {
  padding-top: var(--space-16);
  border-top: 1px solid var(--border);
  margin-top: var(--space-16);
}
.dmh-variant--first,
.dmh-variant:first-child {
  padding-top: 0;
  border-top: none;
  margin-top: 0;
}


/* --- Grundrissvarianten-Karten ----------------------------- */
.floor-plans {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: var(--space-4);
}
.floor-plan-card {
  background: var(--bg-warm);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5);
}
.floor-plan-card__num {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: var(--space-1);
}
.floor-plan-card__meta {
  font-size: var(--text-sm);
  color: var(--text-mid);
  margin-bottom: var(--space-3);
  line-height: 1.4;
}
.floor-plan-card table {
  width: 100%;
  font-size: var(--text-xs);
  border-collapse: collapse;
}
.floor-plan-card table td {
  padding: .3rem .125rem;
  color: var(--text-mid);
}
.floor-plan-card table td:last-child {
  text-align: right;
  font-weight: 600;
  color: var(--text-dark);
  white-space: nowrap;
}
.floor-plan-card table tr {
  border-bottom: 1px solid var(--border-light);
}
.floor-plan-card table tr:last-child { border-bottom: none; }


/* --- mega__model-btn als Link ------------------------------ */
a.mega__model-btn {
  text-decoration: none;
  color: inherit;
  display: flex;
}

/* --- DMH Varianten-Hinweis --------------------------------- */
.dmh-variants-hint {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  background: var(--accent-light);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5);
  margin: var(--space-5) 0;
  font-size: var(--text-sm);
  color: var(--text-mid);
}
.dmh-variants-hint svg {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}
.dmh-variants-hint strong { color: var(--accent); }

/* --- DMH Upsell-Trenner ------------------------------------ */
.upsell-teaser {
  background: var(--text-dark);
  padding: var(--space-8) 0;
}
.upsell-teaser__inner {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.upsell-teaser__icon {
  width: 48px;
  height: 48px;
  background: var(--accent);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}
.upsell-teaser__text {
  font-size: var(--text-lg);
  font-weight: 600;
  color: white;
}

/* --- Home model-card als <a> ------------------------------ */
a.model-card {
  text-decoration: none;
  color: inherit;
}

/* --- Responsive Anpassungen ------------------------------- */
@media (max-width: 900px) {
  .plan-duo { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .model-grid { grid-template-columns: 1fr 1fr; }
  .floor-plans { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .model-grid { grid-template-columns: 1fr; }
  .floor-plans { grid-template-columns: 1fr; }
}
