/* ============================================================
   ROMANIK Installationstechnik — Stylesheet
   Aesthetik: "Werkstatt-Präzision" — ruhig, klar, vertrauenswürdig.
   Akzent: Logo-Blau. Rot ausschließlich als Notdienst-Mini-Akzent.
   ============================================================ */

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

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

a, button {
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(11, 110, 151, .12);
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, picture, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
input, textarea, select, button { font-family: inherit; }

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

/* ---------- 2. Design Tokens ---------- */
:root {
  /* Brand — Frisches Logo-Blau */
  --blue:        #1BA4DC;   /* heller Markenton — Icons, Akzente, Hover-Borders */
  --blue-600:    #1690C2;
  --blue-700:    #0B6E97;   /* Buttons, Links, Eyebrows (WCAG-sicher auf Weiß) */
  --blue-800:    #0A4F6E;
  --blue-900:    #0A2C3D;   /* Tiefblau — Hero-Overlay, Partner-Panel, Footer */
  --blue-50:     #EAF6FB;   /* zarte Tint-Flächen */
  --blue-100:    #D5ECF6;

  --red:         #E63329;   /* Logo-Rot — NUR Notdienst / Mini-Akzent */
  --red-700:     #C0271E;   /* Rot für Text (WCAG-sicher auf Weiß) */

  --ink:         #1F2933;   /* Anthrazit — Überschriften & Fließtext */
  --ink-soft:    #45535E;   /* Sekundärtext */
  --ink-faint:   #647079;   /* Meta, Captions */

  --paper:       #FFFFFF;
  --paper-tint:  #F4F8FA;   /* abwechselnder Sektionshintergrund */
  --paper-tint2: #ECF2F5;
  --line:        #E1E8ED;   /* Rahmen, Trenner */
  --line-strong: #CCD8DF;

  /* Typografie */
  --font-display: 'Barlow', system-ui, -apple-system, Segoe UI, sans-serif;
  --font-body:    'IBM Plex Sans', system-ui, -apple-system, Segoe UI, sans-serif;

  /* Radius */
  --r-sm: 9px;
  --r:    14px;
  --r-lg: 22px;
  --r-pill: 999px;

  /* Schatten */
  --shadow-sm: 0 1px 2px rgba(15,44,61,.06), 0 2px 6px rgba(15,44,61,.05);
  --shadow-md: 0 6px 18px rgba(15,44,61,.09), 0 2px 6px rgba(15,44,61,.06);
  --shadow-lg: 0 18px 48px rgba(10,44,61,.16), 0 6px 16px rgba(10,44,61,.08);
  --shadow-blue: 0 10px 26px rgba(11,110,151,.28);

  /* Layout */
  --container: 1180px;
  --header-h: 74px;

  /* Blueprint-Raster (zarte Textur) */
  --grid-line: rgba(255,255,255,.05);
}

/* ---------- 3. Typografie ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.012em;
  color: var(--ink);
  overflow-wrap: break-word;
  word-break: break-word;
}
p { overflow-wrap: break-word; }

h1 { font-size: clamp(2.1rem, 1.3rem + 3.4vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 1.15rem + 2.3vw, 2.65rem); }
h3 { font-size: clamp(1.16rem, 1.05rem + .5vw, 1.4rem); font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }

p { text-wrap: pretty; }
strong { font-weight: 600; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue-700);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: var(--blue);
}
.eyebrow--light { color: #8FD3EF; }
.eyebrow--light::before { background: var(--blue); }
.eyebrow--center { }

/* ---------- 4. Layout ---------- */
.container {
  width: min(100% - 2.4rem, var(--container));
  margin-inline: auto;
}
.container--narrow { width: min(100% - 2.4rem, 760px); margin-inline: auto; }

.section { padding: clamp(3.4rem, 2rem + 6vw, 6.6rem) 0; }
.section--tint { background: var(--paper-tint); }
.section--ink { background: var(--blue-900); color: #DDE9EF; }
section[id], [id].subpage { scroll-margin-top: calc(var(--header-h) + 16px); }

.section-head { max-width: 680px; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 { margin: .7rem 0 .5rem; }
.section-head .lead {
  font-size: 1.08rem;
  color: var(--ink-soft);
}
.section--ink .section-head h2 { color: #fff; }
.section--ink .lead { color: #B6CAD4; }

.lead { line-height: 1.7; }

/* ---------- 5. Buttons ---------- */
.btn {
  --btn-bg: var(--blue-700);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 50px;
  padding: .82rem 1.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .005em;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border-radius: var(--r-sm);
  border: 2px solid var(--btn-bg);
  transition: transform .18s ease, box-shadow .22s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
  text-align: center;
  line-height: 1.15;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover {
  background: var(--blue-800);
  border-color: var(--blue-800);
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue);
}
.btn:active { transform: translateY(0); }

.btn--lg { min-height: 56px; padding: 1rem 1.9rem; font-size: 1.06rem; }
.btn--block { width: 100%; }
.btn--compact { min-height: 44px; padding: .58rem 1rem; font-size: .94rem; }

.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--blue-700);
  border-color: var(--line-strong);
}
.btn--outline:hover {
  background: var(--blue-50);
  border-color: var(--blue-700);
  color: var(--blue-800);
  box-shadow: none;
}

.btn--white {
  --btn-bg: #fff;
  --btn-fg: var(--blue-900);
}
.btn--white:hover {
  background: #fff;
  border-color: #fff;
  color: var(--blue-900);
  box-shadow: 0 12px 30px rgba(0,0,0,.28);
}

.btn--outline-light {
  --btn-bg: transparent;
  --btn-fg: #fff;
  border-color: rgba(255,255,255,.55);
}
.btn--outline-light:hover {
  background: rgba(255,255,255,.12);
  border-color: #fff;
  color: #fff;
  box-shadow: none;
}

.btn--red {
  --btn-bg: var(--red-700);
  --btn-fg: #fff;
}
.btn--red:hover { background: #9e1f17; border-color: #9e1f17; box-shadow: 0 10px 26px rgba(192,39,30,.32); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--blue-700);
  border-color: transparent;
  min-height: auto;
  padding: .35rem .2rem;
}
.btn--ghost:hover { background: transparent; border-color: transparent; color: var(--blue-800); transform: none; box-shadow: none; text-decoration: underline; text-underline-offset: 4px; }

/* Text-Link */
.tlink {
  color: var(--blue-700);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  text-decoration-color: var(--blue-100);
  transition: text-decoration-color .2s ease, color .2s ease;
}
.tlink:hover { color: var(--blue-800); text-decoration-color: var(--blue); }

/* ---------- 6. Header / Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease, background-color .25s ease;
}
.site-header.is-scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255,255,255,.97);
}
.nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  min-height: var(--header-h);
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-right: auto;
  padding: .35rem 0;
}
.nav__brand-mark { height: 40px; width: auto; flex: none; display: block; }
.nav__brand-text { display: grid; line-height: 1; }
.nav__brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  font-size: 1.34rem;
  color: var(--ink);
  letter-spacing: -.01em;
}
.nav__brand-tag {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .62rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 2px;
}
@media (max-width: 360px) {
  .nav__brand-name { font-size: 1.15rem; }
}

/* Schlanker Header für Unterseiten */
.subpage-header .nav__brand-tag { display: none; }
@media (min-width: 480px) {
  .subpage-header .nav__brand-tag { display: block; }
}

.nav__links {
  display: none;
  align-items: center;
  gap: .35rem;
}
.nav__links a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .98rem;
  color: var(--ink-soft);
  padding: .55rem .7rem;
  border-radius: var(--r-sm);
  transition: color .18s ease, background-color .18s ease;
}
.nav__links a:hover { color: var(--blue-800); background: var(--blue-50); }

.nav__actions { display: flex; align-items: center; gap: .7rem; }
.nav__phone {
  display: none;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  font-size: 1rem;
  padding: .4rem .2rem;
}
.nav__phone svg { width: 18px; height: 18px; color: var(--blue-700); }
.nav__phone span small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .68rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-faint);
  line-height: 1;
}
.nav__phone:hover { color: var(--blue-800); }
.nav__cta { display: none; }

