/* ============================================================
   NIKOLOVSKI TROCKENBAU — Design System
   Konzept: "Engineered Precision" — Ingenieurspräzision
   Marineblau/Stahlblau (Logo) + Signal-Orange (CTA)
   Typografie: Barlow Condensed (Display) / Barlow (Text)
   ============================================================ */

/* ---------- Fonts (lokal gehostet, DSGVO-konform) ----------
   Raleway = Display/Überschriften · Arimo = Fließtext */
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../assets/fonts/raleway-v37-latin_latin-ext-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/raleway-v37-latin_latin-ext-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/raleway-v37-latin_latin-ext-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Arimo';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/arimo-v36-latin_latin-ext-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Arimo';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../assets/fonts/arimo-v36-latin_latin-ext-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Arimo';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/arimo-v36-latin_latin-ext-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Arimo';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/arimo-v36-latin_latin-ext-700.woff2') format('woff2');
}
/* Roboto — für Überschriften, Buttons, Navigation und Zahlen */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../assets/fonts/roboto-v51-latin_latin-ext-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/roboto-v51-latin_latin-ext-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/roboto-v51-latin_latin-ext-700.woff2') format('woff2');
}

/* ---------- Design Tokens ---------- */
:root {
  /* Farben — abgeleitet aus dem Logo */
  --navy-950: #071A30;
  --navy-900: #0B2342;
  --navy-800: #103156;
  --navy-700: #16406F;
  --steel-600: #2470B3;
  --steel-500: #2E7CC4;
  --steel-400: #5B9BD8;
  --steel-200: #BCD8F1;
  --steel-100: #E3EEF9;
  --signal-500: #1A72D4;
  --signal-600: #1560BC;
  --paper: #F4F7FA;
  --white: #FFFFFF;
  --ink-900: #14202E;
  --ink-600: #44566B;
  --ink-400: #74879C;
  --line: #DBE4EC;
  --line-dark: rgba(255, 255, 255, 0.14);

  /* Typografie */
  --font-display: 'Roboto', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Arimo', Arial, sans-serif;
  --font-number: 'Roboto', 'Segoe UI', Arial, sans-serif;

  /* Layout */
  --container: 1640px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(2.25rem, 4vw, 3.5rem);
  --radius: 2px;

  --shadow-md: 0 14px 40px -12px rgba(7, 26, 48, 0.22);
  --shadow-lg: 0 30px 70px -20px rgba(7, 26, 48, 0.38);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

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

img { max-width: 100%; display: block; }
a { color: var(--steel-600); text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; }
strong { font-weight: 600; }

::selection { background: var(--signal-500); color: var(--white); }

:focus-visible {
  outline: 3px solid var(--signal-500);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 999;
  background: var(--navy-900);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---------- Typografie ---------- */
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--navy-900);
}

h1 { font-size: clamp(2.75rem, 6.5vw, 4.75rem); }
h2 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); letter-spacing: 0; }

.lead {
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  color: var(--ink-600);
  max-width: 62ch;
}

.accent { color: var(--signal-500); }
.accent-steel { color: var(--steel-500); }

/* Kicker — technische Sektionsnummer, z. B. [01] — Leistungen */
.kicker {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--steel-600);
  margin-bottom: 1.1rem;
}
.kicker .num {
  color: var(--signal-500);
  font-weight: 700;
}
.kicker::after {
  content: '';
  width: 56px;
  height: 1px;
  background: currentColor;
  opacity: 0.45;
}
.kicker--light { color: var(--steel-200); }

/* Maßband-Linie — Markenzeichen unter Überschriften */
.ruler {
  height: 12px;
  margin-top: 1.4rem;
  background:
    repeating-linear-gradient(
      to right,
      var(--steel-400) 0 1px,
      transparent 1px 12px
    );
  -webkit-mask: linear-gradient(to right, #000 60%, transparent);
          mask: linear-gradient(to right, #000 60%, transparent);
  position: relative;
  max-width: 320px;
}
.ruler::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 1px;
  background: var(--signal-500);
}

/* ---------- Layout-Helfer ---------- */
.container {
  width: min(var(--container), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

.section { padding-block: var(--section-y); position: relative; }
.section--paper { background: var(--paper); }
.section--navy {
  background: var(--navy-950);
  color: var(--steel-100);
}
.section--navy h2, .section--navy h3 { color: var(--white); }

/* Blueprint-Raster für dunkle Sektionen */
.bg-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(91, 155, 216, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 155, 216, 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 78%);
          mask: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 78%);
}

.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .kicker { justify-content: center; }
.section-head--center .ruler { margin-inline: auto; -webkit-mask: linear-gradient(to right, transparent, #000 30% 70%, transparent); mask: linear-gradient(to right, transparent, #000 30% 70%, transparent); }
.section-head--center .ruler::before { display: none; }
.section-head .lead { margin-top: 1.1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.95rem 1.9rem;
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s, color 0.25s, box-shadow 0.25s;
  white-space: nowrap;
}
.btn svg { width: 19px; height: 19px; flex: none; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--signal-500);
  color: var(--white);
  box-shadow: 0 10px 26px -10px rgba(26, 114, 212, 0.5);
}
.btn--primary:hover { background: var(--signal-600); transform: translateY(-2px); }

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
}
.btn--ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); transform: translateY(-2px); }

