/* ==========================================================================
   City Drive Disha — design system
   Ported from the Claude Design prototype, direction B "Startklar".
   Source of truth: city-drive-disha-redesign/project/site/index.html
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */

:root {
  --bg: #f4f5f9;
  --ink: #10121f;
  --blue: #1a2ef5;
  --blue-dark: #0f1fc9;
  --blue-sh: #0a15a0;
  --blue-lt: #9fb0ff;
  --tint: #e3e7ff;
  --muted: #565c6e;
  --muted-2: #7a8095;
  --on-dark: #b9bdcc;
  --on-dark-2: #9aa0b2;

  --hairline: rgba(16, 18, 31, .14);
  --hairline-soft: rgba(16, 18, 31, .09);
  --on-ink: rgba(244, 245, 249, .8);
  --on-ink-soft: rgba(244, 245, 249, .66);

  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 22px;
  --r-2xl: 28px;

  --gut: 24px;
  --maxw: 1320px;
  --hdr-h: 69px;

  --ease: cubic-bezier(.16, 1, .3, 1);
}

/* 2. Reset ----------------------------------------------------------------- */

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
}

body {
  color: var(--ink);
  font-family: 'Space Grotesk', system-ui, sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }

img, video { max-width: 100%; }

button { font: inherit; }

::selection { background: var(--blue); color: #fff; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

.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;
}

/* 3. Layout ---------------------------------------------------------------- */

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--gut);
  padding-right: var(--gut);
}

.section { padding-top: 96px; }
.section--flush { padding-left: 0; padding-right: 0; }

