/* =====================================================================
   HÄNDLE KOMPOST & BIOMASSE GMBH – Stylesheet (helles Design)
   ---------------------------------------------------------------------
   Aufbau dieser Datei:
     1.  Farben & Grundeinstellungen (hier zentral anpassen!)
     2.  Schriften
     3.  Basis / Typografie
     4.  Hintergrund
     5.  Kopfzeile & Navigation (Desktop + Handy)
     6.  Buttons & Labels
     7.  Startseite: Hero-Slider, Kennzahlen, Werte
     8.  Unterseiten: Seitenkopf, Brotkrümel
     9.  Abschnitte, Karten, Raster
    10.  Produkte, Vorteile, Siegel, Datenblatt
    11.  Downloads, Zeitleiste, Jobs, Kontakt, Rechtstexte
    12.  Fußzeile
    13.  Einblend-Animationen
   ===================================================================== */


/* =========================================================
   1. FARBEN & GRUNDEINSTELLUNGEN
   Tipp: Wer die Farben ändern möchte, ändert sie nur hier.
   ========================================================= */
:root {
  /* Hintergründe (warmes Cremeweiß) */
  --bg:            #f7f5ef;
  --bg-2:          #f2ebe1;   /* leicht warmer Wechsel-Hintergrund */
  --surface:       #ffffff;   /* Karten */
  --surface-hover: #ffffff;

  /* Linien & Rahmen */
  --line:          rgba(80, 50, 20, 0.11);
  --line-strong:   rgba(80, 50, 20, 0.22);

  /* Text */
  --text:          #2b2118;
  --text-muted:    #66574b;
  --text-dim:      #918274;

  /* Markenfarben (aus LKW-Grün, Logo-Braun, Sonnenblume abgeleitet) */
  --accent:        #8b4614;   /* Logo-Braun             */
  --accent-deep:   #6e370f;   /* dunkleres Braun        */
  --accent-soft:   #f6ebdf;   /* sehr helles Braun      */
  --accent-bright: #f4cfa3;   /* helles Braun auf Fotos */
  --sun:           #f2a900;   /* Sonnenblume            */
  --sun-soft:      #fff4d6;
  --green:         #5a8a3c;   /* Logo-Grün (Hügel)      */
  --footer:        #3b220f;   /* Fußzeile (Dunkelbraun) */
  --photo-shade:   38, 22, 10; /* Abdunkelung über Fotos (R, G, B) */

  /* Schatten */
  --shadow:        0 1px 2px rgba(50,32,18,.04), 0 12px 32px -14px rgba(50,32,18,.16);
  --shadow-hover:  0 2px 4px rgba(50,32,18,.05), 0 24px 48px -16px rgba(50,32,18,.24);

  /* Maße */
  --radius:        20px;
  --radius-sm:     12px;
  --container:     1240px;
  --header-h:      76px;

  /* Schriften */
  --font:          "Rubik", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono:          ui-monospace, "SFMono-Regular", "Cascadia Mono", Menlo, Consolas, monospace;

  /* Bewegung */
  --ease:          cubic-bezier(.2, .7, .2, 1);
}


/* =========================================================
   2. SCHRIFTEN (lokal eingebunden – kein Google-Server,
      daher DSGVO-freundlich)
   ========================================================= */
@font-face { font-family: "Rubik"; font-weight: 400; font-display: swap; src: url("../fonts/Rubik-Regular.ttf") format("truetype"); }
@font-face { font-family: "Rubik"; font-weight: 500; font-display: swap; src: url("../fonts/Rubik-Medium.ttf") format("truetype"); }
@font-face { font-family: "Rubik"; font-weight: 700; font-display: swap; src: url("../fonts/Rubik-Bold.ttf") format("truetype"); }


/* =========================================================
   3. BASIS / TYPOGRAFIE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }

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

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

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-deep); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent); }

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 6.5vw, 5.2rem); }
/* Lange Wörter: Trennstelle im HTML mit &shy; setzen, z. B. Vegetations&shy;substrat */
h1, h2, h3 { overflow-wrap: break-word; hyphens: manual; -webkit-hyphens: manual; }
h2 { font-size: clamp(1.9rem, 4.2vw, 3.2rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.65rem); }
h4 { font-size: 1.1rem; letter-spacing: 0; }
p  { margin: 0 0 1em; }

.text-muted  { color: var(--text-muted); }
.text-accent { color: var(--accent-deep); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--text-muted); max-width: 62ch; }