.btn--navy {
  border-color: var(--navy-800);
  color: var(--navy-800);
}
.btn--navy:hover { background: var(--navy-800); color: var(--white); transform: translateY(-2px); }

.btn--lg { font-size: 1.2rem; padding: 1.15rem 2.4rem; }
.btn--block { width: 100%; }

/* ---------- Topbar ---------- */
.topbar {
  background: var(--navy-950);
  color: var(--steel-200);
  font-size: 0.9rem;
  font-weight: 500;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 40px;
}
.topbar a { color: var(--white); font-weight: 600; transition: color 0.2s; }
.topbar a:hover { color: var(--signal-500); }
.topbar__item { display: inline-flex; align-items: center; gap: 0.45rem; }
.topbar__item svg { width: 15px; height: 15px; color: var(--steel-400); }
.topbar__group { display: flex; gap: 1.6rem; align-items: center; }
@media (max-width: 760px) {
  .topbar__hide-sm { display: none; }
  .topbar .container { justify-content: center; }
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s;
}
.header.is-scrolled { box-shadow: 0 10px 30px -16px rgba(7, 26, 48, 0.25); }

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 82px;
}

.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 52px; width: auto; }

.nav { display: flex; align-items: center; gap: 0.25rem; }
.nav > li { position: relative; }
.nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.08rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy-900);
  padding: 0.6rem 0.9rem;
  position: relative;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0.9rem;
  right: 100%;
  bottom: 0.25rem;
  height: 2px;
  background: var(--signal-500);
  transition: right 0.3s var(--ease);
}
.nav a:hover::after, .nav a.is-active::after { right: 0.9rem; }
.nav a svg { width: 13px; height: 13px; transition: transform 0.25s; }
.nav > li:hover > a svg, .nav > li:focus-within > a svg { transform: rotate(180deg); }

/* Dropdown */
.nav__drop {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 290px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--signal-500);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
}
.nav > li:hover .nav__drop,
.nav > li:focus-within .nav__drop { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__drop a {
  display: flex;
  width: 100%;
  padding: 0.65rem 1.3rem;
  font-size: 1.02rem;
  letter-spacing: 0.05em;
}
.nav__drop a::after { display: none; }
.nav__drop a:hover { background: var(--steel-100); color: var(--steel-600); padding-left: 1.6rem; transition: padding 0.2s var(--ease), background 0.2s, color 0.2s; }
.nav__drop a.nav__drop-all { border-top: 1px solid var(--line); color: var(--steel-600); font-weight: 700; }

.header__cta { display: flex; align-items: center; gap: 1.1rem; }
.header__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.18rem;
  letter-spacing: 0.04em;
  color: var(--navy-900);
  transition: color 0.2s;
}
.header__phone:hover { color: var(--signal-500); }
.header__phone svg { width: 20px; height: 20px; color: var(--signal-500); }

@media (max-width: 1160px) {
  .header__phone span { display: none; }
}
@media (max-width: 1060px) {
  .nav, .header__cta .btn { display: none; }
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 46px;
  height: 46px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.burger span {
  display: block;
  height: 2px;
  background: var(--navy-900);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.burger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
@media (max-width: 1060px) { .burger { display: flex; } }

/* Mobile Navigation */
.mobilenav {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: var(--navy-950);
  color: var(--white);
  padding: 7.5rem var(--gutter) 2.5rem;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}
.mobilenav.is-open { opacity: 1; visibility: visible; }
.mobilenav a {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--white);
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line-dark);
  transition: color 0.2s, padding-left 0.25s var(--ease);
}
.mobilenav a:hover { color: var(--signal-500); padding-left: 0.5rem; }
.mobilenav__sub a {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--steel-200);
  border-bottom: 0;
  padding: 0.45rem 0 0.45rem 1.2rem;
  position: relative;
}
.mobilenav__sub a::before {
  content: '';
  position: absolute;
  left: 0.2rem;
  top: 50%;
  width: 8px;
  height: 1px;
  background: var(--signal-500);
}
.mobilenav .btn { margin-top: 2rem; }

/* ---------- Hero (Startseite) ---------- */
.hero {
  position: relative;
  min-height: min(66vh, 600px);
  display: flex;
  align-items: center;
  background: var(--navy-950);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.55) contrast(1.06);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(78deg, rgba(7, 26, 48, 0.96) 0%, rgba(11, 35, 66, 0.86) 42%, rgba(11, 35, 66, 0.35) 100%);
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(91, 155, 216, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 155, 216, 0.08) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask: linear-gradient(105deg, #000 35%, transparent 75%);
          mask: linear-gradient(105deg, #000 35%, transparent 75%);
}
.hero .container { padding-block: clamp(3rem, 6vh, 4.5rem); }
.hero__inner { max-width: 920px; }

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--steel-100);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 0.4rem 0.95rem;
  backdrop-filter: blur(6px);
}
.chip svg { width: 15px; height: 15px; color: var(--signal-500); flex: none; }
.chip .stars { color: #FFC53D; letter-spacing: 0.1em; font-size: 0.85rem; }

.hero h1 { color: var(--white); margin-bottom: 1.1rem; font-size: clamp(2.15rem, 4.2vw, 3.6rem); }
.hero h1 .accent { display: block; }
/* Auf schmalen Screens fließt der Akzent inline → kompaktere Zeilenumbrüche (max. 4 Zeilen) */
@media (max-width: 620px) { .hero h1 .accent { display: inline; } }
.hero .lead { color: var(--steel-200); margin-bottom: 1.8rem; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; }

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  border-top: 1px solid var(--line-dark);
  padding-top: 1.4rem;
}
.fact { display: flex; flex-direction: column; }
.fact__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  line-height: 1;
  color: var(--white);
}
.fact__num .accent { font-size: 0.7em; }
.fact__label { font-size: 0.92rem; color: var(--steel-300, var(--steel-200)); font-weight: 500; margin-top: 0.35rem; }

