/* CSS Variables */
:root {
  --blue: #0d5c8a;
  --accent: #e85d04;
  --green: #1a6b3c;
  --bg1: #ffffff;
  --bg2: #f3f7fa;
  --text: #1a1a1a;
  --text-muted: #666666;
  --border: #e0e0e0;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Global */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Source Sans 3', sans-serif;
  color: var(--text);
  background-color: var(--bg1);
  line-height: 1.6;
}

a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--accent);
}

h1, h2, h3, h4 {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
}

h1 { font-size: 2.5rem; line-height: 1.2; }
h2 { font-size: 2rem; line-height: 1.2; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }

/* Cookie Banner */
#cookieBanner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.95);
  color: white;
  padding: 20px;
  z-index: 9999;
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cookie-content p {
  flex: 1;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  white-space: nowrap;
}

.btn-primary, .btn-secondary {
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--accent);
  color: white;
}

.btn-primary:hover {
  background: #d04c03;
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 1px solid white;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Trust Bar */
.trust-bar {
  background: linear-gradient(135deg, var(--blue) 0%, #0a4563 100%);
  color: white;
  padding: 12px 0;
  font-size: 0.9rem;
  text-align: center;
}

.trust-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 15px;
}

/* Sticky Top */
.sticky-top {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: white;
  box-shadow: var(--shadow);
}

/* Topbar */
.topbar {
  background: var(--blue);
  color: white;
  padding: 10px 0;
  font-size: 0.85rem;
}

.topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  background: white;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-text {
  font-family: 'Oswald', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--blue);
}

.logo-text strong {
  color: var(--accent);
}

.header-phone {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.3;
  margin-right: 16px;
}

.header-phone-link {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--blue) !important;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.header-phone-link:hover {
  color: var(--accent) !important;
}

.header-open {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.header-buttons {
  display: flex;
  gap: 10px;
  align-items: center;
}

.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  background: #25d366;
  color: white !important;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-wa:hover {
  background: #1da851;
  transform: translateY(-1px);
}

.btn-call {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  background: var(--accent);
  color: white !important;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-call:hover {
  background: #c04d00;
  transform: translateY(-1px);
}


/* Sub Navigation (Unterseiten) */
.sub-nav {
  background: var(--blue);
  padding: 0;
}

.sub-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  padding: 0 20px;
}

.sub-nav a {
  color: rgba(255,255,255,0.85);
  padding: 10px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  border-right: 1px solid rgba(255,255,255,0.15);
}

.sub-nav a:hover {
  background: rgba(255,255,255,0.15);
  color: white;
}

.sub-nav a:first-child {
  color: var(--accent);
}

/* Section Styling */
.section {
  padding: 60px 20px;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
  color: var(--blue);
}

.section-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 30px;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--bg2) 0%, #e8eef5 100%);
  padding: 60px 20px;
}

.hero-badge {
  display: inline-block;
  background: #fff3e0;
  color: var(--accent);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-title {
  color: var(--blue);
  margin-bottom: 20px;
  font-size: 2.5rem;
}

.hero-title strong {
  color: var(--accent);
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 30px;
  max-width: 700px;
  line-height: 1.7;
}

/* Hero Pills */
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.pill {
  background: white;
  border: 1px solid var(--border);
  padding: 10px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  color: var(--green);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Image Slider */
.slider-wrapper {
  position: relative;
  margin-bottom: 40px;
  border-radius: 12px;
  overflow: hidden;
}

.slider-track {
  display: flex;
  width: 100%;
  height: 260px;
  transition: transform 0.4s ease-out;
}

.slider-track img {
  width: 100%;
  height: 260px;
  flex-shrink: 0;
  object-fit: cover;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(13, 92, 138, 0.8);
  color: white;
  border: none;
  width: 44px;
  height: 44px;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.2s;
  border-radius: 4px;
  z-index: 10;
}

.slider-btn:hover {
  background: var(--blue);
}

.slider-prev {
  left: 15px;
}

.slider-next {
  right: 15px;
}

/* Slider Dots */
.slider-dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.3s;
}

.slider-dot.active {
  background: var(--accent);
  width: 28px;
  border-radius: 5px;
}

/* Form Styling */
.form-wrapper {
  background: white;
  border: 2px solid var(--blue);
  border-radius: 12px;
  padding: 30px;
  max-width: 500px;
}

.form-wrapper h3 {
  margin-bottom: 20px;
  color: var(--blue);
}

.form-step1, #form2 {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-step1 input,
.form-step1 select,
#form2 input,
#form2 select,
#form2 textarea {
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: 'Source Sans 3', sans-serif;
  transition: border-color 0.2s;
}

