/* ═══════════════════════════════════════
   AutoBarGeld.ch — Global Styles
   Colors: Black, White, Green (#22C55E)
   ═══════════════════════════════════════ */

:root {
  --black: #0A0A0A;
  --white: #FFFFFF;
  --green: #22C55E;
  --green-dark: #16A34A;
  --green-light: #DCFCE7;
  --gray-50: #FAFAFA;
  --gray-100: #F5F5F5;
  --gray-200: #E5E5E5;
  --gray-300: #D4D4D4;
  --gray-400: #A3A3A3;
  --gray-500: #737373;
  --gray-600: #525252;
  --gray-700: #404040;
  --gray-800: #262626;
  --gray-900: #171717;
  --font-display: 'DM Sans', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,.15);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --transition: .25s cubic-bezier(.4,0,.2,1);
  --max-width: 1200px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* ─── Typography ─── */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; color: var(--black); }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); letter-spacing: -.015em; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p { margin-bottom: 1rem; color: var(--gray-600); }
.text-green { color: var(--green); }
.text-white { color: var(--white); }
.text-center { text-align: center; }

/* ─── Buttons ─── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 32px; border-radius: var(--radius);
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  border: none; cursor: pointer; transition: all var(--transition);
  text-decoration: none; white-space: nowrap;
}
.btn-primary {
  background: var(--green); color: var(--white);
  box-shadow: 0 4px 14px rgba(34,197,94,.35);
}
.btn-primary:hover {
  background: var(--green-dark); transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(34,197,94,.45);
}
.btn-secondary {
  background: var(--black); color: var(--white);
}
.btn-secondary:hover { background: var(--gray-800); transform: translateY(-2px); }
.btn-outline {
  background: transparent; color: var(--black);
  border: 2px solid var(--gray-300);
}
.btn-outline:hover { border-color: var(--green); color: var(--green); }
.btn-white {
  background: var(--white); color: var(--black);
}
.btn-white:hover { background: var(--gray-100); transform: translateY(-2px); }
.btn-sm { padding: 10px 20px; font-size: .9rem; }
.btn-lg { padding: 18px 40px; font-size: 1.1rem; }

/* ─── Header ─── */
.header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,.95); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--max-width); margin: 0 auto; padding: 0 24px;
  height: 72px;
}
.logo {
  font-family: var(--font-display); font-weight: 800;
  font-size: 1.35rem; color: var(--black);
  display: flex; align-items: center; gap: 6px;
}
.logo span { color: var(--green); }

/* Nav */
.nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 8px 16px; border-radius: var(--radius-sm);
  font-size: .95rem; font-weight: 500; color: var(--gray-700);
  transition: all var(--transition); position: relative;
}
.nav-link:hover { color: var(--green); background: var(--green-light); }
.nav-link.active { color: var(--green); font-weight: 600; }

/* Dropdown */
.dropdown { position: relative; }
.dropdown-toggle { display: flex; align-items: center; gap: 4px; }
.dropdown-toggle::after {
  content: ''; width: 0; height: 0;
  border-left: 4px solid transparent; border-right: 4px solid transparent;
  border-top: 4px solid currentColor; transition: transform var(--transition);
}
.dropdown:hover .dropdown-toggle::after { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute; top: 100%; left: 0;
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius); padding: 8px;
  min-width: 240px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all var(--transition);
}
.dropdown:hover .dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown-item {
  display: block; padding: 10px 16px; border-radius: var(--radius-sm);
  font-size: .9rem; color: var(--gray-700); transition: all var(--transition);
}
.dropdown-item:hover { background: var(--green-light); color: var(--green-dark); }

.header-contact {
  display: flex; align-items: center; gap: 16px;
}
.header-phone {
  display: flex; align-items: center; gap: 6px;
  font-weight: 600; font-size: .95rem; color: var(--black);
}
.header-phone svg { color: var(--green); }
.header-whatsapp {
  display: flex; align-items: center; gap: 6px;
  color: #25D366; font-weight: 600; font-size: .9rem;
}