/* Farbverlauf für Hervorhebungen in Überschriften */
.glow-text {
  background: linear-gradient(100deg, var(--accent-deep) 0%, #b8682a 55%, #d99a00 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* ...und eine hellere Variante auf Fotos */
/* Im Slider: einfarbig mit Schatten, damit es auf jedem Foto lesbar bleibt */
.hero .glow-text { background: none; color: #ffd27a; -webkit-text-fill-color: #ffd27a; }
.page-hero:not(.page-hero--plain) .glow-text {
  background-image: linear-gradient(100deg, #f4cfa3 0%, #fff1e0 50%, #ffd25e 100%);
}

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

.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 1000;
  background: var(--accent); color: #fff; padding: 8px 16px; border-radius: 8px;
}
.skip-link:focus { left: 8px; }

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


/* =========================================================
   4. HINTERGRUND: dezentes Raster + sanftes Leuchten
   ========================================================= */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -2;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: .45;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 0%, transparent 75%);
}
body::after {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(600px 420px at 90% 20%, rgba(139, 70, 20, .08), transparent 70%),
    radial-gradient(520px 420px at 0% 70%, rgba(242, 169, 0, .08), transparent 70%);
}


/* =========================================================
   5. KOPFZEILE & NAVIGATION
   ========================================================= */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, .78);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s, background .3s;
}
/* Wird per JavaScript gesetzt, sobald man scrollt */
.site-header.is-scrolled {
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 8px 30px -12px rgba(50,32,18,.18);
}
.site-header .container {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

.logo img { height: 46px; width: auto; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav__list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__link, .nav__toggle {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px;
  color: var(--text);
  font: 500 .95rem/1 var(--font);
  background: none; border: 0; border-radius: 999px; cursor: pointer;
  transition: background .2s, color .2s;
}
.nav__link:hover, .nav__toggle:hover,
.nav__item.is-open > .nav__toggle { background: var(--accent-soft); color: var(--accent-deep); }
.nav__link[aria-current="page"], .nav__item.is-current > .nav__toggle { color: var(--accent-deep); background: var(--accent-soft); }
.nav__toggle svg { width: 12px; height: 12px; transition: transform .25s; }
.nav__item.is-open > .nav__toggle svg { transform: rotate(180deg); }

.nav__item { position: relative; }

/* Aufklapp-Menü (Desktop) */
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%;
  min-width: 270px;
  padding: 8px;
  list-style: none; margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 24px 50px -16px rgba(50,32,18,.28);
  opacity: 0; visibility: hidden;
  transform: translate(-50%, 6px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.nav__item.is-open > .dropdown,
.nav__item:hover > .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown a {
  display: flex; justify-content: space-between; align-items: center; gap: 18px;
  padding: 10px 14px; border-radius: 10px;
  color: var(--text); font-size: .95rem; white-space: nowrap;
}
.dropdown a::after { content: "→"; color: var(--text-dim); transition: transform .2s, color .2s; }
.dropdown a:hover { background: var(--accent-soft); color: var(--accent-deep); }
.dropdown a:hover::after { color: var(--accent); transform: translateX(3px); }
/* unsichtbare Brücke, damit das Menü beim Hinfahren mit der Maus offen bleibt */
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }


/* ---------- Mega-Menü (Produkte / Karriere) mit Bildern ---------- */
.nav__item--mega { position: static; }
.mega {
  position: absolute; top: calc(100% + 6px); left: 50%;
  width: min(1180px, calc(100vw - 32px));
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 30px 60px -20px rgba(50,32,18,.3);
  opacity: 0; visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
/* unsichtbare Brücke zwischen Menüpunkt und Feld, damit die Maus es nicht "verliert" */
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -34px; height: 34px; }
@media (min-width: 1081px) {
  .nav__item--mega.is-open > .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
}
.mega__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.mega--jobs { width: min(760px, calc(100vw - 32px)); }
.mega--jobs .mega__grid { grid-template-columns: repeat(2, 1fr); }
.mega__card {
  display: flex; flex-direction: column; gap: 4px;
  padding: 12px; border-radius: 16px;
  background: var(--bg); color: var(--text);
  border: 1px solid transparent;
  transition: background .2s, border-color .2s, transform .25s var(--ease);
}
.mega__card:hover { background: var(--accent-soft); border-color: rgba(139,70,20,.25); color: var(--text); transform: translateY(-2px); }
.mega__img {
  aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden;
  margin-bottom: 8px; border-radius: 12px;
  background: radial-gradient(ellipse at 50% 75%, #fff 0%, rgba(255,255,255,0) 70%);
}
.mega__img img { width: 92%; height: auto; filter: drop-shadow(0 10px 10px rgba(60,40,10,.2)); transition: transform .4s var(--ease); }
.mega__img--photo img { width: 100%; height: 100%; object-fit: cover; filter: none; }
.mega__card:hover .mega__img img { transform: scale(1.06); }
.mega__title { font-weight: 700; font-size: 1rem; line-height: 1.25; }
.mega__text { font-size: .84rem; color: var(--text-muted); line-height: 1.35; }
.mega__foot {
  display: flex; flex-wrap: wrap; gap: 8px 22px;
  margin-top: 14px; padding: 14px 6px 2px; border-top: 1px solid var(--line);
}
.mega__foot a { font-weight: 500; font-size: .92rem; color: var(--accent-deep); }
.mega__foot a::after { content: " →"; }
.mega__foot a:hover { color: var(--accent); }

@media (max-width: 1080px) {
  .mega {
    position: static; width: auto; transform: none;
    padding: 4px 0 16px; border: 0; box-shadow: none; background: none; border-radius: 0;
    display: none; opacity: 1; visibility: visible;
  }
  .mega::before { display: none; }
  .nav__item.is-open > .mega { display: block; }
  .mega__grid, .mega--jobs .mega__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .mega__card { padding: 10px; background: #fff; border-color: var(--line); }
  .mega__img { aspect-ratio: 16 / 10; }
  .mega__foot { padding-top: 12px; }
}
@media (max-width: 380px) {
  .mega__text { display: none; }
}

.nav__cta { margin-left: 10px; }

/* Burger-Knopf (nur Handy) */
.burger {
  display: none;
  width: 52px; height: 52px; margin-right: -10px;
  border: 0; background: none; border-radius: 12px;
  cursor: pointer; position: relative;
}
@media (hover: hover) { .burger:hover { background: var(--accent-soft); } }
.logo { position: relative; z-index: 2; }
.burger span {
  position: absolute; left: 11px; right: 11px; height: 3px; background: var(--text);
  border-radius: 3px; transition: transform .3s var(--ease), opacity .2s;
}
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 25px; }
.burger span:nth-child(3) { top: 34px; }
.nav-open .burger span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ---------- Navigation auf Handy & Tablet ---------- */
@media (max-width: 1080px) {
  /* Ohne Unschärfe-Effekt, sonst kann sich das Vollbild-Menü nicht über die ganze Seite legen */
  .site-header, .site-header.is-scrolled { background: rgba(255, 255, 255, .96); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .burger { display: block; z-index: 2; }
  .nav {
    position: fixed; inset: 0;
    padding: calc(var(--header-h) + 12px) 20px 32px;
    flex-direction: column; align-items: stretch; gap: 16px;
    background: rgba(247, 245, 239, .98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    overflow-y: auto;
    opacity: 0; visibility: hidden;
    transition: opacity .3s, visibility .3s;
  }
  .nav-open .nav { opacity: 1; visibility: visible; }
  .nav-open { overflow: hidden; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list > li { border-bottom: 1px solid var(--line); }
  .nav__link, .nav__toggle {
    width: 100%; justify-content: space-between;
    padding: 18px 4px; font-size: 1.25rem; border-radius: 0;
  }
  .nav__link:hover, .nav__toggle:hover, .nav__item.is-open > .nav__toggle,
  .nav__link[aria-current="page"], .nav__item.is-current > .nav__toggle { background: none; }
  .dropdown {
    position: static; transform: none; min-width: 0;
    background: none; border: 0; box-shadow: none; padding: 0 0 12px;
    display: none; opacity: 1; visibility: visible;
  }
  .dropdown::before { display: none; }
  .nav__item:hover > .dropdown { transform: none; }
  .nav__item.is-open > .dropdown { display: block; transform: none; }
  .dropdown a { padding: 12px 8px; font-size: 1.05rem; color: var(--text-muted); white-space: normal; }
  .nav__cta { margin: 8px 0 0; }
  .nav__cta .btn { width: 100%; justify-content: center; }
}


/* =========================================================
   6. BUTTONS & LABELS
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px;
  font: 500 1rem/1 var(--font);
  border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .25s, background .2s, color .2s, border-color .2s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 10px 24px -10px rgba(139,70,20,.7);
}
.btn--primary:hover { color: #fff; background: var(--accent-deep); transform: translateY(-2px); box-shadow: 0 0 0 5px rgba(139,70,20,.15), 0 16px 32px -12px rgba(139,70,20,.75); }
.btn--ghost { color: var(--text); border-color: var(--line-strong); background: #fff; }
.btn--ghost:hover { color: var(--accent-deep); border-color: var(--accent); background: var(--accent-soft); }
.btn--sm { padding: 10px 18px; font-size: .92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Kleines Label über Überschriften, z. B. "● PRODUKTE" */
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 16px;
  font: 600 .8rem/1 var(--font);
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-deep);
}
.kicker::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--sun); box-shadow: 0 0 0 4px rgba(242,169,0,.18);
  animation: pulse 2.4s infinite;
}
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(242,169,0,.05); } }

