/* =========================================================
   Christian Döbler Zimmerei – Stylesheet
   Farbwelt angelehnt an das Verbandslogo von
   „Holzbau Deutschland – Bund Deutscher Zimmermeister":
   tiefes Dunkelblau + Anthrazit als Basis, warmes Bronze/Taupe
   als gezielter Akzent, helle warme Grautöne für ruhige Flächen.
   Bewusst flach gehalten: wenig Schatten, kaum Verläufe.
   ========================================================= */

:root {
  --blau: #1F303B;          /* tiefes Dunkelblau – Hauptfarbe */
  --blau-tief: #172530;     /* dunkleres Blau – Footer, Tiefen */
  --blau-hell: #33495A;     /* aufgehelltes Blau – Hover, Links */
  --anthrazit: #252B2F;     /* dunkles Anthrazit – Text, kräftige Flächen */
  --bronze: #A68A6A;        /* Bronze/Taupe aus dem Verbandslogo – Akzent */
  --bronze-dunkel: #8A7052; /* kräftigeres Bronze – Hover */
  --bronze-text: #7E6547;   /* abgedunkeltes Bronze – lesbarer Kleintext */
  --bronze-hell: #C9B69E;   /* helles Bronze – Akzente auf Dunkelblau */
  --grau-warm: #E7E3DE;     /* warmes Hellgrau – Karten, Icon-Flächen */
  --hintergrund: #F5F6F6;   /* sehr heller Hintergrund */
  --weiss: #ffffff;
  --text: #2C3237;
  --text-leise: #5F6A72;
  --linie: #DCD8D2;
  --fehler: #A3271F;        /* Formular-Fehlermeldungen */

  --max-breite: 1180px;
  --serif: "Zilla Slab", Georgia, "Times New Roman", serif;
  --sans: "Asap", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 100px; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.65;
  color: var(--text);
  background: var(--weiss);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--blau-hell); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--anthrazit);
  line-height: 1.15;
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -0.01em;
}
h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }

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

/* ---------- Buttons (flach, kräftig) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.02rem;
  padding: 14px 24px;
  border: 2px solid transparent;
  border-radius: 3px;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease,
              transform .18s ease, box-shadow .18s ease;
  text-decoration: none;
  line-height: 1.2;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid rgba(31, 48, 59, .45); outline-offset: 2px; }
.btn-icon { width: 20px; height: 20px; fill: currentColor; flex: none; }

.btn-primaer { background: var(--blau); color: var(--weiss); }
.btn-primaer:hover { background: var(--blau-hell); }

.btn-sekundaer { background: transparent; color: var(--blau); border-color: var(--blau); }
.btn-sekundaer:hover { background: var(--blau); color: var(--weiss); }

.btn-gross { font-size: 1.15rem; padding: 18px 34px; }

/* ---------- Dachstuhl-/Giebel-Motiv (Logo-Bezug) ---------- */
/* Kleines Giebel-Symbol als Abschnitts-Marke – in Bronze als Akzent. */
.dachlinie {
  display: block;
  width: 64px;
  height: 22px;
  margin-bottom: 16px;
  background-color: var(--bronze);
  -webkit-mask: no-repeat center / contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 22'%3E%3Cpath d='M2 21 32 3l30 18' fill='none' stroke='black' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M14 21 32 10l18 11' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
          mask: no-repeat center / contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 22'%3E%3Cpath d='M2 21 32 3l30 18' fill='none' stroke='black' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M14 21 32 10l18 11' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.dachlinie--hell { background-color: var(--bronze-hell); }
.abschnitt-kopf--zentriert .dachlinie { margin-left: auto; margin-right: auto; }

/* ---------- Abschnitts-Köpfe ---------- */
section { padding: 80px 0; }
.abschnitt-kopf { max-width: 720px; margin-bottom: 44px; }
.abschnitt-kopf--zentriert { margin-left: auto; margin-right: auto; text-align: center; }
.abschnitt-kicker {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: .8rem;
  font-weight: 600;
  color: var(--bronze-text);
  margin: 0 0 .4rem;
}
.abschnitt-intro { color: var(--text-leise); font-size: 1.08rem; }

/* =========================================================
   HEADER – liegt über dem Hero, dezenter dunkelblauer Glass-Effekt.
   Der blaue Tint hält weißes Logo und Navigation auf HELLEN wie
   DUNKLEN Bildbereichen lesbar.
   ========================================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  /* leicht glasig: dunkelblauer Schleier + Blur */
  background: linear-gradient(to bottom, rgba(23, 37, 48, .48), rgba(23, 37, 48, .20));
  -webkit-backdrop-filter: blur(10px) saturate(125%);
          backdrop-filter: blur(10px) saturate(125%);
  border-bottom: 1px solid rgba(255, 255, 255, .10);
  transition: background-color .3s ease, padding .3s ease,
              box-shadow .3s ease, border-color .3s ease;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 88px;
  transition: min-height .3s ease;
}
.logo { display: flex; align-items: center; }
.logo img {
  width: clamp(270px, 29vw, 330px); height: auto;
  transition: width .3s ease;
}

