/* ==========================================================================
   AutoDeal Design System — Mobility Center GmbH
   Zentrale Frontend-Styles (1:1 Umsetzung der Template-Vorlagen)
   Prägungen:
     ad-*   = neues AutoDeal-Design (Header, Hero, Suche, Cars, Services, Kontakt)
     ax-*   = Kompatibilitäts-Layer für Bestandsseiten (mietwagen, news, ueber-uns, ...)
   ========================================================================== */

/* ------------------------------------------------------------------ Tokens
   Farbsystem abgeleitet aus dem Firmenlogo "Mobility Center":
   Blau  #2E77B8   |  Grün  #43A047  |  Grau  #6E6E6E
   Alle Blau-/Grau-Abstufungen sind daraus abgeleitet, damit Texte,
   Buttons und Flächen durchgängig in der Markenpalette erscheinen.
   ------------------------------------------------------------------ */
:root {
    /* Markenpalette */
    --ad-blue: #2E77B8;
    --ad-blue-dark: #22608F;
    --ad-blue-light: #4A93D0;
    --ad-blue-soft: #EAF2FA;
    --ad-blue-tint: #F5F9FD;
    --ad-green: #43A047;
    --ad-green-dark: #35853A;
    --ad-green-light: #5DB962;
    --ad-green-soft: #EAF6EB;
    --ad-grey: #6E6E6E;
    --ad-grey-light: #9AA0A3;
    --ad-grey-soft: #F2F2F2;

    --ad-ink: #1C2125;
    --ad-ink-soft: #363B3F;
    --ad-muted: #6E6E6E;
    --ad-muted-light: #9AA0A3;
    --ad-line: #E3E5E6;
    --ad-line-soft: #F2F3F3;
    --ad-bg: #ffffff;
    --ad-bg-alt: #F7F8F8;
    --ad-dark: #1C2125;
    --ad-radius: 12px;
    --ad-radius-sm: 8px;
    --ad-radius-lg: 18px;
    --ad-shadow: 0 1px 2px rgba(28, 33, 37, .06), 0 8px 24px -12px rgba(28, 33, 37, .12);
    --ad-shadow-lg: 0 24px 60px -24px rgba(28, 33, 37, .28);
    --ad-font: 'Inter', 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --ad-header-h: 72px;
    --ad-container: 1280px;

    /* Kompatibilitäts-Tokens für Bestandsseiten */
    --primary: #2E77B8;
    --primary-light: #4A93D0;
    --secondary: #ffffff;
    --text-primary: #1C2125;
    --text-secondary: #6E6E6E;
    --text-muted: #9AA0A3;
    --bg-card: #ffffff;
    --border-color: #E3E5E6;
    --ax-header-h: 72px;
}

/* ------------------------------------------------------------------- Basis */
/* Verhindert einen horizontalen Scrollbereich (weißer Streifen am rechten Rand)
   auf Mobilgeräten. Wichtig: 'hidden' muss AUCH auf <html> liegen, sonst
   propagiert der Browser den Overflow von <body> nicht auf den Viewport. */
html {
    overflow-x: hidden;
    width: 100%;
}
.ad-body {
    font-family: var(--ad-font);
    background: var(--ad-bg);
    color: var(--ad-ink);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

.ad-container {
    width: 100%;
    max-width: var(--ad-container);
    margin: 0 auto;
    padding: 0 20px;
}

.ad-container-wide { max-width: 1440px; }

@media (min-width: 768px) {
    .ad-container { padding: 0 32px; }
}

.ad-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;
}
.ad-sr-only:focus {
    position: fixed; top: 12px; left: 12px; width: auto; height: auto;
    padding: 12px 18px; clip: auto; background: var(--ad-blue); color: #fff;
    border-radius: 8px; z-index: 9999;
}

/* ============================================================ HEADER (AutoDeal) */
.ad-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: #ffffff;
    border-bottom: 1px solid var(--ad-line);
}

.ad-header-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    height: var(--ad-header-h);
}

.ad-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    text-decoration: none;
}
.ad-logo img { height: 34px; width: auto; max-width: 190px; object-fit: contain; }
.ad-logo-text {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--ad-ink);
    line-height: 1;
}
.ad-logo-text span { color: var(--ad-blue); }

/* Desktop-Navigation */
.ad-nav {
    display: none;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
    justify-content: center;
}
.ad-nav > li > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    font-size: .9375rem;
    font-weight: 500;
    color: var(--ad-ink-soft);
    text-decoration: none;
    border-radius: var(--ad-radius-sm);
    transition: color .18s ease, background .18s ease;
    white-space: nowrap;
}
.ad-nav > li > a:hover { color: var(--ad-blue); background: var(--ad-blue-soft); }
.ad-nav > li > a.ad-nav-active {
    color: var(--ad-blue);
    position: relative;
}
.ad-nav > li > a.ad-nav-active::after {
    content: "";
    position: absolute;
    left: 14px; right: 14px; bottom: 2px;
    height: 2px; border-radius: 2px;
    background: var(--ad-blue);
}

.ad-header-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    flex-shrink: 0;
}

.ad-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--ad-ink-soft);
    font-size: 1rem;
    cursor: pointer;
    transition: background .18s ease, color .18s ease;
    text-decoration: none;
}
.ad-icon-btn:hover { background: var(--ad-bg-alt); color: var(--ad-blue); }

.ad-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    font-family: var(--ad-font);
    font-size: .9375rem;
    font-weight: 600;
    line-height: 1.2;
    border: 1px solid transparent;
    border-radius: var(--ad-radius-sm);
    text-decoration: none;
    cursor: pointer;
    transition: background .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
    white-space: nowrap;
}
.ad-btn-primary { background: var(--ad-blue); color: #fff; }
.ad-btn-primary:hover { background: var(--ad-blue-dark); color: #fff; box-shadow: 0 8px 20px -8px rgba(46, 119, 184, .7); }
.ad-btn-green { background: var(--ad-green); color: #fff; }
.ad-btn-green:hover { background: var(--ad-green-dark); color: #fff; box-shadow: 0 8px 20px -8px rgba(67, 160, 71, .7); }
.ad-btn-dark { background: var(--ad-ink); color: #fff; }
.ad-btn-dark:hover { background: #101416; color: #fff; }
.ad-btn-light { background: #fff; color: var(--ad-ink); border-color: var(--ad-line); }
.ad-btn-light:hover { background: var(--ad-bg-alt); }
.ad-btn-outline { background: transparent; color: var(--ad-ink); border-color: #C3C7CA; }
.ad-btn-outline:hover { border-color: var(--ad-ink); background: var(--ad-bg-alt); }
.ad-btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.34); }
.ad-btn-outline-light:hover { background: rgba(255,255,255,.12); color: #fff; }
.ad-btn-lg { padding: 15px 28px; font-size: 1rem; }
.ad-btn-sm { padding: 9px 16px; font-size: .8125rem; }
.ad-btn-block { width: 100%; }

.ad-header .ad-btn-primary { padding: 11px 20px; font-size: .875rem; }

/* Mobile Toggle */
.ad-mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px; height: 42px;
    border: 1px solid var(--ad-line);
    border-radius: var(--ad-radius-sm);
    background: #fff;
    color: var(--ad-ink);
    font-size: 1.05rem;
    cursor: pointer;
}

@media (min-width: 1024px) {
    .ad-nav { display: flex; }
    .ad-mobile-toggle { display: none; }
}

/* ------------------------------------------------- Mobile Sidebar (AutoDeal) */
.ad-sidebar {
    position: fixed;
    inset: 0;
    z-index: 90;
    visibility: hidden;
    pointer-events: none;
    /* Das Panel wird per translateX(100%) aus dem Bild geschoben. Ohne Clipping
       vergrößert es den Scrollbereich und erzeugt auf Mobilgeräten einen
       horizontalen Überlauf (weißer Streifen am rechten Rand). */
    overflow: hidden;
}
.ad-sidebar.open { visibility: visible; pointer-events: auto; }
.ad-sidebar-overlay {
    position: absolute;
    inset: 0;
    background: rgba(8, 14, 26, .55);
    opacity: 0;
    transition: opacity .25s ease;
}
.ad-sidebar.open .ad-sidebar-overlay { opacity: 1; }
.ad-sidebar-panel {
    position: absolute;
    top: 0; right: 0;
    width: min(340px, 88vw);
    height: 100%;
    background: #fff;
    box-shadow: -20px 0 60px rgba(15, 23, 42, .22);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform .28s cubic-bezier(.4, 0, .2, 1);
    overflow-y: auto;
}
.ad-sidebar.open .ad-sidebar-panel { transform: translateX(0); }
.ad-sidebar-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid var(--ad-line);
}
.ad-sidebar-head img { height: 30px; width: auto; max-width: 170px; object-fit: contain; }
.ad-sidebar-close {
    width: 38px; height: 38px;
    border: 1px solid var(--ad-line);
    border-radius: 50%;
    background: #fff;
    color: var(--ad-ink);
    cursor: pointer;
}
.ad-sidebar-nav { padding: 12px; display: flex; flex-direction: column; gap: 2px; }
.ad-sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 14px;
    border-radius: var(--ad-radius-sm);
    color: var(--ad-ink-soft);
    font-size: .9375rem;
    font-weight: 500;
    text-decoration: none;
    transition: background .16s ease, color .16s ease;
}
.ad-sidebar-nav a:hover { background: var(--ad-bg-alt); color: var(--ad-blue); }
.ad-sidebar-nav a.ad-nav-active { background: var(--ad-blue-soft); color: var(--ad-blue); }
.ad-sidebar-nav a i:first-child { width: 20px; text-align: center; color: var(--ad-muted); }
.ad-sidebar-nav a.ad-nav-active i:first-child { color: var(--ad-blue); }
.ad-sidebar-nav a i:last-child { margin-left: auto; font-size: .7rem; color: var(--ad-muted-light); }
.ad-sidebar-foot { margin-top: auto; padding: 18px 20px 26px; border-top: 1px solid var(--ad-line); }
.ad-sidebar-foot .ad-btn { width: 100%; }

/* ============================================================ HERO */
.ad-hero {
    position: relative;
    overflow: hidden;
    background: var(--ad-dark);
    color: #fff;
    isolation: isolate;
}
.ad-hero-media {
    position: absolute;
    inset: 0;
    z-index: -2;
}
.ad-hero-media img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center right;
}
.ad-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(6, 11, 24, .94) 0%, rgba(6, 11, 24, .82) 38%, rgba(6, 11, 24, .35) 66%, rgba(6, 11, 24, .12) 100%),
        linear-gradient(180deg, rgba(6, 11, 24, .55) 0%, rgba(6, 11, 24, 0) 40%);
}

.ad-hero-inner {
    padding: 70px 0 90px;
    min-height: 470px;
    display: flex;
    align-items: center;
}
.ad-hero-copy { max-width: 620px; }
.ad-eyebrow {
    display: inline-block;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #cbd5e1;
    margin-bottom: 18px;
}
.ad-hero-title {
    font-size: clamp(2.25rem, 4.4vw, 3.9rem);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -0.035em;
    margin: 0 0 22px;
    color: #fff;
}
.ad-hero-title .ad-accent { display: block; color: var(--ad-blue-light); }
.ad-hero-sub {
    font-size: 1.0625rem;
    line-height: 1.65;
    color: rgba(226, 232, 240, .92);
    margin: 0 0 30px;
    max-width: 520px;
}
.ad-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.ad-hero-note {
    position: absolute;
    right: 32px;
    bottom: 96px;
    z-index: 2;
    text-align: right;
    font-size: .8125rem;
    color: rgba(226, 232, 240, .75);
    border-right: 2px solid rgba(148, 163, 184, .5);
    padding-right: 14px;
    line-height: 1.5;
    display: none;
}
@media (min-width: 1100px) { .ad-hero-note { display: block; } }


/* Hero-Variante: kompakt (Unterseiten) */
.ad-hero-compact .ad-hero-inner { min-height: 380px; padding: 56px 0 72px; }

/* Breadcrumb */
.ad-breadcrumb {
    background: #fff;
    border-bottom: 1px solid var(--ad-line);
    padding: 14px 0;
    font-size: .875rem;
    color: var(--ad-muted);
}
.ad-breadcrumb ol {
    display: flex; align-items: center; gap: 8px;
    list-style: none; margin: 0; padding: 0; flex-wrap: wrap;
}
.ad-breadcrumb a { color: var(--ad-ink-soft); text-decoration: none; }
.ad-breadcrumb a:hover { color: var(--ad-blue); }
.ad-breadcrumb i { font-size: .6rem; color: var(--ad-muted-light); }
.ad-breadcrumb [aria-current] { color: var(--ad-blue); font-weight: 600; }

/* ============================================================ SEARCH CARD (Tabs) */
.ad-search-wrap {
    position: relative;
    z-index: 20;
    margin-top: -70px;
}
.ad-search-card {
    background: #fff;
    border: 1px solid var(--ad-line);
    border-radius: var(--ad-radius-lg);
    box-shadow: var(--ad-shadow-lg);
    overflow: hidden;
}
.ad-search-tabs {
    display: flex;
    align-items: stretch;
    gap: 4px;
    border-bottom: 1px solid var(--ad-line);
    padding: 0 12px;
    background: #fff;
    overflow-x: auto;
    scrollbar-width: none;
}
.ad-search-tabs::-webkit-scrollbar { display: none; }
.ad-search-tab {
    position: relative;
    padding: 18px 18px 16px;
    border: 0;
    background: transparent;
    font-family: var(--ad-font);
    font-size: .9375rem;
    font-weight: 500;
    color: var(--ad-muted);
    cursor: pointer;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.ad-search-tab:hover { color: var(--ad-ink); }
.ad-search-tab.ad-tab-active { color: var(--ad-ink); font-weight: 600; }
.ad-search-tab.ad-tab-active::after {
    content: "";
    position: absolute;
    left: 12px; right: 12px; bottom: -1px;
    height: 3px; border-radius: 3px 3px 0 0;
    background: var(--ad-blue);
}
.ad-search-body { padding: 22px; }
.ad-search-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
@media (min-width: 720px) { .ad-search-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.ad-field { position: relative; }
.ad-field label {
    display: block;
    font-size: .6875rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ad-muted);
    margin-bottom: 7px;
}
.ad-input,
.ad-select,
.ad-textarea {
    width: 100%;
    font-family: var(--ad-font);
    font-size: .9375rem;
    color: var(--ad-ink);
    background: #fff;
    border: 1px solid var(--ad-line);
    border-radius: var(--ad-radius-sm);
    padding: 12px 14px;
    transition: border-color .16s ease, box-shadow .16s ease;
    appearance: none;
}
.ad-select {
    padding-right: 38px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2364748b' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}
.ad-textarea { min-height: 130px; resize: vertical; }
.ad-input:focus,
.ad-select:focus,
.ad-textarea:focus {
    outline: none;
    border-color: var(--ad-blue);
    box-shadow: 0 0 0 3px rgba(46, 119, 184, .16);
}
.ad-input::placeholder, .ad-textarea::placeholder { color: #a3aebf; }

.ad-input-icon { position: relative; }
.ad-input-icon .ad-input { padding-left: 42px; }
.ad-input-icon > i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ad-muted-light);
    font-size: .9rem;
    pointer-events: none;
}

.ad-search-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--ad-line-soft);
    flex-wrap: wrap;
}
.ad-advanced-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .875rem;
    font-weight: 600;
    color: var(--ad-blue);
    text-decoration: none;
}
.ad-advanced-link:hover { text-decoration: underline; }

