/* ============================================================
   SATIR Versorgungstechnik GmbH — satir-versorgungstechnik.de
   ============================================================ */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../assets/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../assets/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-024F, U+1E00-1EFF, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Farben direkt aus dem SATIR-Logo gesampelt */
  --navy: #0d3a64;
  --navy-deep: #082e52;
  --blue: #1575b1;
  --blue-dark: #1c5c98;
  --blue-sky: #139cd8;
  --grad: linear-gradient(135deg, #139cd8 0%, #1575b1 55%, #1c5c98 100%);
  --blue-light: #e6f2fa;
  --red: #d22626;
  --ink: #16293c;
  --muted: #55697c;
  --line: #dfe9f1;
  --bg-soft: #f2f7fb;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px rgba(10, 43, 71, 0.06), 0 2px 8px rgba(10, 43, 71, 0.06);
  --shadow-md: 0 6px 24px rgba(10, 43, 71, 0.1);
  --shadow-lg: 0 16px 48px rgba(10, 43, 71, 0.16);
  --radius: 16px;
  --header-h: 76px;
  --topbar-h: 42px;
}
@media (max-width: 900px) {
  :root { --topbar-h: 0px; }
}

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

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

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  line-height: 1.15;
  color: var(--navy);
  font-weight: 800;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }

p { margin: 0 0 1.2em; }
p:last-child { margin-bottom: 0; }

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }

ul { padding-left: 1.2em; }

.container {
  width: min(1180px, 92%);
  margin-inline: auto;
}

.narrow { width: min(820px, 92%); margin-inline: auto; }

section { padding: clamp(64px, 9vw, 110px) 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 8px 24px rgba(21, 117, 177, 0.35);
}
.btn-primary:hover { filter: brightness(1.08); color: #fff; box-shadow: 0 10px 28px rgba(21, 117, 177, 0.45); }

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.16); color: #fff; border-color: #fff; }

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

.btn-white {
  background: #fff;
  color: var(--navy);
  box-shadow: var(--shadow-md);
}
.btn-white:hover { color: var(--blue); }

/* ---------- Eyebrow / section headers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
  flex: none;
}
.eyebrow.on-dark { color: #6ec6f0; }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.centered { margin-inline: auto; text-align: center; }
.section-head.centered .eyebrow { justify-content: center; }
.section-head p { color: var(--muted); font-size: 1.06rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 24px rgba(10, 43, 71, 0.07);
}

.topbar {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8rem;
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  overflow: hidden;
  transition: height 0.3s ease, opacity 0.3s ease;
}
.site-header.scrolled .topbar { height: 0; opacity: 0; }
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.topbar-item, .topbar a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.topbar svg { width: 14px; height: 14px; color: var(--blue-sky); flex: none; }
.topbar a { color: rgba(255, 255, 255, 0.88); font-weight: 600; letter-spacing: 0.02em; }
.topbar a:hover { color: #fff; }
.topbar-right { display: flex; gap: 26px; }
@media (max-width: 900px) { .topbar { display: none; } }

.header-main { height: var(--header-h); display: flex; align-items: center; }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 34px; width: auto; }
.brand-sub {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-top: 2px;
}

.main-nav { display: flex; align-items: center; gap: 34px; }
.main-nav a {
  position: relative;
  padding: 9px 1px;
  font-weight: 600;
  font-size: 0.97rem;
  color: var(--ink);
  transition: color 0.2s ease;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.main-nav a:hover { color: var(--blue); }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.main-nav a.active { color: var(--blue); }
.main-nav a.nav-cta {
  background: var(--navy);
  color: #fff;
  margin-left: 6px;
  padding: 12px 26px;
  border-radius: 999px;
  transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}
.main-nav a.nav-cta::after { display: none; }
.main-nav a.nav-cta:hover {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 8px 20px rgba(21, 117, 177, 0.35);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: #fff;
    padding: 18px 5vw 28px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    transform: translateY(-16px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s;
  }
  body.nav-open .main-nav { transform: translateY(0); opacity: 1; visibility: visible; }
  .main-nav { gap: 4px; }
  .main-nav a { padding: 14px 18px; font-size: 1.05rem; border-radius: 12px; }
  .main-nav a::after { display: none; }
  .main-nav a:hover { background: var(--blue-light); }
  .main-nav a.nav-cta { margin: 10px 0 0; text-align: center; justify-content: center; display: flex; background: var(--grad); }
}

/* ---------- Hero (Start) ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + var(--topbar-h) + 40px) 0 80px;
  overflow: hidden;
  background: var(--navy-deep);
}
.hero-media, .hero-media video, .hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Überstand unten für den Parallax-Versatz beim Scrollen */
.hero-media {
  inset: -2% 0 -12% 0;
  height: auto;
  will-change: transform;
}
.hero-media video, .hero-media img {
  filter: saturate(1.12) contrast(1.05);
}
/* Poster liegt unter dem Video: Sichtbar bis das Video abspielbereit ist,
   dann blendet das Video weich darüber ein (kein Poster-Pop) */
