/* ==========================================================================
   Firma Besenrein – zentrales Stylesheet
   Farben, Abstände und Radien werden ausschließlich über die Variablen in
   :root gesteuert. Keine externen Ressourcen.
   ========================================================================== */

/* ---------- Schriften (lokal, SIL Open Font License) ---------- */
@font-face {
  font-family: "Open Sans";
  src: url("../fonts/open-sans-latin-var.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lora";
  src: url("../fonts/lora-latin-var.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Design-Variablen ---------- */
:root {
  /* Hintergründe */
  --color-background: #F7F3EC;
  --color-surface: #FFFFFF;
  --color-sand: #E8DCCB;
  --color-beige: #C9AE8B;

  /* Text */
  --color-heading: #49372D;
  --color-text: #49372D;
  --color-text-muted: #69584C;

  /* Akzentfarbe */
  --color-primary: #677C4D;
  --color-primary-hover: #50613B;
  --color-primary-text: #FFFFFF;
  /* Olivgrün für Text/Links: dunklere Stufe wegen WCAG-AA-Kontrast auf Creme */
  --color-link: #50613B;

  /* Ursprüngliches Logogrün */
  --color-logo-original: #3BB375;
  --color-logo-grey: #39464F;

  /* Weitere Farben */
  --color-border: #D7C9B8;
  --color-white: #FFFFFF;
  --color-primary-soft: #EEF1E8;

  /* Gestaltung */
  --radius-card: 0;
  --radius-button: 0;
  --shadow-card: 0 4px 20px rgba(73, 55, 45, 0.07);
  --shadow-card-hover: 0 10px 30px rgba(73, 55, 45, 0.12);

  /* Typografie */
  --font-body: "Open Sans", "Segoe UI", Arial, sans-serif;
  --font-heading: "Lora", Georgia, "Times New Roman", serif;

  /* Layout */
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-space: clamp(56px, 8vw, 96px);
  --header-height: 84px;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-height) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-background);
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-heading);
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 0.6em;
  overflow-wrap: break-word;
  hyphens: auto;
}
h1 { font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3.2rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.55rem, 1.2rem + 1.4vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 1.1rem + 0.4vw, 1.4rem); }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.3em; }
li { margin-bottom: 0.35em; }
a { color: var(--color-link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--color-heading); }
strong { font-weight: 700; }
hr { border: 0; border-top: 1px solid var(--color-border); margin: 2.5rem 0; }
address { font-style: normal; }

:focus-visible { outline: 3px solid var(--color-primary-hover); outline-offset: 3px; border-radius: 0; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 1000;
  background: var(--color-primary-hover); color: #fff; padding: 12px 18px;
  border-radius: 0; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 860px; }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  min-height: 48px; padding: 0.75em 1.5em;
  font-family: var(--font-body); font-size: 1rem; font-weight: 600; line-height: 1.2;
  border-radius: 0; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn--primary { background: var(--color-primary); color: var(--color-primary-text); }
