:root {
    --clr-text: #000000;
    --clr-accent: #7055A2;
    --clr-accent-light: #C7EEDB;
    --clr-bg: #FFFFFF;
    --clr-bg-soft: #DECCF6;
    --font-head: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;

    --spacing-xs: 0.25rem;
    --spacing-s: 0.5rem;
    --spacing-m: 1rem;
    --spacing-l: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-xxl: 3rem;

    --content-padding: 1.5rem; /* 24px */
    --container-width: 100%;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--clr-text);
    background-color: var(--clr-bg);
    line-height: 1.6;
    margin: 32px 24px 32px 24px; /*Top, Rechts, Unten, Links*/
}

.container {
    width: var(--container-width);
    padding: var(--spacing-xl) var(--content-padding);
    margin: 0 auto;
}

.header {
    position: relative; /* neu */
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 44px;
    margin-bottom: var(--spacing-l);
}
a {
    color: inherit;
    text-decoration: none;
}

.logo {
    height: 44px;
    width: auto;
}

.wordmark {
    font-family: var(--font-head);
    font-size: 1.75rem; /* 28px */
    font-weight: bold;
    margin-left: 1rem;
    flex-grow: 1;
}

.hamburger {
    width: 28px;
    height: auto;
}

.nav-buttons {
    display: none; /* auf Desktop nicht sichtbar */
}

/* Mobile Dropdown-Menü */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%; /* direkt unter dem Header */
    left: 0;
    right: 0;
    background-color: var(--clr-bg); /* Weiß */
    border-radius: 0.75rem;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    padding: var(--spacing-m) var(--spacing-l);
    z-index: 1000;
    flex-direction: column;
    gap: var(--spacing-s);
}

/* Dropdown-Links */
.mobile-menu a {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--clr-accent); /* Lila Schrift */
    text-decoration: none;
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
}

.mobile-menu a:last-child {
    border-bottom: none;
}

/* Hover-Effekt */
.mobile-menu a:hover {
    background-color: #f5f5f5;
    border-radius: 0.5rem;
}

/* Sichtbar, wenn aktiv */
.mobile-menu.active {
    display: flex;
}


/* Voice Visualizer */
.visualizer-wrapper {
    margin: var(--spacing-l) 0;
    height: 320px;
    width: 100%;
    overflow: hidden;
}

.visualizer {
    width: 100%;
    height: 100%;
    border: none;
}


/* Intro Section */
.intro {
    margin-top: var(--spacing-l);
}

.intro-title {
    font-family: var(--font-head);
    font-size: 1.5rem; /* 24px */
    margin-bottom: var(--spacing-m);
    font-weight: bold;
}

.intro-text {
    font-family: var(--font-body);
    font-size: 0.95rem;
}
/* Info Cards */
/* Info Cards – mit Schatten */
.card {
    border: 0.15rem solid #C7EEDB;
    border-radius: 1rem;
    padding: var(--spacing-l);
    margin-bottom: var(--spacing-l);
    background-color: var(--clr-bg);

    /* Shadow hinzufügen */
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.05);
}
/* Standard: mobile */
.mobile-only {
    display: block;
}
.desktop-only {
    display: none;
}

.final {
    margin-bottom: 24px;
}

/* Footer – mit Innen-Shadow (wenn optisch subtiler) oder unten-Shadow */
.footer {
    background-color: var(--clr-bg);
    padding: var(--spacing-l) var(--content-padding);
    margin-top: var(--spacing-xl);
    margin: 0 -24px -32px -24px; /*Top, Rechts, Unten, Links*/

    /* Weiche obere Schattenkante (simuliert inner shadow oben) */
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
    border-top: 1px solid #DECCF6;
}

.footer-text {
    font-family: var(--font-body);
    font-size: 0.95rem;
    margin-bottom: var(--spacing-m);
}

.footer-links {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-m);
}

.footer-links a {
    text-decoration: none;
    color: var(--clr-accent);
    font-family: var(--font-body);
    font-size: 0.95rem;
}


/* Desktop Layout ab 1024px */
@media (min-width: 1024px) {

    body {
        margin: 80px 240px; /* oben/unten 80px, rechts/links 240px */
        font-size: 1rem;
    }

    .container {
        max-width: 1440px;
        padding: 0; /* Padding wird durch body-Margin ersetzt */
    }

    .header {
        height: 44px;
        justify-content: flex-start;
        gap: 44px;
        margin-bottom: 96px;
    }

    .logo {
        height: 44px;
    }

    .wordmark {
        font-size: 1.75rem;
        margin-left: 0;
    }

    .hamburger {
        display: none; /* auf Desktop nicht sichtbar */
    }

    /* Navigations-Buttons (neu für Desktop) */
    .nav-buttons {
        margin-left: auto;
        display: flex;
        gap: 24px;
    }


    .nav-buttons button {
        font-family: var(--font-body);
        font-size: 0.95rem;
        padding: 0.5rem 1rem;
        background: #000;
        color: white;
        border: none;
        border-radius: 0.75rem;
        cursor: pointer;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    }

    .intro-title {
        font-size: 1.75rem;
        margin-bottom: 0.125rem; /* 2px Abstand */
    }

    .intro-text {
        font-size: 1rem;
        margin-top: 2px;
        margin-bottom: 24px;
    }

    /* Carousel-Box */
    .card-carousel {
        width: 652px;
        padding: 44px;
        border: 1px solid var(--clr-accent-light);
        border-radius: 1rem;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
        background: var(--clr-bg);
        margin-bottom: 24px;
    }

    .mobile-only {
        display: none;
    }
    .desktop-only {
        display: block;
    }
    .carousel-dots {
        display: flex;
        gap: 0.5rem;
        justify-content: flex-start;
        margin-bottom: 24px;
    }

    .carousel-dots div {
        width: 10px;
        height: 10px;
        background-color: #DECCF6;
        border-radius: 50%;
    }

    .carousel-dots .active {
        background-color: var(--clr-accent);
    }

    .final {
        margin-top: 24px;
    }

    .footer {
        margin: 80px -240px -240px -240px; /* zieht den Footer über die volle Breite */
        padding: 2rem 240px;
    }
    /* Swiper Karten */
    .card-carousel.swiper-slide {
        width: 50%;
        padding: 44px;
        background: var(--clr-bg);
        border: 0.2rem solid var(--clr-accent-light);
        border-radius: 1rem;
        box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.05);
        margin: 0 auto;
    }
    /* Swiper Pagination */
    .swiper-pagination {
        margin-top: 24px;
    }
    .swiper-pagination-bullet {
        width: 12px;
        height: 12px;
        background-color: #DECCF6;
        opacity: 1;
        border-radius: 50%;
        cursor: pointer;
    }
    .swiper-pagination-bullet-active {
        background-color: var(--clr-accent);
    }
    .swiper-pagination-bullet-active {
        background-color: var(--clr-accent);
    }
}

