/* Architekten Sittig + Voges – Stylesheet
   Schriften & Bilder liegen lokal in /assets, es werden keine externen Ressourcen geladen. */

@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/Nunito-var.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: 'Roboto';
  font-style: normal;
  font-weight: 300 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/Roboto-var.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: 'Roboto Slab';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/RobotoSlab-var.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;
}

:root {
  --orange: #f39000;
  --orange-light: #ffa117;
  --gold: #b78e56;
  --brown: #443a39;
  --text: #7a7a7a;
  --grey: #666666;
  --grey-mid: #54595f;
  --beige: #f8f4f3;
  --white: #ffffff;

  --font-text: "Roboto", sans-serif;
  --font-head: "Roboto Slab", serif;

  --container: 1140px;
  --header-h: 60px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overscroll-behavior: none; }
body { overscroll-behavior: none; }

body {
  margin: 0;
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; border: 0; }
a { color: var(--orange); text-decoration: none; }
a:hover { color: var(--orange); }
p { margin: 0 0 16px; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 10px; line-height: 1.2; color: var(--brown); }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; }
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 1000;
  background: var(--orange); color: #fff; padding: 10px 16px;
}
.skip-link:focus { left: 0; color: #fff; }

:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-text);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.5;
  color: #fff;
  background: var(--orange-light);
  padding: 13px 24px;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  text-align: center;
  transition: background .3s, color .3s;
}
.btn:hover, .btn:focus { background: var(--orange); color: #fff; }
.btn--block { display: block; width: 100%; }

/* ---------- Überschrift mit Linien ---------- */
.divider-title {
  --w: 34%;
  display: flex;
  align-items: center;
  width: var(--w);
  min-width: min(100%, 320px);
  margin: 0 auto;
  font-family: var(--font-head);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--brown);
}
.divider-title::before,
.divider-title::after {
  content: "";
  flex: 1 1 0;
  min-width: 24px;
  border-top: 4.1px solid var(--orange);
}
.divider-title > span { padding: 0 11px; text-align: center; }
.divider-title--left { margin-left: 0; }
.divider-title--right-only::before { display: none; }
.divider-title--right-only > span { padding-left: 0; }
.divider-title--left-only::after { display: none; }
.divider-title--left-only > span { padding-right: 0; }
.divider-title--light { color: #fff; }
.divider-title--sans { font-family: var(--font-text); font-weight: 600; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: #fff;
  box-shadow: 0 9px 10px rgba(0, 0, 0, .05);
}
.site-header .container {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-header__logo img { width: 200px; }
.menu-toggle {
  background: none;
  border: 0;
  padding: 6px 10px 6px 12px;
  color: var(--orange-light);
  cursor: pointer;
  line-height: 0;
}
.menu-toggle:hover { color: var(--orange); }
.menu-toggle svg { width: 28px; height: 28px; fill: currentColor; }

/* ---------- Slide-in Menü ---------- */
.menu-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0, 0, 0, 0);
  visibility: hidden;
  transition: background .25s, visibility 0s .25s;
}
.menu-overlay.is-open {
  visibility: visible;
  background: rgba(0, 0, 0, .15);
  transition: background .25s;
}
.menu-panel {
  position: absolute; top: 0; right: 0;
  width: 360px; max-width: 100%; height: 100%;
  background: #fff;
  box-shadow: 2px 8px 23px 3px rgba(0, 0, 0, .2);
  padding: 15px;
  display: flex; flex-direction: column; justify-content: space-between;
  transform: translateX(100%);
  transition: transform .25s ease;
  overflow-y: auto;
}
.menu-overlay.is-open .menu-panel { transform: none; }
.menu-close {
  position: absolute; top: 12px; right: 14px;
  background: none; border: 0; cursor: pointer;
  font-size: 30px; line-height: 1; color: var(--brown); padding: 4px 8px;
}
.menu-close:hover { color: var(--orange); }
.menu-panel__top { margin-top: 50px; }
.menu-panel__logo img { width: 76%; }
.menu-nav { padding-top: 50px; }
.menu-nav a {
  display: block;
  padding: 0;
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 300;
  color: var(--grey-mid);
}
.menu-nav a:hover, .menu-nav a[aria-current="page"] { color: var(--orange); }
.menu-panel__bottom { margin-top: 50px; color: var(--grey-mid); }
.menu-panel__bottom p { margin-bottom: 16px; }
.menu-panel__bottom a:not(.btn) { color: var(--grey-mid); }
.menu-panel__bottom a:not(.btn):hover { color: var(--gold); }
.menu-panel__bottom .btn { border-right: 5px solid var(--orange); }

/* ---------- Startseite: Hero ---------- */
.hero-scroll {
  --hero-h: 700px;      /* Höhe des Bildbereichs */
  --cards-h: 265px;     /* Höhe der Kategorie-Boxen */
  --overlap: 150px;     /* wie weit die Boxen ins Bild ragen */
  --stage-h: calc(var(--hero-h) + var(--cards-h) - var(--overlap));
  position: relative;
}
.hero-stage {
  position: relative;
  height: var(--stage-h);
  overflow: hidden;
}
/* Scroll-Effekt: Bühne bleibt oben kleben, der nächste Abschnitt schiebt sich darüber (Vorhang).
   Die Länge des Anlaufs und der Überlapp werden per JS gesetzt (Höhe der Bühne x 0.8).
   Ist das Fenster niedriger als die Bühne, rastet sie so ein, dass der untere Rand sichtbar bleibt. */
