/* Fahrschule Spurwechsel: frisch / split */

@font-face { font-family: 'Sora'; font-weight: 700; font-display: swap; src: url('fonts/sora-700.woff2') format('woff2'); }
@font-face { font-family: 'Sora'; font-weight: 600; font-display: swap; src: url('fonts/sora-600.woff2') format('woff2'); }
@font-face { font-family: 'Rubik'; font-weight: 400; font-display: swap; src: url('fonts/rubik-400.woff2') format('woff2'); }
@font-face { font-family: 'Rubik'; font-weight: 500; font-display: swap; src: url('fonts/rubik-500.woff2') format('woff2'); }

:root {
  --ink: #13233A;
  --text: #2B3B52;
  --muted: #4A5A70;
  --blue: #1E88E5;
  --blue-d: #1565C0;
  --sun: #FFD23F;
  --sun-soft: #FFF4CC;
  --ice: #EAF4FD;
  --line: #D3E3F3;
  --white: #FFFFFF;
  --r-l: 32px;
  --r-m: 22px;
  --display: 'Sora', system-ui, sans-serif;
  --body: 'Rubik', system-ui, sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--body);
  font-size: 1.125rem;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: var(--blue-d); }
:focus-visible { outline: 3px solid var(--blue-d); outline-offset: 3px; border-radius: 8px; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 2rem; }

/* ---------- Knöpfe ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 58px; padding: 0.85rem 1.8rem;
  border-radius: 999px; border: 2px solid transparent;
  font-family: var(--display); font-weight: 600; font-size: 1.05rem;
  text-decoration: none; color: var(--ink);
  transition: transform .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--sun { background: var(--sun); }
.btn--sun:hover { background: #FFDA5E; }
.btn--line { border-color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--ice); }
.btn--small { min-height: 46px; padding: 0.5rem 1.25rem; font-size: 0.98rem; }

/* ---------- Kopf ---------- */
.top { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); }
.top__in { display: flex; align-items: center; gap: 1.5rem; min-height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--ink); }
.logo__text { font-family: var(--display); font-weight: 700; font-size: 1.55rem; letter-spacing: -0.02em; line-height: 1; display: flex; flex-direction: column; }
.logo__text small { font-family: var(--body); font-weight: 500; font-size: 0.9rem; color: var(--muted); letter-spacing: 0.02em; margin-top: 0.15rem; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 0.25rem; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.9rem;
  border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 500;
}
.nav a:hover { background: var(--ice); }
.top__actions { display: flex; align-items: center; gap: 0.6rem; }
.iconbtn {
  display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--ice); color: var(--blue-d);
}
.iconbtn:hover { background: #D8EAFB; }
.menubtn {
  display: none; align-items: center; gap: 0.5rem; min-height: 46px; padding: 0 1rem 0 0.85rem;
  border: 2px solid var(--ink); border-radius: 999px; background: #fff; color: var(--ink);
  font: 500 1rem var(--body); cursor: pointer;
}
.menubtn__bars, .menubtn__bars::before, .menubtn__bars::after {
  display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative;
}
.menubtn__bars::before, .menubtn__bars::after { content: ''; position: absolute; left: 0; }
.menubtn__bars::before { top: -6px; }
.menubtn__bars::after { top: 6px; }
.menubtn[aria-expanded="true"] .menubtn__bars { background: transparent; }
.menubtn[aria-expanded="true"] .menubtn__bars::before { top: 0; transform: rotate(45deg); }
.menubtn[aria-expanded="true"] .menubtn__bars::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero (split) ---------- */
.hero { padding: 3.5rem 0 5rem; overflow: hidden; }
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  grid-template-areas: "text media"; gap: 4rem; align-items: center;
}
.hero__text { grid-area: text; }
.hero__media { grid-area: media; position: relative; }
.hero__media img {
  position: relative; z-index: 1;
  width: 100%; aspect-ratio: 5 / 6; object-fit: cover; object-position: 62% 50%;
  border-radius: 200px 200px var(--r-l) var(--r-l);
}
.hero__sun {
  position: absolute; z-index: 0; width: 46%; aspect-ratio: 1; border-radius: 50%;
  background: var(--sun); right: -9%; top: -7%;
}
.hero__chip {
  position: absolute; z-index: 2; left: -2.2rem; bottom: 2.4rem;
  background: #fff; border-radius: 999px; padding: 0.85rem 1.4rem;
  box-shadow: 0 14px 34px rgba(19, 35, 58, 0.16);
  color: var(--ink); font-size: 1.02rem;
}
.hero__chip strong { color: var(--blue-d); font-family: var(--display); font-weight: 600; margin-right: 0.35rem; }

