/* ==========================================================
   WIP e.V. — Design "Roter Faden"
   Akzent: Feuerrot-Grau (warm, gedämpft) statt Signal­rot
   Typo: Archivo (Display) · Inter (Body)
   ========================================================== */

:root {
  --red: #17697B;           /* Petrol — Akzentfarbe (Variablenname historisch) */
  --red-dark: #10505E;
  --red-soft: #E1EDEF;
  --ember: #37707B;         /* gedämpftes Petrol für ruhige Akzente */
  --silver: #C5C7C8;
  --ink: #1B1D1F;
  --ink-soft: #55595E;
  --dark: #212428;
  --dark-deep: #17191C;
  --bg: #FFFFFF;
  --bg-soft: #F4F5F6;
  --line: rgba(27, 29, 31, 0.12);
  --line-dark: rgba(255, 255, 255, 0.14);

  --font-display: "Archivo", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;

  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --wrap: 1200px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

a { color: inherit; }

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

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
}

.section { padding-block: clamp(64px, 9vw, 120px); }

/* ---------- Roter Faden: Scroll-Fortschritt ---------- */

.thread-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  background: var(--red);
  z-index: 100;
}

/* ---------- Typografie ---------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 3px;
  background: var(--red);
  flex: none;
}

.eyebrow.center { justify-content: center; }
.eyebrow.center::after {
  content: "";
  width: 34px;
  height: 3px;
  background: var(--red);
  flex: none;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.9rem, 4.2vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.section-title.center { text-align: center; }

.section-lead {
  max-width: 660px;
  margin-top: 20px;
  color: var(--ink-soft);
  font-size: clamp(1.0325rem, 1.35vw, 1.15rem);
}

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

.on-dark { color: #fff; }
.section-lead.on-dark { color: rgba(255, 255, 255, 0.72); }
.eyebrow.on-dark { color: #fff; }
.eyebrow.on-dark::before, .eyebrow.on-dark::after { background: var(--red); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  border-radius: var(--radius-sm);
  padding: 14px 28px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), background 0.25s, color 0.25s, border-color 0.25s;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-solid { background: var(--red); color: #fff; box-shadow: 0 12px 26px -14px rgba(23, 105, 123, 0.7); }
.btn-solid:hover { background: var(--red-dark); }

.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--dark-deep); }

.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; }

.btn-outline-light { border-color: rgba(255, 255, 255, 0.45); color: #fff; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }

.btn-lg { padding: 17px 34px; font-size: 1.0625rem; }
.btn-xl { padding: 19px 42px; font-size: clamp(1.0625rem, 1.6vw, 1.2rem); }

/* ---------- Topbar ---------- */

.topbar {
  background: var(--dark-deep);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8125rem;
  text-align: center;
  padding: 9px 16px;
}

.topbar a { color: #fff; font-weight: 600; text-underline-offset: 3px; margin-left: 6px; white-space: nowrap; }
.topbar a:hover { color: var(--silver); }

.topbar-short { display: none; }

.topbar-dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--red);
  margin-right: 8px;
  animation: pulse 2.4s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(23, 105, 123, 0.55); }
  60% { box-shadow: 0 0 0 7px rgba(23, 105, 123, 0); }
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 12px 32px -26px rgba(27, 29, 31, 0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 12px;
}

.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 48px; width: auto; }
.brand-claim {
  margin-left: 14px;
  padding-left: 14px;
  border-left: 1px solid var(--line);
  font-size: 0.72rem;
  line-height: 1.35;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  max-width: 190px;
}

.main-nav { display: flex; gap: clamp(14px, 2.2vw, 28px); }

.main-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--ink-soft);
  position: relative;
  padding-block: 6px;
  white-space: nowrap;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}

.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--ink); }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 16px; }

.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--ink);
  white-space: nowrap;
}
.header-phone svg { width: 17px; height: 17px; color: var(--red); }
.header-phone:hover { color: var(--red); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  width: 26px; height: 2.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out);
}
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.2px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.2px) rotate(-45deg); }

/* ---------- Hero: Vollbild mit Textoverlay ---------- */

.hero {
  position: relative;
  overflow: clip;
  isolation: isolate;
}

.hero--cover {
  /* Höhe abzüglich Header, damit der Text beim Laden zentriert above the fold sitzt */
  min-height: min(calc(100vh - 74px), 720px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--dark-deep);
  padding-block: clamp(64px, 13vh, 150px) clamp(40px, 6vh, 80px);
}

/* Ganzflächiges Hintergrundbild */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  animation: heroZoom 18s ease-out forwards;
}

@keyframes heroZoom {
  from { transform: scale(1.06); }
  to   { transform: scale(1); }
}

