/* turbo.ist — Design-System v2 (Tesla/SpaceX-clean, schwarz-weiß, Farbe nur mit Funktion) */

@font-face {
  font-family: "Inter";
  src: url("/fonts/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #000;
  --bg-raise: #0c0c0e;
  --bg-input: #131316;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.22);
  --txt: #f5f5f7;
  --txt-2: #9b9ba3;
  --txt-3: #606066;
  --ok: #30d158;
  --warn: #ffd60a;
  --bad: #ff453a;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h: 60px;
  --pad: clamp(20px, 5vw, 48px);
  --radius: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--txt);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  font-feature-settings: "cv05" 1, "ss01" 1;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection {
  background: rgba(255, 255, 255, 0.92);
  color: #000;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Typo ---------- */

.eyebrow {
  font-size: 12px;
  font-weight: 620;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--txt-2);
  margin: 0 0 14px;
}

.display {
  font-size: clamp(2.7rem, 9vw, 5.8rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.01;
  margin: 0;
}

h2.title {
  font-size: clamp(1.9rem, 5.4vw, 3.4rem);
  font-weight: 640;
  letter-spacing: -0.025em;
  line-height: 1.06;
  margin: 0 0 14px;
}

.lead {
  font-size: clamp(1.02rem, 2.4vw, 1.25rem);
  color: var(--txt-2);
  max-width: 34em;
  margin: 0;
}

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

.tiny {
  font-size: 13px;
  color: var(--txt-3);
  line-height: 1.55;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 50px;
  padding: 0 30px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  background: #fff;
  color: #000;
  font-size: 15px;
  font-weight: 620;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.35s var(--ease), opacity 0.25s ease, background 0.25s ease;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.btn:hover {
  opacity: 0.86;
}

.btn:active {
  transform: scale(0.965);
}

.btn[disabled] {
  opacity: 0.35;
  pointer-events: none;
}

.btn-ghost {
  background: rgba(10, 10, 12, 0.4);
  color: var(--txt);
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.1);
}

.btn-sm {
  height: 40px;
  padding: 0 20px;
  font-size: 14px;
}

.btn-block {
  width: 100%;
}

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad);
  transition: background 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-color: var(--line);
}

.brand {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-decoration: none;
  text-transform: uppercase;
}

.brand em {
  font-style: normal;
  color: var(--txt-3);
}

.nav-links {
  display: none;
  gap: 6px;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 560;
  color: var(--txt-2);
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover {
  color: var(--txt);
  background: rgba(255, 255, 255, 0.08);
}

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

.burger {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: none;
  border: 0;
  cursor: pointer;
  border-radius: 50%;
}

.burger span,
.burger span::before,
.burger span::after {
  content: "";
  display: block;
  width: 18px;
  height: 1.6px;
  background: var(--txt);
  position: relative;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}

.burger span::before {
  position: absolute;
  top: -6px;
}

.burger span::after {
  position: absolute;
  top: 6px;
}

body.menu-open .burger span {
  transform: rotate(45deg);
}

body.menu-open .burger span::before {
  transform: rotate(90deg) translateX(6px);
}

body.menu-open .burger span::after {
  opacity: 0;
}

.menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: rgba(0, 0, 0, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: grid;
  place-content: center;
  gap: 10px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s;
}

body.menu-open .menu {
  opacity: 1;
  visibility: visible;
}

.menu a {
  font-size: clamp(1.8rem, 6vw, 2.6rem);
  font-weight: 640;
  letter-spacing: -0.02em;
  text-decoration: none;
  text-align: center;
  padding: 10px 30px;
  border-radius: 14px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease), color 0.2s;
  color: var(--txt-2);
}

.menu a:hover {
  color: var(--txt);
}

body.menu-open .menu a {
  opacity: 1;
  transform: none;
}

@media (min-width: 900px) {
  .nav-links {
    display: flex;
  }

  .burger,
  .menu {
    display: none;
  }
}

/* ---------- Sektionen ---------- */

.section {
  padding: clamp(84px, 14vh, 150px) var(--pad);
  max-width: 1160px;
  margin: 0 auto;
}

