/* ==========================================================================
   Taxi DU – Design-System
   Marke: Taxigelb + Schwarz, Archivo (variabel: Breite + Stärke), selbst gehostet
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-wdth.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  --yellow: #ffcc00;
  --yellow-deep: #f2b900;
  --yellow-soft: #fff4c2;
  --ink: #121211;
  --ink-2: #2a2926;
  --muted: #5c5950;
  --line: #e3e0d6;
  --line-strong: #8a867c;
  --bg: #ffffff;
  --bg-soft: #f6f5f0;
  --dark: #141413;
  --dark-2: #1f1e1c;
  --dark-line: #34332f;
  --on-dark: #f4f2ec;
  --on-dark-muted: #b6b2a8;
  --green: #157f3b;
  --wa: #1fa855;
  --red: #b42318;

  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-pop: 0 12px 32px -12px rgb(18 18 17 / 0.28), 0 2px 6px rgb(18 18 17 / 0.08);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(56px, 8vw, 112px);
  --header-h: 72px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  --font: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ---------- Reset & Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1.5px; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 {
  margin: 0;
  font-weight: 800;
  font-stretch: 112%;
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 1.5rem + 3.6vw, 4.4rem); line-height: 1.02; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.75rem, 1.25rem + 2vw, 2.75rem); }
h3 { font-size: clamp(1.2rem, 1.1rem + 0.4vw, 1.4rem); letter-spacing: -0.01em; font-stretch: 106%; line-height: 1.25; }
strong, b { font-weight: 700; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.section-dark :focus-visible, .site-footer :focus-visible, .page-hero :focus-visible { outline-color: var(--yellow); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.num, .price, td, .tabular { font-variant-numeric: tabular-nums; }

.sr-only {
  position: absolute !important; 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: 16px; top: -100px; z-index: 100;
  background: var(--ink); color: var(--yellow); padding: 12px 18px; border-radius: var(--radius-sm); font-weight: 700;
}
.skip-link:focus { top: 12px; }
main:focus { outline: none; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: calc(800px + 2 * var(--gutter)); }
.section { padding-block: var(--section); }
.section-tight { padding-block: clamp(40px, 6vw, 72px); }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--dark); color: var(--on-dark); }
.section-yellow { background: var(--yellow); }
.section-dark .muted, .section-dark .lead { color: var(--on-dark-muted); }
.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head h2 + p, .section-head h2 + .lead { margin-top: 16px; }
.section-head.center { margin-inline: auto; text-align: center; }
.lead { font-size: clamp(1.1rem, 1.02rem + 0.35vw, 1.3rem); line-height: 1.55; color: var(--ink-2); }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }

.split { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (min-width: 960px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split.wide-left { grid-template-columns: 7fr 5fr; }
  .split.wide-right { grid-template-columns: 5fr 7fr; }
  .split.top { align-items: start; }
}
.grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 640px) and (max-width: 899px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
.stack > * + * { margin-top: 1rem; }

.checker {
  height: 16px;
  background: repeating-conic-gradient(var(--ink) 0 25%, var(--yellow) 0 50%) 0 0 / 16px 16px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  min-height: 48px; padding: 0.6em 1.25em;
  border: 2px solid transparent; border-radius: 12px;
  font-weight: 700; font-size: 1rem; line-height: 1.15; text-decoration: none; text-align: center;
  transition: background-color 160ms var(--ease-out), color 160ms var(--ease-out), border-color 160ms var(--ease-out), transform 150ms var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.btn:active:not(:disabled) { transform: scale(0.97); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.btn-lg { min-height: 56px; padding-inline: 1.5em; font-size: 1.075rem; border-radius: 14px; }
.btn-sm { min-height: 42px; padding: 0.4em 1em; font-size: 0.95rem; border-radius: 10px; }
.btn-dark { background: var(--ink); color: var(--yellow); }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-outline { border-color: currentColor; color: var(--ink); background: transparent; }
.btn-ghost-light { border-color: rgb(255 255 255 / 0.35); color: var(--on-dark); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-block { width: 100%; }
@media (hover: hover) {
  .btn-dark:hover { background: #000; color: #fff; }
  .btn-yellow:hover { background: var(--yellow-deep); }
  .btn-outline:hover { background: var(--ink); color: var(--yellow); border-color: var(--ink); }
  .btn-ghost-light:hover { border-color: var(--yellow); color: var(--yellow); }
  .btn-wa:hover { background: #17924a; }
}
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 0.4em; font-weight: 700; text-decoration: none;
  border-bottom: 2px solid var(--yellow); padding-bottom: 2px;
}
.link-arrow .icon { width: 1.05em; height: 1.05em; transition: transform 160ms var(--ease-out); }
@media (hover: hover) { .link-arrow:hover .icon { transform: translateX(3px); } }

/* ---------- Header & Navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid var(--line);
}
/* Hintergrund + Blur auf Pseudo-Element: backdrop-filter direkt am Header würde das
   position:fixed-Mobilmenü an den Header binden (Menü nur so hoch wie der Header). */