/* Live-Trefferzahl in den Such-Panels (Kaufen + Mieten) */
.ad-rent-count {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    align-self: center;
    min-width: 0;
    max-width: 100%;
    font-size: .875rem;
    color: var(--ad-muted);
    transition: opacity .18s ease;
}
.ad-rent-count strong {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--ad-ink);
    line-height: 1;
    flex-shrink: 0;
}
/* Label darf umbrechen – verhindert horizontalen Überlauf auf schmalen Geräten */
.ad-rent-count > span {
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
}
.ad-rent-count-loading { opacity: .45; }
.ad-rent-count-empty strong { color: #dc2626; }

/* Auf schmalen Geräten: Zähler unter den Button, volle Zeile */
@media (max-width: 640px) {
    .ad-search-actions { flex-wrap: wrap; }
    .ad-rent-count { width: 100%; align-self: flex-start; }
}

.ad-search-alt {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
}
.ad-search-alt > i {
    width: 52px; height: 52px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--ad-blue-soft);
    color: var(--ad-blue);
    font-size: 1.15rem;
}
.ad-search-alt h3 { font-size: 1.125rem; font-weight: 700; margin: 0 0 6px; color: var(--ad-ink); }
.ad-search-alt p { margin: 0; color: var(--ad-muted); font-size: .9375rem; line-height: 1.6; }

/* ============================================================ TRUST BAR */
.ad-trustbar {
    background: #fff;
    border-bottom: 1px solid var(--ad-line-soft);
    padding: 26px 0;
}
.ad-trustbar-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}
@media (min-width: 900px) { .ad-trustbar-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ad-trust-item { display: flex; align-items: center; gap: 14px; }
.ad-trust-icon {
    width: 44px; height: 44px;
    flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--ad-green-soft);
    color: var(--ad-green);
    font-size: 1.05rem;
}
.ad-trust-item strong { display: block; font-size: .9375rem; color: var(--ad-ink); font-weight: 600; }
.ad-trust-item span { display: block; font-size: .8125rem; color: var(--ad-muted); margin-top: 2px; }

/* ------------------------------------------------------------
   Trust Bar – animierte Loop-Cards (Startseite)
   Cards im hellen Website-Look, Icons/Animationen im Hero-Stil
   ------------------------------------------------------------ */
.ad-trustbar-dark {
    position: relative;
    background: #fff;
    border-bottom: 1px solid var(--ad-line-soft);
    padding: 30px 0;
}

.ad-trustbar-dark .ad-trustbar-grid { gap: 16px; }

.ad-trustbar-dark .ad-trust-item {
    position: relative;
    overflow: hidden;
    padding: 20px 18px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid var(--ad-line);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .9),
        0 1px 2px rgba(28, 33, 37, .05),
        0 12px 26px -18px rgba(28, 33, 37, .28);
    transition:
        transform .38s cubic-bezier(.22, 1, .36, 1),
        border-color .38s ease,
        box-shadow .38s ease,
        background .38s ease;
    animation: ad-trust-card-in .72s cubic-bezier(.22, 1, .36, 1) both;
}
.ad-trustbar-dark .ad-trust-item:nth-child(1) { animation-delay: .04s; --tc: 122, 180, 236; }
.ad-trustbar-dark .ad-trust-item:nth-child(2) { animation-delay: .13s; --tc: 93, 185, 98; }
.ad-trustbar-dark .ad-trust-item:nth-child(3) { animation-delay: .22s; --tc: 96, 205, 199; }
.ad-trustbar-dark .ad-trust-item:nth-child(4) { animation-delay: .31s; --tc: 148, 163, 184; }

/* Loop-Sheen, der dauerhaft über die Karte wandert */
.ad-trustbar-dark .ad-trust-item::after {
    content: "";
    position: absolute;
    inset: -1px;
    background: linear-gradient(112deg,
        transparent 28%,
        rgba(46, 119, 184, .10) 46%,
        rgba(46, 119, 184, .05) 55%,
        transparent 70%);
    transform: translateX(-125%);
    animation: ad-trust-sheen 6s ease-in-out infinite;
    pointer-events: none;
}
.ad-trustbar-dark .ad-trust-item:nth-child(1)::after { animation-delay: .4s; }
.ad-trustbar-dark .ad-trust-item:nth-child(2)::after { animation-delay: 1.5s; }
.ad-trustbar-dark .ad-trust-item:nth-child(3)::after { animation-delay: 2.6s; }
.ad-trustbar-dark .ad-trust-item:nth-child(4)::after { animation-delay: 3.7s; }

/* feiner Farb-Glow oben je Karte */
.ad-trustbar-dark .ad-trust-item::before {
    content: "";
    position: absolute;
    top: 0; left: 14%; right: 14%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(var(--tc, 122, 180, 236), .85), transparent);
    opacity: .65;
    transition: opacity .38s ease;
    z-index: 2;
}

.ad-trustbar-dark .ad-trust-item:hover {
    transform: translateY(-5px);
    border-color: rgba(var(--tc, 122, 180, 236), .55);
    background:
        radial-gradient(420px 170px at 0% -20%, rgba(var(--tc, 122, 180, 236), .13), transparent 68%),
        radial-gradient(360px 160px at 100% 130%, rgba(67, 160, 71, .10), transparent 66%),
        #fff;
    box-shadow:
        0 1px 2px rgba(28, 33, 37, .05),
        0 18px 34px -18px rgba(28, 33, 37, .30),
        0 0 0 1px rgba(var(--tc, 122, 180, 236), .16),
        0 0 26px -12px rgba(var(--tc, 122, 180, 236), .45);
}
.ad-trustbar-dark .ad-trust-item:hover::before { opacity: 1; }
.ad-trustbar-dark .ad-trust-item:hover::after { animation-duration: 2.6s; }

/* Icon: dunkler Chip mit rotierendem Licht-Ring */
.ad-trustbar-dark .ad-trust-icon {
    position: relative;
    width: 46px; height: 46px;
    margin-top: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background:
        radial-gradient(circle at 30% 25%, rgba(var(--tc, 122, 180, 236), .26), transparent 68%),
        linear-gradient(160deg, #0D1A30, #060B18);
    border: 1px solid rgba(var(--tc, 122, 180, 236), .38);
    color: rgb(var(--tc, 122, 180, 236));
    box-shadow:
        inset 0 0 12px -4px rgba(var(--tc, 122, 180, 236), .55),
        0 6px 16px -10px rgba(0, 0, 0, .9);
    font-size: 1.05rem;
    transition: transform .38s ease, box-shadow .38s ease;
}
.ad-trustbar-dark .ad-trust-icon::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: conic-gradient(from 0deg,
        transparent 0deg,
        rgba(var(--tc, 122, 180, 236), .95) 70deg,
        transparent 150deg,
        transparent 360deg);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
    animation: ad-trust-ring 4.5s linear infinite;
    pointer-events: none;
}
.ad-trustbar-dark .ad-trust-item:hover .ad-trust-icon {
    transform: scale(1.06);
    box-shadow:
        inset 0 0 14px -3px rgba(var(--tc, 122, 180, 236), .75),
        0 10px 22px -12px rgba(var(--tc, 122, 180, 236), .8);
}

.ad-trustbar-dark .ad-trust-copy { min-width: 0; }

/* Typografie */
.ad-trustbar-dark .ad-trust-item strong {
    color: var(--ad-ink);
    font-weight: 700;
    letter-spacing: -.01em;
}
.ad-trustbar-dark .ad-trust-item span:not(.ad-trust-icon) {
    color: var(--ad-muted);
}

@keyframes ad-trust-card-in {
    from { opacity: 0; transform: translateY(16px) scale(.985); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes ad-trust-sheen {
    0%   { transform: translateX(-125%); opacity: 0; }
    12%  { opacity: 1; }
    55%  { opacity: 1; }
    78%  { transform: translateX(125%); opacity: 0; }
    100% { transform: translateX(125%); opacity: 0; }
}
@keyframes ad-trust-ring {
    to { transform: rotate(360deg); }
}

@media (max-width: 560px) {
    .ad-trustbar-dark { padding: 24px 0; }
    .ad-trustbar-dark .ad-trustbar-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .ad-trustbar-dark .ad-trust-item { padding: 16px; }
}

@media (prefers-reduced-motion: reduce) {
    .ad-trustbar-dark .ad-trust-item,
    .ad-trustbar-dark .ad-trust-item::after,
    .ad-trustbar-dark .ad-trust-icon::after {
        animation: none !important;
    }
    .ad-trustbar-dark .ad-trust-item { opacity: 1; transform: none; }
    .ad-trustbar-dark .ad-trust-item::after { opacity: 0; }
    .ad-trustbar-dark .ad-trust-item:hover { transform: none; }
}

/* ============================================================ SECTIONS */
.ad-section { padding: 68px 0; }
.ad-section-tight { padding: 44px 0; }
.ad-section-alt { background: var(--ad-bg-alt); }

.ad-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 34px;
}
.ad-section-eyebrow {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--ad-green);
    margin: 0 0 10px;
}
/* Auf dunklen Bild-/Hero-Flächen helleres Markengrün für ausreichenden Kontrast */
.ad-banner-body .ad-section-eyebrow,
.ad-service-media-body .ad-section-kind,
.ad-service-media-body .ad-section-eyebrow,
.ad-hero .ad-eyebrow {
    color: #8FD994;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .45);
}
.ad-section-title {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: var(--ad-ink);
    margin: 0;
}
/* Einspaltige Kopfzeile (Eyebrow + Titel + Sub) - ersetzt Inline-Styles */
.ad-section-head-stack {
    display: block;
    margin-bottom: 34px;
}
/* Inline-Variante innerhalb des Service-Cards (war Inline-Style) */
.ad-service-media-body .ad-service-kind {
    margin-bottom: 8px;
}
/* Abschluss-Banner: Abstand nach unten (war Inline-Style) */
.ad-section-tight.ad-section-cta-bottom {
    padding-bottom: 72px;
}
.ad-section-sub,
.ad-section-lead {
    color: var(--ad-muted);
    font-size: 1rem;
    line-height: 1.7;
    margin: 12px 0 0;
    max-width: 640px;
}
/* Anker-Sprünge in Service-Blöcken nicht unter dem Sticky-Header verstecken */
.ad-service-block[id],
.ad-section[id],
.ad-promo[id] {
    scroll-margin-top: 96px;
}
.ad-link-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .9375rem;
    font-weight: 600;
    color: var(--ad-blue);
    text-decoration: none;
    white-space: nowrap;
}
.ad-link-more:hover { gap: 12px; }

