/* ============================================================
   Rheinpfalz Montage — Design System
   Design-Tokens. Akzentblau NUR für CTAs/Links.
   Sektionen wechseln weiß / bg-alt. Keine Verläufe.
   ============================================================ */

/* ---------- Fonts (self-hosted, DSGVO-konform) ---------- */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-var-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-var-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Titillium Web";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/titillium-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Titillium Web";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/titillium-600-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Titillium Web";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/titillium-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Titillium Web";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/titillium-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  --color-primary:      #1B3A5C;
  --color-primary-dark: #12293F;
  --color-anthracite:   #3A3E44;
  --color-accent:       #2E6BB8;
  --color-accent-hover: #255a9e;
  --color-highlight:    #EF8C2E;
  --color-highlight-text: #9A5D0F;
  --color-text:         #2B2F36;
  --color-text-muted:   #6B7280;
  --color-bg:           #FFFFFF;
  --color-bg-alt:       #F4F6F8;
  --color-border:       #E2E6EA;
  --color-error:        #B3261E;
  --color-on-primary:   #FFFFFF;
  --color-on-primary-muted: #B7C4D2;

  --font-sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-head: "Titillium Web", "Inter", "Helvetica Neue", Arial, sans-serif;

  --fs-h1: clamp(2.2rem, 5.5vw, 3.4rem);
  --fs-h2: clamp(1.7rem, 3.8vw, 2.6rem);
  --fs-h3: clamp(1.15rem, 2vw, 1.35rem);
  --fs-lead: clamp(1.05rem, 1.8vw, 1.2rem);

  --space-section: clamp(3.5rem, 8vw, 6rem);
  --radius: 6px;
  --radius-lg: 12px;
  --container: 1140px;
  --header-h: 72px;
  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);
  --shadow-card: 0 1px 2px rgba(18, 41, 63, 0.06), 0 4px 16px rgba(18, 41, 63, 0.07);
}

/* ---------- Reset / Base ---------- */
*, *::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: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent); text-decoration: none; }
a:visited { color: var(--color-accent); }
a:hover { color: var(--color-accent-hover); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--color-primary);
  line-height: 1.15;
  margin: 0 0 0.55em;
  font-weight: 700;
  overflow-wrap: break-word;
}
h1 { font-size: var(--fs-h1); letter-spacing: -0.01em; }
h2 { font-size: var(--fs-h2); letter-spacing: -0.005em; }
h3 { font-size: var(--fs-h3); font-weight: 700; }

/* Fette Subheadline unter H1/H2 (Vorbild-Muster: Kicker → große Headline → bold Subline) */
.sub-head {
  font-size: clamp(1.05rem, 1.9vw, 1.25rem);
  font-weight: 700;
  color: var(--color-anthracite);
  margin: -0.4em 0 0.9em;
}
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; margin: 0 0 1em; }
li { margin-bottom: 0.35em; }
strong { font-weight: 700; }

.lead { font-size: var(--fs-lead); color: var(--color-anthracite); }
.text-muted { color: var(--color-text-muted); }
.kicker {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-highlight-text);
  margin-bottom: 0.8em;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.narrow { max-width: 780px; }

/* ---------- Skip link (a11y) ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-primary);
  color: #fff;
  padding: 10px 16px;
  z-index: 200;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- Buttons (Akzent NUR hier + Links) ---------- */
