/* =========================
   ROOT / THEME
========================= */

:root {
    --bg: #080e1b;
    --bg-soft: #0b1628;
    --card: #101d33;

    /* Neue Downtech Brand Colors */
    --primary: #53D4D2;        /* Haupt-Türkis aus Logo */
    --primary-strong: #35C8C6; /* kräftigere Variante */
    --primary-soft: #8DE4E2;   /* hellere Variante */

    --text: #eef3f7;
    --muted: #8fa2b8;
}

/* =========================
   RESET / BASE
========================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: #080e1b;
    color: var(--text);
    line-height: 1.6;
}



.header {
    position: relative;
    z-index: 10;
    background: rgba(6,15,26,0.65);
    backdrop-filter: blur(8px);
}
/* =========================
   Mobile Navigation
========================= */

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.burger span {
    width: 24px;
    height: 2px;
    background: #fff;
    transition: all .3s ease;
}

@media (max-width: 768px) {

    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #081f3a;
        flex-direction: column;
        padding: 25px;
        gap: 20px;

        display: none;   /* <-- WICHTIG */
    }

    .nav.active {
        display: flex;   /* <-- WICHTIG */
    }

    .burger {
        display: flex;
    }
}


/* Burger Animation */
.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

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

/* =========================
   LAYOUT
========================= */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================
   HEADER
========================= */

.hero-wrapper {
    position: relative;
    background: radial-gradient(circle at top, #0b1a33, #050a14);
    overflow: hidden;
}

.hero-wrapper::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 400px;

    background: linear-gradient(
        to bottom,
        rgba(7,14,26,0) 0%,
        #070e1a 100%
    );

    pointer-events: none;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(38px, 6vw, 76px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.08;
    margin-bottom: 22px;
    color: var(--text);
}

.hero h1 span {
    background: linear-gradient(
        165deg,
        #ffffff 0%,
        var(--primary-soft) 25%,
        var(--primary) 55%,
        var(--primary-strong) 100%
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    max-width: 760px;
    margin: 26px auto 42px;
    font-size: 19px;
    line-height: 1.65;
    color: rgba(238,243,247,0.78);
}



/* Content darüber */
.header,
.hero {
    position: relative;
    z-index: 2;
}

.hero::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 350px;

    background: linear-gradient(
        to bottom,
        rgba(5,10,20,0) 0%,
        #070e1a 100%
    );

    pointer-events: none;
    z-index: 1;
}

.header {
    padding: 20px 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 768px) {

    .hero-wrapper::before {
        background-size: 160%;
        opacity: 0.3;
    }

}

.logo {
    display: inline-flex;
    align-items: center;
    height: 36px;
}

.logo img {
    height: 36px;
    width: auto;
    display: block;
    transition: transform .25s ease, filter .25s ease;
}

.logo:hover img {
    transform: translateY(-1px);
    filter: drop-shadow(0 0 8px rgba(47,191,230,.35));
}

.stat-icon {

    
    width: 56px;
    height: 56px;
    margin: 0 auto 18px;
    border-radius: 50%;

    /* sichtbarer Hintergrund */
    background: radial-gradient(
        circle at 30% 30%,
        var(--primary-soft),
        var(--primary)
    );

    /* Mask-Grundlagen */
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: 60%;

    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: 60%;
}

.stat-icon.user {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 12a5 5 0 100-10 5 5 0 000 10Zm0 2c-3.3 0-10 1.7-10 5v3h20v-3c0-3.3-6.7-5-10-5Z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 12a5 5 0 100-10 5 5 0 000 10Zm0 2c-3.3 0-10 1.7-10 5v3h20v-3c0-3.3-6.7-5-10-5Z'/%3E%3C/svg%3E");
}

.stat-icon.globe {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cline x1='3' y1='12' x2='21' y2='12'/%3E%3Cpath d='M12 3 C8 7,8 17,12 21'/%3E%3Cpath d='M12 3 C16 7,16 17,12 21'/%3E%3C/g%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cline x1='3' y1='12' x2='21' y2='12'/%3E%3Cpath d='M12 3 C8 7,8 17,12 21'/%3E%3Cpath d='M12 3 C16 7,16 17,12 21'/%3E%3C/g%3E%3C/svg%3E");
}


.stat-icon.shield {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 1l9 4v6c0 5-3.8 9.7-9 12-5.2-2.3-9-7-9-12V5l9-4Z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 1l9 4v6c0 5-3.8 9.7-9 12-5.2-2.3-9-7-9-12V5l9-4Z'/%3E%3C/svg%3E");
}


/* =========================
   NAVIGATION
========================= */

nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

nav a {
    margin: 0; /* wichtig */
    font-size: 15px;
    font-weight: 500;
    color: rgba(238,243,247,0.72);
    text-decoration: none;
    transition: color .2s ease;
}

nav a:hover {
    color: var(--text);
}


nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width .25s ease;
}

