/* =========================================================
   HPS – Hammon Profi Service · Landing Mockup
   ========================================================= */

@font-face {
  font-family: "Archivo";
  src: url("assets/fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  src: url("assets/fonts/archivo-latin-ext.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* brand – taken from the vector logo */
  --navy: #062233;
  --ink: #031019;
  --ink-2: #071B28;
  --petrol: #1A4A6C;
  --cta: #1F6FA8;
  --cta-hover: #195C8C;
  --glacier: #8FD3FF;
  --steel: #7E8586;

  --paper: #F2F4F6;
  --white: #FFFFFF;
  --text: #0C1822;
  --text-muted: #56626C;
  --line: rgb(12 24 34 / .10);

  --on-dark: #F2F6F9;
  --on-dark-muted: #A3B4C2;
  --line-dark: rgb(255 255 255 / .12);

  --amber: #F5A623;
  --green: #30D158;
  --error: #C4122F;

  --font: "Archivo", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, system-ui, sans-serif;

  --fs-mega: clamp(3.1rem, 9.6vw, 9.5rem);
  --fs-h1: clamp(2.6rem, 6.6vw, 6.25rem);
  --fs-h2: clamp(2rem, 4.6vw, 4.25rem);
  --fs-h3: clamp(1.3rem, 2vw, 1.65rem);
  --fs-lead: clamp(1.0625rem, 1.7vw, 1.45rem);
  --fs-body: 1.0625rem;
  --fs-small: .9375rem;
  --fs-micro: .8125rem;

  --r-xl: 16px; --r-lg: 14px; --r-md: 10px; --r-sm: 8px; --r-pill: 999px; --r-btn: 12px;
  --gutter: clamp(20px, 5vw, 44px);
  --container: min(1240px, 100% - 2 * var(--gutter));
  --section-y: clamp(72px, 7vw, 104px);
  --overlap: 28px;

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --ease-spring: linear(0, .006, .025 2.8%, .101 6.1%, .539 18.9%, .721 25.3%, .849 31.5%, .937 38.1%, .968 41.8%, .991 45.7%, 1.006 50.1%, 1.015 55%, 1.017 63.9%, 1.001);

  --shadow-card: 0 1px 2px rgb(3 16 25 / .05), 0 18px 50px -18px rgb(3 16 25 / .22);
  --shadow-float: inset 0 1px 0 rgb(255 255 255 / .10), 0 30px 70px -24px rgb(0 0 0 / .65);

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
:where(section.on-light) { background: var(--paper); color: var(--text); }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.55;
  color: var(--text);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 750; letter-spacing: -.025em; line-height: 1.02; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.container { width: var(--container); margin-inline: auto; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

:focus-visible { outline: 3px solid var(--glacier); outline-offset: 3px; border-radius: 6px; }
.on-light :focus-visible { outline-color: var(--cta); }

.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  background: var(--white); color: var(--text); padding: 12px 18px; border-radius: var(--r-pill);
  font-weight: 600; text-decoration: none; transition: top .2s;
}
.skip-link:focus-visible { top: 16px; }

/* ---------- Display type ---------- */
.display {
  font-stretch: 125%;
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: .94;
}
.h2 { font-size: var(--fs-h2); font-stretch: 118%; font-weight: 780; letter-spacing: -.032em; }
.lead { font-size: var(--fs-lead); line-height: 1.38; font-weight: 450; letter-spacing: -.012em; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--cta); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border-radius: var(--r-pill); border: 0;
  background: var(--bg); color: var(--fg);
  font-weight: 650; font-size: 1.0625rem; letter-spacing: -.01em; text-decoration: none;
  cursor: pointer; white-space: nowrap;
  transition: background-color .25s var(--ease-out), transform .5s var(--ease-spring), box-shadow .3s;
}
.btn:hover { --bg: var(--cta-hover); }
.btn:active { transform: scale(.97); }
.btn--light { --bg: #fff; --fg: var(--navy); }
.btn--light:hover { --bg: #E6F4FF; }
.btn--ghost { --bg: rgb(255 255 255 / .1); --fg: #fff; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .22); }
.btn--ghost:hover { --bg: rgb(255 255 255 / .18); }
.btn--outline { --bg: transparent; --fg: var(--text); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--outline:hover { --bg: rgb(12 24 34 / .05); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: .9375rem; }
.btn .icon { width: 1.15em; height: 1.15em; }

.link-chevron {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
  font-weight: 600; text-decoration: none; color: var(--cta);
}
.on-dark .link-chevron { color: var(--glacier); }
.link-chevron::after { content: ""; width: .5em; height: .5em; border: solid currentColor; border-width: 2px 2px 0 0; transform: rotate(45deg); transition: transform .3s var(--ease-out); }
.link-chevron:hover::after { transform: translateX(3px) rotate(45deg); }
.link-chevron:hover { text-decoration: underline; text-underline-offset: 4px; }

/* =========================================================
   NAV – floating liquid glass; on touch the bar grows into the menu
   ========================================================= */
.nav {
  position: fixed; inset: 12px 0 auto; z-index: 50;
  display: flex; justify-content: center; pointer-events: none;
}
.nav__scrim {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: rgb(3 16 25 / .5);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .45s var(--ease-out);
}
.nav.is-open .nav__scrim { opacity: 1; pointer-events: auto; }
html.nav-open { overflow: hidden; }

.nav__bar {
  pointer-events: auto; position: relative; isolation: isolate;
  width: min(1180px, 100% - 24px);
  border-radius: 32px; color: #fff;
  transition: width .6s var(--ease-out), border-radius .5s var(--ease-out), color .3s;
}
.nav__bar::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: linear-gradient(180deg, rgb(255 255 255 / .16), rgb(255 255 255 / .04)), rgb(6 34 51 / .38);
  backdrop-filter: blur(22px) saturate(180%); -webkit-backdrop-filter: blur(22px) saturate(180%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .28), inset 0 0 0 1px rgb(255 255 255 / .12), 0 18px 40px -18px rgb(0 0 0 / .5);
  opacity: 0; transition: opacity .4s, background-color .3s;
}
.nav:not(.is-scrolled) .nav__bar:not(.is-open) { width: var(--container); }
.nav:not(.is-scrolled) .nav__bar:not(.is-open) .nav__row { padding-inline: 0; }
.nav.is-scrolled .nav__bar { width: min(1040px, 100% - 24px); }
.nav.is-scrolled .nav__bar::before, .nav__bar.is-open::before { opacity: 1; }
.nav__bar.is-open::before { background: linear-gradient(180deg, rgb(255 255 255 / .1), rgb(255 255 255 / .02)), rgb(6 30 46 / .92); }
.nav.is-light .nav__bar:not(.is-open) { color: var(--text); }
.nav.is-light .nav__bar:not(.is-open)::before {
  background: linear-gradient(180deg, rgb(255 255 255 / .82), rgb(255 255 255 / .62));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .9), inset 0 0 0 1px rgb(12 24 34 / .08), 0 18px 40px -20px rgb(3 16 25 / .35);
}

.nav__row { display: flex; align-items: center; gap: 20px; height: 64px; padding: 0 10px 0 18px; transition: padding .5s var(--ease-out); }
.nav__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.nav__mark { width: 38px; height: 38px; }
.nav__word {
  width: 92px; height: 33px; background: currentColor;
  -webkit-mask: url("assets/logo/hps-wordmark-white.svg") no-repeat left center / contain;
          mask: url("assets/logo/hps-wordmark-white.svg") no-repeat left center / contain;
}
.nav__expand { margin-left: auto; }
.nav__links { display: flex; gap: 4px; }
.nav__links a {
  white-space: nowrap;
  padding: 10px 14px; border-radius: var(--r-pill); text-decoration: none;
  font-size: .9375rem; font-weight: 550; opacity: .86; transition: opacity .2s, background-color .2s;
}
.nav__links a:hover { opacity: 1; background: rgb(255 255 255 / .1); }
.nav.is-light .nav__links a:hover { background: rgb(12 24 34 / .06); }
.nav__tel { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9375rem; text-decoration: none; padding: 10px 12px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.nav__cta { flex: none; }

/* burger → close */
.nav__menu-btn {
  display: none; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: rgb(255 255 255 / .12); color: inherit; cursor: pointer; transition: background-color .2s;
}
.nav.is-light .nav__bar:not(.is-open) .nav__menu-btn { background: rgb(12 24 34 / .06); }
.burger { position: relative; width: 18px; height: 12px; }
.burger i { position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform .5s var(--ease-spring), top .3s var(--ease-out); }
.burger i:first-child { top: 1px; }
.burger i:last-child { top: 9px; }
.nav__bar.is-open .burger i { top: 5px; }
.nav__bar.is-open .burger i:first-child { transform: rotate(45deg); }
.nav__bar.is-open .burger i:last-child { transform: rotate(-45deg); }

/* menu panel: the bar itself expands downwards */
.nav__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease-out); }
.nav__panel-inner { min-height: 0; overflow: hidden; }
.nav__bar.is-open .nav__panel { grid-template-rows: 1fr; }
.nav__bar.is-open .nav__panel-inner { overflow-y: auto; max-height: calc(100svh - 100px); overscroll-behavior: contain; }
.nav__panel-content { padding: 2px 20px 22px; }
.nav__big a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 15px 2px; text-decoration: none; border-bottom: 1px solid rgb(255 255 255 / .1);
  font-size: clamp(1.45rem, 6.4vw, 1.85rem); font-weight: 750; font-stretch: 118%; letter-spacing: -.025em;
}
.nav__big a .icon { width: 22px; height: 22px; opacity: .45; transition: transform .3s var(--ease-out), opacity .2s; }
.nav__big a:hover .icon, .nav__big a:focus-visible .icon { transform: translateX(3px); opacity: 1; }
.nav__big a, .nav__quick, .nav__status { opacity: 0; transform: translateY(12px); transition: opacity .25s var(--ease-out), transform .4s var(--ease-out); }
.nav__bar.is-open .nav__big a, .nav__bar.is-open .nav__quick, .nav__bar.is-open .nav__status {
  opacity: 1; transform: none; transition-delay: calc(120ms + var(--i, 0) * 40ms);
}
.nav__big a:nth-child(2) { --i: 1; } .nav__big a:nth-child(3) { --i: 2; } .nav__big a:nth-child(4) { --i: 3; } .nav__big a:nth-child(5) { --i: 4; }
.nav__quick { --i: 5; } .nav__status { --i: 6; }
.nav__quick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 20px; }
.nav__quick a {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px;
  border-radius: var(--r-btn); background: rgb(255 255 255 / .08); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1);
  text-decoration: none; font-weight: 650; font-size: .9375rem;
}
.nav__quick a.primary { grid-column: 1 / -1; background: var(--cta); box-shadow: none; }
.nav__status { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 16px; font-size: var(--fs-small); color: var(--on-dark-muted); }

