/* =========================================================
   Waschbär Kahla – Vorschau
   Leitidee „Die Waschspur“: eine Diagonale (18°, „/“-Richtung),
   abgeleitet aus der Keilform der bestehenden Programmkarten.
   ========================================================= */

/* ---------- Schriften (lokal, OFL) ---------- */
@font-face { font-family: "Archivo"; font-weight: 500; font-style: normal; font-display: swap; src: url("assets/fonts/archivo-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 700; font-style: normal; font-display: swap; src: url("assets/fonts/archivo-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 800; font-style: normal; font-display: swap; src: url("assets/fonts/archivo-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 900; font-style: normal; font-display: swap; src: url("assets/fonts/archivo-latin-900-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 400; font-style: normal; font-display: swap; src: url("assets/fonts/source-sans-3-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 600; font-style: normal; font-display: swap; src: url("assets/fonts/source-sans-3-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 700; font-style: normal; font-display: swap; src: url("assets/fonts/source-sans-3-latin-700-normal.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
  --blue: #2B3990;
  --night: #1E2655;
  --night-deep: #151B40;
  --mid: #1B75BC;
  --yellow: #FFC20E;
  --yellow-hi: #FFD24D;
  --paper: #F5F7FC;
  --white: #FFFFFF;
  --ink: #1E2655;
  --ink-soft: #4A5280;
  --line: rgba(30, 38, 85, .14);

  --spur: 18deg;              /* Winkel der Waschspur */
  --spur-tan: .3249;          /* tan(18°) */

  --f-head: "Archivo", "Arial Narrow", Arial, sans-serif;
  --f-body: "Source Sans 3", "Segoe UI", Arial, sans-serif;

  --wrap: 1240px;
  --gutter: 16px;
  --focus: var(--mid);
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
@media (min-width: 768px) { :root { --gutter: 32px; } }

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
main:focus { outline: none; }
main section[tabindex="-1"]:focus-visible { outline-offset: -3px; }
.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;
}
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.muted { opacity: .72; font-weight: 400; }

/* Fokus: immer sichtbar, je nach Fläche Gelb oder Mittelblau */
.site-header, .hero, .sb, .contact-address, .contact-lines, .site-footer { --focus: var(--yellow); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--yellow); color: var(--night); padding: 12px 16px;
  font-family: var(--f-head); font-weight: 800; text-decoration: none;
  transition: transform .15s var(--ease-out);
}
.skip-link:focus { transform: translateY(72px); }

/* ---------- Typografie ---------- */
.eyebrow {
  font-family: var(--f-head); font-weight: 800; font-size: .8125rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--mid);
  display: flex; align-items: center; gap: 12px; margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 10px; background: var(--yellow);
  transform: skewX(calc(var(--spur) * -1)); flex: none;
}
.eyebrow--light { color: rgba(255,255,255,.8); }

.section-title {
  font-family: var(--f-head); font-weight: 900; text-transform: uppercase;
  font-size: clamp(2.5rem, 1.6rem + 4.2vw, 4.75rem);
  line-height: .92; letter-spacing: -.015em; color: var(--night);
}
.section-title--light { color: var(--white); }
.section-lead { margin-top: 20px; max-width: 34em; color: var(--ink-soft); font-size: 1.125rem; }

/* ---------- Buttons ---------- */
.btn {
  --btn-y: 0px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px;
  font-family: var(--f-head); font-weight: 800; font-size: .9375rem;
  letter-spacing: .05em; text-transform: uppercase; text-decoration: none;
  border-radius: 4px; border: 2px solid transparent; cursor: pointer;
  transform: translateY(var(--btn-y));
  transition: transform .14s var(--ease-out), background-color .14s, border-color .14s, box-shadow .14s;
  -webkit-tap-highlight-color: transparent;
  overflow: hidden; isolation: isolate;
}
.btn--primary { background: var(--yellow); color: var(--night); box-shadow: 0 2px 0 rgba(0,0,0,.18); }
/* kurze Spur, die beim Hover durch den Button läuft */
.btn--primary::after {
  content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: 0; width: 40%;
  background: rgba(255,255,255,.45);
  transform: translateX(-160%) skewX(calc(var(--spur) * -1));
  transition: transform .45s var(--ease-out);
}
.btn--primary:hover { --btn-y: -2px; background: var(--yellow-hi); box-shadow: 0 6px 16px rgba(10,14,40,.28); }
.btn--primary:hover::after { transform: translateX(320%) skewX(calc(var(--spur) * -1)); }
.btn--ghost { color: var(--white); border-color: rgba(255,255,255,.5); background: transparent; }
.btn--ghost:hover { --btn-y: -2px; border-color: var(--white); background: rgba(255,255,255,.1); }
.btn:active { --btn-y: 1px; box-shadow: none; transition-duration: .05s; }
.btn .ext { display: inline-block; transition: transform .14s var(--ease-out); }
.btn:hover .ext { transform: translate(2px, -2px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--night); color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header-inner { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; padding: 6px 0; }
.brand-logo { width: 48px; height: 48px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--f-head); font-weight: 900; text-transform: uppercase; font-size: 1.0625rem; letter-spacing: .01em; }
.brand-sub { font-size: .8125rem; color: rgba(255,255,255,.72); }

.main-nav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.main-nav ul { display: flex; flex-wrap: wrap; gap: 2px; }
.main-nav ul a {
  position: relative; display: flex; align-items: center; min-height: 44px; padding: 0 12px;
  font-family: var(--f-head); font-weight: 700; font-size: .9375rem; text-decoration: none;
  color: rgba(255,255,255,.88); transition: color .12s;
}
.main-nav ul a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 8px; height: 3px;
  background: var(--yellow); transform: scaleX(0) skewX(calc(var(--spur) * -1)); transform-origin: left;
  transition: transform .2s var(--ease-out);
}
.main-nav ul a:hover { color: var(--white); }
.main-nav ul a:hover::after, .main-nav ul a:focus-visible::after { transform: scaleX(1) skewX(calc(var(--spur) * -1)); }
.main-nav ul a:active { transform: translateY(1px); }
.nav-call {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px;
  font-family: var(--f-head); font-weight: 800; font-size: .9375rem; text-decoration: none;
  color: var(--night); background: var(--yellow); border-radius: 4px;
  transition: background-color .12s, transform .12s var(--ease-out);
}
.nav-call:hover { background: var(--yellow-hi); }
.nav-call:active { transform: translateY(1px); }

.menu-toggle { display: none; }

/* Mobile Navigation (nur mit JS; ohne JS bleibt die Navigation sichtbar) */
@media (max-width: 899px) {
  .main-nav { width: 100%; padding-bottom: 10px; }
  .js .main-nav { padding-bottom: 0; }
  .header-inner { flex-wrap: wrap; }
  .js .header-inner { flex-wrap: nowrap; }
  .js .menu-toggle {
    display: inline-flex; align-items: center; gap: 10px;
    min-height: 48px; min-width: 48px; padding: 0 14px;
    background: transparent; color: var(--white);
    border: 2px solid rgba(255,255,255,.35); border-radius: 4px;
    font: 800 .875rem/1 var(--f-head); letter-spacing: .06em; text-transform: uppercase; cursor: pointer;
    transition: border-color .12s, background-color .12s, transform .1s;
  }
  .js .menu-toggle:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
  .js .menu-toggle:active { transform: translateY(1px); }
  .menu-toggle-bars { position: relative; flex: none; width: 20px; height: 14px; }
  .menu-toggle-bars span {
    position: absolute; left: 0; width: 100%; height: 2.5px; background: currentColor; border-radius: 2px;
    transition: transform .2s var(--ease-out), opacity .15s;
  }
  .menu-toggle-bars span:nth-child(1) { top: 0; }
  .menu-toggle-bars span:nth-child(2) { top: 5.75px; }
  .menu-toggle-bars span:nth-child(3) { top: 11.5px; }
  .menu-toggle[aria-expanded="true"] .menu-toggle-bars span:nth-child(1) { transform: translateY(5.75px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle-bars span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] .menu-toggle-bars span:nth-child(3) { transform: translateY(-5.75px) rotate(-45deg); }

  .js .main-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 20px;
    background: var(--night); border-bottom: 4px solid var(--yellow);
    box-shadow: 0 18px 30px rgba(10,14,40,.35);
    opacity: 0; transform: translateY(-10px); visibility: hidden;
    transition: opacity .18s ease, transform .22s var(--ease-out), visibility 0s linear .22s;
  }
  .js .main-nav.is-open {
    opacity: 1; transform: none; visibility: visible;
    transition: opacity .18s ease, transform .22s var(--ease-out), visibility 0s;
  }
  .js .main-nav ul { flex-direction: column; gap: 0; }
  .js .main-nav ul a { min-height: 56px; font-size: 1.25rem; border-bottom: 1px solid rgba(255,255,255,.1); padding: 0 4px; }
  .js .main-nav ul a::after { left: 4px; bottom: 12px; right: auto; width: 40px; }
  .js .nav-call { margin-top: 16px; min-height: 54px; justify-content: center; font-size: 1.0625rem; }
}
@media (max-width: 380px) {
  .brand-sub { display: none; }
  .header-inner { gap: 8px; }
  .js .menu-toggle { flex: none; gap: 8px; padding-inline: 8px; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; background: var(--night); color: var(--white); overflow: hidden; }
.hero-media { position: relative; background: var(--blue); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }

/* Hauptanimation: Lichtkante entlang der Waschspur, läuft einmal */
.hero-sheen {
  position: absolute; top: -20%; bottom: -20%; left: 0; width: 38%;
  pointer-events: none;
  background: linear-gradient(90deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,.06) 30%,
    rgba(235,244,255,.34) 50%,
    rgba(210,232,255,.08) 66%,
    rgba(255,255,255,0) 100%);
  mix-blend-mode: screen;
  opacity: 0;
  transform: translateX(-120%) skewX(calc(var(--spur) * -1));
  animation: sheen 1.7s cubic-bezier(.55,.08,.25,1) .35s 1 both;
  will-change: transform, opacity;
}
.hero-sheen::after { /* schmaler, heller Kern – die eigentliche „Kante“ */
  content: ""; position: absolute; top: 0; bottom: 0; left: 49%; width: 3px;
  background: rgba(255,255,255,.75); mix-blend-mode: overlay;
}
@keyframes sheen {
  0%   { opacity: 0; transform: translateX(-120%) skewX(calc(var(--spur) * -1)); }
  14%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { opacity: 0; transform: translateX(300%) skewX(calc(var(--spur) * -1)); }
}

.hero-inner { position: relative; z-index: 2; }
.hero-title {
  font-family: var(--f-head); font-weight: 900; text-transform: uppercase;
  font-size: clamp(2.6rem, 1.5rem + 5.2vw, 5.4rem); line-height: .9; letter-spacing: -.02em;
}
.hero-title span { color: var(--yellow); }
.hero-lead { margin-top: 20px; font-size: 1.1875rem; color: rgba(255,255,255,.86); max-width: 30em; }
.hero-lead strong { color: var(--white); font-weight: 700; white-space: nowrap; }

.hours-strip { display: grid; gap: 0; margin-top: 26px; border-top: 1px solid rgba(255,255,255,.16); }
.hours-strip > div {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 4px 16px;
  padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.16);
}
.hours-strip dt { font-family: var(--f-head); font-weight: 800; text-transform: uppercase; font-size: .875rem; letter-spacing: .06em; display: flex; align-items: center; gap: 10px; }
.hours-strip dt::before { content: ""; width: 10px; height: 10px; background: var(--yellow); transform: skewX(calc(var(--spur) * -1)); flex: none; }
.hours-strip dd { font-weight: 600; text-align: right; }
@media (max-width: 599px) {
  .hours-strip > div { grid-template-columns: 1fr; }
  .hours-strip dd { text-align: left; padding-left: 20px; }
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Mobil / Tablet: Foto oben mit diagonaler Unterkante */
@media (max-width: 899px) {
  .hero-media {
    height: clamp(250px, 62vw, 470px);
    clip-path: polygon(0 0, 100% 0, 100% 84%, 0 100%);
  }
  .hero-media img { object-position: 32% 55%; }
  .hero::before { /* gelbe Spurlinie entlang der Bildkante */
    content: ""; position: absolute; left: 0; right: 0; z-index: 1;
    top: clamp(250px, 62vw, 470px); height: 22px; margin-top: -22px;
    background: var(--yellow);
    clip-path: polygon(0 100%, 100% 0, 100% 6px, 0 calc(100% + 6px));
  }
  .hero-inner { padding-top: 22px; padding-bottom: 44px; }
  .hero-copy { display: flex; flex-direction: column; }
  .hero-actions { order: 3; margin-top: 24px; }
  .hours-strip { order: 4; }
  .hero-actions .btn { flex: 1 1 220px; }
}

/* Desktop: Foto rechts, linke Bildkante als Waschspur */
@media (min-width: 900px) {
  .hero { min-height: clamp(600px, calc(100vh - 68px), 780px); display: flex; align-items: center; }
  .hero-media, .hero::before {
    position: absolute; top: 0; bottom: 0; right: 0; width: 52%;
  }
  .hero-media { clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%); }
  .hero-media img { object-position: 22% 50%; }
  .hero::before {
    content: ""; z-index: 1; background: var(--yellow);
    right: auto; left: calc(48% - 14px);
    clip-path: polygon(30% 0, calc(30% + 8px) 0, 8px 100%, 0 100%);
    width: 52%;
  }
  .hero-inner { padding-block: 72px; }
  .hero-copy { max-width: min(560px, calc(48vw - max(var(--gutter), (100vw - var(--wrap)) / 2 + var(--gutter)) - 44px)); }
  .hero-title { font-size: clamp(3rem, 1rem + 4.4vw, 5.2rem); }
  .hero-sheen { width: 30%; }
}