.site-header::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: rgb(255 255 255 / 0.96);
  backdrop-filter: saturate(1.4) blur(10px);
}
.header-inner { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.brand img { width: 136px; height: auto; }
.main-nav { margin-left: auto; }
.nav-list { list-style: none; display: flex; align-items: center; gap: 2px; }
.nav-link {
  display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 12px;
  border: 0; border-radius: 10px; background: none; font-weight: 600; font-size: 0.98rem; text-decoration: none;
}
.nav-item.is-active > .nav-link { box-shadow: inset 0 -3px 0 var(--yellow); border-radius: 0; }
.icon-chev { width: 16px; height: 16px; transition: transform 200ms var(--ease-out); }
.has-sub { position: relative; }
.sub-menu {
  list-style: none; position: absolute; top: calc(100% + 6px); left: 0; min-width: 260px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-pop);
  padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity 160ms var(--ease-out), transform 200ms var(--ease-out), visibility 0s linear 200ms;
}
.sub-menu a {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px;
  text-decoration: none; font-weight: 600; font-size: 0.98rem;
}
.sub-menu a .icon { color: var(--muted); }
.sub-menu a[aria-current="page"] { background: var(--yellow-soft); }
.sub-all { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px; }
.sub-all a { justify-content: space-between; }
@media (hover: hover) {
  .nav-link:hover { background: var(--bg-soft); }
  .sub-menu a:hover { background: var(--bg-soft); }
}
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-phone { display: none; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-stretch: 108%; font-size: 1.1rem; white-space: nowrap; }
.header-phone .icon { width: 40px; height: 40px; padding: 10px; border-radius: 50%; background: var(--yellow); }
.header-phone small { display: block; font-size: 0.75rem; font-weight: 600; font-stretch: 100%; color: var(--muted); letter-spacing: 0.02em; line-height: 1.1; }
.header-book { display: none; }
.menu-toggle {
  display: inline-grid; place-items: center; width: 48px; height: 48px; margin-right: -8px;
  border: 0; border-radius: 12px; background: none;
}
.menu-toggle .icon { width: 28px; height: 28px; grid-area: 1 / 1; }
.menu-toggle .icon-close { opacity: 0; }
.menu-open .menu-toggle .icon-open { opacity: 0; }
.menu-open .menu-toggle .icon-close { opacity: 1; }
.nav-mobile-cta { display: none; }

@media (max-width: 1079px) {
  .main-nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
    background: #fff; overflow-y: auto; overscroll-behavior: contain;
    padding: 16px var(--gutter) 120px;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 180ms var(--ease-out), transform 220ms var(--ease-out), visibility 0s linear 220ms;
  }
  .menu-open .main-nav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .menu-open { overflow: hidden; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-item { border-bottom: 1px solid var(--line); }
  .nav-link { width: 100%; justify-content: space-between; min-height: 56px; padding: 0 4px; font-size: 1.15rem; font-weight: 700; }
  .nav-item.is-active > .nav-link { box-shadow: none; }
  .sub-menu {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0;
    padding: 0 0 12px; display: none; min-width: 0;
  }
  .nav-toggle[aria-expanded="true"] + .sub-menu { display: block; }
  .nav-toggle[aria-expanded="true"] .icon-chev { transform: rotate(180deg); }
  .sub-menu a { min-height: 48px; font-size: 1.05rem; }
  .nav-mobile-cta { display: grid; gap: 12px; margin-top: 24px; }
}
@media (min-width: 1080px) {
  .menu-toggle { display: none; }
  .has-sub:hover > .sub-menu,
  .has-sub:focus-within > .sub-menu,
  .nav-toggle[aria-expanded="true"] + .sub-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .has-sub:hover .icon-chev { transform: rotate(180deg); }
  .header-book { display: inline-flex; }
}
@media (min-width: 1240px) { .header-phone { display: inline-flex; } .brand img { width: 150px; } }
@media (min-width: 640px) and (max-width: 1079px) { .header-book { display: inline-flex; } .header-actions { margin-left: auto; } }
@media (max-width: 1079px) { .header-actions { margin-left: auto; } }