@media (max-width: 1240px) { .nav__tel { display: none; } }
@media (min-width: 1101px) { .nav__panel { display: none; } }
@media (max-width: 1100px) {
  .nav__expand, .nav__tel { display: none; }
  .nav__cta { margin-left: auto; }
  .nav__menu-btn { display: inline-grid; }
  .nav__bar.is-open { width: min(620px, 100% - 24px); border-radius: 20px; }
  .nav__bar.is-open .nav__cta { display: none; }
  .nav__bar.is-open .nav__menu-btn { margin-left: auto; }
}
@media (max-width: 520px) {
  .nav__cta { display: none; }
  .nav__menu-btn { margin-left: auto; }
  .nav__row { height: 58px; padding: 0 7px 0 14px; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; min-height: 100svh; color: var(--on-dark);
  display: grid; align-items: end; isolation: isolate; overflow: clip;
  padding: 140px 0 0;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 80% 50%;
  transform: scale(1.1); filter: saturate(1.1);
  animation: hero-in 2.4s var(--ease-out) .05s forwards;
}
.hero__media picture { display: block; height: 100%; }
@media (min-aspect-ratio: 4/5) {
  .hero__media img { position: absolute; inset: 0 0 0 16%; width: 84%; object-position: 46% 55%;
    -webkit-mask: linear-gradient(90deg, transparent, #000 22%); mask: linear-gradient(90deg, transparent, #000 22%); }
}
@keyframes hero-in { to { transform: scale(1); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgb(3 16 25 / .78) 0%, rgb(3 16 25 / .35) 38%, transparent 62%),
    radial-gradient(80% 60% at 70% 38%, transparent 0%, rgb(3 16 25 / .2) 60%, rgb(3 16 25 / .78) 100%),
    linear-gradient(180deg, rgb(3 16 25 / .55) 0%, transparent 26%, transparent 46%, rgb(3 16 25 / .92) 86%, var(--ink) 100%);
}
.hero__inner { padding-bottom: clamp(28px, 5vw, 56px); }
.hero__title { font-size: var(--fs-mega); max-width: 12ch; }
.hero__title .line { display: block; overflow: clip; padding-bottom: .06em; margin-bottom: -.06em; }
.hero__title .line > span { display: block; transform: translateY(105%); animation: line-up 1.2s var(--ease-out) forwards; }
.hero__title .line:nth-child(2) > span { animation-delay: .12s; }
@keyframes line-up { to { transform: none; } }
.hero__row { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; margin-top: 28px; }
.hero__lead { max-width: 44ch; color: var(--on-dark-muted); }
.hero__lead strong { color: var(--on-dark); font-weight: 600; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.fade-in { opacity: 0; transform: translateY(14px); animation: fade-up 1s var(--ease-out) forwards; }
.fade-in.d1 { animation-delay: .45s; } .fade-in.d2 { animation-delay: .6s; } .fade-in.d3 { animation-delay: .75s; }
@keyframes fade-up { to { opacity: 1; transform: none; } }

/* quick actions – glass dock */
.dock {
  margin-top: clamp(32px, 5vw, 56px);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  border-radius: var(--r-lg); overflow: clip;
  background: rgb(255 255 255 / .1);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .16);
}
.dock__item {
  display: flex; gap: 14px; align-items: flex-start; padding: 20px 22px;
  background: rgb(6 30 46 / .82); text-decoration: none; color: var(--on-dark);
  transition: background-color .3s;
  position: relative;
}
.dock__item:hover { background: rgb(26 74 108 / .62); }
.dock__icon { display: grid; place-items: center; color: var(--glacier); flex: none; padding-top: 1px; }
.dock__icon .icon { width: 22px; height: 22px; }
.dock__t { font-weight: 650; letter-spacing: -.01em; display: block; }
.dock__s { font-size: var(--fs-micro); color: var(--on-dark-muted); display: block; margin-top: 2px; line-height: 1.4; }
.dock__ext { position: absolute; top: 16px; right: 16px; width: 14px; height: 14px; opacity: .55; }
@media (max-width: 900px) { .dock { grid-template-columns: 1fr 1fr; } }
/* portrait screens (phones, tablets upright): art-directed crop, image owns the upper part */
@media (max-aspect-ratio: 4/5) {
  .hero { --band: clamp(250px, 44svh, 480px); display: block; min-height: 0; padding-top: calc(var(--band) - 24px); }
  .hero__media { inset: 0 0 auto 0; height: var(--band); }
  .hero__media img { object-position: 50% 80%; }
  .hero::before { inset: 0 0 auto 0; height: var(--band); background: linear-gradient(180deg, rgb(3 16 25 / .55) 0%, rgb(3 16 25 / 0) 20%, rgb(3 16 25 / 0) 70%, var(--ink) 100%); }
}
@media (max-width: 560px) {
  .hero__title { font-size: clamp(2.7rem, 13vw, 3.6rem); }
  .hero__row { gap: 22px; margin-top: 18px; }
  .hero__ctas { width: 100%; display: grid; grid-template-columns: 1.45fr 1fr; gap: 10px; }
  .hero__ctas .btn { padding: 0 14px; }
  .dock { margin-top: 28px; }
}
@media (max-width: 480px) { .dock__item { padding: 16px; gap: 12px; } .dock__s { display: none; } .dock__icon { width: 36px; height: 36px; } }

/* =========================================================
   SIGNATURE – emblem spin & split
   ========================================================= */
.split { position: relative; height: calc(100svh + min(85svh, 900px)); background: var(--ink); color: var(--on-dark); --p: 0; }
.split__stage { position: sticky; top: 0; height: 100svh; overflow: clip; display: grid; place-items: center; }
.split__glow {
  position: absolute; inset: 0;
  background: radial-gradient(56% 56% at 50% 50%, rgb(31 111 168 / .4), transparent 70%);
  opacity: calc(.38 + var(--p) * .62);
  pointer-events: none;
}
.split__intro {
  position: absolute; top: clamp(96px, 14svh, 150px); left: 0; right: 0; text-align: center;
  opacity: calc(1 - var(--p) * 3.2);
  transform: translateY(calc(var(--p) * -60px));
}
.split__intro .h2 { font-size: clamp(1.9rem, 4.2vw, 3.6rem); }

.emblem {
  /* sized by the viewport height too, so the headline above always keeps its distance */
  --size: max(140px, min(46vmin, 440px, calc(100svh - 360px)));
  --spin: calc(var(--p-spin, 0) * 1turn);
  --gap: calc(var(--p-split, 0) * min(34vw, 480px));
  perspective: 1200px;
  position: relative; width: var(--size); aspect-ratio: 142 / 141.4; margin-top: 18svh;
  transform: rotate(var(--spin)) scale(calc(1 - var(--p-split, 0) * .18));
}
.emblem__half {
  position: absolute; inset: 0;
  -webkit-mask: url("assets/logo/hps-mark-mask.svg") no-repeat center / contain;
  mask: url("assets/logo/hps-mark-mask.svg") no-repeat center / contain;
}
.split.is-live .emblem, .split.is-live .emblem__half, .split.is-live .emblem__shine i { will-change: transform; }
.split.is-live .split__glow { will-change: opacity; }
.split.is-live :is(.split__intro, .split__side, .split__center) { will-change: transform, opacity; }
.split.shine-off .emblem__shine { visibility: hidden; }
.emblem__half--rim {
  clip-path: inset(0 50.4% 0 0);
  background: linear-gradient(160deg, #CFEBFF 0%, #8FD3FF 30%, #1F6FA8 70%, #0A3A5A 100%);
  transform: translateX(calc(var(--gap) * -1)) rotateY(calc(var(--p-split, 0) * 22deg));
  transform-origin: 100% 50%;
}
.emblem__half--disc {
  clip-path: inset(0 0 0 49.6%);
  background: linear-gradient(200deg, #FFFFFF 0%, #C9D1D6 35%, #7E8586 70%, #3E4549 100%);
  transform: translateX(var(--gap)) rotateY(calc(var(--p-split, 0) * -22deg));
  transform-origin: 0% 50%;
}
.emblem__shine {
  position: absolute; inset: 0; overflow: hidden;
  -webkit-mask: url("assets/logo/hps-mark-mask.svg") no-repeat center / contain;
  mask: url("assets/logo/hps-mark-mask.svg") no-repeat center / contain;
  opacity: calc(.6 - var(--p-split, 0) * 4);
}
/* the light sweep moves as a transform – no repaint of the masked layer */
.emblem__shine i {
  position: absolute; inset: 0 -100%;
  background: linear-gradient(110deg, transparent 44%, rgb(255 255 255 / .7) 50%, transparent 56%);
  transform: translateX(calc((var(--p-spin, 0) * 2 - 1) * 33.4%));
}
/* load assembly */
.emblem.is-assembling .emblem__half--rim { animation: rim-in .9s var(--ease-spring) both; }
.emblem.is-assembling .emblem__half--disc { animation: disc-in .9s var(--ease-spring) both; }
@keyframes rim-in { from { transform: translateX(-38vw) rotate(-40deg); opacity: 0; } }
@keyframes disc-in { from { transform: translateX(38vw) rotate(40deg); opacity: 0; } }

.split__sides {
  position: absolute; top: calc(50% + 9svh); left: 50%;
  width: min(680px, 56vw); translate: -50% -50%;
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start;
}
.split__side { opacity: var(--p-text, 0); transform: translateY(calc((1 - var(--p-text, 0)) * 24px)); }
.split__side--l { text-align: right; }
.split__side h3 { font-size: clamp(2rem, 3.6vw, 3.4rem); font-stretch: 125%; font-weight: 800; letter-spacing: -.035em; margin-bottom: 18px; }
.split__side--l h3 { color: var(--glacier); }
/* hidden text cannot be tapped; keyboard focus shows it (app.js also scrolls it into its visible state) */
.split:not(.text-on) .split__side { pointer-events: none; }
.split__side:focus-within { opacity: 1; transform: none; }
.split__side li { padding: 11px 0; border-top: 1px solid var(--line-dark); color: var(--on-dark-muted); font-size: var(--fs-small); }
.split__side li:last-child { border-bottom: 1px solid var(--line-dark); }
.split__side .link-chevron { margin-top: 18px; }
.split__center {
  position: absolute; bottom: clamp(36px, 9svh, 90px); left: 0; right: 0; text-align: center;
  opacity: var(--p-end, 0); transform: translateY(calc((1 - var(--p-end, 0)) * 20px));
  font-size: var(--fs-lead); color: var(--on-dark-muted);
}

/* portrait phones and tall screens; small phones in landscape keep the side-by-side layout */
@media (max-width: 760px) and (max-aspect-ratio: 1/1), (max-aspect-ratio: 4/5) {
  .split { height: calc(100svh + min(65svh, 600px)); }
  .split__intro { top: max(96px, 13svh); }
  .split__intro .h2 { font-size: clamp(1.75rem, 8vw, 2.4rem); }
  .emblem { --size: min(62vw, 300px); --gap: calc(var(--p-split, 0) * 27vw); margin-top: 18svh; transform: rotate(var(--spin)) translateY(calc(var(--p-split, 0) * -20svh)) scale(calc(1 - var(--p-split, 0) * .32)); }
  .split__sides { top: auto; bottom: calc(92px + env(safe-area-inset-bottom)); translate: -50% 0; width: calc(100% - 2 * var(--gutter)); gap: 20px; }
  .split__side h3 { font-size: clamp(1.5rem, 7vw, 1.9rem); font-stretch: 115%; margin-bottom: 8px; }
  .split__side li { padding: 9px 0; font-size: .875rem; line-height: 1.3; }
  .split__side .link-chevron { font-size: .9375rem; margin-top: 6px; }
  .split__center { display: none; }
}

/* =========================================================
   LIGHT SHEET – services bento
   ========================================================= */
.sheet {
  position: relative; z-index: 2;
  background: var(--paper); color: var(--text);
  border-radius: var(--overlap) var(--overlap) 0 0; margin-top: calc(var(--overlap) * -1);
  padding: var(--section-y) 0;
}
.sec-head { display: grid; grid-template-columns: 1.25fr .75fr; gap: 24px 64px; align-items: end; margin-bottom: clamp(32px, 4.5vw, 56px); }
.sec-head .lead { color: var(--text-muted); max-width: 46ch; }
.sec-head--center { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.sec-head--stack { grid-template-columns: 1fr; gap: 16px; }
.sec-head--stack .h2 { max-width: 20ch; }
.on-dark .sec-head .lead { color: var(--on-dark-muted); }
@media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; } }

/* services: one card type. Photo, title, text, "Anfragen" link; the whole card is the link */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.svc {
  --media-h: clamp(200px, 17vw, 240px);
  grid-column: span 2; position: relative; isolation: isolate;
  display: flex; flex-direction: column;
  border-radius: var(--r-xl); background: var(--white); overflow: clip;
}
.svc--half { grid-column: span 3; }
.svc--lead { grid-column: span 4; }
.svc--top { --media-h: clamp(260px, 24vw, 340px); }
.svc__media { height: var(--media-h); flex: none; overflow: clip; background: var(--navy); }
.svc__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.62) contrast(1.04); transition: transform .8s var(--ease-out); }
.svc__body { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 24px 24px 12px; }
.svc h3 { font-size: var(--fs-h3); font-stretch: 112%; }
.svc p { color: var(--text-muted); font-size: var(--fs-small); max-width: 46ch; }
.svc__link { margin-top: auto; padding-top: 4px; }
.svc__link::before { content: ""; position: absolute; inset: 0; z-index: 1; }
.svc__link:focus-visible { outline: none; }
.svc:has(.svc__link:focus-visible) { outline: 3px solid var(--cta); outline-offset: 3px; }
@supports not selector(:has(*)) { .svc__link:focus-visible { outline: 3px solid var(--cta); } }
@media (hover: hover) {
  .svc:hover .svc__media img { transform: scale(1.03); }
}
.t-hu .svc__media img { object-position: 50% 30%; }
.t-unfall .svc__media img { object-position: 70% 40%; }
.t-reifen .svc__media img { object-position: 50% 45%; }

/* the warranty note: information, not a service, so no card */
.svc-note { display: grid; grid-template-columns: 1fr 3fr; gap: 12px 56px; align-items: baseline; margin-top: clamp(40px, 4vw, 56px); }
.svc-note h3 { font-size: var(--fs-h3); font-stretch: 112%; }
.svc-note p { max-width: 60ch; }

@media (max-width: 980px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc, .svc--half { grid-column: span 1; --media-h: clamp(180px, 26vw, 240px); }
  .svc--lead { grid-column: 1 / -1; --media-h: clamp(240px, 40vw, 340px); }
  .svc-note { grid-template-columns: 1fr; }
}

/* contact info boxes */
.tile { position: relative; border-radius: var(--r-xl); background: var(--white); padding: 28px; display: flex; flex-direction: column; gap: 8px; }
@media (max-width: 560px) { .tile { padding: 22px; } }

/* further services: a quiet index, not chips */
.more { display: grid; grid-template-columns: 1fr 3fr; gap: 32px 56px; margin-top: clamp(40px, 4vw, 56px); padding-top: clamp(24px, 2.4vw, 32px); border-top: 1px solid var(--line); }
.more__intro h3 { font-size: var(--fs-h3); font-stretch: 112%; }
.more__intro p { margin-top: 10px; color: var(--text-muted); font-size: var(--fs-small); max-width: 28ch; }
.more__groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 32px; }
.more__title { font-size: var(--fs-micro); font-weight: 600; color: var(--text-muted); letter-spacing: 0; margin: 4px 0 10px; }
.more__group a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  min-height: 48px; padding: 10px 0; border-top: 1px solid var(--line);
  text-decoration: none; font-weight: 550; letter-spacing: -.01em;
  transition: color .2s;
}
.more__group li:last-child a { border-bottom: 1px solid var(--line); }
.more__group a .icon { width: 18px; height: 18px; flex: none; color: var(--cta); opacity: .45; transition: opacity .25s, transform .35s var(--ease-out); }
.more__group a:hover { color: var(--cta); }
.more__group a:hover .icon, .more__group a:focus-visible .icon { opacity: 1; transform: translateX(3px); }
@media (max-width: 980px) { .more { grid-template-columns: 1fr; gap: 20px; } }

