/* =====================================================================
   Fahrradfinder – Zweirad Experte Frerichs
   Premium-Redesign nach Apple-Store-Vorbild:
   #f5f5f7-Fläche, weiße Karten (18px), Pill-Buttons, Glas-Header.
   Marke bleibt: Lato, Frerichs-Orange #ED6C2B, Original-Logo.
   ===================================================================== */

@font-face {
  font-family: 'Lato';
  src: url('../fonts/Lato-Regular.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Lato';
  src: url('../fonts/Lato-Bold.ttf') format('truetype');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Lato';
  src: url('../fonts/Lato-Black.ttf') format('truetype');
  font-weight: 900; font-style: normal; font-display: swap;
}

:root {
  --accent: #ED6C2B;
  --accent-dark: #d56127;
  --accent-tint: #fdf0ea;
  --ink: #1d1d1f;
  --ink-soft: #6e6e73;
  --hairline: #d2d2d7;
  --surface: #f5f5f7;
  --card: #ffffff;
  --radius-card: 18px;
  --radius-tile: 12px;
  --radius-pill: 980px;
  --shadow-rest: 0 1px 2px rgba(29, 29, 31, 0.04);
  --shadow-lift: 0 18px 40px rgba(29, 29, 31, 0.12);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font: 'Lato', -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --header-h: 60px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: hidden; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--ink);
  background: var(--surface);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font-family: inherit; cursor: pointer; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 1.25rem; }

/* ---------- Buttons: Pills ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  border: 0; border-radius: var(--radius-pill);
  font-size: 1.05rem; font-weight: 700; letter-spacing: 0.01em;
  text-decoration: none; color: var(--card);
  padding: 0.9rem 1.9rem; min-height: 52px;
  transition: background-color 0.25s var(--ease), transform 0.15s var(--ease), box-shadow 0.25s var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn-accent { background: var(--accent); }
.btn-accent:hover { background: var(--accent-dark); box-shadow: 0 8px 24px rgba(237, 108, 43, 0.35); }
.btn-dark { background: var(--ink); }
.btn-dark:hover { background: #000; }
.btn-navy { background: #233650; }
.btn-navy:hover { background: #1a293c; box-shadow: 0 8px 24px rgba(35, 54, 80, 0.3); }
.btn-whatsapp, .site-footer a.btn-whatsapp { background: #25d366; color: #fff; }
.btn-whatsapp:hover, .site-footer a.btn-whatsapp:hover { background: #1fb85a; color: #fff; box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35); }
.btn-whatsapp svg { width: 20px; height: 20px; }
.btn-outline {
  background: var(--card); color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--hairline);
}
.btn-outline:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.btn-block { width: 100%; }

/* ---------- Header: Frosted Glass ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
@supports not (backdrop-filter: blur(20px)) {
  .site-header { background: rgba(255, 255, 255, 0.97); }
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; }
.site-header img.logo { height: 42px; width: auto; }
.header-link {
  font-size: 0.92rem; font-weight: 700; text-decoration: none;
  color: var(--ink-soft); transition: color 0.2s;
}
.header-link:hover { color: var(--accent); }

/* ---------- Screens ---------- */
.screen { display: none; }
.screen.active { display: block; animation: screenIn 0.45s var(--ease); }
@keyframes screenIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Sektionen (Apple: Schwarz fett + graue Fortsetzung) ---------- */
.results-header h2, .results-more-title, .form-wrap h2, .success-wrap h2 {
  font-size: clamp(1.5rem, 4.5vw, 2.1rem);
  font-weight: 900; line-height: 1.2; letter-spacing: -0.015em;
}
.results-header h2 span, .results-more-title span { color: var(--ink-soft); font-weight: 900; }