.btn {
  display: inline-block;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  padding: 14px 26px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.15s var(--ease), color 0.15s var(--ease), border-color 0.15s var(--ease);
}
.btn-primary { background: var(--color-accent); color: #fff; }
.btn-primary:hover, .btn-primary:focus { background: var(--color-accent-hover); color: #fff; }
.btn-primary:visited { color: #fff; }
.btn-outline { border-color: var(--color-accent); color: var(--color-accent); background: transparent; }
.btn-outline:hover, .btn-outline:focus { background: var(--color-accent); color: #fff; }
.btn-outline:visited { color: var(--color-accent); }
.btn-outline:visited:hover { color: #fff; }
.btn-ghost-light { border-color: rgba(255,255,255,0.55); color: #fff; background: transparent; }
.btn-ghost-light:hover, .btn-ghost-light:focus { border-color: #fff; background: rgba(255,255,255,0.08); color: #fff; }
.btn-ghost-light:visited { color: #fff; }
.btn-group { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  padding-top: 10px;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
  padding-top: 6px;
  padding-bottom: 6px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; line-height: 1.15; }
.brand-mark { height: 38px; width: auto; flex: none; }
.brand-mark--white { display: none; }
.brand-text { display: flex; flex-direction: column; }
.brand-name {
  font-weight: 800;
  font-size: 1.18rem;
  color: var(--color-primary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand-name:visited { color: var(--color-primary); }
.brand-name:hover { color: var(--color-primary-dark); }
.brand-claim {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  display: block;
  padding: 10px 12px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-anthracite);
  border-radius: var(--radius);
  white-space: nowrap;
}
.main-nav a:visited { color: var(--color-anthracite); }
.main-nav a:hover { color: var(--color-primary); background: var(--color-bg-alt); }
.main-nav a.active { color: var(--color-highlight-text); }
.main-nav a.active:visited { color: var(--color-highlight-text); }

/* Dropdown "Leistungen" */
.nav-item-dropdown { position: relative; }
.nav-item-dropdown > a::after {
  content: "";
  display: inline-block;
  margin-left: 7px;
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}
.main-nav ul.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 8px;
  display: none;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  z-index: 110;
}
.main-nav .nav-item-dropdown:hover ul.dropdown,
.main-nav .nav-item-dropdown:focus-within ul.dropdown { display: block; }
.dropdown a { padding: 9px 12px; font-weight: 500; }

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--color-primary);
  white-space: nowrap;
  min-height: 44px;
  min-width: 44px;
  justify-content: center;
}
.header-phone:visited { color: var(--color-primary); }
.header-phone:hover { color: var(--color-accent); }
.header-phone svg { width: 18px; height: 18px; flex: none; }
.header-cta { display: inline-block; }

/* Mobile Navigation */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 10px 12px;
  cursor: pointer;
}
.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-primary);
  margin: 4px 0;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}
.nav-open .nav-toggle-bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle-bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Header nutzt mehr Bildschirmbreite als der Inhalt (Nav braucht Platz) */
.site-header .container { max-width: 1360px; }

/* Gestaffelter Platzgewinn auf schmaleren Desktops */
@media (max-width: 1380px) {
  .header-phone span { display: none; } /* Telefon nur als Icon */
}
@media (max-width: 1200px) {
  .header-cta { display: none; }
  .main-nav a { padding: 10px 8px; font-size: 0.92rem; }
}
@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-card);
    display: none;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .nav-open .main-nav { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 10px 20px 16px; }
  .main-nav a { padding: 12px 8px; border-bottom: 1px solid var(--color-border); border-radius: 0; }
  .main-nav ul.dropdown,
  .main-nav .nav-item-dropdown:hover ul.dropdown {
    position: static;
    display: block;
    border: none;
    box-shadow: none;
    padding: 0 0 0 16px;
    min-width: 0;
  }
  .nav-item-dropdown > a::after { display: none; }
}
@media (max-width: 560px) {
  .header-phone span { display: none; } /* nur Icon auf sehr kleinen Screens */
  .brand-claim { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  background: var(--color-primary);
  color: #fff;
  padding: clamp(3.5rem, 9vw, 6.5rem) 0;
  position: relative;
  overflow: hidden;
}
.hero-grid-motif {
  position: absolute;
  inset: 0;
  pointer-events: none; /* Invariant: dekorative Overlays dürfen keine Klicks blocken */
  opacity: 0.55;
}
.hero-inner { position: relative; z-index: 1; max-width: 640px; }
.hero h1 { color: #fff; }
.hero .lead { color: var(--color-on-primary-muted); }
.hero-kicker {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-highlight);
  margin-bottom: 0.8em;
}
.hero-subtitle {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-top: 0.6em;
  margin-bottom: 1.2em;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  list-style: none;
  padding: 0;
  margin: 0 0 1.6em;
  font-size: 0.92rem;
  font-weight: 600;
  color: #fff;
}
.footer-standorte-heading { margin-top: 18px; }
.hero-trust li { display: flex; align-items: center; line-height: 1; }
.hero-trust .check { color: var(--color-highlight); margin-right: 2px; }
@media (max-width: 560px) {
  .hero-trust { flex-direction: column; gap: 10px; }
}
.hero-note { font-size: 0.92rem; color: var(--color-on-primary-muted); margin-top: 1em; }
.hero-note a { color: #fff; text-decoration: underline; }
.hero-note a:visited { color: #fff; }

/* Subpage-Hero (hell) */
.page-hero {
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
  padding: clamp(2.6rem, 6vw, 4rem) 0;
}
.page-hero .lead { max-width: 760px; }
.breadcrumb {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 1.2em;
}
.breadcrumb a { color: var(--color-text-muted); text-decoration: underline; }
.breadcrumb a:visited { color: var(--color-text-muted); }
.breadcrumb a:hover { color: var(--color-accent); }

/* ---------- Sections ---------- */
.section { padding: var(--space-section) 0; }
.section-alt { background: var(--color-bg-alt); }
.section-head { max-width: 760px; margin-bottom: 2.5rem; }

/* ---------- Trust badges ---------- */
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 1.8em;
  padding: 0;
  list-style: none;
}
.trust-row li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0;
}
.hero .trust-row li { color: #fff; }
.trust-check {
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.14);
}
.section .trust-check { background: var(--color-bg-alt); }
.trust-check svg { width: 11px; height: 11px; }

/* ---------- Cards / Leistungs-Kacheln ---------- */
.card-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: none;
  transition: box-shadow 0.15s var(--ease), border-color 0.15s var(--ease);
}
.card:hover { box-shadow: var(--shadow-card); border-color: #d3dae1; }
.card h3 { margin-top: 0.9em; }
.card p { flex: 1; color: var(--color-anthracite); font-size: 0.97rem; }
.card-link { font-weight: 700; font-size: 0.95rem; }
.card-link::after { content: " →"; color: var(--color-highlight-text); }
.card-grid--compact { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.service-link-card {
  display: flex; flex-direction: column; justify-content: space-between;
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius);
  padding: 20px 22px; text-decoration: none; color: var(--color-text);
  transition: box-shadow 0.15s var(--ease), border-color 0.15s var(--ease), transform 0.15s var(--ease);
}
.service-link-card:hover { box-shadow: var(--shadow-card); border-color: #d3dae1; transform: translateY(-2px); }
.service-link-card:visited { color: var(--color-text); }
.service-link-card strong { font-size: 1.02rem; color: var(--color-primary); }
.service-link-card .card-desc { font-size: 0.85rem; color: var(--color-text-muted); line-height: 1.45; margin-top: 4px; }
.service-link-card .card-link { margin-top: 8px; font-size: 0.88rem; }
.city-hero-img { padding-top: 0; padding-bottom: 0; }
.city-banner { margin: 0; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 2 / 1; position: relative; }
.city-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.city-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(18,41,63,0.35) 0%, rgba(18,41,63,0.12) 50%, rgba(18,41,63,0.25) 100%);
  mix-blend-mode: multiply;
  pointer-events: none;
}
.card-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius);
  background: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}
