/*
Theme Name: AUTOmeinungen.de – Theme 4.0.6
Theme URI: https://automeinungen.de/
Author: AUTOmeinungen.de
Description: Eigenes WordPress-Theme für AUTOmeinungen.de – Fahrzeugdatenbank, Fahrermeinungen und lokale Fahrzeugvideos.
Version: 4.0.6
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: automeinungen
*/

:root {
    --am-text: #151515;
    --am-muted: #6d6d6d;
    --am-border: #e6e6e6;
    --am-bg: #f7f7f7;
    --am-white: #fff;
    --am-accent: #111;
    --am-radius: 14px;
    --am-content: 1180px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    color: var(--am-text);
    background: #fff;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.55;
}

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

a { color: inherit; }

.am-site {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.am-container {
    width: min(calc(100% - 40px), var(--am-content));
    margin-inline: auto;
}

.am-header {
    border-bottom: 1px solid var(--am-border);
    background: #fff;
}

.am-header-inner {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.am-brand {
    font-size: 22px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.am-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 15px;
}

.am-nav a { text-decoration: none; }
.am-nav a:hover { text-decoration: underline; }

.am-main {
    flex: 1;
    padding: 54px 0 80px;
}

.am-vehicle-title {
    margin: 0 0 34px;
    text-align: center;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.15;
    font-weight: 500;
}

.am-gallery {
    width: min(100%, 1000px);
    margin: 0 auto 55px;
}

.am-gallery-main {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: var(--am-radius);
    background: #eee;
}

.am-gallery-main img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: zoom-in;
}

.am-gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.95);
    color: #111;
    font-size: 28px;
    line-height: 48px;
    cursor: pointer;
    box-shadow: 0 3px 12px rgba(0,0,0,.22);
}
.am-gallery-prev { left: 18px; }
.am-gallery-next { right: 18px; }

.am-gallery-zoom {
    position: absolute;
    right: 18px;
    top: 18px;
    z-index: 3;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(0,0,0,.72);
    color: #fff;
    cursor: pointer;
    font-size: 22px;
}

.am-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.am-gallery-thumb {
    display: block;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 3px solid transparent;
    border-radius: 10px;
    overflow: hidden;
    background: #eee;
    cursor: pointer;
    appearance: none;
}
.am-gallery-thumb.is-active { border-color: #111; }

.am-gallery-thumb img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.am-gallery-thumb span {
    display: block;
    padding: 7px 4px;
    background: #fff;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
}

.am-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: rgba(0,0,0,.94);
}
.am-lightbox.is-open { display: flex; }
.am-lightbox img {
    max-width: 92vw;
    max-height: 88vh;
    width: auto;
    height: auto;
    object-fit: contain;
}
.am-lightbox-close,
.am-lightbox-prev,
.am-lightbox-next {
    position: fixed;
    z-index: 2;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #111;
    cursor: pointer;
}
.am-lightbox-close {
    top: 20px; right: 24px;
    width: 48px; height: 48px;
    font-size: 32px;
}
.am-lightbox-prev,
.am-lightbox-next {
    top: 50%;
    transform: translateY(-50%);
    width: 52px; height: 52px;
    font-size: 30px;
}
.am-lightbox-prev { left: 25px; }
.am-lightbox-next { right: 25px; }

.am-section {
    width: min(100%, 1000px);
    margin: 0 auto 48px;
}

.am-section h2 {
    margin: 0 0 20px;
    font-size: 30px;
    font-weight: 500;
}

.am-data {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    border-top: 1px solid var(--am-border);
}

.am-data-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    padding: 14px 0;
    border-bottom: 1px solid var(--am-border);
}
.am-data-label { color: var(--am-muted); }
.am-data-value { font-weight: 600; }

.am-placeholder {
    padding: 28px;
    border: 1px solid var(--am-border);
    border-radius: var(--am-radius);
    background: var(--am-bg);
    color: var(--am-muted);
}

.am-footer {
    padding: 30px 0;
    border-top: 1px solid var(--am-border);
    color: var(--am-muted);
    font-size: 14px;
}

