/* =========================================================
   HERO
   ========================================================= */

.hero-section .section-inner {
    padding-top: clamp(56px, 8vw, 104px);
    padding-bottom: clamp(86px, 10vw, 148px);
}

.hero-grid {
    align-items: center;
    min-height: clamp(620px, 80vh, 900px);
}

.hero-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.eyebrow {
    display: block;
    margin: 0 0 18px 0;
    color: var(--accent-strong);
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    line-height: 1.2;
}

.hero-title {
    display: block;
    margin: 0;
    min-height: 1.12em;
    font-size: clamp(2.2rem, 2.8vw, 3.35rem);
    line-height: 1.02;
    letter-spacing: -0.045em;
    font-weight: 700;
}

.hero-title-static {
    display: inline-block;
}

.hero-caret {
    display: inline-block;
    width: 0.08em;
    min-height: 0.95em;
    margin-left: 0.08em;
    background: var(--accent-strong);
    box-shadow: 0 0 18px rgba(155, 188, 255, 0.30);
    vertical-align: -0.08em;
    animation: caret-blink 1s steps(1, end) infinite;
}

@keyframes caret-blink {
    0%, 49% {
        opacity: 1;
    }

    50%, 100% {
        opacity: 0;
    }
}

.hero-subline {
    margin: 22px 0 0;
    color: var(--text);
    font-size: clamp(1.05rem, 1.4vw, 1.3rem);
    line-height: 1.35;
    letter-spacing: -0.01em;
}

.hero-text {
    margin: 24px 0 0;
    color: var(--text-soft);
    font-size: 1.06rem;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 34px;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

    .hero-meta span {
        display: inline-flex;
        align-items: center;
        min-height: 38px;
        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);
    }

/* =========================================================
   HERO VISUAL / PORTRAIT
   ========================================================= */

.hero-visual {
    display: flex;
    justify-content: flex-end;
}

.portrait-panel {
    position: relative;
    width: min(100%, 570px);
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 34px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: radial-gradient(circle at top, rgba(143, 183, 255, 0.16), transparent 35%), linear-gradient(180deg, rgba(42, 54, 72, 0.98), rgba(28, 38, 52, 0.98));
    box-shadow: var(--shadow-panel);
}

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

/* =========================================================
   ABOUT
   ========================================================= */

.about-grid {
    align-items: start;
}

.about-copy {
    display: grid;
    gap: 18px;
}

    .about-copy p {
        margin: 0;
        color: var(--text-soft);
        line-height: 1.85;
    }

.about-facts {
    display: grid;
    gap: 18px;
    padding-left: 26px;
    border-left: 1px solid var(--line);
}

.about-facts-item {
    display: grid;
    gap: 8px;
}

    .about-facts-item h3 {
        margin: 0;
        font-size: 1.08rem;
        line-height: 1.2;
        letter-spacing: -0.02em;
        font-weight: 700;
    }

    .about-facts-item p {
        margin: 0;
        color: var(--text-soft);
        line-height: 1.75;
    }

/* =========================================================
   SERVICES
   ========================================================= */

.services-grid {
    align-items: start;
    gap: 34px 32px;
}

.services-col {
    display: grid;
    gap: 26px;
}

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

.experience-grid {
    align-items: start;
    gap: 34px 32px;
}

.experience-side-note {
    padding-left: 26px;
    border-left: 1px solid var(--line);
    color: var(--text-soft);
    line-height: 1.8;
}

/* =========================================================
   STACK
   ========================================================= */

.stack-section .section-intro {
    margin-bottom: 30px;
}

.stack-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

/* =========================================================
   INSIGHT / TECHNISCHER EINBLICK
   ========================================================= */

.insight-image {
    display: block;
    width: 100%;
    height: auto;
}

.insight-grid {
    align-items: start;
    gap: 34px 32px;
}

.insight-copy {
    display: grid;
    gap: 16px;
}

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

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

.availability-grid {
    align-items: start;
    gap: 34px 32px;
}

.availability-copy {
    display: grid;
    gap: 16px;
}

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

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

.contact-grid {
    align-items: start;
    gap: 34px 32px;
}

.contact-copy {
    display: grid;
    gap: 16px;
}

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

.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;
}

.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-control {
    position: relative;
}

    .field-control .form-input {
        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 34px 16px;
        font: inherit;
        outline: none;
        resize: vertical;
        box-shadow: none;
        transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
    }

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

        .field-control .form-input: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-control-textarea .form-input {
    min-height: 180px;
    padding-bottom: 38px;
}

.field-control .validation-message {
    position: absolute;
    left: 16px;
    bottom: 10px;
    margin: 0;
    color: #ffb4b4;
    font-size: 0.85rem;
    line-height: 1.2;
    pointer-events: none;
}

