/* =========================
   1. CSS Custom Properties
   2. Base / Reset
   3. Layout & Grundstruktur
   4. Header, Navigation & Utility
   5. Content-Sektionen
   6. Komponenten (Buttons, Cards, FAQs, etc.)
   7. Modern Homepage Layer
   8. Media Queries
   9. Hover & Motion Preferences
   ========================= */


/* 1. CSS Custom Properties */
:root {
    --color-primary: #e60000;
    --color-primary-dark: #8a0000;
    --color-dark: #111827;
    --color-text: #333333;
    --color-muted: #666666;
    --color-bg: #f5f6f8;
    --color-surface: #ffffff;
    --color-surface-soft: #f9fafb;
    --color-border: #e5e7eb;

    --radius-md: 16px;
    --radius-lg: 28px;

    --shadow-soft: 0 14px 36px rgba(15, 23, 42, 0.08);
    --shadow-hover: 0 20px 48px rgba(15, 23, 42, 0.12);

    --container: 1180px;

    --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}


/* 2. Base / Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    --header-offset: 48px;
    --utility-height: 48px;
    --logo-height: 96px;
    font-family: 'Poppins', sans-serif;
    background: radial-gradient(circle at top left, rgba(230, 0, 0, 0.08), transparent 34rem),
                linear-gradient(180deg, #ffffff 0%, var(--color-bg) 38%, #ffffff 100%);
    color: var(--color-text);
    font-size: 1.1em;
    padding-top: calc(var(--header-offset) + var(--utility-height));
}


/* 3. Layout & Grundstruktur */
h1, h2 {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 12px;
    font-size: 2em;
    color: var(--color-dark);
    font-style: normal;
    text-transform: none;
    letter-spacing: -0.04em;
    line-height: 1.12;
}

section {
    max-width: var(--container);
    margin: 40px auto;
    padding: 40px;
    background-color: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

section img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
    border-radius: 8px;
    object-fit: contain;
}

/* Anchor offset for the fixed header so in-page links don't hide content */
html {
    scroll-padding-top: calc(var(--header-offset) + var(--utility-height) + 20px);
}

:where(h1, h2, h3, section) {
    scroll-margin-top: calc(var(--header-offset) + var(--utility-height) + 20px);
}


/* 4. Header, Navigation & Utility */
header {
    background-color: #e60000;
    font-size: 21px;
    height: var(--header-offset);
    padding: 0 32px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "logo nav toggle";
    align-items: center;
    column-gap: 24px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    overflow: visible;
}

header .primary-nav {
    grid-area: nav;
    min-width: 0;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

header .logo {
    flex: 0 0 auto;
    grid-area: logo;
    position: relative;
    z-index: 1001;
    margin-bottom: calc(-1 * var(--utility-height));
}

header .logo img {
    height: auto;
    max-height: var(--logo-height);
    width: auto;
    max-width: 260px;
    background-color: white;
    padding: 6px;
    border-radius: 8px;
    display: block;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.nav-toggle {
    grid-area: toggle;
    justify-self: end;
    display: none;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    padding: 0;
    background: #ffffff;
    border: 0;
    color: #e60000;
    border-radius: 16px;
    cursor: pointer;
    line-height: 1;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.10);
    -webkit-tap-highlight-color: transparent;
}

.nav-toggle-icon {
    font-size: 28px;
    transform: translateY(-1px);
}

.nav-toggle:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.8);
    outline-offset: 3px;
}

.nav-toggle {
    transition: transform var(--transition), box-shadow var(--transition);
}

.nav-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.13);
}

.nav-toggle:active {
    transform: translateY(0);
}

header.nav-open .nav-toggle {
    background: rgba(255, 255, 255, 0.92);
}

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: clamp(0.3rem, 0.6vw, 0.8rem);
    margin: 0 0 0 auto;
    padding: 0;
}

nav ul li {
    margin: 0;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    font-style: italic;
    font-size: clamp(0.62em, 1.4vw, 0.92em);
    letter-spacing: 0.02em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 6px;
    transition: background var(--transition), color var(--transition), box-shadow var(--transition);
    white-space: nowrap;
}

nav ul li a:hover {
    background-color: white;
    color: #e60000;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

nav ul li a.nav-active {
    background-color: rgba(255, 255, 255, 0.15);
    box-shadow: none;
    color: #fff;
    font-weight: 900;
    text-decoration: none;
}

.utility-bar {
    position: fixed;
    top: var(--header-offset);
    left: 0;
    width: 100%;
    z-index: 900;
    height: var(--utility-height);
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 28px;
    padding: 0 32px;
    overflow: hidden;
    background: #0f172a;
    color: rgba(255, 255, 255, 0.75);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-family: 'Poppins', sans-serif;
    font-size: 0.68rem;
    font-weight: 600;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1;
}

.utility-left,
.utility-center,
.utility-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.utility-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
    opacity: 0.8;
    transition: opacity var(--transition);
}

.utility-item svg {
    width: 14px;
    height: 14px;
    display: inline-block;
    flex-shrink: 0;
}

.utility-bar a {
    color: inherit;
    text-decoration: none;
}

.utility-bar a:hover,
.utility-bar a:focus {
    opacity: 1;
    text-decoration: none;
    color: #ffffff;
}

.utility-item:hover {
    opacity: 1;
}

.utility-item.hours {
    opacity: 1;
    color: #ffffff;
}

.utility-item.hours.closed {
    opacity: 0.7;
}

.utility-dot {
    width: 14px;
    height: 14px;
    border-radius: 999px;
    background: #22c55e;
    display: inline-block;
    flex-shrink: 0;
    position: relative;
    animation: dot-pulse 3s ease-out infinite;
}

.utility-dot::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: #22c55e;
    animation: dot-ring 3s ease-out infinite;
}

@keyframes dot-pulse {
    0%, 70%, 100% { transform: scale(1); }
    35%            { transform: scale(1.15); }
}

@keyframes dot-ring {
    0%   { transform: scale(1);   opacity: 0.7; }
    70%  { transform: scale(3);   opacity: 0; }
    100% { transform: scale(3);   opacity: 0; }
}

.utility-item.hours.closed .utility-dot {
    background: var(--color-primary);
    animation: dot-pulse 3s ease-out infinite;
}

.utility-item.hours.closed .utility-dot::after {
    background: var(--color-primary);
    animation: dot-ring 3s ease-out infinite;
}

.utility-bar::-webkit-scrollbar {
    display: none;
}


/* 5. Content-Sektionen */
.vehicle-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
}

.vehicle {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 24px;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.vehicle:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 44px rgba(15, 23, 42, 0.12);
    border-color: var(--color-primary);
}

.vehicle-img-wrap {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f1f5f9;
}

.vehicle-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.vehicle:hover .vehicle-img-wrap img {
    transform: scale(1.04);
}

.img-zoom-transporter {
    transform: scale(1.35);
    transform-origin: center 60%;
    object-position: center 60%;
}

.vehicle:hover .vehicle-img-wrap .img-zoom-transporter {
    transform: scale(1.39);
}

.vehicle-img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}

.vehicle-img-placeholder svg {
    width: 56px;
    height: 56px;
    color: #cbd5e1;
}

.vehicle-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 22px;
}

.vehicle-label {
    display: inline-flex;
    align-self: flex-start;
    margin-bottom: 10px;
    padding: 5px 10px;
    background: #fff1f2;
    color: var(--color-primary);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.vehicle-body h3 {
    margin: 0 0 8px;
    font-size: 1.3rem;
    color: var(--color-dark);
}

.vehicle-body p {
    color: var(--color-muted);
    font-size: 0.92rem;
    line-height: 1.6;
    flex: 1;
}

.vehicle-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.82rem;
    font-weight: 800;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-primary);
    transition: color var(--transition);
    overflow: hidden;
}

.vehicle-link::after {
    content: '→';
    display: inline-block;
    transform: translateX(-4px);
    opacity: 0;
    transition: transform var(--transition), opacity var(--transition);
}