.nav__whatsapp {
  display: none;
  align-items: center;
  gap: .6rem;
  padding: .3rem .55rem .3rem .35rem;
  border-radius: var(--r-sm);
  transition: background-color .18s ease;
}
.nav__whatsapp img { width: 38px; height: 38px; display: block; flex: none; }
.nav__whatsapp span {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  font-size: 1rem;
  display: grid;
  line-height: 1.1;
}
.nav__whatsapp span small {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .68rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-faint);
  line-height: 1;
  margin-bottom: 2px;
}
.nav__whatsapp:hover { background: rgba(18, 140, 126, .08); }

/* Burger */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-strong);
  background: #fff;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2.4px;
  margin-inline: auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.4px) rotate(-45deg); }

/* Mobile-Menü */
.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  padding: 1rem 1.2rem 1.6rem;
  display: grid;
  gap: .25rem;
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  transition: transform .26s ease, opacity .22s ease, visibility .26s;
  z-index: 99;
}
.mobile-menu.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
.mobile-menu a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.08rem;
  padding: .85rem .6rem;
  border-radius: var(--r-sm);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.mobile-menu a:hover { background: var(--blue-50); }
.mobile-menu a:last-of-type { border-bottom: none; }
.mobile-menu .btn { margin-top: .9rem; }
.mobile-menu__phone {
  margin-top: .4rem;
  display: flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--blue-800);
  padding: .4rem .6rem;
}
.mobile-menu__phone svg { width: 20px; height: 20px; }

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  background: var(--blue-900);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("../assets/hero-werkstatt.jpg");
  background-size: cover;
  background-position: center 62%;
  background-color: var(--blue-900);
}
/* Blueprint-Textur, falls Foto fehlt — bleibt zart auch mit Foto */
.hero__grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 46px 46px;
  opacity: .6;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(10,44,61,.62) 0%, rgba(10,44,61,.78) 55%, rgba(10,44,61,.94) 100%),
    linear-gradient(90deg, rgba(10,44,61,.86) 0%, rgba(10,44,61,.45) 60%, rgba(10,44,61,.25) 100%);
}
.hero__inner {
  padding: clamp(2.8rem, 2rem + 6vw, 5.6rem) 0 clamp(5.2rem, 4rem + 5vw, 7rem);
  max-width: 720px;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.22);
  padding: .42rem .85rem;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .03em;
  margin-bottom: 1.3rem;
  backdrop-filter: blur(4px);
}
.hero__badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 4px rgba(74,222,128,.25);
}
.hero h1 { color: #fff; }
.hero h1 .accent {
  color: #6FD0F2;
  display: inline-block;
}
.hero__sub {
  margin-top: 1.15rem;
  font-size: clamp(1.04rem, 1rem + .4vw, 1.2rem);
  color: #D5E5EC;
  max-width: 600px;
  line-height: 1.66;
}
.hero__actions {
  margin-top: 1.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
}
.hero__phone-line {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: .7rem;
  font-size: .98rem;
  color: #BCD2DC;
}
.hero__phone-line a {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  color: #fff;
  letter-spacing: -.01em;
}
.hero__phone-line a:hover { color: #6FD0F2; }
.hero__notdienst {
  margin-top: 1.4rem;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .92rem;
  color: #E9D2D0;
  background: rgba(230,51,41,.16);
  border: 1px solid rgba(230,51,41,.4);
  padding: .55rem .9rem;
  border-radius: var(--r-sm);
}
.hero__notdienst svg { width: 18px; height: 18px; color: #FF8A82; flex: none; }
.hero__notdienst a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* Trust-Leiste, überlappt Hero-Unterkante */
.trustbar {
  position: relative;
  z-index: 2;
  margin-top: -3.4rem;
}
.trustbar__inner {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
}
.trustbar__item {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: 1.15rem 1.4rem;
  border-bottom: 1px solid var(--line);
}
.trustbar__item:last-child { border-bottom: none; }
.trustbar__icon {
  flex: none;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  background: var(--blue-50);
  color: var(--blue-700);
  border-radius: 11px;
}
.trustbar__icon svg { width: 22px; height: 22px; }
.trustbar__text strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  line-height: 1.25;
}
.trustbar__text span { font-size: .88rem; color: var(--ink-faint); }

/* ---------- 8. Leistungen ---------- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}
.service-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.6rem 1.5rem 1.7rem;
  transition: transform .22s ease, box-shadow .24s ease, border-color .22s ease;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-100);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card__icon {
  width: 56px; height: 56px;
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, var(--blue-50), #fff);
  border: 1px solid var(--blue-100);
  border-radius: 14px;
  color: var(--blue-700);
  margin-bottom: 1.1rem;
}
.service-card__icon svg { width: 30px; height: 30px; }
.service-card h3 { margin-bottom: .5rem; }
.service-card p { color: var(--ink-soft); font-size: .98rem; }
.service-card__list {
  margin-top: 1rem;
  display: grid;
  gap: .45rem;
}
.service-card__list li {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  font-size: .9rem;
  color: var(--ink-soft);
}
.service-card__list svg {
  width: 16px; height: 16px;
  color: var(--blue);
  flex: none;
  margin-top: .25rem;
}

/* ---------- 9. Warum Romanik ---------- */
.why__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.2rem;
  align-items: start;
}
.why__list { display: grid; gap: 1rem; }
.why__item {
  display: flex;
  gap: 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.25rem 1.3rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.why__item:hover { border-color: var(--blue-100); box-shadow: var(--shadow-sm); }
.why__num {
  flex: none;
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--blue-700);
  color: #fff;
}
.why__num svg { width: 23px; height: 23px; }
.why__item h3 { font-size: 1.12rem; margin-bottom: .25rem; }
.why__item p { font-size: .95rem; color: var(--ink-soft); }

.why__media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--blue-900);
  min-height: 340px;
  border: 1px solid var(--line);
  display: grid;
}
.why__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  grid-area: 1 / 1;
}
.why__media-fallback {
  grid-area: 1 / 1;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: .8rem;
  text-align: center;
  padding: 2rem;
  color: #9FC4D3;
  background:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px),
    var(--blue-900);
  background-size: 38px 38px, 38px 38px, auto;
}
.why__media-fallback svg { width: 54px; height: 54px; color: var(--blue); }
.why__media-fallback span { font-family: var(--font-display); font-weight: 600; font-size: .92rem; letter-spacing: .02em; }
.why__media-fallback small { font-size: .78rem; color: #6E94A4; max-width: 240px; }
.why__media-card {
  position: absolute;
  left: 1rem; right: 1rem; bottom: 1rem;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(6px);
  border-radius: var(--r);
  padding: 1rem 1.15rem;
  display: flex;
  align-items: center;
  gap: .9rem;
  box-shadow: var(--shadow-md);
}
.why__media-card svg { width: 34px; height: 34px; color: var(--blue-700); flex: none; }
.why__media-card strong { font-family: var(--font-display); display: block; font-size: 1rem; color: var(--ink); }
.why__media-card span { font-size: .85rem; color: var(--ink-faint); }

/* ---------- 10. Partner — Cachro ---------- */
.partner { position: relative; overflow: hidden; }
.partner__deco {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 46px 46px;
  opacity: .5;
}
.partner .container { position: relative; z-index: 1; }
.partner__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
.partner__copy .eyebrow { margin-bottom: .8rem; }
.partner__copy h2 { color: #fff; margin-bottom: .8rem; }
.partner__copy p { color: #B6CAD4; }
.partner__copy .partner__highlight {
  margin-top: 1.1rem;
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  background: rgba(27,164,220,.12);
  border: 1px solid rgba(27,164,220,.32);
  padding: .9rem 1.05rem;
  border-radius: var(--r-sm);
  color: #DCEAF0;
  font-size: .95rem;
}
.partner__highlight svg { width: 20px; height: 20px; color: #6FD0F2; flex: none; margin-top: .15rem; }

.partner__card {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 1.7rem 1.6rem;
  box-shadow: var(--shadow-lg);
  color: var(--ink);
}
.partner__card-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.4rem;
  text-align: center;
}
.partner__logo {
  display: block;
  width: 100%;
  max-width: 280px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: .9rem 1.2rem;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.partner__logo:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.partner__logo img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 70px;
  display: block;
  margin: 0 auto;
}
.partner__card-top .tag {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: .3rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .74rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--red-700);
  background: #FCEAE9;
  padding: .25rem .6rem;
  border-radius: var(--r-pill);
}
.partner__card-top .tag svg { width: 13px; height: 13px; }
.partner__services {
  display: grid;
  gap: .55rem;
  margin-bottom: 1.3rem;
}
.partner__services li {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  font-size: .94rem;
  color: var(--ink-soft);
}
.partner__services svg { width: 17px; height: 17px; color: var(--blue-700); flex: none; margin-top: .22rem; }
.partner__contact {
  display: flex;
  flex-direction: column;
  gap: .7rem;
}
.partner__phone {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--ink);
}
.partner__phone svg { width: 22px; height: 22px; color: var(--blue-700); }
.partner__phone:hover { color: var(--blue-800); }

/* ---------- 11. Ablauf ---------- */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
  counter-reset: step;
}
.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.5rem 1.4rem;
}
.step__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--blue-100);
  -webkit-text-stroke: 1.5px var(--blue);
  margin-bottom: .65rem;
}
.step h3 { font-size: 1.12rem; margin-bottom: .35rem; }
.step p { font-size: .93rem; color: var(--ink-soft); }
.step__icon {
  position: absolute;
  top: 1.5rem; right: 1.4rem;
  color: var(--blue);
}
.step__icon svg { width: 26px; height: 26px; }