.grid { display: grid; gap: 22px; }
.grid--auto   { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid--auto-l { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--auto-s { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid--calc   { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 26px; align-items: start; }

/* 4. Typography ------------------------------------------------------------ */

.h1, .h2, .h3 {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  margin: 0;
}

.h1 {
  font-size: clamp(46px, 7.4vw, 108px);
  line-height: .94;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.h2 {
  font-size: clamp(30px, 4.2vw, 54px);
  line-height: 1.05;
  letter-spacing: -.03em;
  text-wrap: balance;
}

.h2--xl { font-size: clamp(32px, 4.6vw, 60px); line-height: 1; }

.h3 {
  font-size: 25px;
  line-height: 1.2;
  letter-spacing: -.02em;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue-dark);
}

.eyebrow--on-dark { color: var(--blue-lt); }

.lead {
  font-size: 19px;
  line-height: 1.6;
  text-wrap: pretty;
}

.muted { color: var(--muted); }

.prose { font-size: 16px; line-height: 1.7; text-wrap: pretty; }
.prose--sm { font-size: 15px; line-height: 1.65; }

/* 5. Buttons and links ------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 40px;
  padding: 0 20px;
  border: 0;
  border-radius: var(--r-sm);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s ease, background .25s ease, box-shadow .25s ease, color .2s ease;
}

.btn--primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 3px 0 var(--blue-sh);
}
.btn--primary:hover {
  background: #4457ff;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 0 var(--blue-sh);
}

.btn--outline {
  border: 1.5px solid var(--ink);
  background: transparent;
  color: var(--ink);
}
.btn--outline:hover { background: var(--ink); color: var(--bg); }

.btn--ghost {
  border: 1.5px solid rgba(255, 255, 255, .5);
  background: transparent;
  color: #fff;
}
.btn--ghost:hover { background: rgba(255, 255, 255, .14); color: #fff; }

.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; color: #fff; }

.btn--lg {
  height: 60px;
  padding: 0 28px;
  border-radius: var(--r-md);
  font-family: 'Sora', sans-serif;
  font-size: 17px;
}
.btn--lg.btn--primary { box-shadow: 0 4px 0 var(--blue-sh); }
.btn--lg.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--blue-sh); }

.btn--md { height: 56px; padding: 0 26px; border-radius: var(--r-md); font-size: 16px; }
.btn--block { display: flex; width: 100%; }

.link-underline {
  align-self: flex-start;
  font-size: 15px;
  font-weight: 700;
  border-bottom: 2px solid var(--blue);
  padding-bottom: 2px;
}
.link-underline--push { margin-top: auto; }

/* 6. Surfaces --------------------------------------------------------------- */

.card {
  display: flex;
  flex-direction: column;
  padding: 30px 28px;
  border-radius: var(--r-xl);
}

.card--bordered {
  border: 1.5px solid var(--ink);
  background: #fff;
  transition: transform .35s ease, box-shadow .35s ease;
}
.card--bordered:hover { transform: translateY(-4px); box-shadow: 0 10px 0 var(--ink); }

.card--dark {
  border: 1.5px solid var(--ink);
  background: var(--ink);
  color: var(--bg);
  transition: transform .35s ease, box-shadow .35s ease;
}
.card--dark:hover { transform: translateY(-4px); box-shadow: 0 10px 0 var(--blue); }
.card--dark .muted { color: var(--on-dark); }
.card--dark .link-underline { color: var(--blue-lt); }

.card--tint {
  color: var(--ink);
  transition: transform .45s var(--ease), background .45s ease, color .3s ease, box-shadow .45s ease;
}
.card--tint:hover {
  transform: translateY(-8px) scale(1.015);
  background: var(--blue);
  color: #fff;
  box-shadow: 0 18px 40px rgba(26, 46, 245, .32);
}
.card--tint p { opacity: .72; }
.tint-1 { background: var(--tint); }
.tint-2 { background: #dfeef7; }
.tint-3 { background: #e6e3f7; }
.tint-4 { background: #e2f0ea; }

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--tint);
  color: var(--blue-dark);
  font-family: 'Sora', sans-serif;
  font-size: 19px;
  font-weight: 800;
}
.card--dark .step-num { background: var(--blue); color: #fff; }

.panel {
  padding: clamp(36px, 5vw, 64px);
  border-radius: var(--r-2xl);
}
.panel--dark { background: var(--ink); color: var(--bg); }
.panel--blue { background: var(--blue); color: #fff; padding: clamp(44px, 6.5vw, 88px) clamp(28px, 5vw, 64px); }

/* 7. Header, drawer, footer -------------------------------------------------- */

/* .hdr stays free of backdrop-filter/transform: either would make it the
   containing block for the fixed drawer nested inside it. The blur lives on
   the inner bar instead. */
.hdr {
  position: sticky;
  top: 0;
  z-index: 50;
}

.hdr__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px var(--gut);
  background: rgba(244, 245, 249, .85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline-soft);
}

.hdr__logo { display: flex; align-items: center; }
.hdr__logo img { height: 30px; width: auto; display: block; }

.hdr__nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  font-weight: 600;
}
.hdr__nav a { color: #444a5c; }
.hdr__nav a:hover,
.hdr__nav a[aria-current="page"] { color: var(--blue); }

.hdr__actions { display: flex; align-items: center; gap: 10px; }

.hdr__burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px; height: 40px;
  padding: 0;
  border: 1.5px solid var(--ink);
  border-radius: var(--r-sm);
  background: transparent;
  cursor: pointer;
}
.hdr__burger span {
  position: relative;
  display: block;
  width: 18px; height: 2px;
  background: var(--ink);
  transition: background .2s ease;
}
.hdr__burger span::before,
.hdr__burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px; height: 2px;
  background: var(--ink);
  transition: transform .3s var(--ease);
}
.hdr__burger span::before { top: -6px; }
.hdr__burger span::after { top: 6px; }
.hdr__burger[aria-expanded="true"] span { background: transparent; }
.hdr__burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.hdr__burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

.hdr__drawer {
  position: fixed;
  top: var(--hdr-h);
  right: 0;
  bottom: 0;
  width: min(360px, 100vw);
  z-index: 49;
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 24px var(--gut) 32px;
  background: var(--bg);
  border-left: 1.5px solid var(--ink);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .35s var(--ease);
}
.hdr__drawer[data-open] { transform: none; }
.hdr__drawer a:not(.btn) {
  padding: 14px 0;
  border-bottom: 1px solid var(--hairline);
  color: var(--ink);
  font-family: 'Sora', sans-serif;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -.01em;
}
.hdr__drawer a:not(.btn):hover { color: var(--blue); }
.hdr__drawer .btn { margin-top: 12px; }
.hdr__drawer .btn + .btn { margin-top: 8px; }

.ftr {
  margin-top: 96px;
  padding: 72px var(--gut) 28px;
  background: var(--ink);
  color: var(--bg);
}
.ftr__grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 48px;
}
.ftr__col { display: flex; flex-direction: column; gap: 12px; }
.ftr__col--brand { align-items: flex-start; gap: 20px; }
.ftr__logo {
  display: inline-flex;
  background: #fff;
  border-radius: var(--r-sm);
  padding: 10px 14px;
}
.ftr__logo img { height: 30px; width: auto; display: block; }
.ftr__blurb { margin: 0; font-size: 15px; line-height: 1.7; color: var(--on-ink-soft); max-width: 32ch; }
.ftr__head {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.ftr a:not(.btn):not(.ftr__phone):not(.ftr__logo) {
  color: var(--on-ink);
  font-size: 15px;
  transition: color .2s ease, transform .2s ease;
}
.ftr a:not(.btn):not(.ftr__phone):not(.ftr__logo):hover {
  color: var(--blue-lt);
  transform: translateX(3px);
}
.ftr__phone {
  font-family: 'Sora', sans-serif;
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 800;
  letter-spacing: -.03em;
  color: #fff;
}
.ftr__phone:hover { color: var(--blue-lt); }
.ftr__where { margin: 14px 0 0; font-size: 14px; line-height: 1.7; color: var(--on-ink-soft); }
.ftr__bottom {
  max-width: var(--maxw);
  margin: 56px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(244, 245, 249, .14);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.ftr__bottom p { margin: 0; font-size: 13px; color: var(--muted-2); }
.ftr__bottom nav { display: flex; gap: 22px; }
.ftr__bottom a { font-size: 13px; }

/* 8. Hero -------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: calc(100svh - var(--hdr-h));
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 58% 50%;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 18, 31, .72) 0%, rgba(16, 18, 31, .22) 34%, rgba(16, 18, 31, .9) 92%);
}
.hero__body {
  position: relative;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gut) 108px;
  color: #fff;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 24px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .22);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hero .h1 { max-width: 15ch; }
.hero .h1 em { font-style: normal; color: var(--blue-lt); }
.hero__lead { margin: 24px 0 0; color: rgba(255, 255, 255, .82); max-width: 44ch; }
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
}
.hero__chip {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-left: 6px;
  padding: 14px 20px;
  border-radius: 16px;
  background: rgba(16, 18, 31, .6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .16);
  animation: bob 4.5s ease-in-out infinite;
}
.hero__chip b {
  font-family: 'Sora', sans-serif;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--blue-lt);
}
.hero__chip > span { font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .75); }

.hero--page {
  min-height: 0;
  align-items: center;
  padding: clamp(72px, 9vw, 128px) 0;
}
.hero--page .hero__body { padding-bottom: 0; }
.hero--page .h1 { font-size: clamp(38px, 5.6vw, 76px); max-width: 20ch; }

.ken {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.scrim--side {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(16, 18, 31, .94) 0%, rgba(16, 18, 31, .82) 46%, rgba(16, 18, 31, .5) 100%);
}

/* 9. Marquees ---------------------------------------------------------------- */

.locbar {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px 0;
  overflow: hidden;
  background: rgba(16, 18, 31, .55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 255, 255, .14);
}
.locbar__track {
  display: flex;
  width: max-content;
  animation: marq 34s linear infinite;
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
}
.locbar__group { display: flex; gap: 34px; padding-right: 34px; }
.locbar__group i { font-style: normal; color: var(--blue-lt); }

.gallery {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.gallery__track {
  display: flex;
  width: max-content;
  gap: 16px;
  animation: marq 46s linear infinite;
}
.gallery__group { display: flex; gap: 16px; padding-right: 16px; }
/* height + auto width needs the intrinsic ratio to reserve space before the
   image loads; without it the lazy images collapse to 0px and never load. */
.gallery img {
  height: 320px;
  width: auto;
  max-width: none;
  border-radius: 18px;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.gallery img:hover { transform: scale(1.04); }

/* 10. Preisrechner ------------------------------------------------------------ */

.calc__label { display: block; font-size: 15px; font-weight: 600; color: var(--on-dark-2); }
.calc__count {
  margin: 8px 0 0;
  font-family: 'Sora', sans-serif;
  font-size: 72px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
}
.calc__count > span { font-size: 20px; font-weight: 600; color: var(--on-dark-2); margin-left: 10px; }
.calc__range {
  width: 100%;
  margin: 26px 0 8px;
  accent-color: var(--blue);
  height: 6px;
  cursor: pointer;
}
.calc__scale {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  color: #737a8c;
}
.calc__text { margin: 26px 0 0; font-size: 15px; line-height: 1.7; color: var(--on-dark-2); max-width: 46ch; text-wrap: pretty; }
.calc__picks { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.calc__pick {
  height: 38px;
  padding: 0 16px;
  border-radius: var(--r-sm);
  border: 1px solid rgba(244, 245, 249, .22);
  background: transparent;
  color: var(--bg);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color .25s ease, color .25s ease;
}
.calc__pick:hover { border-color: var(--blue); color: var(--blue-lt); }

.receipt {
  padding: 32px 30px;
  border-radius: var(--r-xl);
  background: var(--bg);
  color: var(--ink);
}
.receipt__tier { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-dark); }
.receipt__price { display: flex; align-items: baseline; gap: 10px; margin-top: 14px; }
.receipt__price b { font-family: 'Sora', sans-serif; font-size: 58px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
/* Direct children only: the value spans live inside <b> and must keep the
   big Sora size. A plain descendant selector shrinks them to 15px. */
.receipt__price > span { font-size: 15px; font-weight: 600; color: var(--muted); }
.receipt__rule { height: 1px; background: var(--hairline); margin: 26px 0; }
.receipt__row { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; margin-bottom: 12px; }
.receipt__row dt, .receipt__row > span:first-child { color: var(--muted); }
.receipt__row b { font-weight: 700; flex: none; white-space: nowrap; }
.receipt__row--save { color: var(--blue); font-weight: 700; }
.receipt__row--save > span:first-child { color: var(--blue); }
.receipt__total { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.receipt__total > span { font-size: 15px; font-weight: 700; }
.receipt__total b { font-family: 'Sora', sans-serif; font-size: 36px; font-weight: 800; letter-spacing: -.03em; color: var(--blue); }
.receipt .btn { margin-top: 26px; }
.receipt__note { margin: 14px 0 0; font-size: 12px; color: var(--muted-2); text-align: center; }

/* 11. Team --------------------------------------------------------------------- */

.team__photo { border-radius: var(--r-lg); overflow: hidden; background: #e5e7ef; }
.team__photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 82% 28%;
  display: block;
  transition: transform .6s var(--ease);
}
.team__photo img:hover { transform: scale(1.04); }
.team__name { margin: 16px 0 2px; font-family: 'Sora', sans-serif; font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.team__role { margin: 0; font-size: 15px; color: var(--muted); }
.team--solo { grid-template-columns: minmax(240px, 320px); }

/* 12. FAQ ---------------------------------------------------------------------- */

.faq { display: flex; flex-direction: column; border-top: 1px solid var(--hairline); }
.faq details { border-bottom: 1px solid var(--hairline); padding: 4px 0; }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  cursor: pointer;
  list-style: none;
  font-family: 'Sora', sans-serif;
  font-size: clamp(17px, 1.7vw, 21px);
  font-weight: 700;
  letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq__sign { flex: none; font-size: 22px; font-weight: 400; color: var(--blue); }
.faq__sign::after { content: "\FF0B"; }
.faq details[open] .faq__sign::after { content: "\2212"; }
.faq__body { padding: 0 4px 24px; max-width: 70ch; font-size: 16px; line-height: 1.75; color: var(--muted); text-wrap: pretty; }

/* 13. Maps and embeds ---------------------------------------------------------- */

.map__label { margin: 0; font-size: 16px; font-weight: 700; }
.map__frame {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1.5px solid var(--ink);
}
.map__frame iframe { width: 100%; height: 300px; border: 0; display: block; }

.embed {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1.5px solid var(--ink);
  background: #fff;
}
.embed iframe { width: 100%; min-height: 900px; border: 0; display: block; }

.anchor-offset { scroll-margin-top: 96px; }

/* 14. Info list ----------------------------------------------------------------- */

.facts { margin: 0; display: grid; gap: 0; }
.facts > div {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 20px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--hairline);
}
.facts dt { font-weight: 700; }
.facts dd { margin: 0; color: var(--muted); line-height: 1.7; text-wrap: pretty; }

.ticks { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; font-size: 15px; line-height: 1.65; }
.ticks li::before {
  content: "\2714";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-size: 14px;
}
.card--dark .ticks li::before { color: var(--blue-lt); }

/* 15. Animation ------------------------------------------------------------------ */

@keyframes marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes bob  { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-8px) rotate(-3deg); } }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }

.rise { animation: rise .8s var(--ease) both var(--d, 0s); }

/* 16. Responsive ------------------------------------------------------------------ */

@media (max-width: 1100px) {
  .hdr__nav { gap: 18px; font-size: 13px; }
  .hdr__bar { gap: 16px; }
}

@media (max-width: 900px) {
  .hdr__nav { display: none; }
  .hdr__actions .btn--outline { display: none; }
  .hdr__burger { display: inline-flex; }
  .hdr__drawer { display: flex; }

  .section { padding-top: 64px; }

  .hero__body { padding-bottom: 72px; }
  .hero__video { display: none; }
  .hero {
    background-image: url(../images/Fahrschule-Winterthur-Disha-City-Drive-p-1080.jpg);
    background-size: cover;
    background-position: 58% 50%;
  }
  .hero__chip { margin-left: 0; width: 100%; justify-content: flex-start; }

  .grid--calc { grid-template-columns: 1fr; }
  .calc__count { font-size: 58px; }
  .calc__range { height: 44px; }

  .map__frame iframe { height: 220px; }

  .ftr { margin-top: 64px; }
  .ftr__grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }

  .facts > div { grid-template-columns: 1fr; gap: 4px; }
}

@media (max-width: 640px) {
  :root { --gut: 18px; }

  .h1 { font-size: clamp(38px, 10vw, 56px); }
  .hero .h1 { max-width: 100%; }
  .hero--page .h1 { font-size: clamp(32px, 8.5vw, 44px); }

  .panel { padding: clamp(24px, 6vw, 40px); }
  .panel--blue { padding: clamp(32px, 8vw, 48px) clamp(22px, 6vw, 36px); }

  .gallery img { height: 220px; }

  .card { padding: 26px 22px; }
  .receipt { padding: 26px 22px; }

  .ftr__grid { grid-template-columns: 1fr; gap: 32px; }
  .ftr__bottom { margin-top: 36px; }
}

@media (max-width: 420px) {
  .btn--lg { width: 100%; }
  .hero__badge { font-size: 11px; }
  .calc__count { font-size: 46px; }
  .receipt__price b { font-size: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* 17. Section-level helpers used by the page bodies ------------------------------ */

.card .h3 { margin: 22px 0 10px; }
.card__sub { margin: 0 0 8px; font-size: 15px; font-weight: 700; }
.card__text { margin: 0 0 26px; font-size: 15px; line-height: 1.65; color: var(--muted); text-wrap: pretty; }
.card--dark .card__text { color: var(--on-dark); }
.card--tint .h3 { margin: 0 0 12px; font-size: 23px; }
.card--tint p { margin: 0 0 22px; font-size: 15px; line-height: 1.65; }
.card__more { margin-top: auto; font-size: 15px; font-weight: 700; }

.h2--wide { font-size: clamp(30px, 4.4vw, 56px); line-height: 1.02; }
.h2--cta { font-size: clamp(32px, 5vw, 68px); line-height: 1; letter-spacing: -.035em; max-width: 16ch; }

.mb-40 { margin-bottom: 40px; }
.mt-md { margin-top: 48px; }
.mt-lg { margin-top: 44px; }

.section--cta { margin-top: 96px; }

.gallery__head { max-width: var(--maxw); margin: 0 auto 32px; padding: 0 var(--gut); }

.ueber {
  position: relative;
  margin-top: 96px;
  padding: clamp(72px, 9vw, 128px) var(--gut);
  overflow: hidden;
}
.ueber__body { position: relative; max-width: 62ch; margin: 0 auto; color: var(--bg); }
.ueber__body .h2 { margin: 0 0 24px; }
.ueber__body p { margin: 0 0 16px; font-size: 16px; line-height: 1.7; text-wrap: pretty; }
.ueber__body p:nth-of-type(1) { color: rgba(244, 245, 249, .9); }
.ueber__body p:nth-of-type(2) { color: var(--on-ink-soft); }
.ueber__body p:nth-of-type(3) { font-weight: 700; margin-bottom: 30px; }

.cta__lead { margin: 0 0 32px; font-size: 18px; max-width: 52ch; opacity: .85; }
.cta__row { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 900px) {
  .ueber { margin-top: 64px; padding: clamp(56px, 9vw, 88px) var(--gut); }
  .section--cta { margin-top: 64px; }
}

/* 18. Sub-page building blocks ---------------------------------------------------- */

.pagehead { padding: clamp(56px, 7vw, 96px) 0 0; }
.pagehead .lead { margin: 20px 0 0; max-width: 56ch; color: var(--muted); }

.tier__price {
  margin: 8px 0 18px;
  font-family: 'Sora', sans-serif;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -.03em;
}
.tier__price > span { font-size: 15px; font-weight: 600; color: var(--muted); margin-left: 6px; }
.card--dark .tier__price span { color: var(--on-dark); }

.note {
  margin: 26px 0 0;
  padding: 18px 22px;
  border-radius: var(--r-md);
  background: var(--tint);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
}
.note--dark { background: rgba(244, 245, 249, .08); color: var(--bg); }

.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } }

.stack { display: flex; flex-direction: column; gap: 12px; }

/* 19. Contact form ----------------------------------------------------------------- */

.form { display: flex; flex-direction: column; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form__field { display: flex; flex-direction: column; gap: 8px; }
.form__field > span { font-size: 14px; font-weight: 700; }
.form__field input,
.form__field textarea {
  width: 100%;
  padding: 0 16px;
  height: 52px;
  border: 1.5px solid var(--ink);
  border-radius: var(--r-md);
  background: #fff;
  color: var(--ink);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  transition: box-shadow .2s ease;
}
.form__field textarea { height: auto; padding: 14px 16px; line-height: 1.6; resize: vertical; }
.form__field input:focus-visible,
.form__field textarea:focus-visible {
  outline: none;
  box-shadow: 0 4px 0 var(--blue);
}
.form .btn { align-self: flex-start; }

.contact__phone {
  font-family: 'Sora', sans-serif;
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--ink);
}
.contact__phone:hover { color: var(--blue); }

.impressum { font-size: 16px; line-height: 1.8; color: var(--muted); }
.impressum strong { color: var(--ink); }

@media (max-width: 640px) {
  .form__row { grid-template-columns: 1fr; }
}

/* 20. Promotional price ------------------------------------------------------------ */

.offer { display: flex; flex-wrap: wrap; align-items: baseline; gap: 14px; margin: 0 0 22px; }
.offer s { font-size: 20px; font-weight: 600; color: var(--on-dark-2); }
.offer b { font-family: 'Sora', sans-serif; font-size: 42px; font-weight: 800; letter-spacing: -.03em; color: #fff; }
.offer__save {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

/* 21. Page navigation: dropdown + drawer grouping ---------------------------------- */

.hdr__drop { position: relative; }

.hdr__drop-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #444a5c;
  font-family: 'Space Grotesk', sans-serif;
  font-size: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: color .2s ease;
}
.hdr__drop-btn:hover,
.hdr__drop-btn[aria-expanded="true"] { color: var(--blue); }

.hdr__caret {
  width: 7px; height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .25s var(--ease);
}
.hdr__drop-btn[aria-expanded="true"] .hdr__caret { transform: translateY(1px) rotate(-135deg); }

.hdr__drop-panel {
  position: absolute;
  top: calc(100% + 14px);
  left: -18px;
  z-index: 60;
  display: grid;
  gap: 2px;
  width: 330px;
  padding: 10px;
  border: 1.5px solid var(--ink);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: 0 12px 0 rgba(16, 18, 31, .12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .2s ease, transform .25s var(--ease), visibility .2s;
}
.hdr__drop-panel[data-open] { opacity: 1; visibility: visible; transform: none; }

.hdr__drop-panel a {
  display: grid;
  gap: 2px;
  padding: 11px 14px;
  border-radius: var(--r-sm);
  color: var(--ink);
  transition: background .2s ease;
}
.hdr__drop-panel a:hover { background: var(--tint); color: var(--ink); }
.hdr__drop-panel b { font-size: 14px; font-weight: 700; }
.hdr__drop-panel span { font-size: 12.5px; color: var(--muted); font-weight: 500; }

.hdr__drawer-head {
  margin: 18px 0 2px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.hdr__drawer-head:first-child { margin-top: 0; }

@media (max-width: 1180px) {
  .hdr__nav { gap: 16px; font-size: 13px; }
  .hdr__actions .btn--outline { display: none; }
}

/* 22. Region links in the footer ---------------------------------------------------- */

.ftr__where a { font-size: 14px; color: var(--on-ink-soft); }
.ftr .ftr__where a:hover { color: var(--blue-lt); transform: none; }

/* 23. Region chips ------------------------------------------------------------------ */

.region-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.region-chip {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 20px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  transition: transform .25s var(--ease), background .25s ease, color .25s ease, box-shadow .25s ease;
}
.region-chip:hover {
  background: var(--blue);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 0 var(--blue-sh);
}