.section-full {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.split {
  display: grid;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
  }

  .split.flip > .split-media {
    order: 2;
  }
}

.hairline {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0 auto;
  max-width: 1160px;
}

/* ---------- Hero ---------- */

.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  overflow: clip;
  padding: calc(var(--nav-h) + 40px) var(--pad) 40px;
  text-align: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-bottom: clamp(8px, 3vh, 40px);
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 10px;
}

.hero-car {
  width: min(980px, 100%);
  margin: clamp(-30px, -2vh, 0px) auto 0;
  will-change: transform;
}

.hero-facts {
  position: relative;
  z-index: 2;
  display: flex;
  gap: clamp(18px, 5vw, 56px);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: clamp(10px, 2.5vh, 28px);
}

.fact {
  text-align: center;
}

.fact b {
  display: block;
  font-size: clamp(1.25rem, 3.4vw, 1.7rem);
  font-weight: 650;
  letter-spacing: -0.02em;
}

.fact span {
  font-size: 12.5px;
  color: var(--txt-3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 560;
}

.scroll-cue {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: var(--txt-3);
  animation: cue 2.4s var(--ease) infinite;
}

@keyframes cue {
  0%, 100% { transform: translate(-50%, 0); opacity: 0.7; }
  50% { transform: translate(-50%, 8px); opacity: 1; }
}

/* ---------- Schritte ---------- */

.steps {
  display: grid;
  gap: 18px;
  margin-top: clamp(30px, 6vh, 64px);
  counter-reset: step;
}

@media (min-width: 800px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
}

.step i {
  display: block;
  font-style: normal;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.14em;
  color: var(--txt-3);
  margin-bottom: 40px;
}

.step h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  font-weight: 640;
  letter-spacing: -0.015em;
}

.step p {
  margin: 0;
  color: var(--txt-2);
  font-size: 15px;
}

/* ---------- Media / Wipe-Reveal ---------- */

.split-media,
.banner-media {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-raise);
}

.wipe img {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.2s var(--ease);
}

.wipe.in img {
  clip-path: inset(0 0 0 0);
}

.no-js .wipe img,
.no-js .rv {
  clip-path: none;
  opacity: 1;
  transform: none;
}

/* ---------- Checkliste ---------- */

.list {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.list li {
  display: flex;
  gap: 14px;
  align-items: baseline;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15.5px;
  color: var(--txt-2);
}

.list li::before {
  content: "";
  flex: 0 0 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--txt);
  transform: translateY(-2px);
}

.list li b {
  color: var(--txt);
  font-weight: 600;
}

/* ---------- Reveals & Counter ---------- */

.rv {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--d, 0s);
}

.rv.in {
  opacity: 1;
  transform: none;
}

/* ---------- Preis ---------- */

.price-hero {
  text-align: center;
}

.price-xl {
  font-size: clamp(4.4rem, 17vw, 9.5rem);
  font-weight: 680;
  letter-spacing: -0.045em;
  line-height: 1;
  margin: 18px 0 6px;
  font-variant-numeric: tabular-nums;
}

.price-xl sub {
  font-size: 0.32em;
  font-weight: 600;
  color: var(--txt-2);
  vertical-align: baseline;
  letter-spacing: 0;
  margin-left: 0.1em;
}

.price-grid {
  display: grid;
  gap: 14px;
  margin: clamp(30px, 6vh, 56px) auto 0;
  max-width: 860px;
  text-align: left;
}

@media (min-width: 800px) {
  .price-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.price-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
}

.price-card h3 {
  margin: 0 0 4px;
  font-size: 1.05rem;
  font-weight: 640;
}

.price-card .list li {
  padding: 10px 0;
  font-size: 14.5px;
}

.extra-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  color: var(--txt-2);
}