/* ---------- 12. Galerie ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}
.ba {
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  background: #fff;
}
.ba__media {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.ba__cell {
  position: relative;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  background:
    linear-gradient(rgba(11,110,151,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11,110,151,.05) 1px, transparent 1px),
    var(--paper-tint);
  background-size: 26px 26px, 26px 26px, auto;
  color: var(--ink-faint);
  text-align: center;
  padding: 1rem;
}
.ba__cell img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__cell + .ba__cell { border-left: 1px solid var(--line); }
.ba__tag {
  position: absolute;
  top: .6rem; left: .6rem;
  z-index: 2;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: rgba(31,41,51,.85);
  color: #fff;
  padding: .22rem .55rem;
  border-radius: 5px;
}
.ba__cell-inner { display: grid; gap: .4rem; justify-items: center; }
.ba__cell-inner svg { width: 30px; height: 30px; color: var(--line-strong); }
.ba__cell-inner span { font-size: .78rem; }
.ba__caption {
  padding: .95rem 1.15rem;
  font-size: .94rem;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
}
.ba__caption strong { font-family: var(--font-display); color: var(--ink); }
.gallery-note {
  margin-top: 1.4rem;
  font-size: .9rem;
  color: var(--ink-faint);
  display: flex;
  gap: .5rem;
  align-items: center;
}
.gallery-note svg { width: 17px; height: 17px; color: var(--blue-700); flex: none; }

/* Neue Galerie-Kacheln (Einzelfoto + Caption) */
.gallery-tile {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: transform .24s ease, box-shadow .26s ease, border-color .22s ease;
}
.gallery-tile:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-100);
}
.gallery-tile img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--paper-tint);
}
.gallery-tile figcaption {
  padding: .95rem 1.15rem 1.1rem;
  font-size: .9rem;
  color: var(--ink-soft);
  line-height: 1.5;
}
.gallery-tile figcaption strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: .12rem;
}
@media (prefers-reduced-motion: reduce) {
  .gallery-tile { transition: none; }
}