.card-icon svg { width: 26px; height: 26px; }

/* Feature-Liste (Vorteile mit Häkchen) */
.check-list { list-style: none; padding: 0; }
.check-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 0.7em;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-primary);
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: calc(0.28em + 5px);
  width: 8px;
  height: 4px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

/* ---------- Zwei-Spalten-Text ---------- */
.split {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 860px) {
  .split { grid-template-columns: 1fr 1fr; gap: 56px; }
  .split-narrow-wide { grid-template-columns: 2fr 3fr; }
}

/* ---------- Ablauf / Steps ---------- */
.steps {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  counter-reset: step;
  list-style: none;
  padding: 0;
}
.step {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 26px 24px;
  margin: 0;
}
.section-alt .step { background: #fff; }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-highlight);
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 14px;
}
.step h3 { margin-bottom: 0.4em; }
.step p { margin: 0; font-size: 0.95rem; color: var(--color-anthracite); }

/* ---------- CTA-Band ---------- */
.cta-band {
  background: var(--color-primary);
  color: #fff;
  padding: clamp(3rem, 7vw, 4.5rem) 0;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: var(--color-on-primary-muted); max-width: 640px; }
.cta-band .cta-phone {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
}
.cta-band .cta-phone:visited { color: #fff; }

/* ---------- Einzugsgebiet ---------- */
.map-wrap {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 18px;
}
.section-alt .map-wrap { background: #fff; }
.ort-chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; }
.ort-chips li { margin: 0; }
.ort-chips a, .ort-chips span {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--color-anthracite);
  background: #fff;
}
.ort-chips .ort-focus span, .ort-chips.on-white .ort-focus span {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

/* ---------- Referenzen / Galerie ---------- */
.gallery-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.gallery-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}
.gallery-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.gallery-item--label { position: relative; }
.gallery-item--label::before {
  content: attr(data-label);
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  color: #fff;
  background: var(--color-highlight);
}
.gallery-item:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); }
.gallery-item { transition: box-shadow 0.15s var(--ease), transform 0.15s var(--ease); }
.gallery-placeholder {
  aspect-ratio: 4 / 3;
  background: var(--color-bg-alt);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  font-weight: 600;
}
.gallery-placeholder svg { width: 34px; height: 34px; opacity: 0.55; }
.gallery-caption { padding: 14px 16px; font-size: 0.92rem; color: var(--color-anthracite); }