/* Mobile menu */
.mobile-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 40px; height: 40px; align-items: center; justify-content: center;
}
.mobile-toggle span {
  display: block; width: 24px; height: 2px; background: var(--black);
  position: relative; transition: all var(--transition);
}
.mobile-toggle span::before, .mobile-toggle span::after {
  content: ''; position: absolute; width: 24px; height: 2px;
  background: var(--black); transition: all var(--transition);
}
.mobile-toggle span::before { top: -7px; }
.mobile-toggle span::after { top: 7px; }

.mobile-nav {
  display: none; position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
  background: var(--white); z-index: 999; padding: 24px;
  overflow-y: auto;
}
.mobile-nav.active { display: block; }
.mobile-nav-link {
  display: block; padding: 14px 0; font-size: 1.1rem;
  font-weight: 500; border-bottom: 1px solid var(--gray-100);
}
.mobile-nav-link:hover { color: var(--green); }
.mobile-subnav { padding-left: 20px; }
.mobile-subnav a { font-size: 1rem; color: var(--gray-600); }

/* ─── Hero ─── */
.hero {
  background: var(--black); color: var(--white);
  padding: 80px 0 60px; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -50%; right: -20%;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(34,197,94,.15) 0%, transparent 70%);
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: center; position: relative; z-index: 1;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(34,197,94,.15); color: var(--green);
  padding: 8px 16px; border-radius: 100px; font-size: .85rem;
  font-weight: 600; margin-bottom: 20px;
}
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero h1 .highlight { color: var(--green); }
.hero-subtitle {
  font-size: 1.15rem; color: var(--gray-400);
  margin-bottom: 32px; line-height: 1.7;
}
.hero-stats {
  display: flex; gap: 32px; margin-top: 40px;
}
.hero-stat { text-align: left; }
.hero-stat-number {
  font-size: 1.8rem; font-weight: 800; color: var(--green);
  font-family: var(--font-display);
}
.hero-stat-label { font-size: .85rem; color: var(--gray-400); }

.hero-form-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 36px; color: var(--black); box-shadow: var(--shadow-xl);
}
.hero-form-card h3 { margin-bottom: 4px; }
.hero-form-card .form-subtitle {
  color: var(--gray-500); font-size: .9rem; margin-bottom: 24px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.form-group { margin-bottom: 12px; }
.form-group label {
  display: block; font-size: .85rem; font-weight: 600;
  color: var(--gray-700); margin-bottom: 6px;
}
.form-control {
  width: 100%; padding: 12px 16px; border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm); font-size: .95rem;
  font-family: var(--font-body); transition: border-color var(--transition);
  background: var(--gray-50);
}
.form-control:focus { outline: none; border-color: var(--green); background: var(--white); }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23737373' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.form-note { font-size: .8rem; color: var(--gray-400); text-align: center; margin-top: 12px; }

/* ─── Multi-Step Form Wizard ─── */
.wizard-steps {
  display: flex; align-items: center; justify-content: center;
  gap: 0; margin-bottom: 28px; padding: 0 8px;
}
.wizard-step {
  display: flex; align-items: center; gap: 8px; font-size: .85rem;
  color: var(--gray-400); font-weight: 500;
}
.wizard-step.active { color: var(--green); font-weight: 700; }
.wizard-step.done { color: var(--green); }
.wizard-step-num {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .85rem; flex-shrink: 0;
  border: 2px solid var(--gray-300); color: var(--gray-400);
  background: var(--white); transition: all var(--transition);
}
.wizard-step.active .wizard-step-num {
  border-color: var(--green); color: var(--white); background: var(--green);
}
.wizard-step.done .wizard-step-num {
  border-color: var(--green); color: var(--white); background: var(--green);
}
.wizard-connector {
  width: 40px; height: 2px; background: var(--gray-200); margin: 0 8px;
}
.wizard-connector.done { background: var(--green); }
.wizard-panel { display: none; }
.wizard-panel.active { display: block; }
.form-actions { display: flex; gap: 12px; margin-top: 20px; }
.form-actions .btn { flex: 1; justify-content: center; }
.form-success {
  text-align: center; padding: 40px 20px;
}
.form-success-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--green); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; margin: 0 auto 20px;
}
.form-group textarea {
  width: 100%; padding: 12px 16px; border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm); font-size: .95rem;
  font-family: var(--font-body); transition: border-color var(--transition);
  background: var(--gray-50); resize: vertical; min-height: 80px;
}
.form-group textarea:focus { outline: none; border-color: var(--green); background: var(--white); }