.hauptnav { display: flex; align-items: center; }
.nav-liste { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-liste a {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  color: #E9EDF0;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .35);
  transition: border-color .15s ease, color .15s ease;
}
.nav-liste a:hover { color: #fff; border-color: var(--bronze); text-decoration: none; }
.nav-liste a:focus-visible { outline: 2px solid var(--bronze-hell); outline-offset: 3px; }

.header-tel {
  display: flex; flex-direction: column; align-items: flex-end;
  line-height: 1.15; text-decoration: none; flex: none;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .35);
}
.header-tel:hover { text-decoration: none; }
.header-tel-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--bronze-hell); }
.header-tel-nummer { font-family: var(--serif); font-weight: 700; font-size: 1.3rem; color: #fff; }

/* Kompakter + deckender Zustand beim Scrollen: dunkelblau mit Blur */
.site-header.is-scrolled {
  background: rgba(31, 48, 59, .92);
  -webkit-backdrop-filter: blur(14px) saturate(135%);
          backdrop-filter: blur(14px) saturate(135%);
  box-shadow: 0 10px 34px rgba(11, 20, 27, .32);
  border-bottom-color: rgba(255, 255, 255, .07);
}
.site-header.is-scrolled .header-inner { min-height: 66px; }
.site-header.is-scrolled .logo img { width: clamp(250px, 26vw, 300px); }

/* Unterseiten (Impressum/Datenschutz): Header immer deckend dunkelblau */
.site-header--solid,
.site-header--solid.is-scrolled { background: var(--blau); }

/* Hamburger */
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; background: transparent; border: 0; cursor: pointer;
}
.nav-toggle span { display: block; width: 26px; height: 2.5px; background: #E9EDF0; border-radius: 2px; box-shadow: 0 1px 3px rgba(0, 0, 0, .4); transition: transform .25s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* =========================================================
   HERO – immersives Dachstuhl-Foto, ruhiges dunkelblaues Overlay.
   Header liegt darüber; das obere Overlay hält ihn lesbar.
   ========================================================= */
.hero {
  position: relative;
  color: var(--weiss);
  overflow: hidden;
  min-height: clamp(600px, 92vh, 880px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-bild {
  position: absolute; inset: 0;
  background-image: url("../fotos/stock/hero-dachstuhl.jpg?v=2");
  background-size: cover;
  background-position: center 40%;
  transform: scale(1.03);
}
.hero-overlay {
  position: absolute; inset: 0;
  /* Drei ruhige Schichten in tiefem Dunkelblau (nicht kühles Schwarz):
     1) oben dunkler  → Header bleibt lesbar
     2) links dunkler → Textspalte bleibt lesbar
     3) unten Verlauf → weicher Übergang zum nächsten Abschnitt */
  background:
    linear-gradient(to bottom, rgba(13, 22, 29, .60) 0%, rgba(13, 22, 29, 0) 26%),
    linear-gradient(102deg, rgba(18, 30, 39, .92) 0%, rgba(23, 37, 48, .72) 42%, rgba(23, 37, 48, .36) 72%, rgba(23, 37, 48, .28) 100%),
    linear-gradient(to top, rgba(13, 22, 29, .52) 0%, rgba(13, 22, 29, 0) 24%);
}
.hero-inhalt {
  position: relative; z-index: 2;
  padding: 150px 24px 120px;
  max-width: 700px;
  margin: 0;
  width: 100%; min-width: 0;
}

/* Gütesiegel-Badges (Meisterbetrieb / Leistungsspektrum) – schlicht, seriös */
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  flex: none;
  max-width: 100%;
  font-family: var(--sans); font-weight: 600; font-size: .84rem;
  letter-spacing: .02em; line-height: 1;
  padding: 10px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .32);
  color: #F0F3F5;
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, .18);
}
.badge--meister {
  background: var(--bronze);
  border-color: var(--bronze);
  color: var(--blau-tief);
  box-shadow: 0 4px 16px rgba(166, 138, 106, .35);
}
.badge-icon { width: 17px; height: 17px; flex: none; }

.hero-kicker {
  display: inline-flex; align-items: center; gap: 13px;
  font-family: var(--sans); text-transform: uppercase; letter-spacing: .22em;
  font-size: .82rem; font-weight: 600; color: var(--bronze-hell);
  margin: 0 0 1.1rem; text-shadow: 0 1px 10px rgba(0, 0, 0, .45);
}
.hero-kicker::before {
  content: ""; display: inline-block; flex: none;
  width: 34px; height: 2px; background: var(--bronze);
}
.hero h1 {
  color: var(--weiss);
  font-size: clamp(2.3rem, 5.4vw, 3.7rem);
  line-height: 1.05;
  margin-bottom: .55em;
  text-wrap: balance;
  text-shadow: 0 2px 26px rgba(0, 0, 0, .42);
}
.hero-text {
  font-size: clamp(1.1rem, 2.1vw, 1.3rem);
  max-width: 560px; margin-bottom: 2rem; color: #E6EBEE;
  line-height: 1.6; text-wrap: pretty;
  text-shadow: 0 1px 14px rgba(0, 0, 0, .4);
}
.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 2.2rem; }
/* Im Hero ist der Haupt-Button der Bronze-Akzent auf dem Dunkelblau */
.hero-buttons .btn-primaer {
  background: var(--bronze); color: var(--blau-tief);
  box-shadow: 0 8px 24px rgba(12, 21, 27, .45);
}
.hero-buttons .btn-primaer:hover { background: var(--weiss); color: var(--blau); }
.hero-buttons .btn-sekundaer {
  color: #fff; border-color: rgba(255, 255, 255, .55);
  background: rgba(255, 255, 255, .07);
  -webkit-backdrop-filter: blur(3px);
          backdrop-filter: blur(3px);
}
.hero-buttons .btn-sekundaer:hover { background: var(--weiss); color: var(--blau); border-color: var(--weiss); }

/* Vertrauensfakten als ruhige Zeile mit feinen Trennern */
.hero-fakten {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px;
  list-style: none; margin: 0; padding: 18px 0 0;
  border-top: 1px solid rgba(255, 255, 255, .16);
  font-size: .95rem; color: #DCE3E7;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .35);
}
.hero-fakten li { position: relative; padding-left: 22px; }
.hero-fakten li::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 12px; height: 9px;
  background: var(--bronze);
  -webkit-mask: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 9'%3E%3Cpath d='M1 8 6 2l5 6' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
          mask: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 9'%3E%3Cpath d='M1 8 6 2l5 6' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* =========================================================
   VERTRAUEN
   ========================================================= */
.vertrauen { background: var(--hintergrund); padding: 78px 0; border-bottom: 1px solid var(--linie); }

.vertrauen-kopf { max-width: 760px; margin: 0 auto 50px; text-align: center; }
.vertrauen-kopf .dachlinie { margin-left: auto; margin-right: auto; }
.vertrauen-kopf h2 {
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  line-height: 1.18;
  margin-bottom: .55em;
  text-wrap: balance;
}
.vertrauen-kopf p {
  color: var(--text);
  font-size: 1.12rem;
  max-width: 58ch;
  margin: 0 auto;
  text-wrap: pretty;
}