/* ---------- FAQ / Info-Boxen ---------- */
.info-box {
  background: var(--color-bg-alt);
  border-left: 4px solid var(--color-primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  margin: 1.6em 0;
}
.info-box p:last-child { margin-bottom: 0; }

/* ---------- Formular ---------- */
.form-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 720px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-field-full { grid-column: 1 / -1; }
}
.form-field label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 6px;
  color: var(--color-anthracite);
}
.form-field .required { color: var(--color-error); }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font: inherit;
  color: var(--color-text);
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: #fff;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 1px;
  border-color: var(--color-accent);
}
.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea { border-color: var(--color-error); }
.field-error {
  display: none;
  color: var(--color-error);
  font-size: 0.85rem;
  margin-top: 5px;
}
.has-error .field-error { display: block; }
.consent-field { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; }
.consent-field input { width: 18px; height: 18px; margin-top: 3px; flex: none; }
.consent-field a { text-decoration: underline; }
.form-status { margin-top: 16px; font-weight: 600; display: none; }
.form-status.ok { display: block; color: #1B5E20; }
.form-status.err { display: block; color: var(--color-error); }
.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* Kontakt-Infokarten */
.contact-cards { display: grid; gap: 18px; }
.contact-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 18px 20px;
  background: #fff;
}
.contact-card svg { width: 22px; height: 22px; flex: none; color: var(--color-primary); margin-top: 2px; }
.contact-card strong { display: block; color: var(--color-primary); }
.contact-card a { font-weight: 600; }