@media (max-width: 800px) {
    .am-header-inner { min-height: 64px; }
    .am-nav { gap: 14px; font-size: 13px; }
    .am-gallery-thumbs { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .am-data { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    .am-container { width: min(calc(100% - 24px), var(--am-content)); }
    .am-header-inner { align-items: flex-start; padding: 16px 0; flex-direction: column; gap: 12px; }
    .am-nav { flex-wrap: wrap; }
    .am-main { padding-top: 30px; }
    .am-gallery-thumbs { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
    .am-gallery-arrow { width: 40px; height: 40px; line-height: 40px; }
}


/* =========================================================
   AUTOmeinungen.de – Fahrzeugseite 1.1
   ========================================================= */

.am-vehicle-hero {
    width: min(100%, 1000px);
    margin: 0 auto 64px;
}

.am-vehicle-kicker {
    margin: 0 0 10px;
    text-align: center;
    color: var(--am-muted);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.am-vehicle-title {
    margin-bottom: 42px;
}

.am-gallery {
    margin-bottom: 60px;
}

.am-gallery-main {
    box-shadow: 0 8px 30px rgba(0,0,0,.08);
}

.am-gallery-thumb {
    transition: transform .15s ease, box-shadow .15s ease;
}

.am-gallery-thumb:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 16px rgba(0,0,0,.12);
}

.am-gallery-thumb.is-active {
    box-shadow: 0 0 0 1px #111;
}

.am-vehicle-data-card {
    padding: 30px;
    border: 1px solid var(--am-border);
    border-radius: var(--am-radius);
    background: #fff;
    box-shadow: 0 6px 24px rgba(0,0,0,.04);
}

.am-data-row {
    grid-template-columns: minmax(150px, .8fr) 1.2fr;
}

.am-opinion-card {
    padding: 30px;
    border: 1px solid var(--am-border);
    border-radius: var(--am-radius);
    background: #fff;
    box-shadow: 0 6px 24px rgba(0,0,0,.04);
}

.am-opinion-intro {
    margin: 0 0 18px;
    color: var(--am-muted);
}

.am-opinion-button {
    display: inline-block;
    margin-top: 18px;
    padding: 12px 20px;
    border-radius: 999px;
    background: #111;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.am-opinion-button:hover {
    background: #333;
    color: #fff;
}

.am-vehicle-nav {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 56px;
}

.am-vehicle-nav a {
    padding: 12px 18px;
    border: 1px solid var(--am-border);
    border-radius: 999px;
    text-decoration: none;
    background: #fff;
}

.am-vehicle-nav a:hover {
    border-color: #111;
}

@media (max-width: 700px) {
    .am-vehicle-hero,
    .am-section,
    .am-gallery {
        width: 100%;
    }

    .am-vehicle-data-card,
    .am-opinion-card {
        padding: 20px;
    }

    .am-data-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .am-vehicle-nav {
        flex-direction: column;
    }
}

/* =========================================================
   AUTOmeinungen.de – Fahrzeugseite 1.2
   ========================================================= */
.am-vehicle-page { width: min(calc(100% - 40px), var(--am-content)); }

.am-vehicle-data-card,
.am-opinion-card {
    padding: 26px 30px;
    border: 1px solid var(--am-border);
    border-radius: var(--am-radius);
    background: var(--am-white);
    box-shadow: 0 5px 20px rgba(0,0,0,.04);
}

.am-opinion-intro {
    margin: 0 0 22px;
    color: var(--am-muted);
}

.am-opinion-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 18px;
    border-radius: 999px;
    background: #111;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.am-opinion-button:hover { opacity: .88; }

.am-vehicle-nav {
    width: min(100%, 1000px);
    margin: 10px auto 0;
    padding-top: 24px;
    border-top: 1px solid var(--am-border);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.am-vehicle-nav a {
    text-decoration: none;
    font-weight: 600;
}

.am-vehicle-nav a:last-child { text-align: right; }

@media (max-width: 800px) {
    .am-vehicle-data-card,
    .am-opinion-card { padding: 22px 20px; }
}

@media (max-width: 560px) {
    .am-vehicle-page { width: min(calc(100% - 24px), var(--am-content)); }
    .am-vehicle-nav { grid-template-columns: 1fr; }
    .am-vehicle-nav a:last-child { text-align: left; }
}


/* =========================================================
   AUTOmeinungen.de – Startseite 1.5
   ========================================================= */
.am-home-hero {
    position: relative;
    overflow: hidden;
    margin: -54px 0 0;
    padding: 88px 0 74px;
    min-height: 720px;
    display: flex;
    align-items: center;
    color: #fff;
    background: #1a1a1a url("assets/hero-home.jpg") center center / cover no-repeat;
}
.am-home-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,.66) 0%, rgba(0,0,0,.43) 38%, rgba(0,0,0,.08) 72%, rgba(0,0,0,.03) 100%);
}
.am-home-hero::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 180px;
    background: linear-gradient(180deg, transparent, rgba(0,0,0,.18));
    pointer-events: none;
}
.am-home-hero-inner {
    position: relative;
    z-index: 1;
}
.am-home-eyebrow {
    margin: 0 0 12px;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: .03em;
    color: rgba(255,255,255,.92);
}
.am-home-title {
    max-width: 760px;
    margin: 0 0 18px;
    font-size: clamp(40px, 5.5vw, 72px);
    line-height: 1.04;
    font-weight: 700;
    letter-spacing: -.035em;
    text-shadow: 0 2px 18px rgba(0,0,0,.25);
}
.am-home-lead {
    max-width: 720px;
    margin: 0 0 34px;
    color: rgba(255,255,255,.92);
    font-size: clamp(17px, 2vw, 21px);
    text-shadow: 0 1px 8px rgba(0,0,0,.25);
}
.am-finder-card {
    position: relative;
    z-index: 2;
    width: min(100%, 1000px);
    margin: 0 auto;
    padding: 26px;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 18px;
    background: rgba(255,255,255,.97);
    color: var(--am-text);
    box-shadow: 0 20px 55px rgba(0,0,0,.30);
    backdrop-filter: blur(4px);
}
.am-finder-title { margin: 0 0 5px; font-size: 23px; }
.am-finder-subtitle { margin: 0 0 20px; color: var(--am-muted); }
.am-finder-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 12px;
}
.am-finder-field label {
    display: block;
    margin: 0 0 7px;
    font-size: 12px;
    font-weight: 700;
    color: var(--am-muted);
    text-transform: uppercase;
    letter-spacing: .04em;
}
.am-finder-field select {
    width: 100%;
    min-height: 48px;
    padding: 0 13px;
    border: 1px solid #d9d9d9;
    border-radius: 10px;
    background: #fff;
    color: #111;
    font: inherit;
}
.am-finder-submit {
    display: inline-flex;
    margin-top: 14px;
    width: 100%;
    min-height: 48px;
    border: 0;
    border-radius: 10px;
    background: #111;
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}
.am-finder-status { min-height: 20px; margin-top: 12px; color: var(--am-muted); font-size: 13px; }
.am-home-section { padding: 72px 0 0; }
.am-home-section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.am-home-section h2 { margin: 0; font-size: clamp(27px, 4vw, 38px); line-height: 1.1; }
.am-home-section-intro { margin: 8px 0 0; color: var(--am-muted); }
.am-brand-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }
.am-brand-card {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 18px;
    border: 1px solid var(--am-border);
    border-radius: 12px;
    background: #fff;
    text-decoration: none;
    font-weight: 700;
    transition: transform .15s ease, box-shadow .15s ease;
}
.am-brand-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.am-brand-count { color: var(--am-muted); font-size: 12px; font-weight: 400; }
.am-home-feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.am-feature-card { padding: 24px; border: 1px solid var(--am-border); border-radius: 14px; background: #fff; }
.am-feature-icon { font-size: 28px; margin-bottom: 12px; }
.am-feature-card h3 { margin: 0 0 8px; font-size: 20px; }
.am-feature-card p { margin: 0; color: var(--am-muted); }
.am-home-cta {
    margin-top: 72px;
    padding: 44px;
    border-radius: 18px;
    background: var(--am-bg);
    text-align: center;
}
.am-home-cta h2 { margin: 0 0 10px; font-size: 30px; }
.am-home-cta p { max-width: 680px; margin: 0 auto 22px; color: var(--am-muted); }
.am-home-cta a {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 46px; padding: 10px 20px; border-radius: 999px;
    background: #111; color: #fff; text-decoration: none; font-weight: 700;
}
.am-home-bottom { padding-bottom: 80px; }
@media (max-width: 900px) {
    .am-home-hero { min-height: 680px; }
    .am-finder-grid { grid-template-columns: 1fr; }
    .am-finder-submit { display: block; }
    .am-brand-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .am-home-feature-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .am-home-hero { margin-top: -30px; min-height: 760px; padding: 54px 0 46px; background-position: 66% center; }
    .am-home-hero::before { background: linear-gradient(90deg, rgba(0,0,0,.70), rgba(0,0,0,.38)); }
    .am-home-title { font-size: clamp(38px, 11vw, 54px); }
    .am-finder-card { padding: 18px; }
    .am-brand-grid { grid-template-columns: 1fr; }
    .am-home-cta { padding: 28px 20px; }
}


/* =========================================================
   AUTOmeinungen.de – Startseite 1.6
   Funktionaler, kompakter Fahrzeugfinder / sachlicher Look
   ========================================================= */
.am-finder-card {
    width: min(100%, 780px);
    margin: 0;
    padding: 20px 22px;
    border-radius: 12px;
    background: rgba(255,255,255,.98);
    box-shadow: 0 14px 38px rgba(0,0,0,.24);
}
.am-finder-title {
    font-size: 20px;
    margin-bottom: 3px;
}
.am-finder-subtitle {
    margin-bottom: 14px;
    font-size: 14px;
}
.am-finder-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
}
.am-finder-field label {
    margin-bottom: 5px;
    font-size: 11px;
}
.am-finder-field select {
    min-height: 43px;
    padding: 0 11px;
    border-radius: 8px;
    font-size: 14px;
}
.am-finder-submit {
    width: auto;
    min-height: 43px;
    margin-top: 12px;
    padding: 0 22px;
    border-radius: 8px;
}
.am-finder-submit:disabled {
    opacity: .45;
    cursor: not-allowed;
}
.am-finder-status {
    min-height: 16px;
    margin-top: 7px;
    font-size: 12px;
}
.am-home-hero {
    min-height: 660px;
    padding: 72px 0 62px;
}
.am-home-title {
    max-width: 650px;
    font-size: clamp(38px, 5vw, 64px);
}
.am-home-lead {
    max-width: 650px;
    margin-bottom: 26px;
    font-size: 18px;
}
.am-feature-card {
    padding: 24px;
}
.am-feature-icon { display: none; }

@media (max-width: 900px) {
    .am-finder-card { width: min(100%, 680px); }
    .am-home-hero { min-height: 700px; }
}

@media (max-width: 700px) {
    .am-finder-card { width: 100%; }
    .am-finder-grid { grid-template-columns: 1fr; }
    .am-finder-submit { width: 100%; }
}


/* =========================================================
   AUTOmeinungen.de – Startseite 1.9
   Mockup-derived final hero / translucent finder / white header
   ========================================================= */