.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../assets/img/hausrundflug-m4v-image-800.webp") center / cover no-repeat;
  filter: saturate(1.12) contrast(1.05);
}
.hero-media video {
  opacity: 0;
  transition: opacity 1.4s ease;
}
.hero-media video.playing {
  opacity: 1;
  animation: heroZoom 38s ease-in-out infinite alternate;
}
/* Langsamer Ken-Burns-Zoom: macht den Drohnenflug filmischer */
@keyframes heroZoom {
  from { transform: scale(1.02); }
  to { transform: scale(1.14); }
}
/* Scrim nur hinter dem Text links und unten am Rand – die rechte Bildhälfte
   bleibt frei, damit das Video natürlich und kontrastreich wirkt.
   Dazu eine Rand-Vignette für Kino-Tiefe */
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(135% 105% at 50% 32%, rgba(8, 46, 82, 0) 58%, rgba(8, 46, 82, 0.42) 100%),
    linear-gradient(80deg, rgba(8, 46, 82, 0.9) 0%, rgba(8, 46, 82, 0.62) 30%, rgba(8, 46, 82, 0.24) 54%, rgba(8, 46, 82, 0) 72%),
    linear-gradient(0deg, rgba(8, 46, 82, 0.55) 0%, rgba(8, 46, 82, 0) 30%);
}
@media (max-width: 700px) {
  /* Mobil steht der Text über der ganzen Breite – gleichmäßiger Scrim */
  .hero-media::after {
    background:
      radial-gradient(160% 110% at 50% 35%, rgba(8, 46, 82, 0) 55%, rgba(8, 46, 82, 0.4) 100%),
      linear-gradient(180deg, rgba(8, 46, 82, 0.55) 0%, rgba(8, 46, 82, 0.4) 45%, rgba(8, 46, 82, 0.78) 100%);
  }
}
.hero-content { position: relative; z-index: 2; color: #fff; max-width: 760px; }
/* Gestaffelter Auftritt der Hero-Elemente beim Laden */
@keyframes heroRise {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}
@keyframes heroFade {
  from { opacity: 0; }
  to { opacity: 1; }
}
.hero-content > * { animation: heroRise 0.85s cubic-bezier(0.22, 0.61, 0.36, 1) both; }
.hero-content > :nth-child(2) { animation-delay: 0.12s; }
.hero-content > :nth-child(3) { animation-delay: 0.24s; }
.hero-content > :nth-child(4) { animation-delay: 0.36s; }
.hero-content > :nth-child(5) { animation-delay: 0.48s; }
.hero-content h1 { color: #fff; margin-bottom: 24px; }
.hero-content h1 .accent {
  background: linear-gradient(100deg, #5ec8f2 0%, #139cd8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #cfe6f7;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px 18px;
  border-radius: 999px;
  margin-bottom: 26px;
  backdrop-filter: blur(6px);
}
.hero-kicker::before {
  content: "";
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--red);
}
.hero-content p.lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.88);
  max-width: 600px;
  margin-bottom: 38px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  margin-top: 28px;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
}
.hero-proof .stars {
  display: inline-flex;
  gap: 2px;
  color: #f7b733;
}
.hero-proof .stars svg {
  width: 14px;
  height: 14px;
  filter: drop-shadow(0 1px 2px rgba(8, 46, 82, 0.6));
}