/* Dunkler Verlauf, damit die Schrift überall lesbar bleibt */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(23, 25, 28, 0.9) 0%, rgba(23, 25, 28, 0.62) 42%, rgba(23, 25, 28, 0.15) 78%, rgba(23, 25, 28, 0.05) 100%),
    linear-gradient(0deg, rgba(23, 25, 28, 0.72) 0%, rgba(23, 25, 28, 0) 42%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-copy {
  max-width: 780px;
  margin-inline: auto;
  color: #fff;
  text-align: center;
}

.hero-kicker {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  padding: 9px 18px 9px 14px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 26px;
}

.kicker-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse 2.4s infinite;
}

.kicker-sep { width: 1px; height: 14px; background: rgba(255, 255, 255, 0.3); }

.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 6vw, 4.6rem);
  line-height: 1.03;
  letter-spacing: -0.028em;
  text-wrap: balance;
  color: #fff;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35);
}

/* Markiertes Wort: helles Rot mit animiertem Unterstrich */
.mark-word {
  position: relative;
  display: inline-block;
  color: #45AABE;
  font-style: normal;
  padding-bottom: 0.06em;
}

.mark-sweep {
  position: absolute;
  left: 0.02em; right: 0.08em; bottom: -0.02em;
  height: 0.09em;
  background: #45AABE;
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: left;
  animation: sweep 0.7s 0.55s var(--ease-out) forwards;
}

@keyframes sweep { to { transform: scaleX(1); } }