.form-step1 input:focus,
.form-step1 select:focus,
#form2 input:focus,
#form2 select:focus,
#form2 textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(13, 92, 138, 0.1);
}

.form-step1 textarea,
#form2 textarea {
  resize: vertical;
  min-height: 100px;
}

#form2 input[readonly] {
  background: var(--bg2);
  cursor: not-allowed;
}

.btn-large {
  padding: 16px 32px;
  font-size: 1.05rem;
  width: 100%;
}

/* Contact Form (2-step) */
.form-contact {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-contact input,
.form-contact textarea,
#form2 input,
#form2 textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: 'Source Sans 3', sans-serif;
  background: #fff;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.form-contact input:focus,
.form-contact textarea:focus,
#form2 input:focus,
#form2 textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(13, 92, 138, 0.12);
}

.form-contact textarea,
#form2 textarea {
  resize: vertical;
  min-height: 80px;
}

#form2 {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

#form2 input[readonly] {
  background: var(--bg2);
  color: var(--text-muted);
  cursor: default;
  border-color: transparent;
}

/* Datenschutz Checkbox */
.datenschutz-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1.5;
}

.datenschutz-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 2px;
  accent-color: var(--blue);
  cursor: pointer;
  border: none;
  padding: 0;
  box-shadow: none;
}

.datenschutz-check a {
  color: var(--blue);
  text-decoration: underline;
}

/* Single Contact Form (#contactForm) - fallback */
#contactForm {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

#contactForm input,
#contactForm textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: 'Source Sans 3', sans-serif;
  background: #fff;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

#contactForm .btn-primary {
  width: 100%;
}

/* Stadtteile Grid (Unterseiten) */
.stadtteile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
  margin-top: 24px;
}

.stadtteil-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(13,92,138,0.12);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}

.stadtteil-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(13,92,138,0.22);
}

.stadtteil-card-header {
  background: var(--blue);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sc-pin {
  font-size: 1.3rem;
  line-height: 1;
  flex-shrink: 0;
}

.stadtteil-card h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.25;
}

.stadtteil-card h3 a {
  color: white;
  text-decoration: none;
  font-weight: 700;
}

.stadtteil-card h3 a:hover {
  color: #ffe066;
}

.stadtteil-card-body {
  padding: 14px 18px;
  flex: 1;
}