.vertrauen-karten {
  list-style: none; padding: 0;
  margin: 0 auto;
  max-width: 940px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.vertrauen-karten li {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  background: var(--weiss);
  border: 1px solid var(--linie);
  border-top: 4px solid var(--blau);
  border-radius: 4px;
  padding: 32px 26px;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.vertrauen-karten li:hover {
  border-color: var(--bronze);
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(31, 48, 59, .10);
}
.vk-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; margin-bottom: 16px;
  color: var(--blau);
  background: var(--grau-warm);
  border-radius: 10px;
}
.vk-icon svg { width: 30px; height: 30px; }
.vk-titel { font-family: var(--serif); font-weight: 600; font-size: 1.2rem; color: var(--anthrazit); display: block; margin-bottom: 6px; }
.vk-text { color: var(--text-leise); font-size: .98rem; display: block; line-height: 1.55; max-width: 30ch; }

/* Verbands-Banner: Mitgliedschaft Holzbau Deutschland – BDZ.
   Weißer Grund, damit das Verbandslogo (dunkle Schrift) sauber lesbar bleibt. */
.verband-banner {
  max-width: 940px;
  margin: 30px auto 0;
  display: flex; align-items: center; gap: 30px;
  background: var(--weiss);
  border: 1px solid var(--linie);
  border-left: 4px solid var(--bronze);
  border-radius: 4px;
  padding: 24px 30px;
}
.verband-banner img {
  flex: none;
  width: clamp(180px, 24vw, 240px);
  height: auto;
}
.verband-banner p { margin: 0; color: var(--text-leise); font-size: 1rem; }
.verband-banner p strong { color: var(--anthrazit); }

/* =========================================================
   LEISTUNGEN – flache Karten, Dunkelblau als Akzentkante
   ========================================================= */
.leistungen { background: var(--weiss); }
.leistungen-projektbild {
  position: relative;
  height: clamp(240px, 28vw, 340px);
  margin: 0 0 32px;
  overflow: hidden;
  background: var(--blau);
  border: 1px solid var(--linie);
  border-radius: 7px;
  box-shadow: 0 12px 30px rgba(31, 48, 59, .12);
}
.leistungen-projektbild picture,
.leistungen-projektbild img { display: block; width: 100%; height: 100%; }
.leistungen-projektbild img {
  object-fit: cover;
  object-position: center 54%;
}
.leistungen-projektbild::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(18, 30, 39, .78) 0%, rgba(18, 30, 39, 0) 48%);
  pointer-events: none;
}
.leistungen-projektbild figcaption {
  position: absolute; z-index: 1; left: 24px; right: 24px; bottom: 20px;
  color: var(--weiss);
  font-family: var(--serif); font-size: 1.25rem; font-weight: 600;
}
.leistungen-projektbild figcaption span {
  display: block; margin-bottom: 3px;
  color: var(--bronze-hell);
  font-family: var(--sans); font-size: .7rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
}
.leistungen-grid {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 20px;
}
.leistung-karte {
  flex: 1 1 calc((100% - 40px) / 3);
  max-width: calc((100% - 40px) / 3);
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 16px; row-gap: 4px;
  align-content: start;
  background: var(--hintergrund);
  border: 1px solid var(--linie);
  border-left: 3px solid var(--blau);
  border-radius: 4px;
  padding: 22px 22px;
  transition: border-color .2s ease, background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.leistung-karte:hover {
  border-color: var(--bronze); border-left-color: var(--bronze-dunkel); background: #FAFAF9;
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(31, 48, 59, .10);
}
.leistung-icon {
  grid-row: span 2;
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; color: var(--blau);
  background: var(--grau-warm); border-radius: 8px;
}
.leistung-icon svg { width: 26px; height: 26px; }
.leistung-karte h3 { align-self: center; margin: 0; font-size: 1.12rem; }
.leistung-karte p { grid-column: 2; color: var(--text-leise); font-size: .98rem; margin: 0; }
.leistungen-cta {
  margin: 38px 0 0; text-align: center; font-size: 1.08rem;
  font-family: var(--serif); color: var(--anthrazit);
}
.leistungen-cta a { font-weight: 700; }

/* =========================================================
   ÜBER DEN BETRIEB
   ========================================================= */
.betrieb { background: var(--hintergrund); }
.betrieb-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }

/* Standort-Karte (Google-Maps-Embed) */
.betrieb-karte { display: flex; flex-direction: column; }
.karte-rahmen {
  position: relative;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--linie);
  border-radius: 6px 6px 0 0;
  overflow: hidden;
  background: var(--grau-warm);
  box-shadow: 0 8px 26px rgba(31, 48, 59, .12);
}
.karte-rahmen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }

