/* ==========================================================================
   Komponenten
   ========================================================================== */

/* ---------- Masthead: Countdown-Leiste + Header ---------- */
.masthead {
  --mh-shift: 0px;
  position: fixed;
  inset: 0 0 auto;
  z-index: var(--z-header);
  transform: translate3d(0, var(--mh-shift), 0);
  transition: transform var(--dur-m) var(--ease-out);
}
.cd-closed .masthead, .cd-dismissed .masthead { --mh-shift: calc(-1 * var(--countdown-h)); }
.cd-hidden .masthead, .cd-after .masthead { --mh-shift: 0px; }
.masthead.is-hidden { --mh-shift: -100%; }
.menu-open .masthead { --mh-shift: calc(-1 * var(--countdown-h)); }

.cd-bar {
  height: var(--countdown-h);
  background: var(--ink);
  color: var(--on-dark);
  font-size: var(--step--1);
  border-bottom: 1px solid hsl(0 0% 100% / 0.08);
}
.cd-closed .cd-bar, .cd-dismissed .cd-bar { visibility: hidden; transition: visibility 0s var(--dur-m); }
.cd-bar__inner {
  display: flex;
  align-items: center;
  height: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
  gap: var(--s-3);
}
.cd-bar__link {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-3);
  min-height: 44px;
  min-width: 0;
  text-decoration: none;
  white-space: nowrap;
}
.cd-bar__flag {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: var(--orange-on-dark); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
}
.cd-bar__lead, .cd-bar__text { color: var(--on-dark-muted); }
.cd-bar__text { overflow: hidden; text-overflow: ellipsis; }
.cd-bar__text--strong { color: var(--on-dark); font-weight: 650; }
.cd-bar__text .ph { font-size: 0.78em; }
.cd-bar__more {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 650;
  color: var(--on-dark);
}
.cd-bar__more .icon { transition: transform var(--dur-s) var(--ease-out); }
.cd-bar__link:hover .cd-bar__more .icon { transform: translateX(3px); }
.cd-bar__close {
  flex: none;
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border: 0; border-radius: var(--r-s);
  background: transparent; color: var(--on-dark-muted);
  transition: background-color var(--dur-xs), color var(--dur-xs);
}
.cd-bar__close:hover { background: hsl(0 0% 100% / 0.08); color: var(--on-dark); }
.cd-bar__close:active { transform: scale(0.94); }

/* Countdown-Ziffern */
.cd { display: inline-flex; align-items: baseline; gap: 6px; font-variant-numeric: tabular-nums; }
.cd-group { display: inline-flex; align-items: baseline; gap: 4px; }
.cd-num { display: inline-flex; color: var(--orange-on-dark); font-family: var(--font-display); font-weight: 750; font-stretch: 100%; }
.cd-digit {
  position: relative;
  display: inline-block;
  height: 1.15em;
  line-height: 1.15;
  overflow: hidden;
  vertical-align: bottom;
}
.cd-digit > span { display: block; }
.cd-digit__next { position: absolute; inset: 0; }
.cd-unit { font-size: 0.78em; color: var(--on-dark-muted); }
.cd-unit--short, .cd-sep { display: none; }
.cd--bar .cd-group + .cd-group { margin-left: 4px; }

@media (max-width: 767px) {
  .cd-bar__lead, .cd-bar__text, .cd-bar__more span:not(.sr-only) { display: none; }
  .cd-bar__more { font-size: 0; }
  .cd-bar__more .icon { width: 18px; height: 18px; }
  .cd--bar .cd-unit { display: none; }
  .cd--bar .cd-unit--short { display: inline; font-size: 0.85em; }
  .cd--bar .cd-sep { display: inline; color: var(--on-dark-muted); }
  .cd--bar { gap: 2px; }
  .cd--bar .cd-group + .cd-group { margin-left: 0; }
  .cd--bar .cd-sep--dot { margin-inline: 6px; }
}
@media (min-width: 768px) and (max-width: 1099px) {
  .cd-bar__text { max-width: 26ch; }
}

/* Header */
.site-header {
  height: var(--masthead-h);
  color: var(--ink);
  transition: background-color var(--dur-s) var(--ease-out), color var(--dur-s), box-shadow var(--dur-s);
}
.site-header.is-on-dark { color: var(--on-dark); }
.site-header.is-solid, .site-header:not(.is-on-dark) {
  color: var(--ink);
  background: hsl(var(--paper-hsl) / 0.86);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 1px 0 var(--color-border);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  height: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Marke: Logo-Schriftzug (Bild) */
.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  flex: none;
  border-radius: var(--r-s);
}

.nav { margin-left: auto; display: none; }
.nav__list { display: flex; gap: clamp(var(--s-3), 1.4vw, var(--s-5)); }
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 2px;
  font-weight: 600;
  font-size: 1.0625rem;
  text-decoration: none;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 8px;
  height: 2px;
  border-radius: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--dur-s) var(--ease-out);
}
.nav__link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__link[aria-current="page"]::after { transform: scaleX(1); animation: nav-underline var(--dur-m) var(--ease-out) both; }
@keyframes nav-underline { from { transform: scaleX(0); } }

.site-header__actions { display: flex; align-items: center; gap: var(--s-3); margin-left: auto; }
.nav + .site-header__actions { margin-left: var(--s-4); }
.header-phone {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding-inline: var(--s-2);
  font-family: var(--font-display);
  font-weight: 700;
  font-stretch: 95%;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  white-space: nowrap;
  border-radius: var(--r-s);
}
.header-phone:hover .icon { color: var(--orange); }
.site-header .header-cta { display: none; }

.menu-toggle {
  display: grid; place-items: center;
  width: 48px; height: 48px;
  margin-right: -8px;
  border: 0; border-radius: var(--r-s);
  background: transparent; color: inherit;
}
.menu-toggle:active { transform: scale(0.94); }
.menu-toggle__bars { position: relative; width: 26px; height: 12px; }
.menu-toggle__bars i {
  position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px;
  background: currentColor;
  transition: transform var(--dur-s) var(--ease-out), top var(--dur-s) var(--ease-out);
}
.menu-toggle__bars i:first-child { top: 0; }
.menu-toggle__bars i:last-child { top: 10px; right: 6px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars i:first-child { top: 5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars i:last-child { top: 5px; right: 0; transform: rotate(-45deg); }

@media (min-width: 768px) {
  .site-header .header-cta, .header-phone { display: inline-flex; }
}
@media (min-width: 1200px) {
  .nav { display: block; }
  .menu-toggle { display: none; }
  .site-header__actions { margin-left: 0; }
}
@media (min-width: 1200px) and (max-width: 1359px) {
  .header-phone__num { display: none; }
}

/* Mobiles Vollbild-Menü: öffnet als Kreis vom Menü-Button */
.menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  display: block;
  overflow-y: auto;
  background: var(--ink);
  color: var(--on-dark);
  padding: calc(var(--masthead-h) + var(--s-5)) var(--gutter) calc(var(--s-7) + env(safe-area-inset-bottom));
  clip-path: circle(0 at var(--mx, 92%) var(--my, 40px));
  overscroll-behavior: contain;
  transition: clip-path 520ms var(--ease-in-out);
}
.menu.is-open { clip-path: circle(150% at var(--mx, 92%) var(--my, 40px)); }
.menu-open .site-header { color: var(--on-dark); background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.menu-open .masthead { z-index: calc(var(--z-menu) + 1); }
.menu-open .header-cta, .menu-open .header-phone { visibility: hidden; }
.menu__inner { display: grid; gap: var(--s-7); max-width: 560px; }
.menu__list li { opacity: 0; transform: translateY(16px); transition: opacity var(--dur-s) var(--ease-out), transform var(--dur-m) var(--ease-out); transition-delay: calc(var(--i) * 50ms + 120ms); }
.menu.is-open .menu__list li, .menu.is-open .menu__contact { opacity: 1; transform: none; }
.menu__list a {
  display: block;
  padding-block: 6px;
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-weight: 750;
  font-stretch: 105%;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.menu__list a[aria-current="page"] { color: var(--orange-on-dark); }
.menu__contact { display: grid; gap: var(--s-3); opacity: 0; transform: translateY(16px); transition: opacity var(--dur-s) var(--ease-out), transform var(--dur-m) var(--ease-out); transition-delay: 420ms; }
.menu__address { color: var(--on-dark-muted); margin-top: var(--s-2); }

/* Scroll-Fortschritt: feine Leitung am oberen Rand */
.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  height: 2px;
  z-index: calc(var(--z-header) + 1);
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--blue-bright), var(--orange));
  transform: scaleX(var(--progress, 0));
  transform-origin: left;
}

/* ---------- Buttons & Links ---------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: currentColor;
  --btn-border: transparent;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1.5px solid var(--btn-border);
  border-radius: var(--r-s);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  font-stretch: 100%;
  letter-spacing: -0.005em;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: background-color var(--dur-xs) var(--ease-out), border-color var(--dur-xs), color var(--dur-xs), transform var(--dur-xs) var(--ease-out), box-shadow var(--dur-s) var(--ease-out);
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
}
.btn:active { transform: scale(0.97); }
.btn .icon { flex: none; }
.btn__arrow { transition: transform var(--dur-s) var(--ease-out); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn--primary { --btn-bg: var(--orange); --btn-fg: var(--ink); box-shadow: 0 1px 0 hsl(0 0% 100% / 0.25) inset, 0 8px 20px -10px hsl(var(--orange-hsl) / 0.8); }
.btn--primary:hover { --btn-bg: var(--orange-hover); }
.btn--ghost { --btn-border: hsl(var(--ink-hsl) / 0.28); --btn-fg: var(--ink); }
.btn--ghost:hover { --btn-border: var(--ink); --btn-bg: hsl(var(--ink-hsl) / 0.04); }
.btn--ghost-light { --btn-border: hsl(0 0% 100% / 0.45); --btn-fg: var(--on-dark); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); --btn-bg: hsl(0 0% 100% / 0.06); }
.btn--ghost-light:hover { --btn-border: hsl(0 0% 100% / 0.85); --btn-bg: hsl(0 0% 100% / 0.12); }
.btn--sm { min-height: 44px; padding-inline: 16px; font-size: 1rem; }
.btn--lg { min-height: 56px; padding-inline: 26px; font-size: 1.125rem; }
.btn--block { width: 100%; }
.btn.is-disabled, .btn:disabled { opacity: 0.6; cursor: not-allowed; box-shadow: none; }
.btn.is-disabled:active, .btn:disabled:active { transform: none; }
.ph--on-btn { margin-left: 4px; }

/* Hitze-Schimmer: läuft einmal über den Primär-Button, wenn er sichtbar wird */
.btn[data-shimmer]::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, transparent 30%, hsl(30 100% 70% / 0.55) 50%, transparent 70%);
  transform: translateX(-120%);
}
.btn[data-shimmer].is-shimmering::after { animation: shimmer 1100ms var(--ease-in-out) 1 both; }
@keyframes shimmer { to { transform: translateX(120%); } }

