/* =========================================================
   DIGICAR MÜNCHEN
   COMPLETE STYLESHEET
   ========================================================= */


/* =========================================================
   1. RESET / GRUNDLAGEN
========================================================= */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    padding: 0;

    background: #ffffff;
    color: #17202b;

    font-family: "Inter", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;

    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

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


/* =========================================================
   2. FARBEN
========================================================= */

:root {
    --navy: #0A1A2F;
    --navy-dark: #061221;
    --navy-light: #102743;

    --gold: #D4AF37;
    --gold-light: #e4c65b;
    --gold-dark: #b99622;

    --text: #17202b;
    --text-light: #5e6975;

    --white: #ffffff;
    --light: #f5f7fa;
    --light-blue: #eef3f8;

    --border: #dfe5eb;

    --green: #25D366;
    --green-dark: #128C7E;

    --shadow: 0 12px 35px rgba(10, 26, 47, 0.10);
    --shadow-small: 0 5px 20px rgba(10, 26, 47, 0.08);

    --radius: 14px;
    --radius-small: 10px;

    --transition: 0.25s ease;
}


/* =========================================================
   3. TYPOGRAFIE
========================================================= */

h1,
h2,
h3,
h4 {
    margin-top: 0;
    font-family: "Montserrat", Arial, sans-serif;
    color: var(--navy);
    line-height: 1.2;
}

h1 {
    /* Vorher: font-size: clamp(2.2rem, 5vw, 4.5rem);*/
    font-size: clamp(2.25rem, 4vw, 3.5rem);
    font-weight: 700;
}

h2 {
    margin-bottom: 18px;
    /* Vorher: font-size: clamp(1.8rem, 3vw, 2.7rem);*/
    font-size: clamp(1.625rem, 2.5vw, 2.25rem);
    /*font-size: clamp(1.125rem, 1.5vw, 1.375rem);*/
    font-weight: 700;
}

h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

p {
    margin-top: 0;
    color: var(--text-light);
}

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

.info {
    margin-bottom: 10px;
    margin-top: 20px;
}

.sup-text {
    color: var(--gold);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}


/* =========================================================
   4. NAVIGATION DESKTOP
========================================================= */

.nav {
    position: sticky;
    top: 0;
    z-index: 1000;

    width: 100%;

    background: rgba(10, 26, 47, 0.98);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.12);
}

.nav-inner {
    width: min(1240px, calc(100% - 40px));
    min-height: 82px;
    margin-inline: auto;

    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.nav-logo img {
    width: 145px;
    height: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-left: auto;
    margin-right: auto;
}

.nav-links a {
    position: relative;

    padding: 30px 13px;

    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 500;

    transition:
        color var(--transition),
        background var(--transition);
}

.nav-links a::after {
    content: "";

    position: absolute;
    left: 13px;
    right: 13px;
    bottom: 21px;

    height: 2px;

    background: var(--gold);

    transform: scaleX(0);
    transform-origin: center;

    transition: transform var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--gold-light);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    transform: scaleX(1);
}

.nav-phone {
    display: flex;
    align-items: center;
    gap: 8px;

    padding: 10px 14px;

    color: #ffffff;
    font-weight: 600;
    white-space: nowrap;

    border: 1px solid rgba(212, 175, 55, 0.45);
    border-radius: 8px;

    transition: all var(--transition);
}

.nav-phone .material-symbols-outlined {
    color: var(--gold);
    font-size: 21px;
}

.nav-phone:hover {
    color: var(--gold-light);
    border-color: var(--gold);
}


/* =========================================================
   5. MOBILE NAVIGATION
========================================================= */

.menu-btn {
    display: none;

    width: 46px;
    height: 46px;
    padding: 10px;

    margin-left: auto;

    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
}

