/* ==========================================================================
   motorschadens.de - Vollständiges Designsystem (assets/css/main.css)
   Farbsystem (Exakt nach Vorgabe & Screenshot):
   - --primary:    #003366
   - --navy:       #002855
   - --blue:       #0055CC
   - --red:        #E60000
   - --red-light:  #FF3344
   - --white:      #FFFFFF
   - --light-gray: #F1F5F9
   - --text:       #111827
   ========================================================================== */

:root {
  --primary: #003366;
  --navy: #002855;
  --blue: #0055CC;
  --red: #E60000;
  --red-light: #FF3344;
  --white: #FFFFFF;
  --light-gray: #F1F5F9;
  --text: #111827;

  /* System-Mappings auf die Hauptvariablen */
  --color-primary: var(--primary);
  --color-secondary: var(--navy);
  --color-blue: var(--blue);
  --color-cta: var(--red);
  --color-cta-hover: #C40000;
  --color-accent: var(--red-light);
  --color-whatsapp: #25D366;
  --color-bg: var(--white);
  --color-bg-alt: var(--light-gray);
  --color-text: var(--text);
  --color-text-muted: #475569;
  --color-border: #CBD5E1;
  --color-border-strong: #94A3B8;
  --color-white: var(--white);
  --color-danger: #B91C1C;
  --color-danger-bg: #FEF2F2;
  --color-success-bg: #F0FDF4;
  --shadow-sm: 0 2px 8px rgba(0, 40, 85, 0.07);
  --shadow-md: 0 8px 24px rgba(0, 40, 85, 0.14);
  --shadow-lg: 0 14px 36px rgba(0, 40, 85, 0.22);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background-color: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  width: 100%;
}

img,
svg,
table,
iframe {
  max-width: 100%;
}

a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}

a:hover,
a:focus-visible {
  color: var(--red);
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  z-index: 9999;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 768px) {
  .container {
    padding: 0 24px;
  }
}

/* --------------------------------------------------------------------------
   1. HEADER (Logo links, Telefon Mitte, WhatsApp & E-Mail rechts)
   -------------------------------------------------------------------------- */
.site-header {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  position: relative;
  z-index: 100;
}

.header-top-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 14px 16px;
}

@media (min-width: 992px) {
  .header-top-grid {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
  }
}

.brand-link {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--color-primary);
}

.brand-logo-arc {
  display: block;
  line-height: 0;
  margin-bottom: -4px;
}

.brand-title {
  font-size: clamp(1.45rem, 2.5vw, 1.95rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-primary);
  line-height: 1.15;
}

.brand-tld {
  color: var(--color-cta);
}

.brand-subtitle {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-top: 2px;
}

.header-contacts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

@media (min-width: 768px) {
  .header-contacts {
    gap: 22px;
  }
}

.header-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--color-text);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: var(--color-bg-alt);
}

@media (min-width: 992px) {
  .header-contact-item {
    background: transparent;
    border: none;
    padding: 4px 0;
    padding-left: 18px;
    border-left: 1px solid var(--color-border);
  }
  .header-contact-item:first-child {
    border-left: none;
    padding-left: 0;
  }
}

.contact-icon-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  flex-shrink: 0;
}

.icon-phone {
  background: var(--red);
}

.icon-whatsapp {
  background: #25D366;
}

.icon-email {
  background: var(--primary);
}

.contact-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.contact-label {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  font-weight: 600;
}

.contact-value {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--color-text);
}

/* --------------------------------------------------------------------------
   2. HAUPTNAVIGATION MIT DROPDOWNS (Desktop & Mobile)
   -------------------------------------------------------------------------- */
.main-nav {
  background: var(--navy);
  color: var(--white);
  border-top: 2px solid var(--primary);
}

.nav-inner {
  display: flex;
  flex-direction: column;
  position: relative;
}

.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: transparent;
  border: none;
  color: var(--white);
  padding: 12px 4px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  min-height: 46px;
}

.hamburger-box {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
}