/* ---------- Mobile-Aktionsleiste ---------- */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 6px;
  padding: 8px max(8px, env(safe-area-inset-left)) calc(8px + env(safe-area-inset-bottom));
  background: var(--ink);
  box-shadow: 0 -6px 24px rgb(0 0 0 / 0.18);
}
.action-bar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-height: 56px; border-radius: 12px; text-decoration: none; font-weight: 700; font-size: 0.85rem;
  color: var(--on-dark); -webkit-tap-highlight-color: transparent; transition: transform 150ms var(--ease-out);
}
.action-bar a:active { transform: scale(0.96); }
.action-bar .icon { width: 22px; height: 22px; }
.action-bar .ab-call { background: var(--yellow); color: var(--ink); flex-direction: row; gap: 8px; font-size: 1.05rem; }
.action-bar .ab-wa .icon { color: #3ddc84; }
.action-bar .ab-book .icon { color: var(--yellow); }
body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
@media (min-width: 900px) {
  .action-bar { display: none; }
  body { padding-bottom: 0; }
}

/* ---------- Hero Startseite ---------- */
.hero { background: var(--yellow); position: relative; overflow: clip; }
.hero-inner { display: grid; gap: 36px; padding-block: clamp(36px, 6vw, 88px) clamp(40px, 6vw, 88px); }
@media (min-width: 1000px) { .hero-inner { grid-template-columns: 1.08fr 0.92fr; align-items: center; gap: 56px; } }
.hero h1 { max-width: 13ch; }
.hero h1 .h1-sub { display: block; font-size: 0.5em; line-height: 1.12; letter-spacing: -0.02em; margin-top: 0.3em; font-stretch: 108%; }
.hero .lead { margin-top: 22px; max-width: 34em; color: var(--ink); }
.hero .btn-row { margin-top: 28px; }
.hero-call { font-size: clamp(1.1rem, 1rem + 0.5vw, 1.3rem); }
.hero-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; font-weight: 600; font-size: 0.98rem; }
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts .icon { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--ink); color: var(--yellow); }
.hero-visual { position: relative; }
.hero-photo { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--ink); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 999px) { .hero-photo { display: none; } }
.quick-calc {
  background: #fff; border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 28px);
  box-shadow: var(--shadow-pop);
}
@media (min-width: 1000px) {
  .hero-visual .quick-calc { position: absolute; left: -48px; right: 48px; bottom: -40px; }
  .hero-visual { padding-bottom: 150px; }
}
.quick-calc h2 { font-size: 1.35rem; display: flex; align-items: center; gap: 10px; }
.quick-calc h2 .icon { width: 30px; height: 30px; padding: 6px; border-radius: 8px; background: var(--yellow); }
.quick-calc .qc-fields { display: grid; gap: 12px; margin-top: 16px; }
@media (min-width: 560px) { .quick-calc .qc-fields { grid-template-columns: 1fr 1fr; } .quick-calc .qc-fields .btn { grid-column: 1 / -1; } }

/* ---------- Seiten-Hero (Unterseiten) ---------- */
.page-hero { background: var(--dark); color: var(--on-dark); }
.page-hero-inner { display: grid; gap: 32px; padding-block: clamp(28px, 5vw, 72px) clamp(40px, 6vw, 80px); align-items: center; }
@media (min-width: 960px) { .page-hero.has-image .page-hero-inner { grid-template-columns: 1.1fr 0.9fr; gap: 56px; } }
.page-hero h1 { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.9rem); }
.page-hero h1 em { font-style: normal; color: var(--yellow); }
.page-hero .lead { color: var(--on-dark-muted); margin-top: 18px; max-width: 40em; }
.page-hero .btn-row { margin-top: 28px; }
.page-hero .btn-outline { color: var(--on-dark); }
@media (hover: hover) { .page-hero .btn-outline:hover { background: var(--yellow); color: var(--ink); border-color: var(--yellow); } }
.page-hero-media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3 / 2; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-points { list-style: none; display: grid; gap: 10px; margin-top: 24px; }
.hero-points li { display: flex; gap: 10px; align-items: flex-start; }
.hero-points .icon { color: var(--yellow); margin-top: 3px; }

