
/* DROPDOWN NAV */
.topnav { background:#06193f; padding:0 20px; display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:4px; position:relative; z-index:1000; }
.topnav > a { color:rgba(255,255,255,0.7); text-decoration:none; font-size:0.82rem; padding:12px 10px; transition:color 0.2s; white-space:nowrap; }
.topnav > a:hover { color:#f97316; }
.nav-dropdown { position:relative; }
.nav-dropdown-btn { background:rgba(249,115,22,0.15); border:1px solid rgba(249,115,22,0.4); color:#f97316; padding:8px 16px; border-radius:4px; font-size:0.82rem; cursor:pointer; font-family:inherit; margin:6px 0; transition:background 0.2s; }
.nav-dropdown-btn:hover { background:rgba(249,115,22,0.25); }
.nav-dropdown-menu { display:none; position:absolute; top:100%; left:50%; transform:translateX(-50%); background:#06193f; border:1px solid rgba(249,115,22,0.2); border-radius:8px; box-shadow:0 8px 32px rgba(0,0,0,0.4); padding:20px; z-index:9999; min-width:700px; margin-top:4px; }
.nav-dropdown-menu.open { display:block; }
.nav-dropdown-cols { display:grid; grid-template-columns:repeat(4,1fr); gap:6px 16px; }
.nav-col { display:flex; flex-direction:column; gap:2px; }
.nav-col a { color:rgba(255,255,255,0.75); text-decoration:none; font-size:0.8rem; padding:4px 8px; border-radius:3px; transition:background 0.15s, color 0.15s; white-space:nowrap; }
.nav-col a:hover { background:rgba(249,115,22,0.15); color:#f97316; }
@media(max-width:768px) {
  .nav-dropdown-menu { min-width:300px; left:0; transform:none; }
  .nav-dropdown-cols { grid-template-columns:repeat(2,1fr); }
  .topnav { padding:0 10px; }
}
@media(max-width:480px) {
  .nav-dropdown-cols { grid-template-columns:1fr 1fr; font-size:0.75rem; }
  .nav-dropdown-menu { min-width:90vw; left:-20px; }
}

/* ============================================================
   elektro-autoankauf24.de – Haupt-Stylesheet
   Farben: Blau #0a2d6e | Orange #f97316 | Weiß #ffffff
   ============================================================ */

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

html { scroll-behavior: smooth; }

:root {
  --blau:       #0a2d6e;
  --blau-hell:  #1a4aaa;
  --orange:     #f97316;
  --orange-hell:#fb923c;
  --weiss:      #ffffff;
  --hell:       #eef2f9;
  --text:       #1e293b;
  --text-grau:  #64748b;
  --schatten:   0 4px 20px rgba(10,45,110,0.10);
  --schatten-lg: 0 8px 36px rgba(10,45,110,0.18);
}

body { font-family: 'Inter', 'Segoe UI', system-ui, Arial, sans-serif; color: var(--text); background: var(--hell); line-height: 1.7; }

/* HERO */
.hero { position: relative; min-height: 560px; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; padding: 80px 20px 100px; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.18); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(6,25,63,0.92) 0%, rgba(10,45,110,0.78) 60%, rgba(249,115,22,0.15) 100%); }
.hero-content { position: relative; z-index: 2; max-width: 800px; }
.hero-badge { display: inline-block; background: rgba(249,115,22,0.18); border: 1px solid var(--orange); color: var(--orange); padding: 6px 20px; border-radius: 30px; font-size: 0.78rem; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 24px; animation: fadeUp 0.6s ease both; }

/* Fade-up animation for hero */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero h1 { animation: fadeUp 0.6s 0.15s ease both; }
.hero p   { animation: fadeUp 0.6s 0.3s ease both; }
.hero-btns { animation: fadeUp 0.6s 0.45s ease both; }
.hero h1 { font-size: 2.4rem; color: #fff; font-weight: 800; line-height: 1.25; margin-bottom: 16px; text-shadow: 0 2px 20px rgba(0,0,0,0.8); }
.hero h1 span { color: var(--orange); }
.hero p { font-size: 1.1rem; color: rgba(255,255,255,0.85); margin-bottom: 32px; text-shadow: 0 1px 8px rgba(0,0,0,0.7); }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* BUTTONS */
.btn-primary { display: inline-block; background: var(--orange); color: #fff; padding: 14px 34px; border-radius: 5px; font-weight: 700; text-decoration: none; font-size: 1rem; transition: background 0.2s, transform 0.15s; border: none; cursor: pointer; font-family: inherit; }
.btn-primary:hover { background: var(--orange-hell); transform: translateY(-2px); }
.btn-outline { display: inline-block; background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.6); padding: 12px 28px; border-radius: 5px; font-weight: 700; text-decoration: none; font-size: 1rem; transition: background 0.2s, border-color 0.2s; }
.btn-outline:hover { border-color: var(--orange); color: var(--orange); }

/* CONTAINER */
.container { max-width: 900px; margin: 0 auto; padding: 52px 20px; }
.container-sm { max-width: 760px; margin: 0 auto; padding: 44px 20px; }

/* Sektions-Hintergründe */
.section-white { background: var(--weiss); }
.section-light  { background: var(--hell); }
.section-dark   { background: linear-gradient(135deg, #06193f, #0a2d6e); }
/* Steps-Section eigene Klasse entfernen, section-white übernimmt */
.steps-section { background: transparent; }

/* SECTION TITLE */
.section-title { font-size: 1.85rem; color: var(--blau); margin-bottom: 6px; font-weight: 800; letter-spacing: -0.5px; }
.section-title span { color: var(--orange); }
.section-sub { color: var(--text-grau); margin-bottom: 16px; font-size: 0.97rem; }
.underline { width: 50px; height: 4px; background: var(--orange); border-radius: 2px; margin-bottom: 32px; }

/* CARDS */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 22px; }
.card { background: var(--weiss); border-radius: 14px; overflow: hidden; box-shadow: var(--schatten); border-top: 4px solid var(--orange); transition: transform 0.25s, box-shadow 0.25s; position: relative; }
.card::after { content:''; position:absolute; inset:0; background: linear-gradient(180deg, transparent 60%, rgba(10,45,110,0.04) 100%); pointer-events:none; }
.card:hover { transform: translateY(-8px); box-shadow: 0 16px 40px rgba(10,45,110,0.18); }
.card img { width: 100%; height: 170px; object-fit: cover; display: block; transition: transform 0.4s ease; }
.card:hover img { transform: scale(1.05); }
.card-body { padding: 20px; }
.card-icon { font-size: 1.9rem; margin-bottom: 8px; }
.card h3 { font-size: 1rem; color: var(--blau); margin-bottom: 6px; font-weight: 700; }
.card p { font-size: 0.85rem; color: var(--text-grau); line-height: 1.55; }

/* DARK SECTION */
.dark-section {
  background: #06193f;
  color: #fff;
  padding: 70px 20px;
  position: relative;
}
.dark-section .section-title { color: var(--orange); }
.v-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 26px; max-width: 900px; margin: 0 auto; }
.v-item { display: flex; gap: 14px; align-items: flex-start; }
.v-icon { font-size: 1.4rem; width: 44px; height: 44px; background: rgba(249,115,22,0.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.v-item h4 { font-size: 0.95rem; color: var(--orange); margin-bottom: 3px; }
.v-item p { font-size: 0.83rem; color: rgba(255,255,255,0.7); }

/* FORMULAR */
.form-section {
  background: #06193f;
  padding: 70px 20px;
  color: #fff;
  position: relative;
}
.form-box { max-width: 640px; margin: 0 auto; background: rgba(255,255,255,0.05); border: 1px solid rgba(249,115,22,0.25); border-radius: 12px; padding: 36px 32px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 0.78rem; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 5px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 11px 14px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14); border-radius: 5px; color: #fff; font-size: 0.96rem; font-family: inherit; transition: border-color 0.2s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--orange); }
.form-group textarea { height: 95px; resize: vertical; }
.form-group select option { background: #06193f; }
.btn-submit { width: 100%; padding: 14px; background: var(--orange); color: #fff; border: none; border-radius: 5px; font-size: 1rem; font-weight: 700; cursor: pointer; margin-top: 6px; font-family: inherit; transition: background 0.2s; }
.btn-submit:hover { background: var(--orange-hell); }
.captcha-box { background: rgba(255,255,255,0.05); border: 1px solid rgba(249,115,22,0.18); border-radius: 5px; padding: 12px 14px; }
.captcha-hint { display: block; font-size: 0.73rem; color: rgba(255,255,255,0.4); margin-top: 4px; }
.msg-success { background: rgba(34,197,94,0.15); border: 1px solid #22c55e; border-radius: 8px; padding: 16px; margin-bottom: 16px; text-align: center; color: #22c55e; }
.msg-error { background: rgba(239,68,68,0.15); border: 1px solid #ef4444; border-radius: 8px; padding: 16px; margin-bottom: 16px; text-align: center; color: #ef4444; }

/* KONTAKT BOX */
.kontakt-box { max-width: 500px; margin: 0 auto 32px; background: rgba(255,255,255,0.05); border: 1px solid rgba(249,115,22,0.28); border-radius: 10px; padding: 26px 24px; }
.k-item { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.k-item:last-child { margin-bottom: 0; }
.k-icon { font-size: 1.15rem; width: 38px; height: 38px; background: rgba(249,115,22,0.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.k-label { font-size: 0.72rem; color: var(--orange); text-transform: uppercase; letter-spacing: 1px; }
.k-value { font-size: 0.98rem; color: #fff; font-weight: 600; }
.k-value a { color: #fff; text-decoration: none; }
.k-value a:hover { color: var(--orange); }

/* AUTOLINKS */
.autolinks { background: var(--weiss); border-radius: 10px; padding: 28px; box-shadow: var(--schatten); text-align: center; }
.autolinks h3 { color: var(--blau); margin-bottom: 8px; }
.autolinks p { color: var(--text-grau); margin-bottom: 18px; font-size: 0.92rem; }
.auto-btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.auto-btn { display: inline-block; background: var(--blau); color: #fff; padding: 10px 20px; border-radius: 5px; text-decoration: none; font-weight: 600; font-size: 0.88rem; transition: background 0.2s, transform 0.15s; }
.auto-btn:hover { background: var(--blau-hell); transform: translateY(-2px); }
.auto-btn span { color: var(--orange); }

/* MARKEN */
.marken-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 14px; }
.marke-card { background: var(--weiss); border-radius: 10px; padding: 20px 12px; text-align: center; box-shadow: var(--schatten); border-bottom: 3px solid transparent; transition: border-color 0.2s, transform 0.2s; }
.marke-card:hover { border-color: var(--orange); transform: translateY(-3px); }
.marke-icon { font-size: 1.9rem; margin-bottom: 7px; }
.marke-card h3 { font-size: 0.88rem; color: var(--blau); font-weight: 700; margin-bottom: 3px; }
.marke-card p { font-size: 0.72rem; color: var(--text-grau); }

/* INFO BOX */
.info-box { background: var(--weiss); border-left: 4px solid var(--orange); border-radius: 6px; padding: 22px 26px; box-shadow: var(--schatten); margin-bottom: 28px; }
.info-box p { color: var(--text-grau); margin-bottom: 8px; }
.info-box p:last-child { margin-bottom: 0; }

/* BREADCRUMB */
.breadcrumb { max-width: 900px; margin: 0 auto; padding: 12px 20px 0; font-size: 0.8rem; color: var(--text-grau); }
.breadcrumb a { color: var(--blau); text-decoration: none; }
.breadcrumb a:hover { color: var(--orange); }

/* ORT TAGS */
.ort-list { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 14px; }
.ort-tag { background: #e8eef8; color: var(--blau); border: 1px solid #c5d2ec; padding: 4px 13px; border-radius: 20px; font-size: 0.83rem; font-weight: 600; text-decoration: none; display: inline-block; transition: background 0.2s, color 0.2s; }
.ort-tag:hover { background: var(--blau); color: var(--orange); border-color: var(--blau); }

/* STICKY MOBILE BAR */
.sticky-bar { display: none; }
@media (max-width: 640px) {
  .sticky-bar { position: fixed; bottom: 0; left: 0; right: 0; background: #0a2d6e; z-index: 998; display: flex; border-top: 2px solid #f97316; }
  .sticky-bar a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 8px; color: #fff; text-decoration: none; font-weight: 700; font-size: 0.88rem; }
  .sticky-bar a:first-child { background: #f97316; }
  .sticky-bar a:last-child { background: #1a4aaa; }
  body { padding-bottom: 56px; }
}

/* FLOATING BUTTONS */
.float-btns { position: fixed; bottom: 22px; right: 18px; display: flex; flex-direction: column; gap: 10px; z-index: 999; }
.float-btn { width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center; text-decoration: none; box-shadow: 0 4px 16px rgba(0,0,0,0.25); transition: transform 0.2s, box-shadow 0.2s; position: relative; }
.float-btn:hover { transform: scale(1.1); box-shadow: 0 6px 22px rgba(0,0,0,0.3); }
.float-btn.whatsapp { background: #25d366; }
.float-btn.phone { background: var(--blau); }
.float-btn-label { position: absolute; right: 62px; background: rgba(0,0,0,0.75); color: #fff; padding: 4px 10px; border-radius: 4px; font-size: 0.74rem; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 0.2s; }
.float-btn:hover .float-btn-label { opacity: 1; }

/* FOOTER */
footer { background: #040f26; color: rgba(255,255,255,0.4); text-align: center; padding: 32px 20px; font-size: 0.82rem; border-top: 1px solid rgba(249,115,22,0.2); }
footer a { color: rgba(255,255,255,0.5); text-decoration: none; }
footer a:hover { color: var(--orange); }

/* HERO CITY */
.hero-city { position: relative; height: 340px; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; }
.hero-city img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.22); }
.hero-city .hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(10,45,110,0.78), rgba(6,25,63,0.9)); }
.hero-city .hero-content { position: relative; z-index: 2; padding: 20px; }
.hero-city h1 { font-size: 1.85rem; color: #fff; font-weight: 800; margin-bottom: 8px; text-shadow: 0 2px 14px rgba(0,0,0,0.8); }
.hero-city h1 span { color: var(--orange); }
.hero-city p { color: rgba(255,255,255,0.8); font-size: 0.97rem; }

/* STATS BAR */
.stats-bar { background: linear-gradient(90deg, #06193f 0%, #0a2d6e 100%); padding: 32px 20px; position: relative; }
.stats-bar::before { content:''; position:absolute; top:0; left:0; right:0; height:3px; background: linear-gradient(90deg, var(--orange), #fbbf24, var(--orange)); }
.stats-inner { max-width: 900px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 24px; text-align: center; }
.stat-num { font-size: 2.4rem; font-weight: 900; color: var(--orange); line-height: 1; letter-spacing: -1px; }
.stat-label { font-size: 0.75rem; color: rgba(255,255,255,0.6); margin-top: 6px; text-transform: uppercase; letter-spacing: 1px; }

/* PROCESS STEPS */
.steps-section { background: var(--hell); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.step { text-align: center; padding: 32px 22px; background: var(--weiss); border-radius: 14px; box-shadow: var(--schatten); position: relative; transition: transform 0.2s, box-shadow 0.2s; }
.step:hover { transform: translateY(-4px); box-shadow: var(--schatten-lg); }
.step-num { width: 52px; height: 52px; background: var(--orange); color: #fff; border-radius: 50%; font-size: 1.4rem; font-weight: 900; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; box-shadow: 0 4px 14px rgba(249,115,22,0.35); }
.step h3 { color: var(--blau); font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 0.85rem; color: var(--text-grau); line-height: 1.6; }

/* BEWERTUNGEN */
.reviews-section { background: var(--hell); position: relative; }
.reviews-header { text-align: center; margin-bottom: 36px; }
.google-badge { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #dadce0; border-radius: 8px; padding: 8px 18px; margin-bottom: 18px; box-shadow: 0 1px 6px rgba(0,0,0,0.08); }
.google-badge span { font-size: 0.85rem; color: #5f6368; font-weight: 600; }
.google-g { font-size: 1.1rem; font-weight: 900; background: linear-gradient(135deg, #4285f4, #ea4335, #fbbc04, #34a853); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.reviews-overall { font-size: 1rem; color: var(--text-grau); }
.reviews-overall strong { color: var(--blau); font-size: 1.5rem; }
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.review-card { background: var(--weiss); border-radius: 14px; padding: 26px; box-shadow: var(--schatten); transition: transform 0.2s, box-shadow 0.2s; position: relative; }
.review-card:hover { transform: translateY(-4px); box-shadow: var(--schatten-lg); }
.review-stars { color: #f59e0b; font-size: 1rem; margin-bottom: 12px; letter-spacing: 2px; }
.review-text { font-size: 0.9rem; color: #374151; line-height: 1.65; margin-bottom: 16px; }
.review-author { display: flex; align-items: center; gap: 10px; }
.review-avatar { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--blau), var(--blau-hell)); color: #fff; font-size: 0.9rem; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.review-name { font-size: 0.85rem; font-weight: 700; color: var(--blau); }
.review-meta { font-size: 0.75rem; color: var(--text-grau); }

/* Responsive 2-Spalten-Grid für Checkliste/Flotten etc. */
.grid-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }

@media (max-width: 640px) {
  .hero h1 { font-size: 1.65rem; }
  .hero-city h1 { font-size: 1.35rem; }
  .form-row { grid-template-columns: 1fr; }
  .form-box { padding: 22px 14px; }
  .container { padding: 36px 14px; }
  .stat-num { font-size: 1.7rem; }
  /* Auf Mobil: runde Float-Buttons verstecken, Sticky-Bar übernimmt */
  .float-btns { display: none; }
  /* 2-Spalten auf Mobil zu 1 Spalte */
  .grid-2col { grid-template-columns: 1fr; gap: 20px; }
}