.vehicle:hover .vehicle-link {
    color: var(--color-primary-dark);
}

.vehicle:hover .vehicle-link::after {
    transform: translateX(0);
    opacity: 1;
}

.vehicle-cta {
    display: flex;
    justify-content: center;
    margin-top: 36px;
}

/* Neuzugänge: dunkles Highlight-Farbschema wie das Kontaktformular */
#neuzugaenge {
    background: linear-gradient(145deg, #111827, #242b38);
    box-shadow: 0 26px 70px rgba(15, 23, 42, 0.22);
}

#neuzugaenge .eyebrow {
    color: #ffffff;
}

#neuzugaenge .section-heading h2 {
    color: #ffffff;
}

#neuzugaenge .section-heading p:not(.eyebrow) {
    color: rgba(255, 255, 255, 0.78);
}

#neuzugaenge .vehicle {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.16);
}

#neuzugaenge .vehicle:hover {
    border-color: #ffffff;
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.3);
}

#neuzugaenge .vehicle-label {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

#neuzugaenge .vehicle-body h3 {
    color: #ffffff;
}

#neuzugaenge .vehicle-body p {
    color: rgba(255, 255, 255, 0.7);
}

#neuzugaenge .vehicle-link {
    color: #ffffff;
}

.finder-steps {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.finder-step {
    padding: 22px 24px;
    background: #f9fafb;
    border: 1px solid var(--color-border);
    border-radius: 18px;
    text-align: center;
}

.finder-step-question {
    margin: 0 0 16px;
    font-weight: 800;
    color: var(--color-dark);
    font-size: 1rem;
}

.finder-step-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.finder-option {
    padding: 12px 18px;
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--color-dark);
    cursor: pointer;
    transition: border-color var(--transition), box-shadow var(--transition), background-color var(--transition), color var(--transition);
}

.finder-option:hover {
    border-color: var(--color-primary);
    box-shadow: 0 8px 20px rgba(230, 0, 0, 0.1);
}

.finder-option.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #ffffff;
}

.finder-step-answered .finder-option:not(.active) {
    display: none;
}

.finder-step-answered {
    background: #ffffff;
}

.finder-result {
    padding: 26px 28px;
    background: #fff1f2;
    border: 1px solid rgba(230, 0, 0, 0.18);
    border-radius: 18px;
    text-align: center;
}

.finder-result-label {
    margin: 0 0 6px;
    color: var(--color-primary);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.finder-result-title-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 8px;
}

.finder-result-icon {
    display: inline-flex;
    width: 34px;
    height: 34px;
    color: var(--color-primary);
    flex-shrink: 0;
}

.finder-result-icon svg {
    width: 100%;
    height: 100%;
}

.finder-result h3 {
    margin: 0;
    color: var(--color-dark);
    font-size: 1.7rem;
}

.finder-result p {
    margin: 0 0 18px;
    color: var(--color-muted);
    font-size: 0.96rem;
    line-height: 1.6;
}

.legal-content {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.legal-content h3 {
    margin: 32px 0 10px;
    color: var(--color-dark);
    font-size: 1.1rem;
}

.legal-content h3:first-child {
    margin-top: 0;
}

.legal-content p {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.96rem;
    line-height: 1.7;
}

.legal-content a {
    color: var(--color-primary);
}

footer {
    background: #080f1d;
    color: rgba(255, 255, 255, 0.75);
    margin-top: 40px;
    border-top: 3px solid var(--color-primary);
}

.footer-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 64px 40px 48px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 48px;
}

.footer-brand img {
    height: 48px;
    width: auto;
    background: white;
    padding: 6px 10px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.footer-brand p {
    font-size: 0.88rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.45);
    max-width: 280px;
}

.footer-links strong,
.footer-contact strong,
.footer-hours strong {
    display: block;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-family: 'Poppins', sans-serif;
    font-size: 0.72rem;
    font-weight: 800;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: white;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links li a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color var(--transition), padding-left var(--transition);
    display: inline-block;
}

.footer-links li a:hover {
    color: white;
    padding-left: 4px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
}

.footer-contact svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--color-primary);
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color var(--transition);
}

.footer-contact a:hover {
    color: white;
}

.footer-hours ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 6px 16px;
}

.footer-hours li {
    display: contents;
}

.footer-hours li span {
    font-size: 0.88rem;
    line-height: 1.6;
}

.footer-hours li span:first-child {
    color: rgba(255, 255, 255, 0.35);
    white-space: nowrap;
}

.footer-hours li span:last-child {
    color: rgba(255, 255, 255, 0.55);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding: 22px 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 6px 16px;
    max-width: var(--container);
    margin: 0 auto;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.28);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.42);
    text-decoration: none;
    transition: color var(--transition);
}

.footer-bottom a:hover {
    color: #ffffff;
}

/* ── Validation Toast & Bounce ── */
@keyframes field-bounce {
  0%   { transform: translateX(0); }
  20%  { transform: translateX(-8px); }
  40%  { transform: translateX(8px); }
  60%  { transform: translateX(-5px); }
  80%  { transform: translateX(5px); }
  100% { transform: translateX(0); }
}
.field-bounce input,
.field-bounce select,
.field-bounce .custom-select-display {
    animation: field-bounce 0.5s ease;
    border-color: #e60000 !important;
    box-shadow: 0 0 0 3px rgba(230,0,0,0.15) !important;
}

/* ── Vorausgefüllt-Hinweis (in .inquiry-copy, dunkler Bereich) ── */
.prefill-note {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px 14px;
    flex-wrap: wrap;
    margin-top: 16px;
    padding: 10px 14px;
    background: rgba(230, 0, 0, 0.12);
    border: 1px solid rgba(230, 0, 0, 0.35);
    border-radius: 12px;
    color: #ffffff;
    font-size: 0.86rem;
    font-weight: 500;
    line-height: 1.4;
}
.prefill-note[hidden] {
    display: none;
}
.prefill-note-reset {
    flex-shrink: 0;
    background: none;
    border: none;
    padding: 0;
    color: #ffffff;
    font-size: 0.86rem;
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
}
.prefill-note-reset:hover {
    color: rgba(255, 255, 255, 0.8);
}
#validation-toast {
    position: fixed;
    top: 28px;
    left: 50%;
    transform: translateX(-50%) translateY(-80px);
    z-index: 9999;
    background: #111827;
    color: #fff;
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    border-left: 4px solid #e60000;
    box-shadow: 0 8px 32px rgba(0,0,0,0.28);
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
    pointer-events: none;
    max-width: calc(100vw - 40px);
    text-align: center;
    white-space: normal;
}
#validation-toast.validation-toast-visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* ── Closed Banner ── */
#closed-banner {
    position: fixed;
    top: calc(var(--header-offset) + var(--utility-height) + 16px);
    left: 50%;
    transform: translateX(-50%) translateY(-120px);
    z-index: 9999;
    width: min(560px, calc(100vw - 32px));
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
    pointer-events: none;
}
#closed-banner.closed-banner-visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
}
.closed-banner-inner {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #111827;
    color: #f9fafb;
    border-radius: 16px;
    padding: 18px 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.28);
    border-left: 4px solid #e60000;
}
.closed-banner-icon {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    color: white;
}

.closed-banner-dot {
    width: 14px;
    height: 14px;
    border-radius: 999px;
    background: var(--color-primary);
    display: inline-block;
    position: relative;
    animation: dot-pulse 3s ease-out infinite;
}

.closed-banner-dot::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: var(--color-primary);
    animation: dot-ring 3s ease-out infinite;
}
.closed-banner-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.9rem;
    line-height: 1.5;
}
.closed-banner-text strong {
    font-size: 0.95rem;
    color: #ffffff;
}
.closed-banner-text span {
    color: rgba(255,255,255,0.7);
}
.closed-banner-close {
    background: none;
    border: none;
    color: rgba(255,255,255,0.45);
    font-size: 1rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
    transition: color 0.2s;
}
.closed-banner-close:hover {
    color: #ffffff;
}