/* =========================================================
   REIFEN – dark section with configurator + request
   ========================================================= */
.tires { background: var(--ink); color: var(--on-dark); padding: var(--section-y) 0 calc(var(--section-y) + var(--overlap)); position: relative; overflow: clip; }
.tires .container { position: relative; }
.tire-cards { display: grid; grid-template-columns: 1.35fr 1fr; gap: 14px; margin-bottom: 14px; }
.cfg {
  position: relative; overflow: clip; isolation: isolate; border-radius: var(--r-xl);
  min-height: 440px; padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; justify-content: flex-end; gap: 14px;
  background: var(--navy); text-decoration: none; color: #fff;
}
.cfg img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transition: transform 1.4s var(--ease-out); }
.cfg::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(200deg, transparent 20%, rgb(3 16 25 / .9) 85%); }
.cfg:hover img { transform: scale(1.03); }
.cfg h3 { font-size: clamp(2rem, 3.6vw, 3.2rem); font-stretch: 120%; font-weight: 800; letter-spacing: -.035em; max-width: 13ch; }
.cfg p { color: rgb(255 255 255 / .78); max-width: 42ch; }
.cfg .btn { align-self: flex-start; margin-top: 8px; }

.season {
  border-radius: var(--r-xl); padding: clamp(28px, 4vw, 40px); position: relative; overflow: clip; isolation: isolate;
  background: linear-gradient(160deg, #0E2F45, #062233 60%);
  box-shadow: inset 0 0 0 1px var(--line-dark);
  display: flex; flex-direction: column; gap: 14px;
}
.season img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.season::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(6 34 51 / .35), rgb(6 34 51 / .95) 75%); }
.season__progress { display: grid; gap: 8px; margin-top: 4px; }
.season__status { font-weight: 650; font-size: var(--fs-small); color: var(--on-dark); }
.season .btn { align-self: flex-start; }
/* opening status: a still colour dot, no pulse */
.dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
.dot--green { background: var(--green); }
.dot--off { background: #8A97A5; }
.season h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-stretch: 118%; font-weight: 800; letter-spacing: -.03em; margin-top: auto; }
.season p { color: var(--on-dark-muted); }
.season__bar { height: 6px; border-radius: 6px; background: rgb(255 255 255 / .12); overflow: hidden; }
.season__bar i { display: block; height: 100%; border-radius: inherit; background: var(--glacier); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease-out); }
.season__legend { display: flex; justify-content: space-between; font-size: var(--fs-micro); color: var(--on-dark-muted); }
@media (max-width: 900px) { .tire-cards { grid-template-columns: 1fr; } .cfg { min-height: 380px; } }