nav a.btn::after {
    display: none;
}

nav a:hover::after {
    width: 100%;
}

.hero {
    position: relative;
    padding: 100px 0 150px; /* unten deutlich größer */
    text-align: center;
    overflow: hidden;

background:
    radial-gradient(circle at 50% -20%, rgba(83,212,210,0.12), transparent 60%),
    linear-gradient(to bottom, #081423 0%, #050a14 70%, #040812 100%);
}

/* Grid Background */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;

    background-image: url("../images/header-background.png");
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;

    opacity: 0.88;
    pointer-events: none;
    z-index: 0;
}

.hero::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 580px;

    background: linear-gradient(
        to bottom,
        rgba(5,10,20,0) 0%,
        rgba(7,14,26,0.5) 45%,
        #070e1a 100%
    );

    pointer-events: none;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {

    .hero {
        padding: 120px 0 180px;
    }

    .hero::before {
        background-size: 160%;
        opacity: 0.3;
    }

}

.hero::before {
    opacity: 0.25;
}

/* =========================
   BUTTONS
========================= */

.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    transition:
        transform .25s ease,
        box-shadow .25s ease,
        filter .25s ease;
}

.btn-primary {
    background: linear-gradient(
        135deg,
        var(--primary-soft),
        var(--primary)
    );
    color: #002326;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(83,212,210,.35);
    filter: brightness(1.05);
}

/* =========================
   STATS
========================= */

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 820px;
    margin: 60px auto 0;
}

.stat {
    background: linear-gradient(
        180deg,
        rgba(255,255,255,0.04),
        rgba(255,255,255,0.015)
    );
    border-radius: 18px;
    padding: 34px 28px 30px;
    text-align: center;
    backdrop-filter: blur(6px);
    transition:
        transform .35s cubic-bezier(.2,.8,.2,1),
        box-shadow .35s ease;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.06),
        0 30px 80px rgba(0,0,0,0.35);
}

.stat:hover {
    transform: translateY(-6px);
}

.stat strong {
    display: block;
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 6px;
    min-width: 160px;
    margin-left: auto;
    margin-right: auto;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;
}

.stat span {
    font-size: 13px;
    color: var(--muted);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* =========================
   SECTIONS
========================= */

.section {
    padding: 80px 0;
}

.section-dark {
    background: rgba(255,255,255,0.02);
}

.section h2 {
    font-size: clamp(34px, 4.5vw, 64px);
    font-weight: 600;
    letter-spacing: -0.015em;
    margin-bottom: 18px;
	text-align: center;             
}

.section-intro {
    max-width: 640px; /* enger = hochwertiger */
    margin: 0 auto 70px;
    font-size: 18px;
    line-height: 1.7;
    color: rgba(238,243,247,0.65);
}


.section h2 span {
    color: var(--primary);
}

.feature-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 22px;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: radial-gradient(
        circle at 30% 30%,
        rgba(83,212,210,0.35),
        rgba(83,212,210,0.18)
    );

    box-shadow:
        0 8px 25px rgba(0,0,0,0.35),
        inset 0 0 0 1px rgba(255,255,255,0.08);
}

.feature-icon svg {
    width: 22px;
    height: 22px;
}


.feature .stat-icon {
    width: 44px;
    height: 44px;
    margin: 0 0 18px;
    background: radial-gradient(
        circle at 30% 30%,
        rgba(111,215,242,0.35),
        rgba(83,212,210,0.55)
    );
    box-shadow: none;
}

.feature .stat-icon {
    width: 44px;
    height: 44px;
    margin: 0 0 18px;
    background: radial-gradient(
        circle at 30% 30%,
        rgba(111,215,242,0.35),
        rgba(47,191,230,0.55)
    );
    box-shadow: none;
}

.features {
    gap: 26px;
}



