/* ==========================================================================
   Lackierzentrum B27 — Design System
   Automotive blue palette, glassmorphism cards, Inter typography
   ========================================================================== */

:root {
  /* Palette */
  --ink-900: #0E1B2A;
  --ink-700: #1A2B3A;
  --ink-500: #3A4A5C;
  --ink-300: #6A7787;
  --ink-100: #C9D2DC;

  --blue-900: #143A5C;
  --blue-700: #1E5A8E;
  --blue-500: #2E7AB8;
  --blue-400: #3D7FAB;
  --blue-300: #6FA4CC;
  --blue-100: #DCE9F4;
  --blue-50:  #EEF4FA;

  --steel-bg: #E5EDF5;
  --steel-cool: #D4DFEB;

  --paper: #FFFFFF;
  --paper-soft: #F7FAFC;

  --red-700: #B83947;
  --red-500: #C4424E;
  --red-100: #F4DADE;

  --green-700: #2E6A4D;
  --green-500: #3D7F5C;
  --green-100: #DAEDE2;

  /* Glass */
  --glass-bg: rgba(255, 255, 255, 0.62);
  --glass-bg-strong: rgba(255, 255, 255, 0.78);
  --glass-border: rgba(255, 255, 255, 0.55);
  --glass-shadow: 0 8px 32px rgba(20, 58, 92, 0.12);

  /* Type */
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* Layout */
  --container: 1200px;
  --container-tight: 980px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --radius-pill: 999px;

  /* Spacing */
  --gutter: clamp(20px, 4vw, 48px);
  --section-y: clamp(64px, 9vw, 120px);
}

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

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

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

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

a { color: var(--blue-700); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--blue-500); }

button { font-family: inherit; cursor: pointer; }

ul, ol { padding-left: 1.2em; }

::selection { background: var(--blue-300); color: var(--paper); }

/* Container ----------------------------------------------------------------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.container--tight { max-width: var(--container-tight); }

/* Typography ---------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-sans);
  color: var(--ink-900);
  letter-spacing: -0.018em;
  line-height: 1.15;
  margin: 0 0 .4em;
  font-weight: 700;
}

h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }

.eyebrow {
  text-transform: uppercase;
  font-size: .78rem;
  letter-spacing: .14em;
  font-weight: 600;
  color: var(--blue-700);
  margin: 0 0 .9em;
  display: inline-block;
}

.lead {
  font-size: 1.18rem;
  color: var(--ink-500);
  line-height: 1.6;
  max-width: 62ch;
}

.text-mono { font-family: var(--font-mono); }

/* Buttons ------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: .98rem;
  letter-spacing: -0.005em;
  border: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(180deg, var(--blue-500) 0%, var(--blue-700) 100%);
  color: var(--paper);
  box-shadow: 0 8px 22px rgba(46, 122, 184, 0.36),
              inset 0 1px 0 rgba(255,255,255,0.25);
}
.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(46, 122, 184, 0.42),
              inset 0 1px 0 rgba(255,255,255,0.3);
  color: var(--paper);
}

.btn--ghost {
  background: rgba(255,255,255, 0.6);
  color: var(--blue-700);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(46, 122, 184, 0.25);
}
.btn--ghost:hover {
  background: var(--paper);
  color: var(--blue-700);
}

.btn--dark {
  background: var(--ink-900);
  color: var(--paper);
}
.btn--dark:hover { background: var(--ink-700); color: var(--paper); }

.btn .arr { transition: transform .25s ease; }
.btn:hover .arr { transform: translateX(3px); }

/* Header / Nav -------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(20, 58, 92, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px var(--gutter);
  max-width: var(--container);
  margin: 0 auto;
  gap: 16px;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--ink-900);
  text-decoration: none;
  flex: 0 0 auto;
  min-width: 0;
}
.brand:hover { opacity: 0.85; }
.brand img {
  height: 56px;
  width: auto;
  display: block;
  max-width: 100%;
}
@media (max-width: 920px) { .brand img { height: 48px; } }
@media (max-width: 640px) { .brand img { height: 44px; } }
@media (max-width: 420px) { .brand img { height: 40px; } }
.brand .brand__text { display: none; }
/* Invert black logo to white for use on dark footer */
.brand__logo--invert {
  filter: invert(1) brightness(1.05);
  -webkit-filter: invert(1) brightness(1.05);
}