/* Etikett / Chip */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px;
  font: 500 .8rem/1 var(--font);
  color: var(--text-muted); border: 1px solid var(--line-strong); background: #fff;
}
.tag--accent { color: var(--accent-deep); border-color: rgba(139,70,20,.25); background: var(--accent-soft); }
.tag--sun    { color: #8a5a00; border-color: rgba(242,169,0,.35); background: var(--sun-soft); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }


/* =========================================================
   7. STARTSEITE
   ========================================================= */

/* ---------- Hero mit Bilder-Slider ---------- */
.hero {
  position: relative;
  min-height: 92svh;
  margin: 0 12px;
  border-radius: 0 0 36px 36px;
  display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + 40px) 0 48px;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
}
.hero__slides { position: absolute; inset: 0; z-index: -2; }
.hero__slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.08);
  transition: opacity 1.6s ease, transform 7s linear;
}
.hero__slide.is-active { opacity: 1; transform: scale(1); }
/* Abdunkelung über den Fotos, damit die weiße Schrift lesbar bleibt */
.hero::before {
  /* Dezente Abdunkelung nur unten links hinter dem Text – der Rest des Fotos bleibt hell */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(0deg, rgba(var(--photo-shade), .62) 0%, rgba(var(--photo-shade), .2) 38%, rgba(var(--photo-shade), 0) 60%),
    linear-gradient(90deg, rgba(var(--photo-shade), .35) 0%, rgba(var(--photo-shade), 0) 55%);
}
.hero h1 { max-width: 16ch; color: #fff; font-size: clamp(2rem, 4.2vw, 3.4rem); margin-bottom: .35em; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.hero .lead { color: #fff; font-size: clamp(1rem, 1.3vw, 1.15rem); margin-bottom: 22px; text-shadow: 0 1px 10px rgba(0,0,0,.45); }
.hero .kicker, .page-hero:not(.page-hero--plain) .kicker { color: var(--accent-bright); }
.hero .btn--ghost { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.4); backdrop-filter: blur(8px); }
.hero .btn--ghost:hover { background: #fff; color: var(--accent-deep); }

/* Hinweis-Etikett im Slider (z. B. "100 % Elektrisch · CO₂-neutral") */
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 16px; padding: 8px 16px 8px 12px;
  border-radius: 999px;
  background: rgba(var(--photo-shade), .55);
  border: 1px solid rgba(255, 210, 122, .55);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: #fff; font: 600 .95rem/1 var(--font); letter-spacing: .02em;
  box-shadow: 0 0 24px -6px rgba(252, 196, 32, .55);
  animation: badgeIn .6s var(--ease) both;
}
.hero__badge[hidden] { display: none; }
/* Symbol auf hellem Schild (z. B. Spielgerät beim Rindenmulch) */
.hero__icon {
  display: block; width: 210px; height: auto; margin-bottom: 16px;
  padding: 10px 14px; border-radius: 18px;
  background: rgba(255, 248, 240, .93);
  box-shadow: 0 12px 30px -12px rgba(0,0,0,.45);
}
.hero__icon[hidden] { display: none; }
@media (max-width: 600px) { .hero__icon { width: 140px; padding: 7px 10px; border-radius: 14px; margin-bottom: 12px; } }
.hero__new { display: none; }
/* NEU-Variante: gelbes "NEU" statt Blitz */
.hero__badge.is-new img { display: none; }
.hero__badge.is-new .hero__new {
  display: inline-block; padding: 4px 9px; border-radius: 999px;
  background: var(--sun); color: #3b220f; font: 800 .8rem/1 var(--font); letter-spacing: .08em;
}
.hero__badge img { width: auto; height: 22px; filter: drop-shadow(0 0 6px rgba(252,196,32,.8)); }
@keyframes badgeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.hero__meta {
  display: flex; justify-content: flex-start; align-items: flex-end; gap: 24px; flex-wrap: wrap;
  margin-top: 28px;
  font: 500 .82rem/1.4 var(--font); letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.8);
}
.hero__dots { display: flex; gap: 8px; }
.hero__dots button {
  width: 28px; height: 4px; border: 0; padding: 0; border-radius: 2px;
  background: rgba(255,255,255,.35); cursor: pointer; transition: background .3s, width .3s;
}
.hero__dots button { position: relative; overflow: hidden; }
.hero__dots button.is-active { width: 48px; background: rgba(255,255,255,.35); }
/* Fortschrittsbalken: füllt sich, bis das nächste Bild kommt */
.hero__dots button.is-active::after {
  content: ""; position: absolute; inset: 0; background: var(--sun);
  transform-origin: left; animation: slideProgress var(--slide-interval, 6000ms) linear forwards;
}
@keyframes slideProgress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Text wechselt mit kleiner Einblendung */
.hero__text.is-in { animation: heroTextIn .7s var(--ease) both; }
@keyframes heroTextIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero__text h1[hidden], .hero__text .lead[hidden] { display: none; }

