/* ============================================================
   HENGSTER HAUSTECHNIK — Client-First (Finsweet) stylesheet
   Hand-written, no build step. Naming follows Client-First:
   - global classes: hyphenated, reusable (padding-global, container-large …)
   - component classes: namespaced with an underscore (nav_component, home_layout …)
   - combo/variant classes: is-* (button is-secondary …)
   ============================================================ */

/* ---------- Variables ---------- */
:root {
  /* colors */
  /* Grün-Skala auf 5 Töne reduziert (+ Creme & Weiß als Neutrale) */
  --color-ink: #1a2e1a;          /* 1 · Dunkelgrün (Text + dunkle Sections) */
  --color-forest: #1a2e1a;       /* → Dunkelgrün */
  --color-forest-deep: #1a2e1a;  /* → Dunkelgrün */
  --color-forest-hover: #2a5030; /* 2 · Dunkelgrün interaktiv / Akzent auf hell */
  --color-sage: #edf4e6;         /* 5 · helle Section-Fläche */
  --color-sage-mid: #edf4e6;     /* → Sage */
  --color-cream: #f0ece4;        /* Neutral (warm) */
  --color-moss: #5a7a5a;         /* → Muted */
  --color-moss-dark: #2a5030;    /* → Dunkelgrün interaktiv */
  --color-moss-light: #a8d890;   /* 4 · heller Akzent auf Dunkelgrün */
  --color-muted: #5a7a5a;        /* 3 · Muted (Sekundärtext, Akzente) */
  --color-muted-deep: #5a7a5a;   /* → Muted */
  --color-white: #ffffff;        /* Neutral */
  /* CI der Schwester-Seite hengster-haustechnik.de (bewusst außerhalb der Grün-Palette) */
  --color-haustechnik: #0a2e60;        /* Navy */
  --color-haustechnik-accent: #73d9fe; /* Cyan-Akzent */

  /* typography */
  --font-primary: "futura-pt", "Jost", system-ui, -apple-system, sans-serif;
  --text-h1: clamp(2.2rem, 1.6rem + 3vw, 3.8rem);
  --text-h2: clamp(2.1rem, 1.6rem + 2.4vw, 3.2rem);
  --text-h3: clamp(1.25rem, 1.1rem + 0.75vw, 1.6rem);
  --text-large: clamp(1.125rem, 1.05rem + 0.4vw, 1.25rem);
  --text-medium: clamp(1.0625rem, 1rem + 0.3vw, 1.125rem);
  --text-regular: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --text-small: 1rem;

  /* layout */
  --container-large: 1360px;
  --container-medium: 1100px;
  --container-small: 820px;
  --container-padding: clamp(1.5rem, 4vw, 2.5rem);
  --section-padding: clamp(4rem, 5vw, 5rem);
  --section-padding-medium: clamp(3rem, 6vw, 5rem);

  /* spacing scale */
  --spacing-tiny: 0.25rem;
  --spacing-xsmall: 0.5rem;
  --spacing-small: 1rem;
  --spacing-medium: 2rem;
  --spacing-large: 3rem;
  --spacing-xlarge: 4rem;
  --spacing-xxlarge: 5rem;

  /* radius + shadow */
  --radius-medium: 1rem;
  --radius-large: 1.5rem;
  --radius-xlarge: 2rem;
  --radius-round: 9999px;
  --shadow-card: 0 2px 24px rgba(26, 46, 26, 0.07);
  --shadow-card-hover: 0 8px 40px rgba(26, 46, 26, 0.13);
  --shadow-soft: 0 20px 50px -15px rgba(26, 46, 26, 0.18);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-primary);
  font-size: var(--text-medium);
  line-height: 1.3;
  color: var(--color-ink);
  background: var(--color-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 600; }
p { margin: 0; }
::selection { background: var(--color-ink); color: var(--color-sage); }

/* ============================================================
   GLOBAL CLASSES — structure
   ============================================================ */
.page-wrapper { position: relative; }
.main-wrapper { display: block; }

.padding-global {
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}
.container-large { width: 100%; max-width: var(--container-large); margin: 0 auto; }
.container-medium { width: 100%; max-width: var(--container-medium); margin: 0 auto; }
.container-small { width: 100%; max-width: var(--container-small); margin: 0 auto; }

.padding-section-large { padding-top: var(--section-padding); padding-bottom: var(--section-padding); }
.padding-section-medium { padding-top: var(--section-padding-medium); padding-bottom: var(--section-padding-medium); }

/* section background variants */
.background-color-white { background: var(--color-white); }
.background-color-sage { background: var(--color-sage); color: var(--color-ink); }
.background-color-forest { background: var(--color-forest); color: var(--color-cream); }
.border-top-faint { border-top: 1px solid rgba(26, 46, 26, 0.1); }

/* ============================================================
   GLOBAL CLASSES — spacing utilities (Client-First combo pattern)
   size class sets all sides, direction class zeroes the others
   ============================================================ */
.margin-tiny { margin: var(--spacing-tiny); }
.margin-xsmall { margin: var(--spacing-xsmall); }
.margin-small { margin: var(--spacing-small); }
.margin-medium { margin: var(--spacing-medium); }
.margin-large { margin: var(--spacing-large); }
.margin-xlarge { margin: var(--spacing-xlarge); }
.margin-top { margin-right: 0; margin-bottom: 0; margin-left: 0; }
.margin-bottom { margin-top: 0; margin-right: 0; margin-left: 0; }

/* ============================================================
   GLOBAL CLASSES — typography
   ============================================================ */