.hero-sub {
  margin-top: 24px;
  margin-inline: auto;
  max-width: 620px;
  font-size: clamp(1.0325rem, 1.45vw, 1.2rem);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.hero-cta { margin-top: 34px; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

.hero-trust {
  margin-top: 38px;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 24px;
}

.hero-trust li {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-trust li svg { width: 16px; height: 16px; color: #45AABE; flex: none; }

.hero-scroll {
  position: relative;
  z-index: 2;
  margin: clamp(30px, 5vh, 60px) auto 0;
  align-self: center;
  display: flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

.hero-scroll:hover { color: #fff; }

.hero-scroll-line {
  width: 44px;
  height: 2px;
  background: #45AABE;
  overflow: hidden;
  position: relative;
}

.hero-scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  transform: translateX(-100%);
  animation: scrollhint 2.2s var(--ease-out) infinite;
}

@keyframes scrollhint {
  0% { transform: translateX(-100%); }
  55%, 100% { transform: translateX(100%); }
}

.hero-badges {
  margin-top: clamp(36px, 5vw, 56px);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.hero-badge {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 0.82rem;
  font-weight: 700;
  font-family: var(--font-display);
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-badge::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #45AABE;
  flex: none;
}

/* ---------- Marquee ---------- */

.marquee-strip {
  border-block: 1px solid var(--line);
  overflow: hidden;
  background: var(--bg);
}

.marquee-note {
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-display);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-top: 18px;
  text-align: center;
}

.marquee { overflow: hidden; padding-block: 16px; }

.marquee-track {
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  animation: marquee 34s linear infinite;
}

.marquee:hover .marquee-track { animation-play-state: paused; }

.marquee-track span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
  letter-spacing: 0.01em;
  white-space: nowrap;
  color: var(--ink);
}

.marquee-track i {
  width: 12px; height: 12px;
  background: var(--red);
  clip-path: polygon(0 0, 100% 0, 0 100%);
  flex: none;
}

@keyframes marquee { to { transform: translateX(-50%); } }

.strip-red { background: var(--dark); border-color: var(--dark-deep); }
.strip-red .marquee-track span { color: #fff; }
.strip-red .marquee-track i { background: var(--red); }

/* ---------- Über uns ---------- */

.about { background: var(--bg); }

.about-grid {
  margin-top: clamp(44px, 6vw, 72px);
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.about-photo { position: relative; }

.about-photo img {
  width: 100%;
  aspect-ratio: 4 / 4.4;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.about-motto {
  position: absolute;
  left: -16px; bottom: 26px;
  max-width: 330px;
  background: var(--dark);
  color: #fff;
  border-left: 5px solid var(--red);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 22px 26px 18px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  line-height: 1.4;
  box-shadow: 0 24px 48px -24px rgba(23, 25, 28, 0.6);
}

.about-motto small {
  display: block;
  margin-top: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--silver);
}

/* Werte-Liste in "Wer wir sind" — ruhig, klar, mobilfreundlich */
.value-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.value-row {
  padding-left: 20px;
  border-left: 3px solid var(--silver);
}

.value-row h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.value-row h3::before {
  content: "";
  display: inline-block;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--red);
  margin-right: 10px;
  transform: translateY(-2px);
}

.value-row p { color: var(--ink-soft); font-size: 0.97rem; }

/* Standort-Zeile: eine schlichte, klare Info-Reihe (keine Kacheln) */
.standorte-strip {
  margin-top: clamp(40px, 5vw, 64px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-soft);
}

.std-item {
  padding: 22px 26px;
  border-left: 1px solid var(--line);
}

.std-item:first-child { border-left: 0; }

.std-item.std-main { background: #fff; box-shadow: inset 4px 0 0 var(--red); }

.std-city {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}

.std-what {
  display: block;
  margin-top: 4px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.std-item.std-main .std-what { color: var(--red); font-weight: 600; }

/* ---------- Interaktive Standorte (Tabs + Panel) ---------- */
.standorte {
  margin-top: clamp(40px, 5vw, 64px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-soft);
}

.std-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--bg-soft);
}

.std-tab {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  background: none;
  border: 0;
  border-bottom: 3px solid transparent;
  border-left: 1px solid var(--line);
  padding: 18px clamp(14px, 2vw, 24px);
  cursor: pointer;
  text-align: left;
  transition: background 0.25s, border-color 0.25s;
}

.std-tab:first-child { border-left: 0; }
.std-tab:hover { background: rgba(23, 105, 123, 0.06); }

.std-tab-city {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  letter-spacing: -0.01em;
  color: var(--ink);
}

.std-tab-note {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.std-tab.is-active {
  background: #fff;
  border-bottom-color: var(--red);
}
.std-tab.is-active .std-tab-note { color: var(--red); }

.std-panels { background: #fff; }

.std-panel {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: clamp(20px, 3vw, 40px);
  padding: clamp(24px, 3vw, 36px);
  animation: stdFade 0.4s var(--ease-out);
}

.std-panel[hidden] { display: none; }

@keyframes stdFade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

.std-panel-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}

.std-panel-main p { color: var(--ink-soft); font-size: 0.98rem; max-width: 46ch; }

.std-offers {
  list-style: none;
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.std-offers li {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  background: var(--bg-soft);
  border-radius: 999px;
  padding: 6px 14px;
}

.std-panel-contact {
  border-left: 1px solid var(--line);
  padding-left: clamp(20px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-content: start;
}

.std-addr { font-style: normal; color: var(--ink-soft); font-size: 0.95rem; line-height: 1.5; margin-bottom: 4px; }
.std-phone { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; color: var(--ink); text-decoration: none; }
.std-phone:hover { color: var(--red); }
.std-mail { font-weight: 600; color: var(--red); text-decoration: none; }
.std-mail:hover { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 680px) {
  .std-panel { grid-template-columns: 1fr; }
  .std-panel-contact { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 20px; }
  .std-tab { padding: 14px 12px; }
  .std-tab-note { font-size: 0.62rem; letter-spacing: 0.05em; }
}

/* Gestapelte Standort-Felder (statisch, Kontaktdaten direkt sichtbar) */
.standorte-static {
  margin-top: clamp(40px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.std-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-left: 4px solid var(--silver);
  border-radius: var(--radius-md);
  padding: 20px 26px;
}

.std-line.std-main { border-left-color: var(--red); background: #fff; box-shadow: 0 16px 36px -28px rgba(27, 29, 31, 0.35); }

.std-line-city { display: flex; flex-direction: column; gap: 3px; }
.std-line-city h3 { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; letter-spacing: -0.01em; }
.std-line-tag { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--red); }

.std-line-contact { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 22px; }
.std-line-addr { color: var(--ink-soft); font-size: 0.92rem; }
.std-line-phone { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: var(--ink); text-decoration: none; }
.std-line-phone:hover { color: var(--red); }
.std-line-mail { font-weight: 600; color: var(--red); text-decoration: none; font-size: 0.95rem; }
.std-line-mail:hover { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 620px) {
  .std-line { flex-direction: column; align-items: flex-start; }
  .std-line-contact { flex-direction: column; align-items: flex-start; gap: 4px; }
}

/* Leistungsbeschreibung-Link je Angebot (auf dunklem Grund) */
.service-doc {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  color: #fff;
  text-decoration: none;
  border-bottom: 2px solid var(--red);
  padding-bottom: 3px;
  transition: color 0.2s, border-color 0.2s;
}
.service-doc:hover { color: var(--red); border-color: #fff; }

/* Drei Standort-Kontaktkästen (kontakt.html) */
.standort-contact-grid {
  margin-top: clamp(32px, 4vw, 52px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.2vw, 26px);
}

.standort-contact {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  border-top: 4px solid var(--silver);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.standort-contact:hover { transform: translateY(-4px); box-shadow: 0 8px 16px -12px rgba(27, 29, 31, 0.28), 0 28px 52px -30px rgba(27, 29, 31, 0.4); }

.standort-contact.is-main { border-top-color: var(--red); background: #fff; box-shadow: 0 20px 44px -28px rgba(27, 29, 31, 0.4); }

.sc-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}

.standort-contact h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.standort-contact address {
  font-style: normal;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 14px;
}

.sc-links { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.sc-links a { text-decoration: none; font-weight: 600; color: var(--ink); font-size: 0.95rem; width: fit-content; }
.sc-links a:hover { color: var(--red); }
.sc-fax { color: var(--ink-soft); font-size: 0.9rem; }

@media (max-width: 860px) {
  .standort-contact-grid { grid-template-columns: 1fr; }
}

/* Sprungnavigation auf der Team-Seite */
.standort-jump {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.standort-jump a {
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 9px 20px;
  transition: background 0.25s, border-color 0.25s;
}

.standort-jump a:hover { background: var(--red); border-color: var(--red); }

.team-alt { background: var(--bg); }

.fact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.fact-card {
  background: var(--bg-soft);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  border-top: 4px solid transparent;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s, background 0.3s;
}

.fact-card:hover {
  transform: translateY(-4px);
  background: #fff;
  border-top-color: var(--red);
  box-shadow: 0 22px 44px -24px rgba(27, 29, 31, 0.35);
}

.fact-card strong {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--red);
}

.fact-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 8px 0 8px;
}

.fact-card p { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.55; }

.about-cta {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.phone-pill { display: flex; align-items: center; gap: 12px; text-decoration: none; }

.phone-pill-ico {
  width: 50px; height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--red);
  color: #fff;
  flex: none;
  transition: background 0.25s, transform 0.25s var(--ease-out);
}
.phone-pill-ico svg { width: 21px; height: 21px; }
.phone-pill:hover .phone-pill-ico { background: var(--ink); transform: rotate(-8deg); }

.phone-pill small {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.phone-pill strong { font-family: var(--font-display); font-size: 1.15rem; font-weight: 800; }

/* ---------- Angebote (dunkel) ---------- */

.section-dark {
  background:
    radial-gradient(900px 460px at 88% -8%, rgba(23, 105, 123, 0.13), transparent 60%),
    var(--dark);
  padding-block: clamp(64px, 9vw, 120px);
}

.service-list {
  margin-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--line-dark);
}

.service-row {
  border-bottom: 1px solid var(--line-dark);
  position: relative;
  transition: background 0.35s var(--ease-out);
  border-radius: 6px;
}

.service-row::before {
  content: "";
  position: absolute;
  left: 0; top: 14%; bottom: 14%;
  width: 3px;
  background: var(--red);
  border-radius: 3px;
  transform: scaleY(0);
  transform-origin: center;
  transition: transform 0.35s var(--ease-out);
}

.service-row.is-open { background: rgba(23, 105, 123, 0.07); }
.service-row.is-open::before { transform: scaleY(1); }

.service-head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
  background: none;
  border: 0;
  color: #fff;
  padding: clamp(18px, 2.4vw, 28px) 8px clamp(18px, 2.4vw, 28px) 20px;
  cursor: pointer;
  text-align: left;
  transition: padding-left 0.3s var(--ease-out);
}

.service-head:hover { padding-left: 30px; }

.service-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--silver);
  flex: none;
  width: 34px;
}

.service-head h3 {
  flex: 1;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.3rem, 3vw, 2.1rem);
  letter-spacing: -0.015em;
}

.service-head h3 small { font-size: 0.55em; font-weight: 600; color: var(--silver); margin-left: 8px; }

.service-arrow {
  width: 46px; height: 46px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transition: background 0.3s, transform 0.4s var(--ease-out);
}
.service-arrow svg { width: 19px; height: 19px; }

.service-row.is-open .service-arrow,
.service-head:hover .service-arrow { background: var(--red); }
.service-row.is-open .service-arrow { transform: rotate(45deg); }
.service-row.is-open .service-num { color: var(--red); }

.service-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease-out);
}

.service-row.is-open .service-body { grid-template-rows: 1fr; }

.service-body-inner {
  overflow: hidden;
  padding-left: 62px;
  padding-right: 8px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: start;
}

.service-body p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 640px;
  padding-bottom: 6px;
}

.service-thumb {
  width: 190px;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-dark);
  margin-bottom: 20px;
}

.service-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  padding: 12px 0 26px;
}

.service-tags li {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--silver);
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  padding: 6px 14px;
}

.services-foot {
  margin-top: 34px;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
}

.services-foot a { color: #fff; text-underline-offset: 4px; }
.services-foot a:hover { color: var(--silver); }

/* ---------- Einblicke ---------- */

.works-grid {
  margin-top: clamp(40px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 2.6vw, 30px);
}

.work-card {
  text-decoration: none;
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  background: var(--dark);
}

.work-card figure { aspect-ratio: 16 / 10.5; overflow: hidden; }

.work-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out), opacity 0.4s;
}

