/* ==========================================================================
   LT Fleet – Autovermietung Landingpage
   Design-System & Basis-Styles
   ========================================================================== */

/* ===== Selbst gehostete Fonts (DSGVO: keine Google-Server) ===== */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/inter-400.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('fonts/inter-500.woff2') format('woff2');
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('fonts/poppins-600.woff2') format('woff2');
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('fonts/poppins-700.woff2') format('woff2');
}

/* ===== Design-Tokens ===== */
:root {
    /* Farben */
    --color-dark: #1E1E1E;
    --color-blue: #2563EB;
    --color-blue-hover: #1D4ED8;
    --color-white: #FFFFFF;
    --color-gray-light: #F5F5F5;
    --color-text: #1E1E1E;
    --color-text-muted: #6B7280;

    /* Typografie */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Layout */
    --container-max: 1200px;
    --section-padding: 100px 0;
    --card-gap: 24px;

    /* Komponenten */
    --radius-btn: 12px;
    --radius-card: 16px;
    --shadow-soft: 0 4px 16px rgba(0, 0, 0, 0.06);
    --shadow-lift: 0 12px 28px rgba(0, 0, 0, 0.12);

    /* Animation */
    --transition: 0.25s ease;

    /* Navbar */
    --navbar-height: 72px;
}

/* ===== Reset & Basis ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--navbar-height);
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

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

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

/* ===== Container ===== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 28px;
    border-radius: var(--radius-btn);
    border: none;
    cursor: pointer;
    transition: background-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn--primary {
    background-color: var(--color-blue);
    color: var(--color-white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.btn--primary:hover {
    background-color: var(--color-blue-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22);
}

.btn--secondary {
    background-color: transparent;
    color: var(--color-white);
    border: 2px solid rgba(255, 255, 255, 0.7);
}

.btn--secondary:hover {
    border-color: var(--color-white);
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--navbar-height);
    background-color: var(--color-dark);
    transition: box-shadow var(--transition), background-color var(--transition);
}

.navbar--scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.navbar__inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

/* Logo */
.navbar__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-white);
}

.navbar__logo-icon {
    display: block;
    width: 30px;
    height: 30px;
}

.navbar__logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
}

/* Links */
.navbar__nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.navbar__link {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
    transition: color var(--transition);
}

.navbar__link:hover,
.navbar__link--active {
    color: var(--color-white);
}

.navbar__cta {
    padding: 10px 22px;
    font-size: 0.9rem;
}

/* Hamburger (nur mobil sichtbar) */
.navbar__toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-white);
    padding: 6px;
}

.navbar__toggle-icon {
    width: 28px;
    height: 28px;
}

.navbar__toggle-icon--close {
    display: none;
}

.navbar__toggle[aria-expanded="true"] .navbar__toggle-icon--open {
    display: none;
}

.navbar__toggle[aria-expanded="true"] .navbar__toggle-icon--close {
    display: block;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    /* Kompakt wie im Mockup: im ersten Viewport sind Hero, Trust-Leiste
       und der Anfang von "So einfach geht's" sichtbar */
    padding-top: calc(var(--navbar-height) + 88px);
    /* Höherer Hero → mehr vom Bild sichtbar ("rausgezoomt") */
    padding-bottom: 230px;
    overflow: hidden;
    background-color: var(--color-dark);
}

.hero__bg {
    position: absolute;
    inset: 0;
    background-image: url('images/hero.jpg');
    background-size: cover;
    /* Ausschnitt nach unten verschoben: Auto komplett + Horizont/Sonnenaufgang
       sichtbar, statt nur Himmel-Mitte */
    background-position: center 78%;
}

/* Dunkler Verlauf von links, damit der Text lesbar bleibt */
.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15, 18, 25, 0.92) 0%, rgba(15, 18, 25, 0.68) 40%, rgba(15, 18, 25, 0.12) 75%, rgba(15, 18, 25, 0) 100%);
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: var(--container-max);
    width: 100%;
}

.hero__eyebrow {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 16px;
    animation: fade-in-up 0.8s ease both;
}

