/* ==========================================================================
   HoCh GmbH – Stylesheet
   Aufbau: 1. Schrift & Variablen  2. Basis  3. Layout  4. Buttons & Elemente
           5. Kopfbereich  6. Startseite-Sektionen  7. Unterseiten  8. Formulare
           9. Fußbereich  10. Hilfsklassen & Animationen
   Farben/Abstände zentral unter :root ändern.
   ========================================================================== */

/* 1. Schrift & Variablen ------------------------------------------------- */
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Markenfarben (aus dem Logo) */
  --green-50: #eff8ee;
  --green-100: #ddf1db;
  --green-200: #bce4b8;
  --green-300: #7dd675;   /* Akzent auf dunklem Grund */
  --green-400: #4cb847;
  --green-500: #3aaa35;   /* Logo-Grün */
  --green-600: #2f9a2b;
  --green-700: #237a20;   /* grüne Schrift auf Weiß (barrierefrei) */
  --logo-gray: #706f6f;   /* Logo-Grau */

  /* Dunkeltöne (Petrol-Grün, angelehnt ans Mockup) */
  --ink-950: #0b1f1d;
  --ink-900: #102826;
  --ink-800: #16312f;
  --ink-700: #1e3d3a;
  --ink-600: #2a4b47;

  /* Neutrale Töne */
  --text: #13201f;
  --text-muted: #56625f;
  --text-on-dark: #ffffff;
  --muted-on-dark: rgba(255, 255, 255, 0.74);
  --paper: #f6f5f0;
  --paper-2: #efeee8;
  --white: #ffffff;
  --line: #e4e3dd;
  --line-strong: #d3d1c9;   /* feine Linie über dem Abschnittsnamen */
  --numeral: #b5b3ab;       /* große helle Ziffern 01, 02 … */
  --line-dark: rgba(255, 255, 255, 0.12);
  --star: #f5b301;

  /* Form */
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(16, 40, 38, 0.06), 0 1px 3px rgba(16, 40, 38, 0.08);
  --shadow: 0 18px 40px -18px rgba(16, 40, 38, 0.35);
  --shadow-lg: 0 30px 60px -25px rgba(11, 31, 29, 0.45);

  /* Raster */
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(72px, 9vw, 128px);
  --header-h: 80px;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* 2. Basis ---------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  /* clip statt hidden: body wird kein Scroll-Container, sonst bleibt der Kopfbereich auf manchen Handys nicht oben stehen */
  overflow-x: hidden;
  overflow-x: clip;
}

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

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: inherit;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 1.5rem + 3.4vw, 4.25rem); letter-spacing: -0.035em; line-height: 1.03; }
h2 { font-size: clamp(2rem, 1.45rem + 2vw, 3.05rem); letter-spacing: -0.032em; line-height: 1.07; }
h3 { font-size: clamp(1.2rem, 1.1rem + 0.4vw, 1.4rem); letter-spacing: -0.018em; line-height: 1.25; }
h4 { font-size: 1.0625rem; letter-spacing: -0.01em; }

p { margin: 0 0 1em; text-wrap: pretty; }
a { color: var(--green-700); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--ink-800); }
strong { font-weight: 600; color: var(--text); }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
address { font-style: normal; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

::selection { background: var(--green-200); color: var(--ink-950); }

:focus-visible {
  outline: 3px solid var(--green-500);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 1000;
  padding: 12px 18px;
  background: var(--ink-900);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

/* 3. Layout --------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(820px + 2 * var(--gutter)); }

.section { padding-block: var(--section-y); }
.section--paper { background: var(--paper); }
.section--tight { padding-block: clamp(56px, 6vw, 88px); }
.section--flush-top { padding-top: 0; }

.section--dark {
  position: relative;
  background-color: var(--ink-800);
  color: var(--text-on-dark);
  isolation: isolate;
}
.section--dark p { color: var(--muted-on-dark); }
.section--dark strong { color: #fff; }


.section-head { max-width: 760px; margin-bottom: clamp(36px, 4vw, 56px); }
.section-head--split {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.section-head h2 { margin-bottom: 0.4em; }
.section-head p,
.lead { font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem); color: var(--text-muted); line-height: 1.6; }
/* Grüne Einleitung (Über uns): dunkleres Logo-Grün, damit der Text auf Weiß gut lesbar bleibt */
.lead--gruen { color: var(--green-700); }
.section--dark .lead,
.section--dark .section-head p { color: var(--muted-on-dark); }

/* Abschnittsname: klein in Logo-Grau mit feiner Linie darüber, steht immer über der Überschrift */
.eyebrow {
  display: block;
  width: max-content;
  min-width: 10rem;
  max-width: 100%;
  margin-bottom: 18px;
  padding-top: 9px;
  border-top: 1px solid var(--line-strong);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--logo-gray);
}
.section--dark .eyebrow { color: var(--muted-on-dark); border-top-color: rgba(255, 255, 255, 0.24); }

.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
@media (min-width: 960px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-text { grid-template-columns: 1.1fr 0.9fr; }
  .split--top { align-items: start; }
  .split--reverse > :first-child { order: 2; }
}

.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.grid--2,
.grid--3,
.grid--4 { grid-template-columns: 1fr; }
@media (min-width: 700px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 640px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--3:has(> :last-child:nth-child(3)) { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 640px) and (max-width: 999px) {
  .grid--3 > :last-child:nth-child(odd):not(:nth-child(3)) { grid-column: 1 / -1; }
}
@media (min-width: 1000px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--3 > :last-child:nth-child(3n+1) { grid-column: 1 / -1; }
}
@media (min-width: 520px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }

/* 4. Buttons & Elemente ------------------------------------------------------ */
.btn {
  --btn-bg: var(--ink-800);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.005em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease),
    transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { color: var(--btn-fg); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn--primary { --btn-bg: var(--green-500); --btn-fg: var(--ink-950); }
.btn--primary:hover { --btn-bg: var(--green-400); box-shadow: 0 10px 24px -10px rgba(58, 170, 53, 0.7); }
.btn--dark { --btn-bg: var(--ink-800); --btn-fg: #fff; }
.btn--dark:hover { --btn-bg: var(--ink-700); box-shadow: 0 10px 24px -12px rgba(11, 31, 29, 0.6); }
.btn--light { --btn-bg: #e8ebe9; --btn-fg: var(--ink-900); }
.btn--light:hover { --btn-bg: #dde2df; }
.btn--glass {
  --btn-bg: rgba(255, 255, 255, 0.14);
  --btn-fg: #fff;
  border-color: rgba(255, 255, 255, 0.22);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.btn--glass:hover { --btn-bg: rgba(255, 255, 255, 0.24); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--ink-900); border-color: rgba(19, 32, 31, 0.25); }
.btn--outline:hover { --btn-bg: var(--ink-900); --btn-fg: #fff; border-color: var(--ink-900); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 0.9375rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--green-700);
  text-decoration: none;
}
.text-link svg { width: 16px; height: 16px; transition: transform 0.2s var(--ease); }
.text-link:hover svg { transform: translateX(3px); }
.section--dark .text-link { color: var(--green-300); }

.icon { width: 24px; height: 24px; flex: none; }

/* Häkchen-Listen */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 30px; line-height: 1.5; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.12em;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--ink-800) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.checklist--green li::before { background-color: var(--green-500); }
.checklist--cols { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); column-gap: 28px; }
.checklist--small { gap: 10px; font-size: 0.9375rem; }
.section--dark .checklist li::before { background-color: var(--green-500); }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--green-50);
  border: 1px solid var(--green-100);
  color: var(--ink-800);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
}
a.chip:hover { background: var(--green-100); color: var(--ink-950); }
.section--dark .chip { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.14); color: #fff; }

/* 5. Kopfbereich ------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px -18px rgba(11, 31, 29, 0.35); }
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: var(--header-h);
}
.brand { display: inline-flex; flex: none; margin-right: auto; }
.brand img { width: auto; height: 56px; }
@media (max-width: 479px) { .brand img { height: 45px; } }

/* Hauptnavigation */
.main-nav { display: none; }
.main-nav__list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border: 0;
  border-radius: var(--radius-sm);
  background: none;
  color: var(--text);
  font: inherit;
  font-size: 0.96875rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}
.main-nav__link:hover,
.main-nav__item.is-open > .main-nav__link { background: var(--paper); color: var(--ink-950); }
.main-nav__link[aria-current="page"] { color: var(--green-700); }
.main-nav__link svg { width: 16px; height: 16px; transition: transform 0.2s var(--ease); }
.main-nav__item { position: relative; }
.main-nav__item.is-open > .main-nav__link svg { transform: rotate(180deg); }

/* Dropdown Produkte: klassische Liste */
.dropdown {
  position: absolute;
  left: 0;
  top: calc(100% + 12px);
  width: 300px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 24px 50px -22px rgba(11, 31, 29, 0.38), 0 2px 6px rgba(11, 31, 29, 0.05);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0.18s;
}
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.main-nav__item.is-open .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown__list { list-style: none; margin: 0; padding: 0; }
.dropdown__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--text);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  text-decoration: none;
  transition: background-color 0.15s, color 0.15s;
}
.dropdown__link svg { width: 16px; height: 16px; color: var(--green-600); opacity: 0; transform: translateX(-4px); transition: opacity 0.15s, transform 0.15s var(--ease); }
.dropdown__link:hover,
.dropdown__link:focus-visible { background: var(--paper); color: var(--ink-950); }
.dropdown__link:hover svg,
.dropdown__link:focus-visible svg,
.dropdown__link[aria-current="page"] svg { opacity: 1; transform: none; }
.dropdown__link[aria-current="page"] { color: var(--green-700); }
.dropdown__foot { margin-top: 6px; padding: 12px 12px 6px; border-top: 1px solid var(--line); font-size: 0.9375rem; }