/* ============================================================ CAR GRID CARDS */
.ad-cars-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 24px;
}
@media (min-width: 560px) { .ad-cars-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .ad-cars-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.ad-car-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--ad-line);
    border-radius: var(--ad-radius);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
    height: 100%;
}
.ad-car-card:hover {
    border-color: #cbd5e1;
    box-shadow: var(--ad-shadow-lg);
    transform: translateY(-3px);
}
.ad-car-media {
    position: relative;
    aspect-ratio: 16 / 10;
    background: var(--ad-bg-alt);
    overflow: hidden;
}
.ad-car-media img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.ad-car-card:hover .ad-car-media img { transform: scale(1.045); }

.ad-badges {
    position: absolute;
    top: 12px; left: 12px;
    display: flex; flex-wrap: wrap; gap: 6px;
    z-index: 2;
}
.ad-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: .6875rem;
    font-weight: 700;
    letter-spacing: .02em;
    background: #fff;
    color: var(--ad-ink);
    box-shadow: 0 1px 3px rgba(15, 23, 42, .16);
}
.ad-badge-green { background: var(--ad-green-soft); color: var(--ad-green-dark); }
.ad-badge-blue { background: var(--ad-blue-soft); color: var(--ad-blue-dark); }
.ad-badge-amber { background: #fef3c7; color: #b45309; }
.ad-badge-slate { background: var(--ad-grey-soft); color: var(--ad-ink-soft); }
.ad-badge-dark { background: var(--ad-ink); color: #fff; }

.ad-fav {
    position: absolute;
    top: 12px; right: 12px;
    z-index: 2;
    width: 36px; height: 36px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .94);
    color: var(--ad-ink-soft);
    border: 0;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(15, 23, 42, .16);
    transition: color .16s ease, background .16s ease;
}
.ad-fav:hover { color: #e11d48; background: #fff; }

.ad-car-photos {
    position: absolute;
    bottom: 10px; left: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 9px;
    border-radius: 5px;
    background: rgba(15, 23, 42, .68);
    color: #fff;
    font-size: .75rem;
    font-weight: 500;
    backdrop-filter: blur(3px);
}

.ad-car-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.ad-car-brand {
    font-size: .6875rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ad-blue);
    margin-bottom: 6px;
}
.ad-car-title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--ad-ink);
    margin: 0 0 6px;
    letter-spacing: -0.01em;
    line-height: 1.3;
}
.ad-car-meta {
    font-size: .8125rem;
    color: var(--ad-muted);
    margin: 0 0 14px;
    line-height: 1.5;
}
.ad-car-price {
    font-size: 1.375rem;
    font-weight: 800;
    color: var(--ad-ink);
    letter-spacing: -0.02em;
    margin-top: auto;
}
.ad-car-price small { font-size: .8125rem; font-weight: 500; color: var(--ad-muted); }
.ad-car-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--ad-line-soft);
}
.ad-car-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: .875rem;
    font-weight: 600;
    color: var(--ad-blue);
}
.ad-car-card:hover .ad-car-link { gap: 11px; }

/* ============================================================ CARS LIST VIEW */
.ad-car-list { display: flex; flex-direction: column; gap: 20px; }

/* Raster-Modus: Listenzeilen werden zu Karten */
.ad-cars-grid .ad-car-row {
    display: flex;
    flex-direction: column;
    border-radius: var(--ad-radius);
    overflow: hidden;
    transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.ad-cars-grid .ad-car-row:hover {
    box-shadow: var(--ad-shadow-lg);
    transform: translateY(-3px);
}
.ad-cars-grid .ad-car-row .ad-car-media {
    aspect-ratio: 16 / 10;
    height: auto;
    border-radius: 0;
}
.ad-cars-grid .ad-car-row-body {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 16px 18px 18px;
}
.ad-cars-grid .ad-car-row-body > div:first-child { flex: 1; }
.ad-cars-grid .ad-car-row .ad-car-title { font-size: 1.0625rem !important; margin-bottom: 6px !important; }
.ad-cars-grid .ad-car-row .ad-rent-inline {
    flex-direction: column;
    gap: 5px;
    margin: 10px 0;
    font-size: .75rem;
}
.ad-cars-grid .ad-car-row .ad-rent-inline > span { justify-content: space-between; }
.ad-cars-grid .ad-car-row .ad-specs-inline { display: none; }
.ad-cars-grid .ad-car-row-price {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    text-align: left;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--ad-line-soft);
}
@media (min-width: 760px) {
    .ad-cars-grid .ad-car-row-price { align-items: center; text-align: left; }
}
.ad-cars-grid .ad-car-row-price .ad-btn { flex: 0 0 auto; }
.ad-cars-grid .ad-car-row-price .ad-compare { display: none; }

.ad-car-row {
    display: grid;
    grid-template-columns: 1fr;
    background: #fff;
    border: 1px solid var(--ad-line);
    border-radius: var(--ad-radius);
    overflow: hidden;
    transition: box-shadow .2s ease, border-color .2s ease;
}
.ad-car-row:hover { box-shadow: var(--ad-shadow); border-color: #cbd5e1; }
@media (min-width: 860px) { .ad-car-row { grid-template-columns: 320px 1fr; } }

.ad-car-row .ad-car-media { aspect-ratio: 16 / 10; height: 100%; }
.ad-car-row-body {
    padding: 20px 22px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
@media (min-width: 760px) {
    .ad-car-row-body { grid-template-columns: 1fr 190px; align-items: start; }
}
.ad-specs-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    margin: 12px 0 10px;
    font-size: .8125rem;
    color: var(--ad-muted);
}
.ad-specs-inline span { display: inline-flex; align-items: center; gap: 7px; }
.ad-specs-inline i { color: var(--ad-muted-light); font-size: .8rem; }
.ad-car-location {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: .8125rem;
    color: var(--ad-muted);
}
.ad-car-location i { color: var(--ad-muted-light); }
.ad-car-row-price { display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 760px) { .ad-car-row-price { align-items: flex-end; text-align: right; } }
.ad-compare {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: .8125rem;
    font-weight: 500;
    color: var(--ad-blue);
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
}

/* ============================================================ FILTER SIDEBAR */
.ad-cars-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: start;
}
@media (min-width: 1024px) { .ad-cars-layout { grid-template-columns: 290px 1fr; gap: 34px; } }

.ad-filter-panel {
    background: #fff;
    border: 1px solid var(--ad-line);
    border-radius: var(--ad-radius);
    padding: 22px;
    position: sticky;
    top: calc(var(--ad-header-h) + 16px);
}
.ad-filter-head {
    display: flex; align-items: center; justify-content: space-between;
    gap: 10px; margin-bottom: 18px;
}
.ad-filter-head h2 { font-size: 1.0625rem; font-weight: 800; margin: 0; color: var(--ad-ink); }
.ad-filter-group { margin-bottom: 20px; }
.ad-filter-group > label,
.ad-filter-group > .ad-filter-label {
    display: block;
    font-size: .8125rem;
    font-weight: 600;
    color: var(--ad-ink-soft);
    margin-bottom: 8px;
}
.ad-check {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: .875rem;
    color: var(--ad-ink-soft);
    padding: 5px 0;
    cursor: pointer;
}
.ad-check input[type="checkbox"] {
    width: 16px; height: 16px;
    border-radius: 4px;
    border: 1.5px solid #cbd5e1;
    accent-color: var(--ad-blue);
    cursor: pointer;
}
.ad-price-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ad-filter-foot {
    margin-top: 6px;
    padding-top: 16px;
    border-top: 1px solid var(--ad-line-soft);
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ad-clear-link {
    display: inline-flex; align-items: center; justify-content: center; gap: 7px;
    font-size: .8125rem; font-weight: 600; color: var(--ad-muted);
    background: none; border: 0; cursor: pointer; padding: 6px 0;
}
.ad-clear-link:hover { color: var(--ad-blue); }

.ad-results-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.ad-results-count { font-size: 1.375rem; font-weight: 800; color: var(--ad-ink); margin: 0; letter-spacing: -0.02em; }
.ad-sort-wrap { display: flex; align-items: center; gap: 10px; }
.ad-sort-wrap label { font-size: .8125rem; color: var(--ad-muted); white-space: nowrap; }
.ad-sort-wrap .ad-select { min-width: 170px; padding-top: 9px; padding-bottom: 9px; font-size: .875rem; }
.ad-view-toggle { display: none; gap: 6px; }
@media (min-width: 720px) { .ad-view-toggle { display: inline-flex; } }
.ad-view-btn {
    width: 38px; height: 38px;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid var(--ad-line);
    border-radius: 6px;
    background: #fff;
    color: var(--ad-muted);
    cursor: pointer;
}
.ad-view-btn.active { background: var(--ad-blue); border-color: var(--ad-blue); color: #fff; }

.ad-active-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.ad-tag {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--ad-blue-soft);
    color: var(--ad-blue-dark);
    font-size: .8125rem;
    font-weight: 500;
}
.ad-tag button { background: none; border: 0; color: inherit; cursor: pointer; padding: 0; display: inline-flex; }

/* Pagination */
.ad-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 40px;
    flex-wrap: wrap;
}
.ad-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--ad-line);
    border-radius: 6px;
    background: #fff;
    color: var(--ad-ink-soft);
    font-size: .875rem;
    font-weight: 500;
    text-decoration: none;
    transition: border-color .16s ease, color .16s ease;
}
.ad-page-btn:hover { border-color: var(--ad-blue); color: var(--ad-blue); }
.ad-page-btn.active { background: var(--ad-blue); border-color: var(--ad-blue); color: #fff; font-weight: 600; }
.ad-page-btn.disabled { opacity: .45; pointer-events: none; }
.ad-page-dots { color: var(--ad-muted); padding: 0 6px; }

/* ============================================================ BANNERS / CTA */
.ad-banner {
    position: relative;
    overflow: hidden;
    border-radius: var(--ad-radius-lg);
    background: var(--ad-dark);
    color: #fff;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: 250px;
    text-decoration: none;
}
.ad-banner-media { position: absolute; inset: 0; z-index: -2; }
.ad-banner-media img { width: 100%; height: 100%; object-fit: cover; }
.ad-banner::after {
    content: "";
    position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(90deg, rgba(6, 11, 24, .94) 0%, rgba(6, 11, 24, .72) 46%, rgba(6, 11, 24, .1) 100%);
}
.ad-banner-body { padding: 40px 44px; max-width: 620px; position: relative; z-index: 2; }
.ad-banner-body h2 {
    font-size: clamp(1.6rem, 2.6vw, 2.2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.18;
    margin: 0 0 12px;
    color: #fff;
}
.ad-banner-body p { color: rgba(226, 232, 240, .88); font-size: .9375rem; line-height: 1.65; margin: 0 0 24px; max-width: 440px; }

.ad-banner-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    align-content: center;
    padding: 34px 40px;
    position: relative;
    z-index: 2;
}
@media (min-width: 900px) { .ad-banner-features { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 560px; margin-left: auto; } }
.ad-banner-feature { display: flex; align-items: flex-start; gap: 12px; }
.ad-banner-feature i {
    width: 38px; height: 38px; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: rgba(67, 160, 71, .22);
    color: var(--ad-green-light);
    font-size: .95rem;
}
.ad-banner-feature strong { display: block; font-size: .875rem; font-weight: 600; color: #fff; }
.ad-banner-feature span { display: block; font-size: .75rem; color: rgba(203, 213, 225, .8); margin-top: 2px; }

.ad-banner-2 { display: grid; grid-template-columns: 1fr; }
@media (min-width: 900px) { .ad-banner-2 { grid-template-columns: 1fr 1fr; } }

/* Zwei nebeneinander liegende Promo-Karten */
.ad-promo-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 900px) { .ad-promo-grid { grid-template-columns: 1fr 1fr; } }
.ad-promo {
    position: relative;
    overflow: hidden;
    border-radius: var(--ad-radius-lg);
    min-height: 210px;
    display: flex;
    align-items: flex-end;
    text-decoration: none;
    color: #fff;
    isolation: isolate;
    background: var(--ad-dark);
}
.ad-promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.ad-promo::after {
    content: "";
    position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(90deg, rgba(6, 11, 24, .92), rgba(6, 11, 24, .28));
}
.ad-promo-body { padding: 28px 30px; }
.ad-promo-body h3 { font-size: 1.375rem; font-weight: 800; margin: 0 0 6px; letter-spacing: -0.02em; color: #fff; }
.ad-promo-body p { font-size: .875rem; color: rgba(226, 232, 240, .85); margin: 0 0 18px; }

/* ============================================================ HOW IT WORKS */
.ad-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}
@media (min-width: 640px) { .ad-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .ad-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; } }
.ad-step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 10px 0;
    position: relative;
}
@media (min-width: 1024px) {
    .ad-step { padding: 0 26px; }
    .ad-step:not(:first-child)::before {
        content: "";
        position: absolute;
        left: 0; top: 24px;
        width: 1px; height: 52px;
        background: var(--ad-line);
    }
}
.ad-step-icon {
    width: 52px; height: 52px;
    flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--ad-green-soft);
    color: var(--ad-green);
    font-size: 1.15rem;
    position: relative;
}
.ad-step-num {
    position: absolute;
    top: -6px; right: -6px;
    font-size: .6875rem;
    font-weight: 800;
    color: var(--ad-green-dark);
    background: #fff;
    border-radius: 999px;
    padding: 1px 5px;
    border: 1px solid #C1E4C3;
}
.ad-step h3 { font-size: 1rem; font-weight: 700; margin: 2px 0 6px; color: var(--ad-ink); }
.ad-step p { font-size: .8125rem; color: var(--ad-muted); line-height: 1.6; margin: 0; }

