/* =========================================================================
   Bosch Car Service MISCHOK-TEAM – Relaunch 2026
   Designsystem: "Handwerk trifft Präzision"
   ========================================================================= */

/* ---------- Schriften (lokal gehostet, DSGVO-konform) ---------- */
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var-latin.woff2") format("woff2");
  font-weight: 500 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
/* Bosch-CI-Schriften (Bosch Car Service Partner-Nutzung) – lokal gehostet, Latin-Subset */
@font-face { font-family: "Bosch Sans"; src: url("../fonts/boschsans-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Bosch Sans"; src: url("../fonts/boschsans-medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Bosch Sans"; src: url("../fonts/boschsans-bold.woff2") format("woff2"); font-weight: 600 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Bosch Sans Cond"; src: url("../fonts/boschsanscond-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Bosch Sans Cond"; src: url("../fonts/boschsanscond-bold.woff2") format("woff2"); font-weight: 600 900; font-style: normal; font-display: swap; }
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --ink: #0e1620;
  --ink-2: #17222e;
  --ink-3: #243241;
  --paper: #f5f4f0;
  --surface: #ffffff;
  --line: #e2dfd8;
  --line-dark: rgba(255, 255, 255, .28);
  --text: #1a232d;
  --muted: #5a6572;
  --muted-light: rgba(255, 255, 255, .86);
  --brand-blue: #4789ca;   /* Blau aus dem Bosch-Service-Logo */
  --brand-blue-dark: #3a76b3;
  --red: #e20015;          /* Bosch-Rot */
  --red-dark: #b5000f;
  --red-soft: #fdecee;
  --blue: #00629a;         /* Werkstatt-Blau */
  --green: #1f8a4c;

  --font-display: "Bosch Sans Cond", "Archivo", "Arial Narrow", system-ui, sans-serif;
  --stretch: normal; /* Bosch Sans Cond ist bereits schmal; Archivo dient nur als Fallback */
  --font-body: "Bosch Sans", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-s: 8px;
  --radius: 14px;
  --radius-l: 24px;
  --shadow-s: 0 1px 2px rgba(14, 22, 32, .06), 0 2px 8px rgba(14, 22, 32, .05);
  --shadow: 0 2px 6px rgba(14, 22, 32, .06), 0 18px 40px -12px rgba(14, 22, 32, .18);

  --container: 1240px;
  --gutter: clamp(24px, 5vw, 40px);
  --section: clamp(64px, 9vw, 128px);
  --header-h: 76px;
}

/* ---------- Reset / Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(16px, 1.05vw, 17px);
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, picture { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
p { margin: 0 0 1em; }
ul { padding: 0; margin: 0; list-style: none; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-s); }
.skip-link:focus { top: 12px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-stretch: var(--stretch);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.005em;
  margin: 0 0 .5em;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h3 { font-size: clamp(1.2rem, 1.6vw, 1.45rem); font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; }
h4 { font-size: 1.05rem; font-weight: 700; letter-spacing: 0; }
.lead { font-size: clamp(1.08rem, 1.4vw, 1.3rem); line-height: 1.55; color: var(--muted); max-width: 60ch; text-wrap: pretty; }
.text-red { color: var(--red); }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--tight { padding: calc(var(--section) * .6) 0; }
.section--white { background: var(--surface); }
.section--ink { background: var(--brand-blue); color: #fff; }
.section--ink h2, .section--ink h3 { color: #fff; }
.section--ink .lead { color: var(--muted-light); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-stretch: var(--stretch);
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--red); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: currentColor; border-radius: 2px; }
.section--ink .eyebrow { color: #fff; }

.section-head { display: grid; gap: 20px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head--split { grid-template-columns: 1fr; align-items: end; }
@media (min-width: 900px) { .section-head--split { grid-template-columns: 1.1fr .9fr; gap: 64px; } }
.section-head h2 { margin: 0; }
.section-head .lead { margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--red); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border: 0; border-radius: 999px; cursor: pointer;
  background: var(--bg); color: var(--fg);
  font-family: var(--font-display); font-stretch: var(--stretch); font-weight: 700; font-size: 1rem; letter-spacing: .005em;
  text-decoration: none; white-space: nowrap;
  transition: background .2s, transform .2s, box-shadow .2s, color .2s;
}
.btn:hover { --bg: var(--red-dark); transform: translateY(-1px); box-shadow: 0 10px 24px -10px rgba(226, 0, 21, .6); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--ghost:hover { --bg: var(--ink); --fg: #fff; box-shadow: none; }
.btn--light { --bg: #fff; --fg: var(--ink); }
.btn--light:hover { --bg: #fff; --fg: var(--red); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .5); }
.btn--ghost-light { --bg: transparent; --fg: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); }
.btn--ghost-light:hover { --bg: #fff; --fg: var(--ink); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: .95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-stretch: var(--stretch); font-weight: 700; text-decoration: none; color: var(--ink);
}
.link-arrow svg { width: 18px; height: 18px; transition: transform .2s; color: var(--red); }
.link-arrow:hover svg { transform: translateX(4px); }
.section--ink .link-arrow, .section--ink .link-arrow svg { color: #fff; }
.section--ink .checklist svg { color: #fff; }

/* ---------- Topbar ---------- */
.topbar { background: var(--brand-blue-dark); color: rgba(255,255,255,.88); font-size: .84rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 40px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar__list { display: flex; gap: 24px; align-items: center; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; }
.topbar__item svg { width: 15px; height: 15px; opacity: .7; }
.status { display: inline-flex; align-items: center; gap: 8px; }
.status__dot { width: 8px; height: 8px; border-radius: 50%; background: #8a96a2; box-shadow: 0 0 0 3px rgba(138, 150, 162, .2); }
.status.is-open .status__dot { background: #2ecc71; box-shadow: 0 0 0 3px rgba(46, 204, 113, .25); }
@media (max-width: 760px) { .topbar__hide-m { display: none; } .topbar .container { justify-content: center; } }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(14, 22, 32, .5); }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.brand img { width: 46px; height: 46px; }
.brand__text { display: grid; line-height: 1; }
.brand__name { font-family: "Bosch Sans", var(--font-body); font-weight: 700; font-size: 1.18rem; letter-spacing: -.005em; line-height: 1.1; }
.brand__name span { color: var(--red); }
.brand__sub { font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav__mobile-cta { display: none; }
.nav__link {
  position: relative; padding: 10px 13px; border-radius: 8px;
  font-weight: 600; font-size: .95rem; text-decoration: none; color: var(--text);
  transition: color .15s, background .15s;
}
.nav .nav__link:hover, .nav .nav__link:focus-visible { background: var(--red-soft); color: var(--red); }
.nav__link::before { content: ""; position: absolute; left: 13px; right: 13px; bottom: 2px; height: 2px; background: var(--red); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.nav .nav__link:hover::before { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--red); }
.nav__link[aria-current="page"]::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 2px; height: 2px; background: var(--red); border-radius: 2px; }
.nav__link--ext svg { width: 13px; height: 13px; display: inline; vertical-align: -1px; margin-left: 3px; opacity: .5; }
.header__cta { display: flex; align-items: center; gap: 10px; }
.header__phone { display: none; }

.burger { display: none; width: 48px; height: 48px; border: 0; border-radius: 12px; background: var(--paper); cursor: pointer; align-items: center; justify-content: center; }
.burger span, .burger span::before, .burger span::after { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .25s, background .25s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.nav-open .burger span { background: transparent; }
.nav-open .burger span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1120px) {
  .burger { display: inline-flex; }
  .header__cta .btn { display: none; }
  .header__phone { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--nav-top, 116px) 0 0 0; z-index: 99;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); padding: 16px var(--gutter) 40px; overflow-y: auto;
    transform: translateX(100%); transition: transform .3s ease; visibility: hidden;
  }
  .nav-open .header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; border-color: var(--line); }
  .nav-open { overflow: hidden; }
  .nav-open .nav { transform: none; visibility: visible; }
  .nav__link { padding: 18px 4px; font-family: var(--font-display); font-stretch: var(--stretch); font-size: 1.4rem; font-weight: 700; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav__link[aria-current="page"]::after { display: none; }
  .nav__mobile-cta { display: grid !important; gap: 10px; margin-top: 28px; }
}
.header__phone { width: 48px; height: 48px; border-radius: 12px; background: var(--red); color: #fff; align-items: center; justify-content: center; }
.header__phone svg { width: 22px; height: 22px; }
@media (max-width: 1120px) { .header__phone { display: inline-flex; } }
@media (max-width: 480px) {
  .header .container { gap: 10px; }
  .brand { gap: 10px; min-width: 0; }
  .brand__sub { display: none; }
  .brand img { width: 38px; height: 38px; }
  .brand__name { font-size: .98rem; }
  .header__cta { gap: 8px; }
  .header__phone, .burger { width: 44px; height: 44px; }
}

/* ---------- Hero (Startseite) ---------- */
.hero { position: relative; overflow: hidden; background: var(--paper); }
.hero__grid { display: grid; gap: 40px; padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(48px, 6vw, 88px); }
@media (min-width: 1000px) { .hero__grid { grid-template-columns: 5fr 7fr; align-items: center; gap: 56px; } }
.hero h1 { margin-bottom: 24px; line-height: 1.12; }
.hero h1 em { font-style: normal; color: var(--red); }
.hero .lead { margin-bottom: 32px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 32px; color: var(--muted); font-size: .9rem; font-weight: 500; }
.hero__badges li { display: inline-flex; align-items: center; gap: 8px; }
.hero__badges svg { width: 18px; height: 18px; color: var(--green); }

.hero__media { position: relative; }
.hero__img { position: relative; border-radius: 6px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
@media (min-width: 1000px) {
  .hero__media { margin-right: calc(-1 * max(var(--gutter), (100vw - var(--container)) / 2)); }
  .hero__img { border-radius: 6px 0 0 6px; aspect-ratio: 16 / 12; }
}
.seal {
  position: absolute; left: -18px; bottom: -22px;
  display: flex; align-items: center; gap: 16px;
  background: var(--surface); border-radius: var(--radius); padding: 16px 22px 16px 16px; box-shadow: var(--shadow);
  max-width: 330px;
}
.seal__num { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--red); color: #fff; font-family: var(--font-display); font-stretch: var(--stretch); font-weight: 700; font-size: 1.6rem; flex: none; }
.seal__text { font-size: .88rem; line-height: 1.35; color: var(--muted); }
.seal__text strong { display: block; color: var(--ink); font-family: var(--font-display); font-stretch: var(--stretch); font-size: 1.02rem; margin-bottom: 2px; }
@media (max-width: 999px) { .seal { left: 12px; bottom: -28px; right: 12px; max-width: none; } .hero__grid { padding-bottom: 72px; } }

/* ---------- Kennzahlen-Leiste ---------- */
.stats { background: var(--brand-blue); color: #fff; }
.stats__grid { display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .stats__grid { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 34px 24px; border-left: 1px solid var(--line-dark); }
.stat:first-child, .stats__grid > .stat:nth-child(3) { border-left: 0; }
@media (min-width: 900px) { .stats__grid > .stat:nth-child(3) { border-left: 1px solid var(--line-dark); } }
@media (max-width: 899px) { .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line-dark); } }
.stat__value { font-family: var(--font-display); font-stretch: var(--stretch); font-weight: 700; font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1; letter-spacing: -.02em; }
.stat__value small { font-size: .5em; color: rgba(255,255,255,.8); margin-left: 2px; }
.stat__label { margin-top: 10px; font-size: .9rem; color: var(--muted-light); line-height: 1.4; }

/* ---------- Leistungskarten ---------- */
.cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px 26px; text-decoration: none; color: inherit;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--red-soft); color: var(--red); margin-bottom: 22px; transition: background .25s, color .25s; }
.card__icon svg { width: 26px; height: 26px; }
a.card:hover .card__icon { background: var(--red); color: #fff; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .95rem; margin: 0; }
.card__more { margin-top: auto; padding-top: 18px; }
.card--ink { background: var(--brand-blue); border-color: var(--brand-blue); color: #fff; }
.card--ink h3 { color: #fff; }
.card--ink p { color: var(--muted-light); }
.card--ink .link-arrow, .card--ink .link-arrow svg { color: #fff; }
.card--ink .card__icon { background: rgba(255, 255, 255, .18); color: #fff; }
a.card--ink:hover .card__icon { background: #fff; color: var(--brand-blue); }

/* ---------- Versprechen (nummeriert) ---------- */
.promise { display: grid; gap: 0; border-top: 1px solid var(--line-dark); }
@media (min-width: 900px) { .promise { grid-template-columns: repeat(5, 1fr); border-top: 0; } }
.promise__item { padding: 28px 0; border-bottom: 1px solid var(--line-dark); }
@media (min-width: 900px) { .promise__item { padding: 32px 26px 8px; border-bottom: 0; border-left: 1px solid var(--line-dark); } .promise__item:first-child { border-left: 0; padding-left: 0; } }
.promise__num { font-family: var(--font-display); font-stretch: var(--stretch); font-weight: 700; font-size: .95rem; color: #fff; opacity: .75; margin-bottom: 14px; letter-spacing: .04em; }
.promise__item h3 { font-size: 1.2rem; margin-bottom: 12px; }
.promise__item ul { display: grid; gap: 8px; font-size: .92rem; color: var(--muted-light); }
.promise__item li { display: flex; gap: 10px; line-height: 1.45; }
.promise__item li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: #fff; margin-top: 8px; }

/* ---------- Split (Bild + Text) ---------- */
.split { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split--reverse .split__media { order: 2; } }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius-l); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split__media .tag {
  position: absolute; right: 18px; bottom: 18px;
  background: rgba(58, 118, 179, .9); color: #fff; backdrop-filter: blur(6px);
  padding: 10px 16px; border-radius: 999px; font-size: .85rem; font-weight: 600;
}
.checklist { display: grid; gap: 14px; margin: 28px 0 32px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; }
.checklist svg { flex: none; width: 24px; height: 24px; color: var(--red); margin-top: 1px; }
.checklist strong { display: block; color: var(--ink); }
.checklist span { color: var(--muted); font-size: .95rem; }
.section--ink .checklist strong { color: #fff; }
.section--ink .checklist span { color: var(--muted-light); }

/* ---------- Testimonials ---------- */
.quotes { display: grid; gap: 16px; }
@media (min-width: 900px) { .quotes { grid-template-columns: repeat(3, 1fr); } }
.quote { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; display: flex; flex-direction: column; gap: 20px; margin: 0; }
.quote__stars { display: flex; gap: 3px; color: #f2a900; }
.quote__stars svg { width: 18px; height: 18px; }
.quote blockquote { margin: 0; font-size: 1.04rem; line-height: 1.6; color: var(--text); }
.quote figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--ink); font-size: .95rem; }
.quote figcaption span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--paper); color: var(--red); font-family: var(--font-display); font-weight: 700; }
.quote figcaption small { display: block; color: var(--muted); font-weight: 400; }

/* ---------- Feature-Kacheln (Autoglas + Angebot) ---------- */
.duo { display: grid; gap: 16px; }
@media (min-width: 900px) { .duo { grid-template-columns: 1.25fr 1fr; } }
.panel { position: relative; overflow: hidden; border-radius: var(--radius-l); padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; min-height: 380px; }
.panel h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.08; letter-spacing: -.02em; font-weight: 700; }
.panel--image { color: #fff; background: var(--brand-blue); isolation: isolate; }
.panel--image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.panel--image::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(58, 118, 179, .96) 0%, rgba(71, 137, 202, .85) 50%, rgba(71, 137, 202, .35) 100%); }
.panel--image h3 { color: #fff; }
.panel--image p { color: rgba(255,255,255,.92); max-width: 44ch; }
.panel--red { background: var(--red); color: #fff; }
.panel--red h3 { color: #fff; }
.panel--red p, .panel--red li { color: rgba(255, 255, 255, .9); }
.panel .btn-row, .panel .panel__foot { margin-top: auto; padding-top: 24px; }
.price { display: flex; align-items: baseline; gap: 10px; margin: 6px 0 4px; }
.price__from { font-weight: 600; opacity: .85; }
.price__value { font-family: var(--font-display); font-stretch: var(--stretch); font-weight: 700; font-size: clamp(3rem, 6vw, 4.4rem); line-height: 1; letter-spacing: -.03em; }
.price__note { font-size: .82rem; opacity: .85; }
.pill { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .16); font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 20px; }
.pill svg { width: 16px; height: 16px; flex: none; }
.pill--dark { background: var(--brand-blue); color: #fff; }
.pill--soft { background: var(--red-soft); color: var(--red); }

/* ---------- Kleine Features ---------- */
.features { display: grid; gap: 28px; }
@media (min-width: 760px) { .features { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.feature__icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--line); color: var(--red); margin-bottom: 18px; background: var(--surface); }
.feature__icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.15rem; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- Auszeichnungen ---------- */
.awards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.award { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.award__year { font-family: var(--font-display); font-stretch: var(--stretch); font-weight: 700; font-size: 2.2rem; line-height: 1; color: var(--ink); letter-spacing: -.02em; }
.award__year small { font-size: .45em; color: var(--red); vertical-align: .9em; margin-left: 4px; }
.award__title { font-weight: 700; color: var(--ink); }
.award p { color: var(--muted); font-size: .9rem; margin: 0; }
.years { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.years span { font-size: .72rem; font-weight: 700; padding: 3px 7px; border-radius: 6px; background: var(--red-soft); color: var(--red); }

/* ---------- CTA-Band ---------- */
.cta-band { background: var(--red); color: #fff; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; border: 70px solid rgba(255, 255, 255, .07); pointer-events: none; }
.cta-band .container { display: grid; gap: 28px; padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(48px, 6vw, 80px); position: relative; z-index: 1; }
@media (min-width: 900px) { .cta-band .container { grid-template-columns: 1.4fr 1fr; align-items: center; } .cta-band .btn-row { justify-content: flex-end; } }
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .88); font-size: 1.1rem; }

/* ---------- Seitenkopf (Unterseiten) ---------- */
.page-hero { background: var(--brand-blue); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.page-hero__bg { position: absolute; inset: 0; z-index: -1; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .35; mix-blend-mode: luminosity; }
.page-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--brand-blue) 20%, rgba(71, 137, 202, .6) 100%); }
.page-hero .container { padding-top: clamp(56px, 8vw, 112px); padding-bottom: clamp(56px, 8vw, 104px); }
.page-hero h1 { color: #fff; font-size: clamp(2.4rem, 5.4vw, 4.4rem); max-width: 18ch; margin-bottom: 20px; }
.page-hero .lead { color: rgba(255,255,255,.92); }
.page-hero .eyebrow { color: #fff; }
.crumbs { display: flex; gap: 10px; font-size: .85rem; color: var(--muted-light); margin-bottom: 28px; }
.crumbs a { color: #fff; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ---------- Leistungsliste (Leistungsseite) ---------- */
.service-groups { display: grid; gap: 16px; }
@media (min-width: 760px) { .service-groups { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .service-groups { grid-template-columns: repeat(3, 1fr); } }
.service-group { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; }
.service-group header { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.service-group header .card__icon { margin: 0; width: 46px; height: 46px; }
.service-group h3 { margin: 0; }
.service-group > p { color: var(--muted); font-size: .95rem; }
.tick-list { display: grid; gap: 10px; }
.tick-list li { display: flex; gap: 10px; font-size: .95rem; line-height: 1.45; }
.tick-list li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: var(--red-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e20015' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }
.section--ink .tick-list li::before { background-color: #fff; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .92rem; font-weight: 600; }
.chip svg { width: 16px; height: 16px; color: var(--red); }
.section--ink .chip { background: rgba(255,255,255,.14); border-color: var(--line-dark); color: #fff; }
.section--ink .chip svg { color: #fff; }

/* ---------- Prosa / Rechtstexte ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose p, .prose li { color: #34404c; }
.prose ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1em; }
.prose a { color: var(--red); }
.prose address { font-style: normal; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; gap: 24px; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: 1.35fr 1fr; gap: 40px; align-items: start; } }
.info-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); padding: clamp(24px, 3vw, 36px); }
.info-card + .info-card { margin-top: 16px; }
.info-card h3 { margin-bottom: 18px; }
.info-list { display: grid; gap: 16px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-list svg { width: 22px; height: 22px; color: var(--red); flex: none; margin-top: 2px; }
.info-list a { color: var(--ink); font-weight: 600; text-decoration: none; }
.info-list a:hover { color: var(--red); }
.info-list small { display: block; color: var(--muted); font-size: .85rem; }
.hours { display: grid; gap: 0; }
.hours div { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.hours div:last-child { border: 0; }
.hours .is-today { font-weight: 700; color: var(--ink); }

.form { display: grid; gap: 18px; }
.form__row { display: grid; gap: 18px; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; }
.field label { font-weight: 600; font-size: .9rem; color: var(--ink); }
.field label .req { color: var(--red); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 16px;
  font: inherit; color: var(--text); background: var(--paper);
  border: 1.5px solid transparent; border-radius: 12px;
  transition: border-color .2s, background .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: #fff; }
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--red); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--red); flex: none; }
.hp { position: absolute; left: -9999px; }
.form__note { font-size: .82rem; color: var(--muted); }
.form-status { padding: 14px 18px; border-radius: 12px; font-weight: 600; display: none; }
.form-status.is-ok { display: block; background: #e7f6ed; color: #17663a; }
.form-status.is-err { display: block; background: var(--red-soft); color: var(--red-dark); }

.map-card { position: relative; border-radius: var(--radius-l); overflow: hidden; background: var(--brand-blue); color: #fff; padding: clamp(28px, 4vw, 40px); min-height: 280px; display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; }
.map-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.map-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(58, 118, 179, .97) 15%, rgba(71, 137, 202, .25) 100%); }
.map-card h3 { color: #fff; }
.map-card p { color: rgba(255,255,255,.92); }

/* ---------- Terminplaner ---------- */
.booking { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); padding: clamp(20px, 4vw, 48px); min-height: 360px; }
.booking__consent { display: grid; justify-items: center; text-align: center; gap: 14px; padding: 40px 0; max-width: 560px; margin: 0 auto; }
.booking__consent .card__icon { width: 64px; height: 64px; margin: 0; }
.booking__consent .card__icon svg { width: 30px; height: 30px; }
.booking__consent p { color: var(--muted); font-size: .92rem; margin: 0; }
/* neonis-Widget an das Designsystem angleichen */
#booking .nc-header-branch-name { color: var(--red) !important; border-color: var(--red) !important; }
#booking .nc-tab.nc-tab-active { background: var(--brand-blue) !important; border-radius: 8px; font-family: var(--font-display); }
#booking .nc-tab-marker { border-top-color: var(--brand-blue) !important; }
#booking .nc-booking-service { border-radius: 12px !important; transition: border-color .2s, box-shadow .2s; font-family: var(--font-body); color: var(--text) !important; }
#booking .nc-booking-service:hover { border-color: var(--red) !important; box-shadow: var(--shadow-s); }
#booking .nc-button { border-radius: 999px !important; min-height: 44px; padding: 0 22px !important; font-family: var(--font-display); font-weight: 700; cursor: pointer; }
#booking .nc-button-right { background: var(--red) !important; border-color: var(--red) !important; }
#booking .nc-button-right:hover { background: var(--red-dark) !important; }
#booking .nc-modal-tab.active { border-color: var(--red) !important; }
#booking input[type=text], #booking input[type=email], #booking input[type=tel], #booking textarea, #booking select { border-radius: 10px; }

.steps { display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { counter-increment: step; padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.step::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--font-display); font-stretch: var(--stretch); font-weight: 700; color: var(--red); margin-bottom: 10px; }
.step h3 { font-size: 1.1rem; margin-bottom: 6px; }
.step p { margin: 0; color: var(--muted); font-size: .93rem; }

/* ---------- Partner ---------- */
.partner { display: grid; gap: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); padding: clamp(28px, 4vw, 44px); }
@media (min-width: 900px) { .partner { grid-template-columns: 200px 1fr; gap: 44px; } }
.partner__logo { display: grid; place-items: center; background: var(--paper); border-radius: var(--radius); padding: 24px; aspect-ratio: 1; align-self: start; max-width: 200px; }
.partner__logo img { max-height: 140px; width: auto; max-width: 100%; mix-blend-mode: multiply; }
.partner__logo--text { font-family: var(--font-display); font-stretch: var(--stretch); font-weight: 700; font-size: 1.7rem; color: var(--ink); text-align: center; line-height: 1.1; }
.partner + .partner { margin-top: 16px; }

/* ---------- Footer ---------- */
.footer { background: var(--brand-blue-dark); color: rgba(255,255,255,.86); font-size: .93rem; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer__top { display: grid; gap: 40px; padding: clamp(56px, 7vw, 88px) 0 48px; }
@media (min-width: 760px) { .footer__top { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1100px) { .footer__top { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer .brand { color: #fff; margin-bottom: 20px; }
.footer .brand__sub { color: var(--muted-light); }
.footer h4 { color: #fff; font-family: var(--font-display); font-stretch: var(--stretch); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.footer__links { display: grid; gap: 10px; }
.footer address { font-style: normal; line-height: 1.7; }
.footer__social { display: flex; gap: 10px; margin-top: 20px; }
.footer__social a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-dark); }
.footer__social a:hover { background: #fff; border-color: #fff; color: var(--brand-blue-dark); }
.footer__social svg { width: 18px; height: 18px; }
.footer__bottom { border-top: 1px solid var(--line-dark); padding: 24px 0 32px; display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; font-size: .84rem; }
.footer__bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- Mobile Schnellleiste ---------- */
.quickbar { display: none; }
@media (max-width: 760px) {
  .quickbar {
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90;
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px;
    background: rgba(58, 118, 179, .95); backdrop-filter: blur(10px); border-radius: 999px;
    box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .45);
    transform: translateY(140%); transition: transform .35s ease;
  }
  .quickbar.is-visible { transform: none; }
  .quickbar .btn { min-height: 48px; padding: 0 14px; font-size: .95rem; }
  body { padding-bottom: env(safe-area-inset-bottom); }
  .footer__bottom { padding-bottom: 100px; }
}

/* ---------- Reveal-Animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- Druck ---------- */
@media print {
  .topbar, .header, .quickbar, .cta-band, .footer__social { display: none !important; }
  body { background: #fff; }
}

/* =========================================================================
   Klare, moderne Akzente
   ========================================================================= */


/* Leistungen als klares Raster mit Haarlinien */
.cards {
  gap: 1px; background: var(--line); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
}
.card {
  border: 0; border-radius: 0; padding: 32px 28px 30px;
  transition: background .25s;
}
a.card:hover { transform: none; box-shadow: none; background: #fbfaf8; }
.card__icon { width: auto; height: auto; background: none !important; border-radius: 0; margin-bottom: 26px; color: var(--red); }
.card__icon svg { width: 30px; height: 30px; stroke-width: 1.5; }
.card h3 { transition: color .2s; }
a.card:hover h3 { color: var(--red); }
a.card:not(.card--ink)::after {
  content: ""; position: absolute; top: 32px; right: 28px; width: 20px; height: 20px;
  background: var(--red); opacity: 0; transform: translateX(-6px); transition: opacity .25s, transform .25s;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M8 7h9v9'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M8 7h9v9'/%3E%3C/svg%3E") center / contain no-repeat;
}
a.card:hover::after { opacity: 1; transform: none; }
.card--ink { background: var(--brand-blue); }
a.card--ink:hover { background: var(--brand-blue-dark); }
a.card--ink:hover h3 { color: #fff; }
.card--ink .card__icon { color: #fff; }

/* Bilder: ruhig, mit Schatten */
.split__media picture { display: block; border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow); }

/* Kundenstimmen: erste Karte hervorgehoben */
.quote:first-child { background: var(--brand-blue); border-color: var(--brand-blue); }
.quote:first-child blockquote, .quote:first-child figcaption { color: #fff; }
.quote:first-child figcaption small { color: rgba(255,255,255,.8); }
.quote:first-child figcaption span { background: rgba(255,255,255,.18); color: #fff; }
.quote:first-child .quote__stars { color: #ffd257; }

/* Seitenköpfe: roter Abschlussstreifen */
.page-hero .container { position: relative; }


@media (max-width: 1120px) { .nav__link::before { display: none; } }

/* ---------- Ruhige Animationen ---------- */
/* Raster-Elemente blenden nacheinander ein */
.stagger.reveal { opacity: 1; transform: none; }
.stagger > * { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .7s cubic-bezier(.2, .7, .2, 1), background .25s; }
.stagger.is-in > *, .no-js .stagger > * { opacity: 1; transform: none; }

/* Hero baut sich beim Laden auf */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes popIn { from { opacity: 0; transform: translateY(12px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes slideBlock { from { transform: translateX(-30px); opacity: 0; } to { transform: none; opacity: 1; } }
.hero__text > * { animation: fadeUp .8s cubic-bezier(.2, .7, .2, 1) both; }
.hero__text > :nth-child(1) { animation-delay: .05s; }
.hero__text > :nth-child(2) { animation-delay: .15s; }
.hero__text > :nth-child(3) { animation-delay: .28s; }
.hero__text > :nth-child(4) { animation-delay: .4s; }
.hero__text > :nth-child(5) { animation-delay: .5s; }
.hero__img { animation: fadeIn 1s .2s ease both; }
.hero__facts li { animation: fadeUp .7s cubic-bezier(.2, .7, .2, 1) both; }
.hero__facts li:nth-child(1) { animation-delay: .8s; }
.hero__facts li:nth-child(2) { animation-delay: .92s; }
.hero__facts li:nth-child(3) { animation-delay: 1.04s; }
.hero__tag { animation: fadeIn .8s .7s ease both; }
.hero__mark { animation: markIn .8s .5s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes markIn { from { opacity: 0; transform: translate(10px, 10px); } to { opacity: 1; transform: none; } }
.hero__mark--bl { animation-name: markInB; }
@keyframes markInB { from { opacity: 0; transform: translate(10px, -10px); } to { opacity: 1; transform: none; } }
.page-hero .container > * { animation: fadeUp .8s cubic-bezier(.2, .7, .2, 1) both; }
.page-hero .container > :nth-child(2) { animation-delay: .08s; }
.page-hero .container > :nth-child(3) { animation-delay: .16s; }
.page-hero .container > :nth-child(4) { animation-delay: .26s; }
.page-hero .container > :nth-child(5) { animation-delay: .34s; }

@media (prefers-reduced-motion: reduce) {
  .stagger > * { opacity: 1; transform: none; }
  .hero__text > *, .hero__img, .hero__facts li, .hero__tag, .hero__mark, .page-hero .container > * { animation: none; }
  .swoosh path { animation: none; stroke-dashoffset: 0; }
}

/* ---------- Hero: technischer Rahmen, Datenzeile, Faktenleiste ---------- */
.hero h1 em { position: relative; display: inline-block; }
.swoosh { position: absolute; left: -2%; bottom: -.04em; width: 104%; height: .2em; color: var(--red); overflow: visible; }
.swoosh path { stroke-dasharray: 260; stroke-dashoffset: 260; animation: draw 1s .6s cubic-bezier(.65, 0, .35, 1) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero__mark { position: absolute; width: 34px; height: 34px; border: 0 solid var(--red); pointer-events: none; }
.hero__mark--tl { left: -14px; top: -14px; border-width: 3px 0 0 3px; }
.hero__mark--bl { left: -14px; bottom: -14px; border-width: 0 0 3px 3px; }

.hero__tag {
  position: absolute; left: 22px; top: 22px; z-index: 2;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px; border-radius: 4px;
  background: rgba(14, 22, 32, .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: #fff; font-family: var(--font-display); font-stretch: var(--stretch); font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
}
.hero__tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 3px rgba(226, 0, 21, .3); }
.hero__tag b { color: rgba(255, 255, 255, .5); font-weight: 400; }

.hero__facts {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: grid; grid-template-columns: repeat(3, 1fr);
  padding: 70px 22px 22px;
  background: linear-gradient(180deg, rgba(14, 22, 32, 0) 0%, rgba(14, 22, 32, .78) 55%, rgba(14, 22, 32, .88) 100%);
  color: #fff;
}
.hero__facts li { padding: 0 18px; border-left: 1px solid rgba(255, 255, 255, .28); }
.hero__facts li:first-child { padding-left: 0; border-left: 0; }
.hero__facts strong {
  display: block; font-family: var(--font-display); font-stretch: var(--stretch); font-weight: 700;
  font-size: clamp(1.5rem, 2.4vw, 2.2rem); line-height: 1; letter-spacing: -.02em; margin-bottom: 8px;
}
.hero__facts strong span { color: var(--red); }
.hero__facts small { display: block; font-size: .74rem; line-height: 1.4; color: rgba(255, 255, 255, .78); letter-spacing: .04em; text-transform: uppercase; font-weight: 600; }
@media (min-width: 1000px) { .hero__facts { padding-right: max(22px, calc((100vw - var(--container)) / 2)); } }
@media (max-width: 999px) { .hero__grid { padding-bottom: clamp(48px, 6vw, 88px); } }
@media (max-width: 560px) {
  .hero__img { aspect-ratio: auto; display: flex; flex-direction: column; }
  .hero__img picture { aspect-ratio: 4 / 3; }
  .hero__facts { position: static; padding: 18px 14px; background: #1b2734; }
  .hero__facts li { padding: 0 10px; }
  .hero__facts small { font-size: .62rem; letter-spacing: .02em; }
  .hero__tag { left: 14px; top: 14px; font-size: .62rem; letter-spacing: .1em; }
  .hero__mark { width: 24px; height: 24px; }
  .hero__mark--tl, .hero__mark--bl { left: -8px; }
  .hero__mark--tl { top: -8px; } .hero__mark--bl { bottom: -8px; }
}

/* ---------- Unterseiten-Köpfe: technische Datenzeile, Eckmarken, Faktenleiste ---------- */
.ph-tag {
  position: absolute; right: var(--gutter); top: clamp(48px, 7vw, 100px);
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px; border-radius: 4px;
  background: rgba(14, 22, 32, .32); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: #fff; font-family: var(--font-display); font-stretch: var(--stretch); font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
}
.ph-tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 3px rgba(226, 0, 21, .35); }
.ph-tag b { color: rgba(255, 255, 255, .5); font-weight: 400; }
.ph-tag em { font-style: normal; }
.ph-mark { position: absolute; width: 34px; height: 34px; border: 0 solid var(--red); pointer-events: none; }
.ph-mark--tl { left: calc(var(--gutter) - 22px); top: clamp(34px, 6vw, 86px); border-width: 3px 0 0 3px; }
.ph-mark--bl { left: calc(var(--gutter) - 22px); bottom: clamp(34px, 6vw, 82px); border-width: 0 0 3px 3px; }
.page-hero .container > .ph-mark--tl { animation: markIn .8s .3s cubic-bezier(.2, .7, .2, 1) both; }
.page-hero .container > .ph-mark--bl { animation: markInB .8s .3s cubic-bezier(.2, .7, .2, 1) both; }
.page-hero .container > .ph-tag { animation: fadeIn .8s .45s ease both; }

.ph-facts {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 760px;
  margin-top: clamp(32px, 4vw, 48px); padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .3); color: #fff;
}
.ph-facts li { padding: 0 20px; border-left: 1px solid rgba(255, 255, 255, .3); }
.ph-facts li:first-child { padding-left: 0; border-left: 0; }
.ph-facts strong {
  display: block; font-family: var(--font-display); font-stretch: var(--stretch); font-weight: 700;
  font-size: clamp(1.3rem, 2.2vw, 1.9rem); line-height: 1; letter-spacing: -.02em; margin-bottom: 8px; overflow-wrap: anywhere;
}
.ph-facts strong span { color: #fff; opacity: .7; }
.ph-facts small { display: block; font-size: .72rem; line-height: 1.4; color: rgba(255, 255, 255, .85); letter-spacing: .06em; text-transform: uppercase; font-weight: 600; }
.page-hero .container > .ph-facts { animation: fadeUp .8s .45s cubic-bezier(.2, .7, .2, 1) both; }

@media (max-width: 899px) {
  .ph-tag { position: static; margin-bottom: 18px; font-size: .62rem; letter-spacing: .1em; }
  .page-hero .container { display: flex; flex-direction: column; align-items: flex-start; }
  .ph-tag { order: -1; }
  .ph-mark--tl, .ph-mark--bl { left: 6px; width: 22px; height: 22px; }
}
@media (max-width: 560px) {
  .ph-tag em, .ph-tag b { display: none; }
  .ph-facts li { padding: 0 10px; }
  .ph-facts strong { font-size: 1.1rem; white-space: normal; }
  .ph-facts small { font-size: .6rem; letter-spacing: .03em; }
}
@media (prefers-reduced-motion: reduce) { .page-hero .container > * { animation: none !important; } }

/* Off-Canvas-Menü darf keinen horizontalen Scroll erzeugen */
html, body { overflow-x: clip; }

/* ---------- Koordinaten mit Ortungsnadel (führt zu Kontakt › Route berechnen) ---------- */
.geo { display: inline-flex; align-items: center; gap: 6px; color: inherit; text-decoration: none; transition: color .2s ease; }
.geo svg { width: 15px; height: 15px; color: var(--red); stroke-width: 2.4; flex: none; transition: transform .25s cubic-bezier(.2, .7, .2, 1); }
.geo em { font-style: normal; border-bottom: 1px dotted rgba(255, 255, 255, .45); transition: border-color .2s ease; }
.geo:hover svg, .geo:focus-visible svg { transform: translateY(-3px); }
.geo:hover em, .geo:focus-visible em { border-bottom-color: var(--red); }
.ph-tag .geo svg, .hero__tag .geo svg { filter: drop-shadow(0 0 4px rgba(226, 0, 21, .45)); }

/* ---------- Anfahrt: Karte + Routenplaner (OpenStreetMap) ---------- */
.route { display: grid; gap: clamp(28px, 4vw, 48px); align-items: stretch; }
@media (min-width: 960px) {
  .route { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); }
  .route__map { aspect-ratio: auto !important; min-height: 540px; }
}

.route__map { position: relative; min-height: 360px; aspect-ratio: 16 / 11; }
.route__canvas, .route__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 6px; overflow: hidden; background: #e8ebee; box-shadow: 0 30px 60px -30px rgba(14, 22, 32, .35); }
.route__canvas picture, .route__canvas img { width: 100%; height: 100%; object-fit: cover; }
.route__canvas img { filter: grayscale(.9) contrast(1.06) brightness(1.03); transition: filter .6s ease, transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.route__map:hover .route__canvas img { filter: grayscale(.55) contrast(1.04); transform: scale(1.02); }
.route__canvas::after { /* feines technisches Raster */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(14, 22, 32, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(14, 22, 32, .06) 1px, transparent 1px);
  background-size: 48px 48px; background-position: center;
}
.route__pin { position: absolute; left: 50%; top: 50%; z-index: 2; width: 46px; height: 46px; margin: -46px 0 0 -23px; color: var(--red); }
.route__pin svg { width: 100%; height: 100%; fill: var(--red); stroke: #fff; stroke-width: 1.4; filter: drop-shadow(0 6px 8px rgba(14, 22, 32, .35)); }
.route__pin svg circle { fill: #fff; stroke: none; }
.route__pin::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: rgba(226, 0, 21, .35); animation: pinPulse 2.2s ease-out infinite; z-index: -1; }
@keyframes pinPulse { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(4.2); opacity: 0; } }
.route__label {
  position: absolute; left: calc(50% + 30px); top: calc(50% - 44px); z-index: 2;
  padding: 8px 12px; border-left: 3px solid var(--red); border-radius: 0 4px 4px 0; background: #fff; box-shadow: 0 10px 24px -10px rgba(14, 22, 32, .4);
  font-size: .78rem; line-height: 1.35; color: var(--muted);
}
.route__label b { display: block; font-family: var(--font-display); font-stretch: var(--stretch); font-weight: 700; color: var(--ink); letter-spacing: .06em; text-transform: uppercase; font-size: .72rem; }
.route__coords {
  position: absolute; left: 18px; top: 18px; z-index: 3;
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 4px;
  background: rgba(14, 22, 32, .78); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: #fff; font-family: var(--font-display); font-stretch: var(--stretch); font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
}
.route__coords svg { width: 15px; height: 15px; color: var(--red); stroke-width: 2.4; }
.route__coords b { color: rgba(255, 255, 255, .5); font-weight: 400; }
.route__mark { position: absolute; z-index: 3; width: 34px; height: 34px; border: 0 solid var(--red); pointer-events: none; }
.route__mark--tl { left: -14px; top: -14px; border-width: 3px 0 0 3px; }
.route__mark--br { right: -14px; bottom: -14px; border-width: 0 3px 3px 0; }
.route__load {
  position: absolute; left: 18px; bottom: 18px; z-index: 3;
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border: 0; border-radius: 4px; cursor: pointer;
  background: var(--ink); color: #fff; font: inherit; font-weight: 600; font-size: .9rem; transition: background .2s ease, transform .2s ease;
}
.route__load svg { width: 18px; height: 18px; }
.route__load:hover, .route__load:focus-visible { background: var(--red); transform: translateY(-2px); }
.route__attr { position: absolute; right: 8px; bottom: 8px; z-index: 3; padding: 2px 8px; border-radius: 3px; background: rgba(255, 255, 255, .88); font-size: .7rem; color: var(--muted); }
.route__attr a { color: inherit; }
.route__map.is-live .route__canvas, .route__map.is-live .route__load, .route__map.is-live .route__attr { display: none; }
.route__map.is-live .route__coords { pointer-events: none; }

.route__panel { display: grid; gap: 22px; align-content: start; padding: clamp(24px, 3vw, 36px); border: 1px solid var(--line); border-top: 3px solid var(--red); border-radius: 6px; background: var(--surface); }
.route__step { display: inline-block; margin-right: 10px; padding: 3px 7px; border-radius: 3px; background: var(--ink); color: #fff; font-family: var(--font-display); font-stretch: var(--stretch); font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; vertical-align: 2px; }
.route__dest { display: grid; gap: 4px; padding-bottom: 20px; border-bottom: 1px dashed var(--line); }
.route__dest .route__step { justify-self: start; margin-bottom: 6px; background: var(--red); }
.route__dest strong { font-family: var(--font-display); font-stretch: var(--stretch); font-size: 1.1rem; color: var(--ink); }
.route__dest span:last-child { color: var(--muted); }
.route__locate { justify-self: start; display: inline-flex; align-items: center; gap: 8px; padding: 4px 0; border: 0; background: none; color: var(--brand-blue-dark); font: inherit; font-size: .88rem; font-weight: 600; cursor: pointer; }
.route__locate svg { width: 17px; height: 17px; }
.route__locate:hover, .route__locate:focus-visible { color: var(--red); }
.route__locate.is-busy svg { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.route__modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 0; padding: 0; border: 0; }
.route__modes legend { grid-column: 1 / -1; margin-bottom: 8px; padding: 0; font-weight: 600; font-size: .9rem; color: var(--ink); }
.route__modes label { position: relative; cursor: pointer; }
.route__modes input { position: absolute; opacity: 0; pointer-events: none; }
.route__modes span {
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px;
  border: 1px solid var(--line); margin-left: -1px; background: #fff; color: var(--muted); font-size: .85rem; font-weight: 600;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.route__modes label:first-of-type span { margin-left: 0; border-radius: 4px 0 0 4px; }
.route__modes label:last-of-type span { border-radius: 0 4px 4px 0; }
.route__modes svg { width: 22px; height: 22px; }
.route__modes label:hover span { color: var(--red); }
.route__modes input:checked + span { position: relative; z-index: 1; background: var(--ink); border-color: var(--ink); color: #fff; }
.route__modes input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.route__panel .btn { justify-self: stretch; justify-content: center; }
.route__panel .form__note { margin: -6px 0 0; }
.route__panel .form__note.is-err { color: var(--red); }

@media (max-width: 560px) {
  .route__map { aspect-ratio: 4 / 5; min-height: 0; }
  .route__mark { width: 24px; height: 24px; }
  .route__mark--tl { left: -8px; top: -8px; } .route__mark--br { right: -8px; bottom: -8px; }
  .route__label { left: auto; right: 12px; top: calc(50% + 18px); }
  .route__coords { left: 12px; top: 12px; font-size: .62rem; letter-spacing: .1em; }
  .route__load { left: 12px; bottom: 40px; }
}
@media (prefers-reduced-motion: reduce) { .route__pin::after { animation: none; } }