.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-5); }
.btn-row--center { justify-content: center; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--orange-strong);
  text-decoration: none;
}
.link-arrow.tone-blue { color: var(--blue); }
.on-dark .link-arrow { color: var(--orange-on-dark); }
.link-arrow .icon { transition: transform var(--dur-s) var(--ease-out); }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 0.25em; text-decoration-thickness: 1.5px; }

.icon { width: 22px; height: 22px; flex: none; }
.icon--sm { width: 18px; height: 18px; }

/* ---------- Labels, Siegel, Linien ---------- */
.label {
  --dot: var(--steel);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-stretch: 80%;
  font-weight: 650;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: var(--track-label);
  color: var(--color-text-muted);
}
.label__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--dot); flex: none; }
.tone-orange { --dot: var(--orange); --tone: var(--orange); }
.tone-blue { --dot: var(--blue-bright); --tone: var(--blue); }
.tone-neutral { --dot: var(--steel); }
.label--light { color: var(--on-dark-muted); --dot: var(--orange-on-dark); }

.seal {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  font-size: var(--step--1);
  line-height: 1.3;
  color: var(--color-text-muted);
}
.seal strong { color: var(--color-text); font-weight: 700; }
.seal--light { color: var(--on-dark-muted); }
.seal--light strong { color: var(--on-dark); }
.seal__mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  flex: none;
  font-family: var(--font-display);
  font-weight: 850;
  font-stretch: 125%;
  font-size: 1.05rem;
  line-height: 1;
  color: var(--ink);
}
.seal__mark::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid;
  border-color: var(--orange) var(--orange) var(--blue-bright) var(--blue-bright);
  transform: rotate(-45deg);
}
.seal--light .seal__mark { color: var(--on-dark); }

.dot { color: inherit; }
.dot--orange { color: var(--orange-on-dark); }
.dot--blue { color: var(--blue-bright); }

/* Leitungslinien mit Rohrbogen */
.pipes { position: absolute; pointer-events: none; }
.pipe {
  position: absolute;
  display: block;
  border-left: var(--line) solid;
  border-bottom: var(--line) solid;
  border-bottom-left-radius: var(--bend);
}
.pipe--orange { border-color: var(--orange); }
.pipe--blue { border-color: var(--blue-bright); }

.glow {
  position: absolute;
  width: min(62vw, 720px);
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.glow--orange { background: radial-gradient(closest-side, var(--glow-orange), transparent); }
.glow--blue { background: radial-gradient(closest-side, var(--glow-blue), transparent); }

/* ---------- Medien: Rahmen, Poster, Video ---------- */
.frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-m);
  background: var(--slate);
}
.frame > picture, .frame > .media { position: absolute; inset: 0; }
.frame img { width: 100%; height: 100%; object-fit: cover; }

.media { position: relative; overflow: hidden; }
.media--cover { position: absolute; inset: 0; }
.media__poster, .media__poster img, .media__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.media__video { opacity: 0; transition: opacity var(--dur-m) var(--ease-out); }
.media.is-playing .media__video { opacity: 1; }
.media__toggle {
  position: absolute;
  right: var(--gutter);
  bottom: var(--s-5);
  z-index: var(--z-fore);
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border: 1.5px solid hsl(0 0% 100% / 0.4);
  border-radius: 50%;
  background: hsl(var(--ink-hsl) / 0.4);
  color: #fff;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: background-color var(--dur-xs), border-color var(--dur-xs);
}
.media__toggle:hover { border-color: #fff; background: hsl(var(--ink-hsl) / 0.6); }
.media__toggle:active { transform: scale(0.94); }
.media__toggle .icon--play { display: none; }
.media__toggle[aria-pressed="true"] .icon--pause { display: none; }
.media__toggle[aria-pressed="true"] .icon--play { display: block; }

/* Warmer, einheitlicher Grade auf Fotos */
.frame img, .media__poster img, .media__video { filter: saturate(1.04) sepia(0.06); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: max(640px, 100svh);
  display: flex;
  align-items: flex-end;
  background: var(--ink);
  isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; overflow: hidden; z-index: -2; }
.hero__bg-layer, .hero__bg .media { position: absolute; inset: 0; }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, hsl(var(--ink-hsl) / 0.66) 0%, hsl(var(--ink-hsl) / 0) 26%),
    linear-gradient(0deg, hsl(var(--ink-hsl) / 0.94) 0%, hsl(var(--ink-hsl) / 0.72) 34%, hsl(var(--ink-hsl) / 0.12) 70%),
    linear-gradient(90deg, hsl(var(--ink-hsl) / 0.55) 0%, transparent 60%);
}
.hero__content {
  position: relative;
  padding-top: calc(var(--masthead-h) + var(--countdown-h) + var(--s-8));
  padding-bottom: clamp(var(--s-9), 13vh, 150px);
  display: grid;
  gap: var(--s-5);
  justify-items: start;
}
.hero__title { max-width: 13ch; font-size: clamp(3rem, 1.5rem + 6.4vw, 6rem); }
.hero__lead { font-size: var(--step-1); line-height: 1.45; max-width: 44ch; color: hsl(36 22% 95% / 0.88); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-2); }
.trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-5);
  margin-top: var(--s-3);
  font-family: var(--font-display);
  font-stretch: 85%;
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  color: var(--on-dark-muted);
}
.trust li { display: inline-flex; align-items: center; gap: 10px; }
.trust li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--orange-on-dark); flex: none; }
.trust li:nth-child(even)::before { background: var(--blue-bright); }

.hero__detail {
  position: absolute;
  right: var(--gutter);
  bottom: -72px;
  z-index: var(--z-fore);
  width: clamp(132px, 17vw, 260px);
  aspect-ratio: 3 / 4;
  border-radius: var(--r-m);
  overflow: hidden;
  border: 5px solid var(--paper);
  box-shadow: var(--shadow-m);
}
.hero__detail picture, .hero__detail img { width: 100%; height: 100%; object-fit: cover; }
.hero__toggle.media__toggle { bottom: auto; top: calc(var(--masthead-h) + var(--countdown-h) + var(--s-4)); }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: var(--s-5);
  width: 1.5px;
  height: 56px;
  background: hsl(0 0% 100% / 0.22);
  overflow: hidden;
  border-radius: 2px;
}
.scroll-cue span {
  position: absolute; left: 0; right: 0; top: 0; height: 40%;
  background: linear-gradient(180deg, transparent, var(--blue-bright));
  animation: flow 2.2s var(--ease-in-out) infinite;
}
@keyframes flow { from { transform: translateY(-100%); } to { transform: translateY(260%); } }

@media (max-width: 767px) {
  .hero__content { padding-bottom: 132px; gap: var(--s-4); }
  .hero__seal { display: none; }
  .hero__actions .btn { width: 100%; }
  .hero__detail { bottom: -52px; border-width: 4px; }
  .scroll-cue { display: none; }
  .trust { font-size: 0.875rem; gap: 4px var(--s-4); }
}

/* ---------- Abschnitts-Köpfe ---------- */
.section-head { display: grid; gap: var(--s-5); margin-bottom: clamp(var(--s-7), 6vw, var(--s-9)); }
@media (min-width: 1024px) {
  .section-head--split { grid-template-columns: repeat(12, 1fr); align-items: end; column-gap: var(--s-5); }
  .section-head--split > :first-child { grid-column: 1 / 8; }
  .section-head--split > :last-child { grid-column: 8 / 13; }
}

/* ---------- Vier Bereiche ---------- */
.areas { padding-top: calc(var(--section-y) + 48px); }
.pipes--areas { top: -24px; left: max(var(--s-3), calc((100vw - var(--container)) / 2 - 36px)); height: 260px; width: 120px; display: none; }
.pipes--areas .pipe--orange { left: 0; top: 0; width: 64px; height: 100%; }
.pipes--areas .pipe--blue { left: 12px; top: 0; width: 52px; height: calc(100% - 12px); }
@media (min-width: 1360px) { .pipes--areas { display: block; } }