/* Bilder mit eigenem Text im Bild: kaum abdunkeln, nur unten für die Buttons */
.hero.is-plain::before {
  background: linear-gradient(0deg, rgba(var(--photo-shade), .45) 0%, rgba(var(--photo-shade), 0) 28%);
}
.hero::before { transition: background .8s; }
/* Bilder mit eigenem Text: Buttons nach rechts, damit der Bildtext frei bleibt */
@media (min-width: 861px) {
  .hero.is-plain .btn-row { position: absolute; right: 36px; bottom: 44px; flex-direction: column; align-items: flex-end; }
}
.hero__slide[data-title=""] { background-position: left center; }
@media (max-width: 860px) {
  /* Am Handy diese Bilder komplett zeigen, damit der Text im Bild lesbar ist */
  .hero__slide[data-title=""] {
    background-size: contain; background-repeat: no-repeat; background-position: center 38%;
    background-color: rgb(var(--photo-shade));
  }
  .hero.is-plain .btn-row { flex-direction: row; align-items: center; }
  .hero.is-plain::before { background: none; }
}

/* ---------- Kennzahlen ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; box-shadow: var(--shadow);
  overflow: hidden;
}
.stat { padding: 28px 26px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat__value { font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 700; letter-spacing: -.03em; line-height: 1; color: var(--text); }
.stat__value small { font-size: .5em; color: var(--accent); margin-left: 4px; font-weight: 500; }
.stat__label { margin-top: 10px; font: 500 .8rem/1.4 var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); }

/* ---------- Werte (5 Symbole) ---------- */
.values { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.value {
  padding: 26px 20px; text-align: center;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow);
  transition: box-shadow .3s, transform .3s var(--ease);
}
.value:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.value__icon {
  width: 58px; height: 58px; margin: 0 auto 14px; display: grid; place-items: center;
  border-radius: 18px; color: var(--accent-deep);
  background: var(--accent-soft);
}
.value:nth-child(even) .value__icon { background: var(--sun-soft); color: #a86f00; }
.value__icon svg { width: 28px; height: 28px; }
.value h4 { margin: 0; font-size: 1rem; font-weight: 500; }


/* =========================================================
   8. UNTERSEITEN: Seitenkopf
   ========================================================= */
.page-hero {
  position: relative; isolation: isolate;
  min-height: 58vh;
  margin: 0 12px;
  border-radius: 0 0 36px 36px;
  display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + 60px) 0 52px;
  overflow: hidden;
  color: #fff;
}
.page-hero__bg {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
  animation: slowzoom 14s ease-out both;
}
@keyframes slowzoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(var(--photo-shade), .8) 0%, rgba(var(--photo-shade), .45) 55%, rgba(var(--photo-shade), .15) 100%),
    linear-gradient(180deg, rgba(var(--photo-shade), .2) 0%, rgba(var(--photo-shade), .45) 100%);
}
.page-hero h1 { max-width: 18ch; }
.page-hero .lead { color: #e6efe9; }

/* Seitenkopf ohne Foto */
.page-hero--plain { min-height: 0; margin: 0; border-radius: 0; padding-bottom: 24px; color: var(--text); }
.page-hero--plain::before { display: none; }
.page-hero--plain .lead { color: var(--text-muted); }

.breadcrumb {
  display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 22px; padding: 0;
  font: 500 .8rem/1 var(--font); letter-spacing: .06em; text-transform: uppercase;
}
.breadcrumb li { color: var(--text-muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--text-dim); }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent-deep); }
.page-hero:not(.page-hero--plain) .breadcrumb li,
.page-hero:not(.page-hero--plain) .breadcrumb a,
.page-hero:not(.page-hero--plain) .breadcrumb li + li::before { color: rgba(255,255,255,.78); }
.page-hero:not(.page-hero--plain) .breadcrumb a:hover { color: #fff; }


/* =========================================================
   9. ABSCHNITTE, KARTEN, RASTER
   ========================================================= */
.section { padding: clamp(64px, 9vw, 112px) 0; position: relative; }
.section--tight { padding: clamp(40px, 6vw, 72px) 0; }
.section--alt { background: linear-gradient(180deg, transparent, var(--bg-2) 14%, var(--bg-2) 86%, transparent); }

.section__head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap;
  margin-bottom: 44px;
}
.section__head h2 { margin: 0; max-width: 18ch; }
.section__head p { margin: 0; max-width: 46ch; color: var(--text-muted); }