.heading-style-h1 { font-size: var(--text-h1); line-height: 1.05; letter-spacing: -0.02em; font-weight: 600; }
.heading-style-h2 { font-size: var(--text-h2); line-height: 1.05; letter-spacing: -0.015em; font-weight: 600; }
.heading-style-h3 { font-size: var(--text-h3); line-height: 1.2; letter-spacing: -0.01em; font-weight: 600; }
.text-size-large { font-size: var(--text-large); line-height: 1.3; }
.text-size-medium { font-size: var(--text-medium); line-height: 1.3; }
.text-size-regular { font-size: var(--text-regular); line-height: 1.3; }
.text-size-small { font-size: var(--text-small); line-height: 1.3; }
.text-weight-medium { font-weight: 500; }
.text-weight-semibold { font-weight: 600; }
.text-weight-bold { font-weight: 700; }
.text-color-ink { color: var(--color-ink); }
.text-color-muted { color: var(--color-muted); }
.text-color-muted-deep { color: var(--color-muted-deep); }
.text-color-sage { color: var(--color-sage); }
.text-color-moss { color: var(--color-muted); }
.text-color-moss-light { color: var(--color-moss-light); }
.text-style-allcaps { text-transform: uppercase; letter-spacing: 0.18em; }
.text-style-accent { color: var(--color-muted); }
.text-style-accent.is-light { color: var(--color-moss-light); }

/* ============================================================
   GLOBAL CLASSES — buttons
   ============================================================ */
.button {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xsmall);
  padding: 0.75rem 1.75rem;
  background: var(--color-forest);
  color: var(--color-cream);
  border: 1px solid transparent;
  border-radius: var(--radius-round);
  font-size: var(--text-small);
  font-weight: 500;
  line-height: 1.2;
  transition: all 0.3s ease;
}
.button:hover { background: var(--color-forest-hover); }
.button.is-nav { padding: 0.5rem 1.25rem; }
.button.is-full { width: 100%; justify-content: center; }
.form_submit { margin-top: 0.5rem; }
.button.is-secondary {
  background: transparent;
  color: var(--color-ink);
  border-color: rgba(26, 46, 26, 0.25);
}
.button.is-secondary:hover { background: var(--color-forest); color: var(--color-sage); border-color: var(--color-forest); }
.button.is-light { background: var(--color-sage); color: var(--color-forest); }
.button.is-light:hover { background: var(--color-white); }