.nav-links {
  display: flex; align-items: center; gap: 4px;
  list-style: none; padding: 0; margin: 0 auto 0 24px;
}
.nav-links a {
  padding: 8px 12px;
  color: var(--ink-700);
  font-size: .93rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}
.nav-links a:hover { color: var(--blue-700); background: var(--blue-50); }
.nav-links a.active { color: var(--blue-700); }

.nav-cta { margin-left: 0; flex: 0 0 auto; }
.nav-cta.btn { padding: 10px 18px; font-size: .92rem; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--ink-100);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--ink-700);
  font-size: .92rem;
  font-weight: 500;
  min-height: 44px;
}

@media (max-width: 1020px) {
  .nav-links a { padding: 8px 9px; font-size: .9rem; }
  .nav-cta.btn { padding: 9px 14px; font-size: .88rem; }
}

@media (max-width: 920px) {
  .nav {
    flex-wrap: nowrap;
  }
  .nav-links {
    position: fixed;
    inset: 64px 0 auto 0;
    background: var(--paper);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 18px var(--gutter);
    border-bottom: 1px solid var(--ink-100);
    border-top: 1px solid var(--ink-100);
    transform: translateY(-110%);
    transition: transform .3s ease;
    z-index: 49;
  }
  .nav-links a {
    padding: 14px 8px;
    font-size: 1.02rem;
    border-bottom: 1px solid var(--ink-100);
  }
  .nav-links li:last-child a { border-bottom: none; }
  body.nav-open .nav-links { transform: translateY(0); }
  .nav-toggle { display: inline-flex; align-items: center; }
  .nav-cta { display: none; }
}

/* Hero ---------------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  padding: clamp(90px, 14vw, 160px) 0 clamp(80px, 11vw, 130px);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60% 80% at 80% 30%, rgba(110, 164, 204, 0.5), transparent 60%),
    radial-gradient(80% 100% at 0% 80%, rgba(220, 233, 244, 0.85), transparent 60%),
    linear-gradient(180deg, #DCE9F4 0%, #B7CDDE 100%);
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../assets/hero/workshop.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.32;
  mix-blend-mode: luminosity;
  z-index: -1;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.hero__copy h1 { margin-bottom: .3em; }
.hero__copy .lead { margin-bottom: 28px; color: var(--ink-700); }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }

.hero__owners {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(20, 58, 92, 0.22);
  aspect-ratio: 2 / 3;
  background: var(--steel-cool);
}
.hero__owners img { width: 100%; height: 100%; object-fit: cover; }
.hero__owners.is-fallback::after {
  content: "Inhaberportrait (Higgsfield, kommt)";
  position: absolute; inset: 0;
  display: grid; place-items: center;
  color: var(--ink-500); font-size: .9rem; letter-spacing: .04em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--blue-100), var(--steel-cool));
}

@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__owners { max-width: 480px; margin: 0 auto; }
}

/* Hero check-list */
.hero-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  display: grid;
  gap: 10px;
}
.hero-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 1.02rem;
  color: var(--ink-700);
  line-height: 1.4;
}
.hero-checklist svg {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  color: var(--green-500);
  margin-top: 1px;
}
.hero-checklist small {
  display: inline;
  color: var(--ink-500);
  font-size: 0.9em;
  margin-left: 4px;
}

/* Hero phone block */
.hero-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  color: var(--ink-900);
  font-size: 1.05rem;
  font-weight: 600;
}
.hero-phone svg { width: 18px; height: 18px; color: var(--blue-700); }
.hero-phone small {
  display: block;
  color: var(--ink-500);
  font-size: .82rem;
  font-weight: 400;
  margin-top: 2px;
}
.hero-phone__inner { line-height: 1.2; }

/* Hero stats inline */
.hero-stats {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 18px 22px;
  border-radius: var(--radius-md);
}
.hero-stat {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.hero-stat .icon-sm {
  flex: 0 0 22px;
  width: 22px; height: 22px;
  color: var(--blue-700);
  margin-top: 2px;
}
.hero-stat .num {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--blue-700);
  line-height: 1.1;
  display: block;
}
.hero-stat .lbl {
  font-size: .82rem;
  color: var(--ink-500);
  line-height: 1.3;
  display: block;
  margin-top: 2px;
}
@media (max-width: 540px) {
  .hero-stats { grid-template-columns: 1fr; gap: 12px; }
}