.hero-scroll.is-enhanced ~ .section { position: relative; z-index: 3; }
/* Boxen liegen in einer eigenen Ebene ganz oben (nur Navbar und Menü liegen darüber) */
.hero-cards-layer {
  position: relative;
  height: var(--stage-h);
  margin-top: calc(var(--stage-h) * -1);
  z-index: 6;
  pointer-events: none;
}
.hero-scroll.is-enhanced .hero-cards-layer {
  position: sticky;
  top: min(var(--header-h), calc(100vh - var(--stage-h)));
}
@supports (height: 100svh) {
  .hero-scroll.is-enhanced .hero-cards-layer { top: min(var(--header-h), calc(100svh - var(--stage-h))); }
}
.hero-scroll.is-enhanced .hero-stage {
  position: sticky;
  top: min(var(--header-h), calc(100vh - var(--stage-h)));
}
@supports (height: 100svh) {
  .hero-scroll.is-enhanced .hero-stage { top: min(var(--header-h), calc(100svh - var(--stage-h))); }
}
.hero-bg-clip {
  position: absolute; left: 0; right: 0; top: 0; height: var(--hero-h);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url("../img/hero-start.jpg") center bottom / cover no-repeat;
  transform-origin: 50% 100%;
  will-change: transform;
}
.hero-content {
  position: absolute; left: 0; right: 0; top: 0; height: var(--hero-h);
  display: flex; align-items: center; justify-content: center;
  padding: 20px 20px 110px;
  text-align: center;
}
.hero-text { will-change: transform, filter, opacity; }
.hero h1 {
  font-family: var(--font-text);
  font-weight: 500;
  font-size: 34px;
  letter-spacing: 0;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero p {
  font-family: var(--font-head);
  font-weight: 300;
  font-size: 18px;
  color: #fff;
  margin: 0 0 30px;
}

.hero-cards {
  position: absolute; left: 50%; bottom: 0;
  width: 100%; max-width: var(--container);
  transform: translateX(-50%);
}
.kategorien__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.kategorie {
  min-height: var(--cards-h);
  transform-origin: 50% 50%;
  will-change: transform;
  padding: 60px 25px 30px;
  text-align: center;
  background: var(--beige);
  color: var(--brown);
}
.kategorie:nth-child(even) { background: var(--orange); color: #fff; }
.kategorie img { margin: 0 auto 32px; height: 55px; width: auto; }
.kategorie h3 {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: inherit;
  margin: 0;
}

/* ---------- Sektionen ---------- */
.section { padding: 100px 0; background: #fff; }
.section--beige { background: var(--beige); }
.section--top-0 { padding-top: 0; }
.section--bottom-0 { padding-bottom: 0; }
.section--grey { background: var(--grey); }
.section-intro { text-align: center; margin: 25px auto 0; max-width: 1090px; }

.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__body { padding: 50px; }
.split__body--beige { background: var(--beige); }
.split__body .divider-title { margin-bottom: 20px; }
.split__body p { margin-bottom: 16px; }
.split__body .btn { margin-top: 20px; }

/* Natur */
.natur .split { align-items: stretch; }
.natur .split__body { display: flex; flex-direction: column; justify-content: center; }

/* Das bieten wir */
.angebot { padding-top: 100px; padding-bottom: 100px; }
.angebot__grid {
  max-width: 1120px;
  margin: 50px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #fff;
}
.angebot__item {
  padding: 50px 25px 55px;
  text-align: center;
  border-right: 1px solid #eaeaea;
  border-bottom: 1px solid #eaeaea;
}
.angebot__item:nth-child(3n) { border-right: 0; }
.angebot__item:nth-last-child(-n+3) { border-bottom: 0; }
.angebot__item img { height: 55px; width: auto; margin: 0 auto 24px; }
.angebot__item h3 {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 14px;
}
.angebot__item p { margin: 0; }
.center { text-align: center; }
.angebot .center { margin-top: 70px; }

/* Über uns (Startseite) */
.ueber .split { align-items: start; }
.ueber .split__media { margin-top: 40px; }
.ueber .split__body { padding: 50px; }

/* Referenzen (Startseite) */
.referenzen__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px 70px;
  max-width: 1070px;
  margin: 60px auto 0;
}
.referenzen__cat h3 {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
}
.referenzen__thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.referenzen__thumbs img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.referenzen .center { margin-top: 50px; }

/* Wie wir arbeiten */
.phasen__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 70px 50px;
  max-width: 1080px;
  margin: 60px auto 0;
  padding: 0 20px;
}
.phase svg { display: block; width: 50px; height: 50px; margin: 0 auto 30px; stroke: var(--orange); }
.phase h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 14px;
}
.phase p { margin: 0; }
.phasen__hinweis { max-width: 1100px; margin: 50px auto -20px; text-align: center; }

/* Jobs */
.job-card {
  background: var(--beige);
  border-bottom: 4px solid var(--orange);
  display: flex;
  flex-direction: column;
}
.job-card img { width: 100%; aspect-ratio: 353 / 260; object-fit: cover; }
.job-card__body { padding: 25px; flex: 1; display: flex; flex-direction: column; align-items: flex-start; }
.job-card h3 { font-family: var(--font-head); font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.job-card p { margin-bottom: 14px; }
.check-list { margin: 0 0 22px; }
.check-list li { display: flex; align-items: flex-start; gap: 7px; }
.check-list svg { flex: none; width: 16px; height: 16px; margin-top: 4px; fill: none; stroke: var(--orange); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.job-card .btn { margin-top: auto; }
.job-card p.job-card__cta { margin-top: 10px; }
.jobs-home__card { max-width: 353px; margin: 70px auto 0; }
.jobs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 0;
}

/* ---------- Unterseiten ---------- */
.page-hero {
  position: relative;
  padding: 150px 0;
  background: url("../img/hero-blueprint.jpg") center / cover no-repeat;
  isolation: isolate;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: #7c7b7b;
  opacity: .5;
}

/* Leistungen */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 50px; }
.card {
  background: #fff;
  border-bottom: 4px solid var(--orange);
  display: flex;
  flex-direction: column;
}
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card h3 { font-family: var(--font-head); font-size: 22px; font-weight: 700; padding: 10px 25px 0; margin-bottom: 10px; }
.card p { padding: 0 25px; }
.card .btn { margin: auto 25px 20px; align-self: flex-start; }
.cards--3 { margin-top: 0; }