.grid { display: grid; gap: 18px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* Karte */
.card {
  position: relative;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; box-shadow: var(--shadow);
  overflow: hidden;
  transition: box-shadow .3s, transform .35s var(--ease);
}
.card:hover { box-shadow: var(--shadow-hover); }
a.card { color: inherit; display: block; }
a.card:hover { transform: translateY(-4px); color: inherit; }
.card__body { padding: 24px; }
.card__body h3, .card__body h4 { margin-bottom: .35em; }
.card__body p { color: var(--text-muted); margin: 0; }
.card__media { aspect-ratio: 4 / 3; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
a.card:hover .card__media img, .card:hover .card__media img { transform: scale(1.06); }
.card__index {
  position: absolute; top: 14px; left: 14px; z-index: 1;
  font: 600 .78rem/1 var(--font);
  padding: 7px 11px; border-radius: 999px;
  background: rgba(255,255,255,.92); color: var(--accent-deep); box-shadow: 0 4px 12px -4px rgba(0,0,0,.2);
}
.card__arrow {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 16px;
  font: 600 .88rem/1 var(--font); color: var(--accent-deep);
}
.card__arrow::after { content: "→"; transition: transform .25s; }
a.card:hover .card__arrow::after, a.tile:hover .card__arrow::after { transform: translateX(5px); }

/* Große Kategorie-Kacheln mit Foto */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.tile {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 420px; padding: 30px;
  display: flex; flex-direction: column; justify-content: flex-end;
  border-radius: calc(var(--radius) + 6px);
  color: #fff; box-shadow: var(--shadow);
  transition: box-shadow .3s, transform .4s var(--ease);
}
.tile:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); color: #fff; }
.tile--wide { grid-column: span 4; }
.tile--half { grid-column: span 3; }
.tile--narrow { grid-column: span 2; }
.tile__bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; transition: transform 1.2s var(--ease); }
.tile:hover .tile__bg { transform: scale(1.06); }
.tile::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(var(--photo-shade), 0) 25%, rgba(var(--photo-shade), .55) 55%, rgba(var(--photo-shade), .9) 100%);
}
.tile h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: .3em; }
.tile p { color: #e3ece6; max-width: 52ch; margin-bottom: 0; }
.tile .card__arrow { color: var(--accent-bright); }


/* =========================================================
   10. PRODUKTE, VORTEILE, SIEGEL, DATENBLATT
   ========================================================= */
.product {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: center;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--line); border-radius: calc(var(--radius) + 8px);
  background:
    radial-gradient(90% 70% at 0% 100%, rgba(139,70,20,.07), transparent 60%),
    #fff;
  box-shadow: var(--shadow);
}
.product + .product { margin-top: 24px; }
.product--flip .product__visual { order: 2; }