#cookie-consent-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9998;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#cookie-consent-banner.cookie-consent-visible {
    transform: translateY(0);
}

.cookie-consent-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    max-width: var(--container);
    margin: 0 auto;
    padding: 20px 24px;
    background: linear-gradient(145deg, #111827, #242b38);
    color: #ffffff;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.25);
}

.cookie-consent-text {
    flex: 1;
    min-width: 240px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cookie-consent-text strong {
    font-size: 0.98rem;
    color: #ffffff;
}

.cookie-consent-text span {
    font-size: 0.86rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.72);
}

.cookie-consent-text a {
    color: #ffffff;
    text-decoration: underline;
}

.cookie-consent-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .cookie-consent-inner {
        flex-direction: column;
        align-items: stretch;
        border-radius: 0;
    }

    .cookie-consent-actions {
        flex-direction: column;
    }

    .cookie-consent-actions .button {
        width: 100%;
    }

    #closed-banner {
        top: auto;
        bottom: 0;
        transform: translateX(-50%) translateY(120px);
        width: 100vw;
        border-radius: 0;
    }
    #closed-banner.closed-banner-visible {
        transform: translateX(-50%) translateY(0);
    }
    .closed-banner-inner {
        border-radius: 0;
    }
}

form label {
    font-weight: bold;
    margin-top: 15px;
    margin-bottom: 5px;
    display: block;
}

form:not(.inquiry-form) input,
form:not(.inquiry-form) textarea,
form:not(.inquiry-form) select {
    padding: 10px;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 15px;
}

form:not(.inquiry-form) textarea {
    resize: vertical;
    min-height: 120px;
}

form:not(.inquiry-form) button {
    background-color: #e60000;
    color: white;
    padding: 12px 20px;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

form:not(.inquiry-form) button:hover {
    background-color: #b30000;
}

/* Standalone #fahrzeug styling (kontakt.html — outside .inquiry-form) */
:not(.inquiry-form) > #fahrzeug {
    display: inline-block;
    max-width: 360px;
    padding: 8px 12px;
    font-size: 1em;
    font-family: 'Poppins', sans-serif;
    color: white;
    background-color: #e60000;
    border: 1px solid #e60000;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color var(--transition);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

:not(.inquiry-form) > #fahrzeug:focus {
    outline: none;
    background-color: #b30000;
}

:not(.inquiry-form) > #fahrzeug::-ms-expand {
    display: none;
}

.benefits,
.anforderungen-layout {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    grid-template-rows: auto auto;
    grid-template-areas:
        "intro list"
        "cta   list";
    gap: 48px;
    align-items: start;
}

.zubehoer-layout {
    grid-template-areas: "intro list";
    grid-template-rows: auto;
    align-items: center;
}

.anforderungen-intro { grid-area: intro; }
.anforderungen-list  { grid-area: list; }
.anforderungen-cta   { grid-area: cta; margin-top: 0; }

.anforderungen-intro {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.anforderungen-intro .eyebrow {
    font-size: 0.76rem;
    color: #e60000 !important;
}

.anforderungen-intro .eyebrow::before {
    background: #e60000 !important;
}

.anforderungen-intro h2 {
    text-align: left;
    margin-top: 8px;
}

.anforderungen-intro p {
    color: var(--color-muted);
    font-size: 0.96rem;
    line-height: 1.7;
    margin-top: 12px;
}

.anforderungen-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.anforderungen-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
    background: #f9fafb;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.anforderungen-list li:hover {
    border-color: var(--color-primary);
    box-shadow: 0 4px 16px rgba(230, 0, 0, 0.08);
}

.anforderungen-list svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--color-primary);
}

.anforderungen-list div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.anforderungen-list strong {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--color-dark);
}

.anforderungen-list span {
    font-size: 0.84rem;
    color: var(--color-muted);
    line-height: 1.5;
}

.requirements {
    list-style: none;
    padding-left: 0;
    margin: 30px auto;
    max-width: 700px;
    font-size: 1.1em;
    line-height: 1.6;
}

.benefits li,
.requirements li {
    margin-bottom: 12px;
    padding-left: 30px;
    position: relative;
}

.benefits li::before,
.requirements li::before {
    content: "•";
    color: #e60000;
    font-size: 1.4em;
    position: absolute;
    left: 0;
    top: -0.15em;
}

#rezensionen {
    text-align: center;
}

.testimonials-slider {
    margin-top: 32px;
    overflow: hidden;
}

.testimonials-track {
    display: grid;
    grid-template-columns: repeat(5, calc((100% - 40px) / 3));
    gap: 20px;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonials-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 28px;
}

.testimonials-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--color-border);
    background: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color var(--transition), background var(--transition), color var(--transition);
    color: var(--color-dark);
}

.testimonials-btn:hover {
    border-color: var(--color-primary);
    background: var(--color-primary);
    color: #fff;
}

.testimonials-btn:disabled {
    opacity: 0.3;
    cursor: default;
    pointer-events: none;
}

.testimonials-dots {
    display: flex;
    gap: 8px;
}

.testimonials-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-border);
    transition: background var(--transition), transform var(--transition);
    cursor: pointer;
}

.testimonials-dot.active {
    background: var(--color-primary);
    transform: scale(1.3);
}

.testimonial {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: var(--shadow-soft);
    transition: box-shadow var(--transition), transform var(--transition);
}

.testimonial:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
    cursor: default;
}

.testimonial .stars {
    color: #f59e0b;
    font-size: 1rem;
    letter-spacing: 2px;
}

.testimonial p {
    font-size: 0.9rem;
    color: var(--color-muted);
    line-height: 1.7;
    flex: 1;
}

.testimonial .author {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-dark);
    text-align: right;
    padding-top: 8px;
    border-top: 1px solid var(--color-border);
}

#anfahrt {
    line-height: 1.8;
    max-width: 1200px;
    margin: 0 auto;
}

.map-layout {
    display: grid;
    grid-template-columns: minmax(0, 280px) 1fr;
    gap: 28px;
    align-items: stretch;
    margin-top: 24px;
}

.map-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 28px;
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 24px;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}

.map-info-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.map-info-body > .button {
    align-self: flex-start;
}

/* Desktop: inline map versteckt, standalone sichtbar */
.map-inline {
    display: none !important;
}

.map-standalone {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 24px;
}

.map-inline.map-consent-placeholder,
.map-standalone.map-consent-placeholder {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 24px;
    text-align: center;
    background: #eef2f7;
    border: 1px solid var(--color-border);
}

.map-standalone.map-consent-placeholder {
    display: flex;
}

.map-consent-placeholder p {
    margin: 0;
    max-width: 320px;
    color: var(--color-muted);
    font-size: 0.86rem;
    line-height: 1.5;
}

.map-consent-placeholder iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.map-info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.map-info-item svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--color-primary);
}

.map-info-item div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.map-info-item strong {
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-dark);
}

.map-info-item span {
    font-size: 0.92rem;
    color: var(--color-muted);
    line-height: 1.5;
}

.map-info-item a {
    color: var(--color-muted);
    text-decoration: none;
}

.map-info-item a:hover {
    color: var(--color-primary);
}

.map-directions-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    padding: 11px 18px;
    background-color: var(--color-primary);
    color: #ffffff;
    border-radius: 999px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.82rem;
    font-weight: 800;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(230, 0, 0, 0.2);
    transition: background-color var(--transition);
}

.map-directions-btn:hover {
    background-color: #8a0000;
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(230, 0, 0, 0.3);
}

#anfahrt iframe {
    width: 100%;
    height: 100%;
    min-height: 320px;
    border: none;
    border-radius: 24px;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
    display: block;
    transition: transform var(--transition), box-shadow var(--transition);
}

#anfahrt iframe:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 44px rgba(15, 23, 42, 0.14);
}