/* ─── Section spacing ─── */
.section { padding: 80px 0; }
.section-dark { background: var(--black); color: var(--white); }
.section-gray { background: var(--gray-50); }
.section-green { background: var(--green); color: var(--white); }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 48px; }
.section-header .label {
  display: inline-block; font-size: .8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--green); margin-bottom: 12px;
}
.section-dark .section-header .label { color: var(--green); }
.section-header p { color: var(--gray-500); }
.section-dark .section-header p { color: var(--gray-400); }

/* ─── USP Bar ─── */
.usp-bar {
  background: var(--gray-50); border-bottom: 1px solid var(--gray-200);
  padding: 20px 0;
}
.usp-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.usp-item {
  display: flex; align-items: center; gap: 12px;
  text-align: left;
}
.usp-icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--green-light); color: var(--green-dark);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.usp-text { font-weight: 600; font-size: .9rem; color: var(--gray-800); line-height: 1.3; }

/* ─── Steps ─── */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.step-card {
  text-align: center; padding: 40px 28px;
  border-radius: var(--radius-lg); background: var(--white);
  border: 1px solid var(--gray-200); transition: all var(--transition);
  position: relative;
}
.step-card:hover { border-color: var(--green); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.step-number {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--green); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; font-weight: 800; margin: 0 auto 20px;
  font-family: var(--font-display);
}
.step-card h3 { margin-bottom: 12px; }
.step-card p { font-size: .95rem; margin-bottom: 0; }
.step-connector {
  display: none; /* show on desktop between steps if needed */
}

/* ─── Trust / Social Proof ─── */
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.trust-card {
  padding: 32px; border-radius: var(--radius-lg);
  background: var(--gray-800); border: 1px solid var(--gray-700);
}
.trust-stars { color: #FACC15; font-size: 1.1rem; margin-bottom: 12px; }
.trust-text { color: var(--gray-300); font-size: .95rem; line-height: 1.6; margin-bottom: 16px; font-style: italic; }
.trust-author { display: flex; align-items: center; gap: 12px; }
.trust-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--green); display: flex; align-items: center;
  justify-content: center; color: var(--white); font-weight: 700;
}
.trust-name { font-weight: 600; color: var(--white); font-size: .9rem; }
.trust-location { font-size: .8rem; color: var(--gray-400); }

/* ─── Vehicles We Buy ─── */
.vehicles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.vehicle-card {
  display: flex; align-items: center; gap: 16px;
  padding: 24px; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--gray-200);
  transition: all var(--transition); text-decoration: none;
}
.vehicle-card:hover { border-color: var(--green); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.vehicle-icon {
  width: 48px; height: 48px; border-radius: var(--radius-sm);
  background: var(--green-light); color: var(--green-dark);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 1.3rem;
}
.vehicle-card h4 { margin-bottom: 2px; }
.vehicle-card p { font-size: .85rem; margin-bottom: 0; color: var(--gray-500); }

/* ─── Compare Table ─── */
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.compare-card {
  padding: 40px; border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
}
.compare-card.compare-bad { background: var(--gray-50); }
.compare-card.compare-good {
  background: var(--black); color: var(--white);
  border-color: var(--green);
}
.compare-card h3 { margin-bottom: 24px; }
.compare-card.compare-good h3 { color: var(--green); }
.compare-list li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid rgba(128,128,128,.15);
  font-size: .95rem;
}
.compare-list li:last-child { border-bottom: none; }
.compare-icon-bad { color: #EF4444; font-size: 1.1rem; flex-shrink: 0; margin-top: 2px; }
.compare-icon-good { color: var(--green); font-size: 1.1rem; flex-shrink: 0; margin-top: 2px; }

/* ─── Regions ─── */
.regions-flex {
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: center;
}
.region-tag {
  padding: 10px 20px; border-radius: 100px;
  background: var(--white); border: 1.5px solid var(--gray-200);
  font-weight: 600; font-size: .9rem;
  transition: all var(--transition); text-decoration: none;
  color: var(--gray-700);
}
.region-tag:hover { border-color: var(--green); color: var(--green); background: var(--green-light); }

/* ─── FAQ ─── */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--gray-200); border-radius: var(--radius);
  margin-bottom: 12px; overflow: hidden; background: var(--white);
}
.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px; cursor: pointer; font-weight: 600;
  font-size: 1rem; color: var(--gray-800); transition: all var(--transition);
  background: none; border: none; width: 100%; text-align: left;
  font-family: var(--font-body);
}
.faq-question:hover { color: var(--green); }
.faq-question .faq-icon {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--gray-100); display: flex; align-items: center;
  justify-content: center; flex-shrink: 0; transition: all var(--transition);
  font-size: 1.2rem; color: var(--gray-500);
}
.faq-item.active .faq-question .faq-icon {
  background: var(--green); color: var(--white); transform: rotate(45deg);
}
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height .3s ease;
}
.faq-answer-inner {
  padding: 0 24px 20px; color: var(--gray-600); line-height: 1.7;
  font-size: .95rem;
}

