/* ══════════════════════════════════════════════════
   ALEXANDER E-MOBILITY – Style Sheet v2 (Mobile First)
   Farbpalette: Grün #80BB3B, Weiß, Schwarz
   ══════════════════════════════════════════════════ */

/* ─── RESET ─── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --green: #80BB3B;
    --green-dark: #6A9E2E;
    --green-light: #9BC864;
    --green-pale: #CDE5B4;
    --green-mist: #E8F3D8;
    --black: #0A0E17;
    --black-soft: #141822;
    --white: #FFFFFF;
    --off-white: #F5F7FA;
    --gray-100: #F0F2F5;
    --gray-200: #E2E5EA;
    --gray-300: #B0B5BE;
    --gray-400: #7C828C;
    --gray-500: #4A4F59;
    --radius: 16px;
    --radius-sm: 10px;
    --radius-full: 9999px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --shadow-card: 0 8px 32px rgba(10, 14, 23, 0.12);
    --shadow-glow: 0 0 60px rgba(128, 187, 59, 0.25);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font);
    background: var(--white);
    color: var(--black);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

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

a {
    color: var(--green);
    text-decoration: none;
    transition: color 0.2s;
}
a:hover { color: var(--green-dark); }

/* ─── TEXT GRADIENT ─── */
.text-gradient {
    background: linear-gradient(135deg, var(--green) 0%, var(--green-light) 50%, var(--green-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ─── BUTTONS ─── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 14px 24px;
    border-radius: var(--radius-full);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
    width: 100%;
}

.btn--primary {
    background: var(--black);
    color: var(--white);
    border-color: var(--black);
}
.btn--primary:hover {
    background: var(--green);
    border-color: var(--green);
    color: var(--black);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(128, 187, 59, 0.35);
}

.btn--outline {
    background: transparent;
    color: var(--green);
    border-color: var(--green);
}
.btn--outline:hover {
    background: var(--green);
    color: var(--black);
    transform: translateY(-2px);
}

.btn svg { flex-shrink: 0; }

/* ─── SECTION HEADER ─── */
.section__header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 40px;
}

.section__tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--green);
    background: var(--green-mist);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 14px;
}

.section__title {
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 14px;
}

.section__desc {
    font-size: 0.95rem;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ════════════════════════════════════
   HEADER
   ════════════════════════════════════ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 12px 0;
    transition: all 0.4s ease;
}
.header.scrolled {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 20px rgba(10,14,23,0.08);
    padding: 8px 0;
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: center;
}

.header__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--black);
}

.header__logo-img {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

.header__logo-text {
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: -0.02em;
}

/* ════════════════════════════════════
   HERO
   ════════════════════════════════════ */
.hero {
    position: relative;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    padding: 100px 0 60px;
    overflow: hidden;
    background: linear-gradient(180deg, var(--green-mist) 0%, var(--white) 60%);
}

.hero__bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(128,187,59,0.12) 0%, transparent 70%);
    pointer-events: none;
}

.hero__particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    opacity: 0.5;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--green);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 6s infinite;
}

@keyframes particleFloat {
    0%   { transform: translateY(100vh) scale(0); opacity: 0; }
    10%  { opacity: 0.6; }
    90%  { opacity: 0.6; }
    100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

.hero__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
    text-align: center;
}

.hero__content { animation: fadeUp 0.8s ease 0.2s both; }

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--green-dark);
    background: var(--green-mist);
    padding: 8px 18px;
    border-radius: var(--radius-full);
    margin-bottom: 20px;
    border: 1px solid rgba(128,187,59,0.2);
}

.hero__title {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 18px;
}

.hero__subtitle {
    font-size: 1rem;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 28px;
}

.hero__subtitle strong {
    color: var(--green-dark);
    font-weight: 600;
}

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

.hero__visual {
    position: relative;
    animation: fadeUp 0.8s ease 0.4s both;
}