.karte-info {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--blau); color: #DCE3E7;
  padding: 14px 18px; border-radius: 0 0 6px 6px;
}
.karte-info-label { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--bronze-hell); }
.karte-info-adresse { display: block; font-family: var(--serif); font-weight: 600; font-size: 1.04rem; color: #fff; }
.karte-route { flex: none; background: var(--bronze); color: var(--blau-tief); font-weight: 600; padding: 9px 16px; border-radius: 3px; font-size: .95rem; transition: background-color .18s ease, transform .18s ease; }
.karte-route:hover { background: #fff; text-decoration: none; transform: translateY(-1px); }

.betrieb-text p { color: var(--text); }
.betrieb-text .btn { margin-top: 8px; }

.betrieb-projektbild {
  margin: 22px 0 24px;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--grau-warm);
  border: 1px solid var(--linie);
  border-radius: 5px;
}
.betrieb-projektbild img { display: block; width: 100%; height: 100%; }
.betrieb-projektbild img { object-fit: cover; object-position: center 45%; }

/* Verbands-Hinweis im Betriebs-Abschnitt: Logo auf weißem Grund */
.betrieb-verband {
  display: flex; align-items: center; gap: 20px;
  background: var(--weiss);
  border: 1px solid var(--linie);
  border-radius: 4px;
  padding: 16px 20px;
  margin: 6px 0 24px;
}
.betrieb-verband img { flex: none; width: clamp(140px, 16vw, 180px); height: auto; }
.betrieb-verband p { margin: 0; font-size: .94rem; color: var(--text-leise); }

/* =========================================================
   WARUM WIR – dunkelblauer Block
   ========================================================= */
.warum { background: var(--blau); color: var(--grau-warm); }
.warum h2 { color: var(--weiss); }
.warum .abschnitt-kicker { color: var(--bronze-hell); }
.warum-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.warum-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; margin-bottom: 16px;
  color: var(--bronze-hell);
  border: 1px solid rgba(166, 138, 106, .55);
  border-radius: 8px;
}
.warum-icon svg { width: 28px; height: 28px; }
.warum-punkt h3 { color: var(--weiss); font-size: 1.18rem; margin-bottom: .35em; }
.warum-punkt p { color: #B9C4CB; font-size: .98rem; margin: 0; }

/* =========================================================
   GALERIE / REFERENZEN
   ========================================================= */
.galerie { background: var(--weiss); }
.auswahl-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.auswahl-karte {
  min-width: 0;
  overflow: hidden;
  background: var(--hintergrund);
  border: 1px solid var(--linie);
  border-radius: 7px;
  box-shadow: 0 9px 24px rgba(31, 48, 59, .07);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.auswahl-karte:hover {
  transform: translateY(-3px);
  border-color: #CEC4B7;
  box-shadow: 0 15px 32px rgba(31, 48, 59, .11);
}
.auswahl-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #D9D8D3;
  cursor: pointer;
  touch-action: pan-y pinch-zoom;
}
.auswahl-media:focus-visible { outline: 3px solid var(--bronze); outline-offset: -3px; }
.auswahl-bildstapel { position: absolute; inset: 0; }
.auswahl-bild {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity .75s ease;
  pointer-events: none;
}
.auswahl-bild.ist-aktiv { opacity: 1; }
.auswahl-zaehler {
  position: absolute; z-index: 2; right: 12px; bottom: 12px;
  min-width: 48px;
  padding: 6px 9px;
  color: var(--weiss);
  background: rgba(23, 37, 48, .88);
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 999px;
  font-size: .74rem; font-weight: 600;
  text-align: center;
}
.auswahl-nav {
  position: absolute; z-index: 2; top: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  padding: 0;
  color: var(--weiss);
  background: rgba(23, 37, 48, .86);
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%);
  transition: opacity .2s ease, background-color .2s ease;
  cursor: pointer;
}
.auswahl-media:hover .auswahl-nav,
.auswahl-media:focus-within .auswahl-nav { opacity: 1; pointer-events: auto; }
.auswahl-nav:hover { background: var(--bronze-dunkel); }
.auswahl-nav:focus-visible { outline: 3px solid var(--bronze-hell); outline-offset: 2px; opacity: 1; }
.auswahl-nav svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.auswahl-zurueck { left: 10px; }
.auswahl-weiter { right: 10px; }
.auswahl-inhalt {
  display: flex; flex-direction: column; align-items: flex-start;
  min-height: 154px;
  padding: 17px 18px 19px;
}
.auswahl-inhalt h3 { margin: 0 0 14px; font-size: 1.16rem; line-height: 1.25; }
.auswahl-inhalt h3 a { color: var(--anthrazit); }
.auswahl-inhalt h3 a:hover { color: var(--bronze-text); text-decoration: none; }
.auswahl-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: auto;
  color: var(--blau);
  font-size: .82rem; font-weight: 600;
}
.auswahl-link::after { content: "→"; color: var(--bronze-text); }
.galerie-cta {
  display: flex; align-items: center; justify-content: center; gap: 22px;
  margin-top: 36px;
  padding-top: 30px;
  border-top: 1px solid var(--linie);
}
.galerie-cta p { margin: 0; color: var(--text-leise); font-size: .92rem; }

