/* ==============================================================================
   UNFALLWAGENS-ANKAUF.DE - PREMIUM AUTOMOTIVE DESIGN SYSTEM
   Mobile-First, Ultra-Responsive, Zero CLS, Zero Horizontal Scroll
   ============================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Montserrat:wght@700;800;900&display=swap');

:root {
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  
  /* Brand Colors */
  --color-brand: #ea580c;
  --color-brand-hover: #f97316;
  --color-brand-light: #fff7ed;
  --color-brand-glow: rgba(234, 88, 12, 0.35);
  
  /* Slate & Navy Colors */
  --color-navy: #0f172a;
  --color-navy-dark: #020617;
  --color-navy-card: #1e293b;
  --color-navy-border: #334155;
  
  /* Neutral Colors */
  --color-text-main: #0f172a;
  --color-text-muted: #475569;
  --color-text-light: #94a3b8;
  --color-bg-page: #f8fafc;
  --color-bg-card: #ffffff;
  --color-border: #e2e8f0;
  --color-border-hover: #cbd5e1;
  
  /* Accents */
  --color-success: #10b981;
  --color-success-bg: #ecfdf5;
  --color-warning: #f59e0b;
  
  /* Radius & Shadows */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.12), 0 8px 10px -6px rgba(0, 0, 0, 0.08);
  --shadow-glow: 0 0 25px rgba(234, 88, 12, 0.25);
}

/* ==========================================================================
   Global Reset & Zero Overflow Rules
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  color: var(--color-text-main);
  background-color: var(--color-bg-page);
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--color-text-main);
  background-color: var(--color-bg-page);
  overflow-x: clip;
  width: 100%;
  max-width: 100vw;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  flex-grow: 1;
  width: 100%;
  overflow-x: clip;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.25;
  color: var(--color-navy);
  overflow-wrap: break-word;
  word-break: normal;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

svg {
  max-width: 100%;
  vertical-align: middle;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  max-width: 100%;
  box-sizing: border-box;
}

/* Container System */
.container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-left: clamp(0.75rem, 3vw, 2.25rem);
  padding-right: clamp(0.75rem, 3vw, 2.25rem);
  box-sizing: border-box;
}

/* ==========================================================================
   Header & Top Bar
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(15, 23, 42, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
}

.top-bar {
  background-color: var(--color-navy-dark);
  color: #f1f5f9;
  font-size: clamp(0.65rem, 1.8vw, 0.75rem);
  font-weight: 500;
  padding: 0.35rem 0.65rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  width: 100%;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.pulse-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--color-success);
  margin-right: 0.3rem;
  box-shadow: 0 0 8px #10b981;
  flex-shrink: 0;
}

.main-nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: clamp(3.5rem, 6.5vw, 5rem);
  gap: 0.5rem;
  width: 100%;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  max-width: calc(100% - 52px);
  text-decoration: none;
  flex-shrink: 1;
}

.logo-icon {
  background: linear-gradient(135deg, var(--color-brand) 0%, #c2410c 100%);
  padding: 0.35rem;
  border-radius: var(--radius-md);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.3);
  flex-shrink: 0;
}

.logo-icon svg {
  width: 20px;
  height: 20px;
}

.logo-text-group {
  min-width: 0;
  overflow: hidden;
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(0.78rem, 3.2vw, 1.35rem);
  color: #ffffff;
  line-height: 1.1;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.logo-text span {
  color: var(--color-brand-hover);
}

.logo-sub {
  font-size: clamp(0.48rem, 1.4vw, 0.65rem);
  color: #94a3b8;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 0.1rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

@media (min-width: 1100px) {
  .desktop-nav {
    display: flex;
  }
}

.nav-link {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #cbd5e1;
  border-radius: var(--radius-md);
  transition: all 0.15s ease;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
  background-color: var(--color-navy-card);
}

.nav-link.active {
  color: #fb923c;
  background-color: rgba(234, 88, 12, 0.15);
  font-weight: 700;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  margin-left: auto;
}

.btn-header-cta {
  background: linear-gradient(135deg, var(--color-brand) 0%, #c2410c 100%);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.8125rem;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-lg);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
  text-decoration: none;
}

@media (max-width: 991px) {
  .btn-header-cta {
    display: none;
  }
}

.mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 38px;
  height: 38px;
  padding: 6px;
  background-color: var(--color-navy-card);
  border: 1.5px solid var(--color-navy-border);
  border-radius: var(--radius-md);
  color: #ffffff;
  cursor: pointer;
  touch-action: manipulation;
  flex-shrink: 0;
}

@media (min-width: 1100px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.hamburger-bar {
  display: block;
  width: 18px;
  height: 2px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-bar:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile Dropdown Menu */