/* Produkt-Kachelliste („Weitere Produkte“ auf den Produktseiten) */
.mega__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; list-style: none; margin: 0; padding: 0; }
.mega__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
  transition: background-color 0.15s;
}
.mega__link:hover,
.mega__link:focus-visible { background: var(--paper); color: var(--ink-950); }
.mega__link img { width: 54px; height: 54px; border-radius: 8px; object-fit: cover; flex: none; }
.mega__title { display: block; font-weight: 600; font-size: 0.9375rem; line-height: 1.3; }
.mega__desc { display: block; font-size: 0.8125rem; color: var(--text-muted); line-height: 1.35; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.phone-pill {
  display: none;
  align-items: center;
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
  text-decoration: none;
  line-height: 1.2;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.phone-pill:hover { border-color: var(--green-500); color: var(--text); box-shadow: var(--shadow-sm); }
.phone-pill small { display: block; font-size: 0.71875rem; color: var(--text-muted); }
.phone-pill strong { display: block; font-size: 0.9375rem; font-weight: 600; letter-spacing: -0.005em; }
.header-cta { display: none; }

.nav-toggle {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink-900);
  cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-open { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

@media (min-width: 640px) { .header-cta { display: inline-flex; } }
@media (min-width: 1080px) {
  .main-nav { display: block; }
  .nav-toggle { display: none; }
  .brand { margin-right: 12px; }
  .main-nav { margin-right: auto; }
}
@media (min-width: 1240px) { .phone-pill { display: inline-flex; } }

/* Mobile Navigation: klappt als Blatt unter dem Kopfbereich herunter, unten abgerundet; die Seite darunter wird abgedunkelt */
.mobile-nav {
  position: fixed;
  top: var(--mobile-nav-top, 80px);
  left: 0;
  right: 0;
  z-index: 99;
  max-height: calc(100vh - var(--mobile-nav-top, 80px) - 32px);
  max-height: calc(100dvh - var(--mobile-nav-top, 80px) - 32px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 4px var(--gutter) 22px;
  background: #fff;
  border-top: 1px solid var(--line);
  border-radius: 0 0 20px 20px;
  box-shadow: 0 28px 50px -24px rgba(11, 31, 29, 0.5);
  visibility: hidden;
  -webkit-clip-path: inset(0 0 100% 0 round 0 0 20px 20px);
  clip-path: inset(0 0 100% 0 round 0 0 20px 20px);
  transition: clip-path 0.4s var(--ease), -webkit-clip-path 0.4s var(--ease), visibility 0s linear 0.4s;
}
.nav-open .mobile-nav {
  visibility: visible;
  -webkit-clip-path: inset(0 0 0 0 round 0 0 20px 20px);
  clip-path: inset(0 0 0 0 round 0 0 20px 20px);
  transition: clip-path 0.4s var(--ease), -webkit-clip-path 0.4s var(--ease), visibility 0s;
}
.mobile-nav__list,
.mobile-nav__cta { opacity: 0; transform: translateY(-14px); transition: opacity 0.3s var(--ease), transform 0.4s var(--ease); }
.nav-open .mobile-nav__list,
.nav-open .mobile-nav__cta { opacity: 1; transform: none; }
.nav-backdrop {
  position: fixed;
  inset: var(--mobile-nav-top, 80px) 0 0 0;
  z-index: 98;
  background: rgba(11, 31, 29, 0.42);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0s linear 0.3s;
}
.nav-open .nav-backdrop { opacity: 1; visibility: visible; transition: opacity 0.3s var(--ease), visibility 0s; }
/* Seite hinter dem Menü nicht scrollen – am body, nicht am html, sonst verliert der Kopfbereich seinen Halt */
.nav-open body { overflow: hidden; }
.nav-open .call-fab { opacity: 0; pointer-events: none; }
.mobile-nav__list { list-style: none; margin: 0; padding: 0; }
.mobile-nav__list > li { border-bottom: 1px solid var(--line); }
.mobile-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 4px;
  border: 0;
  background: none;
  color: var(--text);
  font: inherit;
  font-size: 1.125rem;
  font-weight: 600;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.mobile-nav__link svg { width: 20px; height: 20px; transition: transform 0.2s; }
.mobile-nav__link[aria-expanded="true"] svg { transform: rotate(180deg); }
.mobile-nav__sub { list-style: none; margin: 0 0 14px 4px; padding: 0; border-left: 2px solid var(--line); }
.mobile-nav__sub[hidden] { display: none; }
.mobile-nav__sub a { display: block; padding: 9px 14px; color: var(--text); font-size: 1rem; font-weight: 500; text-decoration: none; }
.mobile-nav__sub a:hover,
.mobile-nav__sub a[aria-current="page"] { color: var(--green-700); }
.mobile-nav__sub .mobile-nav__all { color: var(--green-700); font-weight: 600; }
.mobile-nav__cta { display: grid; gap: 10px; margin-top: 24px; }
@media (min-width: 1080px) { .mobile-nav, .nav-backdrop { display: none; } }

/* 6. Startseite-Sektionen ---------------------------------------------------- */

/* Hero */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(600px, 84vh, 780px);
  padding-block: clamp(72px, 9vw, 120px);
  color: #fff;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink-900);
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media picture { display: block; height: 100%; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
/* Handy: eigenes Hochformat-Foto (schon auf Schild und Eingang zugeschnitten), sonst wird das Querformat stark vergrößert und unscharf */
@media (max-width: 767px) { .hero__media img { object-position: 50% 50%; } }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(11, 31, 29, 0.9) 0%, rgba(11, 31, 29, 0.74) 38%, rgba(11, 31, 29, 0.25) 68%, rgba(11, 31, 29, 0.1) 100%),
    linear-gradient(0deg, rgba(11, 31, 29, 0.55) 0%, rgba(11, 31, 29, 0) 40%);
}
@media (max-width: 1023px) {
  .hero::after { background: linear-gradient(180deg, rgba(11, 31, 29, 0.55) 0%, rgba(11, 31, 29, 0.82) 55%, rgba(11, 31, 29, 0.92) 100%); }
}
.hero__content { max-width: 800px; }
.hero h1 { font-size: clamp(2.3rem, 1.4rem + 3vw, 3.75rem); hyphens: manual; -webkit-hyphens: manual; }
.hero h1 { margin-bottom: 0.45em; color: #fff; }
.hl { color: var(--green-300); }
/* Hero-Überschrift: die Produkte rollen in der mittleren Zeile von oben nach unten durch (main.js) */
.wortwechsel { display: grid; overflow: hidden; padding-block: 0.08em; margin-block: -0.08em; }
.wortwechsel__wort {
  grid-area: 1 / 1;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(-110%);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.45s ease;
}
.wortwechsel__wort.is-aktiv { opacity: 1; transform: none; }
.wortwechsel__wort.is-weg { transform: translateY(110%); }
/* Die Wörter stehen nur im data-wort-Attribut: So liest Google die Überschrift einmal als ganzen Satz (aus dem visually-hidden-Teil) */
.wortwechsel__wort::before { content: attr(data-wort); }
.hero__lead { max-width: 560px; margin-bottom: 26px; font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); color: rgba(255, 255, 255, 0.86); }
.hero__checks {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 10px 28px;
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  font-size: 0.96875rem;
  color: rgba(255, 255, 255, 0.92);
}
.hero__checks li { display: inline-flex; align-items: center; gap: 8px; }
.hero__checks svg { width: 18px; height: 18px; color: var(--green-300); }
.hero .btn-row { margin-top: 0; }

/* Nummerierte Punkte statt Icons (Stärken-Leiste, Karten): große helle Ziffern 01, 02 …
   Rein gestalterisch – die zweite content-Angabe gibt Screenreadern einen leeren Ersatztext. */
.nummeriert { counter-reset: punkt; }
.nummeriert > * { counter-increment: punkt; }
.nummeriert > *::before {
  content: counter(punkt, decimal-leading-zero);
  content: counter(punkt, decimal-leading-zero) / "";
  display: block;
  margin-bottom: 12px;
  font-size: 2.4rem;
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--numeral);
}

/* Produktkarten */
.product-grid { display: grid; gap: clamp(14px, 1.6vw, 22px); grid-template-columns: 1fr; }
@media (min-width: 700px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 700px) and (max-width: 999px) {
  .product-card__body { padding: 14px 16px 16px; }
  .product-card__title { font-size: 1.0625rem; }
}
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink-700);
  color: #fff;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.product-card:hover { color: #fff; transform: translateY(-4px); box-shadow: var(--shadow); }
.product-card__media { aspect-ratio: 16 / 10.5; overflow: hidden; background: var(--ink-600); }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.product-card:hover .product-card__media img { transform: scale(1.05); }
.product-card__body { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px 20px; }
.product-card__title { margin: 0; font-size: 1.1875rem; font-weight: 600; letter-spacing: -0.015em; color: #fff; }
.product-card__text { margin: 0; font-size: 0.875rem; line-height: 1.45; color: rgba(255, 255, 255, 0.68); }
.product-card__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--green-300);
}
.product-card__more svg { width: 16px; height: 16px; transition: transform 0.2s var(--ease); }
.product-card:hover .product-card__more svg { transform: translateX(4px); }