.work-card:hover img { transform: scale(1.05); opacity: 0.82; }

.work-meta {
  position: absolute;
  inset: auto 0 0 0;
  background: linear-gradient(180deg, transparent, rgba(23, 25, 28, 0.92) 55%);
  color: #fff;
  padding: 56px 64px 20px 22px;
}

.work-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: var(--red);
  border-radius: 4px;
  padding: 4px 10px;
}

.work-meta h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
  margin-top: 10px;
  letter-spacing: -0.01em;
}

.work-arrow {
  position: absolute;
  right: 18px; bottom: 18px;
  width: 42px; height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--ink);
  transition: transform 0.35s var(--ease-out), background 0.3s, color 0.3s;
}
.work-arrow svg { width: 17px; height: 17px; }
.work-card:hover .work-arrow { transform: rotate(45deg); background: var(--red); color: #fff; }

.works-note {
  margin-top: 26px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* ---------- Team ---------- */

.team { background: var(--bg-soft); }

.team-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.team-grid {
  margin-top: clamp(40px, 5vw, 60px);
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: clamp(16px, 2.4vw, 26px);
}

.team-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s;
}

.team-card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: 0 8px 16px -12px rgba(27, 29, 31, 0.3), 0 30px 56px -30px rgba(27, 29, 31, 0.42);
}