.areas__grid { display: grid; gap: var(--s-4); }
.area-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 420px;
  border-radius: var(--r-l);
  overflow: hidden;
  color: var(--on-dark);
  background: var(--slate);
  isolation: isolate;
  box-shadow: var(--shadow-s);
}
.area-card__media { position: absolute; inset: 0; z-index: -2; border-radius: 0; }
.area-card::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, hsl(var(--ink-hsl) / 0.94) 0%, hsl(var(--ink-hsl) / 0.72) 34%, hsl(var(--ink-hsl) / 0.25) 58%, hsl(var(--ink-hsl) / 0) 76%);
}
.area-card__body { display: grid; gap: var(--s-3); padding: clamp(var(--s-5), 3vw, var(--s-7)); width: 100%; }
.area-card .label { color: var(--on-dark-muted); }
.area-card__title { display: flex; align-items: center; gap: 12px; font-size: var(--step-3); font-weight: 800; font-stretch: 110%; letter-spacing: -0.03em; }
.area-card__title a { text-decoration: none; }
.stretched::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.area-card:has(.stretched:focus-visible) { outline: 2px solid var(--orange); outline-offset: 3px; }
.stretched:focus-visible { outline: none; }
.area-card__points { display: grid; gap: 4px; color: hsl(36 22% 95% / 0.9); font-size: 1.125rem; }
.area-card__points li { position: relative; padding-left: 18px; }
.area-card__points li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 8px; height: 1.5px; background: var(--tone, var(--orange)); }
.tone-blue .area-card__points li::before { background: var(--blue-bright); }
.area-card__more { display: inline-flex; align-items: center; gap: 8px; margin-top: var(--s-2); font-family: var(--font-display); font-weight: 700; }
.area-card__more .icon { transition: transform var(--dur-s) var(--ease-out); }
.area-card img { transition: transform var(--dur-m) var(--ease-out); }
.area-card:hover img, .area-card:focus-within img { transform: scale(1.04); }
.area-card:hover .area-card__more .icon, .area-card:focus-within .area-card__more .icon { transform: translateX(5px); }
.area-card:hover .label__dot { animation: dot-pulse 700ms var(--ease-out) 1; }
@keyframes dot-pulse { 50% { transform: scale(1.8); box-shadow: 0 0 0 6px hsl(0 0% 100% / 0.12); } }

@media (min-width: 640px) and (max-width: 1023px) {
  .areas__grid { grid-template-columns: 1fr 1fr; }
  .area-card--xl, .area-card--l { min-height: 520px; }
}
@media (min-width: 1024px) {
  .areas__grid { grid-template-columns: repeat(12, 1fr); gap: var(--s-5); align-items: start; }
  .area-card--xl { grid-column: 1 / 8; min-height: 0; aspect-ratio: 1 / 1.02; }
  .area-card--l  { grid-column: 8 / 13; aspect-ratio: 3 / 4; margin-top: 120px; }
  .area-card--s  { grid-column: 2 / 7; aspect-ratio: 4 / 3; min-height: 0; margin-top: -40px; }
  .area-card--m  { grid-column: 7 / 13; aspect-ratio: 16 / 10; min-height: 0; margin-top: var(--s-7); }
}

/* ---------- Kundendienst ---------- */
.service__grid { display: grid; gap: var(--s-8); }
.service__text { display: grid; gap: var(--s-5); align-content: start; justify-items: start; }
.checklist { display: grid; gap: var(--s-3); padding: 0; list-style: none; margin: 0; }
.checklist li { display: flex; gap: var(--s-3); align-items: flex-start; }
.checklist .icon { margin-top: 4px; color: var(--orange); }
.service__visual { position: relative; }
.service__visual .glow { right: -20%; top: -18%; }
.service__main { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-l); z-index: 1; }
.frame.service__detail {
  position: absolute;
  right: -7%;
  bottom: -12%;
  width: 40%;
  aspect-ratio: 3 / 4;
  z-index: 2;
  border: 5px solid var(--paper);
  box-shadow: var(--shadow-m);
}
@media (min-width: 1024px) {
  .service__grid { grid-template-columns: repeat(12, 1fr); column-gap: var(--s-5); align-items: center; }
  .service__text { grid-column: 2 / 7; }
  .service__visual { grid-column: 7 / 13; }
}
@media (max-width: 1023px) {
  .frame.service__detail { right: -2%; bottom: -8%; width: 36%; }
  .service__visual { margin-inline: 0 var(--s-5); }
}

/* Marken-Leiste */
.brands {
  margin-top: clamp(var(--s-8), 9vw, var(--s-10));
  border-block: 1px solid var(--color-border);
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
}
.brands__title {
  padding: var(--s-5) var(--s-5) var(--s-5) max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  font-family: var(--font-display);
  font-stretch: 80%;
  font-weight: 650;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: var(--track-label);
  color: var(--color-text-muted);
  white-space: nowrap;
  border-right: 1px solid var(--color-border);
}
.marquee {
  display: flex;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee:focus-visible { outline-offset: -4px; }
.marquee__track { display: flex; flex: none; gap: clamp(var(--s-7), 6vw, var(--s-9)); padding-right: clamp(var(--s-7), 6vw, var(--s-9)); padding-block: var(--s-5); }
.wordmark {
  font-family: var(--font-display);
  font-weight: 750;
  font-stretch: 118%;
  font-size: var(--step-2);
  letter-spacing: -0.02em;
  color: hsl(var(--ink-hsl) / 0.5);
  white-space: nowrap;
  transition: color var(--dur-s);
}
.wordmark:hover { color: var(--ink); }
@media (max-width: 639px) {
  .brands { grid-template-columns: 1fr; }
  .brands__title { border-right: 0; border-bottom: 1px solid var(--color-border); padding-block: var(--s-3); }
}

/* ---------- Klima ---------- */
.klima { overflow: clip; }
.klima .glow--blue { left: -18%; top: 4%; }
.klima__grid { position: relative; display: grid; gap: var(--s-8); }
.klima__visual { position: relative; }
.klima__main { aspect-ratio: 4 / 5; border-radius: var(--r-l); }
.thermo {
  position: absolute;
  right: -4%;
  top: 8%;
  z-index: 2;
  display: grid;
  gap: var(--s-3);
  padding: var(--s-5) var(--s-5) var(--s-4);
  border-radius: var(--r-m);
  background: hsl(0 0% 100% / 0.72);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: var(--shadow-m);
  color: var(--ink);
}
.thermo__value {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 112%;
  font-size: var(--step-4);
  line-height: 0.9;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.thermo__value sup { font-size: 0.36em; letter-spacing: 0; vertical-align: top; margin-left: 4px; color: var(--blue); }
.thermo__bar { position: relative; display: block; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--blue-bright), var(--orange)); }
/* Regler: Wrapper in voller Breite wird verschoben (transform statt left) */
.thermo__knob { position: absolute; inset: 0; transform: translate3d(calc(var(--thermo, 0.2) * 100%), 0, 0); }
.thermo__knob i {
  position: absolute; top: 50%; left: 0;
  width: 14px; height: 14px; margin: -7px 0 0 -7px;
  border-radius: 50%; background: #fff; border: 2px solid var(--ink);
}
.klima__text { display: grid; gap: var(--s-5); align-content: center; justify-items: start; }
.price { font-family: var(--font-display); font-size: var(--step-1); }
.spec { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--s-5); width: 100%; }
.spec > div { padding-block: var(--s-4); border-top: 1px solid var(--color-border); }
.spec dt { font-size: 0.9375rem; color: var(--color-text-muted); }
.spec dd { font-family: var(--font-display); font-weight: 700; font-size: var(--step-1); letter-spacing: -0.01em; }
@media (min-width: 1024px) {
  .klima__grid { grid-template-columns: repeat(12, 1fr); column-gap: var(--s-5); align-items: center; }
  .klima__visual { grid-column: 1 / 7; }
  .klima__text { grid-column: 8 / 13; }
}
@media (max-width: 1023px) { .thermo { right: var(--s-3); top: var(--s-3); padding: var(--s-4); } }

/* ---------- Referenzen (horizontal) ---------- */
.refs { overflow: clip; }
.refs__head { display: grid; gap: var(--s-5); margin-bottom: var(--s-7); }
.refs__meta { display: grid; gap: var(--s-2); align-content: end; justify-items: start; color: var(--color-text-muted); }
@media (min-width: 1024px) {
  .refs__head { grid-template-columns: 7fr 5fr; align-items: end; }
}
.refs__stage { position: relative; z-index: 1; }
.refs__track {
  display: flex;
  gap: var(--s-5);
  padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  padding-bottom: var(--s-5);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
}
.ref-card { flex: none; width: min(78vw, 400px); scroll-snap-align: start; }
.ref-card__link { display: grid; gap: var(--s-4); text-decoration: none; border-radius: var(--r-m); }
.ref-card__media { display: block; aspect-ratio: 4 / 5; }
.ref-card__media img { transition: transform var(--dur-m) var(--ease-out); }
.ref-card__link:hover img, .ref-card__link:focus-visible img { transform: scale(1.04); }
.ref-card__info { display: grid; gap: 4px; }
.ref-card__title { font-family: var(--font-display); font-weight: 750; font-size: var(--step-1); letter-spacing: -0.015em; }
.ref-card__caption { color: var(--color-text-muted); font-size: 1.125rem; max-width: 36ch; }
.refs__progress { height: 1.5px; margin: var(--s-5) var(--gutter) 0; background: var(--color-border); display: none; }
.refs__progress span { display: block; height: 100%; background: var(--orange); transform: scaleX(var(--p, 0)); transform-origin: left; }

/* gepinnt (Desktop, mit Motion) */
.refs.is-pinned { height: var(--pin-h, 300vh); padding-block: 0; }
.refs.is-pinned .refs__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: clip;
  padding-top: var(--s-8);
}
.refs.is-pinned .refs__track { overflow: visible; width: max-content; scroll-snap-type: none; padding-bottom: 0; will-change: transform; }
.refs.is-pinned .ref-card { width: clamp(260px, 25vw, 380px); }
.refs.is-pinned .ref-card:nth-child(even) { margin-top: var(--s-8); }
.refs.is-pinned .refs__progress { display: block; }