/* ============================================================ SERVICES */
.ad-service-block {
    display: grid;
    grid-template-columns: 1fr;
    gap: 26px;
    background: var(--ad-bg-alt);
    border: 1px solid var(--ad-line-soft);
    border-radius: var(--ad-radius-lg);
    padding: 34px;
    margin-bottom: 28px;
}
@media (min-width: 1024px) {
    .ad-service-block { grid-template-columns: 1fr 1fr; gap: 40px; padding: 44px; align-items: stretch; }
}
.ad-service-copy { display: flex; flex-direction: column; justify-content: center; }
.ad-service-kind {
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--ad-green);
    margin: 0 0 12px;
}
.ad-service-title {
    font-size: clamp(1.6rem, 2.6vw, 2.1rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.16;
    color: var(--ad-ink);
    margin: 0 0 14px;
}
.ad-service-text { color: var(--ad-muted); font-size: .9375rem; line-height: 1.7; margin: 0 0 24px; }
.ad-service-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px 26px;
    margin-bottom: 28px;
}
@media (min-width: 560px) { .ad-service-features { grid-template-columns: 1fr 1fr; } }
.ad-service-feature { display: flex; gap: 12px; align-items: flex-start; }
.ad-service-feature i {
    width: 38px; height: 38px;
    flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--ad-green-soft);
    border: 1px solid #C1E4C3;
    color: var(--ad-green);
    font-size: .9rem;
}
.ad-service-feature strong { display: block; font-size: .875rem; font-weight: 600; color: var(--ad-ink); }
.ad-service-feature span { display: block; font-size: .8125rem; color: var(--ad-muted); margin-top: 2px; line-height: 1.5; }
.ad-service-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.ad-service-link { display: inline-flex; align-items: center; gap: 8px; font-size: .875rem; font-weight: 600; color: var(--ad-blue); text-decoration: none; }
.ad-service-link:hover { gap: 12px; }

.ad-service-media {
    position: relative;
    border-radius: var(--ad-radius);
    overflow: hidden;
    min-height: 320px;
    display: flex;
    align-items: flex-end;
    isolation: isolate;
    background: var(--ad-dark);
}
.ad-service-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.ad-service-media::after {
    content: "";
    position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(180deg, rgba(6, 11, 24, .1) 30%, rgba(6, 11, 24, .9) 100%);
}
.ad-service-media-body { padding: 26px 26px 22px; color: #fff; width: 100%; }
.ad-service-media-body h3 { font-size: 1.25rem; font-weight: 800; margin: 0 0 8px; letter-spacing: -0.02em; color: #fff; }
.ad-service-media-body p { font-size: .875rem; color: rgba(226, 232, 240, .85); margin: 0 0 20px; line-height: 1.6; }
.ad-service-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    border-top: 1px solid rgba(255, 255, 255, .18);
    padding-top: 16px;
}
.ad-service-stat { display: flex; align-items: flex-start; gap: 8px; }
.ad-service-stat i { color: var(--ad-green-light); font-size: .9rem; margin-top: 3px; }
.ad-service-stat strong { display: block; font-size: .9375rem; font-weight: 700; color: #fff; line-height: 1.2; }
.ad-service-stat span { display: block; font-size: .6875rem; color: rgba(203, 213, 225, .82); margin-top: 2px; }

/* ============================================================ CONTACT */
.ad-contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}
@media (min-width: 1024px) { .ad-contact-grid { grid-template-columns: 1.1fr 1fr; gap: 56px; } }

.ad-form-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) { .ad-form-grid-2 { grid-template-columns: 1fr 1fr; } }
.ad-form-group { display: flex; flex-direction: column; }
.ad-form-group label { font-size: .8125rem; font-weight: 600; color: var(--ad-ink-soft); margin-bottom: 7px; }
.ad-form-group label .req { color: #dc2626; }
.ad-form-hint { font-size: .75rem; color: var(--ad-muted); margin: 8px 0 0; line-height: 1.6; }
.ad-form-hint a { color: var(--ad-blue); text-decoration: underline; }

.ad-info-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px;
    border: 1px solid var(--ad-line);
    border-radius: var(--ad-radius);
    background: #fff;
    margin-bottom: 14px;
}
.ad-info-icon {
    width: 48px; height: 48px;
    flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--ad-green-soft);
    color: var(--ad-green);
    font-size: 1.1rem;
}
.ad-info-card h3 { font-size: .9375rem; font-weight: 700; margin: 0 0 6px; color: var(--ad-ink); }
.ad-info-card p { font-size: .875rem; color: var(--ad-muted); margin: 0 0 4px; line-height: 1.6; }
.ad-info-card a.ad-info-link { font-size: 1rem; font-weight: 700; color: var(--ad-blue); text-decoration: none; display: inline-block; margin-bottom: 6px; }
.ad-info-card a.ad-info-link:hover { text-decoration: underline; }
.ad-info-cta { display: inline-flex; align-items: center; gap: 7px; font-size: .8125rem; font-weight: 600; color: var(--ad-blue); text-decoration: none; margin-top: 6px; }

.ad-map {
    position: relative;
    border-radius: var(--ad-radius);
    overflow: hidden;
    border: 1px solid var(--ad-line);
    min-height: 240px;
    background: var(--ad-bg-alt);
}
.ad-map iframe { width: 100%; height: 100%; min-height: 240px; border: 0; display: block; }
.ad-map-card {
    position: absolute;
    top: 16px; left: 16px;
    background: #fff;
    border-radius: 8px;
    padding: 14px 16px;
    box-shadow: var(--ad-shadow);
    max-width: 240px;
    font-size: .8125rem;
    color: var(--ad-muted);
    line-height: 1.55;
}
.ad-map-card strong { display: block; color: var(--ad-ink); font-size: .875rem; margin-bottom: 4px; }

/* Locations */
.ad-locations-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 720px) { .ad-locations-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .ad-locations-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ad-location {
    background: #fff;
    border: 1px solid var(--ad-line);
    border-radius: var(--ad-radius);
    overflow: hidden;
    transition: box-shadow .2s ease, border-color .2s ease;
}
.ad-location:hover { box-shadow: var(--ad-shadow); border-color: #cbd5e1; }
.ad-location-media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--ad-bg-alt); }
.ad-location-media img { width: 100%; height: 100%; object-fit: cover; }
.ad-location-body { padding: 18px 20px 20px; }
.ad-location-body h3 { display: flex; align-items: center; gap: 8px; font-size: 1rem; font-weight: 700; margin: 0 0 10px; color: var(--ad-ink); }
.ad-location-body h3 i { color: var(--ad-green); font-size: .9rem; }
.ad-location-lines { font-size: .8125rem; color: var(--ad-muted); line-height: 1.65; margin-bottom: 12px; }
.ad-location-hours { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: .75rem; color: var(--ad-muted); margin-bottom: 14px; }
.ad-location-hours span { display: inline-flex; align-items: center; gap: 6px; }

/* ============================================================ FOOTER (AutoDeal) */
.ad-footer {
    background: #0b1220;
    color: #94a3b8;
    margin-top: 0;
}
.ad-footer-main { padding: 56px 0 40px; }
.ad-footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 34px;
}
@media (min-width: 640px) { .ad-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .ad-footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; } }