/* ---------- Vertrauensleiste ---------- */
.trust-strip {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.trust-strip-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 44px;
}
.trust-strip-inner span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.01em;
}
.trust-strip-inner svg {
  width: 18px;
  height: 18px;
  color: var(--blue);
  flex: none;
}
@media (max-width: 700px) {
  .trust-strip { padding: 16px 0; }
  .trust-strip-inner { gap: 10px 24px; }
  .trust-strip-inner span { font-size: 0.8rem; }
}

.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: heroFade 1s ease 1.1s both;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.hero-scroll::after {
  content: "";
  width: 1px;
  height: 44px;
  background: linear-gradient(rgba(255,255,255,0.8), rgba(255,255,255,0));
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.55); opacity: 0.5; }
}

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + var(--topbar-h) + clamp(56px, 9vw, 96px)) 0 clamp(56px, 8vw, 88px);
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(19, 156, 216, 0.38), transparent 60%),
    radial-gradient(700px 400px at -5% 110%, rgba(21, 117, 177, 0.26), transparent 60%),
    var(--navy);
  color: #fff;
  overflow: hidden;
}
.page-hero .ph-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(1.15);
}
.page-hero .ph-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13, 58, 100, 0.96) 0%, rgba(13, 58, 100, 0.85) 42%, rgba(16, 68, 116, 0.55) 100%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; }
.page-hero p.lead {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.02rem, 1.8vw, 1.2rem);
  max-width: 680px;
}
.page-hero .eyebrow { color: #6ec6f0; }
.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 34px;
}
.breadcrumb a { color: rgba(255, 255, 255, 0.8); }
.breadcrumb a:hover { color: #fff; }

/* ---------- Stats band ---------- */
.stats-band { background: var(--white); padding: 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}
.stat {
  background: var(--white);
  padding: clamp(28px, 4vw, 44px) 20px;
  text-align: center;
}
.stat strong {
  display: block;
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.stat strong .unit { color: var(--blue-sky); }
.stat span { color: var(--muted); font-size: 0.92rem; font-weight: 500; }
@media (max-width: 760px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Split (text + image) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}
.split.reverse > .split-media { order: 2; }
.split-media { position: relative; }
.split-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}
.split-media .floating-card {
  position: absolute;
  bottom: -22px;
  right: -14px;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  padding: 16px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 78%;
}
.floating-card .fc-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--blue-light);
  color: var(--blue);
  display: grid;
  place-items: center;
  flex: none;
}
.floating-card .fc-icon svg { width: 22px; height: 22px; }
.floating-card strong { display: block; color: var(--navy); font-size: 0.98rem; line-height: 1.3; }
.floating-card span { color: var(--muted); font-size: 0.82rem; }
.split-body p { color: var(--muted); }
.split-body .btn { margin-top: 10px; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse > .split-media { order: 0; }
}

/* ---------- Check list ---------- */
.check-list { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.check-list li::before {
  content: "";
  flex: none;
  width: 22px; height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--blue-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231575b1' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4 10-10'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ---------- Service cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
@media (max-width: 980px) { .card-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .card-grid { grid-template-columns: 1fr; } }

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card .card-media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; }
.service-card .card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.service-card:hover .card-media img { transform: scale(1.05); }
.service-card .card-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.service-card h3 { margin-bottom: 8px; }
.service-card p { color: var(--muted); font-size: 0.98rem; flex: 1; }
.card-link {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--blue);
}
.card-link svg { width: 16px; height: 16px; transition: transform 0.2s ease; }
.service-card:hover .card-link svg, .ref-card:hover .card-link svg { transform: translateX(4px); }
.card-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-light);
  padding: 5px 12px;
  border-radius: 999px;
}