/* ---------- Ablauf (Story) ---------- */
.story__grid { display: grid; gap: var(--s-7); }
.story__intro { display: grid; gap: var(--s-4); align-content: start; }
.story__count { font-family: var(--font-display); font-weight: 700; font-variant-numeric: tabular-nums; color: var(--color-text-muted); letter-spacing: 0.04em; display: none; }
.story__count span { color: var(--orange-strong); }
.story__pipe { display: none; }
.story__steps { position: relative; display: grid; gap: var(--s-8); padding-left: var(--s-7); counter-reset: step; }
.story__steps::before {
  content: "";
  position: absolute;
  left: 7px; top: 8px; bottom: 8px;
  width: var(--line);
  background: linear-gradient(180deg, var(--blue-bright), var(--orange));
  border-radius: 2px;
}
.story-step { position: relative; display: grid; gap: var(--s-5); }
.story-step::before {
  content: "";
  position: absolute;
  left: calc(-1 * var(--s-7) + 1px);
  top: 4px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--paper);
  border: var(--line) solid var(--orange);
}
.story-step:nth-child(-n+2)::before { border-color: var(--blue-bright); }
.story-step__media { aspect-ratio: 16 / 10; }
.story-step__text { display: grid; gap: var(--s-2); max-width: 46ch; }
.story-step__num { font-family: var(--font-display); font-weight: 800; font-stretch: 125%; font-size: var(--step-1); color: var(--orange-strong); font-variant-numeric: tabular-nums; }
.story-step__text p { color: var(--color-text-muted); font-size: var(--step-0); }

@media (min-width: 768px) {
  .story-step { grid-template-columns: 1fr 1fr; align-items: center; gap: var(--s-6); }
}

/* gepinnt (Desktop, mit Motion) */
.story.is-pinned { height: var(--pin-h, 360vh); padding-block: 0; }
.story.is-pinned .story__stage { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; overflow: clip; }
.story.is-pinned .story__grid { grid-template-columns: repeat(12, 1fr); column-gap: var(--s-5); width: 100%; align-items: center; }
.story.is-pinned .story__intro { grid-column: 1 / 5; height: min(70vh, 640px); grid-template-rows: auto auto 1fr; }
.story.is-pinned .story__count { display: block; }
.story.is-pinned .story__pipe { display: block; width: 120px; height: 100%; overflow: visible; }
.story__pipe path { fill: none; stroke-width: 2; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.story__pipe-track { stroke: var(--color-border); }
.story.is-pinned .story__steps { grid-column: 5 / 13; padding-left: 0; display: block; height: min(70vh, 640px); }
.story.is-pinned .story__steps::before { display: none; }
.story.is-pinned .story-step {
  position: absolute; inset: 0;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--s-7);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-s) var(--ease-in-out);
}
.story.is-pinned .story-step::before { display: none; }
.story.is-pinned .story-step.is-active { opacity: 1; pointer-events: auto; transition: opacity var(--dur-m) var(--ease-out); }
.story.is-pinned .story-step__media { aspect-ratio: auto; height: 100%; clip-path: inset(100% 0 0 0 round var(--r-l)); transition: clip-path var(--dur-m) var(--ease-in-out); border-radius: var(--r-l); }
.story.is-pinned .story-step.is-active .story-step__media { clip-path: inset(0 0 0 0 round var(--r-l)); }
.story.is-pinned .story-step__text { transform: translateY(16px); transition: transform var(--dur-m) var(--ease-out); }
.story.is-pinned .story-step.is-active .story-step__text { transform: none; }
.story.is-pinned .story-step__num { font-size: var(--step-4); line-height: 1; }

/* ---------- Der Meister ---------- */
.master { overflow: clip; }
.xxl-band {
  position: absolute;
  left: 0; right: 0; top: var(--s-7);
  pointer-events: none;
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 850;
  font-stretch: 125%;
  font-size: var(--step-xxl);
  line-height: 1;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1.5px hsl(var(--steel-hsl) / 0.22);
  z-index: 0;
}
.xxl-band span { display: inline-block; }
.master__grid { position: relative; z-index: 1; display: grid; gap: var(--s-7); padding-top: clamp(var(--s-8), 10vw, 180px); }
.master__portrait { aspect-ratio: 4 / 5; max-width: 380px; border-radius: var(--r-l); background: #e9e7e3; }
.master__portrait img { object-position: 50% 30%; }
.master__text { display: grid; gap: var(--s-4); align-content: start; justify-items: start; max-width: 60ch; }
.master__role { font-family: var(--font-display); font-weight: 600; font-stretch: 90%; color: var(--color-text-muted); margin-top: calc(-1 * var(--s-2)); }
@media (min-width: 1024px) {
  .master__grid { grid-template-columns: repeat(12, 1fr); column-gap: var(--s-5); align-items: center; }
  .master__portrait { grid-column: 2 / 6; }
  .master__text { grid-column: 7 / 12; }
}
.motto { margin-top: clamp(var(--s-8), 9vw, var(--s-10)); }
.motto__text {
  font-family: var(--font-display);
  font-weight: 850;
  font-stretch: 78%;
  font-size: clamp(3rem, 0.8rem + 9.4vw, 10rem);
  line-height: 0.94;
  letter-spacing: -0.02em;
  word-spacing: 0.2em;
  text-wrap: balance;
  max-width: 15ch;
}
.motto__text .regen { color: var(--blue); }

/* ---------- Fachkollegen ---------- */
.colleagues { border-block: 1px solid var(--color-border); }
.colleagues__inner { display: grid; gap: var(--s-3); padding-block: var(--s-7); }
.colleagues__title { font-size: var(--step-2); }
.colleagues p:not(.label) { color: var(--color-text-muted); }
@media (min-width: 1024px) {
  .colleagues__inner { grid-template-columns: auto 1.2fr 1fr auto; align-items: center; column-gap: var(--s-6); }
}

/* ---------- Abschluss ---------- */
.on-dark.closing, .closing { background: var(--ink); }
.closing { position: relative; padding-block: clamp(var(--s-9), 14vw, 200px); text-align: center; margin-top: var(--s-9); }
.closing__bg {
  position: absolute; inset: 0; z-index: 0; opacity: 0.32; overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 22%, #000 62%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 22%, #000 62%, transparent);
}
.closing__bg > div { position: absolute; inset: -80px 0; }
.closing__bg picture, .closing__bg img { width: 100%; height: 100%; object-fit: cover; }
.closing__glowwrap { position: absolute; inset: 0; overflow: hidden; z-index: 1; pointer-events: none; }
.closing::before { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(ellipse at 50% 120%, transparent 0, var(--ink) 70%); }
.glow--closing { left: 50%; bottom: -30%; transform: translateX(-50%); z-index: 1; width: min(90vw, 1000px); }
.closing__inner { position: relative; z-index: 2; display: grid; gap: var(--s-5); justify-items: center; }
.closing__title { font-size: var(--step-4); max-width: 20ch; }
.closing__lead { color: var(--on-dark-muted); font-size: var(--step-1); max-width: 46ch; }
.closing__motto { margin-top: var(--s-5); font-family: var(--font-display); font-weight: 700; font-stretch: 85%; color: var(--on-dark); letter-spacing: 0.01em; }
.closing__motto::before, .closing__motto::after { content: ""; display: inline-block; width: 28px; height: 1.5px; vertical-align: middle; margin-inline: 12px; background: var(--orange-on-dark); }
.closing__motto::after { background: var(--blue-bright); }

/* Geschwungene / schräge Sektionskanten */
.edge { position: absolute; left: 0; width: 100%; pointer-events: none; z-index: 2; }
.edge--top { top: 1px; transform: translateY(-100%); height: clamp(40px, 6vw, 80px); fill: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark); padding-top: var(--s-9); padding-bottom: calc(var(--s-6) + 76px); }
.site-footer__grid { display: grid; gap: var(--s-7); }
.site-footer__lead { display: grid; gap: var(--s-5); align-content: start; }
.site-footer__claim { font-family: var(--font-display); font-size: var(--step-2); font-weight: 750; letter-spacing: -0.02em; line-height: 1.15; max-width: 16ch; }
.site-footer__title { font-family: var(--font-display); font-stretch: 80%; font-size: 0.875rem; font-weight: 650; text-transform: uppercase; letter-spacing: var(--track-label); color: var(--on-dark-muted); margin-bottom: var(--s-4); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); }
.site-footer a { text-decoration: none; display: inline-flex; align-items: center; gap: 8px; min-height: 32px; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 0.25em; }
.contact-list li { display: flex; gap: var(--s-3); align-items: flex-start; }
.contact-list .icon { margin-top: 5px; color: var(--orange-on-dark); }
.contact-list .muted { font-size: 0.9375rem; margin-left: 4px; align-self: center; }
.site-footer__meta { display: grid; gap: var(--s-5); align-content: start; }
.site-footer__base { margin-top: var(--s-8); padding-top: var(--s-5); border-top: 1px solid hsl(0 0% 100% / 0.1); color: var(--on-dark-muted); font-size: 0.9375rem; }
.brand--light { color: var(--on-dark); }
@media (min-width: 768px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer { padding-bottom: var(--s-6); }
}
@media (min-width: 1100px) {
  .site-footer__grid { grid-template-columns: 1.25fr 1.3fr 1fr 0.9fr; }
}
.contact-list a { white-space: nowrap; }

/* Schalter „Animationen reduzieren“ */
.switch {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--on-dark);
  text-align: left;
}
.switch__track { position: relative; width: 44px; height: 26px; border-radius: 26px; background: hsl(0 0% 100% / 0.18); transition: background-color var(--dur-s) var(--ease-out); flex: none; }
.switch__thumb { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform var(--dur-s) var(--ease-spring); }
.switch[aria-checked="true"] .switch__track { background: var(--orange); }
.switch[aria-checked="true"] .switch__thumb { transform: translateX(18px); }
.switch:hover .switch__track { background: hsl(0 0% 100% / 0.28); }
.switch[aria-checked="true"]:hover .switch__track { background: var(--orange-strong); }