.product__visual {
  position: relative; display: grid; place-items: center;
  min-height: 300px;
}
/* Weicher Sockel unter den freigestellten Produktbildern */
.product__visual::before {
  content: ""; position: absolute; left: 6%; right: 6%; bottom: 4%; height: 60%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, var(--accent-soft) 0%, rgba(246,235,223,0) 70%);
}
.product__visual img { position: relative; z-index: 1; filter: drop-shadow(0 24px 22px rgba(60,40,10,.22)); }
.product__visual--photo img { border-radius: var(--radius); filter: none; box-shadow: var(--shadow); }
.product__visual--photo::before { display: none; }

.product__subtitle { font: 600 .9rem/1.4 var(--font); color: var(--accent-deep); margin-bottom: 14px; }
.product h2, .product h3 { margin-bottom: .35em; }
.product p { color: var(--text-muted); }

/* Vorteile als Häkchen-Liste */
.checks { list-style: none; margin: 18px 0 26px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.checks li { position: relative; padding-left: 32px; color: var(--text); font-size: .98rem; line-height: 1.45; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent) 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.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat;
}
.checks--single { grid-template-columns: 1fr; }

/* Prüfsiegel / Logos */
.badges { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 4px 0 22px; }
.badges img {
  height: 64px; width: auto; padding: 8px; border-radius: 14px;
  background: #fff; object-fit: contain; border: 1px solid var(--line);
}

/* Hinweis-Box */
.note {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 20px; margin-top: 24px;
  border: 1px solid rgba(242,169,0,.4); border-radius: var(--radius-sm);
  background: var(--sun-soft); color: #6b4a00; font-size: .95rem;
}
.note::before { content: "!"; flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--sun); color: #fff; font-weight: 700; font-size: .8rem; }

/* Datenblatt (Vegetationstechnische Daten) */
.specs { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-flow: dense; gap: 14px; }
.spec {
  padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow);
  position: relative; overflow: hidden;
}
.spec::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--sun));
  opacity: .8;
}
.spec__label { font: 600 .75rem/1.3 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 10px; }
.spec__value { font-size: 1.9rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; color: var(--text); }
.spec__value small { font-size: .5em; font-weight: 500; color: var(--accent-deep); margin-left: 4px; }
.spec__rows { list-style: none; margin: 0; padding: 0; }
.spec__rows li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line-strong); font-size: .95rem; }
.spec__rows li:last-child { border-bottom: 0; }
.spec__rows span { color: var(--text-muted); }
.spec__rows b { font-family: var(--mono); font-weight: 600; color: var(--text); white-space: nowrap; }
.spec--wide { grid-column: span 2; }
.spec--tall { grid-row: span 2; }

/* Info-Blöcke (Anwendungshinweise etc.) */
.info-list { display: grid; gap: 14px; }
.info {
  display: grid; grid-template-columns: 220px 1fr; gap: 20px;
  padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow);
}
.info h4 { margin: 0; color: var(--accent-deep); font: 600 .9rem/1.4 var(--font); letter-spacing: .06em; text-transform: uppercase; }
.info p, .info ul { margin: 0; color: var(--text-muted); }
.info ul { padding-left: 18px; }
.info li + li { margin-top: 6px; }

/* Nummerierte Schritte */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 12px; }
.steps li {
  counter-increment: step; position: relative;
  padding: 18px 20px 18px 74px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; box-shadow: var(--shadow);
}
.steps li::before {
  content: counter(step);
  position: absolute; left: 20px; top: 15px;
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  font: 700 1rem/1 var(--font); color: #fff; background: var(--accent);
}
.steps li small { display: block; color: var(--text-muted); margin-top: 6px; }

