/* =========================================================================
   Eissing Dachtechnik – Relaunch
   Design-System / Stylesheet  ·  v2 „Norddeutsches Dachhandwerk“
   Haltung: Swiss / editorial – strenges Raster, große Typo, EINE Akzentfarbe,
   Haarlinien statt Schatten, scharfe Geometrie, keine Verläufe.
   CI: Logo-Grün #189B3A · Logo-Navy #2A2158 · Dunkelgrün-Ink #14261C
   Typo: Poppins (Headlines), Lato (Fließtext) – selbst gehostet
   ========================================================================= */

/* ----- Fonts (selbst gehostet, DSGVO-konform) -------------------------- */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/lato/S6uyw4BMUTPHjx4wXg.woff2) format('woff2');
  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;
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/lato/S6uyw4BMUTPHjxAwXjeu.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/poppins/pxiByp8kv8JHgFVrLEj6Z1xlFQ.woff2) format('woff2');
  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;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/poppins/pxiByp8kv8JHgFVrLEj6Z1JlFc-K.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/poppins/pxiByp8kv8JHgFVrLCz7Z1xlFQ.woff2) format('woff2');
  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;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/poppins/pxiByp8kv8JHgFVrLCz7Z1JlFc-K.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ----- Design-Tokens ---------------------------------------------------- */
:root {
  /* Marke */
  --navy: #2a2158;            /* Logo-Navy – Signaturblock (CTA) */
  --navy-deep: #211a47;
  --green: #0c7a35;           /* Arbeits-Akzent (Text/Buttons, AA mit Weiß) */
  --green-deep: #06602a;      /* dunkler Grünton, Hover */
  --green-logo: #189b3a;      /* Logo-Grün – grafische Akzente, Keylines, Marken */
  --green-on-dark: #5fd389;   /* Grün auf dunklem Grund (lesbar) */
  --ink: #14261c;             /* Dunkelgrün-Ink – Headlines, dunkle Flächen */
  --ink-soft: #1d3527;        /* dunkle Fläche, etwas heller */

  /* Neutrale */
  --body: #38453e;            /* Fließtext */
  --muted: #5b6760;           /* gedämpft (AA auf Weiß) */
  --line: #e2e7e3;            /* Haarlinie */
  --line-2: #cfd7d1;          /* kräftigere Linie */
  --bg: #ffffff;
  --bg-soft: #f3f5f2;         /* Off-White (Theme color-4) */
  --white: #ffffff;

  /* Haptik */
  --shadow-sm: 0 1px 2px rgba(20, 38, 28, .05);
  --shadow: 0 16px 32px -20px rgba(20, 38, 28, .24);

  --radius: 3px;
  --radius-card: 4px;

  --container: 1220px;
  --gut: clamp(20px, 5vw, 48px);
  --unit: 8px;

  --font-head: 'Poppins', system-ui, 'Segoe UI', sans-serif;
  --font-body: 'Lato', system-ui, 'Segoe UI', sans-serif;

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

/* ----- Reset / Basis ---------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html:focus-within { scroll-padding-top: 110px; }

body {
  font-family: var(--font-body);
  font-size: clamp(1.02rem, .98rem + .2vw, 1.1rem);
  line-height: 1.72;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a { color: var(--green-deep); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--green); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.06;
  color: var(--ink);
  letter-spacing: 0;
  text-wrap: balance;
}

ul, ol { padding-left: 1.15em; }

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

::selection { background: var(--ink); color: #fff; }

hr { border: 0; height: 1px; background: var(--line); }

/* ----- Layout-Helfer ---------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gut);
}
.container--narrow { max-width: 840px; }

.section { padding-block: clamp(68px, 9vw, 132px); }
.section--soft { background: var(--bg-soft); }
.section--tight { padding-block: clamp(48px, 6vw, 84px); }

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 10px 18px;
  border-radius: 2px;
  transition: top .2s;
}
.skip-link:focus-visible { top: 12px; color: #fff; }

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

/* ----- Overline (ehem. „eyebrow“) -------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .7em;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  flex-shrink: 0;
  background: var(--green-logo);
}
.eyebrow--center { justify-content: center; }

/* ----- Section-Köpfe ---------------------------------------------------- */
.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-title {
  font-size: clamp(2rem, 1.35rem + 2.8vw, 3.4rem);
  margin-top: .7rem;
}
.section-intro { margin-top: 1.2rem; font-size: 1.12rem; color: var(--muted); line-height: 1.65; max-width: 56ch; }
.section-head--center .section-intro { margin-inline: auto; }

.lead { font-size: clamp(1.12rem, 1.02rem + .4vw, 1.28rem); color: var(--ink); line-height: 1.6; font-weight: 400; }

/* CI-Grün als Inline-Akzent (ersetzt Verlaufstext) */
.text-grad { color: var(--green); }

/* ----- Buttons ---------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65em;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .98rem;
  letter-spacing: .01em;
  line-height: 1;
  padding: 1.05em 1.7em;
  border: 1.5px solid var(--green);
  border-radius: var(--radius);
  background: var(--green);
  color: #fff;
  cursor: pointer;
  text-align: center;
  transition: background .22s var(--ease), border-color .22s var(--ease), color .22s var(--ease), transform .22s var(--ease);
}
.btn:hover { background: var(--green-deep); border-color: var(--green-deep); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn svg { transition: transform .22s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

/* Dunkel (Ink) */
.btn--navy { background: var(--navy); border-color: var(--navy); }
.btn--navy:hover { background: var(--navy-deep); border-color: var(--navy-deep); }

/* Outline */
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-2);
}
.btn--ghost:hover { color: #fff; background: var(--ink); border-color: var(--ink); }

/* Auf dunklem Grund */
.btn--on-dark { background: #fff; color: var(--ink); border-color: #fff; }
.btn--on-dark:hover { background: transparent; color: #fff; border-color: #fff; }

.btn--lg { font-size: 1.04rem; padding: 1.2em 2.05em; }
.btn--block { width: 100%; }

/* Text-Link mit gleitendem Pfeil/Unterstrich */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--green-deep);
  position: relative;
}
.arrow-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -3px;
  width: 100%; height: 2px;
  background: var(--green-logo);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s var(--ease);
}
.arrow-link:hover::after { transform: scaleX(1); }
.arrow-link svg { transition: transform .25s var(--ease); }
.arrow-link:hover svg { transform: translateX(5px); }

/* ----- Header / Navigation --------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s, border-color .3s;
}
.site-header.is-stuck {
  box-shadow: 0 1px 0 var(--line), 0 14px 30px -26px rgba(20, 38, 28, .5);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 80px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { height: 42px; width: auto; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
/* Nur die Top-Level-Menüpunkte stylen – Links im Mega-Menü bleiben unberührt */
.nav__links > li > a {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .96rem;
  color: var(--ink);
  padding: 10px 14px;
  position: relative;
  transition: color .2s var(--ease);
}
.nav__links > li > a:hover { color: var(--green-deep); }
.nav__links > li > a[aria-current="page"] { color: var(--green-deep); }

.nav__actions { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.nav__phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  min-height: 44px;
  min-width: 44px;
  padding: 0 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .96rem;
  color: var(--ink);
  white-space: nowrap;
}
.nav__phone svg { color: var(--green); }
.nav__phone:hover { color: var(--green-deep); }

.nav__toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: #fff;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.nav__toggle span,
.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  display: block;
  width: 22px; height: 2px;
  background: var(--ink);
  transition: transform .3s var(--ease), opacity .2s;
}
.nav__toggle span { position: relative; }
.nav__toggle span::before { position: absolute; top: -7px; }
.nav__toggle span::after { position: absolute; top: 7px; }
.nav-open .nav__toggle span { background: transparent; }
.nav-open .nav__toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav__toggle span::after { transform: translateY(-7px) rotate(-45deg); }