/* Karten-Consent (Google Maps 2-Klick) */
.map-consent {
  background: var(--color-bg-alt);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius);
  padding: 36px 24px;
  text-align: center;
}
.map-consent p { max-width: 520px; margin: 0 auto 1.2em; font-size: 0.92rem; color: var(--color-text-muted); }
.map-embed iframe { width: 100%; height: 380px; border: 0; border-radius: var(--radius); display: block; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-primary-dark);
  color: var(--color-on-primary-muted);
  padding: clamp(3rem, 6vw, 4.5rem) 0 0;
  font-size: 0.94rem;
}
.footer-grid {
  display: grid;
  gap: 36px;
  grid-template-columns: 1fr;
  padding-bottom: 2.6rem;
}
@media (min-width: 720px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-logo { height: 44px; width: auto; margin-bottom: 8px; }
.footer-brand .brand-name { color: #fff; font-size: 1.15rem; }
.footer-slogan { margin-top: 6px; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; }
.footer-heading {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 1em;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.55em; }
.site-footer a { color: var(--color-on-primary-muted); }
.site-footer a:visited { color: var(--color-on-primary-muted); }
.site-footer a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 17px; height: 17px; flex: none; margin-top: 3px; opacity: 0.8; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 18px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  font-size: 0.85rem;
}
.footer-bottom a { color: var(--color-on-primary-muted); }
.footer-bottom a:visited { color: var(--color-on-primary-muted); }
.footer-bottom a:hover { color: #fff; }
.footer-bottom a.active { color: #fff; text-decoration: underline; }

/* ---------- Rechtsseiten ---------- */
.legal-page main { flex: 1; }
.legal-page body { display: flex; flex-direction: column; min-height: 100vh; }
body.legal-body { display: flex; flex-direction: column; min-height: 100vh; }
body.legal-body main { flex: 1; }
.legal-content h2 { font-size: 1.3rem; margin-top: 2em; }
.legal-content h3 { font-size: 1.05rem; margin-top: 1.6em; }
.legal-content { max-width: 780px; }
.legal-todo {
  background: #FFF7E6;
  border: 1px solid #F0D9A8;
  border-radius: var(--radius);
  padding: 10px 14px;
  font-size: 0.9rem;
  color: #7A5A00;
}

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   Design v2 — Foto-getriebenes Layout (Vorbild-Adaption)
   ============================================================ */

/* ---------- USP-Leiste (direkt unter dem Hero) ---------- */
.usp-bar {
  background: var(--color-primary-dark);
  color: #fff;
  padding: 22px 0;
}
.usp-bar-grid {
  display: grid;
  gap: 18px 32px;
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 980px) { .usp-bar-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .usp-bar-grid { grid-template-columns: 1fr; gap: 14px; } }
.usp-item { display: flex; align-items: flex-start; gap: 13px; }
.usp-item svg { margin-top: 2px; }
.usp-item svg { width: 30px; height: 30px; flex: none; opacity: 0.9; color: var(--color-highlight); }
.usp-item strong { display: block; font-size: 0.95rem; line-height: 1.3; }
.usp-item span { display: block; font-size: 0.8rem; color: var(--color-on-primary-muted); }

/* ---------- Foto-Platzhalter (bis echte Bilder kommen) ----------
   Austausch später: <figure class="media-ph">…</figure> ersetzen durch
   <figure class="media"><img src="/assets/img/NAME.webp" alt="Leistung + Ort" loading="lazy"></figure> */
.media, .media-ph {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-ph {
  aspect-ratio: 4 / 3;
  background: var(--color-bg-alt);
  border: 1px dashed #C9D2DB;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--color-text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  text-align: center;
  padding: 16px;
}
.media-ph svg { width: 32px; height: 32px; opacity: 0.5; }
.media-ph--wide { aspect-ratio: 16 / 9; }
.split .media, .split .media-ph { width: 100%; }

/* ---------- Foto-Karten (Leistungen, Vorbild: Bild + weiße Titelleiste) ---------- */
.photo-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.15s var(--ease), border-color 0.15s var(--ease), transform 0.15s var(--ease);
}
.photo-card:hover { box-shadow: var(--shadow-card); border-color: #d3dae1; transform: translateY(-2px); }
.photo-card .media-ph, .photo-card .media, .photo-card > figure { border-radius: 0; border-left: 0; border-right: 0; border-top: 0; aspect-ratio: 3 / 2; margin: 0; overflow: hidden; }
.photo-card > figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-card-body { padding: 18px 22px 20px; display: flex; flex-direction: column; flex: 1; }
.photo-card-body h3 { margin: 0 0 6px; }
.photo-card-body p { flex: 1; color: var(--color-anthracite); font-size: 0.94rem; margin-bottom: 12px; }
.photo-card-body .card-link { font-weight: 700; font-size: 0.95rem; }

/* ---------- CTA-Band v2 (zentriert, foto-ready) ----------
   Mit Foto später: style="background-image:url(...)" auf .cta-band setzen —
   das Overlay liegt automatisch darüber. */
.cta-band {
  position: relative;
  background-color: var(--color-primary-dark);
  background-size: cover;
  background-position: center;
  text-align: center;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(18, 41, 63, 0.78);
  pointer-events: none;
}
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(1.9rem, 4.5vw, 3rem); }
.cta-band p { margin-left: auto; margin-right: auto; }
.cta-band .btn-group { justify-content: center; }

/* ---------- FAQ-Accordion (native details/summary) ---------- */
.faq { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
.faq details {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  font-family: var(--font-head);
  font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1;
  color: var(--color-highlight-text);
  transition: transform 0.15s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 18px 20px; }
.faq details > div p:last-child { margin-bottom: 0; }

/* ---------- Floating Kontakt-Buttons (rechter Rand, Desktop) ---------- */
.floating-contact {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.floating-contact a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--color-primary-dark);
  color: #fff;
  border-radius: 6px 0 0 6px;
  transition: background-color 0.15s var(--ease);
}
.floating-contact a:visited { color: #fff; }
.floating-contact a:hover { background: var(--color-accent); color: #fff; }
.floating-contact svg { width: 20px; height: 20px; }
@media (max-width: 720px) { .floating-contact { display: none; } }

/* ---------- Hero v2 (foto-ready) ----------
   Mit Foto später: <div class="hero-media" style="background-image:url(...)"></div>
   als erstes Kind der .hero einsetzen — Overlay ist eingebaut. */
.hero-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  pointer-events: none;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  /* Wie Referenz: dunkel hinter dem Text (links) + leichte Abdunklung oben
     für den transparenten Header. Rechts bleibt das Haus hell und klar. */
  background:
    linear-gradient(90deg, rgba(18,41,63,0.94) 0%, rgba(18,41,63,0.82) 30%, rgba(18,41,63,0.38) 60%, rgba(18,41,63,0) 100%),
    linear-gradient(180deg, rgba(18,41,63,0.50) 0%, rgba(18,41,63,0) 22%);
}
.hero { padding: clamp(4rem, 10vw, 7.5rem) 0; }
.hero .container { max-width: 1360px; width: 100%; }
.hero h1 { font-size: clamp(2.3rem, 5.5vw, 3.6rem); }

/* ---------- Startseite: transparenter Header über dem Vollbild-Hero ---------- */
.home .hero {
  min-height: 84vh;
  display: flex;
  align-items: center;
  /* Header liegt absolut (out of flow) → Foto startet ohnehin bei y=0.
     Padding oben schafft Abstand, damit Inhalt den Header nicht berührt. */
  padding-top: calc(var(--header-h) + clamp(2rem, 6vw, 4rem));
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
}
.home .site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  background: transparent;
  border-bottom: none;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.home .site-header .brand-name { color: #fff; }
.home .site-header .brand-claim { color: rgba(255,255,255,0.72); }
.home .site-header .brand-mark--dark { display: none; }
.home .site-header .brand-mark--white { display: block; }
.home .site-header .main-nav > ul > li > a { color: rgba(255,255,255,0.92); }
.home .site-header .main-nav > ul > li > a:hover { color: #fff; background: rgba(255,255,255,0.12); }
.home .site-header .main-nav a.active { color: #fff; }
.home .site-header .header-phone { color: #fff; }
.home .site-header .header-phone:hover { color: #fff; opacity: 0.85; }
.home .site-header .nav-toggle { border-color: rgba(255,255,255,0.4); }
.home .site-header .nav-toggle-bar { background: #fff; }

/* Beim Scrollen: fester weißer Header wie auf den Unterseiten */
.home .site-header.scrolled {
  position: fixed;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 2px 12px rgba(18,41,63,0.06);
}
.home .site-header.scrolled .brand-name { color: var(--color-primary); }
.home .site-header.scrolled .brand-claim { color: var(--color-text-muted); }
.home .site-header.scrolled .brand-mark--dark { display: block; }
.home .site-header.scrolled .brand-mark--white { display: none; }
.home .site-header.scrolled .main-nav > ul > li > a { color: var(--color-anthracite); }
.home .site-header.scrolled .main-nav a.active { color: var(--color-accent); }
.home .site-header.scrolled .header-phone { color: var(--color-primary); }
.home .site-header.scrolled .nav-toggle { border-color: var(--color-border); }
.home .site-header.scrolled .nav-toggle-bar { background: var(--color-primary); }
/* Mobile: geöffnetes Menü bekommt weißen Hintergrund → dunkle Links */
.home .site-header.nav-open { background: var(--color-bg); }
.home .site-header.nav-open .brand-name { color: var(--color-primary); }
.home .site-header.nav-open .brand-mark--dark { display: block; }
.home .site-header.nav-open .brand-mark--white { display: none; }
.home .site-header.nav-open .main-nav > ul > li > a { color: var(--color-anthracite); }
.home .site-header.nav-open .header-phone { color: var(--color-primary); }
.home .site-header.nav-open .nav-toggle-bar { background: var(--color-primary); }

/* ---------- Ort-Links (Einzugsgebiet) ---------- */
.ort-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1rem; }
.ort-link {
  display: inline-flex; align-items: center;
  padding: 10px 20px; border-radius: 999px;
  background: var(--color-primary); color: #fff;
  font-weight: 600; font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.15s var(--ease), transform 0.15s var(--ease);
}
.ort-link:hover { background: var(--color-accent); transform: translateY(-1px); }
.ort-link:visited { color: #fff; }

/* ---------- Mobile-Optimierung (≤ 680px) ---------- */
@media (max-width: 680px) {
  :root { --header-h: 58px; }
  .site-header { padding-top: 4px; }
  .header-inner { padding-top: 2px; padding-bottom: 2px; gap: 10px; }
  .brand-name { font-size: 1.1rem; }
  .brand-mark { height: 30px; width: auto; }

  /* Hero */
  .hero { padding: clamp(2.5rem, 7vw, 4rem) 0 clamp(2rem, 5vw, 3rem); }
  .hero h1 { font-size: clamp(1.6rem, 7vw, 2.4rem); }
  .hero-subtitle { font-size: 0.92rem; }
  .hero-grid-motif { display: none; }
  .hero .btn-group { flex-direction: column; gap: 10px; }
  .hero .btn-group .btn { width: 100%; text-align: center; }

  /* USP Bar */
  .usp-bar { padding: 18px 0; }
  .usp-bar-grid { gap: 14px; }

  /* Sections — klare Trennung auf Mobile */
  .section { padding: clamp(2.5rem, 6vw, 3.5rem) 0; position: relative; }
  .section + .section:not(.section-alt)::before {
    content: "";
    display: block;
    width: 48px;
    height: 3px;
    background: var(--color-highlight);
    border-radius: 2px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
  }
  .section-alt {
    background: var(--color-bg-alt);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
  }
  .section-alt + .section:not(.section-alt)::before { display: none; }
  .section h2 { font-size: clamp(1.25rem, 5vw, 1.6rem); }
  .split { flex-direction: column; gap: 1.5rem; }
  .split > figure { border-radius: var(--radius); overflow: hidden; }

  /* Scroll-Reveal — nur aktiv wenn JS die Klasse setzt (progressive enhancement) */
  .reveal-hidden {
    opacity: 0 !important;
    transform: translateY(20px) !important;
    transition: opacity 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
  }
  .reveal-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
  }

  /* Service Cards */
  .card-grid { grid-template-columns: 1fr; gap: 16px; }
  .photo-card > figure { aspect-ratio: 16 / 9; }
  .card-link { display: inline-block; padding: 10px 0; }

  /* City Service Grid */
  .card-grid--compact { grid-template-columns: 1fr; gap: 10px; }
  .service-link-card { padding: 16px 18px; }

  /* Einzugsgebiet */
  .map-wrap { display: none; }
  .ort-links { gap: 8px; }
  .ort-link { padding: 8px 16px; font-size: 0.85rem; }

  /* Steps */
  .steps { gap: 12px; }
  .step { padding: 18px 20px; }
  .step-num { width: 32px; height: 32px; font-size: 0.85rem; }

  /* FAQ */
  .faq details summary { font-size: 0.92rem; padding: 14px 16px; }

  /* CTA Band */
  .cta-band { padding: clamp(2rem, 6vw, 3rem) 0; }
  .cta-band h2 { font-size: clamp(1.3rem, 5.5vw, 1.8rem); }
  .cta-band p { font-size: 0.92rem; }
  .cta-band .btn-group { flex-direction: column; gap: 10px; }
  .cta-band .btn-group .btn { width: 100%; text-align: center; }

  /* Subpage Hero */
  .page-hero { padding: clamp(1.5rem, 4vw, 2.5rem) 0; }
  .page-hero h1 { font-size: clamp(1.4rem, 6vw, 2rem); }
  .page-hero .lead { font-size: 0.92rem; }
  .breadcrumb { font-size: 0.8rem; }

  /* City Pages */
  .city-banner { aspect-ratio: 16 / 9; border-radius: var(--radius); }

  /* Check Lists */
  .check-list { padding-left: 0; }
  .check-list li { font-size: 0.9rem; padding: 6px 0; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }

  /* Forms */
  .form-grid { gap: 14px; }
  .contact-cards { gap: 10px; }

  /* Trust Row */
  .trust-row { flex-wrap: wrap; gap: 6px 16px; font-size: 0.82rem; }

  /* Referenz-Galerie */
  .ref-grid { grid-template-columns: 1fr; }
}

@media (max-width: 400px) {
  .container { padding-left: 16px; padding-right: 16px; }
  .hero h1 { font-size: 1.5rem; }
  .page-hero h1 { font-size: 1.3rem; }
  .brand-name { font-size: 1rem; }
  .brand-mark { height: 26px; width: auto; }
  .ort-link { flex: 1; text-align: center; min-width: calc(50% - 4px); }
}

/* ---------- Reduzierte Bewegung (a11y) ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
