/* =========================================================
   SVH RESSOURCEN – ZENTRALES FRONTEND-LAYOUT
   ========================================================= */

.svh-resource {
    width: 100%;
    max-width: 100%;

    background: var(--svh-light, #f4f6f8);
    color: var(--svh-text, #20262d);
}


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

.svh-resource__hero {
    position: relative;

    width: 100vw;
    max-width: none;

    margin-left: calc(50% - 50vw);

    min-height: clamp(360px, 48vh, 520px);

    overflow: hidden;

    display: flex;
    align-items: flex-end;

    background: linear-gradient(
        90deg,
        var(--svh-blue-dark, #062846),
        var(--svh-blue, #003f73)
    );
}

.svh-resource__hero-image {
    position: absolute;
    inset: 0;
}

.svh-resource__hero-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}

.svh-resource__hero-overlay {
    position: absolute;
    inset: 0;

    background: linear-gradient(
        90deg,
        rgba(6, 40, 70, 0.88) 0%,
        rgba(6, 40, 70, 0.62) 44%,
        rgba(6, 40, 70, 0.16) 100%
    );
}

.svh-resource__hero--fallback .svh-resource__hero-overlay {
    background: linear-gradient(
        90deg,
        rgba(6, 40, 70, 0.10),
        rgba(0, 63, 115, 0.04)
    );
}

.svh-resource__hero-content {
    position: relative;
    z-index: 2;

    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 64px 0;

    display: flex;
    align-items: center;
    gap: 26px;

    color: #fff;
}


/* =========================================================
   HERO – ICON / LOGO
   ========================================================= */

.svh-resource__mark {
    flex: 0 0 auto;

    width: 108px;
    height: 108px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 10px;

    border-radius: 18px;

    background: rgba(255, 255, 255, 0.94);

    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.svh-resource__icon {
    max-width: 100%;
    max-height: 100%;

    object-fit: contain;
}


/* =========================================================
   TYPOGRAFIE
   ========================================================= */

.svh-resource__kicker,
.svh-resource__section-kicker {
    margin: 0 0 8px;

    color: var(--svh-yellow, #ffd400);

    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.svh-resource__hero h1 {
    margin: 0 0 8px;

    color: #fff;

    font-size: clamp(2.6rem, 5vw, 4.8rem);
    line-height: 1;
}

.svh-resource__claim {
    margin: 0;

    color: rgba(255, 255, 255, 0.92);

    font-size: clamp(1.2rem, 2vw, 1.7rem);
}


/* =========================================================
   INHALTSBEREICH
   ========================================================= */

.svh-resource__inner {
    width: min(1180px, calc(100% - 40px));

    margin: 0 auto;
    padding: 42px 0 64px;

    display: grid;
    gap: 28px;
}


/* =========================================================
   KARTEN
   ========================================================= */

.svh-resource__card {
    padding: 34px 38px;

    background: #fff;

    border-radius: 16px;

    box-shadow: 0 12px 30px rgba(6, 40, 70, 0.09);
}

.svh-resource__card > :first-child {
    margin-top: 0;
}

.svh-resource__card > :last-child {
    margin-bottom: 0;
}

.svh-resource__card h2 {
    margin: 0 0 14px;

    color: var(--svh-blue-dark, #062846);
}


/* =========================================================
   KONTAKT
   ========================================================= */

.svh-resource__contact-name {
    color: var(--svh-blue-dark, #062846);

    font-size: 1.2rem;
    font-weight: 750;
}


/* =========================================================
   GOOGLE-KALENDER
   ========================================================= */

.svh-resource__calendar-intro {
    margin-bottom: 20px;
}

.svh-resource__calendar-frame {
    width: 100%;
    max-width: 100%;

    height: var(--svh-resource-calendar-height, 650px);

    overflow: hidden;

    border-radius: 12px;

    background: #eef1f4;
}

.svh-resource__calendar-frame iframe {
    display: block;

    width: 100%;
    height: 100%;

    border: 0;
}


/* =========================================================
   BUTTON
   ========================================================= */

.svh-resource__action {
    text-align: center;
}

.svh-resource__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 13px 24px;

    border-radius: 7px;

    background: var(--svh-yellow, #ffd400);

    color: #111 !important;

    font-weight: 750;
    text-decoration: none;

    transition:
        transform 0.18s ease,
        background-color 0.18s ease;
}

.svh-resource__button:hover,
.svh-resource__button:focus {
    background: #ffe033;

    transform: translateY(-2px);
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

    .svh-resource__hero {
        min-height: 410px;
    }

    .svh-resource__hero-overlay {
        background: linear-gradient(
            0deg,
            rgba(6, 40, 70, 0.94) 0%,
            rgba(6, 40, 70, 0.62) 60%,
            rgba(6, 40, 70, 0.14) 100%
        );
    }

    .svh-resource__hero-content {
        width: calc(100% - 28px);

        padding: 42px 0;

        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }

    .svh-resource__mark {
        width: 82px;
        height: 82px;

        border-radius: 14px;
    }

    .svh-resource__inner {
        width: calc(100% - 24px);

        padding: 22px 0 40px;

        gap: 18px;
    }

    .svh-resource__card {
        padding: 24px 20px;

        border-radius: 12px;
    }


    /* -----------------------------------------------------
       Kalender:
       Nur dieser Bereich darf horizontal gescrollt werden.
       ----------------------------------------------------- */

    .svh-resource__calendar-frame {
        width: 100%;
        max-width: 100%;

        height: min(
            var(--svh-resource-calendar-height, 650px),
            650px
        );

        overflow-x: auto;
        overflow-y: hidden;

        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
    }

    .svh-resource__calendar-frame iframe {
        display: block;

        width: 620px;
        min-width: 620px;
        max-width: none;

        height: 100%;

        border: 0;
    }
}