.form-input.invalid,
.form-input.input-validation-error,
.input-validation-error {
    border-color: rgba(255, 120, 120, 0.65);
}

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

.form-status-inline {
    margin: 0;
    padding: 10px 14px;
    border-radius: 12px;
}

.form-status-success {
    background: rgba(120, 200, 140, 0.12);
    color: #d8f3dd;
    border: 1px solid rgba(120, 200, 140, 0.25);
}

.form-status-error {
    background: rgba(255, 120, 120, 0.12);
    color: #ffd1d1;
    border: 1px solid rgba(255, 120, 120, 0.25);
}

.form-row-email-verify {
    align-items: end;
}

.field-verify-button {
    align-self: end;
}

    .field-verify-button .btn {
        width: 100%;
    }

@media (max-width: 980px) {
    .form-row-email-verify {
        grid-template-columns: 1fr;
    }
}

.verification-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
    color: var(--text-soft);
    font-size: 0.9rem;
}

    .verification-meta span {
        display: inline-flex;
        align-items: center;
        min-height: 32px;
        padding: 0 12px;
        border-radius: 999px;
        border: 1px solid rgba(255, 255, 255, 0.12);
        background: rgba(255, 255, 255, 0.04);
    }

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

@media (max-width: 980px) {
    .contact-grid {
        gap: 28px 24px;
    }

    .contact-copy {
        grid-column: 1 / -1;
    }

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

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

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

@media (max-width: 640px) {
    .contact-copy p {
        font-size: 0.98rem;
        line-height: 1.72;
    }

    .field-control .form-input {
        padding: 14px 14px 32px 14px;
    }

    .field-control .validation-message {
        left: 14px;
        bottom: 9px;
        font-size: 0.82rem;
    }
}

/* =========================================================
   SECTION SPACING
   Einheitliche Abstände für alle Hauptbereiche
   ========================================================= */

.about-section .section-inner,
.services-section .section-inner,
.experience-section .section-inner,
.stack-section .section-inner,
.insight-section .section-inner,
.availability-section .section-inner,
.contact-section .section-inner {
    padding-top: clamp(64px, 8vw, 116px);
    padding-bottom: clamp(64px, 8vw, 116px);
}

/* =========================================================
   RESPONSIVE <= 1200px
   ========================================================= */

@media (max-width: 1200px) {
    .portrait-panel {
        width: min(100%, 500px);
    }
}

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

@media (max-width: 980px) {
    .hero-grid {
        min-height: auto;
        gap: 30px 24px;
    }

    .hero-copy,
    .hero-visual,
    .about-copy,
    .about-facts,
    .services-col,
    .experience-side-note,
    .insight-copy,
    .availability-copy,
    .contact-copy {
        grid-column: 1 / -1;
    }

    .eyebrow {
        margin-bottom: 14px;
        letter-spacing: 0.14em;
    }

    .hero-title {
        max-width: none;
        font-size: clamp(2rem, 9vw, 2.85rem);
        line-height: 1.04;
    }

    .hero-subline {
        margin-top: 18px;
        font-size: 1.02rem;
    }

    .hero-text {
        margin-top: 22px;
        font-size: 1rem;
        line-height: 1.75;
    }

    .hero-actions,
    .hero-meta {
        margin-top: 24px;
    }

    .hero-visual {
        justify-content: flex-start;
    }

    .portrait-panel {
        margin-left: 0;
        max-width: none;
        width: 100%;
        aspect-ratio: 4 / 4.7;
        border-radius: 28px;
    }

    .about-facts,
    .experience-side-note {
        padding-left: 0;
        border-left: none;
        border-top: 1px solid var(--line);
        padding-top: 22px;
    }

    .services-grid,
    .experience-grid,
    .insight-grid,
    .availability-grid,
    .contact-grid {
        gap: 28px 24px;
    }
}

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

@media (max-width: 640px) {
    .hero-section .section-inner {
        padding-top: 42px;
        padding-bottom: 72px;
    }

    .hero-title {
        font-size: clamp(1.95rem, 10vw, 2.45rem);
        line-height: 1.05;
    }

    .hero-subline {
        font-size: 0.98rem;
    }

    .hero-text,
    .about-copy p,
    .section-intro p,
    .contact-copy p,
    .availability-copy p,
    .insight-copy p {
        font-size: 0.98rem;
        line-height: 1.72;
    }

    .hero-meta {
        gap: 10px;
    }

        .hero-meta span {
            min-height: 36px;
            padding: 0 14px;
            font-size: 0.92rem;
        }

    .portrait-panel {
        border-radius: 24px;
    }
}