/* CTA-Band mit Bild */
.cta-band {
  position: relative;
  padding-block: clamp(80px, 10vw, 140px);
  color: #fff;
  text-align: center;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink-800);
}
.cta-band__media { position: absolute; inset: -20px; z-index: -2; }
.cta-band__media img { width: 100%; height: 100%; object-fit: cover; filter: blur(5px) saturate(0.8); transform: scale(1.04); }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(16, 40, 38, 0.82); }
.cta-band h2 { max-width: 820px; margin: 0 auto 0.35em; color: #fff; }
.cta-band p { max-width: 640px; margin: 0 auto 30px; color: rgba(255, 255, 255, 0.8); font-size: 1.125rem; }
.trust-row {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  font-size: 0.875rem;
  line-height: 1.35;
  text-align: left;
  color: rgba(255, 255, 255, 0.82);
}
.trust-row__logos { display: flex; }
.trust-row__logos span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-left: -8px;
  border: 2px solid var(--ink-800);
  border-radius: 50%;
  background: #fff;
  overflow: hidden;
}
.trust-row__logos span:first-child { margin-left: 0; }
.trust-row__logos img { width: 28px; height: auto; }

/* Bild-Text-Blöcke */
.media-frame { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--paper-2); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame--tall { aspect-ratio: 4 / 4.4; }
.media-frame--wide { aspect-ratio: 16 / 11; }
.media-frame--square { aspect-ratio: 1; }
/* Teamfoto unter der Überschrift „Wer wir sind“ */
.team-foto { margin-top: clamp(28px, 3.5vw, 44px); }
/* Zweispaltig: Das Foto füllt nur den Platz bis zur Unterkante des Textes rechts (Seitenverhältnis bleibt, nichts wird abgeschnitten) */
@media (min-width: 960px) {
  .story-kopf { display: flex; flex-direction: column; align-self: stretch; }
  .story-kopf .team-foto { flex: 1 1 0; min-height: 0; overflow: visible; border-radius: 0; background: none; }
  .story-kopf .team-foto img { position: absolute; top: 0; left: 0; width: auto; height: auto; max-width: 100%; max-height: 100%; border-radius: var(--radius); }
}

.list-intro { margin: 26px 0 14px; font-size: 0.96875rem; color: var(--text-muted); }
.list-intro strong { color: var(--text); }

/* Partner-Laufband */
.partners { padding-block: clamp(30px, 3.5vw, 48px); }
.partners__title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 0 20px;
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
}
.partners__title svg { width: 18px; height: 18px; }
.marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: clamp(48px, 6vw, 88px); padding-right: clamp(48px, 6vw, 88px); list-style: none; margin: 0; }
.marquee__group img {
  width: auto;
  height: 46px;
  max-width: 170px;
  object-fit: contain;
  opacity: 0.85;
  transition: opacity 0.3s;
}
.marquee__group img:hover { opacity: 1; }
/* Fast quadratische Bildmarken (z. B. VEKA-Raute) etwas höher, damit sie neben breiten Schriftzügen gleich stark wirken */
.marquee__group img.marquee__logo--hoch { height: 62px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Ablauf / Schritte */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.step { position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 20px; padding-bottom: 38px; }
.step:last-child { padding-bottom: 0; }
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--ink-800);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
}
.step::after {
  content: "";
  position: absolute;
  left: 25px;
  top: 64px;
  bottom: 10px;
  width: 2px;
  background: var(--ink-800);
  opacity: 0.85;
}
.step:last-child::after { display: none; }
.step h3 { margin: 10px 0 6px; font-size: 1.375rem; }
.step p { margin: 0; color: var(--text-muted); }
@media (min-width: 960px) { .sticky-col { position: sticky; top: calc(var(--header-h) + 40px); } }