.btn--primary:hover, .btn--primary:focus-visible { background: var(--color-primary-hover); color: var(--color-primary-text); }
.btn--primary:focus-visible { outline-color: var(--color-heading); }
.btn--secondary { background: transparent; color: var(--color-heading); border-color: var(--color-heading); }
.btn--secondary:hover, .btn--secondary:focus-visible { background: var(--color-heading); color: #fff; }
.btn--light { background: var(--color-surface); color: var(--color-heading); border-color: var(--color-border); }
.btn--light:hover { border-color: var(--color-heading); color: var(--color-heading); }
.btn--small { min-height: 42px; padding: 0.55em 1.1em; font-size: 0.95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header (Desktop zweizeilig: Logo/Kontakt/Button + Navigation) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 2px 14px rgba(73, 55, 45, 0.05);
}
.header__inner { display: flex; align-items: center; gap: 20px; min-height: var(--header-height); }
.header__contact { display: flex; align-items: center; gap: 26px; margin: 0 0 0 auto; padding: 0; list-style: none; }
.header__contact li { margin: 0; }
.header__contact a { display: inline-flex; align-items: center; gap: 10px; color: var(--color-heading); text-decoration: none; font-weight: 700; font-size: 1rem; line-height: 1.25; }
.header__contact a:hover { color: var(--color-link); }
.header__contact small { display: block; font-size: 0.75rem; font-weight: 500; color: var(--color-text-muted); }
.header__contact .icon { width: 34px; height: 34px; padding: 7px; border-radius: 0; background: var(--color-primary-soft); color: var(--color-link); }
.header__navbar { border-top: 1px solid var(--color-border); background: var(--color-surface); }
@media (min-width: 1200px) {
  :root { --header-height: 80px; }
  html { scroll-padding-top: 150px; }
  .header__navbar .nav { margin-left: 0; }
  .header__navbar .nav__list { justify-content: space-between; }
  .nav__item:last-child .nav__sub { left: auto; right: 0; }
  .header__navbar .nav__link { padding: 13px 10px; font-size: 0.97rem; }
}
@media (max-width: 1359px) { .header__mail { display: none; } }

/* Original-Textlogo (Open Sans ExtraBold, Originalfarben) */
.logo { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1; padding: 6px 0; flex: none; }
.logo__line { font-family: "Open Sans", Arial, sans-serif; font-weight: 800; font-size: 1.9rem; letter-spacing: -0.01em; line-height: 0.95; }
.logo__green { color: var(--color-logo-original); }
.logo__grey { color: var(--color-logo-grey); }
.logo__sub { font-family: "Open Sans", Arial, sans-serif; font-size: 0.68rem; font-weight: 600; color: #999999; margin-top: 4px; letter-spacing: 0.01em; }
.logo:hover .logo__grey { color: var(--color-logo-grey); }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav__item { position: relative; margin: 0; display: flex; align-items: center; }
.nav__link {
  display: block; padding: 10px 8px; color: var(--color-heading); text-decoration: none;
  font-weight: 600; font-size: 0.94rem; white-space: nowrap; border-radius: 0;
}
.nav__link:hover, .nav__item.is-current > .nav__link { color: var(--color-link); }
.nav__item.is-current > .nav__link { box-shadow: inset 0 -2px 0 var(--color-primary); border-radius: 0; }
.nav__toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 32px; margin-left: -6px; padding: 0; border: 0; background: none;
  color: var(--color-text-muted); cursor: pointer; border-radius: 0;
}
.nav__toggle .icon { width: 14px; height: 14px; transition: transform .2s ease; }
.nav__toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.nav__sub {
  position: absolute; top: 100%; left: 0; z-index: 50; min-width: 270px;
  margin: 0; padding: 10px; list-style: none;
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: 0; box-shadow: var(--shadow-card-hover);
  visibility: hidden; opacity: 0; transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.nav__sub li { margin: 0; }
.nav__sub a {
  display: block; padding: 9px 12px; border-radius: 0; color: var(--color-text);
  text-decoration: none; font-size: 0.95rem; font-weight: 500;
}
.nav__sub a:hover, .nav__sub a[aria-current="page"] { background: var(--color-background); color: var(--color-link); }
.nav__item:hover > .nav__sub,
html:not(.js) .nav__item:focus-within > .nav__sub,
.nav__item.is-open > .nav__sub { visibility: visible; opacity: 1; transform: translateY(0); }
.nav__cta-mobile { display: none; }
.header__cta { flex: none; }
.menu-toggle {
  display: none; align-items: center; gap: 8px; margin-left: auto;
  min-height: 44px; padding: 8px 14px; border: 1px solid var(--color-border);
  border-radius: 0; background: var(--color-surface);
  color: var(--color-heading); font: 600 0.95rem var(--font-body); cursor: pointer;
}
.menu-toggle .icon { width: 22px; height: 22px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Mobile/Tablet-Navigation */
@media (max-width: 1199px) {
  .header__cta { display: none; }
  .menu-toggle { display: inline-flex; margin-left: 0; }
  .header__navbar { border-top: 0; }
  .nav {
    position: fixed; inset: var(--header-height) 0 0 0; z-index: 90;
    background: var(--color-surface); overflow-y: auto; overscroll-behavior: contain;
    padding: 12px var(--gutter) 120px; display: none;
  }
  .nav.is-open { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { flex-wrap: wrap; border-bottom: 1px solid var(--color-border); }
  .nav__link { flex: 1; padding: 15px 4px; font-size: 1.05rem; }
  .nav__item.is-current > .nav__link { box-shadow: none; }
  .nav__toggle { width: 48px; height: 48px; margin: 0; }
  .nav__toggle .icon { width: 18px; height: 18px; }
  .nav__sub {
    position: static; flex-basis: 100%; min-width: 0; display: none;
    visibility: visible; opacity: 1; transform: none; box-shadow: none; border: 0;
    padding: 0 0 12px 8px; background: transparent;
  }
  .nav__item:hover > .nav__sub, .nav__item:focus-within > .nav__sub { display: none; }
  .nav__item.is-open > .nav__sub { display: block; }
  .nav__sub a { padding: 11px 12px; font-size: 1rem; }
  .nav__cta-mobile { display: grid; gap: 10px; margin-top: 22px; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 720px) {
  :root { --header-height: 72px; }
  .header__contact { display: none; }
  .menu-toggle { margin-left: auto; }
  .logo__line { font-size: 1.5rem; }
  .logo__sub { font-size: 0.62rem; }
  .menu-toggle { padding: 8px 10px; }
  .menu-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
}
@media (max-width: 359px) {
  .logo__line { font-size: 1.3rem; }
}

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--color-sand); }
.hero__media { position: absolute; inset: 0; overflow: hidden; }
/* Headerbild oben und eher rechts ausrichten – links liegt der Textkasten, rechts bleibt die Sackkarre sichtbar */
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 85% top; }
/* Alle Bilder oben ausrichten statt vertikal mittig */
.card__media img, .split__media img, .value-box img, .figure img { object-position: center top; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(247, 243, 236, 0.35) 0%, rgba(247, 243, 236, 0) 60%);
}
.hero__inner { position: relative; display: flex; align-items: flex-end; min-height: clamp(380px, 46vw, 520px); padding-top: 56px; padding-bottom: 56px; }
.hero--home .hero__inner { min-height: clamp(520px, 62vw, 700px); align-items: center; }
.hero__card {
  min-width: 0; width: 100%;
  max-width: 680px; padding: clamp(24px, 4vw, 44px);
  background: rgba(255, 255, 255, 0.95); border-radius: 0;
  box-shadow: 0 18px 50px rgba(73, 55, 45, 0.16);
}
.hero__card h1 { margin-bottom: 0.4em; }
.hero__lead { font-size: clamp(1.05rem, 1rem + 0.35vw, 1.2rem); color: var(--color-text-muted); margin-bottom: 1.4em; }
.hero__lead:last-child { margin-bottom: 0; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-link); }
.hero__eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--color-primary); }
.hero__facts { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 22px 0 0; padding: 18px 0 0; list-style: none; border-top: 1px solid var(--color-border); font-size: 0.93rem; color: var(--color-text-muted); }
.hero__facts li { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.hero__facts .icon { color: var(--color-link); }

/* Hero ohne Foto (z. B. Rechtstexte) */
.hero--plain { background: var(--color-sand); }
.hero--plain .hero__inner { min-height: 0; padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(36px, 5vw, 56px); }
.hero--plain .hero__card { background: transparent; box-shadow: none; padding: 0; max-width: 820px; }

@media (max-width: 720px) {
  .hero__media { position: relative; height: 240px; }
  .hero__media::after { display: none; }
  .hero__inner, .hero--home .hero__inner { min-height: 0; padding-top: 0; padding-bottom: 32px; }
  .hero__card { margin-top: -56px; }
  .hero--plain .hero__card { margin-top: 0; }
  .hero--plain .hero__inner { padding-top: 32px; }
  .hero--home .hero__media { height: 280px; }
}

/* ---------- Brotkrumen ---------- */
.breadcrumb { font-size: 0.88rem; margin: 0 0 14px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; list-style: none; }
.breadcrumb li { margin: 0; color: var(--color-text-muted); }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; color: var(--color-beige); }
.breadcrumb a { color: var(--color-text-muted); }
.breadcrumb a:hover { color: var(--color-link); }