/* ---------- Quiz ---------- */
.quiz-wrap {
  min-height: calc(100dvh - var(--header-h));
  display: flex; flex-direction: column;
  max-width: 620px; margin: 0 auto; padding: 0 1.25rem 2rem;
}
.quiz-top { padding: 1.4rem 0 0.8rem; }
.progress-track {
  height: 36px; background: #e3e3e8; border-radius: var(--radius-pill);
  overflow: hidden;
  box-shadow: inset 0 1px 4px rgba(29, 29, 31, 0.08);
}
.progress-bar {
  height: 100%; background: linear-gradient(180deg, #f07c40, var(--accent));
  width: 0; border-radius: var(--radius-pill);
  transition: width 0.5s var(--ease);
}
.quiz-meta {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.85rem; font-weight: 700; color: var(--ink-soft);
  margin-top: 0.7rem;
}
.quiz-back {
  background: none; border: 0; color: var(--ink-soft);
  font-size: 0.85rem; font-weight: 700; padding: 0.4rem 0;
  display: inline-flex; align-items: center; gap: 0.3rem;
  transition: color 0.2s;
}
.quiz-back:hover { color: var(--accent); }
.quiz-back[disabled] { visibility: hidden; }

.quiz-body { flex: 1; display: flex; flex-direction: column; padding: 1.6rem 0 2rem; overflow-x: hidden; }
.quiz-question {
  font-size: clamp(1.5rem, 5.5vw, 2rem); font-weight: 900;
  line-height: 1.18; letter-spacing: -0.015em;
  margin-bottom: 1.6rem;
}
.quiz-options { display: grid; gap: 0.8rem; }
.quiz-option {
  display: flex; align-items: center; gap: 1rem; text-align: left;
  background: var(--card); border: 1.5px solid transparent;
  border-radius: var(--radius-card);
  padding: 1.15rem 1.15rem 1.15rem 1.25rem; min-height: 82px;
  font-size: 1.1rem; font-weight: 700; color: var(--ink);
  box-shadow: var(--shadow-rest);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.2s, background-color 0.2s;
  animation: optIn 0.45s var(--ease) both;
  animation-delay: calc(0.08s + var(--i, 0) * 0.07s);
}
@keyframes optIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.quiz-option:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.quiz-option:active { transform: scale(0.98); }
.quiz-option.selected { border-color: var(--accent); background: var(--accent-tint); }
.quiz-option .opt-icon {
  flex: 0 0 48px; height: 48px; display: flex; align-items: center; justify-content: center;
  background: var(--surface); color: var(--ink); border-radius: var(--radius-tile);
  transition: background-color 0.2s, color 0.2s;
}
.quiz-option.selected .opt-icon { background: var(--accent); color: #fff; }
/* Rahmenform-Icons: ganzes Rad angegraut, nur der Rahmen in kräftiger Farbe */
.quiz-option .opt-icon-rad { flex-basis: 84px; height: 56px; }
.quiz-option .opt-icon svg .rad-grau { stroke: #c3cad3; }
.quiz-option.selected .opt-icon svg .rad-grau { stroke: rgba(255, 255, 255, 0.55); }
.quiz-option .opt-text { flex: 1; }
.quiz-option small { display: block; font-weight: 400; color: var(--ink-soft); font-size: 0.88rem; margin-top: 0.15rem; }
.quiz-option .opt-chevron { color: var(--hairline); transition: color 0.2s, transform 0.25s var(--ease); }
.quiz-option:hover .opt-chevron { color: var(--accent); transform: translateX(3px); }

.quiz-benefits {
  margin-top: 1.5rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem;
  list-style: none;
  animation: optIn 0.45s var(--ease) both 0.28s;
}
.quiz-benefits li {
  font-size: 0.85rem; font-weight: 700; color: var(--ink-soft);
  padding: 0.42rem 0.95rem; border-radius: var(--radius-pill);
  background: #e8e8ed;
}
.quiz-benefits li::before { content: '✓  '; color: var(--accent); font-weight: 900; }
.quiz-benefits li.benefit-google::before { content: none; }
.stars { color: #f5a623; letter-spacing: 0.05em; }

.quiz-step { animation: slideIn 0.35s var(--ease); }
@keyframes slideIn { from { opacity: 0; transform: translateX(26px); } to { opacity: 1; transform: none; } }

/* ---------- Ladeanimation: Fortschrittsring + Analyse-Schritte ---------- */
.loading-wrap {
  min-height: calc(100dvh - var(--header-h));
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2.2rem; padding: 2rem 1.25rem;
}
.loading-ring { position: relative; width: 132px; height: 132px; }
.loading-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.loading-ring .ring-bg { fill: none; stroke: #e3e3e8; stroke-width: 7; }
.loading-ring .ring-fg {
  fill: none; stroke: var(--accent); stroke-width: 7; stroke-linecap: round;
}
.ring-pct {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.55rem; font-weight: 900; letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.loading-steps { list-style: none; display: grid; gap: 0.85rem; min-width: min(320px, 100%); }
.load-step {
  display: flex; align-items: center; gap: 0.8rem;
  font-size: 1rem; font-weight: 700; color: var(--ink-soft);
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), color 0.3s;
}
.load-step.visible { opacity: 1; transform: none; }
.load-step.done { color: var(--ink); }
.load-dot {
  flex: 0 0 26px; height: 26px; border-radius: 50%;
  border: 2.5px solid var(--hairline);
  display: flex; align-items: center; justify-content: center;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.load-step.done .load-dot {
  background: var(--accent); border-color: var(--accent); transform: scale(1.05);
}
.load-step.done .load-dot::before {
  content: ''; width: 7px; height: 12px; margin-top: -3px;
  border: solid #fff; border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}

/* ---------- Ergebnisse ---------- */
.results-header { padding: 2.5rem 0 0.5rem; }
.results-header .eyebrow {
  display: inline-block; margin-bottom: 0.6rem;
  color: var(--accent); font-weight: 700; font-size: 0.88rem;
}
.results-grid { display: grid; gap: 1.1rem; padding: 1.4rem 0 0.8rem; }
.results-more-title { margin: 2rem 0 0; }
.results-actionbar { display: flex; gap: 0.75rem; padding: 1.5rem 0 1.5rem; flex-wrap: wrap; }
.results-actionbar .btn { flex: 1 1 220px; }
.kids-tile {
  background: var(--card); border-radius: var(--radius-card);
  box-shadow: var(--shadow-rest);
  padding: 1.5rem; margin-bottom: 3rem;
  display: flex; flex-direction: column; gap: 1rem;
}
.kids-tile h3 { font-size: 1.15rem; font-weight: 900; letter-spacing: -0.01em; }
.kids-tile p { color: var(--ink-soft); font-size: 0.95rem; margin-top: 0.25rem; }
@media (min-width: 700px) {
  .kids-tile { flex-direction: row; align-items: center; justify-content: space-between; }
  .kids-tile .btn { flex: 0 0 auto; }
}

.bike-card {
  background: var(--card); border-radius: var(--radius-card);
  display: flex; flex-direction: column; overflow: hidden;
  box-shadow: var(--shadow-rest);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.bike-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.bike-media { position: relative; padding: 1.4rem 1.4rem 0.4rem; }
.bike-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: contain; }
.match-badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--accent); color: #fff;
  font-weight: 900; font-size: 0.88rem;
  padding: 0.35rem 0.85rem; border-radius: var(--radius-pill);
}
.match-badge.silver { background: var(--ink); }
.bike-info { padding: 0.4rem 1.4rem 1.4rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.bike-brand { font-size: 0.85rem; font-weight: 700; color: var(--ink-soft); }
.bike-name { font-size: 1.3rem; font-weight: 900; line-height: 1.15; letter-spacing: -0.01em; }
.bike-cat { font-size: 0.88rem; color: var(--ink-soft); }
.bike-price { font-size: 1.25rem; font-weight: 900; }
.bike-price small { font-size: 0.8rem; font-weight: 400; color: var(--ink-soft); }
.bike-reason {
  font-size: 0.94rem; color: var(--ink-soft); line-height: 1.5;
  background: var(--surface); border-radius: var(--radius-tile);
  padding: 0.8rem 0.95rem; margin: 0.3rem 0;
}
.bike-specs { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.bike-specs span {
  font-size: 0.78rem; font-weight: 700; color: var(--ink-soft);
  background: var(--surface); padding: 0.3rem 0.7rem; border-radius: var(--radius-pill);
}
.bike-actions { display: flex; flex-direction: column; gap: 0.6rem; margin-top: auto; padding-top: 0.8rem; }
.bike-actions-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.6rem; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  min-height: 44px; border: 0; border-radius: var(--radius-pill);
  background: var(--surface); color: var(--ink);
  font-size: 0.82rem; font-weight: 700; text-decoration: none;
  transition: background-color 0.2s, transform 0.15s var(--ease);
}
.icon-btn:hover { background: #e8e8ed; }
.icon-btn:active { transform: scale(0.96); }
.icon-btn svg { width: 17px; height: 17px; }
.link-plain {
  align-self: center; font-weight: 700; font-size: 0.95rem; color: var(--accent);
  text-decoration: none;
}
.link-plain:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Probefahrt-Formular ---------- */
.form-wrap { max-width: 560px; margin: 0 auto; padding: 2.5rem 1.25rem 3.5rem; }
.form-wrap h2 { margin-bottom: 0.5rem; }
.form-wrap > p { color: var(--ink-soft); margin-bottom: 1.5rem; }
.form-bike {
  display: flex; gap: 1rem; align-items: center;
  background: var(--card); border-radius: var(--radius-card);
  box-shadow: var(--shadow-rest);
  padding: 1rem; margin-bottom: 1.6rem;
}
.form-bike img { width: 96px; height: 64px; object-fit: contain; }
.form-bike strong { display: block; font-size: 1rem; font-weight: 900; }
.form-bike span { font-size: 0.88rem; color: var(--ink-soft); }
.field { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 1.15rem; }
.field label { font-size: 0.9rem; font-weight: 700; }
.field input, .field select {
  font-family: inherit; font-size: 1.05rem; color: var(--ink);
  border: 1.5px solid var(--hairline); border-radius: var(--radius-tile);
  background: var(--card);
  padding: 0.85rem 1rem; min-height: 54px; width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236e6e73' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center;
}
.field input:focus, .field select:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(237, 108, 43, 0.15);
}
.field .hint { font-size: 0.85rem; color: var(--ink-soft); }
.time-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
.time-chip {
  display: flex; flex-direction: column; align-items: center; gap: 0.1rem;
  padding: 0.75rem 0.5rem; min-height: 62px;
  background: var(--card); border: 1.5px solid var(--hairline);
  border-radius: var(--radius-tile);
  font-size: 0.95rem; font-weight: 700; color: var(--ink);
  transition: border-color 0.2s, background-color 0.2s, transform 0.15s var(--ease);
}
.time-chip small { font-weight: 400; font-size: 0.8rem; color: var(--ink-soft); }
.time-chip:active { transform: scale(0.97); }
.time-chip.selected {
  border-color: var(--accent); background: var(--accent-tint); color: var(--ink);
}
.time-chip.selected small { color: var(--accent-dark); }
.field.invalid .time-chip { border-color: #dc3545; }
.field .error-msg { display: none; font-size: 0.85rem; color: #c6303e; font-weight: 700; }
.field.invalid input { border-color: #dc3545; }
.field.invalid .error-msg { display: block; }
.form-note { font-size: 0.85rem; color: var(--ink-soft); margin: 0.75rem 0 1.25rem; }
.form-note a { color: var(--ink); }

/* ---------- Erfolg ---------- */
.success-wrap { max-width: 560px; margin: 0 auto; padding: 4rem 1.25rem; text-align: center; }
.success-check {
  width: 76px; height: 76px; margin: 0 auto 1.6rem; background: var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 2.3rem; font-weight: 900;
  box-shadow: 0 12px 32px rgba(237, 108, 43, 0.35);
  animation: pop 0.45s var(--ease);
}
@keyframes pop { from { transform: scale(0.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.success-wrap h2 { margin-bottom: 0.75rem; }
.success-wrap p { color: var(--ink-soft); margin-bottom: 1.6rem; }
.success-actions { display: flex; flex-direction: column; gap: 0.75rem; }

/* ---------- Action-Sheet ---------- */
.sheet-backdrop {
  position: fixed; inset: 0; z-index: 60; background: rgba(29, 29, 31, 0.45);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  display: none; align-items: flex-end; justify-content: center;
}
.sheet-backdrop.open { display: flex; }
.sheet {
  background: var(--card); width: 100%; max-width: 560px;
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  padding: 0.9rem 1.25rem 2rem;
  animation: sheetUp 0.35s var(--ease);
}
.sheet::before {
  content: ''; display: block; width: 38px; height: 5px;
  background: var(--hairline); border-radius: var(--radius-pill);
  margin: 0 auto 1.1rem;
}
@keyframes sheetUp { from { transform: translateY(48px); opacity: 0; } to { transform: none; opacity: 1; } }
.sheet h3 { font-size: 1.1rem; font-weight: 900; letter-spacing: -0.01em; margin-bottom: 1rem; }
.sheet .sheet-options { display: grid; gap: 0.75rem; }
.sheet a.sheet-option {
  display: flex; flex-direction: column; gap: 0.15rem;
  background: var(--surface); border-radius: var(--radius-tile);
  border: 1.5px solid transparent;
  padding: 0.95rem 1.15rem; text-decoration: none;
  transition: border-color 0.2s;
}
.sheet a.sheet-option:hover { border-color: var(--accent); }
.sheet a.sheet-option strong { font-weight: 900; }
.sheet a.sheet-option span { font-size: 0.9rem; color: var(--ink-soft); }
.sheet .sheet-close {
  margin-top: 1rem; width: 100%; background: none; border: 0;
  font-weight: 700; color: var(--ink-soft); padding: 0.6rem;
}

/* ---------- Footer (hell, Apple-Stil) ---------- */
.site-footer {
  border-top: 1px solid var(--hairline);
  padding: 2.25rem 0 3rem; font-size: 0.9rem; color: var(--ink-soft);
}
.site-footer .container { display: flex; flex-direction: column; gap: 1.1rem; }
.site-footer strong { color: var(--ink); font-weight: 900; }
.site-footer a { color: var(--ink-soft); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
#footer-branches { display: grid; gap: 0.8rem; }
@media (min-width: 560px) { #footer-branches { grid-template-columns: 1fr 1fr; } }
.footer-branch {
  background: var(--card); border-radius: var(--radius-tile);
  padding: 1.15rem 1.25rem; box-shadow: var(--shadow-rest);
  display: flex; flex-direction: column; gap: 0.2rem;
}
.footer-branch strong { font-size: 1rem; }
.footer-branch span { font-size: 0.92rem; }
.fb-rating { font-size: 0.85rem; margin-top: 0.15rem; }
.fb-rating .stars { font-size: 0.8rem; }
.fb-actions { display: flex; flex-wrap: wrap; gap: 1.1rem; margin-top: 0.45rem; }
.fb-actions a { color: var(--accent); font-weight: 700; font-size: 0.95rem; }
.fb-actions a:hover { color: var(--accent-dark); }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.25rem; }

/* ---------- Sticky Mobile-CTA ---------- */
.sticky-cta {
  position: fixed; bottom: calc(67px + env(safe-area-inset-bottom)); left: 0; right: 0; z-index: 30;
  background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding: 0.7rem 1.25rem calc(0.7rem + env(safe-area-inset-bottom));
  display: none;
}
.sticky-cta.visible { display: block; }
.sticky-cta .btn { width: 100%; }


/* ---------- Aktionsleiste unten (identisch zur Hauptseite) ---------- */
.action-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 50;
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding: 0.45rem 0.5rem calc(0.45rem + env(safe-area-inset-bottom));
}
.ab-item {
  display: flex; flex-direction: column; align-items: center; gap: 0.2rem;
  border: 0; background: none; cursor: pointer; text-decoration: none;
  font-family: inherit; font-size: 0.68rem; font-weight: 700; color: var(--ink);
  padding: 0.3rem 0.2rem; border-radius: var(--radius-tile);
  transition: background-color 0.15s;
}
.ab-item:active { background: rgba(0, 0, 0, 0.05); }
.ab-item svg { width: 22px; height: 22px; }
.ab-accent { color: var(--accent); }
/* Platz schaffen, damit die Leiste nichts überdeckt */
body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .screen.active, .quiz-step, .quiz-option, .quiz-benefits,
  .load-step, .sheet, .success-check { animation: none; }
  .progress-bar, .bike-card, .quiz-option, .load-step, .ring-fg { transition: none; }
}

/* ---------- Desktop ---------- */
@media (min-width: 768px) {
  :root { --header-h: 68px; }
  .site-header img.logo { height: 48px; }
  .results-grid { grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
  .form-wrap { padding-top: 3.5rem; }
  .sticky-cta { display: none !important; }
}
@media (min-width: 900px) {
  .action-bar { display: none; }
  body { padding-bottom: 0; }
}
@media (min-width: 1100px) {
  .results-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Verfügbarkeits-Ampel in Ergebnis-Karten */
.bike-avail { display: block; font-size: 0.82rem; font-weight: 700; margin-top: 0.15rem; }
.bike-avail.in { color: #1e9e50; }
.bike-avail.out { color: #b8860b; }

/* Sprunglink: nur für Tastaturnutzer sichtbar (BFSG), sonst ausgeblendet.
   Ohne diese Regel stand "Zum Inhalt springen" dauerhaft über dem Logo. */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 300;
  background: var(--ink, #1d1d1f); color: #fff; font-weight: 700;
  padding: 0.7rem 1.2rem; border-radius: 0 0 12px 0;
}
.skip-link:focus { left: 0; }

/* Preisabstand-Hinweis im Block "Knapp daneben" */
.bike-budget {
  display: block; font-size: 0.8rem; font-weight: 700; color: var(--accent);
  margin-top: 0.1rem;
}