/* 6. Komponenten (Buttons, Cards, FAQs, etc.) */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 22px;
    background-color: var(--color-primary);
    color: white;
    border: 1px solid transparent;
    border-radius: 16px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.92em;
    font-weight: 900;
    font-style: italic;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 12px 26px rgba(230, 0, 0, 0.22);
    transition: background-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.button:hover {
    background-color: #8a0000;
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(230, 0, 0, 0.3);
}

.preisliste-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

.preisliste-card {
    text-align: center;
    width: 180px;
}

.preisliste-card p {
    margin-top: 8px;
    margin-bottom: 6px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.86rem;
    font-weight: 800;
    color: var(--color-dark);
}

.preisliste-card a {
    display: block;
    text-decoration: none;
    position: relative;
}

.listenvorschau {
    width: 180px;
    height: 250px;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.10);
    display: block;
    transition: transform var(--transition), box-shadow var(--transition);
    pointer-events: none;
}

.preisliste-card a:hover .listenvorschau {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.16);
}

.overlay {
    margin-top: 8px;
}

.overlay span {
    font-family: 'Poppins', sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-muted);
    transition: color var(--transition);
}

.preisliste-card a:hover .overlay span {
    color: var(--color-primary);
}

/* Subpage Hero Split Layout */
.subpage-hero-text {
    display: flex;
    flex-direction: column;
}

.subpage-hero-text h1 {
    margin: 0;
    font-size: clamp(1.9rem, 3.2vw, 3rem);
}

.subpage-hero-text p:not(.eyebrow) {
    margin: 16px 0 0;
    color: var(--color-muted);
    line-height: 1.75;
}

.subpage-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.subpage-hero-text {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.subpage-hero-text h1 {
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    line-height: 1.15;
    margin: 0;
}

.subpage-hero-text p {
    font-size: 0.98rem;
    color: var(--color-muted);
    line-height: 1.6;
    margin: 0;
}

.subpage-hero-image {
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4/3;
}

.subpage-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 720px) {
    .subpage-hero-inner {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .subpage-hero-image {
        order: -1;
        aspect-ratio: 16/9;
    }
}

/* Subpage Spec Cards */
.subpage-spec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    max-width: var(--container);
    margin: 0 auto 8px;
}

.subpage-spec-card {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
}

.spec-card-header {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.spec-card-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-dark);
    margin: 0;
}

.spec-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.spec-list li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.88rem;
    line-height: 1.5;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 10px;
}

.spec-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.spec-list li.spec-list-models {
    flex-direction: column;
    gap: 4px;
}

.spec-list li.spec-list-models span:first-child {
    min-width: unset;
}

.spec-list li.spec-list-models span:last-child {
    font-size: 0.78rem;
    font-weight: 400;
    color: var(--color-muted);
    text-align: left;
}

.spec-list li span:first-child {
    color: var(--color-muted);
    flex-shrink: 0;
    min-width: 100px;
}

.spec-list li span:last-child {
    color: var(--color-dark);
    font-weight: 500;
    text-align: right;
}

.spec-price-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 16px;
}

.spec-price-row > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-end;
    text-align: right;
}

.spec-price-label {
    font-size: 0.72rem;
    color: var(--color-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.spec-price-row strong {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-primary);
}

/* FAQ Accordion */
.mini-faq-list {
    max-width: 780px;
    margin: 0 auto;
}

.mini-faq-cta {
    text-align: center;
    margin-top: 32px;
}

.faq-item {
    border: 1px solid var(--color-border);
    border-radius: 16px;
    margin-bottom: 10px;
    overflow: hidden;
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.faq-item:hover {
    border-color: var(--color-primary);
    box-shadow: 0 4px 16px rgba(230, 0, 0, 0.08);
}

.faq-question {
    font-family: 'Poppins', sans-serif;
    font-size: 0.96rem;
    font-weight: 700;
    color: var(--color-dark);
    background: #f9fafb;
    border: none;
    padding: 18px 20px;
    width: 100%;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    transition: background-color var(--transition), color var(--transition);
}

.faq-question:hover {
    background-color: #fff1f2;
    color: var(--color-primary);
}

.faq-question.active {
    background-color: #fff1f2;
    color: var(--color-primary);
}

.faq-arrow {
    flex-shrink: 0;
    transition: transform var(--transition);
    color: var(--color-primary);
    display: flex;
    align-items: center;
}

.faq-question.active .faq-arrow {
    transform: rotate(90deg);
}

.faq-answer {
    display: none;
    padding: 16px 20px;
    background-color: #ffffff;
    border-top: 1px solid var(--color-border);
    font-size: 0.92rem;
    color: var(--color-muted);
    line-height: 1.75;
}

.faq-question:focus {
    outline: none;
}

/* Slideshow */
.slideshow-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    padding-bottom: 1rem;
    scroll-behavior: smooth;
}

.vehicle-slide {
    background-color: #f9f9f9;
    border-left: 5px solid #e60000;
    padding: 20px;
    margin: 20px 0;
    border-radius: 10px;
    font-style: italic;
    position: relative;
    min-width: 300px;
    flex: 0 0 auto;
    scroll-snap-align: start;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    width: 320px;
}

.vehicle-slide:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform var(--transition), box-shadow var(--transition);
    cursor: default;
}

.vehicle-slide img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    max-height: 200px;
    object-fit: cover;
    aspect-ratio: 4 / 3;
}

.vehicle-slide small {
    display: block;
    margin-top: 0.5rem;
    font-style: italic;
    color: #666;
}

/* Datetime Row */
.datetime-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 24px;
    align-items: end;
    margin-bottom: 12px;
}

.datetime-row .field {
    display: flex;
    flex-direction: column;
}

.datetime-row label {
    margin-bottom: 6px;
}

.datetime-row input,
.datetime-row select,
.datetime-row textarea {
    width: 100%;
}

.inquiry-form input[type="date"].is-empty,
.inquiry-form input[type="time"].is-empty {
    color: #c8d0db !important;
    -webkit-text-fill-color: #c8d0db !important;
}

/* Timeline „Firmengeschichte" */
.about-timeline {
    text-align: center;
}

.about-story .about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin-top: 32px;
}

.about-story .about-content-reverse {
    direction: rtl;
}

.about-story .about-content-reverse > * {
    direction: ltr;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-text p {
    color: var(--color-muted);
    font-size: 0.96rem;
    line-height: 1.8;
}

.about-figure {
    margin: 0;
}

.about-figure img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 20px;
    display: block;
    margin: 0;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
}

.about-figure figcaption {
    margin-top: 10px;
    font-size: 0.78rem;
    color: var(--color-muted);
    text-align: center;
}

.about-text-wide {
    max-width: 720px;
    margin: 0 auto 32px;
}

.about-text-wide p {
    color: var(--color-muted);
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 1em;
}