/* Scroll-Hinweis */
.hero__scroll {
  position: absolute;
  right: clamp(1rem, 4vw, 3rem);
  bottom: 2.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  color: var(--steel-200);
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}
.hero__scroll::after {
  content: '';
  width: 1px;
  height: 54px;
  background: linear-gradient(var(--signal-500), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.55); opacity: 0.45; }
}
@media (max-width: 900px) { .hero__scroll { display: none; } }

/* ---------- Page-Hero (Unterseiten) ---------- */
.page-hero {
  position: relative;
  background: var(--navy-950);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.5) contrast(1.05);
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(80deg, rgba(7, 26, 48, 0.97) 5%, rgba(11, 35, 66, 0.82) 55%, rgba(11, 35, 66, 0.45) 100%);
}
.page-hero .container { padding-block: clamp(3rem, 5vw, 4.5rem); }
.page-hero__inner { max-width: 880px; }
.page-hero h1 { color: var(--white); margin-bottom: 1rem; font-size: clamp(2.1rem, 4vw, 3.3rem); }
.page-hero .lead { color: var(--steel-200); margin-bottom: 1.6rem; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--steel-200);
  margin-bottom: 1.6rem;
}
.breadcrumb a { color: var(--steel-200); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--signal-500); }
.breadcrumb svg { width: 12px; height: 12px; opacity: 0.6; }
.breadcrumb [aria-current] { color: var(--white); font-weight: 600; }

/* ---------- USP-Leiste ---------- */
.uspbar {
  background: var(--navy-900);
  color: var(--white);
  position: relative;
  border-top: 1px solid var(--line-dark);
  padding-block: clamp(1.5rem, 3vw, 2.25rem);
}
.uspbar .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.usp {
  background: var(--navy-900);
  padding: 1.6rem 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: background 0.25s;
}
.usp:hover { background: var(--navy-800); }
.usp svg { width: 30px; height: 30px; color: var(--signal-500); flex: none; margin-top: 0.2rem; }
.usp h3 { color: var(--white); font-size: 1.18rem; margin-bottom: 0.2rem; }
.usp p { font-size: 0.92rem; color: var(--steel-200); line-height: 1.5; }
.uspbar--flat .container { transform: none; box-shadow: none; }
@media (max-width: 1000px) {
  .uspbar .container { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .uspbar .container { grid-template-columns: 1fr; }
  .usp { padding: 1.25rem; }
}

/* ---------- Leistungs-Karten ---------- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
@media (max-width: 1000px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .svc-grid { grid-template-columns: 1fr; } }

.svc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
}
.svc-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--steel-400);
}
/* Technische Eckmarkierung */
.svc-card::before, .svc-card::after {
  content: '';
  position: absolute;
  width: 22px;
  height: 22px;
  border: 2px solid var(--signal-500);
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s var(--ease);
  z-index: 2;
  pointer-events: none;
}
.svc-card::before { top: 10px; left: 10px; border-width: 2px 0 0 2px; transform: translate(6px, 6px); }
.svc-card::after { bottom: 10px; right: 10px; border-width: 0 2px 2px 0; transform: translate(-6px, -6px); }
.svc-card:hover::before, .svc-card:hover::after { opacity: 1; transform: translate(0, 0); }

.svc-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy-900); }
.svc-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.7);
  transition: transform 0.6s var(--ease), filter 0.4s;
}
.svc-card:hover .svc-card__media img { transform: scale(1.06); filter: saturate(1); }
.svc-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(7, 26, 48, 0.55));
}
.svc-card__num {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  z-index: 2;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: var(--white);
  background: rgba(7, 26, 48, 0.72);
  border: 1px solid var(--line-dark);
  padding: 0.25rem 0.7rem;
  backdrop-filter: blur(4px);
}

.svc-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.6rem 1.6rem 1.7rem; }
.svc-card__body h3 { margin-bottom: 0.6rem; }
.svc-card__body p { color: var(--ink-600); font-size: 0.99rem; flex: 1; }
/* "Mehr erfahren"-Button (blau gefüllt) auf jeder Leistungskarte */
.svc-card__link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1.4rem;
  padding: 0.72rem 1rem;
  border: 1.5px solid var(--signal-500);
  border-radius: var(--radius);
  background: var(--signal-500);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.04rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}
.svc-card__link svg { width: 19px; height: 19px; color: var(--white); transition: transform 0.3s var(--ease); }
.svc-card:hover .svc-card__link { background: var(--signal-600); border-color: var(--signal-600); }
.svc-card:hover .svc-card__link svg { transform: translateX(4px); }
.svc-card > a.svc-card__cover { position: absolute; inset: 0; z-index: 3; }