.stadtteil-card p {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

.stadtteil-card-footer {
  padding: 11px 18px;
  border-top: 1px solid var(--border);
  background: #fafcff;
}

.stadtteil-card-btn {
  display: inline-block;
  background: var(--accent);
  color: white !important;
  padding: 7px 16px;
  border-radius: 6px;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none !important;
  transition: background 0.2s;
}

.stadtteil-card-btn:hover {
  background: #c44d00;
  color: white !important;
}

/* Stats Strip */
.stats-strip {
  background: var(--green);
  color: white;
  padding: 60px 20px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  text-align: center;
}

.stat-item {
  animation: fadeInUp 0.6s ease-out;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.stat-text {
  font-size: 0.95rem;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Ablauf Section */
.ablauf-section {
  background: var(--bg2);
}

.ablauf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-bottom: 50px;
}

.ablauf-card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  border-left: 4px solid var(--accent);
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}

.ablauf-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.ablauf-icon {
  width: 48px;
  height: 48px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.ablauf-card h3 {
  color: var(--blue);
  margin-bottom: 10px;
}

.ablauf-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Road Animation */
.road-animation {
  width: 100%;
  height: 200px;
  background: linear-gradient(to bottom, rgba(13, 92, 138, 0.05) 0%, rgba(13, 92, 138, 0.02) 100%);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.road-svg {
  width: 100%;
  height: 100%;
}

.car-animation {
  animation: driveCar 10s linear infinite;
}

@keyframes driveCar {
  0%    { transform: translate(30px, 30px); }   /* start – kurze Pause */
  8%    { transform: translate(30px, 30px); }   /* warten */
  60%   { transform: translate(680px, 30px); }  /* am Ziel angekommen */
  78%   { transform: translate(680px, 30px); }  /* Pause am Ziel (ca. 1,8s) */
  78.5% { transform: translate(30px, 30px); }   /* sofort zurückspringen */
  100%  { transform: translate(30px, 30px); }   /* Pause vor neuem Start */
}

/* Vorteile Section */
.vorteile-section {
  background: white;
}

.vorteile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.vorteile-card {
  background: var(--bg2);
  padding: 30px;
  border-radius: 12px;
  border-top: 4px solid var(--blue);
  box-shadow: var(--shadow);
  transition: all 0.3s;
}

.vorteile-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border-top-color: var(--accent);
}

.vorteile-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.vorteile-card h3 {
  color: var(--blue);
  margin-bottom: 10px;
}

.vorteile-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* WhatsApp Section */
.whatsapp-section {
  background: var(--blue);
  color: white;
}

.whatsapp-section h2 {
  color: white;
  text-align: center;
  margin-bottom: 10px;
}

.whatsapp-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 40px 0;
}

.whatsapp-step {
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.whatsapp-num {
  width: 40px;
  height: 40px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin: 0 auto 10px;
}

.whatsapp-step h4 {
  margin-bottom: 8px;
}

.whatsapp-step p {
  font-size: 0.9rem;
  opacity: 0.95;
}

.whatsapp-section .btn-primary {
  display: inline-block;
  margin-top: 20px;
}

/* Schadensarten Section */
.schadensarten-section {
  background: var(--bg2);
}

.schadensarten-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.schadensarten-card {
  background: white;
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.3s;
  border: 1px solid var(--border);
}

.schadensarten-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  border-color: var(--accent);
}

.schadensarten-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.schadensarten-card h3 {
  color: var(--blue);
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.schadensarten-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

/* KI-Suche Section */
.ki-search-section {
  background: var(--bg2);
}

.ki-search-wrap {
  max-width: 700px;
  margin: 0 auto 32px;
}

.ki-search-bar {
  display: flex;
  align-items: center;
  background: white;
  border: 2px solid var(--blue);
  border-radius: 50px;
  padding: 12px 20px;
  gap: 12px;
  box-shadow: 0 4px 20px rgba(13, 92, 138, 0.12);
}

.ki-search-icon {
  font-size: 1.2rem;
}

.ki-search-bar input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1rem;
  font-family: 'Source Sans 3', sans-serif;
  color: var(--text);
}

.ki-search-bar input::placeholder {
  color: #999;
}

.ki-search-badge {
  background: var(--blue);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

.search-stats {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

/* City Grid */
.city-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.city-card {
  background: white;
  border-radius: 12px;
  padding: 20px;
  border: 1px solid var(--border);
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.city-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.city-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.city-icon {
  font-size: 1.5rem;
}

.city-card h3 {
  font-family: 'Oswald', sans-serif;
  color: var(--blue);
  font-size: 1.1rem;
  margin: 0;
}

.city-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 14px;
}

.city-cta {
  display: inline-block;
  background: var(--accent);
  color: white;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
}

.city-cta:hover {
  background: #d04c03;
  transform: translateX(2px);
}

.no-results {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted);
}

/* FAQ Section */
.faq-section {
  background: white;
}

.faq-container {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg2);
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.faq-question {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: var(--bg2);
  transition: background 0.2s;
}

.faq-question:hover {
  background: #e8eef5;
}

.faq-question h3 {
  font-size: 1.05rem;
  color: var(--blue);
  margin: 0;
}

.faq-toggle {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  transition: transform 0.3s;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 20px;
  background: white;
  border-top: 1px solid var(--border);
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    max-height: 0;
  }
  to {
    opacity: 1;
    max-height: 1000px;
  }
}

.faq-answer p {
  color: var(--text-muted);
  line-height: 1.7;
}

/* Reviews Section */
.reviews-section {
  background: var(--bg2);
}

.reviews-wrapper {
  position: relative;
  margin-top: 30px;
  overflow: hidden;
}

.reviews-track {
  display: flex;
  gap: 20px;
  transition: transform 0.4s ease;
}

.review-card {
  background: white;
  border-radius: 12px;
  padding: 30px;
  flex: 0 0 calc(33.333% - 14px);
  box-shadow: var(--shadow);
  transition: all 0.3s;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.review-stars {
  font-size: 1rem;
  margin-bottom: 15px;
}

.review-text {
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 15px;
}

.review-author {
  color: var(--blue);
  font-weight: 600;
  font-size: 0.95rem;
}

.reviews-btn {
  position: absolute;
  top: -60px;
  background: var(--blue);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  font-size: 1.3rem;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.2s;
  right: 50px;
}

.reviews-btn:hover {
  background: var(--accent);
}

.reviews-prev {
  right: 100px;
}

/* Footer */
.footer {
  background: var(--blue);
  color: white;
  padding: 40px 20px;
  margin-top: 60px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.footer-col h4 {
  color: white;
  margin-bottom: 15px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 8px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-col p {
  margin-bottom: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 20px;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }

  .section {
    padding: 40px 20px;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .hero-pills {
    gap: 8px;
  }

  .pill {
    font-size: 0.85rem;
    padding: 8px 12px;
  }

  .trust-inner {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .header-inner {
    flex-direction: column;
    gap: 10px;
  }

  .header-phone {
    align-items: center;
    margin-right: 0;
  }

  .stadtteile-grid {
    grid-template-columns: 1fr;
  }

  .ablauf-grid, .vorteile-grid, .schadensarten-grid {
    grid-template-columns: 1fr;
  }

  .city-grid {
    grid-template-columns: 1fr;
  }

  .review-card {
    flex: 0 0 calc(50% - 10px);
  }

  .slider-track {
    height: 200px;
  }

  .slider-track img {
    height: 200px;
  }

  .cookie-content {
    flex-direction: column;
    gap: 12px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .whatsapp-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.2rem; }

  .hero-title {
    font-size: 1.4rem;
  }

  .section {
    padding: 30px 15px;
  }

  .review-card {
    flex: 0 0 100%;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .whatsapp-steps {
    grid-template-columns: 1fr;
  }

  .slider-track {
    height: 160px;
  }

  .slider-track img {
    height: 160px;
  }

  .form-wrapper {
    padding: 20px;
  }

  .ki-search-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .ki-search-badge {
    text-align: center;
  }

  .city-grid {
    grid-template-columns: 1fr;
  }
}

/* Focus Visible */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

button:focus-visible, a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Print Styles */
@media print {
  .sticky-top, .footer, .cookie-banner {
    display: none;
  }
}

/* ============================================
   Mobile Scroll Progress Car
   Moves down the left side as user scrolls
   ============================================ */

@media (max-width: 768px) {
  .mobile-scroll-car {
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    width: 50px;
    z-index: 450;
    pointer-events: none;
  }

  .msc-track {
    position: absolute;
    left: 23px;
    top: 72px;
    bottom: 28px;
    width: 3px;
    background: linear-gradient(to bottom, #e85d04 0%, #0d5c8a 100%);
    border-radius: 2px;
    opacity: 0.45;
  }

  .msc-dot {
    position: absolute;
    left: 15px;
    width: 19px;
    height: 19px;
    border-radius: 50%;
    background: #e85d04;
    color: white;
    font-size: 10px;
    font-weight: 700;
    font-family: Arial, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    box-shadow: 0 1px 4px rgba(0,0,0,0.25);
    z-index: 2;
  }

  .msc-dot--4 {
    background: #0d5c8a;
  }

  .msc-car {
    position: absolute;
    left: 8px;
    top: 72px;
    width: 32px;
    height: 58px;
    transition: top 0.12s ease-out;
    z-index: 3;
    filter: drop-shadow(1px 2px 3px rgba(0,0,0,0.3));
  }
}

/* Wrapper: track on left + steps on right */
  .ablauf-with-track {
    display: flex;
    align-items: flex-start;
    gap: 0;
    position: relative;
  }

  /* Left sidebar with vertical track */
  .ablauf-track-left {
    width: 46px;
    flex-shrink: 0;
    position: relative;
    align-self: stretch;
  }

  /* Vertical gradient line */
  .atl-line {
    position: absolute;
    left: 21px;
    top: 16px;
    bottom: 16px;
    width: 3px;
    background: linear-gradient(to bottom, #e85d04, #0d5c8a);
    border-radius: 2px;
    opacity: 0.5;
  }

  /* Sticky car that follows the section */
  .atl-car {
    position: sticky;
    top: 42vh;
    width: 32px;
    margin: 0 auto;
    filter: drop-shadow(1px 2px 4px rgba(0,0,0,0.3));
  }

  /* Steps take remaining width */
  .ablauf-with-track .ablauf-grid {
    flex: 1;
    min-width: 0;
  }

  /* Tighten up the step cards on mobile */
  .ablauf-with-track .ablauf-card {
    padding: 18px 14px;
    margin-bottom: 10px;
  }
}



/* Wrapper: track on left + steps on right */
  .ablauf-with-track {
    display: flex;
    align-items: flex-start;
    gap: 0;
    position: relative;
  }

  /* Left sidebar with vertical track */
  .ablauf-track-left {
    width: 46px;
    flex-shrink: 0;
    position: relative;
    align-self: stretch;
  }

  /* Vertical gradient line */
  .atl-line {
    position: absolute;
    left: 21px;
    top: 16px;
    bottom: 16px;
    width: 3px;
    background: linear-gradient(to bottom, #e85d04, #0d5c8a);
    border-radius: 2px;
    opacity: 0.5;
  }

  /* Sticky car that follows the section */
  .atl-car {
    position: sticky;
    top: 42vh;
    width: 32px;
    margin: 0 auto;
    filter: drop-shadow(1px 2px 4px rgba(0,0,0,0.3));
  }

  /* Steps take remaining width */
  .ablauf-with-track .ablauf-grid {
    flex: 1;
    min-width: 0;
  }

  /* Tighten up the step cards on mobile */
  .ablauf-with-track .ablauf-card {
    padding: 18px 14px;
    margin-bottom: 10px;
  }
}



/* =====================================================
   Mobile Ablauf: Sticky Car Track (Erftstadt-Style)
   Car on left side, scrolls WITH page content
   ===================================================== */

/* Hide horizontal road animation on mobile */
@media (max-width: 768px) {
  .road-animation {
    display: none;
  }

  /* === WRAPPER: track left + steps right === */
  .ablauf-with-track {
    display: flex;
    align-items: flex-start;
    gap: 0;
    position: relative;
  }

  /* === LEFT SIDEBAR: road + sticky car === */
  .ablauf-track-left {
    width: 54px;
    flex-shrink: 0;
    position: relative;
    align-self: stretch;
  }

  /* Road: gray asphalt strip with dashed center line */
  .atl-line {
    position: absolute;
    left: 17px;
    top: 10px;
    bottom: 48px;
    width: 18px;
    background-color: #707070;
    border-radius: 4px;
    box-shadow: inset 0 0 4px rgba(0,0,0,0.35);
    overflow: hidden;
  }

  /* White dashed center line via pseudo-element */
  .atl-line::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    transform: translateX(-50%);
    width: 2px;
    background: repeating-linear-gradient(
      to bottom,
      rgba(255,255,255,0.75) 0px,
      rgba(255,255,255,0.75) 10px,
      transparent 10px,
      transparent 22px
    );
  }

  /* Sticky car — stays at 40vh while scrolling through section */
  .atl-car {
    position: sticky;
    top: 40vh;
    width: 38px;
    margin: 0 auto;
    filter: drop-shadow(1px 3px 5px rgba(0,0,0,0.4));
    z-index: 2;
  }

  /* Ziel / goal marker at bottom of track */

  /* === STEPS take remaining width === */
  .ablauf-with-track .ablauf-grid {
    flex: 1;
    min-width: 0;
  }

  .ablauf-with-track .ablauf-card {
    padding: 16px 12px;
    margin-bottom: 8px;
  }

  /* === STEP ICON: transition + done state === */
  .ablauf-icon {
    transition: background-color 0.4s ease, transform 0.3s ease;
  }

  .ablauf-icon--done {
    background: #1a6b3c !important;
    transform: scale(0.92);
  }
}

/* Desktop: hide the track sidebar */
@media (min-width: 769px) {
  .ablauf-track-left {
    display: none;
  }

  .ablauf-with-track {
    display: block;
  }
}

/* === Ablauf Ziel Bar (mobile: after step 4) === */
.ablauf-ziel-bar {
  display: none; /* hidden on desktop */
}

@media (max-width: 768px) {
  /* Stronger hide for horizontal road animation */
  .road-animation {
    display: none !important;
    height: 0 !important;
    overflow: hidden !important;
  }

  /* Ziel bar visible on mobile, below the 4 steps */
  .ablauf-ziel-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #d4edda, #b8dfc4);
    border: 2px solid #1a6b3c;
    border-radius: 10px;
    padding: 14px 18px;
    margin-top: 16px;
    font-weight: 800;
    color: #1a6b3c;
    font-size: 1.05rem;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 10px rgba(26,107,60,0.18);
  }

  .ablauf-ziel-bar .azb-flag {
    font-size: 1.5rem;
    line-height: 1;
  }
}

/* Step icon done state (global so JS can apply it) */
.ablauf-icon {
  transition: background-color 0.35s ease, transform 0.25s ease;
}

.ablauf-icon--done {
  background: #1a6b3c !important;
  transform: scale(0.9);
  transition: background-color 0.35s ease, transform 0.25s ease;
}

/* ======================================
   FIXES: Car rotation, better road
   ====================================== */
@media (max-width: 768px) {
  /* Rotate car 180° so headlights (yellow) point DOWN = forward direction */
  .atl-car svg {
    transform: rotate(180deg);
    display: block;
  }

  /* Better road: wider, cleaner edges, stronger color */
  .atl-line {
    width: 20px !important;
    left: 16px !important;
    background-color: #5a5a5a !important;
    box-shadow: inset 0 0 6px rgba(0,0,0,0.5), 1px 0 0 rgba(255,255,255,0.15), -1px 0 0 rgba(255,255,255,0.15) !important;
  }

  .atl-line::after {
    width: 2px !important;
    background: repeating-linear-gradient(
      to bottom,
      rgba(255,255,255,0.85) 0px,
      rgba(255,255,255,0.85) 12px,
      transparent 12px,
      transparent 26px
    ) !important;
  }
}

/* ======================================
   SCHÖNE STRASSE v2 - animierte Mittelstriche
   ====================================== */
@media (max-width: 768px) {
  /* Asphalt: dunkel, mit weißen Randlinien */
  .atl-line {
    width: 26px !important;
    left: 14px !important;
    background-color: #252525 !important;
    border-left: 2px solid rgba(255,255,255,0.28) !important;
    border-right: 2px solid rgba(255,255,255,0.28) !important;
    border-radius: 6px !important;
    box-shadow:
      3px 0 8px rgba(0,0,0,0.7),
      -3px 0 8px rgba(0,0,0,0.7),
      inset 0 0 8px rgba(0,0,0,0.4) !important;
    overflow: hidden !important;
  }

  /* Animierte Mittelstriche — sehen aus als fährt man */
  .atl-line::after {
    content: '' !important;
    position: absolute !important;
    left: 50% !important;
    top: -100% !important;
    bottom: -100% !important;
    transform: translateX(-50%) !important;
    width: 3px !important;
    background: repeating-linear-gradient(
      to bottom,
      rgba(255,255,255,0.92) 0px,
      rgba(255,255,255,0.92) 14px,
      transparent 14px,
      transparent 30px
    ) !important;
    animation: roadScroll 0.7s linear infinite !important;
  }

  @keyframes roadScroll {
    from { transform: translateX(-50%) translateY(0px); }
    to   { transform: translateX(-50%) translateY(44px); }
  }
}

/* ======================================
   FORMULAR SCHRITT 2 – neue Felder
   ====================================== */

/* 2-spaltig: Getriebe + Kraftstoff */
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* 3-spaltig: Unfall / Motorschaden / Getriebeschaden */
.form-row-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}

@media (max-width: 480px) {
  .form-row-2 { grid-template-columns: 1fr; }
  .form-row-3 { grid-template-columns: 1fr; }
}

/* Select-Styling */
.form-contact select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #dde3ea;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.97rem;
  color: #1a1a1a;
  background: white;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  cursor: pointer;
  transition: border-color 0.2s;
}

.form-contact select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(13,92,138,0.1);
}

/* Preisvorstellung */
.form-preis-wrap {
  background: linear-gradient(135deg, #fff8e1, #fffde7);
  border: 2px solid #f9a825;
  border-radius: 10px;
  padding: 14px 16px;
}

.form-preis-label {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  color: #b8860b;
  margin-bottom: 8px;
}

.form-preis-input {
  display: flex;
  align-items: center;
  gap: 0;
}

.form-preis-input input {
  flex: 1;
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  border-right: none !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  color: #1a6b3c !important;
}

.preis-euro {
  background: #f9a825;
  color: white;
  font-weight: 800;
  font-size: 1.2rem;
  padding: 11px 16px;
  border-radius: 0 8px 8px 0;
  border: 1.5px solid #f9a825;
  line-height: 1;
}

/* ======================================
   FORM SCHRITT 2 – Zusammenfassung Schritt 1
   ====================================== */
.form-summary-box {
  background: linear-gradient(135deg, #e8f4fd, #d6eaf8);
  border: 2px solid var(--blue);
  border-radius: 10px;
  padding: 14px 16px;
}

.fsb-title {
  font-weight: 700;
  color: var(--blue);
  font-size: 0.9rem;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.fsb-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 12px;
  font-size: 0.95rem;
}

.fsb-label {
  font-weight: 600;
  color: #555;
  white-space: nowrap;
}

.fsb-grid span:not(.fsb-label) {
  color: #1a1a1a;
  font-weight: 500;
}

/* Unterseiten: Ablauf ohne Seitentrack */
.ablauf-grid-only {
  display: block;
}

/* ======================================
   FORM FIXES: Datenschutz + Getriebe-Reihe
   ====================================== */

/* Datenschutz zentriert */
.datenschutz-check {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  text-align: center !important;
  padding: 10px 6px !important;
  background: #f8f9fa !important;
  border-radius: 8px !important;
  border: 1px solid #e0e0e0 !important;
}

.datenschutz-check input[type="checkbox"] {
  flex-shrink: 0 !important;
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  accent-color: var(--blue) !important;
}

/* Getriebe + Kraftstoff: im schmalen Form-Container stapeln */
.form-row-2 {
  grid-template-columns: 1fr !important;
  gap: 10px !important;
}

/* Schäden-Reihe: auf kleinen Formularen auch stapeln */
.form-row-3 {
  grid-template-columns: 1fr 1fr 1fr !important;
  gap: 6px !important;
}

@media (max-width: 540px) {
  .form-row-3 {
    grid-template-columns: 1fr !important;
  }
}

/* ======================================
   FORM FORTSCHRITTSBALKEN
   ====================================== */
.form-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 16px;
  padding: 0 10px;
}

.form-progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.fps-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #dde3ea;
  color: #888;
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, color 0.3s;
}

.fps-label {
  font-size: 0.75rem;
  color: #999;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.3s;
}

.form-progress-step.active .fps-num {
  background: var(--blue);
  color: white;
}

.form-progress-step.active .fps-label {
  color: var(--blue);
}

.form-progress-step.done .fps-num {
  background: #1a6b3c;
  color: white;
}

.form-progress-step.done .fps-label {
  color: #1a6b3c;
}

.form-progress-line {
  flex: 1;
  height: 3px;
  background: #dde3ea;
  margin: 0 8px;
  margin-bottom: 18px;
  border-radius: 2px;
  transition: background 0.3s;
  min-width: 30px;
}

.form-progress-line.active {
  background: var(--blue);
}