/* Glass cards --------------------------------------------------------------- */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow);
}

.glass--strong {
  background: var(--glass-bg-strong);
}

/* Section base -------------------------------------------------------------- */
section { padding: var(--section-y) 0; position: relative; }
section.tight { padding: clamp(40px, 6vw, 72px) 0; }

.section-head {
  margin-bottom: clamp(36px, 6vw, 64px);
  max-width: 720px;
}
.section-head--center { margin-inline: auto; text-align: center; }

/* About section ------------------------------------------------------------- */
.about {
  background:
    radial-gradient(60% 80% at 20% 30%, rgba(220, 233, 244, 0.8), transparent 60%),
    linear-gradient(180deg, #EEF4FA 0%, #DCE9F4 100%);
  position: relative;
  overflow: hidden;
}
.about::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("../assets/hero/showroom.jpg");
  background-size: cover; background-position: center;
  opacity: 0.18;
  mix-blend-mode: luminosity;
  pointer-events: none;
}
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  position: relative;
}
.about__features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.feature-card {
  padding: 24px 20px;
  text-align: center;
  border-radius: var(--radius-md);
}
.feature-card .icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--paper);
  display: grid; place-items: center;
  margin: 0 auto 14px;
  box-shadow: 0 4px 14px rgba(20, 58, 92, 0.1);
}
.feature-card .icon svg { width: 26px; height: 26px; color: var(--blue-700); }
.feature-card h4 { font-size: 1rem; margin-bottom: 6px; color: var(--ink-900); }
.feature-card p { font-size: .85rem; color: var(--ink-500); margin: 0; line-height: 1.45; }

.about__quote {
  margin-top: 32px;
  padding: 22px 26px;
  font-style: italic;
  color: var(--ink-500);
  font-size: 1rem;
  border-radius: var(--radius-md);
}
.about__quote strong { color: var(--ink-900); font-style: normal; font-weight: 600; }

@media (max-width: 860px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .about__features { grid-template-columns: 1fr; }
}

/* Stats / Trust ------------------------------------------------------------- */
.stats {
  background:
    linear-gradient(180deg, #DCE9F4 0%, #C2D5E7 100%);
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("../assets/hero/showroom.jpg");
  background-size: cover; background-position: center;
  opacity: 0.22;
  pointer-events: none;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 36px;
  position: relative;
}
.stat-card {
  padding: 32px 24px;
  text-align: left;
  border-radius: var(--radius-md);
}
.stat-card .icon {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--paper);
  display: grid; place-items: center;
  margin-bottom: 18px;
  box-shadow: 0 4px 14px rgba(20, 58, 92, 0.12);
}
.stat-card .icon svg { width: 28px; height: 28px; color: var(--blue-700); }
.stat-card .num {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800;
  color: var(--blue-700);
  letter-spacing: -0.02em;
  line-height: 1.1;
  display: block;
}
.stat-card .label {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink-900);
  margin: 4px 0 10px;
  display: block;
}
.stat-card p { font-size: .9rem; color: var(--ink-500); margin: 0; line-height: 1.45; }

@media (max-width: 920px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .stats__grid { grid-template-columns: 1fr; }
}

/* Services grid ------------------------------------------------------------- */
.services {
  background:
    linear-gradient(180deg, #F7FAFC 0%, #E5EDF5 100%);
  position: relative;
  overflow: hidden;
}
.services::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("../assets/hero/workshop.jpg");
  background-size: cover; background-position: center;
  opacity: 0.10;
  pointer-events: none;
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  position: relative;
}
.service-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  display: flex;
  gap: 22px;
  align-items: flex-start;
  transition: transform .28s ease, box-shadow .28s ease;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(20, 58, 92, 0.16);
}
.service-card .icon {
  flex: 0 0 auto;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--paper);
  display: grid; place-items: center;
  box-shadow: 0 4px 14px rgba(20, 58, 92, 0.1);
}
.service-card .icon svg { width: 28px; height: 28px; color: var(--blue-700); }
.service-card h3 { font-size: 1.3rem; margin-bottom: 8px; }
.service-card p { font-size: .98rem; color: var(--ink-500); margin: 0; }
.service-card__link {
  display: inline-flex; align-items: center; gap: 4px;
  margin-top: 12px;
  font-weight: 600; font-size: .92rem;
  color: var(--blue-700);
}