/* ---------- Split-Sektion (Bild + Text) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}
@media (max-width: 920px) { .split { grid-template-columns: 1fr; } }

.split__media { position: relative; }
.split__media img {
  width: 100%;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.split__media--wide img { aspect-ratio: 4 / 3; }
/* Rahmen-Versatz wie eine technische Zeichnung */
.split__media::before {
  content: '';
  position: absolute;
  inset: -16px auto auto -16px;
  width: 60%;
  height: 60%;
  border: 2px solid var(--steel-200);
  border-right: 0;
  border-bottom: 0;
  z-index: -1;
}
.split__media::after {
  content: '';
  position: absolute;
  inset: auto -16px -16px auto;
  width: 60%;
  height: 60%;
  border: 2px solid var(--signal-500);
  border-left: 0;
  border-top: 0;
  z-index: -1;
}
.split__media .badge-float {
  position: absolute;
  left: -14px;
  bottom: 26px;
  background: var(--white);
  border-left: 4px solid var(--signal-500);
  box-shadow: var(--shadow-md);
  padding: 0.9rem 1.3rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.badge-float .stars { color: #F5A623; font-size: 1rem; letter-spacing: 0.12em; }
.badge-float strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1;
}
.badge-float span { font-size: 0.85rem; color: var(--ink-600); display: block; }

.split__content h2 { margin-bottom: 1.2rem; }
.split__content .lead { margin-bottom: 1.6rem; }
.split__content p + p { margin-top: 1rem; }

/* Text-only Variante — Leistungsseiten ohne Bild direkt unter dem Hero */
.split--solo { grid-template-columns: 1fr; gap: 0; }
.split--solo .split__content { max-width: 940px; }
.split--solo .check-list--cols { max-width: 760px; }

/* ---------- Check-Liste ---------- */
.check-list { display: grid; gap: 0.85rem; margin-block: 1.6rem; }
.check-list--cols { grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .check-list--cols { grid-template-columns: 1fr; } }
.check-list li {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  font-weight: 500;
}
.check-list li svg {
  width: 21px;
  height: 21px;
  flex: none;
  margin-top: 0.18rem;
  color: var(--signal-500);
}
.check-list li span strong { display: block; color: var(--navy-900); }
.check-list li span small { color: var(--ink-600); font-size: 0.95rem; font-weight: 400; }
.section--navy .check-list li { color: var(--steel-100); }
.section--navy .check-list li span strong { color: var(--white); }
.section--navy .check-list li span small { color: var(--steel-200); }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 2.2rem;
}
.stats--4 { grid-template-columns: repeat(4, 1fr); }
.stat { background: var(--white); padding: 1.5rem 1.2rem; text-align: center; }
.stat__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 3.5vw, 2.9rem);
  line-height: 1;
  color: var(--navy-800);
}
.stat__num .accent { font-size: 0.65em; vertical-align: 0.18em; }
.stat__label { font-size: 0.92rem; color: var(--ink-600); margin-top: 0.4rem; font-weight: 500; }
@media (max-width: 640px) { .stats, .stats--4 { grid-template-columns: 1fr 1fr; } }

/* ---------- Prozess ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
  counter-reset: step;
}
@media (max-width: 1000px) { .process { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .process { grid-template-columns: 1fr; } }

.step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--steel-500);
  padding: 2rem 1.6rem 1.8rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-top-color: var(--signal-500); }
.step__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 3.2rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--steel-400);
  display: block;
  margin-bottom: 1rem;
}
.step:hover .step__num { -webkit-text-stroke-color: var(--signal-500); }
.step h3 { font-size: 1.3rem; margin-bottom: 0.55rem; }
.step p { color: var(--ink-600); font-size: 0.97rem; }
/* Verbindungspfeil */
.step::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -1.45rem;
  width: 1.1rem;
  height: 1px;
  background:
    repeating-linear-gradient(to right, var(--steel-400) 0 4px, transparent 4px 8px);
}
.step:last-child::after { display: none; }
@media (max-width: 1000px) { .step::after { display: none; } }

.section--navy .step { background: var(--navy-900); border-color: var(--line-dark); border-top-color: var(--steel-500); }
.section--navy .step:hover { border-top-color: var(--signal-500); }
.section--navy .step h3 { color: var(--white); }
.section--navy .step p { color: var(--steel-200); }