/* Mobile Sticky-Bar */
.mobile-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: var(--z-sticky);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-2);
  padding: var(--s-2) var(--s-3) calc(var(--s-2) + env(safe-area-inset-bottom));
  background: hsl(var(--ink-hsl) / 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: transform var(--dur-s) var(--ease-out);
}
.menu-open .mobile-bar { transform: translateY(110%); }
.mobile-bar__btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px;
  border-radius: var(--r-s);
  font-family: var(--font-display);
  font-weight: 700;
  text-decoration: none;
  color: #fff;
}
.mobile-bar__btn:active { transform: scale(0.97); }
.mobile-bar__btn--call { background: hsl(0 0% 100% / 0.1); border: 1.5px solid hsl(0 0% 100% / 0.3); }
.mobile-bar__btn--ask { background: var(--orange); color: var(--ink); }
@media (min-width: 768px) { .mobile-bar { display: none; } }
@media (max-width: 767px) { body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); } }

/* ---------- Unterseiten ---------- */
.page-head { position: relative; padding-top: calc(var(--masthead-h) + var(--countdown-h) + clamp(var(--s-8), 8vw, var(--s-10))); padding-bottom: clamp(var(--s-7), 6vw, var(--s-9)); }
.cd-closed .page-head, .cd-hidden .page-head, .cd-after .page-head { padding-top: calc(var(--masthead-h) + clamp(var(--s-8), 8vw, var(--s-10))); }
.page-head__inner { display: grid; gap: var(--s-5); justify-items: start; }
.page-head h1 { font-size: var(--step-5); line-height: var(--lh-tight); letter-spacing: var(--track-display); font-weight: 800; font-stretch: 112%; max-width: 16ch; }
.page-head .lead { max-width: 58ch; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; font-size: 0.9375rem; color: var(--color-text-muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: 0.5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.band { position: relative; height: clamp(260px, 42vw, 560px); overflow: hidden; border-radius: var(--r-l); margin-inline: var(--gutter); }
.band > picture, .band > .media { position: absolute; inset: 0; }
.band img { width: 100%; height: 100%; object-fit: cover; }

.prose { max-width: var(--measure); }
.prose > * + * { margin-top: var(--s-4); }
.prose h2 { font-size: var(--step-3); margin-top: var(--s-8); }
.prose h3 { font-size: var(--step-1); margin-top: var(--s-6); }
.prose ul { padding-left: 1.2em; }
.prose li + li { margin-top: var(--s-2); }

/* Leistungs-Subnav */
.subnav {
  position: sticky;
  top: calc(var(--masthead-h) - 1px);
  z-index: var(--z-sticky);
  background: hsl(var(--paper-hsl) / 0.9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-block: 1px solid var(--color-border);
  transition: top var(--dur-m) var(--ease-out);
}
.masthead.is-hidden ~ main .subnav, .header-hidden .subnav { top: 0; }
.subnav ul { list-style: none; margin: 0; padding-inline: 0; display: flex; gap: var(--s-2); overflow-x: auto; scrollbar-width: none; padding-block: var(--s-2); }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding-inline: var(--s-4);
  border-radius: var(--r-s);
  text-decoration: none; white-space: nowrap;
  font-family: var(--font-display); font-weight: 650;
  color: var(--color-text-muted);
  transition: background-color var(--dur-xs), color var(--dur-xs);
}
.subnav a:hover { color: var(--ink); background: hsl(var(--ink-hsl) / 0.05); }
.subnav a.is-active { color: var(--ink); background: hsl(var(--ink-hsl) / 0.08); }

.service-block { position: relative; padding-block: var(--section-y); scroll-margin-top: calc(var(--masthead-h) + 60px); }
.service-block__grid { display: grid; gap: var(--s-7); }
.service-block__media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-l); }
.service-block__text { display: grid; gap: var(--s-5); align-content: start; justify-items: start; }
.service-list { display: grid; gap: 0; width: 100%; list-style: none; padding: 0; margin: 0; }
.service-list li { display: grid; gap: 4px; padding-block: var(--s-4); border-top: 1px solid var(--color-border); }
.service-list h3 { font-size: var(--step-1); font-weight: 700; letter-spacing: -0.01em; }
.service-list p { color: var(--color-text-muted); font-size: 1.125rem; }
.service-block__gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-3); margin-top: var(--s-5); width: 100%; }
.service-block__gallery .frame { aspect-ratio: 1; border-radius: var(--r-s); }
.explain { padding: var(--s-5); border-radius: var(--r-m); background: var(--color-surface-raised); border: 1px solid var(--color-border); max-width: 60ch; }
.explain h3 { font-size: var(--step-1); margin-bottom: var(--s-2); }
@media (min-width: 1024px) {
  .service-block__grid { grid-template-columns: repeat(12, 1fr); column-gap: var(--s-5); align-items: start; }
  .service-block__media { grid-column: 1 / 6; position: sticky; top: calc(var(--masthead-h) + 90px); }
  .service-block__text { grid-column: 7 / 13; }
  .service-block:nth-of-type(even) .service-block__media { grid-column: 8 / 13; grid-row: 1; }
  .service-block:nth-of-type(even) .service-block__text { grid-column: 1 / 7; grid-row: 1; }
}

/* Filter (Tabs als Umschalter) */
.filter { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-bottom: var(--s-7); }
.filter button {
  min-height: 44px;
  padding-inline: var(--s-5);
  border: 1.5px solid var(--color-border);
  border-radius: var(--r-s);
  background: transparent;
  font-family: var(--font-display);
  font-weight: 650;
  color: var(--color-text-muted);
  transition: border-color var(--dur-xs), color var(--dur-xs), background-color var(--dur-xs);
}
.filter button:hover { border-color: var(--ink); color: var(--ink); }
.filter button:active { transform: scale(0.97); }
.filter button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }

/* Galerie (Referenzen) */
.gallery { columns: 1; column-gap: var(--s-5); }
.gallery__item { break-inside: avoid; margin-bottom: var(--s-6); view-transition-name: var(--vt); }
.gallery__btn { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; border-radius: var(--r-m); cursor: zoom-in; }
.gallery__btn .frame { display: block; aspect-ratio: var(--ratio, 3 / 4); }
.gallery__btn img { transition: transform var(--dur-m) var(--ease-out); }
.gallery__btn:hover img { transform: scale(1.03); }
.gallery__cap { display: grid; gap: 2px; margin-top: var(--s-3); }
.gallery__cap strong { font-family: var(--font-display); font-weight: 750; font-size: var(--step-1); }
.gallery__cap span { color: var(--color-text-muted); font-size: 1.125rem; }
@media (min-width: 640px) { .gallery { columns: 2; } }
@media (min-width: 1024px) { .gallery { columns: 3; } }

/* Lightbox */
.lightbox {
  width: 100vw; height: 100dvh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: hsl(var(--ink-hsl) / 0.96);
  color: var(--on-dark);
  overscroll-behavior: contain;
  opacity: 0;
  transition: opacity var(--dur-s) var(--ease-out), overlay var(--dur-s) allow-discrete, display var(--dur-s) allow-discrete;
}
.lightbox[open] { opacity: 1; display: grid; grid-template-rows: auto 1fr auto; }
@starting-style { .lightbox[open] { opacity: 0; } }
.lightbox::backdrop { background: transparent; }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; padding: var(--s-3) var(--gutter); }
.lightbox__count { font-variant-numeric: tabular-nums; color: var(--on-dark-muted); }
.lightbox__stage { position: relative; display: grid; place-items: center; padding: 0 var(--gutter); min-height: 0; touch-action: pan-y; }
.lightbox__stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: var(--r-s); transform: scale(0.96); opacity: 0; transition: transform var(--dur-m) var(--ease-out), opacity var(--dur-s) var(--ease-out); }
.lightbox__stage img.is-in { transform: none; opacity: 1; }
.lightbox__cap { padding: var(--s-4) var(--gutter) var(--s-5); text-align: center; color: var(--on-dark-muted); }
.lightbox__cap strong { color: var(--on-dark); display: block; font-family: var(--font-display); }
.icon-btn {
  display: grid; place-items: center;
  width: 48px; height: 48px;
  border: 1.5px solid hsl(0 0% 100% / 0.25);
  border-radius: 50%;
  background: hsl(0 0% 100% / 0.04);
  color: inherit;
  transition: border-color var(--dur-xs), background-color var(--dur-xs);
}
.icon-btn:hover { border-color: hsl(0 0% 100% / 0.7); background: hsl(0 0% 100% / 0.1); }
.icon-btn:active { transform: scale(0.94); }
.lightbox__prev, .lightbox__next { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; }
.lightbox__prev { left: var(--gutter); }
.lightbox__next { right: var(--gutter); }
.lightbox__prev:active, .lightbox__next:active { transform: translateY(-50%) scale(0.94); }

/* Vorher/Nachher */
.ba { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-l); overflow: hidden; --pos: 50%; touch-action: pan-y; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; pointer-events: none; }
.ba__handle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-m); }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba:has(input:focus-visible) { outline: 2px solid var(--orange); outline-offset: 3px; }
.ba-slot { display: grid; place-items: center; gap: var(--s-2); aspect-ratio: 16 / 7; border: 1.5px dashed var(--color-line); border-radius: var(--r-l); text-align: center; padding: var(--s-6); color: var(--color-text-muted); }

/* FAQ */
.faq { display: grid; border-top: 1px solid var(--color-border); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--color-border); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: var(--s-4);
  min-height: 64px; padding-block: var(--s-4);
  cursor: pointer; list-style: none;
  font-family: var(--font-display); font-weight: 700; font-size: var(--step-1); letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 14px; height: 14px; flex: none; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-3px, -3px); transition: transform var(--dur-s) var(--ease-out); }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq summary:hover { color: var(--blue); }
.faq__a { padding-bottom: var(--s-5); max-width: 66ch; color: var(--color-text-muted); }
.faq__a .ph { margin-left: 4px; }

