/* =========================================================
   BAUSTELLE V2
   Eigenes Styling für Portfolio-Baustellenseiten
========================================================= */

body.page-baustelle {
    background:
        linear-gradient(180deg, #0f1115 0px, #0f1115 520px, #f4f5f7 520px, #f4f5f7 100%);
    color: #111111;
}

/* Header bleibt aus legal.css / Header-Struktur bestehen */


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

body.page-baustelle .baustelle-hero {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background:
        linear-gradient(120deg, rgba(8,10,14,0.72) 0%, rgba(8,10,14,0.48) 45%, rgba(8,10,14,0.82) 100%),
        url('images/content/baustelle.jpg') center center / cover no-repeat;
}

body.page-baustelle .baustelle-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 20%, rgba(255,255,255,0.10), transparent 25%),
        radial-gradient(circle at 82% 24%, rgba(255,255,255,0.08), transparent 20%),
        linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: auto, auto, 36px 36px, 36px 36px;
    opacity: 0.35;
    pointer-events: none;
}

body.page-baustelle .baustelle-hero-overlay {
    position: absolute;
    inset: auto 0 0 0;
    height: 180px;
    background: linear-gradient(180deg, rgba(15,17,21,0) 0%, rgba(15,17,21,0.82) 100%);
    pointer-events: none;
}

body.page-baustelle .baustelle-hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 150px 24px 78px;
    color: #ffffff;
}

body.page-baustelle .baustelle-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    padding: 9px 16px;
    border: 1px solid rgba(255,255,255,0.16);
    background: rgba(255,255,255,0.10);
    backdrop-filter: blur(10px);
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffffff;
}

body.page-baustelle .baustelle-badge::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 18px rgba(255,255,255,0.7);
}

body.page-baustelle .baustelle-hero h1 {
    max-width: 900px;
    margin: 0;
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3.6rem, 8vw, 6.6rem);
    line-height: 0.92;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #ffffff;
}

body.page-baustelle .baustelle-hero-text {
    max-width: 780px;
    margin: 22px 0 0;
    font-family: 'Inter', sans-serif;
    font-size: 1.08rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.92);
}

body.page-baustelle .baustelle-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

body.page-baustelle .baustelle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 22px;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.96rem;
    font-weight: 800;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

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

body.page-baustelle .baustelle-btn-primary {
    background: #ffffff;
    color: #111111;
    border: 1px solid #ffffff;
}

body.page-baustelle .baustelle-btn-ghost {
    background: rgba(255,255,255,0.08);
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.24);
    backdrop-filter: blur(8px);
}

body.page-baustelle .baustelle-progress-wrap {
    max-width: 620px;
    margin-top: 34px;
    padding: 18px 18px 16px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
    backdrop-filter: blur(10px);
}

body.page-baustelle .baustelle-progress-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 0.86rem;
    font-weight: 700;
    color: rgba(255,255,255,0.84);
}

body.page-baustelle .baustelle-progress {
    position: relative;
    width: 100%;
    height: 10px;
    overflow: hidden;
    background: rgba(255,255,255,0.12);
}

body.page-baustelle .baustelle-progress-bar {
    width: 58%;
    height: 100%;
    background: linear-gradient(90deg, #ffffff 0%, #d9d9d9 100%);
    position: relative;
}

body.page-baustelle .baustelle-progress-bar::after {
    content: "";
    position: absolute;
    top: 0;
    right: -50px;
    width: 50px;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0.0), rgba(255,255,255,0.65), rgba(255,255,255,0.0));
    animation: baustelleShine 2.8s linear infinite;
}

@keyframes baustelleShine {
    0% { transform: translateX(-40px); }
    100% { transform: translateX(120px); }
}


/* =========================================================
   STAGES
========================================================= */

body.page-baustelle .baustelle-stage {
    position: relative;
    z-index: 3;
    max-width: 1240px;
    margin: -72px auto 0;
    padding: 0 24px;
}

body.page-baustelle .baustelle-stage-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

body.page-baustelle .baustelle-stage-box {
    padding: 30px 26px;
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 18px 50px rgba(0,0,0,0.10);
    backdrop-filter: blur(8px);
}

body.page-baustelle .baustelle-stage-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    margin-bottom: 16px;
    padding: 0 12px;
    background: #111111;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 0.84rem;
    font-weight: 800;
}

body.page-baustelle .baustelle-stage-box h2 {
    margin: 0 0 12px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.7rem;
    line-height: 1;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #161616;
}

body.page-baustelle .baustelle-stage-box p {
    margin: 0;
    font-family: 'Inter', sans-serif;
    line-height: 1.8;
    color: #505050;
}


/* =========================================================
   CARD
========================================================= */

body.page-baustelle .baustelle-card {
    max-width: 1240px;
    margin: 34px auto 0;
    padding: 52px 24px 30px;
}

body.page-baustelle .baustelle-card-head {
    max-width: 850px;
    margin: 0 0 26px;
}

body.page-baustelle .baustelle-mini-label {
    margin: 0 0 10px;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #7a7a7a;
}

body.page-baustelle .baustelle-card-head h2,
body.page-baustelle .baustelle-note h2 {
    margin: 0 0 12px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 0.95;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #1d1d1d;
}

body.page-baustelle .baustelle-card-head p,
body.page-baustelle .baustelle-note p {
    margin: 0;
    font-family: 'Inter', sans-serif;
    line-height: 1.8;
    color: #535353;
}

body.page-baustelle .baustelle-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 28px;
}