.about-duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.about-duo-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-duo-images {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-duo-images .about-figure img {
    height: 180px;
}

.about-duo-images .about-figure:first-child img {
    object-position: center 70%;
}

.timeline {
    list-style: none;
    margin: 40px 0 0;
    padding: 0 40px;
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.timeline::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 40px;
    right: 40px;
    height: 3px;
    background-color: #e60000;
    z-index: 0;
    transform: translateY(-50%);
}

.timeline-item {
    position: relative;
    flex: 1 1 0;
    min-width: 120px;
    text-align: center;
}

.timeline-point {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #e60000;
    box-shadow: 0 0 0 3px #ffffff, 0 0 0 6px #e60000;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    transition: transform var(--transition), box-shadow var(--transition);
}

.timeline-item {
    position: relative;
    flex: 1 1 0;
    min-width: 120px;
    text-align: center;
    cursor: default;
}

.timeline-item:hover .timeline-point {
    transform: translate(-50%, -50%) scale(1.25);
    box-shadow: 0 0 0 3px #ffffff,
                0 0 0 7px #e60000,
                0 0 0 14px rgba(230, 0, 0, 0.18);
}

.timeline-item:hover .timeline-year {
    color: var(--color-primary);
}

.timeline-content {
    margin-top: 48px;
    position: relative;
    z-index: 1;
}

.timeline-year {
    display: block;
    font-weight: 700;
    margin-bottom: 4px;
    transition: color var(--transition);
}

.timeline-content p {
    margin: 0;
    font-size: 0.95rem;
}


/* 7. Modern Homepage Layer */
.hero-section {
    max-width: none;
    margin: 0;
    padding: 56px 24px 48px;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.hero-section:hover {
    transform: none;
    box-shadow: none;
}

.hero-wrapper {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 56px;
    align-items: stretch;
}

.hero-content h1 {
    margin: 0;
    text-align: left;
    font-size: clamp(1.8rem, 3.5vw, 3rem);
}

.hero-text {
    max-width: 680px;
    margin-top: 24px;
    color: var(--color-muted);
    font-size: clamp(0.95rem, 1.5vw, 1.15rem);
    line-height: 1.75;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--color-primary);
    font-family: 'Poppins', sans-serif;
    font-size: 0.76rem;
    font-weight: 900;
    font-style: italic;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 26px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.hero-trust {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 34px;
}

.trust-item {
    padding: 18px 16px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--color-border);
    border-radius: 18px;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}

.trust-item strong {
    display: block;
    color: var(--color-dark);
    font-size: 1.28rem;
    line-height: 1.15;
}

.trust-item span {
    display: block;
    margin-top: 4px;
    color: var(--color-muted);
    font-size: 0.88rem;
    line-height: 1.35;
}

.hero-right {
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 20px;
}

.hero-media {
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.10);
    height: 380px;
    flex-shrink: 0;
    border-radius: 36px;
    overflow: hidden;
    position: relative;
}

.hero-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 65% 35%;
    transform: scale(1.3);
    transform-origin: 65% 35%;
    display: block;
}

.hero-logo-panel {
    border-radius: 36px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.10);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 24px;
}

.hero-logo-panel img {
    display: block;
    width: 90%;
    max-width: 90%;
    height: auto;
    object-fit: contain;
}

.hero-media-card {
    position: absolute;
    right: 22px;
    bottom: 22px;
    padding: 16px 18px;
    min-width: 220px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 22px;
    box-shadow: 0 16px 44px rgba(15, 23, 42, 0.2);
    backdrop-filter: blur(12px);
}

.hero-media-card span {
    display: block;
    color: var(--color-muted);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-media-card strong {
    display: block;
    margin-top: 2px;
    color: var(--color-dark);
    font-size: 1.08rem;
}

.section-heading {
    max-width: 900px;
    margin: 0 auto 34px;
    text-align: center;
}

.preise-eyebrow-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 12px;
}

.preise-eyebrow-row .eyebrow {
    margin: 0;
}

.preise-eyebrow-row svg {
    width: auto;
    height: 22px;
    color: var(--color-primary);
    flex-shrink: 0;
}

.section-heading .eyebrow {
    justify-content: center;
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(1.8rem, 3.5vw, 3rem);
}

.section-heading p:not(.eyebrow) {
    margin: 14px auto 0;
    color: var(--color-muted);
    font-size: 0.98rem;
    line-height: 1.6;
}

.rental-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.rental-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 260px;
    padding: 28px;
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 28px;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
    overflow: hidden;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    text-decoration: none;
}

.rental-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 44px rgba(15, 23, 42, 0.12);
    border-color: var(--color-primary);
}

.rental-card-label {
    display: inline-flex;
    align-self: flex-start;
    margin-bottom: 18px;
    padding: 7px 12px;
    color: var(--color-primary);
    background: #fff1f2;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rental-card h3 {
    margin: 0 0 12px;
    color: var(--color-dark);
    font-size: 1.6rem;
}

.rental-card p {
    color: var(--color-muted);
    line-height: 1.7;
    flex: 1;
}

.rental-card a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    padding: 10px 18px;
    background-color: #fff1f2;
    color: var(--color-primary);
    border-radius: 999px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.82rem;
    font-weight: 800;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-decoration: none;
    align-self: flex-start;
    transition: background-color var(--transition), color var(--transition);
}

.rental-card a::after {
    content: "→";
    font-style: normal;
}

.rental-card:hover a {
    background-color: var(--color-primary);
    color: #ffffff;
}

.inquiry-section {
    background: linear-gradient(145deg, #111827, #242b38);
    color: #ffffff;
    box-shadow: 0 26px 70px rgba(15, 23, 42, 0.22);
}

.inquiry-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    grid-template-areas:
        "copy form"
        "options form";
    gap: 44px;
    align-items: stretch;
}

.inquiry-copy {
    grid-area: copy;
    display: flex;
    flex-direction: column;
}

.inquiry-copy h2 {
    margin: 0;
    color: #ffffff;
    text-align: left;
    font-size: clamp(1.8rem, 3.5vw, 3rem);
}

.inquiry-copy p {
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.98rem;
    line-height: 1.6;
}

.inquiry-contact-options {
    grid-area: options;
    display: grid;
    gap: 12px;
    align-self: end;
}

.inquiry-contact-note {
    margin: 0 0 6px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.98rem;
    line-height: 1.6;
}

.inquiry-contact-options a {
    display: flex;
    justify-content: space-between;
    padding: 14px 16px;
    color: #ffffff;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.06);
    transition: transform var(--transition);
}

.inquiry-contact-options a::after {
    content: "→";
    font-weight: 800;
}

.inquiry-form {
    grid-area: form;
    padding: 26px;
    background: #ffffff;
    color: var(--color-text);
    border-radius: 28px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.field {
    display: flex;
    flex-direction: column;
}

.field-full {
    grid-column: 1 / -1;
}

.split-input {
    display: flex;
    align-items: center;
    background: #f9fafb;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.split-input:focus-within {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(230, 0, 0, 0.1);
    background: #fff;
}
.split-input input {
    flex: 1.4;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 13px 14px;
    min-width: 0;
}

.split-input input[type="time"] {
    flex: 1;
    min-width: 86px;
}

.date-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    flex: 1.4;
    min-width: 0;
}
.date-input-wrap input[type="date"] {
    width: 100%;
}
.date-input-placeholder {
    display: none;
}

/* iOS Safari zeigt bei leeren <input type="date"> keinen Platzhalter an
   (anders als Desktop-Browser, die dort das aktuelle Datum vorschlagen).
   Deshalb blenden wir das eigene Label nur auf schmalen/Touch-Viewports ein. */
@media (max-width: 700px) {
    .date-input-placeholder {
        display: block;
        position: absolute;
        left: 14px;
        top: 50%;
        transform: translateY(-50%);
        color: #c8d0db;
        pointer-events: none;
        font-family: 'Poppins', sans-serif;
        font-size: 0.96rem;
        font-weight: 500;
    }
    .date-input-wrap.has-value .date-input-placeholder {
        display: none;
    }
}

.split-input input[type="number"]::-webkit-outer-spin-button,
.split-input input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.split-input input[type="number"] {
    -moz-appearance: textfield;
}
.split-divider {
    width: 1px;
    height: 22px;
    background: var(--color-border);
    flex-shrink: 0;
}

.split-unit {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0 14px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--color-muted);
}

.inquiry-form label {
    margin: 0 0 7px;
    color: var(--color-dark);
    font-size: 0.86rem;
    font-weight: 800;
}

.inquiry-form input,
.inquiry-form textarea {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 13px 14px;
    color: var(--color-dark);
    background: #f9fafb;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.96rem;
    font-weight: 500;
    appearance: none;
    -webkit-appearance: none;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.inquiry-form input:focus,
.inquiry-form textarea:focus,
.inquiry-form select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(230, 0, 0, 0.1);
}

.inquiry-form input::placeholder,
.inquiry-form textarea::placeholder {
    color: #c8d0db;
    font-weight: 300;
}


/* Custom select wrapper */
.custom-select-wrapper {
    position: relative;
    width: 100%;
}

.custom-select-hidden {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    cursor: pointer;
    z-index: 2;
}