.kicker {
  display: inline-block; background: var(--ice); color: var(--blue-d);
  font-weight: 500; padding: 0.4rem 1rem; border-radius: 999px; margin-bottom: 1.4rem;
}
.hero h1 {
  font-size: clamp(2.5rem, 5.4vw, 4.6rem); font-weight: 700; line-height: 1.04;
  letter-spacing: -0.03em; text-wrap: balance; max-width: 11ch;
}
.lead { font-size: 1.25rem; margin-top: 1.5rem; max-width: 34rem; color: var(--text); }
.hero__btns { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }
.facts { display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; margin-top: 2.2rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.facts li { display: flex; align-items: center; gap: 0.5rem; color: var(--ink); font-size: 1rem; }
.facts svg { color: var(--blue); flex: none; }

/* ---------- Abschnitte ---------- */
.section { padding: 6rem 0; }
.section--ice { background: var(--ice); }
.head { max-width: 44rem; margin-bottom: 3rem; }
.head h2, .ablauf__intro h2, .team h2, .office h2 { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 700; letter-spacing: -0.025em; text-wrap: balance; }
.head p { margin-top: 1rem; font-size: 1.15rem; }
.group { font-size: 1.25rem; font-weight: 600; margin: 0 0 1.1rem; color: var(--blue-d); }

/* Klassen-Karten */
.cards { display: grid; gap: 1rem; }
.cards--three { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 3.5rem; }
.cards--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card {
  display: flex; gap: 1.1rem; align-items: flex-start;
  border: 2px solid var(--line); border-radius: var(--r-m); padding: 1.4rem 1.4rem 1.5rem;
  background: #fff;
}
.card h4 { font-size: 1.15rem; font-weight: 600; }
.card p { font-size: 1.02rem; color: var(--text); }
.card .age {
  display: inline-block; margin: 0.45rem 0 0.55rem; padding: 0.15rem 0.7rem;
  background: var(--ice); color: var(--blue-d); border-radius: 999px; font-weight: 500; font-size: 0.98rem;
}
.badge {
  flex: none; display: inline-grid; place-items: center;
  min-width: 64px; height: 64px; padding: 0 0.6rem; border-radius: 999px;
  background: var(--blue-d); color: #fff;
  font-family: var(--display); font-weight: 700; font-size: 1.45rem; letter-spacing: -0.02em;
}
.badge--wide { font-size: 1.1rem; }
.badge--sun { background: var(--sun); color: var(--ink); }

.bikes { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: 2.5rem; align-items: center; }
.bikes__img { margin: 0; }
.bikes__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-l) var(--r-l) var(--r-l) 160px; }

.strip {
  display: flex; align-items: center; gap: 1.2rem; margin-top: 3rem;
  padding: 1.1rem 1.5rem; border-radius: 999px; background: var(--ice);
}
.strip p { color: var(--ink); }

.price {
  display: flex; gap: 1.2rem; margin-top: 1.4rem; padding: 1.6rem 1.8rem;
  border-radius: var(--r-m); background: var(--sun-soft); color: var(--ink);
}
.price svg { flex: none; margin-top: 0.15rem; }
.price h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 0.35rem; }
.price p { color: var(--ink); max-width: 52rem; }

/* Ablauf */
.ablauf { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 4.5rem; align-items: start; }
.ablauf__intro { position: sticky; top: 110px; }
.ablauf__intro p { margin-top: 1rem; font-size: 1.15rem; }
.ablauf__img { margin: 2.2rem 0 0; }
.ablauf__img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-l); }
.road { position: relative; }
.road li:not(:last-child)::before {
  content: ''; position: absolute; left: 27px; top: 58px; bottom: 0; width: 4px;
  background: repeating-linear-gradient(to bottom, var(--blue) 0 12px, transparent 12px 22px);
  border-radius: 4px;
}
.road li { position: relative; display: flex; gap: 1.5rem; padding-bottom: 2.1rem; }
.road li:last-child { padding-bottom: 0; }
.road__icon svg { width: 27px; height: 27px; }
.road__icon {
  position: relative; z-index: 1; flex: none; display: grid; place-items: center;
  width: 58px; height: 58px; border-radius: 50%; background: #fff; color: var(--blue-d);
  border: 3px solid var(--blue);
}
.road__goal .road__icon { background: var(--sun); border-color: var(--sun); color: var(--ink); }
.road h3 { font-size: 1.3rem; font-weight: 600; margin: 0.75rem 0 0.4rem; }
.road p { max-width: 36rem; }