@media (max-width: 720px) {
  .services__grid { grid-template-columns: 1fr; }
  .service-card { padding: 24px; }
}

/* Problem / Solution table -------------------------------------------------- */
.compare {
  background:
    linear-gradient(180deg, #C2D5E7 0%, #A8C2D8 100%);
  position: relative;
  overflow: hidden;
}
.compare::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("../assets/hero/booth.jpg");
  background-size: cover; background-position: center;
  opacity: 0.22;
  pointer-events: none;
}
.compare__head {
  position: relative;
  color: var(--ink-900);
  margin-bottom: 40px;
}
.compare__head h2 { color: var(--ink-900); max-width: 720px; }
.compare__head h2 b { color: var(--ink-900); font-weight: 800; }

.compare__table {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: var(--glass-shadow);
}
.compare__col-head {
  padding: 18px 24px;
  font-weight: 700;
  font-size: 1.15rem;
  display: flex; align-items: center; gap: 10px;
}
.compare__col-head--problem {
  background: linear-gradient(180deg, rgba(196, 66, 78, 0.85), rgba(184, 57, 71, 0.95));
  color: var(--paper);
}
.compare__col-head--solution {
  background: linear-gradient(180deg, rgba(61, 127, 92, 0.85), rgba(46, 106, 77, 0.95));
  color: var(--paper);
}
.compare__row {
  padding: 18px 24px;
  display: flex; align-items: flex-start; gap: 12px;
  border-top: 1px solid rgba(20, 58, 92, 0.08);
  font-size: .98rem;
}
.compare__row .row-icon {
  flex: 0 0 22px; width: 22px; height: 22px;
  border-radius: 50%;
  display: grid; place-items: center;
  margin-top: 2px;
  font-size: 12px; font-weight: 700;
  color: var(--paper);
}
.compare__row--problem .row-icon { background: var(--red-500); }
.compare__row--solution .row-icon { background: var(--green-500); }
.compare__row strong { color: var(--ink-900); font-weight: 600; display: block; }
.compare__row small { display: block; color: var(--ink-500); font-size: .85rem; margin-top: 4px; }

.compare__subhead {
  grid-column: 1 / -1;
  padding: 28px 24px 6px;
  border-top: 1px solid rgba(20, 58, 92, 0.08);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink-900);
}

@media (max-width: 720px) {
  .compare__table { grid-template-columns: 1fr; }
}

/* CTA strip ----------------------------------------------------------------- */
.cta-strip {
  background:
    linear-gradient(180deg, #DCE9F4 0%, #C2D5E7 100%);
  padding: clamp(40px, 6vw, 80px) 0;
}
.cta-strip__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius-lg);
}
.cta-strip h2 {
  margin: 0 0 12px;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
}
.cta-strip .phone {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 1.15rem; font-weight: 600;
  color: var(--ink-900);
}
.cta-strip .phone svg { width: 22px; height: 22px; color: var(--blue-700); }
.cta-strip small { color: var(--ink-500); font-size: .92rem; }

@media (max-width: 720px) {
  .cta-strip__inner { grid-template-columns: 1fr; }
}