.hamburger-line {
  width: 24px;
  height: 2.5px;
  background: var(--red-light);
  border-radius: 2px;
  display: block;
}

.nav-list {
  display: none;
  flex-direction: column;
  list-style: none;
  margin: 0;
  padding: 0 0 12px 0;
  width: 100%;
}

.nav-list.is-open {
  display: flex;
}

@media (min-width: 1024px) {
  .mobile-menu-toggle {
    display: none;
  }
  .nav-list {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    padding: 0;
    gap: 2px;
  }
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  width: 100%;
  padding: 12px 15px;
  color: var(--white);
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 700;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  min-height: 46px;
  font-family: inherit;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.active {
  background: var(--red);
  color: var(--white);
}

.dropdown-menu {
  display: none;
  list-style: none;
  margin: 0;
  padding: 8px 0;
  background: var(--primary);
  border-left: 3px solid var(--red);
}

.nav-item.dropdown-open > .dropdown-menu {
  display: block;
}

@media (min-width: 1024px) {
  .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px;
    background: var(--white);
    color: var(--text);
    border: 1px solid var(--color-border);
    border-top: 3px solid var(--red);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 250;
  }
  .dropdown-menu-wide {
    min-width: 280px;
  }
  .nav-item.has-dropdown:hover > .dropdown-menu,
  .nav-item.has-dropdown:focus-within > .dropdown-menu,
  .nav-item.dropdown-open > .dropdown-menu {
    display: block;
  }
}

.dropdown-heading {
  padding: 6px 16px 4px;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 800;
  color: var(--red-light);
}

@media (min-width: 1024px) {
  .dropdown-heading {
    color: var(--primary);
  }
}

.dropdown-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
  margin: 6px 0;
}

@media (min-width: 1024px) {
  .dropdown-divider {
    background: var(--color-border);
  }
}

.dropdown-menu a {
  display: block;
  padding: 9px 16px;
  color: var(--white);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
}

@media (min-width: 1024px) {
  .dropdown-menu a {
    color: var(--text);
  }
  .dropdown-menu a:hover,
  .dropdown-menu a.active {
    background: var(--light-gray);
    color: var(--red);
  }
}

/* --------------------------------------------------------------------------
   3. BREADCRUMBS
   -------------------------------------------------------------------------- */