.menu-btn span {
    display: block;

    width: 24px;
    height: 2px;

    margin: 5px auto;

    background: #ffffff;

    transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.menu-btn.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile {
    position: fixed;

    top: 82px;
    right: 0;

    width: min(360px, 88vw);
    height: calc(100vh - 82px);

    padding: 25px 20px;

    background: var(--navy-dark);

    transform: translateX(105%);
    visibility: hidden;

    transition:
        transform 0.3s ease,
        visibility 0.3s ease;

    overflow-y: auto;

    z-index: 1002;
}

.nav-mobile.active {
    transform: translateX(0);
    visibility: visible;
}

.nav-mobile-links {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.nav-mobile-links a {
    display: flex;
    align-items: center;
    gap: 14px;

    padding: 15px 12px;

    color: #ffffff;

    border-radius: 8px;

    transition: background var(--transition), color var(--transition);
}

.nav-mobile-links a:hover {
    background: rgba(255, 255, 255, 0.07);
    color: var(--gold-light);
}

.nav-mobile-links .material-symbols-outlined {
    color: var(--gold);
}

.nav-mobile-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;

    margin-top: 25px;
    padding-top: 20px;

    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.mobile-call,
.mobile-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    padding: 12px 8px;

    border-radius: 8px;

    font-size: 0.9rem;
    font-weight: 600;
}

.mobile-call {
    background: var(--gold);
    color: var(--navy);
}

.mobile-whatsapp {
    background: var(--green);
    color: #ffffff;
}

.nav-overlay {
    position: fixed;
    inset: 0;

    background: rgba(0, 0, 0, 0.55);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;

    z-index: 1001;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}


/* =========================================================
   6. BUTTONS
========================================================= */

.btn-primary,
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    min-height: 50px;
    padding: 13px 22px;

    border-radius: 8px;

    font-weight: 700;

    transition:
        transform var(--transition),
        background var(--transition),
        box-shadow var(--transition);
}

.btn-primary {
    background: var(--gold);
    color: var(--navy);

    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.18);
}

.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(212, 175, 55, 0.25);
}

.btn-whatsapp {
    background: var(--green);
    color: #ffffff;
}

.btn-whatsapp:hover {
    background: #20bd5a;
    transform: translateY(-2px);
}

.btn-icon {
    display: inline-flex;
}


/* =========================================================
   7. HERO
========================================================= */

.hero {
    position: relative;
    min-height: 650px;
    display: flex;
    align-items: center;
    /* Der Farbverlauf ist super – er sorgt für edlen Kontrast */
    background:
        linear-gradient(90deg,
            rgba(6, 18, 33, 0.98) 0%,
            rgba(10, 26, 47, 0.92) 45%,
            rgba(10, 26, 47, 0.35) 100%);
    overflow: hidden;
}

.hero-flex {
    width: min(1240px, calc(100% - 40px));
    margin-inline: auto;
    display: grid;
    /* Standard für Mobilgeräte: 1 Spalte (Bild rutscht unter den Text) */
    grid-template-columns: 1fr;
    align-items: center;
    gap: 40px;
    /* Leicht reduziert für Mobilgeräte */
}

/* Erst ab Desktop/großem Tablet (992px) wird es zweispaltig */
@media (min-width: 992px) {
    .hero-flex {
        /* Flexibles 2-Spalten-Layout ohne starre Pixel-Werte */
        grid-template-columns: 1.2fr 0.8fr;
        gap: 50px;
    }
}

.hero-left {
    position: relative;
    z-index: 2;
    padding: 40px 0;
    /* Mobil etwas weniger Padding */
}

@media (min-width: 992px) {
    .hero-left {
        padding: 70px 0;
    }
}

.hero h1 {
    margin-bottom: 25px;
    color: #ffffff;
}

.h1-first,
.h1-last {
    display: block;
}

.h1-first {
    color: #ffffff;
    /* Tipp: Auch hier clamp() nutzen, damit es auf dem Handy nicht zu riesig ist */
    font-size: clamp(2.25rem, 4vw, 2.8rem);
    font-weight: 700;
    line-height: 1.1;
}

.h1-last {
    color: var(--text-light);
    font-size: clamp(1.35rem, 2.5vw, 2.25rem);
    font-weight: 600;
    margin-top: 5px;
}

.hero-subline {
    max-width: 620px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.72);
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    /* Responsive Textgröße */
    font-weight: 200;
    opacity: 0.92;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 38px;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
}

.trust-item .material-symbols-outlined {
    color: var(--gold);
}

/* RECHTE SPALTE: BILD-OPTIMIERUNG */
.hero-right {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
    /* Abstand nach unten auf Mobilgeräten */
}

@media (min-width: 992px) {
    .hero-right {
        margin-bottom: 0;
        align-self: stretch;
        /* Füllt die Höhe der Textspalte auf Desktop perfekt aus */
    }
}

