@font-face {
    font-family: 'Mulish';
    src: url('../fonts/muli/mulish-v18-latin-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Mulish';
    src: url('../fonts/muli/mulish-v18-latin-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    /* === FARBEN (Exakt nach XD) === */
    --color-primary: #009FE3;
    --color-primary-light: #33b2e9;
    --color-primary-dark: #008cc2;
    --color-white: #ffffff;
    --color-black: #000000;
    --color-text: #333333;
    --color-text-muted: #666666;
    --color-bg-alt: #F8F9FA;

    /* === TYPOGRAFIE === */
    --font-primary: 'Mulish', -apple-system, BlinkMacSystemFont, sans-serif;

    --fs-h1: 64px;
    --fs-h2: 48px;
    --fs-body: 18px;

    --lh-tight: 1;
    --lh-body: 1.5;
    --fw-normal: 400;
    --fw-bold: 700;

    /* === SPACING === */
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 60px;
    --space-section: 120px;

    --container-max-width: 1516px;
    --container-wide-max-width: 1720px;
    --container-padding-x: 20px;

    --radius-lg: 35px;
    --radius-btn: 30px;
    --z-navigation: 1000;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    color: var(--color-text);
    line-height: var(--lh-body);
    font-size: var(--fs-body);
    padding-top: 80px;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin-inline: auto;
    padding-inline: var(--container-padding-x);
}

.container-wide {
    width: 100%;
    max-width: var(--container-wide-max-width);
    margin-inline: auto;
    padding-inline: var(--container-padding-x);
}

/* Header */
.header {
    background: var(--color-white);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: var(--z-navigation);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    transition: padding 0.3s ease;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    transition: height 0.3s ease;
}

.header.is-sticky {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.header.is-sticky .container {
    height: 65px;
}

.logo img {
    height: 60px;
    width: auto;
    display: block;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 35px;
}

.navigation a {
    text-decoration: none;
    color: var(--color-text);
    font-size: var(--fs-body);
    font-weight: var(--fw-normal);
    transition: color 0.3s;
}

.navigation a:hover {
    color: var(--color-primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

/* Buttons */
.btn-cta,
.btn-blue,
.btn-white {
    height: 53px;
    padding-inline: 35px;
    border-radius: var(--radius-btn);
    font-weight: var(--fw-normal);
    display: inline-block;
    font-size: var(--fs-body);
    line-height: 53px;
    text-decoration: none;
    transition: transform 0.2s, background-color 0.3s, box-shadow 0.3s;
    text-align: center;
}

.btn-cta,
.btn-blue {
    background: var(--color-primary);
    color: var(--color-white);
}

.btn-cta:hover,
.btn-blue:hover {
    transform: translateY(-2px);
    background: var(--color-primary-dark);
    box-shadow: 0 4px 12px rgba(0, 159, 227, 0.2);
}

.btn-white {
    background: var(--color-white);
    color: var(--color-text);
}

.btn-white:hover {
    background: #F0F0F0;
    transform: translateY(-2px);
}

/* Hero */
.hero {
    padding-block: var(--space-md) 60px;
}

.hero-content {
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    color: var(--color-white);
    min-height: 650px;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


.hero-text-overlay {
    position: relative;
    z-index: 3;
    width: 100%;
}

.hero h1 {
    font-size: var(--fs-h1);
    max-width: 720px;
    margin-bottom: 30px;
    line-height: 0.95;
    /* Engeres Spacing für Premium-Look */
    font-weight: var(--fw-bold);
}

.highlight {
    color: var(--color-primary);
}

.hero p {
    font-size: var(--fs-body);
    max-width: 500px;
    margin-bottom: 40px;
    line-height: 1.3;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.hero-features {
    list-style: none;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 60px; /* Mehr Abstand nach oben gemäß Audit */
}

.hero-features li {
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-features li::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    background: var(--color-primary);
    border-radius: 50%;
}

/* Hamburger (Mobile) */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
    z-index: calc(var(--z-navigation) + 1);
}

.hamburger-line {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.is-active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.is-active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.is-active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Overlay */
.overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: calc(var(--z-navigation) - 1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.overlay.is-visible {
    display: block;
    opacity: 1;
}

/* Mobile Navigation */
@media (max-width: 899px) {
    .hamburger {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

    .navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: var(--color-white);
        z-index: var(--z-navigation);
        padding: 100px 40px 40px;
        transition: right 0.3s ease;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    }

    .navigation.is-open {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 25px;
    }

    .nav-list a {
        font-size: 1.25rem;
        display: block;
        padding: 10px 0;
    }

    .header-actions .btn-cta {
        display: none;
    }

    /* Hero Mobile */
    .hero-content {
        min-height: 500px;
    }

    .hero h1 {
        font-size: 36px;
    }

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

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .hero-features {
        flex-direction: column;
        gap: 15px;
    }

    /* Advantages Mobile */
    .advantages .container-wide {
        padding: 40px 20px;
    }

    .advantages h2 {
        font-size: 28px;
    }

    .advantages .subline {
        font-size: 20px;
    }

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

    /* Future Mobile */
    .future-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .future-text h2 {
        font-size: 32px;
    }

    /* Services Mobile */
    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 300px;
        padding: 30px 25px;
    }

    .card-image {
        width: 200px;
        bottom: -30px;
        right: -30px;
    }

    .support-icon {
        width: 250px !important;
        bottom: -50px !important;
        right: -50px !important;
    }

    /* Pricing Mobile */
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .price-card.featured {
        transform: none;
        order: -1;
    }

    /* Founder Mobile */
    .founder-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .founder-image {
        max-width: 300px;
        margin: 0 auto;
    }

    .founder-content blockquote {
        border-left: none;
        border-top: 4px solid var(--color-primary);
        padding-left: 0;
        padding-top: 20px;
    }

    /* Footer Mobile */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-brand p {
        max-width: 100%;
    }
}

/* Small Mobile */
@media (max-width: 768px) {
    :root {
        --fs-h1: clamp(1.5rem, 4vw + 0.5rem, 2.5rem);
        --fs-h2: clamp(1.25rem, 3vw + 0.5rem, 1.875rem);
        --fs-body: 16px;
        --space-section: 60px;
        --container-padding-x: 1rem;
    }

    body {
        padding-top: 65px;
    }

    .header .container {
        height: 65px;
    }

    .logo img {
        height: 50px;
    }

    .header-actions {
        gap: var(--space-md);
    }

    .btn-cta,
    .btn-blue,
    .btn-white {
        height: 48px;
        padding-inline: 28px;
        font-size: 15px;
        line-height: 48px;
    }

    /* Hero */
    .hero {
        padding-block: var(--space-sm) 40px;
    }

    .hero-content {
        min-height: 400px;
        border-radius: 20px;
    }

    .hero h1 {
        font-size: clamp(1.5rem, 4vw, 2.25rem);
        max-width: 100%;
        margin-bottom: 20px;
        line-height: 1.1;
    }

    .hero p {
        font-size: 15px;
        margin-bottom: 25px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 30px;
    }

    .hero-buttons a {
        width: 100%;
        text-align: center;
    }

    .hero-features {
        flex-direction: column;
        gap: 12px;
        margin-top: 30px;
    }

    .hero-features li {
        font-size: 13px;
    }

    /* Section Spacing */
    .section-title {
        font-size: clamp(1.25rem, 3vw, 1.875rem);
        margin-bottom: 40px;
    }

    /* Advantages */
    .advantages .container-wide {
        padding: 40px 20px;
        border-radius: 20px;
    }

    .advantages h2 {
        font-size: clamp(1.25rem, 3vw, 1.75rem);
        margin-bottom: 10px;
    }

    .advantages .subline {
        font-size: clamp(1rem, 2.5vw, 1.5rem);
        margin-bottom: 35px;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .adv-card {
        padding: 15px;
    }

    .adv-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }

    .adv-icon img {
        width: 35px;
        height: 35px;
    }

    .adv-card h3 {
        font-size: 1.1rem;
    }

    .adv-card p {
        font-size: 14px;
    }

    /* Future Section */
    .future {
        padding-block: 50px;
    }

    .future-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .future-text h2 {
        font-size: clamp(1.25rem, 3vw, 1.75rem);
        line-height: 1.2;
        margin-bottom: 20px;
    }

    .future-text p {
        font-size: 14px;
        margin-bottom: 20px;
        line-height: 1.6;
    }

    .btn-blue-outline {
        padding: 12px 25px;
        font-size: 14px;
    }

    /* Services */
    .services {
        padding-block: 50px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        min-height: auto;
        padding: 30px 20px;
        border-radius: 20px;
    }

    .card-content h3 {
        font-size: 1.25rem;
        margin-bottom: 12px;
    }

    .card-content p {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .btn-blue-small {
        padding: 10px 20px;
        font-size: 13px;
    }

    .card-image {
        display: none;
    }

    /* Pricing */
    .pricing {
        padding-block: 50px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .price-card {
        border-radius: 20px;
    }

    .price-card .card-inner {
        padding: 30px 20px;
    }

    .price-card h3 {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }

    .price {
        font-size: 2.25rem;
        margin-bottom: 20px;
    }

    .price .period {
        font-size: 14px;
    }

    .price-desc {
        font-size: 13px;
        margin-bottom: 12px;
    }

    .price-features {
        margin-bottom: 25px;
    }

    .price-features li {
        padding-block: 8px;
        font-size: 13px;
    }

    .price-card.featured {
        transform: scale(1);
        order: -1;
    }

    .badge-neu {
        padding: 2px 6px;
        font-size: 11px;
        margin-left: 4px;
    }

    .bestseller-badge {
        padding: 4px 12px;
        font-size: 12px;
    }

    /* Custom Package */
    .custom-package {
        padding-block: 50px;
    }

    .custom-package h2 {
        font-size: clamp(1.1rem, 2.5vw, 1.5rem);
        margin-bottom: 15px;
    }

    .custom-package p {
        font-size: 14px;
    }

    /* Founder */
    .founder {
        padding-block: 50px;
    }

    .founder-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .founder-image {
        max-width: 300px;
        margin: 0 auto;
    }

    .founder-content h3 {
        font-size: 1.25rem;
    }

    .founder-title {
        font-size: 14px;
    }

    .founder-content blockquote {
        font-size: 14px;
        border-left: none;
        border-top: 4px solid var(--color-primary);
        padding-left: 0;
        padding-top: 20px;
    }

    /* Footer */
    .site-footer {
        padding-block: 50px 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
        margin-bottom: 35px;
        text-align: center;
    }

    .footer-brand p {
        max-width: 100%;
        font-size: 13px;
    }

    .footer-nav h4 {
        font-size: 1rem;
        margin-bottom: 15px;
    }

    .footer-nav li {
        font-size: 13px;
    }

    .footer-bottom {
        font-size: 12px;
    }
}

/* Extra Small Mobile (480px) */
@media (max-width: 480px) {
    :root {
        --container-padding-x: 0.75rem;
    }

    body {
        font-size: 14px;
    }

    .header .container {
        height: 60px;
        padding: 0 var(--container-padding-x);
    }

    .logo img {
        height: 45px;
    }

    .nav-list {
        gap: 20px;
    }

    .btn-cta,
    .btn-blue,
    .btn-white {
        height: 44px;
        padding-inline: 20px;
        font-size: 14px;
        line-height: 44px;
    }

    /* Hero */
    .hero {
        padding-block: 0 30px;
    }

    .hero-content {
        min-height: 350px;
        border-radius: 16px;
    }

    .hero-text-overlay {
        padding: 30px 15px;
    }

    .hero h1 {
        font-size: 1.25rem;
        margin-bottom: 12px;
        line-height: 1.15;
    }

    .hero p {
        font-size: 13px;
        margin-bottom: 18px;
    }

    .hero-buttons {
        gap: 10px;
        margin-bottom: 20px;
    }

    .hero-buttons a {
        padding-inline: 16px;
        height: 40px;
        line-height: 40px;
        font-size: 13px;
    }

    .hero-features {
        margin-top: 20px;
        gap: 10px;
    }

    .hero-features li {
        font-size: 12px;
    }

    .hero-features li::before {
        width: 4px;
        height: 4px;
    }

    /* Section Title */
    .section-title {
        font-size: 1.1rem;
        margin-bottom: 30px;
        line-height: 1.2;
    }

    /* Advantages */
    .advantages .container-wide {
        padding: 25px 15px;
        border-radius: 16px;
    }

    .advantages h2 {
        font-size: 1rem;
        margin-bottom: 8px;
    }

    .advantages .subline {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }

    .advantages-grid {
        gap: 20px;
    }

    .adv-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
        border-radius: 16px;
    }

    .adv-icon img {
        width: 30px;
        height: 30px;
    }

    .adv-card h3 {
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .adv-card p {
        font-size: 13px;
    }

    /* Future */
    .future {
        padding-block: 40px;
    }

    .future-text h2 {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }

    .future-text p {
        font-size: 13px;
        margin-bottom: 15px;
    }

    .btn-blue-outline {
        padding: 10px 20px;
        font-size: 13px;
    }

    /* Services */
    .services {
        padding-block: 40px;
    }

    .service-card {
        padding: 20px 15px;
        border-radius: 16px;
    }

    .card-content h3 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }

    .card-content p {
        font-size: 13px;
        margin-bottom: 15px;
    }

    .btn-blue-small {
        padding: 8px 16px;
        font-size: 12px;
    }

    /* Pricing */
    .pricing {
        padding-block: 40px;
    }

    .price-card .card-inner {
        padding: 20px 15px;
    }

    .price-card h3 {
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .price {
        font-size: 1.75rem;
        margin-bottom: 15px;
    }

    .price .period {
        font-size: 13px;
    }

    .price-features {
        margin-bottom: 20px;
    }

    .price-features li {
        padding-block: 6px;
        font-size: 12px;
    }

    .price-card.featured {
        margin-bottom: 10px;
    }

    /* Custom Package */
    .custom-package {
        padding-block: 40px;
    }

    .custom-package h2 {
        font-size: 1rem;
        margin-bottom: 12px;
    }

    .custom-package p {
        font-size: 13px;
    }

    /* Founder */
    .founder {
        padding-block: 40px;
    }

    .founder-image {
        max-width: 250px;
    }

    .founder-content h3 {
        font-size: 1rem;
    }

    .founder-content blockquote {
        font-size: 13px;
    }

    /* Footer */
    .footer-grid {
        gap: 25px;
        margin-bottom: 25px;
    }

    .footer-nav h4 {
        font-size: 0.95rem;
    }

    .footer-nav li {
        font-size: 12px;
    }

    .footer-bottom {
        font-size: 11px;
    }

    .navigation {
        width: 75%;
        max-width: 300px;
        padding: 80px 30px 30px;
    }

    .nav-list a {
        font-size: 1.1rem;
    }
}

/* Ultra Small Mobile (360px) */
@media (max-width: 360px) {
    :root {
        --container-padding-x: 0.5rem;
    }

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

    .section-title {
        font-size: 1rem;
    }

    .price {
        font-size: 1.5rem;
    }

    .hero-buttons a,
    .btn-cta,
    .btn-blue,
    .btn-white {
        font-size: 12px;
        padding-inline: 16px;
    }
}