.hero__headline {
    color: var(--color-white);
    font-size: clamp(2.2rem, 3.6vw, 3rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    max-width: 700px;
    animation: fade-in-up 0.8s ease both;
}

.hero__subtext {
    color: rgba(255, 255, 255, 0.85);
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    margin-top: 20px;
    max-width: 520px;
    animation: fade-in-up 0.8s ease 0.15s both;
}

.hero__buttons {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-top: 28px;
    animation: fade-in-up 0.8s ease 0.3s both;
}

/* Sekundäraktion als schlichter Textlink mit Pfeil */
.hero__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    padding: 12px 4px;
    transition: color var(--transition);
}

.hero__link svg {
    transition: transform var(--transition);
}

.hero__link:hover {
    color: var(--color-white);
}

.hero__link:hover svg {
    transform: translateX(3px);
}

/* ==========================================================================
   Vorteile (Benefit-Cards, überlappen den Hero)
   ========================================================================== */
.benefits {
    position: relative;
    z-index: 2;
    /* Cards ragen in den Hero hinein */
    margin-top: -80px;
    padding-bottom: 28px;
}

/* Desktop: eine durchgehende Card mit 4 Segmenten (wie im Mockup) */
.benefits__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background-color: var(--color-white);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-soft);
    transition: box-shadow var(--transition);
}

.benefits__grid:hover {
    box-shadow: var(--shadow-lift);
}

.benefit-card {
    padding: 26px 22px;
    text-align: center;
}

/* Feine Trennlinie zwischen den Segmenten
   (Klone werden übersprungen, damit das erste sichtbare Segment keine Linie bekommt) */
.benefit-card:not(.benefit-card--clone) + .benefit-card:not(.benefit-card--clone) {
    border-left: 1px solid rgba(30, 30, 30, 0.08);
}

.benefit-card__icon {
    height: 32px;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-blue);
}

.benefit-card__icon svg {
    width: 28px;
    height: 28px;
}

.benefit-card__icon svg {
    width: 22px;
    height: 22px;
}

.benefit-card__title {
    font-size: 0.95rem;
    margin-bottom: 6px;
}

.benefit-card__text {
    font-size: 0.84rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* Klon-Cards für die Endlos-Schleife: nur im mobilen Karussell sichtbar */
.benefit-card--clone {
    display: none;
}

/* ==========================================================================
   Section-Header (wiederverwendbar)
   ========================================================================== */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-eyebrow {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-text-muted);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(1.75rem, 3vw, 2.4rem);
    color: var(--color-dark);
}

/* ==========================================================================
   So einfach geht's (3 Schritte, wie im Mockup: Kreis links, Text rechts,
   blaue Pfeile dazwischen, weißer Hintergrund)
   ========================================================================== */
.steps {
    background-color: var(--color-white);
    padding: 36px 0 80px;
}

.steps .section-header {
    margin-bottom: 32px;
}

.steps__row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    max-width: 300px;
    text-align: left;
}

.step__badge {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--color-dark);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
}

.step__title {
    font-size: 1rem;
    margin-bottom: 6px;
}

.step__text {
    font-size: 0.88rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

.step-arrow {
    flex-shrink: 0;
    color: #D1D5DB;
    display: flex;
    align-items: center;
}

.step-arrow svg {
    width: 32px;
    height: 32px;
}

/* ==========================================================================
   Warum wir?
   ========================================================================== */
.why {
    background-color: var(--color-gray-light);
    padding: var(--section-padding);
}

.why__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.section-header--left {
    text-align: left;
    margin-bottom: 36px;
}

.why__list {
    list-style: none;
    display: grid;
    gap: 18px;
}

.why__item {
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 500;
    font-size: 1.02rem;
}

.why__item svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: var(--color-blue);
}

.why__image {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-lift);
}

/* ==========================================================================
   Kontakt / CTA (dunkle abgerundete Box wie im Mockup)
   ========================================================================== */
.cta {
    background-color: var(--color-white);
    padding: 90px 0;
}