.hero-right picture {
    width: 100%;
    height: 100%;
    display: flex;
}

.hero-right img {
    width: 100%;
    height: auto;
    /* Erlaubt dem Bild, seine Proportionen (4:3) zu halten */
    max-height: 500px;
    /* Verhindert, dass das Bild auf riesigen Monitoren gigantisch wird */
    object-fit: cover;
    /* Schneidet das Bild sauber an den Rändern ab, falls nötig */
    object-position: center;
    border-radius: 12px;
    /* Gibt dem Autobild einen modernen, edlen Look */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    /* Schöner Schatten-Effekt */
}

/* =========================================================
   8. ALLGEMEINE SECTIONS
========================================================= */

.pkw-section,
.ablauf-section,
.vorteile-section,
.kontakt-section {
    padding: 90px 0;
}

.kontakt-section h2 {
    text-align: left;
    margin: 0;
}

.pkw-section {
    background: #ffffff;
}

.ablauf-section {
    background: var(--light);
}

.vorteile-section {
    background: #ffffff;
}

.kontakt-section {
    background: var(--light);
}

.pkw-section>.container>h2,
.ablauf-section>.container>h2,
.vorteile-section>.container>h2,
.kontakt-section>.container>h2 {
    text-align: center;
}

.pkw-section>.container>p,
.ablauf-section>.container>p,
.vorteile-section>.container>p,
.kontakt-section>.container>p {
    max-width: 720px;
    margin-inline: auto;
    text-align: center;
}

.verkaufen {
    margin-top: 40px;
}

/* =========================================================
   KONTAKTFORMULAR
========================================================= */

.form-section {
    background: var(--light);
    padding: 90px 0;
}

.form-section .kontakt-form-bereich {
    max-width: 750px;
    margin: 0 auto;
}

.form-section .kontakt-form-bereich h2 {
    margin: 0 0 20px;
    text-align: left;
}

.form-section .kontakt-form-bereich .form-intro {
    margin: 0 0 40px;
    color: #666;
    line-height: 1.7;
}

.form-section .kontakt-form-bereich .form-intro a {
    color: #0a1a2f;
    font-weight: 600;
    text-decoration: underline;
}

/* =========================================================
   9. PKW SECTION
========================================================= */

.pkw-image {
    max-width: 900px;
    margin: 35px auto 30px;

    overflow: hidden;
    border-radius: var(--radius);

    box-shadow: var(--shadow);
}

.pkw-image img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.logo-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px 30px;

    margin-top: 30px;
}

.logo-row img {
    width: 80px;
    height: 45px;

    object-fit: contain;

    filter: grayscale(100%);
    opacity: 0.7;

    transition: filter var(--transition), opacity var(--transition);
}

.logo-row img:hover {
    filter: grayscale(0);
    opacity: 1;
}


/* =========================================================
   10. ABLAUF
========================================================= */

.ablauf-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;

    margin-top: 45px;
}

.ablauf-item {
    position: relative;

    padding: 30px 25px 25px;

    background: #ffffff;

    border: 1px solid var(--border);
    border-radius: var(--radius);

    box-shadow: var(--shadow-small);

    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.ablauf-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.ablauf-number {
    width: 45px;
    height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 20px;

    background: var(--gold);
    color: var(--navy);

    border-radius: 50%;

    font-size: 1.1rem;
    font-weight: 700;
}

.ablauf-item p {
    margin-bottom: 0;
}

.ablauf-image {
    max-width: 1000px;

    margin: 55px auto 0;

    overflow: hidden;
    border-radius: var(--radius);

    box-shadow: var(--shadow);
}

.ablauf-image img {
    width: 100%;
    aspect-ratio: 16 / 8;
    object-fit: cover;
}


/* =========================================================
   11. VORTEILE
========================================================= */

.vorteile-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;

    margin-top: 45px;
}

