/* -----------------------------
   Grundeinstellungen
------------------------------ */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

#it,
#pcb,
#kontakt {
    scroll-margin-top: 72px;
}

body {
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Helvetica,
        Arial,
        sans-serif;

    background: #ffffff;
    color: #1d1d1f;

    line-height: 1.5;

    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}



/* -----------------------------
   Navigation
------------------------------ */

.navbar {
    position: fixed;

    top: 0;
    left: 0;
    right: 0;

    z-index: 1000;

    background: rgba(255, 255, 255, 0.82);

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.nav-container {
    max-width: 1200px;

    height: 52px;

    margin: 0 auto;
    padding: 0 24px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-links a {
    font-size: 13px;
    color: #333336;

    transition: opacity 0.2s;
}

.nav-links a:hover {
    opacity: 0.55;
}

.menu-button {
    display: none;

    border: none;
    background: none;

    font-size: 20px;
}



/* -----------------------------
   Hero
------------------------------ */

.hero {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 120px 24px 80px;

    text-align: center;

    background:
        radial-gradient(
            circle at 50% 70%,
            #e5efff,
            transparent 40%
        ),
        #f5f5f7;
}

.hero-content {
    max-width: 1000px;
}

.eyebrow {
    font-size: 14px;

    font-weight: 600;

    letter-spacing: 0.09em;

    margin-bottom: 20px;

    color: #6e6e73;
}

.hero h1 {
    font-size: clamp(64px, 10vw, 135px);

    line-height: 0.92;

    letter-spacing: -0.06em;

    font-weight: 700;

    margin-bottom: 40px;
}

.hero-text {
    max-width: 650px;

    margin:
        0 auto
        38px;

    font-size: clamp(20px, 2.4vw, 30px);

    line-height: 1.25;

    color: #6e6e73;
}



/* -----------------------------
   Buttons
------------------------------ */

.button {
    display: inline-block;

    padding: 13px 24px;

    background: #0071e3;
    color: #ffffff;

    border-radius: 980px;

    font-size: 16px;

    transition:
        background 0.2s,
        transform 0.2s;
}

.button:hover {
    background: #0077ed;

    transform: translateY(-1px);
}

.button-secondary {
    background: transparent;

    color: #0071e3;

    border: 1px solid #0071e3;
}



/* -----------------------------
   Zwei Hauptbereiche
------------------------------ */

.areas {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 12px;

    padding: 12px;

    background: #ffffff;
}

.area-card {
    min-height: 720px;

    position: relative;
    overflow: hidden;

    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;

    padding: 80px 40px;

    border-radius: 24px;
}

.area-dark {
    background:
        radial-gradient(
            circle at 50% 85%,
            #16416b,
            #000000 60%
        );

    color: white;
}

.area-light {
    position: relative;

    background-image: url("images/platine.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* helle transparente Schicht über dem Platinenbild */
.area-light::before {
    content: "";

    position: absolute;
    inset: 0;

    background: rgba(255, 255, 255, 0.72);

    border-radius: inherit;

    z-index: 0;
}

/* Inhalt über dem Hintergrund halten */
.area-light .area-content,
.area-light .code-window {
    position: relative;
    z-index: 1;
}

.area-content {
    position: relative;
    z-index: 2;

    max-width: 570px;
}

.area-card h2 {
    font-size: clamp(42px, 5vw, 68px);

    line-height: 1;

    letter-spacing: -0.045em;

    margin-bottom: 24px;
}

.area-card p:not(.eyebrow) {
    max-width: 430px;

    margin:
        0 auto
        26px;

    font-size: 21px;

    color: #86868b;
}

.area-dark p:not(.eyebrow) {
    color: #a1a1a6;
}

.links {
    display: flex;

    justify-content: center;

    gap: 24px;
}

.links a {
    color: #2997ff;

    font-size: 17px;
}

.links a:hover {
    text-decoration: underline;
}



/* -----------------------------
   Netzwerk Grafik
------------------------------ */

.network-graphic {
    position: absolute;

    width: 380px;
    height: 250px;

    bottom: 50px;
}

.network-node {
    position: absolute;

    width: 80px;
    height: 80px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    font-size: 38px;

    color: #2997ff;

    background:
        rgba(255, 255, 255, 0.08);

    border:
        1px solid
        rgba(255, 255, 255, 0.2);

    backdrop-filter: blur(10px);
}

.node-main {
    width: 120px;
    height: 120px;

    left: 130px;
    top: 60px;
}

.node-1 {
    left: 0;
    top: 20px;
}

.node-2 {
    right: 0;
    top: 20px;
}

.node-3 {
    left: 150px;
    bottom: -40px;
}



/* -----------------------------
   Code Fenster
------------------------------ */

.code-window {
    position: absolute;

    bottom: -20px;

    width: min(75%, 440px);

    text-align: left;

    background: rgba(255, 255, 255, 0.72);

    backdrop-filter: blur(20px);

    border:
        1px solid
        rgba(0, 0, 0, 0.08);

    border-radius: 20px;

    box-shadow:
        0 30px 70px
        rgba(0, 0, 0, 0.13);

    overflow: hidden;
}

.window-bar {
    display: flex;

    gap: 8px;

    padding: 15px;

    border-bottom:
        1px solid
        rgba(0, 0, 0, 0.06);
}

.window-bar span {
    width: 10px;
    height: 10px;

    border-radius: 50%;

    background: #c7c7cc;
}

.code-window pre {
    padding: 35px;

    font-family:
        "SFMono-Regular",
        Consolas,
        monospace;

    font-size: 17px;

    line-height: 1.7;

    color: #424245;
}



/* -----------------------------
   Detailbereiche
------------------------------ */

.details {
    padding: 150px 24px;

    background: #ffffff;
}

.details-gray {
    background: #f5f5f7;
}

.details-heading {
    max-width: 1200px;

    margin:
        0 auto
        80px;
}

.details-heading h2 {
    max-width: 850px;

    font-size: clamp(48px, 7vw, 90px);

    line-height: 0.98;

    letter-spacing: -0.055em;
}



/* -----------------------------
   Karten
------------------------------ */

.feature-grid {
    max-width: 1200px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;
}

.feature-card {
    min-height: 330px;

    padding: 36px;

    display: flex;
    flex-direction: column;

    border-radius: 28px;

    background: #f5f5f7;
}

.details-gray .feature-card {
    background: #ffffff;
}

.feature-number {
    color: #86868b;

    font-size: 14px;

    margin-bottom: auto;
}

.feature-card h3 {
    font-size: 30px;

    letter-spacing: -0.03em;

    margin-bottom: 14px;
}

.feature-card p {
    color: #6e6e73;

    font-size: 17px;
}



/* -----------------------------
   Kontakt
------------------------------ */

.contact {
    min-height: 750px;

    padding: 120px 24px;

    display: flex;

    align-items: center;
    justify-content: center;

    text-align: center;

    background: #000000;
    color: #ffffff;
}

.contact-content h2 {
    font-size: clamp(52px, 8vw, 100px);

    line-height: 0.95;

    letter-spacing: -0.055em;

    margin-bottom: 40px;
}

.contact-content > p:not(.eyebrow) {
    color: #a1a1a6;

    font-size: 20px;

    margin-bottom: 35px;
}

.contact-buttons {
    display: flex;

    justify-content: center;

    gap: 12px;

    flex-wrap: wrap;
}

/* -----------------------------
   Registrierung
------------------------------ */

.password-requirements {
    margin-top: 4px;
    margin-bottom: 10px;

    color: #86868b;

    font-size: 13px;
    line-height: 1.5;
}

.password-requirements p {
    margin-bottom: 5px;
}

.password-requirements ul {
    margin: 0;
    padding-left: 20px;
}

.password-requirements li {
    margin-bottom: 2px;
}


/* -----------------------------
   Footer
------------------------------ */

footer {
    background: #f5f5f7;

    color: #6e6e73;
}

.footer-container {
    max-width: 1200px;

    margin: 0 auto;

    padding: 30px 24px;

    display: flex;

    justify-content: space-between;

    font-size: 13px;
}

.footer-container div {
    display: flex;

    gap: 25px;
}



/* -----------------------------
   Responsive / Smartphone
------------------------------ */

@media (max-width: 850px) {

    .nav-links {
        position: absolute;

        left: 0;
        right: 0;
        top: 52px;

        display: none;

        flex-direction: column;
        align-items: flex-start;

        gap: 20px;

        padding: 30px 24px;

        background:
            rgba(255, 255, 255, 0.97);
    }

    .nav-links.active {
        display: flex;
    }

    .menu-button {
        display: block;
    }


    .areas {
        grid-template-columns: 1fr;
    }


    .area-card {
        min-height: 650px;

        padding:
            70px 24px;
    }


    .feature-grid {
        grid-template-columns: 1fr;
    }


    .feature-card {
        min-height: 240px;
    }


    .footer-container {
        flex-direction: column;

        gap: 15px;
    }

}

/* --------------------------------
   Kontakt
-------------------------------- */

.contact {
    background: #000000;
    color: #ffffff;

    padding: 140px 24px;
}


.contact-simple {
    max-width: 1200px;
    margin: 0 auto;
}


.contact-heading {
    max-width: 850px;
    margin-bottom: 70px;
}


.contact-heading h2 {
    font-size: clamp(52px, 7vw, 90px);

    line-height: 0.96;

    letter-spacing: -0.055em;

    margin-bottom: 30px;
}


.contact-heading > p:not(.eyebrow) {
    max-width: 600px;

    color: #a1a1a6;

    font-size: 20px;
}


/* Kontaktkarten */

.contact-options {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 20px;
}


.contact-card {
    min-height: 280px;

    padding: 40px;

    display: flex;
    flex-direction: column;

    background: #1d1d1f;

    border-radius: 28px;
}


.contact-label {
    color: #86868b;

    font-size: 13px;

    font-weight: 600;

    letter-spacing: 0.08em;

    margin-bottom: auto;
}


.contact-card h3 {
    font-size: 32px;

    letter-spacing: -0.03em;

    margin-bottom: 20px;
}


.contact-link {
    width: fit-content;

    color: #2997ff;

    font-size: 18px;

    margin-top: 8px;
}


.contact-link:hover {
    text-decoration: underline;
}


/* linke Seite */

.contact-intro {
    position: sticky;
    top: 120px;
}


.contact-intro h2 {
    font-size: clamp(52px, 6vw, 82px);

    line-height: 0.96;

    letter-spacing: -0.055em;

    margin-bottom: 35px;
}


.contact-intro > p:not(.eyebrow) {
    max-width: 470px;

    color: #a1a1a6;

    font-size: 20px;
    line-height: 1.5;
}


/* Formular */

.contact-form {
    background: #1d1d1f;

    padding: 40px;

    border-radius: 28px;
}


.form-group {
    display: flex;
    flex-direction: column;

    gap: 9px;

    margin-bottom: 24px;
}


.form-row {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 18px;
}


.contact-form label {
    font-size: 14px;

    color: #a1a1a6;

    font-weight: 500;
}


/* Input, Select und Textarea */

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;

    border: 1px solid #424245;

    border-radius: 14px;

    background: #2c2c2e;

    color: #fff;

    padding: 15px 16px;

    font-family: inherit;

    font-size: 16px;

    outline: none;

    transition:
        border-color 0.2s,
        background 0.2s;
}


.contact-form textarea {
    resize: vertical;

    min-height: 150px;
}


.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: #2997ff;

    background: #323234;
}


.contact-form textarea::placeholder {
    color: #77777c;
}


/* Hinweis */

.form-note {
    color: #86868b;

    font-size: 13px;

    line-height: 1.5;

    margin-bottom: 25px;
}


.form-note a {
    color: #2997ff;
}


.form-note a:hover {
    text-decoration: underline;
}


/* Button */

.submit-button {
    width: 100%;

    border: none;

    border-radius: 980px;

    padding: 16px 24px;

    background: #0071e3;

    color: #fff;

    font-size: 17px;
    font-family: inherit;

    cursor: pointer;

    display: flex;

    justify-content: center;
    align-items: center;

    gap: 10px;

    transition:
        background 0.2s,
        transform 0.2s;
}


.submit-button:hover {
    background: #0077ed;

    transform: translateY(-1px);
}


/* Honeypot gegen einfache Spam-Bots */

.website-field {
    position: absolute;

    left: -9999px;

    width: 1px;
    height: 1px;

    overflow: hidden;
}

/* -----------------------------
   Responsive / Smartphone  
------------------------------ */

@media (max-width: 850px) {

    .contact {
        padding: 90px 20px;
    }

    .contact-options {
        grid-template-columns: 1fr;
    }

    .contact-card {
        min-height: 230px;
    }

        .nav-actions {
        margin-left: auto;
        margin-right: 15px;
    }

    .login-button {
        display: none;
    }

    .register-button {
        padding: 7px 12px;
        font-size: 12px;
    }

    .auth-name-row {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 480px) {

    .contact-form {
        padding: 22px;

        border-radius: 22px;
    }

}

/* --------------------------------
   Navigation Login
-------------------------------- */

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}


.login-button,
.register-button {
    font-family: inherit;

    font-size: 13px;

    cursor: pointer;
}


.login-button {
    border: none;

    background: transparent;

    color: #333336;

    padding: 8px 12px;
}


.login-button:hover {
    color: #0071e3;
}


.register-button {
    border: none;

    background: #0071e3;

    color: #ffffff;

    padding: 8px 16px;

    border-radius: 980px;
}


.register-button:hover {
    background: #0077ed;
}



/* --------------------------------
   Login Modal
-------------------------------- */

.auth-modal {
    position: fixed;

    inset: 0;

    z-index: 5000;

    display: none;

    align-items: center;
    justify-content: center;

    padding: 20px;
}


.auth-modal.active {
    display: flex;
}


.auth-backdrop {
    position: absolute;

    inset: 0;

    background: rgba(0, 0, 0, 0.45);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}


.auth-window {
    position: relative;

    z-index: 1;

    width: min(100%, 520px);

    padding: 38px;

    background: rgba(255, 255, 255, 0.96);

    border-radius: 28px;

    box-shadow:
        0 30px 100px
        rgba(0, 0, 0, 0.25);
}


.auth-close {
    position: absolute;

    top: 18px;
    right: 20px;

    width: 34px;
    height: 34px;

    border: none;

    border-radius: 50%;

    background: #e8e8ed;

    font-size: 23px;

    cursor: pointer;
}


.auth-tabs {
    display: flex;

    gap: 8px;

    margin-bottom: 35px;
}


.auth-tab {
    border: none;

    border-radius: 980px;

    padding: 10px 18px;

    background: #e8e8ed;

    color: #1d1d1f;

    font-family: inherit;

    cursor: pointer;
}


.auth-tab.active {
    background: #1d1d1f;

    color: #ffffff;
}


.auth-panel {
    display: none;
}


.auth-panel.active {
    display: block;
}


.auth-panel h2 {
    font-size: 38px;

    letter-spacing: -0.04em;

    margin-bottom: 10px;
}


.auth-panel > p {
    color: #6e6e73;

    margin-bottom: 30px;
}


.auth-form {
    display: flex;

    flex-direction: column;

    gap: 10px;
}


.auth-form label {
    margin-top: 10px;

    color: #6e6e73;

    font-size: 14px;
}


.auth-form input {
    width: 100%;

    padding: 14px 16px;

    border: 1px solid #d2d2d7;

    border-radius: 13px;

    background: #ffffff;

    font-family: inherit;

    font-size: 16px;

    outline: none;
}


.auth-form input:focus {
    border-color: #0071e3;
}


.auth-submit {
    margin-top: 20px;

    padding: 14px 20px;

    border: none;

    border-radius: 980px;

    background: #0071e3;

    color: #ffffff;

    font-family: inherit;

    font-size: 16px;

    cursor: pointer;
}


.auth-submit:hover {
    background: #0077ed;
}


.auth-name-row {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 15px;
}


.auth-name-row > div {
    display: flex;

    flex-direction: column;

    gap: 10px;
}