/* Eigene Referenzseite: introorientiert, darunter nur eine kompakte Karte je Projekt. */
.referenzen-seite { background: var(--weiss); }
.referenzen-einstieg {
  padding: 150px 0 64px;
  background: var(--hintergrund);
  border-bottom: 1px solid var(--linie);
}
.referenzen-einstieg-inner { max-width: 820px; }
.referenzen-einstieg h1 { margin-bottom: .35em; font-size: clamp(2.2rem, 5vw, 3.5rem); }
.referenzen-einstieg .abschnitt-intro { max-width: 720px; }
.referenzen-pfad { margin: 0 0 24px; color: var(--text-leise); font-size: .82rem; }
.referenzen-pfad a { font-weight: 600; }
.referenzen-pfad span { margin: 0 7px; color: var(--bronze-text); }
.referenzen-einstieg .referenzen-umfang { margin: 30px 0 0; background: var(--weiss); }
.referenzen-archiv { padding: 70px 0 90px; background: var(--weiss); }
.referenzen-archiv-kopf {
  display: flex; align-items: end; justify-content: space-between; gap: 28px;
  margin-bottom: 30px;
}
.referenzen-archiv-kopf h2 { margin: 0; }
.referenzen-archiv-kopf p { max-width: 600px; margin: 0; color: var(--text-leise); font-size: .95rem; }
.referenzen-zurueck { margin-top: 25px; }
@media (hover: none) {
  .auswahl-nav { opacity: 1; pointer-events: auto; }
}
.referenzen-umfang {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 0;
  margin: -4px 0 34px;
  padding: 18px 24px;
  color: var(--blau);
  background: var(--hintergrund);
  border: 1px solid var(--linie);
  border-left: 4px solid var(--bronze);
  border-radius: 6px;
}
.referenzen-umfang > div {
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding-right: 24px;
  margin-right: 24px;
  border-right: 1px solid var(--linie);
}
.referenzen-umfang strong {
  font-family: var(--serif);
  font-size: 1.65rem;
  line-height: 1;
}
.referenzen-umfang span { color: var(--text-leise); font-size: .88rem; }
.referenzen-umfang p { margin: 0; color: var(--text-leise); font-size: .92rem; }
.galerie-hinweis { padding: 20px; text-align: center; background: var(--hintergrund); }
.galerie-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.projekt-karte {
  min-width: 0;
  scroll-margin-top: 92px;
  overflow: hidden;
  background: var(--hintergrund);
  border: 1px solid var(--linie);
  border-radius: 7px;
  box-shadow: 0 9px 24px rgba(31, 48, 59, .07);
}
.projekt-oeffnen {
  display: flex;
  flex-direction: column;
  width: 100%; height: 100%;
  margin: 0; padding: 0;
  color: inherit;
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.projekt-bildrahmen {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #D9D8D3;
}
.projekt-bildrahmen::after {
  content: "";
  position: absolute; inset: auto 0 0;
  height: 28%;
  background: linear-gradient(to top, rgba(15, 25, 32, .26), transparent);
  pointer-events: none;
}
.projekt-bild {
  display: block;
  width: 100%; height: 100%;
  object-fit: contain;
  transition: transform .4s cubic-bezier(.22, .61, .36, 1), filter .25s ease;
}
.projekt-bild.auswahl-bild {
  position: absolute;
  transition: opacity .32s ease, transform .4s cubic-bezier(.22, .61, .36, 1), filter .25s ease;
}
.projekt-bildrahmen .auswahl-nav { opacity: 1; pointer-events: auto; }
.projekt-oeffnen:hover .projekt-bild.ist-aktiv { transform: scale(1.018); filter: saturate(1.035); }
.projekt-oeffnen:focus-visible { outline: 3px solid var(--bronze); outline-offset: -3px; }
.projekt-anzahl {
  position: absolute; z-index: 1; right: 12px; bottom: 12px;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 10px;
  color: var(--weiss);
  background: rgba(23, 37, 48, .9);
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 999px;
  font-size: .76rem; font-weight: 600;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
}
.projekt-anzahl svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.projekt-karteninhalt {
  display: flex; flex: 1; flex-direction: column; align-items: flex-start;
  width: 100%;
  padding: 17px 18px 19px;
}
.projekt-kicker {
  display: block; margin-bottom: 5px;
  color: var(--bronze-text);
  font-size: .68rem; font-weight: 600;
  letter-spacing: .13em; text-transform: uppercase;
}
.projekt-karteninhalt h3 { margin: 0 0 13px; font-size: 1.13rem; line-height: 1.28; }
.projekt-aktion {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: auto;
  color: var(--blau);
  font-size: .82rem; font-weight: 600;
}
.projekt-aktion::after { content: "→"; color: var(--bronze-text); }

/* Die großen Bilder und Vorschauen laden erst nach bewusster Projektauswahl. */
body.lightbox-offen { overflow: hidden; }
.projekt-lightbox {
  position: fixed; inset: 0; z-index: 500;
  align-items: center; justify-content: center;
  padding: clamp(14px, 3vw, 36px);
  background: rgba(8, 15, 20, .94);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
}
.projekt-lightbox:not([hidden]) { display: flex; animation: lightboxEin .2s ease both; }
.projekt-lightbox-dialog {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: min(1180px, 100%);
  max-height: 100%;
  overflow: hidden;
  color: var(--weiss);
  background: #101B23;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .5);
}
.projekt-lightbox-kopf { padding: 17px 78px 15px 22px; }
.projekt-lightbox-kopf span {
  display: block;
  margin-bottom: 3px;
  color: var(--bronze-hell);
  font-size: .66rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
}
.projekt-lightbox-kopf h2 { margin: 0; color: var(--weiss); font-size: clamp(1.2rem, 2vw, 1.65rem); }
.projekt-lightbox-buehne {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  min-height: 260px;
  overflow: hidden;
  background: #091118;
}
.projekt-lightbox-buehne img {
  display: block;
  width: auto; height: auto;
  max-width: calc(100% - 118px);
  max-height: min(66vh, 720px);
  object-fit: contain;
  touch-action: pan-y pinch-zoom;
  user-select: none;
}
.projekt-lightbox-schliessen,
.projekt-lightbox-nav {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0;
  color: var(--weiss);
  background: rgba(23, 37, 48, .9);
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 50%;
  cursor: pointer;
}
.projekt-lightbox-schliessen { position: absolute; z-index: 3; top: 13px; right: 15px; width: 42px; height: 42px; }
.projekt-lightbox-schliessen:hover,
.projekt-lightbox-nav:hover { background: var(--bronze-dunkel); }
.projekt-lightbox-schliessen:focus-visible,
.projekt-lightbox-nav:focus-visible,
.projekt-vorschau:focus-visible { outline: 3px solid var(--bronze-hell); outline-offset: 2px; }
.projekt-lightbox-schliessen svg,
.projekt-lightbox-nav svg {
  width: 24px; height: 24px;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.projekt-lightbox-nav { position: absolute; z-index: 2; top: 50%; width: 46px; height: 46px; transform: translateY(-50%); }
.projekt-lightbox-zurueck { left: 17px; }
.projekt-lightbox-weiter { right: 17px; }
.projekt-lightbox-nav[hidden] { display: none; }
.projekt-lightbox-fuss { min-width: 0; padding: 13px 18px 16px; }
.projekt-lightbox-fuss > p {
  margin: 0 0 10px;
  color: #D7DEE2;
  font-size: .82rem;
  text-align: center;
}
.projekt-lightbox-vorschauen {
  display: flex; justify-content: center; gap: 8px;
  min-height: 54px;
  overflow-x: auto;
  padding: 3px;
  scrollbar-width: thin;
}
.projekt-vorschau {
  flex: 0 0 72px;
  width: 72px; height: 54px;
  padding: 0;
  overflow: hidden;
  background: #273640;
  border: 2px solid transparent;
  border-radius: 3px;
  cursor: pointer;
  opacity: .68;
}
.projekt-vorschau:hover { opacity: 1; }
.projekt-vorschau[aria-current="true"] { border-color: var(--bronze-hell); opacity: 1; }
.projekt-vorschau img { display: block; width: 100%; height: 100%; object-fit: contain; }
@keyframes lightboxEin {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* =========================================================
   PLATZHALTER – nur Fallback, falls ein Foto nicht lädt
   ========================================================= */
.platzhalter {
  position: relative;
  background: var(--blau);
  display: flex; align-items: flex-end;
  color: #E9EDF0; min-height: 220px;
}
.platzhalter::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 42px; height: 42px; transform: translate(-50%, -60%);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E7E3DE' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.6'/%3E%3Cpath d='M21 15l-5-5L5 21'/%3E%3C/svg%3E");
  background-size: contain; background-repeat: no-repeat; opacity: .85;
}
.platzhalter--detail { background: var(--blau-tief); }
.platzhalter--dacharbeit { background: #26333D; }
.platzhalter--terrasse { background: var(--bronze); }
.platzhalter--werkstatt { background: var(--anthrazit); }
.platzhalter--innenausbau { background: var(--blau-hell); }

/* =========================================================
   ANFRAGE – Kontakt- und Anfrageformular
   ========================================================= */
.anfrage { background: var(--hintergrund); }
.anfrage-formular {
  max-width: 780px;
  margin: 0 auto;
  background: var(--weiss);
  border: 1px solid var(--linie);
  border-top: 4px solid var(--blau);
  border-radius: 6px;
  padding: 38px 36px 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 22px;
}
.form-feld { display: flex; flex-direction: column; gap: 6px; }
.form-feld--voll { grid-column: 1 / -1; }
.form-feld label {
  font-weight: 600; font-size: .95rem; color: var(--anthrazit);
  font-family: var(--sans);
}
.form-feld input,
.form-feld select,
.form-feld textarea {
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--weiss);
  border: 1.5px solid var(--linie);
  border-radius: 4px;
  padding: 12px 14px;
  width: 100%;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form-feld textarea { resize: vertical; min-height: 140px; }
.form-feld select { appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%231F303B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 12px;
  padding-right: 40px;
}
/* Sichtbarer Fokuszustand in Dunkelblau */
.form-feld input:focus-visible,
.form-feld select:focus-visible,
.form-feld textarea:focus-visible,
.form-zustimmung input:focus-visible {
  outline: 3px solid rgba(31, 48, 59, .35);
  outline-offset: 1px;
  border-color: var(--blau);
}
.form-feld.hat-fehler input,
.form-feld.hat-fehler select,
.form-feld.hat-fehler textarea { border-color: var(--fehler); }
.form-fehler {
  margin: 0; font-size: .88rem; color: var(--fehler); font-weight: 500;
}
.form-fehler[hidden] { display: none; }

/* Datenschutz-Zustimmung */
.form-zustimmung {
  grid-column: 1 / -1;
  display: flex; align-items: flex-start; gap: 12px;
}
.form-zustimmung input[type="checkbox"] {
  flex: none;
  width: 20px; height: 20px; margin-top: 3px;
  accent-color: var(--blau);
  cursor: pointer;
}
.form-zustimmung label { font-size: .93rem; color: var(--text); line-height: 1.55; cursor: pointer; }
.form-zustimmung a { font-weight: 600; text-decoration: underline; }
.form-zustimmung .form-fehler { margin-top: 4px; }

.form-senden {
  grid-column: 1 / -1;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 14px;
  margin-top: 4px;
}
.form-pflicht { margin: 0; font-size: .85rem; color: var(--text-leise); }

/* Statusmeldung des Formulars – ehrlich, kein vorgetäuschter Versand */
.form-status {
  grid-column: 1 / -1;
  margin: 0;
  padding: 14px 18px;
  border-radius: 4px;
  font-size: .96rem;
  background: var(--grau-warm);
  border-left: 4px solid var(--blau);
  color: var(--text);
}
.form-status[hidden] { display: none; }
.form-status--fehler { border-left-color: var(--fehler); background: #F7ECEA; color: #6E241E; }
.form-status--erfolg { border-left-color: #3D6B4F; background: #EAF2ED; color: #2C4A38; }
.form-status a { font-weight: 600; text-decoration: underline; color: inherit; }

/* Honeypot-Feld (Spam-Schutz): für Menschen unsichtbar */
.form-hp {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap;
}
.form-hp input { position: absolute; width: 1px; min-width: 0; }

/* =========================================================
   KONTAKT – Anruf und E-Mail stehen im Mittelpunkt
   ========================================================= */
.kontakt { background: var(--weiss); }
.anruf-box {
  background: var(--blau);
  color: #DCE3E7;
  border-radius: 4px;
  text-align: center;
  padding: 40px 24px;
  max-width: 640px;
  margin: 0 auto 40px;
}
.anruf-label { text-transform: uppercase; letter-spacing: .12em; font-size: .82rem; color: var(--bronze-hell); margin: 0 0 6px; font-weight: 600; }
.anruf-nummer {
  display: block; font-family: var(--serif); font-weight: 700;
  font-size: clamp(2rem, 6vw, 3rem); color: #fff; letter-spacing: .01em;
  margin-bottom: 18px; line-height: 1.1;
}
.anruf-nummer:hover { text-decoration: none; color: var(--bronze-hell); }
.anruf-box .btn-anruf { background: var(--bronze); color: var(--blau-tief); }
.anruf-box .btn-anruf:hover { background: var(--weiss); color: var(--blau); }
.anruf-mail { margin: 18px 0 0; font-size: 1.02rem; color: #B9C4CB; }
.anruf-mail a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.anruf-mail a:hover { color: var(--bronze-hell); }

.kontakt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; max-width: 940px; margin: 0 auto; }
.kontakt-spalte { border-top: 3px solid var(--blau); padding-top: 16px; }
.kontakt-spalte h3 { font-size: 1.1rem; margin-bottom: .4em; }
.kontakt-spalte address { font-style: normal; line-height: 1.7; color: var(--text); }
.kontakt-spalte p { color: var(--text); margin: 0 0 .4rem; }

/* =========================================================
   FOOTER – tiefes Dunkelblau
   ========================================================= */
.site-footer { background: var(--blau-tief); color: #AEBAC2; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding: 52px 24px 36px; }
.footer-logo { display: block; width: min(360px, 100%); height: auto; margin-bottom: 14px; }
.footer-marke p { color: #93A1AB; max-width: 320px; }
.site-footer h4 { color: var(--weiss); font-size: 1.05rem; margin-bottom: 12px; }
.site-footer address { font-style: normal; line-height: 1.8; color: #AEBAC2; }
.site-footer a { color: var(--bronze-hell); }
.footer-links { list-style: none; margin: 0; padding: 0; line-height: 2; }
.footer-unten { border-top: 1px solid rgba(255, 255, 255, .1); padding: 16px 0; }
.footer-unten .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.footer-unten p { margin: 0; font-size: .9rem; color: #93A1AB; }
.footer-top { color: var(--bronze-hell); font-weight: 600; }
.footer-credit { padding: 0 0 14px; }
.footer-credit .container { text-align: center; }
.footer-credit a {
  color: #7F8C96;
  font-size: .78rem;
  line-height: 1.5;
  text-decoration: none;
}
.footer-credit a:hover,
.footer-credit a:focus-visible {
  color: #AEBAC2;
  text-decoration: underline;
}

/* Verbandslogo im Footer: weiße Fläche, damit es lesbar bleibt */
.footer-verband {
  display: inline-block;
  background: var(--weiss);
  padding: 10px 14px;
  border-radius: 3px;
  margin-top: 6px;
}
.footer-verband img { width: 180px; height: auto; }
.footer-verband-text { font-size: .88rem; color: #93A1AB; max-width: 320px; margin-top: 10px; }

@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-marke { grid-column: 1 / -1; }
}

/* =========================================================
   TEAM
   ========================================================= */
.recruiting { background: var(--hintergrund); }
.recruiting-karte {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  background: linear-gradient(135deg, var(--blau) 0%, var(--blau-tief) 100%);
  border: 1px solid rgba(166, 138, 106, .35);
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(23, 37, 48, .22);
}
.recruiting-karte::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; z-index: 3;
  background: linear-gradient(90deg, var(--bronze), var(--bronze-hell));
}

.recruiting-media {
  position: relative;
  min-height: 540px;
  background: var(--anthrazit);
}
.recruiting-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
}
.recruiting-media img.recruiting-foto-mitarbeiter { object-position: center top; }
.recruiting-media-tint {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(to left, rgba(23, 37, 48, 0) 55%, rgba(23, 37, 48, .55) 88%, rgba(23, 37, 48, .9) 100%),
    linear-gradient(to top, rgba(23, 37, 48, .45) 0%, rgba(23, 37, 48, 0) 45%);
}
.recruiting-inhalt {
  position: relative; z-index: 2;
  padding: 54px 56px;
  align-self: center;
}
.recruiting-label {
  display: inline-flex; align-items: center;
  font-family: var(--sans); text-transform: uppercase;
  letter-spacing: .16em; font-size: .76rem; font-weight: 600;
  color: var(--bronze-hell);
  padding: 6px 14px; border-radius: 999px;
  background: rgba(166, 138, 106, .16);
  border: 1px solid rgba(201, 182, 158, .4);
  margin-bottom: 18px;
}
.recruiting-karte h2 {
  color: var(--weiss); font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  margin-bottom: .45em; text-wrap: balance;
}
.recruiting-karte p { color: #C7D0D6; font-size: 1.08rem; max-width: 52ch; margin-bottom: 1.4rem; }
.recruiting-punkte {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 11px 22px;
}
.recruiting-punkte li { position: relative; padding-left: 26px; color: #DCE3E7; font-size: .96rem; }
.recruiting-punkte li::before {
  content: ""; position: absolute; left: 0; top: .3em;
  width: 15px; height: 11px; background: var(--bronze-hell);
  -webkit-mask: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 12'%3E%3Cpath d='M1.5 6.5 6 11l8.5-9.5' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
          mask: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 12'%3E%3Cpath d='M1.5 6.5 6 11l8.5-9.5' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

@media (max-width: 900px) {
  .recruiting-karte { grid-template-columns: 1fr; }
  .recruiting-media { min-height: clamp(430px, 82vw, 640px); }
  .recruiting-media-tint {
    background:
      linear-gradient(to bottom, rgba(23, 37, 48, 0) 40%, rgba(23, 37, 48, .55) 82%, rgba(23, 37, 48, .92) 100%);
  }
  .recruiting-inhalt { padding: 40px 36px 42px; }
}

/* =========================================================
   FORMULARSEITE (Bewerbung) – Layout wie Rechtsseiten
   ========================================================= */
.formularseite { padding: 150px 0 40px; }
.bewerbung-intro { max-width: 820px; margin: 0 auto 40px; }
.bewerbung-intro h1 { font-size: clamp(2rem, 4.5vw, 2.8rem); margin-bottom: .5em; }
.bewerbung-intro p { color: var(--text); font-size: 1.06rem; }

/* Datei-Upload (Lebenslauf) */
.form-feld input[type="file"] {
  padding: 10px 12px; background: var(--hintergrund); cursor: pointer;
}
.form-feld input[type="file"]::file-selector-button {
  font: inherit; font-weight: 600; border: 0; border-radius: 4px;
  padding: 8px 14px; margin-right: 12px; cursor: pointer;
  background: var(--blau); color: #fff;
  transition: background-color .15s ease;
}
.form-feld input[type="file"]::file-selector-button:hover { background: var(--blau-hell); }
.form-hinweis { margin: 0; font-size: .82rem; color: var(--text-leise); }

/* =========================================================
   MOBILE ANRUF-LEISTE (nur Smartphone)
   ========================================================= */
.mobil-anruf {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  align-items: center; justify-content: center; gap: 10px;
  background: var(--blau); color: #fff;
  padding: 15px 16px; font-family: var(--serif); font-weight: 700; font-size: 1.12rem;
  text-decoration: none; border-top: 2px solid var(--bronze);
}
.mobil-anruf:hover { text-decoration: none; color: #fff; }
.mobil-anruf svg { width: 22px; height: 22px; fill: currentColor; }

/* =========================================================
   RECHTSSEITEN – Impressum & Datenschutz
   ========================================================= */
.rechtsseite { padding: 150px 0 30px; }
.rechts-inhalt { max-width: 820px; }
.rechts-inhalt h1 { font-size: clamp(2rem, 4.5vw, 2.8rem); margin-bottom: .6em; }
.rechts-inhalt h2 { font-size: 1.4rem; margin: 2em 0 .5em; }
.rechts-inhalt h3 { font-size: 1.12rem; margin: 1.6em 0 .4em; }
.rechts-inhalt address { font-style: normal; line-height: 1.8; }
.rechts-inhalt ul { padding-left: 22px; }
.rechts-inhalt li { margin-bottom: .35em; }

/* Noch zu ergänzende Pflichtangaben – deutlich als Platzhalter markiert */
.platzhalter-angabe {
  background: #F3E7C9;
  color: #64511F;
  padding: 1px 7px;
  border-radius: 3px;
  font-style: normal;
}
.hinweis-box {
  background: var(--grau-warm);
  border-left: 4px solid var(--bronze);
  border-radius: 4px;
  padding: 14px 18px;
  font-size: .95rem;
  color: var(--text);
  margin: 0 0 2em;
}
.rechts-zurueck { display: inline-block; margin-top: 2.5em; font-weight: 600; }

/* =========================================================
   ANIMATIONEN – dezentes Fade-up beim Scrollen
   ========================================================= */
.anim-ready [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s cubic-bezier(.22, .61, .36, 1),
              transform .7s cubic-bezier(.22, .61, .36, 1);
}
.anim-ready [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

.anim-ready .hero-bild {
  animation: heroBildEin 1.2s ease both;
}
@keyframes heroBildEin {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px) {
  .header-inner { gap: 18px; }
  .header-tel { display: none; }
  .nav-liste { gap: 20px; }
  .leistung-karte { flex-basis: calc((100% - 20px) / 2); max-width: calc((100% - 20px) / 2); }
  .warum-grid { grid-template-columns: repeat(2, 1fr); }
  .betrieb-inner { grid-template-columns: 1fr; gap: 30px; }
  .auswahl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
  .galerie-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
  .kontakt-grid { grid-template-columns: 1fr; max-width: 480px; gap: 20px; }
}

@media (max-width: 760px) {
  body { font-size: 17px; }
  section { padding: 56px 0; }

  /* Mobile Navigation */
  .nav-toggle { display: flex; order: 3; }
  .header-tel { display: none; }
  .header-inner { min-height: 66px; }
  .logo img { width: min(260px, calc(100vw - 96px)); }
  .site-header.is-scrolled .header-inner { min-height: 58px; }
  .site-header.is-scrolled .logo img { width: min(240px, calc(100vw - 96px)); }
  .nav-liste {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    /* dunkelblaues Glass-Dropdown, passt zum transparenten Header */
    background: rgba(23, 37, 48, .96);
    -webkit-backdrop-filter: blur(12px) saturate(130%);
            backdrop-filter: blur(12px) saturate(130%);
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 16px 34px rgba(0, 0, 0, .32);
    max-height: 0; overflow: hidden; transition: max-height .28s ease;
  }
  .nav-liste.offen { max-height: 380px; }
  .nav-liste li { width: 100%; border-top: 1px solid rgba(255, 255, 255, .10); }
  .nav-liste li:first-child { border-top: none; }
  .nav-liste a { display: block; padding: 16px 24px; border-bottom: none; color: #E9EDF0; }
  .nav-liste a:hover { color: #fff; border-color: transparent; background: rgba(255, 255, 255, .06); }

  .vertrauen-karten { grid-template-columns: 1fr; max-width: 440px; gap: 16px; }
  .hero { min-height: clamp(540px, 86vh, 720px); }
  .hero-inhalt { padding: 116px 24px 72px; }
  .hero-buttons { flex-direction: column; align-items: stretch; }
  .hero-buttons .btn { width: 100%; }

  .referenzen-umfang { grid-template-columns: 1fr 1fr; padding: 17px 18px; }
  .referenzen-umfang > div { margin-right: 17px; padding-right: 17px; }
  .referenzen-umfang > div:nth-child(2) { margin-right: 0; padding-right: 0; border-right: 0; }
  .referenzen-umfang p { grid-column: 1 / -1; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--linie); }
  .referenzen-einstieg { padding: 122px 0 52px; }
  .referenzen-archiv { padding: 56px 0 72px; }
  .referenzen-archiv-kopf { display: block; }
  .referenzen-archiv-kopf h2 { margin-bottom: 10px; }

  .leistungen-projektbild {
    height: auto;
    aspect-ratio: 3 / 2;
  }
  .leistungen-projektbild figcaption { left: 18px; right: 18px; bottom: 15px; }

  /* Verbands-Banner untereinander, Logo groß genug und nicht abgeschnitten */
  .verband-banner {
    flex-direction: column;
    text-align: center;
    gap: 18px;
    padding: 26px 22px;
  }
  .verband-banner img { width: min(260px, 80%); }
  .betrieb-verband { flex-direction: column; text-align: center; gap: 14px; }
  .betrieb-verband img { width: min(220px, 70%); }

  /* Formular einspaltig */
  .anfrage-formular { grid-template-columns: 1fr; padding: 28px 20px 26px; }
  .form-senden { flex-direction: column-reverse; align-items: stretch; text-align: center; }
  .form-senden .btn { width: 100%; }

  .rechtsseite,
  .formularseite { padding: 120px 0 20px; }

  /* Team-Karte: Text oben, Foto darunter – kompakt gestapelt */
  .recruiting-karte { grid-template-columns: 1fr; }
  .recruiting-media { min-height: clamp(430px, 118vw, 620px); }
  .recruiting-media img.recruiting-foto-mitarbeiter { object-position: center top; }
  .recruiting-media-tint {
    background:
      linear-gradient(to bottom, rgba(23, 37, 48, 0) 40%, rgba(23, 37, 48, .55) 82%, rgba(23, 37, 48, .92) 100%);
  }
  .recruiting-inhalt { padding: 30px 24px 34px; }
  .recruiting-punkte { grid-template-columns: 1fr; }

  /* feste Anruf-Leiste einblenden + Platz schaffen */
  .mobil-anruf { display: flex; }
  body { padding-bottom: 60px; }
  .site-footer { margin-bottom: 0; }
}

@media (max-width: 600px) {
  .leistung-karte { flex-basis: 100%; max-width: 100%; }
  .warum-grid, .auswahl-grid, .galerie-grid { grid-template-columns: 1fr; }
  .auswahl-grid, .galerie-grid { gap: 20px; }
  .auswahl-inhalt { min-height: 0; }
  .auswahl-nav { opacity: 1; pointer-events: auto; }
  .galerie-cta { flex-direction: column; gap: 14px; text-align: center; }
  .referenzen-umfang { margin-bottom: 24px; }
  .referenzen-umfang > div { display: block; }
  .referenzen-umfang strong,
  .referenzen-umfang span { display: block; }
  .referenzen-umfang span { margin-top: 4px; line-height: 1.2; }
  .projekt-karteninhalt { padding: 16px 17px 18px; }
  .projekt-lightbox { padding: 0; }
  .projekt-lightbox-dialog { width: 100%; height: 100dvh; max-height: none; border: 0; border-radius: 0; }
  .projekt-lightbox-kopf { padding: 13px 62px 12px 16px; }
  .projekt-lightbox-kopf h2 { font-size: 1.12rem; }
  .projekt-lightbox-schliessen { top: 9px; right: 10px; width: 40px; height: 40px; }
  .projekt-lightbox-buehne { min-height: 0; }
  .projekt-lightbox-buehne img { max-width: calc(100% - 20px); max-height: calc(100dvh - 210px); }
  .projekt-lightbox-nav { width: 42px; height: 42px; background: rgba(23, 37, 48, .82); }
  .projekt-lightbox-zurueck { left: 7px; }
  .projekt-lightbox-weiter { right: 7px; }
  .projekt-lightbox-fuss { padding: 10px 10px 13px; }
  .projekt-lightbox-vorschauen { justify-content: flex-start; }
  .projekt-vorschau { flex-basis: 64px; width: 64px; height: 48px; }
  .footer-inner { grid-template-columns: 1fr; gap: 26px; }
  .footer-unten .container { flex-direction: column; text-align: center; }
  .karte-info { flex-direction: column; align-items: flex-start; }
  .karte-route { width: 100%; text-align: center; }
}

@media (max-width: 360px) {
  a[href^="mailto:"],
  .anfrage a,
  .kontakt-spalte a,
  .site-footer a { overflow-wrap: anywhere; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .anim-ready [data-reveal] { opacity: 1 !important; transform: none !important; }
  .anim-ready .hero-bild { animation: none !important; }
  .btn:hover,
  .leistung-karte:hover,
  .vertrauen-karten li:hover,
  .karte-route:hover { transform: none !important; box-shadow: none !important; }
  .auswahl-karte:hover { transform: none !important; box-shadow: none !important; }
  .projekt-oeffnen:hover .projekt-bild { transform: none !important; filter: none !important; }
}