/* ---------- Feature grid (Warum wir) ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
@media (max-width: 980px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }

.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.feature-icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: var(--grad);
  color: #fff;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  box-shadow: 0 6px 16px rgba(21, 117, 177, 0.3);
}
.feature-icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.1rem; }
.feature p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Services detail (Leistungen) ---------- */
.service-section { border-top: 1px solid var(--line); }
.service-section:first-of-type { border-top: 0; }
.sub-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}
@media (max-width: 900px) { .sub-cards { grid-template-columns: 1fr; } }
.sub-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px 24px;
}
.sub-card h4 { font-size: 1.05rem; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.sub-card h4::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--red);
  flex: none;
}
.sub-card p { color: var(--muted); font-size: 0.94rem; }

/* ---------- References ---------- */
.ref-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
@media (max-width: 980px) { .ref-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .ref-grid { grid-template-columns: 1fr; } }

.ref-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.ref-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.ref-card .card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.ref-card .card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.ref-card:hover .card-media img { transform: scale(1.05); }
.ref-loc {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(7, 24, 42, 0.78);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 7px 13px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}
.ref-loc svg { width: 13px; height: 13px; }
.ref-card .card-body { padding: 24px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.ref-card h3 { font-size: 1.15rem; }
.ref-card p { color: var(--muted); font-size: 0.95rem; flex: 1; }

/* ---------- Milestone / big projects ---------- */
.milestones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .milestones { grid-template-columns: 1fr; } }
.milestone {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  border-radius: 12px;
  padding: 26px 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.milestone:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.milestone .years {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--blue);
  text-transform: uppercase;
}
.milestone h3 { font-size: 1.08rem; margin: 8px 0 4px; }
.milestone p { color: var(--muted); font-size: 0.92rem; margin: 0; }