/* Page hero (sub-pages) ----------------------------------------------------- */
.page-hero {
  background:
    linear-gradient(180deg, #DCE9F4 0%, #C2D5E7 100%);
  padding: clamp(110px, 14vw, 160px) 0 clamp(56px, 8vw, 90px);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("../assets/hero/workshop.jpg");
  background-size: cover; background-position: center;
  opacity: 0.18;
  pointer-events: none;
}
.page-hero__inner { position: relative; max-width: 820px; }
.page-hero .eyebrow { color: var(--blue-700); }
.page-hero h1 { margin-bottom: 18px; }
.page-hero .lead { color: var(--ink-700); }
.page-hero__breadcrumb {
  display: flex; gap: 6px; align-items: center;
  font-size: .85rem;
  color: var(--ink-500);
  margin-bottom: 16px;
}
.page-hero__breadcrumb a { color: var(--ink-500); }
.page-hero__breadcrumb a:hover { color: var(--blue-700); }

/* Content / Prose ----------------------------------------------------------- */
.prose {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--ink-700);
  max-width: 75ch;
}
.prose h2 { margin-top: 1.8em; margin-bottom: .5em; }
.prose h3 { margin-top: 1.4em; margin-bottom: .4em; }
.prose p { margin: 0 0 1.1em; }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.4em; }
.prose ul li, .prose ol li { margin-bottom: .4em; }
.prose strong { color: var(--ink-900); }
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  font-size: .95rem;
  background: var(--paper);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(20, 58, 92, 0.08);
}
.prose th, .prose td {
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--ink-100);
}
.prose th {
  background: var(--blue-50);
  color: var(--ink-900);
  font-weight: 700;
  font-size: .92rem;
  letter-spacing: -0.005em;
}
.prose tr:last-child td { border-bottom: none; }
.prose blockquote {
  margin: 1.5em 0;
  padding: 18px 24px;
  border-left: 4px solid var(--blue-500);
  background: var(--blue-50);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: var(--ink-500);
}
.prose a { color: var(--blue-700); border-bottom: 1px solid rgba(46, 122, 184, 0.25); }
.prose a:hover { color: var(--blue-500); border-bottom-color: var(--blue-500); }

/* CTA Box inline ------------------------------------------------------------ */
.cta-box {
  margin: 36px 0;
  padding: 32px 36px;
  background: linear-gradient(180deg, var(--blue-700) 0%, var(--blue-900) 100%);
  color: var(--paper);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  box-shadow: 0 12px 30px rgba(20, 58, 92, 0.25);
}
.cta-box h3 { color: var(--paper); margin: 0 0 6px; }
.cta-box p { margin: 0; color: rgba(255,255,255, 0.85); font-size: 1rem; }
.cta-box .btn--ghost { background: rgba(255,255,255, 0.18); color: var(--paper); border-color: rgba(255,255,255,0.3); }
.cta-box .btn--ghost:hover { background: var(--paper); color: var(--blue-700); }

@media (max-width: 640px) {
  .cta-box { grid-template-columns: 1fr; padding: 24px; }
}

/* FAQ ----------------------------------------------------------------------- */
.faq {
  background: var(--paper-soft);
}
.faq__list { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq__item {
  background: var(--paper);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq__q {
  padding: 18px 24px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink-900);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 60px;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: "+";
  position: absolute;
  right: 24px; top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--blue-700);
  transition: transform .25s ease;
}
.faq__item[open] .faq__q::after { transform: translateY(-50%) rotate(45deg); }
.faq__a {
  padding: 0 24px 22px;
  color: var(--ink-500);
  line-height: 1.65;
}
.faq__a p:last-child { margin-bottom: 0; }

/* Service detail hero ------------------------------------------------------- */
.svc-hero__grid {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 6vw, 70px);
  align-items: center;
}
.svc-hero__img {
  border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 22px 50px rgba(20, 58, 92, 0.22);
  background: var(--steel-cool);
}
.svc-hero__img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .svc-hero__grid { grid-template-columns: 1fr; } }

/* Standalone feature image for condensed service pages */
.svc-feature-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/9;
  box-shadow: 0 18px 40px rgba(20, 58, 92, 0.15);
  margin-bottom: clamp(36px, 6vw, 64px);
  background: var(--steel-cool);
}
.svc-feature-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* Process steps ------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: step;
}
.step {
  padding: 28px 24px;
  background: var(--paper);
  border-radius: var(--radius-md);
  border: 1px solid var(--ink-100);
  position: relative;
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: var(--font-mono);
  font-size: .82rem;
  color: var(--blue-700);
  letter-spacing: .08em;
  margin-bottom: 12px;
}
.step h3 { font-size: 1.1rem; margin-bottom: 6px; }
.step p { font-size: .92rem; color: var(--ink-500); margin: 0; }