/* ---------- 12b. FAQ-Akkordeon ---------- */
.faq-list { display: grid; gap: .85rem; max-width: 820px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: border-color .18s ease, box-shadow .2s ease;
}
.faq-item:hover { border-color: var(--blue-100); }
.faq-item[open] { border-color: var(--blue-100); box-shadow: var(--shadow-sm); }
.faq-item summary {
  cursor: pointer;
  padding: 1.05rem 3.2rem 1.05rem 1.25rem;
  position: relative;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.04rem;
  line-height: 1.35;
  color: var(--ink);
  list-style: none;
  overflow-wrap: break-word;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { display: none; }
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 1.25rem;
  top: 50%;
  width: 24px; height: 24px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B6E97' stroke-width='2.4' stroke-linecap='round'><line x1='5' y1='12' x2='19' y2='12'/><line x1='12' y1='5' x2='12' y2='19'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
  transform: translateY(-50%);
  transition: transform .25s ease;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item summary:hover { color: var(--blue-800); }
.faq-item summary:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: -3px;
  border-radius: var(--r);
}
.faq-answer {
  padding: 0 1.25rem 1.2rem;
  color: var(--ink-soft);
  font-size: .96rem;
  line-height: 1.65;
}
.faq-answer p { margin: 0; }
.faq-answer p + p { margin-top: .6rem; }
.faq-answer strong { color: var(--ink); }
@media (prefers-reduced-motion: reduce) {
  .faq-item, .faq-item summary::after { transition: none; }
}