/* ---------- request card (shared by tire & service forms) ---------- */
.req {
  border-radius: var(--r-xl);
  background: var(--white); color: var(--text);
  box-shadow: var(--shadow-float);
  display: grid; grid-template-columns: .82fr 1.18fr;
  overflow: clip;
}
.req__aside { padding: clamp(28px, 4vw, 48px); background: var(--paper); display: flex; flex-direction: column; gap: 18px; }
.req__aside h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-stretch: 118%; font-weight: 800; letter-spacing: -.032em; }
.req__aside p { color: var(--text-muted); }
.ticks { display: grid; gap: 10px; margin-top: 4px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 550; font-size: var(--fs-small); }
.ticks .icon { color: var(--cta); margin-top: 1px; }
.req__img { margin-top: auto; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-md); filter: saturate(.82) contrast(1.05); }
.req__img + .req__contact { margin-top: 0; }
.req__contact { margin-top: auto; display: flex; align-items: center; gap: 14px; padding-top: 18px; border-top: 1px solid var(--line); }
.req__contact .avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--navy); display: grid; place-items: center; flex: none; padding: 8px; }
.req__contact small { display: block; color: var(--text-muted); font-size: var(--fs-micro); }
.req__contact a { font-weight: 700; text-decoration: none; font-variant-numeric: tabular-nums; }
.req__main { padding: clamp(24px, 4vw, 48px); min-width: 0; }
@media (max-width: 900px) { .req { grid-template-columns: 1fr; } .req__contact, .req__img { display: none; } }

/* progress */
.steps { display: flex; gap: 6px; margin-bottom: 10px; }
.steps i { flex: 1; height: 4px; border-radius: 4px; background: rgb(12 24 34 / .1); overflow: hidden; position: relative; }
.steps i::after { content: ""; position: absolute; inset: 0; background: var(--cta); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out); }
.steps i.done::after { transform: scaleX(1); }
[data-step-label] { white-space: nowrap; }
.step-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: var(--fs-micro); color: var(--text-muted); margin-bottom: 22px; min-height: 30px; }
.summary { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.summary span { padding: 5px 10px; border-radius: var(--r-pill); background: #E6F1FA; color: var(--petrol); font-weight: 650; }

fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; font-size: clamp(1.4rem, 2.2vw, 1.8rem); font-weight: 750; font-stretch: 110%; letter-spacing: -.02em; margin-bottom: 6px; }
.hint { color: var(--text-muted); font-size: var(--fs-small); margin-bottom: 20px; }
.js .fs-step:not(.is-active) { display: none; }
.fs-step { view-transition-name: form-step; }
::view-transition-old(form-step) { animation: vt-out .28s var(--ease-io) both; }
::view-transition-new(form-step) { animation: vt-in .45s var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; transform: translateX(calc(var(--vt-dir, 1) * -24px)); } }
@keyframes vt-in { from { opacity: 0; transform: translateX(calc(var(--vt-dir, 1) * 24px)); } }