.am-header {
    background: #fff;
    color: #111;
    position: relative;
    z-index: 20;
    box-shadow: 0 1px 0 rgba(0,0,0,.06);
}
.am-home-hero {
    margin: 0;
    min-height: 650px;
    padding: 72px 0 70px;
    background-position: center center;
}
.am-home-hero::before {
    background: linear-gradient(90deg, rgba(0,0,0,.60) 0%, rgba(0,0,0,.38) 42%, rgba(0,0,0,.08) 74%, rgba(0,0,0,.02) 100%);
}
.am-home-hero-inner { display:flex; flex-direction:column; justify-content:center; min-height:650px; }
.am-home-copy { max-width:760px; }
.am-home-eyebrow { margin-bottom:12px; }
.am-home-title { max-width:720px; font-size:clamp(40px,5.2vw,68px); }
.am-home-lead { max-width:690px; margin-bottom:28px; }
.am-finder-card {
    width:100%;
    max-width:1180px;
    margin: 0 auto;
    padding: 18px 20px 15px;
    border: 1px solid rgba(255,255,255,.48);
    border-radius: 16px;
    background: rgba(255,255,255,.28);
    box-shadow: 0 12px 36px rgba(0,0,0,.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color:#fff;
}
.am-finder-grid { display:grid; grid-template-columns: 1fr 1fr 1.13fr auto; gap:12px; align-items:end; }
.am-finder-field label { color:#fff; text-shadow:0 1px 4px rgba(0,0,0,.35); margin-bottom:6px; }
.am-finder-field select { min-height:46px; border:1px solid rgba(255,255,255,.7); border-radius:8px; background:rgba(255,255,255,.93); }
.am-finder-submit { width:auto; min-height:46px; margin:0; padding:0 26px; border-radius:8px; background:#1f73d8; white-space:nowrap; }
.am-finder-submit:hover:not(:disabled) { background:#1763bd; }
.am-finder-submit:disabled { opacity:.55; }
.am-finder-status { color:rgba(255,255,255,.95); margin-top:8px; }
.am-feature-icon { display:none; }
@media (max-width:1000px){ .am-finder-grid{grid-template-columns:repeat(3,minmax(0,1fr));}.am-finder-submit{grid-column:1/-1;justify-self:start;} }
@media (max-width:700px){ .am-home-hero{min-height:760px;padding:52px 0 46px;background-position:66% center;}.am-home-hero-inner{min-height:760px;}.am-finder-card{padding:16px;background:rgba(255,255,255,.24);}.am-finder-grid{grid-template-columns:1fr;gap:10px;}.am-finder-submit{grid-column:auto;width:100%;}.am-home-title{font-size:clamp(38px,11vw,54px);} }


/* =========================================================
   AUTOmeinungen.de – 1.10 final corrections
   ========================================================= */
body.home .am-main,
body.front-page .am-main {
    padding-top: 0;
}
.am-finder-card {
    background: rgba(255,255,255,.25);
    border-color: rgba(255,255,255,.48);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.am-finder-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    text-align: center;
    line-height: 1;
}
.am-finder-submit span:first-child { display:inline-block; }
.am-finder-submit span:last-child { display:inline-block; }
@media (max-width: 1000px) {
    .am-finder-submit { justify-content:center; }
}

/* =========================================================
   AUTOmeinungen.de – Finder 1.16
   Eigene Dropdowns: alle Menüs öffnen kontrolliert nach unten.
   ========================================================= */
.am-finder-card { overflow: visible; }
.am-finder-grid { overflow: visible; }
.am-custom-select { position: relative; min-width: 0; }
.am-finder-select-button {
    width: 100%;
    min-height: 43px;
    padding: 0 12px 0 13px;
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    background: #fff;
    color: #111;
    font: inherit;
    font-size: 14px;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.am-finder-select-button:focus-visible { outline: 2px solid #111; outline-offset: 2px; }
.am-custom-select.is-disabled .am-finder-select-button,
.am-finder-select-button:disabled { opacity: .5; cursor: not-allowed; background: #f5f5f5; }
.am-finder-select-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.am-finder-chevron { flex: 0 0 auto; font-size: 18px; line-height: 1; transform: translateY(-2px); }
.am-finder-menu {
    position: absolute;
    z-index: 1000;
    top: calc(100% + 7px);
    left: 0;
    right: 0;
    display: none;
    max-height: 280px;
    overflow-y: auto;
    padding: 5px;
    border: 1px solid #d9d9d9;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 14px 32px rgba(0,0,0,.18);
}
.am-custom-select.is-open .am-finder-menu { display: block; }
.am-finder-menu { color: #111 !important; }
.am-finder-option {
    color: #111 !important;
    padding: 10px 11px;
    border-radius: 7px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.35;
}
.am-finder-option:hover,
.am-finder-option[aria-selected="true"] { background: #f1f1f1; }
.am-finder-option:focus { outline: none; background: #f1f1f1; }
@media (max-width: 900px) {
    .am-finder-menu { max-height: 240px; }
}


/* AUTOmeinungen.de 1.16 – Finder dropdown text/overflow hardening */
.am-home-hero,
.am-home-hero-inner,
.am-home-copy,
.am-finder-card,
.am-finder-grid,
.am-custom-select { overflow: visible !important; }
.am-finder-menu,
.am-finder-option { color: #111 !important; }
.am-finder-menu { background: #fff !important; }

/* =========================================================
   AUTOmeinungen.de 1.19 – Dropdown bleibt innerhalb des Heroes
   Die tatsächliche Höhe wird beim Öffnen per JavaScript auf den
   verbleibenden Bereich bis zum Hero-/Inhaltsübergang begrenzt.
   ========================================================= */
.am-finder-menu {
    box-sizing: border-box;
    overscroll-behavior: contain;
}

/* =========================================================
   AUTOmeinungen.de – Fahrzeugseite 2.0
   ========================================================= */
.am-vehicle-page-2 {
    max-width: 1180px;
}

.am-vehicle-hero-2 {
    max-width: 1000px;
    margin: 0 auto 30px;
}

.am-vehicle-title-block {
    text-align: left;
    padding: 8px 0 0;
}

.am-vehicle-page-2 .am-vehicle-kicker {
    text-align: left;
    margin-bottom: 8px;
    color: #777;
}

.am-vehicle-page-2 .am-vehicle-title {
    margin: 0 0 18px;
    text-align: left;
    font-size: clamp(34px, 4.5vw, 58px);
    letter-spacing: -.035em;
    font-weight: 700;
}

.am-vehicle-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.am-meta-chip {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 12px;
    border: 1px solid #e5e5e5;
    border-radius: 999px;
    background: #f8f8f8;
    color: #555;
    font-size: 13px;
}

.am-meta-chip strong { color: #222; }

.am-gallery-2 {
    max-width: 1000px;
    margin-bottom: 64px;
}

.am-gallery-2 .am-gallery-main {
    border-radius: 18px;
    box-shadow: 0 14px 42px rgba(0,0,0,.10);
}

.am-gallery-2 .am-gallery-thumbs { margin-top: 14px; gap: 10px; }
.am-gallery-2 .am-gallery-thumb { border-radius: 12px; }

.am-vehicle-main-grid {
    width: min(100%, 1000px);
    margin: 0 auto 64px;
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(280px, .85fr);
    gap: 22px;
    align-items: stretch;
}

.am-vehicle-main-grid .am-section {
    width: 100%;
    margin: 0;
}

.am-section-heading { margin-bottom: 18px; }
.am-section-eyebrow {
    display: block;
    margin-bottom: 6px;
    color: #777;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.am-section-heading h2 {
    margin: 0;
    font-size: clamp(27px, 3vw, 34px);
    letter-spacing: -.025em;
    font-weight: 700;
}

.am-vehicle-data-card-2 {
    height: calc(100% - 54px);
    padding: 22px 26px;
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(0,0,0,.045);
}

.am-data-2 { grid-template-columns: 1fr; }
.am-data-2 .am-data-row {
    grid-template-columns: minmax(145px, .75fr) 1.25fr;
    padding: 13px 0;
}

.am-experience-card {
    align-self: end;
    min-height: 100%;
    padding: 28px;
    border-radius: 18px;
    background: #151515;
    color: #fff;
    box-shadow: 0 12px 34px rgba(0,0,0,.13);
}

.am-experience-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    border-radius: 50%;
    background: #fff;
    color: #111;
    font-size: 20px;
}

.am-experience-card .am-section-eyebrow { color: #aaa; }
.am-experience-card h2 {
    margin: 0 0 12px;
    font-size: 29px;
    line-height: 1.1;
}
.am-experience-card p {
    margin: 0 0 24px;
    color: #d0d0d0;
}

.am-opinion-button-2 {
    width: 100%;
    gap: 12px;
    margin-top: 0;
    border-radius: 10px;
    background: #fff;
    color: #111;
}
.am-opinion-button-2:hover { background: #f0f0f0; color: #111; }

.am-opinions-section {
    width: min(100%, 1000px);
    margin: 0 auto 64px;
}

.am-opinion-card-2 {
    display: grid;
    grid-template-columns: 62px 1fr;
    gap: 20px;
    align-items: start;
    padding: 30px;
    border-radius: 18px;
    background: #f7f7f7;
    box-shadow: none;
}

.am-opinion-empty-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #111;
    color: #fff;
    font-family: Georgia, serif;
    font-size: 32px;
}

.am-opinion-card-2 h3 {
    margin: 0 0 7px;
    font-size: 21px;
}
.am-opinion-card-2 p { margin: 0 0 14px; color: #666; }
.am-text-link {
    color: #111;
    font-weight: 700;
    text-decoration: none;
}
.am-text-link:hover { text-decoration: underline; }

.am-vehicle-nav-2 {
    width: min(100%, 1000px);
    margin: 0 auto;
    padding-top: 0;
    border-top: 0;
    gap: 12px;
}

.am-nav-card {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-height: 82px;
    padding: 18px 20px;
    border: 1px solid #e6e6e6;
    border-radius: 14px;
    background: #fff;
    text-decoration: none;
    transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.am-nav-card:hover {
    border-color: #aaa;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0,0,0,.06);
}
.am-nav-card span { color: #777; font-size: 12px; font-weight: 700; }
.am-nav-card strong { font-size: 15px; }
.am-nav-card-next { text-align: right; }

@media (max-width: 850px) {
    .am-vehicle-main-grid { grid-template-columns: 1fr; }
    .am-experience-card { min-height: 0; }
    .am-vehicle-data-card-2 { height: auto; }
}

@media (max-width: 700px) {
    .am-vehicle-page-2 .am-vehicle-title { font-size: clamp(31px, 9vw, 46px); }
    .am-vehicle-title-block { padding-top: 0; }
    .am-vehicle-meta { gap: 6px; }
    .am-meta-chip { font-size: 12px; }
    .am-gallery-2 { margin-bottom: 46px; }
    .am-data-2 .am-data-row { grid-template-columns: 1fr; gap: 3px; }
    .am-opinion-card-2 { grid-template-columns: 1fr; padding: 24px; }
    .am-vehicle-nav-2 { grid-template-columns: 1fr; }
    .am-nav-card-next { text-align: left; }
}

/* =========================================================
   AUTOmeinungen.de – Fahrzeugseite 2.2
   ---------------------------------------------------------
   Ruhigere Flächen, besser ausgerichtete Fahrzeugseite und kein schwarzer CTA-Block.
   Finder, Galerie, Fahrzeugübergabe und Datenlogik bleiben unverändert.
   ========================================================= */
body:has(.am-vehicle-page-2) {
    background: #f2f3f4;
}

.am-vehicle-page-2 {
    padding-top: 12px;
    padding-bottom: 34px;
}

.am-vehicle-hero-2 {
    max-width: 1080px;
    margin-bottom: 26px;
}

.am-vehicle-title-block {
    padding: 8px 0 2px;
}

.am-vehicle-page-2 .am-vehicle-kicker {
    color: #73777b;
    letter-spacing: .1em;
}

.am-vehicle-page-2 .am-vehicle-title {
    color: #17191b;
    margin-bottom: 16px;
}

.am-meta-chip {
    min-height: 32px;
    padding: 6px 11px;
    border-color: #d9dcdf;
    background: #e7e9eb;
    color: #555a5e;
}

.am-meta-chip strong { color: #222528; }

.am-gallery-2 {
    max-width: 1080px;
    margin-bottom: 46px;
}

.am-gallery-2 .am-gallery-main {
    border-radius: 16px;
    box-shadow: 0 12px 34px rgba(0,0,0,.10);
}

.am-gallery-2 .am-gallery-thumbs {
    margin-top: 10px;
}

.am-gallery-2 .am-gallery-thumb span {
    background: #e8eaec;
    color: #3e4347;
}

.am-vehicle-main-grid {
    max-width: 1080px;
    margin-bottom: 50px;
    gap: 34px;
}

/* Rechte Erfahrungsbox beginnt auf Höhe der oberen Datenlinie. */
.am-vehicle-main-grid .am-experience-card {
    margin-top: 49px;
}

/* Fahrzeugüberschrift beginnt exakt auf der gleichen linken Achse wie die Galerie. */
.am-vehicle-title-block {
    padding-left: 0;
    padding-right: 0;
}
.am-vehicle-page-2 .am-vehicle-title {
    margin-top: 0;
}

.am-section-heading {
    margin-bottom: 14px;
}

.am-section-eyebrow {
    color: #74797e;
}

.am-section-heading h2 {
    color: #181a1c;
}

/* Fahrzeugdaten: keine weiße Karte mehr, sondern ruhige offene Fläche. */
.am-vehicle-data-card-2 {
    height: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.am-data-2 {
    overflow: hidden;
    border-top: 1px solid #d7dadd;
    border-bottom: 1px solid #d7dadd;
}

.am-data-2 .am-data-row {
    padding: 14px 8px;
    border-bottom-color: #d7dadd;
}

.am-data-2 .am-data-row:last-child {
    border-bottom: 0;
}

.am-data-2 .am-data-label {
    color: #777d82;
    font-size: 14px;
}

.am-data-2 .am-data-value {
    color: #202326;
}

/* Community-CTA: hell und freundlich statt schwarzer Block. */
.am-experience-card {
    min-height: 0;
    align-self: start;
    padding: 28px;
    border: 1px solid #d9dcdf;
    border-radius: 16px;
    background: #e5e7e9;
    color: #1d2023;
    box-shadow: none;
}

.am-experience-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 18px;
    background: #fff;
    color: #222;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
}

.am-experience-card .am-section-eyebrow {
    color: #6d7277;
}

.am-experience-card h2 {
    color: #17191b;
    margin-bottom: 10px;
}

.am-experience-card p {
    color: #555b60;
    margin-bottom: 20px;
}

.am-opinion-button-2 {
    width: auto;
    min-width: 100%;
    min-height: 46px;
    padding: 11px 18px;
    border: 1px solid #cfd3d6;
    border-radius: 10px;
    background: #fff;
    color: #17191b;
    box-shadow: 0 2px 7px rgba(0,0,0,.04);
}

.am-opinion-button-2:hover {
    background: #f7f7f7;
    color: #111;
    border-color: #b9bec2;
}

/* Fahrermeinungen als ruhiger Inhaltsbereich statt großer weißer Karte. */
.am-opinions-section {
    max-width: 1080px;
    margin-bottom: 50px;
}

.am-opinion-card-2 {
    grid-template-columns: 54px 1fr;
    gap: 18px;
    padding: 24px 0;
    border-top: 1px solid #d7dadd;
    border-bottom: 1px solid #d7dadd;
    border-radius: 0;
    background: transparent;
}

.am-opinion-empty-icon {
    width: 48px;
    height: 48px;
    background: #dfe2e4;
    color: #4d5358;
    font-size: 28px;
}

.am-opinion-card-2 h3 {
    color: #222528;
}

.am-opinion-card-2 p {
    color: #666c71;
}

.am-text-link {
    color: #202326;
}

/* Vorher/Nächstes: leicht und nicht wie zwei weitere weiße Karten. */
.am-vehicle-nav-2 {
    max-width: 1080px;
}

.am-nav-card {
    min-height: 72px;
    padding: 15px 4px;
    border: 0;
    border-top: 1px solid #d7dadd;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.am-nav-card:hover {
    border-color: #bfc3c7;
    transform: none;
    box-shadow: none;
}

.am-nav-card span { color: #777d82; }
.am-nav-card strong { color: #202326; }

@media (max-width: 850px) {
    .am-experience-card {
        padding: 24px;
    }
    .am-vehicle-main-grid .am-experience-card {
        margin-top: 0;
    }
}

@media (max-width: 700px) {
    .am-vehicle-page-2 {
        padding-top: 4px;
    }
    .am-vehicle-main-grid {
        gap: 38px;
    }
    .am-opinion-card-2 {
        padding: 20px 0;
    }
}


/* =========================================================
   AUTOmeinungen.de – Fahrzeugseite 2.4
   Titelblock exakt auf die Galerie ausrichten
   ========================================================= */
.am-vehicle-title-block {
    width: min(100%, 1000px);
    margin-inline: auto;
}

.am-vehicle-title-block .am-vehicle-title {
    text-align: left;
}

@media (max-width: 700px) {
    .am-vehicle-title-block {
        width: 100%;
    }
}


/* =========================================================
   AUTOmeinungen.de – 2.5.0 Fahrermeinungen & lokale Videos
   ========================================================= */
.am-opinions-list {
    display: grid;
    gap: 18px;
}
.am-opinion-entry {
    padding: 22px 0;
    border-top: 1px solid #d7dadd;
}
.am-opinion-entry:last-child { border-bottom: 1px solid #d7dadd; }
.am-opinion-entry-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 12px;
}
.am-opinion-entry h3 { margin: 0 0 3px; font-size: 19px; }
.am-opinion-date { color: #81868b; font-size: 13px; }
.am-opinion-rating {
    white-space: nowrap;
    font-weight: 700;
    font-size: 15px;
}
.am-opinion-extra {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin: 0 0 14px;
    color: #60666b;
    font-size: 13px;
}
.am-opinion-content { color: #33383c; }
.am-opinion-content > :first-child { margin-top: 0; }
.am-opinion-content > :last-child { margin-bottom: 0; }
.am-opinion-share-link { display: inline-block; margin-top: 16px; }

.am-videos-section { max-width: 1080px; margin-bottom: 52px; }
.am-video-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}
.am-video-card { margin: 0; }
.am-video-card video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: #111;
    border-radius: 14px;
}
.am-video-card h3 { margin: 10px 0 0; font-size: 16px; }
.am-video-empty {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 18px 0;
    border-top: 1px solid #d7dadd;
    border-bottom: 1px solid #d7dadd;
    color: #656b70;
}
.am-video-empty strong { color: #202326; }
@media (max-width: 700px) {
    .am-opinion-entry-head { flex-direction: column; gap: 8px; }
    .am-video-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   AUTOmeinungen.de – Fahrzeugseite 2.6
   ---------------------------------------------------------
   Community-Bereich kompakter und moderner; Fahrermeinungen ohne
   Sternebewertung; lokale Videos als eigener Inhaltsblock.
   ========================================================= */
.am-vehicle-main-grid .am-experience-card {
    /* Die Box startet exakt auf der oberen Trennlinie der ersten Datenzeile.
       Überschrift + Abstand des Datenblocks werden dabei übersprungen. */
    margin-top: 58px;
    align-self: stretch;
    min-height: 0;
    box-sizing: border-box;
}

.am-community-grid {
    width: min(100%, 1080px);
    margin: 0 auto 58px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 34px;
    align-items: start;
}

.am-community-grid .am-section {
    width: 100%;
    margin: 0;
}

.am-community-grid .am-section-heading {
    position: relative;
    min-height: 66px;
    margin-bottom: 18px;
}

.am-section-subline {
    margin: 7px 0 0;
    color: #73797e;
    font-size: 14px;
    line-height: 1.5;
}

.am-community-heading {
    padding-right: 190px;
}

.am-inline-action {
    position: absolute;
    right: 0;
    bottom: 2px;
    color: #202326;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.am-inline-action:hover {
    text-decoration: underline;
}

.am-opinions-section .am-opinions-list {
    gap: 0;
}

.am-opinions-section .am-opinion-entry {
    padding: 20px 22px;
    border: 1px solid #dfe2e4;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(0,0,0,.035);
}

.am-opinions-section .am-opinion-entry + .am-opinion-entry {
    margin-top: 12px;
}

.am-opinion-entry-head {
    margin-bottom: 9px;
}

.am-opinion-entry h3 {
    font-size: 17px;
    line-height: 1.3;
}

.am-opinion-date {
    font-size: 12px;
}

.am-opinion-extra {
    margin: 0 0 13px;
    gap: 7px;
}

.am-opinion-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 9px;
    border-radius: 999px;
    background: #eef0f1;
    color: #555b60;
    font-size: 12px;
}

.am-opinion-pill strong {
    color: #25292c;
}

.am-opinion-content {
    font-size: 14px;
    line-height: 1.65;
}

.am-opinion-content-empty {
    color: #747a7f;
    font-style: italic;
}

.am-videos-section .am-video-grid {
    grid-template-columns: 1fr;
    gap: 14px;
}

.am-video-card video {
    border: 1px solid #d9dcdf;
    border-radius: 15px;
    box-shadow: 0 5px 18px rgba(0,0,0,.035);
}

.am-video-empty {
    min-height: 214px;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 28px 24px;
    border: 1px dashed #cbd0d4;
    border-radius: 15px;
    background: rgba(255,255,255,.42);
}

.am-video-play {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 13px;
    border-radius: 50%;
    background: #dfe5e9;
    color: #59636b;
    font-size: 17px;
    padding-left: 3px;
}

.am-video-empty strong {
    color: #24282b;
    font-size: 15px;
}

.am-video-empty span {
    max-width: 360px;
    color: #73797e;
    font-size: 13px;
    line-height: 1.45;
}

.am-video-upload-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    padding: 10px 15px;
    border: 1px solid #d0d4d7;
    border-radius: 9px;
    background: #fff;
    color: #202326;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 2px 7px rgba(0,0,0,.035);
}

.am-video-upload-button:hover {
    background: #f7f7f7;
    color: #111;
}

.am-video-upload-form {
    width: min(100%, 100%);
    display: grid;
    gap: 12px;
    margin: 14px auto 0;
    padding: 18px;
    border: 1px solid #d9dcdf;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(0,0,0,.035);
    text-align: left;
}

.am-video-upload-form label {
    display: grid;
    gap: 6px;
    color: #4f565b;
    font-size: 12px;
    font-weight: 700;
}

.am-video-upload-form input[type="text"],
.am-video-upload-form input[type="file"] {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 11px;
    border: 1px solid #d0d4d7;
    border-radius: 9px;
    background: #fff;
    color: #202326;
    font: inherit;
}

.am-video-upload-form .am-video-upload-button {
    justify-self: center;
    cursor: pointer;
}

.am-video-upload-error {
    max-width: 420px;
    margin-top: 8px;
    color: #9a3b3b !important;
}

.am-video-cancel {
    margin-top: 6px;
    color: #73797e;
    font-size: 12px;
    text-decoration: none;
}

.am-video-cancel:hover {
    text-decoration: underline;
}

/* Sternebewertung ist auf AUTOmeinungen.de bewusst nicht Bestandteil der Darstellung. */
.am-opinion-rating {
    display: none !important;
}

@media (max-width: 850px) {
    .am-community-grid {
        grid-template-columns: 1fr;
        gap: 46px;
    }
    .am-community-heading {
        padding-right: 0;
    }
    .am-community-grid .am-section-heading {
        min-height: 0;
    }
    .am-inline-action {
        position: static;
        display: inline-block;
        margin-top: 10px;
    }
}

@media (max-width: 700px) {
    .am-vehicle-main-grid .am-experience-card {
        margin-top: 0;
    }
    .am-community-grid {
        margin-bottom: 44px;
    }
    .am-opinions-section .am-opinion-entry {
        padding: 18px;
    }
}


/* =========================================================
   AUTOmeinungen.de – 2.8.0 Feinausrichtung
   ========================================================= */
.am-vehicle-main-grid .am-data-section {
    min-width: 0;
}

.am-vehicle-main-grid .am-experience-card {
    margin-top: 58px !important;
}

.am-community-grid {
    align-items: start;
}

.am-community-grid > .am-section {
    min-width: 0;
}

.am-videos-section .am-section-heading,
.am-opinions-section .am-section-heading {
    min-height: 66px;
}

.am-video-upload-form .am-video-upload-button {
    width: auto;
    justify-self: start;
}

@media (max-width: 850px) {
    .am-vehicle-main-grid .am-experience-card {
        margin-top: 0 !important;
        height: auto;
    }
}


/* =========================================================
   AUTOmeinungen.de – Theme 2.8.0
   Präzise Ausrichtung der Fahrzeugdaten-/Erfahrungsbox und
   des Community-Bereichs nach dem abgestimmten Layout.
   ========================================================= */
.am-vehicle-main-grid .am-experience-card {
    /* Exakt die Höhe von Überschrift + Abstand des Datenblocks überspringen.
       Dadurch beginnt die Box auf der ersten Daten-Trennlinie (Baujahre). */
    margin-top: 78px !important;
    align-self: stretch;
    height: auto;
    min-height: 0;
    box-sizing: border-box;
}

.am-community-grid {
    border-top: 1px solid #d7dadd;
    padding-top: 20px;
}

.am-community-grid .am-section-heading {
    min-height: 66px;
}

.am-videos-section .am-section-heading {
    position: relative;
    padding-right: 175px;
}

.am-videos-section .am-section-heading > .am-video-upload-button {
    position: absolute;
    right: 0;
    bottom: 4px;
    margin-top: 0;
}

@media (max-width: 850px) {
    .am-vehicle-main-grid .am-experience-card {
        margin-top: 0 !important;
        height: auto;
    }
    .am-videos-section .am-section-heading {
        padding-right: 0;
    }
    .am-videos-section .am-section-heading > .am-video-upload-button {
        position: static;
        margin-top: 12px;
    }
}


/* =========================================================
   AUTOmeinungen.de – Theme 3.0.0 Konzeptlayout
   ========================================================= */
.am-vehicle-page-3 {
    width: min(calc(100% - 40px), 1280px);
    margin: 0 auto;
}
.am-vehicle-title-block-3 { width: 100%; margin: 0 0 24px; text-align: left; }
.am-vehicle-title-block-3 .am-vehicle-kicker { text-align:left; margin:0 0 8px; color:#667085; font-size:12px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.am-vehicle-title-block-3 .am-vehicle-title { text-align:left; margin:0 0 14px; font-size:clamp(32px,3.3vw,48px); font-weight:800; letter-spacing:-.035em; }
.am-vehicle-meta { display:flex; flex-wrap:wrap; gap:10px; }
.am-meta-chip { display:inline-flex; align-items:center; padding:7px 13px; border:1px solid #e2e6ea; border-radius:999px; background:#f4f6f8; color:#4d5b6a; font-size:13px; line-height:1.2; }
.am-meta-chip strong { font-weight:700; margin-right:4px; }

.am-vehicle-upper-grid {
    display:grid;
    grid-template-columns:minmax(0, 1.55fr) minmax(0, 1.12fr) minmax(270px, .9fr);
    gap:28px;
    align-items:stretch;
    margin-bottom:28px;
}
.am-vehicle-upper-grid .am-gallery-3 { width:100%; margin:0; }
.am-gallery-3 .am-gallery-main { aspect-ratio: 16 / 9; border-radius:14px; box-shadow:none; }
.am-gallery-3 .am-gallery-thumb { border:2px solid transparent; border-radius:9px; }
.am-gallery-3 .am-gallery-thumb.is-active { border-color:#1683e8; box-shadow:none; }
.am-gallery-3 .am-gallery-thumb span { display:none; }
.am-gallery-3 .am-gallery-thumbs { gap:10px; margin-top:10px; }
.am-gallery-3 .am-gallery-thumb img { aspect-ratio: 16/9; }

.am-spec-column { min-width:0; display:flex; flex-direction:column; }
.am-spec-heading { margin:0 0 8px; }
.am-spec-heading .am-section-eyebrow { display:none; }
.am-spec-heading h2 { margin:0; font-size:28px; line-height:1.15; font-weight:800; letter-spacing:-.025em; }
.am-spec-list { border-top:1px solid #d8dde2; border-bottom:1px solid #d8dde2; }
.am-spec-row { display:grid; grid-template-columns:minmax(125px,.9fr) 1.1fr; gap:18px; min-height:42px; align-items:center; padding:9px 0; border-bottom:1px solid #d8dde2; }
.am-spec-row:last-child { border-bottom:0; }
.am-spec-row .am-data-label { color:#667085; font-size:13px; }
.am-spec-row .am-data-value { color:#141b26; font-size:14px; font-weight:700; }

.am-experience-card-3 {
    margin:0 !important;
    min-height:0 !important;
    align-self:stretch !important;
    height:auto !important;
    padding:24px 25px 20px;
    border:1px solid #d9dee3;
    border-radius:16px;
    background:#e9edf0;
    color:#152033;
    box-shadow:none;
}
.am-experience-card-3 .am-section-eyebrow { color:#667085; margin-bottom:8px; }
.am-experience-card-3 h2 { margin:0 0 12px; font-size:28px; color:#152033; }
.am-experience-card-3 p { margin:0 0 20px; color:#4e6073; font-size:15px; }
.am-opinion-button-3 { display:flex; align-items:center; justify-content:space-between; width:100%; min-height:48px; padding:12px 16px; border-radius:9px; background:#1683e8; color:#fff; font-weight:700; }
.am-opinion-button-3:hover { background:#0e74d0; color:#fff; }
.am-experience-points { margin:18px 0 0; padding:0; list-style:none; }
.am-experience-points li { position:relative; padding:5px 0 5px 25px; color:#536477; font-size:13px; }
.am-experience-points li::before { content:'✓'; position:absolute; left:0; top:4px; color:#566879; font-weight:800; }

.am-community-grid-3 { display:grid; grid-template-columns:1fr 1fr; gap:0; border-top:1px solid #d8dde2; padding-top:20px; margin-bottom:50px; }
.am-community-grid-3 > .am-section { width:100%; margin:0; padding:0 26px 0 0; }
.am-community-grid-3 > .am-section + .am-section { padding:0 0 0 26px; border-left:1px solid #d8dde2; }
.am-community-heading-3 { display:flex; justify-content:space-between; align-items:flex-end; gap:18px; min-height:66px; margin-bottom:14px; }
.am-community-heading-3 h2 { margin:0; font-size:28px; font-weight:800; letter-spacing:-.025em; }
.am-community-heading-3 .am-section-eyebrow { margin-bottom:5px; }
.am-section-subline { margin:4px 0 0; color:#667085; font-size:13px; }
.am-community-heading-3 .am-video-upload-button { flex:0 0 auto; margin:0; }
.am-video-upload-button { display:inline-flex; align-items:center; gap:8px; padding:10px 14px; border:1px solid #d2d9df; border-radius:9px; background:#fff; color:#1b2735; font-size:13px; font-weight:700; text-decoration:none; box-shadow:0 2px 6px rgba(0,0,0,.04); }
.am-video-upload-button:hover { color:#111; background:#f7f9fa; }
.am-video-empty { min-height:190px; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; padding:26px 24px; border:1px dashed #cbd2d8; border-radius:14px; background:rgba(255,255,255,.35); }
.am-video-play { width:50px; height:50px; margin-bottom:12px; display:flex; align-items:center; justify-content:center; border-radius:50%; background:#dce4ea; color:#657485; }
.am-video-empty strong { font-size:15px; }
.am-video-empty span { max-width:390px; margin-top:5px; color:#667085; font-size:13px; }
.am-video-empty .am-video-upload-button { margin-top:14px; }
.am-video-note { margin:8px 0 0; color:#667085; font-size:11px; }
.am-opinion-entry { padding:18px 20px; border:1px solid #dfe4e8; border-radius:14px; background:#fff; box-shadow:0 3px 12px rgba(0,0,0,.03); }
.am-opinion-entry h3 { margin:0 0 5px; font-size:16px; }
.am-opinion-date { color:#667085; font-size:12px; }
.am-opinion-extra { display:flex; flex-wrap:wrap; gap:8px; margin:12px 0; }
.am-opinion-pill { padding:6px 9px; border-radius:999px; background:#f0f3f5; color:#364152; font-size:12px; }
.am-opinion-content { color:#435267; font-size:13px; line-height:1.55; }
.am-opinion-content p { margin:0 0 8px; }
.am-opinion-content p:last-child { margin-bottom:0; }
.am-opinion-content-empty { color:#667085; font-style:italic; }

@media (max-width: 1000px) {
  .am-vehicle-upper-grid { grid-template-columns:minmax(0,1.25fr) minmax(0,1fr); }
  .am-experience-card-3 { grid-column:1 / -1; margin-top:0 !important; height:auto !important; }
}
@media (max-width: 800px) {
  .am-vehicle-upper-grid, .am-community-grid-3 { grid-template-columns:1fr; }
  .am-community-grid-3 > .am-section, .am-community-grid-3 > .am-section + .am-section { padding:0; border-left:0; }
  .am-community-grid-3 > .am-section + .am-section { margin-top:34px; padding-top:34px; border-top:1px solid #d8dde2; }
  .am-experience-card-3 { grid-column:auto; }
}
@media (max-width: 560px) {
  .am-vehicle-page-3 { width:min(calc(100% - 24px),1280px); }
  .am-vehicle-title-block-3 .am-vehicle-title { font-size:32px; }
  .am-community-heading-3 { align-items:flex-start; flex-direction:column; }
  .am-community-heading-3 .am-video-upload-button { align-self:flex-start; }
}


/* =========================================================
   AUTOmeinungen.de – Theme 3.0.0 finale Konzeptanpassung
   ========================================================= */
.am-vehicle-upper-grid {
    align-items: stretch;
}
.am-vehicle-upper-grid .am-gallery-3,
.am-vehicle-upper-grid .am-experience-card-3 {
    align-self: stretch;
}
.am-vehicle-upper-grid .am-experience-card-3 {
    margin: 0 !important;
    height: auto !important;
    box-sizing: border-box;
}
.am-gallery-3 {
    display: flex;
    flex-direction: column;
}
.am-gallery-3 .am-gallery-thumbs {
    margin-top: 10px;
}
.am-gallery-3 .am-gallery-thumb {
    min-width: 0;
}
.am-gallery-3 .am-gallery-thumb img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}
.am-video-card video {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    background: #111;
}
.am-video-upload-success {
    width: min(100%, 520px);
    margin: 0 auto 14px;
    padding: 11px 14px;
    border: 1px solid #cfe5d5;
    border-radius: 9px;
    background: #f2faf4;
    color: #2d6a3d;
    font-size: 13px;
    text-align: center;
}
@media (max-width: 1000px) {
    .am-vehicle-upper-grid .am-experience-card-3 {
        margin-top: 0 !important;
        height: auto !important;
    }
}


/* Theme 3.2 – Video-Upload-Diagnose */
.am-video-upload-diagnostic{margin:14px 0;padding:14px 16px;border:1px solid #d7dde5;border-radius:12px;background:#f5f7fa;display:flex;flex-direction:column;gap:5px;font-size:13px;line-height:1.45;color:#52606d}
.am-video-upload-diagnostic>strong{color:#172b4d;font-size:14px}
.am-video-upload-diagnostic .am-video-upload-error{color:#9b2c2c;background:#fff1f1;padding:8px 10px;border-radius:8px;margin-top:4px}

/* Theme 3.5 – Chunk-Upload Diagnose */
.am-video-progress{width:min(100%,620px);margin:14px auto 0;padding:12px 14px;border:1px solid #d7dde5;border-radius:10px;background:#f7f9fb;display:flex;flex-direction:column;gap:6px;box-sizing:border-box}
.am-video-progress[hidden]{display:none}
.am-video-progress-bar{height:9px;border-radius:999px;background:#dfe5ea;overflow:hidden}
.am-video-progress-bar span{display:block;width:0;height:100%;background:#1683e8;transition:width .15s ease}
.am-video-progress-text{font-size:13px;color:#26364a}
.am-video-progress-detail{font-size:12px;color:#667085}
.am-video-progress-detail.is-error{color:#a22b2b;font-weight:700}
.am-video-chunk-form .am-video-upload-button:disabled{opacity:.55;cursor:wait}


/* =========================================================
   AUTOmeinungen.de – Theme 3.5.0
   Fahrermeinung und Video-Inhalt exakt auf gleicher Höhe;
   zusätzliche Erfahrungsdaten und Datenschutz im Footer.
   ========================================================= */
.am-community-grid-3 > .am-section {
    display: flex;
    flex-direction: column;
}
.am-community-grid-3 .am-section-heading {
    flex: 0 0 auto;
}
.am-community-grid-3 .am-video-grid,
.am-community-grid-3 .am-video-empty,
.am-community-grid-3 .am-opinions-list,
.am-community-grid-3 .am-opinion-card-2 {
    margin-top: 0;
}

/* Die eigentlichen Inhalte beginnen exakt auf derselben horizontalen Linie. */
.am-community-grid-3 .am-video-grid,
.am-community-grid-3 .am-video-empty,
.am-community-grid-3 .am-opinions-list,
.am-community-grid-3 .am-opinion-card-2 {
    min-height: 0;
}

.am-opinions-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.am-opinion-entry {
    margin: 0;
    padding: 20px 22px 21px;
    border: 1px solid #dfe4e8;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 3px 12px rgba(0,0,0,.03);
}
.am-opinion-entry-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}
.am-opinion-entry-head h3 {
    margin: 0 0 7px;
    font-size: 17px;
    line-height: 1.3;
}
.am-opinion-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    color: #667085;
    font-size: 12px;
}
.am-opinion-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 0 18px;
    margin: 0 0 16px;
    padding: 10px 0;
    border-top: 1px solid #edf0f2;
    border-bottom: 1px solid #edf0f2;
}
.am-opinion-detail {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    font-size: 12px;
}
.am-opinion-detail-label { color: #667085; }
.am-opinion-detail strong { color: #26364a; text-align: right; font-weight: 700; }
.am-opinion-content-label {
    margin-bottom: 7px;
    color: #667085;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

/* Video-Darstellung: mehrere Videos bleiben möglich, jedes mit Titel. */
.am-videos-section .am-video-grid {
    grid-template-columns: 1fr;
    gap: 16px;
}
.am-video-card h3 {
    margin: 9px 0 0;
    color: #1d2939;
    font-size: 15px;
    line-height: 1.35;
}
.am-video-card video {
    aspect-ratio: 16 / 9;
    object-fit: contain;
}

.am-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.am-footer-nav {
    display: flex;
    gap: 18px;
}
.am-footer-nav a {
    color: #667085;
    text-decoration: none;
    font-size: 13px;
}
.am-footer-nav a:hover { color: #1d2939; text-decoration: underline; }

@media (max-width: 700px) {
    .am-opinion-details { grid-template-columns: 1fr; }
    .am-footer-inner { align-items: flex-start; flex-direction: column; }
}


/* =========================================================
   AUTOmeinungen.de – Theme 3.6.0
   Header-Raster, hochwertiger Video-Rahmen, Fahrermeinung ohne Icons
   und neuer dunkler Footer.
   ========================================================= */
.am-header-inner.am-header-grid {
    width: min(calc(100% - 48px), 1280px);
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 52px;
}
.am-brand { justify-self: start; }
.am-nav { justify-self: end; }

.am-community-grid-3 .am-section-heading { margin-bottom: 16px; }
.am-community-grid-3 .am-video-card {
    padding: 10px;
    border: 1px solid #d9dfe5;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15,31,48,.07);
}
.am-community-grid-3 .am-video-card video {
    display:block;
    width:100%;
    aspect-ratio:16/9;
    border-radius:10px;
    background:#111923;
    object-fit:contain;
}
.am-community-grid-3 .am-video-card h3 { padding: 0 4px 4px; }
.am-video-empty {
    border:1px solid #d9dfe5;
    background:linear-gradient(180deg,#fbfcfd,#f3f6f8);
    box-shadow:0 8px 24px rgba(15,31,48,.05);
}
.am-video-play { background:#e5eaef; }
.am-video-note { font-size:11px; color:#7a8795; }
.am-opinion-meta { gap:8px 18px; }
.am-opinion-meta span { display:inline-block; }

/* Datenschutzdiagnose ist nicht mehr Teil des sichtbaren Upload-Designs. */
.am-video-upload-diagnostic { display:none; }

/* Moderationshinweis */
.am-video-upload-success { line-height:1.5; }

/* Neuer Footer */
.am-footer-3-6 {
    margin-top:70px;
    padding:0;
    border-top:0;
    background:#0d2138;
    color:#dbe6f2;
}
.am-footer-topline { height:4px; background:#1b4d7c; }
.am-footer-grid {
    display:grid;
    grid-template-columns:minmax(1.5fr,2fr) repeat(3,minmax(0,1fr));
    gap:54px;
    padding:54px 0 44px;
}
.am-footer-brand { display:inline-block; color:#fff; text-decoration:none; font-size:26px; font-weight:800; letter-spacing:-.03em; }
.am-footer-brand span { font-weight:400; }
.am-footer-tagline { margin:7px 0 15px; color:#fff; font-size:14px; font-weight:600; }
.am-footer-copy { max-width:360px; margin:0; color:#aebfd0; font-size:13px; line-height:1.7; }
.am-footer-col { display:flex; flex-direction:column; align-items:flex-start; gap:9px; }
.am-footer-col h3 { margin:2px 0 8px; color:#fff; font-size:14px; font-weight:800; }
.am-footer-col a { color:#b9c9d9; font-size:13px; text-decoration:none; }
.am-footer-col a:hover { color:#fff; }
.am-footer-bottom {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    min-height:70px;
    border-top:1px solid rgba(219,230,242,.16);
    color:#8fa5ba;
    font-size:12px;
}
.am-footer-bottom-slogan { color:#b9c9d9; }
.am-footer-top {
    width:38px; height:38px; display:inline-flex; align-items:center; justify-content:center;
    border-radius:50%; background:#edf3f8; color:#10273f; text-decoration:none; font-size:20px;
}
@media (max-width: 900px) {
    .am-header-inner.am-header-grid { grid-template-columns:1fr; gap:12px; padding-top:15px; padding-bottom:15px; }
    .am-nav { justify-self:start; flex-wrap:wrap; }
    .am-footer-grid { grid-template-columns:1fr 1fr; gap:36px 28px; }
}
@media (max-width: 560px) {
    .am-header-inner.am-header-grid { width:min(calc(100% - 24px),1280px); }
    .am-footer-grid { grid-template-columns:1fr; padding:40px 0 32px; }
    .am-footer-bottom { flex-wrap:wrap; padding:18px 0; }
    .am-footer-top { margin-left:auto; }
}

/* =========================================================
   AUTOmeinungen.de – Theme 3.7.0
   Stabilisierung Video, Header/Footer und Community-Raster
   ========================================================= */
.am-header-inner.am-header-3-7 {
    grid-template-columns: auto minmax(0, 1fr) !important;
    gap: 42px !important;
}
.am-header-inner.am-header-3-7 .am-brand { justify-self:start !important; }
.am-header-inner.am-header-3-7 .am-nav { justify-self:start !important; display:flex; align-items:center; flex-wrap:wrap; gap:26px; }
.am-header-inner.am-header-3-7 .am-nav a { white-space:nowrap; }

/* Beide Community-Spalten besitzen denselben Startpunkt für ihren Inhalt. */
.am-community-grid-3 { align-items:start; }
.am-community-grid-3 > .am-section { align-self:start; }
.am-community-grid-3 .am-community-heading-3 { min-height:82px; margin-bottom:14px; align-items:flex-start; }
.am-community-grid-3 .am-community-heading-3 > div { min-height:82px; }
.am-community-grid-3 .am-opinions-list,
.am-community-grid-3 .am-video-grid,
.am-community-grid-3 .am-video-empty,
.am-community-grid-3 .am-video-upload-success,
.am-community-grid-3 .am-video-upload-state { margin-top:0; }

/* Video-Rahmen etwas ruhiger und hochwertiger. */
.am-community-grid-3 .am-video-card { padding:8px; border-radius:14px; box-shadow:0 6px 20px rgba(15,31,48,.06); }
.am-community-grid-3 .am-video-card video { border-radius:9px; }
.am-video-upload-panel { padding:20px; border:1px solid #d9dfe5; border-radius:14px; background:#fff; box-shadow:0 6px 20px rgba(15,31,48,.05); }
.am-video-upload-panel > strong { display:block; margin-bottom:5px; color:#1d2939; font-size:15px; }
.am-video-upload-panel > span { display:block; margin-bottom:16px; color:#667085; font-size:13px; }
.am-video-upload-form { display:flex; flex-direction:column; gap:12px; }
.am-video-upload-form label { display:flex; flex-direction:column; gap:6px; color:#475467; font-size:12px; font-weight:700; }
.am-video-upload-form input[type="text"], .am-video-upload-form input[type="file"] { width:100%; box-sizing:border-box; padding:10px 11px; border:1px solid #d7dde4; border-radius:8px; background:#fff; font:inherit; color:#1d2939; }
.am-video-cancel { color:#667085; font-size:12px; text-decoration:none; }
.am-video-cancel:hover { color:#1d2939; text-decoration:underline; }
.am-video-upload-success { margin:0 0 14px; width:100%; box-sizing:border-box; }
.am-video-upload-error { margin-top:8px; padding:9px 11px; border-radius:8px; background:#fff1f1; color:#a22b2b; font-size:12px; }

/* Footer: fünf klar nebeneinanderstehende Themenblöcke. */
.am-footer-3-7 { margin-top:70px; background:#0d2138; color:#dbe6f2; }
.am-footer-grid-3-7 { display:grid; grid-template-columns:minmax(1.5fr,1.8fr) repeat(4,minmax(0,1fr)); gap:34px; padding:52px 0 42px; }
.am-footer-grid-3-7 .am-footer-col { min-width:0; }
.am-footer-grid-3-7 .am-footer-col h3 { margin:2px 0 9px; color:#fff; font-size:14px; }
.am-footer-grid-3-7 .am-footer-col a { color:#b9c9d9; font-size:13px; line-height:1.35; }
.am-footer-grid-3-7 .am-footer-col a:hover { color:#fff; }

@media (max-width: 1050px) {
    .am-header-inner.am-header-3-7 { gap:24px !important; }
    .am-header-inner.am-header-3-7 .am-nav { gap:18px; }
    .am-footer-grid-3-7 { grid-template-columns:1.5fr 1fr 1fr; }
}
@media (max-width: 800px) {
    .am-header-inner.am-header-3-7 { grid-template-columns:1fr !important; gap:10px !important; }
    .am-header-inner.am-header-3-7 .am-nav { justify-self:start !important; }
    .am-community-grid-3 .am-community-heading-3,
    .am-community-grid-3 .am-community-heading-3 > div { min-height:0; }
    .am-footer-grid-3-7 { grid-template-columns:1fr 1fr; gap:30px 24px; }
}
@media (max-width: 560px) {
    .am-header-inner.am-header-3-7 .am-nav { gap:12px 18px; }
    .am-footer-grid-3-7 { grid-template-columns:1fr; }
}


/* =========================================================
   AUTOmeinungen.de – Theme 3.8.0
   Startseite: neue Designvorschau mit Platzhalter-Inhalten
   ========================================================= */
body.home .am-main, body.front-page .am-main { padding-top:0; }
.am-home38-hero {
    position:relative; min-height:500px; display:flex; align-items:center; overflow:hidden;
    background-image:linear-gradient(90deg,rgba(10,27,48,.92) 0%,rgba(10,27,48,.62) 43%,rgba(10,27,48,.12) 72%),url('assets/hero-home.jpg');
    background-size:cover; background-position:center;
}
.am-home38-hero-inner { padding:76px 0 82px; }
.am-home38-copy { max-width:650px; color:#fff; }
.am-home38-eyebrow { margin:0 0 12px; font-size:13px; font-weight:800; letter-spacing:.14em; text-transform:uppercase; opacity:.9; }
.am-home38-title { margin:0; font-size:clamp(42px,5vw,70px); line-height:.98; letter-spacing:-.045em; }
.am-home38-lead { max-width:570px; margin:22px 0 28px; font-size:18px; line-height:1.55; color:#f3f7fb; }
.am-home38-cta { display:inline-flex; align-items:center; gap:12px; padding:14px 22px; border-radius:10px; background:#fff; color:#122b47; text-decoration:none; font-weight:800; }
.am-home38-cta:hover { transform:translateY(-1px); }
.am-home38-finder { margin-top:34px; max-width:980px; padding:18px; border:1px solid rgba(255,255,255,.32); border-radius:18px; background:rgba(255,255,255,.16); backdrop-filter:blur(10px); }
.am-home38-finder-label { color:#fff; font-weight:800; margin-bottom:12px; }
.am-home38-finder-row { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)) auto; gap:10px; align-items:end; }
.am-finder-field { min-width:0; display:flex; flex-direction:column; gap:6px; }
.am-finder-field > span { color:#fff; font-size:11px; font-weight:800; letter-spacing:.03em; }
.am-finder-field select { width:100%; min-height:46px; box-sizing:border-box; border:1px solid rgba(15,31,48,.12); border-radius:9px; padding:0 38px 0 13px; background:#fff; color:#142b47; font:inherit; font-size:14px; appearance:auto; }
.am-finder-field select:disabled { color:#8996a5; background:#f3f5f7; cursor:not-allowed; }
.am-home38-finder-button { min-height:46px; border:0; display:inline-flex; align-items:center; justify-content:center; gap:9px; padding:0 18px; border-radius:9px; background:#173b62; color:#fff; font:inherit; font-weight:800; white-space:nowrap; cursor:pointer; }
.am-home38-finder-button:hover:not(:disabled) { background:#0f2e50; }
.am-home38-finder-button:disabled { opacity:.55; cursor:not-allowed; }
.am-finder-status { margin-top:10px; color:rgba(255,255,255,.82); font-size:11px; min-height:16px; }
.am-home38-section { padding:58px 0; }
.am-home38-section.alt { background:#f6f8fa; }
.am-home38-title-row { text-align:center; margin-bottom:28px; }
.am-home38-title-row h2 { margin:0 0 8px; font-size:32px; letter-spacing:-.025em; color:#142b47; }
.am-home38-title-row p { margin:0; color:#667085; }
.am-home38-choice-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.am-home38-choice { min-height:170px; padding:24px; background:#fff; border:1px solid #e3e8ed; border-radius:14px; box-shadow:0 8px 22px rgba(15,31,48,.05); text-decoration:none; color:#142b47; display:flex; flex-direction:column; }
.am-home38-choice-mark { width:42px; height:42px; display:flex; align-items:center; justify-content:center; border-radius:50%; background:#edf3f6; color:#496578; font-size:19px; margin-bottom:18px; }
.am-home38-choice h3 { margin:0 0 8px; font-size:17px; }
.am-home38-choice p { margin:0; color:#667085; font-size:13px; line-height:1.5; }
.am-home38-arrow { margin-top:auto; padding-top:18px; font-size:21px; }
.am-home38-stories { display:grid; grid-template-columns:1fr 3fr; gap:22px; align-items:stretch; }
.am-home38-story-intro { padding:26px 10px 26px 0; }
.am-home38-story-intro h2 { margin:0 0 12px; color:#142b47; font-size:30px; line-height:1.05; }
.am-home38-story-intro p { color:#667085; line-height:1.55; }
.am-home38-story-link { color:#173b62; font-weight:800; text-decoration:none; }
.am-home38-story-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.am-home38-story { overflow:hidden; border:1px solid #e1e6eb; border-radius:14px; background:#fff; box-shadow:0 8px 20px rgba(15,31,48,.05); }
.am-home38-story-image { height:155px; background:linear-gradient(135deg,#c8d4df,#6d8294); display:flex; align-items:flex-end; padding:12px; color:#fff; font-size:11px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.am-home38-story:nth-child(2) .am-home38-story-image { background:linear-gradient(135deg,#c9a77e,#6b4c36); }
.am-home38-story:nth-child(3) .am-home38-story-image { background:linear-gradient(135deg,#d9c7a5,#69717a); }
.am-home38-story-body { padding:16px; }
.am-home38-story-body h3 { margin:0 0 7px; font-size:17px; color:#142b47; }
.am-home38-story-body p { margin:0 0 12px; color:#667085; font-size:13px; line-height:1.45; }
.am-home38-story-meta { font-size:11px; color:#8996a5; }
.am-home38-topic-grid { display:grid; grid-template-columns:repeat(6,1fr); gap:1px; background:#dfe5ea; border:1px solid #dfe5ea; }
.am-home38-topic { min-height:130px; padding:20px 15px; background:#fff; text-decoration:none; color:#142b47; }
.am-home38-topic-symbol { font-size:26px; margin-bottom:15px; }
.am-home38-topic h3 { margin:0 0 6px; font-size:14px; }
.am-home38-topic p { margin:0; color:#667085; font-size:11px; line-height:1.4; }
.am-home38-belief { display:grid; grid-template-columns:1fr 1.7fr; align-items:stretch; overflow:hidden; border-radius:18px; background:#f3f1ec; }
.am-home38-belief-image { min-height:270px; background:linear-gradient(135deg,#41576b,#d0a16c); }
.am-home38-belief-copy { padding:42px; }
.am-home38-belief-copy h2 { margin:0 0 25px; color:#142b47; font-size:31px; }
.am-home38-beliefs { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.am-home38-beliefs article h3 { margin:0 0 7px; font-size:14px; color:#142b47; }
.am-home38-beliefs article p { margin:0; color:#667085; font-size:12px; line-height:1.5; }
.am-home38-placeholder-note { margin-top:18px; padding:11px 14px; border:1px dashed #cbd5df; border-radius:8px; color:#7a8795; font-size:11px; background:#fbfcfd; }
@media (max-width:1000px){
 .am-home38-choice-grid{grid-template-columns:repeat(2,1fr)} .am-home38-stories{grid-template-columns:1fr}.am-home38-topic-grid{grid-template-columns:repeat(3,1fr)} .am-home38-belief{grid-template-columns:1fr}.am-home38-finder-row{grid-template-columns:1fr 1fr}.am-home38-finder-button{grid-column:span 2}
}
@media (max-width:650px){
 .am-home38-hero-inner{padding:52px 0}.am-home38-finder-row,.am-home38-choice-grid,.am-home38-story-grid,.am-home38-topic-grid,.am-home38-beliefs{grid-template-columns:1fr}.am-home38-finder-button{grid-column:auto}.am-home38-belief-copy{padding:28px}.am-home38-title{font-size:44px}
}

/* Theme 3.9 – Live-Fahrzeugfinder */
@media (max-width:1000px){
    .am-home38-finder-row { grid-template-columns:1fr 1fr; }
    .am-home38-finder-button { grid-column:span 2; width:100%; }
}
@media (max-width:650px){
    .am-home38-finder-row { grid-template-columns:1fr; }
    .am-home38-finder-button { grid-column:auto; width:100%; }
}
