/* ═══════════════════════════════════════════════════════
 * BSH Projekt Detail – Styles
 * ═══════════════════════════════════════════════════════ */

.bsh-pd {
    --orange:    #eb6a05;
    --blue:      #4283c4;
    --blue-dark: #1b3a61;
    --dark:      #0f1720;
    --light-bg:  #f4f7fb;
    --radius-a:  50px 0 50px 0;
    --radius-b:  0 50px 0 50px;
    font-family: inherit;
    color: var(--dark);
}

.bsh-pd *, .bsh-pd *::before, .bsh-pd *::after { box-sizing: border-box; }

.bsh-pd a:focus-visible,
.bsh-pd button:focus-visible,
.bsh-pd input:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
    .bsh-pd, .bsh-pd * { transition-duration: .01ms !important; }
}

.bsh-pd__container { max-width: 1600px; margin: 0 auto; padding: 0 32px; }

.bsh-pd__kicker {
    font-size: 13px; font-weight: 700; text-transform: uppercase;
    letter-spacing: .08em; color: var(--orange); margin-bottom: 10px;
}

.bsh-pd__heading {
    font-size: clamp(28px,4vw,42px); font-weight: 700; line-height: 1.15;
    margin: 0 0 10px; color: var(--dark);
}

.bsh-pd__subtitle {
    font-size: clamp(16px,2vw,20px); font-weight: 400; line-height: 1.5;
    margin: 0 0 24px; color: #555;
}

.bsh-pd-s5 .bsh-pd__subtitle { color: rgba(255,255,255,.85); }

.bsh-pd__text { font-size: 16px; line-height: 1.65; color: #444; margin: 0 0 24px; }

.bsh-pd__btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 36px; font-size: 15px; font-weight: 600;
    border: none; cursor: pointer; text-decoration: none;
    background: var(--orange); color: #fff; border-radius: var(--radius-a);
    font-family: inherit; transition: border-radius .35s ease, background .25s ease;
}
.bsh-pd__btn:hover, .bsh-pd__btn:focus-visible {
    border-radius: var(--radius-b); background: var(--blue-dark); color: #fff;
}

.bsh-pd__consent {
    display: flex; gap: 10px; align-items: flex-start;
    font-size: 14px; line-height: 1.5; color: #555; cursor: pointer;
}
.bsh-pd__consent input[type="checkbox"] { flex-shrink: 0; margin-top: 3px; accent-color: var(--orange); }
.bsh-pd__consent a { color: var(--orange); text-decoration: underline; }

/* ── S1 – Hero / Intro ──────────────────────────────── */

.bsh-pd-s1 { background: #f4f7fb; padding: 100px 0 60px; position: relative; overflow: hidden; min-height: 50vh; }
.bsh-pd-s1__bg { position: absolute; inset: 0; z-index: 0; background-size: 20%; background-repeat: no-repeat; background-position: right -60px bottom -60px; opacity: .04; pointer-events: none; }
.bsh-pd-s1 .bsh-pd__container { position: relative; z-index: 2; }

.bsh-pd-s1__grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}

.bsh-pd-s1__text { display: flex; flex-direction: column; }