/* ---------- Cross-brand band (Stammbetrieb Haustechnik) ---------- */
.crossbrand_layout { display: flex; flex-direction: column; align-items: flex-start; text-align: left; gap: 1.25rem; }
.crossbrand_layout .eyebrow { margin-bottom: 0; }
.crossbrand_text { font-size: var(--text-large); color: rgba(237, 244, 230, 0.82); line-height: 1.4; max-width: 46rem; }
.crossbrand_chips { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 0.6rem; }
.crossbrand_chip { font-size: var(--text-small); color: var(--color-sage); background: rgba(237, 244, 230, 0.1); border: 1px solid rgba(237, 244, 230, 0.18); border-radius: var(--radius-round); padding: 0.4rem 0.9rem; }
.crossbrand_actions { display: flex; flex-direction: column; align-items: flex-start; gap: 0.85rem; margin-top: 0.5rem; }
.crossbrand_media { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; width: 100%; margin-top: 1.75rem; }
.crossbrand_media-item { aspect-ratio: 4 / 3; border-radius: var(--radius-large); overflow: hidden; }
.crossbrand_media-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (min-width: 768px) { .crossbrand_media { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .crossbrand_media { grid-template-columns: repeat(4, 1fr); } }
.crossbrand_section { position: relative; overflow: hidden; background: var(--color-haustechnik); color: var(--color-cream); display: none; }
.crossbrand_section::before { content: ""; position: absolute; inset: 0; z-index: 0; background: url("../img/Heizung.png") right -2rem top -1rem / 520px auto no-repeat; opacity: 0.14; pointer-events: none; }
.crossbrand_section > .padding-global { position: relative; z-index: 1; }
.crossbrand_section .eyebrow.is-light,
.crossbrand_section .text-style-accent.is-light { color: var(--color-haustechnik-accent); }
.crossbrand_section .button.is-light { background: var(--color-white); color: var(--color-haustechnik); }
.crossbrand_section .button.is-light:hover { background: var(--color-haustechnik-accent); color: var(--color-haustechnik); }

/* eyebrow / kicker */
.eyebrow {
  display: inline-flex;
  align-items: center;
  font-size: var(--text-medium);
  font-weight: 500;
  letter-spacing: 0;
  color: var(--color-muted);
  margin-bottom: 2rem;
}
.eyebrow.is-light { color: var(--color-moss-light); }
.eyebrow.is-compact { margin-bottom: 1.25rem; }
/* dot removed from the eyebrow design — hidden globally so no markup edits are needed */
.eyebrow_dot { display: none; }

/* shared section header */
.section-header {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 4rem;
}
.section-header_text { font-size: var(--text-medium); color: var(--color-muted-deep); max-width: 24rem; line-height: 1.3; }
.section-header_text.is-light { color: rgba(237, 244, 230, 0.6); }
@media (min-width: 992px) {
  .section-header { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}

/* ============================================================
   COMPONENT — Navigation
   ============================================================ */
.nav_component {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(26, 46, 26, 0.1);
  transition: all 0.3s ease;
}
.nav_component.scrolled {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(26, 46, 26, 0.08);
}
.nav_container {
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}
.nav_row { display: flex; align-items: center; justify-content: space-between; height: 5.5rem; max-width: var(--container-large); margin: 0 auto; }
.nav_logo { display: flex; align-items: center; }
.nav_logo img { height: clamp(2.5rem, 6vw, 3.125rem); width: auto; }
.nav_menu { display: none; align-items: center; gap: 0.25rem; }
.nav_link {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  line-height: 1.2;
  border-radius: var(--radius-round);
  font-size: 16px;
  font-weight: 500;
  color: var(--color-ink);
  transition: all 0.3s ease;
}
.nav_link:hover { background: var(--color-sage-mid); }
.nav_link.is-current { background: rgba(90, 122, 90, 0.12); color: var(--color-muted-deep); }
.nav_button-wrap { display: flex; align-items: center; gap: 0.75rem; }
.nav_cta { font-size: var(--text-small); }
.nav_menu-button {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.375rem;
  width: 2.25rem; height: 2.25rem;
  border: 0; background: transparent;
  border-radius: 0.5rem;
  transition: background 0.2s ease;
}
.nav_menu-button:hover { background: var(--color-sage-mid); }
.nav_bar { display: block; width: 1.25rem; height: 1px; background: var(--color-ink); transition: all 0.3s ease; }
.nav_bar.is-short { width: 1rem; }

.nav_mobile {
  position: fixed;
  top: 5.5rem; left: 0; right: 0; bottom: 0;
  z-index: 45;
  background: var(--color-sage);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem var(--container-padding) 3rem;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}
.nav_mobile.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.nav_mobile-inner { display: flex; flex-direction: column; }
.nav_mobile-link {
  font-size: clamp(1.75rem, 6vw, 2.75rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--color-ink);
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(26, 46, 26, 0.1);
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.nav_mobile-link:hover { color: var(--color-muted); padding-left: 0.5rem; }
.nav_mobile .button { align-self: flex-start; margin-top: 2rem; font-size: var(--text-large); padding: 0.875rem 2rem; }

@media (min-width: 992px) {
  .nav_menu { display: flex; }
  .nav_menu-button { display: none; }
  .nav_mobile { display: none; }
}
@media (max-width: 991px) {
  .nav_component { background: #fff; }
  /* Kein backdrop-filter auf Mobile: erzeugt sonst einen Containing-Block,
     wodurch das fixed positionierte .nav_mobile beim Scrollen zusammenklappt. */
  .nav_component.scrolled { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav_cta { display: none; }
}

/* ============================================================
   COMPONENT — Hero (section_home)
   ============================================================ */
.section_home { background: var(--color-white); padding-top: calc(5.5rem + 2rem); }
.home_layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-top: 4rem;
  padding-bottom: 4rem;
}
.home_visual { order: 2; }
.home_image-wrap {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 40 / 21;
  box-shadow: var(--shadow-soft);
  outline: 1px solid rgba(26, 46, 26, 0.05);
}
.home_photo { width: 100%; height: 100%; object-fit: cover; object-position: 100% 100%; }
.home_image-overlay {
  position: absolute; inset-inline: 0; bottom: 0; height: 14rem;
  background: linear-gradient(to top, rgba(0,0,0,0.55), rgba(0,0,0,0.2), transparent);
  pointer-events: none;
}
.home_quick-wrap { position: absolute; left: 1.5rem; right: 1.5rem; bottom: 1.5rem; }
.home_quick-label { font-size: var(--text-small); text-transform: uppercase; letter-spacing: 0.18em; color: rgba(255,255,255,0.75); margin-bottom: 0.75rem; padding-left: 0.5rem; }
.home_quick-links { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.home_quick-link {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.875rem 1.25rem;
  border-radius: var(--radius-medium);
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  transition: all 0.3s ease;
}
.home_quick-link:hover { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.4); }
.home_quick-link-label { display: inline-flex; align-items: center; gap: 0.625rem; font-size: var(--text-small); font-weight: 500; }
.home_quick-link-arrow { width: 1.75rem; height: 1.75rem; border-radius: var(--radius-round); background: rgba(255,255,255,0.15); display: inline-flex; align-items: center; justify-content: center; transition: all 0.3s ease; }
.home_quick-link:hover .home_quick-link-arrow { background: #fff; color: var(--color-forest); }

.home_content { order: 1; display: flex; flex-direction: column; justify-content: center; }
.home_bullet-list { display: flex; flex-direction: column; max-width: 32rem; border-top: 1px solid rgba(26,46,26,0.1); margin-top: 2.5rem; margin-bottom: 3rem; }
.home_bullet { display: flex; align-items: center; gap: 1.25rem; padding: 1.25rem 0.5rem; margin: 0 -0.5rem; border-bottom: 1px solid rgba(26,46,26,0.1); }
.home_bullet:last-child { border-bottom: 0; }
.home_bullet-icon { width: 2.75rem; height: 2.75rem; border-radius: var(--radius-medium); background: linear-gradient(135deg, rgba(90,122,90,0.15), rgba(90,122,90,0.05)); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; outline: 1px solid rgba(90,122,90,0.15); }
.home_bullet-text { flex: 1; }
.home_bullet-title { font-size: var(--text-medium); font-weight: 500; color: var(--color-ink); line-height: 1.3; }
.home_bullet-sub { font-size: var(--text-small); color: var(--color-muted); margin-top: 0.125rem; }
.home_actions { display: flex; flex-direction: column; flex-wrap: wrap; gap: 0.75rem; }
@media (min-width: 640px) { .home_actions { flex-direction: row; align-items: center; } }
.home_action-mail { display: inline-flex; align-items: center; gap: 0.75rem; height: 3.5rem; padding: 0 0.5rem 0 1.25rem; background: var(--color-forest); color: var(--color-sage); border-radius: var(--radius-round); transition: all 0.3s ease; box-shadow: var(--shadow-card); }
.home_action-mail:hover { background: var(--color-forest-hover); box-shadow: var(--shadow-card-hover); }
.home_action-mail-label { font-size: var(--text-small); font-weight: 500; }
.home_action-mail-arrow { width: 2.25rem; height: 2.25rem; border-radius: var(--radius-round); background: var(--color-muted); display: inline-flex; align-items: center; justify-content: center; }
.home_action-phone { display: inline-flex; align-items: center; gap: 0.75rem; height: 3.5rem; padding: 0 1.5rem 0 0.5rem; border: 1px solid rgba(26,46,26,0.25); border-radius: var(--radius-round); color: var(--color-ink); transition: all 0.3s ease; }
.home_action-phone:hover { border-color: var(--color-forest); background: var(--color-forest); color: var(--color-sage); }
.home_action-phone-icon { width: 2.5rem; height: 2.5rem; border-radius: var(--radius-round); background: rgba(90,122,90,0.15); display: inline-flex; align-items: center; justify-content: center; }
.home_action-phone-label { font-size: var(--text-small); font-weight: 500; }

@media (min-width: 992px) {
  .home_layout { grid-template-columns: 1.05fr 1fr; align-items: start; gap: 0; padding-top: 3rem; padding-bottom: 4rem; }
  .home_visual { order: 1; padding-right: 4rem; }
  .home_image-wrap { aspect-ratio: 1 / 1; }
  .home_content { order: 2; padding-left: 2rem; }
}
@media (max-width: 600px) {
  .home_image-wrap { aspect-ratio: 4 / 5; }
}

/* ============================================================
   COMPONENT — Service cards
   ============================================================ */
.service_grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.service_card { background: var(--color-white); border-radius: var(--radius-large); outline: 1px solid rgba(26,46,26,0.05); padding: 1.75rem; display: flex; flex-direction: column; gap: 1.25rem; }
.service_icon { width: 3.5rem; height: 3.5rem; border-radius: var(--radius-medium); background: var(--color-sage-mid); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.service_icon-img { width: 1.875rem; height: 1.875rem; object-fit: contain; }
.service_title { font-size: 1.4rem; font-weight: 600; color: var(--color-ink); line-height: 1.15; letter-spacing: -0.01em; }
.service_text { font-size: var(--text-medium); color: var(--color-muted-deep); line-height: 1.3; }
@media (min-width: 640px) { .service_grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 992px) { .service_grid { grid-template-columns: repeat(4, 1fr); } }

/* ============================================================
   COMPONENT — Leistungen cards
   ============================================================ */
.leistungen_grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.leistungen_card { background: var(--color-sage); border-radius: var(--radius-large); overflow: hidden; display: flex; flex-direction: column; }
.leistungen_image-wrap { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: linear-gradient(135deg, #a8c8e8, #4a7090); }
.leistungen_image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.leistungen_image.is-zoom { transform: scale(1.3); transform-origin: 32% center; }
.leistungen_body { padding: 1.75rem; display: flex; flex-direction: column; gap: 1rem; flex: 1; }
.leistungen_title { font-size: var(--text-large); font-weight: 600; color: var(--color-ink); line-height: 1.15; letter-spacing: -0.01em; padding-bottom: 1rem; border-bottom: 1px solid rgba(26,46,26,0.1); }
@media (min-width: 640px) { .leistungen_grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 992px) { .leistungen_grid { grid-template-columns: repeat(3, 1fr); } }

/* ============================================================
   COMPONENT — Förderung
   ============================================================ */
.foerderung_intro { display: grid; grid-template-columns: 1fr; gap: 4rem; align-items: start; margin-bottom: 4rem; }
.foerderung_stat { font-size: clamp(7rem, 5rem + 12vw, 12rem); font-weight: 700; color: rgba(26, 46, 26, 0.28); line-height: 1; letter-spacing: -0.03em; }
.foerderung_stat sup, .foerderung_stat .foerderung_stat-pct { font-size: 0.45em; margin-left: 0.12em; }
.foerderung_stat-block { display: flex; flex-direction: column; align-items: flex-start; gap: 0.5rem; text-align: left; }
.foerderung_stat-note { font-size: var(--text-small); color: var(--color-muted-deep); max-width: 13.75rem; }
@media (min-width: 640px) { .foerderung_stat-block { align-items: flex-end; text-align: right; } }
.foerderung_grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; margin-bottom: 3.5rem; }
.foerderung_card { background: var(--color-white); border: 1px solid rgba(26,46,26,0.08); border-radius: var(--radius-large); padding: 1.75rem; display: flex; flex-direction: column; gap: 1.25rem; height: 100%; transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease; }
.foerderung_link:hover .foerderung_card { border-color: rgba(90,122,90,0.4); box-shadow: var(--shadow-card-hover); transform: translateY(-3px); }
.foerderung_badge { align-self: flex-start; min-width: 3rem; height: 3rem; padding: 0 0.85rem; white-space: nowrap; border-radius: var(--radius-medium); background: rgba(26,46,26,0.1); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: var(--text-small); letter-spacing: -0.01em; color: var(--color-forest); }
.foerderung_intro-title { margin-bottom: 1.5rem; }
.foerderung_badge.is-kfw { color: #00508c; background: rgba(0, 80, 140, 0.08); }
.foerderung_badge.is-bafa { color: #00643c; background: rgba(0, 100, 60, 0.08); }
.foerderung_badge.is-bayern { color: #961414; background: rgba(150, 20, 20, 0.08); }
.foerderung_card-title { font-size: 1.05rem; font-weight: 600; color: var(--color-ink); line-height: 1.25; margin-bottom: 0.5rem; }
.foerderung_card-text { font-size: var(--text-small); color: var(--color-muted-deep); line-height: 1.3; }
.foerderung_card-footer { margin-top: auto; padding-top: 1rem; border-top: 1px solid rgba(26,46,26,0.1); }
.foerderung_card-amount { font-size: 1.5rem; font-weight: 700; color: var(--color-ink); transition: color 0.25s ease; }
.foerderung_card-meta { font-size: var(--text-small); color: var(--color-muted); margin-top: 0.125rem; }
.foerderung_link:hover .foerderung_card-amount { color: var(--color-moss-dark); }
.foerderung_process { border: 1px solid rgba(26,46,26,0.12); border-radius: var(--radius-large); overflow: hidden; background: var(--color-white); }
.foerderung_process-head { padding: 1.5rem 2rem; border-bottom: 1px solid rgba(26,46,26,0.1); }
.foerderung_process-title { font-size: var(--text-large); font-weight: 600; color: var(--color-ink); }
.foerderung_steps { display: grid; grid-template-columns: 1fr; }
.foerderung_step { padding: 1.75rem; border-top: 1px solid rgba(26,46,26,0.1); }
.foerderung_step-num { font-size: 2.25rem; font-weight: 700; color: rgba(90,122,90,0.2); margin-bottom: 1rem; }
.foerderung_step-title { font-size: var(--text-small); font-weight: 600; color: var(--color-ink); margin-bottom: 0.5rem; }
.foerderung_step-text { font-size: var(--text-small); color: var(--color-muted); line-height: 1.3; }
/* Förderprozess als Timeline */
.foerderung_timeline-title { margin-bottom: 2.5rem; }
.foerderung_timeline-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; position: relative; }
.foerderung_timeline-steps::before { content: ""; position: absolute; top: 1.5rem; left: 1.5rem; right: 1.5rem; height: 2px; background: rgba(26, 46, 26, 0.12); }
.foerderung_timeline-step { position: relative; transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.foerderung_timeline-num { position: relative; z-index: 1; width: 3rem; height: 3rem; border-radius: 50%; background: var(--color-forest); color: var(--color-sage); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: var(--text-medium); margin-bottom: 1.25rem; transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.6s ease; }
.foerderung_timeline-steps.is-prep .foerderung_timeline-step { opacity: 0; transform: translateY(20px); }
.foerderung_timeline-steps.is-prep .foerderung_timeline-num { transform: scale(0.3); opacity: 0; }
.foerderung_timeline-steps.is-animated .foerderung_timeline-step { opacity: 1; transform: none; }
.foerderung_timeline-steps.is-animated .foerderung_timeline-num { transform: scale(1); opacity: 1; }
.foerderung_timeline-steps.is-animated .foerderung_timeline-step:nth-child(2),
.foerderung_timeline-steps.is-animated .foerderung_timeline-step:nth-child(2) .foerderung_timeline-num { transition-delay: 0.3s; }
.foerderung_timeline-steps.is-animated .foerderung_timeline-step:nth-child(3),
.foerderung_timeline-steps.is-animated .foerderung_timeline-step:nth-child(3) .foerderung_timeline-num { transition-delay: 0.6s; }
.foerderung_timeline-steps.is-animated .foerderung_timeline-step:nth-child(4),
.foerderung_timeline-steps.is-animated .foerderung_timeline-step:nth-child(4) .foerderung_timeline-num { transition-delay: 0.9s; }
@media (max-width: 767px) {
  .foerderung_timeline-steps { grid-template-columns: 1fr; gap: 1.75rem; }
  .foerderung_timeline-steps::before { top: 1.5rem; bottom: 1.5rem; left: 1.5rem; right: auto; width: 2px; height: auto; }
  .foerderung_timeline-step { display: grid; grid-template-columns: 3rem 1fr; column-gap: 1.25rem; align-items: start; }
  .foerderung_timeline-num { grid-column: 1; grid-row: 1 / 3; margin-bottom: 0; }
  .foerderung_step-title { grid-column: 2; align-self: center; }
  .foerderung_step-text { grid-column: 2; }
}
@media (min-width: 992px) {
  .foerderung_intro { grid-template-columns: 1fr 1fr; gap: 6rem; }
  .foerderung_grid { grid-template-columns: repeat(4, 1fr); }
  .foerderung_steps { grid-template-columns: repeat(4, 1fr); }
  .foerderung_step { border-top: 0; border-left: 1px solid rgba(26,46,26,0.1); }
  .foerderung_step:first-child { border-left: 0; }
}
@media (min-width: 640px) and (max-width: 991px) {
  .foerderung_intro { grid-template-columns: 1fr 1fr; }
  .foerderung_grid { grid-template-columns: 1fr 1fr; }
  .foerderung_steps { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   COMPONENT — Partner (on forest background)
   ============================================================ */
.partner_block { margin-bottom: 3rem; }
.partner_block.is-last { margin-bottom: 0; }
.partner_label { font-size: var(--text-small); color: rgba(237,244,230,0.6); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1.25rem; padding-bottom: 0.75rem; border-bottom: 1px solid rgba(237,244,230,0.15); }
.partner_grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.partner_grid.is-brands { grid-template-columns: 1fr 1fr; }
.partner_grid.is-partners { grid-template-columns: 1fr; }
.cert_card { grid-column: span 2; background: var(--color-white); border: 1px solid rgba(237,244,230,0.15); border-radius: var(--radius-medium); padding: 1rem; display: flex; align-items: center; justify-content: center; min-height: 6.875rem; }
.cert_logo { max-height: 100%; max-width: 100%; object-fit: contain; }
.brand_card { background: rgba(255,255,255,0.05); border: 1px solid rgba(237,244,230,0.15); border-radius: var(--radius-medium); padding: 1.5rem; text-align: center; display: flex; align-items: center; justify-content: center; min-height: 6.875rem; transition: all 0.3s ease; }
a.brand_card:hover { background: rgba(255,255,255,0.1); border-color: rgba(168,216,144,0.4); }
.brand_name { font-size: 1.5rem; font-weight: 800; color: var(--color-sage); letter-spacing: -0.01em; line-height: 1.1; transition: color 0.3s ease; }
a.brand_card:hover .brand_name { color: var(--color-moss-light); }
.brand_meta { display: block; margin-top: 0.25rem; font-size: var(--text-small); font-weight: 400; color: rgba(237,244,230,0.7); }
@media (min-width: 640px) {
  .partner_grid.is-brands { grid-template-columns: repeat(3, 1fr); }
  .partner_grid.is-partners { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 992px) {
  .partner_grid.is-brands { grid-template-columns: repeat(5, 1fr); }
}

/* ============================================================
   COMPONENT — Contact
   ============================================================ */
.contact_layout { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: start; }
.contact_info { display: flex; flex-direction: column; gap: 1.25rem; }
.contact_card-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.contact_card { background: var(--color-white); border: 1px solid rgba(26,46,26,0.1); border-radius: var(--radius-medium); padding: 1.25rem; display: flex; gap: 1rem; align-items: flex-start; transition: all 0.2s ease; }
a.contact_card:hover { border-color: rgba(90,122,90,0.4); box-shadow: var(--shadow-card); }
.contact_card-icon { width: 2.5rem; height: 2.5rem; border-radius: 0.75rem; background: rgba(90,122,90,0.1); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.contact_card-label { font-size: var(--text-small); color: var(--color-muted); margin-bottom: 0.25rem; }
.contact_card-value { font-size: var(--text-small); font-weight: 500; color: var(--color-ink); }
.contact_people { background: var(--color-white); border: 1px solid rgba(26,46,26,0.1); border-radius: var(--radius-medium); padding: 1.5rem; }
.contact_people-label { font-size: var(--text-small); color: var(--color-muted); margin-bottom: 1.25rem; }
.contact_person { display: flex; align-items: center; gap: 0.75rem; }
.contact_person + .contact_person { margin-top: 1rem; }
.contact_person-name { font-size: var(--text-small); font-weight: 600; color: var(--color-ink); }
.contact_person-role { font-size: var(--text-small); color: var(--color-muted); }

.contact_form-wrap { background: var(--color-white); border: 1px solid rgba(26,46,26,0.1); border-radius: var(--radius-medium); padding: 2rem; box-shadow: var(--shadow-card); }
.contact_form { display: flex; flex-direction: column; gap: 1rem; }
.form_row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form_label { display: block; font-size: var(--text-small); font-weight: 500; color: var(--color-muted); margin-bottom: 0.5rem; }
.form_input, .form_select, .form_textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--color-sage);
  border: 1px solid rgba(26,46,26,0.12);
  border-radius: 0.5rem;
  font-family: inherit;
  font-size: var(--text-small);
  color: var(--color-ink);
  transition: all 0.2s ease;
}
.form_input::placeholder, .form_textarea::placeholder { color: rgba(26,46,26,0.25); }
.form_input:focus, .form_select:focus, .form_textarea:focus { outline: none; border-color: rgba(90,122,90,0.5); box-shadow: 0 0 0 2px rgba(90,122,90,0.1); }
.form_textarea { resize: none; }
.form_select { appearance: none; }
.form_hp { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.form_checkbox-row { display: flex; align-items: flex-start; gap: 0.75rem; cursor: pointer; }
.form_checkbox { margin-top: 0.125rem; flex: 0 0 auto; accent-color: var(--color-muted); }
.form_checkbox-text { font-size: var(--text-small); color: var(--color-muted); line-height: 1.3; }
.form_checkbox-text a { text-decoration: underline; }
.form_success { text-align: center; padding: 0.75rem 0; font-size: var(--text-small); font-weight: 500; color: var(--color-moss-dark); }
.form_error { text-align: center; padding: 0.75rem 0; font-size: var(--text-small); font-weight: 500; color: #b91c1c; }
.form_error a { color: inherit; text-decoration: underline; }
@media (min-width: 992px) {
  .contact_layout { grid-template-columns: 1fr 1fr; gap: 5rem; }
  .contact_form-wrap { padding: 2.5rem; }
}

/* ============================================================
   COMPONENT — Footer
   ============================================================ */
.footer_component { border-top: 1px solid rgba(237,244,230,0.1); background: var(--color-forest-deep); }
.footer_inner { width: 100%; max-width: var(--container-large); margin: 0 auto; padding: 4rem var(--container-padding); display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
.footer_logo { height: 2.2rem; width: auto; filter: brightness(0) invert(1); opacity: 0.6; }
.footer_tagline { font-size: var(--text-small); color: rgba(237,244,230,0.4); line-height: 1.3; margin: 1.25rem 0; }
.footer_contact { display: flex; flex-direction: column; gap: 0.5rem; }
.footer_contact-link { font-size: var(--text-small); color: rgba(237,244,230,0.4); transition: color 0.2s ease; }
.footer_contact-link:hover { color: var(--color-moss-light); }
.footer_heading { font-size: var(--text-small); color: rgba(237,244,230,0.25); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1.25rem; }
.footer_nav { display: flex; flex-direction: column; gap: 0.75rem; }
.footer_link { font-size: var(--text-small); color: rgba(237,244,230,0.45); transition: color 0.2s ease; }
.footer_link:hover { color: var(--color-moss-light); }
.footer_bottom { border-top: 1px solid rgba(237,244,230,0.1); margin: 0 var(--container-padding); }
.footer_bottom-inner { max-width: var(--container-large); margin: 0 auto; padding: 1.5rem 0; display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 0.75rem; }
.footer_copy { font-size: var(--text-small); color: rgba(237,244,230,0.25); }
.footer_legal { display: flex; gap: 1.5rem; }
.footer_legal-link { font-size: var(--text-small); color: rgba(237,244,230,0.3); transition: color 0.2s ease; }
.footer_legal-link:hover { color: var(--color-moss-light); }
@media (min-width: 640px) {
  .footer_inner { grid-template-columns: 1fr 1fr; }
  .footer_bottom-inner { flex-direction: row; }
}

/* ============================================================
   COMPONENT — Back to top
   ============================================================ */
.back-to-top {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 50;
  width: 2.75rem; height: 2.75rem;
  border: 0; border-radius: var(--radius-round);
  background: var(--color-forest); color: var(--color-sage);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transform: translateY(0.75rem);
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
}
.back-to-top:hover { background: var(--color-forest-hover); }
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* ============================================================
   UTILITIES
   ============================================================ */
.hidden { display: none !important; }
.fade-up { opacity: 0; transform: translateY(10px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.33, 1, 0.68, 1); will-change: opacity, transform; }
.fade-up.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   COMPONENT — Sub-pages (Wissen, articles, legal)
   ============================================================ */
.main-wrapper.is-subpage { padding-top: 5.5rem; }
.subpage_lead { font-size: var(--text-medium); color: var(--color-muted-deep); line-height: 1.3; max-width: 42rem; margin-top: var(--spacing-medium); }
.subpage_lead.is-light { color: rgba(237, 244, 230, 0.7); }
.subpage_section-head { margin-bottom: 3.5rem; }

/* ---------- Article cards (overview + related grids) ---------- */
.article_grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.article_card { display: flex; flex-direction: column; background: var(--color-sage); border-radius: var(--radius-large); padding: 1rem; transition: box-shadow 0.2s ease; }
.article_card:hover { box-shadow: var(--shadow-card); }
.article_card-media { aspect-ratio: 4 / 3; border-radius: var(--radius-medium); overflow: hidden; margin-bottom: 1.25rem; display: flex; align-items: center; justify-content: center; }
.article_card-placeholder { font-size: var(--text-small); text-transform: uppercase; letter-spacing: 0.18em; color: rgba(255, 255, 255, 0.7); }
.article_card-category { font-size: var(--text-medium); font-weight: 500; color: var(--color-muted); margin-bottom: 0.5rem; }
.article_card-title { font-size: var(--text-large); font-weight: 600; color: var(--color-ink); line-height: 1.25; letter-spacing: -0.01em; margin-bottom: 0.75rem; transition: color 0.2s ease; }
.article_card:hover .article_card-title { color: var(--color-muted); }
.article_card-text { font-size: var(--text-medium); color: var(--color-muted-deep); line-height: 1.3; }

/* Related-article cards: sichtbare weiße Kacheln auf der Sage-Sektion */
.article_grid.is-related .article_card { background: var(--color-white); border: 1px solid rgba(26, 46, 26, 0.08); border-radius: var(--radius-medium); padding: 1.5rem; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.article_grid.is-related .article_card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card-hover); }

@media (min-width: 640px) { .article_grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 992px) {
  .article_grid { grid-template-columns: repeat(3, 1fr); }
  .article_grid.is-related { grid-template-columns: repeat(3, 1fr); }
}

/* Overview list variant: hairline-separated, no surface, pure typography */
.article_grid.is-lines { display: block; }
.article_grid.is-lines .article_card {
  background: transparent; border-radius: 0; padding: 2.5rem 0;
  border-top: 1px solid rgba(26, 46, 26, 0.13);
}
.article_grid.is-lines .article_card:last-child { border-bottom: 1px solid rgba(26, 46, 26, 0.13); }
.article_grid.is-lines .article_card:hover { box-shadow: none; }
.article_grid.is-lines .article_card-category { margin-bottom: 0.55rem; }
.article_grid.is-lines .article_card-title { font-size: var(--text-h3); max-width: 30ch; }
.article_grid.is-lines .article_card-text { max-width: 64ch; }
.article_grid.is-lines .article_card-arrow {
  display: inline-block; margin-top: 0.9rem; color: var(--color-muted);
  font-weight: 500; transition: transform 0.2s ease;
}
.article_grid.is-lines .article_card:hover .article_card-arrow { transform: translateX(5px); }

/* ---------- Article layout wrappers ---------- */
.article_back-inner { padding-top: 2.5rem; padding-bottom: 1rem; }
.article_header { padding-top: 3rem; padding-bottom: 2.5rem; }
.article_media-wrap { margin-bottom: 0; }
.article_body { padding-bottom: 5rem; }

/* ---------- Back link bar ---------- */
.article_back-bar { background: var(--color-white); border-bottom: 1px solid rgba(26, 46, 26, 0.1); }
.back-link { display: inline-flex; align-items: center; gap: 0.5rem; font-size: var(--text-small); color: var(--color-muted); transition: color 0.2s ease; }
.back-link:hover { color: var(--color-muted); }

/* ---------- Article detail ---------- */
.article_kicker { font-size: var(--text-medium); font-weight: 500; color: var(--color-muted); margin-bottom: 1.25rem; }
.article_title { font-size: clamp(2.2rem, 4.2vw, 3.4rem); line-height: 1.05; letter-spacing: -0.02em; font-weight: 600; color: var(--color-ink); margin-bottom: 1.5rem; }
.article_lead { font-size: var(--text-large); color: var(--color-muted-deep); line-height: 1.3; }
.article_media { aspect-ratio: 16 / 8; border-radius: var(--radius-large); overflow: hidden; display: flex; align-items: center; justify-content: center; }
/* Bild-Platzhalter ausgeblendet, bis echte Bilder eingesetzt werden */
.article_card-media, .article_media { display: none; }

/* ---------- Rich text (article prose) ---------- */
.richtext > * + * { margin-top: 1.25rem; }
.richtext h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 1.875rem); font-weight: 600; color: var(--color-forest-hover); line-height: 1.15; letter-spacing: -0.01em; margin-top: 3rem; }
.richtext h2:first-child { margin-top: 0; }
.richtext h3 { font-size: var(--text-large); font-weight: 600; color: var(--color-forest-hover); line-height: 1.2; margin-top: 2rem; }
.richtext p { font-size: var(--text-medium); color: var(--color-muted-deep); line-height: 1.3; }
.richtext ul { padding-left: 1.5rem; list-style: disc; display: flex; flex-direction: column; gap: 0.5rem; }
.richtext li { font-size: var(--text-medium); color: var(--color-muted-deep); line-height: 1.3; }
.richtext strong { color: var(--color-ink); font-weight: 600; }
.richtext a { color: var(--color-muted); text-decoration: underline; }
.richtext table { width: 100%; border-collapse: collapse; font-size: var(--text-small); margin-top: 0.5rem; }
.richtext thead th { border-bottom: 2px solid rgba(26, 46, 26, 0.2); }
.richtext th { text-align: left; font-weight: 600; color: var(--color-ink); padding: 0.75rem 1rem; }
.richtext td { color: var(--color-muted-deep); padding: 0.75rem 1rem; border-bottom: 1px solid rgba(26, 46, 26, 0.12); }
.richtext blockquote { margin: 0; padding-left: 1.25rem; border-left: 3px solid var(--color-sage); color: var(--color-muted-deep); font-style: italic; display: flex; flex-direction: column; gap: 0.75rem; }

/* ---------- Summary callout (Kurz zusammengefasst) ---------- */
.richtext .summary { background: var(--color-sage); border-radius: var(--radius-medium); padding: 1.5rem 1.75rem; margin-bottom: 2.5rem; }
.summary_title { display: flex; align-items: center; gap: 0.6rem; font-size: var(--text-small); font-weight: 600; color: var(--color-ink); margin: 0 0 1.1rem; padding-bottom: 0.9rem; border-bottom: 1px solid rgba(26, 46, 26, 0.12); }
.summary_icon { flex: 0 0 auto; width: 1.05rem; height: 1.05rem; color: var(--color-muted); }
.richtext .summary_list { list-style: none; padding-left: 0; display: flex; flex-direction: column; gap: 0.8rem; }
.richtext .summary_list li { position: relative; padding-left: 1.5rem; font-size: var(--text-small); color: var(--color-muted-deep); line-height: 1.4; }
.richtext .summary_list li::before { content: ""; position: absolute; left: 0.1rem; top: 0.5em; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--color-muted); }
.richtext .summary_list li strong { color: var(--color-ink); }

/* ============================================================
   COMPONENT — FAQ accordion (on forest background)
   ============================================================ */
.faq_list { display: flex; flex-direction: column; }
.faq_item { border-bottom: 1px solid rgba(237, 244, 230, 0.15); padding: 1.5rem 0; }
.faq_item:last-child { border-bottom: 0; }
.faq_trigger { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; cursor: pointer; list-style: none; }
.faq_trigger::-webkit-details-marker { display: none; }
.faq_question { font-size: clamp(1.25rem, 1rem + 1vw, 1.6rem); font-weight: 600; color: var(--color-sage); line-height: 1.3; }
.faq_toggle { width: 2.25rem; height: 2.25rem; border-radius: var(--radius-round); border: 1px solid rgba(237, 244, 230, 0.25); flex: 0 0 auto; display: flex; align-items: center; justify-content: center; color: var(--color-sage); transition: transform 0.3s ease; }
.faq_item[open] .faq_toggle { transform: rotate(45deg); }
.faq_answer { padding-top: 1.25rem; padding-right: 3.5rem; }
.faq_answer p { font-size: var(--text-medium); color: rgba(237, 244, 230, 0.75); line-height: 1.3; }
.faq_link { color: var(--color-moss-light); text-decoration: underline; }

/* ============================================================
   COMPONENT — Legal pages (Impressum, Datenschutz)
   ============================================================ */
.legal_main { max-width: var(--container-large); margin: 0 auto; padding: 5rem var(--container-padding); }
.legal_title { margin-bottom: 3rem; }
.legal_content { display: flex; flex-direction: column; gap: 2rem; font-size: var(--text-medium); color: var(--color-muted-deep); line-height: 1.3; }
.legal_block-title { font-size: var(--text-large); font-weight: 600; color: var(--color-ink); margin-bottom: 0.75rem; }
.legal_block strong { color: var(--color-ink); }
.legal_block a { color: var(--color-muted); text-decoration: underline; }
.legal_block a:hover { text-decoration: underline; }