/* ---------- Abschnitte ---------- */
.section { padding: var(--section-space) 0; }
.section--white { background: var(--color-surface); }
.section--sand { background: var(--color-sand); }
.section--tight { padding: clamp(40px, 6vw, 64px) 0; }
.section__head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 44px); }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__head p { color: var(--color-text-muted); font-size: 1.08rem; }
.kicker { display: block; margin-bottom: 10px; font-family: var(--font-body); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-link); }

/* Fließtext-Seiten */
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.8em; }
.prose h2:first-child, .prose > :first-child { margin-top: 0; }
.prose h3 { margin-top: 1.5em; }
.prose ul li::marker { color: var(--color-primary); }
.lead { font-size: 1.15rem; color: var(--color-text-muted); }
@media (max-width: 980px) { .content-grid { grid-template-columns: minmax(0, 1fr); } }
.prose, .split > *, .contact-panel > *, .footer__grid > * { min-width: 0; }
@media (max-width: 420px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.4rem; }
  .hero__card { padding: 22px 20px; }
}

/* Seitenleiste */
.aside { position: sticky; top: calc(var(--header-height) + 24px); display: grid; gap: 20px; }
.aside-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 0; padding: 26px; box-shadow: var(--shadow-card); }
.aside-card h2, .aside-card h3 { font-size: 1.2rem; margin-bottom: 0.5em; }
.aside-card p { font-size: 0.97rem; color: var(--color-text-muted); }
.aside-card .btn { width: 100%; }
.aside-card ul { list-style: none; padding: 0; margin: 0; }
.aside-card li { margin: 0; border-top: 1px solid var(--color-border); }
.aside-card li:first-child { border-top: 0; }
.aside-card li a { display: block; padding: 9px 0; text-decoration: none; font-weight: 600; font-size: 0.97rem; }
.aside-card li a[aria-current="page"] { color: var(--color-heading); }
@media (max-width: 980px) { .aside { position: static; } }