.bsh-pd-s1__body { font-size: 17px; line-height: 1.7; color: #444; }
.bsh-pd-s1__body p { margin: 0 0 16px; }

.bsh-pd-s1__image {
    border-top-left-radius: 50%; border-bottom-right-radius: 50%; overflow: hidden; height: 450px;
}
.bsh-pd-s1__image img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ── S2 – Akkordeons ─────────────────────────────────── */

.bsh-pd-s2 { background: #fff; padding: 100px 0; }

.bsh-pd-s2__grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start;
}

.bsh-pd-s2__image {
    border-top-left-radius: 50%; border-bottom-right-radius: 50%; overflow: hidden;
    order: -1;
}
.bsh-pd-s2__image img { width: 100%; height: 100%; object-fit: cover; display: block; }

.bsh-pd-s2__accordions {
    display: flex; flex-direction: column; gap: 8px; margin-top: 32px;
}

.bsh-pd-s2__acc { border: 1px solid rgba(15,27,45,.1); background: #fff; }

.bsh-pd-s2__acc-title {
    padding: 16px 20px; font-size: 16px; font-weight: 600; color: var(--dark);
    cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between;
}
.bsh-pd-s2__acc-title::after {
    content: '+'; font-size: 20px; font-weight: 400; color: var(--orange); transition: transform .25s ease;
}
.bsh-pd-s2__acc[open] .bsh-pd-s2__acc-title::after { content: '−'; }
.bsh-pd-s2__acc-title::-webkit-details-marker { display: none; }

.bsh-pd-s2__acc-body {
    padding: 0 20px 10px; font-size: 15px; line-height: 1.65; color: #555;
}
.bsh-pd-s2__acc-body p { margin: 0 0 10px; }

.bsh-pd-s2__acc--events {
    border-color: rgba(66,131,196,.24);
    background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
}

.bsh-pd-s2__events {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
    margin-top: 2px;
}

.bsh-pd-s2__event {
    background: transparent;
    border: 0;
    border-bottom: 1px solid #e3e9f2;
    border-radius: 0;
    padding: 9px 0 10px;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
        "date date"
        "title cta"
        "text cta";
    column-gap: 12px;
    row-gap: 4px;
    align-items: start;
}

.bsh-pd-s2__event:last-child { border-bottom: 0; }

.bsh-pd-s2__event-date {
    grid-area: date;
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .03em;
    color: #6d7f95;
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
}

.bsh-pd-s2__event-title {
    grid-area: title;
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--dark);
}

.bsh-pd-s2__event-text {
    grid-area: text;
    margin: 2px 0 0;
    color: #425466;
    font-size: 14px;
    line-height: 1.45;
}

.bsh-pd-s2__event-btn {
    grid-area: cta;
    margin-top: 0;
    align-self: center;
    justify-self: end;
    padding: 8px 14px;
    font-size: 13px;
    white-space: nowrap;
}

.bsh-pd-s2__event-btn::after {
    content: none;
}

/* ── S3 – Zahlen / Stats ─────────────────────────────── */

.bsh-pd-s3 {
    background: #fff; padding: 80px 0; position: relative; overflow: hidden;
}

.bsh-pd-s3__dots {
    position: absolute; inset: 0;
    background-image: radial-gradient(rgb(66 131 196 / 71%) 1px, transparent 1px);
    background-size: 9px 9px; opacity: .45; pointer-events: none;
}

.bsh-pd-s3 .bsh-pd__container { position: relative; z-index: 2; }

.bsh-pd-s3__grid {
    display: grid; grid-template-columns: repeat(3,1fr); gap: 32px;
}

.bsh-pd-s3__stat {
    background: #fff; padding: 40px 32px; text-align: center;
    box-shadow: 0 4px 24px rgba(15,27,45,.06);
    display: flex; flex-direction: column; gap: 8px;
}

.bsh-pd-s3__number {
    font-size: clamp(32px,4vw,48px); font-weight: 800; color: var(--orange); line-height: 1;
}

.bsh-pd-s3__label {
    font-size: 15px; font-weight: 600; color: var(--dark); text-transform: uppercase; letter-spacing: .04em;
}

/* ── S4 – CTA ────────────────────────────────────────── */

.bsh-pd-s4 {
    background: #fff; padding: 100px 0; position: relative; overflow: hidden;
}

.bsh-pd-s4__bg {
    position: absolute; left: -40px; bottom: -40px; width: 360px; height: 360px;
    background-size: contain; background-repeat: no-repeat; background-position: center;
    opacity: .04; pointer-events: none;
}

.bsh-pd-s4 .bsh-pd__container { position: relative; z-index: 2; }

.bsh-pd-s4__grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}

.bsh-pd-s4__content { display: flex; flex-direction: column; align-items: flex-start; }

