﻿/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
 * BSH Archiv â€“ Styles
 *
 * 3 Sektionen: Intro | Pressearchiv (Jahresfilter) | Newsletter
 * BSH-Designsystem (--orange, --blue, --blue-dark, organic shapes)
 *
 * Autor: Luca Petersen | Com&Sons  |  https://comandsons.com
 * â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* â”€â”€ shared / global â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

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

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

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

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

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

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

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

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

/* â”€â”€ Buttons (shared) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.bsh-archiv__consent {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 14px;
    line-height: 1.5;
    color: #555;
    cursor: pointer;
    margin-bottom: 20px;
}

.bsh-archiv__consent input[type="checkbox"] {
    flex-shrink: 0;
    margin-top: 3px;
    accent-color: var(--orange);
}

.bsh-archiv__consent a {
    color: var(--orange);
    text-decoration: underline;
}

/* ===================================================
 * 1. Intro + Bild
 * =================================================== */

.bsh-archiv-s1 {
    background: #f4f7fb;
    padding: 100px 0 60px;
    position: relative;
    overflow: hidden;
    min-height: 50vh;
}
.bsh-archiv-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-archiv-s1 .bsh-archiv__container { position: relative; z-index: 2; }

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

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

.bsh-archiv-s1__body {
    font-size: 17px;
    line-height: 1.7;
    color: #444;
}

.bsh-archiv-s1__body p {
    margin: 0 0 16px;
}

.bsh-archiv-s1__image {
    border-top-left-radius: 50%;
    border-bottom-right-radius: 50%;
    overflow: hidden;
    height: 450px;
}

.bsh-archiv-s1__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===================================================
 * 2. Pressearchiv
 * =================================================== */

.bsh-archiv-s2 {
    background: #1b3a61;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}
.bsh-archiv-s2 .bsh-archiv__container { position: relative; z-index: 2; }
.bsh-archiv-s2 .bsh-archiv__heading { color: #fff; }
.bsh-archiv-s2 .bsh-archiv__kicker { color: var(--orange); }

.bsh-archiv-s2__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-archiv-s2__bg {
    position: absolute;
    right: -40px;
    bottom: -40px;
    width: 360px;
    height: 360px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: .04;
    pointer-events: none;
}


.bsh-archiv-s2__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-archiv-s2__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--orange);
    text-decoration: none;
    margin-bottom: 32px;
    transition: color .2s ease;
}

.bsh-archiv-s2__back:hover {
    color: var(--blue-dark);
}

.bsh-archiv-s2__empty {
    font-size: 17px;
    color: #666;
    background: #fff;
    padding: 40px;
    border-radius: 0;
    text-align: center;
    margin-top: 24px;
}

/* -- Year filter buttons â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.bsh-archiv-s2__filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 24px 0 32px;
    position: relative;
    z-index: 1;
}

.bsh-archiv-s2__filter {
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    border: 1.5px solid #d0d5dd;
    border-radius: 0;
    background: #fff;
    color: var(--dark);
    cursor: pointer;
    transition: all .2s ease;
}

.bsh-archiv-s2__filter:hover {
    border-color: var(--orange);
    color: var(--orange);
}

.bsh-archiv-s2__filter--active {
    background: var(--orange);
    border-color: var(--orange);
    color: #fff;
}

.bsh-archiv-s2__filter--active:hover {
    background: var(--orange);
    border-color: var(--orange);
    color: #fff;
}

/* -- Archive cards (Presse-style) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.bsh-archiv-s2__body {
    position: relative;
    z-index: 1;
}

.bsh-archiv-s2__category {
    margin-bottom: 56px;
}

.bsh-archiv-s2__category:last-child {
    margin-bottom: 0;
}

.bsh-archiv-s2__cat-title {
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
    color: var(--dark);
    border-bottom: 2px solid var(--dark);
    padding-bottom: 12px;
    margin: 0 0 20px;
}

.bsh-archiv-s2__cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 16px;
}

.bsh-archiv-s2__card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: #fff;
    border-radius: 50px 0 50px 0;
    border: 1px solid transparent;
    text-decoration: none;
    color: inherit;
    transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}

a.bsh-archiv-s2__card:hover {
    box-shadow: 0 4px 20px rgba(15, 27, 45, .08);
    transform: translateY(-2px);
    border-color: rgba(66, 131, 196, .15);
}

.bsh-archiv-s2__card-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 0;
    background: rgba(235, 106, 5, .1);
    color: var(--orange);
}

.bsh-archiv-s2__card-icon--pdf {
    background: rgba(220, 38, 38, .08);
    color: #dc2626;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .04em;
}

.bsh-archiv-s2__card-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bsh-archiv-s2__card-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.35;
}

.bsh-archiv-s2__card-date {
    font-size: 13px;
    color: #888;
}

.bsh-archiv-s2__card-arrow {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    color: #bbb;
    transition: color .2s ease, transform .2s ease;
}

a.bsh-archiv-s2__card:hover .bsh-archiv-s2__card-arrow {
    color: var(--orange);
    transform: translateX(3px);
}

/* ===================================================
 * 3. Newsletter
 * =================================================== */

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

.bsh-archiv-s3__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-archiv-s3__wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    background: #fff;
    border-radius: 0;
    padding: 48px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.bsh-archiv-s3__row {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.bsh-archiv-s3__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-archiv-s3__input:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(235, 106, 5, .12);
}

.bsh-archiv-s3__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-archiv-s3__btn:hover,
.bsh-archiv-s3__btn:focus-visible {
    border-radius: var(--radius-b);
    background: var(--blue-dark);
}

/* ===================================================
 * Responsive
 * =================================================== */

@media (max-width: 900px) {
    .bsh-archiv-s1__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .bsh-archiv-s1__image {
        order: -1;
    }

    .bsh-archiv-s3__wrap {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 32px;
    }

    .bsh-archiv-s1,
    .bsh-archiv-s2,
    .bsh-archiv-s3 {
        padding: 64px 0;
    }

    .bsh-archiv-s2__cards {
        grid-template-columns: 1fr;
    }

    .bsh-archiv-s2__card {
        padding: 16px 20px;
    border-radius: 50px 0 50px 0;
}
}

@media (max-width: 600px) {
    .bsh-archiv__container {
        padding: 0 18px;
    }

    .bsh-archiv__heading {
        font-size: clamp(22px, 5vw, 32px);
    }

    .bsh-archiv-s3__row {
        flex-direction: column;
    }

    .bsh-archiv-s3__btn {
        width: 100%;
    }

    .bsh-archiv-s2__card {
        padding: 14px 16px;
        gap: 12px;
    border-radius: 50px 0 50px 0;
}

    .bsh-archiv-s2__card-icon {
        width: 40px;
        height: 40px;
    }

    .bsh-archiv-s2__card-title {
        font-size: 14px;
    }

    .bsh-archiv-s2__cat-title {
        font-size: 17px;
    }

    .bsh-archiv-s2__category {
        margin-bottom: 40px;
    }

    .bsh-archiv-s2__filters {
        gap: 6px;
    }

    .bsh-archiv-s2__filter {
        padding: 8px 16px;
        font-size: 13px;
    }

    .bsh-archiv-s1__body {
        font-size: 15px;
    }
}


/* Dark-section text overrides */
.bsh-archiv-s2 .bsh-archiv-s2__cat-title { color: #fff; border-bottom-color: rgba(255,255,255,.3); }