/* =========================================================
   PREISE
   ========================================================= */
.prices { padding: clamp(64px, 9vw, 120px) 0; background: var(--paper); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
@media (min-width: 1100px) {
  .prices .section-head { max-width: none; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); column-gap: 64px; align-items: end; }
  .prices .section-head .eyebrow { grid-column: 1 / -1; }
  .prices .section-head .section-lead { margin-top: 0; padding-bottom: 6px; }
}

/* Waschspuren zeigen die Programmstufe. */
.pips {
  --n: 0; --fill: var(--mid); --empty: rgba(30,38,85,.16);
  --pip-width: 8px; --pip-step: 12px;
  display: inline-block; width: calc(4 * var(--pip-step) + var(--pip-width)); height: 10px; flex: none;
  background: linear-gradient(90deg, var(--fill) calc(var(--n) * var(--pip-step)), var(--empty) 0);
  -webkit-mask: repeating-linear-gradient(90deg, #000 0 var(--pip-width), transparent var(--pip-width) var(--pip-step));
          mask: repeating-linear-gradient(90deg, #000 0 var(--pip-width), transparent var(--pip-width) var(--pip-step));
  transform: skewX(calc(var(--spur) * -1));
}
.pips[data-n="1"] { --n: 1; } .pips[data-n="2"] { --n: 2; } .pips[data-n="3"] { --n: 3; }
.pips[data-n="4"] { --n: 4; } .pips[data-n="5"] { --n: 5; }
.pips--yellow { --fill: var(--yellow); --empty: rgba(255,255,255,.28); }

/* ---- Programmfinder ---- */
.finder {
  display: grid; gap: 28px; margin-bottom: clamp(40px, 6vw, 64px);
  background: var(--white); border-radius: 6px; padding: clamp(18px, 3vw, 36px);
  box-shadow: 0 1px 0 var(--line), 0 18px 40px -24px rgba(30,38,85,.35);
}
.finder[hidden] { display: none; }
.finder-controls { container-type: inline-size; }
@media (min-width: 900px) { .finder { grid-template-columns: minmax(0, 1fr) 380px; align-items: center; gap: 48px; } }

.levels { border: 0; margin: 0; padding: 0; min-width: 0; }
.finder-label { padding: 0; margin-bottom: 12px; font-family: var(--f-head); font-weight: 800; font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.levels-track {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px;
  background: var(--paper); padding: 4px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--line);
}
.level { position: relative; display: block; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.level input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.level > span {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  min-height: 64px; padding: 8px 2px; border-radius: 4px; text-align: center;
  transition: transform .1s var(--ease-out);
}
.level b { font-family: var(--f-head); font-weight: 800; font-size: clamp(.8125rem, .7rem + .5vw, 1.0625rem); letter-spacing: -.005em; line-height: 1.05; }
.level .pips { --pip-width: 6px; --pip-step: 9px; height: 8px; }
@container (max-width: 390px) {
  .levels-track { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .level { grid-column: span 2; }
  .level:nth-child(n+4) { grid-column: span 3; }
}
@media (hover: hover) { .level:hover input:not(:checked) + span { background: rgba(27,117,188,.1); } }
.level:active > span { transform: scale(.97); }
.level input:checked + span { background: var(--yellow); color: var(--night); box-shadow: 0 2px 0 rgba(0,0,0,.12); transition: none; }
.level input:checked + span .pips { --fill: var(--night); --empty: rgba(30,38,85,.22); }
.level input:focus-visible + span { outline: 3px solid var(--mid); outline-offset: 2px; }

.ub-row { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
.switch { display: inline-flex; align-items: center; gap: 14px; min-height: 48px; cursor: pointer; position: relative; -webkit-tap-highlight-color: transparent; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch-track {
  position: relative; width: 56px; height: 32px; border-radius: 16px; flex: none;
  background: rgba(30,38,85,.22); transition: background-color .15s;
}
.switch-thumb {
  position: absolute; top: 4px; left: 4px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--white); box-shadow: 0 1px 3px rgba(0,0,0,.3);
  transition: transform .18s var(--ease-out);
}
.switch input:checked + .switch-track { background: var(--mid); }
.switch input:checked + .switch-track .switch-thumb { transform: translateX(24px); }
.switch input:focus-visible + .switch-track { outline: 3px solid var(--mid); outline-offset: 3px; }
.switch:hover .switch-track { box-shadow: 0 0 0 4px rgba(27,117,188,.14); }
.switch-text { font-family: var(--f-head); font-weight: 700; font-size: 1.0625rem; }
.switch input:disabled ~ * { opacity: .5; }
.switch:has(input:disabled) { cursor: not-allowed; }
.ub-hint { font-size: .9375rem; color: var(--ink-soft); flex: 1 1 260px; }
.ub-hint:empty { display: none; }
.finder-intro { margin-bottom: 24px; }
.finder-title { font-family: var(--f-head); font-weight: 900; text-transform: uppercase; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1; }
.finder-intro p { margin-top: 8px; color: var(--ink-soft); }

/* ---- Programmkarte (Weiterentwicklung der bestehenden Karten) ---- */
.program-card { border-radius: 6px; overflow: hidden; box-shadow: 0 16px 34px -18px rgba(30,38,85,.55); max-width: 420px; width: 100%; justify-self: center; }
.program-card-face {
  position: relative; background: var(--yellow); color: var(--blue);
  height: 300px; padding: 22px 22px 0;
  display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 18px;
}
.program-card-label { grid-column: 1 / -1; font-family: var(--f-head); font-weight: 800; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 4px; }
.program-card-no {
  font-family: var(--f-head); font-weight: 900; font-size: 6rem; line-height: .82;
  min-width: 1ch; font-variant-numeric: tabular-nums; display: inline-block;
}
.program-card-list { padding-top: 4px; font-family: var(--f-head); font-weight: 800; text-transform: uppercase; font-size: .8125rem; letter-spacing: .04em; line-height: 1.35; }
.program-card-list li { position: relative; padding-inline-start: 15px; overflow-wrap: anywhere; }
.program-card-list li::before { content: ""; position: absolute; inset-inline-start: 0; top: .38em; width: 7px; height: 7px; background: currentColor; transform: skewX(calc(var(--spur) * -1)); }
.program-card-list li.is-new { color: var(--night); }
.program-card-list li.is-new::after { content: "neu"; display: inline-block; margin-left: 5px; padding: 1px 5px; font-size: .625rem; letter-spacing: .1em; background: var(--night); color: var(--yellow); border-radius: 2px; }
.program-card-wedge {
  position: absolute; right: 0; bottom: 0; width: 75%; height: 55%;
  background: var(--blue);
  clip-path: polygon(100% 0, 100% 100%, 0 100%, 0 calc(100% - 70px));
}
.program-card-price {
  position: absolute; right: 20px; bottom: 14px; color: var(--white);
  font-family: var(--f-head); font-weight: 900; font-size: 2.75rem; line-height: 1;
  font-variant-numeric: tabular-nums; letter-spacing: -.02em; white-space: nowrap;
}
.program-card-price [data-price] { display: inline-block; min-width: 4.4ch; text-align: right; }
.program-card-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--mid); color: var(--white); padding: 14px 22px;
  font-family: var(--f-head); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .9375rem;
}

@media (max-width: 479px) {
  .program-card-face { padding: 18px 18px 0; column-gap: 14px; height: 290px; }
  .program-card-no { font-size: 4.5rem; }
  .program-card-list { font-size: .75rem; }
  .program-card-price { font-size: 2.375rem; }
}
@media (max-width: 380px) {
  .program-card-face { align-items: baseline; gap: 8px 12px; min-height: 278px; height: auto; padding-bottom: 90px; }
  .program-card-label { grid-column: auto; }
  .program-card-no { font-size: 3.5rem; }
  .program-card-list { grid-column: 1 / -1; }
  .program-card-wedge { height: 90px; }
}

/* ---- Preisleiter (alle 9 Programme) ---- */
.ladder-wrap { position: relative; }
.ladder { width: 100%; border-collapse: collapse; background: var(--white); border-radius: 6px; overflow: hidden; box-shadow: 0 1px 0 var(--line); }
.ladder thead th {
  text-align: left; font-family: var(--f-head); font-weight: 800; font-size: .75rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-soft); padding: 18px 20px; background: var(--white);
  border-bottom: 2px solid var(--night);
}
.ladder tbody tr { position: relative; border-top: 1px solid var(--line); transition: background-color .12s; }
.ladder tbody tr:first-child { border-top: 0; }
.ladder tbody th, .ladder tbody td { padding: 20px; vertical-align: middle; text-align: left; }
.ladder tbody th { width: 170px; }
.lv-name { display: block; font-family: var(--f-head); font-weight: 900; text-transform: uppercase; font-size: 1.375rem; letter-spacing: -.005em; margin-bottom: 8px; }

.lv-services ul { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.lv-services li { font-size: 1rem; color: var(--ink-soft); }
.lv-services li { position: relative; }
.lv-services li { padding-left: 13px; }
.lv-services li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; background: rgba(30,38,85,.3); transform: skewX(calc(var(--spur) * -1)); }
.lv-services li.new::before { background: var(--night); }
.lv-services li.new { color: var(--night); font-weight: 700; }
.lv-services .new-service { background: linear-gradient(transparent 58%, rgba(255,194,14,.75) 58%, rgba(255,194,14,.75) 92%, transparent 92%); }
.lv-services .swap { font-weight: 400; color: var(--ink-soft); font-size: .875rem; }

.lv-price { white-space: nowrap; width: 1%; }
.lv-price .no {
  display: inline-grid; place-items: center; width: 36px; height: 36px; margin-right: 12px;
  font-family: var(--f-head); font-weight: 900; font-size: 1.25rem; color: var(--night);
  background: var(--yellow); vertical-align: middle;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  border-radius: 3px;
}
.lv-price--ub .no { background: var(--night); color: var(--yellow); }
.lv-price .eur {
  font-family: var(--f-head); font-weight: 900; font-size: 1.75rem; letter-spacing: -.02em;
  font-variant-numeric: tabular-nums; vertical-align: middle; color: var(--night);
}
.lv-price .tag {
  display: inline-block; margin-left: 10px; vertical-align: middle;
  font-family: var(--f-head); font-weight: 800; font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--night); background: var(--yellow); padding: 4px 8px 3px; border-radius: 2px;
}
.lv-price--none .none { font-size: .9375rem; color: var(--ink-soft); font-style: italic; }

/* aktive Zeile: Waschspur-Markierung links */
.ladder tbody th::before {
  content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 8px;
  background: var(--yellow); transform: translateX(-12px) skewX(calc(var(--spur) * -1)); opacity: 0;
}
.ladder tbody th { position: relative; }
.ladder tbody tr.is-active { background: #FFF8E1; }
.ladder tbody tr.is-active th::before { opacity: 1; transform: translateX(0) skewX(calc(var(--spur) * -1)); }
.lv-price.is-pick .eur { box-shadow: inset 0 -4px 0 var(--yellow); }
.js .ladder tbody tr { cursor: pointer; }
.js .ladder tbody tr:hover:not(.is-active) { background: rgba(27,117,188,.05); }

.ladder-note { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: .9375rem; color: var(--ink-soft); }
.new-key { width: 22px; height: 10px; background: rgba(255,194,14,.75); transform: skewX(calc(var(--spur) * -1)); flex: none; }

@media (max-width: 899px) {
  .ladder thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ladder, .ladder tbody { display: block; background: transparent; box-shadow: none; }
  .ladder tbody tr {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); background: var(--white);
    border: 0; border-radius: 6px; margin-bottom: 12px; box-shadow: 0 1px 0 var(--line);
    overflow: hidden;
  }
  .ladder tbody th, .ladder tbody td { display: block; padding: 14px 16px; width: auto; }
  .ladder tbody th { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; padding-bottom: 4px; }
  .lv-name { margin: 0; font-size: 1.375rem; }
  .lv-services { grid-column: 1 / -1; padding-top: 4px !important; }
  .lv-price { border-top: 1px solid var(--line); white-space: normal; }
  .lv-price + .lv-price { border-left: 1px solid var(--line); }
  .lv-price::before {
    content: attr(data-label); display: block; margin-bottom: 8px;
    hyphens: auto; overflow-wrap: anywhere;
    font-family: var(--f-head); font-weight: 800; font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft);
  }
  .lv-price .no { width: 32px; height: 32px; font-size: 1.125rem; margin-right: 8px; }
  .lv-price .eur { font-size: 1.5rem; }
  .lv-price .tag { display: table; margin: 8px 0 0; }
  .ladder tbody th::before { top: 0; bottom: auto; height: 100%; left: -2px; }
  .ladder tbody tr.is-active { box-shadow: 0 0 0 2px var(--yellow); background: #FFF8E1; }
}
@media (max-width: 380px) {
  .ladder tbody .lv-price { padding-inline: 12px; }
  .lv-price::before { min-height: 2lh; font-size: .75rem; letter-spacing: normal; text-transform: none; hyphens: manual; }
  .lv-price .no { width: 28px; height: 28px; margin-right: 6px; }
  .lv-price .eur { font-size: 1.25rem; }
}

/* =========================================================
   SB-WASCHPLÄTZE
   ========================================================= */
.sb { position: relative; background: var(--night); color: var(--white); overflow: hidden; }
.sb-media { background: var(--blue); }
.sb-media img { width: 100%; height: 100%; object-fit: cover; }
.sb-copy { padding-block: 44px clamp(64px, 8vw, 110px); }
.sb-lead { margin-top: 20px; color: rgba(255,255,255,.84); font-size: 1.125rem; max-width: 34em; }

.sb-list { margin-top: 32px; border-top: 1px solid rgba(255,255,255,.18); }
.sb-list li {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 16px; align-items: baseline;
  padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.18);
}
.sb-item { font-family: var(--f-head); font-weight: 800; font-size: 1.25rem; }
.sb-detail { grid-column: 1; grid-row: 2; color: rgba(255,255,255,.7); font-size: 1rem; }
.sb-unit { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: .875rem; color: rgba(255,255,255,.75); text-align: right; font-weight: 600; }
.sb-note { margin-top: 18px; font-size: .9375rem; color: rgba(255,255,255,.7); }