/* ----- Hero ------------------------------------------------------------- */
.hero {
  position: relative;
  color: #fff;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(91deg, rgba(15,25,19,.92) 0%, rgba(15,25,19,.70) 42%, rgba(15,25,19,.18) 80%),
    linear-gradient(0deg, rgba(15,25,19,.55) 0%, rgba(15,25,19,0) 38%);
}
.hero__inner {
  display: grid;
  align-content: center;
  min-height: clamp(580px, 84vh, 800px);
  padding-block: clamp(72px, 11vw, 132px);
}
.hero__content { max-width: 720px; }
.hero .eyebrow { color: #d7f3e0; }
.hero .eyebrow::before { background: var(--green-on-dark); }
.hero h1 {
  color: #fff;
  font-size: clamp(2.8rem, 1.5rem + 5.6vw, 5.6rem);
  line-height: .98;
  letter-spacing: 0;
  margin-top: .6rem;
}
.hero h1 .accent { display: block; color: var(--green-on-dark); }
.hero__text {
  margin-top: 1.6rem;
  font-size: clamp(1.12rem, 1rem + .55vw, 1.36rem);
  color: rgba(255,255,255,.86);
  max-width: 34em;
  line-height: 1.6;
}
.hero__actions { margin-top: 2.4rem; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__meta {
  margin-top: clamp(2.4rem, 4vw, 3.4rem);
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,.2);
}
.hero__meta div {
  line-height: 1.2;
  padding: 1.5rem clamp(20px, 3vw, 40px) 0 0;
  margin-right: clamp(20px, 3vw, 40px);
  border-right: 1px solid rgba(255,255,255,.16);
}
.hero__meta div:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.hero__meta b {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.2rem);
  letter-spacing: 0;
  color: #fff;
}
.hero__meta span { font-size: .9rem; color: rgba(255,255,255,.72); }

/* ----- Page-Header (Unterseiten) --------------------------------------- */
.page-hero {
  position: relative;
  color: #fff;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
}
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(91deg, rgba(15,25,19,.92) 0%, rgba(15,25,19,.74) 48%, rgba(15,25,19,.34) 100%);
}
.page-hero__inner { padding-block: clamp(84px, 12vw, 148px); max-width: 820px; }
.page-hero .eyebrow { color: #d7f3e0; }
.page-hero .eyebrow::before { background: var(--green-on-dark); }
.page-hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 1.5rem + 3.6vw, 4rem);
  letter-spacing: 0;
  margin-top: .7rem;
}
.page-hero p { margin-top: 1.2rem; font-size: 1.2rem; color: rgba(255,255,255,.86); max-width: 42em; line-height: 1.55; }
.breadcrumb {
  margin-top: 1.8rem;
  font-size: .86rem;
  letter-spacing: .02em;
  color: rgba(255,255,255,.66);
  display: flex;
  gap: .55em;
  flex-wrap: wrap;
  font-family: var(--font-head);
}
.breadcrumb a { color: rgba(255,255,255,.9); }
.breadcrumb a:hover { color: #fff; }

/* ----- Grids ------------------------------------------------------------ */
.grid { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
}
.split--media-first .split__media { order: -1; }
/* fr-Spalten dürfen nicht durch breite Inhalte (Stats, lange Wörter) gesprengt werden */
.split__media, .split__content { min-width: 0; }
/* Vertikaler Rhythmus: das globale margin-Reset lässt Texte sonst aufeinanderkleben */
.split__content .section-title { margin-top: .8rem; }
.split__content > p { margin-top: 1.1rem; }
.split__content .lead { margin-top: 1.4rem; }
.split__content .lead ~ p { color: var(--muted); }
/* Projekt-Kennzahlen im Split: kompakter als die großen Zähler, unterhalb der H2 */
.split .stats--3 .stat b { font-size: clamp(1.7rem, 1.1rem + 1.5vw, 2.4rem); }
.split .stats--3 .stat { padding: clamp(18px, 2vw, 26px) clamp(12px, 1.6vw, 22px); }
.split .stats--3 .stat span { font-size: .88rem; margin-top: .5rem; }

/* ----- Cards ------------------------------------------------------------ */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: clamp(26px, 3vw, 40px);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
  height: 100%;
}
.card:hover { border-color: var(--line-2); box-shadow: var(--shadow); }

/* Leistungs-Karte mit Nummer + Keyline-Akzent */
.service-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--green-logo);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card__num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .92rem;
  letter-spacing: .06em;
  color: var(--muted);
  margin-bottom: 18px;
}
.service-card__icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--green-deep);
  margin-bottom: 22px;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.service-card__icon svg { width: 28px; height: 28px; }
.service-card:hover .service-card__icon { background: var(--ink); color: #fff; border-color: var(--ink); }
.service-card h3 { font-size: 1.3rem; margin-bottom: .55rem; letter-spacing: 0; }
.service-card p { color: var(--muted); margin: 0; }

/* Feature / Vorteil */
.feature { display: flex; gap: 18px; align-items: flex-start; }
.feature__icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  color: var(--green-deep);
}
.feature__icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.14rem; margin-bottom: .35rem; letter-spacing: 0; }
.feature p { color: var(--muted); margin: 0; font-size: .98rem; }

/* ----- Referenz-Karten -------------------------------------------------- */
.ref-card {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--ink);
  isolation: isolate;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  transition: box-shadow .4s var(--ease);
}
.ref-card:hover { box-shadow: var(--shadow); }
.ref-card img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s var(--ease);
}
.ref-card:hover img { transform: scale(1.05); }
.ref-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(12,20,15,.92) 0%, rgba(12,20,15,.45) 34%, rgba(12,20,15,0) 62%);
}
.ref-card__body { padding: clamp(24px, 3vw, 34px); color: #fff; }
.ref-card__tag {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  background: var(--green);
  padding: 6px 13px;
  border-radius: 2px;
  margin-bottom: 12px;
}
.ref-card h3 { color: #fff; font-size: 1.4rem; margin-bottom: .55rem; letter-spacing: 0; }
.ref-card ul { margin: 0; padding-left: 1.1em; color: rgba(255,255,255,.84); font-size: .96rem; }
.ref-card li { margin-bottom: .25em; }
.ref-card p { color: rgba(255,255,255,.84); margin: 0; font-size: .94rem; line-height: 1.6; }
.ref-card--feature { min-height: 540px; }

/* ----- Stats (Swiss: große Zahlen, Haarlinien) ------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}
.stat {
  padding: clamp(24px, 3vw, 36px) clamp(16px, 2.5vw, 30px);
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: 0; }
.stat b {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2.4rem, 1.4rem + 3vw, 3.8rem);
  line-height: 1;
  letter-spacing: 0;
  color: var(--ink);
}
.stat span { color: var(--muted); font-size: .94rem; margin-top: .7rem; display: block; line-height: 1.4; }
.stats--on-dark { border-color: rgba(255,255,255,.22); }
.stats--on-dark .stat { border-right-color: rgba(255,255,255,.14); }
.stats--on-dark .stat b { color: #fff; }
.stats--on-dark .stat span { color: rgba(255,255,255,.74); }
/* 3er-Variante (z. B. Projekt-Kennzahlen) */
.stats--3 { grid-template-columns: repeat(3, 1fr); }
.stats--3 .stat:first-child { padding-left: 0; }

/* ----- CTA-Band (Signatur-Navy, flach) --------------------------------- */
.cta {
  position: relative;
  color: #fff;
  border-radius: var(--radius-card);
  overflow: hidden;
  isolation: isolate;
  background: var(--navy);
  padding: clamp(40px, 6vw, 80px);
  border-left: 4px solid var(--green-logo);
}
.cta__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.cta .eyebrow { color: #d7f3e0; }
.cta .eyebrow::before { background: var(--green-on-dark); }
.cta h2 { color: #fff; font-size: clamp(1.8rem, 1.2rem + 2.2vw, 2.9rem); letter-spacing: 0; }
.cta p { color: rgba(255,255,255,.84); margin-top: 1rem; font-size: 1.1rem; line-height: 1.6; }
.cta__actions { display: flex; flex-direction: column; gap: 12px; }
.cta__actions .btn { width: 100%; }
.cta .btn--ghost { color: #fff; background: transparent; border-color: rgba(255,255,255,.45); }
.cta .btn--ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }
.cta .form__note { color: rgba(255,255,255,.66); }

/* ----- Media / Bildrahmen ---------------------------------------------- */
.media-frame {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame--tall { aspect-ratio: 4 / 5; }
.media-frame--wide { aspect-ratio: 16 / 10; }
.media-frame--sharp { border-radius: 0; box-shadow: none; }

.badge-float {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--green-logo);
  border-radius: var(--radius);
  padding: 18px 22px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 270px;
}
.badge-float--br { right: -10px; bottom: 26px; }
.badge-float--bl { left: -10px; bottom: 26px; }
.badge-float__icon {
  width: 44px; height: 44px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
}
.badge-float b { font-family: var(--font-head); color: var(--ink); display: block; line-height: 1.15; }
.badge-float span { font-size: .84rem; color: var(--muted); }

/* ----- Liste mit Haken -------------------------------------------------- */
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; }
.check-list li::before {
  content: "";
  flex-shrink: 0;
  width: 24px; height: 24px;
  margin-top: 2px;
  border-radius: 2px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 14px no-repeat,
    var(--green);
}

/* ----- Prozess / Schritte ---------------------------------------------- */
.steps { counter-reset: step; display: grid; gap: 0; }
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step__num {
  counter-increment: step;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--green-deep);
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: var(--radius);
  border: 1px solid var(--line-2);
}
.step__num::before { content: counter(step, decimal-leading-zero); }
.step h3 { font-size: 1.2rem; margin-bottom: .3rem; }
.step p { color: var(--muted); margin: 0; }

/* ----- Jobs ------------------------------------------------------------- */
.job-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: clamp(26px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.job-card:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.job-card__top { display: flex; align-items: center; gap: 16px; }
.job-card__icon {
  width: 50px; height: 50px; flex-shrink: 0;
  display: grid; place-items: center;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  color: var(--green-deep);
}
.job-card h3 { font-size: 1.32rem; letter-spacing: 0; }
.job-card ul { color: var(--muted); margin: 0; }
.job-card .tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }

.pill {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .8rem;
  color: var(--green-deep);
  background: var(--bg-soft);
  border: 1px solid var(--line-2);
  padding: 6px 13px;
  border-radius: var(--radius);
  letter-spacing: .04em;
}
.pill--solid { background: var(--green); color: #fff; border-color: var(--green); }

/* Hervorgehobene offene Stelle */
.job-open {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  border-left: 4px solid var(--green-logo);
}
.job-open h3 { letter-spacing: 0; }
@media (max-width: 720px) {
  .job-open { grid-template-columns: 1fr; gap: 18px; align-items: start; }
  .job-open .btn { justify-self: start; }
}

.job-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, .72fr);
  gap: clamp(24px, 4vw, 44px);
  align-items: start;
}

.job-posting {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--green-logo);
  border-radius: var(--radius-card);
  padding: clamp(28px, 4vw, 48px);
}
.job-posting__head h3 {
  font-size: clamp(1.7rem, 1.18rem + 1.8vw, 2.6rem);
  margin-top: 1rem;
  margin-bottom: .85rem;
}
.job-posting__head p {
  color: var(--ink);
  font-size: 1.12rem;
  line-height: 1.55;
  max-width: 58em;
}
.job-posting__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-block: clamp(24px, 4vw, 36px);
}
.job-posting__meta span {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .82rem;
  color: var(--ink);
  background: var(--bg-soft);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 7px 12px;
}
.job-posting__columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(22px, 3vw, 34px);
  padding-top: clamp(24px, 4vw, 36px);
  border-top: 1px solid var(--line);
}
.job-posting__columns h4,
.job-posting__columns h3 {
  font-size: 1.05rem;
  margin-bottom: 1rem;
  color: var(--navy);
}
.job-posting__columns .check-list { gap: 12px; }
.job-posting__columns .check-list li { font-size: .96rem; color: var(--body); line-height: 1.5; }
.job-posting__contact {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  margin-top: clamp(28px, 4vw, 42px);
  padding-top: clamp(22px, 3vw, 30px);
  border-top: 1px solid var(--line);
}
.job-posting__contact strong {
  display: block;
  font-family: var(--font-head);
  color: var(--ink);
  margin-bottom: .25rem;
}
.job-posting__contact p { margin: 0; color: var(--muted); }