.mobile-dropdown {
  display: none;
  background-color: var(--color-navy-dark);
  padding: 1rem 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  max-height: calc(100vh - 4.5rem);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-dropdown.open {
  display: block;
  animation: fadeIn 0.2s ease-out;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: 1rem;
}

.mobile-nav-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #e2e8f0;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
  min-height: 44px;
}

.mobile-nav-item:hover, .mobile-nav-item:active {
  background-color: var(--color-navy-card);
  color: #fb923c;
}

.mobile-nav-ctas {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-menu-cta-btn {
  width: 100%;
  text-align: center;
  justify-content: center;
  min-height: 48px;
  font-size: 0.9rem;
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius-lg);
  box-sizing: border-box;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  background: radial-gradient(circle at 80% 20%, #1e293b 0%, var(--color-navy-dark) 100%);
  color: #ffffff;
  padding: clamp(1.75rem, 4.5vw, 4.5rem) 0;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(234, 88, 12, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.5rem, 3.5vw, 3.5rem);
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.65rem;
  border-radius: 9999px;
  background-color: rgba(234, 88, 12, 0.15);
  border: 1px solid rgba(234, 88, 12, 0.35);
  color: #fb923c;
  font-size: clamp(0.68rem, 1.8vw, 0.8125rem);
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  max-width: 100%;
  line-height: 1.3;
}

.hero-title {
  color: #ffffff;
  font-size: clamp(1.3rem, 4vw, 3.15rem);
  line-height: 1.22;
  margin-top: 0.75rem;
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: auto;
}

.hero-title span {
  background: linear-gradient(135deg, #fb923c 0%, var(--color-brand) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(0.85rem, 2vw, 1.0625rem);
  color: #cbd5e1;
  line-height: 1.55;
  margin-bottom: 1.25rem;
  max-width: 40rem;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1.25rem;
  width: 100%;
}

.hero-buttons .btn-primary,
.hero-buttons .btn-secondary,
.hero-buttons .btn-whatsapp {
  width: 100%;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary,
  .hero-buttons .btn-whatsapp {
    width: auto;
  }
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-brand) 0%, #c2410c 100%);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.92rem;
  padding: 0.8rem 1.25rem;
  border-radius: var(--radius-xl);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  box-shadow: 0 8px 20px rgba(234, 88, 12, 0.4);
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  text-decoration: none;
  min-height: 48px;
  touch-action: manipulation;
  white-space: normal;
  word-break: break-word;
  text-align: center;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(234, 88, 12, 0.5);
  background: linear-gradient(135deg, var(--color-brand-hover) 0%, var(--color-brand) 100%);
}

.btn-secondary {
  background-color: rgba(30, 41, 59, 0.85);
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.8rem 1.25rem;
  border-radius: var(--radius-xl);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  transition: all 0.2s ease;
  text-decoration: none;
  min-height: 48px;
  touch-action: manipulation;
  white-space: normal;
  word-break: break-word;
  text-align: center;
}

.btn-secondary:hover {
  background-color: var(--color-navy-card);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.8rem 1.25rem;
  border-radius: var(--radius-xl);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.35);
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  text-decoration: none;
  min-height: 48px;
  touch-action: manipulation;
  white-space: normal;
  word-break: break-word;
  text-align: center;
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(16, 185, 129, 0.5);
  color: #ffffff;
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.hero-trust-bullets {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.45rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: clamp(0.75rem, 1.8vw, 0.85rem);
  color: #cbd5e1;
  font-weight: 500;
}

@media (min-width: 520px) {
  .hero-trust-bullets {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ==========================================================================
   Vehicle Multi-Step Form (Untouched Logic, 100% Responsive Styling)
   ========================================================================== */
.valuation-form-card, .evaluation-form-box {
  background-color: #ffffff;
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  color: var(--color-text-main);
  width: 100%;
  max-width: 100%;
}

.form-header {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-dark) 100%);
  color: #ffffff;
  padding: clamp(0.95rem, 2.5vw, 1.5rem) 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.form-header h3 {
  color: #ffffff;
  font-size: clamp(0.95rem, 2.6vw, 1.3rem);
  font-weight: 900;
  letter-spacing: -0.01em;
  margin-bottom: 0.2rem;
  overflow-wrap: break-word;
}

.form-header p {
  color: #fb923c;
  font-size: clamp(0.72rem, 1.7vw, 0.8125rem);
  font-weight: 600;
}

.sales-form {
  padding: clamp(0.85rem, 2.5vw, 1.75rem);
  width: 100%;
  box-sizing: border-box;
}

.form-steps-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.15rem;
}

.step-dot {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background-color: #e2e8f0;
  color: #64748b;
  font-weight: 900;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.step-dot.active {
  background: linear-gradient(135deg, var(--color-brand) 0%, #c2410c 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.4);
}

.step-line {
  width: clamp(1.5rem, 4vw, 3rem);
  height: 3px;
  background-color: #e2e8f0;
  margin: 0 0.4rem;
}

.step-title {
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  color: var(--color-navy);
  font-weight: 800;
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.55rem;
  margin-bottom: 0.55rem;
}

@media (min-width: 520px) {
  .input-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.input-column {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 0.75rem;
}

.custom-select, .form-input, .sales-form input, .sales-form select, .sales-form textarea {
  width: 100%;
  max-width: 100%;
  padding: 0.7rem 0.75rem;
  border-radius: var(--radius-lg);
  border: 1.5px solid #cbd5e1;
  background-color: #f8fafc;
  font-size: 16px; /* Prevents auto-zoom on iOS */
  color: var(--color-navy);
  transition: all 0.15s ease;
  font-weight: 500;
  box-sizing: border-box;
}

.custom-select:focus, .form-input:focus, .sales-form input:focus, .sales-form select:focus, .sales-form textarea:focus {
  outline: none;
  border-color: var(--color-brand);
  background-color: #ffffff;
  box-shadow: 0 0 0 4px rgba(234, 88, 12, 0.15);
}

.custom-select:disabled {
  background-color: #f1f5f9;
  color: #94a3b8;
  cursor: not-allowed;
}

/* Remove spin buttons on number inputs */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

.mega-button {
  width: 100%;
  background: linear-gradient(135deg, var(--color-brand) 0%, #c2410c 100%);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(0.85rem, 2vw, 1.05rem);
  padding: 0.9rem 1rem;
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  box-shadow: 0 8px 20px rgba(234, 88, 12, 0.4);
  border: none;
  cursor: pointer;
  margin-top: 0.85rem;
  transition: all 0.2s ease;
  min-height: 48px;
  touch-action: manipulation;
  white-space: normal;
  word-break: break-word;
  text-align: center;
}

.mega-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(234, 88, 12, 0.5);
  background: linear-gradient(135deg, var(--color-brand-hover) 0%, var(--color-brand) 100%);
}

.image-upload-wrapper {
  margin: 0.85rem 0;
  border: 2px dashed #cbd5e1;
  border-radius: var(--radius-xl);
  padding: 0.85rem 0.5rem;
  text-align: center;
  background-color: #f8fafc;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.image-upload-wrapper:hover {
  border-color: var(--color-brand);
  background-color: #fff7ed;
}

.upload-label {
  cursor: pointer;
  display: block;
}

.image-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(55px, 1fr));
  gap: 0.4rem;
  margin-top: 0.65rem;
}

.preview-thumbnail {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.preview-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.btn-remove-thumb {
  position: absolute;
  top: 2px;
  right: 2px;
  background: rgba(220, 38, 38, 0.9);
  color: #ffffff;
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-actions {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  margin-top: 0.85rem;
  flex-wrap: wrap;
}

.step-actions .btn-secondary {
  flex: 0 0 auto;
  padding: 0.8rem 0.9rem;
  font-size: 0.85rem;
  border: 1.5px solid #cbd5e1;
  color: var(--color-navy);
  background-color: #f1f5f9;
  border-radius: var(--radius-xl);
  cursor: pointer;
}

.step-actions .mega-button {
  margin-top: 0;
  flex: 1;
  min-width: 150px;
}

.privacy-note {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  text-align: center;
  margin-top: 0.75rem;
}

/* ==========================================================================
   Sections Common Layout
   ========================================================================== */
.section {
  padding: clamp(2.25rem, 4.5vw, 4.25rem) 0;
  width: 100%;
}

.section-bg-white {
  background-color: #ffffff;
}

.section-bg-slate {
  background-color: var(--color-bg-page);
}

.section-header {
  text-align: center;
  max-width: 48rem;
  margin-inline: auto;
  margin-bottom: clamp(1.5rem, 3.5vw, 2.75rem);
}

.section-tag {
  color: var(--color-brand);
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 0.35rem;
}

.section-title {
  font-size: clamp(1.35rem, 3.5vw, 2.25rem);
  color: var(--color-navy);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

/* Benefits / Trust Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

@media (min-width: 640px) {
  .benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .benefits-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.benefit-card {
  background-color: #f8fafc;
  padding: clamp(1rem, 2.5vw, 1.75rem);
  border-radius: 1.15rem;
  border: 1.5px solid #e2e8f0;
}

/* ==========================================================================
   Damage Categories / Services
   ========================================================================== */
.damage-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

@media (min-width: 640px) {
  .damage-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .damage-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.damage-card {
  background-color: #ffffff;
  border-radius: 1.15rem;
  padding: clamp(1rem, 2.5vw, 1.5rem);
  border: 1.5px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.damage-card:hover {
  transform: translateY(-3px);
  border-color: rgba(234, 88, 12, 0.4);
  box-shadow: 0 12px 24px rgba(234, 88, 12, 0.08);
}

.damage-icon {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.damage-title {
  font-size: 1.1rem;
  color: var(--color-navy);
  margin-bottom: 0.4rem;
  font-weight: 800;
}

.damage-desc {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.55;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.btn-card-action {
  width: 100%;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-xl);
  background-color: #f1f5f9;
  color: var(--color-navy);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.8125rem;
  text-align: center;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border: none;
  text-decoration: none;
  min-height: 44px;
}

.btn-card-action:hover {
  background: linear-gradient(135deg, var(--color-brand) 0%, #c2410c 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.3);
}

/* ==========================================================================
   4-Steps Process
   ========================================================================== */
.process-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

@media (min-width: 640px) {
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.process-card {
  background-color: #ffffff;
  border-radius: 1.15rem;
  padding: clamp(1rem, 2.5vw, 1.5rem);
  border: 1.5px solid #e2e8f0;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.process-card:hover {
  transform: translateY(-3px);
  border-color: #cbd5e1;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.process-card-header {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.75rem;
}

.process-step-num {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.05rem;
  color: #ea580c;
  background-color: #fff7ed;
  border: 1.5px solid #fed7aa;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  flex-shrink: 0;
}

.process-step-label {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.78rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.process-card-title {
  font-size: 1.05rem;
  color: var(--color-navy);
  margin-bottom: 0.35rem;
  font-weight: 800;
}

.process-card-desc {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.55;
}

/* ==========================================================================
   Brand & Model Grids
   ========================================================================== */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.45rem, 1.5vw, 0.75rem);
}

@media (min-width: 640px) {
  .brand-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .brand-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

.brand-card {
  background-color: #ffffff;
  border-radius: 0.85rem;
  padding: clamp(0.65rem, 1.6vw, 1rem) 0.45rem;
  border: 1.5px solid #e2e8f0;
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  min-height: 72px;
}

.brand-card:hover {
  transform: translateY(-2px);
  border-color: var(--color-brand);
  box-shadow: 0 8px 18px rgba(234, 88, 12, 0.12);
}

.brand-icon {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.brand-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--color-navy);
}

.brand-count {
  font-size: 0.7rem;
  color: #94a3b8;
  margin-top: 0.1rem;
}

/* ==========================================================================
   Bundesländer & Regional Hubs Grid
   ========================================================================== */
.state-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.3rem, 1vw, 0.6rem);
}

@media (min-width: 640px) {
  .state-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .state-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.state-card {
  background-color: #ffffff;
  border-radius: 0.65rem;
  padding: clamp(0.55rem, 1.5vw, 0.8rem) clamp(0.4rem, 1.5vw, 0.75rem);
  border: 1.5px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.2s ease;
  text-decoration: none;
  font-weight: 700;
  font-size: clamp(0.7rem, 1.6vw, 0.8125rem);
  color: var(--color-navy);
  gap: 0.2rem;
  overflow: hidden;
}

.state-card span:first-child {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

.state-card span:last-child {
  flex-shrink: 0;
  color: #94a3b8;
}

.state-card:hover {
  border-color: var(--color-brand);
  background-color: #fff7ed;
  color: var(--color-brand);
  transform: translateX(2px);
}

.state-card:hover span:last-child {
  color: var(--color-brand);
}

/* ==========================================================================
   FAQ Accordions
   ========================================================================== */
.faq-container {
  max-width: 58rem;
  margin-inline: auto;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.faq-item {
  background-color: #ffffff;
  border-radius: 0.75rem;
  border: 1.5px solid #e2e8f0;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item:hover {
  border-color: #cbd5e1;
}

.faq-item.open {
  border-color: #ea580c;
  border-left: 4px solid #ea580c;
  box-shadow: 0 8px 20px rgba(234, 88, 12, 0.08);
}

.faq-btn {
  width: 100%;
  padding: 0.85rem 0.95rem;
  text-align: left;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.55rem;
  cursor: pointer;
  touch-action: manipulation;
  min-height: 48px;
}

.faq-item.open .faq-btn {
  background: linear-gradient(90deg, #fff7ed 0%, #ffffff 100%);
}

.faq-question {
  font-family: var(--font-heading, sans-serif);
  font-weight: 700;
  font-size: clamp(0.82rem, 2vw, 0.975rem);
  color: #0f172a;
  flex-grow: 1;
  line-height: 1.35;
}

.faq-icon {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background-color: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: #64748b;
  transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
  flex-shrink: 0;
  line-height: 1;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background-color: #ea580c;
  color: #ffffff;
}

.faq-answer {
  display: none;
  padding: 0.55rem 0.95rem 1rem;
  font-size: 0.875rem;
  color: #334155;
  line-height: 1.6;
  border-top: 1px dashed #f1f5f9;
  animation: fadeIn 0.2s ease-out;
}

.faq-answer p {
  margin: 0;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ==========================================================================
   Footer Component & Mobile Collapsible Sections
   ========================================================================== */
.site-footer {
  background-color: var(--color-navy-dark);
  color: #94a3b8;
  font-size: 0.875rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
  padding: clamp(2rem, 4.5vw, 3.5rem) 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.85rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
    gap: 2rem;
  }
}

.footer-col-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
  padding: 0.6rem 0;
  cursor: pointer;
  min-height: 44px;
}

@media (min-width: 768px) {
  .footer-col-title {
    cursor: default;
    pointer-events: none;
    padding: 0;
    margin-bottom: 1.15rem;
    border-bottom: none;
    min-height: auto;
  }
}

.footer-toggle-icon {
  font-size: 1.1rem;
  color: var(--color-brand);
  transition: transform 0.2s ease;
  font-weight: bold;
}

@media (min-width: 768px) {
  .footer-toggle-icon {
    display: none;
  }
}

.footer-accordion-col.open .footer-toggle-icon {
  transform: rotate(45deg);
}

.footer-links {
  list-style: none;
  font-size: 0.8125rem;
  display: none;
  flex-direction: column;
  gap: 0.45rem;
  padding-bottom: 0.55rem;
}

@media (min-width: 768px) {
  .footer-links {
    display: flex !important;
    padding-bottom: 0;
  }
}

.footer-accordion-col.open .footer-links {
  display: flex;
}

.footer-links li a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.15s ease;
  display: inline-block;
  padding: 0.2rem 0;
  min-height: 32px;
  line-height: 32px;
}

.footer-links li a:hover {
  color: #fb923c;
}

.footer-bottom {
  background-color: rgba(0, 0, 0, 0.5);
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.8125rem;
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
  text-align: center;
}

@media (min-width: 640px) {
  .footer-bottom-inner {
    flex-direction: row;
    text-align: left;
  }
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-legal-links a {
  color: #cbd5e1;
  text-decoration: none;
  padding: 0.25rem 0.5rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.footer-legal-links a:hover {
  color: #fb923c;
}

/* ==========================================================================
   Sticky Mobile Call + WhatsApp CTA Bar (iPhone & Android Optimized)
   ========================================================================== */
.sticky-mobile-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(15, 23, 42, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.45rem 0.65rem;
  padding-bottom: max(0.45rem, env(safe-area-inset-bottom, 0.45rem));
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
}

@media (min-width: 768px) {
  .sticky-mobile-cta {
    display: none !important;
  }
}

.sticky-mobile-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
  max-width: 480px;
  margin-inline: auto;
}

.btn-sticky-call {
  background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
  color: #ffffff !important;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.8125rem;
  padding: 0.7rem 0.45rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  text-decoration: none;
  min-height: 48px;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.35);
  touch-action: manipulation;
}

.btn-sticky-whatsapp {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: #ffffff !important;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.8125rem;
  padding: 0.7rem 0.45rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  text-decoration: none;
  min-height: 48px;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
  touch-action: manipulation;
}

/* Safe Bottom Padding on mobile to prevent occlusion */
@media (max-width: 767px) {
  body {
    padding-bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px)) !important;
  }
}

/* ==========================================================================
   Animations & Keyframes
   ========================================================================== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