@media (max-width: 899px) {
  .sb-media { aspect-ratio: 800 / 535; clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%); }
}
@media (min-width: 900px) {
  .sb { display: flex; min-height: 640px; }
  .sb-media { position: absolute; top: 0; bottom: 0; left: 0; width: 50%; clip-path: polygon(0 0, 100% 0, 76% 100%, 0 100%); }
  .sb-media img { object-position: 40% 50%; }
  .sb-inner { display: flex; justify-content: flex-end; }
  .sb-copy { width: 50%; padding: clamp(72px, 9vw, 120px) 0 clamp(72px, 9vw, 120px) 32px; }
}

/* =========================================================
   REIFENSERVICE
   ========================================================= */
.tires { background: var(--white); padding: clamp(64px, 9vw, 120px) 0 clamp(56px, 7vw, 96px); }
.tires-inner { display: grid; gap: 40px; }
@media (min-width: 900px) { .tires-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: start; } }
.section-title .hl { position: relative; z-index: 0; white-space: nowrap; }
.section-title .hl::after {
  content: ""; position: absolute; z-index: -1; left: -.08em; right: -.12em; bottom: .02em; height: .34em;
  background: var(--yellow); transform: skewX(calc(var(--spur) * -1));
}
.btn--call { margin-top: 28px; }
@media (max-width: 599px) { .btn--call { width: 100%; font-size: .875rem; padding: 0 16px; } }
.call-sub { margin-top: 12px; font-size: .9375rem; color: var(--ink-soft); }