/* ─── CTA Banner ─── */
.cta-banner {
  background: var(--green); border-radius: var(--radius-lg);
  padding: 60px; text-align: center; position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; top: -50%; right: -10%;
  width: 400px; height: 400px; border-radius: 50%;
  background: rgba(255,255,255,.1);
}
.cta-banner h2 { color: var(--white); margin-bottom: 16px; position: relative; }
.cta-banner p { color: rgba(255,255,255,.85); margin-bottom: 28px; position: relative; font-size: 1.1rem; }
.cta-banner .btn { position: relative; }

/* ─── Footer ─── */
.footer { background: var(--black); color: var(--gray-400); padding: 60px 0 30px; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .logo { color: var(--white); margin-bottom: 16px; }
.footer-brand p { font-size: .9rem; line-height: 1.7; }
.footer h4 { color: var(--white); margin-bottom: 16px; font-size: .95rem; }
.footer-links a {
  display: block; padding: 6px 0; font-size: .9rem;
  color: var(--gray-400); transition: color var(--transition);
}
.footer-links a:hover { color: var(--green); }
.footer-contact-item {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 12px; font-size: .9rem;
}
.footer-contact-item svg { color: var(--green); flex-shrink: 0; }
.footer-bottom {
  border-top: 1px solid var(--gray-800); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: .85rem;
}
.footer-legal a { margin-left: 20px; }
.footer-legal a:hover { color: var(--green); }

/* ─── SEO Text ─── */
.seo-text { padding: 40px 0; border-top: 1px solid var(--gray-200); }
.seo-text-content {
  max-width: 900px; margin: 0 auto;
  font-size: .9rem; color: var(--gray-500); line-height: 1.8;
}
.seo-text-content h2 { font-size: 1.2rem; margin-bottom: 12px; color: var(--gray-700); }

/* ─── Page Hero (Subpages) ─── */
.page-hero {
  background: var(--black); color: var(--white);
  padding: 60px 0; text-align: center;
}
.page-hero .breadcrumb {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; font-size: .85rem; color: var(--gray-400);
  margin-bottom: 16px;
}
.page-hero .breadcrumb a { color: var(--gray-400); }
.page-hero .breadcrumb a:hover { color: var(--green); }
.page-hero .breadcrumb .sep { color: var(--gray-600); }
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero p { color: var(--gray-400); max-width: 650px; margin: 0 auto; font-size: 1.1rem; }

/* ─── Content Section ─── */
.content-section { padding: 60px 0; }
.content-grid {
  display: grid; grid-template-columns: 2fr 1fr; gap: 60px;
  align-items: start;
}
.content-main h2 { margin-bottom: 16px; margin-top: 32px; }
.content-main h2:first-child { margin-top: 0; }
.content-main p { line-height: 1.8; }
.content-main ul { margin: 16px 0; }
.content-main ul li {
  padding: 8px 0 8px 28px; position: relative;
  color: var(--gray-600);
}
.content-main ul li::before {
  content: ''; position: absolute; left: 0; top: 16px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
}

/* Sidebar */
.sidebar-card {
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 32px;
  position: sticky; top: 96px; margin-bottom: 24px;
}
.sidebar-card h3 { margin-bottom: 16px; font-size: 1.15rem; }
.sidebar-card .btn { width: 100%; justify-content: center; margin-bottom: 12px; }
.sidebar-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-top: 24px;
}
.sidebar-stat { text-align: center; }
.sidebar-stat-number { font-size: 1.5rem; font-weight: 800; color: var(--green); }
.sidebar-stat-label { font-size: .8rem; color: var(--gray-500); }