/* Zahlen-Liste (Schichthöhen) */
.usage { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.usage .spec__value { color: var(--accent-deep); }


/* =========================================================
   11. DOWNLOADS, ZEITLEISTE, JOBS, KONTAKT, RECHTSTEXTE
   ========================================================= */
.downloads { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.downloads a {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 14px 18px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--bg); color: var(--text);
  transition: border-color .2s, background .2s;
}
.downloads a:hover { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-deep); }
.downloads a span:first-child { display: flex; align-items: center; gap: 12px; }
.downloads .file-ico {
  flex: none; font: 700 .65rem/1 var(--font); padding: 6px 7px; border-radius: 6px;
  background: #e5484d; color: #fff;
}
.downloads a > span:last-child { color: var(--text-dim); font: 500 .85rem/1 var(--font); }

.cert {
  display: grid; grid-template-columns: 200px 1fr; gap: 28px; align-items: start;
  padding: 28px; border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); background: #fff; box-shadow: var(--shadow);
}
.cert__logo { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px; display: grid; place-items: center; }
.cert__logo img { max-height: 160px; width: auto; }
.cert h3 { margin-bottom: .2em; }
.cert .text-muted { margin-bottom: 16px; }

/* Zeitleiste (Über uns) */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--accent), var(--sun)); border-radius: 2px; }
.timeline li { position: relative; padding: 0 0 36px 42px; }
.timeline li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%;
  background: #fff; border: 3px solid var(--accent); box-shadow: 0 0 0 4px var(--accent-soft);
}
.timeline__year { font: 700 .9rem/1 var(--font); letter-spacing: .08em; color: var(--accent-deep); margin-bottom: 8px; text-transform: uppercase; }
.timeline h3 { margin-bottom: .3em; font-size: 1.3rem; }
.timeline p { color: var(--text-muted); margin: 0; max-width: 70ch; }