.quick-apply {
  position: sticky;
  top: 112px;
}
.quick-apply h3 {
  font-size: 1.55rem;
  margin-top: .7rem;
  margin-bottom: .5rem;
}
.quick-apply > p { margin-bottom: 1.4rem; }

@media (max-width: 1040px) {
  .job-detail { grid-template-columns: 1fr; }
  .quick-apply { position: static; }
}

@media (max-width: 760px) {
  .job-posting__columns { grid-template-columns: 1fr; }
  .job-posting__contact { grid-template-columns: 1fr; }
  .job-posting__contact .btn { justify-self: start; }
}

/* ----- Info / Kontaktkacheln ------------------------------------------- */
.info-tile {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px;
  border-radius: var(--radius-card);
  background: #fff;
  border: 1px solid var(--line);
  transition: border-color .25s var(--ease);
}
a.info-tile:hover { border-color: var(--green); }
.info-tile__icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
}
.info-tile h3 { font-size: 1.04rem; margin-bottom: .2rem; }
.info-tile p, .info-tile a { color: var(--body); margin: 0; }
.info-tile a:hover { color: var(--green-deep); }

/* ----- Formulare -------------------------------------------------------- */
.form { display: grid; gap: 18px; }
.form__row { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
.field { display: grid; gap: 7px; }
.field label {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .9rem;
  color: var(--ink);
}
.field .req { color: var(--green-deep); }
.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line-2);
  border-radius: var(--radius);
  padding: 13px 15px;
  width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--green);
  outline-offset: 2px;
  border-color: var(--green);
}
.field--check { grid-template-columns: auto 1fr; align-items: start; gap: 12px; }
.field--check input { width: 22px; height: 22px; margin-top: 3px; accent-color: var(--green); }
.field--check label { font-weight: 400; font-family: var(--font-body); color: var(--muted); font-size: .92rem; line-height: 1.55; }
.form__note { font-size: .85rem; color: var(--muted); }
.form-status {
  display: none;
  padding: 14px 18px;
  border-radius: var(--radius);
  background: #eaf6ee;
  border: 1px solid #bfe2cb;
  border-left: 4px solid var(--green);
  color: var(--green-deep);
  font-family: var(--font-head);
  font-weight: 600;
}
.form-status.is-visible { display: block; }

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: clamp(26px, 4vw, 46px);
  box-shadow: var(--shadow);
}

/* ----- Prose (Rechtstexte) --------------------------------------------- */
.prose { max-width: 820px; }
.prose h2 {
  font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem);
  margin-top: 2.4em;
  margin-bottom: .6em;
  padding-bottom: .4em;
  border-bottom: 1px solid var(--line-2);
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.2rem; margin-top: 1.8em; margin-bottom: .4em; color: var(--navy); }
.prose h4 { font-size: 1.05rem; margin-top: 1.4em; margin-bottom: .3em; }
.prose p { margin-bottom: 1.05em; }
.prose ul, .prose ol { margin-bottom: 1.05em; display: grid; gap: .35em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; word-break: break-word; }
.prose strong { color: var(--ink); }
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.2em 0;
  font-size: .95rem;
}
.prose th, .prose td {
  border: 1px solid var(--line-2);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
.prose th { background: var(--bg-soft); font-family: var(--font-head); color: var(--ink); }
.legal-meta {
  font-size: .9rem;
  color: var(--muted);
  margin-bottom: 2.5em;
  padding: 14px 18px;
  background: var(--bg-soft);
  border-left: 4px solid var(--green-logo);
  border-radius: 2px;
}

/* ----- Footer ----------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.72);
  padding-block: clamp(60px, 8vw, 96px) 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1.3fr;
  gap: clamp(28px, 4vw, 52px);
  padding-bottom: 52px;
}
.site-footer .footer-title {
  color: #fff;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-brand img { height: 44px; margin-bottom: 20px; }
.footer-brand p { max-width: 34ch; line-height: 1.6; }
.footer-claim {
  margin-top: 18px;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--green-on-dark);
}
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer-links a { color: rgba(255,255,255,.86); }
.footer-links a:hover { color: #fff; }
.footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact svg { color: var(--green-on-dark); flex-shrink: 0; margin-top: 3px; }
.footer-contact a { color: rgba(255,255,255,.85); }
.footer-contact a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.14);
  padding-block: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  font-size: .86rem;
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-bottom a { color: rgba(255,255,255,.86); }
.footer-bottom a:hover { color: #fff; }

/* ----- Cookie-Hinweis --------------------------------------------------- */
.cookie-bar {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%) translateY(160%);
  width: min(680px, calc(100% - 32px));
  z-index: 150;
  background: #fff;
  border: 1px solid var(--line-2);
  border-top: 4px solid var(--green-logo);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px 22px;
  align-items: center;
  transition: transform .45s var(--ease);
}
.cookie-bar.is-visible { transform: translateX(-50%) translateY(0); }
.cookie-bar p { font-size: .92rem; color: var(--body); margin: 0; }
.cookie-bar a { text-decoration: underline; }
.cookie-bar__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-bar .btn { padding: .7em 1.3em; font-size: .9rem; }