.cta__box {
    background-color: #10151F;
    border-radius: var(--radius-card);
    padding: 48px 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.cta__title {
    color: var(--color-white);
    font-size: clamp(1.3rem, 2.2vw, 1.7rem);
    margin-bottom: 8px;
}

.cta__subtext {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
}

.cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.cta__btn svg {
    width: 18px;
    height: 18px;
}

/* ==========================================================================
   Page-Header (Unterseiten)
   ========================================================================== */
.page-header {
    background-color: var(--color-dark);
    padding: calc(var(--navbar-height) + 72px) 0 72px;
    text-align: center;
}

.page-header__title {
    color: var(--color-white);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
}

.page-header__subtext {
    color: rgba(255, 255, 255, 0.75);
    font-size: clamp(0.95rem, 1.4vw, 1.05rem);
    margin-top: 14px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   Kontakt-Seite
   ========================================================================== */
.contact {
    padding: var(--section-padding);
}

.contact__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--card-gap);
    max-width: 1080px;
    margin: 0 auto;
}

.contact-card {
    display: block;
    background-color: var(--color-white);
    border: 1px solid rgba(30, 30, 30, 0.08);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-soft);
    padding: 32px 24px;
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition);
}

.contact-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lift);
}

.contact-card__icon {
    height: 32px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-blue);
}

.contact-card__icon svg {
    width: 28px;
    height: 28px;
}

.contact-card__title {
    font-size: 1rem;
    margin-bottom: 8px;
}

.contact-card__info {
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.5;
}

.contact-card__note {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    margin-top: 8px;
}

/* ==========================================================================
   Über-uns-Seite
   ========================================================================== */
.about {
    padding: var(--section-padding);
}

.about__inner {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about__text {
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 18px;
}

.about__btn {
    margin-top: 10px;
}

.values {
    background-color: var(--color-gray-light);
    padding: var(--section-padding);
}

.values__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--card-gap);
}

/* ==========================================================================
   FAQ-Seite (Accordion)
   ========================================================================== */
.faq {
    padding: var(--section-padding);
}

.faq__container {
    max-width: 800px;
    display: grid;
    gap: 14px;
}

.faq-item {
    background-color: var(--color-white);
    border: 1px solid rgba(30, 30, 30, 0.08);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: box-shadow var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-lift);
}

.faq-item__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    list-style: none; /* Standard-Dreieck ausblenden */
}

.faq-item__question::-webkit-details-marker {
    display: none; /* Safari */
}

.faq-item__chevron {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: var(--color-blue);
    transition: transform var(--transition);
}

.faq-item[open] .faq-item__chevron {
    transform: rotate(180deg);
}

.faq-item__answer {
    padding: 0 24px 22px;
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.65;
}

/* ===== Google Maps (Zwei-Klick-Lösung) ===== */
.map {
    margin-top: 48px;
}

.map__placeholder {
    min-height: 340px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    text-align: center;
    padding: 40px 24px;
    background-color: var(--color-gray-light);
    border-radius: var(--radius-card);
}

.map__icon {
    width: 40px;
    height: 40px;
    color: var(--color-blue);
}

.map__address {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.05rem;
}

.map__note {
    max-width: 520px;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.map__note a {
    color: var(--color-blue);
    text-decoration: underline;
}

.map__iframe {
    width: 100%;
    height: 400px;
    border: 0;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-soft);
}

/* Widerruf-Link unter der geladenen Karte */
.map__revoke {
    display: block;
    margin: 12px auto 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--color-text-muted, #6b7280);
    text-decoration: underline;
    transition: color var(--transition);
}

.map__revoke:hover {
    color: var(--color-dark);
}

/* ==========================================================================
   Consent-Banner (Google Maps)
   ========================================================================== */
.consent-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    background-color: var(--color-dark);
    color: rgba(255, 255, 255, 0.85);
    box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.25);
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    animation: fade-in-up 0.4s ease both;
}

.consent-banner__text {
    font-size: 0.85rem;
    line-height: 1.55;
    margin: 0;
}

.consent-banner__text a {
    color: var(--color-white);
    text-decoration: underline;
}

.consent-banner__actions {
    display: flex;
    gap: 10px;
}

.consent-banner__btn {
    flex: 1;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 12px 16px;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color var(--transition), border-color var(--transition);
}

.consent-banner__btn--accept {
    background-color: var(--color-blue);
    color: var(--color-white);
    border: none;
}

.consent-banner__btn--accept:hover {
    background-color: var(--color-blue-hover);
}