/* =========================
   GRIDS / CARDS
========================= */
.network-card small {
    font-size: 13px;
    color: rgba(238,243,247,0.55);
    margin-top: 4px;
}

.network-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(
        180deg,
        rgba(255,255,255,0.06),
        transparent 40%
    );
    pointer-events: none;
}

.flag {
    width: 26px;
    height: 18px;
    border-radius: 4px;
    object-fit: cover;

    margin-bottom: 14px;

    box-shadow:
        0 6px 18px rgba(0,0,0,0.35),
        0 0 0 1px rgba(255,255,255,0.05);

    transition: transform .25s ease;
}

.flag-badge {
    width: 52px;
    height: 52px;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: linear-gradient(
        135deg,
        rgba(83,212,210,0.18),
        rgba(83,212,210,0.05)
    );

    backdrop-filter: blur(6px);

    box-shadow:
        0 10px 25px rgba(0,0,0,0.35),
        inset 0 0 0 1px rgba(255,255,255,0.06);

    margin-bottom: 18px;

    transition: transform .25s ease, box-shadow .25s ease;
}

.flag-badge img {
    width: 70%;
    height: 70%;
    object-fit: cover;
    border-radius: 50%;
}


.network-card:hover .flag {
    transform: translateY(-2px);
}

.features,
.network-grid,
.benefits {
    display: grid;
    gap: 20px;
}

.features {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.network-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.feature {
    background: linear-gradient(
        180deg,
        rgba(255,255,255,0.035),
        rgba(255,255,255,0.015)
    );
    backdrop-filter: blur(6px);
    border-radius: 18px;
    padding: 34px 30px;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.05),
        0 25px 70px rgba(0,0,0,0.35);
}


.network-card {
    background: linear-gradient(
        180deg,
        rgba(255,255,255,0.05),
        rgba(255,255,255,0.02)
    );
	backdrop-filter: blur(12px);
    border: 1px solid rgba(83,212,210,0.12);
}

.benefit {
    background: var(--card);
    padding: 26px;
    border-radius: 14px;
    transition:
        transform .35s cubic-bezier(.2,.8,.2,1),
        box-shadow .35s ease;
}


.network-card:hover {
    box-shadow:
        0 30px 70px rgba(0,0,0,0.45),
        0 0 25px rgba(83,212,210,0.15);
}


.feature:hover,
.benefit:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,.35);
}

/* =========================
   FORMS
========================= */

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-row {
    display: flex;
    gap: 15px;
}

input,
textarea {
    width: 100%;
    padding: 14px;
    background: #0c1a30;
    border: 1px solid #1c2f4d;
    border-radius: 8px;
    color: white;
    margin-bottom: 15px;
    font-family: inherit;
}

/* =========================
   FOOTER
========================= */

.footer {
    padding: 30px 0;
    background: #030812;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--muted);
    font-size: 14px;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {
    .hero {
        padding: 90px 0 70px;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    nav a {
        margin-left: 16px;
    }

    .logo img {
        height: 38px;
    }
}

/* =========================
   OUR NETWORK
========================= */

.network-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 26px;
    margin-top: 50px;
}

.network-card {
    position: relative;
    padding: 26px 24px 24px;
    border-radius: 18px;

    background: linear-gradient(
        180deg,
        rgba(255,255,255,0.035),
        rgba(255,255,255,0.015)
    );

    backdrop-filter: blur(6px);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.05),
        0 25px 70px rgba(0,0,0,0.35);

    transition:
        transform .35s cubic-bezier(.2,.8,.2,1),
        box-shadow .35s ease;
}

.network-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 80px rgba(0,0,0,0.45);
}

/* Flag */
.network-card .flag {
    display: inline-block;
    font-size: 20px;
    margin-bottom: 14px;
}

/* Title */
.network-card strong {
    display: block;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
}


/* Country */
.network-card small {
    font-size: 13px;
    color: rgba(238,243,247,0.55);
    margin-top: 4px;
}

/* Meta */
.network-meta {
    font-size: 14px;
    color: var(--muted);
}

.network-meta .users {
    color: var(--primary);
    font-weight: 600;
}

/* Footer line */
.network-more {
    margin-top: 46px;
    text-align: center;
    font-size: 15px;
    color: rgba(238,243,247,0.6);
}


/* =========================
   CONTACT CTA VERSION
========================= */