/* Split-Grafik Klima */
.split-diagram { width: 100%; max-width: 640px; height: auto; overflow: visible; }
.split-diagram .unit { fill: var(--color-surface-raised); stroke: var(--ink); stroke-width: 1.5; }
.split-diagram .line-heat, .split-diagram .line-water { fill: none; stroke-width: 2; stroke-linecap: round; }
.split-diagram .line-heat { stroke: var(--orange); }
.split-diagram .line-water { stroke: var(--blue-bright); }
.split-diagram text { font-family: var(--font-display); font-size: 13px; font-weight: 650; fill: var(--color-text-muted); }
.diagram-pair { display: grid; gap: var(--s-7); }
.diagram-pair figure { display: grid; gap: var(--s-4); }
.diagram-pair figcaption { max-width: 44ch; }
.diagram-pair figcaption strong { display: block; font-family: var(--font-display); font-size: var(--step-1); }
@media (min-width: 900px) { .diagram-pair { grid-template-columns: 1fr 1fr; } }

/* Schritte (Klima-Ablauf) */
.steps-row { display: grid; gap: var(--s-5); counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps-row li { position: relative; padding-top: var(--s-6); border-top: var(--line) solid var(--blue-bright); }
.steps-row li:nth-child(n+3) { border-top-color: var(--orange); }
.steps-row li::before { counter-increment: s; content: "0" counter(s); position: absolute; top: var(--s-3); left: 0; font-family: var(--font-display); font-weight: 800; font-stretch: 125%; color: var(--color-text-muted); font-size: 0.9375rem; }
.steps-row h3 { font-size: var(--step-1); margin-bottom: var(--s-2); }
.steps-row p { color: var(--color-text-muted); }
@media (min-width: 768px) { .steps-row { grid-template-columns: repeat(4, 1fr); } }

/* Bildstrecke (Über uns) */
.photo-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-4); }
.photo-strip__item { aspect-ratio: 3 / 4; border-radius: var(--r-m); }
.photo-strip__item:nth-child(even) { margin-top: var(--s-8); }
@media (min-width: 900px) { .photo-strip { grid-template-columns: repeat(4, 1fr); gap: var(--s-5); } }

/* Zwei-Klick-Karte */
.map-slot { min-height: 360px; aspect-ratio: 4 / 3; border-radius: var(--r-l); background: var(--mist); }
.map-slot__consent { position: absolute; inset: 0; display: grid; align-content: center; justify-items: start; gap: var(--s-4); padding: var(--s-6); color: var(--ink); }
.map-slot__consent .icon { color: var(--blue); width: 32px; height: 32px; }
.map-slot iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.service-block__media .map-slot { height: 100%; }