/* ---------- Bewertungen ---------- */
.rating-summary {
  display: inline-flex;
  align-items: center;
  gap: 1.1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--signal-500);
  padding: 1.1rem 1.6rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 2.6rem;
}
.rating-summary__score {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--navy-900);
}
.rating-summary .stars { color: #F5A623; letter-spacing: 0.15em; font-size: 1.05rem; }
.rating-summary small { display: block; color: var(--ink-600); font-size: 0.9rem; }

.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
@media (max-width: 1000px) { .quote-grid { grid-template-columns: 1fr; } }

.quote-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 2.2rem 1.8rem 1.8rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.quote-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.quote-card::before {
  content: '\201E';
  position: absolute;
  top: -0.4rem;
  left: 1.2rem;
  font-family: var(--font-display);
  font-size: 5.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--steel-200);
}
.quote-card .stars { color: #F5A623; letter-spacing: 0.14em; font-size: 0.95rem; margin-bottom: 0.9rem; }
.quote-card blockquote { flex: 1; color: var(--ink-600); font-size: 1.02rem; }
.quote-card figcaption {
  margin-top: 1.4rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.quote-card__avatar {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  background: var(--navy-800);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
}
.quote-card figcaption strong { display: block; color: var(--navy-900); font-size: 1rem; }
.quote-card figcaption span { font-size: 0.88rem; color: var(--ink-400); }

/* ---------- Google-Bewertungen (Karussell) ---------- */
.greviews { position: relative; }
.stars--g { color: #FBBC04; letter-spacing: 0.06em; line-height: 1; }

/* Steuerleiste über dem Karussell */
.greviews__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}
.greviews__hint {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--ink-600);
}
.greviews__hint .greviews__g { width: 22px; height: 22px; flex: none; }
.greviews__nav { display: flex; gap: 0.55rem; flex: none; }
.greviews__arrow {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--navy-800);
  box-shadow: var(--shadow-md);
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease), opacity 0.2s;
}
.greviews__arrow:hover { background: var(--navy-800); color: #fff; border-color: var(--navy-800); transform: translateY(-2px); }
.greviews__arrow:disabled { opacity: 0.35; pointer-events: none; box-shadow: none; }
.greviews__arrow svg { width: 21px; height: 21px; }

/* Horizontal scrollbares Track */
.greviews__track {
  display: flex;
  gap: 1.1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.5rem 0.4rem 1.4rem;
  margin: -0.5rem -0.4rem 0;
  scrollbar-width: thin;
  scrollbar-color: var(--steel-200) transparent;
}
.greviews__track::-webkit-scrollbar { height: 8px; }
.greviews__track::-webkit-scrollbar-thumb { background: var(--steel-200); border-radius: var(--radius); }
.greviews__track::-webkit-scrollbar-thumb:hover { background: var(--steel-400); }
.greviews__track::-webkit-scrollbar-track { background: transparent; }

.greview {
  flex: 0 0 290px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.45rem 1.5rem;
  transition: box-shadow 0.3s, transform 0.3s var(--ease), border-color 0.3s;
}
.greview:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--steel-200); }
.greview__head { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 0.7rem; }
.greview__avatar {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  background: var(--av, var(--navy-800));
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
}
.greview__meta { flex: 1; min-width: 0; }
.greview__meta strong { display: block; font-size: 1.02rem; color: var(--navy-900); }
.greview__meta span { font-size: 0.82rem; color: var(--ink-400); }
.greview__g { width: 20px; height: 20px; flex: none; }
.greview .stars--g { display: block; font-size: 1.02rem; margin-bottom: 0.55rem; }
.greview p { color: var(--ink-600); font-size: 0.95rem; line-height: 1.55; flex: 1; }
.greview__verified {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.95rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink-400);
}
.greview__verified svg { width: 14px; height: 14px; color: var(--steel-500); }

@media (max-width: 560px) {
  .greview { flex-basis: 82vw; }
  .greviews__hint { font-size: 0.95rem; }
}

/* ---------- CTA-Band ---------- */
.cta-band {
  position: relative;
  background: var(--navy-950);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(91, 155, 216, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 155, 216, 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
}
.cta-band::after {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 60%;
  height: 180%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(46, 124, 196, 0.35), transparent);
}
.cta-band .container {
  padding-block: clamp(2.75rem, 5vw, 4rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.cta-band h2 { color: var(--white); max-width: 22ch; }
.cta-band p { color: var(--steel-200); margin-top: 0.8rem; max-width: 52ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 0.9rem; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.faq-item.is-open { box-shadow: var(--shadow-md); }
.faq-item__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.2rem;
  text-align: left;
  padding: 1.25rem 1.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: 0;
  color: var(--navy-900);
}
.faq-item__q:hover { color: var(--steel-600); }
.faq-item__icon {
  position: relative;
  width: 30px;
  height: 30px;
  flex: none;
  border: 1.5px solid var(--steel-400);
  border-radius: var(--radius);
}
.faq-item__icon::before, .faq-item__icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1.5px;
  background: var(--navy-800);
  translate: -50% -50%;
  transition: rotate 0.3s var(--ease), background 0.3s;
}
.faq-item__icon::after { rotate: 90deg; }
.faq-item.is-open .faq-item__icon { border-color: var(--signal-500); background: var(--signal-500); }
.faq-item.is-open .faq-item__icon::before, .faq-item.is-open .faq-item__icon::after { background: var(--white); }
.faq-item.is-open .faq-item__icon::after { rotate: 0deg; }
.faq-item__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease);
}
.faq-item__a > div { overflow: hidden; }
.faq-item.is-open .faq-item__a { grid-template-rows: 1fr; }
.faq-item__a p {
  padding: 0 1.5rem 1.4rem;
  color: var(--ink-600);
}