.hero__glow {
    position: absolute;
    width: 300px;
    height: 300px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(128,187,59,0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
    50% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}

.hero__stats {
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
    z-index: 2;
    max-width: 400px;
    margin: 0 auto;
}

.stat-card {
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(128,187,59,0.15);
    border-radius: var(--radius);
    padding: 22px 26px;
    transition: all 0.3s ease;
}
.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.stat-card__number {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

.stat-card__label {
    font-size: 0.85rem;
    color: var(--gray-500);
    font-weight: 500;
}

/* Scroll Indicator */
.hero__scroll {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--gray-400);
    font-size: 0.75rem;
    font-weight: 500;
    animation: fadeUp 0.8s ease 0.8s both;
}

.hero__scroll-mouse {
    width: 22px;
    height: 34px;
    border: 2px solid var(--gray-300);
    border-radius: 12px;
    position: relative;
}

.hero__scroll-dot {
    width: 4px;
    height: 8px;
    background: var(--green);
    border-radius: 3px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollDot {
    0%   { transform: translateX(-50%) translateY(0); opacity: 1; }
    75%  { transform: translateX(-50%) translateY(14px); opacity: 0.3; }
    100% { transform: translateX(-50%) translateY(0); opacity: 1; }
}

/* ════════════════════════════════════
   GALLERY
   ════════════════════════════════════ */
.gallery {
    padding: 72px 0;
    background: var(--white);
}

.gallery__slider {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 900px;
    margin: 0 auto;
}

.gallery__track-wrapper {
    flex: 1;
    overflow: hidden;
}

.gallery__track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery__slide {
    min-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 12px;
}

.gallery__nav {
    display: none;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--gray-200);
    background: var(--white);
    color: var(--black);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.gallery__nav:hover {
    border-color: var(--green);
    color: var(--green);
    background: var(--green-mist);
}

.gallery__slide-info {
    text-align: center;
}
.gallery__slide-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 6px;
}
.gallery__slide-info p {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-bottom: 18px;
}

/* ─── PHONE MOCKUP ─── */
.phone-mockup {
    position: relative;
    width: 220px;
    height: 440px;
    background: var(--black);
    border-radius: 30px;
    padding: 10px;
    box-shadow:
        0 20px 60px rgba(10,14,23,0.3),
        0 0 0 1px rgba(255,255,255,0.08),
        inset 0 0 0 1px rgba(255,255,255,0.05);
    flex-shrink: 0;
}

.phone-mockup__notch {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 24px;
    background: var(--black);
    border-radius: 0 0 16px 16px;
    z-index: 2;
}
.phone-mockup__notch::after {
    content: '';
    position: absolute;
    top: 7px;
    left: 50%;
    transform: translateX(-50%);
    width: 7px;
    height: 7px;
    background: var(--black-soft);
    border-radius: 50%;
    border: 1px solid #2a2f3e;
}

.phone-mockup__screen {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 22px;
    background: var(--black-soft);
}

.phone-mockup__screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 22px;
}

/* ─── DOTS ─── */
.gallery__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
}

.gallery__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gray-200);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}
.gallery__dot.active {
    background: var(--green);
    width: 28px;
    border-radius: 5px;
}

/* ════════════════════════════════════
   COMMUNITY
   ════════════════════════════════════ */
.community {
    padding: 72px 0;
    background: var(--off-white);
}

.community__cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.community__card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px 28px;
    text-decoration: none;
    color: var(--black);
    border: 1px solid var(--gray-100);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.community__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--green);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.community__card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
    border-color: transparent;
}
.community__card:hover::before {
    transform: scaleX(1);
}

.community__card-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--green-mist);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--green);
}
.community__card-icon svg {
    width: 24px;
    height: 24px;
}

.community__card-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.community__card-desc {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-bottom: 16px;
    line-height: 1.6;
}

.community__card-link {
    font-weight: 600;
    color: var(--green);
    font-size: 0.9rem;
}

/* ════════════════════════════════════
   FOOTER
   ════════════════════════════════════ */
.footer {
    background: var(--black);
    color: var(--gray-300);
    padding: 48px 0 28px;
}

.footer__top {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    margin-bottom: 28px;
    text-align: center;
    align-items: center;
}

.footer__logo {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    margin-bottom: 14px;
    margin-left: auto;
    margin-right: auto;
}

.footer__desc {
    font-size: 0.85rem;
    line-height: 1.7;
    max-width: 320px;
}

.footer__nav-title {
    color: var(--white);
    font-weight: 600;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
}

.footer__nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer__nav-list a {
    color: var(--gray-400);
    font-size: 0.85rem;
    transition: color 0.2s;
}
.footer__nav-list a:hover {
    color: var(--green);
}

.footer__social-links {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.footer__social-link {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    transition: all 0.3s ease;
}
.footer__social-link:hover {
    background: var(--green);
    color: var(--black);
    transform: translateY(-2px);
}

.footer__bottom {
    text-align: center;
    font-size: 0.8rem;
    color: var(--gray-400);
}

.footer__bottom p {
    margin: 0;
}

/* ════════════════════════════════════
   LEGAL PAGES
   ════════════════════════════════════ */
.legal-page {
    padding-top: 100px;
    padding-bottom: 60px;
    min-height: 100dvh;
}

.legal-page .container {
    max-width: 800px;
}

.legal-page h1 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 6px;
    color: var(--black);
}

.legal-page .legal-date {
    color: var(--gray-400);
    font-size: 0.85rem;
    margin-bottom: 32px;
}

.legal-page h2 {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 28px 0 10px;
    color: var(--green-dark);
}

.legal-page h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 20px 0 6px;
    color: var(--black);
}

.legal-page p, 
.legal-page li {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--gray-500);
    margin-bottom: 10px;
}

.legal-page ul, 
.legal-page ol {
    padding-left: 20px;
    margin-bottom: 14px;
}

.legal-page a {
    color: var(--green);
    word-break: break-all;
}
.legal-page a:hover {
    color: var(--green-dark);
}

.legal-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-bottom: 28px;
}
.legal-back:hover {
    color: var(--green);
}

/* ════════════════════════════════════
   ANIMATIONS
   ════════════════════════════════════ */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════════
   TABLET (481px – 768px)
   ═══════════════════════════════════════════════ */