.breadcrumbs { font-size: 0.875rem; color: var(--on-dark-muted); margin-bottom: 18px; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; opacity: 0.6; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; color: var(--yellow); }

/* ---------- Leistungen ---------- */
.services { display: grid; gap: 20px; }
@media (min-width: 900px) { .services { grid-template-columns: repeat(12, 1fr); } }
.service-feature {
  position: relative; display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--dark); color: var(--on-dark); text-decoration: none; min-height: 420px;
}
@media (min-width: 900px) { .service-feature { grid-column: span 6; } }
.service-feature picture { position: absolute; inset: 0; }
.service-feature img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out); }
.service-feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(18 18 17 / 0) 30%, rgb(18 18 17 / 0.88) 78%); }
.service-feature .sf-body { position: relative; z-index: 1; margin-top: auto; padding: clamp(22px, 3vw, 32px); }
.service-feature h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.service-feature p { color: #e3e0d8; margin: 10px 0 16px; max-width: 34em; }
.service-feature .link-arrow { color: #fff; }
@media (hover: hover) { .service-feature:hover img { transform: scale(1.03); } }
.service-list { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .service-list { grid-column: 1 / -1; grid-template-columns: repeat(2, 1fr); column-gap: 48px; } }
.service-list a {
  display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center;
  padding: 20px 4px; border-bottom: 1px solid var(--line); text-decoration: none;
}
.service-list .icon-wrap { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; background: var(--yellow); }
.service-list .icon-wrap .icon { width: 24px; height: 24px; }
.service-list strong { display: block; font-size: 1.15rem; font-stretch: 106%; }
.service-list span.muted { display: block; font-size: 0.95rem; line-height: 1.45; margin-top: 2px; }
.service-list .icon-go { width: 22px; height: 22px; color: var(--muted); transition: transform 160ms var(--ease-out); }
@media (hover: hover) { .service-list a:hover .icon-go { transform: translateX(4px); color: var(--ink); } .service-list a:hover strong { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; } }

/* ---------- Bestellwege ---------- */
.ways { display: grid; gap: 16px; }
@media (min-width: 900px) { .ways { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.way { padding: clamp(22px, 3vw, 30px); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; }
.way-primary { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.way-primary .muted { color: var(--on-dark-muted); }
.way .way-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: var(--yellow); color: var(--ink); margin-bottom: 18px; }
.way .way-icon .icon { width: 26px; height: 26px; }
.way h3 { margin-bottom: 8px; }
.way p { flex: 1; }
.way .btn { margin-top: 8px; align-self: flex-start; }

/* ---------- Preise ---------- */
.tariff-card { background: var(--dark-2); border: 1px solid var(--dark-line); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 32px); }
.section-soft .tariff-card, .tariff-card.light { background: #fff; border-color: var(--line); }
.tariff-list { list-style: none; }
.tariff-list li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--dark-line); }
.tariff-card.light .tariff-list li, .section-soft .tariff-list li { border-color: var(--line); }
.tariff-list li:last-child { border-bottom: 0; }
.tariff-list .price { font-weight: 800; font-stretch: 108%; white-space: nowrap; }
.tariff-list small { display: block; color: var(--on-dark-muted); font-size: 0.85rem; }
.tariff-card.light .tariff-list small { color: var(--muted); }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.price-table { width: 100%; border-collapse: collapse; min-width: 520px; }
.price-table th, .price-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table thead th { background: var(--bg-soft); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); font-weight: 700; }
.price-table tbody tr:last-child td, .price-table tbody tr:last-child th { border-bottom: 0; }
.price-table td.r, .price-table th.r { text-align: right; white-space: nowrap; }
.price-table tbody th { font-weight: 600; }
.price-table .strong { font-weight: 800; }

.examples { list-style: none; display: grid; gap: 10px; }
.examples li { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: baseline; padding: 14px 18px; border-radius: 12px; background: var(--dark-2); }
.examples .route { font-weight: 600; }
.examples .meta { grid-column: 1; font-size: 0.875rem; color: var(--on-dark-muted); }
.examples .price { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-weight: 800; font-size: 1.25rem; font-stretch: 108%; color: var(--yellow); }

/* ---------- Einsatzgebiet ---------- */
.area-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.area-chips a, .area-chips span {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px;
  border-radius: 999px; border: 1.5px solid var(--line-strong); text-decoration: none; font-weight: 600; font-size: 0.98rem;
}
.area-chips a { border-color: var(--ink); background: var(--yellow); }
.area-chips a .icon { width: 18px; height: 18px; }
@media (hover: hover) { .area-chips a:hover { background: var(--ink); color: var(--yellow); } }
.media-frame { border-radius: var(--radius-lg); overflow: hidden; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame.tall { aspect-ratio: 4 / 5; }
.media-frame.wide { aspect-ratio: 3 / 2; }

/* ---------- Listen & Karten ---------- */
.checklist { list-style: none; display: grid; gap: 12px; }
.checklist li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; }
.checklist .icon { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--yellow); color: var(--ink); margin-top: 1px; }
.section-dark .checklist .icon { background: var(--yellow); }
.checklist.cols { gap: 14px 32px; }
@media (min-width: 720px) { .checklist.cols { grid-template-columns: 1fr 1fr; } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 28px); }
.section-soft .card { border-color: transparent; }
.card h3 { margin-bottom: 8px; }
.card .card-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: var(--yellow-soft); margin-bottom: 16px; }
.card .card-icon .icon { width: 24px; height: 24px; }
.card p:last-child { margin-bottom: 0; }