/* ─── Sticky CTA Mobile ─── */
.sticky-cta {
  display: none; position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--white); border-top: 1px solid var(--gray-200);
  padding: 12px 24px; z-index: 900;
  box-shadow: 0 -4px 12px rgba(0,0,0,.08);
}
.sticky-cta .btn { width: 100%; justify-content: center; }

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .nav, .header-contact { display: none; }
  .mobile-toggle { display: flex; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .usp-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
  .trust-grid { grid-template-columns: 1fr; }
  .vehicles-grid { grid-template-columns: repeat(2, 1fr); }
  .compare-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .content-grid { grid-template-columns: 1fr; }
  .sidebar-card { position: static; }
  .sticky-cta { display: block; }
  body { padding-bottom: 70px; }
}
@media (max-width: 640px) {
  .usp-grid { grid-template-columns: 1fr; }
  .vehicles-grid { grid-template-columns: 1fr; }
  .hero { padding: 50px 0 40px; }
  .section { padding: 60px 0; }
  .cta-banner { padding: 40px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .regions-flex { gap: 8px; }
  .region-tag { padding: 8px 14px; font-size: .85rem; }
}

/* ─── Header CTA Button ─── */
.header-cta {
  background: var(--green); color: var(--white) !important;
  padding: 10px 22px; border-radius: var(--radius);
  font-weight: 700; font-size: .9rem;
  transition: all var(--transition);
  box-shadow: 0 2px 8px rgba(34,197,94,.3);
}
.header-cta:hover { background: var(--green-dark); transform: translateY(-1px); }

/* ─── Condition Toggle (Ja/Nein/Weiss nicht) ─── */
.condition-list { max-width: 700px; }
.condition-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px; border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm); margin-bottom: 10px;
  background: var(--white); transition: border-color var(--transition);
}
.condition-item:hover { border-color: var(--gray-300); }
.condition-label {
  display: flex; align-items: center; gap: 12px;
  font-weight: 600; font-size: .95rem; color: var(--gray-800);
}
.condition-icon { font-size: 1.3rem; width: 32px; text-align: center; }
.toggle-group {
  display: flex; gap: 0; border-radius: 100px; overflow: hidden;
  border: 1.5px solid var(--gray-200);
}
.toggle-group label {
  padding: 6px 14px; font-size: .8rem; font-weight: 600;
  cursor: pointer; transition: all var(--transition);
  color: var(--gray-500); background: var(--white);
  border-right: 1px solid var(--gray-200); user-select: none;
}
.toggle-group label:last-child { border-right: none; }
.toggle-group input { display: none; }
.toggle-group input:checked + label {
  background: var(--green); color: var(--white); border-color: var(--green);
}
.toggle-group input[value="nein"]:checked + label {
  background: #EF4444; color: var(--white); border-color: #EF4444;
}
.toggle-group input[value="weiss_nicht"]:checked + label {
  background: var(--gray-400); color: var(--white);
}

/* ─── File Upload ─── */
.upload-zone {
  border: 2px dashed var(--gray-300); border-radius: var(--radius);
  padding: 40px 20px; text-align: center;
  cursor: pointer; transition: all var(--transition);
  background: var(--gray-50);
}
.upload-zone:hover { border-color: var(--green); background: var(--green-light); }
.upload-zone-icon { font-size: 2.5rem; color: var(--gray-400); margin-bottom: 8px; }
.upload-zone p { font-size: .9rem; color: var(--gray-500); margin-bottom: 4px; }
.upload-zone small { font-size: .8rem; color: var(--gray-400); }
.upload-zone input[type="file"] { display: none; }
.upload-preview {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px;
}
.upload-thumb {
  width: 80px; height: 80px; border-radius: var(--radius-sm);
  object-fit: cover; border: 1px solid var(--gray-200);
}

