/* =======================================================
   RHEINGAU BIKES — style.css (Light Theme + Components)
   Enthält: Basis-Theme, Layout, Sections, Hero, Buttons,
            Cards, Bestand-Cards, Footer, Service Add-ons
   ======================================================= */

/* =======================
   TOKENS / BASICS
   ======================= */
:root{
  --bg:#F6F7F9;
  --bg-alt:#FFFFFF;
  --card:#FFFFFF;
  --line:#E2E5EA;
  --text:#1C1D22;
  --muted:#646A75;
  --accent:#7B3FF2;
  --accent-soft:rgba(123,63,242,.10);

  --radius:14px;
  --shadow:0 8px 20px rgba(0,0,0,.06);
  --shadow-hover:0 12px 32px rgba(0,0,0,.10);
  --ease:cubic-bezier(.22,.61,.36,1);

  --font:"Roboto",system-ui,-apple-system,Segoe UI,Arial,sans-serif;

  --gutter: clamp(20px, 4vw, 40px);
  --top-space: clamp(24px, 6vw, 72px);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font:400 16px/1.6 var(--font);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
img{ max-width:100%; height:auto; vertical-align:middle; border:0; }
a{ color:var(--accent); text-decoration:none; }
a:hover{ color:#552ECC; }
button{ font:inherit; }
:focus-visible{ outline:2px solid var(--accent); outline-offset:2px; border-radius:6px; }

@media (prefers-reduced-motion: reduce){
  *{ animation:none!important; transition:none!important; scroll-behavior:auto!important; }
}

/* =======================
   LAYOUT
   ======================= */
.container{
  max-width:1100px;
  margin:0 auto;
  padding-inline:
    calc(var(--gutter) + env(safe-area-inset-left, 0px))
    calc(var(--gutter) + env(safe-area-inset-right, 0px));
}

.section{ padding: clamp(56px, 8vw, 88px) 0; }
.section:first-of-type{ padding-top: calc(var(--top-space) + 20px); }
.section--tight{ padding:40px 0; }
.section--alt{ background:var(--bg-alt); }

.section-head{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:12px;
  margin-bottom:18px;
}
.section-head h2{
  margin:0;
  font-size:1.6rem;
  letter-spacing:.02em;
}
.subtitle{ color:var(--muted); margin:0; }

.pill{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  padding:.45rem .8rem;
  border-radius:999px;
  font-weight:700;
  background:var(--accent-soft);
  color:var(--accent);
  border:1px solid rgba(123,63,242,.18);
}

/* =======================
   HERO (Startseite)
   ======================= */
.hero-full{
  position:relative;
  min-height:100vh;
  display:flex;
  align-items:flex-start;
  justify-content:center;
  background:
    linear-gradient(180deg,rgba(0,0,0,0.15) 0%,rgba(0,0,0,0.25) 100%),
    url('/assets/images/hintergrund.png') center/cover no-repeat;
  overflow:hidden;
}
.hero-full::after{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.25);
  z-index:0;
}
.hero-full .logo{
  position:relative;
  z-index:1;
  margin-top:clamp(14vh,18vh,22vh);
  width:clamp(320px,48vw,520px);
  filter:drop-shadow(0 12px 28px rgba(0,0,0,.5));
  animation:fadeIn 1.5s ease-out;
}
@keyframes fadeIn{
  from{opacity:0; transform:translateY(20px)}
  to{opacity:1; transform:none}
}
@media (max-width:575.98px){
  .hero-full .logo{
    width:clamp(240px,60vw,420px);
    margin-top:18vh;
  }
}

/* Main block unter Hero */
.main-block{
  background:var(--card);
  border-top-left-radius:40px;
  border-top-right-radius:40px;
  margin-top:-40px;
  position:relative;
  z-index:2;
  box-shadow:0 -4px 20px rgba(0,0,0,.06);
}
.main-block .inner{
  padding:clamp(2rem,6vw,4rem) 1rem;
  text-align:center;
}
.main-block h1{
  font-size:clamp(1.8rem,3vw,2.4rem);
  font-weight:900;
  margin:.2rem 0;
}
.main-block p.lead{
  max-width:70ch;
  margin:1rem auto 1.8rem;
  font-size:1.05rem;
  color:var(--muted);
}
.cta-row{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:.8rem;
  margin-bottom:2rem;
}

/* =======================
   BUTTONS
   ======================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.45rem;
  padding:.7rem 1.4rem;
  border-radius:999px;
  font-weight:700;
  font-size:1rem;
  border:1px solid transparent;
  transition:.25s;
}
.btn-primary{
  background:linear-gradient(135deg,#7B3FF2,#5A2ED9);
  color:#fff !important;
  border:none;
  box-shadow:0 4px 10px rgba(123,63,242,.25);
}
.btn-primary:hover{
  transform:translateY(-2px);
  box-shadow:0 8px 18px rgba(123,63,242,.35);
}
.btn-light{
  background:#fff;
  color:var(--text) !important;
  border:1px solid var(--line);
  box-shadow:0 4px 10px rgba(0,0,0,.06);
}
.btn-light:hover{
  background:#f3f0ff;
  border-color:rgba(123,63,242,.3);
  color:#7B3FF2 !important;
  transform:translateY(-2px);
}

/* Bootstrap Buttons Feinschliff */
.btn{ border-radius:12px; font-weight:800; }
.btn-outline-light{ border:1px solid rgba(0,0,0,.12); }
.btn-outline-light:hover{ border-color:rgba(123,63,242,.35); color:var(--accent); }

/* =======================
   GENERIC CARDS / GRID
   ======================= */
.card-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:1rem;
}
.card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  transition:transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease);
}
.card:hover{
  transform:translateY(-3px);
  box-shadow:var(--shadow-hover);
}
.card img{
  border-top-left-radius:var(--radius);
  border-top-right-radius:var(--radius);
}
.card-title a{ color:var(--text); }
.card-title a:hover{ color:var(--accent); }