.breadcrumb-bar {
  background: var(--light-gray);
  border-bottom: 1px solid var(--color-border);
  padding: 9px 0;
  font-size: 0.84rem;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb-item a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

.breadcrumb-item a:hover {
  color: var(--red);
  text-decoration: underline;
}

.breadcrumb-sep {
  color: var(--color-text-muted);
}

.breadcrumb-current {
  color: var(--color-text-muted);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   4. HERO-BEREICH & FAHRZEUGBEWERTUNGSFORMULAR (Exakt nach Screenshot)
   -------------------------------------------------------------------------- */
.hero-section {
  background-color: var(--navy);
  background-image:
    linear-gradient(90deg, rgba(0, 40, 85, 0.90) 0%, rgba(0, 51, 102, 0.72) 48%, rgba(0, 40, 85, 0.45) 100%),
    url('/assets/images/hero-bg.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  color: var(--white);
  padding: 28px 0 42px;
  border-bottom: 4px solid var(--red);
}

@media (min-width: 1024px) {
  .hero-section {
    padding: 44px 0 56px;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 36px;
    align-items: stretch;
  }

  .hero-content-col {
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .hero-form-col {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }
}

.hero-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 40, 85, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
}

.trust-check {
  color: var(--red-light);
  font-weight: 800;
}

.hero-h1 {
  font-size: clamp(1.85rem, 4vw, 3rem);
  line-height: 1.12;
  font-weight: 800;
  margin: 0 0 12px;
  color: var(--white);
  letter-spacing: -0.02em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.hero-divider {
  width: 76px;
  height: 4px;
  background: var(--red);
  border-radius: 2px;
  margin-bottom: 14px;
}

.hero-subtitle {
  font-size: clamp(1.02rem, 1.55vw, 1.22rem);
  line-height: 1.5;
  color: var(--white);
  margin: 0 0 20px;
  font-weight: 600;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

.hero-checklist {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.hero-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.96rem;
  line-height: 1.45;
  font-weight: 600;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.check-badge {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
  box-shadow: 0 2px 6px rgba(230, 0, 0, 0.4);
}

.hero-cta-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 560px;
}

@media (min-width: 1024px) {
  .hero-cta-group {
    margin-top: auto;
  }
}

@media (max-width: 420px) {
  .hero-cta-group {
    grid-template-columns: 1fr;
  }
}

.hero-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 700;
  box-shadow: var(--shadow-md);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  min-height: 62px;
}

.hero-cta-btn:hover {
  transform: translateY(-1px);
}

.cta-btn-call {
  background: linear-gradient(180deg, var(--red-light) 0%, var(--red) 100%);
  color: var(--white);
  border: 1px solid var(--red-light);
  box-shadow: 0 6px 18px rgba(230, 0, 0, 0.4);
}

.cta-btn-call:hover {
  background: #C40000;
  color: var(--white);
}

.cta-btn-call .cta-btn-text strong {
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: var(--white);
}

.cta-btn-whatsapp {
  background: var(--white);
  color: var(--text);
  border: 1px solid var(--color-border);
}

.cta-btn-whatsapp:hover {
  background: var(--light-gray);
  color: var(--primary);
}

.cta-btn-whatsapp .cta-btn-icon {
  color: #25D366;
}

.cta-btn-form {
  grid-column: 1 / -1;
  background: linear-gradient(180deg, #1A6FE3 0%, var(--blue) 100%);
  color: var(--white);
  border: 1px solid #3B82F6;
}

@media (min-width: 1024px) {
  .cta-btn-form {
    display: none;
  }
}

.cta-btn-form:hover {
  background: var(--primary);
  color: var(--white);
}

.cta-btn-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  text-align: left;
}

.cta-btn-text small {
  font-size: 0.78rem;
  opacity: 0.95;
  font-weight: 600;
}

.cta-btn-text strong {
  font-size: 1.02rem;
  font-weight: 800;
}

/* Weißes Bewertungsformular rechts im Hero */
.valuation-card {
  background: var(--white);
  color: var(--text);
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--color-border);
  width: 100%;
  max-width: 100%;
}

@media (min-width: 640px) {
  .valuation-card {
    padding: 24px 22px;
  }
}

.valuation-card-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
}

.valuation-card-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: #FEF2F2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.valuation-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 4px;
  line-height: 1.25;
}

.valuation-subtitle {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.4;
}

/* 2-Stufen-Formular (Desktop: öffnet in 2 Fenstern / Schritten) */
.form-stepper {
  display: none;
}

.step-1-actions,
.btn-prev-step {
  display: none;
}

@media (min-width: 768px) {
  .form-stepper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--light-gray);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 6px 8px;
    margin-bottom: 14px;
    gap: 8px;
  }

  .stepper-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    border: none;
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: all 0.15s ease;
  }

  .stepper-tab.is-active {
    background: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow-sm);
  }

  .stepper-tab.is-done {
    color: var(--primary);
  }

  .stepper-num {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(0, 51, 102, 0.12);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.76rem;
    font-weight: 800;
  }

  .stepper-tab.is-active .stepper-num {
    background: var(--red);
    color: var(--white);
  }

  .stepper-tab.is-done .stepper-num {
    background: #16A34A;
    color: var(--white);
  }

  .stepper-divider {
    width: 18px;
    height: 2px;
    background: var(--color-border-strong);
    flex-shrink: 0;
  }

  .form-step-panel {
    display: none;
  }

  .form-step-panel.is-active {
    display: block;
    animation: fadeStepIn 0.2s ease-out;
  }

  .step-1-actions {
    display: block;
    margin-top: 12px;
  }

  .form-step-2-buttons {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    align-items: stretch;
  }

  .btn-prev-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 16px;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
    background: var(--light-gray);
    border: 1px solid var(--color-border-strong);
    border-radius: var(--radius-sm);
    cursor: pointer;
    min-height: 50px;
  }

  .btn-prev-step:hover {
    background: #E2E8F0;
  }
}