/* ---------- Kontakt ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (max-width: 920px) { .contact-grid { grid-template-columns: 1fr; } }

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--signal-500);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.4rem, 3vw, 2rem);
}
.form-card h3 { margin-bottom: 0.3rem; font-size: 1.4rem; }
.form-card > p { color: var(--ink-600); margin-bottom: 1.1rem; font-size: 0.95rem; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.form-grid .field--full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

.field label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy-800);
  margin-bottom: 0.25rem;
}
.field label .req { color: var(--signal-500); }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--ink-900);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.6rem 0.85rem;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--steel-500);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(46, 124, 196, 0.18);
}
.field textarea { min-height: 95px; resize: vertical; }

.field--radio { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; }
.field--radio > span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy-800);
}
.radio-pill { display: inline-flex; align-items: center; gap: 0.45rem; cursor: pointer; font-weight: 500; }
.radio-pill input { accent-color: var(--signal-500); width: 17px; height: 17px; }

.field--consent { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.92rem; color: var(--ink-600); }
.field--consent input { margin-top: 0.25rem; accent-color: var(--signal-500); width: 16px; height: 16px; flex: none; }
.field--consent a { text-decoration: underline; }

.form-note { font-size: 0.88rem; color: var(--ink-400); margin-top: 0.9rem; display: flex; align-items: center; gap: 0.45rem; }
.form-note svg { width: 14px; height: 14px; flex: none; }

/* Kontakt-Infokarte */
.info-card {
  background: var(--navy-950);
  color: var(--steel-100);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  position: relative;
  overflow: hidden;
}
.info-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(91, 155, 216, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 155, 216, 0.07) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}
.info-card > * { position: relative; }
.info-card h3 { color: var(--white); margin-bottom: 1.4rem; }
.info-list { display: grid; gap: 1.2rem; }
.info-list a { color: var(--white); }
.info-list a:hover { color: var(--signal-500); }
.info-item { display: flex; gap: 1rem; align-items: flex-start; }
.info-item svg { width: 22px; height: 22px; flex: none; color: var(--signal-500); margin-top: 0.15rem; }
.info-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel-200);
  font-weight: 600;
  margin-bottom: 0.1rem;
}
.info-item span, .info-item a { font-size: 1.05rem; font-weight: 500; }
.info-card hr { border: 0; border-top: 1px solid var(--line-dark); margin: 1.6rem 0; }
.info-card .btn { width: 100%; }
.info-card .btn + .btn { margin-top: 0.8rem; }

/* WhatsApp-Button */
.btn--whatsapp {
  background: #1FAF38;
  color: var(--white);
}
.btn--whatsapp:hover { background: #18962F; transform: translateY(-2px); }

/* Karte (Click-to-Load, DSGVO) */
.map-consent {
  position: relative;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  background: var(--navy-900);
  min-height: 380px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--steel-200);
  border: 1px solid var(--line);
  overflow: hidden;
}
.map-consent::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(91, 155, 216, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 155, 216, 0.1) 1px, transparent 1px);
  background-size: 44px 44px;
}
.map-consent__inner { position: relative; max-width: 460px; padding: 2.5rem 1.5rem; display: grid; gap: 1rem; justify-items: center; }
.map-consent__inner svg { width: 42px; height: 42px; color: var(--signal-500); }
.map-consent__inner p { font-size: 0.95rem; }
.map-consent iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Kontaktbereich (modern, vollbreites Navy-Band) ---------- */
.contact {
  position: relative;
  background: var(--navy-950);
  color: var(--steel-100);
  overflow: hidden;
  isolation: isolate;
}
.contact .section-head h2 { color: var(--white); }
.contact .section-head .lead { color: var(--steel-200); }

.contact__grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(1.5rem, 3.5vw, 3rem);
  align-items: start;
}
@media (max-width: 940px) { .contact__grid { grid-template-columns: 1fr; } }

/* Linke Seite — Kontaktwege */
.contact__aside h3 { color: var(--white); font-size: 1.5rem; margin-bottom: 0.5rem; }
.contact__aside > p { color: var(--steel-200); margin-bottom: 1.5rem; max-width: 44ch; }
.contact__methods { display: grid; gap: 0.85rem; }
.contact__method {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 0.9rem 1.1rem;
  color: var(--white);
  transition: background 0.25s, border-color 0.25s, transform 0.25s var(--ease);
}
a.contact__method:hover { background: rgba(255, 255, 255, 0.08); border-color: var(--steel-600); transform: translateY(-2px); }
.contact__mico {
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  background: rgba(91, 155, 216, 0.18);
  color: var(--signal-500);
}
.contact__mico svg { width: 22px; height: 22px; }
.contact__method b {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel-200);
  margin-bottom: 0.1rem;
}
.contact__method span { font-size: 1.05rem; font-weight: 500; color: var(--white); word-break: break-word; }
.contact__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; margin-top: 1.2rem; }
@media (max-width: 460px) { .contact__actions { grid-template-columns: 1fr; } }

/* Rechte Seite — weiße Formularkarte */
.contact__card {
  background: var(--white);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-lg);
}
.contact__card h3 { font-size: 1.5rem; margin-bottom: 0.3rem; }
.contact__card > p { color: var(--ink-600); font-size: 0.95rem; margin-bottom: 1.4rem; }

/* Icon-Eingabefelder */
.field__ico { position: relative; }
.field__ico > svg {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  width: 19px;
  height: 19px;
  color: var(--ink-400);
  pointer-events: none;
}
.field__ico--area > svg { top: 0.85rem; transform: none; }
.field__ico input,
.field__ico textarea { padding-left: 2.55rem; }

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-950);
  color: var(--steel-200);
  padding-top: clamp(3.5rem, 7vw, 5.5rem);
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--signal-500) 0 120px, var(--steel-500) 120px 240px, transparent 240px);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  padding-bottom: 3rem;
}
@media (max-width: 1000px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer__grid { grid-template-columns: 1fr; } }