/* =======================
   BESTAND / ANGEBOT CARDS
   ======================= */
.landing-stock{
  padding:56px 0 70px;
  background:linear-gradient(180deg, #FFFFFF 0%, #F6F7F9 100%);
}

.rb-offer-card{
  background: var(--card);
  border:1px solid var(--line);
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: var(--shadow);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease);
}
.rb-offer-card:hover{
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(0,0,0,.08);
}
.rb-offer-media{
  display:block;
  position:relative;
  aspect-ratio: 16 / 9;
  background:linear-gradient(135deg,#F3F4F8,#EEEFF4);
}
.rb-offer-media img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  transition: transform .35s var(--ease), filter .35s var(--ease);
  will-change: transform;
}
.rb-offer-card:hover .rb-offer-media img{ transform: scale(1.03); }

.rb-offer-body{ padding:14px 16px 16px; }
.rb-offer-title{ font-size:1.05rem; margin:0 0 6px; line-height:1.35; }
.rb-offer-title a{ color:var(--text); }
.rb-offer-title a:hover{ color:var(--accent); }

.price-badge{
  display:inline-block;
  padding:.35rem .7rem;
  border-radius:10px;
  background:var(--accent-soft);
  color:var(--accent);
  font-weight:600;
  border:1px solid rgba(123,63,242,.14);
}
.date{ font-size:.9rem; color:var(--muted); }

