/* Weinand & Pauken GmbH Dachtechnik
   Farben aus dem Logo: Grün #1DA62B, Anthrazit #1B1C20.
   Schrift: Barlow / Barlow Condensed (lokal eingebunden). */

@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/fonts/Barlow-400.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: italic; font-weight: 400; font-display: swap; src: url("../assets/fonts/Barlow-400i.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("../assets/fonts/Barlow-500.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("../assets/fonts/Barlow-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 500; font-display: swap; src: url("../assets/fonts/BarlowCondensed-500.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("../assets/fonts/BarlowCondensed-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("../assets/fonts/BarlowCondensed-700.woff2") format("woff2"); }

:root {
  --green: #1da62b;          /* Logo-Grün: Flächen, Linien, große Schrift */
  --green-dark: #137a1f;     /* Text und Buttons auf Weiß (Kontrast > 5:1) */
  --green-light: #4cc457;    /* Akzent auf Anthrazit */
  --ink: #1b1c20;            /* Logo-Anthrazit */
  --ink-2: #26282d;
  --ink-3: #33363c;
  --text: #2a2c31;
  --muted: #5d6067;
  --paper: #f3f3f0;
  --line: #dcdcd6;
  --white: #fff;
  --font: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --font-cond: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 84px;
  --cut: 110px;              /* Dachschräge an Bildern im Seitenkopf */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--green-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
strong { font-weight: 600; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
address { font-style: normal; }
h1, h2, h3, h4 { margin: 0 0 .5em; color: var(--ink); line-height: 1.08; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 500; background: var(--ink); color: #fff; padding: 10px 16px; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Typo-Bausteine ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  margin: 0 0 14px;
  font-family: var(--font-cond); font-weight: 600; font-size: 15px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green-dark);
}
.eyebrow::before {
  content: ""; flex: none; width: 26px; height: 10px; background: var(--green);
  transform: skewX(-28deg); transform-origin: bottom;
}
.on-dark .eyebrow, .eyebrow--light { color: var(--green-light); }
.h1, .h2, .h3 { font-family: var(--font-cond); font-weight: 700; }
.h1 { font-size: clamp(42px, 6.2vw, 84px); line-height: .98; overflow-wrap: break-word; hyphens: auto; }
.page-impressum .page-hero .h1, .page-datenschutz .page-hero .h1 { font-size: clamp(32px, 5vw, 64px); }
.h2 { font-size: clamp(32px, 3.8vw, 52px); line-height: 1.02; }
.h3 { font-size: clamp(22px, 2vw, 27px); line-height: 1.1; }
.lead { font-size: clamp(18px, 1.5vw, 20px); line-height: 1.6; color: var(--ink-3); max-width: 46em; }
.dots { font-family: var(--font-cond); font-weight: 500; font-size: clamp(17px, 1.6vw, 21px); }
.dots b { color: var(--green); font-weight: 700; padding: 0 .35em; }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 26px;
  font-family: var(--font-cond); font-weight: 600; font-size: 18px; letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; border: 2px solid transparent; border-radius: 0; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn--green { background: var(--green-dark); color: #fff; }
.btn--green:hover { background: var(--ink); color: #fff; }
.on-dark .btn--green:hover, .btn--green.on-dark-hover:hover { background: #fff; color: var(--ink); }
.btn--line { border-color: currentColor; color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.on-dark .btn--line { color: #fff; }
.on-dark .btn--line:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.arrow-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-cond); font-weight: 600; font-size: 18px;
  color: var(--green-dark); text-decoration: none;
}
.arrow-link::after { content: ""; width: 22px; height: 2px; background: currentColor; box-shadow: 0 0 0 0 currentColor; transition: width .15s ease; }
.arrow-link:hover::after { width: 34px; }
.on-dark .arrow-link { color: var(--green-light); }

/* ---------- Topbar & Header ---------- */
.topbar { background: var(--ink); color: rgba(255,255,255,.82); font-size: 14px; }
.topbar__row { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 20px; }
.topbar__claim { letter-spacing: .02em; }
.topbar__links { display: flex; gap: 26px; }
.topbar a, .topbar__hours { display: inline-flex; align-items: center; gap: 7px; color: inherit; text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar svg { color: var(--green-light); }

.site-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--line); }
.site-header__row { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { flex: none; display: block; }
.brand img { height: 56px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-link {
  display: block; padding: 10px 14px;
  font-family: var(--font-cond); font-weight: 600; font-size: 19px; letter-spacing: .05em; text-transform: uppercase;
  color: var(--ink); text-decoration: none; position: relative;
}
.nav-link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 3px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav-link:hover { color: var(--ink); }
.nav-sub-toggle { display: none; }
.caret { display: block; }
.nav-sub {
  position: absolute; top: 100%; left: 0; min-width: 240px; padding: 10px 0;
  background: var(--ink); box-shadow: 0 18px 40px rgba(0,0,0,.18);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.nav-item--drop:hover .nav-sub, .nav-item--drop:focus-within .nav-sub { opacity: 1; visibility: visible; transform: none; }
.nav-sub a { display: block; padding: 9px 22px; color: #fff; text-decoration: none; font-size: 16px; }
.nav-sub a:hover { background: var(--ink-3); color: var(--green-light); }
.nav-cta { margin-left: 14px; min-height: 46px; padding: 10px 20px; font-size: 17px; }
.main-nav__contact { display: none; }
.nav-toggle { display: none; }

/* ---------- Abschnitte ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--paper { background: var(--paper); }
.section--dark { background: var(--ink); color: rgba(255,255,255,.84); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--split { max-width: none; display: grid; grid-template-columns: 1fr minmax(0, 440px); gap: 24px 60px; align-items: end; }
.section-head--split p { margin: 0; }
.section-head .h2 { margin-bottom: 18px; }

/* ---------- Startseite: Hero ---------- */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); min-height: min(820px, calc(100vh - var(--header-h) - 38px)); }
.hero__content { position: relative; z-index: 2; padding: clamp(56px, 8vw, 110px) 0 clamp(48px, 6vw, 80px); padding-right: 48px; display: flex; flex-direction: column; justify-content: center; }
.hero__kicker { margin-bottom: 26px; color: rgba(255,255,255,.75); }
.hero .h1 { color: #fff; margin: 0 0 24px; }
.hero .h1 span { color: var(--green); }
.hero__lead { font-size: clamp(18px, 1.5vw, 20px); color: rgba(255,255,255,.82); max-width: 34em; margin-bottom: 0; }
.hero__facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; margin: clamp(36px, 5vw, 56px) 0 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.16); }
.hero__facts li { padding: 18px 34px 0 0; margin-right: 34px; border-right: 1px solid rgba(255,255,255,.16); }
.hero__facts li:last-child { border-right: 0; margin-right: 0; }
.hero__facts strong { display: block; font-family: var(--font-cond); font-weight: 700; font-size: 34px; line-height: 1; color: #fff; }
.hero__facts span { font-size: 14px; color: rgba(255,255,255,.66); letter-spacing: .02em; }
.hero__media { position: relative; margin-right: calc((100vw - min(100vw, var(--container))) / -2 - var(--gutter)); }
.hero__video { position: absolute; inset: 0; clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%); }
.hero__video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(27,28,32,.35), rgba(27,28,32,0) 40%); }
.hero__video video, .hero__video img { width: 100%; height: 100%; object-fit: cover; }
.hero__badge {
  position: absolute; z-index: 3; right: var(--gutter); bottom: 28px; max-width: 280px;
  background: #fff; color: var(--ink); padding: 16px 20px 16px 22px; border-left: 6px solid var(--green);
  font-size: 15px; line-height: 1.45;
}
.hero__badge strong { display: block; font-family: var(--font-cond); font-size: 19px; text-transform: uppercase; letter-spacing: .03em; }
.video-toggle {
  position: absolute; z-index: 3; left: calc(var(--cut) + 20px); bottom: 28px;
  width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.6); background: rgba(27,28,32,.55); color: #fff; cursor: pointer;
  display: grid; place-items: center;
}
.video-toggle:hover { background: var(--ink); }
.video-toggle .i-play { display: none; }
.video-toggle[aria-pressed="true"] .i-play { display: block; }
.video-toggle[aria-pressed="true"] .i-pause { display: none; }

/* ---------- Leistungen (Startseite) ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service a { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; background: #fff; transition: background-color .2s ease; }
.service__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper); }
.service__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.service a:hover .service__img img { transform: scale(1.04); }
.service__body { position: relative; padding: 28px 30px 32px; flex: 1; display: flex; flex-direction: column; }
.service__no { position: absolute; top: -22px; left: 30px; background: var(--green); color: #fff; font-family: var(--font-cond); font-weight: 700; font-size: 18px; letter-spacing: .06em; padding: 8px 14px 6px; }
.service h3 { font-family: var(--font-cond); font-weight: 700; font-size: 27px; margin: 8px 0 12px; }
.service ul { list-style: none; padding: 0; margin: 0 0 20px; color: var(--muted); font-size: 16px; line-height: 1.55; }
.service li { padding-left: 16px; position: relative; }
.service li::before { content: ""; position: absolute; left: 0; top: .72em; width: 7px; height: 2px; background: var(--green); }
.service .arrow-link { margin-top: auto; font-size: 16px; }
.service a:hover { background: var(--paper); }

/* ---------- Meisterbetrieb (dunkler Block wie auf der alten Seite) ---------- */
.master { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--ink); color: rgba(255,255,255,.84); }
.master__img { position: relative; min-height: 460px; }
.master__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.master__body { padding: clamp(48px, 7vw, 96px) clamp(24px, 6vw, 88px); align-self: center; max-width: 680px; }
.master__body .h2 { color: #fff; }
.master__body .dots { color: #fff; margin-bottom: 22px; }
.signature { display: flex; gap: 18px; align-items: center; margin-top: 30px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); font-size: 15px; }
.signature strong { display: block; color: #fff; font-family: var(--font-cond); font-size: 20px; }

/* ---------- Zahlen ---------- */
.figures { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 4px solid var(--ink); }
.figure { padding: 26px 24px 4px 0; }
.figure + .figure { padding-left: 24px; border-left: 1px solid var(--line); }
.figure strong { display: block; font-family: var(--font-cond); font-weight: 700; font-size: clamp(40px, 4.4vw, 58px); line-height: 1; color: var(--ink); }
.figure strong small { font-size: .5em; letter-spacing: .02em; }
.figure span { display: block; margin-top: 8px; color: var(--muted); font-size: 15px; line-height: 1.45; }

/* ---------- Zielgruppen ---------- */
.audiences { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.audience { border-top: 3px solid var(--green); padding-top: 22px; }
.audience h3 { font-family: var(--font-cond); font-weight: 700; font-size: 25px; }
.audience p { color: var(--muted); margin: 0; }

/* ---------- Aktuelles Projekt ---------- */
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 90px); align-items: center; }
.feature__img { position: relative; }
.feature__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.feature__img figcaption { position: absolute; left: 0; bottom: 0; background: var(--ink); color: #fff; font-size: 14px; padding: 8px 14px; }
.feature__tag { display: inline-block; background: var(--green-dark); color: #fff; font-family: var(--font-cond); font-weight: 600; font-size: 15px; padding: 5px 12px 3px; margin-bottom: 18px; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 0; margin: 26px 0 0; border-top: 1px solid var(--line); font-size: 16px; }
.facts dt, .facts dd { margin: 0; padding: 11px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-family: var(--font-cond); font-weight: 600; color: var(--muted); padding-right: 28px; font-size: 15px; }
.facts dd { color: var(--ink); }

/* ---------- Referenz-Kacheln (Startseite) ---------- */
.ref-tiles { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: 300px 300px; gap: 10px; list-style: none; margin: 0; padding: 0; }
.ref-tiles li:first-child { grid-row: span 2; }
.ref-tile { position: relative; display: block; height: 100%; overflow: hidden; color: #fff; text-decoration: none; background: var(--ink); }
.ref-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, opacity .3s ease; opacity: .9; }
.ref-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(27,28,32,.85) 0%, rgba(27,28,32,0) 55%); }
.ref-tile span { position: absolute; z-index: 2; left: 24px; right: 24px; bottom: 20px; font-family: var(--font-cond); font-weight: 700; font-size: 26px; line-height: 1.05; }
.ref-tile small { display: block; font-family: var(--font); font-weight: 400; font-size: 14px; letter-spacing: 0; text-transform: none; color: rgba(255,255,255,.78); margin-top: 6px; }
.ref-tile:hover img { transform: scale(1.04); opacity: 1; }
.ref-tile:hover { color: #fff; }

/* ---------- Qualifikationen ---------- */
.quals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; list-style: none; padding: 0; margin: 0; border-top: 1px solid rgba(255,255,255,.16); }
.qual { display: flex; gap: 18px; align-items: flex-start; padding: 26px 26px 26px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.qual:not(:nth-child(3n+1)) { padding-left: 26px; border-left: 1px solid rgba(255,255,255,.16); }
.qual__year { flex: none; font-family: var(--font-cond); font-weight: 700; font-size: 18px; color: var(--green-light); min-width: 46px; padding-top: 2px; }
.qual h3 { font-family: var(--font-cond); font-weight: 600; font-size: 21px; margin: 0 0 4px; color: #fff; line-height: 1.15; }
.qual p { margin: 0; font-size: 15px; color: rgba(255,255,255,.66); line-height: 1.5; }

/* ---------- Karriere-Teaser ---------- */
.career-teaser { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 0; background: var(--paper); }
.career-teaser__img { position: relative; min-height: 420px; }
.career-teaser__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.career-teaser__body { padding: clamp(40px, 5vw, 72px); }

.jobs { list-style: none; padding: 0; margin: 24px 0 0; border-top: 1px solid var(--line); }
.jobs a { display: grid; grid-template-columns: 1fr auto; gap: 2px 20px; padding: 18px 0; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; }
.job__title { font-family: var(--font-cond); font-weight: 700; font-size: 23px; color: var(--ink); line-height: 1.1; }
.job__meta { grid-column: 1; font-size: 15px; color: var(--muted); }
.job__more { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-family: var(--font-cond); font-weight: 600; font-size: 16px; color: var(--green-dark); }
.job__more::after { content: " →"; }
.jobs a:hover .job__title { color: var(--green-dark); }
.section--dark .jobs, .section--dark .jobs a { border-color: rgba(255,255,255,.18); }
.section--dark .job__title { color: #fff; }
.section--dark .job__meta { color: rgba(255,255,255,.66); }
.section--dark .job__more { color: var(--green-light); }

/* ---------- Seitenkopf Unterseiten ---------- */
.page-hero { position: relative; background: var(--ink); color: rgba(255,255,255,.84); overflow: hidden; }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); min-height: 420px; }
.page-hero__text { padding: clamp(56px, 7vw, 96px) 48px clamp(48px, 6vw, 80px) 0; align-self: center; }
.page-hero .h1 { color: #fff; font-size: clamp(40px, 5.4vw, 74px); margin-bottom: 20px; }
.page-hero p { max-width: 36em; font-size: 18px; margin: 0; }
.page-hero__img { position: relative; margin-right: calc((100vw - min(100vw, var(--container))) / -2 - var(--gutter)); }
.page-hero__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%); }
.page-hero--plain .page-hero__grid { grid-template-columns: 1fr; min-height: 0; }
.page-hero--plain .page-hero__text { padding-right: 0; }
.breadcrumb { font-size: 14px; margin: 0 0 18px; color: rgba(255,255,255,.6); }
.breadcrumb a { color: rgba(255,255,255,.8); text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }

/* Sprungmarken unter dem Seitenkopf */
.subnav { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: var(--header-h); z-index: 50; }
.subnav ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; white-space: nowrap; padding: 15px 14px 13px; font-family: var(--font-cond); font-weight: 600; font-size: 16px; color: var(--muted); text-decoration: none; border-bottom: 3px solid transparent; }
.subnav a:hover, .subnav a.is-active { color: var(--ink); border-bottom-color: var(--green); }

/* ---------- Leistungen (Unterseite) ---------- */
.svc { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; padding: clamp(56px, 7vw, 96px) 0; border-bottom: 1px solid var(--line); }
.svc:last-child { border-bottom: 0; }
.svc--flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.svc--flip .svc__media { order: 2; }
.svc__media { position: sticky; top: calc(var(--header-h) + 80px); }
.svc__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.svc__media figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }
.svc__no { font-family: var(--font-cond); font-weight: 700; font-size: 18px; color: var(--green-dark); margin-bottom: 8px; }
.svc h2 { margin-bottom: 6px; }
.svc__claim { font-family: var(--font-cond); font-weight: 500; font-size: clamp(21px, 2vw, 26px); color: var(--muted); margin-bottom: 24px; }
.ticks { list-style: none; padding: 0; margin: 22px 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.ticks li { position: relative; padding: 8px 0 8px 22px; border-bottom: 1px solid var(--line); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 1.15em; width: 10px; height: 2px; background: var(--green); }
.ticks--single { grid-template-columns: 1fr; }
.note { background: var(--paper); border-left: 4px solid var(--green); padding: 18px 22px; font-size: 16px; margin: 24px 0 0; }

.areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid rgba(255,255,255,.16); }
.area { padding: 28px 28px 30px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.area:not(:nth-child(3n+1)) { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.16); }
.area h3 { font-family: var(--font-cond); font-weight: 700; font-size: 22px; color: #fff; margin-bottom: 10px; }
.area ul { list-style: none; padding: 0; margin: 0; font-size: 16px; color: rgba(255,255,255,.72); }
.area li { padding: 3px 0; }

.cta-band { background: var(--green-dark); color: #fff; }
.cta-band__row { display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; padding: clamp(36px, 5vw, 56px) var(--gutter); flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0; font-family: var(--font-cond); font-weight: 700; font-size: clamp(28px, 3vw, 40px); }
.cta-band p { margin: 6px 0 0; color: rgba(255,255,255,.88); }
.cta-band .btn { background: #fff; color: var(--ink); }
.cta-band .btn:hover { background: var(--ink); color: #fff; }
.cta-band .btn--line { background: transparent; color: #fff; border-color: #fff; }

/* ---------- Referenzen ---------- */
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 34px; padding: 0; list-style: none; }
.filter button {
  font-family: var(--font-cond); font-weight: 600; font-size: 17px;
  padding: 9px 18px 7px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer;
}
.filter button:hover { border-color: var(--ink); }
.filter button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.projects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 30px; list-style: none; padding: 0; margin: 0; }
.project[hidden] { display: none; }
.project__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper); margin-bottom: 18px; }
.project__img img { width: 100%; height: 100%; object-fit: cover; }
.project__img--empty { display: grid; place-items: center; background: var(--ink); }
.project__img--empty svg { width: 64px; color: var(--ink-3); }
.project__cat { position: absolute; left: 0; top: 0; background: var(--green-dark); color: #fff; font-family: var(--font-cond); font-weight: 600; font-size: 14px; padding: 5px 11px 3px; }
.project h3 { font-family: var(--font-cond); font-weight: 700; font-size: 25px; margin: 0 0 4px; }
.project__place { color: var(--muted); font-size: 15px; margin-bottom: 12px; }
.project dl { display: grid; grid-template-columns: max-content 1fr; margin: 0; font-size: 15px; line-height: 1.45; }
.project dt, .project dd { margin: 0; padding: 7px 0; border-top: 1px solid var(--line); }
.project dt { color: var(--muted); padding-right: 16px; }
.project dd { color: var(--ink); }
.project--wide { grid-column: span 3; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 0 40px; align-items: center; }
.project--wide .project__img { aspect-ratio: 16 / 9; margin: 0; }

.monument { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 4vw, 60px); padding: 44px 0; border-top: 1px solid var(--line); }
.monument h3 { font-family: var(--font-cond); font-weight: 700; font-size: 27px; margin: 0 0 4px; }
.monument__place { color: var(--muted); margin-bottom: 14px; }
.monument ul { list-style: none; padding: 0; margin: 0; font-size: 16px; }
.monument div > ul > li { padding: 6px 0 6px 18px; position: relative; border-bottom: 1px solid var(--line); }
.monument div > ul > li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 8px; height: 2px; background: var(--green); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; list-style: none; margin: 0; padding: 0; }
.gallery button { display: block; width: 100%; padding: 0; border: 0; background: var(--paper); cursor: zoom-in; aspect-ratio: 4 / 3; overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery button:hover img { transform: scale(1.05); }
.archive-note { font-size: 14px; color: var(--muted); margin-top: 26px; }

.ref-table-wrap { overflow-x: auto; }
.ref-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 760px; }
.ref-table th { text-align: left; font-family: var(--font-cond); font-weight: 600; color: var(--muted); font-size: 14px; padding: 10px 14px 10px 0; border-bottom: 2px solid var(--ink); }
.ref-table td { padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.ref-table td:first-child { font-weight: 600; color: var(--ink); }
.ref-table td:nth-child(5), .ref-table td:nth-child(6) { white-space: nowrap; }

/* ---------- Unternehmen ---------- */
.about { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 90px); align-items: center; }
.about__img img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.bosses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
.boss { display: grid; grid-template-columns: 160px 1fr; gap: 26px; align-items: start; }
.boss img { width: 160px; aspect-ratio: 4 / 5; object-fit: cover; }
.boss h3 { font-family: var(--font-cond); font-weight: 700; font-size: 27px; margin: 0; }
.boss__role { color: var(--green-dark); font-family: var(--font-cond); font-weight: 600; font-size: 15px; margin-bottom: 14px; }
.cv { list-style: none; padding: 0; margin: 0; font-size: 15px; line-height: 1.5; }
.cv li { display: grid; grid-template-columns: 74px 1fr; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); }
.boss > div { min-width: 0; }
.cv span { min-width: 0; hyphens: auto; overflow-wrap: break-word; }
.cv b { font-family: var(--font-cond); font-weight: 700; color: var(--ink); font-size: 16px; }

.timeline { position: relative; list-style: none; margin: 0; padding: 0; }
.timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: rgba(255,255,255,.18); transform: translateX(-1px); }
.timeline li { position: relative; width: 50%; padding: 0 56px 40px 0; text-align: right; }
.timeline li:nth-child(even) { margin-left: 50%; padding: 0 0 40px 56px; text-align: left; }
.timeline li::before { content: ""; position: absolute; top: 6px; right: -9px; width: 18px; height: 18px; background: var(--green); transform: skewX(-20deg); }
.timeline li:nth-child(even)::before { right: auto; left: -9px; }
.timeline time { display: block; font-family: var(--font-cond); font-weight: 700; font-size: 30px; color: var(--green-light); line-height: 1; margin-bottom: 6px; }
.timeline h3 { font-family: var(--font-cond); font-weight: 600; font-size: 22px; color: #fff; margin: 0 0 4px; }
.timeline p { margin: 0; color: rgba(255,255,255,.7); font-size: 16px; }

.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px 24px; list-style: none; padding: 0; margin: 0; }
.member img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--paper); filter: grayscale(1); margin-bottom: 14px; }
.member h3 { font-family: var(--font-cond); font-weight: 700; font-size: 23px; margin: 0; }
.member p { margin: 0; color: var(--muted); font-size: 15px; }
.member--join { display: flex; flex-direction: column; justify-content: flex-end; background: var(--ink); color: rgba(255,255,255,.8); padding: 26px; aspect-ratio: auto; }
.member--join h3 { color: #fff; margin-bottom: 8px; }
.member--join p { color: rgba(255,255,255,.72); margin-bottom: 16px; }

.certs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px 24px; list-style: none; padding: 0; margin: 0; }
.cert button { display: block; width: 100%; padding: 14px; border: 1px solid var(--line); background: #fff; cursor: zoom-in; margin-bottom: 14px; transition: border-color .15s ease; }
.cert button:hover { border-color: var(--ink); }
.cert img { width: 100%; aspect-ratio: 1 / 1.38; object-fit: cover; object-position: top; }
.cert h3 { font-family: var(--font-cond); font-weight: 700; font-size: 20px; margin: 0 0 4px; line-height: 1.15; }
.cert p { margin: 0; font-size: 15px; color: var(--muted); line-height: 1.5; }

.partners { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.partners li { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.partners a { display: block; padding: 24px 22px; height: 100%; color: var(--ink); text-decoration: none; }
.partners a:hover { background: var(--paper); }
.partners strong { display: block; font-family: var(--font-cond); font-weight: 700; font-size: 21px; line-height: 1.15; }
.partners span { font-size: 14px; color: var(--muted); }

/* ---------- Karriere ---------- */
.benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.benefit { padding: 26px 28px 28px 0; border-bottom: 1px solid var(--line); }
.benefit:not(:nth-child(3n+1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.benefit h3 { font-family: var(--font-cond); font-weight: 700; font-size: 23px; margin: 0 0 6px; }
.benefit p { margin: 0; color: var(--muted); font-size: 16px; }
.benefit svg { color: var(--green); margin-bottom: 14px; }
.photo-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.photo-row img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.training { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 48px); }
.training article { border-top: 3px solid var(--green); padding-top: 22px; }
.training h3 { font-family: var(--font-cond); font-weight: 700; font-size: 27px; }
.apply { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 90px); }
.apply__steps { list-style: none; counter-reset: step; padding: 0; margin: 26px 0 0; }
.apply__steps li { counter-increment: step; position: relative; padding: 0 0 22px 52px; }
.apply__steps li::before { content: counter(step); position: absolute; left: 0; top: -2px; width: 34px; height: 34px; display: grid; place-items: center; background: var(--green-dark); color: #fff; font-family: var(--font-cond); font-weight: 700; font-size: 19px; }
.apply__steps strong { display: block; color: #fff; font-family: var(--font-cond); font-size: 20px; }

/* Stellenseite */
.job-page { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.job-page > * { min-width: 0; }
.job-page li { overflow-wrap: break-word; hyphens: auto; }
.job-page h2 { font-family: var(--font-cond); font-weight: 700; font-size: 30px; margin: 40px 0 6px; }
.job-page h2:first-child { margin-top: 0; }
.job-aside { position: sticky; top: calc(var(--header-h) + 24px); background: var(--paper); padding: 28px; border-top: 4px solid var(--green); }
.job-aside dl { margin: 0 0 22px; display: grid; grid-template-columns: max-content 1fr; font-size: 15px; }
.job-aside dt, .job-aside dd { margin: 0; padding: 9px 0; border-bottom: 1px solid var(--line); }
.job-aside dt { color: var(--muted); padding-right: 16px; }
.job-aside .btn { width: 100%; }
.job-aside p { font-size: 15px; margin: 16px 0 0; }

/* ---------- Formulare ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 90px); align-items: start; }
.contact__list { margin: 28px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.contact__list div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.contact__list dt { font-family: var(--font-cond); font-weight: 600; color: var(--muted); font-size: 15px; padding-top: 2px; }
.contact__list dd { margin: 0; color: var(--ink); }
.contact__list a { color: var(--ink); font-weight: 600; text-decoration: none; }
.contact__list a:hover { color: var(--green-dark); text-decoration: underline; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; background: #fff; padding: clamp(24px, 4vw, 44px); border-top: 4px solid var(--green); box-shadow: 0 1px 0 var(--line); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 15px; color: var(--ink); }
.field small { font-size: 14px; color: var(--muted); }
.req { color: var(--green-dark); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: #fff; border: 1px solid #b9bab4; border-radius: 0; padding: 12px 14px; min-height: 50px;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231b1c20' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--green); outline-offset: 0; border-color: var(--green); }
.field input[type=file] { padding: 10px; min-height: 0; background: var(--paper); }
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid { border-color: #b3261e; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--muted); }
.consent input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--green-dark); }
.form__actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.form__hint { font-size: 14px; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; padding: 14px 18px; font-weight: 500; }
.form-status.is-active { display: block; }
.form-status.is-ok { background: #e6f4e7; color: #0f5b18; border-left: 4px solid var(--green); }
.form-status.is-error { background: #fbeaea; color: #8c1d18; border-left: 4px solid #b3261e; }
.form--dark { background: var(--ink-2); box-shadow: none; }
.form--dark .field label, .form--dark .consent { color: rgba(255,255,255,.88); }
.form--dark .field small, .form--dark .form__hint { color: rgba(255,255,255,.6); }
.form--dark .req { color: var(--green-light); }
.form--dark .consent a { color: var(--green-light); }
.form--dark .field input[type=file] { background: #fff; }
.form--dark .btn--green:hover { background: #fff; color: var(--ink); }

/* Karte mit Einwilligung */
.map { position: relative; aspect-ratio: 16 / 9; background: var(--paper); border: 1px solid var(--line); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__consent { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; padding: 24px; }
.map__consent p { max-width: 440px; margin: 0; font-size: 15px; color: var(--muted); }
.directions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 32px; }
.directions h3 { font-family: var(--font-cond); font-weight: 700; font-size: 21px; margin: 0 0 6px; }
.directions p { margin: 0; color: var(--muted); font-size: 16px; }

/* Rechtstexte */
.legal { max-width: 820px; }
.legal h2 { font-family: var(--font-cond); font-weight: 700; font-size: 27px; margin: 42px 0 12px; }
.legal h3 { font-size: 18px; margin: 24px 0 8px; }
.legal p, .legal li { font-size: 16px; }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1100px, 94vw); max-height: 92vh; }
.lightbox::backdrop { background: rgba(15,16,18,.9); }
.lightbox img { max-width: 100%; max-height: 82vh; width: auto; margin: 0 auto; }
.lightbox figcaption { color: #fff; text-align: center; padding: 12px 8px 0; font-size: 15px; }
.lightbox__close { position: fixed; top: 16px; right: 16px; width: 48px; height: 48px; border: 0; background: #fff; color: var(--ink); font-size: 28px; line-height: 1; cursor: pointer; }
.lightbox__nav { position: fixed; top: 50%; transform: translateY(-50%); width: 48px; height: 64px; border: 0; background: rgba(255,255,255,.92); color: var(--ink); font-size: 28px; cursor: pointer; }
.lightbox__nav--prev { left: 12px; }
.lightbox__nav--next { right: 12px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.72); font-size: 15px; border-top: 6px solid var(--green); }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr .8fr; gap: 40px; padding-top: 64px; padding-bottom: 48px; }
.site-footer__brand img { width: 230px; height: auto; margin-bottom: 18px; }
.site-footer__brand p { max-width: 300px; }
.site-footer h2 { font-family: var(--font-cond); font-weight: 600; font-size: 17px; letter-spacing: .12em; color: #fff; margin: 0 0 14px; }
.site-footer__h-gap { margin-top: 26px !important; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 3px 0; }
.site-footer a { color: rgba(255,255,255,.84); text-decoration: none; }
.site-footer a:hover { color: var(--green-light); text-decoration: underline; }
.site-footer__social { display: inline-flex; align-items: center; gap: 8px; }
.site-footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; padding-top: 22px; padding-bottom: 26px; border-top: 1px solid rgba(255,255,255,.14); font-size: 14px; }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 4px 22px; }

/* ---------- Cookie-Banner (blockierendes Modal mit Tabs, Aufbau wie bei bohr.media) ---------- */
.cookie-modal { --cc-bg: #1b1c20; --cc-tabs-bg: #26282d; --cc-line: rgba(255,255,255,.18); position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; padding: 20px; }
.cookie-modal.is-visible { display: flex; }
.cookie-modal__backdrop { position: absolute; inset: 0; background: rgba(27,28,32,.72); }
.cookie-modal__card { position: relative; background: var(--cc-bg); color: #fff; border: 1px solid var(--cc-line); border-top: 4px solid var(--green); max-width: 700px; width: 100%; max-height: calc(100vh - 40px); overflow-y: auto; box-shadow: 0 30px 80px rgba(0,0,0,.4); }
.cookie-tabs { display: flex; background: var(--cc-tabs-bg); border-bottom: 1px solid var(--cc-line); }
.cookie-tab { flex: 1; border: none; background: transparent; color: #fff; cursor: pointer; font: inherit; font-size: 15px; font-weight: 600; padding: 16px 12px; border-bottom: 3px solid transparent; opacity: .75; }
.cookie-tab.is-active { border-bottom-color: var(--green); opacity: 1; }
.cookie-panel { display: none; padding: 24px 24px 12px; }
.cookie-panel.is-active { display: block; }
.cookie-panel h3 { color: #fff; font-size: 17px; margin: 0 0 12px; }
.cookie-scroll { max-height: 128px; overflow-y: auto; padding-right: 10px; }
.cookie-scroll::-webkit-scrollbar { width: 8px; }
.cookie-scroll::-webkit-scrollbar-thumb { background: #fff; }
.cookie-scroll p { font-size: 14.5px; line-height: 1.55; color: rgba(255,255,255,.88); margin: 0 0 10px; }
.cookie-links { display: flex; gap: 16px; margin-top: 8px; }
.cookie-links a { color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; }
.cookie-links a:hover { text-decoration: underline; color: #fff; }
.cookie-toggles { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--cc-line); border-bottom: 1px solid var(--cc-line); margin-top: 12px; }
.cookie-toggle { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 18px 8px; font-size: 14px; font-weight: 600; cursor: pointer; position: relative; }
.cookie-toggle + .cookie-toggle { border-left: 1px solid var(--cc-line); }
.cookie-toggle input { position: absolute; opacity: 0; width: 0; height: 0; }
.cookie-toggle i { position: relative; width: 44px; height: 24px; border-radius: 12px; background: #0b0c0e; transition: background .15s ease; }
.cookie-toggle i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .15s ease, background .15s ease; }
.cookie-toggle input:checked + i { background: var(--green); }
.cookie-toggle input:checked + i::after { transform: translateX(20px); background: #fff; }
.cookie-toggle input:disabled + i { background: #d6d6d6; opacity: .85; }
.cookie-toggle input:disabled + i::after { transform: translateX(20px); background: #8a8a8a; }
.cookie-toggle input:focus-visible + i { outline: 2px solid #fff; outline-offset: 3px; }
.cookie-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 18px 24px 24px; }
.cookie-btn { border: none; border-radius: 0; background: #fff; color: var(--ink); cursor: pointer; font: inherit; font-size: 15px; font-weight: 600; padding: 13px 10px; transition: background .15s ease; }
.cookie-btn:hover { background: #e3e4e0; }
.cookie-btn:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }


/* ---------- 404 ---------- */
.notfound { min-height: 50vh; display: flex; align-items: center; }

/* ============ Responsiv ============ */
@media (max-width: 1180px) {
  :root { --cut: 80px; }
  .nav-link { padding: 10px 10px; font-size: 18px; }
  .nav-link::after { left: 10px; right: 10px; }
  .nav-cta { display: none; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .quals { grid-template-columns: repeat(2, 1fr); }
  .qual:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .qual:nth-child(even) { padding-left: 26px; border-left: 1px solid rgba(255,255,255,.16); }
  .team, .certs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .projects { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project--wide { grid-column: span 2; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 980px) {
  :root { --header-h: 72px; }
  .topbar__claim { display: none; }
  .topbar__row { justify-content: center; }
  .brand img { height: 46px; }
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 10px; margin-left: auto; height: 46px; padding: 0 14px;
    border: 1px solid var(--ink); background: #fff; color: var(--ink); cursor: pointer;
    font-family: var(--font-cond); font-weight: 600; font-size: 17px; letter-spacing: .08em; text-transform: uppercase;
  }
  .nav-toggle__bars { position: relative; width: 20px; height: 2px; background: currentColor; }
  .nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: currentColor; transition: transform .2s ease; }
  .nav-toggle__bars::before { top: -6px; }
  .nav-toggle__bars::after { top: 6px; }
  .nav-open .nav-toggle__bars { background: transparent; }
  .nav-open .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-open .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }
  .main-nav {
    position: fixed; left: 0; right: 0; top: var(--nav-top, var(--header-h)); bottom: 0; margin: 0;
    flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 32px;
    background: #fff; overflow-y: auto; border-top: 1px solid var(--line);
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .nav-open .main-nav { visibility: visible; opacity: 1; transform: none; }
  .nav-open { overflow: hidden; }
  .nav-item { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .nav-link { flex: 1; padding: 16px 0; font-size: 24px; }
  .nav-link::after { display: none; }
  .nav-link[aria-current="page"] { color: var(--green-dark); }
  .nav-sub-toggle { display: grid; place-items: center; width: 52px; height: 52px; border: 0; border-left: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; }
  .nav-sub-toggle[aria-expanded="true"] .caret { transform: rotate(180deg); }
  .nav-sub { position: static; flex-basis: 100%; min-width: 0; padding: 0 0 12px; background: transparent; box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none; }
  .nav-item--drop.is-open .nav-sub { display: block; }
  .nav-item--drop:hover .nav-sub { opacity: 1; }
  .nav-sub a { color: var(--ink); padding: 9px 0 9px 16px; font-size: 17px; border-left: 3px solid var(--green); margin: 4px 0; }
  .nav-sub a:hover { background: transparent; color: var(--green-dark); }
  .nav-cta { display: flex; margin: 24px 0 0; min-height: 54px; font-size: 19px; }
  .main-nav__contact { display: grid; gap: 10px; margin-top: 22px; }
  .main-nav__contact a { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 600; }
  .main-nav__contact svg { color: var(--green-dark); }

  .hero__grid { grid-template-columns: 1fr; min-height: 0; }
  .hero__media { position: absolute; inset: 0; margin: 0; }
  .hero__video { clip-path: none; }
  .hero__video::after { background: linear-gradient(180deg, rgba(27,28,32,.55) 0%, rgba(27,28,32,.82) 60%, rgba(27,28,32,.94) 100%); }
  .hero__content { padding: 72px 0 56px; min-height: calc(100svh - var(--header-h) - 38px); justify-content: flex-end; }
  .hero__badge { display: none; }
  .video-toggle { left: auto; right: var(--gutter); top: 18px; bottom: auto; }
  .hero__facts { grid-template-columns: repeat(3, 1fr); }
  .hero__facts li { padding-right: 12px; margin-right: 12px; }
  .hero__facts strong { font-size: 28px; }

  .section-head--split { grid-template-columns: 1fr; }
  .master, .career-teaser { grid-template-columns: 1fr; }
  .master__img, .career-teaser__img { min-height: 0; aspect-ratio: 16 / 10; }
  .figures { grid-template-columns: repeat(2, 1fr); }
  .figure:nth-child(3) { padding-left: 0; border-left: 0; }
  .figure { padding-bottom: 20px; }
  .audiences { grid-template-columns: 1fr; }
  .feature, .about, .contact, .apply, .job-page { grid-template-columns: 1fr; }
  .feature__img img { aspect-ratio: 4 / 3; }
  .ref-tiles { grid-template-columns: 1fr 1fr; grid-template-rows: 280px 220px 220px; }
  .ref-tiles li:first-child { grid-row: auto; grid-column: span 2; }
  .page-hero__grid { grid-template-columns: 1fr; min-height: 0; }
  .page-hero__img { margin: 0 calc(var(--gutter) * -1); aspect-ratio: 16 / 9; }
  .page-hero__img img { clip-path: none; }
  .page-hero__text { padding-right: 0; }
  .svc, .svc--flip, .monument { grid-template-columns: 1fr; }
  .svc--flip .svc__media { order: 0; }
  .svc__media { position: static; }
  .svc__media img { aspect-ratio: 16 / 10; }
  .areas { grid-template-columns: 1fr 1fr; }
  .area:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .area:nth-child(even) { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.16); }
  .bosses { grid-template-columns: 1fr; }
  .timeline::before { left: 8px; }
  .timeline li, .timeline li:nth-child(even) { width: auto; margin-left: 0; padding: 0 0 34px 44px; text-align: left; }
  .timeline li::before, .timeline li:nth-child(even)::before { left: 0; right: auto; }
  .benefits { grid-template-columns: 1fr 1fr; }
  .benefit:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .benefit:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--line); }
  .job-aside { position: static; }
  .partners { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .directions { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .topbar__hours, .topbar a:nth-child(2) span { display: none; }
  .topbar__links { gap: 18px; }
  .brand img { height: 40px; }
  .nav-toggle__label { display: none; }
  .nav-toggle { padding: 0 12px; }
  .hero__facts { grid-template-columns: 1fr 1fr 1fr; }
  .hero__facts li { padding: 14px 8px 0 0; margin-right: 8px; }
  .hero__facts strong { font-size: 24px; }
  .hero__facts span { font-size: 12.5px; display: block; line-height: 1.35; }
  .services, .quals, .team, .certs, .projects, .benefits, .training, .photo-row, .areas { grid-template-columns: 1fr; }
  .qual:nth-child(even), .area:nth-child(even), .benefit:nth-child(even) { padding-left: 0; border-left: 0; }
  .team { grid-template-columns: 1fr 1fr; gap: 26px 14px; }
  .member h3 { font-size: 19px; }
  .member p { font-size: 14px; }
  .certs { grid-template-columns: 1fr 1fr; }
  .cert p { display: none; }
  .project--wide { grid-column: auto; grid-template-columns: 1fr; }
  .project--wide .project__img { margin-bottom: 18px; aspect-ratio: 4 / 3; }
  .ref-tiles { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: 220px; }
  .ref-tiles li:first-child { grid-column: auto; }
  .figures { grid-template-columns: 1fr 1fr; }
  .form { grid-template-columns: 1fr; padding: 22px 18px; }
  .ticks { grid-template-columns: 1fr; }
  .boss { grid-template-columns: 1fr; gap: 18px; }
  .boss img { width: 150px; }
  .partners { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 30px; padding-top: 48px; }
  .cookie-panel { padding: 20px 18px 10px; }
  .cookie-toggles { grid-template-columns: repeat(2, 1fr); }
  .cookie-toggle:nth-child(3) { border-left: none; }
  .cookie-toggle:nth-child(n+3) { border-top: 1px solid var(--cc-line); }
  .cookie-actions { grid-template-columns: 1fr; padding: 16px 18px 20px; }
  .contact__list div { grid-template-columns: 1fr; gap: 2px; }
  .cta-band__row { padding-left: var(--gutter); padding-right: var(--gutter); }
}

@media print {
  .topbar, .site-header, .cookie-modal, .site-footer, .subnav, .video-toggle { display: none !important; }
}

/* ---------- Überarbeitung Oktober 2026: ruhigere Bausteine ---------- */
.title { font-family: var(--font-cond); font-weight: 600; font-size: clamp(30px, 3.2vw, 42px); line-height: 1.1; color: var(--ink); margin: 0 0 22px; padding-bottom: 14px; position: relative; }
.title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 3px; background: var(--green); }
.title--plain { padding-bottom: 0; }
.title--plain::after { display: none; }
.title--light { color: #fff; }
.intro { max-width: 46em; font-size: 18px; color: var(--ink-3); margin: 0 0 40px; }
.kicker { font-weight: 600; font-size: 15px; color: var(--green-dark); margin: 0 0 8px; }
.text-link { font-weight: 600; color: var(--green-dark); text-decoration: underline; text-underline-offset: 4px; }
.text-link::after { content: " ›"; }
.text-link:hover { color: var(--ink); }
.text-link--light { color: var(--green-light); }
.text-link--light:hover { color: #fff; }

.hero .h1 { font-size: clamp(40px, 5vw, 68px); line-height: 1.02; margin-bottom: 18px; hyphens: manual; }
.hero__lines { font-size: 18px; line-height: 1.7; color: var(--green-light); margin: 0 0 26px; letter-spacing: .02em; }
.hero__lead { margin-bottom: 0; }

.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 32px; list-style: none; padding: 0; margin: 0; border: 0; }
.service { border: 0; }
.service a { display: block; background: none; color: inherit; text-decoration: none; }
.service a:hover { background: none; }
.service img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: 16px; }
.service h3 { font-family: var(--font-cond); font-weight: 600; font-size: 25px; margin: 0 0 6px; }
.service p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.55; }
.service a:hover h3 { color: var(--green-dark); text-decoration: underline; text-underline-offset: 4px; }

.master__img { margin: 0; }
.master__img figcaption { position: absolute; left: 0; bottom: 0; background: rgba(27,28,32,.8); color: #fff; font-size: 14px; padding: 8px 14px; }
.master__body p { max-width: 36em; }

.ref-tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-template-rows: none; gap: 12px; list-style: none; margin: 0; padding: 0; }
.ref-tiles li:first-child { grid-row: auto; grid-column: auto; }
.ref-tile { aspect-ratio: 3 / 4; height: auto; }
.ref-tile::after { background: linear-gradient(0deg, rgba(27,28,32,.75) 0%, rgba(27,28,32,0) 45%); }
.ref-tile span { font-weight: 600; font-size: 22px; left: 16px; bottom: 14px; }

.feature { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
.feature__img { margin: 0; }
.feature__img img { aspect-ratio: 4 / 3; }

.cert-strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; list-style: none; margin: 0; padding: 0; }
.cert-strip a { display: block; color: var(--ink); text-decoration: none; font-size: 15px; line-height: 1.4; }
.cert-strip img { width: 100%; aspect-ratio: 1 / 1.3; object-fit: cover; object-position: top; border: 1px solid var(--line); padding: 10px; background: #fff; margin-bottom: 10px; }
.cert-strip a:hover span { text-decoration: underline; }

.career-teaser { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 64px); align-items: center; background: none; }
.career-teaser--top { align-items: start; }
.career-teaser > img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.job__title { font-family: var(--font-cond); font-weight: 600; font-size: 22px; text-transform: none; }

.plain-list { list-style: none; padding: 0; margin: 0 0 1em; }
.plain-list li { padding: 7px 0 7px 18px; position: relative; border-bottom: 1px solid var(--line); }
.plain-list li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 8px; height: 2px; background: var(--green); }
.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 40px; }
.cols h3 { font-family: var(--font-cond); font-weight: 600; font-size: 22px; margin: 0 0 8px; }
.years { width: 100%; border-collapse: collapse; max-width: 860px; }
.years th { width: 120px; text-align: left; vertical-align: top; font-family: var(--font-cond); font-weight: 600; font-size: 20px; color: var(--green-dark); padding: 12px 20px 12px 0; border-bottom: 1px solid var(--line); }
.years td { padding: 12px 0; border-bottom: 1px solid var(--line); }
.contact-line { background: var(--paper); border-top: 1px solid var(--line); }
.contact-line p { margin: 0; padding: 26px 0; font-size: 18px; }

@media (max-width: 980px) {
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ref-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: none; }
  .cert-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .career-teaser, .feature { grid-template-columns: 1fr; }
  .cols { grid-template-columns: 1fr 1fr; }
  .hero__content { justify-content: flex-end; }
}
@media (max-width: 640px) {
  .services { grid-template-columns: 1fr; }
  .ref-tiles { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; }
  .cert-strip { grid-template-columns: 1fr 1fr; }
  .cols { grid-template-columns: 1fr; }
  .years th { width: 80px; }
}

/* ---------- Feinschliff Breakpoints ---------- */
/* kleine Laptops 981–1180 */
@media (min-width: 981px) and (max-width: 1180px) {
  .hero__content { padding-right: 32px; }
  .hero .h1 { font-size: 54px; }
  .services { gap: 36px 24px; }
  .ref-tile span { font-size: 19px; }
  .cert-strip { gap: 16px; }
  .cert-strip a { font-size: 14px; }
  .master__body { padding: 56px 40px; }
}
/* Tablet 641–980 */
@media (min-width: 641px) and (max-width: 980px) {
  .hero .h1 { font-size: clamp(48px, 7vw, 62px); }
  .hero__lead { max-width: 34em; }
  .master__img { aspect-ratio: 16 / 9; }
  .master__body { max-width: none; padding: 48px var(--gutter) 56px; }
  .ref-tiles { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .ref-tiles li { grid-column: span 2; }
  .ref-tiles li:nth-child(-n+2) { grid-column: span 3; }
  .ref-tiles li:nth-child(-n+2) .ref-tile { aspect-ratio: 3 / 2; }
  .feature, .career-teaser { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px; align-items: start; }
  .feature__img img { aspect-ratio: 4 / 5; }
  .career-teaser > img { aspect-ratio: 4 / 5; }
  .career-teaser--top { grid-template-columns: 1fr 1fr; }
  .cert-strip { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
  .cert-strip a { font-size: 13px; }
  .cert-strip img { padding: 6px; }
  .team { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .projects { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact { grid-template-columns: 1fr; }
  .contact__list { grid-template-columns: 1fr 1fr; column-gap: 32px; }
  .page-hero__img { aspect-ratio: 21 / 9; }
  .training { grid-template-columns: 1fr 1fr; }
  .photo-row { grid-template-columns: repeat(3, 1fr); }
}
/* Handy bis 640 */
@media (max-width: 640px) {
  .hero .h1 { font-size: clamp(34px, 10vw, 44px); }
  .hero__lines { font-size: 16px; }
  .btn-row .btn { flex: 1 1 auto; }
  .title { font-size: 28px; }
  .intro { font-size: 17px; margin-bottom: 28px; }
  .master__img { aspect-ratio: 4 / 3; }
  .master__body { padding: 40px var(--gutter) 48px; }
  .ref-tiles { grid-template-columns: 1fr 1fr; gap: 8px; }
  .ref-tiles li:first-child { grid-column: span 2; }
  .ref-tiles li:first-child .ref-tile { aspect-ratio: 16 / 9; }
  .ref-tile span { font-size: 18px; left: 12px; bottom: 10px; }
  .feature__img img, .career-teaser > img { aspect-ratio: 3 / 2; }
  .cert-strip { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line); }
  .cert-strip a { display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .cert-strip img { margin: 0; padding: 4px; }
  .jobs a { grid-template-columns: 1fr; }
  .job__more { grid-column: 1; grid-row: auto; margin-top: 4px; }
  .services { gap: 32px; }
  .years th { font-size: 17px; }
  .page-hero__text { padding-top: 40px; padding-bottom: 36px; }
  .page-hero .h1 { font-size: clamp(34px, 9.5vw, 44px); }
  .page-hero__img { aspect-ratio: 4 / 3; }
  .photo-row { grid-template-columns: 1fr 1fr; }
  .photo-row img:nth-child(3) { display: none; }
  .boss img { width: 130px; }
  .filter button { font-size: 15px; padding: 8px 12px; }
  .project h3 { font-size: 22px; }
  .member--join { padding: 18px; }
  .site-footer__brand img { width: 200px; }
}
/* sehr kleine Geräte bis 360 */
@media (max-width: 360px) {
  :root { --gutter: 14px; }
  .brand img { height: 34px; }
  .hero .h1 { font-size: 32px; }
  .team { grid-template-columns: 1fr 1fr; gap: 20px 10px; }
  .member h3 { font-size: 17px; }
  .topbar a:first-child span { font-size: 13px; }
}
/* große Bildschirme ab 1600 */
@media (min-width: 1600px) {
  :root { --container: 1360px; }
  body { font-size: 18px; }
  .hero__grid { min-height: min(880px, calc(100vh - var(--header-h) - 38px)); }
}

/* ---------- Bewerbungs-Funnel ---------- */
.funnel { display: block; }
.funnel__head { display: none; }
.funnel.is-stepped .funnel__head { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.funnel__count { flex: none; font-size: 14px; color: rgba(255,255,255,.7); }
.funnel__count b { color: #fff; }
.funnel__bar { flex: 1; height: 4px; background: rgba(255,255,255,.14); position: relative; }
.funnel__bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 20%; background: var(--green); transition: width .25s ease; }
.funnel__step { border: 0; margin: 0 0 28px; padding: 0; min-width: 0; }
.funnel.is-stepped .funnel__step { margin-bottom: 0; }
.funnel__step legend { font-family: var(--font-cond); font-weight: 600; font-size: clamp(23px, 2.2vw, 28px); line-height: 1.15; color: #fff; padding: 0; margin-bottom: 18px; }
.choices { display: grid; gap: 10px; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span {
  display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 12px 18px;
  border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.04); color: #fff; font-weight: 500;
  transition: border-color .15s ease, background-color .15s ease;
}
.choice span::before { content: ""; flex: none; width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.6); border-radius: 50%; }
.choice:hover span { border-color: #fff; background: rgba(255,255,255,.08); }
.choice input:checked + span { border-color: var(--green); background: rgba(29,166,43,.16); }
.choice input:checked + span::before { border-color: var(--green-light); background: var(--green-light); box-shadow: inset 0 0 0 3px var(--ink-2); }
.choice input:focus-visible + span { outline: 3px solid var(--green-light); outline-offset: 2px; }
.funnel__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.funnel__nav { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.funnel__nav [hidden] { display: none; }
.funnel .form-status { margin-top: 18px; }
@media (min-width: 641px) {
  .choices { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .funnel__fields { grid-template-columns: 1fr; }
  .funnel__nav .btn { flex: 1 1 auto; }
}
.page-hero .h1, .hero .h1 { hyphens: manual; overflow-wrap: normal; }
.page-stelle-dachdecker .page-hero .h1, .page-stelle-lagermitarbeiter .page-hero .h1 { font-size: clamp(32px, 4.6vw, 62px); }