.bsh-pd-s4__body { font-size: 16px; line-height: 1.7; color: #444; margin-bottom: 24px; }
.bsh-pd-s4__body p { margin: 0 0 14px; }

.bsh-pd-s4__image {
    border-top-left-radius: 50%; border-bottom-right-radius: 50%; overflow: hidden; height: 450px;
}
.bsh-pd-s4__image img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ── S5 – Verwandte Projekte ─────────────────────────── */

.bsh-pd-s5 { background: #1b3a61; padding: 100px 0; position: relative; overflow: hidden;}
.bsh-pd-s5 .bsh-pd__container { position: relative; z-index: 2; }
.bsh-pd-s5 .bsh-pd__heading { color: #fff; }
.bsh-pd-s5 .bsh-pd__kicker { color: var(--orange); }

.bsh-pd-s5__tree {
    position: absolute; right: -40px; bottom: -40px;
    width: 320px; height: 320px;
    background-size: contain; background-repeat: no-repeat; background-position: center;
    filter: brightness(0) invert(1); opacity: .1;
    pointer-events: none; z-index: 0;
}


.bsh-pd-s5__grid {
    display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; margin-top: 48px;
}

.bsh-pd-s5__card {
    background: #fff; border: 1px solid rgba(0,0,0,.08); overflow: hidden;
    border-radius: var(--radius-a); display: flex; flex-direction: column;
}
.bsh-pd-s5__card--alt { border-radius: var(--radius-b); }

.bsh-pd-s5__card-image { height: 220px; overflow: hidden; }
.bsh-pd-s5__card-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

.bsh-pd-s5__card-body { padding: 32px 24px; display: flex; flex-direction: column; flex: 1; }

.bsh-pd-s5__cat {
    font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
    color: var(--orange); margin-bottom: 8px;
}

.bsh-pd-s5__card-title { font-size: 20px; font-weight: 700; color: var(--dark); margin: 0 0 10px; }
.bsh-pd-s5__card-text { font-size: 15px; line-height: 1.6; color: #555; margin: 0 0 16px; }

.bsh-pd-s5__link {
    margin-top: auto; color: var(--blue); font-weight: 600; text-decoration: none;
    font-size: 15px; transition: color .2s ease;
}
.bsh-pd-s5__link:hover { color: var(--orange); }

/* ── S6 – Newsletter ─────────────────────────────────── */

.bsh-pd-s6 {
    background: var(--light-bg, #f4f7fb); padding: 100px 0; position: relative; overflow: hidden;
}

.bsh-pd-s6__bg {
    position: absolute; inset: 0; z-index: 0;
    background-size: contain; background-repeat: no-repeat; background-position: right -60px bottom -60px;
    opacity: .04; pointer-events: none;
}

.bsh-pd-s6__wrap {
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
    background: #fff; padding: 48px; align-items: center;
    position: relative; z-index: 1;
}

.bsh-pd-s6__row { display: flex; gap: 12px; margin-bottom: 16px; }

.bsh-pd-s6__input {
    flex: 1; padding: 13px 16px; font-size: 15px; font-family: inherit;
    border: 1.5px solid #d0d5dd; border-radius: 0; background: #fff;
    color: var(--dark); transition: border-color .2s ease, box-shadow .2s ease;
}
.bsh-pd-s6__input:focus {
    outline: none; border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(235,106,5,.12);
}

.bsh-pd-s6__btn {
    padding: 13px 32px; font-size: 15px; font-weight: 600; border: none; cursor: pointer;
    background: var(--orange); color: #fff; border-radius: var(--radius-a);
    transition: border-radius .35s ease, background .25s ease; white-space: nowrap;
    font-family: inherit;
}
.bsh-pd-s6__btn:hover, .bsh-pd-s6__btn:focus-visible {
    border-radius: var(--radius-b); background: var(--blue-dark);
}

/* ── Responsive ──────────────────────────────────────── */

@media (max-width: 900px) {
    .bsh-pd-s1__grid, .bsh-pd-s2__grid, .bsh-pd-s4__grid { grid-template-columns: 1fr; gap: 40px; }
    .bsh-pd-s1__image, .bsh-pd-s4__image { order: -1; }
    .bsh-pd-s3__grid { grid-template-columns: 1fr; }
    .bsh-pd-s5__grid { grid-template-columns: 1fr; }
    .bsh-pd-s6__wrap { grid-template-columns: 1fr; gap: 40px; padding: 40px 32px; }
    .bsh-pd-s1, .bsh-pd-s2, .bsh-pd-s3, .bsh-pd-s4, .bsh-pd-s5, .bsh-pd-s6 { padding: 64px 0; }
}

@media (max-width: 600px) {
    .bsh-pd__container { padding: 0 18px; }
    .bsh-pd__heading { font-size: clamp(22px,5vw,32px); }
    .bsh-pd-s6__row { flex-direction: column; }
    .bsh-pd-s6__btn { width: 100%; }
    .bsh-pd-s3__stat { padding: 28px 20px; }
    .bsh-pd-s2__events { grid-template-columns: 1fr; }
    .bsh-pd-s2__event { padding: 8px 0 10px; border-radius: 0; }
    .bsh-pd-s2__event-title { font-size: 15px; }
    .bsh-pd-s2__event-btn { width: auto; justify-content: center; }
}