/* ---------- 13. Kontakt-Sektion (Karten statt Formular) ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 920px;
  margin: 0 auto;
}
@media (min-width: 720px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1.45rem 1.55rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  text-decoration: none;
  color: inherit;
  transition: transform .22s ease, box-shadow .24s ease, border-color .22s ease;
}
.contact-method[href]:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-100);
}
.contact-method--primary {
  background: linear-gradient(180deg, var(--blue-700), var(--blue-800));
  border-color: var(--blue-800);
  color: #fff;
}
.contact-method--primary .contact-method__icon {
  background: rgba(255, 255, 255, .14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .25);
}
.contact-method--primary .contact-method__label { color: #BCDCE9; }
.contact-method--primary .contact-method__value { color: #fff; }
.contact-method--primary .contact-method__hint { color: #BCDCE9; }
.contact-method--primary[href]:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-blue);
  border-color: var(--blue-800);
}

.contact-method__icon {
  flex: none;
  width: 62px; height: 62px;
  display: grid;
  place-items: center;
  background: var(--blue-50);
  color: var(--blue-700);
  border: 1px solid var(--blue-100);
  border-radius: 16px;
  overflow: hidden;
}
.contact-method__icon svg { width: 28px; height: 28px; }
.contact-method__icon--wa {
  background: transparent;
  border: none;
  padding: 0;
}
.contact-method__icon--wa img {
  width: 62px; height: 62px;
  border-radius: 50%;
  display: block;
}

.contact-method__body {
  display: grid;
  gap: .15rem;
  min-width: 0;
}
.contact-method__label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .76rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue-700);
}
.contact-method__value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.12rem;
  color: var(--ink);
  line-height: 1.2;
  word-break: break-word;
}
.contact-method__hint {
  font-size: .85rem;
  color: var(--ink-faint);
  line-height: 1.45;
  margin-top: .18rem;
}

/* Notdienst-Block standalone unter dem Grid */
.contact-notdienst {
  margin: 1.4rem auto 0;
  max-width: 920px;
  background: var(--blue-900);
  color: #DDE9EF;
  border-radius: var(--r);
  padding: 1.5rem 1.7rem;
  display: grid;
  gap: .7rem;
}
.contact-notdienst p {
  color: #C6D9E1;
  font-size: .95rem;
  margin: 0;
}
.contact-notdienst .info-card__phone {
  color: #fff;
}
.contact-notdienst .info-card__phone svg { color: #6FD0F2; }
.contact-notdienst .info-card__phone:hover { color: #6FD0F2; }

.contact-map {
  margin: 1.4rem auto 0;
  max-width: 920px;
}

@media (prefers-reduced-motion: reduce) {
  .contact-method { transition: none; }
}

/* (Legacy) — Form-CSS bleibt vorerst stehen, falls das Formular je wieder
   gebraucht wird. Schadet als toter Code nicht und ist klar abgegrenzt. */
.contact__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.6rem;
}
.contact__form-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.4rem, 1rem + 2vw, 2.1rem);
  box-shadow: var(--shadow-md);
}
.contact__form-wrap h3 { font-size: 1.35rem; margin-bottom: .3rem; }
.contact__form-wrap > p { color: var(--ink-soft); font-size: .96rem; margin-bottom: 1.3rem; }