/* Bewertung / Google */
.review-cta {
  display: grid;
  gap: 28px;
  align-items: center;
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
@media (min-width: 860px) { .review-cta { grid-template-columns: auto 1fr auto; } }
.review-cta__badge {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border-radius: 20px;
  background: var(--paper);
}
.review-cta__badge svg { width: 46px; height: 46px; }
.review-cta h3 { margin-bottom: 4px; font-size: clamp(1.35rem, 1.2rem + 0.6vw, 1.75rem); }
.review-cta p { margin: 0; color: var(--text-muted); }
.stars { display: inline-flex; gap: 2px; color: var(--star); margin-bottom: 8px; }
.stars svg { width: 20px; height: 20px; }

.review-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); margin-top: 28px; }
.review-card { display: flex; flex-direction: column; gap: 12px; padding: 22px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.review-card blockquote { margin: 0; font-size: 0.96875rem; line-height: 1.55; }
.review-card figcaption { margin-top: auto; font-size: 0.875rem; color: var(--text-muted); }
.review-card figcaption strong { display: block; color: var(--text); }

/* Einsatzgebiet mit Karte */
.area-map {
  position: relative;
  overflow: hidden;
  border: 6px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-lg);
  background: #e9efe7;
  box-shadow: var(--shadow-lg);
}
.area-map svg { width: 100%; height: auto; }
.area-map .city-label { font: 600 13px var(--font); fill: var(--ink-900); letter-spacing: -0.01em; }
.area-map .city-label--main { font-size: 16px; font-weight: 700; }
.area-map .ring-label { font: 500 11px var(--font); fill: var(--ink-600); }
.area-cities { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 24px 0 0; padding: 0; }

/* Galerie */
.gallery { display: grid; gap: clamp(10px, 1.4vw, 18px); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery__item {
  position: relative;
  display: block;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 1 / 1.08;
  background: var(--paper-2);
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item figcaption {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}
.gallery__item::after {
  content: "";
  position: absolute;
  inset: 55% 0 0;
  /* 0.6 statt 0.45: weiße Bildunterschrift bleibt auch auf sehr hellen Fotos lesbar (Kontrast mind. 4,5:1) */
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.6), transparent);
  pointer-events: none;
}
.gallery__item figcaption { z-index: 1; }