/* ---------- Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 380px));
  justify-content: center;
  gap: 30px;
}
@media (max-width: 700px) { .team-grid { grid-template-columns: 1fr; } }
.team-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.team-card img { width: 100%; aspect-ratio: 1 / 1.05; object-fit: cover; object-position: top; }
.team-card .card-body { padding: 24px; }
.team-card h3 { margin-bottom: 2px; }
.team-card span { color: var(--blue); font-weight: 600; font-size: 0.95rem; }

/* ---------- Timeline ---------- */
.timeline { position: relative; margin: 10px 0 0; padding-left: 34px; display: grid; gap: 34px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 8px; top: 6px; bottom: 6px;
  width: 2px;
  background: linear-gradient(var(--blue-sky), var(--blue), var(--blue-light));
}
.timeline-item { position: relative; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -34px; top: 6px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--blue);
}
.timeline-item:first-child::before { border-color: var(--red); }
.timeline-item h3 { font-size: 1.1rem; margin-bottom: 4px; }
.timeline-item p { color: var(--muted); font-size: 0.97rem; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  background:
    radial-gradient(900px 400px at 90% 0%, rgba(19, 156, 216, 0.5), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(210, 38, 38, 0.16), transparent 55%),
    var(--navy);
  color: #fff;
  overflow: hidden;
}
.cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.cta-inner h2 { color: #fff; margin-bottom: 10px; }
.cta-inner p { color: rgba(255, 255, 255, 0.8); max-width: 520px; margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.cta-phone {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  font-weight: 700;
  font-size: 1.15rem;
}
.cta-phone:hover { color: #9fd4f7; }
.cta-phone .fc-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: grid;
  place-items: center;
}
.cta-phone svg { width: 20px; height: 20px; }
.cta-phone small { display: block; font-size: 0.75rem; font-weight: 500; color: rgba(255,255,255,0.65); letter-spacing: 0.08em; text-transform: uppercase; }

/* ---------- Contact page ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(36px, 5vw, 70px);
  align-items: start;
}
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }

.contact-cards { display: grid; gap: 16px; }
.contact-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 24px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.contact-card .fc-icon {
  width: 48px; height: 48px;
  border-radius: 13px;
  background: var(--blue-light);
  color: var(--blue);
  display: grid;
  place-items: center;
  flex: none;
}
.contact-card .fc-icon svg { width: 22px; height: 22px; }
.contact-card strong { display: block; color: var(--navy); margin-bottom: 2px; }
.contact-card a.big, .contact-card span.big { font-size: 1.05rem; font-weight: 600; }
.contact-card small { color: var(--muted); display: block; margin-top: 2px; }

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: clamp(26px, 4vw, 40px);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-weight: 600; font-size: 0.9rem; color: var(--navy); }
.form-field input, .form-field select, .form-field textarea {
  font: inherit;
  font-size: 0.98rem;
  color: var(--ink);
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--bg-soft);
  transition: border-color 0.2s ease, background 0.2s ease;
  width: 100%;
}
.form-field textarea { resize: vertical; min-height: 140px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
}
.form-note { font-size: 0.82rem; color: var(--muted); margin: 14px 0 20px; }

/* ---------- Legal pages ---------- */
.legal h2 { font-size: 1.35rem; margin-top: 2em; }
.legal h2:first-of-type { margin-top: 0; }
.legal p, .legal li { color: var(--muted); }
.legal strong { color: var(--ink); }
.legal address { font-style: normal; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.75);
  padding: clamp(56px, 7vw, 80px) 0 0;
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
}
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand .word {
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff;
}
.footer-brand .word .dot { color: var(--red); }
.footer-brand .sub {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 2px;
}
.footer-brand p { margin-top: 18px; color: rgba(255, 255, 255, 0.6); max-width: 300px; }
.badge-meister {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.badge-meister svg { width: 15px; height: 15px; color: #f0b429; }

.site-footer h4 {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-list a { color: rgba(255, 255, 255, 0.75); }
.footer-list a:hover { color: #fff; }
.footer-contact { display: grid; gap: 12px; font-style: normal; }
.footer-contact a { color: rgba(255, 255, 255, 0.85); font-weight: 600; }
.footer-contact a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 22px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}
.footer-bottom a { color: rgba(255, 255, 255, 0.7); }
.footer-bottom a:hover { color: #fff; }
.footer-legal { display: flex; gap: 20px; }

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: var(--d, 0s);
}
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-scroll::after { animation: none; }
  .hero-media video.playing { animation: none; }
  .hero-content > * { animation: none; }
  .hero-scroll { animation: none; }
  .faq-item[open] p { animation: none; }
  * { transition-duration: 0.01ms !important; }
}

/* ---------- Scroll-Fortschritt ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 210;
  background: var(--grad);
  transform-origin: 0 50%;
  transform: scaleX(0);
  pointer-events: none;
}

/* ---------- Anker unter fixem Header ---------- */
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

/* ---------- Barrierefreiheit ---------- */
:focus-visible {
  outline: 3px solid var(--blue-sky);
  outline-offset: 3px;
  border-radius: 4px;
}
.btn:focus-visible, .nav-cta:focus-visible { outline-offset: 4px; }

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 200;
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 0 0 12px 12px;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 0; color: #fff; }

/* ---------- Mobiler Anruf-Button ---------- */
.call-fab {
  display: none;
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 28px rgba(21, 117, 177, 0.45);
}
.call-fab svg { width: 26px; height: 26px; }
.call-fab::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--blue-sky);
  opacity: 0.5;
  z-index: -1;
  animation: fabPulse 2.4s ease-out infinite;
}
@keyframes fabPulse {
  0% { transform: scale(1); opacity: 0.5; }
  70%, 100% { transform: scale(1.7); opacity: 0; }
}
@media (max-width: 900px) {
  .call-fab { display: grid; place-items: center; }
}
@media (prefers-reduced-motion: reduce) {
  .call-fab::before { animation: none; opacity: 0; }
}

/* ---------- Prozess / Ablauf ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: step;
}
@media (max-width: 980px) { .process-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .process-grid { grid-template-columns: 1fr; } }
.process-step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.process-step:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.process-step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 18px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.process-step h3 { font-size: 1.08rem; }
.process-step p { color: var(--muted); font-size: 0.95rem; }

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-weight: 600;
  color: var(--navy);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  margin-right: 4px;
  border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.25s ease;
}
.faq-item[open] summary { color: var(--blue-dark); }
.faq-item[open] summary::after { transform: rotate(225deg); }
.faq-item p {
  padding: 0 24px 22px;
  color: var(--muted);
  font-size: 0.96rem;
}
.faq-item[open] p { animation: faqOpen 0.35s ease; }
@keyframes faqOpen {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Info-Banner (Förderung) ---------- */
.info-banner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(20px, 3vw, 34px);
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow-md);
}
@media (max-width: 800px) {
  .info-banner { grid-template-columns: 1fr; justify-items: start; }
}
.info-banner .fc-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--blue-sky);
  display: grid;
  place-items: center;
  flex: none;
}
.info-banner .fc-icon svg { width: 28px; height: 28px; }
.info-banner h3 { color: #fff; font-size: 1.3rem; margin-bottom: 6px; }
.info-banner p { color: rgba(255, 255, 255, 0.78); margin: 0; font-size: 0.97rem; max-width: 62ch; }

/* ---------- Einzugsgebiet ---------- */
.area-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  max-width: 760px;
  margin: 0 auto;
}
.area-chips span {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
}
.area-chips .chip-home {
  background: var(--grad);
  border-color: transparent;
  color: #fff;
}