.v-item {
    padding: 35px 25px;

    text-align: center;

    border: 1px solid var(--border);
    border-radius: var(--radius);

    background: #ffffff;

    box-shadow: var(--shadow-small);

    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.v-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.v-icon {
    width: 62px;
    height: 62px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 20px;

    background: rgba(212, 175, 55, 0.12);
    color: var(--gold-dark);

    border-radius: 50%;
}

.v-icon .material-symbols-outlined {
    font-size: 30px;
}

.v-item p {
    margin-bottom: 0;
}


/* =========================================================
   12. FAQ AUF INDEX.HTML
========================================================= */

.faq-section {
    padding: 90px 0;
    background: #ffffff;
}

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

.faq-header {
    margin-bottom: 40px;
    text-align: center;
}

.faq-title {
    margin-bottom: 10px;
    color: var(--navy);
}

.faq-intro {
    margin-bottom: 0;
    color: var(--gold-dark);
    font-weight: 600;
}

.faq-item {
    margin-bottom: 12px;

    background: #ffffff;

    border: 1px solid var(--border);
    border-radius: var(--radius-small);

    overflow: hidden;

    box-shadow: 0 3px 12px rgba(10, 26, 47, 0.05);

    transition:
        border-color var(--transition),
        box-shadow var(--transition);
}

.faq-item:hover {
    border-color: rgba(212, 175, 55, 0.55);
}

.faq-item[open] {
    border-color: var(--gold);
    box-shadow: var(--shadow-small);
}

.faq-item summary {
    position: relative;

    display: flex;
    align-items: center;

    min-height: 64px;

    padding: 18px 60px 18px 22px;

    color: var(--navy);

    font-family: "Montserrat", Arial, sans-serif;
    font-size: 1rem;
    font-weight: 600;

    cursor: pointer;

    list-style: none;

    transition:
        background var(--transition),
        color var(--transition);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::marker {
    display: none;
}

.faq-item summary::after {
    content: "+";

    position: absolute;
    right: 22px;
    top: 50%;

    transform: translateY(-50%);

    color: var(--gold-dark);

    font-family: Arial, sans-serif;
    font-size: 1.6rem;
    font-weight: 400;

    transition: transform var(--transition);
}

.faq-item[open] summary {
    background: var(--navy);
    color: #ffffff;
}

.faq-item[open] summary::after {
    content: "−";
    color: var(--gold);
}

.faq-answer {
    padding: 20px 22px 22px;

    background: #ffffff;
    color: var(--text-light);

    font-size: 0.97rem;
    line-height: 1.7;
}

.faq-answer p {
    margin-bottom: 12px;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer a {
    color: var(--gold-dark);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.faq-answer a:hover {
    color: var(--navy);
}


/* =========================================================
   13. FAQ.HTML – HERO
========================================================= */

.faq-hero {
    padding: 85px 0;

    background:
        linear-gradient(135deg,
            var(--navy-dark),
            var(--navy));

    text-align: center;
}

.faq-hero-icon {
    width: 70px;
    height: 70px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 25px;

    background: rgba(212, 175, 55, 0.12);

    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
}

.faq-hero-icon .material-symbols-outlined {
    color: var(--gold);
    font-size: 35px;
}

.faq-hero h1 {
    max-width: 900px;

    margin: 0 auto 20px;

    color: #ffffff;

    font-size: clamp(2rem, 4vw, 3.3rem);
}

.faq-hero p {
    max-width: 760px;

    margin: 7px auto;

    color: rgba(255, 255, 255, 0.78);
}


/* =========================================================
   14. FAQ.HTML – INTRO
========================================================= */

.faq-section .faq-intro {
    text-align: left;
}

.faq-section .faq-intro h2 {
    margin-bottom: 18px;
}

.faq-section .faq-intro p {
    max-width: 800px;
}

.faq-section .faq-list {
    width: 100%;
    max-width: 900px;
    margin: 40px auto 0;
}


/* =========================================================
   15. FAQ.HTML – CTA
========================================================= */

.faq-cta {
    max-width: 900px;

    margin: 60px auto 0;
    padding: 45px 30px;

    text-align: center;

    background: var(--light-blue);

    border: 1px solid var(--border);
    border-radius: var(--radius);

    box-shadow: var(--shadow-small);
}

.faq-cta>.material-symbols-outlined {
    display: block;

    margin-bottom: 15px;

    color: var(--gold-dark);

    font-size: 45px;
}

.faq-cta h2 {
    margin-bottom: 10px;
}

.faq-cta p {
    max-width: 650px;
    margin: 0 auto 25px;
}

.faq-cta .btn-primary {
    color: var(--navy);
}


/* =========================================================
   16. KONTAKT
========================================================= */

.kontakt-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;

    margin-top: 40px;
}

.k-item {
    display: block;

    padding: 30px 20px;

    text-align: center;

    background: #ffffff;

    border: 1px solid var(--border);
    border-radius: var(--radius);

    box-shadow: var(--shadow-small);

    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
}

.k-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: rgba(212, 175, 55, 0.55);
}

.k-icon {
    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 17px;

    background: rgba(212, 175, 55, 0.12);
    color: var(--gold-dark);

    border-radius: 50%;
}

.k-icon .material-symbols-outlined {
    font-size: 28px;
}

.k-item h3 {
    margin-bottom: 8px;
}

.k-item p {
    margin-bottom: 5px;
}

.map-box {
    margin-top: 35px;

    overflow: hidden;

    background: #ffffff;

    border: 1px solid var(--border);
    border-radius: var(--radius);

    box-shadow: var(--shadow-small);
}

.map-box iframe {
    display: block;
    width: 100%;
    min-height: 350px;
}

.kontakt-cta {
    display: flex;
    justify-content: center;

    margin-top: 32px;
}


/* =========================================================
   17. FOOTER
========================================================= */

.footer {
    background: var(--navy-dark);
    color: rgba(255, 255, 255, 0.75);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr 0.8fr;
    gap: 45px;

    padding: 65px 0;
}

.footer-logo {
    width: 155px;
    margin-bottom: 20px;
}

.footer-col p {
    max-width: 350px;

    color: rgba(255, 255, 255, 0.62);
}

.footer-col h3 {
    margin-top: 18px;

    margin-bottom: 18px;

    color: var(--gold);

    font-size: 1rem;
}

.footer-col ul {
    margin: 0;
    padding: 0;

    list-style: none;
}

.footer-col li {
    margin-bottom: 9px;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.62);

    transition: color var(--transition);
}

.footer-col a:hover {
    color: var(--gold);
}

.footer-bottom {
    padding: 20px;

    border-top: 1px solid rgba(255, 255, 255, 0.08);

    text-align: center;

    color: rgba(255, 255, 255, 0.5);

    font-size: 0.85rem;
}


/* =========================================================
   18. RESPONSIVE – TABLET
========================================================= */

@media (max-width: 1050px) {

    .nav-links {
        gap: 0;
    }

    .nav-links a {
        padding-inline: 8px;
        font-size: 0.84rem;
    }

    .nav-links a::after {
        left: 8px;
        right: 8px;
    }

    .nav-phone {
        padding-inline: 9px;
        font-size: 0.85rem;
    }

    .hero-flex {
        grid-template-columns: 1fr 0.95fr;
        gap: 30px;
    }

    .hero-right {
        min-height: 520px;
    }

    .hero-right img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    /* NEU – nur Tablet */
    .hero-subline {
        font-size: 1rem;
    }

    .hero-buttons {
        gap: 8px;
        align-items: flex-start;
        margin-bottom: 24px;

    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-whatsapp {
        width: auto;
        white-space: nowrap;
    }

    .hero-trust {
        display: flex;
        flex-wrap: nowrap;
        gap: 16px;
    }

    .trust-item {
        white-space: nowrap;
        font-size: 0.82rem;
    }

    .hero h1 {
        margin-bottom: 20px;
        font-size: 2rem;
    }

    .h1-last {
        font-size: 1.60rem;

    }


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

    .footer-grid {
        grid-template-columns: 1.3fr 1fr 1fr 0.9fr;
        gap: 25px;
    }

}


/* =========================================================
   19. RESPONSIVE – MOBILE NAV
========================================================= */

@media (max-width: 900px) {

    .nav-inner {
        min-height: 72px;
    }

    .nav-logo img {
        width: 130px;
    }

    .nav-links,
    .nav-phone {
        display: none;
    }

    .menu-btn {
        display: block;
    }

    .nav-mobile {
        top: 72px;
        height: calc(100vh - 72px);
    }
}


/* =========================================================
   20. RESPONSIVE – TABLET / MOBILE
========================================================= */

@media (max-width: 800px) {

    .container {
        width: min(100% - 30px, 700px);
    }

    .hero {
        min-height: auto;

        background:
            linear-gradient(180deg,
                var(--navy-dark),
                var(--navy));
    }

    .hero-flex {
        width: 100%;

        display: flex;
        flex-direction: column;

        gap: 0;
    }

    .hero-left {
        width: min(100% - 30px, 700px);
        margin-inline: auto;

        padding: 70px 0;
    }

    .hero-right {
        width: 100%;
        min-height: auto;
        height: auto;
    }

    .hero-right img {
        width: 100%;
        height: auto;

        aspect-ratio: 16 / 10;
    }

    .hero-buttons {
        margin-bottom: 30px;
    }

    .hero-trust {
        gap: 14px 22px;
    }

    .pkw-section,
    .ablauf-section,
    .vorteile-section,
    .kontakt-section,
    .faq-section {
        padding: 70px 0;
    }

    .vorteile-grid,
    .kontakt-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        gap: 35px;
    }
}


/* =========================================================
   21. RESPONSIVE – SMARTPHONE
========================================================= */

@media (max-width: 600px) {

    body {
        font-size: 15px;
    }

    .container {
        width: calc(100% - 30px);
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    .nav-inner {
        width: calc(100% - 30px);
    }

    .nav-mobile {
        width: min(330px, 90vw);
    }

    .hero-left {
        width: calc(100% - 30px);

        padding: 55px 0 35px;
    }

    .hero h1 {
        margin-bottom: 20px;
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .hero-subline {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-primary,
    .btn-whatsapp {
        width: 100%;
    }

    .hero-trust {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .hero-right img {
        aspect-ratio: 4 / 3;
    }

    .logo-row {
        gap: 15px 20px;
    }

    .logo-row img {
        width: 65px;
        height: 38px;
    }

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

    .ablauf-item {
        padding: 25px 20px;
    }

    .ablauf-image img {
        aspect-ratio: 4 / 3;
    }

    .pkw-image {
        margin-top: 25px;
        border-radius: 10px;
    }

    /* FAQ Startseite */

    .faq-container {
        width: calc(100% - 30px);
    }

    .faq-header {
        margin-bottom: 30px;
    }

    .faq-item {
        margin-bottom: 10px;
    }

    .faq-item summary {
        min-height: 60px;
        padding: 16px 52px 16px 17px;

        font-size: 0.94rem;
        line-height: 1.45;
    }

    .faq-item summary::after {
        right: 17px;
    }

    .faq-answer {
        padding: 17px;

        font-size: 0.92rem;
        line-height: 1.65;
    }

    /* FAQ Unterseite */

    .faq-hero {
        padding: 60px 0;
    }

    .faq-hero-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
    }

    .faq-hero h1 {
        font-size: 2rem;
    }

    .faq-hero p {
        font-size: 0.95rem;
    }

    .faq-section .faq-intro h2 {
        font-size: 1.7rem;
    }

    .faq-cta {
        padding: 35px 20px;
        margin-top: 40px;
    }

    .faq-cta h2 {
        font-size: 1.55rem;
    }

    .map-box iframe {
        min-height: 300px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;

        padding: 50px 0;
    }

    .footer-logo {
        width: 140px;
    }

    .footer-bottom {
        padding: 17px 15px;
        font-size: 0.78rem;
    }
}


/* =========================================================
   22. SEHR KLEINE SMARTPHONES
========================================================= */

@media (max-width: 380px) {

    .hero h1 {
        font-size: 1.85rem;
    }

    .hero-trust {
        gap: 10px;
    }

    .trust-item {
        font-size: 0.82rem;
    }

    .faq-item summary {
        font-size: 0.88rem;
    }

    .nav-mobile-actions {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   23. ACCESSIBILITY
========================================================= */

a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
}

summary {
    -webkit-tap-highlight-color: transparent;
}


/* =========================================================
   24. REDUZIERTE BEWEGUNG
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

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


/* =========================================================
   25. PRINT
========================================================= */

@media print {

    .nav,
    .menu-btn,
    .nav-mobile,
    .nav-overlay,
    .hero-buttons,
    .footer {
        display: none !important;
    }

    body {
        color: #000000;
        background: #ffffff;
    }

    .hero {
        min-height: auto;
        background: #ffffff;
    }

    .hero h1,
    .hero-subline {
        color: #000000;
    }
}

/* =========================================================
   STEP 1 – FEHLENDE SEITENSPEZIFISCHE REGELN
   Ergänzt aus der bisherigen CSS-Struktur.
   Bestehende Navigation, Hero-Basis, Buttons, FAQ und Footer
   werden nicht überschrieben.
========================================================= */

/* FORMULAR-HERO */
.form-hero {
    padding: 100px 20px 70px;
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    color: var(--white);
    text-align: center;
}

.form-hero-icon {
    width: 70px;
    height: 70px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.12);
    color: var(--gold);
    font-size: 38px;
}

.form-hero h1 {
    max-width: 850px;
    margin: 0 auto 15px;
    color: var(--white);
    font-size: clamp(32px, 4vw, 46px);
    line-height: 1.15;
}

.form-hero p {
    max-width: 750px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.68);
    font-size: 17px;
}

/* FORMULAR */
.form-section {
    padding: 75px 0;
    background: var(--light);
}

.ankauf-form {
    width: min(100%, 850px);
    margin: 0 auto;
}

.form-row {
    display: flex;
    gap: 18px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 18px;
}

.form-group label {
    margin-bottom: 7px;
    color: var(--navy);
    font-size: 14px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    min-height: 50px;
    padding: 12px 14px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 7px;
    color: var(--navy);
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group textarea {
    min-height: 130px;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9aa1a8;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.12);
}

.form-help {
    margin: 0 0 18px;
    color: var(--text-light);
    font-size: 13px;
    line-height: 1.6;
}

.input-with-icon {
    position: relative;
}

.input-with-icon input {
    padding-right: 45px;
}

.input-with-icon>span {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    color: #777;
    font-weight: 700;
    pointer-events: none;
}

/* CHECKBOX */
.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text-light);
    font-size: 13px;
    line-height: 1.5;
}

.checkbox label {
    display: flex;
    gap: 10px;
    color: var(--navy);
    cursor: pointer;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.checkbox input[type="checkbox"] {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--gold);
    cursor: pointer;
}

.checkbox a {
    color: var(--navy);
    font-weight: 600;
    text-decoration: underline;
}

/* ABSENDEN */
.form-submit {
    text-align: center;
}

.form-submit .btn-primary {
    min-width: 240px;
}

.form-submit>p {
    margin-top: 14px;
    color: var(--text-light);
    font-size: 13px;
}

.form-submit>p a {
    color: #168c43;
    font-weight: 700;
}

.form-submit>p a:hover {
    text-decoration: underline;
}

/* FORMULAR-MELDUNG */
.form-message {
    display: none;
    width: min(100%, 850px);
    margin: 0 auto 20px;
    padding: 16px 18px;
    align-items: center;
    gap: 12px;
    border-radius: 9px;
    font-size: 14px;
}

.form-message.success {
    display: flex;
    background: #eaf8ef;
    border: 1px solid #a8dfbb;
    color: #176b36;
}

.form-message.error {
    display: flex;
    background: #fff0f0;
    border: 1px solid #e6aaaa;
    color: #9b2222;
}

.form-message .material-symbols-outlined {
    flex-shrink: 0;
    font-size: 26px;
}

/* HONEYPOT */
.form-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* FAHRZEUGBILDER */
.vehicle-images {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.image-upload {
    position: relative;
}

.image-upload label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.image-upload input[type="file"] {
    width: 100%;
    margin-bottom: 10px;
}

.image-preview {
    width: 100%;
    min-height: 150px;
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    overflow: hidden;
    text-align: center;
    font-size: 14px;
    color: #6b7280;
    background: #f9fafb;
}

.image-preview .material-symbols-outlined {
    font-size: 36px;
}

.image-preview img {
    display: block;
    width: 100%;
    height: 180px;
    object-fit: cover;
}

/* CONTENT / ÜBER UNS */
.content-section {
    padding: 90px 0;
    background: var(--white);
}

.content-container {
    width: min(100% - 40px, 1000px);
    margin: 0 auto;
}

.content-section h1,
.content-section h2,
.content-section h3 {
    color: var(--navy);
    font-family: "Montserrat", Arial, sans-serif;
}

.content-section h1 {
    margin-bottom: 22px;
    font-size: clamp(32px, 4vw, 46px);
    line-height: 1.15;
}

.content-section h2 {
    margin-top: 40px;
    margin-bottom: 15px;
    font-size: clamp(25px, 3vw, 32px);
    line-height: 1.25;
}

.content-section h3 {
    margin-top: 28px;
    margin-bottom: 10px;
    font-size: 21px;
}

.content-section p {
    margin-bottom: 18px;
    color: var(--text-light);
    font-size: 17px;
    line-height: 1.8;
}

.content-section ul {
    margin: 0 0 25px 22px;
}

.content-section li {
    margin-bottom: 8px;
    color: var(--text-light);
    font-size: 16px;
}

.info-box {
    margin: 30px 0;
    padding: 25px;
    background: #fff9ed;
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-left: 4px solid var(--gold);
    border-radius: 10px;
}

.info-box h3 {
    margin-top: 0;
}

/* CTA / ÜBER UNS */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    margin-bottom: 14px;
    color: var(--white);
    font-size: clamp(28px, 3vw, 38px);
}

.cta-section p {
    max-width: 720px;
    margin: 0 auto 30px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 17px;
}

.cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

/* Gold button – nur für vorhandene HTML-Klasse */
.btn-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 50px;
    padding: 13px 22px;
    border-radius: 8px;
    background: var(--gold);
    color: var(--navy);
    font-weight: 700;
    transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
}