/* ----- Barrierefreiheits-Tool ------------------------------------------ */
.a11y-widget {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 190;
  display: grid;
  gap: 12px;
  font-family: var(--font-body);
}
.a11y-widget__toggle {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  box-shadow: 0 14px 32px -18px rgba(20, 38, 28, .65);
  cursor: pointer;
  transition: background .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.a11y-widget__toggle:hover { background: var(--navy-deep); box-shadow: 0 18px 36px -18px rgba(20, 38, 28, .8); }
.a11y-widget__toggle:active { transform: translateY(1px); }
.a11y-widget__panel {
  position: absolute;
  left: 0;
  bottom: 72px;
  width: min(360px, calc(100vw - 32px));
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line-2);
  border-top: 4px solid var(--green-logo);
  border-radius: 8px;
  box-shadow: var(--shadow);
  color: var(--body);
}
.a11y-widget__panel[hidden] { display: none; }
.a11y-widget__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.a11y-widget__head h2 {
  font-size: 1.2rem;
  line-height: 1.2;
}
.a11y-widget__close {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}
.a11y-control { display: grid; gap: 8px; margin-bottom: 14px; }
.a11y-control__label {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .92rem;
  color: var(--ink);
}
.a11y-stepper {
  display: grid;
  grid-template-columns: 52px 1fr 52px;
  min-height: 44px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  overflow: hidden;
}
.a11y-stepper button,
.a11y-options button,
.a11y-reset {
  min-height: 44px;
  font: 600 .92rem/1 var(--font-head);
  border: 0;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}
.a11y-stepper button:hover,
.a11y-options button:hover,
.a11y-reset:hover {
  background: var(--bg-soft);
}
.a11y-stepper output {
  display: grid;
  place-items: center;
  min-width: 0;
  padding-inline: 8px;
  border-inline: 1px solid var(--line-2);
  color: var(--muted);
  font-size: .9rem;
  text-align: center;
}
.a11y-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.a11y-options button {
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 0 10px;
  line-height: 1.25;
  text-align: left;
}
.a11y-options button[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.a11y-reset {
  width: 100%;
  margin-top: 12px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  color: var(--green-deep);
}

html.a11y-readable {
  --font-head: Arial, Helvetica, sans-serif;
  --font-body: Arial, Helvetica, sans-serif;
}

html.a11y-links a:not(.btn):not(.brand):not(.a11y-widget__toggle) {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

html.a11y-motion-off,
html.a11y-motion-off:focus-within {
  scroll-behavior: auto;
}
html.a11y-motion-off .reveal {
  opacity: 1;
  transform: none;
  transition: none;
}
html.a11y-motion-off *,
html.a11y-motion-off *::before,
html.a11y-motion-off *::after {
  animation-duration: .001ms !important;
  transition-duration: .001ms !important;
}

html.a11y-contrast {
  --navy: #000000;
  --navy-deep: #000000;
  --green: #005f24;
  --green-deep: #003f18;
  --green-logo: #005f24;
  --green-on-dark: #b7ffc8;
  --ink: #000000;
  --ink-soft: #111111;
  --body: #111111;
  --muted: #222222;
  --line: #777777;
  --line-2: #333333;
  --bg: #ffffff;
  --bg-soft: #f7f7f7;
}
html.a11y-contrast a:not(.btn) {
  color: #003f18;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
html.a11y-contrast .site-footer a:not(.btn) {
  color: #ffffff;
}
html.a11y-contrast .hero::after,
html.a11y-contrast .page-hero::after {
  background: linear-gradient(91deg, rgba(0,0,0,.96) 0%, rgba(0,0,0,.82) 52%, rgba(0,0,0,.45) 100%);
}
html.a11y-contrast .ref-card::after {
  background: linear-gradient(to top, rgba(0,0,0,.98) 0%, rgba(0,0,0,.72) 58%, rgba(0,0,0,.16) 100%);
}

html.a11y-dark {
  color-scheme: dark;
  --navy: #171231;
  --navy-deep: #100d24;
  --green: #71e094;
  --green-deep: #a6f5bd;
  --green-logo: #72d98c;
  --green-on-dark: #99f5b0;
  --ink: #f5fff8;
  --ink-soft: #101913;
  --body: #e5f1e9;
  --muted: #c6d2ca;
  --line: #34433a;
  --line-2: #718074;
  --bg: #090d0a;
  --bg-soft: #101913;
}
html.a11y-dark body,
html.a11y-dark .section,
html.a11y-dark .site-header {
  background: var(--bg);
}
html.a11y-dark .card,
html.a11y-dark .form-card,
html.a11y-dark .info-tile,
html.a11y-dark .cookie-bar,
html.a11y-dark .a11y-widget__panel,
html.a11y-dark .a11y-widget__close,
html.a11y-dark .a11y-stepper button,
html.a11y-dark .a11y-options button,
html.a11y-dark .a11y-reset {
  background: #0d140f;
  color: var(--body);
}
html.a11y-dark .field input,
html.a11y-dark .field select,
html.a11y-dark .field textarea {
  background: #090d0a;
  color: var(--ink);
}
html.a11y-dark .btn--ghost {
  color: var(--ink);
  border-color: var(--line-2);
}
html.a11y-dark .hero::after,
html.a11y-dark .page-hero::after {
  background: linear-gradient(91deg, rgba(0,0,0,.94) 0%, rgba(0,0,0,.76) 50%, rgba(0,0,0,.34) 100%);
}

/* ----- Reveal-Animation ------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

/* ----- Utilities -------------------------------------------------------- */
.mt-0 { margin-top: 0; }
.center { text-align: center; }
.flush-list { list-style: none; padding: 0; margin: 0; }
.text-muted { color: var(--muted); }
.divider { height: 1px; background: var(--line); border: 0; margin-block: clamp(40px, 6vw, 72px); }

/* ----- Responsive ------------------------------------------------------- */
@media (max-width: 980px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats:not(.stats--3) { grid-template-columns: repeat(2, 1fr); }
  .stats:not(.stats--3) .stat:nth-child(2) { border-right: 0; }
  .stats:not(.stats--3) .stat:nth-child(1),
  .stats:not(.stats--3) .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__actions > .btn { display: none; }   /* Header-CTA weicht Telefon-Icon + Menü */
  .nav__phone span { display: none; }        /* nur Hörer-Icon = Tap-to-Call */
  .nav__phone { font-size: 1.1rem; }
  .nav__toggle { display: inline-flex; }

  .site-header.nav-open .nav__links {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 14px var(--gut) 22px;
  }
  .site-header.nav-open .nav__links > li > a { padding: 14px 8px; font-size: 1.05rem; }

  .split { grid-template-columns: 1fr; }
  .split--media-first .split__media { order: 0; }
  .grid--2, .grid--3 { grid-template-columns: 1fr; }
  .cta__grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .badge-float { position: static; margin-top: 16px; max-width: none; }
  .hero__meta div { padding-top: 1.2rem; }
}

@media (max-width: 620px) {
  .stats, .stats--3 { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); padding-left: 0; padding-right: 0; }
  .stat:last-child { border-bottom: 0; }
  .stats--on-dark .stat { border-bottom-color: rgba(255,255,255,.14); }
}

@media (max-width: 560px) {
  .grid--4 { grid-template-columns: 1fr; }
  .cookie-bar { grid-template-columns: 1fr; }
  .a11y-widget { left: 12px; bottom: 12px; }
  .a11y-widget__panel {
    bottom: 68px;
    width: calc(100vw - 24px);
    max-height: calc(100vh - 96px);
    overflow: auto;
  }
  .a11y-options { grid-template-columns: 1fr; }
  .hero__meta { gap: 0; }
  .hero__meta div {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.14);
    margin-right: 0;
    padding: 1rem 0;
    width: 100%;
  }
  .hero__meta div:last-child { border-bottom: 0; }
}

/* =========================================================================
   v3-Komponenten – Relaunch-Feinschliff
   ========================================================================= */

/* ----- Bild-Siegel (Meisterbetrieb-Leiste auf Fotos) -------------------- */
.media-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px clamp(18px, 2.5vw, 26px);
  background: linear-gradient(0deg, rgba(15,25,19,.94), rgba(15,25,19,.72));
  color: #fff;
}
.media-caption svg { color: var(--green-on-dark); flex-shrink: 0; }
.media-caption b {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
}
.media-caption span { font-size: .85rem; color: rgba(255,255,255,.75); line-height: 1.35; }