/* ---------- Utilities ---------- */
.bg-soft { background: var(--bg-soft); }
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }

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

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 14px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow 0.25s ease;
}
.faq-item[open] { box-shadow: var(--shadow-md); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 54px 20px 24px;
  font-weight: 700;
  color: var(--navy);
  position: relative;
  transition: color 0.2s ease;
}
.faq-item summary:hover { color: var(--blue); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 22px;
  height: 22px;
  transform: translateY(-50%);
  background: var(--blue-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231575b1' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 12px no-repeat;
  border-radius: 50%;
  transition: transform 0.25s ease;
}
.faq-item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
  background-color: var(--blue);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
}
.faq-item p { padding: 0 24px 22px; color: var(--muted); margin: 0; }

/* ---------- Formular-Status ---------- */
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-success {
  display: grid;
  gap: 8px;
  padding: 28px;
  background: var(--blue-light);
  border: 1px solid rgba(21, 117, 177, 0.25);
  border-radius: 14px;
  color: var(--ink);
}
.form-success strong { color: var(--navy); font-size: 1.1rem; }

/* ---------- Kundenstimmen ---------- */
.testimonial-band {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
}
.testimonial {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  padding: clamp(30px, 5vw, 52px) clamp(24px, 5vw, 60px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.testimonial::before {
  content: "\201C";
  position: absolute;
  top: -0.35em;
  left: 24px;
  font-size: 6rem;
  line-height: 1;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--blue-light);
  z-index: 0;
}
.testimonial .t-stars {
  color: #f5a623;
  font-size: 1.4rem;
  letter-spacing: 4px;
  margin-bottom: 20px;
  position: relative;
}
.testimonial blockquote {
  position: relative;
  z-index: 1;
  margin: 0 0 24px;
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  line-height: 1.5;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.testimonial figcaption {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.98rem;
}
.testimonial .t-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 700;
}

/* ---------- Footer: Google-Bewertung ---------- */
.footer-review {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 22px 0 26px;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-review .fr-left { display: flex; align-items: center; gap: 16px; }
.footer-review .fr-stars { color: #f5b301; font-size: 1.5rem; letter-spacing: 2px; flex: none; }
.footer-review .fr-text { display: grid; gap: 2px; }
.footer-review .fr-text strong { color: #fff; font-size: 1.08rem; }
.footer-review .fr-text span { color: rgba(255, 255, 255, 0.7); font-size: 0.92rem; }
.footer-review .fr-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: #1a1a1a;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 22px;
  border-radius: 999px;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.footer-review .fr-btn:hover { color: #1a1a1a; transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25); }
@media (max-width: 640px) {
  .footer-review { flex-direction: column; align-items: flex-start; }
  .footer-review .fr-btn { width: 100%; justify-content: center; }
}