@keyframes fadeStepIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-fieldset {
  border: none;
  margin: 0 0 12px;
  padding: 0;
  min-width: 0;
}

.fieldset-legend {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--primary);
  margin-bottom: 8px;
  padding: 0;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 540px) {
  .form-row-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group {
  margin-bottom: 10px;
  min-width: 0;
}

.form-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.form-control {
  width: 100%;
  max-width: 100%;
  padding: 10px 12px;
  font-size: 0.92rem;
  font-family: inherit;
  color: var(--text);
  background-color: var(--light-gray);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  min-height: 44px;
}

.form-control:focus {
  outline: 2px solid var(--blue);
  background-color: var(--white);
  border-color: var(--blue);
}

.form-control.input-invalid {
  border-color: var(--color-danger);
  background-color: var(--color-danger-bg);
}

.form-textarea {
  resize: vertical;
  min-height: 60px;
}

/* 10-Foto-Upload Dropzone (wie auf motorschadens-ankauf.de) */
.upload-group {
  margin-top: 6px;
}

.upload-label-title {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 5px;
}

.upload-dropzone {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--light-gray);
  border: 2px dashed var(--color-border-strong);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.upload-dropzone:hover {
  border-color: var(--blue);
  background: #E8F1FF;
}

.file-input-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

.upload-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.upload-headline {
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.3;
}

.upload-subtext {
  font-size: 0.74rem;
  color: var(--color-text-muted);
  line-height: 1.35;
}

.upload-status {
  margin-top: 2px;
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--color-border);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--primary);
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-consent {
  margin: 10px 0 14px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.76rem;
  line-height: 1.45;
  color: var(--color-text-muted);
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--red);
  flex-shrink: 0;
}

.btn-submit-form {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 18px;
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--white);
  background: linear-gradient(180deg, var(--red-light) 0%, var(--red) 100%);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  min-height: 50px;
  box-shadow: 0 4px 14px rgba(230, 0, 0, 0.35);
}

.btn-submit-form:hover {
  background: #C40000;
}

.form-trust-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  line-height: 1.35;
}

.form-alert {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  font-size: 0.88rem;
}

.form-alert-success {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #F0FDF4;
  border: 2px solid #16A34A;
  color: #14532D;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.14);
}

.form-success-check {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(180deg, #22C55E 0%, #16A34A 100%);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(22, 163, 74, 0.35);
}

.form-success-content {
  flex: 1;
  min-width: 0;
}

.form-success-content strong {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  color: #15803D;
  margin-bottom: 3px;
}

.form-success-content p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.45;
  color: #166534;
}

.form-alert-error {
  background: var(--color-danger-bg);
  border: 1px solid var(--color-danger);
  color: var(--color-danger);
}

.form-alert ul {
  margin: 6px 0 0;
  padding-left: 18px;
}

/* --------------------------------------------------------------------------
   5. 6-VORTEILE-LEISTE UNTER DEM HERO (wie im Screenshot)
   -------------------------------------------------------------------------- */
.usp-bar-section {
  background: var(--color-bg-alt);
  padding: 24px 0;
  border-bottom: 1px solid var(--color-border);
}

.usp-bar-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 768px) {
  .usp-bar-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1100px) {
  .usp-bar-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.usp-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 16px 12px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.usp-icon {
  margin-bottom: 8px;
}

.usp-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--color-primary);
  margin: 0 0 4px;
  line-height: 1.25;
}

.usp-desc {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.35;
}

/* --------------------------------------------------------------------------
   6. HAUPTINHALTSBEREICH & REDAKTIONELLE SEKTIONEN
   -------------------------------------------------------------------------- */
.main-content-area {
  padding: 40px 0 56px;
}

.content-layout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 1024px) {
  .content-layout-grid {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 40px;
    align-items: start;
  }
}