/* ----- Mega-Menü „Leistungen“ ------------------------------------------- */
.has-mega > a .caret { transition: transform .25s var(--ease); margin-left: 2px; }
.has-mega:hover > a .caret,
.has-mega:focus-within > a .caret { transform: rotate(180deg); }
.mega {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 90;
  width: min(880px, calc(100vw - 40px));
  transform: translate(-50%, 8px);
  display: grid;
  grid-template-columns: 1.55fr .95fr;
  opacity: 0;
  visibility: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--green-logo);
  border-radius: 0 0 var(--radius-card) var(--radius-card);
  box-shadow: 0 34px 64px -32px rgba(20, 38, 28, .4);
  /* Schließen erst nach kurzer Gnadenfrist – so überlebt der Mauszug
     durch die Lücke zwischen Link und Menü */
  transition: opacity .16s var(--ease) .16s, transform .16s var(--ease) .16s, visibility 0s linear .34s;
}
/* Unsichtbare Brücke über die Lücke zwischen Navigationsleiste und Menü */
.mega::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: -22px;
  height: 22px;
}
.has-mega:hover .mega,
.has-mega:focus-within .mega {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s;
}
.mega__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  padding: 18px;
}
.mega__item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: var(--radius);
  color: var(--ink);
  transition: background .2s var(--ease);
}
.mega__item:hover { background: var(--bg-soft); color: var(--ink); }
.mega__item svg {
  width: 22px; height: 22px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--green-deep);
}
.mega__item b {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  line-height: 1.3;
}
.mega__item small { display: block; font-size: .82rem; color: var(--muted); line-height: 1.4; margin-top: 1px; }
.mega__item--all {
  grid-column: 1 / -1;
  margin-top: 6px;
  border-top: 1px solid var(--line);
  border-radius: 0;
  padding-top: 16px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .92rem;
  color: var(--green-deep);
  align-items: center;
}
.mega__item--all:hover { background: transparent; color: var(--green); }
.mega__item--all svg { margin-top: 0; width: 18px; height: 18px; }
.mega__aside {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-left: 1px solid var(--line);
  min-height: 100%;
}
.mega__aside-media {
  position: relative;
  display: block;
  flex: 1;
  min-height: 140px;
  overflow: hidden;
}
.mega__aside-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease);
}
.mega__aside:hover .mega__aside-media img { transform: scale(1.04); }
.mega__aside-text {
  display: block;
  padding: 14px 20px 16px;
  background: var(--ink);
  color: rgba(255,255,255,.78);
}
.mega__aside-text b {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .98rem;
  color: #fff;
  margin-bottom: .15rem;
}
.mega__aside-text span { font-size: .83rem; line-height: 1.45; }
@media (max-width: 860px) {
  .mega { display: none; }
  .has-mega > a .caret { display: none; }
}

/* ----- Leistungs-Slider (Editorial) ------------------------------------- */
.svc-slider { position: relative; }
.svc-slider .viewport {
  position: relative;
  width: 100%;
  min-height: 280px;
  aspect-ratio: 3.4 / 1;
  overflow: hidden;
  touch-action: pan-y;
  user-select: none;
  cursor: grab;
}
.svc-slider .viewport.is-dragging { cursor: grabbing; }
.svc-slider .active-slide {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.9fr 1fr;
  width: 52%;
  min-width: 0;
  will-change: transform, clip-path;
}
.svc-slider .copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  padding: clamp(20px, 2.5vw, 38px);
  color: #fff;
  background: var(--ink);
  border-radius: var(--radius-card) 0 0 var(--radius-card);
  box-shadow: calc(var(--radius-card) + 3px) 0 0 var(--ink);
}
.svc-slider .slide-number,
.svc-slider .image-label,
.svc-slider .preview-label {
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.svc-slider .slide-number {
  display: block;
  margin-bottom: clamp(10px, 1.3vw, 18px);
  color: var(--green-on-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.svc-slider .copy h3 {
  max-width: 14ch;
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(1.4rem, .95rem + 1.5vw, 2.1rem);
  line-height: 1.05;
}
.svc-slider .description {
  max-width: 46ch;
  margin: 0;
  color: rgba(255,255,255,.74);
  font-size: clamp(.9rem, .82rem + .3vw, 1rem);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.svc-slider .link-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin-top: 18px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--green-on-dark);
  color: #fff;
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: color .2s var(--ease);
}
.svc-slider .link-label:hover { color: var(--green-on-dark); }
.svc-slider .visual,
.svc-slider .preview {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: #dde4de;
}
.svc-slider .visual { border-radius: 0 var(--radius-card) var(--radius-card) 0; }
.svc-slider .preview { border-radius: var(--radius-card); }
.svc-slider .visual img,
.svc-slider .preview img,
.svc-slider .moving-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}
.svc-slider .visual::after,
.svc-slider .preview::after,
.svc-slider .moving-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(12,20,15,.5));
  pointer-events: none;
}
.svc-slider .image-label,
.svc-slider .preview-label {
  position: absolute;
  z-index: 1;
  left: 18px;
  bottom: 16px;
  color: #fff;
}
.svc-slider .moving-visual {
  position: absolute;
  z-index: 5;
  overflow: hidden;
  pointer-events: none;
  will-change: left, top, width, height, border-radius;
}
.svc-slider .previews {
  position: absolute;
  inset: 0 auto 0 calc(52% + var(--sl-gap));
  z-index: 1;
  display: grid;
  width: calc(32% + var(--sl-gap));
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sl-gap);
  will-change: transform;
}
.svc-slider { --sl-gap: clamp(28px, 3.5vw, 56px); }
.svc-slider .controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  margin-top: 22px;
}
.svc-slider .buttons { display: flex; gap: 8px; }
.svc-slider .sl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  transition: color .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease), opacity .2s var(--ease);
}
.svc-slider .sl-btn:hover:not(:disabled) { color: #fff; background: var(--ink); border-color: var(--ink); }
.svc-slider .sl-btn:disabled { opacity: .3; cursor: default; }
.svc-slider .sl-btn svg {
  width: 18px; height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@media (max-width: 900px) {
  .svc-slider { --sl-gap: 22px; }
  .svc-slider .viewport { min-height: 320px; aspect-ratio: auto; }
  .svc-slider .active-slide {
    width: 80%;
    grid-template-columns: minmax(0, 1.55fr) minmax(130px, 1fr);
  }
  .svc-slider .previews {
    inset: 0 auto 0 calc(80% + var(--sl-gap));
    width: 31.4%;
    grid-template-columns: 1fr;
  }
  .svc-slider .preview:nth-child(2) { display: none; }
}
@media (max-width: 620px) {
  .svc-slider { --sl-gap: 14px; }
  .svc-slider .viewport { min-height: 300px; }
  .svc-slider .active-slide {
    width: 86%;
    grid-template-columns: minmax(0, 1.5fr) minmax(96px, 1fr);
  }
  .svc-slider .copy { padding: 20px 16px; }
  .svc-slider .copy h3 { max-width: 11ch; font-size: clamp(1.3rem, 6.4vw, 1.7rem); }
  .svc-slider .description { display: none; }
  .svc-slider .slide-number {
    margin-bottom: 10px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
  .svc-slider .link-label { gap: 6px; margin-top: 10px; font-size: .68rem; letter-spacing: .08em; }
  .svc-slider .previews { inset: 0 auto 0 calc(86% + var(--sl-gap)); width: 34.4%; }
  .svc-slider .image-label, .svc-slider .preview-label { left: 12px; bottom: 12px; }
  .svc-slider .controls { margin-top: 14px; }
  .svc-slider .sl-btn { width: 44px; height: 44px; }
}

/* ----- Leistungs-Verzeichnis (Editorial-Liste) --------------------------- */
.svc-index { border-top: 1px solid var(--line-2); }
.svc-row {
  display: grid;
  grid-template-columns: 58px minmax(210px, .85fr) 1.5fr 52px;
  align-items: center;
  gap: clamp(14px, 3vw, 40px);
  padding: clamp(20px, 2.6vw, 30px) clamp(2px, 1vw, 14px);
  border-bottom: 1px solid var(--line);
  color: inherit;
  transition: background .25s var(--ease);
}
.svc-row__num {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .88rem;
  letter-spacing: .08em;
  color: var(--muted);
}
.svc-row h3 { font-size: clamp(1.15rem, 1rem + .7vw, 1.45rem); }
.svc-row > p { margin: 0; color: var(--muted); font-size: .98rem; line-height: 1.55; }
.svc-row__go {
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  color: var(--ink);
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.svc-row__go svg { width: 18px; height: 18px; }
a.svc-row:hover { background: var(--bg-soft); color: inherit; }
a.svc-row:hover .svc-row__go { background: var(--ink); color: #fff; border-color: var(--ink); }
@media (max-width: 760px) {
  .svc-row { grid-template-columns: 40px 1fr 46px; row-gap: 6px; }
  .svc-row > p { grid-column: 2 / 3; }
}

/* ----- Projekt-Karten (Referenzen, Bild oben / Text unten) --------------- */
.project-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.project-card:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.project-card__media {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--bg-soft);
}
.project-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}
.project-card:hover .project-card__media img { transform: scale(1.045); }
.project-card__media .ref-card__tag {
  position: absolute;
  left: 16px; top: 16px;
  margin: 0;
}
.project-card__body {
  display: flex;
  flex-direction: column;
  gap: .65rem;
  padding: clamp(22px, 3vw, 30px);
}
.project-card__body h3 { font-size: 1.35rem; }
.project-card__body p { margin: 0; color: var(--muted); font-size: .98rem; }
.project-card__body ul {
  margin: 0;
  padding-left: 1.1em;
  color: var(--muted);
  font-size: .96rem;
  display: grid;
  gap: .3em;
}

/* ----- Projekt-Feature (großes abgeschlossenes Projekt) ------------------ */
.project-feature {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  background: var(--ink);
  color: rgba(255,255,255,.84);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.project-feature__media { position: relative; min-height: clamp(300px, 42vw, 540px); }
.project-feature__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.project-feature__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(30px, 4.5vw, 64px);
}
.project-feature .eyebrow { color: #d7f3e0; }
.project-feature .eyebrow::before { background: var(--green-on-dark); }
.project-feature h2 {
  color: #fff;
  font-size: clamp(1.7rem, 1.2rem + 2vw, 2.7rem);
  margin-top: .7rem;
}
.project-feature > .project-feature__body > p { margin-top: 1rem; }
.project-feature__facts {
  display: flex;
  flex-wrap: wrap;
  margin-top: 1.9rem;
  border-top: 1px solid rgba(255,255,255,.2);
}
.project-feature__facts div {
  padding: 1.1rem clamp(18px, 2.5vw, 36px) 0 0;
  margin-right: clamp(18px, 2.5vw, 36px);
  border-right: 1px solid rgba(255,255,255,.14);
  line-height: 1.3;
}
.project-feature__facts div:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.project-feature__facts b {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.3rem, 1.05rem + 1vw, 1.8rem);
  color: #fff;
  white-space: nowrap;
}
.project-feature__facts span { font-size: .86rem; color: rgba(255,255,255,.68); }
.project-feature .check-list { margin-top: 1.8rem; }
.project-feature .check-list li { color: rgba(255,255,255,.86); }
@media (max-width: 860px) {
  .project-feature { grid-template-columns: 1fr; }
  .project-feature__media { min-height: 240px; aspect-ratio: 16 / 10; }
}

/* ----- Shorts / Baustellen-Videos ----------------------------------------
   Reihe aus Hochkant-Videos: Hover = stumme Vorschau, Klick = aktiv (größer,
   Ton, die anderen weichen zurück). Videos laden erst bei Interaktion
   (preload="none" + Poster-JPG) und kosten daher keine Ladezeit. */
.shorts {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 24px);
}
.short {
  position: relative;
  flex: 1 1 0;
  max-width: 300px;
  aspect-ratio: 9 / 16;
  padding: 0;
  border: 0;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--ink);
  cursor: pointer;
  isolation: isolate;
  transition: flex-grow .5s var(--ease), max-width .5s var(--ease), box-shadow .5s var(--ease);
}
.shorts.has-active .short { flex-grow: .72; max-width: 246px; }
.shorts.has-active .short.is-active {
  flex-grow: 1.65;
  max-width: 390px;
  box-shadow: 0 30px 60px -30px rgba(20, 38, 28, .5);
}
@media (max-width: 760px) {
  .shorts {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 12px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--line-2) transparent;
  }
  .short,
  .shorts.has-active .short,
  .shorts.has-active .short.is-active {
    flex: 0 0 min(64vw, 260px);
    max-width: none;
    box-shadow: none;
  }
  .short { scroll-snap-align: center; }
}
.short video {
  width: 100%; height: 100%;
  object-fit: cover;
}
.short::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(12,20,15,.72) 0%, rgba(12,20,15,0) 34%);
  pointer-events: none;
}
.short__label {
  position: absolute;
  left: 14px; right: 14px; bottom: 13px;
  z-index: 2;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .86rem;
  line-height: 1.35;
  pointer-events: none;
}
.short__play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 56px; height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.94);
  color: var(--ink);
  transform: translate(-50%, -50%);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
  pointer-events: none;
}
.short__play svg { width: 22px; height: 22px; margin-left: 2px; }
/* Beim Hover-Preview bleibt der Play-Button sichtbar; er verschwindet erst,
   wenn das Video per Klick groß abgespielt wird. */