.footer__brand img { height: 56px; width: auto; filter: brightness(0) invert(1); margin-bottom: 1.2rem; }
.footer__brand p { font-size: 0.97rem; max-width: 34ch; }
.footer__rating { display: flex; align-items: center; gap: 0.7rem; margin-top: 1.3rem; }
.footer__rating .stars { color: #F5A623; letter-spacing: 0.12em; }
.footer__rating span { font-size: 0.9rem; }

.footer h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 1.2rem;
  position: relative;
  padding-bottom: 0.7rem;
}
.footer h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  background: var(--signal-500);
}
.footer ul { display: grid; gap: 0.55rem; }
.footer ul a {
  color: var(--steel-200);
  font-size: 0.99rem;
  transition: color 0.2s, padding-left 0.25s var(--ease);
  position: relative;
}
.footer ul a:hover { color: var(--signal-500); padding-left: 0.4rem; }
.footer address { font-style: normal; display: grid; gap: 0.8rem; }
.footer address .info-item svg { width: 18px; height: 18px; }
.footer address a { color: var(--white); font-weight: 500; }
.footer address a:hover { color: var(--signal-500); }

.footer__bottom {
  border-top: 1px solid var(--line-dark);
  padding-block: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
}
.footer__legal { display: flex; gap: 1.6rem; }
.footer__legal a { color: var(--steel-200); }
.footer__legal a:hover { color: var(--signal-500); }

/* ---------- Mobile Action-Bar ---------- */
.actionbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  display: none;
  grid-template-columns: 1fr 1fr 1.3fr;
  background: var(--navy-950);
  border-top: 1px solid var(--line-dark);
  box-shadow: 0 -10px 30px rgba(7, 26, 48, 0.35);
  padding-bottom: env(safe-area-inset-bottom);
}
.actionbar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.65rem 0.4rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
}
.actionbar a svg { width: 20px; height: 20px; }
.actionbar a:nth-child(1) svg { color: var(--steel-400); }
.actionbar a:nth-child(2) svg { color: #2BC548; }
.actionbar a:nth-child(3) { background: var(--signal-500); }
@media (max-width: 760px) {
  .actionbar { display: grid; }
  body { padding-bottom: 64px; }
  .footer { padding-bottom: 1rem; }
}

/* ---------- Related / Weitere Leistungen ---------- */
.related-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 900px) { .related-strip { grid-template-columns: 1fr; } }
.related-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.2rem 1.4rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.18rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy-900);
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}
.related-card svg { width: 19px; height: 19px; color: var(--signal-500); flex: none; transition: transform 0.25s var(--ease); }
.related-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--steel-400); color: var(--steel-600); }
.related-card:hover svg { transform: translateX(4px); }

/* ---------- Feature-Reihen (Unterseiten) ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.feature-grid--2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 1000px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .feature-grid, .feature-grid--2 { grid-template-columns: 1fr; } }

.feature {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.8rem 1.6rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--steel-400); }
.feature__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: var(--steel-100);
  color: var(--steel-600);
  margin-bottom: 1.2rem;
  position: relative;
}
.feature__icon::after {
  content: '';
  position: absolute;
  inset: auto -5px -5px auto;
  width: 16px;
  height: 16px;
  border: 2px solid var(--signal-500);
  border-top: 0;
  border-left: 0;
}
.feature__icon svg { width: 27px; height: 27px; }
.feature h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.feature p { color: var(--ink-600); font-size: 0.97rem; }
.section--navy .feature { background: var(--navy-900); border-color: var(--line-dark); }
.section--navy .feature__icon { background: var(--navy-800); color: var(--steel-400); }
.section--navy .feature p { color: var(--steel-200); }

/* ---------- Callout ---------- */
.callout {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  background: var(--steel-100);
  border-left: 4px solid var(--steel-500);
  padding: 1.4rem 1.6rem;
  margin-block: 1.8rem;
}
.callout svg { width: 26px; height: 26px; flex: none; color: var(--steel-600); margin-top: 0.1rem; }
.callout p { color: var(--ink-900); font-size: 1rem; }
.callout strong { color: var(--navy-900); }

/* ---------- Rechtstexte ---------- */
.legal-content { max-width: 820px; }
.legal-content h2 { font-size: clamp(1.6rem, 2.5vw, 2.1rem); margin: 2.6rem 0 1rem; }
.legal-content h3 { font-size: 1.25rem; margin: 1.8rem 0 0.6rem; }
.legal-content p, .legal-content li { color: var(--ink-600); margin-bottom: 0.8rem; }
.legal-content ul { list-style: disc; padding-left: 1.4rem; }
.legal-content a { text-decoration: underline; word-break: break-word; }
.legal-content strong { color: var(--ink-900); }

/* ---------- Scroll-Reveal ----------
   Fail-safe: Der versteckte Ausgangszustand gilt NUR, wenn JavaScript aktiv
   ist (html.js). Ohne JS / bei Blockern bleibt der gesamte Inhalt sichtbar. */
html.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
html.js .reveal.in-view { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; }
}

/* ---------- Back-to-top ---------- */
.to-top {
  position: fixed;
  right: 1.4rem;
  bottom: 5.4rem;
  z-index: 60;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: var(--navy-800);
  color: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s, transform 0.3s var(--ease), visibility 0.3s, background 0.2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--signal-500); }
.to-top svg { width: 20px; height: 20px; }
@media (min-width: 761px) { .to-top { bottom: 1.4rem; } }

/* ============================================================
   Zahlen durchgängig in Roboto — am Dateiende, damit diese Regel
   die font-family-Zuweisungen der einzelnen Komponenten überschreibt.
   ============================================================ */
.fact__num,
.kicker .num,
.svc-card__num,
.step__num,
.stat__num,
.badge-float strong,
.rating-summary__score,
.greviews__num {
  font-family: var(--font-number);
}