.team-card figure {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--bg-soft);
  border-bottom: 4px solid var(--red);
}

.team-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out); }
.team-card:hover img { transform: scale(1.04); }

.team-body { padding: 18px 20px 22px; }

.team-body h3 { font-family: var(--font-display); font-weight: 800; font-size: 1.12rem; letter-spacing: -0.01em; }

.team-role {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--red);
  margin-top: 4px;
}

.team-quali { margin-top: 10px; font-size: 0.85rem; color: var(--ink-soft); line-height: 1.5; }

.team-contact { margin-top: 12px; display: flex; flex-direction: column; gap: 3px; }

.team-contact a {
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
  width: fit-content;
}
.team-contact a:hover { color: var(--red); }

.team-note-badge {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--bg-soft);
  color: var(--ink-soft);
  border-radius: 4px;
  padding: 4px 10px;
}

.team-subhead {
  margin-top: clamp(48px, 6vw, 72px);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  letter-spacing: -0.015em;
  display: flex;
  align-items: center;
  gap: 16px;
}

.team-subhead::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---------- Prozess ---------- */

.process { background: var(--bg); border-block: 1px solid var(--line); }

.process-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}

.process-copy { position: sticky; top: 110px; }

.process-steps {
  --rail-x: 15px;   /* X-Position der Linienmitte — Linie UND Punkte zentrieren sich darauf */
  --rail-pad: 50px; /* Abstand der Karten zur Listenkante */
  list-style: none;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-left: var(--rail-pad);
}

.process-steps::before {
  content: "";
  position: absolute;
  left: var(--rail-x); top: 16px; bottom: 16px;
  width: 3px;
  background: var(--red);
  border-radius: 2px;
  transform: translateX(-50%);
}

.step-card {
  position: relative;
  background: var(--bg-soft);
  border-radius: var(--radius-md);
  padding: 26px 28px;
  transition: box-shadow 0.3s var(--ease-out), background 0.3s;
}

/* Punkt exakt mittig auf der Linie (X = --rail-x) und vertikal in der
   Mitte des Kästchens (Y = 50%) — translate(-50%,-50%) zentriert unabhängig
   von Größe und Padding */
.step-card::before {
  content: "";
  position: absolute;
  left: calc(var(--rail-x) - var(--rail-pad)); top: 50%;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--red);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 6px var(--bg-soft);
  transition: box-shadow 0.3s var(--ease-out), border-color 0.3s;
}

.step-card:hover { background: #fff; box-shadow: 0 24px 50px -28px rgba(27, 29, 31, 0.45); }
.step-card:hover::before { box-shadow: 0 0 0 6px #fff; }

.step-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: var(--red);
}

.step-card h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  margin: 6px 0 8px;
  letter-spacing: -0.01em;
}

.step-card p { color: var(--ink-soft); font-size: 0.97rem; }

/* ---------- Stimmen ---------- */

.voices { background: var(--bg-soft); }

.voice-grid {
  margin-top: clamp(40px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 2.6vw, 30px);
}

.voice-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  border-top: 5px solid var(--red);
  padding: 34px 32px 30px;
  box-shadow: 0 18px 40px -28px rgba(27, 29, 31, 0.35);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.voice-card:hover { transform: translateY(-4px); box-shadow: 0 26px 52px -28px rgba(27, 29, 31, 0.45); }

.voice-card p { font-size: 1.05rem; line-height: 1.65; }

.voice-card footer { margin-top: 22px; display: flex; align-items: center; gap: 14px; }

.voice-avatar {
  width: 46px; height: 46px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--red);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
}

.voice-card footer strong { display: block; font-size: 0.97rem; }
.voice-card footer small { color: var(--ink-soft); font-size: 0.82rem; }

.voices-note { margin-top: 26px; text-align: center; font-size: 0.85rem; color: var(--ink-soft); }

/* ---------- Big CTA ---------- */