.extra-row b {
  color: var(--txt);
  font-weight: 620;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* ---------- Gebiet ---------- */

.area {
  text-align: center;
}

.area-cities {
  font-size: clamp(1.7rem, 6vw, 3.2rem);
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.25;
  margin: 24px 0 10px;
}

.area-cities span {
  color: var(--txt-3);
  padding: 0 0.35em;
}

/* ---------- FAQ ---------- */

.faq {
  max-width: 760px;
  margin: clamp(28px, 5vh, 48px) auto 0;
}

.qa {
  border-bottom: 1px solid var(--line);
}

.qa-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 2px;
  background: none;
  border: 0;
  text-align: left;
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
}

.qa-q::after {
  content: "";
  flex: 0 0 12px;
  width: 12px;
  height: 12px;
  border-right: 1.6px solid var(--txt-2);
  border-bottom: 1.6px solid var(--txt-2);
  transform: rotate(45deg);
  transition: transform 0.35s var(--ease);
  margin-right: 4px;
}

.qa.open .qa-q::after {
  transform: rotate(225deg) translate(-3px, -3px);
}

.qa-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease);
}

.qa.open .qa-a {
  grid-template-rows: 1fr;
}

.qa-a > div {
  overflow: hidden;
  color: var(--txt-2);
  font-size: 15px;
}

.qa-a p {
  margin: 0 0 20px;
  max-width: 60ch;
}

/* ---------- Footer ---------- */

.footer {
  border-top: 1px solid var(--line);
  padding: 34px var(--pad) calc(34px + env(safe-area-inset-bottom));
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  justify-content: space-between;
  align-items: center;
  max-width: 1160px;
  margin: 0 auto;
}

.footer nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.footer a {
  color: var(--txt-2);
  text-decoration: none;
  font-size: 14px;
}

.footer a:hover {
  color: var(--txt);
}

.footer .tiny {
  margin: 0;
}

/* ---------- Buchen: Shell ---------- */

.book-shell {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  max-width: 660px;
  margin: 0 auto;
  padding: 0 var(--pad);
}

.book-top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.94) 74%, rgba(0, 0, 0, 0));
  padding: 16px 0 18px;
}

.book-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.close-x {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: none;
  text-decoration: none;
  font-size: 17px;
  line-height: 1;
  color: var(--txt-2);
  transition: color 0.2s, border-color 0.2s;
}

.close-x:hover {
  color: var(--txt);
  border-color: var(--line-strong);
}

.progress {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.progress i {
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
  position: relative;
}

.progress i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}

.progress i.done::after,
.progress i.now::after {
  transform: scaleX(1);
}

.progress i.now::after {
  opacity: 0.95;
}

.book-step-label {
  margin-top: 10px;
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--txt-3);
  font-weight: 620;
}

.book-main {
  flex: 1;
  padding-bottom: 140px;
}

.bstep {
  display: none;
}

.bstep.active {
  display: block;
  animation: stepIn 0.5s var(--ease);
}

@keyframes stepIn {
  from { opacity: 0; transform: translateX(26px); }
  to { opacity: 1; transform: none; }
}

.bstep.back {
  animation-name: stepBack;
}

@keyframes stepBack {
  from { opacity: 0; transform: translateX(-26px); }
  to { opacity: 1; transform: none; }
}

.bstep h1 {
  font-size: clamp(1.7rem, 6vw, 2.3rem);
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 8px 0 6px;
}

.bstep .hint {
  color: var(--txt-2);
  font-size: 15px;
  margin: 0 0 26px;
}

/* ---------- Formulare ---------- */

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  font-size: 13px;
  font-weight: 620;
  letter-spacing: 0.02em;
  color: var(--txt-2);
  margin-bottom: 7px;
}

.field input,
.field textarea {
  width: 100%;
  background: var(--bg-input);
  color: var(--txt);
  border: 1.5px solid transparent;
  border-radius: 12px;
  padding: 14px 16px;
  font: inherit;
  font-size: 16px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--txt-3);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.55);
  background: #17171b;
}

.field.err input {
  border-color: var(--bad);
}

.field .field-err {
  display: none;
  font-size: 13px;
  color: var(--bad);
  margin-top: 6px;
}

.field.err .field-err {
  display: block;
}

.field-row {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 12px;
}