.tires-list { border-top: 2px solid var(--night); counter-reset: none; }
.tires-list li {
  display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 2px 12px; align-items: baseline;
  padding: 20px 0; border-bottom: 1px solid var(--line);
}
.t-no { grid-row: 1 / span 2; font-family: var(--f-head); font-weight: 900; font-size: 1.125rem; color: var(--mid); font-variant-numeric: tabular-nums; }
.t-name { font-family: var(--f-head); font-weight: 800; font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); line-height: 1.15; }
.t-detail { color: var(--ink-soft); font-size: 1rem; }

/* =========================================================
   WASCHSPUR-TRENNER
   ========================================================= */
.spur-divider { position: relative; height: clamp(56px, 8vw, 120px); background: var(--white); overflow: hidden; }
.spur-divider span { position: absolute; inset: 0; }
.spur-b { background: var(--night); clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.spur-a {
  background: var(--yellow);
  clip-path: polygon(0 calc(100% - 12px), 100% -12px, 100% 0, 0 100%);
  transform-origin: left center;
}
.js .spur-divider.will-draw .spur-a { transform: scaleX(0); }
.js .spur-divider.is-drawn .spur-a { transform: scaleX(1); transition: transform .9s var(--ease-out); }

/* =========================================================
   KONTAKT
   ========================================================= */
.contact { background: var(--night); color: var(--white); padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 9vw, 120px); }
.contact-inner { display: grid; gap: 40px; }
@media (min-width: 900px) { .contact-inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 64px; align-items: start; } }
address { font-style: normal; display: flex; flex-direction: column; }
.addr-street { font-family: var(--f-head); font-weight: 900; text-transform: uppercase; font-size: clamp(2.3rem, 1.3rem + 3.6vw, 4.25rem); line-height: .92; letter-spacing: -.02em; }
.addr-city { font-family: var(--f-head); font-weight: 900; text-transform: uppercase; font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.5rem); line-height: 1.05; color: var(--yellow); margin-top: 6px; }
.addr-note { margin-top: 12px; color: rgba(255,255,255,.75); }
.contact-map { margin-top: 24px; background: var(--paper); color: var(--ink); border-radius: 6px; }
.contact-map-viewport { overflow: hidden; border-radius: 6px 6px 0 0; }
.contact-map-layer { transform-origin: top left; }
.contact-map-viewport.is-interactive img { pointer-events: none; }
.contact-map-viewport.is-pannable { cursor: grab; user-select: none; }
.contact-map-viewport.is-pannable.is-dragging { cursor: grabbing; }
.contact-map img { width: 100%; height: auto; }
.contact-map img[hidden] { display: none; }
.contact-map figcaption {
  display: flex; align-items: center; flex-wrap: wrap; gap: 4px 12px;
  padding-inline: 12px; font-size: .875rem; --focus: var(--mid);
}
.contact-map-zoom:not([hidden]) { display: flex; flex-wrap: wrap; gap: 8px; padding-block: 6px; }
.contact-map-zoom button {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding-inline: 10px;
  border: 1px solid var(--line); border-radius: 4px; background: var(--white); color: var(--ink);
  font: inherit; font-weight: 700; cursor: pointer;
}
.contact-map-zoom button[aria-pressed="true"] { background: var(--night); color: var(--white); }
.contact-map-zoom button span { font-size: 1.125rem; line-height: 1; }
.contact-map-gestures { flex: 0 0 100%; }
.contact-map-gesture { display: none; }
@media (any-pointer: coarse) {
  .contact-map-gesture--touch { display: block; padding-bottom: 8px; }
}
@media (any-pointer: fine) {
  .contact-map-gesture--mouse { display: block; padding-bottom: 8px; }
}
.contact-map a { display: inline-flex; align-items: center; min-height: 44px; margin-inline-start: auto; text-underline-offset: 2px; }
.contact-actions { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 12px; }
.contact-lines { margin-top: 32px; border-top: 1px solid rgba(255,255,255,.18); }
.contact-lines li { display: grid; grid-template-columns: 88px minmax(0, 1fr); align-items: center; border-bottom: 1px solid rgba(255,255,255,.18); }
.cl-label { font-family: var(--f-head); font-weight: 800; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.65); }
.contact-lines a {
  display: flex; align-items: center; min-height: 56px; font-family: var(--f-head); font-weight: 800;
  font-size: clamp(1.125rem, 1rem + .6vw, 1.375rem); text-decoration: none; overflow-wrap: anywhere;
  transition: color .12s, transform .12s var(--ease-out);
}
.contact-lines a:hover { color: var(--yellow); transform: translateX(4px); }
.contact-lines a:active { transform: translateX(4px) translateY(1px); }