.big-cta { padding-block: clamp(40px, 6vw, 80px); }

.cta-panel {
  position: relative;
  background:
    radial-gradient(700px 340px at 12% 0%, rgba(23, 105, 123, 0.22), transparent 60%),
    var(--dark-deep);
  border-radius: calc(var(--radius-lg) + 6px);
  padding: clamp(56px, 8vw, 104px) clamp(24px, 6vw, 90px);
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.cta-wedge {
  position: absolute;
  top: 0; right: 0;
  width: 130px; height: 130px;
  background: var(--red);
  clip-path: polygon(100% 0, 100% 100%, 0 0);
  opacity: 0.9;
}

.cta-kicker {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--silver);
}

.cta-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 10vw, 7.5rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin-top: 16px;
}

.cta-title em { font-style: normal; color: var(--red); }

.cta-sub { max-width: 520px; margin: 22px auto 0; color: rgba(255, 255, 255, 0.72); }

.cta-actions {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.cta-address {
  margin-top: 34px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- Aktuelles ---------- */

.news-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.news-grid {
  margin-top: clamp(36px, 5vw, 56px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.4vw, 28px);
}

.news-card {
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s;
}

.news-card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: 0 8px 16px -12px rgba(27, 29, 31, 0.3), 0 30px 58px -30px rgba(27, 29, 31, 0.46);
}

.news-card figure { aspect-ratio: 16 / 9.5; overflow: hidden; }
.news-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out); }
.news-card:hover img { transform: scale(1.05); }

.news-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }

.news-tag {
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--red);
  background: var(--red-soft);
  border-radius: 4px;
  padding: 5px 11px;
}

.news-body h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.22rem;
  line-height: 1.25;
  margin-top: 13px;
  letter-spacing: -0.01em;
}

.news-body p { margin-top: 9px; color: var(--ink-soft); font-size: 0.93rem; flex: 1; }

.news-link {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.93rem;
  color: var(--ink);
}
.news-link svg { width: 16px; height: 16px; color: var(--red); transition: transform 0.3s var(--ease-out); }
.news-card:hover .news-link svg { transform: rotate(45deg); }

/* ---------- Legal pages ---------- */

.legal-hero {
  background: var(--dark);
  color: #fff;
  padding-block: clamp(48px, 7vw, 88px);
}

.legal-hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.4rem);
  letter-spacing: -0.02em;
}

.legal-body { max-width: 820px; padding-block: clamp(40px, 6vw, 72px); }

.legal-body h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  margin: 2.2em 0 0.6em;
}

.legal-body h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  margin: 1.8em 0 0.5em;
}

.legal-body p { margin-bottom: 1em; color: var(--ink-soft); }
.legal-body strong:first-child { color: var(--ink); }
.legal-body a { color: var(--red); text-underline-offset: 3px; }

/* ---------- Kontaktseite / Formular ---------- */

.contact-section { background: var(--bg-soft); border-top: 1px solid var(--line); }
.contact-section .contact-points { margin-top: 0; }
.contact-section .contact-aside { padding-top: 8px; }

.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.contact-aside { padding-top: 6px; }

.contact-aside .eyebrow { text-align: left; }

.contact-aside h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin-bottom: 16px;
}

.contact-aside > p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 42ch;
}

.contact-points { list-style: none; margin-top: 32px; display: flex; flex-direction: column; gap: 22px; }

.contact-point { display: flex; gap: 15px; align-items: flex-start; }

.contact-point-ico {
  flex: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--red-soft);
  display: grid;
  place-items: center;
}

.contact-point-ico svg { width: 21px; height: 21px; color: var(--red); }

.contact-point h3 {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 4px;
}

.contact-point a, .contact-point p {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.45;
}

.contact-point a:hover { color: var(--red); }
.contact-point p { font-weight: 500; color: var(--ink-soft); }

/* Formular-Karte */
.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: 0 40px 80px -50px rgba(27, 29, 31, 0.5);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.field { display: flex; flex-direction: column; margin-bottom: 14px; }

.field label {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin-bottom: 6px;
}

.field label .req { color: var(--red); }

.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--bg-soft);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.field textarea { resize: vertical; min-height: 104px; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--red);
  background: #fff;
  box-shadow: 0 0 0 3px var(--red-soft);
}

.field-check {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  margin: 2px 0 16px;
}

.field-check input {
  flex: none;
  width: 20px; height: 20px;
  margin-top: 2px;
  accent-color: var(--red);
}

.field-check label {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
  line-height: 1.5;
  margin: 0;
}

.field-check a { color: var(--red); }

.contact-form .btn { width: 100%; justify-content: center; }

.form-hint {
  margin-top: 16px;
  font-size: 0.82rem;
  color: var(--ink-soft);
  text-align: center;
  line-height: 1.5;
}

.form-status {
  margin-top: 16px;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 600;
  display: none;
}