@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* Region map / standorte ---------------------------------------------------- */
.regions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.region-card {
  padding: 22px 24px;
  background: var(--paper);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-md);
  transition: transform .25s ease, border-color .25s ease;
}
.region-card:hover {
  transform: translateY(-2px);
  border-color: var(--blue-300);
  box-shadow: 0 8px 22px rgba(20, 58, 92, 0.1);
}
.region-card .pin {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: .78rem;
  color: var(--blue-700); margin-bottom: 8px;
}
.region-card h3 { font-size: 1.15rem; margin-bottom: 6px; }
.region-card p { font-size: .92rem; color: var(--ink-500); margin: 0 0 12px; }
.region-card .arr { color: var(--blue-700); font-weight: 600; font-size: .9rem; }

@media (max-width: 760px) { .regions { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .regions { grid-template-columns: 1fr; } }

/* Footer -------------------------------------------------------------------- */
.site-footer {
  background: linear-gradient(180deg, var(--ink-900) 0%, #08121F 100%);
  color: rgba(255, 255, 255, 0.7);
  padding: clamp(60px, 8vw, 90px) 0 28px;
}
.site-footer h4 {
  color: var(--paper);
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.site-footer a { color: rgba(255,255,255, 0.7); }
.site-footer a:hover { color: var(--paper); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255, 0.1);
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { padding: 4px 0; font-size: .94rem; }
.footer-brand p { font-size: .92rem; max-width: 38ch; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 20px;
  padding-top: 22px;
  font-size: .82rem;
  color: rgba(255,255,255, 0.55);
}
.footer-bottom a { color: rgba(255,255,255, 0.55); }
.footer-bottom .links { display: flex; gap: 22px; }

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; }
}

/* Utility ------------------------------------------------------------------- */
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.muted { color: var(--ink-500); }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.gap-3 { gap: 24px; }
.divider {
  height: 1px;
  background: var(--ink-100);
  border: none;
  margin: var(--section-y) auto;
  max-width: var(--container);
}

/* Reveal animation ---------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .8s ease, transform .8s ease;
  }
  .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}

/* ============================================================
   RESPONSIVE — Tablet + Mobile Tuning
   ============================================================ */

/* Tablet (≤ 920px) */
@media (max-width: 920px) {
  :root {
    --section-y: clamp(48px, 8vw, 80px);
    --gutter: clamp(18px, 4vw, 32px);
  }
  h1 { font-size: clamp(1.9rem, 6vw, 2.8rem); }
  h2 { font-size: clamp(1.55rem, 4.5vw, 2.1rem); }
  .lead { font-size: 1.05rem; }
}

/* Smartphone (≤ 720px) */
@media (max-width: 720px) {
  body { font-size: 16px; }

  /* Hero: smaller paddings, tighter stack */
  .hero {
    padding: clamp(40px, 10vw, 70px) 0 clamp(40px, 9vw, 60px);
  }
  .hero__inner { gap: 36px; }
  .hero__copy h1 { font-size: clamp(1.85rem, 7vw, 2.4rem); line-height: 1.1; }
  .hero__copy .lead { font-size: 1rem; }

  .hero-checklist li { font-size: .96rem; }
  .hero-checklist svg { width: 22px; height: 22px; flex-basis: 22px; }

  .hero__cta .btn { width: 100%; justify-content: center; }
  .hero-phone { width: 100%; justify-content: flex-start; }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px 16px;
  }
  .hero-stat { padding: 4px 0; }
  .hero-stat .num { font-size: 1.05rem; }

  /* Page-Hero tighter */
  .page-hero { padding: clamp(80px, 18vw, 110px) 0 clamp(36px, 8vw, 60px); }
  .page-hero h1 { font-size: clamp(1.7rem, 7vw, 2.2rem); }

  /* Section heads */
  .section-head { margin-bottom: 32px; }

  /* Touch-targets */
  .btn { min-height: 48px; padding: 14px 22px; font-size: 1rem; }
  .nav-links a { padding: 16px 8px !important; font-size: 1.05rem; }

  /* Stats card layout */
  .stat-card { padding: 24px 20px; }
  .stat-card .icon { width: 44px; height: 44px; }
  .stat-card .num { font-size: 1.7rem; }

  /* Services cards */
  .service-card { padding: 22px 20px; gap: 16px; }
  .service-card .icon { width: 48px; height: 48px; }
  .service-card h3 { font-size: 1.15rem; }
  .service-card p { font-size: .94rem; }

  /* Compare table — make 2-column flow naturally */
  .compare__table {
    grid-template-columns: 1fr;
    border-radius: var(--radius-md);
  }
  .compare__col-head--problem,
  .compare__col-head--solution {
    border-radius: 0;
    padding: 14px 20px;
    font-size: 1.05rem;
  }
  .compare__col-head--problem { border-top-left-radius: var(--radius-md); border-top-right-radius: var(--radius-md); }
  .compare__row { padding: 14px 20px; font-size: .94rem; }
  .compare__row strong { font-size: .98rem; }
  .compare__subhead { padding: 22px 20px 4px; font-size: 1.05rem; }

  /* Forms / CTA box */
  .cta-box { padding: 24px 22px; gap: 18px; }
  .cta-box h3 { font-size: 1.2rem; }

  /* Prose tweaks */
  .prose { font-size: 1rem; line-height: 1.7; }
  .prose table { font-size: .9rem; }
  .prose th, .prose td { padding: 11px 12px; }

  /* CTA strip */
  .cta-strip { padding: 36px 0; }
  .cta-strip__inner { gap: 18px; padding: 22px 20px; text-align: center; }
  .cta-strip__inner .phone { justify-content: center; }
  .cta-strip__inner .btn { width: 100%; }

  /* Regions cards */
  .regions { gap: 12px; }

  /* Footer */
  .site-footer { padding: 56px 0 24px; }
  .footer-grid { gap: 32px; padding-bottom: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; align-items: flex-start; text-align: left; }
}