.editorial-article {
  background: var(--color-white);
  min-width: 0;
}

.editorial-article h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  color: var(--color-primary);
  font-weight: 800;
  line-height: 1.28;
  margin: 36px 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-border);
}

.editorial-article h2:first-child {
  margin-top: 0;
}

.editorial-article h3 {
  font-size: clamp(1.12rem, 1.8vw, 1.32rem);
  color: var(--color-secondary);
  font-weight: 800;
  line-height: 1.35;
  margin: 26px 0 10px;
}

.editorial-article h4 {
  font-size: 1.02rem;
  color: var(--color-primary);
  font-weight: 700;
  margin: 18px 0 8px;
}

.editorial-article p {
  margin: 0 0 16px;
  font-size: 1rem;
  color: var(--color-text);
}

.editorial-article ul,
.editorial-article ol {
  margin: 0 0 20px;
  padding-left: 22px;
}

.editorial-article li {
  margin-bottom: 8px;
}

.info-highlight-box {
  background: var(--color-bg-alt);
  border-left: 4px solid var(--color-cta);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 18px 20px;
  margin: 22px 0;
}

.info-highlight-box h3,
.info-highlight-box h4 {
  margin-top: 0;
}

.card-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 20px 0 26px;
}

@media (min-width: 640px) {
  .card-grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.card-grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 20px 0 26px;
}

@media (min-width: 768px) {
  .card-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-box {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-primary);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}

.feature-box h3,
.feature-box h4 {
  margin-top: 0;
  color: var(--color-primary);
}

.data-table-wrapper {
  width: 100%;
  overflow-x: auto;
  margin: 20px 0 28px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  border: 1px solid var(--color-border);
}

.data-table th {
  background: var(--color-primary);
  color: var(--color-white);
  text-align: left;
  padding: 12px 14px;
  font-weight: 700;
}

.data-table td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
}

.data-table tr:nth-child(even) td {
  background: var(--color-bg-alt);
}

/* Interne Verlinkungs-Pills */
.link-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 16px 0 24px;
}

.link-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border-strong);
  color: var(--color-primary);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.link-pill:hover {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

/* Sidebar-Boxen */
.content-sidebar {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.sidebar-widget {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.sidebar-widget-dark {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-secondary);
}

.sidebar-widget h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  color: var(--color-primary);
}

.sidebar-widget-dark h3 {
  color: var(--color-white);
}

.sidebar-link-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.sidebar-link-list a {
  display: block;
  padding: 8px 10px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-primary);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
}

.sidebar-link-list a:hover {
  border-color: var(--color-cta);
  color: var(--color-cta);
}

/* --------------------------------------------------------------------------
   7. FAQ-SEKTION (Akkordeon mit <details>)
   -------------------------------------------------------------------------- */
.faq-section {
  background: var(--color-bg-alt);
  padding: 44px 0;
  border-top: 1px solid var(--color-border);
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 960px;
  margin: 24px auto 0;
}

.faq-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  padding: 16px 20px;
  font-weight: 800;
  font-size: 1.02rem;
  color: var(--color-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  font-size: 1.35rem;
  color: var(--color-cta);
  font-weight: 800;
  flex-shrink: 0;
}

.faq-item[open] .faq-question::after {
  content: "−";
}

.faq-answer {
  padding: 0 20px 18px;
  color: var(--color-text);
  font-size: 0.96rem;
  border-top: 1px solid var(--color-bg-alt);
}

/* --------------------------------------------------------------------------
   8. 4-SCHRITTE-SEKTION & DEUTSCHLAND-BANNER (wie im Screenshot)
   -------------------------------------------------------------------------- */
.steps-showcase-section {
  background: var(--color-white);
  padding: 48px 0;
  border-top: 1px solid var(--color-border);
}

.steps-heading-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 34px;
  text-align: center;
}

.heading-line {
  display: none;
  width: 64px;
  height: 3px;
  background: var(--color-cta);
}

@media (min-width: 640px) {
  .heading-line {
    display: inline-block;
  }
}