/* Info-Zeile (Bild + Text) */
.feature .split { align-items: stretch; }
.feature .split__body { background: #fff; padding: 50px; display: flex; flex-direction: column; justify-content: center; }
.feature h2 { font-family: var(--font-head); font-size: 30px; font-weight: 700; }
.feature .split__body .btn { align-self: flex-start; }

/* Intro-Box (Referenzen / Jobs / Über uns) */
.intro .split { align-items: center; }
.intro__panel { background: #fff; padding: 50px; margin: 0 0 0 0; }
.intro h2 { font-family: var(--font-head); font-size: 30px; font-weight: 700; margin-bottom: 20px; }
.intro .btn { margin-top: 10px; }

/* Referenzen: Filter-Galerie */
.filter { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px; margin: 0 0 20px; }
.filter button {
  font-family: var(--font-text);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: #fff;
  color: var(--grey-mid);
  border: 0;
  padding: 8px 14px;
  cursor: pointer;
  transition: background .3s, color .3s;
}
.filter button:hover { color: var(--orange); }
.filter button.is-active { background: var(--orange-light); color: #fff; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.gallery__item { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--beige); }
.gallery__item[hidden] { display: none; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__cap {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  padding: 20px; text-align: center; color: #fff;
  background: rgba(243, 144, 0, .85);
  opacity: 0; transition: opacity .3s;
}
.gallery__item:hover .gallery__cap, .gallery__item:focus-visible .gallery__cap { opacity: 1; }
.gallery__cap strong { font-family: var(--font-head); font-size: 20px; margin-bottom: 6px; }
.gallery__cap span { font-size: 14px; }

.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(0, 0, 0, .85);
  display: none; align-items: center; justify-content: center; padding: 40px;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-height: 100%; max-width: 100%; object-fit: contain; }
.lightbox__close {
  position: absolute; top: 16px; right: 22px;
  background: none; border: 0; color: #fff; font-size: 38px; line-height: 1; cursor: pointer;
}

/* Über uns */
.werte { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.wert { text-align: center; }
.wert img { height: 55px; width: auto; margin: 0 auto 16px; }
.wert h3 { font-family: var(--font-head); font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.wert p { margin: 0; font-size: 14px; }
.personen { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; max-width: 1000px; margin: 60px auto 0; }
.person h3 { font-family: var(--font-head); font-size: 22px; font-weight: 700; text-align: center; margin-bottom: 16px; }
.person .lead { text-align: center; font-weight: 500; color: var(--grey-mid); }
.untertitel { text-align: center; margin: 12px 0 0; }

/* Kontakt-Seite */
.kontakt-seite { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.kontakt-seite .divider-title { --w: 100%; margin-bottom: 25px; }
.kontakt-liste li { display: flex; gap: 12px; margin: 18px 0; align-items: flex-start; }
.kontakt-liste svg { flex: none; width: 22px; height: 22px; margin-top: 2px; fill: none; stroke: var(--orange); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.kontakt-liste svg.is-fill { fill: var(--orange); stroke: none; }
.kontakt-liste strong { display: block; color: var(--brown); font-family: var(--font-text); font-weight: 600; }
.kontakt-liste a { color: var(--text); }
.kontakt-liste a:hover { color: var(--orange); }
.form--light .form__field { background: var(--beige); }

.map { position: relative; height: 450px; background: #e8efe6; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.map__consent {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  padding: 20px; text-align: center;
  background: linear-gradient(135deg, #e8efe6, #dfe7ee);
  color: var(--grey-mid);
}
.map__consent p { max-width: 520px; margin: 0; font-size: 15px; }

/* Rechtstexte */
.legal { padding: 100px 0; }
.legal__inner { max-width: 900px; margin: 0 auto; padding: 0 20px; }
.legal h2 { font-family: var(--font-head); font-size: 30px; margin-bottom: 20px; }
.legal h3, .legal h4 { font-family: var(--font-head); color: var(--brown); margin: 30px 0 10px; }
.legal h4 { font-size: 20px; }
.legal ul { list-style: disc; padding-left: 24px; margin-bottom: 16px; }
.legal li { margin-bottom: 6px; }
.legal a { word-break: break-word; }

/* ---------- Formular ---------- */
.form { max-width: 980px; margin: 20px auto 0; }
.form__field {
  display: block;
  width: 100%;
  margin: 0 0 10px;
  padding: 8px 16px;
  font-family: var(--font-text);
  font-size: 15px;
  color: #483f3e;
  background: #fff;
  border: 0;
  border-radius: 0;
  height: 40px;
}
textarea.form__field { height: 94px; padding-top: 12px; resize: vertical; }
.form__field::placeholder { color: #757575; }
.form .btn { border-right: 5px solid var(--orange); height: 40px; padding: 0; font-size: 15px; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { margin: 12px 0 0; font-size: 15px; text-align: center; min-height: 1.5em; }
.form__status.is-ok { color: #b9f2b9; }
.form__status.is-error { color: #ffd3d3; }
.form--light .form__status.is-ok { color: #2e7d32; }
.form--light .form__status.is-error { color: #c62828; }

/* ---------- Kontakt-Bereich + Footer ---------- */
.kontakt-block { background: var(--grey); padding: 100px 0 90px; color: #fff; }
.kontakt-block .divider-title { color: #fff; }
.kontakt-boxen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 50px auto 0; max-width: 1080px; text-align: center; }
.kontakt-box svg { width: 28px; height: 28px; margin: 0 auto 15px; fill: none; stroke: var(--orange); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.kontakt-box svg.is-fill { fill: var(--orange); stroke: none; }
.kontakt-box h3 { font-family: var(--font-head); font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 21px; }
.kontakt-box p { font-family: "Nunito", sans-serif; font-size: 15px; font-weight: 600; color: #fff; margin: 0; }
.kontakt-box a { color: #fff; }
.kontakt-box a:hover { color: var(--orange); }
.kontakt-block .form { padding: 0; margin-top: 25px; }

.site-footer { background: var(--grey); color: #fff; padding: 40px 0 30px; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--orange); }
.site-footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px 40px; padding: 0 10px; }
.site-footer h2 { font-family: var(--font-head); font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.site-footer li { padding-left: 7px; line-height: 20px; margin-bottom: 0; font-size: 16px; }
.site-footer__credit { text-align: center; margin: 50px 0 0; font-size: 16px; }

.mobile-bar { background: #7a7a7a; }
.mobile-bar .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.mobile-bar a {
  display: flex; align-items: center; justify-content: center;
  height: 48px; color: #fff; background: none; border: 0; cursor: pointer;
}
.mobile-bar a:hover, .mobile-bar button:hover { color: var(--orange); }
.mobile-bar button { display: flex; align-items: center; justify-content: center; height: 48px; color: #fff; background: none; border: 0; cursor: pointer; }
.mobile-bar svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.mobile-bar svg.is-fill { fill: currentColor; stroke: none; }

/* ---------- Einblend-Animationen ---------- */
.reveal { opacity: 0; transform: translateY(24px) scale(.97); filter: blur(8px); transition: opacity .9s ease, transform .9s ease, filter .9s ease; }
.reveal.is-visible { opacity: 1; transform: none; filter: none; }
.no-js .reveal { opacity: 1; transform: none; filter: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Tablet ---------- */
@media (max-width: 1140px) {
  .container { padding-left: 20px; padding-right: 20px; }
}

@media (max-width: 1024px) {
  .site-header__logo img { width: 170px; }
  .hero-scroll { --hero-h: 600px; --cards-h: 400px; --overlap: 120px; }
  .kategorien__grid { grid-template-columns: repeat(2, 1fr); }
  .kategorie { min-height: 200px; }
  .angebot__grid { grid-template-columns: repeat(2, 1fr); }
  .angebot__item:nth-child(3n) { border-right: 1px solid #eaeaea; }
  .angebot__item:nth-child(2n) { border-right: 0; }
  .angebot__item:nth-last-child(-n+3) { border-bottom: 1px solid #eaeaea; }
  .angebot__item:nth-last-child(-n+2) { border-bottom: 0; }
  .phasen__grid { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .jobs-grid { grid-template-columns: repeat(2, 1fr); }
  .werte { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .divider-title { --w: 50% !important; }
  .kontakt-seite { gap: 40px; }
}

/* ---------- Mobil ---------- */
@media (max-width: 767px) {
  .section, .legal { padding-top: 60px; padding-bottom: 60px; }
  .section--top-0 { padding-top: 0; }
  .section--bottom-0 { padding-bottom: 0; }
  .site-header__logo img { width: 150px; }
  .menu-toggle svg { width: 22px; height: 22px; }
  .hero-scroll { --hero-h: 560px; --cards-h: 360px; --overlap: 100px; }
  .hero h1 { font-size: 26px; }
  .hero-content { padding-bottom: 80px; }
  .kategorie { min-height: 180px; padding: 30px 12px 20px; }
  .kategorie h3 { font-size: 18px; }
  .kategorie img { height: 45px; margin-bottom: 16px; }
  .divider-title { --w: 100% !important; font-size: 24px; }
  .split, .kontakt-seite, .personen { grid-template-columns: 1fr; }
  .split__body, .feature .split__body, .intro__panel { padding: 30px 20px; }
  .ueber .split__media { margin-top: 0; }
  .ueber .split__media { order: -1; }
  .natur .split__media img, .feature .split__media img { aspect-ratio: 4 / 3; }
  .angebot__grid { grid-template-columns: 1fr; margin-top: 35px; }
  .angebot__item, .angebot__item:nth-child(n) { border-right: 0; border-bottom: 1px solid #eaeaea; padding: 35px 20px; }
  .angebot__item:last-child { border-bottom: 0; }
  .referenzen__grid { grid-template-columns: 1fr; gap: 40px; }
  .phasen__grid { grid-template-columns: 1fr; gap: 50px; }
  .cards, .jobs-grid, .werte { grid-template-columns: 1fr; }
  .page-hero { padding: 90px 0; }
  .kontakt-boxen { grid-template-columns: 1fr; gap: 35px; }
  .kontakt-block { padding: 60px 0 60px; }
  .site-footer__cols { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .menu-panel { width: 206px; }
  .map { height: 360px; }
}

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

/* Startseite: Abschnitt direkt unter dem Hero füllt den Bildschirm, Inhalt blendet ein sobald er komplett sichtbar ist */
.hero-scroll + .natur {
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
}
@supports (height: 100svh) {
  .hero-scroll + .natur { min-height: calc(100svh - var(--header-h)); }
}
.hero-scroll + .natur .container { width: 100%; }
[data-part] { will-change: transform, filter, opacity; }

/* Natur-Abschnitt bleibt oben stehen, der Rest scrollt darüber (nur Desktop/Tablet; auf dem Handy ist der Inhalt höher als der Bildschirm) */
@media (min-width: 768px) {
  .hero-scroll + .natur,
  .hero-scroll.is-enhanced ~ .natur {
    position: sticky;
    top: var(--header-h);
    margin-bottom: 45vh;   /* Haltezeit: erst scrollt kurz nichts, dann schiebt sich der nächste Abschnitt darüber */
  }
}

/* Beiger Textkasten in Abschnitt 2 wird per --panel (0..1) ein- und ausgeblendet */
.hero-scroll + .natur .split__body--beige { background: none; position: relative; isolation: isolate; }
.hero-scroll + .natur .split__body--beige::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--beige); opacity: var(--panel, 1);
}

/* Abschnitt 2: Bild größer als der Textkasten, Kasten überlappt das Bild */
@media (min-width: 768px) {
  .hero-scroll + .natur .split {
    grid-template-columns: 68% 1fr;
    align-items: center;
  }
  .hero-scroll + .natur .split__media { position: relative; z-index: 1; }
  .hero-scroll + .natur .split__media img {
    height: clamp(420px, calc(100vh - var(--header-h) - 160px), 600px);
  }
  .hero-scroll + .natur .split__body--beige {
    z-index: 2;
    margin-left: -16%;
    padding: 45px 45px 50px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .08);
  }
}
@media (min-width: 768px) {
  .hero-scroll + .natur .split__body--beige .divider-title { --w: 100% !important; font-size: 26px; min-width: 0; }
  .hero-scroll + .natur .split__body--beige .divider-title::before,
  .hero-scroll + .natur .split__body--beige .divider-title::after { min-width: 12px; }
  .hero-scroll + .natur .split__body--beige .divider-title > span { padding: 0 10px; white-space: nowrap; }
}

/* Platz für die überstehenden Boxen: Mobil nur oben, ab Tablet oben und unten gleich, damit der Inhalt mittig sitzt */
.hero-scroll.is-enhanced + .section { padding-top: calc(100px + var(--extra, 0px)); }
@media (max-width: 767px) { .hero-scroll.is-enhanced + .section { padding-top: calc(60px + var(--extra, 0px)); } }
@media (min-width: 768px) {
  .hero-scroll.is-enhanced + .natur {
    padding-top: calc(var(--extra, 0px) + 30px);
    padding-bottom: calc(var(--extra, 0px) + 30px);
  }
  .hero-scroll + .natur .split__media img {
    height: clamp(480px, calc(100vh - var(--header-h) - 2 * var(--extra, 115px) - 60px), 600px);
  }
}

/* Abschnitt 3 ("Das bieten wir"): füllt den Bildschirm, Inhalt mittig, bleibt oben stehen (wie Abschnitt 2) */
.hero-scroll + .natur + .angebot {
  min-height: calc(100vh - var(--header-h));
  display: flex; flex-direction: column; justify-content: center;
  padding-top: 40px; padding-bottom: 40px;
}
@supports (height: 100svh) { .hero-scroll + .natur + .angebot { min-height: calc(100svh - var(--header-h)); } }
.hero-scroll + .natur + .angebot .container { width: 100%; }
.hero-scroll + .natur + .angebot .angebot__grid { margin-top: 30px; }
.hero-scroll + .natur + .angebot .angebot__item { padding: 32px 25px 36px; }
.hero-scroll + .natur + .angebot .angebot__item h3 { margin-bottom: 10px; }
.hero-scroll + .natur + .angebot .center { margin-top: 35px; }
@media (min-width: 768px) and (min-height: 760px) {
  .hero-scroll + .natur + .angebot { position: sticky; top: var(--header-h); margin-bottom: 45vh; }
}
@media (max-width: 767px) {
  .hero-scroll + .natur + .angebot { padding-top: 60px; padding-bottom: 60px; }
}
.hero-scroll + .natur + .angebot .angebot__grid { background: none; }
.hero-scroll + .natur + .angebot .angebot__item { background: #fff; }
/* Schatten des Textkastens folgt dem Ein-/Ausblenden */
@media (min-width: 768px) {
  .hero-scroll + .natur .split__body--beige { box-shadow: none; }
  .hero-scroll + .natur .split__body--beige::before { box-shadow: 0 20px 50px rgba(0, 0, 0, .08); }
}

/* Abschnitt 4 ("Über uns"): gespiegelte Kopie von Abschnitt 2 – Bild rechts und größer, Textkasten links überlappend */
.hero-scroll + .natur + .angebot + .ueber {
  min-height: calc(100vh - var(--header-h));
  display: flex; align-items: center;
  padding-top: 30px; padding-bottom: 30px;
}
@supports (height: 100svh) { .hero-scroll + .natur + .angebot + .ueber { min-height: calc(100svh - var(--header-h)); } }
.hero-scroll + .natur + .angebot + .ueber .container { width: 100%; }
.hero-scroll + .natur + .angebot + .ueber .split__body--beige { background: none; position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: center; }
.hero-scroll + .natur + .angebot + .ueber .split__body--beige::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--beige); opacity: var(--panel, 1);
}
[data-part] { will-change: transform, filter, opacity; }
@media (min-width: 768px) {
  .hero-scroll + .natur + .angebot + .ueber .split { grid-template-columns: 1fr 68%; align-items: center; }
  .hero-scroll + .natur + .angebot + .ueber .split__media { grid-column: 2; grid-row: 1; position: relative; z-index: 1; }
  .hero-scroll + .natur + .angebot + .ueber .split__body--beige {
    grid-column: 1; grid-row: 1; z-index: 2;
    margin-right: -16%;
    padding: 45px 45px 50px;
  }
  .hero-scroll + .natur + .angebot + .ueber .split__body--beige::before { box-shadow: 0 20px 50px rgba(0, 0, 0, .08); }
  .hero-scroll + .natur + .angebot + .ueber .split__media img { height: clamp(480px, calc(100vh - var(--header-h) - 120px), 600px); object-fit: cover; }
  .hero-scroll + .natur + .angebot + .ueber .split__body--beige .divider-title { --w: 100% !important; font-size: 26px; min-width: 0; }
  .hero-scroll + .natur + .angebot + .ueber .split__body--beige .divider-title::before,
  .hero-scroll + .natur + .angebot + .ueber .split__body--beige .divider-title::after { min-width: 12px; }
  .hero-scroll + .natur + .angebot + .ueber .split__body--beige .divider-title > span { padding: 0 10px; white-space: nowrap; }
}
@media (min-width: 768px) and (min-height: 760px) {
  .hero-scroll + .natur + .angebot + .ueber { position: sticky; top: var(--header-h); margin-bottom: 45vh; }
}
@media (max-width: 767px) {
  .hero-scroll + .natur + .angebot + .ueber { padding-top: 60px; padding-bottom: 60px; }
  .hero-scroll + .natur + .angebot + .ueber .split__media { order: -1; }
}

/* Referenzen (Startseite): 100vh, Überschrift oben mittig, Kategorien laufen beim Scrollen seitwärts durch, Button unten */
.refs { padding: 0; }
.refs__pin {
  position: sticky; top: var(--header-h);
  height: calc(100vh - var(--header-h));
  display: flex; flex-direction: column; align-items: stretch;
  padding: 28px 0 32px;
  overflow: hidden;
}
@supports (height: 100svh) { .refs__pin { height: calc(100svh - var(--header-h)); } }
.refs__pin > .divider-title { flex: none; margin-bottom: 18px; }
.refs__viewport { flex: 1 1 0; min-height: 0; overflow: hidden; }
.refs__track {
  --pw: min(1040px, 80vw);
  display: flex; height: 100%; width: max-content;
  padding-inline: calc((100vw - var(--pw)) / 2);
  gap: 70px;
  will-change: transform;
}
.refs__panel { flex: none; width: var(--pw); display: flex; flex-direction: column; min-height: 0; }
.refs__panel h3 { flex: none; font-family: var(--font-head); font-size: 22px; font-weight: 700; text-align: center; margin: 0 0 14px; }
.refs__imgs { flex: 1 1 0; min-height: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.refs__imgs img { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.refs__cta { flex: none; margin-top: 22px; }
@media (max-width: 767px) {
  .refs__track { --pw: 84vw; gap: 24px; }
  .refs__imgs { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; gap: 10px; }
  .refs__pin { padding-top: 20px; }
}

/* Referenzen: Bilder im Originalformat (4:3), jedes höchstens ein Drittel der Abschnittsbreite */
.refs__track { --iw: min(32vw, 520px); --pw: calc(var(--iw) * 2 + 14px); }
.refs__panel { justify-content: center; }
.refs__imgs { flex: none; grid-template-columns: var(--iw) var(--iw); }
.refs__imgs img { width: var(--iw); height: auto; aspect-ratio: 4 / 3; }
@media (max-width: 767px) {
  .refs__track { --iw: 84vw; --pw: 84vw; }
  .refs__imgs { grid-template-columns: var(--iw); grid-template-rows: none; }
}

/* Referenzen: kleinere Bilder, Überschrift/Button näher an der Mitte, mehr Abstand zwischen den Kategorien */
.refs__track { --iw: min(24vw, 400px); gap: 180px; height: auto; }
.refs__viewport { flex: none; }
.refs__pin { justify-content: center; }
.refs__pin > .divider-title { margin-bottom: 50px; }
.refs__cta { margin-top: 50px; }
@media (max-width: 767px) {
  .refs__track { --iw: 70vw; --pw: 70vw; gap: 60px; }
}

/* Wie wir arbeiten: Ablauf mit Fortschrittslinie. Ohne JS (oder bei reduzierter Bewegung) stehen die Phasen einfach untereinander. */
.steps__pin { padding: 0 20px; max-width: 1140px; margin: 0 auto; }
.steps__head { text-align: center; }
.steps__stage { margin-top: 40px; }
.step { display: grid; grid-template-columns: minmax(180px, 34%) 1fr; gap: 50px; align-items: center; padding: 30px 0; border-top: 1px solid #e6e6e6; }
.step__num {
  font-family: var(--font-head); font-weight: 700; line-height: .9; text-align: center;
  font-size: clamp(90px, 14vw, 190px);
  color: transparent; -webkit-text-stroke: 3px var(--orange);
}
.step__body h3 { font-family: var(--font-head); font-size: 28px; font-weight: 700; margin-bottom: 14px; }
.step__body p { margin: 0 0 14px; font-size: 17px; }
.step__note { border-left: 4px solid var(--orange); padding: 6px 0 6px 16px; color: var(--brown); font-weight: 500; }
.steps__nav { display: none; }

.steps__pin.is-enhanced, .phasen.is-enhanced .steps__pin {
  position: sticky; top: var(--header-h);
  height: calc(100vh - var(--header-h));
  display: flex; flex-direction: column; justify-content: center; overflow: hidden;
}
@supports (height: 100svh) { .phasen.is-enhanced .steps__pin { height: calc(100svh - var(--header-h)); } }
.phasen.is-enhanced { padding: 0; }
.phasen.is-enhanced .steps__head { flex: none; padding-top: 10px; }
.phasen.is-enhanced .steps__head .section-intro { margin-top: 14px; font-size: 16px; }
.phasen.is-enhanced .steps__stage { position: relative; flex: none; height: clamp(260px, 42vh, 380px); margin-top: 28px; }
.phasen.is-enhanced .step { position: absolute; inset: 0; border: 0; padding: 0; opacity: 0; visibility: hidden; will-change: transform, filter, opacity; }
.phasen.is-enhanced .steps__nav { display: block; flex: none; margin-top: 26px; position: relative; }
.steps__line { position: absolute; left: 18px; right: 18px; top: 18px; height: 3px; background: #e3e3e3; }
.steps__line span { display: block; height: 100%; width: 0; background: var(--orange); }
.steps__dots { position: relative; display: flex; justify-content: space-between; }
.steps__dot {
  width: 38px; height: 38px; border-radius: 50%; border: 3px solid #e3e3e3; background: #fff;
  font: 500 12px var(--font-text); color: var(--text); cursor: pointer; padding: 0;
  transition: border-color .25s, background .25s, color .25s, transform .25s;
}
.steps__dot.is-done { border-color: var(--orange); }
.steps__dot.is-active { border-color: var(--orange); background: var(--orange); color: #fff; transform: scale(1.18); }
.steps__dot:hover { border-color: var(--orange); }
@media (max-width: 767px) {
  .step { grid-template-columns: 1fr; gap: 6px; text-align: center; }
  .step__num { font-size: 84px; -webkit-text-stroke-width: 2px; }
  .step__body h3 { font-size: 22px; }
  .step__body p { font-size: 15px; }
  .step__note { text-align: left; }
  .phasen.is-enhanced .steps__stage { height: clamp(330px, 52vh, 470px); }
  .steps__dot { width: 26px; height: 26px; font-size: 0; border-width: 2px; }
  .steps__line { left: 13px; right: 13px; top: 12px; }
}

/* Check-Haken zeichnen sich passend zum Einblenden (--p wird per JS gesetzt) */
.check-list svg path { stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--p, 1)); }

/* Jobs (Startseite): Bild randlos über die halbe Breite, Text rechts. 100vh, bleibt oben stehen, der Kontaktbereich fährt darüber. */
.jobs-hero { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - var(--header-h)); background: #fff; }
@supports (height: 100svh) { .jobs-hero { min-height: calc(100svh - var(--header-h)); } }
.jobs-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.jobs-hero__body { display: flex; align-items: center; padding: 50px 6vw 50px 5vw; }
.jobs-hero__inner { max-width: 520px; }
.jobs-hero__label { font-family: var(--font-head); font-weight: 700; color: var(--orange); letter-spacing: .12em; text-transform: uppercase; font-size: 15px; margin-bottom: 8px; }
.jobs-hero__body h2 { font-family: var(--font-head); font-size: clamp(30px, 3.2vw, 44px); font-weight: 700; margin-bottom: 18px; }
.jobs-hero__sub { color: var(--brown); font-weight: 500; margin-bottom: 8px; }
.jobs-hero__list { margin: 0 0 22px; }
.jobs-hero__list li { margin-bottom: 4px; font-size: 18px; color: var(--brown); }
.jobs-hero__list svg { width: 18px; height: 18px; }
.jobs-hero__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 26px; margin-top: 26px; }
.jobs-hero__more { color: var(--grey-mid); border-bottom: 2px solid var(--orange); padding-bottom: 2px; }
.jobs-hero__more:hover { color: var(--orange); }
.jobs-spacer { display: none; }
.jobs-hero { position: relative; z-index: 4; }
.kontakt-block, .site-footer { position: relative; z-index: 5; }
@media (min-width: 768px) and (min-height: 760px) {
  .jobs-hero { position: sticky; top: var(--header-h); height: calc(100vh - var(--header-h)); }
  .jobs-spacer { display: block; height: calc(130vh - var(--header-h)); }
  main:has(.jobs-spacer) + .kontakt-block { margin-top: calc(-100vh + var(--header-h)); }
}
@media (max-width: 767px) {
  .jobs-hero { grid-template-columns: 1fr; }
  .jobs-hero__media img { aspect-ratio: 4 / 3; height: auto; }
  .jobs-hero__body { padding: 40px 20px 60px; }
}

/* ========== Startseite: Kontakt + Footer im neuen Design ========== */
.kontakt-home {
  background: var(--brown); color: #fff; padding: 0;
  min-height: calc(100vh - var(--header-h) - 150px);
  display: flex; align-items: center;
}
@supports (height: 100svh) { .kontakt-home { min-height: calc(100svh - var(--header-h) - 150px); } }
.kontakt-home__grid {
  width: 100%; max-width: 1240px; margin: 0 auto; padding: 70px 40px;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center;
}
.kontakt-home__eyebrow { font-family: var(--font-head); font-weight: 700; color: var(--orange); letter-spacing: .12em; text-transform: uppercase; font-size: 15px; margin-bottom: 14px; }
.kontakt-home h2 { font-family: var(--font-head); font-size: clamp(30px, 3.4vw, 48px); line-height: 1.15; font-weight: 700; color: #fff; margin-bottom: 18px; }
.kontakt-home__lead { font-size: 19px; line-height: 1.55; color: rgba(255, 255, 255, .78); max-width: 460px; margin-bottom: 38px; }
.kontakt-home__list li { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 22px; }
.kontakt-home__list svg { flex: none; width: 36px; height: 36px; padding: 9px; border-radius: 50%; border: 2px solid rgba(243, 144, 0, .55); stroke: var(--orange); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.kontakt-home__list svg.is-fill { fill: var(--orange); stroke: none; }
.kontakt-home__list span { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .5); margin-bottom: 3px; }
.kontakt-home__list a { color: #fff; font-size: 17px; line-height: 1.45; }
.kontakt-home__list a:hover { color: var(--orange); }

.kontakt-home__form { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); padding: 44px 44px 36px; }
.kontakt-home .form__field {
  background: transparent; color: #fff; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .35);
  padding: 14px 2px; margin: 0 0 22px; height: auto; font-size: 17px; transition: border-color .25s;
}
.kontakt-home .form__field::placeholder { color: rgba(255, 255, 255, .55); }
.kontakt-home .form__field:focus { outline: none; border-bottom-color: var(--orange); }
.kontakt-home textarea.form__field { height: 120px; resize: vertical; }
.kontakt-home .btn { height: auto; padding: 15px 34px; font-size: 17px; border-right: 0; margin-top: 6px; }
.kontakt-home .form__status { text-align: left; }

.site-footer--home { background: #2c2524; padding: 0; color: rgba(255, 255, 255, .7); }
.site-footer--home__inner { max-width: 1240px; margin: 0 auto; padding: 34px 40px 26px; }
.site-footer--home__top { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-bottom: 22px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.site-footer--home__logo img { width: 190px; filter: brightness(0) invert(1); opacity: .9; }
.site-footer--home__nav { display: flex; flex-wrap: wrap; gap: 8px 30px; }
.site-footer--home__nav a { color: #fff; font-size: 15px; }
.site-footer--home__nav a:hover { color: var(--orange); }
.site-footer--home__bottom { display: flex; justify-content: space-between; gap: 12px 30px; flex-wrap: wrap; padding-top: 20px; font-size: 14px; }
.site-footer--home__bottom p { margin: 0; }
.site-footer--home__bottom a { color: rgba(255, 255, 255, .7); margin-right: 22px; }
.site-footer--home__bottom a:hover { color: var(--orange); }
.site-footer--home__bottom span a { margin: 0; }

@media (max-width: 900px) {
  .kontakt-home { min-height: 0; }
  .kontakt-home__grid { grid-template-columns: 1fr; padding: 60px 20px; gap: 40px; }
  .kontakt-home__form { padding: 28px 22px 24px; }
  .site-footer--home__inner { padding: 30px 20px 24px; }
}

/* Die Leiste mit Menü/Telefon/Mail/Nach-oben gibt es nur mobil (wie im Original) */
@media (min-width: 768px) { .mobile-bar { display: none; } }

/* Menü: Impressum und Datenschutz als kleinere Links unter einer feinen Linie */
.menu-nav__sep { display: block; height: 1px; background: #e3e3e3; margin: 8px 0 22px; width: 60%; }
.menu-nav a.menu-nav__small { font-size: 15px; margin-bottom: 10px; }

/* ========== Unterseiten ========== */
.eyebrow { font-family: var(--font-head); font-weight: 700; color: var(--orange); letter-spacing: .12em; text-transform: uppercase; font-size: 15px; margin: 0 0 12px; }

/* Kopf: Bild bleibt oben stehen, der Inhalt schiebt sich darüber */
main { --sub-h: clamp(340px, 46vh, 520px); --sub-run: 55vh; }
.sub-hero { position: relative; height: calc(var(--sub-h) + var(--sub-run)); }
.sub-hero__stage { position: sticky; top: var(--header-h); height: var(--sub-h); overflow: hidden; background: #2f3640; }
.sub-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.1); will-change: transform; }
.sub-hero__stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(44, 37, 36, .72), rgba(44, 37, 36, .25) 70%); }
.sub-hero__content { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: center; padding: 0 max(20px, calc((100vw - 1160px) / 2)); }
.sub-hero h1 { font-family: var(--font-head); font-weight: 700; color: #fff; font-size: clamp(34px, 4.6vw, 60px); line-height: 1.1; max-width: 860px; margin: 0 0 14px; }
.sub-hero__lead { color: rgba(255, 255, 255, .85); font-size: 19px; line-height: 1.5; max-width: 560px; margin: 0; }
main > .sub-hero ~ *, .cta-strip { position: relative; z-index: 3; }
.sub-hero + * { margin-top: calc(var(--sub-run) * -1); }

.sub-wide { max-width: 1240px; margin: 0 auto; padding: 0 40px; }
.sub-narrow { max-width: 780px; margin: 0 auto; padding: 0 20px; text-align: center; }
.sub-narrow h2, .sub-head h2, .sub-split h2 { font-family: var(--font-head); font-size: clamp(28px, 3vw, 40px); line-height: 1.2; font-weight: 700; margin-bottom: 18px; }
.sub-narrow p { font-size: 17px; line-height: 1.65; }
.sub-narrow .btn { margin-top: 12px; }
.sub-head { text-align: center; margin-bottom: 56px; }
.sub-intro { padding-bottom: 60px; }

/* Zeilen: Bild groß, Textkasten überlappt */
.sub-rows { padding: 30px 0 40px; }
.sub-row { display: grid; grid-template-columns: 62% 1fr; align-items: center; margin-bottom: 80px; }
.sub-row__media img { width: 100%; height: clamp(360px, 38vw, 500px); object-fit: cover; }
.sub-row__box { position: relative; z-index: 2; background: var(--beige); margin-left: -14%; padding: 44px 46px 48px; box-shadow: 0 20px 50px rgba(0, 0, 0, .08); }
.sub-row__num { display: block; font-family: var(--font-head); font-weight: 700; font-size: 64px; line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--orange); margin-bottom: 10px; }
.sub-row__box h3 { font-family: var(--font-head); font-size: 28px; font-weight: 700; margin-bottom: 14px; }
.sub-row__box p { font-size: 16px; line-height: 1.65; }
.sub-row__box .btn { margin-top: 10px; }
.sub-row--flip { grid-template-columns: 1fr 62%; }
.sub-row--flip .sub-row__media { order: 2; }
.sub-row--flip .sub-row__box { margin-left: 0; margin-right: -14%; }
.sub-intro .sub-row { margin-bottom: 0; }
.sub-more { padding: 80px 0; }

/* Referenzen */
.sub-split { max-width: 1240px; margin: 0 auto; padding: 0 40px; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.sub-split__text p { font-size: 17px; line-height: 1.65; }
.sub-split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.sub-gallery { padding: 70px 0 90px; }
.sub-gallery .filter { gap: 10px; margin-bottom: 36px; }
.sub-gallery .filter button { border: 1px solid #e1d9d6; border-radius: 999px; padding: 10px 22px; font-size: 12px; background: #fff; }
.sub-gallery .filter button.is-active { background: var(--orange); border-color: var(--orange); color: #fff; }
.sub-gallery .gallery { gap: 16px; }
.gallery__cap strong { font-size: 22px; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); background: none; border: 0; color: #fff; font-size: 38px; cursor: pointer; padding: 18px; }
.lightbox__nav--prev { left: 14px; }
.lightbox__nav--next { right: 14px; }
.lightbox__nav:hover, .lightbox__close:hover { color: var(--orange); }

/* Über uns */
.sub-values { padding: 80px 0; }
.werte-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.wert-card { text-align: center; }
.ring { display: inline-flex; align-items: center; justify-content: center; width: 76px; height: 76px; border-radius: 50%; border: 2px solid rgba(243, 144, 0, .5); margin-bottom: 18px; }
.ring img { height: 32px; width: auto; }
.wert-card h3 { font-family: var(--font-head); font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.wert-card p { font-size: 15px; line-height: 1.6; margin: 0; }
.sub-people { padding: 90px 0 100px; }
.people { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 90px); max-width: 1060px; margin: 0 auto; }
.person-card__init { display: block; font-family: var(--font-head); font-weight: 700; font-size: 92px; line-height: .95; color: transparent; -webkit-text-stroke: 2.5px var(--orange); margin-bottom: 14px; }
.person-card h3 { font-family: var(--font-head); font-size: 28px; font-weight: 700; margin-bottom: 8px; }
.person-card .lead { color: var(--brown); font-weight: 500; font-size: 18px; }
.person-card p { font-size: 16px; line-height: 1.65; }

/* Jobs */
.sub-jobs { padding: 80px 0 100px; }
.job-row { display: grid; grid-template-columns: 1fr 1fr; background: #fff; box-shadow: 0 20px 50px rgba(0, 0, 0, .06); margin-bottom: 40px; }
.job-row__media img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.job-row__body { padding: 50px 56px; align-self: center; }
.job-row__body h3 { font-family: var(--font-head); font-size: 32px; font-weight: 700; margin-bottom: 14px; }
.job-row__sub { color: var(--brown); font-weight: 500; margin-bottom: 8px; }

/* Kontakt-Seite */
.kontakt-home--page { min-height: 0; }
.kontakt-home--page .kontakt-home__grid { padding-top: 90px; padding-bottom: 90px; }

/* Rechtstexte */
.legal { padding: 80px 0 100px; }
.legal__inner { max-width: 760px; }
.legal__toc { background: var(--beige); padding: 26px 30px; margin-bottom: 50px; }
.legal__toc ol { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 30px; }
.legal__toc li { break-inside: avoid; margin: 0 0 6px; font-size: 15px; }
.legal__toc a { color: var(--brown); }
.legal__toc a:hover { color: var(--orange); }
.legal h4[id] { scroll-margin-top: calc(var(--header-h) + 20px); }

/* Kontaktstreifen vor dem Footer */
.cta-strip { background: var(--brown); color: #fff; }
.cta-strip__inner { max-width: 1240px; margin: 0 auto; padding: 56px 40px; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-strip h2 { font-family: var(--font-head); font-size: clamp(26px, 3vw, 38px); color: #fff; margin: 0; }
.cta-strip__actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.cta-strip__tel { color: #fff; font-size: 19px; }
.cta-strip__tel:hover { color: var(--orange); }

@media (max-width: 1024px) {
  .sub-row { grid-template-columns: 56% 1fr; }
  .sub-row--flip { grid-template-columns: 1fr 56%; }
  .sub-row__box { margin-left: -10%; padding: 34px 32px 38px; }
  .sub-row--flip .sub-row__box { margin-left: 0; margin-right: -10%; }
  .werte-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 30px; }
}
@media (max-width: 767px) {
  main { --sub-h: 300px; --sub-run: 35vh; }
  .sub-hero__lead { font-size: 16px; }
  .sub-wide, .sub-split, .cta-strip__inner { padding-left: 20px; padding-right: 20px; }
  .sub-row, .sub-row--flip { grid-template-columns: 1fr; margin-bottom: 56px; }
  .sub-row__media img { height: 260px; }
  .sub-row--flip .sub-row__media { order: 0; }
  .sub-row__box, .sub-row--flip .sub-row__box { margin: -40px 14px 0; padding: 26px 22px 30px; }
  .sub-split, .people, .job-row { grid-template-columns: 1fr; }
  .werte-grid { grid-template-columns: 1fr; }
  .job-row__media img { min-height: 240px; height: 260px; }
  .job-row__body { padding: 30px 22px; }
  .legal__toc ol { columns: 1; }
  .cta-strip__inner { padding-top: 44px; padding-bottom: 44px; }
}

/* Tablet: Textkästen der Startseite passen sich der schmaleren Spalte an */
@media (min-width: 768px) and (max-width: 1180px) {
  .hero-scroll + .natur .split__body--beige,
  .hero-scroll + .natur + .angebot + .ueber .split__body--beige { padding: 32px 28px 34px; }
  .hero-scroll + .natur .split__body--beige .divider-title,
  .hero-scroll + .natur + .angebot + .ueber .split__body--beige .divider-title { font-size: 21px; }
  .hero-scroll + .natur .split__body--beige .divider-title > span,
  .hero-scroll + .natur + .angebot + .ueber .split__body--beige .divider-title > span { white-space: normal; padding: 0 8px; }
}
.sub-narrow h2, .sub-head h2, .sub-split h2, .cta-strip h2 { text-wrap: balance; }
:where(main > .sub-hero ~ *) { background: #fff; }

/* ===== Typografie Unterseiten (alle Unterseiten) ===== */
:where(main:not(.page-index)) .eyebrow { font-size: 13px; letter-spacing: .14em; margin-bottom: 10px; }
:where(main:not(.page-index)) .sub-hero h1 { font-size: clamp(28px, 3.2vw, 44px); margin-bottom: 12px; }
:where(main:not(.page-index)) .sub-hero__lead { font-size: 17px; max-width: 520px; }
:where(main:not(.page-index)) .sub-narrow h2 { font-size: clamp(24px, 2.2vw, 32px); margin-bottom: 14px; }
:where(main:not(.page-index)) .sub-narrow p { font-size: 16px; line-height: 1.7; }
:where(main:not(.page-index)) .sub-row__num { font-size: 46px; -webkit-text-stroke-width: 1.5px; margin-bottom: 8px; }
:where(main:not(.page-index)) .sub-row__box h3 { font-size: 22px; margin-bottom: 10px; }
:where(main:not(.page-index)) .sub-row__box p { font-size: 15px; line-height: 1.7; }
:where(main:not(.page-index)) .sub-row__box { padding: 38px 40px 40px; }
:where(main:not(.page-index)) .btn:not(.kontakt-home .btn), .cta-strip .btn { font-size: 15px; padding: 11px 22px; }
.cta-strip h2 { font-size: clamp(22px, 2.1vw, 30px); }
.cta-strip .eyebrow { font-size: 13px; }
.cta-strip .cta-strip__tel { font-size: 17px; }

[data-subhero-fade] .sub-hero__content { will-change: transform, filter, opacity; transform-origin: 0 50%; }

/* weitere Unterseiten-Elemente in derselben Größenlogik */
main:not(.page-index) .sub-split h2, main:not(.page-index) .sub-head h2 { font-size: clamp(24px, 2.2vw, 32px); margin-bottom: 14px; }
main:not(.page-index) .sub-split__text p { font-size: 16px; line-height: 1.7; }
main:not(.page-index) .gallery__cap strong { font-size: 18px; }
main:not(.page-index) .ring { width: 64px; height: 64px; margin-bottom: 14px; }
main:not(.page-index) .ring img { height: 28px; }
main:not(.page-index) .wert-card h3 { font-size: 19px; }
main:not(.page-index) .wert-card p { font-size: 14px; }
main:not(.page-index) .person-card__init { font-size: 64px; -webkit-text-stroke-width: 1.8px; margin-bottom: 10px; }
main:not(.page-index) .person-card h3 { font-size: 22px; }
main:not(.page-index) .person-card .lead { font-size: 16px; }
main:not(.page-index) .person-card p { font-size: 15px; line-height: 1.7; }
main:not(.page-index) .job-row__body { padding: 40px 46px; }
main:not(.page-index) .job-row__body h3 { font-size: 26px; margin-bottom: 10px; }
main:not(.page-index) .job-row__body p { font-size: 15px; line-height: 1.7; }
main:not(.page-index) .job-row .check-list li { font-size: 15px; }
main:not(.page-index) .legal h2 { font-size: 24px; margin-bottom: 14px; }
main:not(.page-index) .legal h4 { font-size: 17px; margin: 26px 0 8px; }
main:not(.page-index) .legal p, main:not(.page-index) .legal li { font-size: 15px; line-height: 1.7; }
main:not(.page-index) .legal__toc li { font-size: 14px; }

/* Kontakt-Seite: Kontaktbereich in der Größenlogik der Unterseiten */
.kontakt-home--page h2 { font-size: clamp(24px, 2.2vw, 32px); }
.kontakt-home--page .kontakt-home__lead { font-size: 16px; }
.kontakt-home--page .kontakt-home__eyebrow { font-size: 13px; }

/* Karte auf der Kontakt-Seite: direkt eingebunden */
.map { position: relative; }
.map__link { position: absolute; left: 14px; bottom: 30px; background: #fff; color: var(--brown); font-size: 13px; padding: 7px 12px; box-shadow: 0 2px 10px rgba(0, 0, 0, .15); }
.map__link:hover { color: var(--orange); }

/* ===== Leistungen: Seitwärts-Rad (Bild links, Textkasten rechts, immer gleich) ===== */
.rad { padding: 30px 0 50px; }
.rad__pin { padding: 0; }
.rad__top { max-width: 1160px; margin: 0 auto 26px; padding: 0 20px; display: flex; align-items: center; gap: 22px; }
.rad__count { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--brown); letter-spacing: .06em; white-space: nowrap; }
.rad__count span { color: var(--orange); }
.rad__bar { flex: 1; height: 3px; background: #e6e0de; }
.rad__bar span { display: block; height: 100%; width: 0; background: var(--orange); }
.rad__viewport { overflow: hidden; }
.rad__track { --pw: min(1060px, 84vw); display: flex; gap: 110px; width: max-content; padding-inline: calc((100vw - var(--pw)) / 2); will-change: transform; }
.rad__panel { flex: none; width: var(--pw); }
.rad__panel .sub-row { margin: 0; }
.rad__panel .sub-row__media img { height: clamp(340px, 50vh, 480px); }
.rad:not(.is-enhanced) .rad__track { flex-direction: column; width: auto; gap: 60px; padding-inline: 20px; }
.rad:not(.is-enhanced) .rad__panel { width: auto; }
.rad.is-enhanced .rad__pin { position: sticky; top: var(--header-h); height: calc(100vh - var(--header-h)); display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
@supports (height: 100svh) { .rad.is-enhanced .rad__pin { height: calc(100svh - var(--header-h)); } }
.rad.is-enhanced { padding: 0; }
@media (max-width: 767px) { .rad__panel .sub-row__media img { height: 240px; } }
.rad__top { flex-direction: row-reverse; }
.rad__bar { background: #d9d1ce; height: 4px; }

/* Hochspringen-Button: eckig mit leicht gerundeten Ecken, nur ab Tablet (mobil gibt es den Pfeil in der Leiste) */
.to-top {
  position: fixed; right: 28px; bottom: 28px; z-index: 150;
  width: 48px; height: 48px; padding: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--orange-light); color: #fff;
  border: 0; border-radius: 6px; cursor: pointer;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .22);
  opacity: 0; transform: translateY(14px); pointer-events: none;
  transition: opacity .3s, transform .3s, background .25s;
}
.to-top[hidden] { display: none; }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--orange); }
.to-top svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 767px) { .to-top { display: none !important; } }