/* Very small (≤ 420px) */
@media (max-width: 420px) {
  h1 { font-size: 1.7rem; line-height: 1.12; }
  h2 { font-size: 1.4rem; }
  .hero__owners { max-width: 100%; }
  .nav { padding: 10px var(--gutter); gap: 8px; }
  .brand img { height: 38px; }
  .nav-toggle { padding: 8px 12px; min-height: 44px; }
  .container { padding-inline: 18px; }
  .compare__row .row-icon { width: 20px; height: 20px; flex-basis: 20px; font-size: 11px; }
  .feature-card { padding: 18px 16px; }
}

/* Prevent horizontal overflow on small viewports */
html, body { max-width: 100%; overflow-x: hidden; }

/* ============================================================
   PATCH-SET v2 (aus 20-Agent Responsive-Audit)
   Konsolidierte Fixes, gewinnen via Cascade-Position
   ============================================================ */

/* Eyebrow lesbarer auf Mobile */
.eyebrow { font-size: 0.82rem; }

/* Hero-Stats schon ab 860px in 1 Spalte (statt erst 540) */
@media (max-width: 860px) {
  .hero-stats { grid-template-columns: 1fr; gap: 10px; padding: 14px 16px; }
}

/* Hero-Phone Touch-Target ≥ 48px */
.hero-phone { min-height: 48px; padding: 6px 0; }

/* Hero-Stat in 1-Spalten Stack mehr Luft */
@media (max-width: 720px) {
  .hero-stat { padding: 8px 0; min-height: 44px; }
  .hero-checklist li { font-size: 0.94rem; }
}

/* Hero h1 + owner explizit bei 420 (über `.hero__copy h1` Spezifizität) */
@media (max-width: 420px) {
  .hero__copy h1 { font-size: 1.72rem; line-height: 1.12; }
  .hero__owners { max-width: 100%; }
  .eyebrow { font-size: 0.78rem; letter-spacing: 0.1em; }
}

/* Stats-Grid 2 Spalten ab 768px (war erst ab 920px → bei iPad portrait 4 Spalten = quetschig) */
@media (max-width: 860px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .stats__grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .stat-card { padding: 22px 18px; }
  .stat-card .num { font-size: 1.5rem; }
  .stat-card .label { font-size: 1rem; }
}

