:root {
  --brand: #2481fa;
  --brand-dark: #0a2b57;
  --soft: #e8f1fe;
}
body { color: #1f2a37; }
.text-brand { color: var(--brand) !important; }
.btn-brand { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn-brand:hover, .btn-brand:focus { filter: brightness(.92); color: #fff; background: var(--brand); }
.btn-brand:disabled { background: #9aa9bb; border-color: #9aa9bb; }
.site-logo { height: 48px; width: auto; }
.site-footer { background: #0f1b2d; color: #c9d4e3; }
.site-footer a { color: #fff; }

/* Hero */
.hero { position: relative; background: linear-gradient(135deg, var(--brand-dark), var(--brand)); color: #fff; padding: 6rem 0 5rem; overflow: hidden; }
.hero--image .hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.hero__content { position: relative; max-width: 760px; }
.hero .btn-brand { background: #fff; color: var(--brand-dark); border-color: #fff; }

.rich-text img { max-width: 100%; height: auto; }
.cta { background: var(--soft); }
.feature i { display: block; }
.product-tile:hover { transform: translateY(-2px); transition: transform .15s; }
.product-tile img { aspect-ratio: 3 / 2; object-fit: contain; background: #f3f5f8; padding: .5rem; height: auto; width: 100%; }

/* Offer cards */
.offer-card { border: 2px solid #e3e8ef; background: #fff; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.offer-card:hover { border-color: var(--brand); }
.offer-card.selected { border-color: var(--brand); background: var(--soft); box-shadow: 0 0 0 .2rem rgba(36,129,250,.2); }
.offer-icon { color: var(--brand); font-size: 1.4rem; min-height: 2.2rem; }

/* Booking */
.booking .step-no { display: inline-flex; align-items: center; justify-content: center; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--brand); color: #fff; font-size: 1rem; margin-right: .4rem; }
.booking-step.optional .step-no { background: #9aa9bb; }
.booking-step.attention { box-shadow: 0 0 0 .25rem rgba(255,193,7,.6) !important; transition: box-shadow .2s; }
.slot-grid { display: flex; flex-wrap: wrap; gap: .4rem; }
.result-card img { aspect-ratio: 3 / 2; object-fit: contain; background: #f3f5f8; padding: .5rem; height: auto; width: 100%; }
.flatpickr-calendar.inline { box-shadow: none; border: 1px solid #e3e8ef; max-width: 100%; }
#date-range + .flatpickr-calendar, .booking .flatpickr-calendar.inline { overflow-x: auto; }
.flatpickr-day.closed-day:not(.selected):not(.inRange) { color: #b9c2cf; text-decoration: line-through; }
.flatpickr-day.selected, .flatpickr-day.startRange, .flatpickr-day.endRange { background: var(--brand); border-color: var(--brand); }

/* Contract status */
.progress-steps { display: flex; gap: .5rem; }
.progress-steps .step { flex: 1; height: .55rem; border-radius: 999px; background: #d6e6fd; }
.progress-steps .step.done { background: var(--brand); }
.progress-steps .step.current { background: linear-gradient(90deg, var(--brand) 60%, #d6e6fd 60%); }
@media (min-width: 768px) { .w-md-75 { width: 75%; } }

/* Vehicle search */
.vehicle-search__icon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: #8a96a8; }
.vehicle-search__results { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + .25rem); background: #fff; border: 1px solid #dfe5ec; border-radius: .5rem; box-shadow: 0 8px 24px rgba(15,27,45,.12); max-height: 22rem; overflow-y: auto; padding: .25rem; margin: 0; }
.vehicle-search__results li { padding: .5rem .75rem; border-radius: .35rem; cursor: pointer; display: flex; justify-content: space-between; gap: .75rem; align-items: center; }
.vehicle-search__results li[aria-selected="true"], .vehicle-search__results li:hover { background: var(--soft); }
.vehicle-search__results .vs-title { font-weight: 600; }
.vehicle-search__results .vs-meta { font-size: .85rem; color: #5b6878; }
.vehicle-search__results .vs-empty { cursor: default; color: #5b6878; }

/* Vehicle check ("Fahrzeug unklar? Fotos schicken") */
.vc-steps { counter-reset: none; }
.vc-step { display: flex; align-items: center; gap: .4rem; padding: .3rem .75rem .3rem .3rem; border-radius: 999px; background: #eef2f7; color: #5b6878; font-size: .9rem; }
.vc-step__no { display: inline-grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: #fff; font-weight: 700; font-size: .8rem; }
.vc-step.current { background: var(--brand); color: #fff; }
.vc-step.current .vc-step__no { color: var(--brand); }
.vc-step.done { background: #e3f4ea; color: #1e6b3d; }
.vc-pin { max-width: 11rem; font-size: 1.6rem; letter-spacing: .3em; text-align: center; font-variant-numeric: tabular-nums; }
.vc-drop { border: 2px dashed #b6c2d1; border-radius: .75rem; padding: 1.5rem; text-align: center; cursor: pointer; background: #fafcff; transition: border-color .15s, background .15s; }
.vc-drop:hover, .vc-drop.dragover, .vc-drop:focus-within { border-color: var(--brand); background: #f1f6ff; }
.vc-drop.has-files { padding: .9rem; }
.vc-preview { position: relative; margin: 0; }
.vc-preview img, .vc-thumb { width: 96px; height: 96px; object-fit: cover; border-radius: .5rem; border: 1px solid #dfe5ec; background: #fff; }
.vc-preview__remove { position: absolute; top: -8px; right: -8px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: #dc3545; color: #fff; font-size: 1.1rem; line-height: 1; }
.vc-hints ul { margin-bottom: 0; padding-left: 1.2rem; }
.vc-answer__icon { font-size: 2rem; line-height: 1; }
.vc-answer--fits .vc-answer__icon, .vc-answer--fits_note .vc-answer__icon { color: #198754; }
.vc-answer--more_info .vc-answer__icon { color: #fd7e14; }
.vc-answer--not_possible .vc-answer__icon { color: #6c757d; }
.vc-answer__text p:last-child { margin-bottom: 0; }
.vehicle-check-cta { border: 1px dashed #b6c2d1; border-radius: .6rem; padding: .6rem .9rem; background: #fafcff; }
.inquiry-banner { border-left: 4px solid #198754; }
.protection-choice { border: 1px solid #e3e8ef; border-radius: .5rem; padding: .5rem .75rem; background: #fafcff; max-width: 34rem; }
.protection-choice legend { float: none; width: auto; font-size: .85rem; }
.protection-details summary { font-size: .8rem; color: var(--brand); cursor: pointer; }
.protection-details > div { padding: .4rem 0 .2rem; }

/* UX: German compound words wrap at syllables instead of mid-letter ("Anhänger-kupplung") */
.offer-card { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: normal; word-break: normal; }
/* sections scrolled into view must not hide under the sticky header */
.booking-step, #inquiry-banner { scroll-margin-top: 84px; }
/* comfortable tap targets for time slots on phones */
@media (max-width: 575.98px) {
  .slot-grid .btn { min-height: 2.6rem; display: inline-flex; align-items: center; padding-inline: .7rem; }
  .booking .card-body { padding: 1rem; }
}
.cart-table .protection-row td { border-top: 0; padding-top: 0; }
.cart-table .protection-choice { max-width: none; }
.transfer-table td { white-space: nowrap; }
.transfer-table .iban { font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.girocode img { border: 1px solid #e3e8ef; border-radius: .4rem; background: #fff; }