.custom-select-display {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 13px 14px;
    background-color: #f9fafb;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.96rem;
    font-weight: 500;
    color: #c8d0db;
    box-sizing: border-box;
    transition: border-color var(--transition), box-shadow var(--transition);
    pointer-events: none;
}

.custom-select-display.has-value {
    color: var(--color-dark);
}

.custom-select-hidden:focus + .custom-select-display {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(230, 0, 0, 0.1);
}

/* Custom select styling */
.inquiry-form select {
    appearance: none !important;
    -webkit-appearance: none !important;
    width: 100%;
    margin: 0;
    padding: 0 40px 0 14px;
    background-color: #f9fafb !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23e60000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    border: 1px solid var(--color-border);
    border-radius: 14px !important;
    -webkit-border-radius: 14px !important;
    color: var(--color-dark) !important;
    font-family: 'Poppins', sans-serif;
    font-size: 0.96rem !important;
    font-weight: 500;
    font-style: normal;
    text-transform: none;
    letter-spacing: 0;
    box-sizing: border-box;
    height: 50px;
    line-height: 1.5;
    transition: border-color var(--transition), box-shadow var(--transition);
    cursor: pointer;
}

.inquiry-form select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(230, 0, 0, 0.1);
}

.inquiry-form select option {
    background-color: #ffffff;
    color: var(--color-dark);
    font-weight: 500;
    font-style: normal;
    text-transform: none;
    letter-spacing: 0;
}

.inquiry-form textarea {
    min-height: 95px;
}

.button-secondary {
    color: var(--color-dark);
    background-color: #ffffff;
    border-color: var(--color-border);
    border-radius: 16px;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
}

.button-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.14);
    border-color: var(--color-dark);
}

