/* ============================================================
   GEBRAUCHTWAGENANKAUF.ONLINE – Haupt-Stylesheet
   Datei: daten/css/style.css
   ============================================================ */

:root {
  --blue:        #1a4d8f;
  --blue-dark:   #0e2f5a;
  --blue-light:  #2a6abf;
  --black:       #111318;
  --white:       #ffffff;
  --bg:          #f0f4f9;
  --bg2:         #e6ecf5;
  --text:        #222834;
  --text-muted:  #5a6478;
  --accent:      #f0a500;
  --accent-dark: #c98b00;
  --green:       #1a7a3c;
  --border:      #c8d6e8;
  --radius:      8px;
  --shadow:      0 4px 24px rgba(10,30,70,0.10);
  --rhein:       #2a8abf;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Source Sans 3', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}
h1, h2, h3, h4 { font-family: 'Oswald', sans-serif; letter-spacing: .02em; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── TOPBAR ── */
.topbar {
  background: var(--accent);
  color: var(--black);
  text-align: center;
  font-size: .88rem;
  font-weight: 700;
  padding: 8px 16px;
  letter-spacing: .03em;
}

/* ── HEADER ── */
header {
  background: var(--blue-dark);
  color: var(--white);
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,.3);
}
.header-inner {
  max-width: 1100px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}
.logo { font-family: 'Oswald', sans-serif; font-size: 1.45rem; font-weight: 700; color: var(--white); line-height: 1; }
.logo span { color: var(--accent); }
.logo small { font-size: .65rem; color: rgba(255,255,255,.5); font-family: 'Source Sans 3',sans-serif; font-weight: 400; display: block; letter-spacing: .08em; }
.header-contacts { display: flex; gap: 12px; align-items: center; }
.hc-item { display: flex; align-items: center; gap: 8px; color: var(--white); text-decoration: none; }
.hc-item:hover { text-decoration: none; }
.hc-icon { font-size: 1.3rem; }
.hc-text small { display: block; font-size: .7rem; color: #aac4e8; line-height: 1; }
.hc-text strong { font-family: 'Oswald', sans-serif; font-size: 1.05rem; color: var(--accent); letter-spacing: .03em; }
.hc-wa { background: var(--green); border-radius: 30px; padding: 7px 14px; transition: background .2s; }
.hc-wa:hover { background: #135e2d; }
.hc-wa .hc-text strong { color: white; }

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--blue);
  color: white;
  text-align: center;
  font-size: .83rem;
  padding: 7px 16px;
  font-weight: 600;
}
.trust-bar span { color: var(--accent); font-weight: 700; }

/* ── NAVIGATION ── */
nav.sub-nav {
  background: var(--blue-dark);
  border-top: 1px solid rgba(255,255,255,.1);
}
.sub-nav-inner {
  max-width: 1100px;
  margin: auto;
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.sub-nav-inner::-webkit-scrollbar { display: none; }
.sub-nav-inner a {
  color: rgba(255,255,255,.75);
  font-size: .82rem;
  font-weight: 600;
  padding: 10px 16px;
  white-space: nowrap;
  display: block;
  border-bottom: 3px solid transparent;
  transition: all .2s;
}
.sub-nav-inner a:hover { color: white; border-bottom-color: var(--accent); text-decoration: none; }
.sub-nav-inner a.active { color: var(--accent); border-bottom-color: var(--accent); }

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 60%, var(--blue-light) 100%);
  color: var(--white);
  padding: 56px 24px 0;
  overflow: hidden;
}
.hero-inner {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 40px;
  align-items: start;
}
.hero-text h1 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); font-weight: 700; line-height: 1.15; margin-bottom: 14px; }
.hero-text h1 span { color: var(--accent); }
.hero-text p { font-size: 1.08rem; opacity: .92; max-width: 520px; margin-bottom: 24px; }
.usp-list { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 28px; }
.usp-pill {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 30px;
  padding: 6px 14px;
  font-size: .83rem;
  font-weight: 600;
}
.hero-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--black);
  font-weight: 700;
  font-size: .85rem;
  padding: 5px 14px;
  border-radius: 30px;
  margin-bottom: 14px;
  letter-spacing: .02em;
}

/* ── HERO SLIDER ── */
.hero-slider {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,.35);
  background: #0a1f3d;
  aspect-ratio: 16/9;
  max-height: 300px;   /* Desktop: nicht zu hoch */
}
.slider-track {
  display: flex;
  height: 100%;
  transition: transform .5s ease;
  will-change: transform;
}
.slider-track img {
  min-width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .92;
}
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,.45);
  color: white;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slider-prev { left: 10px; }
