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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(18px);
    background: linear-gradient(180deg, rgba(24, 33, 49, 0.88), rgba(24, 33, 49, 0.76));
    border-bottom: 1px solid var(--line);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 78px;
    padding-top: 0;
    padding-bottom: 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
    text-decoration: none;
    font-weight: 700;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

    .brand:hover {
        color: var(--text);
    }

.brand-mark {
    width: 28px;
    height: 28px;
    display: block;
    flex: 0 0 28px;
}

.brand-text {
    font-size: 1rem;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 24px;
    flex-wrap: wrap;
}

    .site-nav a {
        color: var(--text-soft);
        text-decoration: none;
        font-size: 0.96rem;
        font-weight: 500;
        transition: color 160ms ease, transform 160ms ease;
    }

        .site-nav a:hover {
            color: var(--text);
            transform: translateY(-1px);
        }

.nav-toggle {
    display: none;
    width: 50px;
    height: 50px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

    .nav-toggle span {
        display: block;
        width: 18px;
        height: 2px;
        border-radius: 999px;
        background: var(--text);
    }

/* =========================================================
   SECTION HEAD
   Für direkte Überschrift + Einleitung in Sections
   ========================================================= */

.section-head {
    display: grid;
    gap: 12px;
    margin-bottom: 34px;
}

.section-title {
    margin: 0;
    font-size: clamp(2rem, 2.4vw, 2.9rem);
    line-height: 1.02;
    letter-spacing: -0.045em;
    font-weight: 700;
}

.section-text {
    margin: 0;
    max-width: 70ch;
    color: var(--text-soft);
    font-size: 1.02rem;
    line-height: 1.8;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    padding: 0 24px;
    border-radius: 999px;
    border: 1px solid transparent;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
    cursor: pointer;
}

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

.btn-primary {
    color: #ffffff;
    border-color: rgba(155, 188, 255, 0.24);
    background: linear-gradient(180deg, rgba(155, 188, 255, 0.28), rgba(155, 188, 255, 0.16));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 10px 24px rgba(0, 0, 0, 0.16);
}

    .btn-primary:hover {
        color: #ffffff;
        border-color: rgba(155, 188, 255, 0.34);
        background: linear-gradient(180deg, rgba(155, 188, 255, 0.34), rgba(155, 188, 255, 0.20));
    }

.btn-secondary {
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

    .btn-secondary:hover {
        color: var(--text);
        border-color: rgba(255, 255, 255, 0.22);
        background: rgba(255, 255, 255, 0.06);
    }

/* =========================================================
   TAGS / CHIPS
   ========================================================= */

.tag {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-soft);
    font-size: 0.96rem;
    line-height: 1;
}

/* =========================================================
   SERVICE BLOECKE
   ========================================================= */

.service-cluster {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 0 0 26px;
    border-bottom: 1px solid var(--line);
}

    .service-cluster:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .service-cluster h3 {
        margin: 0;
        font-size: 1.3rem;
        line-height: 1.1;
        letter-spacing: -0.03em;
        font-weight: 700;
    }

    .service-cluster p {
        margin: 0;
        color: var(--text-soft);
        line-height: 1.75;
    }

.service-points {
    display: grid;
    gap: 10px;
}

    .service-points span {
        color: var(--text);
        line-height: 1.6;
    }

        .service-points span::before {
            content: "\2022  ";
            color: var(--accent-strong);
        }

/* =========================================================
   EXPERIENCE
   ========================================================= */

.experience-list {
    display: grid;
    gap: 18px;
}

.experience-item {
    display: grid;
    gap: 8px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}

    .experience-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .experience-item h3 {
        margin: 0;
        font-size: 1.14rem;
        line-height: 1.25;
        letter-spacing: -0.02em;
        font-weight: 700;
    }

    .experience-item p {
        margin: 0;
        color: var(--text-soft);
        line-height: 1.8;
    }

/* =========================================================
   CODE PANEL / INSIGHT
   ========================================================= */

.code-panel {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(41, 53, 71, 0.96), rgba(31, 41, 56, 0.96));
    box-shadow: var(--shadow-panel);
}

/* =========================================================
   AVAILABILITY
   ========================================================= */

.availability-box {
    display: grid;
    gap: 18px;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.03));
}

    .availability-box h3 {
        margin: 0;
        font-size: 1.2rem;
        line-height: 1.15;
        letter-spacing: -0.02em;
        font-weight: 700;
    }

    .availability-box p {
        margin: 0;
        color: var(--text-soft);
        line-height: 1.8;
    }

/* =========================================================
   CONTACT
   ========================================================= */

.contact-panel {
    padding: 8px 0 0;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.contact-details {
    display: grid;
    gap: 22px;
    margin-top: 8px;
}

    .contact-details h3 {
        margin: 0 0 8px 0;
        font-size: 1rem;
        line-height: 1.2;
        letter-spacing: -0.02em;
        font-weight: 700;
    }

    .contact-details p {
        margin: 0;
        color: var(--text-soft);
        line-height: 1.75;
    }

.contact-list {
    display: grid;
    gap: 8px;
}

    .contact-list a,
    .contact-list span {
        color: var(--text);
        text-decoration: none;
    }

.contact-form {
    display: grid;
    gap: 18px;
}

.contact-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    padding-top: 18px;
}

.contact-note {
    font-size: 0.94rem;
    color: var(--text-soft);
}

/* =========================================================
   FORM ELEMENTE
   ========================================================= */

.form-row {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field {
    display: grid;
    gap: 8px;
}

    .field label {
        display: block;
        font-size: 0.92rem;
        color: var(--text-soft);
        font-weight: 500;
    }

    .field input,
    .field textarea {
        width: 100%;
        border: 2px solid rgba(255, 255, 255, 0.22);
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.09);
        color: var(--text);
        padding: 15px 16px;
        font: inherit;
        outline: none;
        resize: vertical;
        box-shadow: none;
        transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
    }

        .field input::placeholder,
        .field textarea::placeholder {
            color: rgba(242, 246, 251, 0.72);
        }

        .field input:focus,
        .field textarea:focus {
            border-color: rgba(193, 212, 255, 0.42);
            background: rgba(255, 255, 255, 0.12);
            box-shadow: 0 0 0 3px rgba(193, 212, 255, 0.08);
        }

    .field textarea {
        min-height: 180px;
    }

.contact-form .btn {
    min-width: 220px;
}

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

.site-footer {
    border-top: 1px solid var(--line);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-top: 26px;
    padding-bottom: 34px;
    color: var(--text-soft);
    font-size: 0.94rem;
}

    .footer-inner a {
        color: var(--text-soft);
        text-decoration: none;
    }

        .footer-inner a:hover {
            color: var(--text);
        }

/* =========================================================
   RESPONSIVE <= 980px
   ========================================================= */

@media (max-width: 980px) {
    .header-inner {
        flex-wrap: wrap;
        align-items: center;
        min-height: 72px;
    }

    .nav-toggle {
        display: inline-flex;
        margin-left: auto;
    }

    .site-nav {
        display: none;
        width: 100%;
        padding-top: 12px;
        gap: 12px;
        flex-direction: column;
        align-items: flex-start;
    }

        .site-nav.site-nav-open {
            display: flex;
        }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* =========================================================
   RESPONSIVE <= 640px
   ========================================================= */

@media (max-width: 640px) {
    .btn {
        width: 100%;
        justify-content: center;
    }

    .availability-box {
        padding: 22px;
        border-radius: 20px;
    }

    .code-panel {
        border-radius: 22px;
    }
}