/* ─── Km input no spinners ─── */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
input[type="number"] { -moz-appearance: textfield; }

/* ─── Full page form ─── */
.form-page { max-width: 800px; margin: 0 auto; padding: 40px 24px; }
.form-page h1 { text-align: center; margin-bottom: 8px; }
.form-page .form-subtitle { text-align: center; color: var(--gray-500); margin-bottom: 32px; }
.form-page .wizard-steps { margin-bottom: 32px; }
.form-section-title {
  font-size: 1.1rem; font-weight: 700; color: var(--gray-800);
  margin-bottom: 16px; margin-top: 8px;
}

/* Logo updated */
.logo-sub { font-size: .75em; font-weight: 500; color: var(--gray-500); }

/* MFK date conditional */
.mfk-date-row { display: none; padding: 0 18px 14px; }
.mfk-date-row.show { display: block; }
.mfk-date-row label { font-size: .85rem; font-weight: 600; color: var(--gray-700); margin-bottom: 4px; display: block; }

/* Review cards scrollable */
.reviews-scroll { display: flex; gap: 20px; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.reviews-scroll::-webkit-scrollbar { height: 6px; }
.reviews-scroll::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 3px; }
.reviews-scroll .trust-card { min-width: 320px; max-width: 380px; scroll-snap-align: start; flex-shrink: 0; }
.google-badge { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: .8rem; color: var(--gray-400); }
.google-badge svg { flex-shrink: 0; }