/* Kontaktzeilen */
.contact-lines { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; }
.contact-lines li { margin: 0; display: flex; align-items: flex-start; gap: 10px; }
.contact-lines .icon { color: var(--color-link); margin-top: 0.25em; }
.contact-lines a { font-weight: 700; text-decoration: none; color: var(--color-heading); }
.contact-lines a:hover { color: var(--color-link); text-decoration: underline; }
.contact-lines small { display: block; color: var(--color-text-muted); font-size: 0.85rem; font-weight: 400; }

/* ---------- Karten / Leistungskacheln ---------- */
.card-grid { display: grid; gap: clamp(18px, 2.4vw, 28px); grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.card-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid > li { margin: 0; display: flex; }
@media (max-width: 1100px) { .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) { .card-grid, .card-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .card-grid, .card-grid--3 { grid-template-columns: 1fr; } }

.card {
  position: relative; display: flex; flex-direction: column; width: 100%;
  background: var(--color-surface); border-radius: 0;
  box-shadow: var(--shadow-card); overflow: hidden; border: 1px solid rgba(215, 201, 184, 0.6);
  transition: box-shadow .2s ease, transform .2s ease;
}
.card:hover { box-shadow: var(--shadow-card-hover); }
@media (prefers-reduced-motion: no-preference) { .card:hover { transform: translateY(-3px); } }
.card__media { aspect-ratio: 3 / 2; background: var(--color-sand); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 0; background: var(--color-primary-soft); color: var(--color-link); margin-bottom: 16px; }
.card__icon .icon { width: 26px; height: 26px; }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
.card__title { font-size: 1.2rem; margin-bottom: 0.45em; }
.card__title a { color: var(--color-heading); text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card__title a:focus-visible { outline: none; }
.card:focus-within { outline: 3px solid var(--color-primary-hover); outline-offset: 3px; }
.card__text { font-size: 0.97rem; color: var(--color-text-muted); margin-bottom: 1em; }
.card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 0.95rem; color: var(--color-link); }
.card__more .icon { width: 1em; height: 1em; transition: transform .2s ease; }
.card:hover .card__more .icon { transform: translateX(3px); }

/* Vorteile */
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 28px); margin: 0; padding: 0; list-style: none; }
.feature-grid > li { margin: 0; }
.feature { height: 100%; padding: 28px; background: var(--color-surface); border-radius: 0; box-shadow: var(--shadow-card); border: 1px solid rgba(215, 201, 184, 0.6); }
.feature h3 { font-size: 1.15rem; margin-bottom: 0.4em; }
.feature p { margin: 0; color: var(--color-text-muted); font-size: 0.98rem; }
@media (max-width: 900px) { .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }

/* Prüfliste */
.checklist { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 8px; }
.checklist li { position: relative; padding-left: 32px; margin: 0; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 0.3em; width: 20px; height: 20px; border-radius: 0;
  background: var(--color-primary-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%2350613B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.checklist--columns { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
@media (max-width: 600px) { .checklist--columns { grid-template-columns: 1fr; } }

/* ---------- Ablauf ---------- */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 28px; left: 10%; right: 10%; height: 2px; background: repeating-linear-gradient(90deg, var(--color-beige) 0 8px, transparent 8px 14px); }
.step { position: relative; margin: 0; text-align: center; counter-increment: step; }
.step__num {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; margin-bottom: 16px; border-radius: 0;
  background: var(--color-surface); border: 2px solid var(--color-primary); color: var(--color-link);
  font: 700 1.25rem var(--font-heading);
}
.step--last .step__num { background: var(--color-primary); color: #fff; }
.step h3 { font-size: 1.08rem; margin-bottom: 0.35em; }
.step p { font-size: 0.94rem; color: var(--color-text-muted); margin: 0; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps::before { top: 28px; bottom: 28px; left: 27px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--color-beige) 0 8px, transparent 8px 14px); }
  .step { display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; text-align: left; padding-bottom: 22px; }
  .step__num { grid-row: span 2; margin: 0; }
  .step h3 { margin-top: 12px; }
}

/* Ablauf innerhalb schmaler Textspalten immer senkrecht darstellen */
.prose .steps { grid-template-columns: 1fr; gap: 0; margin-bottom: 2em; }
.prose .steps::before { top: 28px; bottom: 28px; left: 27px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--color-beige) 0 8px, transparent 8px 14px); }
.prose .step { display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; text-align: left; padding-bottom: 22px; }
.prose .step__num { grid-row: span 2; margin: 0; }
.prose .step h3 { margin-top: 12px; }
.prose .card-grid { margin-bottom: 1.6em; }
.prose .feature-grid { margin-bottom: 1.6em; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* ---------- Split (Bild + Text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split__media img { width: 100%; border-radius: 0; box-shadow: var(--shadow-card); aspect-ratio: 3 / 2; object-fit: cover; }
.split--reverse .split__media { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--reverse .split__media { order: 0; } }

/* Hinweis-/Infoboxen */
.notice { padding: 22px 24px; border-radius: 0; background: var(--color-primary-soft); border-left: 4px solid var(--color-primary); margin: 0 0 1.6em; }
.notice p:last-child, .notice ul:last-child { margin-bottom: 0; }
.notice__title { display: block; font-family: var(--font-heading); font-weight: 600; font-size: 1.12rem; color: var(--color-heading); margin-bottom: 0.4em; }
.notice--sand { background: var(--color-background); border-left-color: var(--color-beige); }

.value-box { display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: center; padding: 28px; margin: 2em 0; border-radius: 0; background: var(--color-sand); }
.value-box img { border-radius: 0; aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.value-box h2, .value-box h3 { font-size: 1.3rem; margin-top: 0; }
.value-box p { color: var(--color-text); }
.value-box p:last-child { margin-bottom: 0; }
@media (max-width: 640px) { .value-box { grid-template-columns: 1fr; } }

.figure { margin: 2em 0; }
.figure img { border-radius: 0; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.figure figcaption { font-size: 0.88rem; color: var(--color-text-muted); margin-top: 8px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; margin: 0 0 1.6em; }
.faq details { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 0; }
.faq summary {
  position: relative; list-style: none; cursor: pointer; padding: 18px 56px 18px 22px;
  font-weight: 700; color: var(--color-heading); border-radius: 0;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--color-link); border-bottom: 2px solid var(--color-link); transform: rotate(45deg);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details > div { padding: 0 22px 18px; color: var(--color-text-muted); }
.faq details > div p:last-child { margin-bottom: 0; }

/* ---------- Regionen ---------- */
.region-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.region-list li { margin: 0; }
.region-list a {
  display: flex; align-items: center; gap: 12px; height: 100%; padding: 16px 18px;
  background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 0;
  text-decoration: none; color: var(--color-heading); font-weight: 600;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.region-list a:hover { border-color: var(--color-primary); box-shadow: var(--shadow-card); color: var(--color-heading); }
.region-list .icon { color: var(--color-link); }
.region-list small { display: block; font-weight: 400; color: var(--color-text-muted); font-size: 0.86rem; }
@media (max-width: 860px) { .region-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .region-list { grid-template-columns: 1fr; } }

/* ---------- CTA-Band ---------- */
.cta-band {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px 36px; align-items: center;
  margin: 3em 0 0; padding: clamp(26px, 4vw, 44px);
  background: var(--color-sand); border-top: 4px solid var(--color-primary); box-shadow: var(--shadow-card);
}
.cta-band__icon { display: flex; align-items: center; justify-content: center; width: 72px; height: 72px; background: var(--color-primary); color: #fff; align-self: start; }
.cta-band__icon .icon { width: 34px; height: 34px; }
.cta-band__kicker { margin: 0 0 6px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-link); }
.cta-band h2 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); margin: 0 0 0.3em; }
.cta-band__text { margin: 0 0 14px; color: var(--color-text); }
.cta-band__facts { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0; padding: 0; list-style: none; font-size: 0.92rem; font-weight: 600; color: var(--color-heading); }
.cta-band__facts li { display: inline-flex; align-items: center; gap: 6px; margin: 0; }
.cta-band__facts .icon { width: 18px; height: 18px; color: var(--color-link); stroke-width: 2.4; }
.cta-band__actions { display: grid; gap: 10px; min-width: 250px; }
.cta-band__actions .btn { width: 100%; }
.cta-band__note { margin: 2px 0 0; font-size: 0.85rem; color: var(--color-text-muted); text-align: center; }
.prose .cta-band { grid-template-columns: auto minmax(0, 1fr); }
.prose .cta-band__actions { grid-column: 2; grid-template-columns: 1fr 1fr; min-width: 0; }
.prose .cta-band__note { grid-column: 1 / -1; text-align: left; }
@media (max-width: 1100px) {
  .cta-band { grid-template-columns: auto minmax(0, 1fr); }
  .cta-band__actions { grid-column: 2; grid-template-columns: 1fr 1fr; min-width: 0; }
  .cta-band__note { grid-column: 1 / -1; text-align: left; }
}
@media (max-width: 640px) {
  .cta-band, .prose .cta-band { grid-template-columns: 1fr; }
  .cta-band__icon { width: 56px; height: 56px; }
  .cta-band__actions, .prose .cta-band__actions { grid-column: auto; grid-template-columns: 1fr; }
}

/* Großer Kontaktbereich */
.contact-panel { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(24px, 4vw, 48px); align-items: stretch; }
.contact-panel__main { background: var(--color-surface); border-radius: 0; padding: clamp(26px, 4vw, 44px); box-shadow: var(--shadow-card); }
.contact-panel__aside { background: var(--color-background); border-radius: 0; padding: clamp(26px, 4vw, 40px); border: 1px solid var(--color-border); }
.contact-big { display: grid; gap: 14px; margin: 22px 0 26px; }
.contact-big a { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border: 1px solid var(--color-border); border-radius: 0; text-decoration: none; color: var(--color-heading); background: var(--color-background); }
.contact-big a:hover { border-color: var(--color-primary); color: var(--color-heading); }
.contact-big .icon { width: 28px; height: 28px; color: var(--color-link); }
.contact-big strong { display: block; font-size: 1.2rem; }
.contact-big span span { display: block; font-size: 0.87rem; color: var(--color-text-muted); }
@media (max-width: 900px) { .contact-panel { grid-template-columns: 1fr; } }

/* Tabellen */
.table-wrap { overflow-x: auto; margin: 0 0 1.6em; }
table { border-collapse: collapse; width: 100%; font-size: 0.97rem; background: var(--color-surface); }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--color-border); vertical-align: top; }
th { font-weight: 700; color: var(--color-heading); background: var(--color-background); }

/* Rechtstexte */
.legal h2 { font-size: 1.45rem; margin-top: 2em; }
.legal h3 { font-size: 1.15rem; margin-top: 1.6em; }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 20px; }
.legal dt { font-weight: 700; }
.legal dd { margin: 0; }
@media (max-width: 520px) { .legal dl { grid-template-columns: 1fr; } .legal dd { margin-bottom: 8px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--color-sand); color: var(--color-text); padding: clamp(48px, 6vw, 72px) 0 0; font-size: 0.97rem; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
.footer__title { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 600; color: var(--color-heading); margin: 0 0 14px; }
.footer__list { list-style: none; padding: 0; margin: 0; }
.footer__list li { margin: 0 0 8px; }
.footer__list a { color: var(--color-text); text-decoration: none; }
.footer__list a:hover { color: var(--color-link); text-decoration: underline; }
.footer__brand .logo { margin-bottom: 18px; }
.footer__address { margin: 0 0 16px; padding-left: 14px; border-left: 3px solid var(--color-primary); line-height: 1.6; }
.footer__address strong { color: var(--color-heading); }
.footer__contact { display: grid; grid-template-columns: max-content 1fr; gap: 4px 14px; margin: 0; }
.footer__contact dt { color: var(--color-text-muted); }
.footer__contact dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.footer__contact a { color: var(--color-heading); font-weight: 700; text-decoration: none; }
.footer__contact a:hover { color: var(--color-link); text-decoration: underline; }
.footer__bottom { margin-top: 44px; border-top: 1px solid var(--color-beige); padding: 20px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.9rem; color: var(--color-text-muted); }
.footer__bottom ul { display: flex; flex-wrap: wrap; gap: 6px 20px; list-style: none; margin: 0; padding: 0; }
.footer__bottom li { margin: 0; }
.footer__bottom a { color: var(--color-text-muted); }
@media (max-width: 960px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

/* Mobile Kontaktleiste */
.mobile-bar { display: none; }
@media (max-width: 720px) {
  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: var(--color-surface);
    border-top: 1px solid var(--color-border); box-shadow: 0 -4px 18px rgba(73, 55, 45, 0.08);
  }
  .mobile-bar .btn { min-height: 46px; padding: 0.6em 0.8em; font-size: 0.95rem; }
  body { padding-bottom: 72px; }
}

/* Hilfsklassen */
.text-muted { color: var(--color-text-muted); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.stack-lg > * + * { margin-top: 2.5rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

@media print {
  .topbar, .site-header, .mobile-bar, .site-footer, .hero__media, .cta-band { display: none !important; }
  body { background: #fff; padding: 0; }
  .hero__card { box-shadow: none; margin: 0; }
}