body.page-baustelle .baustelle-option {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 220px;
    padding: 24px 22px;
    background: #ffffff;
    border: 1px solid #e9e9e9;
    box-shadow: 0 12px 28px rgba(0,0,0,0.05);
    cursor: pointer;
    text-align: left;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

body.page-baustelle .baustelle-option:hover {
    transform: translateY(-4px);
    border-color: #cfcfcf;
    box-shadow: 0 18px 36px rgba(0,0,0,0.08);
}

body.page-baustelle .baustelle-option.is-active {
    background: linear-gradient(135deg, #111111 0%, #2a2d33 100%);
    border-color: #111111;
    box-shadow: 0 20px 42px rgba(0,0,0,0.16);
}

body.page-baustelle .baustelle-option-no {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    margin-bottom: 18px;
    padding: 0 12px;
    background: #f1f1f1;
    color: #111111;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 800;
    transition: background 0.22s ease, color 0.22s ease;
}

body.page-baustelle .baustelle-option.is-active .baustelle-option-no {
    background: rgba(255,255,255,0.14);
    color: #ffffff;
}

body.page-baustelle .baustelle-option-title {
    display: block;
    margin-bottom: 10px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.55rem;
    line-height: 1;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #1a1a1a;
    transition: color 0.22s ease;
}

body.page-baustelle .baustelle-option-text {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.96rem;
    line-height: 1.7;
    color: #565656;
    transition: color 0.22s ease;
}

body.page-baustelle .baustelle-option.is-active .baustelle-option-title,
body.page-baustelle .baustelle-option.is-active .baustelle-option-text {
    color: #ffffff;
}


/* =========================================================
   SELECTION PANEL
========================================================= */

body.page-baustelle .baustelle-selection-panel {
    display: grid;
    grid-template-columns: 1fr 0.95fr;
    gap: 24px;
    align-items: start;
    margin-top: 10px;
}

body.page-baustelle .baustelle-selection-info,
body.page-baustelle .baustelle-form {
    background: #ffffff;
    border: 1px solid #e9e9e9;
    box-shadow: 0 12px 28px rgba(0,0,0,0.05);
    padding: 28px 24px;
}

body.page-baustelle .baustelle-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

body.page-baustelle .baustelle-tag {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    background: #111111;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
}

body.page-baustelle .baustelle-placeholder {
    color: #8b8b8b;
    font-family: 'Inter', sans-serif;
}

body.page-baustelle .baustelle-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

body.page-baustelle .baustelle-form label {
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    font-weight: 800;
    color: #1a1a1a;
}

body.page-baustelle .baustelle-form input[type="email"] {
    width: 100%;
    min-height: 54px;
    padding: 0 16px;
    border: 1px solid #d7d7d7;
    background: #fafafa;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #111111;
    outline: none;
}

body.page-baustelle .baustelle-form input[type="email"]:focus {
    border-color: #111111;
    background: #ffffff;
}

body.page-baustelle .baustelle-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.92rem;
    font-weight: 400 !important;
    line-height: 1.6;
    color: #555555;
}

body.page-baustelle .baustelle-checkbox input {
    margin-top: 4px;
}

body.page-baustelle .baustelle-submit {
    min-height: 54px;
    border: 0;
    background: #111111;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 0.96rem;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

body.page-baustelle .baustelle-submit:hover {
    transform: translateY(-2px);
    background: #222222;
}


/* =========================================================
   NOTE
========================================================= */

body.page-baustelle .baustelle-note {
    max-width: 1240px;
    margin: 8px auto 70px;
    padding: 0 24px;
}

body.page-baustelle .baustelle-note-inner {
    display: grid;
    grid-template-columns: 62px 1fr;
    gap: 18px;
    padding: 26px 24px;
    background: linear-gradient(135deg, #ffffff 0%, #f7f7f7 100%);
    border: 1px solid #e9e9e9;
    box-shadow: 0 12px 28px rgba(0,0,0,0.05);
}

body.page-baustelle .baustelle-note-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    background: #111111;
    color: #ffffff;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    line-height: 1;
}


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

@media (max-width: 1100px) {
    body.page-baustelle .baustelle-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    body.page-baustelle .baustelle-stage-inner {
        grid-template-columns: 1fr;
    }

    body.page-baustelle .baustelle-selection-panel {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    body.page-baustelle {
        background:
            linear-gradient(180deg, #0f1115 0px, #0f1115 460px, #f4f5f7 460px, #f4f5f7 100%);
    }

    body.page-baustelle .baustelle-hero {
        min-height: 500px;
        background:
            linear-gradient(120deg, rgba(8,10,14,0.82) 0%, rgba(8,10,14,0.62) 45%, rgba(8,10,14,0.86) 100%),
            url('images/content/baustelle.jpg') center center / cover no-repeat;
    }

    body.page-baustelle .baustelle-hero-inner {
        padding: 110px 18px 42px;
    }

    body.page-baustelle .baustelle-hero-text {
        font-size: 0.98rem;
        line-height: 1.7;
    }

    body.page-baustelle .baustelle-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    body.page-baustelle .baustelle-btn {
        width: 100%;
    }

    body.page-baustelle .baustelle-stage,
    body.page-baustelle .baustelle-card,
    body.page-baustelle .baustelle-note {
        padding-left: 16px;
        padding-right: 16px;
    }

    body.page-baustelle .baustelle-stage {
        margin-top: -34px;
    }

    body.page-baustelle .baustelle-grid {
        grid-template-columns: 1fr;
    }

    body.page-baustelle .baustelle-option,
    body.page-baustelle .baustelle-selection-info,
    body.page-baustelle .baustelle-form,
    body.page-baustelle .baustelle-note-inner,
    body.page-baustelle .baustelle-stage-box {
        padding: 22px 18px;
    }

    body.page-baustelle .baustelle-note-inner {
        grid-template-columns: 1fr;
    }

    body.page-baustelle .baustelle-note-icon {
        width: 52px;
        height: 52px;
    }
}