.gallery__item--cta {
  display: grid;
  place-items: center;
  padding: 20px;
  background: var(--ink-800);
  color: #fff;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.3s var(--ease);
}
.gallery__item--cta::after { display: none; }
.gallery__item--cta:hover { background: var(--ink-700); color: #fff; }
.gallery__cta-inner { display: grid; justify-items: center; gap: 8px; line-height: 1.35; }
.gallery__cta-inner svg { width: 34px; height: 34px; color: var(--green-300); }
.gallery__cta-inner strong { color: #fff; font-size: 1.0625rem; }
.gallery__cta-inner span { font-size: 0.875rem; color: rgba(255, 255, 255, 0.72); }

/* Bild-Collage (großes Bild + eingesetztes Teamfoto) */
.collage { position: relative; padding: 0 clamp(18px, 4vw, 40px) clamp(28px, 4vw, 44px) 0; }
.collage__inset {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(42%, 230px);
  margin: 0;
  overflow: hidden;
  border: 6px solid #fff;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-lg);
}
.collage__inset img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 4px; }
.collage__inset figcaption { padding: 8px 4px 2px; font-size: 0.8125rem; font-weight: 600; text-align: center; }

/* Instagram-Teaser */
.insta-row { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .insta-row { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .insta-row { grid-template-columns: repeat(5, 1fr); } }
.insta-row a { position: relative; display: block; overflow: hidden; border-radius: var(--radius-sm); aspect-ratio: 4 / 5; }
.insta-row img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.insta-row a:hover img { transform: scale(1.06); }
.insta-row a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(11, 31, 29, 0.35) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='2' width='20' height='20' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='17.5' cy='6.5' r='.6' fill='%23ffffff'/%3E%3C/svg%3E") center / 34px no-repeat;
  opacity: 0;
  transition: opacity 0.3s;
}
.insta-row a:hover::after,
.insta-row a:focus-visible::after { opacity: 1; }
.insta-row a:nth-child(n+5) { display: none; }
@media (min-width: 1000px) { .insta-row a:nth-child(n+5) { display: block; } }
.handle-link { font-weight: 600; color: var(--text); text-underline-offset: 4px; }

/* Kontakt-Band (dunkel, vor dem Footer) */
.contact-band { padding-block: clamp(40px, 5vw, 60px); }
.contact-band h2 { margin-bottom: clamp(24px, 3vw, 32px); text-align: center; color: #fff; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); }
.contact-band__grid { display: grid; grid-template-columns: repeat(4, auto); justify-content: center; gap: 28px clamp(40px, 6vw, 96px); }
@media (max-width: 999px) { .contact-band__grid { grid-template-columns: repeat(2, auto); } }
@media (max-width: 599px) {
  .contact-band__grid { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .contact-band .contact-band__grid > div { align-items: center; }
}
.contact-band__grid > div { display: flex; flex-direction: column; align-items: flex-start; }
.contact-band__label { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 4px; font-size: 0.8125rem; color: rgba(255, 255, 255, 0.7); }
.contact-band__label svg { width: 16px; height: 16px; color: var(--green-300); }
.contact-band__value { display: block; margin-bottom: 8px; font-size: 1.1875rem; font-weight: 600; line-height: 1.35; letter-spacing: -0.015em; color: #fff; text-decoration: none; }
a.contact-band__value:hover { color: var(--green-300); text-decoration: underline; }
.contact-band .text-link { margin-top: auto; color: #fff; }
.contact-band .text-link:hover { color: var(--green-300); }

/* 7. Unterseiten -------------------------------------------------------------- */
/* Seitenkopf: nur die Überschrift der Seite, schlicht auf Weiß */
.seitenkopf { padding-block: clamp(40px, 5vw, 72px) clamp(20px, 2.5vw, 32px); }
.seitenkopf__titel { max-width: 780px; margin: 0; font-size: clamp(2rem, 1.4rem + 2vw, 3rem); }
/* der erste weiße Abschnitt schließt direkt an; farbige Abschnitte behalten ihren Innenabstand */
.seitenkopf + .section:not(.section--paper):not(.section--dark) { padding-top: 0; }
/* Seiten mit nur unsichtbarer Überschrift: erster weißer Abschnitt mit ruhigem Abstand zum Menü */
.seitentitel + .section:not(.section--paper):not(.section--dark) { padding-top: clamp(40px, 5vw, 72px); }

/* Info-Karten */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 2.4vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--text-muted); font-size: 0.96875rem; }
.card p:last-child { margin-bottom: 0; }
.card--hover:hover { border-color: var(--green-200); box-shadow: var(--shadow); transform: translateY(-3px); }
.card .checklist { margin-top: 8px; }
.card__foot { margin-top: auto; padding-top: 18px; }
.section--paper .card { border-color: transparent; box-shadow: var(--shadow-sm); }

.variant-card { overflow: hidden; padding: 0; }
.variant-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-2); }
.variant-card__media img { width: 100%; height: 100%; object-fit: cover; }
.variant-card__body { display: flex; flex-direction: column; flex: 1; padding: clamp(20px, 2.2vw, 28px); }
.variant-card__tag {
  align-self: flex-start;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--green-50);
  color: var(--green-700);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Kennzahlen */
.facts { display: grid; gap: 1px; grid-template-columns: 1fr; overflow: hidden; border-radius: var(--radius); background: var(--line); }
.fact { padding: 24px; background: #fff; }
.fact__value { display: block; font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; color: var(--ink-800); }
.fact__label { display: block; margin-top: 6px; font-size: 0.9375rem; color: var(--text-muted); }
.section--dark .facts { background: var(--line-dark); }
.section--dark .fact { background: var(--ink-800); }
.section--dark .fact__value { color: #fff; }
.section--dark .fact__label { color: var(--muted-on-dark); }

/* Fließtext (Impressum, Datenschutz, Artikel) */
.prose { max-width: 760px; }
.prose h2 { margin-top: 2.2em; font-size: clamp(1.5rem, 1.3rem + 0.8vw, 2rem); }
.prose h3 { margin-top: 1.8em; }
.prose h2:first-child,
.prose h3:first-child { margin-top: 0; }
.prose p,
.prose li { color: #2b3735; }
.prose ul { padding-left: 1.3em; }
.prose li { margin-bottom: 0.4em; }
/* Abgesetzter Kasten, z. B. Widerspruchsrecht nach Art. 21 DSGVO (muss getrennt von anderen Infos stehen) */
.rechtskasten {
  margin: 1.2em 0;
  padding: 20px 22px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper);
}
.rechtskasten p:last-child { margin-bottom: 0; }

/* Häufige Fragen: aufklappbar ohne JavaScript; die Antworten stehen im HTML und werden von build.py als FAQPage ausgezeichnet */
.faq { border-top: 1px solid var(--line-strong); }
.faq__eintrag { border-bottom: 1px solid var(--line-strong); }
.faq__eintrag summary {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  cursor: pointer;
  list-style: none;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
}
.faq__eintrag summary::-webkit-details-marker { display: none; }
.faq__eintrag summary::after {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  margin-top: 0.3em;
  background:
    linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat;
}
.faq__eintrag[open] summary::after { background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat; }
.faq__eintrag summary:hover { color: var(--green-700); }
.faq__antwort { padding: 0 30px 20px 0; }
.faq__antwort p { margin: 0; color: #2b3735; }

.notice {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid #f1d38a;
  border-radius: var(--radius);
  background: #fff8e6;
  color: #5c4708;
  font-size: 0.9375rem;
  line-height: 1.55;
}
.notice svg { width: 22px; height: 22px; flex: none; margin-top: 1px; }
.notice p { margin: 0; color: inherit; }

/* Fördermittel-/Linkliste */
.link-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.link-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.2s, background-color 0.2s;
}
.link-list a:hover { border-color: var(--green-500); background: var(--green-50); }
.link-list svg { width: 18px; height: 18px; flex: none; color: var(--green-700); }
.link-list small { display: block; font-size: 0.8125rem; font-weight: 400; color: var(--text-muted); }

/* Karte (2-Klick) */
.map-consent {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 380px;
  padding: 32px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #e7eee5, #dfe7dc);
  text-align: center;
}
.map-consent__inner { position: relative; max-width: 460px; }
.map-consent__pin {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--ink-800);
  color: #fff;
  box-shadow: 0 0 0 10px rgba(22, 49, 47, 0.12);
}
.map-consent__pin svg { width: 28px; height: 28px; }
.map-consent p { font-size: 0.875rem; color: var(--text-muted); }
.map-consent iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* 404 */
.error-page { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.error-page__code { font-size: clamp(5rem, 3rem + 8vw, 9rem); font-weight: 700; letter-spacing: -0.05em; line-height: 1; color: var(--green-500); }

/* 8. Formulare ------------------------------------------------------------------ */
.contact-info { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.contact-info li { display: flex; align-items: flex-start; gap: 14px; }
.contact-info svg { width: 20px; height: 20px; margin-top: 3px; color: var(--green-700); flex: none; }
.contact-info a { color: var(--text); text-decoration: none; font-weight: 500; }
.contact-info a:hover { color: var(--green-700); text-decoration: underline; }
.hours-card {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 32px;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--paper);
}
.hours-card__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; background: #fff; color: var(--green-700); flex: none; }
.hours-card__icon svg { width: 24px; height: 24px; }
.hours-card p { margin: 0; font-size: 0.9375rem; color: var(--text-muted); }
.hours-card strong { display: block; color: var(--text); }

.form { display: grid; gap: 18px; }
.form__row { display: grid; gap: 18px; }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 7px; }
.field label,
.field legend { font-size: 0.9375rem; font-weight: 600; color: var(--text); }
.field .req { color: var(--green-700); }
.input,
.select,
.textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid #cfd4d1;
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.textarea { min-height: 150px; resize: vertical; }
.select {
  appearance: none;
  padding-right: 42px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2313201f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat;
}
.input::placeholder,
.textarea::placeholder { color: #8a9491; }
.input:hover,
.select:hover,
.textarea:hover { border-color: #aab3af; }
.input:focus,
.select:focus,
.textarea:focus { outline: none; border-color: var(--ink-800); box-shadow: 0 0 0 3px rgba(58, 170, 53, 0.25); }
.field.is-invalid .input,
.field.is-invalid .select,
.field.is-invalid .textarea { border-color: #c62828; }
.field__label-text { font-size: 0.9375rem; }
.field__error { display: none; margin: 0; font-size: 0.875rem; color: #b71c1c; }
.field.is-invalid .field__error { display: block; }
.field__hint { font-size: 0.8125rem; color: var(--text-muted); }

.dropzone {
  position: relative;
  display: grid;
  place-items: center;
  gap: 6px;
  padding: 28px 20px;
  border: 1.5px dashed #c3cac6;
  border-radius: var(--radius);
  background: #fff;
  text-align: center;
  transition: border-color 0.2s, background-color 0.2s;
}
.dropzone:hover,
.dropzone.is-dragover { border-color: var(--green-500); background: var(--green-50); }
.dropzone svg { width: 36px; height: 36px; color: var(--ink-700); }
.dropzone input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.dropzone__text { font-size: 0.9375rem; }
.dropzone__text u { color: var(--green-700); font-weight: 600; }
.dropzone__files { margin: 4px 0 0; padding: 0; list-style: none; font-size: 0.8125rem; color: var(--text); }
.dropzone__error { color: #b71c1c; font-weight: 600; }

.checkbox { display: flex; gap: 12px; align-items: flex-start; font-size: 0.9375rem; line-height: 1.5; }
.field label.checkbox { font-weight: 400; color: var(--text-muted); }
.checkbox input { width: 24px; height: 24px; margin: 0; accent-color: var(--green-600); flex: none; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.spamschutz {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 16px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: #fff;
}
.spamschutz__status { font-size: 0.875rem; color: var(--text-muted); }
.spamschutz__status.is-ok { color: var(--green-700); font-weight: 600; }
.spamschutz__status.is-ok::before { content: "✓ "; }
.spamschutz .field__error,
.spamschutz .field__hint { flex-basis: 100%; }
.form-status { display: none; padding: 16px 18px; border-radius: var(--radius); font-size: 0.96875rem; line-height: 1.5; }
.form-status.is-visible { display: block; }
.form-status--ok { background: var(--green-50); border: 1px solid var(--green-200); color: var(--ink-900); }
.form-status--err { background: #fdecec; border: 1px solid #f5c2c2; color: #8a1c1c; }
.btn[aria-busy="true"] { opacity: 0.7; pointer-events: none; }

/* 9. Fußbereich ----------------------------------------------------------------- */
.site-footer { padding-top: clamp(56px, 7vw, 88px); background: #fff; }
.footer-grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; } }
.footer-brand img { height: 60px; width: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 400px; font-size: 0.9375rem; color: var(--text-muted); }
.footer-brand .btn-row { margin-top: 20px; }
.footer-col h2 { margin-bottom: 16px; font-size: 1rem; letter-spacing: -0.01em; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { color: var(--text-muted); font-size: 0.9375rem; text-decoration: none; }
.footer-col a:hover { color: var(--green-700); text-decoration: underline; }
.footer-col address { font-size: 0.9375rem; color: var(--text-muted); line-height: 1.6; }
.footer-col .footer-contact { margin-top: 12px; }
.footer-hours { font-size: 0.9375rem; color: var(--text-muted); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: clamp(40px, 5vw, 64px);
  padding-block: 24px 28px;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
  color: var(--text-muted);
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 20px; list-style: none; margin: 0; padding: 0; }
.footer-legal a { color: var(--text-muted); text-decoration: none; }
.footer-legal a:hover { color: var(--green-700); text-decoration: underline; }
.socials { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.socials a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink-900);
  transition: background-color 0.2s, color 0.2s;
}
.socials a:hover { background: var(--ink-800); color: #fff; }
.socials svg { width: 18px; height: 18px; }

/* Schwebender Anruf-Button (mobil) */
.call-fab {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--green-500);
  color: var(--ink-950);
  box-shadow: 0 14px 30px -10px rgba(11, 31, 29, 0.55);
  transition: transform 0.2s var(--ease);
}
.call-fab:hover { color: var(--ink-950); transform: scale(1.06); }
.call-fab svg { width: 24px; height: 24px; }
@media (min-width: 1080px) { .call-fab { display: none; } }

/* 10. Hilfsklassen & Animationen ------------------------------------------------ */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.text-center { text-align: center; }
.muted { color: var(--text-muted); }
.nowrap { white-space: nowrap; }

@media (max-width: 599px) {
  h1, h2 { hyphens: auto; -webkit-hyphens: auto; hyphenate-limit-chars: 12 5 5; overflow-wrap: break-word; }
}

.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js [data-reveal-delay="1"] { transition-delay: 0.08s; }
.js [data-reveal-delay="2"] { transition-delay: 0.16s; }
.js [data-reveal-delay="3"] { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee__group[aria-hidden="true"] { display: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
}

@media print {
  .site-header, .mobile-nav, .call-fab, .cta-band, .contact-band, .site-footer .btn-row { display: none !important; }
  body { color: #000; }
  .section { padding-block: 24px; }
}

/* 11. Bausteine Unterseiten (Ergänzung) ------------------------------------------ */
.title-sm { margin: 0; font-size: clamp(1.5rem, 1.3rem + 0.8vw, 2rem); }
.more-products { grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 760px) { .more-products { grid-template-columns: repeat(3, 1fr); } }
.more-products .mega__link { background: #fff; box-shadow: var(--shadow-sm); }
.more-products .mega__link:hover { background: #fff; box-shadow: var(--shadow); }
.more-products .mega__link[aria-current="page"] { box-shadow: inset 0 0 0 2px var(--green-500); }


.spec-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.spec-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 0.9375rem; }
.spec-table th,
.spec-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.spec-table thead th { background: var(--paper); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-muted); }
.spec-table tbody th { font-weight: 600; }
.spec-table tbody tr:last-child th,
.spec-table tbody tr:last-child td { border-bottom: 0; }
.table-note { margin-top: 12px; font-size: 0.8125rem; color: var(--text-muted); }
/* Handy: Vergleichstabelle als gestapelte Karten statt seitlich zu wischen (Spaltenname steht vor jedem Wert) */
@media (max-width: 599px) {
  .spec-table { display: block; min-width: 0; }
  .spec-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .spec-table tbody,
  .spec-table tr,
  .spec-table th { display: block; }
  .spec-table tbody tr { padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .spec-table tbody tr:last-child { border-bottom: 0; }
  .spec-table tbody th { padding: 0 0 6px; border: 0; }
  .spec-table tbody td { display: flex; justify-content: space-between; gap: 16px; padding: 3px 0; border: 0; white-space: nowrap; }
  .spec-table tbody td::before { content: attr(data-label); color: var(--text-muted); white-space: normal; }
}

.media-grid { display: grid; gap: clamp(10px, 1.4vw, 18px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.media-grid figure { margin: 0; overflow: hidden; border-radius: var(--radius); aspect-ratio: 16 / 10.5; background: var(--paper-2); }
.media-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.media-grid figure:hover img { transform: scale(1.04); }

.partner-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 32px;
  padding: 18px 22px;
  border-radius: var(--radius);
  background: var(--paper);
  font-size: 0.9375rem;
}
.partner-note img { width: auto; height: 40px; }
.partner-note p { margin: 0; flex: 1 1 280px; color: var(--text-muted); }

.anchor-nav { position: sticky; top: var(--header-h); z-index: 50; background: rgba(255, 255, 255, 0.96); border-bottom: 1px solid var(--line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.anchor-nav ul { display: flex; gap: 6px; overflow-x: auto; list-style: none; margin: 0; padding: 10px 0; scrollbar-width: none; }
.anchor-nav ul::-webkit-scrollbar { display: none; }
/* Handy: weicher Rand rechts zeigt, dass sich die Leiste seitlich wischen lässt; der Abstandshalter lässt den letzten Eintrag ganz aus dem Verlauf rollen */
@media (max-width: 767px) {
  .anchor-nav ul { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent); }
  .anchor-nav ul::after { content: ""; flex: 0 0 24px; }
}
.anchor-nav a { display: inline-block; padding: 8px 14px; border-radius: 999px; color: var(--text); font-size: 0.9375rem; font-weight: 500; white-space: nowrap; text-decoration: none; }
.anchor-nav a:hover { background: var(--paper); color: var(--ink-950); }
.section--dark .card { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.1); }
.section--dark .card p { color: var(--muted-on-dark); }

.btn-row--center { justify-content: center; }
.error-page__code svg { width: 1em; height: 1em; margin: 0 auto; }

/* 12. Feinschliff für kleine Bildschirme ------------------------------------------ */
@media (max-width: 599px) {
  .hero__checks { grid-template-columns: 1fr; }
  .btn-row .btn { flex: 1 1 100%; }
  .trust-row { flex-direction: column; text-align: center; }
  .collage { padding-right: 24px; }
}
.trust-row > span:last-child { max-width: 270px; }

@media (max-width: 699px) {
  .product-card { flex-direction: row; min-height: 128px; }
  .product-card__media { flex: 0 0 40%; aspect-ratio: auto; }
  .product-card__body { justify-content: center; padding: 14px 16px; }
  .product-card__title { font-size: 1.0625rem; }
  .product-card__text { font-size: 0.8125rem; }
  .product-card__more { font-size: 0.875rem; }
}

@media (max-width: 759px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 20px; }
  .footer-brand,
  .footer-col--contact { grid-column: 1 / -1; }
}
@media (max-width: 1079px) {
  .footer-bottom { padding-bottom: 92px; }
}
@media (max-width: 599px) {
  .area-map .city-label { font-size: 16px; }
  .area-map .city-label--main { font-size: 20px; }
}
.anchor-nav ~ section[id] { scroll-margin-top: calc(var(--header-h) + 72px); }

.page-home .partners { background: var(--paper); }

/* Pfeil-Symbol für Links, die in einem neuen Tab öffnen (wird von build.py ergänzt) */
.icon-ext { display: inline-block; width: 0.85em; height: 0.85em; margin-left: 0.15em; vertical-align: -0.06em; flex: none; }
.btn .icon-ext,
.text-link .icon-ext { margin-left: 0; }
.text-link:hover .icon-ext { transform: translate(2px, -2px); }

/* „Weitere Produkte“ direkt nach einem hellen Abschnitt: weiß, damit sich hell und weiß abwechseln */
.section--paper + .more-products-section { background: var(--white); }
.section--paper + .more-products-section .mega__link { background: var(--paper); box-shadow: none; }
.section--paper + .more-products-section .mega__link:hover { background: var(--paper-2); box-shadow: none; }

/* Kompaktes Kontaktformular (passt auf dem Desktop ohne Scrollen auf den Bildschirm) */
.form--compact { gap: 14px; }
.form--compact .form__row { gap: 14px; }
.form--compact .field { gap: 5px; }
.form--compact .field label { font-size: 0.875rem; }
.form--compact .input,
.form--compact .select { min-height: 46px; padding: 10px 12px; }
.form--compact .select { padding-right: 40px; }
.form--compact .textarea { min-height: 96px; padding: 10px 12px; }
/* Eingabefelder bleiben bei 16 px – kleiner zoomt Safari auf iPhone und iPad beim Antippen in die Seite */
.form--compact .btn { min-height: 50px; }
.form__row--names { grid-template-columns: 1fr 1fr; }
.dropzone--compact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 4px 12px;
  padding: 12px 14px;
  text-align: left;
}
.dropzone--compact svg { width: 24px; height: 24px; flex: none; }
.dropzone--compact .dropzone__text { flex: 1 1 200px; font-size: 0.9375rem; line-height: 1.4; }
.dropzone--compact .dropzone__files { flex: 1 1 100%; margin: 0; }
.dropzone--compact .dropzone__files:empty { display: none; }

/* Kontaktseite: Kontaktband hell (gleiche Hintergrundfarbe wie „Ihr Weg zu uns“, dunkle Schrift) */
.page-kontakt .contact-band.section--dark { background-color: var(--paper); color: var(--text); }
.page-kontakt .contact-band h2,
.page-kontakt .contact-band__value,
.page-kontakt .contact-band .text-link { color: var(--text); }
.page-kontakt .contact-band__label { color: var(--text-muted); }
.page-kontakt .contact-band__label svg { color: var(--green-700); }
.page-kontakt a.contact-band__value:hover,
.page-kontakt .contact-band .text-link:hover { color: var(--green-700); }

@media (max-width: 959px) { .media-frame--tall { aspect-ratio: 16 / 10; } }
@media (min-width: 480px) { .facts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .facts { grid-template-columns: repeat(4, 1fr); } }
/* Produktkacheln: „Mehr erfahren“ in einer Reihe auf gleicher Höhe */
@media (min-width: 700px) {
  .product-card__body { flex: 1 1 auto; }
  .product-card__more { margin-top: auto; padding-top: 6px; }
}

/* Vorher / Nachher */
.before-after {
  display: grid;
  gap: clamp(14px, 2vw, 22px);
  grid-template-columns: 1fr 1fr;
  align-items: center;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.before-after__text { grid-column: 1 / -1; }
.before-after__text h3 { font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.9rem); }
.before-after__text p { color: var(--text-muted); max-width: 520px; }
.before-after__item { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); aspect-ratio: 3 / 4; background: var(--paper-2); }
.before-after__item img { width: 100%; height: 100%; object-fit: cover; }
.ba-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(11, 31, 29, 0.85);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.ba-badge--after { background: var(--green-500); color: var(--ink-950); }
@media (min-width: 900px) {
  .before-after { grid-template-columns: 1.1fr 0.9fr 0.9fr; }
  .before-after__text { grid-column: auto; padding-right: clamp(8px, 2vw, 32px); }
}

/* 12. News -------------------------------------------------------------------- */
.news-liste { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.news-eintrag {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding-block: clamp(22px, 3vw, 32px);
  border-bottom: 1px solid var(--line);
}
@media (min-width: 700px) {
  .news-eintrag { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(24px, 3vw, 40px); align-items: start; }
  .news-eintrag--ohne-foto { grid-template-columns: minmax(0, 1fr); }
  .news-liste--kompakt .news-eintrag { grid-template-columns: minmax(0, 220px) minmax(0, 1fr); }
  .news-liste--kompakt .news-eintrag--ohne-foto { grid-template-columns: minmax(0, 1fr); }
}
.news-eintrag__bild { overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3; background: var(--paper-2); }
.news-eintrag__bild img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.news-eintrag:hover .news-eintrag__bild img { transform: scale(1.03); }
.news-eintrag__datum { margin: 0 0 6px; font-size: 0.875rem; color: var(--text-muted); }
.news-eintrag__titel { margin: 0 0 10px; font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.6rem); line-height: 1.25; letter-spacing: -0.015em; }
.news-liste--kompakt .news-eintrag__titel { font-size: clamp(1.125rem, 1.05rem + 0.3vw, 1.3rem); }
.news-eintrag__titel a { color: var(--green-700); text-decoration: none; }
.news-eintrag__titel a::after { content: ""; position: absolute; inset: 0; z-index: 1; } /* ganzer Eintrag klickbar */
.news-eintrag:hover .news-eintrag__titel a { text-decoration: underline; }
.news-eintrag__text { max-width: 72ch; margin: 0 0 12px; color: var(--text-muted); }
.news-eintrag__mehr { display: inline-flex; align-items: center; gap: 6px; font-size: 0.9375rem; font-weight: 600; color: var(--green-700); }
.news-eintrag__mehr svg { width: 16px; height: 16px; transition: transform 0.2s var(--ease); }
.news-eintrag:hover .news-eintrag__mehr svg { transform: translateX(3px); }

.leerzustand {
  max-width: 680px;
  margin-inline: auto;
  padding: clamp(28px, 4vw, 48px);
  border: 1px dashed #cfd5d2;
  border-radius: var(--radius-lg);
  background: #fff;
  text-align: center;
}
.leerzustand h2 { font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.9rem); }
.leerzustand p { color: var(--text-muted); }
.leerzustand .btn { margin-top: 8px; }

.seiten-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 20px; margin-top: clamp(32px, 4vw, 48px); }
.seiten-nav__stand { color: var(--text-muted); font-size: 0.9375rem; }

/* Beitragsseite: Zurück-Link, Datum, grüner Titel, Foto links und Text rechts */
.news-artikel { padding-block: clamp(32px, 5vw, 56px) clamp(56px, 7vw, 96px); }
.news-artikel__zurueck { margin: 0 0 clamp(18px, 2.5vw, 28px); }
.news-artikel__zurueck--unten { margin: clamp(32px, 4vw, 48px) 0 0; }
.news-artikel__zurueck a { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green-700); text-decoration: none; }
.news-artikel__zurueck a:hover { text-decoration: underline; }
.news-artikel__zurueck svg { width: 18px; height: 18px; transition: transform 0.2s var(--ease); }
.news-artikel__zurueck a:hover svg { transform: translateX(-3px); }
.news-artikel__datum { margin: 0 0 4px; font-size: 0.875rem; color: var(--text-muted); }
.news-artikel__titel { max-width: 900px; margin: 0 0 clamp(24px, 3vw, 36px); font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); line-height: 1.2; letter-spacing: -0.02em; color: var(--green-700); }
.news-artikel__inhalt { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(24px, 3vw, 40px); }
@media (min-width: 800px) {
  .news-artikel__inhalt { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); align-items: start; }
  .news-artikel__inhalt--ohne-foto { grid-template-columns: minmax(0, 760px); }
}
.news-artikel__foto { margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--paper-2); }
.news-artikel__foto img { display: block; width: 100%; height: auto; }
.news-artikel__text { max-width: 760px; font-size: 1.0625rem; line-height: 1.7; }
.news-artikel__text p,
.news-artikel__text li { color: var(--text-muted); }
.news-artikel__text a { overflow-wrap: anywhere; }

/* Startseite: neueste Beiträge im Bereich „Einblicke“ */
.news-teaser { margin-top: clamp(48px, 6vw, 80px); }
.news-teaser[hidden] { display: none; }
.news-teaser__kopf { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: clamp(20px, 2.5vw, 28px); }
.news-teaser__titel { margin: 0; font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.9rem); }

/* Verwaltung (/news/verwalten/) */
.verwaltung { background: var(--paper); }
.verwaltung-kopf { border-bottom: 1px solid var(--line); background: #fff; }
.verwaltung-kopf__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; min-height: 72px; padding-block: 12px; }
.verwaltung-kopf .brand img { width: auto; height: 45px; }
.verwaltung-kopf__titel { font-weight: 600; color: var(--text-muted); }
.verwaltung-kopf__abmelden { margin-left: auto; }
.verwaltung-inhalt { padding-block: clamp(28px, 5vw, 56px) clamp(56px, 7vw, 96px); }
.verwaltung-inhalt h1 { font-size: clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem); }
.verwaltung-fuss { padding-block: 0 40px; font-size: 0.9375rem; }
.verwaltung-fuss a { display: inline-flex; align-items: center; min-height: 44px; }
.verwaltung code { padding: 1px 6px; border-radius: 4px; background: var(--paper-2); font-size: 0.9em; }
.verwaltung-karte { padding: clamp(22px, 3vw, 36px); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); }
.verwaltung-karte--schmal { max-width: 540px; margin-inline: auto; }
.verwaltung-karte > :last-child { margin-bottom: 0; }
.verwaltung-hinweis { margin: 20px 0 0; font-size: 0.9375rem; color: var(--text-muted); }
.verwaltung-schritte { padding-left: 1.3em; }
.verwaltung-schritte li { margin-bottom: 0.6em; }
.verwaltung-zurueck { margin-bottom: 16px; font-size: 0.9375rem; }
.verwaltung-leiste { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-bottom: 24px; }
.verwaltung-leiste h1 { margin: 0; }
.verwaltung-meldung { margin-bottom: 24px; padding: 14px 18px; border: 1px solid; border-radius: var(--radius); font-size: 0.96875rem; }
.verwaltung-meldung p { margin: 0; }
.verwaltung-meldung--ok { border-color: var(--green-200); background: var(--green-50); color: var(--ink-900); }
.verwaltung-meldung--fehler { border-color: #f5c2c2; background: #fdecec; color: #8a1c1c; }
.verwaltung-meldung--info { border-color: var(--line); background: #fff; color: var(--text); }
.verwaltung-liste { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.verwaltung-eintrag { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 16px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.verwaltung-eintrag__bild { align-self: start; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-sm); background: var(--paper-2); }
.verwaltung-eintrag__bild img { width: 100%; height: 100%; object-fit: cover; }
.verwaltung-eintrag__bild:empty + .verwaltung-eintrag__inhalt { grid-column: 2; }
@media (max-width: 479px) {
  .verwaltung-eintrag { grid-template-columns: 64px 1fr; gap: 12px; padding: 12px; }
  .verwaltung-eintrag__bild:empty { display: none; }
  .verwaltung-eintrag__bild:empty + .verwaltung-eintrag__inhalt { grid-column: 1 / -1; }
}
.verwaltung-eintrag__titel { margin: 0 0 6px; font-size: 1.125rem; line-height: 1.3; letter-spacing: -0.01em; }
.verwaltung-eintrag__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 0.875rem; color: var(--text-muted); }
.verwaltung-eintrag__aktionen { display: flex; flex-wrap: wrap; gap: 8px; }
.status { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 0.8125rem; font-weight: 600; }
.status--oeffentlich { background: var(--green-100); color: var(--ink-900); }
.status--entwurf { background: #fff1c7; color: #5c4708; }
.verwaltung-sicherheit { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 0.9375rem; color: var(--text-muted); }
.verwaltung-sicherheit h2 { font-size: 1.125rem; color: var(--text); }
.verwaltung-formular { padding: clamp(20px, 3vw, 32px); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); }
.verwaltung-formular .field__hint p { margin: 0; }
.verwaltung-formular .field__hint ul { margin: 4px 0 0; padding-left: 1.2em; }
.input--datum { max-width: 220px; }
.input--datei { min-height: 0; padding: 10px; }
.foto-feld { min-width: 0; margin: 0; padding: 0; border: 0; }
.foto-feld legend { margin-bottom: 7px; padding: 0; font-size: 0.9375rem; font-weight: 600; }
.foto-feld__label { font-size: 0.9375rem; font-weight: 600; }
.foto-vorschau { margin: 0 0 6px; }
.foto-vorschau img { max-width: 240px; height: auto; border-radius: var(--radius-sm); }
.foto-vorschau figcaption { margin-top: 6px; font-size: 0.8125rem; color: var(--text-muted); }
.form-aktionen { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; }
.fehler-zusammenfassung { margin-bottom: 24px; padding: 16px 20px; border: 2px solid #c62828; border-radius: var(--radius); background: #fff; }
.fehler-zusammenfassung h2 { margin-bottom: 8px; font-size: 1.0625rem; color: #8a1c1c; }
.fehler-zusammenfassung ul { margin: 0; }
.fehler-zusammenfassung a { color: #8a1c1c; }
.btn--gefahr { --btn-bg: #b42318; --btn-fg: #fff; }
.btn--gefahr:hover { --btn-bg: #912018; }
.btn--loeschen { --btn-bg: transparent; --btn-fg: #b42318; border-color: rgba(180, 35, 24, 0.4); }
.btn--loeschen:hover { --btn-bg: #fdecec; --btn-fg: #912018; }
.news-artikel--vorschau { padding: clamp(20px, 3vw, 32px); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); }