/* Required asterisk */
.req { color: #EF4444; }

/* Validation */
.form-control.error { border-color: #EF4444; }

/* Logo v2 - stacked style */
.logo {
  display: inline-flex; flex-direction: column; align-items: center;
  line-height: 1; gap: 0; text-decoration: none;
  position: relative; padding: 2px 0;
}
.logo-top {
  font-size: .55rem; font-weight: 500; color: var(--gray-400);
  letter-spacing: .05em; align-self: flex-start; margin-left: 2px;
  text-transform: lowercase;
}
.logo-main {
  font-family: var(--font-display); font-weight: 800;
  font-size: 1.35rem; color: var(--black); letter-spacing: -.01em;
  line-height: 1.1;
}
.logo-main { color: var(--black); }
.logo-bottom {
  font-size: .55rem; font-weight: 500; color: var(--gray-400);
  letter-spacing: .05em; align-self: flex-end; margin-right: 2px;
  text-transform: lowercase;
}

/* Review summary bar */
.review-summary {
  display: flex; align-items: center; gap: 24px;
  justify-content: center; margin-bottom: 32px;
}
.review-score {
  text-align: center;
}
.review-score-number {
  font-size: 2.8rem; font-weight: 800; color: var(--white);
  font-family: var(--font-display); line-height: 1;
}
.review-score-stars { color: #FACC15; font-size: 1rem; margin-top: 4px; }
.review-score-count { font-size: .85rem; color: var(--gray-400); margin-top: 2px; }
.review-bars { display: flex; flex-direction: column; gap: 4px; min-width: 180px; }
.review-bar-row {
  display: flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--gray-400);
}
.review-bar-row span:first-child { width: 12px; text-align: right; }
.review-bar {
  flex: 1; height: 8px; background: var(--gray-700); border-radius: 4px; overflow: hidden;
}
.review-bar-fill { height: 100%; background: #FACC15; border-radius: 4px; }

/* ═══ MOBILE OVERHAUL ═══ */
@media (max-width: 640px) {
  /* Hero stats side by side */
  .hero-stats { flex-direction: row !important; gap: 16px !important; justify-content: space-between; }
  .hero-stat { text-align: center; flex: 1; }
  .hero-stat-number { font-size: 1.3rem !important; }
  .hero-stat-label { font-size: .7rem !important; }

  /* Buttons side by side */
  .hero-content > div:nth-child(4) { display: flex !important; gap: 8px !important; }
  .hero-content .btn-lg { padding: 14px 20px !important; font-size: .9rem !important; flex: 1; justify-content: center; text-align: center; }

  /* Steps horizontal swiper */
  .steps-grid {
    display: flex !important; overflow-x: auto; scroll-snap-type: x mandatory;
    gap: 16px !important; padding-bottom: 16px;
    max-width: 100% !important; margin: 0 !important;
    -webkit-overflow-scrolling: touch;
  }
  .steps-grid::after { content: ''; min-width: 1px; }
  .step-card {
    min-width: 280px; scroll-snap-align: center; flex-shrink: 0;
    padding: 28px 20px !important;
  }
  .steps-grid::-webkit-scrollbar { height: 4px; }
  .steps-grid::-webkit-scrollbar-thumb { background: var(--green); border-radius: 2px; }
  .steps-grid::-webkit-scrollbar-track { background: var(--gray-200); border-radius: 2px; }

  /* Vehicles 3x2 grid */
  .vehicles-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
  }
  .vehicle-card {
    flex-direction: column !important; text-align: center;
    padding: 14px 8px !important; gap: 8px !important;
  }
  .vehicle-icon { width: 40px !important; height: 40px !important; font-size: 1.1rem !important; }
  .vehicle-card h4 { font-size: .8rem !important; line-height: 1.2; }
  .vehicle-card p { display: none; }

  /* Compare as table-like */
  .compare-grid { gap: 16px !important; }
  .compare-card { padding: 20px !important; }
  .compare-list li { font-size: .85rem; padding: 8px 0; }

  /* Regions compact */
  .regions-flex { gap: 6px !important; }
  .region-tag { padding: 6px 12px !important; font-size: .75rem !important; }

  /* Footer accordion */
  .footer-grid { grid-template-columns: 1fr !important; gap: 0 !important; }
  .footer-grid > div:not(.footer-brand) { border-top: 1px solid var(--gray-800); }
  .footer-grid > div:not(.footer-brand) > h4 {
    cursor: pointer; padding: 16px 0; margin: 0;
    display: flex; justify-content: space-between; align-items: center;
  }
  .footer-grid > div:not(.footer-brand) > h4::after {
    content: '+'; font-size: 1.2rem; color: var(--gray-500);
    transition: transform var(--transition);
  }
  .footer-grid > div:not(.footer-brand) > .footer-links,
  .footer-grid > div:not(.footer-brand) > .footer-contact-item { display: none; }
  .footer-grid > div:not(.footer-brand).open > .footer-links,
  .footer-grid > div:not(.footer-brand).open > .footer-contact-item { display: block; }
  .footer-grid > div:not(.footer-brand).open > h4::after { content: '−'; }
  .footer-brand p { font-size: .85rem; margin-bottom: 16px; }

  /* FAQ compact */
  .faq-question { padding: 16px !important; font-size: .9rem !important; }
  .faq-answer-inner { padding: 0 16px 16px !important; font-size: .85rem !important; }

  /* CTA banner */
  .cta-banner { padding: 32px 20px !important; }
  .cta-banner h2 { font-size: 1.3rem !important; }

  /* Section padding */
  .section { padding: 50px 0 !important; }
  .section-header { margin-bottom: 32px !important; }

  /* USP bar compact */
  .usp-grid { grid-template-columns: 1fr 1fr !important; gap: 12px !important; }
  .usp-item { gap: 8px !important; }
  .usp-icon { width: 36px !important; height: 36px !important; }
  .usp-text { font-size: .8rem !important; }

  /* Review summary */
  .review-summary { gap: 16px !important; }
  .review-score-number { font-size: 2rem !important; }
  .review-bars { min-width: 140px !important; }

  /* Reviews scroll */
  .reviews-scroll .trust-card { min-width: 280px !important; }

  /* Sidebar hidden on mobile for subpages */
  .content-grid aside { display: none; }
  .content-grid { grid-template-columns: 1fr !important; }
}

/* Tablet adjustments */
@media (min-width: 641px) and (max-width: 1024px) {
  .vehicles-grid { grid-template-columns: repeat(3, 1fr) !important; }
  .hero-stats { flex-direction: row !important; }
}

/* Logo fix: dein + verkaufen in black, AutoSofort in green */
.logo-top { color: var(--gray-700) !important; }
.logo-bottom { color: var(--gray-700) !important; }
.logo-main { color: var(--green) !important; }

/* Mobile: prevent horizontal overflow */
html, body { overflow-x: hidden; }
.container { overflow: hidden; }

/* Mobile read-more for long text */
.mobile-truncate { display: none; }
@media (max-width: 640px) {
  /* Ensure no horizontal scroll anywhere */
  .hero-grid, .compare-grid, .trust-grid, .vehicles-grid, .steps-grid,
  .usp-grid, .regions-flex, .faq-list, .footer-grid { max-width: 100%; }
  
  .reviews-scroll { scroll-padding: 0 16px; padding: 0 0 12px; }
  
  /* Hero form card full width */
  .hero-form-card { width: 100%; }
  
  /* Compare cards equal */
  .compare-grid { gap: 12px !important; }
  .compare-card { padding: 16px !important; }
  .compare-card h3 { font-size: 1rem !important; margin-bottom: 16px !important; }
  
  /* CTA banner text */
  .cta-banner p { font-size: .95rem !important; }
  
  /* Content sections */
  .content-main ul li { padding-left: 20px; font-size: .9rem; }
  .content-main p { font-size: .9rem; }
  
  /* Page hero compact */
  .page-hero { padding: 40px 0 !important; }
  .page-hero h1 { font-size: 1.5rem !important; }
  .page-hero p { font-size: .9rem !important; }
  
  /* SEO text hidden on mobile with toggle */
  .seo-text-content { max-height: 80px; overflow: hidden; position: relative; }
  .seo-text-content.expanded { max-height: none; }
  .seo-text-content:not(.expanded)::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0;
    height: 40px; background: linear-gradient(transparent, var(--white));
  }
  .seo-toggle { display: block; text-align: center; padding: 8px; color: var(--green);
    font-weight: 600; font-size: .85rem; cursor: pointer; }
  .seo-toggle { display: block !important; }
}
@media (min-width: 641px) {
  .seo-toggle { display: none; }
}

/* ═══ Mobile CTA + Steps fixes ═══ */
@media (max-width: 640px) {
  /* CTA banner button thinner */
  .cta-banner .btn { padding: 12px 24px !important; font-size: .9rem !important; }
  
  /* Sticky CTA thinner */
  .sticky-cta .btn { padding: 10px 16px !important; font-size: .85rem !important; }
  
  /* Step cards: fit fully in viewport per swipe */
  .steps-grid {
    padding: 0 24px 16px !important;
    gap: 12px !important;
    scroll-padding-left: 24px;
  }
  .step-card {
    min-width: calc(100vw - 72px) !important;
    max-width: calc(100vw - 72px) !important;
    padding: 24px 16px !important;
  }
  .step-card h3 { font-size: 1.05rem !important; }
  .step-card p { font-size: .85rem !important; }
  .step-number { width: 44px !important; height: 44px !important; font-size: 1.1rem !important; margin-bottom: 12px !important; }
  .step-card > div:nth-child(2) { font-size: 2rem !important; margin-bottom: 8px !important; }
  
  /* All CTAs on subpages: thinner */
  .content-section .btn { padding: 10px 20px !important; font-size: .85rem !important; }
  .sidebar-card .btn { padding: 10px 16px !important; font-size: .85rem !important; }
  
  /* Page content CTA buttons inline */
  .content-main .btn-primary { display: inline-block; margin-top: 8px; }
}

/* Hide "Altes Auto" card on mobile for clean 3x2 grid */
@media (max-width: 640px) {
  .vehicle-card.hide-mobile { display: none !important; }
}

/* ─── Content Images ─── */
.hero-image-section {
  position: relative; margin-top: 40px;
  border-radius: var(--radius-lg); overflow: hidden;
  max-height: 360px;
}
.hero-image-section img {
  width: 100%; height: 360px; object-fit: cover;
  border-radius: var(--radius-lg);
}
.page-feature-img {
  width: 100%; border-radius: var(--radius-lg);
  margin: 24px 0; object-fit: cover; max-height: 400px;
}
@media (max-width: 640px) {
  .hero-image-section { max-height: 220px; margin-top: 24px; }
  .hero-image-section img { height: 220px; }
  .page-feature-img { max-height: 250px; margin: 16px 0; }
}