/* Segmented */

.seg {
  display: grid;
  gap: 8px;
}

.seg.cols-2 {
  grid-template-columns: 1fr 1fr;
}

.seg button {
  border: 1.5px solid var(--line);
  background: none;
  border-radius: 12px;
  padding: 13px 12px;
  font-size: 14.5px;
  font-weight: 580;
  color: var(--txt-2);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.seg button:hover {
  border-color: var(--line-strong);
}

.seg button[aria-pressed="true"] {
  border-color: #fff;
  color: var(--txt);
  background: rgba(255, 255, 255, 0.06);
}

/* Toggle-Karten (Zustand, Extras) */

.opt {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  text-align: left;
  background: none;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: border-color 0.25s var(--ease), background 0.25s;
  -webkit-tap-highlight-color: transparent;
}

.opt:hover {
  border-color: var(--line-strong);
}

.opt[aria-pressed="true"] {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.opt .opt-t {
  font-size: 15.5px;
  font-weight: 620;
  display: block;
}

.opt .opt-s {
  font-size: 13.5px;
  color: var(--txt-2);
  display: block;
  margin-top: 2px;
}

.opt .opt-p {
  font-size: 14.5px;
  font-weight: 640;
  color: var(--txt-2);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.opt[aria-pressed="true"] .opt-p {
  color: var(--txt);
}

.opt-note {
  border: 1px solid rgba(255, 214, 10, 0.35);
  background: rgba(255, 214, 10, 0.06);
  color: #ffe58a;
  border-radius: 12px;
  padding: 13px 15px;
  font-size: 13.5px;
  line-height: 1.5;
  margin: 4px 0 14px;
  display: none;
}

.opt-note.show {
  display: block;
  animation: stepIn 0.4s var(--ease);
}

/* ---------- Kalender ---------- */

.cal {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: var(--bg-raise);
}

.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.cal-head b {
  font-size: 15.5px;
  font-weight: 640;
  letter-spacing: -0.01em;
  text-transform: capitalize;
}

.cal-nav {
  display: flex;
  gap: 6px;
}

.cal-nav button {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  background: none;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  color: var(--txt-2);
  transition: border-color 0.2s, color 0.2s;
}

.cal-nav button:hover:not([disabled]) {
  border-color: var(--line-strong);
  color: var(--txt);
}

.cal-nav button[disabled] {
  opacity: 0.3;
  cursor: default;
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.cal-dow {
  text-align: center;
  font-size: 11px;
  font-weight: 620;
  letter-spacing: 0.08em;
  color: var(--txt-3);
  padding: 6px 0 8px;
  text-transform: uppercase;
}

.cal-dow.we {
  color: var(--txt);
}

.cal-day.we:not(.out):not(.past):not(.sel) {
  font-weight: 700;
}

.cal-day {
  aspect-ratio: 1;
  border: 1.5px solid transparent;
  border-radius: 10px;
  background: none;
  font-size: 14.5px;
  font-weight: 560;
  font-variant-numeric: tabular-nums;
  color: var(--txt);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 0;
  transition: background 0.2s, border-color 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.cal-day:hover:not([disabled]) {
  background: rgba(255, 255, 255, 0.07);
}

.cal-day::after {
  content: "";
  width: 4.5px;
  height: 4.5px;
  border-radius: 50%;
  background: transparent;
}

.cal-day.free::after {
  background: var(--ok);
}

.cal-day.low::after {
  background: var(--ok);
  opacity: 0.45;
}

.cal-day.full,
.cal-day.lead,
.cal-day.past,
.cal-day.out {
  color: var(--txt-3);
  cursor: default;
}

.cal-day.full::after {
  background: var(--txt-3);
}

.cal-day.out {
  opacity: 0.28;
}

.cal-day.today {
  border-color: var(--line-strong);
}

.cal-day.sel {
  background: #fff;
  color: #000;
  border-color: #fff;
}

.cal-day.sel::after {
  background: #000;
}

.cal-legend {
  display: flex;
  gap: 18px;
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--txt-3);
  flex-wrap: wrap;
}

.cal-legend i {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: 1px;
}

.cal-legend .lg-free i { background: var(--ok); }
.cal-legend .lg-low i { background: var(--ok); opacity: 0.45; }
.cal-legend .lg-ask i { background: #fff; }
.cal-legend .lg-full i { background: var(--txt-3); }

.cal-day.ask::after {
  background: #fff;
}

/* Slots: Startzeiten-Raster */

.slots {
  margin-top: 16px;
}

.slot-label {
  font-size: 12px;
  font-weight: 620;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--txt-3);
  margin: 0 0 10px;
}

.slot-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fill, minmax(74px, 1fr));
}

.slot {
  border: 1.5px solid var(--line);
  background: none;
  border-radius: 10px;
  padding: 11px 4px;
  text-align: center;
  cursor: pointer;
  font-size: 14.5px;
  font-weight: 620;
  font-variant-numeric: tabular-nums;
  color: var(--txt);
  transition: border-color 0.2s, background 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.slot:hover:not([disabled]) {
  border-color: var(--line-strong);
}

.slot[aria-pressed="true"] {
  border-color: #fff;
  background: #fff;
  color: #000;
}

.slot[disabled] {
  cursor: default;
  opacity: 0.4;
  color: var(--txt-3);
  text-decoration: line-through;
  text-decoration-thickness: 1.2px;
  border-color: transparent;
  background: rgba(255, 255, 255, 0.04);
}

.slots .tiny {
  margin-top: 12px;
}

.cal-skel {
  height: 330px;
  border-radius: var(--radius);
  background: linear-gradient(100deg, var(--bg-raise) 40%, #161619 50%, var(--bg-raise) 60%);
  background-size: 200% 100%;
  animation: skel 1.2s linear infinite;
}

.slot-skel {
  height: 120px;
  border-radius: var(--radius);
  background: linear-gradient(100deg, var(--bg-raise) 40%, #161619 50%, var(--bg-raise) 60%);
  background-size: 200% 100%;
  animation: skel 1.2s linear infinite;
}

@keyframes skel {
  to { background-position: -200% 0; }
}

/* ---------- Zusammenfassung ---------- */

.sum {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-raise);
  padding: 20px;
  margin-top: 8px;
}

.sum-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 0;
  font-size: 14.5px;
  border-bottom: 1px solid var(--line);
}

.sum-row:last-child {
  border-bottom: 0;
}

.sum-row span {
  color: var(--txt-2);
}

.sum-row b {
  font-weight: 600;
  text-align: right;
}

.sum-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 14px;
  margin-top: 6px;
  border-top: 1px solid var(--line-strong);
}

.sum-total b {
  font-size: 26px;
  font-weight: 680;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

/* ---------- Sticky Action Bar ---------- */

.book-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 30;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-top: 1px solid var(--line);
  padding: 12px var(--pad) calc(12px + env(safe-area-inset-bottom));
}

.book-bar-inner {
  max-width: 660px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.bar-price {
  flex: 1;
  min-width: 0;
}

.bar-price b {
  display: block;
  font-size: 19px;
  font-weight: 680;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.bar-price span {
  font-size: 12px;
  color: var(--txt-3);
  white-space: nowrap;
}

.bar-back {
  height: 50px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: none;
  color: var(--txt-2);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.bar-back:hover {
  border-color: var(--line-strong);
  color: var(--txt);
}

/* ---------- Toast ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(96px + env(safe-area-inset-bottom));
  transform: translate(-50%, 20px);
  z-index: 80;
  background: #1c1c20;
  border: 1px solid var(--line-strong);
  color: var(--txt);
  padding: 13px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 560;
  max-width: min(92vw, 480px);
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
}

.toast.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

/* ---------- Danke ---------- */

.done-wrap {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 90px var(--pad) 60px;
}

.done {
  max-width: 480px;
  width: 100%;
  text-align: center;
}

.check {
  width: 84px;
  height: 84px;
  margin: 0 auto 26px;
}

.check circle {
  fill: none;
  stroke: var(--ok);
  stroke-width: 2.4;
  stroke-dasharray: 214;
  stroke-dashoffset: 214;
  animation: draw 0.9s var(--ease) 0.15s forwards;
}

.check path {
  fill: none;
  stroke: var(--ok);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 44;
  stroke-dashoffset: 44;
  animation: draw 0.5s var(--ease) 0.75s forwards;
}

@keyframes draw {
  to { stroke-dashoffset: 0; }
}

.done h1 {
  font-size: clamp(2rem, 8vw, 2.9rem);
  font-weight: 660;
  letter-spacing: -0.03em;
  margin: 0 0 8px;
}

.done .sum {
  text-align: left;
  margin: 26px 0;
}

.done-actions {
  display: grid;
  gap: 10px;
}

/* ---------- Recht / Text-Seiten ---------- */

.page {
  max-width: 720px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 50px) var(--pad) 80px;
}

.page h1 {
  font-size: clamp(1.9rem, 6vw, 2.6rem);
  letter-spacing: -0.025em;
  font-weight: 650;
}

.page h2 {
  font-size: 1.15rem;
  margin: 34px 0 8px;
  font-weight: 640;
}

.page p,
.page li {
  color: var(--txt-2);
  font-size: 15.5px;
}

/* ---------- Intern ---------- */

.intern-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.job {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: var(--bg-raise);
}

.job.is-ask {
  border-color: rgba(255, 255, 255, 0.35);
}

.job-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.job-actions a,
.job-actions button {
  border: 1px solid var(--line);
  background: none;
  color: var(--txt);
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 13px;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
}

.job-actions a:hover,
.job-actions button:hover {
  border-color: var(--line-strong);
}

.day-row .job-actions {
  margin-top: 0;
  justify-content: flex-end;
}

.job-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  margin-bottom: 8px;
}

.job-head b {
  font-size: 16px;
  font-weight: 650;
}

.job-head span {
  font-size: 14px;
  font-weight: 640;
  font-variant-numeric: tabular-nums;
}

.job p {
  margin: 3px 0;
  font-size: 14px;
  color: var(--txt-2);
}

.job a {
  color: var(--txt);
}

/* Intern: Kalender-Verwaltung */

.intern-section {
  margin-top: 34px;
}

.intern-section > h2 {
  font-size: 1.15rem;
  font-weight: 640;
  margin: 0 0 14px;
}

.day-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-raise);
  padding: 18px;
  margin-top: 14px;
}

.day-panel h3 {
  font-size: 15.5px;
  font-weight: 640;
  margin: 0 0 12px;
}

.day-list {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.day-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
}

.day-row b {
  font-variant-numeric: tabular-nums;
  font-weight: 640;
}

.day-row .muted {
  color: var(--txt-3);
}

.day-row.is-block {
  border-style: dashed;
}

.day-row button {
  border: 1px solid var(--line);
  background: none;
  color: var(--txt-2);
  border-radius: 8px;
  padding: 5px 12px;
  font-size: 12.5px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.day-row button:hover {
  border-color: var(--line-strong);
  color: var(--txt);
}

.block-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.block-form select,
.block-form input[type="text"] {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--txt);
  padding: 9px 12px;
  font-size: 14px;
  font-family: inherit;
}

.block-form input[type="text"] {
  flex: 1;
  min-width: 120px;
}

.block-form .btn {
  padding: 10px 18px;
  font-size: 13.5px;
}

.btn-ghost-sm {
  border: 1px solid var(--line);
  background: none;
  color: var(--txt-2);
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 13.5px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.btn-ghost-sm:hover {
  border-color: var(--line-strong);
  color: var(--txt);
}

/* ---------- Utility ---------- */

.center {
  text-align: center;
}

.mt-lg {
  margin-top: clamp(28px, 5vh, 48px);
}

.cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.hide {
  display: none !important;
}

/* ---------- Motion aus ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }

  .rv {
    opacity: 1;
    transform: none;
  }

  .wipe img {
    clip-path: none;
  }

  .hero-car {
    transform: none !important;
  }
}