.steps-main-heading {
  font-size: clamp(1.35rem, 2.5vw, 1.9rem);
  color: var(--color-primary);
  margin: 0;
  font-weight: 800;
}

.steps-4-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .steps-4-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .steps-4-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step-item {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px 18px;
  text-align: center;
}

.step-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 12px;
}

.step-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-cta);
  color: var(--color-white);
  font-weight: 800;
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.step-title {
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--color-primary);
  margin: 0 0 6px;
}

.step-text {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin: 0;
}

.germany-cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--primary) 100%);
  color: var(--white);
  padding: 32px 0;
}

.germany-banner-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

@media (min-width: 900px) {
  .germany-banner-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.germany-banner-left {
  display: flex;
  align-items: center;
  gap: 22px;
  flex: 1;
  min-width: 0;
}

.germany-flag-map {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-right: 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.25);
}

.germany-flag-map svg {
  display: block;
  width: 82px;
  height: auto;
  overflow: visible;
}

.germany-banner-copy h2 {
  margin: 0 0 6px;
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  font-weight: 800;
  color: var(--white);
}

.germany-banner-copy p {
  margin: 0;
  font-size: 0.96rem;
  color: #E2E8F0;
}

.germany-banner-right {
  flex-shrink: 0;
}

.banner-call-button {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(180deg, var(--red-light) 0%, var(--red) 100%);
  color: var(--white);
  padding: 14px 26px;
  border-radius: var(--radius-md);
  text-decoration: none;
  border: 2px solid var(--red-light);
  box-shadow: 0 6px 20px rgba(230, 0, 0, 0.35);
  white-space: nowrap;
  flex-shrink: 0;
}

.banner-call-button:hover {
  background: linear-gradient(180deg, var(--red) 0%, #BF0000 100%);
  color: var(--white);
}

.banner-call-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.banner-call-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  white-space: nowrap;
}

.banner-call-text small {
  font-size: 0.84rem;
  font-weight: 700;
  white-space: nowrap;
}

.banner-call-text strong {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   9. FOOTER & MOBILE STICKY BAR
   -------------------------------------------------------------------------- */
.site-footer {
  background: #001B3A;
  color: #CBD5E1;
  padding: 48px 0 24px;
  font-size: 0.9rem;
}

@media (max-width: 767px) {
  .site-footer {
    padding-bottom: 84px; /* Reserviert Platz für Mobile Sticky Bar */
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
  }
}

.footer-logo {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
}

.footer-logo span {
  color: var(--red-light);
}

.footer-address {
  font-style: normal;
  line-height: 1.6;
}

.footer-address a {
  color: #60A5FA;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.social-icon-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}

.social-icon-link:hover {
  background: var(--red);
  border-color: var(--red-light);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-heading {
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
  margin: 0 0 12px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.footer-links a {
  color: #CBD5E1;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-bottom {
  padding-top: 20px;
  font-size: 0.8rem;
  color: #94A3B8;
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .footer-bottom-inner {
    flex-direction: row;
    align-items: center;
  }
}

.legal-hero-section {
  background: var(--primary);
  color: var(--white);
  padding: 32px 0;
}

.legal-h1 {
  margin: 0 0 8px;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
}

.legal-subtitle {
  margin: 0;
  color: #CBD5E1;
}

.editorial-warning-banner {
  background: #FFFBEB;
  border: 1px solid #F59E0B;
  color: #78350F;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-top: 16px;
  font-size: 0.88rem;
}

/* Mobile Sticky CTA Bar */
.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-primary);
  border-top: 2px solid var(--color-cta);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  z-index: 900;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.25);
}

@media (min-width: 768px) {
  .mobile-sticky-bar {
    display: none;
  }
}

.sticky-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 6px;
  color: var(--color-white);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 800;
  min-height: 48px;
}

.sticky-call {
  background: var(--color-cta);
}

.sticky-wa {
  background: var(--color-secondary);
}

.sticky-form {
  background: var(--color-primary);
}