.contact-hours { background: var(--paper); color: var(--ink); border-radius: 6px; padding: clamp(22px, 3vw, 36px); position: relative; overflow: hidden; }
.contact-hours::before { /* Spur-Ecke */
  content: ""; position: absolute; right: 0; top: 0; width: 72px; height: 72px; background: var(--yellow);
  clip-path: polygon(100% 0, 100% 100%, 30% 0);
}
.hours-title { font-family: var(--f-head); font-weight: 900; text-transform: uppercase; font-size: 1.75rem; letter-spacing: -.01em; margin-bottom: 14px; }
.hours-table > div { padding: 18px 0; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.hours-table dt { font-family: var(--f-head); font-weight: 800; font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mid); }
.hours-table dd { font-family: var(--f-head); font-weight: 700; font-size: 1.375rem; line-height: 1.2; }
.hours-table dd strong { font-weight: 900; }
.dd-sub { display: block; margin-top: 4px; font-family: var(--f-body); font-weight: 600; font-size: .9375rem; color: var(--ink-soft); }
.dd-sub a { color: var(--blue); text-underline-offset: 3px; text-decoration-thickness: 2px; display: inline-flex; align-items: center; min-height: 44px; }
.dd-sub a:hover { color: var(--mid); }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--night-deep); color: rgba(255,255,255,.8); padding: 40px 0 48px; font-size: .9375rem; }
.footer-inner { display: grid; gap: 24px; align-items: center; }
@media (min-width: 768px) { .footer-inner { grid-template-columns: 1fr auto auto; gap: 40px; } }
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-brand img { width: 64px; height: 64px; }
.footer-nav { display: flex; gap: 8px; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; text-underline-offset: 4px; }
.footer-nav a:hover { color: var(--yellow); }
.footer-copy { color: rgba(255,255,255,.55); }

/* =========================================================
   Reduzierte Bewegung: komplett statisch, Zustände sofort
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero-sheen { display: none; }
  .js .spur-divider.will-draw .spur-a { transform: none; }
  .btn--primary::after { display: none; }
}