.consent-banner__btn--decline {
    background-color: transparent;
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.consent-banner__btn--decline:hover {
    border-color: var(--color-white);
}

/* Desktop: einzeilige Leiste, Inhalt mittig auf Container-Breite */
@media (min-width: 769px) {
    .consent-banner {
        flex-direction: row;
        align-items: center;
        gap: 40px;
        padding: 18px max(24px, calc((100vw - var(--container-max)) / 2));
    }

    .consent-banner__text {
        flex: 1;
    }

    .consent-banner__actions {
        flex-shrink: 0;
    }

    .consent-banner__btn {
        flex: 0 0 auto;
        min-width: 130px;
    }
}

/* ==========================================================================
   Rechtliche Seiten (Impressum, Datenschutz)
   ========================================================================== */
.legal {
    padding: 72px 0 100px;
}

.legal__container {
    max-width: 760px;
}

.legal h2 {
    font-size: 1.15rem;
    margin: 36px 0 12px;
}

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

.legal p {
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 12px;
}

.legal ul {
    color: var(--color-text-muted);
    line-height: 1.7;
    margin: 0 0 12px 22px;
}

.legal a {
    color: var(--color-blue);
    word-break: break-word;
}

.legal a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: var(--color-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 64px 0 0;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.4fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer__tagline {
    margin-top: 16px;
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 280px;
}

.footer__col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__heading {
    color: var(--color-white);
    font-size: 0.95rem;
    margin-bottom: 6px;
}

.footer__link {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition);
    margin: 0;
}

a.footer__link:hover {
    color: var(--color-white);
}

.footer__link--icon {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer__link--icon svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--color-blue);
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.45);
}

/* ==========================================================================
   Scroll-Reveal (dezentes Einblenden beim Scrollen)
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal--visible {
    opacity: 1;
    transform: none;
}

/* Schritte zeitversetzt einblenden (Steps sind Kind 1, 3, 5 – dazwischen Pfeile) */
.steps__row .step:nth-child(3) {
    transition-delay: 0.15s;
}

.steps__row .step:nth-child(5) {
    transition-delay: 0.3s;
}