.form-status.is-visible { display: block; }
.form-status { background: var(--bg-soft); color: var(--ink-soft); }
.form-status.is-ok { background: #E7F4EC; color: #1E7A46; }
.form-status.is-error { background: #FBEAE8; color: #B23A2E; }
.form-status.is-error a { color: inherit; text-underline-offset: 3px; }

/* Erfolgs-/Fehlermeldung ohne JavaScript (per URL-Anker #danke / #fehler) */
.form-sent {
  display: none;
  margin-bottom: 20px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  scroll-margin-top: 100px;
}
.form-sent:target { display: block; }
.form-sent--ok { background: #E7F4EC; color: #1E7A46; }
.form-sent--error { background: #FBEAE8; color: #B23A2E; }
.form-sent--error a { color: inherit; text-underline-offset: 3px; }

@media (max-width: 860px) {
  .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ---------- Bewerbung / Karriere ---------- */

.perk-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.4vw, 28px);
  margin-top: clamp(36px, 5vw, 56px);
}

.perk-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 32px);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.perk-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -40px rgba(27, 29, 31, 0.5);
}

.perk-ico {
  width: 50px; height: 50px;
  border-radius: 14px;
  background: var(--red-soft);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}

.perk-ico svg { width: 25px; height: 25px; color: var(--red); }

.perk-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.perk-card p { color: var(--ink-soft); line-height: 1.6; font-size: 0.98rem; }

.roles-band { background: var(--bg-soft); border-block: 1px solid var(--line); }

.roles-list {
  list-style: none;
  margin-top: clamp(28px, 4vw, 44px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 28px;
}

.roles-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  font-weight: 600;
  color: var(--ink);
}

.roles-list li::before {
  content: "";
  flex: none;
  width: 22px; height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2l-3.5-3.5L4 14.2 9 19.2 20 8.2l-1.5-1.5z' fill='%23fff'/%3E%3C/svg%3E") center / 16px no-repeat;
}

.roles-list li small { display: block; font-weight: 500; color: var(--ink-soft); font-size: 0.85rem; margin-top: 3px; }

@media (max-width: 860px) {
  .perk-grid { grid-template-columns: 1fr; }
  .roles-list { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--dark-deep);
  color: #fff;
  padding-top: clamp(56px, 8vw, 92px);
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: clamp(32px, 4vw, 56px);
  padding-bottom: clamp(44px, 6vw, 64px);
}

.footer-brand img { height: 52px; width: auto; background: #fff; border-radius: 8px; padding: 7px 12px; }

.footer-brand p {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.95rem;
  max-width: 340px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 18px;
}

.footer-col a {
  display: block;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.75);
  padding-block: 5px;
  font-size: 0.95rem;
  width: fit-content;
  transition: color 0.2s, transform 0.25s var(--ease-out);
}

.footer-col a:hover { color: #fff; transform: translateX(4px); }

.footer-col address { font-style: normal; color: rgba(255, 255, 255, 0.75); font-size: 0.95rem; line-height: 1.7; }
.footer-fax { color: rgba(255, 255, 255, 0.5); }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--line-dark);
  padding-block: 22px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-legal nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-legal a { color: rgba(255, 255, 255, 0.65); text-decoration: none; }
.footer-legal a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }

.footer-wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(4rem, 16.5vw, 14.5rem);
  line-height: 0.8;
  text-align: center;
  letter-spacing: 0.02em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.18);
  user-select: none;
  transform: translateY(0.1em);
  transition: -webkit-text-stroke-color 0.5s;
}

.footer-wordmark:hover { -webkit-text-stroke-color: rgba(23, 105, 123, 0.6); }

/* ---------- Reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.is-visible { opacity: 1; transform: none; }

/* Fade ohne Verschiebung — für Elemente, die auf einer Linie fixiert sind */
.reveal-fade {
  opacity: 0;
  transition: opacity 0.7s var(--ease-out);
}

.reveal-fade.is-visible { opacity: 1; }

.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }
.d4 { transition-delay: 0.4s; }

/* ---------- Responsive ---------- */

/* Header-Platz: Claim und Telefonnummer früh ausblenden, damit nichts überlappt */
@media (max-width: 1240px) { .brand-claim { display: none; } }
@media (max-width: 1120px) { .header-phone { display: none; } }

@media (max-width: 1020px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 520px; }
  .process-grid { grid-template-columns: 1fr; }
  .process-copy { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .header-phone { display: none; }
  .brand-claim { display: none; }
}

/* Header: Hamburger-Navigation schon ab 980px, damit nichts umbricht */
@media (max-width: 980px) {
  .main-nav {
    position: fixed;
    inset: 0 0 auto 0;
    flex-direction: column;
    gap: 4px;
    background: #fff;
    border-bottom: 3px solid var(--red);
    padding: 92px 28px 30px;
    transform: translateY(-105%);
    transition: transform 0.4s var(--ease-out);
    z-index: 40;
    box-shadow: 0 30px 60px -30px rgba(27, 29, 31, 0.5);
  }
  .main-nav.is-open { transform: translateY(0); }
  .main-nav a { font-size: 1.3rem; font-family: var(--font-display); font-weight: 800; padding-block: 10px; }
  .nav-toggle { display: flex; z-index: 60; }
}