.form-grid { display: grid; gap: 1rem; }
.field { display: grid; gap: .35rem; }
.field__label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .9rem;
  color: var(--ink);
}
.field__label .req { color: var(--red-700); }
.field__control {
  width: 100%;
  min-height: 50px;
  padding: .72rem .9rem;
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper-tint);
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}
textarea.field__control { min-height: 120px; resize: vertical; line-height: 1.6; }
.field__control:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(27,164,220,.14);
}
.field__control::placeholder { color: #9AA7AF; }
.field__control:user-invalid { border-color: var(--red); }
.field__error {
  font-size: .82rem;
  color: var(--red-700);
  display: none;
}
.field.has-error .field__error,
.field__error.is-shown { display: block; }
.field.has-error .field__control { border-color: var(--red); }

.field-row { display: grid; gap: 1rem; }

.consent {
  display: flex;
  gap: .65rem;
  align-items: flex-start;
  font-size: .86rem;
  color: var(--ink-soft);
  line-height: 1.55;
}
.consent input {
  flex: none;
  width: 22px; height: 22px;
  margin-top: .1rem;
  accent-color: var(--blue-700);
}
.consent a { color: var(--blue-700); text-decoration: underline; text-underline-offset: 2px; }

/* Honeypot — visuell & für AT versteckt */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

.form-note {
  font-size: .82rem;
  color: var(--ink-faint);
  display: flex;
  gap: .45rem;
  align-items: flex-start;
}
.form-note svg { width: 15px; height: 15px; flex: none; margin-top: .2rem; color: var(--blue-700); }

.form-status {
  display: none;
  padding: .85rem 1rem;
  border-radius: var(--r-sm);
  font-size: .92rem;
  font-weight: 500;
}
.form-status.is-error {
  display: block;
  background: #FCEAE9;
  border: 1px solid #F3C9C6;
  color: var(--red-700);
}
.form-status.is-ok {
  display: block;
  background: #E7F6EC;
  border: 1px solid #C3E6CE;
  color: #1B7A3D;
}

/* Kontakt-Infospalte */
.contact__info { display: grid; gap: 1.1rem; align-content: start; }
.info-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.3rem 1.35rem;
}
.info-card--accent {
  background: var(--blue-900);
  border-color: var(--blue-900);
  color: #fff;
}
.info-card__title {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: .85rem;
}
.info-card__title svg { width: 20px; height: 20px; color: var(--blue-700); }
.info-card--accent .info-card__title svg { color: #6FD0F2; }

.info-line {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  font-size: .95rem;
  color: var(--ink-soft);
  padding: .35rem 0;
}
.info-line svg { width: 18px; height: 18px; color: var(--blue-700); flex: none; margin-top: .18rem; }
.info-line strong { font-family: var(--font-display); color: var(--ink); display: block; font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; }
.info-card__phone {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin: .2rem 0 .1rem;
}
.info-card__phone svg { width: 24px; height: 24px; color: var(--blue-700); }
.info-card__phone:hover { color: var(--blue-800); }

.hours-table { display: grid; gap: .3rem; }
.hours-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: .93rem;
  padding: .35rem 0;
  border-bottom: 1px dashed var(--line);
  font-variant-numeric: tabular-nums;
}
.hours-row:last-child { border-bottom: none; }
.hours-row span:first-child { color: var(--ink-soft); }
.hours-row span:last-child { font-family: var(--font-display); font-weight: 600; color: var(--ink); }
.hours-row.is-closed span:last-child { color: var(--ink-faint); font-weight: 500; }