.inquiry-form .button {
    width: auto;
    min-width: 150px;
    margin-top: 20px;
    background-color: var(--color-primary);
    color: white;
    border: 1px solid transparent;
    border-radius: 16px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.92em;
    font-weight: 900;
    font-style: italic;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    box-shadow: 0 12px 26px rgba(230, 0, 0, 0.22);
    padding: 13px 22px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.inquiry-form .button:hover {
    background-color: #8a0000;
}


/* 8. Media Queries */

@media (min-width: 1200px) {
    body {
        font-size: 1.12em;
    }

    section {
        padding: 48px;
    }


    .vehicle img {
        max-height: 360px;
    }
}

@media (max-width: 1024px) {
    body {
        --header-offset: 72px;
        --utility-height: 42px;
        --logo-height: 68px;
    }

    header {
        padding: 0 24px;
    }

    header nav {
        padding-right: 0;
    }

    header .logo {
        margin-bottom: 0;
    }

    section {
        padding: 28px;
    }
}

/* Tablet: 2-spaltige Grids statt direkt 1-spaltig */
@media (max-width: 1024px) and (min-width: 769px) {
    .rental-card-grid,
    .vehicle-container {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 900px) {
    .hero-wrapper,
    .inquiry-layout {
        grid-template-columns: 1fr;
    }

    .inquiry-layout {
        grid-template-areas:
            "copy"
            "form"
            "options";
    }

    .inquiry-contact-options {
        align-self: auto;
    }

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

    .hero-media,
    .hero-media img {
        min-height: 320px;
    }

    /* Mobile Feldreihenfolge: Fahrzeug & Zeitraum geschlossen, dann Kontaktdaten */
    #field-fahrzeug { order: 1; }
    #field-getriebe { order: 2; }
    #field-fahrtstrecke { order: 3; }
    #field-abholung { order: 4; }
    #field-rueckgabe { order: 5; }
    #field-name { order: 6; }
    #field-telefon { order: 7; }
    #field-email { order: 8; }
    #field-nachricht { order: 9; }

    .field-group-start {
        margin-top: 8px;
        padding-top: 16px;
        border-top: 1px solid var(--color-border);
    }

    .field-group-start:first-child {
        margin-top: 0;
        padding-top: 0;
        border-top: none;
    }

    .field-group-start::before {
        content: attr(data-group-label);
        display: block;
        margin-bottom: 14px;
        color: var(--color-primary);
        font-family: 'Poppins', sans-serif;
        font-size: 0.74rem;
        font-weight: 800;
        font-style: italic;
        letter-spacing: 0.1em;
        text-transform: uppercase;
    }
}


@media (max-width: 768px) and (min-width: 601px) {
    .rental-card-grid,
    .vehicle-container {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    .hero-media,
    .hero-logo-panel {
        display: none;
    }

    body {
        --header-offset: 80px;
        --utility-height: 44px;
        --logo-height: 64px;
        padding-top: calc(var(--header-offset) + var(--utility-height));
    }

    header .logo {
        margin-bottom: 0;
    }

    .map-layout {
        grid-template-columns: 1fr;
    }

    /* Mobile: map-info wird 2-spaltig (Infos links, Karte rechts) */
    .map-info {
        padding: 16px;
        flex-direction: row;
        gap: 14px;
        align-items: stretch;
    }

    .map-info-body {
        flex: 1;
        gap: 12px;
        min-width: 0;
    }

    .map-info-body .button {
        white-space: nowrap;
        font-size: 0.72rem;
        padding: 10px 14px;
    }

    .map-inline {
        display: block !important;
        flex: 0 0 130px;
        height: 180px;
        border-radius: 14px;
        border: none;
        box-shadow: none;
    }

    .map-inline.map-consent-placeholder {
        display: flex !important;
        padding: 10px;
    }

    .map-inline.map-consent-placeholder p {
        display: none;
    }

    .map-standalone {
        display: none !important;
    }

    .nav-toggle {
        display: inline-flex;
        width: 58px;
        height: 58px;
        border-radius: 14px;
        align-self: center;
    }

    header .primary-nav {
        display: block;
        position: fixed;
        top: calc(var(--header-offset) + var(--utility-height));
        left: 0;
        right: 0;
        width: 100%;
        overflow: hidden;
        padding: 0 16px;
        background-color: #e60000;
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
        max-height: 0;
        opacity: 0;
        pointer-events: none;
        transition: max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1),
                    opacity 0.28s ease,
                    padding 0.38s cubic-bezier(0.4, 0, 0.2, 1);
    }

    header.nav-open .primary-nav {
        max-height: 400px;
        opacity: 1;
        pointer-events: auto;
        padding: 16px 16px 20px;
    }

    header .primary-nav::before,
    header .primary-nav::after {
        display: none;
    }

    header .primary-nav ul {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto;
        gap: 10px 12px;
        align-items: stretch;
    }

    header .primary-nav ul li:nth-child(1) { grid-column: 1; grid-row: 1; }
    header .primary-nav ul li:nth-child(2) { grid-column: 1; grid-row: 2; }
    header .primary-nav ul li:nth-child(3) { grid-column: 1; grid-row: 3; }
    header .primary-nav ul li:nth-child(4) { grid-column: 2; grid-row: 1; }
    header .primary-nav ul li:nth-child(5) { grid-column: 2; grid-row: 2; }

    header .primary-nav ul li a {
        display: flex;
        align-items: center;
        padding: 14px 16px;
        border-radius: 14px;
        font-size: 0.95rem;
        background: rgba(255, 255, 255, 0.12);
        transition: background var(--transition), color var(--transition), transform var(--transition);
    }

    header .primary-nav ul li a.nav-active {
        background: rgba(255, 255, 255, 0.15);
        box-shadow: none;
        color: #fff;
        font-weight: 900;
        text-decoration: none;
    }

    header .primary-nav ul li a:hover {
        background: #ffffff;
        color: #e60000;
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .timeline {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.8rem;
        margin-top: 20px;
        padding: 0;
    }

    .timeline::before {
        top: 10px;
        bottom: 0;
        left: 14px;
        right: auto;
        width: 3px;
        height: auto;
        transform: none;
    }

    .timeline-item {
        text-align: left;
        padding-left: 40px;
        min-width: 0;
    }

    .timeline-point {
        top: 10px;
        left: 14px;
        transform: translate(-50%, -50%);
    }

    .timeline-item:hover .timeline-point {
        transform: translate(-50%, -50%) scale(1.25);
    }

    .timeline-content {
        margin-top: 0;
    }
}

@media (max-width: 560px) {
    /* Sehr schmale Screens: map-info wird wieder 1-spaltig gestapelt */
    .map-info {
        flex-direction: column;
        gap: 20px;
    }

    .map-info-body {
        flex: none;
        min-width: 0;
    }

    .map-info-body .button {
        white-space: normal;
        font-size: 0.82rem;
        padding: 11px 18px;
    }

    .map-inline {
        flex: none;
        width: 100%;
        height: 220px;
        min-height: 0;
    }

    .map-inline.map-consent-placeholder p {
        display: block;
    }
}

@media (max-width: 700px) {
    .datetime-row {
        grid-template-columns: 1fr;
    }

    .testimonials-track {
        grid-template-columns: repeat(5, 100%);
    }

    .about-story .about-content,
    .about-story .about-content-reverse {
        grid-template-columns: 1fr;
        direction: ltr;
        gap: 24px;
    }

    .about-duo-layout {
        grid-template-columns: 1fr;
    }

    .about-duo-images {
        flex-direction: row;
        order: 2;
    }

    .about-duo-layout .about-text {
        order: 1;
    }

    .about-duo-images .about-figure img {
        height: 200px;
    }

    .about-figure img {
        height: 220px;
    }

    .anforderungen-layout {
        grid-template-columns: 1fr;
        grid-template-areas:
            "intro"
            "list"
            "cta";
        gap: 20px;
    }
}

@media (max-width: 680px) {
    .footer-bottom {
        flex-direction: column;
        gap: 4px;
        text-align: center;
        padding: 16px 20px;
    }

    .utility-bar {
        font-size: 0.72rem;
        font-weight: 600;
        padding: 0 12px;
        letter-spacing: 0.02em;
        justify-content: space-between;
        gap: 0;
    }

    .utility-text {
        display: none;
    }

    .utility-item svg {
        width: 16px;
        height: 16px;
    }

    .utility-left,
    .utility-center,
    .utility-right {
        gap: 8px;
    }

    /* Öffnungszeiten links, nimmt restlichen Platz */
    .utility-item.hours {
        flex: 1 1 0;
        min-width: 0;
    }

    .utility-item.hours .hours-text {
        display: inline;
        font-size: 0.68rem;
    }

    /* Icons rechts: feste Breite, kein Schrumpfen */
    .utility-item.tel,
    .utility-item.contact,
    .utility-item.location {
        flex: 0 0 auto;
        margin-left: 10px;
        padding: 15px 4px;
        margin-top: -15px;
        margin-bottom: -15px;
    }
}

@media (max-width: 600px) {
    .finder-step-options {
        flex-direction: column;
    }

    .finder-option {
        text-align: center;
    }

    body {
        --header-offset: 76px;
        --logo-height: 58px;
    }

    header .logo {
        align-self: center;
    }

    header .logo img {
        max-width: 180px;
    }

    .nav-toggle {
        align-self: center;
        width: 52px;
        height: 52px;
    }

    nav ul {
        gap: 0.75rem;
    }

    .vehicle-slide {
        width: 240px;
        padding: 0.75rem;
    }

    .vehicle-slide img {
        max-height: 160px;
    }

    .hero-section {
        padding: 32px 16px 4px;
    }

    .hero-content h1,
    .section-heading h2,
    .subpage-hero-text h1,
    .inquiry-copy h2 {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    .hero-text,
    .section-heading p:not(.eyebrow),
    .subpage-hero-text p,
    .inquiry-copy p,
    .inquiry-contact-note {
        font-size: 0.95rem;
        line-height: 1.55;
        margin-top: 16px;
    }

    .hero-trust {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .trust-item {
        padding: 12px 10px;
    }

    .trust-item strong {
        font-size: 1.05rem;
    }

    .trust-item span {
        font-size: 0.78rem;
    }

    .rental-card-grid,
    .vehicle-container {
        grid-template-columns: 1fr;
    }

    section {
        margin: 18px 0;
        padding: 24px 20px;
        border-radius: 0;
        box-shadow: none;
        overflow: hidden;
        overflow-wrap: break-word;
        word-break: break-word;
    }

    .hero-media-card {
        left: 18px;
        right: 18px;
        min-width: 0;
    }

    .inquiry-form {
        padding: 20px;
        border-radius: 22px;
    }
}

@media (max-width: 480px) {
    section {
        padding: 20px;
    }

    h1 {
        font-size: 1.7em;
    }

    h2 {
        font-size: 1.5em;
    }


    html {
        scroll-padding-top: calc(var(--header-offset) + var(--utility-height) + 12px);
    }

    :where(h1, h2, h3, section) {
        scroll-margin-top: calc(var(--header-offset) + var(--utility-height) + 12px);
    }

    /* Preislisten-Karten: zwei pro Zeile statt fixer 180px-Breite mit Leerraum */
    .preisliste-card {
        width: calc(50% - 10px);
    }

    .listenvorschau {
        width: 100%;
        height: auto;
        aspect-ratio: 180 / 250;
    }

}


/* 9. Hover & Motion Preferences */
@media (hover: hover) and (pointer: fine) {
    .rental-card:hover {
        transform: translateY(-3px);
    }

    .inquiry-contact-options a:hover {
        transform: translateY(-2px);
    }

    .button:hover {
        transform: translateY(-3px);
        background-color: var(--color-primary-dark);
    }

    .button-secondary:hover {
        color: var(--color-primary);
        background-color: #ffffff;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        scroll-behavior: auto !important;
    }

    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .testimonial:hover {
        transform: none !important;
    }

    #anfahrt iframe:hover {
        transform: none !important;
    }

    .listenvorschau:hover {
        transform: none !important;
    }

    .timeline-item:hover .timeline-point {
        transform: translate(-50%, -50%) !important;
    }
}

@media (max-width: 900px) {
    .footer-inner {
        grid-template-columns: 1fr 1fr 1.4fr;
        gap: 24px;
        padding: 32px 24px 24px;
    }
    .footer-brand {
        display: none;
    }
}

@media (max-width: 480px) {
    .footer-inner {
        grid-template-columns: 1fr;
        padding: 24px 20px 20px;
        gap: 20px;
    }
    .footer-brand {
        display: none;
    }
    .footer-links strong,
    .footer-contact strong,
    .footer-hours strong {
        font-size: 0.82rem;
    }
    .footer-links li a,
    .footer-contact li,
    .footer-hours li span {
        font-size: 0.88rem;
    }
}

@media (max-width: 390px) {
    .trust-item strong {
        font-size: 0.92rem;
    }
    .trust-item span {
        font-size: 0.7rem;
    }
}

.preise-intro-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: start;
    margin-top: 32px;
    min-width: 0;
}

.preise-intro-layout > * {
    min-width: 0;
    overflow-wrap: break-word;
    word-break: break-word;
}

.preise-col-label {
    font-family: 'Poppins', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-muted);
    margin: 0 0 16px;
}

.preise-col-label--primary {
    color: var(--color-primary);
    font-size: 0.78rem;
}

.preise-pdf-col {
    border-left: 1px solid var(--color-border);
    padding-left: 40px;
}

.preise-pdf-slider-wrap {
    overflow: hidden;
    width: 100%;
}

.preise-pdf-slider {
    display: flex;
    gap: 16px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.preise-pdf-slider .preisliste-card {
    flex: 0 0 30%;
    width: 30%;
}

.preise-pdf-slider .listenvorschau {
    width: 100%;
    aspect-ratio: 1 / 1.414;
    height: auto;
    object-fit: contain;
    object-position: top;
    background: #fff;
}

.preise-pdf-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    justify-content: center;
}

.preise-nav-col {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.preise-nav-desc {
    font-size: 0.9rem;
    color: var(--color-muted);
    line-height: 1.6;
    margin: 0 0 20px;
}

.preise-nav-headline {
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--color-dark);
    line-height: 1.2;
    margin: 0 0 20px;
}

.preise-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.preise-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--color-dark);
    line-height: 1.5;
}