.btn-gold:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
}

/* MOBILE – nur für die neu ergänzten Bereiche */
@media (max-width: 700px) {
    .footer-grid {
            text-align: center;
        }
    
        .footer-col {
            display: flex;
            flex-direction: column;
            align-items: center;
        }
    
        .footer-logo {
            margin-left: auto;
            margin-right: auto;
        }
    
        .footer-col p {
            margin-left: auto;
            margin-right: auto;
            text-align: center;
        }
    
        .footer-col ul {
            text-align: center;
        }
                .footer-col li {
                    margin-bottom: 4px;
                }
        
                .footer-col a {
                    display: inline-block;
                    padding: 8px 10px;
                }
    .form-hero {
        padding: 130px 16px 55px;
    }

    .form-hero h1 {
        font-size: 30px;
    }

    .form-hero p {
        font-size: 16px;
    }

    .form-section {
        padding: 50px 0;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px;
    }

    .vehicle-images {
        grid-template-columns: 1fr;
    }

    .content-section {
        padding: 60px 0;
    }

    .content-container {
        width: min(100% - 32px, 1000px);
    }

    .content-section p {
        font-size: 16px;
    }

    .cta-section {
        padding: 60px 0;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn-primary,
    .cta-buttons .btn-whatsapp,
    .cta-buttons .btn-gold {
        width: 100%;
        max-width: 360px;
    }
}

@media (max-width: 380px) {
    .form-hero h1 {
        font-size: 26px;
    }
}

/* =========================================================
   26. 404 FEHLERSEITE
   Eigenständiger Bereich – bestehendes Design bleibt unverändert
========================================================= */

.error-page {
    min-height: 65vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 90px 20px;
    background: var(--light);
    text-align: center;
}

.error-page-content {
    width: min(100%, 750px);
    margin: 0 auto;
    padding: 50px 35px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.error-code {
    margin-bottom: 10px;
    color: var(--gold);
    font-family: "Montserrat", Arial, sans-serif;
    font-size: clamp(5rem, 15vw, 9rem);
    font-weight: 700;
    line-height: 0.9;
}

.error-page h1 {
    margin-bottom: 18px;
    color: var(--navy);
    font-size: clamp(2rem, 4vw, 3rem);
}

.error-page p {
    max-width: 600px;
    margin: 0 auto 30px;
    color: var(--text-light);
    font-size: 1rem;
}

.error-page-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.error-page-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 13px 22px;
    border-radius: 8px;
    background: var(--gold);
    color: var(--navy);
    font-weight: 700;
    transition:
        transform var(--transition),
        background var(--transition),
        box-shadow var(--transition);
}

.error-page-actions .btn:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.18);
}

@media (max-width: 600px) {

    .error-page {
        min-height: 60vh;
        padding: 60px 15px;
    }

    .error-page-content {
        padding: 40px 20px;
    }

    .error-code {
        font-size: clamp(4.5rem, 25vw, 7rem);
    }

    .error-page h1 {
        font-size: 1.9rem;
    }

    .error-page-actions {
        flex-direction: column;
    }

    .error-page-actions .btn {
        width: 100%;
        max-width: 320px;
    }
}

/* Buttons in der Kontakt-Section zentrieren */
.kontakt-section .hero-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

/*
.pkw-location-cta {
    margin-top: 40px !important;
}
*/