.slider-next { right: 10px; }
.slider-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}
.slider-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  cursor: pointer;
  transition: background .2s;
}
.slider-dot.active { background: var(--accent); }

/* ── FORM CARD ── */
.form-card {
  background: white;
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: 0 8px 40px rgba(0,0,0,.25);
  position: relative;
  top: 0;
}
.form-card-title { font-size: 1.3rem; color: var(--blue-dark); margin-bottom: 4px; }
.form-card-sub { font-size: .82rem; color: var(--text-muted); margin-bottom: 14px; }
.step-bar { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.step-dot {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  font-weight: 700;
  font-size: .85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-dot.inactive { background: #d0d9e8; color: #888; }
.step-line { flex: 1; height: 3px; background: #d0d9e8; border-radius: 2px; }
.fld { margin-bottom: 12px; }
.fld label { display: block; font-size: .8rem; font-weight: 700; margin-bottom: 4px; color: var(--text-muted); }
.fld input, .fld select, .fld textarea {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 9px 12px;
  font-size: .92rem;
  font-family: inherit;
  color: var(--text);
  background: white;
  transition: border-color .2s;
}
.fld input:focus, .fld select:focus, .fld textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26,77,143,.1);
}
.fld.f-blue label { color: var(--blue); }
.fld.f-green label { color: var(--green); }
.fld.f-yellow label { color: var(--accent-dark); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.btn-primary {
  width: 100%;
  background: var(--blue);
  color: white;
  border: none;
  border-radius: var(--radius);
  padding: 13px;
  font-family: 'Oswald', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: .04em;
  transition: background .2s, transform .1s;
  margin-top: 6px;
}
.btn-primary:hover { background: var(--blue-light); }
.btn-success {
  width: 100%;
  background: var(--green);
  color: white;
  border: none;
  border-radius: var(--radius);
  padding: 14px;
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: .04em;
  transition: background .2s;
  margin-top: 8px;
}
.btn-success:hover { background: #135e2d; }
.form-note { font-size: .75rem; color: var(--text-muted); text-align: center; margin-top: 8px; }

/* ── SECTIONS ── */
.section { padding: 56px 24px; }
.section-inner { max-width: 1100px; margin: auto; }
.section-title { font-size: clamp(1.4rem,2.5vw,2rem); margin-bottom: 10px; text-align: center; }
.section-sub { text-align: center; color: var(--text-muted); margin-bottom: 36px; font-size: .95rem; }

/* ── ROAD ANIMATION ── */
.road-wrap { display: grid; grid-template-columns: 80px 1fr; gap: 0; }
.road-track { position: relative; background: #2a2a2a; border-radius: 8px; overflow: hidden; }
.road-dashes { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 4px; height: 100%; background: repeating-linear-gradient(to bottom, #f0a500 0 20px, transparent 20px 40px); }
.road-car { display: flex; justify-content: center; padding: 16px 0; animation: drive 4s linear infinite; }
@keyframes drive { 0%{transform:translateY(20%)} 100%{transform:translateY(80%)} }
.ablauf-steps { display: flex; flex-direction: column; gap: 0; }
.ablauf-step { display: flex; gap: 18px; padding: 18px 24px; border-left: none; align-items: flex-start; background: white; border-radius: 0; border-bottom: 1px solid var(--bg2); }
.ablauf-step:last-child { border-bottom: none; border-radius: 0 0 8px 8px; }
.ablauf-step:first-child { border-radius: 0 8px 0 0; }
.ablauf-num { min-width: 36px; height: 36px; background: var(--blue); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Oswald',sans-serif; font-weight: 700; font-size: 1rem; }
.ablauf-step h3 { font-size: 1rem; margin-bottom: 4px; }
.ablauf-step p { font-size: .87rem; color: var(--text-muted); margin: 0; }

/* ── VORTEILE GRID ── */
.vorteile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.vorteil-card {
  background: white;
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: var(--shadow);
  transition: transform .2s;
}
.vorteil-card:hover { transform: translateY(-3px); }
.vorteil-icon { font-size: 2rem; margin-bottom: 12px; }
.vorteil-card h3 { font-size: 1.05rem; margin-bottom: 8px; color: var(--blue-dark); }
.vorteil-card p { font-size: .88rem; color: var(--text-muted); }

/* ── NEU BADGE ── */
.neu-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 30px;
  padding: 6px 18px;
  font-size: .82rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: .05em;
}
.neu-dot {
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
  display: inline-block;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.4); }
}

/* ── SCHADEN GRID ── */
.schaden-bg { background: linear-gradient(135deg, #0e2f5a 0%, #1a4d8f 100%); }
.schaden-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.schaden-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  padding: 20px 16px;
  transition: background .2s;
}
.schaden-card:hover { background: rgba(255,255,255,.13); }
.sico { font-size: 1.8rem; margin-bottom: 8px; }
.schaden-card h3 { font-size: .95rem; color: var(--accent); margin-bottom: 6px; }
.schaden-card p { font-size: .8rem; color: rgba(255,255,255,.72); line-height: 1.5; }

/* ── GALLERY ── */
.gallery-slider-wrap { position: relative; border-radius: var(--radius); overflow: hidden; }
.gallery-slider { display: flex; transition: transform .5s ease; }
.gallery-slide { min-width: 100%; }
.gallery-slide img { width: 100%; height: 220px; object-fit: cover; display: block; }
.gal-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,.5);
  color: white;
  border: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gal-prev { left: 10px; }
.gal-next { right: 10px; }
.gal-dots { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; }
.gal-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.5); cursor: pointer; }
.gal-dot.active { background: var(--accent); }

/* ── STADTTEILE ── */
.stadtteile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.stadtteil-card {
  background: white;
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--blue);
}
.stadtteil-card h3 { font-size: 1rem; color: var(--blue-dark); margin-bottom: 8px; }
.stadtteil-card p { font-size: .85rem; color: var(--text-muted); line-height: 1.6; }

/* ── ABHOLRADIUS ── */
.abholradius-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 12px;
}
.abholort {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 12px 10px;
  text-align: center;
  transition: background .2s;
  border-bottom: 3px solid rgba(255,255,255,.15);
}
.abholort:hover { background: rgba(255,255,255,.14); border-bottom-color: var(--accent); }
.abholort-icon { font-size: 1.4rem; margin-bottom: 4px; }
.abholort strong { display: block; font-size: .9rem; color: white; font-family: 'Oswald', sans-serif; }
.abholort span { display: block; font-size: .72rem; color: rgba(255,255,255,.6); margin-top: 2px; }
.abholort-nrw { border-color: var(--accent) !important; background: rgba(240,165,0,.12) !important; }

/* ── SEO TEXT ── */
.seo-text p { margin-bottom: 16px; line-height: 1.75; color: var(--text); }
.seo-text h2 { margin-bottom: 20px; }

/* ── FAQ ── */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: white;
  border-radius: var(--radius);
  margin-bottom: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  overflow: hidden;
}
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  cursor: pointer;
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  color: var(--blue-dark);
  user-select: none;
}
.faq-q:hover { background: var(--bg); }
.faq-icon { font-size: 1.2rem; transition: transform .3s; }
.faq-a { display: none; padding: 0 20px 16px; font-size: .9rem; color: var(--text-muted); line-height: 1.7; }
.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-icon { transform: rotate(180deg); }