.facts { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
@media (min-width: 720px) { .facts { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 480px) and (max-width: 719px) { .facts { grid-template-columns: 1fr 1fr; } }
.fact { background: #fff; padding: 22px; }
.fact dt { font-size: 0.875rem; color: var(--muted); font-weight: 600; }
.fact dd { margin: 4px 0 0; font-size: 1.35rem; font-weight: 800; font-stretch: 108%; line-height: 1.2; }

.note { display: flex; gap: 14px; padding: 18px 20px; border-radius: var(--radius); background: var(--yellow-soft); border: 1px solid #f1dc84; }
.note .icon { margin-top: 2px; }
.note p:last-child { margin: 0; }
.section-dark .note { background: var(--dark-2); border-color: var(--dark-line); }

.steps { list-style: none; counter-reset: step; display: grid; gap: 18px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 44px 1fr; gap: 16px; }
.steps li::before {
  content: counter(step); width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%;
  background: var(--ink); color: var(--yellow); font-weight: 800; font-size: 1.1rem;
}
.steps h3 { font-size: 1.15rem; margin: 8px 0 4px; }
.steps p { margin: 0; }

/* ---------- Fließtext ---------- */
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); margin: 2em 0 0.6em; }
.prose h3 { margin: 1.6em 0 0.5em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: 0.4em; }
.prose a { font-weight: 600; text-decoration-color: var(--yellow-deep); }
.prose table { margin: 1em 0 1.5em; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.section-soft .faq details { border-color: transparent; }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 20px; font-weight: 700; font-size: 1.07rem; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23121211' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform 220ms var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-a { padding: 0 20px 18px; color: var(--ink-2); }
.faq .faq-a p:last-child { margin-bottom: 0; }

/* ---------- CTA-Band ---------- */
.cta-band { background: var(--yellow); }
.cta-inner { display: grid; gap: 24px; padding-block: clamp(44px, 6vw, 80px); align-items: center; }
@media (min-width: 900px) { .cta-inner { grid-template-columns: 1.3fr auto; gap: 48px; } }
.cta-band p { margin: 12px 0 0; font-size: 1.1rem; max-width: 36em; }
.cta-phone { font-size: clamp(1.8rem, 1.2rem + 2.4vw, 3rem); font-weight: 800; font-stretch: 115%; letter-spacing: -0.02em; text-decoration: none; white-space: nowrap; display: inline-flex; align-items: center; gap: 14px; }
.cta-phone .icon { width: 0.9em; height: 0.9em; }
.cta-actions { display: grid; gap: 12px; justify-items: start; }
@media (min-width: 900px) { .cta-actions { justify-items: end; } }

/* ---------- Formulare ---------- */
.form-card { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); padding: clamp(20px, 3.5vw, 36px); }
.section-dark .form-card { color: var(--ink); border-color: transparent; }
.form-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-grid.two { grid-template-columns: 1fr 1fr; } .form-grid .span-2 { grid-column: 1 / -1; } }
.form-section-title { font-size: 1.1rem; font-stretch: 106%; margin: 8px 0 -4px; display: flex; gap: 8px; align-items: center; }
.field { display: grid; gap: 6px; position: relative; }
.field label, .field .label { font-weight: 700; font-size: 0.95rem; }
.field .hint { font-size: 0.85rem; color: var(--muted); }
.req { color: var(--red); }
.input, .field input[type="text"], .field input[type="tel"], .field input[type="email"], .field input[type="date"], .field input[type="time"], .field input[type="number"], .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; font-size: 1rem;
  border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm); background: #fff;
  transition: border-color 150ms, box-shadow 150ms;
  -webkit-appearance: none; appearance: none;
}
.field select {
  padding-right: 40px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23121211' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 12px center / 18px no-repeat;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgb(255 204 0 / 0.55); }
.field [aria-invalid="true"] { border-color: var(--red); }
.field .error { color: var(--red); font-size: 0.875rem; font-weight: 600; }
.field .error:empty { display: none; }
.input-icon { position: relative; }
.input-icon > .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.input-icon > input { padding-left: 44px !important; }
.input-icon .field-action {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 10px;
  border: 0; border-radius: 8px; background: var(--bg-soft); font-size: 0.85rem; font-weight: 700;
}
.input-icon .field-action + input, .input-icon.has-action > input { padding-right: 120px !important; }
.choice-group { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.choice-group legend { font-weight: 700; font-size: 0.95rem; margin-bottom: 8px; padding: 0; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px;
  border: 1.5px solid var(--line-strong); border-radius: 10px; font-weight: 600; font-size: 0.95rem; background: #fff;
  transition: background-color 150ms, border-color 150ms;
}
.choice span .icon { width: 18px; height: 18px; }
.choice input:checked + span { background: var(--yellow); border-color: var(--ink); }
.choice input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }
.segmented { display: inline-flex; padding: 4px; border-radius: 12px; background: var(--bg-soft); gap: 4px; flex-wrap: wrap; }
.segmented .choice span { border: 0; background: transparent; min-height: 42px; }
.segmented .choice input:checked + span { background: #fff; box-shadow: 0 1px 3px rgb(0 0 0 / 0.15); }
.hp { position: absolute !important; left: -9999px !important; height: 0; overflow: hidden; }
.form-msg { padding: 14px 16px; border-radius: var(--radius-sm); font-weight: 600; }
.form-msg.is-error { background: #fdecea; color: var(--red); }
.form-msg:empty { display: none; }
.form-legal { font-size: 0.85rem; color: var(--muted); margin: 0; }
.form-success { text-align: center; padding: clamp(24px, 4vw, 40px) 8px; }
.form-success .ok-icon { width: 64px; height: 64px; margin: 0 auto 16px; padding: 14px; border-radius: 50%; background: var(--green); color: #fff; }
.form-success h2 { font-size: 1.7rem; margin-bottom: 10px; }

/* Adressvorschläge (Combobox) */
.ac-list {
  list-style: none; position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 6px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-pop);
  padding: 6px; max-height: 320px; overflow-y: auto;
}
.ac-list[hidden] { display: none; }
.ac-list li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; padding: 10px 10px; border-radius: 10px; cursor: pointer; line-height: 1.3; }
.ac-list li .icon { width: 18px; height: 18px; color: var(--muted); margin-top: 2px; }
.ac-list li[aria-selected="true"], .ac-list li:hover { background: var(--yellow-soft); }
.ac-list .ac-main { font-weight: 600; }
.ac-list .ac-sub { display: block; font-size: 0.85rem; color: var(--muted); }
.ac-list .ac-empty { display: block; color: var(--muted); cursor: default; }
.ac-list .ac-empty:hover { background: none; }
.ac-list .ac-attr { display: block; margin-top: 4px; padding: 6px 10px 2px; border-top: 1px solid var(--line); border-radius: 0; font-size: 0.72rem; color: var(--muted); text-align: right; cursor: default; }
.ac-list .ac-attr:hover { background: none; }
.ac-list .ac-attr a { color: inherit; }

/* Seite „SMS bestätigen“ (Link aus der Anfrage-Mail) */
.sms-page { background: var(--bg-soft); }
.sms-box { max-width: 440px; margin: 0 auto; padding: 32px var(--gutter) 48px; text-align: center; }
.sms-box img { margin: 0 auto 24px; }
.sms-box h1 { font-size: 1.5rem; margin: 0 0 8px; }
.sms-to { margin: 0 0 16px; }
.sms-text { text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; margin: 0 0 20px; }
.sms-btn { width: 100%; justify-content: center; }
.sms-note { color: var(--muted); font-size: 0.9rem; margin-top: 14px; }

/* ---------- Preisrechner ---------- */
.calc { display: grid; gap: 24px; }
@media (min-width: 1000px) { .calc { grid-template-columns: 1.15fr 0.85fr; align-items: start; } }
.calc-result {
  position: relative; background: var(--ink); color: var(--on-dark); border-radius: var(--radius-lg); padding: clamp(22px, 3.5vw, 34px);
}
@media (min-width: 1000px) { .calc-result { position: sticky; top: calc(var(--header-h) + 20px); } }
.calc-result h2 { font-size: 1.15rem; font-stretch: 100%; letter-spacing: 0; color: var(--on-dark-muted); font-weight: 600; }
.calc-price { font-size: clamp(2.8rem, 2rem + 3.5vw, 4.2rem); font-weight: 800; font-stretch: 112%; letter-spacing: -0.03em; color: var(--yellow); line-height: 1.05; margin: 6px 0 4px; }
.calc-price.is-empty { color: var(--dark-line); }
.calc-meta { list-style: none; display: grid; gap: 8px; margin: 18px 0 22px; padding: 18px 0; border-block: 1px solid var(--dark-line); }
.calc-meta li { display: flex; justify-content: space-between; gap: 12px; }
.calc-meta li span:first-child { color: var(--on-dark-muted); }
.calc-meta li span:last-child { font-weight: 700; text-align: right; }
.calc-result .note { margin-top: 16px; font-size: 0.92rem; }
.calc-result .btn-row .btn { flex: 1 1 200px; }
.calc-status { min-height: 1.5em; font-size: 0.95rem; color: var(--on-dark-muted); }
.calc-status.is-error { color: #ff9b8f; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; animation: spin 0.7s linear infinite; display: inline-block; vertical-align: -3px; margin-right: 8px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Ortsseiten / Inhalte ---------- */
.place-grid { display: grid; gap: 14px; }
@media (min-width: 720px) { .place-grid { grid-template-columns: repeat(2, 1fr); } }
.place { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 18px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.place .icon-wrap { width: 44px; height: 44px; border-radius: 12px; background: var(--bg-soft); display: grid; place-items: center; }
.place strong { display: block; }
.place span { font-size: 0.92rem; color: var(--muted); line-height: 1.45; display: block; }
.place .km { color: var(--ink); font-weight: 700; margin-top: 4px; }

.quote { border-left: 4px solid var(--yellow); padding: 4px 0 4px 20px; font-size: 1.15rem; font-weight: 500; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: var(--on-dark); }
.footer-grid { display: grid; gap: 36px; padding-block: clamp(48px, 6vw, 80px) 40px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1.1fr; } }
.footer-brand p { color: var(--on-dark-muted); max-width: 30em; margin: 18px 0; }
.footer-phone { display: inline-flex; align-items: center; gap: 10px; font-size: 1.5rem; font-weight: 800; font-stretch: 112%; text-decoration: none; color: var(--yellow); }
.footer-title { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; font-stretch: 100%; color: var(--on-dark-muted); margin: 0 0 14px; }
.footer-title:not(:first-child) { margin-top: 28px; }
.footer-links { list-style: none; display: grid; gap: 4px; }
.footer-links a { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; text-decoration: none; color: var(--on-dark); }
.footer-links .icon { width: 18px; height: 18px; color: var(--yellow); }
@media (hover: hover) { .footer-links a:hover { color: var(--yellow); text-decoration: underline; } }
.footer-contact address { color: var(--on-dark); margin-bottom: 12px; line-height: 1.55; }
.footer-note { display: flex; align-items: center; gap: 8px; color: var(--on-dark-muted); margin-top: 12px; }
.footer-note .icon { width: 18px; height: 18px; color: var(--yellow); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between; padding-block: 22px 28px; border-top: 1px solid var(--dark-line); font-size: 0.9rem; color: var(--on-dark-muted); }
.footer-bottom p { margin: 0; }
.footer-legal { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer-legal a { text-decoration: none; display: inline-block; padding: 6px 0; }
.footer-legal a:hover, .credit a:hover { color: var(--yellow); }
.credit a { color: var(--on-dark); font-weight: 600; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding-block: clamp(64px, 10vw, 140px); }
.notfound .code { font-size: clamp(5rem, 3rem + 10vw, 10rem); font-weight: 900; font-stretch: 125%; line-height: 1; letter-spacing: -0.04em; }

/* ---------- Druck ---------- */
@media print {
  .site-header, .action-bar, .site-footer .checker, .cta-band, .menu-toggle { display: none !important; }
  body { padding: 0; }
}

/* ---------- Abstände (statt Inline-Styles, CSP-freundlich) ---------- */
.mt-1 { margin-top: 16px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 32px; } .mt-4 { margin-top: 48px; }
.mb-1 { margin-bottom: 16px; } .mb-2 { margin-bottom: 24px; }
.btn-row.center { justify-content: center; }
.site-header.is-scrolled { box-shadow: 0 6px 20px -12px rgb(18 18 17 / 0.25); }

/* ---------- Korrekturen nach Sichtprüfung ---------- */
h1 + .lead, h2 + .lead, h2 + p, .section-head h2 + p { margin-top: 0.7em; }
.media-frame > picture, .page-hero-media > picture, .hero-photo > picture { display: block; width: 100%; height: 100%; }
.hero h1 { max-width: none; }
.hero h1 .h1-sub { max-width: 24ch; }
.split > div > h2 + .lead { margin-top: 0.7em; }
.h3-size { font-size: clamp(1.2rem, 1.1rem + 0.4vw, 1.4rem); font-stretch: 106%; letter-spacing: -0.01em; }
.card + .card { margin-top: 20px; }
.stack > .card + .card { margin-top: 20px; }
.card-link { display: flex; flex-direction: column; text-decoration: none; padding: 0; overflow: hidden; transition: border-color 160ms var(--ease-out), transform 200ms var(--ease-out); }
.card-link > :not(.card-media) { margin-inline: clamp(20px, 3vw, 26px); }
.card-link h2 { margin-top: 20px; margin-bottom: 8px; }
.card-link .link-arrow { margin-top: auto; margin-bottom: 24px; align-self: flex-start; }
.card-media { aspect-ratio: 3 / 2; overflow: hidden; }
.card-media picture, .card-media img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: hover) { .card-link:hover { border-color: var(--ink); } .card-link:hover .link-arrow .icon { transform: translateX(3px); } }
.facts-stack { grid-template-columns: 1fr 1fr !important; }
.planner-result { border-top: 1px solid var(--line); padding-top: 18px; display: grid; gap: 6px; }
.planner-label { margin: 0; font-weight: 700; color: var(--muted); font-size: 0.95rem; }
.planner-time { margin: 0; font-size: clamp(2rem, 1.5rem + 2vw, 2.8rem); font-weight: 800; font-stretch: 112%; letter-spacing: -0.02em; line-height: 1.1; }
.planner-result .btn { margin-top: 10px; }

.calc-meta:empty { display: none; }

.field { align-content: start; }

/* ---------- Cookie-Einwilligung ---------- */
.consent {
  position: fixed; z-index: 70; left: 12px; right: 12px; bottom: calc(84px + env(safe-area-inset-bottom));
  max-width: 560px; margin-inline: auto;
  background: #fff; color: var(--ink); border-radius: var(--radius-lg); box-shadow: var(--shadow-pop); border: 1px solid var(--line);
}
@media (min-width: 900px) { .consent { bottom: 24px; left: auto; right: 24px; margin: 0; } }
.consent-inner { padding: 20px; display: grid; gap: 10px; }
.consent-title { margin: 0; font-weight: 800; font-stretch: 106%; font-size: 1.08rem; line-height: 1.3; }
.consent-text { margin: 0; font-size: 0.92rem; color: var(--ink-2); line-height: 1.5; }
.consent-text a { font-weight: 600; }
.consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 6px; }
.consent-actions .btn { min-height: 48px; }
.link-btn { background: none; border: 0; padding: 6px 0; color: inherit; font: inherit; cursor: pointer; text-decoration: none; }
.link-btn:hover { color: var(--yellow); }