.ad-footer-brand .ad-logo-text { color: #fff; }
.ad-footer-brand .ad-logo-text span { color: var(--ad-green-light); }
.ad-footer-brand p { font-size: .875rem; line-height: 1.7; margin: 16px 0 20px; max-width: 340px; }
.ad-footer-social { display: flex; gap: 10px; }
.ad-footer-social a {
    width: 38px; height: 38px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
    color: #cbd5e1;
    text-decoration: none;
    font-size: .9rem;
    transition: background .18s ease, color .18s ease;
}
.ad-footer-social a:hover { background: var(--ad-blue); color: #fff; }

.ad-footer-title { font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin: 0 0 16px; }
.ad-footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ad-footer-links a { font-size: .875rem; color: #94a3b8; text-decoration: none; transition: color .16s ease; }
.ad-footer-links a:hover { color: #fff; }
.ad-footer-contact { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ad-footer-contact li { display: flex; gap: 10px; font-size: .875rem; line-height: 1.55; }
.ad-footer-contact i { color: var(--ad-green-light); font-size: .85rem; margin-top: 3px; }
.ad-footer-contact a { color: #cbd5e1; text-decoration: none; }
.ad-footer-contact a:hover { color: #fff; }

.ad-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding: 20px 0 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    font-size: .8125rem;
}
.ad-footer-legal { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.ad-footer-legal a { color: #94a3b8; text-decoration: none; }
.ad-footer-legal a:hover { color: #fff; }
.ad-footer-credit { color: #64748b; }
.ad-footer-credit a { color: #cbd5e1; text-decoration: none; }

/* Portal-User-Menü + Sprach-Dropdown (Header) */
.ad-portal-bar { position: relative; }
.portal-user-avatar {
    display: inline-flex; align-items: center; justify-content: center;
    width: 30px; height: 30px; border-radius: 50%;
    background: var(--ad-blue); color: #fff;
    font-size: .8125rem; font-weight: 700; text-transform: uppercase;
}
.portal-user-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 250px;
    background: #fff;
    border: 1px solid var(--ad-line);
    border-radius: var(--ad-radius);
    box-shadow: var(--ad-shadow-lg);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
    z-index: 70;
}
.ad-portal-bar.open .portal-user-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.portal-user-menu-head { padding: 10px 12px 12px; border-bottom: 1px solid var(--ad-line-soft); margin-bottom: 6px; }
.portal-user-menu-name { font-size: .875rem; font-weight: 700; color: var(--ad-ink); margin: 0; }
.portal-user-menu-sub { font-size: .6875rem; color: var(--ad-muted); margin: 2px 0 0; text-transform: uppercase; letter-spacing: .08em; }
.portal-user-menu-item {
    display: flex; align-items: center; gap: 10px;
    padding: 9px 12px; border-radius: 6px;
    font-size: .8125rem; color: var(--ad-ink-soft); text-decoration: none;
}
.portal-user-menu-item:hover { background: var(--ad-bg-alt); color: var(--ad-blue); }
.portal-user-menu-item i { width: 16px; text-align: center; color: var(--ad-muted); font-size: .8rem; }
.portal-user-menu-item:hover i { color: var(--ad-blue); }
.portal-user-menu-logout { color: #b91c1c; }
.portal-user-menu-logout i { color: #ef4444; }

.ad-lang-bar { position: relative; }
.lang-flag { width: 18px; height: 13px; border-radius: 2px; display: block; }
.lang-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 178px;
    background: #fff;
    border: 1px solid var(--ad-line);
    border-radius: var(--ad-radius);
    box-shadow: var(--ad-shadow-lg);
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
    z-index: 70;
}
.ad-lang-bar.open .lang-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-btn {
    display: flex; align-items: center; gap: 10px;
    width: 100%; padding: 9px 10px;
    border: 0; border-radius: 6px; background: transparent;
    font-family: var(--ad-font); font-size: .8125rem; color: var(--ad-ink-soft);
    cursor: pointer; text-align: left;
}
.lang-btn:hover { background: var(--ad-bg-alt); color: var(--ad-blue); }
.lang-btn.active { background: var(--ad-blue-soft); color: var(--ad-blue-dark); font-weight: 600; }

.ad-scroll-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 55;
    width: 46px; height: 46px;
    border: 0;
    border-radius: 50%;
    background: var(--ad-blue);
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 10px 24px -8px rgba(67, 160, 71, .75);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .22s ease, transform .22s ease, visibility .22s;
}
.ad-scroll-top.show { opacity: 1; visibility: visible; transform: translateY(0); }

/* Floating-Support-Button (ersetzt alten Rückruf-Button) */
.ad-fab {
    position: fixed;
    left: 22px;
    bottom: 22px;
    z-index: 55;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--ad-line);
    color: var(--ad-ink);
    font-size: .875rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 12px 28px -12px rgba(15, 23, 42, .35);
    transition: transform .18s ease, box-shadow .18s ease;
}
.ad-fab:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -14px rgba(15, 23, 42, .4); }
.ad-fab i { color: var(--ad-blue); }
@media (max-width: 640px) {
    .ad-fab span { display: none; }
    .ad-fab { padding: 14px; }
}

/* ============================================================ UTILITIES */
.ad-empty {
    text-align: center;
    padding: 60px 20px;
    border: 1px dashed var(--ad-line);
    border-radius: var(--ad-radius);
    background: var(--ad-bg-alt);
}
.ad-empty i { font-size: 2.2rem; color: var(--ad-muted-light); margin-bottom: 16px; display: block; }
.ad-empty h3 { font-size: 1.25rem; font-weight: 700; margin: 0 0 8px; color: var(--ad-ink); }
.ad-empty p { color: var(--ad-muted); font-size: .9375rem; margin: 0 0 22px; }

.ad-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 18px;
    border-radius: var(--ad-radius-sm);
    font-size: .875rem;
    line-height: 1.6;
    margin-bottom: 22px;
}
.ad-alert-success { background: var(--ad-green-soft); border: 1px solid #BFE3C1; color: var(--ad-green-dark); }
.ad-alert-error { background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; }
.ad-alert-info { background: var(--ad-blue-soft); border: 1px solid #C3DCEF; color: var(--ad-blue-dark); }

.ad-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: var(--ad-blue-soft);
    border: 1px solid #C3DCEF;
    border-radius: var(--ad-radius-sm);
    padding: 13px 16px;
    font-size: .8125rem;
    line-height: 1.6;
    color: var(--ad-blue-dark);
    margin-bottom: 22px;
}
.ad-notice a { color: var(--ad-blue); font-weight: 600; text-decoration: underline; }

.ad-mt-0 { margin-top: 0; }
.ad-hidden { display: none !important; }

/* ==========================================================================
   KOMPATIBILITÄTS-LAYER (ax-*) für Bestandsseiten
   ========================================================================== */

body:not(.ad-body) { background: #fff; }

.ax-page-wrap {
    width: 100%;
    max-width: var(--ad-container);
    margin: 0 auto;
    padding: 0 20px;
}
@media (min-width: 768px) { .ax-page-wrap { padding: 0 32px; } }

.ax-section { padding: 64px 0; }
.ax-section-light { background: #fff; }
.ax-page-section { padding: 56px 0; }
.ax-page-section-tight { padding: 28px 0; }
.ax-section-head { margin-bottom: 30px; }
.ax-section-head-split {
    display: flex; align-items: flex-end; justify-content: space-between;
    gap: 18px; flex-wrap: wrap; margin-bottom: 26px;
}
.ax-label {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: .75rem; font-weight: 700; letter-spacing: .16em;
    text-transform: uppercase; color: var(--ad-muted); margin: 0 0 10px;
}
.ax-label-sep { color: var(--ad-blue); }
.ax-section-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800; letter-spacing: -0.03em; line-height: 1.18;
    color: var(--ad-ink); margin: 0;
}
.ax-section-title-light { color: #fff; }
.ax-dot { display: none; }

.ax-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 22px; font-size: .9375rem; font-weight: 600;
    border-radius: var(--ad-radius-sm); border: 1px solid transparent;
    text-decoration: none; cursor: pointer;
    transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.ax-btn-primary { background: var(--ad-blue); color: #fff; }
.ax-btn-primary:hover { background: var(--ad-blue-dark); color: #fff; }
.ax-btn-ghost { background: transparent; color: var(--ad-ink); border-color: #cbd5e1; }
.ax-btn-ghost:hover { background: var(--ad-bg-alt); }
.ax-btn-dark { background: var(--ad-ink); color: #fff; }
.ax-btn-dark:hover { background: #020617; }

.ax-page-hero {
    position: relative;
    overflow: hidden;
    background: var(--ad-dark);
    color: #fff;
    padding: 72px 0 60px;
    isolation: isolate;
}
.ax-page-hero-media { position: absolute; inset: 0; z-index: -2; }
.ax-page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.ax-page-hero::after {
    content: "";
    position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(90deg, rgba(6, 11, 24, .93), rgba(6, 11, 24, .35));
}
.ax-page-hero-content {
    width: 100%; max-width: var(--ad-container);
    margin: 0 auto; padding: 0 20px; position: relative; z-index: 2;
}
@media (min-width: 768px) { .ax-page-hero-content { padding: 0 32px; } }
.ax-page-hero-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800; letter-spacing: -0.035em; line-height: 1.06;
    color: #fff; margin: 0 0 16px;
}
.ax-hero-accent { color: var(--ad-blue-light); }
.ax-page-hero-sub {
    font-size: 1rem; line-height: 1.65; color: rgba(226, 232, 240, .9);
    max-width: 560px; margin: 0 0 26px;
}

.ax-hero {
    position: relative; overflow: hidden; background: var(--ad-dark); color: #fff; isolation: isolate;
    min-height: 520px; display: flex; align-items: center;
}
.ax-hero-bg { position: absolute; inset: 0; }
.ax-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.ax-hero-inner { position: relative; z-index: 2; padding-top: 80px; padding-bottom: 100px; }
.ax-hero-title { font-size: clamp(2.1rem, 4.2vw, 3.6rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.06; color: #fff; margin: 0 0 20px; }
.ax-hero-sub { font-size: 1.0625rem; line-height: 1.65; color: rgba(226, 232, 240, .9); max-width: 540px; margin: 0 0 28px; }
.ax-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.ax-cta {
    background: var(--ad-dark); color: #fff; padding: 56px 0; position: relative; overflow: hidden;
}
.ax-cta-inner { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; position: relative; z-index: 2; }
.ax-cta-content, .ax-cta-text { max-width: 620px; }
.ax-cta-phone { display: block; font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; color: #fff; text-decoration: none; margin: 6px 0 10px; letter-spacing: -0.03em; }
.ax-cta-text { color: rgba(226, 232, 240, .8); font-size: .9375rem; line-height: 1.65; margin: 0 0 22px; }

.ax-card {
    background: #fff; border: 1px solid var(--ad-line);
    border-radius: var(--ad-radius); box-shadow: var(--ad-shadow);
}
.ax-form-input {
    width: 100%; font-family: var(--ad-font); font-size: .9375rem;
    color: var(--ad-ink); background: #fff;
    border: 1px solid var(--ad-line); border-radius: var(--ad-radius-sm);
    padding: 12px 14px; transition: border-color .16s ease, box-shadow .16s ease;
}
.ax-form-input:focus {
    outline: none; border-color: var(--ad-blue);
    box-shadow: 0 0 0 3px rgba(46, 119, 184, .16);
}
.ax-quick-link {
    display: flex; align-items: center; gap: 12px;
    padding: 12px; border-radius: var(--ad-radius-sm);
    text-decoration: none; color: inherit;
    transition: background .16s ease;
}
.ax-quick-link:hover { background: var(--ad-bg-alt); }
.ax-icon-chip {
    width: 40px; height: 40px; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%; background: var(--ad-blue-soft); color: var(--ad-blue); font-size: .9rem;
}

.ax-alert-success { background: #ecfdf5; border: 1px solid #a7f3d0; color: #047857; padding: 14px 18px; border-radius: var(--ad-radius-sm); font-size: .875rem; }
.ax-alert-error { background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; padding: 14px 18px; border-radius: var(--ad-radius-sm); font-size: .875rem; }

/* Alte Auto-Karten (index/andere Seiten) */
.ax-cars-grid {
    display: grid; grid-template-columns: repeat(1, minmax(0, 1fr)); gap: 24px;
}
@media (min-width: 560px) { .ax-cars-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .ax-cars-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.ax-car-card {
    display: flex; flex-direction: column; background: #fff;
    border: 1px solid var(--ad-line); border-radius: var(--ad-radius);
    overflow: hidden; text-decoration: none; color: inherit;
    transition: box-shadow .2s ease, transform .2s ease;
}
.ax-car-card:hover { box-shadow: var(--ad-shadow-lg); transform: translateY(-3px); }
.ax-car-card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ad-bg-alt); }
.ax-car-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.ax-car-card:hover .ax-car-card-media img { transform: scale(1.04); }
.ax-car-card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.ax-car-card-brand { font-size: .6875rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ad-blue); margin-bottom: 6px; }
.ax-car-card-title { font-size: 1.0625rem; font-weight: 700; color: var(--ad-ink); margin: 0 0 10px; }
.ax-car-card-price { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--ad-line-soft); }
.ax-price { font-size: 1.25rem; font-weight: 800; color: var(--ad-ink); }
.ax-price-request { font-size: .8125rem; font-weight: 600; color: var(--ad-muted); }
.ax-car-card-arrow { color: var(--ad-blue); }
.ax-car-card-specs { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; font-size: .75rem; color: var(--ad-muted); }
.ax-car-card-specs span { display: inline-flex; align-items: center; gap: 6px; }

.ax-badge {
    position: absolute; top: 12px; left: 12px; z-index: 2;
    padding: 5px 10px; border-radius: 5px;
    font-size: .6875rem; font-weight: 700;
    background: #fff; color: var(--ad-ink);
    box-shadow: 0 1px 3px rgba(15, 23, 42, .16);
}
.ax-badge-new { background: #dcfce7; color: #15803d; }
.ax-badge-hot { background: #fef3c7; color: #b45309; }
.ax-badge-cat { left: auto; right: 12px; background: var(--ad-ink); color: #fff; }

/* ============================================================ DETAIL PAGE */
.ad-detail-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: start;
}
/* Grid-Kinder duerfen nicht ueberlaufen (grosse Import-Bilder) */
.ad-detail-layout > * { min-width: 0; }
@media (min-width: 1024px) { .ad-detail-layout { grid-template-columns: 1.25fr 1fr; gap: 44px; } }

.ad-gallery-main {
    position: relative;
    aspect-ratio: 16 / 10;
    max-height: 520px;
    border-radius: var(--ad-radius-lg);
    overflow: hidden;
    background: var(--ad-bg-alt);
    /* Riesige Import-Bilder duerfen die Grid-Spalte nicht aufweiten */
    min-width: 0;
    max-width: 100%;
}
.ad-gallery-main img {
    width: 100%; height: 100%; object-fit: cover;
    max-height: 520px;
    cursor: zoom-in;
    transition: opacity .25s ease;
}
.ad-gallery-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 42px; height: 42px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .94);
    border: 0; color: var(--ad-ink);
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(15, 23, 42, .2);
    transition: transform .16s ease, background .16s ease;
    z-index: 3;
}
.ad-gallery-nav:hover { transform: translateY(-50%) scale(1.07); background: #fff; }
.ad-gallery-nav.prev { left: 14px; }
.ad-gallery-nav.next { right: 14px; }
.ad-gallery-counter {
    position: absolute; top: 14px; right: 14px; z-index: 3;
    padding: 6px 12px; border-radius: 6px;
    background: rgba(15, 23, 42, .68);
    color: #fff; font-size: .8125rem; font-weight: 500;
    backdrop-filter: blur(3px);
    display: inline-flex; align-items: center; gap: 6px;
}
.ad-thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 0;
    margin-top: 12px;
    scrollbar-width: none;
}
.ad-thumbs::-webkit-scrollbar { display: none; }
.ad-thumb {
    flex-shrink: 0;
    width: 84px; height: 60px;
    padding: 0;
    border: 2px solid var(--ad-line);
    border-radius: 8px;
    overflow: hidden;
    background: var(--ad-bg-alt);
    cursor: pointer;
    transition: border-color .16s ease;
}
.ad-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ad-thumb:hover { border-color: #94a3b8; }
.ad-thumb.active { border-color: var(--ad-blue); box-shadow: 0 0 0 2px rgba(46, 119, 184, .2); }

.ad-panel {
    background: #fff;
    border: 1px solid var(--ad-line);
    border-radius: var(--ad-radius);
    padding: 22px;
    margin-bottom: 18px;
}
.ad-panel h3 {
    display: flex; align-items: center; gap: 9px;
    font-size: 1rem; font-weight: 700; color: var(--ad-ink);
    margin: 0 0 16px;
}
.ad-panel h3 i { color: var(--ad-blue); font-size: .95rem; }

.ad-detail-brand {
    font-size: .75rem; font-weight: 700; letter-spacing: .1em;
    text-transform: uppercase; color: var(--ad-blue); margin-bottom: 6px;
}
.ad-detail-title {
    font-size: clamp(1.5rem, 2.6vw, 2.1rem);
    font-weight: 800; letter-spacing: -.03em; line-height: 1.15;
    color: var(--ad-ink); margin: 0 0 14px;
}
.ad-detail-price {
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    font-weight: 800; letter-spacing: -.035em;
    color: var(--ad-ink); line-height: 1.1;
}
.ad-detail-price small { font-size: .9375rem; font-weight: 500; color: var(--ad-muted); }

.ad-spec-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; }
.ad-spec-item { display: flex; align-items: flex-start; gap: 11px; }
.ad-spec-icon {
    width: 38px; height: 38px; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--ad-blue-soft); color: var(--ad-blue);
    font-size: .85rem;
}
.ad-spec-item .lbl { display: block; font-size: .6875rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ad-muted); }
.ad-spec-item .val { display: block; font-size: .875rem; font-weight: 600; color: var(--ad-ink); margin-top: 2px; }

.ad-feature-list { display: grid; grid-template-columns: 1fr; gap: 8px 20px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 640px) { .ad-feature-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .ad-feature-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ad-feature-list li {
    display: flex; align-items: flex-start; gap: 8px;
    font-size: .8125rem; color: var(--ad-ink-soft); line-height: 1.5;
}
.ad-feature-list li i { color: var(--ad-green); font-size: .7rem; margin-top: 4px; }

.ad-link-toggle {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%; margin-top: 14px; padding-top: 14px;
    border: 0; border-top: 1px solid var(--ad-line-soft);
    background: none; cursor: pointer;
    font-family: var(--ad-font); font-size: .8125rem; font-weight: 600;
    color: var(--ad-blue);
}
.ad-link-toggle i { transition: transform .2s ease; }

.ad-check-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 560px) { .ad-check-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ad-check-item {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 14px;
    background: var(--ad-bg-alt);
    border: 1px solid var(--ad-line-soft);
    border-radius: var(--ad-radius-sm);
}
.ad-check-item i { color: #15803d; font-size: .95rem; flex-shrink: 0; }
.ad-check-item .lbl { display: block; font-size: .6875rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ad-muted); }
.ad-check-item .val { display: block; font-size: .8125rem; font-weight: 600; color: var(--ad-ink); }

.ad-detail-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.ad-detail-cta .ad-btn { flex: 1; min-width: 120px; }

.ad-bookings { display: flex; flex-direction: column; gap: 9px; }
.ad-booking-row {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    font-size: .8125rem; color: var(--ad-muted);
}
.ad-booking-row span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.ad-booking-row .status { font-size: .6875rem; color: var(--ad-muted-light); }

/* Vermietung: Raten-Box in Listenzeilen */
.ad-rent-inline {
    display: flex; flex-wrap: wrap; gap: 8px 24px;
    margin: 12px 0 10px;
    padding: 10px 14px;
    background: var(--ad-bg-alt);
    border: 1px solid var(--ad-line-soft);
    border-radius: var(--ad-radius-sm);
    font-size: .8125rem;
}
.ad-rent-inline > span { display: inline-flex; align-items: baseline; gap: 6px; color: var(--ad-muted); }
.ad-rent-inline strong { color: var(--ad-ink); font-weight: 700; }

/* ============================================================ RENTAL (Mietfahrzeuge) */
.ad-rent-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--ad-line);
    border-radius: var(--ad-radius);
    overflow: hidden;
    transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
    height: 100%;
}
.ad-rent-card:hover { border-color: #cbd5e1; box-shadow: var(--ad-shadow-lg); transform: translateY(-3px); }
.ad-rent-rates {
    background: var(--ad-bg-alt);
    border: 1px solid var(--ad-line-soft);
    border-radius: var(--ad-radius-sm);
    padding: 12px 14px;
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.ad-rent-rates-title {
    font-size: .625rem; font-weight: 700; letter-spacing: .1em;
    text-transform: uppercase; color: var(--ad-muted-light); margin-bottom: 2px;
}
.ad-rent-rate { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font-size: .8125rem; }
.ad-rent-rate span:first-child { color: var(--ad-muted); }
.ad-rent-rate strong { color: var(--ad-ink); font-weight: 700; font-size: .875rem; }
.ad-rent-rate .ad-rate-km { font-size: .6875rem; color: var(--ad-muted-light); font-weight: 400; }
.ad-rent-deposit {
    display: flex; justify-content: space-between; gap: 10px;
    font-size: .75rem; color: var(--ad-muted-light);
    padding-top: 8px; border-top: 1px solid var(--ad-line);
}
.ad-rent-actions { display: flex; gap: 8px; padding-top: 14px; border-top: 1px solid var(--ad-line-soft); margin-top: auto; }
.ad-rent-actions .ad-btn { flex: 1; }

/* Miet-Rechner */
.ad-calc {
    background: #fff;
    border: 1px solid var(--ad-line);
    border-radius: var(--ad-radius-lg);
    box-shadow: var(--ad-shadow);
    overflow: hidden;
}
.ad-calc-head {
    display: flex; align-items: center; gap: 14px;
    padding: 18px 22px;
    border-bottom: 1px solid var(--ad-line-soft);
    background: var(--ad-bg-alt);
}
.ad-calc-head-icon {
    width: 42px; height: 42px; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 10px;
    background: var(--ad-blue-soft); color: var(--ad-blue); font-size: 1rem;
}
.ad-calc-head h2 { font-size: 1rem; font-weight: 800; margin: 0; color: var(--ad-ink); }
.ad-calc-head p { font-size: .75rem; color: var(--ad-muted); margin: 2px 0 0; }
.ad-calc-body { padding: 22px; }
.ad-calc-result {
    margin-top: 20px;
    border: 1px solid var(--ad-line);
    border-radius: var(--ad-radius-sm);
    background: var(--ad-bg-alt);
    padding: 20px;
}
.ad-calc-results-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    text-align: center;
}
@media (min-width: 720px) { .ad-calc-results-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ad-calc-label { font-size: .6875rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ad-muted); }
.ad-calc-value { font-size: 1rem; font-weight: 700; color: var(--ad-ink); margin-top: 5px; }
.ad-calc-value-lg { font-size: 1.35rem; font-weight: 800; color: var(--ad-blue); }
.ad-calc-note { font-size: .8125rem; text-align: center; margin-top: 14px; color: #15803d; }
.ad-calc-status { font-size: .8125rem; color: var(--ad-muted); }

/* ============================================================ KONTAKT: TABS + LEASING */
.ad-contact-tabs {
    display: flex;
    gap: 6px;
    margin: 24px 0 20px;
    border-bottom: 1px solid var(--ad-line-soft);
}
.ad-contact-tab {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 16px;
    border: 0;
    background: none;
    font-size: .875rem;
    font-weight: 600;
    color: var(--ad-muted);
    cursor: pointer;
    transition: color .18s ease;
}
.ad-contact-tab:hover { color: var(--ad-ink); }
.ad-contact-tab.is-active { color: var(--ad-blue); }
.ad-contact-tab.is-active::after {
    content: "";
    position: absolute;
    left: 12px; right: 12px; bottom: -1px;
    height: 2px;
    background: var(--ad-blue);
    border-radius: 2px;
}
.ad-contact-tab i { font-size: .8125rem; }

.ad-contact-tab-panel[hidden] { display: none; }

.ad-contact-subhead {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 26px 0 14px;
    font-size: .8125rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--ad-ink-soft);
}
.ad-contact-subhead:first-of-type { margin-top: 4px; }
.ad-contact-subhead i { color: var(--ad-blue); }

.ad-checkbox-row {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: .8125rem;
    line-height: 1.65;
    color: #475569;
}
.ad-checkbox-row input[type="checkbox"] { margin-top: 3px; flex-shrink: 0; }
.ad-checkbox-row a { color: var(--ad-blue); font-weight: 600; text-decoration: underline; }

.ad-lease-quote {
    margin-top: 18px;
    padding: 16px 18px;
    border: 1px solid #BFDBFE;
    background: #EFF6FF;
    border-radius: 12px;
}
.ad-lease-quote[hidden] { display: none; }
.ad-lease-quote-main {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
}
.ad-lease-quote-label {
    font-size: .6875rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #1D4ED8;
}
.ad-lease-quote-value {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--ad-blue);
    letter-spacing: -.02em;
}
.ad-lease-quote-meta {
    margin-top: 8px;
    font-size: .8125rem;
    line-height: 1.6;
    color: #334155;
}

/* ============================================================ ABOUT */
.ad-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 34px;
    align-items: center;
}
@media (min-width: 1024px) { .ad-split { grid-template-columns: 1fr 1fr; gap: 56px; } }

.ad-stats { display: flex; flex-wrap: wrap; gap: 32px; margin-top: 26px; }
.ad-stat strong {
    display: block;
    font-size: clamp(1.6rem, 2.6vw, 2.1rem);
    font-weight: 800;
    color: var(--ad-blue);
    letter-spacing: -.03em;
    line-height: 1;
}
.ad-stat span { display: block; font-size: .8125rem; color: var(--ad-muted); margin-top: 6px; }

.ad-about-media {
    position: relative;
    border-radius: var(--ad-radius-lg);
    overflow: hidden;
    box-shadow: var(--ad-shadow-lg);
}
.ad-about-media img { width: 100%; height: auto; display: block; }
.ad-about-media::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(6,11,24,0) 55%, rgba(6,11,24,.35) 100%);
}

.ad-value-card {
    background: #fff;
    border: 1px solid var(--ad-line);
    border-radius: var(--ad-radius);
    padding: 26px 24px;
    transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.ad-value-card:hover { box-shadow: var(--ad-shadow); transform: translateY(-3px); border-color: #cbd5e1; }
.ad-value-icon {
    width: 52px; height: 52px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--ad-blue-soft);
    color: var(--ad-blue);
    font-size: 1.1rem;
    margin-bottom: 16px;
}
.ad-value-card h3 { font-size: 1.0625rem; font-weight: 700; color: var(--ad-ink); margin: 0 0 8px; }
.ad-value-card p { font-size: .875rem; color: var(--ad-muted); line-height: 1.68; margin: 0; }

/* Accordion (About) */
.ad-accordion { display: flex; flex-direction: column; gap: 12px; }
.ad-acc-item {
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--ad-radius);
    background: rgba(255, 255, 255, .05);
    overflow: hidden;
    backdrop-filter: blur(6px);
}
.ad-acc-trigger {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; width: 100%;
    padding: 20px 22px;
    background: transparent; border: 0; cursor: pointer;
    text-align: left; color: #fff;
    font-family: var(--ad-font);
}
.ad-acc-trigger:hover { background: rgba(255, 255, 255, .06); }
.ad-acc-trigger-left { display: flex; align-items: center; gap: 16px; }
.ad-acc-icon {
    width: 46px; height: 46px; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--ad-blue);
    color: #fff; font-size: 1rem;
}
.ad-acc-trigger h3 { font-size: 1rem; font-weight: 700; margin: 0 0 3px; color: #fff; }
.ad-acc-trigger p { font-size: .8125rem; color: rgba(203, 213, 225, .78); margin: 0; }
.ad-acc-chevron { color: var(--ad-blue-light); font-size: .85rem; transition: transform .25s ease; flex-shrink: 0; }
.ad-acc-item.open .ad-acc-chevron { transform: rotate(180deg); }
.ad-acc-content { display: none; padding: 0 22px 22px 84px; }
.ad-acc-item.open .ad-acc-content { display: block; }
.ad-acc-content p { font-size: .875rem; color: rgba(226, 232, 240, .82); line-height: 1.72; margin: 0 0 14px; }
.ad-acc-content ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ad-acc-content li { display: flex; align-items: flex-start; gap: 10px; font-size: .875rem; color: rgba(226, 232, 240, .82); }
.ad-acc-content li i { color: var(--ad-green-light); font-size: .85rem; margin-top: 4px; }

/* Info-Box (Standort) */
.ad-location-card {
    background: #fff;
    border: 1px solid var(--ad-line);
    border-radius: var(--ad-radius-lg);
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.ad-location-card h3 { font-size: 1.35rem; font-weight: 800; color: var(--ad-ink); margin: 0 0 22px; letter-spacing: -.02em; }
.ad-location-row { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
.ad-location-row-icon {
    width: 40px; height: 40px; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--ad-blue-soft); color: var(--ad-blue); font-size: .9rem;
}
.ad-location-row strong { display: block; font-size: .875rem; font-weight: 700; color: var(--ad-ink); margin-bottom: 2px; }
.ad-location-row span, .ad-location-row a { font-size: .875rem; color: var(--ad-muted); text-decoration: none; line-height: 1.6; }
.ad-location-row a:hover { color: var(--ad-blue); }
.ad-hours { display: flex; flex-direction: column; gap: 8px; margin: 6px 0 24px; }
.ad-hours-row { display: flex; justify-content: space-between; gap: 12px; font-size: .875rem; color: var(--ad-muted); }
.ad-hours-row strong { color: var(--ad-blue); font-weight: 600; }
.ad-location-actions { display: flex; gap: 10px; margin-top: auto; flex-wrap: wrap; }
.ad-location-actions .ad-btn { flex: 1; min-width: 130px; }

.ad-map-lg { border-radius: var(--ad-radius-lg); overflow: hidden; border: 1px solid var(--ad-line); height: 100%; min-height: 420px; }
.ad-map-lg #locations-map { height: 100%; min-height: 420px; }
.ad-map-legend {
    position: absolute; left: 16px; bottom: 16px; z-index: 500;
    background: rgba(255, 255, 255, .97);
    border: 1px solid var(--ad-line);
    border-radius: var(--ad-radius-sm);
    padding: 14px 16px;
    box-shadow: var(--ad-shadow);
    max-width: 260px;
}
.ad-map-legend h4 { font-size: .875rem; font-weight: 700; color: var(--ad-ink); margin: 0 0 5px; }
.ad-map-legend p { font-size: .75rem; color: var(--ad-muted); margin: 0 0 8px; line-height: 1.55; }
.ad-map-legend a { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 600; color: var(--ad-blue); text-decoration: none; }

/* Kontakt-Schnellkarten */
.ad-quickcards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
@media (min-width: 720px) { .ad-quickcards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ad-quickcard {
    display: flex; flex-direction: column; align-items: flex-start;
    background: #fff; border: 1px solid var(--ad-line);
    border-radius: var(--ad-radius);
    padding: 26px 24px;
    text-decoration: none; color: inherit;
    transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease;
}
.ad-quickcard:hover { box-shadow: var(--ad-shadow); border-color: #cbd5e1; transform: translateY(-3px); }
.ad-quickcard-icon {
    width: 48px; height: 48px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--ad-blue-soft); color: var(--ad-blue);
    font-size: 1rem; margin-bottom: 16px;
}
.ad-quickcard h3 { font-size: 1rem; font-weight: 700; color: var(--ad-ink); margin: 0 0 4px; }
.ad-quickcard p { font-size: .875rem; color: var(--ad-blue); font-weight: 600; margin: 0; word-break: break-word; }

/* Weitere Bestands-Klassen */
.ax-page-wrap-narrow {
    width: 100%; max-width: 880px; margin: 0 auto; padding: 0 20px;
}
@media (min-width: 768px) { .ax-page-wrap-narrow { padding: 0 32px; } }

.ax-makes { background: #0b1220; color: #cbd5e1; position: relative; overflow: hidden; }
.ax-makes .ax-section-title { color: #fff; }
.ax-makes .ax-label { color: var(--ad-blue-light); }
.ax-makes-lead { color: rgba(226, 232, 240, .8); line-height: 1.7; font-size: 1rem; }
.ax-makes-points { list-style: none; margin: 24px 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.ax-makes-points li { display: flex; gap: 14px; align-items: flex-start; }
.ax-makes-points li > i {
    width: 40px; height: 40px; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%; background: rgba(67, 160, 71, .18); color: var(--ad-green-light); font-size: .9rem;
}
.ax-makes-points strong { display: block; color: #fff; font-size: .9375rem; font-weight: 600; }
.ax-makes-points span { display: block; color: rgba(203, 213, 225, .8); font-size: .8125rem; line-height: 1.6; margin-top: 2px; }
.ax-makes-top { display: grid; grid-template-columns: 1fr; gap: 34px; align-items: center; }
@media (min-width: 1024px) { .ax-makes-top { grid-template-columns: 1fr 1fr; gap: 48px; } }
.ax-makes-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ax-makes-window { margin: 0; border-radius: var(--ad-radius); overflow: hidden; border: 1px solid rgba(255,255,255,.12); }
.ax-makes-window img { width: 100%; height: auto; display: block; }
.ax-makes-window-bar { display: flex; gap: 6px; padding: 10px 12px; background: rgba(255,255,255,.06); }
.ax-makes-window-bar span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.28); }

.ax-icon-chip-soft {
    width: 46px; height: 46px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--ad-blue-soft);
    color: var(--ad-blue);
}

.ax-gallery-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px;
    background: var(--ad-line);
}
@media (min-width: 768px) { .ax-gallery-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ax-gallery-item { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.ax-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.ax-gallery-item:hover img { transform: scale(1.05); }

.ax-testi-track {
    display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory;
    padding-bottom: 12px; scrollbar-width: thin;
}
.ax-testi-card {
    flex: 0 0 min(360px, 86vw);
    scroll-snap-align: start;
    background: #fff; border: 1px solid var(--ad-line);
    border-radius: var(--ad-radius); overflow: hidden;
    display: flex; flex-direction: column;
}
.ax-testi-media { aspect-ratio: 16 / 10; background: var(--ad-bg-alt); overflow: hidden; }
.ax-testi-media img { width: 100%; height: 100%; object-fit: cover; }
.ax-testi-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.ax-testi-stars { color: #f59e0b; font-size: .8125rem; margin-bottom: 12px; display: flex; gap: 3px; }
.ax-testi-body p { font-size: .875rem; color: var(--ad-muted); line-height: 1.7; margin: 0 0 18px; flex: 1; }
.ax-testi-person { display: flex; align-items: center; gap: 12px; }
.ax-testi-avatar {
    width: 40px; height: 40px; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%; background: var(--ad-blue-soft); color: var(--ad-blue-dark);
    font-size: .8125rem; font-weight: 700;
}
.ax-testi-person strong { display: block; font-size: .875rem; color: var(--ad-ink); }
.ax-testi-role { display: block; font-size: .75rem; color: var(--ad-muted); }
.ax-testi-nav { display: flex; gap: 8px; }
.ax-testi-arrow {
    width: 40px; height: 40px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%; border: 1px solid var(--ad-line);
    background: #fff; color: var(--ad-ink-soft); cursor: pointer;
}
.ax-testi-arrow:hover { border-color: var(--ad-blue); color: var(--ad-blue); }

.ax-news-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 720px) { .ax-news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .ax-news-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ax-news-card {
    background: #fff; border: 1px solid var(--ad-line);
    border-radius: var(--ad-radius); overflow: hidden;
    display: flex; flex-direction: column; transition: box-shadow .2s ease;
}
.ax-news-card:hover { box-shadow: var(--ad-shadow); }
.ax-news-media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ad-bg-alt); }
.ax-news-media img { width: 100%; height: 100%; object-fit: cover; }
.ax-news-placeholder {
    width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
    color: var(--ad-muted-light); font-size: 1.8rem; background: var(--ad-bg-alt);
}
.ax-news-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.ax-news-meta { display: flex; gap: 14px; font-size: .75rem; color: var(--ad-muted); margin-bottom: 10px; }
.ax-news-meta span { display: inline-flex; align-items: center; gap: 5px; }
.ax-news-title { font-size: 1rem; font-weight: 700; line-height: 1.4; margin: 0 0 10px; color: var(--ad-ink); }
.ax-news-title a { color: inherit; text-decoration: none; }
.ax-news-title a:hover { color: var(--ad-blue); }
.ax-news-excerpt { font-size: .8125rem; color: var(--ad-muted); line-height: 1.65; margin: 0 0 16px; flex: 1; }
.ax-news-footer {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; padding-top: 14px; border-top: 1px solid var(--ad-line-soft);
}
.ax-news-date { font-size: .75rem; color: var(--ad-muted); display: inline-flex; align-items: center; gap: 5px; }
.ax-news-more { display: inline-flex; align-items: center; gap: 6px; font-size: .8125rem; font-weight: 600; color: var(--ad-blue); text-decoration: none; }

.ax-flip-section { position: relative; background: #0b1220; overflow: hidden; }
.ax-flip-section .ax-section-title { color: #fff; }
.ax-flip-grid { display: grid; grid-template-columns: 1fr; gap: 22px; position: relative; z-index: 2; }
@media (min-width: 720px) { .ax-flip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ax-flip-card { perspective: 1200px; min-height: 390px; }
.ax-flip-inner { position: relative; width: 100%; height: 100%; transition: transform .7s; transform-style: preserve-3d; }
.ax-flip-card:hover .ax-flip-inner { transform: rotateY(180deg); }
.ax-flip-face {
    position: absolute; inset: 0;
    backface-visibility: hidden;
    border-radius: var(--ad-radius);
    overflow: hidden;
    background: #fff; border: 1px solid var(--ad-line);
}
.ax-flip-back { transform: rotateY(180deg); padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.ax-flip-front-media { height: 150px; overflow: hidden; }
.ax-flip-front-media img { width: 100%; height: 100%; object-fit: cover; }
.ax-flip-num { position: absolute; top: 14px; right: 16px; font-size: .75rem; font-weight: 800; color: #fff; background: rgba(15,23,42,.6); padding: 4px 9px; border-radius: 5px; }
.ax-flip-icon { position: absolute; top: 130px; left: 18px; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: #fff; color: var(--ad-blue); box-shadow: var(--ad-shadow); }
.ax-flip-front-body { padding: 34px 20px 20px; }
.ax-flip-front-body h3 { font-size: 1.0625rem; font-weight: 700; margin: 0 0 8px; color: var(--ad-ink); }
.ax-flip-front-body p { font-size: .8125rem; color: var(--ad-muted); line-height: 1.65; margin: 0 0 14px; }
.ax-flip-hint { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 600; color: var(--ad-blue); }
.ax-flip-back-head { display: flex; align-items: center; gap: 10px; }
.ax-flip-back-icon { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--ad-blue-soft); color: var(--ad-blue); }
.ax-flip-back-head h3 { font-size: 1rem; font-weight: 700; margin: 0; color: var(--ad-ink); }
.ax-flip-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.ax-flip-facts li { display: flex; gap: 9px; font-size: .8125rem; color: var(--ad-muted); line-height: 1.5; }
.ax-flip-facts i { color: var(--ad-blue); margin-top: 3px; font-size: .75rem; }
.ax-flip-facts strong { color: var(--ad-ink); font-weight: 600; }

/* Feature-Karten */
.ax-feature-grid {
    display: grid; grid-template-columns: repeat(1, minmax(0, 1fr)); gap: 22px;
}
@media (min-width: 640px) { .ax-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .ax-feature-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ax-feature-card {
    background: #fff; border: 1px solid var(--ad-line);
    border-radius: var(--ad-radius); padding: 26px 24px;
    transition: box-shadow .2s ease, transform .2s ease;
}
.ax-feature-card:hover { box-shadow: var(--ad-shadow); transform: translateY(-2px); }
.ax-feature-icon {
    width: 52px; height: 52px; display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%; background: var(--ad-blue-soft); color: var(--ad-blue);
    font-size: 1.1rem; margin-bottom: 16px;
}
.ax-feature-card h3 { font-size: 1.0625rem; font-weight: 700; color: var(--ad-ink); margin: 0 0 8px; }
.ax-feature-card p { font-size: .875rem; color: var(--ad-muted); line-height: 1.65; margin: 0 0 16px; }
.ax-feature-link { display: inline-flex; align-items: center; gap: 7px; font-size: .8125rem; font-weight: 600; color: var(--ad-blue); text-decoration: none; }

/* Filter-Panel (Bestandsseiten) */
.ax-filter-panel {
    background: #fff; border: 1px solid var(--ad-line);
    border-radius: var(--ad-radius); overflow: hidden;
}
.ax-filter-panel-head {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--ad-line-soft);
    background: var(--ad-bg-alt);
}
.ax-filter-panel-title { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: .9375rem; color: var(--ad-ink); }
.ax-filter-panel-title i { color: var(--ad-blue); }
.ax-filter-panel-hint { font-size: .75rem; color: var(--ad-muted); }
.ax-filter-panel-body { background: #fff; }

/* Footer-Fallback für Bestandsseiten */
.ax-footer { background: #0b1220; color: #94a3b8; padding: 56px 0 0; position: relative; }
.ax-footer-grid {
    display: grid; grid-template-columns: 1fr; gap: 34px; padding-bottom: 40px;
}
@media (min-width: 640px) { .ax-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .ax-footer-grid { grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; } }
.ax-footer-title { font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin: 0 0 16px; }
.ax-footer-text { font-size: .875rem; line-height: 1.7; margin: 0 0 18px; max-width: 340px; }
.ax-footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ax-footer-links a { font-size: .875rem; color: #94a3b8; text-decoration: none; }
.ax-footer-links a:hover { color: #fff; }
.ax-footer-links-cols { display: grid; grid-template-columns: 1fr 1fr; }
.ax-footer-news { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.ax-footer-news-item { display: block; text-decoration: none; }
.ax-footer-news-date { display: block; font-size: .6875rem; color: var(--ad-green-light); margin-bottom: 4px; }
.ax-footer-news-title { display: block; font-size: .875rem; color: #cbd5e1; line-height: 1.5; }
.ax-footer-news-item:hover .ax-footer-news-title { color: #fff; }
.ax-footer-social { display: flex; gap: 10px; }
.ax-footer-social a {
    width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%; background: rgba(255, 255, 255, .06); color: #cbd5e1; text-decoration: none;
}
.ax-footer-social a:hover { background: var(--ad-blue); color: #fff; }
.ax-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding: 20px 0 26px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; flex-wrap: wrap; font-size: .8125rem;
}
.ax-footer-logo img { height: 34px; width: auto; }
.ax-footer-legal { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.ax-footer-legal a { color: #94a3b8; text-decoration: none; }
.ax-footer-legal a:hover { color: #fff; }
.ax-footer-copy { margin: 0; }

/* Alte Mobile-Sidebar-Klassen → AutoDeal-Layout */
.mobile-sidebar { position: fixed; inset: 0; z-index: 90; visibility: hidden; pointer-events: none; overflow: hidden; }
.mobile-sidebar.open,
.mobile-sidebar.is-open { visibility: visible; pointer-events: auto; }
.sidebar-overlay { position: absolute; inset: 0; background: rgba(8, 14, 26, .55); opacity: 0; transition: opacity .25s ease; }
.mobile-sidebar.open .sidebar-overlay,
.mobile-sidebar.is-open .sidebar-overlay { opacity: 1; }
.sidebar-panel {
    position: absolute; top: 0; right: 0; width: min(340px, 88vw); height: 100%;
    background: #fff; box-shadow: -20px 0 60px rgba(15, 23, 42, .22);
    display: flex; flex-direction: column; transform: translateX(100%);
    transition: transform .28s cubic-bezier(.4, 0, .2, 1); overflow-y: auto;
}
.mobile-sidebar.open .sidebar-panel,
.mobile-sidebar.is-open .sidebar-panel { transform: translateX(0); }
.sidebar-close {
    position: absolute; top: 14px; right: 14px; z-index: 3;
    width: 38px; height: 38px; border: 1px solid var(--ad-line);
    border-radius: 50%; background: #fff; color: var(--ad-ink); cursor: pointer;
}
.sidebar-logo { padding: 22px 20px 14px; }
.sidebar-logo img { height: 30px; width: auto; }
.sidebar-nav-list { list-style: none; margin: 0; padding: 8px 12px; display: flex; flex-direction: column; gap: 2px; }
.sidebar-nav-link {
    display: flex; align-items: center; gap: 12px;
    padding: 13px 14px; border-radius: var(--ad-radius-sm);
    color: var(--ad-ink-soft); font-size: .9375rem; font-weight: 500; text-decoration: none;
}
.sidebar-nav-link:hover { background: var(--ad-bg-alt); color: var(--ad-blue); }
.sidebar-nav-link.active { background: var(--ad-blue-soft); color: var(--ad-blue); }
.nav-link-icon { width: 20px; text-align: center; color: var(--ad-muted); }
.sidebar-nav-link.active .nav-link-icon { color: var(--ad-blue); }
.nav-link-arrow { margin-left: auto; font-size: .7rem; color: var(--ad-muted-light); }
.sidebar-cta { padding: 14px 20px; }
.sidebar-cta-btn {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%; padding: 13px 18px; border-radius: var(--ad-radius-sm);
    background: var(--ad-blue); color: #fff; font-weight: 600; font-size: .9375rem;
    text-decoration: none;
}
.sidebar-contact { margin-top: auto; padding: 16px 20px 26px; border-top: 1px solid var(--ad-line); display: flex; flex-direction: column; gap: 10px; }
.sidebar-contact-item { display: flex; align-items: center; gap: 10px; font-size: .875rem; color: var(--ad-ink-soft); text-decoration: none; }
.sidebar-contact-item i { color: var(--ad-blue); width: 18px; text-align: center; }

/* Header-Pill (Fallback falls alte Klassen genutzt werden) */
.header-pill { background: #fff; border: 1px solid var(--ad-line); }

/* Alte Animationen neutralisieren (neue Seiten nutzen dezente Übergänge) */
.fade-in-up, .slide-in-up, .slide-in-down, .slide-in-left, .slide-in-right,
.scale-in, .flip-in, .hero-text-animate { animation: none !important; opacity: 1 !important; transform: none !important; }

/* Alte Utility-Klassen, die auf Bestandsseiten genutzt werden */
.vehicle-card { transition: box-shadow .2s ease; }
.vehicle-card:hover { box-shadow: var(--ad-shadow-lg); }
.card-hover { transition: box-shadow .2s ease, transform .2s ease; }

/* ============================================================ RESPONSIVE FEINSCHLIFF */
@media (max-width: 767px) {
    /* Header: Logo + Icons müssen in die Viewport-Breite passen.
       Ohne diese Begrenzung läuft der Header auf schmalen Geräten
       horizontal über und erzeugt einen weißen Streifen am rechten Rand. */
    .ad-header-inner { gap: 10px; }
    .ad-logo { min-width: 0; }
    .ad-logo img { height: 28px; max-width: 130px; }
    .ad-header-actions { gap: 2px; }
    .ad-icon-btn { width: 34px; height: 34px; font-size: .9rem; }

    .ad-hero-inner { padding: 48px 0 78px; min-height: 420px; }
    .ad-hero-title { font-size: 2.1rem; }
    .ad-hero-sub { font-size: .9375rem; }
    .ad-section { padding: 48px 0; }
    .ad-search-wrap { margin-top: -48px; }
    .ad-search-body { padding: 16px; }
    .ad-search-tabs { padding: 0 6px; }
    .ad-search-tab { padding: 14px 12px; font-size: .875rem; }
    .ad-banner-body { padding: 28px 24px; }
    .ad-banner-features { padding: 0 24px 26px; }
    .ad-service-block { padding: 22px; }
    .ad-service-media { min-height: 260px; }
    .ad-footer-main { padding: 40px 0 30px; }
    .ad-filter-panel { position: static; }
}

/* Sehr schmale Geräte (z.B. 320–380px): Logo weiter verkleinern */
@media (max-width: 400px) {
    .ad-logo img { height: 24px; max-width: 104px; }
    .ad-icon-btn { width: 32px; height: 32px; font-size: .85rem; }
    .ad-header-actions { gap: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .ad-car-card, .ad-car-media img, .ad-btn, .ad-scroll-top, .ad-promo { transition: none !important; }
}

/* ============================================================ LISTING: ANKER & GALERIE-BUTTON */
/* Sprungziele unterhalb des Sticky-Headers positionieren */
#listing-top,
#detail-top,
#miet-rechner {
    scroll-margin-top: 96px;
}

/* Medienbereich als <button> (Galerie-Aufruf im Mietwagen-Listing) */
button.ad-car-media {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    margin: 0;
    font: inherit;
    color: inherit;
    text-align: left;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}
button.ad-car-media:focus-visible {
    outline: 3px solid var(--ad-blue);
    outline-offset: -3px;
}
.ad-car-row:hover button.ad-car-media img { transform: scale(1.045); }

/* ============================================================ LEGAL / TEXTSEITEN */
.ad-legal-head { max-width: 820px; margin: 0 auto 34px; text-align: center; }
.ad-legal-head .ad-section-eyebrow { margin-bottom: 12px; }
.ad-legal-head h2 {
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    font-weight: 800;
    letter-spacing: -.025em;
    line-height: 1.2;
    color: var(--ad-ink);
    margin: 0 0 14px;
}
.ad-legal-head p { color: var(--ad-muted); font-size: .9375rem; line-height: 1.7; margin: 0; }

.ad-legal-toc {
    background: var(--ad-bg-alt);
    border: 1px solid var(--ad-line-soft);
    border-radius: var(--ad-radius);
    padding: 22px 24px;
    margin-bottom: 34px;
}
.ad-legal-toc h3 {
    display: flex; align-items: center; gap: 9px;
    font-size: .9375rem; font-weight: 700; color: var(--ad-ink);
    margin: 0 0 14px;
}
.ad-legal-toc h3 i { color: var(--ad-blue); font-size: .9rem; }
.ad-legal-toc ul {
    list-style: none; margin: 0; padding: 0;
    display: grid; gap: 8px 26px;
}
@media (min-width: 680px) { .ad-legal-toc ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ad-legal-toc a {
    display: inline-flex; align-items: baseline; gap: 8px;
    font-size: .875rem; color: var(--ad-ink-soft); text-decoration: none;
    transition: color .16s ease, gap .16s ease;
}
.ad-legal-toc a:hover { color: var(--ad-blue); gap: 12px; }
.ad-legal-toc a i { font-size: .55rem; color: var(--ad-blue); margin-top: 3px; }

.ad-legal-body {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--ad-line);
    border-radius: var(--ad-radius-lg);
    box-shadow: var(--ad-shadow);
    padding: 34px 30px;
}
@media (min-width: 768px) { .ad-legal-body { padding: 46px 52px; } }

.ad-legal-section + .ad-legal-section { margin-top: 34px; }
.ad-legal-section > h2 {
    font-size: 1.3125rem;
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--ad-ink);
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--ad-line);
    display: flex; align-items: center; gap: 11px;
    scroll-margin-top: 100px;
}
.ad-legal-section > h2::before {
    content: "";
    width: 4px; height: 19px; flex-shrink: 0;
    border-radius: 2px;
    background: var(--ad-blue);
}
.ad-legal-section h3 {
    font-size: 1.0625rem; font-weight: 700; color: var(--ad-ink);
    margin: 26px 0 10px;
    scroll-margin-top: 100px;
}
.ad-legal-section h4 {
    font-size: .9375rem; font-weight: 700; color: var(--ad-ink-soft);
    margin: 20px 0 8px;
}
.ad-legal-section p {
    font-size: .9375rem; line-height: 1.75; color: var(--ad-muted);
    margin: 0 0 14px;
}
.ad-legal-section p:last-child { margin-bottom: 0; }
.ad-legal-section strong { color: var(--ad-ink); font-weight: 700; }

.ad-legal-section ul,
.ad-legal-section ol {
    margin: 0 0 18px;
    padding-left: 22px;
    color: var(--ad-muted);
    font-size: .9375rem;
    line-height: 1.75;
}
.ad-legal-section ul { list-style: disc; }
.ad-legal-section ol { list-style: decimal; }
.ad-legal-section li { margin-bottom: 8px; padding-left: 4px; }
.ad-legal-section li::marker { color: var(--ad-blue); font-weight: 700; }
.ad-legal-section li:last-child { margin-bottom: 0; }

.ad-legal-section a { color: var(--ad-blue); text-decoration: underline; text-underline-offset: 2px; }
.ad-legal-section a:hover { color: var(--ad-blue-dark); }

/* Hinweis-/Kontaktbox innerhalb der Rechtstexte */
.ad-legal-note {
    background: var(--ad-bg-alt);
    border: 1px solid var(--ad-line-soft);
    border-left: 3px solid var(--ad-blue);
    border-radius: var(--ad-radius-sm);
    padding: 20px 22px;
    margin: 0 0 20px;
}
.ad-legal-note p:last-child { margin-bottom: 0; }
.ad-legal-note .ad-legal-note-title {
    display: block; font-size: .9375rem; font-weight: 700;
    color: var(--ad-ink); margin-bottom: 8px;
}
.ad-legal-note ul { margin-bottom: 0; }
.ad-legal-note a { word-break: break-word; }

.ad-legal-foot {
    max-width: 900px;
    margin: 26px auto 0;
    padding-top: 20px;
    border-top: 1px solid var(--ad-line);
    display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px;
    font-size: .8125rem; color: var(--ad-muted);
}
.ad-legal-foot i { color: var(--ad-blue); margin-right: 6px; }
.ad-legal-foot strong { color: var(--ad-ink-soft); font-weight: 600; }

/* ============================================================ 404 */
.ad-404-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 30px; }
.ad-404-icon {
    width: 84px; height: 84px;
    margin: 0 auto 26px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--ad-blue-soft);
    color: var(--ad-blue);
    font-size: 2rem;
}
.ad-404-card {
    max-width: 620px;
    margin: 0 auto 30px;
    background: #fff;
    border: 1px solid var(--ad-line);
    border-radius: var(--ad-radius-lg);
    box-shadow: var(--ad-shadow);
    padding: 30px 28px;
    text-align: left;
}
.ad-404-card h2 {
    font-size: 1.1875rem; font-weight: 800; color: var(--ad-ink);
    margin: 0 0 18px;
}
.ad-404-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.ad-404-list li { display: flex; align-items: flex-start; gap: 12px; font-size: .9375rem; line-height: 1.65; color: var(--ad-muted); }
.ad-404-list li i { color: var(--ad-green); font-size: .95rem; margin-top: 3px; flex-shrink: 0; }
.ad-404-list a { color: var(--ad-blue); text-decoration: none; font-weight: 600; }
.ad-404-list a:hover { text-decoration: underline; }
.ad-404-help {
    max-width: 620px; margin: 0 auto;
    padding-top: 22px; border-top: 1px solid var(--ad-line);
    text-align: center; font-size: .875rem; color: var(--ad-muted);
}
.ad-404-help i { color: var(--ad-blue); margin-right: 8px; }
.ad-404-help a { color: var(--ad-blue); font-weight: 700; text-decoration: none; }
.ad-404-help a:hover { text-decoration: underline; }
.ad-404-code {
    font-size: clamp(4rem, 14vw, 8rem);
    font-weight: 800;
    letter-spacing: -.05em;
    line-height: .9;
    color: var(--ad-blue-light);
    margin: 0 0 8px;
}
.ad-404-inner { max-width: 680px; margin: 0 auto; text-align: center; }

/* ============================================================
   Benefit-Cards (Elektromobilität für Gewerbe)
   ============================================================ */
.ad-benefit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 32px;
}
.ad-benefit-card {
    background: #ffffff;
    border: 1px solid var(--ad-line, #E3E5E6);
    border-radius: 16px;
    padding: 26px 24px;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.ad-benefit-card:hover {
    transform: translateY(-3px);
    border-color: var(--ad-blue, #2E77B8);
    box-shadow: 0 12px 28px rgba(46, 119, 184, .13);
}
.ad-benefit-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--ad-blue-soft, #EAF2FA);
    color: var(--ad-blue, #2E77B8);
    font-size: 1.1rem;
    margin-bottom: 16px;
}
.ad-benefit-card h3 {
    font-family: var(--ad-font-heading, 'Montserrat', system-ui, sans-serif);
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--ad-ink, #1C2125);
    margin: 0 0 8px 0;
    line-height: 1.35;
}
.ad-benefit-card p {
    margin: 0;
    font-size: .9375rem;
    line-height: 1.65;
    color: var(--ad-muted, #6E6E6E);
}
.ad-section-cta {
    margin-top: 40px;
    padding: 28px 32px;
    border-radius: 16px;
    background: var(--ad-blue-soft, #EAF2FA);
    border: 1px solid var(--ad-line, #E3E5E6);
    display: flex;
    gap: 24px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
}
.ad-section-cta p {
    margin: 0;
    max-width: 640px;
    font-size: 1rem;
    color: var(--ad-ink, #1C2125);
}
@media (max-width: 640px) {
    .ad-benefit-card { padding: 22px 20px; }
    .ad-section-cta { padding: 22px 20px; }
}