/* Band in Hausfarbe */
.band { background: var(--blue-d); color: #fff; padding: 5.5rem 0; position: relative; overflow: hidden; }
.band::after {
  content: ''; position: absolute; width: 420px; height: 420px; border-radius: 50%;
  border: 56px solid rgba(255, 255, 255, 0.08); right: -140px; bottom: -200px;
}
.band__in { position: relative; z-index: 1; }
.band__label { font-family: var(--body); font-size: 1.05rem; font-weight: 500; color: var(--sun); letter-spacing: 0.02em; }
.band__quote {
  font-family: var(--display); font-weight: 600; color: #fff;
  font-size: clamp(1.6rem, 3.1vw, 2.5rem); line-height: 1.3; letter-spacing: -0.015em;
  margin-top: 1rem; max-width: 52rem; text-wrap: pretty;
}
.band__note { margin-top: 1.4rem; font-size: 1.15rem; color: #EAF4FD; }

/* Termine (Inhalte selbst pflegen) */
.dates { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 2rem; align-items: start; }
.week { border-radius: var(--r-l); background: var(--ink); color: #fff; padding: 2rem 2rem 1.4rem; }
.week h3 { color: var(--sun); font-size: 1.15rem; font-weight: 600; margin-bottom: 1rem; }
.week__list li { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 1rem; padding: 1rem 0; border-top: 1px solid rgba(255,255,255,.16); }
.week__list .day { font-family: var(--display); font-weight: 600; color: #fff; }
.week__list strong { display: block; font-weight: 500; color: #fff; }
.week__list span { color: #D5DEEA; }
.news { display: grid; gap: 1rem; }
.news__item { border: 2px solid var(--line); border-radius: var(--r-m); padding: 1.4rem 1.6rem; }
.news__item--sun { border-color: var(--sun); background: var(--sun-soft); }
.tag {
  display: inline-block; padding: 0.15rem 0.75rem; border-radius: 999px;
  background: var(--ice); color: var(--blue-d); font-weight: 500; font-size: 0.98rem;
}
.news__item--sun .tag { background: var(--sun); color: var(--ink); }
.news__item h3 { font-size: 1.25rem; font-weight: 600; margin: 0.7rem 0 0.35rem; }

/* Team und Fahrzeuge */
.team { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 4rem; }
.team .h2--small { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.people { margin-top: 1.8rem; }
.people li { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 1rem; padding: 1rem 0; border-bottom: 2px solid #fff; }
.people strong { font-family: var(--display); font-weight: 600; color: var(--ink); font-size: 1.2rem; }
.fleet { margin-top: 1.8rem; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.fleet li { background: #fff; border-radius: 999px; padding: 0.55rem 1.1rem; color: var(--ink); }

/* Büro und Anmeldung */
.office { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 4rem; align-items: start; }
.office__main > p { margin-top: 1rem; font-size: 1.15rem; max-width: 34rem; }
.hours { margin-top: 2rem; border-collapse: collapse; width: 100%; max-width: 30rem; }
.hours caption { text-align: left; font-family: var(--display); font-weight: 600; color: var(--blue-d); font-size: 1.15rem; margin-bottom: 0.5rem; }
.hours th, .hours td { text-align: left; padding: 0.8rem 0; border-bottom: 2px solid var(--ice); font-weight: 400; }
.hours th { color: var(--ink); font-weight: 500; }
.hours td { text-align: right; color: var(--ink); }
.office__btns { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }
.bring { background: var(--ice); border-radius: var(--r-l); padding: 2rem; }
.bring h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 1rem; }
.checks li { position: relative; padding: 0.45rem 0 0.45rem 2.1rem; color: var(--ink); }
.checks li::before {
  content: ''; position: absolute; left: 0; top: 0.72rem; width: 1.3rem; height: 1.3rem; border-radius: 50%;
  background: var(--blue-d) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.where { font-style: normal; margin-top: 1.5rem; padding: 0 0.5rem; }
.where strong { display: block; font-family: var(--display); color: var(--ink); font-weight: 600; }

/* Fußzeile */
.foot { background: var(--ink); color: #D5DEEA; padding: 3rem 0; }
.foot__in { display: flex; flex-wrap: wrap; gap: 1rem 3rem; align-items: flex-end; justify-content: space-between; }
.foot__name { font-family: var(--display); font-weight: 700; color: #fff; font-size: 1.3rem; }
.foot a { color: #fff; }
.foot__links { display: flex; gap: 1.5rem; }
.foot__links a { display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- Tablet ---------- */
@media (max-width: 1080px) {
  .nav a { padding: 0 0.6rem; }
  .cards--three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .menubtn { display: inline-flex; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line); padding: 0.5rem 1.25rem 1rem;
    box-shadow: 0 18px 30px rgba(19, 35, 58, 0.1);
  }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; }
  .nav a { min-height: 52px; font-size: 1.1rem; width: 100%; }
  .top__in { position: relative; }
  .top__actions { margin-left: auto; }

  .hero { padding: 1.25rem 0 3.5rem; }
  .hero__grid { grid-template-columns: 1fr; grid-template-areas: "media" "text"; gap: 1.6rem; }
  .hero__media img { aspect-ratio: 16 / 8; border-radius: 120px var(--r-m) var(--r-m) var(--r-m); object-position: 60% 62%; }
  .hero__sun { width: 30%; right: -6%; top: -16%; }
  .hero__chip { left: auto; right: 0.8rem; bottom: -1.1rem; padding: 0.6rem 1.1rem; font-size: 0.98rem; }
  .hero h1 { max-width: none; }
  .ablauf, .dates, .team, .office { grid-template-columns: 1fr; gap: 2.5rem; }
  .ablauf__intro { position: static; }
  .bikes { grid-template-columns: 1fr; }
  .bikes__img img { aspect-ratio: 16 / 9; object-position: 50% 45%; border-radius: var(--r-l) var(--r-l) var(--r-l) 100px; }
}

/* ---------- Handy ---------- */
@media (max-width: 640px) {
  body { font-size: 1.0625rem; }
  .wrap { padding: 0 1.15rem; }
  .top__in { min-height: 68px; gap: 0.75rem; }
  .logo__text { font-size: 1.35rem; }
  .logo__text small { font-size: 0.875rem; }
  .top__cta { display: none; }
  .menubtn__label { font-size: 0.98rem; }

  .hero__media img { aspect-ratio: 16 / 8.5; }
  .hero__chip { display: none; }
  .kicker { font-size: 0.98rem; margin-bottom: 0.9rem; padding: 0.3rem 0.85rem; }
  .hero h1 { font-size: 2.6rem; }
  .lead { font-size: 1.1rem; margin-top: 1rem; }
  .hero__btns { margin-top: 1.4rem; }
  .hero__btns .btn { flex: 1 1 100%; }
  .facts { flex-direction: column; gap: 0.6rem; margin-top: 1.8rem; }

  .section { padding: 4rem 0; }
  .head { margin-bottom: 2rem; }
  .cards--three, .cards--two { grid-template-columns: 1fr; }
  .cards--three { margin-bottom: 2.5rem; }
  .card { padding: 1.2rem; }
  .badge { min-width: 56px; height: 56px; font-size: 1.3rem; }
  .badge--wide { font-size: 1rem; }
  .strip { border-radius: var(--r-m); align-items: flex-start; }
  .price { flex-direction: column; gap: 0.6rem; padding: 1.4rem; }

  .road li:not(:last-child)::before { left: 23px; top: 50px; }
  .road__icon { width: 50px; height: 50px; }
  .road li { gap: 1.1rem; }
  .road h3 { margin-top: 0.55rem; font-size: 1.2rem; }

  .band { padding: 4rem 0; }
  .week { padding: 1.6rem 1.3rem 1rem; }
  .week__list li { grid-template-columns: 1fr; gap: 0.2rem; }
  .people li { grid-template-columns: 1fr; gap: 0.1rem; }
  .office__btns .btn { flex: 1 1 100%; }
  .bring { padding: 1.5rem; }
}