/* ── PAGE 2 ── */
.page2-hero {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: white;
  text-align: center;
  padding: 40px 20px;
}
.page2-hero h1 { font-size: 2rem; margin-bottom: 8px; }
.page2-form-wrap { max-width: 680px; margin: 32px auto; padding: 0 20px 40px; }
.section-block {
  background: white;
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}
.section-block h3 { font-size: 1.05rem; margin-bottom: 14px; color: var(--blue-dark); }
.sb-blue { border-left: 4px solid var(--blue); }
.sb-yellow { border-left: 4px solid var(--accent); }
.sb-green { border-left: 4px solid var(--green); }
.sb-red { border-left: 4px solid #c0392b; }
.sb-white { border-left: 4px solid #ccc; }
.radio-row { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-label { display: flex; align-items: center; gap: 7px; font-size: .9rem; cursor: pointer; background: var(--bg); padding: 8px 14px; border-radius: 30px; border: 1.5px solid transparent; transition: all .2s; }
.radio-label:has(input:checked) { background: var(--blue); color: white; border-color: var(--blue); }
.checkbox-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 8px; }
.check-label { display: flex; align-items: center; gap: 8px; font-size: .88rem; cursor: pointer; padding: 8px 12px; background: var(--bg); border-radius: 6px; border: 1.5px solid transparent; transition: all .2s; }
.check-label:has(input:checked) { background: rgba(26,77,143,.08); border-color: var(--blue); }

/* ── DANKE ── */
.danke-inner {
  max-width: 560px;
  margin: 80px auto;
  text-align: center;
  padding: 0 24px;
}
.danke-inner h1 { font-size: 2.2rem; margin-bottom: 12px; color: var(--green); }

/* ── FOOTER ── */
footer {
  background: var(--blue-dark);
  color: rgba(255,255,255,.8);
  padding: 44px 24px 24px;
  font-size: .88rem;
}
.footer-grid {
  max-width: 1100px;
  margin: 0 auto 28px;
  display: grid;
  grid-template-columns: repeat(5,1fr);
  gap: 28px;
}
.footer-col h4 { font-family: 'Oswald', sans-serif; font-size: 1rem; color: var(--accent); margin-bottom: 12px; letter-spacing: .04em; }
.footer-col p, .footer-col a { display: block; color: rgba(255,255,255,.75); margin-bottom: 6px; font-size: .85rem; }
.footer-col a:hover { color: var(--accent); text-decoration: none; }

/* ── COOKIE BANNER ── */
#cookieBanner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--blue-dark);
  color: white;
  padding: 16px 24px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: space-between;
  border-top: 3px solid var(--accent);
}
#cookieBanner p { font-size: .85rem; flex: 1; min-width: 220px; }
#cookieBanner a { color: var(--accent); }
.cookie-btns { display: flex; gap: 10px; }
.btn-cd { background: rgba(255,255,255,.15); color: white; border: 1px solid rgba(255,255,255,.3); padding: 8px 16px; border-radius: 6px; cursor: pointer; font-size: .85rem; }
.btn-ca { background: var(--accent); color: var(--black); border: none; padding: 8px 18px; border-radius: 6px; cursor: pointer; font-weight: 700; font-size: .85rem; }

/* ── STICKY TOP ── */
#sticky-top { position: sticky; top: 0; z-index: 100; }

/* ── SCHEMA HIDDEN ── */
.schema-hidden { display: none; }

/* ── IMPRESSUM ── */
.impressum-wrap { max-width: 820px; margin: 0 auto; padding: 40px 20px; }
.impressum-wrap h1 { font-size: 1.8rem; margin-bottom: 24px; color: var(--blue-dark); }
.impressum-wrap h2 { font-size: 1.1rem; margin: 22px 0 8px; color: var(--blue); }
.impressum-wrap p { margin-bottom: 10px; font-size: .92rem; line-height: 1.7; }

/* ── FLOATING PHONE / WHATSAPP BUTTONS ── */
.float-cta {
  position: fixed;
  bottom: 28px;
  right: 20px;
  z-index: 500;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}
.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 18px rgba(0,0,0,.35);
  text-decoration: none !important;
  transition: transform .2s, box-shadow .2s;
  position: relative;
}
.float-btn:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(0,0,0,.45); }
.float-btn-wa  { background: #25d366; color: white; }
.float-btn-tel { background: var(--blue); color: white; }
.float-btn-label {
  position: absolute;
  right: 64px;
  background: var(--blue-dark);
  color: white;
  font-size: .75rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}
.float-btn:hover .float-btn-label { opacity: 1; }
/* Mobile: immer sichtbar, etwas kleiner */
@media (max-width: 600px) {
  .float-cta { bottom: 16px; right: 12px; }
  .float-btn { width: 50px; height: 50px; font-size: 1.3rem; }
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-slider { aspect-ratio: 16/9; max-height: 260px; }
  .hero { padding-bottom: 40px; }
  .form-card { position: static; }
  .vorteile-grid { grid-template-columns: repeat(2,1fr); }
  .schaden-grid { grid-template-columns: repeat(2,1fr); }
  .stadtteile-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: repeat(2,1fr); }
  .road-wrap { grid-template-columns: 60px 1fr; }
}
@media (max-width: 600px) {
  .header-contacts .hc-item:not(.hc-wa) { display: none; }
  .vorteile-grid { grid-template-columns: 1fr; }
  .schaden-grid { grid-template-columns: 1fr 1fr; }
  .stadtteile-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .checkbox-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-text h1 { font-size: 1.7rem; }
  .road-wrap { grid-template-columns: 48px 1fr; }
  .gallery-slide { min-width: 100%; }
  .gallery-slide img { height: 150px; }
}