/* option tiles */
.opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.opts--2 { grid-template-columns: repeat(2, 1fr); }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opt__box {
  display: flex; flex-direction: column; gap: 10px; min-height: 100%;
  padding: 18px; border-radius: var(--r-md);
  box-shadow: inset 0 0 0 1.5px var(--line);
  background: var(--white);
  transition: box-shadow .2s, background-color .2s, transform .4s var(--ease-spring);
}
.opt__box .icon { width: 28px; height: 28px; color: var(--petrol); }
.opt__box b { font-weight: 700; letter-spacing: -.01em; }
.opt__box small { color: var(--text-muted); font-size: var(--fs-micro); line-height: 1.4; }
.opt:hover .opt__box { box-shadow: inset 0 0 0 1.5px rgb(31 111 168 / .45); }
.opt input:checked + .opt__box { box-shadow: inset 0 0 0 2px var(--cta); background: #F0F7FC; }
.opt input:checked + .opt__box::after { content: ""; position: absolute; top: 14px; right: 14px; width: 20px; height: 20px; border-radius: 50%; background: var(--cta) 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='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat; }
.opt input:focus-visible + .opt__box { outline: 3px solid var(--cta); outline-offset: 2px; }
.opt input:active + .opt__box { transform: scale(.98); }
.sub-label { font-weight: 650; font-size: var(--fs-small); margin: 22px 0 10px; display: block; }
@media (max-width: 560px) {
  .opts { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .opts .opt__box { padding: 14px 12px; }
  .opts .opt__box small { display: none; }
  .opts--1m { grid-template-columns: 1fr; }
  .opts--1m .opt__box small { display: block; }
}
@media (max-height: 950px) and (min-width: 641px) { .sidewall svg { max-height: 200px; margin-inline: auto; width: auto; } }

/* segmented / chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chipbox { position: relative; }
.chipbox input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chipbox span {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border-radius: var(--r-pill);
  box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 600; font-size: var(--fs-small); background: var(--white);
  transition: background-color .2s, color .2s, box-shadow .2s;
}
.chipbox:hover span { box-shadow: inset 0 0 0 1.5px rgb(31 111 168 / .45); }
.chipbox input:checked + span { background: var(--navy); color: #fff; box-shadow: none; }
.chipbox input:focus-visible + span { outline: 3px solid var(--cta); outline-offset: 2px; }

/* fields */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: var(--fs-small); }
.field label small { color: var(--text-muted); font-weight: 500; }
.input, .select, .textarea {
  width: 100%; min-height: 52px; padding: 13px 16px; border-radius: var(--r-sm);
  border: 0; background: #F2F4F6; box-shadow: inset 0 0 0 1.5px transparent;
  font-size: 1rem; transition: box-shadow .2s, background-color .2s;
}
.textarea { min-height: 110px; resize: vertical; }
.input::placeholder, .textarea::placeholder { color: #6B7680; }
.input[type="date"] { color: var(--text-muted); }
.input[type="date"]:valid { color: var(--text); }
.input::-webkit-calendar-picker-indicator { opacity: .5; cursor: pointer; }
.select { appearance: none; background: #F2F4F6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2356626C' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E") right 12px center / 20px no-repeat; padding-right: 40px; }
.input:hover, .select:hover, .textarea:hover { background-color: #ECEFF2; }
.input:focus, .select:focus, .textarea:focus { outline: none; background-color: #fff; box-shadow: inset 0 0 0 2px var(--cta); }
.field.has-error .input, .field.has-error .select { box-shadow: inset 0 0 0 2px var(--error); background-color: #FFF5F6; }
.err { color: var(--error); font-size: var(--fs-micro); font-weight: 600; display: none; }
.field.has-error .err { display: block; }
@media (max-width: 560px) { .grid-2 { grid-template-columns: 1fr; } }

.form-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.form-nav .btn[hidden] { display: none; }
.btn-back { background: none; border: 0; font-weight: 600; color: var(--text-muted); cursor: pointer; padding: 12px 4px; display: inline-flex; align-items: center; gap: 6px; }
.btn-back:hover { color: var(--text); }
.legal { font-size: var(--fs-micro); color: var(--text-muted); margin-top: 16px; }
.legal a { color: var(--petrol); }
.hp { position: absolute; left: -9999px; }

/* sidewall decoder */
.sidewall {
  position: relative; border-radius: var(--r-lg); overflow: clip; margin-bottom: 20px;
  background: radial-gradient(120% 140% at 50% 120%, #1B2128 0%, #0A0D10 60%);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .06);
}
.sidewall svg { width: 100%; height: auto; }
.sw-code { font-family: var(--font); font-stretch: 125%; font-weight: 800; font-size: 46px; letter-spacing: 1px; fill: #3A434C; transition: fill .3s; }
.sw-code tspan { transition: fill .3s; }
.sw-code tspan.is-set { fill: #C9D3DA; }
.sw-code tspan.is-focus { fill: var(--glacier); filter: drop-shadow(0 0 10px rgb(143 211 255 / .8)); }
.sw-code { paint-order: stroke; stroke: rgb(0 0 0 / .6); stroke-width: 1px; }
.sw-small { font-family: var(--font); font-weight: 700; font-size: 15px; letter-spacing: 3px; fill: #2C343B; }
.sw-caption {
  position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; color: #A3B4C2;
  font-size: var(--fs-micro); font-weight: 600; min-height: 1.4em;
}
.sw-caption b { color: var(--glacier); }
.size-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.size-grid .field label { font-size: var(--fs-micro); color: var(--text-muted); }
.size-grid .select { padding: 12px 30px 12px 12px; background-position: right 6px center; font-weight: 700; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) {
  .size-grid { grid-template-columns: repeat(3, 1fr); }
  .sidewall { padding-bottom: 12px; }
  .sw-caption { position: static; padding: 0 12px; }
}
.unknown { margin-top: 16px; }
.unknown summary { cursor: pointer; font-weight: 600; color: var(--cta); list-style: none; display: inline-flex; align-items: center; gap: 8px; }
.unknown summary::-webkit-details-marker { display: none; }
.unknown[open] summary { margin-bottom: 14px; }

/* success */
.success { text-align: center; padding: 30px 0 10px; display: grid; justify-items: center; gap: 14px; }
.success svg { width: 76px; height: 76px; }
.success circle { stroke: var(--cta); stroke-width: 3; fill: none; stroke-dasharray: 230; stroke-dashoffset: 230; animation: draw 1s var(--ease-out) forwards; }
.success path { stroke: var(--cta); stroke-width: 4; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 50; stroke-dashoffset: 50; animation: draw .6s .55s var(--ease-out) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.success h4 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-stretch: 115%; font-weight: 800; letter-spacing: -.025em; }
.success p { color: var(--text-muted); max-width: 40ch; }

/* =========================================================
   TERMIN
   ========================================================= */
.sheet-top { position: relative; z-index: 2; border-radius: var(--overlap) var(--overlap) 0 0; margin-top: calc(var(--overlap) * -1); }
/* Termin and Serviceanfrage read as one flow on one grid:
   heading and notes on the left, the action (calendar, form) on the right, both top-aligned */
.booking { background: var(--paper); padding: var(--section-y) 0 clamp(64px, 7vw, 96px); }
.service-req { background: var(--paper); padding: 0 0 calc(var(--section-y) + var(--overlap)); }
.duo {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  grid-template-areas: "title title" "lead main" "aside main"; grid-template-rows: auto auto 1fr;
  column-gap: clamp(40px, 5vw, 72px); align-items: start;
}
.duo__title { grid-area: title; margin-bottom: clamp(24px, 3vw, 40px); }
.duo__lead { grid-area: lead; color: var(--text-muted); max-width: 40ch; }
.duo__main { grid-area: main; min-width: 0; }
.duo__aside { grid-area: aside; margin-top: 40px; position: sticky; top: 112px; }
.duo__aside h3 { font-size: var(--fs-h3); font-stretch: 112%; margin-bottom: 16px; }
.duo__contact { margin-top: 24px; display: grid; }
.duo__contact small { color: var(--text-muted); font-size: var(--fs-micro); }
.duo__contact a { justify-self: start; display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; text-decoration: none; font-variant-numeric: tabular-nums; }
.duo__contact a:hover { color: var(--cta); }
@media (max-width: 900px) {
  .duo { grid-template-columns: minmax(0, 1fr); grid-template-areas: "title" "lead" "main" "aside"; grid-template-rows: none; }
  .duo__title { margin-bottom: 16px; }
  .duo__lead { margin-bottom: 28px; }
  .duo__aside { position: static; }
}

/* calendar card: loads the booking widget only on request */
.device { border-radius: var(--r-xl); background: var(--white); overflow: clip; }
.device__body { position: relative; }
.device iframe { width: 100%; height: 1000px; border: 0; background: var(--white); }
.consent { display: grid; gap: 24px; justify-items: start; padding: clamp(24px, 3.4vw, 40px); }
.consent__inner { display: grid; gap: 16px; justify-items: start; }
.consent h3 { font-size: var(--fs-h3); font-stretch: 112%; }
.consent p { color: var(--text-muted); font-size: var(--fs-small); max-width: 52ch; }
.cal { display: grid; grid-template-columns: repeat(7, 34px); gap: 6px; }
.cal span { height: 34px; border-radius: var(--r-sm); background: var(--paper); display: grid; place-items: center; font-size: .75rem; font-weight: 650; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.cal span.free { background: #E6F1FA; color: var(--petrol); }
.cal span.sel { background: var(--cta); color: #fff; }
/* closed days: no tile, readable contrast */
.cal span.off { background: transparent; font-weight: 500; }
@media (max-width: 560px) { .consent, .consent__inner { justify-items: stretch; } .cal { justify-self: start; } }

.req > *, .contact__grid > * { min-width: 0; }

/* service form card: a plain white card, fully rounded, nothing attached to it */
.form-card { border-radius: var(--r-xl); background: var(--white); padding: clamp(24px, 3.4vw, 40px); }
.form-card:has(.success:not([hidden])) { display: grid; place-items: center; min-height: 360px; }
.pick + .grid-2 { margin-top: 16px; }
.form-nav > .legal { margin: 0; }
.upload b { color: var(--text); }
.upload b small { font-weight: 500; color: var(--text-muted); }
.upload {
  position: relative; display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: var(--r-sm);
  border: 1.5px dashed rgb(12 24 34 / .22); cursor: pointer; color: var(--text-muted); font-size: var(--fs-small);
  transition: border-color .2s, background-color .2s;
}
.upload:hover { border-color: var(--cta); background: #F6FAFD; }
.upload .icon { width: 26px; height: 26px; color: var(--cta); }
.upload input { position: absolute; opacity: 0; width: 1px; height: 1px; left: 0; top: 0; }
.upload:has(input:focus-visible) { outline: 3px solid var(--cta); outline-offset: 3px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: var(--fs-small); cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--cta); margin: 0; flex: none; }

/* =========================================================
   TRUST
   ========================================================= */
.trust { background: var(--ink); color: var(--on-dark); padding: var(--section-y) 0 calc(var(--section-y) + var(--overlap)); position: relative; overflow: clip; }
.trust .container { position: relative; }
.trust__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.panel { border-radius: var(--r-xl); background: rgb(255 255 255 / .04); box-shadow: inset 0 0 0 1px var(--line-dark); padding: clamp(24px, 3vw, 36px); }
.rating { grid-column: span 5; display: flex; flex-direction: column; gap: 12px; }
.rating__num { font-size: clamp(5rem, 11vw, 9rem); font-stretch: 125%; font-weight: 800; letter-spacing: -.05em; line-height: .85; color: #fff; font-variant-numeric: tabular-nums; }
.rating__stars { color: rgb(255 255 255 / .18); font-size: 1.5rem; letter-spacing: 3px; position: relative; display: inline-block; align-self: flex-start; }
.rating__stars::before { content: "★★★★★"; }
.rating__fill { position: absolute; inset: 0 auto 0 0; width: 92%; overflow: hidden; white-space: nowrap; color: var(--amber); }
.rating p { color: var(--on-dark-muted); }
.rating .link-chevron { margin-top: auto; }
.quotes { grid-column: span 7; display: grid; gap: 14px; }
.quote { margin: 0; padding: clamp(22px, 3vw, 32px); }
.quote blockquote { margin: 0; font-size: clamp(1.25rem, 2.1vw, 1.7rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.25; }
.quote figcaption { margin-top: 14px; color: var(--on-dark-muted); font-size: var(--fs-small); display: flex; gap: 10px; align-items: center; }
.quote figcaption .stars { color: var(--amber); letter-spacing: 2px; }
.award { grid-column: span 4; display: flex; gap: 18px; align-items: center; }
.award b { display: block; font-size: 1.15rem; letter-spacing: -.01em; }
.award span { color: var(--on-dark-muted); font-size: var(--fs-small); }
.usp { grid-column: span 4; display: grid; gap: 10px; align-content: start; }
.usp .icon { width: 28px; height: 28px; color: var(--glacier); }
.usp b { font-size: 1.15rem; letter-spacing: -.01em; }
.usp span { color: var(--on-dark-muted); font-size: var(--fs-small); }
@media (max-width: 980px) {
  .rating, .quotes { grid-column: span 12; }
  .award, .usp { grid-column: span 6; }
}
@media (max-width: 600px) { .award, .usp { grid-column: span 12; } }

/* =========================================================
   MEHR ALS WERKSTATT
   ========================================================= */
.extra { background: var(--paper); padding: var(--section-y) 0; border-radius: var(--overlap) var(--overlap) 0 0; margin-top: calc(var(--overlap) * -1); position: relative; z-index: 2; }
.extra__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card {
  border-radius: var(--r-xl); background: var(--white); overflow: clip;
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  transition: transform .6s var(--ease-spring), box-shadow .4s;
}

.card__img { position: relative; aspect-ratio: 4 / 3; min-height: 0; overflow: clip; background: var(--navy); }
.card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.82) contrast(1.05); transition: transform 1.2s var(--ease-out); }
.card:hover .card__img img { transform: scale(1.05); }
.card__body { padding: 26px 26px 28px; display: grid; gap: 10px; }
.card__body h3 { font-size: var(--fs-h3); font-stretch: 112%; }
.card__body p { color: var(--text-muted); font-size: var(--fs-small); }
.card__body .link-chevron { margin-top: 6px; }
@media (max-width: 900px) { .extra__grid { grid-template-columns: 1fr; } .card { display: grid; grid-template-columns: 38% 1fr; } .card__img { aspect-ratio: auto; min-height: 200px; } }
@media (max-width: 560px) { .card { grid-template-columns: 1fr; } .card__img { aspect-ratio: 16 / 9; } }

/* =========================================================
   KONTAKT
   ========================================================= */
.contact { background: var(--paper); padding: 0 0 calc(var(--section-y) + var(--overlap)); }
.contact__grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 14px; }
.map {
  position: relative; border-radius: var(--r-xl); overflow: clip; min-height: 480px; isolation: isolate;
  background: #0A2232; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 28px;
}
.map svg.map__art { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.map::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 55%, rgb(3 16 25 / .85) 100%); }
.map__photo { position: absolute; top: 20px; left: 20px; margin: 0; width: min(46%, 300px); border-radius: var(--r-md); overflow: clip; box-shadow: 0 20px 40px -16px rgb(0 0 0 / .6), 0 0 0 1px rgb(255 255 255 / .12); background: var(--navy); }
.map__photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 30% 50%; filter: saturate(.8); }

.map__pin { position: absolute; left: 65%; top: 41%; width: max-content; transform: translate(-50%, calc(-100% + 9px)); display: grid; justify-items: center; gap: 8px; }
/* route: follows Erlanger Straße to the corner, drawn once when the map comes into view */
.map__route, .map__route-glow { fill: none; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.map__route { stroke: url(#route-grad); stroke-width: 5; }
.map__car { fill: #fff; filter: drop-shadow(0 0 6px rgb(143 211 255 / .9)); }
.map__route-glow { stroke: #8FD3FF; stroke-width: 18; opacity: .16; filter: blur(5px); }
.map.is-drawn .map__route, .map.is-drawn .map__route-glow { stroke-dashoffset: 0; transition: stroke-dashoffset 1.5s var(--ease-io); }
.js .map__pin { opacity: 0; translate: 0 8px; transition: opacity .45s var(--ease-out) 1.2s, translate .7s var(--ease-spring) 1.2s; }
.js .map.is-drawn .map__pin { opacity: 1; translate: 0 0; }
.map__pin-dot { position: relative; }
.map__pin-label { padding: 8px 12px 8px 8px; border-radius: var(--r-pill); background: #fff; color: var(--text); font-weight: 700; font-size: var(--fs-small); display: flex; align-items: center; gap: 8px; box-shadow: 0 14px 30px -10px rgb(0 0 0 / .5); white-space: nowrap; }
.map__pin-label img { width: 28px; height: 28px; }
.map__pin-dot { width: 18px; height: 18px; border-radius: 50%; background: var(--cta); box-shadow: 0 0 0 6px rgb(31 111 168 / .3), 0 0 0 14px rgb(31 111 168 / .12); }
.map__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.info { display: grid; gap: 14px; }
.info .tile { justify-content: flex-start; padding: 26px; }
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: var(--fs-small); }
.hours th { text-align: left; font-weight: 600; padding: 8px 0; }
.hours td { text-align: right; color: var(--text-muted); padding: 8px 0; white-space: nowrap; }
.hours tr { border-top: 1px solid var(--line); }
.hours tr.today th, .hours tr.today td { color: var(--cta); font-weight: 700; }
.status { text-wrap: balance; display: inline-flex; align-items: center; gap: 10px; font-weight: 650; font-size: var(--fs-small); padding: 8px 14px 8px 12px; border-radius: var(--r-pill); background: var(--paper); align-self: flex-start; }
.addr { font-size: 1.25rem; font-weight: 650; letter-spacing: -.01em; line-height: 1.35; font-style: normal; }
.phones { display: grid; gap: 4px; }
.phones a { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); text-decoration: none; font-weight: 650; font-variant-numeric: tabular-nums; }
.phones a span { color: var(--text-muted); font-weight: 500; }
.phones a:hover b { color: var(--cta); }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } .map { min-height: 420px; } }
@media (max-width: 560px) { .map__photo { width: 52%; } }

/* =========================================================
   FINAL CTA + FOOTER
   ========================================================= */
.final { position: relative; overflow: clip; isolation: isolate; color: #fff; text-align: center; padding: clamp(88px, 9vw, 136px) 0; background: var(--navy); }
.final__mark { position: absolute; left: 50%; top: 50%; width: min(120vw, 1100px); aspect-ratio: 1; translate: -50% -50%; opacity: .07; z-index: -1; animation: spin 90s linear infinite paused; background: #fff; -webkit-mask: url("assets/logo/hps-mark-white.svg") center / contain no-repeat; mask: url("assets/logo/hps-mark-white.svg") center / contain no-repeat; }
@keyframes spin { to { rotate: 1turn; } }
.final h2 { font-size: var(--fs-h1); font-stretch: 125%; font-weight: 800; letter-spacing: -.04em; line-height: .95; }
.final p { color: var(--on-dark-muted); margin: 22px auto 34px; max-width: 46ch; }
.final__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.footer { background: var(--ink); color: var(--on-dark-muted); padding: 64px 0 40px; font-size: var(--fs-small); }
.footer__top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 36px; padding-bottom: 36px; border-bottom: 1px solid var(--line-dark); }
.footer .footer__h { color: #fff; font-size: 1rem; font-weight: 700; margin-bottom: 14px; letter-spacing: -.01em; }
.footer li a { display: inline-flex; align-items: center; min-height: 36px; }
.footer li { padding: 0; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; }
.footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; color: #fff; }
.footer__wm { width: 150px; height: 54px; background: currentColor; -webkit-mask: url("assets/logo/hps-wordmark-white.svg") no-repeat left center / contain; mask: url("assets/logo/hps-wordmark-white.svg") no-repeat left center / contain; }
.footer__word { margin-top: 36px; width: min(100%, 560px); margin-inline: auto; aspect-ratio: 395.7 / 141.4; background: linear-gradient(180deg, rgb(255 255 255 / .1), rgb(255 255 255 / .02)); -webkit-mask: url("assets/logo/hps-wordmark-white.svg") center / contain no-repeat; mask: url("assets/logo/hps-wordmark-white.svg") center / contain no-repeat; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 24px; font-size: var(--fs-micro); }
/* agency credit: logo on the text line, 44px tap height */
.footer__credit { display: inline-block; padding-block: 14px; line-height: 16px; }
.footer__credit img { display: inline-block; height: 13px; width: auto; margin-left: 2px; vertical-align: -3px; opacity: .8; transition: opacity .2s; }
.footer__credit:hover img { opacity: 1; }
@media (max-width: 900px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__top { grid-template-columns: 1fr; } }

/* mobile action bar */
.actionbar {
  position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 40;
  display: none; grid-template-columns: 1fr 1.5fr 1fr; gap: 6px; padding: 6px; border-radius: 16px;
  background: rgb(6 34 51 / .72);
  backdrop-filter: blur(24px) saturate(180%); -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .22), inset 0 0 0 1px rgb(255 255 255 / .1), 0 20px 40px -14px rgb(0 0 0 / .6);
  transform: translateY(140%); visibility: hidden;
  transition: transform .6s var(--ease-spring), visibility 0s linear .6s;
}
.actionbar.is-visible { transform: none; visibility: visible; transition: transform .6s var(--ease-spring), visibility 0s; }
.actionbar a { min-height: 52px; border-radius: var(--r-md); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: #fff; text-decoration: none; font-size: .75rem; font-weight: 650; }
.actionbar a .icon { width: 20px; height: 20px; }
.actionbar a.primary { background: var(--cta); flex-direction: row; gap: 8px; font-size: .9375rem; }
@media (max-width: 760px) { .actionbar { display: grid; } html { scroll-padding-bottom: 96px; } }

/* reveal (one restrained treatment) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.js .reveal.is-in, .js .reveal:focus-within { opacity: 1; transform: none; }


/* reduced motion & transparency */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .hero__title .line > span, .fade-in { transform: none; opacity: 1; }
  .split { height: auto; }
  .split__intro { opacity: 1; transform: none; position: relative; top: auto; margin-bottom: 6vh; }
  .split .emblem { transform: none; --size: min(60vw, 340px); --gap: 14vw; }
  .split__stage { display: flex; flex-direction: column; align-items: center; justify-content: center; }
  .emblem { margin-top: 0; }
  .split__sides { position: relative; top: auto; left: auto; bottom: auto; translate: none; margin: 6vh auto 0; }
  .split__stage { position: relative; height: auto; min-height: 100svh; padding: 140px 0 90px; }
  .split__center { position: relative; bottom: auto; margin-top: 6vh; opacity: 1; transform: none; }
  .final__mark { animation: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav__bar::before, .dock, .actionbar { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--navy); }
}


/* =========================================================
   RESPONSIVE REFINEMENTS (tablet & phone)
   ========================================================= */
.show-sm { display: none; }
@media (max-width: 560px) {
  .hide-sm { display: none !important; }
  .show-sm { display: inline; }
}

/* rail pagination */
.rail-dots { display: none; justify-content: center; gap: 6px; margin-top: 2px; }
.rail-dots i { width: 6px; height: 6px; border-radius: 3px; background: rgb(12 24 34 / .18); transition: width .45s var(--ease-out), background-color .3s; }
.rail-dots i.on { width: 22px; background: var(--cta); }


/* tablets & small laptops: smaller emblem, split distance tied to the text column */
@media (min-width: 761px) and (max-width: 1100px) and (min-aspect-ratio: 4/5) {
  .emblem { --size: max(140px, min(46vmin, 440px, calc(100svh - 360px))); --gap: calc(var(--p-split, 0) * 35vw); }
  .split__sides { width: 50vw; }
}

/* tablet */
@media (max-width: 980px) {
  .award { grid-column: span 12; }
  .usp { grid-column: span 6; }
}
@media (max-width: 900px) {
  .cfg { min-height: 460px; }
  .cfg::before { background: linear-gradient(180deg, rgb(3 16 25 / .05) 0%, rgb(3 16 25 / .55) 40%, rgb(3 16 25 / .94) 78%); }
}

/* phone */
@media (max-width: 760px) {
  :root { --overlap: 20px; }
  .sec-head { margin-bottom: 28px; gap: 12px; }
}
@media (max-width: 560px) {
  .h2 { font-stretch: 112%; }

  /* services: swipeable rail instead of a 10-card tower */
  .bento {
    display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
    margin-inline: calc(var(--gutter) * -1); padding: 6px var(--gutter) 26px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .bento::-webkit-scrollbar { display: none; }
  .bento > .svc { flex: 0 0 min(84vw, 360px); scroll-snap-align: start; --media-h: 200px; }
  .svc__body { padding: 20px 20px 8px; }
  .svc-note { margin-top: 32px; gap: 8px; }
  .js .bento .reveal { opacity: 1; transform: none; }
  .rail-dots { display: flex; }

  /* further services: groups stacked, items in two columns */
  .more__groups { grid-template-columns: 1fr; gap: 22px; }
  .more__group ul { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
  .more__group a { font-size: .9375rem; min-height: 46px; }
  .more__group li:nth-last-child(2):nth-child(odd) a { border-bottom: 1px solid var(--line); }
  .more__group a .icon { display: none; }
  .more__group ul { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }

  .req__aside { padding: 26px 22px 24px; gap: 14px; }
  .req__aside h3 { font-size: 1.9rem; }
  .req__main { padding: 26px 22px 24px; }
  .step-meta { flex-wrap: wrap; row-gap: 8px; }
  .summary { justify-content: flex-start; }

  .panel { padding: 22px; }
  .rating__num { font-size: 5.5rem; }
  .usp { grid-column: span 12; grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 2px; }
  .usp .icon { grid-row: span 2; }

  .card__body { padding: 22px 22px 24px; }

  .map { min-height: 440px; padding: 18px; }
  .map__photo { width: 58%; top: 16px; left: 16px; }
  .map__actions .btn { flex: 1 1 auto; padding: 0 16px; }
  .info .tile { padding: 22px; }

  .final { padding: 88px 0 96px; }
  .final__ctas { display: grid; grid-template-columns: 1fr; width: 100%; }

  .footer { padding: 48px 0 calc(32px + env(safe-area-inset-bottom)); }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer__top > :nth-child(-n+2) { grid-column: 1 / -1; }
  .footer__legal { flex-direction: column; }
}
@media (max-width: 380px) {
  .hero__title { font-size: 2.55rem; }
  .split__side li { font-size: .8125rem; }
  .dock__item { padding: 14px; }
}

.final.is-visible .final__mark { animation-play-state: running; }

/* touch devices: lighter glass on the fixed bars (re-blurred every scroll frame) */
@media (pointer: coarse) {
  .nav__bar::before, .actionbar { backdrop-filter: blur(10px) saturate(160%); -webkit-backdrop-filter: blur(10px) saturate(160%); }
  .nav.is-scrolled .nav__bar:not(.is-open)::before { background-color: rgb(6 34 51 / .55); }
  .nav__scrim { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgb(3 16 25 / .62); }
}
@media (max-width: 760px) { .final__mark { width: min(120vw, 600px); } }

/* short screens: the closing line would meet the emblem */
@media (max-height: 640px) { .split__center { display: none; } }
/* short portrait phones (e.g. 375x548 with browser bars): smaller emblem so the halves clear nav and text */
@media (max-width: 760px) and (max-aspect-ratio: 1/1) and (max-height: 680px) {
  .emblem { --size: min(46vw, 180px); transform: rotate(var(--spin)) translateY(calc(var(--p-split, 0) * -27svh)) scale(calc(1 - var(--p-split, 0) * .32)); }
}
/* landscape phones: keep the headline clear of the emblem */
@media (max-height: 450px) { .split__intro { top: 88px; } .split__intro .h2 { font-size: clamp(1.4rem, 3.2vw, 2rem); } }

/* without JavaScript (or if app.js fails) and on short landscape phones (.is-static, set by app.js)
   the emblem section is a plain, readable block */
html:not(.js) .split, .split.is-static { height: auto; }
html:not(.js) .split__stage, .split.is-static .split__stage { position: relative; height: auto; padding: 140px 0 90px; display: flex; flex-direction: column; align-items: center; }
html:not(.js) .split__intro, .split.is-static .split__intro { position: relative; top: auto; opacity: 1; transform: none; margin-bottom: 6vh; }
html:not(.js) .emblem, .split.is-static .emblem { margin-top: 0; transform: none; --size: min(60vw, 340px); --gap: 14vw; }
html:not(.js) .split__sides, .split.is-static .split__sides { position: relative; top: auto; left: auto; bottom: auto; translate: none; margin: 6vh auto 0; }
html:not(.js) .split .split__side, .split.is-static .split__side { opacity: 1; transform: none; pointer-events: auto; }
html:not(.js) .split__center, .split.is-static .split__center { position: relative; bottom: auto; opacity: 1; transform: none; margin-top: 6vh; }
@media (max-height: 450px) {
  .split.is-static .split__stage { padding: 104px 0 72px; }
  .split.is-static .split__intro { margin-bottom: 40px; }
  .split.is-static .emblem { --size: 180px; --gap: 18vw; }
}

/* service picker – compact, opens on demand */
.pick { position: relative; }
.pick__legend { font-weight: 600; font-size: var(--fs-small); margin-bottom: 6px; }
.pick__legend small { color: var(--text-muted); font-weight: 500; margin-left: 6px; }
.pick__pop { position: relative; }
.pick__btn {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 52px; padding: 13px 16px; border-radius: var(--r-sm); background: #F2F4F6;
  box-shadow: inset 0 0 0 1.5px transparent; transition: box-shadow .2s, background-color .2s;
}
.pick__btn::-webkit-details-marker { display: none; }
.pick__btn:hover { background: #ECEFF2; }
.pick__btn [data-service-summary] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pick__btn:not(.has-value) [data-service-summary] { color: var(--text-muted); }
.pick__btn .icon { width: 18px; height: 18px; color: var(--text-muted); transform: rotate(90deg); transition: transform .3s var(--ease-out); }
.pick__pop[open] .pick__btn { background: #fff; box-shadow: inset 0 0 0 2px var(--cta); }
.pick__pop[open] .pick__btn .icon { transform: rotate(-90deg); }
.pick__list {
  position: absolute; z-index: 5; left: 0; right: 0; top: calc(100% + 8px);
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px; padding: 8px;
  background: #fff; border-radius: var(--r-lg);
  box-shadow: 0 0 0 1px var(--line), 0 24px 48px -16px rgb(3 16 25 / .28);
  transform-origin: top; animation: pick-in .22s var(--ease-out);
}
@keyframes pick-in { from { opacity: 0; transform: translateY(-4px) scale(.98); } }
.pick__row { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 10px; border-radius: 6px; cursor: pointer; font-size: var(--fs-small); font-weight: 550; }
.pick__row:hover { background: #F2F4F6; }
.pick__row input { width: 18px; height: 18px; margin: 0; accent-color: var(--cta); flex: none; }
.field-error .pick__btn, .pick.has-error .pick__btn { box-shadow: inset 0 0 0 2px var(--error); background: #FFF5F6; }
@media (max-width: 560px) { .pick__list { grid-template-columns: 1fr; } }

/* pin label: one text run */
.map__pin-label > span { white-space: nowrap; }

/* hero proof line – typographic, no pills */
.proof { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 24px; margin-bottom: 28px; color: var(--on-dark); }
.proof__item { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.proof__num { font-size: 2rem; font-stretch: 125%; font-weight: 800; letter-spacing: -.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.proof__meta { display: grid; gap: 4px; line-height: 1.15; }
.proof__stars { position: relative; display: inline-block; justify-self: start; font-size: .8125rem; letter-spacing: 2px; line-height: 1; color: rgb(255 255 255 / .22); }
.proof__stars::before { content: "★★★★★"; }
.proof__fill { position: absolute; inset: 0 auto 0 0; width: 92%; overflow: hidden; white-space: nowrap; color: var(--amber); }
.proof__label { font-size: var(--fs-micro); font-weight: 500; color: var(--on-dark-muted); }
a.proof__item:hover .proof__label { color: var(--on-dark); text-decoration: underline; text-underline-offset: 3px; }
.proof__kick { font-size: .9375rem; font-weight: 700; letter-spacing: -.01em; }
.proof__rule { width: 1px; height: 36px; background: rgb(255 255 255 / .2); }
.laurel { width: 15px; height: 32px; flex: none; color: #D9B36C; }
.laurel--r { transform: scaleX(-1); }
.proof__award { gap: 8px; }
@media (max-width: 560px) {
  .proof { gap: 12px 18px; margin-bottom: 20px; }
  .proof__rule { display: none; }
  .proof__num { font-size: 1.7rem; }
  .proof__kick { font-size: .875rem; }
  .laurel { width: 13px; height: 28px; }
}
@media (max-width: 380px) { .proof__award { display: none; } }

/* tire request: the form sets the card height, the photo only fills what is left */
#reifenanfrage .req__img { flex: 1 1 0; height: 0; min-height: 140px; aspect-ratio: auto; }
#reifenanfrage .req__main { display: flex; flex-direction: column; }
#reifenanfrage #tire-form { display: flex; flex-direction: column; flex: 1; }
#reifenanfrage .form-nav { margin-top: auto; }
#reifenanfrage .fs-step { margin-bottom: 24px; }
#reifenanfrage .req__img { min-height: 120px; }
@media (min-width: 901px) {
  #reifenanfrage .req__main, #reifenanfrage .req__aside { padding-bottom: 32px; }
  #reifenanfrage .req__aside { gap: 16px; }
}

/* request cards: the divider above the contact (left) and above the buttons (right) sit on one line */
.req .form-nav { padding-top: 20px; }
.req__contact { padding-top: 20px; }
.req__contact .avatar { width: 52px; height: 52px; }
@media (min-width: 901px) {
  .req__aside { padding-bottom: clamp(24px, 4vw, 48px); }
}

/* success state sits in the middle of the form column */
@media (min-width: 901px) { .req__main:has(.success:not([hidden])) { display: grid; place-items: center; } }

/* buttons and option chips: slightly less round than a full pill */
.btn { border-radius: var(--r-btn); }
.btn--sm { border-radius: 10px; }
.chipbox span { border-radius: var(--r-md); }
.dock { border-radius: var(--r-lg); }
.actionbar { border-radius: 16px; }
.actionbar a { border-radius: var(--r-md); }

/* =========================================================
   Anti-template pass
   ========================================================= */
/* content instead of icon decoration */
.why__cards .icon, .usp .icon, .ticks .icon { display: none; }
.usp { grid-template-columns: 1fr !important; }
.ticks { gap: 0; }
.ticks li { padding: 10px 0; border-top: 1px solid var(--line); }
.ticks li:last-child { border-bottom: 1px solid var(--line); }

/* one section-head pattern: title, then lead underneath */
.sec-head { grid-template-columns: 1fr; gap: 16px; }
.sec-head .h2 { max-width: 20ch; }
#bewertungen .sec-head { justify-items: start; text-align: left; }
#termin .h2, #anfrage .h2, #kontakt .h2 { font-size: clamp(1.9rem, 3.4vw, 3rem); }

/* trust: rules instead of glass cards, the real award badge */
.trust .panel { background: none; box-shadow: none; border-radius: 0; padding: 24px 0 0; border-top: 1px solid var(--line-dark); }
.award__badge { width: 84px; height: 112px; flex: none; object-fit: cover; object-position: 100% 50%; border-radius: var(--r-sm); background: #fff; }

/* no tech-demo effects */
.map__route-glow { display: none; }
.sw-code tspan.is-focus { filter: none; }
.footer__word { display: none; }
.final__mark { animation: none; }

/* photos */
.t-reifen img { filter: saturate(.35) contrast(1.05); }

/* no logo posing as a person */
.req__contact .avatar { display: none; }
/* keep the contact block as tall as the button row so both dividers stay level */
.req__contact { min-height: 73px; }

/* =========================================================
   MOBILE POLISH – landing content sections (phones only)
   appended to styles.css; every rule is scoped to <= 560px (tablet/desktop untouched)
   ========================================================= */

@media (max-width: 560px) {

  /* ---------- hero ---------- */
  .hero__lead { line-height: 1.45; }

  /* quick-access dock: icon on top, label below (reads like app tiles, no 2-line squeeze next to the icon) */
  .dock__item { flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 14px; min-height: 96px; padding: 16px 16px 15px; }
  .dock__icon { width: auto; height: auto; padding: 0; }
  .dock__t { font-size: .9375rem; line-height: 1.25; }
  .dock__ext { top: 14px; right: 14px; }

  /* ---------- Leistungen ---------- */
  .more__group a { line-height: 1.25; }

  /* ---------- Reifen: card titles one step below the section headline ---------- */
  .cfg, .season { padding: 22px; }
  .cfg { min-height: 420px; gap: 12px; }
  .cfg h3 { font-size: 1.625rem; max-width: none; line-height: 1.05; }
  .cfg .btn { margin-top: 4px; }
  .season { gap: 12px; }
  .season h3 { font-size: 1.625rem; }
  .season .btn { margin-top: 4px; }

  .req__aside h3 { font-size: 1.625rem; line-height: 1.05; }

  /* tire form: option groups as tidy two-column grids (no ragged chip wrap) */
  .chips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .chipbox span { width: 100%; justify-content: center; padding: 0 10px; font-size: .875rem; text-align: center; }
  .chips > .chipbox:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .opts:not(.opts--1m) .opt__box { padding: 14px 10px; }   /* "Ganzjahr" clipped by 2px at 360 */
  .opts .opt__box b { font-size: .9375rem; }
  .unknown summary { line-height: 1.3; }

  /* size selects: 3 + 2, second row splits evenly */
  .size-grid { grid-template-columns: repeat(6, 1fr); gap: 10px 8px; }
  .size-grid > .field { grid-column: span 2; }
  .size-grid > .field:nth-child(n+4) { grid-column: span 3; }

  /* ---------- Termin / Anfrage / Kontakt: keep "Termin online buchen" on one line down to 360 ---------- */
  #termin .h2, #anfrage .h2, #kontakt .h2 { font-size: min(1.9rem, 7.8vw); }

  /* ---------- Bewertungen ---------- */
  .rating__num { font-size: 4.5rem; }
  .award b { margin-bottom: 4px; }
  .award span { display: block; line-height: 1.45; }

  /* ---------- Das finden Sie auch bei HPS ---------- */
  .extra__grid > .card { min-width: 0; }
  .card__img { min-height: 0; }      /* min-height × 16/9 forced a 356px min width → cards ran past the gutter */

  /* ---------- Kontakt ---------- */
  .hours, .hours tbody { display: block; }
  .hours tr { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
  .hours th, .hours td { padding: 10px 0; }

  /* ---------- final CTA ---------- */
  .final p { text-wrap: balance; margin: 18px auto 30px; }
}

/* =========================================================
   MOBILE CHROME – nav, menu, action bar, footer, request forms
   (phones; append at the end of styles.css)
   ========================================================= */

/* fixed bars stay clear of the notch in landscape (env() is 0 everywhere else) */
.nav { padding-inline: env(safe-area-inset-left) env(safe-area-inset-right); }

/* request cards, single column (tablet & phone) */
@media (max-width: 900px) {
  /* the aside ends with a colour change, a second rule there reads as a double line */
  .req__aside .ticks li:last-child { border-bottom: 0; }
}

@media (max-width: 760px) {
  /* ---------- anchor jumps: heading lands ~26px under the bar, the sheet top slides under it ---------- */
  html { scroll-padding-top: 86px; }
  :is(.sheet, .sheet-top, .tires)[id] { scroll-margin-top: calc(10px - var(--section-y)); }
  #stellen { scroll-margin-top: -46px; }

  /* ---------- nav: clean white frost on light sections (the touch tint made it grey) ---------- */
  .nav.is-light.is-scrolled .nav__bar:not(.is-open)::before {
    background: linear-gradient(180deg, rgb(255 255 255 / .92), rgb(255 255 255 / .8));
  }

  /* ---------- menu: content on the logo's 14px line, concentric with the 28px bar ---------- */
  .nav__panel-content { padding: 2px 14px 16px; }
  .nav__big a {
    min-height: 58px; padding: 13px 4px 13px 0;
    font-size: clamp(1.375rem, 6vw, 1.625rem); line-height: 1.2;
  }
  .nav__quick { margin-top: 18px; }
  .nav__status { margin-top: 14px; }

  /* ---------- action bar: same 12px inset as the nav, solid enough to read over light pages ---------- */
  .actionbar {
    left: max(12px, env(safe-area-inset-left)); right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
    background: rgb(6 34 51 / .9);
    /* the primary label never wraps ("Jetzt bewerben" broke on 360px) */
    grid-template-columns: 1fr minmax(max-content, 1.5fr) 1fr;
  }
  .actionbar a { font-size: .78125rem; white-space: nowrap; min-width: 0; }
  .actionbar a.primary { padding-inline: 14px; }

  /* ---------- footer: 44px rows for every line, tidy legal block ---------- */
  .footer li { display: flex; align-items: center; min-height: 44px; }
  .footer li a { min-height: 44px; }
  .footer .footer__h { margin-bottom: 4px; }
  .footer__legal { gap: 8px; margin-top: 20px; }
  .footer__legal span { text-wrap: balance; }
}

@media (max-width: 560px) {
  /* ---------- form steps ---------- */
  .fs-step > legend { line-height: 1.15; text-wrap: balance; margin-bottom: 8px; }
  .step-meta { margin-bottom: 18px; }
  .opts--1m .opt__box { gap: 2px; padding: 14px 44px 14px 16px; }

  /* upload boxes: one bold title, regular description */
  .field .upload { font-weight: 450; line-height: 1.4; padding: 14px 16px; }
  .upload b { font-weight: 700; }

  /* checkbox row is a full tap target */
  .check { min-height: 44px; align-items: center; }

  /* buttons: the primary action fills the row, back stays compact; notes sit above */
  .form-nav { flex-wrap: wrap; gap: 10px 12px; }
  .form-nav > span:empty { display: none; }
  .form-nav > .legal { flex: 1 1 100%; }
  .form-nav .btn { flex: 1 1 auto; }

  .howto li { text-wrap: balance; }
}

/* the big rating number is white (a generic `.rating p` rule made it grey) */
.rating .rating__num { color: #fff; }

/* light sections that follow another light section overlap by 1px:
   fractional section heights otherwise leave a dark hairline (page background) on high-DPR phones */
.service-req, .contact { margin-top: -1px; }

/* trust row: all three titles start on the same line, the award text no longer centres on the badge */
.award { align-items: flex-start; }
.award > div, .usp { display: grid; gap: 10px; align-content: start; }
.award b, .usp b { margin: 0; line-height: 1.25; }
.award span, .usp span { line-height: 1.5; }
.award__badge { width: 104px; height: auto; aspect-ratio: 512 / 392; object-fit: contain; object-position: center; padding: 6px; border-radius: var(--r-sm); background: #fff; }
@media (max-width: 560px) { .award__badge { width: 88px; } .award b { margin-bottom: 0; } }
@media (max-width: 1200px) {
  /* narrow columns and phones: badge below the text so the title stays on one line, level with the others */
  .award { flex-direction: column; gap: 14px; }
  .award__badge { order: 2; width: 92px; }
}