@media (min-width: 481px) {
    .container {
        padding: 0 24px;
    }

    .btn {
        width: auto;
        padding: 14px 28px;
    }

    .section__header {
        margin-bottom: 48px;
    }

    .section__tag {
        font-size: 0.82rem;
        padding: 6px 18px;
    }

    .section__title {
        font-size: 1.8rem;
    }

    .section__desc {
        font-size: 1rem;
    }

    /* Header */
    .header__logo-img {
        width: 40px;
        height: 40px;
    }
    .header__logo-text {
        font-size: 1.1rem;
    }

    /* Hero */
    .hero {
        padding: 110px 0 70px;
    }
    .hero__title {
        font-size: 2.5rem;
    }
    .hero__subtitle {
        font-size: 1.05rem;
    }
    .hero__ctas {
        flex-direction: row;
        justify-content: center;
    }
    .hero__stats {
        flex-direction: row;
        gap: 16px;
    }
    .stat-card {
        flex: 1;
        padding: 24px 28px;
    }
    .stat-card__number {
        font-size: 1.8rem;
    }

    /* Gallery */
    .gallery {
        padding: 80px 0;
    }
    .gallery__slide {
        gap: 28px;
        padding: 16px;
    }
    .gallery__slide-info h3 {
        font-size: 1.3rem;
    }

    .phone-mockup {
        width: 250px;
        height: 500px;
    }

    /* Community */
    .community {
        padding: 80px 0;
    }
    .community__cards {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
    .community__card {
        padding: 36px 30px;
    }

    /* Footer */
    .footer {
        padding: 52px 0 30px;
    }
    .footer__top {
        flex-direction: row;
        flex-wrap: wrap;
        text-align: left;
        align-items: flex-start;
        gap: 36px;
    }
    .footer__logo {
        margin-left: 0;
        margin-right: 0;
    }
    .footer__social-links {
        justify-content: flex-start;
    }
    .footer__desc {
        font-size: 0.88rem;
    }

    /* Legal */
    .legal-page {
        padding-top: 110px;
    }
    .legal-page h1 {
        font-size: 1.8rem;
    }
    .legal-page h2 {
        font-size: 1.2rem;
    }
}

/* ═══════════════════════════════════════════════
   NOTEBOOK (769px – 1199px)
   ═══════════════════════════════════════════════ */
@media (min-width: 769px) {
    .hero__title {
        font-size: 3rem;
    }
    .hero__subtitle {
        font-size: 1.1rem;
        max-width: 520px;
    }
    .hero__inner {
        grid-template-columns: 1fr 1fr;
        gap: 50px;
        text-align: left;
    }
    .hero__ctas {
        justify-content: flex-start;
    }
    .hero__stats {
        flex-direction: column;
    }
    .hero__content {
        text-align: left;
    }
    .hero__scroll {
        bottom: 28px;
    }

    .gallery__nav {
        display: flex;
    }

    .gallery {
        padding: 90px 0;
    }
    .community {
        padding: 90px 0;
    }

    .phone-mockup {
        width: 270px;
        height: 540px;
    }

    .community__card {
        padding: 38px 32px;
    }

    .footer__top {
        display: grid;
        grid-template-columns: 2fr 1fr 1fr;
        gap: 48px;
    }

    .section__title {
        font-size: 2.2rem;
    }

    /* Legal */
    .legal-page {
        padding-top: 120px;
    }
    .legal-page h1 {
        font-size: 2.2rem;
    }
    .legal-page h2 {
        font-size: 1.25rem;
    }
}

/* ═══════════════════════════════════════════════
   DESKTOP ab 15" (1200px+)
   ═══════════════════════════════════════════════ */
@media (min-width: 1200px) {
    .container {
        padding: 0 32px;
    }

    .hero {
        padding: 120px 0 80px;
    }
    .hero__title {
        font-size: 3.8rem;
    }
    .hero__subtitle {
        font-size: 1.15rem;
    }
    .hero__inner {
        gap: 60px;
    }
    .hero__stats {
        gap: 20px;
    }
    .stat-card {
        padding: 28px 32px;
    }
    .stat-card__number {
        font-size: 2rem;
    }
    .stat-card__label {
        font-size: 0.9rem;
    }

    .gallery {
        padding: 100px 0;
    }
    .community {
        padding: 100px 0;
    }
    .community__card {
        padding: 40px 36px;
    }
    .community__card-title {
        font-size: 1.3rem;
    }

    .section__header {
        margin-bottom: 56px;
    }
    .section__title {
        font-size: 2.8rem;
    }
    .section__desc {
        font-size: 1.05rem;
    }

    .phone-mockup {
        width: 280px;
        height: 560px;
        border-radius: 36px;
    }
    .phone-mockup__notch {
        width: 120px;
        height: 28px;
    }

    .footer {
        padding: 60px 0 32px;
    }
    .footer__desc {
        font-size: 0.9rem;
    }
    .footer__nav-list a {
        font-size: 0.9rem;
    }

    /* Legal */
    .legal-page h1 {
        font-size: 2.5rem;
    }
    .legal-page h2 {
        font-size: 1.3rem;
    }
}