.contact-cta-card {
    max-width: 680px;
    margin: 60px auto 0;
    padding: 60px 40px;
    border-radius: 22px;

    background: linear-gradient(
        180deg,
        rgba(255,255,255,0.05),
        rgba(255,255,255,0.015)
    );

    backdrop-filter: blur(6px);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.05),
        0 30px 90px rgba(0,0,0,0.45);

    text-align: center;
}

.contact-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;

    padding: 18px 32px;
    font-size: 18px;
    font-weight: 600;

    border-radius: 999px;
    text-decoration: none;

    background: linear-gradient(
        135deg,
        var(--primary-soft),
        var(--primary)
    );

    color: #00121f;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        filter .25s ease;
}

.contact-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(47,191,230,.35);
    filter: brightness(1.05);
}

.contact-note {
    margin-top: 20px;
    font-size: 14px;
    color: var(--muted);
}


/* =========================
   WHY PARTNER WITH US
========================= */

.partner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    margin-top: 60px;
}

.partner-card {
    padding: 34px 32px 32px;
    border-radius: 18px;

    background: linear-gradient(
        180deg,
        rgba(255,255,255,0.035),
        rgba(255,255,255,0.015)
    );

    backdrop-filter: blur(6px);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.05),
        0 25px 70px rgba(0,0,0,0.35);

    transition:
        transform .35s cubic-bezier(.2,.8,.2,1),
        box-shadow .35s ease;
}

.partner-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 80px rgba(0,0,0,0.45);
}

/* Icon */
.partner-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 22px;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: radial-gradient(
        circle at 30% 30%,
        rgba(83,212,210,0.35),
        rgba(83,212,210,0.18)
    );

    box-shadow:
        0 8px 25px rgba(0,0,0,0.35),
        inset 0 0 0 1px rgba(255,255,255,0.08);
}

.partner-icon svg {
    width: 22px;
    height: 22px;
}

/* Text */
.partner-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.partner-card p {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(238,243,247,0.6);
    margin-bottom: 18px;
}

/* Metric */
.partner-metric strong {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
}

.partner-metric span {
    font-size: 13px;
    color: var(--muted);
}

/* =========================
   CONTACT / LET'S PARTNER
========================= */

.contact-card {
    max-width: 760px;
    margin: 50px auto 0;
    padding: 42px 40px 44px;
    border-radius: 22px;

    background: linear-gradient(
        180deg,
        rgba(255,255,255,0.04),
        rgba(255,255,255,0.015)
    );

    backdrop-filter: blur(6px);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.05),
        0 30px 90px rgba(0,0,0,0.45);
}

.contact-form label {
    display: block;
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 6px;
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 10px;

    background: #0c1a30;
    border: 1px solid #1c2f4d;

    color: var(--text);
    font-size: 15px;
}

.contact-form textarea {
    resize: vertical;
    min-height: 110px;
}

/* Submit Button */
.btn-submit {
    width: 100%;
    margin-top: 12px;
    padding: 16px;
    font-size: 15px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Bottom Contact */
.contact-alt {
    margin-top: 40px;
    text-align: center;
    color: var(--muted);
    font-size: 14px;
}

.contact-mail {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-top: 12px;
    padding: 10px 16px;

    background: rgba(255,255,255,0.04);
    border-radius: 999px;

    color: var(--text);
    text-decoration: none;
}

.contact-social {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 14px;
}

.contact-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255,255,255,0.04);
    color: var(--muted);

    transition: background .25s ease, color .25s ease;
}

.contact-social a:hover {
    background: rgba(47,191,230,0.15);
    color: var(--primary);
}

/* Mobile */
@media (max-width: 680px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-card {
        padding: 34px 26px;
    }
}

.network-cta-wrapper {
    text-align: center;
    margin-top: 20px;
}

.btn-network {
    display: inline-block;
    margin-top: 16px;
    padding: 12px 22px;
    border-radius: 10px;

    background: linear-gradient(135deg, #0ea5a4, #22d3ee);
    color: #00222a;

    font-weight: 600;
    text-decoration: none;

    box-shadow: 0 8px 25px rgba(34, 211, 238, 0.25);
    transition: all 0.25s ease;
}

.btn-network:hover {
    transform: translateY(-2px);

    background: linear-gradient(135deg, #14b8a6, #67e8f9);
    box-shadow: 0 12px 35px rgba(103, 232, 249, 0.35);
}
