/* =========================================================
   Bauservice Halsbrücke UG · Dachdeckerei Bellmann
   Design system — Markenfarben: Dunkelblau + Signalrot
   ========================================================= */

:root {
  /* Brand — Markenfarben Bellmann (Navy + Signalrot)
     Variablennamen --green/--red bleiben aus Kompatibilitätsgründen,
     --green ist jetzt das Marken-Dunkelblau. */
  --green:        #15295e;   /* Marken-Dunkelblau / Navy */
  --green-deep:   #0f1d46;
  --green-soft:   #25387a;
  --green-line:   #2d4080;
  --red:          #cf1d2a;   /* Signalrot */
  --red-deep:     #aa1320;
  --red-soft:     #e23643;

  /* Neutrals (cool / clean) */
  --bg:           #f4f6fa;
  --bg-2:         #e9edf5;
  --paper:        #ffffff;
  --ink:          #16181f;
  --ink-2:        #3c424f;
  --muted:        #69707e;
  --line:         #e2e6ef;
  --line-2:       #d1d7e3;

  /* Type */
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --sans: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Layout */
  --wrap: 1240px;
  --gut: clamp(20px, 5vw, 64px);
  --radius: 4px;
  --shadow-sm: 0 1px 2px rgba(22,30,24,.06), 0 2px 8px rgba(22,30,24,.05);
  --shadow-md: 0 10px 30px rgba(22,30,24,.10), 0 2px 8px rgba(22,30,24,.06);
  --shadow-lg: 0 24px 60px rgba(22,30,24,.18);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.02;
  margin: 0;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

p { margin: 0 0 1em; text-wrap: pretty; }

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

/* ---------- Layout helpers ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gut);
}

.section { padding-block: clamp(44px, 5.5vw, 82px); }
.section--tight { padding-block: clamp(34px, 4vw, 56px); }

.eyebrow {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-weight: 600;
  font-size: 15px;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
}
.eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  background: var(--red);
  display: inline-block;
}
.eyebrow--center { justify-content: center; }

.section-title {
  font-size: clamp(34px, 5vw, 58px);
  text-transform: uppercase;
  letter-spacing: -0.015em;
}
.lead {
  font-size: clamp(18px, 2vw, 21px);
  color: var(--ink-2);
  max-width: 62ch;
}

.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  --bg-btn: var(--red);
  --fg-btn: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 17px;
  padding: 15px 28px;
  background: var(--bg-btn);
  color: var(--fg-btn);
  border: 2px solid var(--bg-btn);
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease, color .2s;
  line-height: 1;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-2);
}
.btn--ghost:hover { border-color: var(--ink); background: transparent; }
.btn--on-dark { background: var(--red); border-color: var(--red); color: #fff; }
.btn--ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.4);
}
.btn--ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn--lg { padding: 18px 34px; font-size: 19px; }
.btn svg { width: 18px; height: 18px; }

/* ---------- Header ---------- */
/* wrapper must not create a short sticky containing block, else the nav un-pins */
#site-header { display: contents; }
.topbar {
  background: var(--green-deep);
  color: #d8ddd4;
  font-size: 14px;
  border-bottom: 1px solid var(--green-line);
}
.topbar__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 42px;
  flex-wrap: wrap;
}
.topbar a { color: #eef1ea; display: inline-flex; align-items: center; gap: 8px; }
.topbar a:hover { color: #fff; }
.topbar__group { display: flex; gap: 26px; align-items: center; flex-wrap: wrap; }
.topbar svg { width: 15px; height: 15px; color: var(--red-soft); }
.topbar__region { color: #aeb6a8; white-space: nowrap; }

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.nav.is-stuck { box-shadow: var(--shadow-sm); }
.nav__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand__logo { width: 52px; height: 52px; flex: none; }
.brand__txt { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: .01em;
  color: var(--green);
  white-space: nowrap;
}
.brand__sub {
  font-size: 11.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
  margin-top: 4px;
  white-space: nowrap;
}

.menu { display: flex; align-items: center; gap: 4px; }
.menu > li { position: relative; list-style: none; }
.menu a.menu__link {
  font-family: var(--display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 17px;
  color: var(--ink);
  padding: 12px 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: var(--radius);
  transition: color .15s;
}
.menu a.menu__link:hover,
.menu li.is-active > a.menu__link { color: var(--red); }
.menu a.menu__link svg { width: 13px; height: 13px; transition: transform .2s; }
.menu li:hover .menu__link .caret { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 290px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all .18s ease;
  list-style: none;
  margin: 0;
}
.menu li:hover .dropdown,
.menu li:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 16px;
  color: var(--ink-2);
}
.dropdown a:hover { background: var(--bg-2); color: var(--green); }
.dropdown a::before {
  content: "";
  width: 7px; height: 7px;
  background: var(--red);
  border-radius: 1px;
  transform: rotate(45deg);
  flex: none;
  opacity: .55;
}

.nav__cta { display: flex; align-items: center; gap: 14px; }
.nav__phone {
  display: flex; flex-direction: column; align-items: flex-end; line-height: 1.1;
}
.nav__phone span { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; }
.nav__phone a { font-family: var(--display); font-weight: 700; font-size: 22px; color: var(--green); }

.burger {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line-2);
  background: var(--paper);
  border-radius: var(--radius);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.burger span, .burger span::before, .burger span::after {
  content: "";
  display: block;
  width: 22px; height: 2px;
  background: var(--green);
  transition: .25s;
  position: relative;
}
.burger span::before { position: absolute; top: -7px; }
.burger span::after { position: absolute; top: 7px; }
.burger.is-open span { background: transparent; }
.burger.is-open span::before { transform: rotate(45deg); top: 0; }
.burger.is-open span::after { transform: rotate(-45deg); top: 0; }

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(86vw, 380px);
  background: var(--green-deep);
  color: #fff;
  z-index: 200;
  transform: translateX(100%);
  transition: transform .3s ease;
  padding: 28px 26px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.drawer.is-open { transform: translateX(0); }
.drawer__overlay {
  position: fixed; inset: 0;
  background: rgba(10,16,12,.55);
  z-index: 199;
  opacity: 0; visibility: hidden;
  transition: .3s;
}
.drawer__overlay.is-open { opacity: 1; visibility: visible; }
.drawer__close {
  align-self: flex-end;
  background: none; border: none; color: #fff;
  font-size: 30px; cursor: pointer; line-height: 1; margin-bottom: 8px;
}
.drawer a {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: .04em;
  font-weight: 600;
  font-size: 19px;
  padding: 12px 0;
  border-bottom: 1px solid var(--green-line);
  color: #eef1ea;
}
.drawer a.drawer__sub {
  font-size: 16px; font-weight: 500; text-transform: none;
  padding: 9px 0 9px 16px; letter-spacing: 0; color: #b9c2b3;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.drawer__heading { color: var(--red-soft); font-size: 13px !important; letter-spacing: .2em; padding-top: 18px !important; border: none !important; }
.drawer .btn { margin-top: 20px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  min-height: clamp(520px, 78vh, 760px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }

/* Slideshow ("video"-style) */
.hero__slide {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity 1.6s ease;
  z-index: 0;
}
.hero__slide.is-active { opacity: 1; z-index: 1; }
.hero__slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 8.5s ease-out;
  will-change: transform;
}
/* Ken-Burns: drift while the slide is on screen */
.hero__slide.is-active img { transform: scale(1.18) translate(var(--kbx, -1.5%), var(--kby, -1.5%)); }
@media (prefers-reduced-motion: reduce) {
  .hero__slide img, .hero__slide.is-active img { transition: none; transform: scale(1.02); }
}

.hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  z-index: 3;
  background:
    linear-gradient(180deg, rgba(16,28,20,.30) 0%, rgba(16,28,20,.10) 35%, rgba(16,28,20,.78) 100%),
    linear-gradient(90deg, rgba(16,28,20,.62) 0%, rgba(16,28,20,.08) 60%);
}
.hero__in { position: relative; z-index: 4; padding-block: clamp(46px, 7vw, 92px); width: 100%; }
.hero__inner { max-width: 760px; }
.hero h1 {
  font-size: clamp(44px, 7vw, 86px);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.hero h1 .accent { color: var(--red-soft); }
.hero__lead { font-size: clamp(18px, 2.2vw, 23px); color: #e7eae3; max-width: 56ch; margin-bottom: 30px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__eyebrow { color: #fff; }
.hero__eyebrow::before { background: var(--red-soft); }

.hero__bar {
  background: linear-gradient(180deg, var(--green) 0%, var(--green-deep) 100%);
  color: #fff;
  border-top: 3px solid var(--red);
}
.hero__bar .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.hero__bar-item {
  padding: 30px 16px 27px;
  text-align: center;
  position: relative;
}
.hero__bar-item + .hero__bar-item::before {
  content: "";
  position: absolute;
  left: 0; top: 24%;
  width: 1px; height: 52%;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.20), transparent);
}
.hero__bar-item b {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(34px, 3.4vw, 50px);
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  line-height: 1;
  color: #fff;
  letter-spacing: -0.015em;
}
.hero__bar-item b i {
  font-style: normal;
  color: var(--red-soft);
  font-size: .56em;
  margin-left: 4px;
}
.hero__bar-item > span {
  display: block;
  margin-top: 12px;
  font-family: var(--display);
  font-size: 13.5px;
  color: #9fb0d4;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 600;
}

/* ---------- Page hero (subpages) ---------- */
.phero {
  position: relative;
  color: #fff;
  min-height: clamp(320px, 44vh, 460px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.phero__bg { position: absolute; inset: 0; }
.phero__bg img { width: 100%; height: 100%; object-fit: cover; }
.phero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(16,28,20,.45), rgba(16,28,20,.82));
}
.phero__in { position: relative; z-index: 1; padding-block: clamp(40px, 5vw, 70px); width: 100%; }
.phero h1 { font-size: clamp(38px, 6vw, 70px); text-transform: uppercase; }
.breadcrumb {
  display: flex; gap: 9px; align-items: center;
  font-size: 14px; color: #c4ccbe; margin-bottom: 16px;
  font-family: var(--display); text-transform: uppercase; letter-spacing: .08em;
}
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: var(--red-soft); }

/* ---------- Service cards grid ---------- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 26px;
}
.svc-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-2); }
.svc-card__img { position: relative; aspect-ratio: 16/11; overflow: hidden; }
.svc-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.svc-card:hover .svc-card__img img { transform: scale(1.06); }
.svc-card__num {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-family: var(--display); font-weight: 700; font-size: 14px;
  background: var(--red); color: #fff; padding: 5px 11px; border-radius: 2px; letter-spacing: .05em;
  box-shadow: 0 4px 12px rgba(0,0,0,.28);
  transition: transform .2s ease;
}
.svc-card:hover .svc-card__num { transform: translateY(-2px); }
.svc-card__body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.svc-card__body h3 { font-size: 25px; text-transform: uppercase; margin-bottom: 10px; color: var(--green); }
.svc-card__body p { color: var(--muted); font-size: 16px; margin-bottom: 18px; flex: 1; }
.svc-link {
  font-family: var(--display); font-weight: 600; text-transform: uppercase;
  letter-spacing: .06em; color: var(--red); font-size: 15px;
  display: inline-flex; align-items: center; gap: 9px;
}
.svc-link svg { width: 16px; height: 16px; transition: transform .2s; }
.svc-card:hover .svc-link svg { transform: translateX(4px); }

/* ---------- Why / features ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
}
.split--rev .split__media { order: 2; }
.split__col { display: flex; flex-direction: column; gap: 22px; }
.svc-region { background: var(--bg-2); border-radius: var(--radius); padding: 26px 28px; }
.svc-region h3 { font-size: 21px; text-transform: uppercase; color: var(--green); margin-bottom: 10px; }
.svc-region p { color: var(--ink-2); font-size: 15.5px; line-height: 1.6; margin: 0 0 16px; }
.svc-region__places { display: flex; flex-wrap: wrap; gap: 8px; }
.svc-region__places span { font-size: 12px; font-family: var(--display); font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--green); background: var(--paper); border: 1px solid var(--line); padding: 5px 11px; border-radius: 999px; }

/* ---------- Jobs / Karriere ---------- */
.jobs { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.jobs a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  padding: 20px 24px;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.jobs a:hover { background: rgba(255,255,255,.1); border-color: var(--red); transform: translateX(5px); }
.jobs b { display: block; font-family: var(--display); font-size: 21px; text-transform: uppercase; color: #fff; letter-spacing: .01em; }
.jobs span { font-size: 14px; color: #aeb9d4; }
.jobs svg { width: 22px; height: 22px; color: var(--red-soft); flex: none; }

/* File upload in forms */
.field input[type=file] { padding: 10px 14px; font-size: 15px; cursor: pointer; }
.field input[type=file]::file-selector-button {
  font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; font-size: 13px;
  border: none; background: var(--green); color: #fff; padding: 9px 15px; border-radius: 4px; margin-right: 12px; cursor: pointer;
  transition: background .2s ease;
}
.field input[type=file]::file-selector-button:hover { background: var(--green-soft); }
.split__media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.split__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.split__badge {
  position: absolute;
  bottom: 20px; left: 20px;
  width: 116px; height: 116px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 16px 36px rgba(15,29,69,.42), inset 0 0 0 4px rgba(255,255,255,.20);
  border: 1px solid rgba(255,255,255,.28);
}
.split__badge b {
  font-family: var(--display);
  font-weight: 700;
  font-size: 40px;
  line-height: .85;
  letter-spacing: -0.02em;
}
.split__badge span {
  font-family: var(--display);
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .15em;
  line-height: 1.15;
  margin-top: 5px;
  max-width: 9ch;
}

.feature-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 18px; }
.feature-list li { display: flex; gap: 15px; align-items: flex-start; }
.feature-list .ic {
  flex: none; width: 42px; height: 42px;
  background: var(--green); color: #fff;
  border-radius: var(--radius);
  display: grid; place-items: center;
}
.feature-list .ic svg { width: 21px; height: 21px; }
.feature-list h4 { font-size: 21px; text-transform: uppercase; color: var(--ink); margin-bottom: 2px; }
.feature-list p { margin: 0; color: var(--muted); font-size: 16px; }

/* Feature list on dark bands (navy) */
.band-dark .feature-list .ic,
.band-green .feature-list .ic { background: var(--red); color: #fff; }
.band-dark .feature-list h4,
.band-green .feature-list h4 { color: #fff; }
.band-dark .feature-list p,
.band-green .feature-list p { color: #aeb9d4; }

/* ---------- Steps / Ablauf ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.step { position: relative; }
.step__ic {
  position: relative;
  display: grid;
  place-items: center;
  width: 64px; height: 64px;
  border-radius: 16px;
  background: var(--green);
  color: #fff;
  margin-bottom: 20px;
  box-shadow: 0 8px 20px rgba(21,41,94,.20);
  transition: transform .28s ease, background .28s ease, box-shadow .28s ease;
}
.step__ic svg { width: 30px; height: 30px; }
.step__n {
  position: absolute;
  top: -9px; right: -9px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-family: var(--display); font-weight: 700; font-size: 13px;
  display: grid; place-items: center;
  border: 3px solid var(--bg);
  letter-spacing: 0;
  transition: transform .28s ease, background .28s ease;
}
.step:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 32px; left: 80px; right: -28px;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--line-2) 0 7px, transparent 7px 14px);
}
.step h4 { font-size: 23px; text-transform: uppercase; color: var(--green); margin: 0 0 8px; }
.step p { color: var(--muted); font-size: 16px; margin: 0; }
.step:hover .step__ic { background: var(--red); transform: translateY(-5px); box-shadow: 0 14px 28px rgba(207,29,42,.32); }
.step:hover .step__n { background: var(--green); transform: scale(1.1); }

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.gallery a {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 1;
  display: block;
  background: var(--bg-2);
}
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery a:hover img { transform: scale(1.07); }
.gallery a::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(21,41,94,0);
  transition: .25s;
}
.gallery a:hover::after { background: rgba(21,41,94,.20); }
.gallery--wide a:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gallery--svc { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.gallery--svc a { aspect-ratio: 4/3; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(12,18,13,.92);
  display: none;
  align-items: center; justify-content: center;
  padding: 4vw;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 88vh; width: auto; height: auto; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.lightbox__close, .lightbox__nav {
  position: absolute; background: rgba(255,255,255,.1); border: none; color: #fff;
  cursor: pointer; width: 54px; height: 54px; border-radius: 50%;
  font-size: 24px; display: grid; place-items: center; transition: background .2s;
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,.25); }
.lightbox__close { top: 24px; right: 24px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 18px; }
.lightbox__nav--next { right: 18px; }

/* ---------- Slider (Referenzen) ---------- */
.slider { position: relative; }
.slider__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2 * 22px) / 3);
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 4px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.slider__track::-webkit-scrollbar { display: none; }
.slider__slide {
  position: relative;
  scroll-snap-align: start;
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  background: var(--bg-2);
  display: block;
}
.slider__slide img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.slider__slide:hover img { transform: scale(1.07); }
.slider__slide::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(15,29,69,0);
  transition: background .25s ease;
}
.slider__slide:hover::after { background: rgba(15,29,69,.24); }
.slider__zoom {
  position: absolute;
  right: 14px; bottom: 14px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.94);
  color: var(--green);
  display: grid; place-items: center;
  opacity: 0; transform: scale(.8);
  transition: opacity .25s ease, transform .25s ease;
  pointer-events: none;
  z-index: 2;
}
.slider__slide:hover .slider__zoom { opacity: 1; transform: scale(1); }
.slider__zoom svg { width: 20px; height: 20px; }
.slider__nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--green);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  display: grid; place-items: center;
  cursor: pointer;
  z-index: 4;
  transition: background .2s ease, color .2s ease, transform .2s ease, opacity .2s ease;
}
.slider__nav:hover { background: var(--red); color: #fff; border-color: var(--red); transform: translateY(-50%) scale(1.06); }
.slider__nav svg { width: 22px; height: 22px; }
.slider__nav--prev { left: -18px; }
.slider__nav--next { right: -18px; }
.slider__nav[disabled] { opacity: .3; cursor: default; pointer-events: none; }

/* ---------- Testimonials ---------- */
.reviews {
  display: grid;
  grid-template-columns: 1fr 1fr 1.3fr;
  gap: 20px;
  align-items: start;
}
.review {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  display: flex; flex-direction: column;
}
.review__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.review__stars { color: var(--red); letter-spacing: 3px; font-size: 18px; }
.review__date { font-size: 13.5px; color: var(--muted); white-space: nowrap; }
.review p, .review__text { font-size: 17px; color: var(--ink-2); font-style: italic; margin: 0; }
.review__text.is-clamp { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.review__more {
  align-self: flex-start;
  margin-top: 12px;
  background: none; border: none; cursor: pointer;
  font-family: var(--display); font-weight: 600;
  text-transform: uppercase; letter-spacing: .06em; font-size: 13px;
  color: var(--red); padding: 0;
  display: inline-flex; align-items: center; gap: 6px;
}
.review__more::after { content: "\203A"; font-size: 16px; line-height: 1; transition: transform .2s; }
.review__more.is-open::after { transform: rotate(90deg); }
.review__more:hover { color: var(--red-deep); }
.review__who { display: flex; align-items: center; gap: 13px; margin-top: 22px; }
.review__av {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--green); color: #fff;
  overflow: hidden; flex: none;
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 700; font-size: 18px;
}
.review__av img { width: 100%; height: 100%; object-fit: cover; }
.review__who b { display: block; font-size: 16px; }
.review__name { display: block; font-size: 16px; }
.review__src { font-size: 13.5px; color: var(--muted); }
.review__brand { font-weight: 700; color: var(--green); }
a.reviews-rating { display: inline-flex; align-items: center; gap: 12px; margin-top: 18px; padding: 10px 20px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); box-shadow: var(--shadow-sm); transition: border-color .2s, transform .2s, box-shadow .2s; }
a.reviews-rating:hover { border-color: var(--red); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.reviews-rating { display: inline-flex; align-items: center; gap: 12px; margin-top: 18px; padding: 10px 20px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); box-shadow: var(--shadow-sm); }
.reviews-rating .stars { color: var(--red); letter-spacing: 2px; font-size: 17px; }
.reviews-rating b { font-family: var(--display); font-size: 19px; }
.reviews-rating span { font-size: 14px; color: var(--muted); }
.reviews-rating .gmore { font-size: 13px; color: var(--red); font-weight: 600; }

/* ---------- Bands ---------- */
.band-green { background: var(--green); color: #fff; }
.band-green .section-title { color: #fff; }
.band-green .lead { color: #c8d0c2; }
.band-dark { background: var(--green-deep); color: #fff; }

.cta-band { background: var(--green); color: #fff; position: relative; overflow: hidden; }
.cta-band__in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 36px; flex-wrap: wrap;
}
.cta-band h2 { font-size: clamp(30px, 4vw, 50px); text-transform: uppercase; color: #fff; }
.cta-band p { color: #c8d0c2; margin: 10px 0 0; font-size: 19px; }
.cta-band__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Partners ---------- */
.partner-band { padding-top: clamp(40px,5vw,64px); padding-bottom: clamp(40px,5vw,64px); }
.partner-split {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(28px,4vw,64px);
  align-items: center;
}
.partner-intro .lead { margin-top: 16px; }
.partner-marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.partner-marquee__track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: partnerScroll 30s linear infinite;
}
/* Nur auf Geräten mit echtem Zeiger pausieren – sonst bleibt die Animation
   auf dem Handy nach einer Berührung „hängen" (sticky hover/focus). */
@media (hover: hover) and (pointer: fine) {
  .partner-marquee:hover .partner-marquee__track,
  .partner-marquee:focus-within .partner-marquee__track { animation-play-state: paused; }
}
@keyframes partnerScroll { to { transform: translateX(calc(-50% - 9px)); } }
/* Wird der JS-Antrieb aktiv, übernimmt dieser (läuft auch bei „Bewegung reduzieren"). */
.partner-marquee__track.is-js { animation: none !important; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .partner-marquee__track { animation: none; }
}
.partner {
  flex: 0 0 auto;
  width: 200px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 26px 18px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  min-height: 130px;
  transition: border-color .2s, transform .2s;
}
.partner:hover { border-color: var(--red); transform: translateY(-3px); }
.partner b { font-family: var(--display); font-size: 21px; text-transform: uppercase; letter-spacing: .03em; color: var(--green); }
.partner__logo { max-height: 50px; max-width: 150px; width: auto; object-fit: contain; }
.partner span { font-size: 12.5px; color: var(--muted); }

/* ---------- Prose (legal pages, service text) ---------- */
.prose { max-width: 80ch; }
.prose h2 { font-size: clamp(26px, 3vw, 36px); text-transform: uppercase; color: var(--green); margin: 44px 0 16px; }
.prose h3 { font-size: 22px; text-transform: uppercase; color: var(--ink); margin: 28px 0 10px; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { padding-left: 22px; margin: 0 0 1.2em; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--red); text-decoration: underline; text-underline-offset: 2px; }
.prose strong { color: var(--ink); }

.checklist { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 13px; align-items: flex-start; font-size: 17px; color: var(--ink-2); }
.checklist .tick {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--green); color: #fff; display: grid; place-items: center;
  margin-top: 2px;
}
.checklist .tick svg { width: 14px; height: 14px; }

/* ---------- Info cards row ---------- */
.info-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.info-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px;
}
.info-card .ic-badge {
  width: 50px; height: 50px; border-radius: var(--radius);
  background: var(--green); color: #fff; display: grid; place-items: center; margin-bottom: 16px;
}
.info-card .ic-badge svg { width: 25px; height: 25px; }
.info-card h3 { font-size: 22px; text-transform: uppercase; color: var(--green); margin-bottom: 8px; }
.info-card p { color: var(--muted); font-size: 16px; margin: 0; }
.info-card a { color: var(--red); font-weight: 600; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); }
.field { margin-bottom: 18px; }
.field label {
  display: block; font-family: var(--display); text-transform: uppercase;
  letter-spacing: .08em; font-weight: 600; font-size: 14px; margin-bottom: 7px; color: var(--ink);
}
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line-2);
  border-radius: var(--radius); font-family: var(--sans); font-size: 16px;
  background: var(--paper); color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(21,41,94,.14);
}
.field textarea { min-height: 130px; resize: vertical; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note { font-size: 13.5px; color: var(--muted); }
.contact-detail { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; }
.contact-detail .ic {
  flex: none; width: 46px; height: 46px; background: var(--green); color: #fff;
  border-radius: var(--radius); display: grid; place-items: center;
}
.contact-detail .ic svg { width: 22px; height: 22px; }
.contact-detail b { font-family: var(--display); text-transform: uppercase; letter-spacing: .04em; font-size: 17px; display: block; }
.contact-detail a, .contact-detail p { color: var(--ink-2); margin: 2px 0 0; }
.contact-detail a:hover { color: var(--red); }
.map-embed { border: 0; width: 100%; height: 360px; border-radius: var(--radius); filter: grayscale(.2); }

/* ---------- Cookie consent + map gate ---------- */
.map-gate { position: relative; border-radius: var(--radius); overflow: hidden; }
.map-gate__ph {
  position: absolute; inset: 0; z-index: 2;
  background: var(--green-deep); color: #e9eef7;
  display: grid; place-items: center; text-align: center; padding: 24px;
}
.map-gate__inner { max-width: 460px; display: flex; flex-direction: column; align-items: center; gap: 15px; }
.map-gate__ph svg { width: 34px; height: 34px; color: var(--red-soft); }
.map-gate__ph p { margin: 0; font-size: 14.5px; line-height: 1.6; color: #c2cde2; }
.map-gate__ph a { color: #fff; text-decoration: underline; }

.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1200;
  background: var(--paper); border-top: 3px solid var(--red);
  box-shadow: 0 -10px 40px rgba(15,29,70,.20);
  transform: translateY(115%); transition: transform .42s cubic-bezier(.2,.7,.2,1);
}
.cookie-banner.is-open { transform: none; }
.cookie-banner__in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px; padding: 20px 0; flex-wrap: wrap;
}
.cookie-banner__text { flex: 1 1 480px; }
.cookie-banner__text strong {
  font-family: var(--display); text-transform: uppercase; letter-spacing: .06em;
  font-size: 16px; color: var(--ink); display: block; margin-bottom: 5px;
}
.cookie-banner__text p { margin: 0; font-size: 14px; color: var(--ink-2); line-height: 1.55; }
.cookie-banner__text a { color: var(--red); text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: 12px; flex: none; }
@media (max-width: 640px) {
  .cookie-banner__actions { width: 100%; }
  .cookie-banner__actions .btn { flex: 1; justify-content: center; }
}

/* ---------- Footer ---------- */
.footer { background: var(--green-deep); color: #c4ccbe; padding-top: clamp(56px,7vw,84px); }
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: 52px;
  border-bottom: 1px solid var(--green-line);
}
.footer h4 {
  color: #fff; text-transform: uppercase; font-size: 18px; letter-spacing: .04em; margin-bottom: 20px;
}
.footer__brand { display: flex; align-items: center; gap: 13px; margin-bottom: 18px; }
.footer__brand .brand__logo { width: 48px; height: 48px; }
.footer__brand .brand__name { color: #fff; }
.footer p { font-size: 15px; line-height: 1.7; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.footer ul a { font-size: 15px; transition: color .15s; }
.footer ul a:hover { color: var(--red-soft); padding-left: 4px; }
.footer__contact li { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; }
.footer__contact svg { width: 16px; height: 16px; color: var(--red-soft); flex: none; margin-top: 4px; }
.footer__bottom {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; flex-wrap: wrap; padding-block: 26px; font-size: 14px;
}
.footer__bottom a:hover { color: #fff; }
.footer__legal { display: flex; gap: 22px; flex-wrap: wrap; }

/* ---------- Float call (mobile) ---------- */
.call-fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--red); color: #fff;
  display: none; place-items: center;
  box-shadow: var(--shadow-lg);
  animation: pulse 2.4s infinite;
}
.call-fab svg { width: 26px; height: 26px; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(207,29,42,.55)} 70%{box-shadow:0 0 0 16px rgba(207,29,42,0)} 100%{box-shadow:0 0 0 0 rgba(207,29,42,0)} }

/* ---------- Reveal animation ----------
   Inhalte sind sofort sichtbar (kein "Stück für Stück"-Einblenden beim Scrollen).
   Die .reveal-Klasse bleibt erhalten, ist aber neutral. */
.reveal { opacity: 1; transform: none; }

/* Bilder weich einblenden, sobald sie geladen sind (statt hart aufzupoppen) */
.img-fade { opacity: 0; transition: opacity .45s ease; }
.img-fade.is-loaded { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .img-fade { opacity: 1; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 940px) {
  .menu, .nav__phone { display: none; }
  /* CTA-Button nicht mehr neben dem Burger quetschen — Angebot/Kontakt liegt im Menü */
  .nav__cta .btn { display: none; }
  .nav__cta { gap: 0; }
  .burger { display: inline-flex; }
  .split { grid-template-columns: 1fr; }
  .split--rev .split__media { order: 0; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:not(:last-child)::before { display: none; }
  .reviews { grid-template-columns: 1fr; }
  .info-cards { grid-template-columns: 1fr; }
  .partner-split { grid-template-columns: 1fr; gap: 28px; }
  .contact-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .gallery--wide a:first-child { grid-column: span 2; grid-row: span 2; }
  .call-fab { display: grid; }
}
@media (max-width: 720px) {
  .topbar { display: none; }
  .hero__bar .wrap { grid-template-columns: 1fr 1fr; }
  .hero__bar-item:nth-child(odd)::before { display: none; }
  .hero__bar-item:nth-child(1), .hero__bar-item:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,.12); }
  .field--row { grid-template-columns: 1fr; }
  .cta-band__in { flex-direction: column; align-items: flex-start; }
  .slider__track { grid-auto-columns: calc((100% - 22px) / 2); }
  .slider__nav--prev { left: -8px; }
  .slider__nav--next { right: -8px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .steps { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .slider__track { grid-auto-columns: 82%; }
  .footer__top { grid-template-columns: 1fr; }
  .brand__name { font-size: 20px; }
  .brand__logo { width: 46px; height: 46px; }
}