/* ---------- Kontakt & Anfrageformular (bewusst ruhig) ---------- */
.page-head--compact { padding-bottom: var(--s-6); }
.page-head--compact h1 { font-size: var(--step-4); max-width: 20ch; }
.contact { padding-top: var(--s-5); }
.contact__grid { display: grid; gap: var(--s-8); }
@media (min-width: 1024px) {
  .contact__grid { grid-template-columns: repeat(12, 1fr); column-gap: var(--s-5); align-items: start; }
  .contact__main { grid-column: 1 / 9; }
  .contact__aside { grid-column: 9 / 13; position: sticky; top: calc(var(--masthead-h) + var(--s-5)); }
}
.contact__aside { display: grid; gap: var(--s-3); }
.contact__aside .map-slot { aspect-ratio: 4 / 3; min-height: 0; margin-top: var(--s-3); }
.contact__aside .map-slot__consent { padding: var(--s-5); font-size: 1rem; }
.contact-card {
  display: flex; gap: var(--s-4); align-items: center;
  padding: var(--s-4) var(--s-5);
  border-radius: var(--r-m);
  border: 1px solid var(--color-border);
  background: var(--color-surface-raised);
  text-decoration: none;
  transition: border-color var(--dur-xs), transform var(--dur-xs) var(--ease-out);
}
.contact-card:hover { border-color: var(--ink); }
.contact-card:active { transform: scale(0.98); }
.contact-card .icon { color: var(--orange); }
.contact-card > span { display: grid; min-width: 0; }
.contact-card__k { font-size: 0.9375rem; color: var(--color-text-muted); }
.contact-card__v { font-family: var(--font-display); font-weight: 750; font-size: var(--step-1); font-variant-numeric: tabular-nums; }
.contact-card__v--sm { font-size: 1.0625rem; overflow-wrap: anywhere; }
.contact-card--primary { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.contact-card--primary .contact-card__k { color: var(--on-dark-muted); }
.contact-card--primary .icon { color: var(--orange-on-dark); }
.contact-card--primary:hover { border-color: var(--orange); }
.contact-address { padding: var(--s-4) var(--s-5); line-height: 1.5; }

.anfrage { display: grid; gap: var(--s-7); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.step { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: var(--s-5); }
.step__title { display: flex; align-items: center; gap: var(--s-3); padding: 0; margin-bottom: var(--s-5); font-family: var(--font-display); font-weight: 750; font-size: var(--step-2); letter-spacing: -0.02em; }
.step__num { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: var(--line) solid var(--orange); font-size: 1rem; font-weight: 800; color: var(--orange-strong); flex: none; }
.step__hint { display: flex; align-items: flex-start; gap: var(--s-2); color: var(--color-text-muted); font-size: 1rem; }
.step__hint .icon { margin-top: 3px; color: var(--blue); }
.field__opt { font-family: var(--font-body); font-weight: 400; font-size: 0.9375rem; color: var(--color-text-muted); letter-spacing: 0; }
.req { color: var(--orange-strong); }

/* Bild-Chips */
.chips { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-3); }
@media (min-width: 640px) { .chips { grid-template-columns: repeat(4, 1fr); } }
.chip { position: relative; display: grid; gap: var(--s-2); padding: var(--s-2); border-radius: var(--r-m); border: 1.5px solid var(--color-border); background: var(--color-surface-raised); cursor: pointer; transition: border-color var(--dur-xs), box-shadow var(--dur-xs), transform var(--dur-xs) var(--ease-out); }
.chip:hover { border-color: hsl(var(--ink-hsl) / 0.5); }
.chip:active { transform: scale(0.98); }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip__img { display: block; aspect-ratio: 16 / 10; border-radius: var(--r-s); }
.chip__label { font-family: var(--font-display); font-weight: 650; font-size: 1rem; line-height: 1.25; padding: 2px 4px 4px; }
.chip:has(input:checked) { border-color: var(--orange); box-shadow: 0 0 0 1.5px var(--orange); }
.chip:has(input:checked)::after { content: ""; position: absolute; top: 14px; right: 14px; width: 24px; height: 24px; border-radius: 50%; background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 14px no-repeat; }
.chip:has(input:focus-visible) { outline: 2px solid var(--orange); outline-offset: 2px; }

/* Felder */
.fields { display: grid; gap: var(--s-5); }
@media (min-width: 640px) { .fields { grid-template-columns: 1fr 1fr; } .field:not(.field--half) { grid-column: 1 / -1; } }
.field { display: grid; gap: var(--s-2); min-width: 0; border: 0; padding: 0; margin: 0; }
.field > label, .field > legend { font-weight: 650; padding: 0; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 1.5px solid hsl(var(--steel-hsl) / 0.5);
  border-radius: var(--r-s);
  background: #fff;
  font-size: 1.125rem; /* ≥ 16 px: kein Zoom auf iOS */
  color: var(--ink);
  transition: border-color var(--dur-xs), box-shadow var(--dur-xs);
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.field ::placeholder { color: hsl(208 10% 46%); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: hsl(var(--ink-hsl) / 0.6); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px hsl(var(--blue-hsl) / 0.2); }
.field [aria-invalid="true"] { border-color: var(--orange-strong); box-shadow: 0 0 0 3px hsl(var(--orange-hsl) / 0.14); }
.field__error { display: flex; gap: 6px; color: var(--orange-strong); font-size: 1rem; font-weight: 600; }
.form-error { padding: var(--s-4) var(--s-5); border-radius: var(--r-m); background: hsl(var(--orange-hsl) / 0.1); color: var(--orange-strong); font-weight: 600; }
.radios { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.radio { position: relative; display: inline-flex; }
.radio input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.radio span { display: inline-flex; align-items: center; min-height: 44px; padding-inline: var(--s-4); border-radius: var(--r-s); border: 1.5px solid hsl(var(--steel-hsl) / 0.45); background: #fff; transition: border-color var(--dur-xs), background-color var(--dur-xs); }
.radio:hover span { border-color: var(--ink); }
.radio input:checked + span { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.radio input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }
.check { display: flex; gap: var(--s-3); align-items: flex-start; cursor: pointer; font-weight: 400; }
.check input { width: 24px; height: 24px; margin-top: 2px; flex: none; accent-color: var(--orange); }

/* Upload */
.drop { position: relative; display: block; border: 1.5px dashed hsl(var(--steel-hsl) / 0.6); border-radius: var(--r-l); background: var(--color-surface-raised); transition: border-color var(--dur-xs), background-color var(--dur-xs); cursor: pointer; }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.drop__inner { display: grid; justify-items: center; gap: var(--s-2); padding: var(--s-7) var(--s-5); text-align: center; }
.drop__inner .icon { width: 36px; height: 36px; color: var(--blue); }
.drop__sub { font-size: 0.9375rem; color: var(--color-text-muted); }
.drop:hover, .drop.is-over { border-color: var(--blue); background: hsl(var(--blue-bright-hsl) / 0.08); }
.drop:has(input:focus-visible) { outline: 2px solid var(--orange); outline-offset: 2px; }
.previews { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-3); }
@media (min-width: 640px) { .previews { grid-template-columns: repeat(6, 1fr); } }
.preview { position: relative; aspect-ratio: 1; border-radius: var(--r-s); overflow: hidden; background: var(--mist); animation: preview-in var(--dur-m) var(--ease-spring) both; }
.preview img { width: 100%; height: 100%; object-fit: cover; }
.preview__name { position: absolute; inset: auto 0 0; padding: 4px 6px; font-size: 0.75rem; background: hsl(var(--ink-hsl) / 0.7); color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.preview__file { display: grid; place-items: center; height: 100%; font-family: var(--font-display); font-weight: 700; color: var(--color-text-muted); }
.preview__remove { position: absolute; top: 4px; right: 4px; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: hsl(var(--ink-hsl) / 0.75); color: #fff; }
.preview__remove:hover { background: var(--orange-strong); }
.preview__remove:active { transform: scale(0.92); }
@keyframes preview-in { from { opacity: 0; transform: scale(0.85); } }

/* Zusammenfassung */
.summary { display: grid; grid-template-columns: auto 1fr; gap: var(--s-2) var(--s-5); padding: var(--s-5); border-radius: var(--r-m); background: var(--color-surface-raised); border: 1px solid var(--color-border); }
.summary dt { color: var(--color-text-muted); }
.summary dd { font-weight: 600; overflow-wrap: anywhere; }
.summary__edit { grid-column: 1 / -1; justify-self: start; }

/* Fortschritt als Leitungslinie */
.progress { display: grid; gap: var(--s-2); }
.progress__pipe { position: relative; height: 4px; border-radius: 4px; background: var(--color-border); overflow: hidden; }
.progress__pipe span { position: absolute; inset: 0; background: linear-gradient(90deg, var(--blue-bright), var(--orange)); transform: scaleX(var(--p, 0.2)); transform-origin: left; transition: transform var(--dur-m) var(--ease-out); }
.progress__text { font-family: var(--font-display); font-weight: 650; color: var(--color-text-muted); font-size: 0.9375rem; font-variant-numeric: tabular-nums; }
.step-nav { display: flex; justify-content: space-between; gap: var(--s-3); }

/* Mehrstufig (nur mit JS) */
.is-stepped .step { display: none; }
.is-stepped .step.is-current { display: grid; animation: step-in var(--dur-s) var(--ease-out) both; }
.is-stepped .step.is-current.from-left { animation-name: step-in-left; }
@keyframes step-in { from { opacity: 0; transform: translateX(24px); } }
@keyframes step-in-left { from { opacity: 0; transform: translateX(-24px); } }
.is-stepped .step:last-of-type [data-submit] { justify-self: start; }
.btn.is-loading { pointer-events: none; }
.btn.is-loading .btn__arrow { animation: spin 900ms linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Erfolg: gezeichnetes Häkchen */
.success { display: grid; gap: var(--s-4); justify-items: start; padding: var(--s-7); border-radius: var(--r-l); background: var(--color-surface-raised); border: 1px solid var(--color-border); }
.success:focus { outline: none; }
.success__check { width: 72px; height: 72px; fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.success__check circle { stroke: var(--blue-bright); stroke-dasharray: 190; stroke-dashoffset: 190; animation: draw 700ms var(--ease-out) forwards; }
.success__check path { stroke: var(--orange); stroke-dasharray: 48; stroke-dashoffset: 48; animation: draw 450ms var(--ease-out) 550ms forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.area-card__title .label__dot { width: 12px; height: 12px; background: var(--orange-on-dark); }
.tone-blue .area-card__title .label__dot { background: var(--blue-bright); }

/* Durchgehende Leitungen (THESIS): rot und türkis laufen am linken Rand durch die hellen Sektionen */
.pipe-run {
  position: absolute;
  top: 0; bottom: 0;
  left: max(6px, calc((100vw - var(--container)) / 2 - 28px));
  width: 10px;
  pointer-events: none;
  z-index: 0;
}
.pipe-run::before, .pipe-run::after { content: ""; position: absolute; top: 0; bottom: 0; width: var(--line); border-radius: 2px; }
.pipe-run::before { left: 0; background: var(--orange); }
.pipe-run::after { left: 8px; background: repeating-linear-gradient(180deg, var(--blue-bright) 0 18px, transparent 18px 34px); }
/* Ende: beide Leitungen biegen in den Motto-Block ab */
.pipe-run--end { bottom: auto; height: calc(100% - 120px); }
.pipe-run--end::before, .pipe-run--end::after { background: none; border-left: var(--line) solid; border-bottom: var(--line) solid; border-bottom-left-radius: var(--bend); width: 48px; }
.pipe-run--end::before { border-color: var(--orange); }
.pipe-run--end::after { border-color: var(--blue-bright); bottom: 8px; width: 40px; }
.pipes--areas { display: none; }
/* Start im Hero: die Leitungen kommen aus dem Bild */
.pipe-run--hero { top: 58%; bottom: 0; z-index: 1; }
.pipe-run--hero::before { background: linear-gradient(180deg, transparent, var(--orange-on-dark) 30%); }
.pipe-run--hero::after { background: linear-gradient(180deg, transparent, var(--blue-bright) 30%); }
@media (max-width: 767px) {
  .pipe-run { left: 3px; }
  .pipe-run::after { left: 7px; }
}
.story.is-pinned .pipe-run, .refs.is-pinned .pipe-run { position: absolute; }

/* Siegel als Objekt */
.seal--lg { gap: var(--s-4); font-size: 1rem; }
.seal--lg .seal__mark { width: 64px; height: 64px; font-size: 1.5rem; }
.seal--lg .seal__mark::before { border-width: 3px; }

.motto__lead { font-family: var(--font-display); font-weight: 650; font-stretch: 90%; color: var(--color-text-muted); margin-bottom: var(--s-4); }

@media (max-width: 479px) {
  .closing__motto::before, .closing__motto::after { display: none; }
}

/* Temperatur ohne Bewegung: die kühle Sektion zeigt den Nebel-Ton statisch */
.reduce-motion [data-temp-zone="cool"],
.no-js [data-temp-zone="cool"] { background: var(--mist); }
@media (prefers-reduced-motion: reduce) { [data-temp-zone="cool"] { background: var(--mist); } }

.label__dot--head { display: inline-block; width: 14px; height: 14px; margin-right: 14px; vertical-align: 0.12em; background: var(--blue-bright); border-radius: 50%; }
.colleagues__title { display: flex; align-items: center; gap: 12px; }
.colleagues__title .label__dot { background: var(--steel); }

.nowrap { white-space: nowrap; }


/* ==========================================================================
   Fahrschule Roadtrip – Ergänzungen
   ========================================================================== */

/* Logo im Header und Footer */
.brand { padding-bottom: 0; }
.brand__logo img { height: 50px; width: auto; }
@media (min-width: 1024px) { .brand__logo img { height: 58px; } }
.site-footer .brand__logo img { height: 72px; }

/* Freigestelltes Logo als Vordergrund-Ebene im Hero */
.hero__logo {
  position: absolute;
  right: var(--gutter);
  bottom: -64px;
  z-index: var(--z-fore);
  width: clamp(112px, 15vw, 230px);
  filter: drop-shadow(0 18px 30px hsl(0 0% 0% / 0.45));
}
.hero__logo img { width: 100%; height: auto; }
@media (max-width: 767px) { .hero__logo { bottom: -44px; width: 100px; } }

/* Klassen-Plakette wie auf dem Führerschein */
.class-badge {
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  height: 44px;
  padding-inline: 8px;
  border-radius: var(--r-s);
  background: var(--orange);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 850;
  font-stretch: 110%;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  flex: none;
}
.tone-blue .class-badge { background: var(--blue-bright); color: var(--ink); }

/* Theorie-Woche */
.schedule__grid { display: grid; gap: var(--s-7); }
.schedule__text { display: grid; gap: var(--s-5); align-content: start; justify-items: start; }
@media (min-width: 1024px) {
  .schedule__grid { grid-template-columns: repeat(12, 1fr); column-gap: var(--s-5); align-items: start; }
  .schedule__text { grid-column: 1 / 5; }
  .week { grid-column: 5 / 13; }
}
.next-lesson { display: grid; gap: 2px; padding: var(--s-4) var(--s-5); border-radius: var(--r-m); background: var(--ink); color: var(--on-dark); }
.next-lesson__k { font-family: var(--font-display); font-stretch: 80%; font-weight: 650; font-size: 0.875rem; text-transform: uppercase; letter-spacing: var(--track-label); color: var(--on-dark-muted); }
.next-lesson__v { font-family: var(--font-display); font-weight: 800; font-size: var(--step-2); color: var(--orange-on-dark); font-variant-numeric: tabular-nums; }
.next-lesson__s { color: var(--on-dark-muted); }

.week { display: grid; gap: var(--s-2); }
.week__row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s-2); }
.week__day { font-family: var(--font-display); font-weight: 750; font-size: var(--step-1); padding-inline: 4px; }
.week__day.is-today { color: var(--orange-strong); }
.week__cell { display: grid; gap: var(--s-2); align-content: start; min-height: 220px; padding: var(--s-2); border-radius: var(--r-m); background: var(--color-surface-raised); border: 1px solid var(--color-border); }
.week__cell.is-today { border-color: var(--orange); box-shadow: 0 0 0 1px var(--orange); }
.lesson { position: relative; display: grid; gap: 2px; padding: var(--s-3) var(--s-3) var(--s-3); border-radius: var(--r-s); background: #fff; overflow: hidden; }
/* Farbcode als Punkt vor der Uhrzeit: Orange = Grundstoff, Blau = klassenspezifisch */
.lesson__time { display: inline-flex; align-items: center; gap: 6px; }
.lesson__time::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); flex: none; }
.lesson.tone-blue .lesson__time::before { background: var(--blue-bright); }
.lesson__time { font-family: var(--font-display); font-weight: 800; font-size: 1.0625rem; font-variant-numeric: tabular-nums; }
.lesson__title { font-weight: 650; font-size: 0.9375rem; hyphens: auto; overflow-wrap: anywhere; }
.lesson__classes { font-size: 0.875rem; color: var(--color-text-muted); }
@media (max-width: 767px) {
  .week__row--head { display: none; }
  .week__row { grid-template-columns: 1fr; }
  .week__cell { min-height: 0; grid-template-columns: 48px 1fr; align-items: start; }
  .week__cell::before { content: attr(data-day); }
}

/* Erste Hilfe & Jobs */
.extras { padding-top: var(--s-7); }
.extras__grid { display: grid; gap: var(--s-5); }
@media (min-width: 900px) { .extras__grid { grid-template-columns: 1fr 1fr; } }
.extra-card { display: grid; grid-template-columns: minmax(96px, 30%) 1fr; gap: var(--s-5); padding: var(--s-5); border-radius: var(--r-l); background: var(--color-surface-raised); border: 1px solid var(--color-border); align-items: center; }
.extra-card__media { display: block; aspect-ratio: 3 / 4; border-radius: var(--r-m); background: var(--mist); }
.extra-card__media img { object-fit: contain; }
.extra-card__body { display: grid; gap: var(--s-3); justify-items: start; }
.extra-card--dark { background: var(--ink); border-color: var(--ink); }
.extra-card--dark .extra-card__media { background: #000; aspect-ratio: 1; }

/* Anfahrt mit Karte */
.colleagues__inner--map { gap: var(--s-6); }
@media (min-width: 1024px) {
  .colleagues__inner.colleagues__inner--map { grid-template-columns: 5fr 7fr; }
}
.colleagues__inner--map .map-slot { aspect-ratio: 16 / 9; min-height: 280px; }
.tram { display: inline-grid; place-items: center; min-width: 28px; height: 28px; margin: 4px 6px 0 0; padding-inline: 6px; border-radius: 6px; background: var(--ink); color: var(--on-dark); font-family: var(--font-display); font-weight: 800; font-size: 0.9375rem; }

/* Porträt-Platzhalter über dem Bild */
.master__slot { position: absolute; left: var(--s-3); bottom: var(--s-3); z-index: 2; }

/* Abschluss mit Video */
.closing__bg .media { position: absolute; inset: 0; }
.closing__toggle.media__toggle { z-index: 3; }
.closing__bg { opacity: 0.45; }

/* Bürozeiten im Footer */
.office-state { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; margin-bottom: var(--s-3); }
.office-state__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--on-dark-muted); }
.office-state.is-open .office-state__dot { background: hsl(140 60% 50%); box-shadow: 0 0 0 4px hsl(140 60% 50% / 0.2); }
.hours { display: grid; gap: 4px; margin-bottom: var(--s-3); }
.hours > div { display: flex; justify-content: space-between; gap: var(--s-4); }
.hours dt { color: var(--on-dark-muted); }
.hours dd { font-variant-numeric: tabular-nums; font-weight: 600; }

/* Leiste „Nächste Theorie“: Zeit immer als hh:mm:ss */
.cd--bar .cd-sep--colon { display: inline; color: var(--on-dark-muted); }
.cd--bar .cd-sep--lead { display: inline; color: var(--on-dark-muted); margin-right: 4px; }
.cd--bar .cd-group + .cd-group { margin-left: 0; }
.cd--bar { gap: 2px; }
.cd-pre { color: var(--on-dark-muted); margin-right: 6px; }
.cd--bar [data-unit="d"] { margin-right: 6px; }
.cd--bar .cd-unit { display: inline; font-size: 0.85em; }
.cd-bar__when { font-family: var(--font-display); font-weight: 750; color: var(--on-dark); white-space: nowrap; }
@media (max-width: 767px) {
  .cd-bar__lead, .cd-bar__text, .cd-pre { display: none; }
  .cd-bar__when { display: inline; font-size: 0.875rem; }
}
.hero__title { max-width: 16ch; }
.story.is-pinned .story__intro .h2 { font-size: var(--step-3); }

/* Nächste Termine (Theorie-Seite) */
.upcoming { display: grid; gap: 0; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--color-border); }
.upcoming__item { display: grid; grid-template-columns: 10rem 12rem 1fr; gap: var(--s-4); align-items: baseline; padding-block: var(--s-4); border-bottom: 1px solid var(--color-border); }
.upcoming__when { font-family: var(--font-display); font-weight: 800; font-size: var(--step-1); font-variant-numeric: tabular-nums; }
.upcoming__date { color: var(--color-text-muted); font-variant-numeric: tabular-nums; }
.upcoming__item.tone-blue .upcoming__when { color: var(--blue); }
.upcoming__item.is-next .upcoming__when { color: var(--orange-strong); }
@media (max-width: 767px) { .upcoming__item { grid-template-columns: 1fr; gap: 2px; } }

/* Überschrift mit Klassen-Plakette */
.has-badge { display: flex; align-items: center; gap: var(--s-4); flex-wrap: wrap; }
.has-badge .class-badge { min-width: 56px; height: 56px; font-size: 1.5rem; }
.office-state--light .office-state__dot { background: var(--steel); }
.contact-address { display: grid; gap: var(--s-3); }
.spec--single { grid-template-columns: 1fr; }
@media (max-width: 767px) {
  .hero__logo { display: none; }
  .week__cell .lesson { grid-column: 2; }
  .week__cell::before { grid-row: 1 / span 3; font-family: var(--font-display); font-weight: 750; padding-top: var(--s-3); }
  .week__cell.is-today::before { color: var(--orange-strong); }
}

/* ==========================================================================
   Roadtrip auf der Rennstrecke
   ========================================================================== */
.race {
  position: relative;
  margin-top: clamp(var(--s-9), 10vw, 160px);
  padding-block: clamp(var(--s-9), 10vw, 160px) clamp(var(--s-9), 11vw, 170px);
  background: var(--ink);
  color: var(--on-dark);
  --color-text-muted: var(--on-dark-muted);
  clip-path: inset(-100px 0 0 0);
}

/* Ziellinie: Karoband direkt unter der Wölbung */
.race__checker {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 20px;
  opacity: 0.9;
  background: repeating-conic-gradient(var(--paper) 0 25%, var(--ink) 0 50%) 0 0 / 20px 20px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

/* Startnummer als riesige Konturschrift im Hintergrund */
.race__number {
  position: absolute;
  right: -2vw;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: 125%;
  font-size: clamp(14rem, 34vw, 34rem);
  line-height: 0.8;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 2px hsl(var(--orange-hsl) / 0.28);
  z-index: 0;
}
.race__number span { display: inline-block; }

/* Speed-Lines */
.speedlines { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.speedlines i { position: absolute; left: 0; height: 1.5px; border-radius: 2px; transform-origin: left; }
.speedlines i:nth-child(1) { top: 9%; width: 44%; background: linear-gradient(90deg, transparent, var(--orange)); }
.speedlines i:nth-child(2) { top: 11%; width: 28%; background: linear-gradient(90deg, transparent, var(--blue-bright)); }
.speedlines i:nth-child(3) { top: 88%; width: 56%; background: linear-gradient(90deg, transparent, hsl(0 0% 100% / 0.22)); }
.speedlines i:nth-child(4) { top: 93%; width: 40%; background: linear-gradient(90deg, transparent, var(--orange)); }
.speedlines i:nth-child(5) { top: 95%; width: 22%; background: linear-gradient(90deg, transparent, var(--blue-bright)); }

.race__grid { position: relative; z-index: 2; display: grid; gap: var(--s-8); }
.race__text { display: grid; gap: var(--s-6); align-content: center; justify-items: start; }
.race__title { font-size: clamp(2.6rem, 1.3rem + 4vw, 4.75rem); max-width: 12ch; font-stretch: 112%; hyphens: manual; }
.race__lead { font-size: var(--step-1); color: hsl(40 20% 96% / 0.86); max-width: 44ch; line-height: 1.5; }

.race-info { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 var(--s-5); width: 100%; }
.race-info > div { padding-block: var(--s-3); border-top: 1px solid hsl(0 0% 100% / 0.14); }
.race-info dt { display: flex; align-items: center; gap: 8px; font-size: 0.9375rem; color: var(--on-dark-muted); }
.race-info dt .icon { color: var(--orange-on-dark); }
.race-info dd { margin-top: 2px; font-family: var(--font-display); font-weight: 650; overflow-wrap: anywhere; }
.race-info__num { font-size: var(--step-3); font-weight: 900; font-stretch: 125%; line-height: 1; color: var(--orange-on-dark); letter-spacing: -0.03em; }

/* Drei Fotos in Ebenen: Mitzieher groß, Kurve und Logo als überlappende Abzüge */
.race__visual { position: relative; }
.race__main { aspect-ratio: 3 / 2; border-radius: var(--r-l); box-shadow: 0 40px 80px -40px hsl(0 0% 0% / 0.9); }
.race__print {
  position: absolute;
  border: 6px solid var(--paper);
  border-radius: var(--r-m);
  box-shadow: 0 30px 60px -24px hsl(0 0% 0% / 0.85);
  background: var(--paper);
}
.race__print img { border-radius: 6px; }
.race__print--curve { width: 46%; aspect-ratio: 1461 / 1025; left: -8%; bottom: -22%; rotate: -4deg; z-index: 2; }
.race__print--logo { width: 38%; right: -4%; top: -14%; rotate: 5deg; z-index: 3; }
.race__print--logo picture { inset: 0 0 26px 0; }
.race__print--logo figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; height: 26px;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 750; font-stretch: 85%; font-size: 0.8125rem; letter-spacing: 0.04em;
  color: var(--ink);
}
.race__print--logo::before { content: ""; display: block; padding-top: calc(9 / 16 * 100% + 26px); }

@media (min-width: 1024px) {
  .race__grid { grid-template-columns: repeat(12, 1fr); column-gap: var(--s-5); align-items: center; }
  .race__text { grid-column: 1 / 6; }
  .race__visual { grid-column: 7 / 13; }
}
@media (max-width: 1023px) {
  .race__visual { margin: var(--s-6) var(--s-3) var(--s-9); }
  .race__print--logo { top: -10%; right: -3%; width: 44%; }
  .race__print--curve { width: 54%; left: -3%; bottom: -26%; }
}
@media (max-width: 767px) {
  .race__number { font-size: 58vw; top: 18%; transform: none; }
  .speedlines i:nth-child(1) { top: 3%; }
  .speedlines i:nth-child(2) { top: 4%; }
}