.short.is-active .short__play { opacity: 0; transform: translate(-50%, -50%) scale(.8); }
.short:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }

/* ----- Zielgruppen-Karten (Jobs) ----------------------------------------- */
.job-card__aud {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .74rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.job-card__roles { list-style: none; padding: 0; margin: 0; }
.job-card__roles li {
  display: flex;
  align-items: center;
  gap: .7em;
  padding: .55rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--body);
  font-size: .98rem;
}
.job-card__roles li:first-child { border-top: 1px solid var(--line); }
.job-card__roles li::before {
  content: "";
  width: 7px; height: 7px;
  flex-shrink: 0;
  background: var(--green-logo);
}
.job-card__perk {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .9rem;
  color: var(--green-deep);
}
.job-card__perk svg { flex-shrink: 0; }
.job-card__cta {
  margin-top: auto;
  display: grid;
  gap: 14px;
  justify-items: start;
}
.job-card__cta .arrow-link { font-size: .95rem; }

/* ----- Kontakt-Panel (dunkle Seite + Formular) --------------------------- */
.contact-panel {
  display: grid;
  grid-template-columns: minmax(300px, .88fr) 1.22fr;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.contact-panel__side {
  display: flex;
  flex-direction: column;
  background: var(--ink);
  color: rgba(255,255,255,.82);
  padding: clamp(28px, 4vw, 52px);
}
.contact-panel__side .eyebrow { color: #d7f3e0; }
.contact-panel__side .eyebrow::before { background: var(--green-on-dark); }
.contact-panel__side h2 {
  color: #fff;
  font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.2rem);
  margin-top: .7rem;
}
.contact-panel__side > p { margin-top: 1rem; font-size: .98rem; line-height: 1.6; }
.contact-channels { list-style: none; margin: 1.8rem 0 0; padding: 0; }
.contact-channels li { border-top: 1px solid rgba(255,255,255,.16); }
.contact-channels a,
.contact-channels div.static {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 1.05rem 0;
  color: #fff;
}
.contact-channels a:hover b { color: var(--green-on-dark); }
.contact-channels svg { color: var(--green-on-dark); flex-shrink: 0; margin-top: 4px; }
.contact-channels small {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255,255,255,.56);
  margin-bottom: .25rem;
}
.contact-channels b {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.02rem;
  color: #fff;
  line-height: 1.4;
  transition: color .2s var(--ease);
  overflow-wrap: anywhere;
}
.contact-channels .arrow-link { margin-top: .45rem; font-size: .88rem; color: var(--green-on-dark); }
.contact-channels .arrow-link::after { background: var(--green-on-dark); }
.contact-hours {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.16);
  font-size: .95rem;
}
.contact-hours h3 {
  color: #fff;
  font-size: .78rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: .8rem;
}
.contact-hours div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: .35rem 0;
}
.contact-hours b { font-family: var(--font-head); font-weight: 600; color: #fff; white-space: nowrap; }
.contact-panel__form { background: #fff; padding: clamp(28px, 4vw, 52px); }
@media (max-width: 980px) {
  .contact-panel { grid-template-columns: 1fr; }
  .contact-hours { margin-top: 1.6rem; }
}

/* ----- Kontakt-Kanäle (Startseite, umbruchsicher) ------------------------ */
.channel {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 17px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--green-logo);
  border-radius: var(--radius);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
a.channel:hover { border-color: var(--line-2); border-left-color: var(--green); box-shadow: var(--shadow); }
.channel__icon {
  width: 46px; height: 46px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
}
.channel small {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
}
.channel b {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.04rem;
  color: var(--ink);
  white-space: nowrap;
}
@media (max-width: 420px) {
  .channel b { font-size: .92rem; white-space: normal; overflow-wrap: anywhere; }
}

/* ----- Utility: Section-Head in voller Breite ---------------------------- */
.section-head--full { max-width: none; }
.section-head--full .section-intro { max-width: 68ch; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* =========================================================================
   Karriere-Landingpages: Ausbildung + Fachkräfte
   ========================================================================= */
.page-hero--career .page-hero__inner { max-width: 900px; }
.page-hero--career h1 {
  font-size: clamp(3rem, 2rem + 4.8vw, 6.5rem);
  letter-spacing: -.045em;
  line-height: .96;
}
.page-hero--career .page-hero__bg img { object-position: center 38%; }
.page-hero--professionals .page-hero__bg img { object-position: center 45%; }
.career-hero-title > span { display: block; white-space: nowrap; }
.career-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }
.career-hero__actions .btn--on-dark { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.55); }
.career-hero__actions .btn--on-dark:hover { background: #fff; color: var(--ink); border-color: #fff; }

.career-facts { background: var(--ink); color: #fff; border-top: 1px solid rgba(255,255,255,.12); }
.career-facts__grid { display: grid; grid-template-columns: repeat(4, 1fr); padding-block: 0; }
.career-facts--azubi .career-facts__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.career-facts__grid > div { padding: 26px clamp(18px, 2.6vw, 38px); border-right: 1px solid rgba(255,255,255,.14); }
.career-facts__grid > div:first-child { padding-left: 0; }
.career-facts__grid > div:last-child { border-right: 0; }
.career-facts strong { display: block; font: 700 clamp(1.45rem, 1.15rem + 1.2vw, 2.25rem)/1 var(--font-head); color: #fff; }
.career-facts span { display: block; margin-top: .5rem; font-size: .88rem; line-height: 1.4; color: rgba(255,255,255,.68); }

.career-title-xl { font-size: clamp(3rem, 1.8rem + 5.2vw, 6.4rem); line-height: .98; letter-spacing: -.045em; }
.benefit-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(14px, 2vw, 24px); }
.benefit-card {
  grid-column: span 4;
  min-height: 270px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 38px;
  padding: clamp(26px, 3.2vw, 44px);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
}
.benefit-card--bonus { grid-column: span 7; min-height: 400px; background: var(--navy); border-color: var(--navy); color: rgba(255,255,255,.8); }
.benefit-card--time { grid-column: span 5; min-height: 400px; background: var(--green); border-color: var(--green); color: rgba(255,255,255,.86); }
.benefit-card--wide { grid-column: span 4; }
.benefit-card:not(.benefit-card--bonus):not(.benefit-card--time) { justify-content: flex-start; gap: 22px; }
.benefit-card h3 { font-size: clamp(1.45rem, 1.1rem + 1vw, 2rem); }
.benefit-card p { margin-top: .7rem; color: var(--muted); line-height: 1.55; }
.benefit-card--bonus h3,
.benefit-card--time h3 { color: #fff; }
.benefit-card--bonus p,
.benefit-card--time p { color: inherit; max-width: 34em; }
.benefit-card__number { font: 700 clamp(4rem, 2rem + 7vw, 9rem)/.9 var(--font-head); letter-spacing: -.06em; color: #fff; }
.benefit-card__icon { width: 72px; height: 72px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.42); color: #fff; }
.benefit-card--time .benefit-card__icon { border: 0; }
.benefit-card__icon svg { width: 36px; height: 36px; }
.benefit-card__index { font: 600 .76rem/1 var(--font-head); letter-spacing: .16em; color: var(--green-deep); }

.career-day { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(46px, 8vw, 112px); align-items: start; }
.career-day__intro { position: sticky; top: 138px; }
.career-day__intro .lead { margin-top: 1.4rem; }
.career-day__intro .btn { margin-top: 2rem; }
.career-day__steps { list-style: none; padding: 0; counter-reset: career-step; }
.career-day__steps li { display: grid; grid-template-columns: 112px 1fr; gap: 24px; padding: 28px 0; border-top: 1px solid var(--line-2); }
.career-day__steps li:last-child { border-bottom: 1px solid var(--line-2); }
.career-day__steps > li > span { font: 600 .72rem/1.4 var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--green-deep); }
.career-day__steps h3 { font-size: clamp(1.25rem, 1rem + .7vw, 1.65rem); }
.career-day__steps p { margin-top: .55rem; color: var(--muted); line-height: 1.55; }

.crew-events { background: var(--ink); color: rgba(255,255,255,.76); }
.crew-events .eyebrow { color: #cbeed6; }
.crew-events .eyebrow::before { background: var(--green-on-dark); }
.crew-events .section-title { color: #fff; }
.crew-events__head { display: grid; grid-template-columns: 1.15fr .7fr; gap: clamp(36px, 8vw, 112px); align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.crew-events__head > p { max-width: 36em; font-size: 1.13rem; line-height: 1.65; }
.crew-gallery { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(250px, 24vw, 320px); gap: clamp(10px, 1.5vw, 18px); }
.crew-gallery__item { position: relative; overflow: hidden; min-width: 0; background: var(--ink-soft); border: 1px solid rgba(255,255,255,.12); }
.crew-gallery__item img,
.crew-gallery__item video { width: 100%; height: 100%; object-fit: cover; }
.crew-gallery__item--people { grid-column: 1 / span 4; grid-row: 1; }
.crew-gallery__item--wide { grid-column: 5 / span 4; grid-row: 1; }
.crew-gallery__item--detail { grid-column: 1 / span 4; grid-row: 2; }
.crew-gallery__item--portrait { grid-column: 5 / span 4; grid-row: 2; }
.crew-gallery__item--video { grid-column: 9 / span 4; grid-row: 1 / span 2; background: #080f0b; }
.crew-gallery__item--people img { object-position: 50% 38%; }
.crew-gallery__item--wide img { object-position: 50% 48%; }
.crew-gallery__item--detail img { object-position: 50% 46%; }
.crew-gallery__item--portrait img { object-position: 50% 34%; }
.crew-video { display: block; width: 100%; padding: 0; color: var(--ink); font: inherit; text-align: inherit; cursor: pointer; appearance: none; }
.crew-video video { display: block; pointer-events: none; }
.crew-video__play { position: absolute; inset: 0; z-index: 2; width: 68px; height: 68px; margin: auto; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.94); color: var(--ink); box-shadow: 0 12px 30px rgba(0,0,0,.22); pointer-events: none; transition: transform .2s var(--ease), background .2s var(--ease), opacity .2s var(--ease); }
.crew-video__play svg { width: 26px; height: 26px; margin-left: 4px; }
.crew-video:hover .crew-video__play { transform: scale(1.06); background: #fff; }
.crew-video.is-playing .crew-video__play { opacity: 0; visibility: hidden; }
.crew-video:focus-visible { outline: 3px solid var(--green-on-dark); outline-offset: 4px; }

.career-closing { display: grid; grid-template-columns: 1fr auto; gap: clamp(32px, 6vw, 84px); align-items: center; padding: clamp(34px, 5vw, 68px); background: var(--navy); color: rgba(255,255,255,.78); border-left: 5px solid var(--green-on-dark); }
.career-closing .eyebrow { color: #dcd9f0; }
.career-closing .eyebrow::before { background: var(--green-on-dark); }
.career-closing h2 { max-width: 18em; margin-top: .7rem; font-size: clamp(2rem, 1.35rem + 2.1vw, 3.4rem); color: #fff; }
.career-closing p { max-width: 48em; margin-top: 1rem; }
.career-closing__actions { display: grid; gap: 12px; min-width: min(100%, 250px); }
.career-closing__actions .btn--ghost { color: #fff; border-color: rgba(255,255,255,.45); }
.career-closing__actions .btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* Fachkräfte */
.professional-benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); }
.professional-benefit { min-height: 310px; display: flex; flex-direction: column; padding: clamp(26px, 3vw, 40px); background: #fff; }
.professional-benefit > span { font: 600 .74rem/1 var(--font-head); letter-spacing: .14em; color: var(--green-deep); }
.professional-benefit h3 { margin-top: auto; font-size: 1.5rem; }
.professional-benefit p { margin-top: .65rem; color: var(--muted); line-height: 1.55; }
.professional-benefit--dark { background: var(--ink); }
.professional-benefit--dark > span { color: var(--green-on-dark); }
.professional-benefit--dark h3 { color: #fff; }
.professional-benefit--dark p { color: rgba(255,255,255,.72); }
.role-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); }
.role-card { min-height: 330px; display: flex; flex-direction: column; padding: clamp(26px, 3vw, 40px); background: #fff; border: 1px solid var(--line); }
.role-card > span { font: 600 .72rem/1 var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--green-deep); }
.role-card h3 { margin-top: 3rem; font-size: clamp(1.35rem, 1.05rem + .9vw, 1.8rem); }
.role-card p { margin-top: .8rem; color: var(--muted); line-height: 1.55; }
.role-card .arrow-link { margin-top: auto; padding-top: 2rem; align-self: flex-start; }
.job-open--career { margin-top: clamp(22px, 3vw, 36px); }
.job-open--career h3 { margin-bottom: .4rem; font-size: 1.5rem; }
.job-open--career p { margin: 0; }
.professional-teamfest__grid { display: grid; grid-template-columns: minmax(300px, .9fr) 1.1fr; gap: clamp(38px, 8vw, 112px); align-items: center; }
.professional-teamfest__image { height: clamp(430px, 52vw, 680px); overflow: hidden; }
.professional-teamfest__image img { width: 100%; height: 100%; object-fit: cover; }
.professional-teamfest__content .lead { margin: 1.4rem 0 2rem; }

/* Immer erreichbare 30-Sekunden-Bewerbung */
.application-widget { position: relative; z-index: 190; }
.application-widget__launcher {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 192;
  min-width: 208px;
  min-height: 62px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 18px 9px 10px;
  border: 0;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  box-shadow: 0 18px 42px -14px rgba(6,96,42,.62);
  cursor: pointer;
  text-align: left;
  transition: background .2s var(--ease), box-shadow .2s var(--ease);
}
.application-widget__launcher:hover { background: var(--green-deep); box-shadow: 0 22px 46px -14px rgba(6,96,42,.75); }
.application-widget__launcher-icon { width: 44px; height: 44px; flex: 0 0 44px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--green-deep); }
.application-widget__launcher-icon svg { width: 21px; height: 21px; }
.application-widget__launcher strong,
.application-widget__launcher small { display: block; font-family: var(--font-head); }
.application-widget__launcher strong { font-size: .94rem; line-height: 1.2; }
.application-widget__launcher small { margin-top: 2px; font-size: .76rem; line-height: 1.2; color: rgba(255,255,255,.78); }
.application-widget__panel {
  position: fixed;
  right: 24px;
  bottom: 100px;
  z-index: 191;
  width: min(410px, calc(100vw - 32px));
  max-height: calc(100vh - 124px);
  max-height: calc(100dvh - 124px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 25px;
  background: #fff;
  border: 1px solid var(--line-2);
  border-top: 4px solid var(--green-logo);
  border-radius: var(--radius-card);
  box-shadow: 0 28px 72px -24px rgba(20,38,28,.48);
}
.application-widget__panel[hidden] { display: none; }
.application-widget__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.application-widget__head > div > span { font: 600 .7rem/1 var(--font-head); letter-spacing: .13em; text-transform: uppercase; color: var(--green-deep); }
.application-widget__head h2 { margin-top: .45rem; font-size: 1.38rem; }
.application-widget__close { width: 44px; height: 44px; flex: 0 0 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--bg-soft); color: var(--ink); cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease); }
.application-widget__close:hover { background: var(--ink); color: #fff; }
.application-widget__close svg { width: 19px; height: 19px; }
.application-widget__intro { margin: .7rem 0 1.2rem; color: var(--muted); font-size: .92rem; line-height: 1.45; }
.application-form { gap: 12px; }
.application-form .field { gap: 5px; }
.application-form .field label { font-size: .78rem; }
.application-form .field label > span:not(.req) { font-weight: 400; color: var(--muted); }
.application-form .field input,
.application-form .field select,
.application-form .field textarea { min-height: 44px; padding: .7rem .8rem; font-size: .92rem; }
.application-form .field textarea { min-height: 68px; }
.application-form .field--check { gap: 9px; }
.application-form .field--check label { font-size: .76rem; line-height: 1.4; }
.application-form .field--check input { width: 20px; height: 20px; }
.application-form .btn { min-height: 48px; }
.application-form .form__note { margin-top: -4px; }
.application-form .form-status { font-size: .86rem; padding: 12px 14px; }
.has-application-widget .a11y-widget { right: auto; left: 18px; }
.has-application-widget .a11y-widget__panel { right: auto; left: 0; }
.has-application-widget .cookie-bar { bottom: 104px; }

@media (max-width: 1040px) {
  .professional-benefits { grid-template-columns: repeat(2, 1fr); }
  .professional-benefit { min-height: 270px; }
  .benefit-card { grid-column: span 6; }
  .benefit-card--bonus,
  .benefit-card--time { grid-column: span 6; }
  .benefit-card--wide { grid-column: span 12; min-height: 220px; }
}

@media (max-width: 900px) {
  .career-facts__grid { grid-template-columns: repeat(2, 1fr); }
  .career-facts__grid > div { border-bottom: 1px solid rgba(255,255,255,.14); }
  .career-facts__grid > div:nth-child(2) { border-right: 0; }
  .career-facts__grid > div:nth-child(n+3) { border-bottom: 0; }
  .career-facts__grid > div:first-child { padding-left: clamp(18px, 2.6vw, 38px); }
  .career-facts--azubi .career-facts__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .career-facts--azubi .career-facts__grid > div { border-bottom: 0; }
  .career-facts--azubi .career-facts__grid > div:nth-child(2) { border-right: 1px solid rgba(255,255,255,.14); }
  .career-facts--azubi .career-facts__grid > div:nth-child(3) { grid-column: auto; border-right: 0; }
  .career-day { grid-template-columns: 1fr; }
  .career-day__intro { position: static; }
  .crew-events__head { grid-template-columns: 1fr; gap: 20px; }
  .career-closing { grid-template-columns: 1fr; }
  .career-closing__actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .role-grid { grid-template-columns: 1fr; }
  .role-card { min-height: 260px; }
  .professional-teamfest__grid { grid-template-columns: 1fr; }
  .professional-teamfest__image { height: min(72vw, 580px); }
}

@media (max-width: 760px) {
  .page-hero--career h1 { font-size: clamp(2.7rem, 12vw, 4.4rem); }
  .page-hero--career .career-hero-title { font-size: clamp(1.8rem, 8.2vw, 3.8rem); }
  .page-hero--career .page-hero__inner { padding-block: 76px; }
  .benefit-grid { grid-template-columns: 1fr; }
  .benefit-card,
  .benefit-card--bonus,
  .benefit-card--time,
  .benefit-card--wide { grid-column: auto; min-height: 250px; }
  .benefit-card--bonus { min-height: 340px; }
  .benefit-card__number { font-size: clamp(4.5rem, 24vw, 7.2rem); }
  .crew-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; }
  .crew-gallery__item,
  .crew-gallery__item--people,
  .crew-gallery__item--wide,
  .crew-gallery__item--detail,
  .crew-gallery__item--portrait,
  .crew-gallery__item--video { grid-column: auto; grid-row: auto; aspect-ratio: 4 / 5; }
  .crew-gallery__item--wide { grid-column: span 2; aspect-ratio: 16 / 9; }
  .crew-gallery__item--video { grid-column: span 2; aspect-ratio: 9 / 12; }
  .application-widget__panel { left: 12px; right: 12px; bottom: 88px; width: auto; max-height: calc(100dvh - 112px); padding: 21px; }
  .application-widget__launcher { right: 16px; bottom: 16px; min-height: 58px; }
  .has-application-widget .cookie-bar { bottom: 90px; }
}

@media (max-width: 600px) {
  .career-hero__actions { display: grid; }
  .career-hero__actions .btn { width: 100%; }
  .career-facts__grid { margin-inline: calc(var(--gut) * -1); width: auto; }
  .career-facts strong { font-size: 1.25rem; }
  .career-facts span { font-size: .78rem; }
  .career-facts--azubi .career-facts__grid > div,
  .career-facts--azubi .career-facts__grid > div:first-child { padding: 18px 10px; }
  .career-facts--azubi .career-facts__grid strong { font-size: 1rem; line-height: 1.15; }
  .career-facts--azubi .career-facts__grid span { font-size: .7rem; }
  .career-day__steps li { grid-template-columns: 1fr; gap: 8px; }
  .career-closing__actions { grid-template-columns: 1fr; }
  .professional-benefits { grid-template-columns: 1fr; }
  .professional-benefit { min-height: 235px; }
  .crew-gallery { grid-template-columns: 1fr; }
  .crew-gallery__item,
  .crew-gallery__item--wide,
  .crew-gallery__item--video { grid-column: auto; aspect-ratio: 4 / 5; }
  .crew-gallery__item--video { aspect-ratio: 9 / 14; }
  .application-widget__launcher { min-width: 190px; padding-right: 15px; }
  .has-application-widget .a11y-widget { left: 12px; bottom: 16px; }
}

.a11y-dark .benefit-card,
.a11y-dark .professional-benefit,
.a11y-dark .role-card,
.a11y-dark .application-widget__panel { background: #17251d; border-color: #425047; }
.a11y-dark .benefit-card h3,
.a11y-dark .professional-benefit h3,
.a11y-dark .role-card h3,
.a11y-dark .application-widget__panel h2 { color: #fff; }
.a11y-dark .benefit-card p,
.a11y-dark .professional-benefit p,
.a11y-dark .role-card p,
.a11y-dark .application-widget__intro { color: #cbd5ce; }
.a11y-dark .benefit-card--bonus { background: var(--navy); }
.a11y-dark .benefit-card--time { background: var(--green-deep); }