/* ============================================================
   HANDY-OPTIMIERUNG (Mobile-Feinschliff)
   ============================================================ */

/* Kritisch: Eingabefelder dürfen schrumpfen → verhindert horizontalen Overflow */
.field input,
.field select,
.field textarea { min-width: 0; }
.contact-grid > *,
.form-grid > .field { min-width: 0; }
/* Split-Spalten dürfen schrumpfen (Buttons mit white-space:nowrap erzwingen sonst Overflow) */
.split__media,
.split__content { min-width: 0; }

@media (max-width: 600px) {
  /* — Schrift: kompakter & besser lesbar auf kleinen Screens — */
  body { font-size: 1rem; line-height: 1.6; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.2rem; }
  .lead { font-size: 1.02rem; }
  .hero h1 { font-size: clamp(1.95rem, 8.5vw, 2.45rem); }
  .page-hero h1 { font-size: 1.9rem; }
  .kicker { font-size: 0.82rem; letter-spacing: 0.16em; }
  .section-head { margin-bottom: 2rem; }

  /* — Abstände knapper — */
  .section { padding-block: 2rem; }
  .page-hero .container { padding-block: 2.5rem; }
  .hero .container { padding-block: 2rem; }

  /* — Hero fürs Handy: kompakter & aufgeräumter — */
  .hero { min-height: auto; }
  .hero__badges { gap: 0.5rem; margin-bottom: 0.9rem; }
  /* nur den Bewertungs-Chip zeigen – die Werbe-Chips stehen direkt darunter in der USP-Leiste */
  .hero__badges .chip:not(:first-child) { display: none; }
  .chip { font-size: 0.85rem; padding: 0.35rem 0.85rem; }
  .hero h1 { margin-bottom: 0.85rem; }
  .hero .lead { font-size: 0.98rem; margin-bottom: 1.35rem; }
  .hero__actions { margin-bottom: 1.4rem; }
  .hero__facts { gap: 1rem 1.4rem; padding-top: 1.1rem; }
  .fact__num { font-size: 1.7rem; }
  .fact__label { font-size: 0.84rem; }

  /* — Header schlanker, Touch-Flächen größer — */
  .header .container { min-height: 64px; }
  .brand img { height: 42px; }
  .header__phone { padding: 0.5rem; margin-right: -0.4rem; }
  .header__phone svg { width: 22px; height: 22px; }

  /* — Mobile-Navigation: kleinere Links, kein Überlauf, mehr Tap-Höhe — */
  .mobilenav { padding-top: 6.25rem; }
  .mobilenav a { font-size: 1.4rem; padding: 0.6rem 0; }
  .mobilenav__sub a { font-size: 1.05rem; padding: 0.4rem 0 0.4rem 1.2rem; }

  /* — Buttons: volle Breite = große Tap-Ziele — */
  .hero__actions .btn,
  .page-hero__actions .btn,
  .cta-band__actions .btn,
  .split__content .hero__actions .btn { width: 100%; }
  .btn { font-size: 1.05rem; }
  .btn--lg { font-size: 1.1rem; padding: 1rem 1.6rem; }

  /* — USP-Leiste kompakter — */
  .usp { padding: 1.15rem 1.2rem; gap: 0.85rem; }
  .usp svg { width: 26px; height: 26px; }
  .usp h3 { font-size: 1.12rem; }

  /* — Karten: flachere Bilder, etwas weniger Innenabstand — */
  .svc-card__media { aspect-ratio: 16 / 9; }
  .svc-card__body { padding: 1.3rem 1.3rem 1.4rem; }
  .feature { padding: 1.4rem 1.3rem; }
  .feature__icon { width: 46px; height: 46px; }
  .feature__icon svg { width: 24px; height: 24px; }
  .step { padding: 1.6rem 1.3rem 1.4rem; }

  /* — FAQ: kleinere Frage, kompaktere Höhe (Tap-Ziel bleibt groß) — */
  .faq-item__q { font-size: 1.1rem; padding: 1.05rem 1.2rem; gap: 0.8rem; }
  .faq-item__a p { padding: 0 1.2rem 1.2rem; }

  /* — Formular: volle Breite, größere Tap-Flächen — */
  .form-card { padding: 1.4rem 1.25rem 1.6rem; }
  .field--radio { gap: 0.8rem 1.4rem; }
  .radio-pill { padding: 0.35rem 0; }

  /* — Footer: mehr Tap-Höhe für Links — */
  .footer ul a { display: inline-block; padding-block: 0.35rem; }
  .footer__legal a { padding: 0.35rem 0; }
  .footer__bottom { justify-content: center; text-align: center; }

  /* — Bewertungs-Karussell: Karten füllen den Screen besser — */
  .greview { flex-basis: 84vw; }
  .greviews__hint { font-size: 0.92rem; }

  /* — Kontakt-Infokarte: lange E-Mail bricht um — */
  .info-item a, .info-item span { word-break: break-word; }

  /* — „Über uns"-Bildbox: dekorative Rahmen/Badge nicht über den Rand ragen lassen — */
  .split__media::before, .split__media::after { display: none; }
  .split__media .badge-float { left: 0.6rem; bottom: 0.6rem; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 1.85rem; }
  .page-hero h1 { font-size: 1.7rem; }
  h2 { font-size: 1.6rem; }
  .fact__num { font-size: 1.7rem; }
  .greview { flex-basis: 88vw; }
}