/* Hero: Tablet & Mobile — Bild zuerst, dann Text */
@media (max-width: 900px) {
  .hero--cover {
    min-height: min(calc(100vh - 76px), 640px);
    padding-block: clamp(56px, 12vh, 120px) clamp(36px, 6vh, 64px);
  }
  /* Auf Mobile Inhalt oben ausrichten, damit die Headline nicht zu hoch klebt */
  .hero-inner { justify-content: flex-start; }
  .hero-bg img { object-position: center 40%; }
  /* Gleichmäßiger, dunkler Verlauf über das ganze Bild — Text bleibt überall lesbar */
  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(23, 25, 28, 0.9) 0%, rgba(23, 25, 28, 0.68) 45%, rgba(23, 25, 28, 0.55) 100%);
  }
  .hero-copy { max-width: none; }
  /* Kicker-Bubble bleibt auf Mobile — nur kompakter, bricht sauber innerhalb der Pill um */
  .hero-kicker {
    font-size: 0.64rem;
    letter-spacing: 0.05em;
    line-height: 1.35;
    padding: 8px 15px;
    gap: 8px;
    margin-bottom: 16px;
    max-width: 100%;
  }
  .hero-kicker > span:last-child { flex: 1; min-width: 0; }
  .hero h1 { font-size: clamp(2.1rem, 8.4vw, 3rem); }
  .hero-sub { margin-top: 16px; }
  .hero-badges { margin-top: 28px; }
  .hero-scroll { display: none; }
}

@media (max-width: 760px) {
  .header-actions .btn { display: none; }
  .brand img { height: 40px; }
  .topbar { font-size: 0.78rem; padding: 8px 12px; }
  .topbar-long { display: none; }
  .topbar-short { display: inline; }

  .works-grid, .voice-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .fact-grid { grid-template-columns: 1fr 1fr; }
  .standorte-strip { grid-template-columns: 1fr; }
  .std-item { border-left: 0; border-top: 1px solid var(--line); }
  .std-item:first-child { border-top: 0; }
  .std-item.std-main { box-shadow: inset 4px 0 0 var(--red); }
  .service-body-inner { grid-template-columns: 1fr; padding-left: 0; }
  .service-thumb { width: 100%; max-width: 340px; }
  .service-num { display: none; }
  /* Petrol-Strich auf Mobile ausblenden (überlappte Text) — offener Punkt bleibt farblich getönt */
  .service-row::before { display: none; }
  .service-head { padding-left: 10px; }
  .service-head:hover { padding-left: 10px; }
  .about-motto { position: static; max-width: none; margin-top: 14px; border-radius: var(--radius-md); }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-actions .btn { width: 100%; }
  .process-steps { --rail-x: 9px; --rail-pad: 34px; }
}

@media (max-width: 460px) {
  .fact-grid { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
  .hero-trust { gap: 8px 18px; margin-top: 28px; }
  .hero-badges .hero-badge { font-size: 0.72rem; padding: 7px 13px; }
  .topbar-long { display: none; }
  .topbar-short { display: inline; }
}

/* ---------- Reduced motion ---------- */

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

/* ---------- FAQ ---------- */
.faq { background: var(--bg-soft); }
.faq-list { max-width: 820px; margin: clamp(36px, 5vw, 56px) auto 0; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow 0.3s var(--ease-out), border-color 0.3s;
}
.faq-item[open] { border-color: transparent; box-shadow: 0 20px 44px -28px rgba(27, 29, 31, 0.35); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  letter-spacing: -0.01em;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--red); }
.faq-icon { position: relative; flex: none; width: 22px; height: 22px; }
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  background: var(--red); border-radius: 2px;
  transition: transform 0.3s var(--ease-out);
}
.faq-icon::before { width: 13px; height: 2.5px; transform: translate(-50%, -50%); }
.faq-icon::after { width: 2.5px; height: 13px; transform: translate(-50%, -50%); }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) scaleY(0); }
.faq-answer { padding: 0 24px 22px; }
.faq-answer p { color: var(--ink-soft); font-size: 0.98rem; line-height: 1.6; max-width: 64ch; }
.faq-answer a { color: var(--red); text-underline-offset: 3px; }

/* ---------- 404-Seite ---------- */
.error-section { text-align: center; }
.error-inner { max-width: 640px; margin-inline: auto; }
.error-code {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(5rem, 20vw, 11rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: rgba(23, 105, 123, 0.16);
  margin-bottom: 6px;
}
.error-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