.offer-link{
  font-weight:700;
  color:var(--accent);
  display:inline-flex;
  align-items:center;
  gap:.25rem;
  transition: gap .18s var(--ease), color .18s var(--ease);
}
.offer-link i{ font-size:1.2rem; line-height:1; }
.offer-link:hover{ color:#552ECC; gap:.35rem; }

.rb-offer-placeholder{
  display:grid;
  place-items:center;
  aspect-ratio:16/9;
  background:linear-gradient(135deg,#F3F4F8,#EEEFF4);
  color:#8a8fa0;
  font-weight:600;
}

/* =======================
   FOOTER
   ======================= */
.site-footer{
  background:#fff;
  border-top:1px solid var(--line);
  padding:24px 0;
  color:var(--muted);
  font-size:.95rem;
  text-align:center;
}
.site-footer a{ color:var(--accent); }
.site-footer a:hover{ color:#552ECC; }

/* =======================================================
   SERVICE-SEITE — PRO LOOK & FEEL (Add-on Styles)
   ======================================================= */

/* Hero / Head */
.section-head--xl .kicker{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  text-transform:uppercase;
  letter-spacing:.18em;
  font-size:.78rem;
  color:var(--accent);
  font-weight:800;
}
.section-head--xl .display-6{
  font-weight:900;
  letter-spacing:.02em;
  margin:.25rem 0 .35rem;
}
.lead.muted{ color:var(--muted); }

/* Trust Badges */
.trust-row{ display:flex; flex-wrap:wrap; gap:.5rem; margin-top:.4rem; }
.trust{
  display:inline-flex;
  align-items:center;
  gap:.45rem;
  padding:.4rem .7rem;
  border:1px solid var(--line);
  border-radius:999px;
  background:#fff;
  color:var(--text);
  font-weight:700;
  box-shadow:var(--shadow);
}
.trust i{ color:var(--accent); }

/* Quick Navigation */
.quicknav{
  position:sticky;
  top:72px;
  z-index:5;
  display:flex;
  flex-wrap:wrap;
  gap:.5rem;
  margin-top:1rem;
  padding:.55rem;
  border:1px solid var(--line);
  border-radius:12px;
  background:#fff;
  box-shadow:var(--shadow);
}
.quicknav-link{
  display:inline-flex;
  align-items:center;
  gap:.45rem;
  padding:.45rem .75rem;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.06);
  color:var(--text);
  font-weight:700;
  transition:background .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease);
}
.quicknav-link:hover{
  background:rgba(0,0,0,.05);
  border-color:rgba(0,0,0,.1);
  transform:translateY(-1px);
}
.quicknav-cta{
  background:var(--accent);
  color:#fff;
  border-color:var(--accent);
}
.quicknav-cta:hover{ filter:brightness(.98); }

/* Paket-Switch */
.view-switch{ display:flex; gap:.5rem; margin:.75rem 0 1rem; }
.seg-btn{
  display:inline-flex;
  align-items:center;
  gap:.45rem;
  padding:.45rem .8rem;
  border:1px solid var(--line);
  border-radius:999px;
  background:#fff;
  font-weight:800;
  transition:all .18s var(--ease);
  color:var(--text);
}
.seg-btn i{ color:var(--accent); }
.seg-btn:hover{ background:rgba(0,0,0,.04); }
.seg-btn.is-active{ background:var(--accent); border-color:var(--accent); color:#fff; }
.seg-btn.is-active i{ color:#fff; }

/* Pakete */
.tiers{ display:grid; grid-template-columns:1fr; gap:1rem; margin-top:.25rem; }
@media (min-width: 768px){ .tiers{ grid-template-columns:repeat(3,1fr); } }

.tier{
  position:relative;
  display:flex;
  flex-direction:column;
  gap:.6rem;
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  padding:1.05rem;
  box-shadow:var(--shadow);
  transition:transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease);
}
.tier:hover{
  transform:translateY(-3px);
  box-shadow:var(--shadow-hover);
  border-color:rgba(0,0,0,.08);
}

.tier--spotlight{
  position:relative;
  background: linear-gradient(180deg, #ffffff 0%, #f9f7ff 100%);
  border: 2px solid var(--accent);
  box-shadow: 0 0 25px rgba(123, 63, 242, 0.15);
  transform: scale(1.03);
  z-index: 2;
}
.tier--spotlight:hover{
  transform: scale(1.05);
  box-shadow: 0 0 35px rgba(123, 63, 242, 0.25);
}

.tier-ribbon{
  position:absolute;
  top:12px;
  right:12px;
  background: linear-gradient(135deg, #8B5CF6 0%, #6B2FE2 100%);
  color:#fff;
  font-weight:800;
  font-size:.75rem;
  padding:.4rem .7rem;
  border-radius:999px;
  letter-spacing:.05em;
  text-transform:uppercase;
  filter:drop-shadow(0 4px 10px rgba(123,63,242,.3));
}

.tier-head{ display:flex; align-items:flex-end; justify-content:space-between; gap:.6rem; }
.tier-name{ margin:0; font-size:1.15rem; font-weight:900; }
.tier--spotlight .tier-name{ color: var(--accent); }

.tier-price{ display:flex; flex-direction:column; align-items:flex-end; }
.tier-amount{ font-size:1.15rem; font-weight:900; }
.tier--spotlight .tier-amount{ color: var(--accent); }
.tier-note{ font-size:.9rem; color:var(--muted); }

.tier-list{
  list-style:none;
  margin:.2rem 0 0;
  padding:0;
  display:grid;
  gap:.35rem;
}
.tier-list i{ color:var(--accent); margin-right:.1rem; }
.tier-foot{ margin-top:.6rem; }

/* Vergleichstabelle */
.table-wrap{
  overflow:auto;
  border:1px solid var(--line);
  border-radius:14px;
  background:#fff;
  box-shadow:var(--shadow);
}
.cmp{ width:100%; border-collapse:collapse; }
.cmp th,.cmp td{ padding:.75rem .9rem; border-bottom:1px solid var(--line); }
.cmp thead th{
  font-weight:900;
  text-align:left;
  background:linear-gradient(180deg,#fff 0%,#FAF9FF 100%);
}
.cmp .t-center{ text-align:center; }
.cmp .spot{ color:var(--accent); font-weight:900; }
.cmp-cta{ display:flex; flex-wrap:wrap; gap:.5rem; justify-content:flex-end; margin-top:.8rem; }

/* Hinweisbox */
.notice{
  display:flex;
  gap:.6rem;
  align-items:flex-start;
  background:#fff;
  border:1px solid var(--line);
  border-left:4px solid var(--accent);
  border-radius:14px;
  padding:.9rem 1rem;
  color:var(--text);
  box-shadow:var(--shadow);
}
.notice-icon{ font-size:1.2rem; line-height:1; color:var(--accent); margin-top:.05rem; }
.notice .small-note{ font-size:.9rem; color:var(--muted); }

/* Fahrschul-Abo */
.b2b{ background:linear-gradient(180deg,#FFFFFF 0%, #F6F7F9 100%); }
.b2b--highlight{ background:linear-gradient(180deg,#FFFFFF 0%, #F6F7F9 100%); }

.fsa-row{ display:grid; gap:1rem; grid-template-columns:1fr; }
@media (min-width: 992px){
  .fsa-row{ grid-template-columns: 1.25fr .95fr; align-items:start; }
}

.fsa-card{
  position:relative;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:20px;
  background:radial-gradient(1200px 400px at 100% -10%, rgba(123,63,242,0.10), transparent 60%), #fff;
  box-shadow: var(--shadow);
  padding:1.15rem 1.15rem 1rem;
  transition:transform .18s var(--ease), box-shadow .18s var(--ease);
}
.fsa-card:hover{ transform:translateY(-3px); box-shadow:var(--shadow-hover); }

.fsa-head{ margin-bottom:.6rem; }
.fsa-kicker{
  font-weight:900;
  letter-spacing:.1em;
  text-transform:uppercase;
  font-size:.78rem;
  color:var(--accent);
  display:inline-flex;
  align-items:center;
  gap:.4rem;
}
.fsa-title{ margin:.2rem 0 .45rem; font-size:1.25rem; font-weight:900; }
.fsa-price{ display:flex; align-items:baseline; gap:.6rem; flex-wrap:wrap; }
.fsa-amount{ font-size:2rem; font-weight:900; line-height:1; }
.fsa-currency{ font-size:1rem; font-weight:800; margin-left:.15rem; }
.fsa-period{ font-size:1rem; font-weight:700; color:var(--muted); margin-left:.25rem; }
.fsa-note{ font-size:.95rem; color:var(--muted); }

.fsa-list{ list-style:none; margin:.6rem 0 .4rem; padding:0; display:grid; gap:.45rem; }
.fsa-list li{ display:flex; gap:.55rem; align-items:flex-start; }
.fsa-list i{ margin-top:.1rem; color:var(--accent); }

.fsa-badges{ display:flex; flex-wrap:wrap; gap:.4rem; margin:.45rem 0 .2rem; }
.meta-chip{
  display:inline-flex;
  align-items:center;
  gap:.35rem;
  padding:.3rem .6rem;
  border-radius:999px;
  border:1px solid rgba(123,63,242,.2);
  background:#F2EEFF;
  color:#5B35C9;
  font-weight:700;
  font-size:.9rem;
}

.fsa-side{ display:grid; gap:1rem; }
.fsa-why, .fsa-faq{
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  padding:.9rem 1rem;
  box-shadow:var(--shadow);
}
.fsa-why ul{ list-style:none; margin:.35rem 0 0; padding:0; display:grid; gap:.35rem; }
.fsa-why li{ display:flex; gap:.5rem; align-items:flex-start; }
.fsa-why i{ color:var(--accent); margin-top:.12rem; }
.fsa-faq details{ border-top:1px dashed var(--line); padding:.55rem 0; }
.fsa-faq details:first-of-type{ border-top:none; }
.fsa-faq summary{ cursor:pointer; font-weight:800; display:flex; gap:.45rem; align-items:center; }

/* Staffeltabelle + Notes */
.b2b .table-wrap{ margin-top:1rem; }
.small-note.muted{ color:var(--muted); }
.price-grid.notes{ display:grid; grid-template-columns:1fr; gap:1rem; margin-top:1rem; }
@media (min-width: 768px){ .price-grid.notes{ grid-template-columns:repeat(2,1fr); } }
.price-info{
  background:#fff;
  border:1px solid var(--line);
  border-left:4px solid var(--accent);
  border-radius:14px;
  padding:.9rem 1rem;
  color:var(--text);
  box-shadow:var(--shadow);
}

/* Stepper (Ablauf) */
.stepper{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:.8rem;
  counter-reset: stepcount;
}
.stepper > li{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:.75rem;
  align-items:flex-start;
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  padding:.9rem 1rem;
  box-shadow:var(--shadow);
  transition:transform .18s var(--ease), box-shadow .18s var(--ease);
}
.stepper > li:hover{ transform:translateY(-2px); box-shadow:var(--shadow-hover); }
.step-num{
  --s: 34px;
  width:var(--s);
  height:var(--s);
  display:grid;
  place-items:center;
  border-radius:999px;
  background:var(--accent-soft);
  color:var(--accent);
  font-weight:900;
  border:1px solid rgba(123,63,242,.25);
}
.step-body h3{ margin:.1rem 0 .15rem; font-weight:900; }
.step-body p{ margin:0; color:var(--muted); }

/* CTA Gruppe unter Stepper */
.cmp-cta{ display:flex; flex-wrap:wrap; gap:.6rem; justify-content:flex-start; }
.cmp-cta .btn{ min-width:220px; }

/* =======================
   RESPONSIVE
   ======================= */
@media (min-width:992px){
  .section{ padding:64px 0; }
}
@media (max-width:991.98px){
  .section{ padding:40px 0; }
  .section-head{ flex-direction:column; align-items:flex-start; gap:6px; }
  .section-head h2{ font-size:1.45rem; }
  .quicknav{ top:64px; }
  .cmp-cta{ justify-content:flex-start; }
}
@media (max-width:575.98px){
  .seg-btn{ width:100%; }
  .tier-foot .btn,
  .cmp-cta .btn{ width:100%; }
  .landing-btn{ width:100%; justify-content:center; }
}