/* Zitat / Motto */
.motto {
  font-size: clamp(1.8rem, 4.5vw, 3.6rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.1;
  text-align: center; max-width: 20ch; margin: 0 auto;
}

/* Jobs */
.job-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.job-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.job-cols .card__body ul { list-style: none; margin: 0; padding: 0; }
.job-cols .card__body li { padding: 10px 0; border-bottom: 1px dashed var(--line-strong); color: var(--text); display: flex; gap: 10px; }
.job-cols .card__body li:last-child { border-bottom: 0; }
.job-cols .card__body li .ico { flex: none; width: 1.4em; text-align: center; }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 18px; align-items: stretch; }
.contact-list { display: grid; gap: 14px; }
.contact-item {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow);
  color: var(--text); transition: box-shadow .25s, transform .25s var(--ease);
}
a.contact-item:hover { color: var(--text); box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.contact-item__ico {
  flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  color: var(--accent-deep); background: var(--accent-soft);
}
.contact-item__ico svg { width: 22px; height: 22px; }
.contact-item__label { font: 600 .75rem/1 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 8px; }
.contact-item__value { font-size: 1.12rem; font-weight: 500; line-height: 1.45; }
.map-card { position: relative; min-height: 380px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.map-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.map-card .btn { position: absolute; left: 20px; bottom: 20px; }

/* Öffnungszeiten-Tabelle */
.hours { width: 100%; border-collapse: collapse; font-size: 1rem; }
.hours td { padding: 6px 0; }
.hours td:last-child { text-align: right; font-weight: 500; color: var(--text); }

/* Rechtstexte (Impressum / Datenschutz) */
.legal { max-width: 820px; }
.legal h2 { font-size: 1.7rem; margin: 2.2em 0 .6em; padding-top: 1.2em; border-top: 1px solid var(--line); }
.legal h2:first-child { margin-top: 0; border-top: 0; padding-top: 0; }
.legal h3 { font-size: 1.2rem; margin: 1.8em 0 .5em; color: var(--accent-deep); }
.legal p, .legal li { color: var(--text-muted); }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 8px; }
.legal address { font-style: normal; color: var(--text); margin-bottom: 1em; line-height: 1.7; }
.legal a { word-break: break-word; }

/* B2B-Hinweis */
.b2b {
  display: flex; gap: 14px; align-items: center;
  padding: 16px 22px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: #fff;
  font-size: .95rem; color: var(--text-muted);
}
.b2b strong { color: var(--text); }

/* Abschluss-Aufruf (CTA) – grüne Box */
.cta {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(36px, 6vw, 72px);
  border-radius: calc(var(--radius) + 12px);
  background:
    radial-gradient(70% 120% at 100% 0%, rgba(255,210,94,.35), transparent 60%),
    linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #fff;
  box-shadow: 0 30px 60px -30px rgba(110,55,15,.6);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center;
}
.cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(90deg, transparent, #000);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000);
}
.cta h2 { margin-bottom: .3em; }
.cta p { color: rgba(255,255,255,.88); margin: 0; }
.cta .kicker { color: #fff; }
.cta .btn-row { justify-content: flex-end; }
.cta .btn--primary { background: #fff; color: var(--accent-deep); box-shadow: 0 10px 24px -10px rgba(0,0,0,.35); }
.cta .btn--primary:hover { background: var(--sun-soft); color: var(--accent-deep); }
.cta .btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.cta .btn--ghost:hover { background: rgba(255,255,255,.15); color: #fff; border-color: #fff; }


/* =========================================================
   12. FUSSZEILE
   ========================================================= */
.site-footer { margin-top: 40px; background: var(--footer); color: #dfeae3; border-radius: 36px 36px 0 0; }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding: 64px 0 40px; }
.footer-main img { height: 54px; width: auto; margin-bottom: 18px; }
.footer-main p { color: rgba(255,255,255,.72); font-size: .95rem; }
.footer-title { font: 600 .76rem/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--sun); margin-bottom: 18px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; color: rgba(255,255,255,.72); }
.footer-links a { color: #fff; font-size: .97rem; }
.footer-links a:hover { color: var(--accent-bright); }
.social { display: inline-flex; align-items: center; gap: 10px; margin-top: 6px; padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.3); color: #fff; }
.social:hover { border-color: var(--accent-bright); color: var(--accent-bright); }
.social svg { width: 18px; height: 18px; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  padding: 22px 0 32px; border-top: 1px solid rgba(255,255,255,.14);
  font-size: .82rem; color: rgba(255,255,255,.6);
}
.footer-bottom p { margin: 0; max-width: 80ch; }
.footer-bottom strong { color: #fff; }

/* =========================================================
   13. EINBLEND-ANIMATIONEN (per JavaScript ausgelöst)
   ========================================================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
.reveal-delay-4 { transition-delay: .32s; }

/* Ohne JavaScript alles sofort sichtbar */
.no-js .reveal { opacity: 1; transform: none; }

/* Wer Animationen im System abgeschaltet hat, bekommt keine */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  /* Slider läuft trotzdem weiter – nur sanft überblenden, ohne Zoom */
  .hero__slide { transform: none !important; transition: opacity 1s ease !important; }
  .hero__dots button.is-active::after { animation: slideProgress var(--slide-interval, 6000ms) linear forwards !important; }
}


/* =========================================================
   RESPONSIVE ANPASSUNGEN (Tablet & Handy)
   ========================================================= */
@media (max-width: 1080px) {
  .values { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .tile--wide, .tile--half, .tile--narrow { grid-column: span 3; }
}

@media (max-width: 860px) {
  :root { --header-h: 68px; }
  .specs { grid-template-columns: 1fr 1fr; }
  .hero::before { background: linear-gradient(0deg, rgba(var(--photo-shade), .85) 0%, rgba(var(--photo-shade), .6) 45%, rgba(var(--photo-shade), .15) 72%, rgba(var(--photo-shade), 0) 85%); }
  .hero .btn-row .btn { flex: 0 1 auto; }
  .logo img { height: 40px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .grid--3 { grid-template-columns: 1fr 1fr; }
  .product, .contact-grid, .cta { grid-template-columns: 1fr; }
  .product--flip .product__visual { order: 0; }
  .product__visual { min-height: 220px; }
  .cta .btn-row { justify-content: flex-start; }
  .info { grid-template-columns: 1fr; gap: 8px; }
  .cert { grid-template-columns: 1fr; }
  .cert__logo { max-width: 220px; }
  .job-cols { grid-template-columns: 1fr; }
  .tile--wide, .tile--half, .tile--narrow { grid-column: span 6; }
  .tile { min-height: 340px; }
}

@media (max-width: 600px) {
  body { font-size: 1rem; }
  h1, .page-hero h1 { font-size: clamp(1.75rem, 8.4vw, 2.4rem); }
  h2 { font-size: clamp(1.5rem, 7vw, 1.9rem); }
  .kicker { letter-spacing: .08em; font-size: .74rem; }
  .container { padding: 0 16px; }
  .hero, .page-hero { margin: 0 8px; border-radius: 0 0 28px 28px; }
  .page-hero--plain { margin: 0; border-radius: 0; }
  .values { grid-template-columns: 1fr 1fr; }
  .values .value:last-child { grid-column: span 2; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .checks { grid-template-columns: 1fr; }
  .stat { padding: 20px 16px; }
  .specs { grid-template-columns: 1fr; }
  .spec--wide { grid-column: auto; }
  .spec--tall { grid-row: auto; }
  .hero { min-height: 74svh; padding-bottom: 28px; }
  .hero__meta { margin-top: 36px; }
  .btn-row .btn { flex: 1 1 auto; justify-content: center; }
  .footer-main { grid-template-columns: 1fr; gap: 32px; }
  .site-footer { border-radius: 28px 28px 0 0; }
  .badges img { height: 54px; }
  .page-hero { min-height: 52vh; }
  .product { padding: 22px; }
  .tile { padding: 22px; }
}