/* Compare-Subhead Spacer (leeres &nbsp;) auf Mobile ausblenden */
@media (max-width: 720px) {
  .compare__subhead[aria-hidden="true"] { display: none; }
  .compare__row .row-icon { width: 22px; height: 22px; font-size: 12px; }
  /* Subhead konsistenter Padding */
  .compare__subhead { padding: 18px 20px 8px; font-size: 1.05rem; }
}

/* Prose-Table: horizontal scrollbar auf Mobile statt quetschen */
@media (max-width: 720px) {
  .prose .table-scroll, .prose table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
    border-radius: var(--radius-md);
    border: 1px solid var(--ink-100);
  }
  .prose table thead, .prose table tbody { display: table; width: 100%; min-width: 480px; }
  .prose th, .prose td { padding: 10px 12px; white-space: nowrap; }
  .prose th:last-child, .prose td:last-child { padding-right: 18px; }
}

/* FAQ: padding-right tighter, Touch-Target sauber */
@media (max-width: 720px) {
  .faq__q { padding: 16px 48px 16px 22px; font-size: 1rem; min-height: 52px; }
  .faq__q::after { right: 18px; font-size: 1.4rem; }
  .faq__a { padding: 0 22px 18px; }
}

/* CTA-Box Stack auf engen Viewports */
@media (max-width: 540px) {
  .cta-box { grid-template-columns: 1fr; padding: 22px 20px; gap: 16px; }
  .cta-box .btn { width: 100%; justify-content: center; }
}

/* CTA-Strip: echtes 1-Spalten Layout + Button full-width */
@media (max-width: 720px) {
  .cta-strip__inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 22px 20px;
  }
  .cta-strip__inner .btn { width: 100%; justify-content: center; }
  .cta-strip__inner .phone { justify-content: center; }
}

/* Page-Hero Breadcrumb wrappt sauber */
.page-hero__breadcrumb { flex-wrap: wrap; row-gap: 4px; }
@media (max-width: 420px) {
  .page-hero__breadcrumb { font-size: 0.8rem; }
  .page-hero h1 { font-size: clamp(1.55rem, 7vw, 2rem); }
}

/* Region-Cards enger auf 420 */
@media (max-width: 420px) {
  .region-card { padding: 18px 18px; }
  .region-card h3 { font-size: 1.05rem; }
  .region-card p { font-size: 0.88rem; }
}

/* Footer Mid-Range 2-Spalten + Wort-Umbruch + Mobile Bottom */
@media (max-width: 720px) and (min-width: 541px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .footer-bottom { flex-direction: column; gap: 8px; align-items: flex-start; text-align: left; }
}
.footer-grid li, .footer-grid a { word-break: break-word; overflow-wrap: anywhere; }
.footer-brand img { max-width: 100%; }

/* Body Scroll-Lock wenn Mobile-Menü offen */
body.nav-open { overflow: hidden; touch-action: none; }

/* About-Features auf Mobile besser nutzbar */
@media (max-width: 720px) and (min-width: 421px) {
  .about__features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 420px) {
  .about__features { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .feature-card { padding: 18px 12px; }
  .feature-card h4 { font-size: 0.92rem; }
  .feature-card p { font-size: 0.78rem; line-height: 1.4; }
}

/* Nav-Toggle Touch-Target durchgängig */
@media (max-width: 920px) {
  .nav-toggle { min-height: 44px; min-width: 56px; }
}

/* Backdrop-Filter Fallback für ältere Safari/Browser */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header { background: rgba(255, 255, 255, 0.96); }
  .glass, .cta-strip__inner.glass, .hero__owners.is-fallback { background: rgba(255, 255, 255, 0.92); }
}

/* SVC-Feature-Img: tighter margin on mobile */
@media (max-width: 720px) {
  .svc-feature-img { margin-bottom: clamp(28px, 5vw, 48px); }
  .steps { gap: 14px; }
  .step { padding: 22px 18px; }
}

/* Buttons in inline hero/page-hero CTA-Pair: stretch on mobile */
@media (max-width: 480px) {
  .page-hero__inner > div[style*="display:flex"][style*="flex-wrap:wrap"] {
    flex-direction: column;
    align-items: stretch;
  }
  .page-hero__inner > div[style*="display:flex"][style*="flex-wrap:wrap"] .btn {
    width: 100%;
    justify-content: center;
  }
}