/* ===== Animationen ===== */
@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 992px) {
    :root {
        --section-padding: 72px 0;
    }

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

    /* Tablet & kleiner: wieder einzelne Cards */
    .benefits__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--card-gap);
        background-color: transparent;
        border-radius: 0;
        box-shadow: none;
    }

    .benefits__grid:hover {
        box-shadow: none;
    }

    .benefit-card {
        background-color: var(--color-white);
        border-radius: var(--radius-card);
        box-shadow: var(--shadow-soft);
        padding: 32px 24px;
        transition: transform var(--transition), box-shadow var(--transition);
    }

    .benefit-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-lift);
    }

    .benefit-card:not(.benefit-card--clone) + .benefit-card:not(.benefit-card--clone) {
        border-left: none;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 56px 0;
    }

    .navbar__toggle {
        display: block;
    }

    .navbar__nav {
        position: fixed;
        top: var(--navbar-height);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background-color: var(--color-dark);
        padding: 12px 24px 24px;
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
        transform: translateY(-12px);
        opacity: 0;
        visibility: hidden;
        transition: transform var(--transition), opacity var(--transition), visibility var(--transition);
    }

    .navbar__nav--open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .navbar__link {
        padding: 14px 4px;
        font-size: 1.05rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .navbar__cta {
        margin-top: 16px;
        text-align: center;
        padding: 14px 22px;
    }

    /* Hero mobil: zweigeteilt – Text + Buttons oben auf dunklem Grund,
       darunter das Bild in voller Breite (Cards überlappen ins Bild) */
    .hero {
        min-height: 0;
        text-align: left;
        display: flex;
        flex-direction: column;
        align-items: stretch; /* sonst kollabiert die Bild-Div auf Breite 0 */
        padding-top: calc(var(--navbar-height) + 40px);
        padding-bottom: 0;
    }

    .hero__content {
        order: 1;
    }

    .hero__bg {
        order: 2;
        position: static;
        height: 320px;
        margin-top: 32px;
        /* Klare Kante zum dunklen Textbereich – kein Verlauf */
        background-image: url('images/hero-mobile.jpg');
        background-size: cover;
        background-position: center bottom;
    }

    /* Kein Overlay nötig – der Text liegt nicht mehr auf dem Bild */
    .hero__overlay {
        display: none;
    }

    /* Feste Zeilenumbrüche aufheben – Text bricht natürlich um */
    .hero__headline br,
    .hero__subtext br {
        display: none;
    }

    .hero__eyebrow {
        font-size: 0.72rem;
        margin-bottom: 12px;
    }

    .hero__headline {
        font-size: clamp(1.9rem, 8.5vw, 2.4rem);
    }

    .hero__subtext {
        font-size: 1rem;
        margin-top: 16px;
    }


    .hero__buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        max-width: 360px;
        margin-top: 32px;
    }

    .hero__buttons .btn {
        text-align: center;
        padding: 16px 28px;
    }

    .hero__link {
        justify-content: center;
    }

    /* Vorteile mobil: Swipe-Karussell mit Scroll-Snap, Cards ragen ins Hero-Bild */
    .benefits {
        margin-top: -72px;
        padding-bottom: 64px;
    }

    .benefits__grid {
        display: flex;
        gap: 16px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        /* volle Breite bis an den Bildschirmrand */
        margin: 0 -24px;
        /* seitliches Padding, damit erste/letzte Card mittig einrasten kann */
        padding: 12px 12% 16px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
    }

    .benefits__grid::-webkit-scrollbar {
        display: none; /* Chrome/Safari */
    }

    .benefit-card {
        flex: 0 0 76%;
        scroll-snap-align: center; /* Cards rasten mittig ein */
        padding: 28px 20px;
    }

    .benefit-card--clone {
        display: block;
    }

    /* Schritte mobil: untereinander, Pfeile zeigen nach unten */
    .section-header {
        margin-bottom: 40px;
    }

    .steps__row {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .step {
        max-width: 340px;
    }

    .step-arrow svg {
        transform: rotate(90deg);
    }

    /* Kein Delay beim Untereinander-Einblenden – jeder Schritt kommt beim Scrollen */
    .steps__row .step:nth-child(3),
    .steps__row .step:nth-child(5) {
        transition-delay: 0s;
    }

    /* Warum wir mobil: Bild oben, Liste darunter */
    .why__inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .why__media {
        order: -1;
    }

    .why__image {
        aspect-ratio: 16 / 10;
    }

    /* CTA mobil: zentriert gestapelt, vollbreiter Button */
    .cta {
        padding: 64px 0;
    }

    .cta__box {
        flex-direction: column;
        text-align: center;
        padding: 40px 24px;
        gap: 28px;
    }

    .cta__btn {
        width: 100%;
        justify-content: center;
        padding: 16px 28px;
    }

    /* Über uns mobil: Bild oben, Text darunter, Werte gestapelt */
    .about__inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about__media {
        order: -1;
    }

    .about__btn {
        display: block;
        text-align: center;
        padding: 16px 28px;
    }

    .values__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* FAQ mobil: kompaktere Abstände, große Touch-Fläche bleibt */
    .faq-item__question {
        padding: 18px 18px;
        font-size: 0.95rem;
    }

    .faq-item__answer {
        padding: 0 18px 20px;
    }

    /* Karte mobil: kompakter */
    .map {
        margin-top: 32px;
    }

    .map__placeholder {
        min-height: 280px;
        padding: 32px 20px;
    }

    .map__iframe {
        height: 300px;
    }

    /* Page-Header & Kontakt mobil */
    .page-header {
        padding: calc(var(--navbar-height) + 48px) 0 48px;
    }

    /* Lange Wörter (z. B. "Datenschutzerklärung") umbrechen statt überlaufen */
    .page-header__title {
        font-size: 1.7rem;
        overflow-wrap: break-word;
        hyphens: auto;
    }

    .contact__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* Footer mobil: kompakt in 2 Spalten statt alles untereinander */
    .footer {
        padding-top: 40px;
    }

    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px 16px;
        padding-bottom: 28px;
    }

    /* Brand und Kontakt über die volle Breite, Navigation + Rechtliches nebeneinander */
    .footer__brand,
    .footer__grid > :last-child {
        grid-column: 1 / -1;
    }

    .footer__tagline {
        max-width: none;
        margin-top: 10px;
        font-size: 0.85rem;
    }

    /* Große Touch-Flächen für die Links */
    .footer__col {
        gap: 2px;
    }

    .footer__col .footer__link {
        padding: 6px 0;
    }

    .footer__bottom {
        padding: 14px 0;
    }
}