.info-card--accent .notdienst-box { }
.notdienst-box p { color: #C6D9E1; font-size: .92rem; margin-bottom: .9rem; }
.notdienst-box .info-card__phone { color: #fff; }
.notdienst-box .info-card__phone svg { color: #6FD0F2; }
.notdienst-box .info-card__phone:hover { color: #6FD0F2; }
.notdienst-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(230,51,41,.22);
  border: 1px solid rgba(230,51,41,.45);
  color: #FFD9D6;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .76rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: .3rem .7rem;
  border-radius: var(--r-pill);
  margin-bottom: .8rem;
}
.notdienst-badge svg { width: 14px; height: 14px; }

/* Karte mit Einwilligungs-Gate (DSGVO) */
.map-consent {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  background:
    linear-gradient(rgba(11,110,151,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11,110,151,.06) 1px, transparent 1px),
    var(--paper-tint);
  background-size: 30px 30px, 30px 30px, auto;
  min-height: 260px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1.8rem 1.4rem;
}
.map-consent__inner { display: grid; gap: .7rem; justify-items: center; max-width: 360px; }
.map-consent svg.pin { width: 40px; height: 40px; color: var(--blue-700); }
.map-consent strong { font-family: var(--font-display); font-size: 1.05rem; color: var(--ink); }
.map-consent p { font-size: .86rem; color: var(--ink-faint); }
.map-consent .btn { margin-top: .3rem; }
.map-consent.is-loaded { padding: 0; min-height: 0; background: none; }
.map-consent iframe { display: block; width: 100%; height: 320px; border: 0; }

/* ---------- 14. Footer ---------- */
.site-footer {
  background: var(--blue-900);
  color: #A9C1CC;
  padding-top: clamp(3rem, 5vw, 4.5rem);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.2rem;
  padding-bottom: 2.6rem;
}
.footer__brand-badge {
  background: #fff;
  border-radius: var(--r);
  padding: .9rem 1.15rem;
  display: inline-block;
  margin-bottom: 1.1rem;
}
.footer__brand-badge img { height: 80px; width: auto; display: block; }
.footer__about p { font-size: .93rem; color: #93AEBA; max-width: 340px; }
.footer__col h4 {
  color: #fff;
  font-size: .92rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer__col ul { display: grid; gap: .6rem; }
.footer__col a, .footer__col li { font-size: .93rem; color: #A9C1CC; }
.footer__col a:hover { color: #fff; }
.footer__contact-line {
  display: flex;
  gap: .55rem;
  align-items: flex-start;
}
.footer__contact-line svg { width: 17px; height: 17px; color: var(--blue); flex: none; margin-top: .2rem; }
.footer__contact-line img { width: 18px; height: 18px; flex: none; margin-top: .15rem; display: block; border-radius: 4px; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.4rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: .7rem;
  font-size: .84rem;
  color: #7E97A3;
}
.footer__bottom--standalone { border-top: none; padding-top: 0; }
.footer__bottom a { color: #7E97A3; }
.footer__bottom a:hover { color: #fff; }
.footer__legal-links { display: flex; flex-wrap: wrap; gap: 1rem; }
.footer__legal-links a { font-weight: 600; color: #A9C1CC; }

/* ---------- 15. Schwebende Aktionen (Mobile) ---------- */
.float-actions {
  position: fixed;
  right: 14px;
  bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  z-index: 95;
  display: flex;
  flex-direction: column;
  gap: .65rem;
}
.float-btn {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-lg);
  transition: transform .18s ease;
  position: relative;
}
.float-btn:hover { transform: scale(1.06); }
.float-btn svg { width: 26px; height: 26px; }
.float-btn--call { background: var(--blue-700); color: #fff; }
.float-btn--wa { background: transparent; padding: 0; }
.float-btn--wa img { width: 100%; height: 100%; display: block; border-radius: 50%; }
.float-btn__label {
  position: absolute;
  right: 64px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--ink);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .8rem;
  padding: .35rem .7rem;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}
.float-btn:hover .float-btn__label { opacity: 1; }

/* ---------- 16. Scroll-Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1);
  transition-delay: calc(var(--i, 0) * 75ms);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .service-card, .float-btn, .why__item,
  .mobile-menu, .site-header, .service-card::before { transition: none; }
}

/* ---------- 17. Utilities ---------- */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: 50%;
  transform: translateX(-50%) translateY(-130%);
  top: 8px;
  z-index: 200;
  background: var(--blue-900);
  color: #fff;
  padding: .7rem 1.2rem;
  border-radius: var(--r-sm);
  font-family: var(--font-display);
  font-weight: 700;
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateX(-50%) translateY(0); }

.placeholder-hint {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .72rem;
  letter-spacing: .02em;
  color: #B26A00;
  background: #FFF4E0;
  border: 1px dashed #E8B860;
  padding: .12rem .5rem;
  border-radius: 5px;
  vertical-align: middle;
}

/* ---------- 18. Subpages (Impressum / Datenschutz / Danke) ---------- */
.subpage { padding: clamp(2.4rem, 2rem + 4vw, 4.5rem) 0 clamp(3rem, 6vw, 5rem); }
.subpage__head { margin-bottom: 2.2rem; }
.subpage__head .eyebrow { margin-bottom: .7rem; }
.subpage h1 { margin-bottom: .5rem; }
.subpage__head p { color: var(--ink-soft); }
.legal-doc { max-width: 760px; }
.legal-doc h2 {
  font-size: 1.3rem;
  margin: 2.2rem 0 .7rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}
.legal-doc h2:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }
.legal-doc h3 { font-size: 1.05rem; margin: 1.4rem 0 .4rem; }
.legal-doc p, .legal-doc li { color: var(--ink-soft); font-size: .96rem; margin-bottom: .7rem; }
.legal-doc ul { list-style: disc; padding-left: 1.3rem; margin-bottom: 1rem; }
.legal-doc ul li { margin-bottom: .35rem; }
.legal-doc a { color: var(--blue-700); text-decoration: underline; text-underline-offset: 2px; }
.legal-doc strong { color: var(--ink); }
.legal-doc dl { margin-bottom: 1rem; }
.legal-doc dt { font-family: var(--font-display); font-weight: 700; color: var(--ink); margin-top: .7rem; }
.legal-doc dd { color: var(--ink-soft); }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--blue-700);
  margin-top: 2.5rem;
}
.back-link svg { width: 18px; height: 18px; }
.back-link:hover { color: var(--blue-800); }

.danke-card {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(2rem, 1.5rem + 3vw, 3.4rem);
  box-shadow: var(--shadow-md);
}
.danke-card__icon {
  width: 76px; height: 76px;
  margin: 0 auto 1.3rem;
  display: grid;
  place-items: center;
  background: #E7F6EC;
  border-radius: 50%;
  color: #1B7A3D;
}
.danke-card__icon svg { width: 40px; height: 40px; }
.danke-card h1 { font-size: 1.9rem; margin-bottom: .6rem; }
.danke-card p { color: var(--ink-soft); margin-bottom: 1.6rem; }
.danke-card .btn { margin: 0 auto; }

/* ---------- 19. Breakpoints ---------- */
@media (min-width: 560px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .field-row { grid-template-columns: 1fr 1fr; }
  .trustbar__inner { grid-template-columns: repeat(2, 1fr); }
  .trustbar__item:nth-child(1), .trustbar__item:nth-child(2) { border-bottom: 1px solid var(--line); }
  .trustbar__item:nth-child(odd) { border-right: 1px solid var(--line); }
  .footer__grid { grid-template-columns: 1.6fr 1fr 1.4fr; }
}

@media (min-width: 760px) {
  .hero__actions .btn { min-width: 200px; }
}

@media (min-width: 900px) {
  .nav__links { display: flex; }
  .nav__phone { display: flex; }
  .nav__whatsapp { display: inline-flex; }
  .nav-toggle { display: none; }
  .mobile-menu { display: none !important; }
  .float-actions { display: none; }

  .why__layout { grid-template-columns: 1.05fr .95fr; gap: 2.6rem; }
  .partner__layout { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .contact__layout { grid-template-columns: 1.25fr .9fr; gap: 2rem; }
  .steps { grid-template-columns: repeat(4, 1fr); position: relative; }
  .step__connector {
    position: absolute;
    top: 2.45rem;
    left: 12%;
    right: 12%;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--blue-100) 0 10px, transparent 10px 18px);
    z-index: 0;
  }
  .step { z-index: 1; }
}

@media (min-width: 1040px) {
  .services-grid { grid-template-columns: repeat(4, 1fr); }
  .trustbar__inner { grid-template-columns: repeat(4, 1fr); }
  .trustbar__item { border-bottom: none !important; border-right: 1px solid var(--line); }
  .trustbar__item:last-child { border-right: none; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- 20. Print ---------- */
@media print {
  .site-header, .float-actions, .hero__actions, .nav-toggle, .map-consent .btn, .cc-banner { display: none; }
  body { color: #000; }
  .hero { background: #fff; color: #000; }
  .hero__overlay, .hero__bg, .hero__grid { display: none; }
}

/* ---------- 21. Cookie / DSGVO-Banner (v2 – 3 Kategorien) ---------- */
.cc-banner {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  z-index: 200;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: 0 18px 46px rgba(10, 44, 61, .18), 0 6px 14px rgba(10, 44, 61, .08);
  padding: 1.15rem 1.25rem;
  max-height: calc(100vh - 28px);
  overflow-y: auto;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .26s ease, transform .26s ease;
}
.cc-banner.is-visible { opacity: 1; transform: none; }
.cc-banner__inner { display: flex; flex-direction: column; gap: 1.05rem; }

.cc-banner__head #ccTitle {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.04rem;
  color: var(--ink);
  margin-bottom: .4rem;
  letter-spacing: -.005em;
}
.cc-banner__head p {
  font-size: .9rem;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0;
}
.cc-banner__head p strong {
  font-weight: 700;
  color: var(--ink);
}
.cc-banner__head a,
.cc-cat__desc a {
  color: var(--blue-700);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
}

/* Kategorien-Panel */
.cc-details {
  display: grid;
  gap: .8rem;
  padding-top: .4rem;
  border-top: 1px solid var(--line);
}
.cc-details[hidden] { display: none; }
.cc-cat {
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: .8rem .95rem .9rem;
  background: var(--paper-tint);
}
.cc-cat__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
  margin-bottom: .45rem;
}
.cc-cat__title {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  font-size: .98rem;
}
.cc-cat__badge {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .7rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-faint);
  background: #fff;
  border: 1px solid var(--line);
  padding: .15rem .5rem;
  border-radius: 5px;
}
.cc-cat__desc {
  font-size: .82rem;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0;
}
.cc-cat__desc strong { color: var(--ink); }
.cc-cat__desc em { font-style: normal; color: var(--ink-faint); font-size: .76rem; display: block; margin-top: .3rem; }

/* Toggle Switch */
.cc-switch {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  cursor: pointer;
  user-select: none;
}
.cc-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
}
.cc-switch__slider {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 22px;
  background: var(--line-strong);
  border-radius: 12px;
  transition: background-color .18s ease;
  flex: none;
}
.cc-switch__slider::after {
  content: "";
  position: absolute;
  top: 2px; left: 2px;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: transform .18s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .25);
}
.cc-switch input:checked + .cc-switch__slider { background: var(--blue-700); }
.cc-switch input:checked + .cc-switch__slider::after { transform: translateX(16px); }
.cc-switch input:focus-visible + .cc-switch__slider {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}
.cc-switch input:disabled + .cc-switch__slider { background: var(--line); }
.cc-switch input:disabled:checked + .cc-switch__slider { background: var(--ink-faint); }
.cc-switch input:disabled ~ .cc-cat__title { color: var(--ink-faint); }

/* Buttons – gleichgewichtig */
.cc-banner__actions {
  display: flex;
  gap: .65rem;
  flex-wrap: wrap;
}
.cc-btn {
  flex: 1 1 0;
  min-width: 130px;
  min-height: 46px;
  padding: .65rem 1.1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .94rem;
  border-radius: var(--r-sm);
  border: 2px solid;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .15s ease;
  touch-action: manipulation;
}
.cc-btn:active { transform: translateY(1px); }
.cc-btn--ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}
.cc-btn--ghost:hover {
  background: var(--paper-tint);
  border-color: var(--ink-faint);
}
.cc-btn--primary {
  background: var(--blue-700);
  border-color: var(--blue-700);
  color: #fff;
}
.cc-btn--primary:hover {
  background: var(--blue-800);
  border-color: var(--blue-800);
}

/* „Mehr"-Zeile mit Toggle-Link und Save-Button */
.cc-banner__more {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .85rem;
  flex-wrap: wrap;
}
.cc-link {
  background: none;
  border: 0;
  padding: .2rem 0;
  color: var(--blue-700);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .87rem;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  touch-action: manipulation;
}
.cc-link:hover { color: var(--blue-800); }
.cc-btn--save { flex: 0 0 auto; min-width: auto; }

/* Footer-Link „Cookie-Einstellungen" im dunklen Footer */
.cc-reopen {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
  font-weight: 600;
}
.cc-reopen:hover { color: #fff; }

@media (min-width: 640px) {
  .cc-banner {
    left: auto;
    right: 22px;
    bottom: calc(22px + env(safe-area-inset-bottom, 0px));
    max-width: 500px;
    padding: 1.4rem 1.55rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cc-banner { transition: none; }
  .cc-switch__slider, .cc-switch__slider::after { transition: none; }
}
