/* ===== Self-hosted Inter (DSGVO-konform) ===== */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('assets/fonts/inter-300.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('assets/fonts/inter-400.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('assets/fonts/inter-500.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('assets/fonts/inter-600.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('assets/fonts/inter-700.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-bg: #0a1628;
    --color-bg-alt: #0f1f3d;
    --color-surface: #142346;
    --color-primary: #4a90d9;
    --color-primary-light: #6bb0f0;
    --color-text: #e0e8f5;
    --color-text-muted: #8fa4c4;
    --color-accent: #a8c8f0;
    --color-white: #ffffff;
    --font: 'Inter', system-ui, -apple-system, sans-serif;
    --max-width: 1100px;
    --radius: 12px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--color-primary-light);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--color-accent);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 22, 40, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(74, 144, 217, 0.12);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo img {
    height: 48px;
    width: auto;
}

.nav {
    display: flex;
    gap: 32px;
}

.nav a {
    color: var(--color-text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    transition: color 0.2s;
}

.nav a:hover {
    color: var(--color-white);
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===== Hero ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(74, 144, 217, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 80%, rgba(107, 176, 240, 0.06) 0%, transparent 50%),
        var(--color-bg);
}

.hero-content {
    max-width: 720px;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-white);
    margin-bottom: 24px;
}

.hero-sub {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 40px;
}

.hero-offer-pill {
    display: inline-block;
    background: rgba(74, 144, 217, 0.12);
    border: 1px solid rgba(74, 144, 217, 0.35);
    color: var(--color-primary-light);
    font-size: 0.92rem;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 28px;
    letter-spacing: 0.01em;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn--ghost {
    background: transparent;
    border: 2px solid rgba(74, 144, 217, 0.5);
    color: var(--color-text);
}

.btn--ghost:hover {
    border-color: var(--color-primary-light);
    color: var(--color-white);
    background: transparent;
    transform: translateY(-2px);
}

/* ===== Button ===== */
.btn {
    display: inline-block;
    padding: 14px 36px;
    background: var(--color-primary);
    color: var(--color-white);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 50px;
    transition: background 0.25s, transform 0.2s;
    letter-spacing: 0.02em;
}

.btn:hover {
    background: var(--color-primary-light);
    color: var(--color-white);
    transform: translateY(-2px);
}

/* ===== Sections ===== */
.section {
    padding: 96px 0;
}

.section-alt {
    background: var(--color-bg-alt);
}

.section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-white);
    text-align: center;
    margin-bottom: 56px;
    position: relative;
}

.section h2::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: var(--color-primary);
    border-radius: 2px;
    margin: 16px auto 0;
}

/* ===== About ===== */
.about-content {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    margin-bottom: 20px;
    color: var(--color-text-muted);
    font-size: 1.05rem;
}

.about-content strong {
    color: var(--color-white);
}

/* ===== Services ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--color-surface);
    border: 1px solid rgba(74, 144, 217, 0.1);
    border-radius: var(--radius);
    padding: 36px 28px;
    text-align: center;
    transition: transform 0.25s, border-color 0.25s;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(74, 144, 217, 0.3);
}

.service-icon {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.service-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 12px;
}

.service-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===== Offer / Angebot ===== */
.section-sub {
    text-align: center;
    color: var(--color-text-muted);
    font-size: 1.08rem;
    max-width: 600px;
    margin: -36px auto 56px;
    line-height: 1.7;
}

.offer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
    align-items: start;
}

.offer-card {
    background: var(--color-surface);
    border: 1px solid rgba(74, 144, 217, 0.12);
    border-radius: var(--radius);
    padding: 40px 32px 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
}

.offer-card--highlight {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 1px var(--color-primary), 0 8px 40px rgba(74, 144, 217, 0.15);
}

.offer-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 16px;
    border-radius: 50px;
    white-space: nowrap;
}

.offer-icon {
    font-size: 2.4rem;
}

.offer-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.3;
}

.offer-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.offer-price-from {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.offer-price-amount {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-primary-light);
    line-height: 1;
}

.offer-price-note {
    font-size: 0.78rem;
    color: var(--color-text-muted);
    width: 100%;
}

.offer-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.offer-features li {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

.offer-features li::first-letter {
    color: var(--color-primary-light);
    font-weight: 700;
}

.offer-btn {
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.offer-btn--outline {
    background: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary-light);
}

.offer-btn--outline:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.offer-disclaimer {
    font-size: 0.78rem;
    color: var(--color-text-muted);
    opacity: 0.7;
    line-height: 1.5;
    margin-top: -8px;
}

/* ===== Projects ===== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.project-card {
    background: var(--color-surface);
    border: 1px solid rgba(74, 144, 217, 0.1);
    border-radius: var(--radius);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: transform 0.25s, border-color 0.25s;
}

.project-card:hover {
    transform: translateY(-4px);
    border-color: rgba(74, 144, 217, 0.3);
}

.project-header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.project-icon {
    font-size: 2.4rem;
    flex-shrink: 0;
}

.project-header h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 4px;
}

.project-category {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--color-primary);
}

.project-card > p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.65;
    flex: 1;
}

.play-badge {
    display: inline-block;
    margin-top: 4px;
}

.play-badge img {
    height: 48px;
    width: auto;
}

/* ===== Contact ===== */
.contact-grid {
    display: flex;
    justify-content: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 28px;
    text-align: center;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-label {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-primary);
}

.contact-item a {
    font-size: 1.1rem;
    color: var(--color-text);
}

.contact-item a:hover {
    color: var(--color-primary-light);
}

/* ===== Footer ===== */
.footer {
    background: var(--color-bg-alt);
    border-top: 1px solid rgba(74, 144, 217, 0.1);
    padding: 40px 0;
}

.footer-inner {
    text-align: center;
}

.footer-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.footer-logo img {
    height: 40px;
    width: auto;
}

.footer p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
}

.footer-link {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    font-family: var(--font);
    padding: 0;
    transition: color 0.2s;
}

.footer-link:hover {
    color: var(--color-primary-light);
}

.footer-link-sep {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* ===== Modals ===== */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(5, 12, 24, 0.85);
    backdrop-filter: blur(6px);
    overflow-y: auto;
    padding: 40px 20px;
}

.modal-overlay.open {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.modal-box {
    background: var(--color-surface);
    border: 1px solid rgba(74, 144, 217, 0.2);
    border-radius: var(--radius);
    padding: 48px 40px;
    max-width: 760px;
    width: 100%;
    position: relative;
    color: var(--color-text);
}

.modal-box h2 {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 32px;
}

.modal-box h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-primary-light);
    margin: 28px 0 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.modal-box p,
.modal-box li {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.75;
    margin-bottom: 10px;
}

.modal-box ul {
    padding-left: 20px;
    margin-bottom: 10px;
}

.modal-box a {
    color: var(--color-primary-light);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    color: var(--color-text-muted);
    font-family: var(--font);
    transition: color 0.2s;
}

.modal-close:hover {
    color: var(--color-white);
}

@media (max-width: 600px) {
    .modal-box {
        padding: 36px 20px;
    }
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(10, 22, 40, 0.97);
        backdrop-filter: blur(12px);
        flex-direction: column;
        align-items: center;
        gap: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease, padding 0.35s ease;
        border-bottom: 1px solid rgba(74, 144, 217, 0.12);
    }

    .nav.open {
        max-height: 280px;
        padding: 16px 0;
    }

    .nav a {
        padding: 12px 24px;
        font-size: 1.05rem;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 120px 20px 60px;
    }

    .section {
        padding: 64px 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}