.preise-bullets li svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--color-primary);
}

.preise-section-links-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    width: 100%;
    max-width: 100%;
}

.preise-section-links-row .button {
    font-size: 0.92rem;
    padding: 12px 22px;
}

@media (max-width: 480px) {
    .preise-section-links-row .button {
        font-size: 0.82rem;
        padding: 11px 16px;
    }
}

@media (max-width: 700px) {
    .preise-intro-layout {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .preise-nav-col {
        border-bottom: 1px solid var(--color-border);
        padding-bottom: 32px;
        margin-bottom: 32px;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .preise-nav-col .preise-bullets {
        text-align: left;
    }
    .preise-pdf-col {
        border-left: none;
        padding-left: 0;
    }
    .preise-nav-headline {
        font-size: 1.3rem;
    }
}

.hero-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hero-bullets li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--color-dark);
}

.hero-bullets li svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--color-primary);
}

/* Prefill highlight animation */
@keyframes prefill-glow {
    0%   { background-color: transparent; border-color: var(--color-border); }
    20%  { background-color: rgba(230, 0, 0, 0.07); border-color: var(--color-primary); }
    80%  { background-color: rgba(230, 0, 0, 0.07); border-color: var(--color-primary); }
    100% { background-color: transparent; border-color: var(--color-border); }
}

.field-prefilled .custom-select-display,
.field-prefilled textarea {
    animation: prefill-glow 2.2s ease forwards;
}

/* Gesamtgewicht als gedimmte Zusatzinfo */
.spec-gg {
    display: block;
    font-size: 0.78em;
    color: var(--color-muted);
    font-weight: 400;
}

/* Ladefläche drei Zeilen */
.spec-list-ladeflaeche {
    align-items: start !important;
}

.spec-ladeflaeche-table {
    display: table;
    border-collapse: collapse;
    line-height: 1.4;
}

.spec-ladeflaeche-row {
    display: table-row;
}

.spec-dim-label {
    display: table-cell;
    color: var(--color-muted);
    font-size: 0.88rem;
    padding: 0 10px 0 0;
    white-space: nowrap;
    vertical-align: top;
}

.spec-dim-value {
    display: table-cell;
    color: var(--color-dark);
    font-size: 0.88rem;
    white-space: nowrap;
    vertical-align: top;
    text-align: right;
}

/* Spec Card Button */
.spec-card-btn {
    display: block;
    width: 100%;
    margin-top: 20px;
    text-align: center;
    font-size: 0.85rem;
    padding: 10px 16px;
    border-radius: 10px;
}

.button-secondary.spec-card-btn {
    color: var(--color-dark);
    background-color: #ffffff;
    border-color: var(--color-border);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

mark.spec-highlight {
    background: none;
    color: var(--color-primary);
}

.spec-card-hint {
    margin: 8px 0 0;
    font-size: 0.78rem;
    color: var(--color-muted);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.spec-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: var(--color-surface-soft);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 14px 20px;
    margin: 0 auto 32px;
    font-size: 0.85rem;
    color: var(--color-muted);
    line-height: 1.5;
}

.spec-disclaimer svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--color-primary);
}

.spec-pdf-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.spec-pdf-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.85rem;
    color: var(--color-muted);
    text-decoration: none;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 2px;
    transition: color var(--transition), border-color var(--transition);
}

.spec-pdf-link svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

.spec-pdf-link:hover {
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.spec-list li span.spec-nein {
    color: var(--color-muted);
    font-weight: 400;
}

.button-secondary.spec-card-btn:hover {
    color: var(--color-primary);
    border-color: var(--color-dark);
    background-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.1);
}

/* Spec Slider */
.spec-slider-wrapper {
    position: relative;
    /* overflow visible so the peeking card isn't clipped here;
       the parent section clips at its border-radius edge */
    overflow: visible;
    max-width: 100%;
    margin: 0 auto;
    touch-action: pan-y;
}

.spec-slider {
    display: flex;
    gap: 24px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    touch-action: pan-y;
}

.spec-slider .subpage-spec-card {
    /* 3 cards + 32px peek of the 4th card on the right */
    flex: 0 0 calc((100% - 48px - 32px) / 3);
    min-width: 0;
}

.spec-slider-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 28px;
}

.spec-slider-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--color-border);
    background: var(--color-surface);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--color-dark);
}

.spec-slider-btn svg {
    width: 20px;
    height: 20px;
}

.spec-slider-btn:hover:not(:disabled) {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.spec-slider-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.spec-slider-dots {
    display: flex;
    gap: 8px;
}

.spec-slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-border);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: var(--transition);
}

.spec-slider-dot.active {
    background: var(--color-primary);
    width: 24px;
    border-radius: 4px;
}

@media (max-width: 900px) {
    .spec-slider .subpage-spec-card {
        /* 2 cards + 48px peek of the 3rd */
        flex: 0 0 calc((100% - 24px - 48px) / 2);
    }
}

@media (max-width: 600px) {
    .spec-slider .subpage-spec-card {
        /* 1 card + 40px peek of the 2nd */
        flex: 0 0 calc(100% - 40px);
    }
}

/* ── Preis-Toggle auf Mobile (bis Tablet hochkant) ── */
@media (max-width: 768px) {
    .spec-price-row {
        max-height: 0;
        overflow: hidden;
        padding-top: 0;
        padding-bottom: 0;
        margin: 0;
        opacity: 0;
        transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                    opacity 0.25s ease,
                    padding 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .subpage-spec-card.prices-open .spec-price-row {
        max-height: 200px;
        opacity: 1;
        padding: 16px;
    }

    .spec-price-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        width: 100%;
        background: #f8f9fa;
        border: 1px solid var(--color-border);
        border-radius: 10px;
        padding: 10px 16px;
        font-family: 'Poppins', sans-serif;
        font-size: 0.82rem;
        font-weight: 700;
        font-style: italic;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        color: var(--color-dark);
        cursor: pointer;
        transition: background var(--transition), border-color var(--transition);
    }

    .spec-price-toggle:hover {
        background: var(--color-border);
    }

    .spec-price-toggle-arrow {
        display: inline-block;
        transition: transform 0.3s ease;
        font-style: normal;
    }

    .subpage-spec-card.prices-open .spec-price-toggle-arrow {
        transform: rotate(180deg);
    }
}

@media (max-width: 768px) {
    .button-secondary.spec-card-btn {
        background-color: var(--color-primary);
        border-color: var(--color-primary);
        color: #ffffff;
        box-shadow: 0 4px 14px rgba(230, 0, 0, 0.30);
    }

    .button-secondary.spec-card-btn:hover {
        background-color: var(--color-primary-dark);
        border-color: var(--color-primary-dark);
    }
}

@media (min-width: 769px) {
    .spec-price-toggle {
        display: none;
    }
}

/* Transporter Hero */
.transporter-hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 32px 40px;
}

.transporter-hero-img {
    border-radius: 16px;
    overflow: hidden;
    height: 360px;
}

@media (max-width: 700px) {
    .transporter-hero-section {
        grid-template-columns: 1fr;
    }

    .transporter-hero-img {
        height: 220px;
    }
}

/* ── Skip-Link für Tastaturnavigation ── */
.skip-link {
    position: fixed;
    top: -100px;
    left: 16px;
    z-index: 99999;
    background: var(--color-primary);
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: top 0.2s ease;
}
.skip-link:focus {
    top: 16px;
}

/* ── Scroll-Reveal Animationen ── */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}


@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ── Back to top ── */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 900;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 1.4rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(230, 0, 0, 0.35);
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.back-to-top:hover {
    background: var(--color-primary-dark);
}

@media (max-width: 600px) {
    .back-to-top {
        bottom: 20px;
        right: 16px;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}
