:root {
    --svh-blue-dark: #062846;
    --svh-blue: #003f73;
    --svh-yellow: #ffd400;
    --svh-white: #ffffff;
    --svh-text: #20262d;
    --svh-light: #f4f6f8;
    --svh-border: #d9e0e6;
}

/* Grundlayout */
body {
    background: var(--svh-light);
    color: var(--svh-text);
}

/* Header */
.container-header {
    background: linear-gradient(
        90deg,
        var(--svh-blue-dark),
        var(--svh-blue)
    );
    box-shadow: none;
}

/* Navigation */
.container-header .mod-menu {
    color: var(--svh-white);
}

.container-header .mod-menu > li > a,
.container-header .mod-menu > li > span {
    color: var(--svh-white);
    font-weight: 600;
}

.container-header .mod-menu > li > a:hover,
.container-header .mod-menu > li.active > a {
    color: var(--svh-yellow);
}

/* Hauptinhalt */
.site-grid {
    background: var(--svh-light);
}

main {
    background: var(--svh-white);
}

/* Überschriften */
h1,
h2,
h3,
h4 {
    color: var(--svh-blue-dark);
}

/* Links */
a {
    color: var(--svh-blue);
}

a:hover {
    color: var(--svh-blue-dark);
}

/* Buttons */
.btn-primary {
    background: var(--svh-yellow);
    border-color: var(--svh-yellow);
    color: #111;
    font-weight: 700;
}

.btn-primary:hover,
.btn-primary:focus {
    background: #e8c000;
    border-color: #e8c000;
    color: #111;
}

/* Karten / Module */
.card,
.moduletable {
    border-radius: 14px;
}

/* Footer */
.container-footer {
    background: linear-gradient(
        90deg,
        var(--svh-blue-dark),
        var(--svh-blue)
    );
    color: var(--svh-white);
}

.container-footer a {
    color: var(--svh-yellow);
}

/* SVH-Logo im Header */
.container-header .navbar-brand img {
    width: 90px;
    height: 90px;
    object-fit: contain;
}

/* Mobil etwas kleiner */
@media (max-width: 768px) {
    .container-header .navbar-brand img {
        width: 65px;
        height: 65px;
    }
}

/* ===== SVH Header Desktop ===== */

@media (min-width: 992px) {

    .container-header .container-nav {
        display: flex;
        align-items: center;
        gap: 2rem;
        padding-top: 0;
        padding-bottom: 0;
    }

    .container-header .navbar-brand {
        display: flex;
        align-items: center;
        gap: 1rem;
        margin: 0;
        padding: 10px 0;
    }

    .container-header .navbar-brand img {
        width: 80px;
        height: 80px;
        object-fit: contain;
    }

    .container-header .site-description {
        margin: 0;
        white-space: nowrap;
    }

    .container-header .navbar-collapse {
        flex-grow: 1;
    }

    .container-header .mod-menu {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 1.5rem;
        margin: 0;
    }
}
/* =========================================================
   SVH HERO
   ========================================================= */

.svh-hero-position {
    width: 100%;
}

.svh-hero {
    position: relative;
    width: 100%;
    height: clamp(440px, 62vh, 680px);
    overflow: hidden;
    background: #062846;
}

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

.svh-hero-slide {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

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

    opacity: 0;

    transition: opacity 1.2s ease;
}

.svh-hero-slide.is-visible {
    opacity: 1;
}

.svh-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.svh-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(6, 40, 70, 0.72) 0%,
        rgba(6, 40, 70, 0.42) 45%,
        rgba(6, 40, 70, 0.08) 100%
    );
}

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

    width: min(1280px, calc(100% - 40px));
    height: 100%;

    margin: 0 auto;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;

    color: #fff;
}

.svh-hero-kicker {
    margin: 0 0 10px;
    color: #ffd400;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.svh-hero h1 {
    max-width: 1100px;
    margin: 0 0 10px;

    color: #fff;
    font-size: clamp(2.4rem, 5vw, 4.8rem);
    line-height: 1.05;
    font-weight: 700;

    white-space: nowrap;
}

.svh-hero-claim {
    margin: 0 0 5px;
    font-size: clamp(1.35rem, 2.2vw, 2rem);
    font-weight: 500;
}

.svh-hero-subline {
    margin: 0 0 26px;
    font-size: clamp(1rem, 1.6vw, 1.25rem);
}

.svh-hero-button {
    display: inline-block;

    padding: 13px 24px;

    background: #ffd400;
    color: #111;

    border-radius: 6px;

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

    transition:
        transform .18s ease,
        background-color .18s ease;
}

.svh-hero-button:hover,
.svh-hero-button:focus {
    background: #ffe033;
    color: #111;
    transform: translateY(-2px);
}


/* Mobil */
@media (max-width: 1000px) {

    .svh-hero {
        height: 520px;
    }

.svh-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(6, 40, 70, 0.72) 0%,
        rgba(6, 40, 70, 0.42) 45%,
        rgba(6, 40, 70, 0.08) 100%
    );
}

    .svh-hero-content {
        width: calc(100% - 32px);
        justify-content: flex-end;
        padding-bottom: 42px;
    }

.svh-hero h1 {
    white-space: normal;
}
}

/* =========================================================
   SVH SPORTARTEN
   ========================================================= */

.svh-sports {
    background: #f4f6f8;
    padding: 70px 20px 80px;
}

.svh-sports-inner {
    width: min(1280px, 100%);
    margin: 0 auto;
}

.svh-sports-heading {
    max-width: 780px;
    margin: 0 auto 42px;
    text-align: center;
}

.svh-sports-kicker {
    margin: 0 0 8px;
    color: #ffd400;
    font-size: .95rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.svh-sports-heading h2 {
    margin: 0 0 14px;
    color: #062846;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.1;
}

.svh-sports-heading p {
    margin: 0;
    color: #4b5563;
    font-size: 1.08rem;
    line-height: 1.6;
}

.svh-sports-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.svh-sport-card {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 16px;
    background: #062846;
    box-shadow: 0 10px 28px rgba(6, 40, 70, .12);
    text-decoration: none;
}

.svh-sport-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition:
        transform .35s ease,
        filter .35s ease;
}

.svh-sport-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        transparent 42%,
        rgba(6, 40, 70, .82) 100%
    );
}

.svh-sport-card span {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 16px;
    z-index: 2;

    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0,0,0,.35);
}

.svh-sport-card:hover img,
.svh-sport-card:focus img {
    transform: scale(1.055);
    filter: brightness(.92);
}

.svh-sport-card:hover span,
.svh-sport-card:focus span {
    color: #ffd400;
}

/* Tablet */
@media (max-width: 1050px) {
    .svh-sports-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Mobil */
@media (max-width: 720px) {
    .svh-sports {
        padding: 50px 14px 60px;
    }

    .svh-sports-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .svh-sport-card {
        border-radius: 12px;
    }

    .svh-sport-card span {
        left: 12px;
        right: 12px;
        bottom: 12px;
        font-size: 1rem;
    }
}

/* Sehr klein */
@media (max-width: 430px) {
    .svh-sports-grid {
        grid-template-columns: 1fr;
    }
}
/* Beschriftung der Sportkacheln ganz nach vorne */
.svh-sport-card {
    position: relative;
    isolation: isolate;
}

.svh-sport-card img {
    position: relative;
    z-index: 1;
}

.svh-sport-card::after {
    z-index: 2;
}

/* Beschriftung der Sportkacheln */
.svh-sport-card {
    position: relative;
    display: block;
    isolation: isolate;
}

.svh-sport-card img {
    position: relative;
    z-index: 1;
}

.svh-sport-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        180deg,
        transparent 45%,
        rgba(6, 40, 70, .88) 100%
    );
}

/* Name der Sportart */
.svh-sport-card::before {
    content: attr(aria-label);

    position: absolute;
    z-index: 10;

    left: 18px;
    right: 18px;
    bottom: 16px;

    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2;

    pointer-events: none;
}

.svh-sport-card:hover::before {
    color: #ffd400;
}
@media (min-width: 1051px) {
    .svh-sports-grid .svh-sport-card:nth-last-child(2) {
        grid-column: 2;
    }

    .svh-sports-grid .svh-sport-card:nth-last-child(1) {
        grid-column: 3;
    }
}

/* =========================================================
   SVH AKTUELL
   ========================================================= */

.svh-aktuell-position {
    background: var(--svh-light);
    padding: 34px 20px;
}

.svh-current {
    width: min(1280px, 100%);
    margin: 0 auto;
}

/* Nur Bild */
.svh-current--image-only {
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(6, 40, 70, .12);
}

.svh-current--image-only .svh-current__image {
    width: 100%;
}

.svh-current--image-only .svh-current__image img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Mobil */
@media (max-width: 768px) {
    .svh-aktuell-position {
        padding: 20px 14px;
    }

    .svh-current--image-only {
        border-radius: 12px;
    }
}
/* =========================================================
   SVH AKTUELL – Bild + Text
   ========================================================= */

.svh-current--image-text {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    min-height: 480px;
    box-shadow: 0 12px 30px rgba(6, 40, 70, .12);
}

.svh-current--image-text .svh-current__image {
    position: absolute;
    inset: 0;
}

.svh-current--image-text .svh-current__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Abdunklung links für gute Lesbarkeit */
.svh-current--image-text .svh-current__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(3, 35, 66, .88) 0%,
        rgba(3, 35, 66, .68) 38%,
        rgba(3, 35, 66, .18) 68%,
        rgba(3, 35, 66, 0) 100%
    );
}

/* Text über dem Bild */
.svh-current--image-text .svh-current__content {
    position: relative;
    z-index: 2;
    min-height: 480px;
    max-width: 650px;
    padding: 70px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
}

.svh-current--image-text .svh-current__kicker {
    margin-bottom: 8px;
    font-size: .9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.svh-current--image-text .svh-current__title {
    margin: 0 0 18px;
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.05;
}

.svh-current--image-text .svh-current__text {
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Mobil */
@media (max-width: 768px) {

    .svh-current--image-text {
        min-height: 430px;
        border-radius: 12px;
    }

    .svh-current--image-text .svh-current__content {
        min-height: 430px;
        max-width: 100%;
        padding: 36px 26px;
        justify-content: flex-end;
    }

    .svh-current--image-text .svh-current__overlay {
        background: linear-gradient(
            0deg,
            rgba(3, 35, 66, .92) 0%,
            rgba(3, 35, 66, .65) 55%,
            rgba(3, 35, 66, .12) 100%
        );
    }
}
.svh-current__image {
    position: relative;
}

.svh-current__credit {
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 5;

    padding: 4px 8px;
    border-radius: 4px;

    background: rgba(0, 0, 0, .55);
    color: #fff;

    font-size: .72rem;
    line-height: 1.2;
}

/* =========================================================
   SVH AKTUELL – nur Text
   ========================================================= */

.svh-current--text-only {
    max-width: 1100px;
    margin: 0 auto;
    padding: 48px 56px;

    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(6, 40, 70, .08);
}

.svh-current--text-only .svh-current__content {
    position: static;
    max-width: 760px;
    min-height: 0;

    margin: 0 auto;
    padding: 0;

    display: block;
    text-align: center;

    color: var(--svh-text);
}

.svh-current--text-only .svh-current__kicker {
    margin-bottom: 8px;

    color: var(--svh-blue);
    font-size: .9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.svh-current--text-only .svh-current__title {
    margin: 0 0 20px;

    color: var(--svh-blue-dark);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
}

.svh-current--text-only .svh-current__text {
    color: var(--svh-text);
    font-size: 1.08rem;
    line-height: 1.7;
}

.svh-current--text-only .svh-current__text p {
    margin: 0 0 12px;
}

.svh-current--text-only .svh-current__text p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .svh-current--text-only {
        padding: 34px 24px;
        border-radius: 12px;
    }
}

/* =========================================================
   SVH – WARUM SV HOF
   ========================================================= */

.svh-why-position {
    background: #ffffff;
}

.svh-why {
    padding: 80px 20px;
}

.svh-why-inner {
    width: min(1180px, 100%);
    margin: 0 auto;
}

.svh-why-heading {
    text-align: center;
    margin-bottom: 52px;
}

.svh-why-kicker {
    margin: 0 0 8px;
    color: var(--svh-yellow);
    font-size: .95rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.svh-why-heading h2 {
    margin: 0;
    color: var(--svh-blue-dark);
    font-size: clamp(2rem, 4vw, 3.2rem);
}

.svh-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
}

.svh-why-item {
    text-align: center;
    padding: 10px 26px;
}

.svh-why-number,
.svh-why-symbol {
    margin-bottom: 14px;
    color: var(--svh-yellow);
    font-size: 3.2rem;
    line-height: 1;
    font-weight: 800;
}

.svh-why-item h3 {
    margin: 0 0 12px;
    color: var(--svh-blue-dark);
    font-size: 1.35rem;
}

.svh-why-item p {
    margin: 0;
    color: #4b5563;
    line-height: 1.65;
}

@media (max-width: 800px) {
    .svh-why {
        padding: 60px 20px;
    }

    .svh-why-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

/* =========================================================
   POSITION WARUM SVH
   ========================================================= */

.svh-why-position {
    width: 100%;
    max-width: none;
    display: block;
}

.svh-why-position > * {
    width: 100%;
    max-width: none;
}

/* =========================================================
   SVH – MITGLIED WERDEN
   ========================================================= */

.svh-membership-position {
    width: 100%;
    background: linear-gradient(
        90deg,
        var(--svh-blue-dark),
        var(--svh-blue)
    );
}

.svh-membership {
    padding: 64px 20px;
}

.svh-membership-inner {
    width: min(1180px, 100%);
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
}

.svh-membership-copy {
    max-width: 760px;
}

.svh-membership-kicker {
    margin: 0 0 8px;

    color: var(--svh-yellow);

    font-size: .9rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

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

    color: #fff;

    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.1;
}

.svh-membership-copy > p:last-child {
    margin: 0;

    color: rgba(255,255,255,.88);

    font-size: 1.1rem;
    line-height: 1.6;
}

.svh-membership-action {
    flex-shrink: 0;
}

.svh-membership-button {
    display: inline-block;

    padding: 15px 28px;

    background: var(--svh-yellow);
    color: #111;

    border-radius: 7px;

    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;

    transition:
        transform .18s ease,
        background-color .18s ease;
}

.svh-membership-button:hover,
.svh-membership-button:focus {
    background: #ffe033;
    color: #111;
    transform: translateY(-2px);
}

@media (max-width: 800px) {

    .svh-membership {
        padding: 50px 20px;
    }

    .svh-membership-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 28px;
    }

    .svh-membership-action {
        width: 100%;
    }

    .svh-membership-button {
        width: 100%;
        text-align: center;
    }
}
/* =========================================================
   SVH – ARTIKEL / INHALTSSEITEN
   ========================================================= */

/* Kategorieansichten wie Impressum, Datenschutz, AGB */
.com-content-category-blog {
    width: 100%;
    padding: 36px 20px 52px;

    background: var(--svh-light);
}

/* Einzelner Beitrag innerhalb eines Kategorieblogs */
.com-content-category-blog__item.blog-item {
    width: min(1080px, 100%);
    margin: 0 auto;
    padding: 42px 48px;

    background: #fff;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(6, 40, 70, .10);
}

/* Inhalt nicht künstlich begrenzen */
.com-content-category-blog__item .item-content {
    width: 100%;
}

/* Überschriften */
.com-content-category-blog__item h1 {
    margin-top: 0;
    margin-bottom: 14px;
}

.com-content-category-blog__item h2 {
    margin-top: 30px;
    margin-bottom: 10px;
}

.com-content-category-blog__item h3 {
    margin-top: 24px;
    margin-bottom: 8px;
}

/* Fließtext */
.com-content-category-blog__item p {
    line-height: 1.65;
}

/* Veröffentlichungsinformationen */
.com-content-category-blog__item .article-info {
    margin-bottom: 20px;
    color: #6b7280;
}


/* Einzelbeiträge, falls später direkt auf einen Beitrag verlinkt wird */
.com-content-article {
    width: min(1080px, calc(100% - 40px));
    margin: 36px auto 52px;
    padding: 42px 48px;

    background: #fff;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(6, 40, 70, .10);
}


/* =========================================================
   SVH ARTIKEL – MOBILE
   ========================================================= */

@media (max-width: 768px) {

    .com-content-category-blog {
        padding: 18px 12px 30px;
    }

    .com-content-category-blog__item.blog-item {
        padding: 26px 20px;
        border-radius: 12px;
    }

    .com-content-article {
        width: calc(100% - 24px);
        margin: 18px auto 30px;
        padding: 26px 20px;
        border-radius: 12px;
    }

    .com-content-category-blog__item h2 {
        margin-top: 24px;
    }
}
/* =========================================================
   SVH FOOTER
   ========================================================= */

.svh-footer {
    background: var(--svh-blue-dark);
    color: #fff;
}

.svh-footer-main {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 58px 0 42px;

    display: grid;
    grid-template-columns: repeat(
        auto-fit,
        minmax(210px, 1fr)
    );
    gap: 40px;
    align-items: start;
}

.svh-footer-column h3,
.svh-footer-column h4 {
    margin-top: 0;
    color: var(--svh-yellow);
}

.svh-footer-column p {
    margin: 0 0 8px;
    line-height: 1.6;
}

.svh-footer-column a {
    color: #fff;
}

.svh-footer-column a:hover {
    color: var(--svh-yellow);
}

.svh-footer-logo img {
    width: 120px;
    height: auto;
}

.svh-footer-advert img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.svh-footer-menu {
    border-top: 1px solid rgba(255,255,255,.15);
    padding: 18px 20px;

    text-align: center;
}

.svh-footer-menu .mod-menu {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;

    gap: 24px;

    width: 100%;
    margin: 0;
    padding: 0;

    list-style: none;
}

.svh-footer-menu .mod-menu > li {
    display: inline-flex;
    width: auto !important;
    margin: 0;
    padding: 0;
}

.svh-footer-menu .mod-menu > li > a,
.svh-footer-menu .mod-menu > li > span {
    display: inline-block;
    width: auto !important;
    padding: 0;
}

.svh-footer-menu a {
    color: #fff;
    text-decoration: none;
}

.svh-footer-menu a:hover {
    color: var(--svh-yellow);
}

.svh-footer-copy {
    padding: 12px 20px 18px;

    color: rgba(255,255,255,.72);
    text-align: center;
    font-size: .86rem;
}

@media (max-width: 700px) {

    .svh-footer-main {
        grid-template-columns: 1fr;
        padding-top: 42px;
    }

    .svh-footer-column {
        text-align: center;
    }

    .svh-footer-logo img {
        width: 100px;
    }
}
/* =========================================================
   SVH HEADER – MOBILE
   ========================================================= */

@media (max-width: 991.98px) {

    /* Header kompakter */
    .container-header {
        position: relative;
    }

    /* Logo + Vereinsname/Slogan */
    .container-header .navbar-brand {
        display: grid;
        grid-template-columns: 68px 1fr;
        grid-template-rows: auto auto;
        column-gap: 14px;

        align-items: center;

        margin: 0;
        padding: 12px 80px 12px 16px;
    }

    /* Logo über beide Textzeilen */
    .container-header .navbar-brand .brand-logo {
        grid-column: 1;
        grid-row: 1 / 3;
        display: flex;
        align-items: center;
    }

    .container-header .navbar-brand img {
        width: 68px;
        height: 68px;
        object-fit: contain;
    }

    /* Slogan */
    .container-header .site-description {
        grid-column: 2;
        grid-row: 2;

        margin: -2px 0 0;

        color: rgba(255,255,255,.82);

        font-size: .85rem;
        line-height: 1.25;
        font-weight: 400;
    }

}

/* =========================================================
   SVH MOBILE NAVIGATION
   ========================================================= */

@media (max-width: 991.98px) {

    .container-header .container-nav {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        padding: 0 16px 12px;
    }

    /* Hamburger sichtbar */
    .container-header .navbar-toggler {
        position: absolute;
        right: 10px;
        top: -80px;

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

        width: 46px;
        height: 46px;

        padding: 0;

        border: 1px solid rgba(255,255,255,.35);
        border-radius: 6px;

        background: transparent;
        color: #fff;
    }

    .container-header .navbar-toggler-icon {
        filter: brightness(0) invert(1);
    }

    /* Menübereich */
    .container-header .navbar-collapse {
        width: 100%;
        margin-top: 8px;
    }

    /* Menüpunkte mobil untereinander */
    .container-header .mod-menu {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;

        width: 100%;
        margin: 0;
        padding: 0;
    }

    .container-header .mod-menu > li {
        width: 100%;
    }

    .container-header .mod-menu > li > a,
    .container-header .mod-menu > li > span {
        display: block;
        width: 100%;

        padding: 12px 4px;

        border-bottom: 1px solid rgba(255,255,255,.12);

        color: #fff;
    }

    .container-header .mod-menu > li.active > a {
        color: var(--svh-yellow);
    }
}
/* =========================================================
   SVH HEADER – DESKTOP NAVIGATION
   ========================================================= */

@media (min-width: 768px) {

    .container-header .container-nav {
        display: flex;
        align-items: center;
        width: 100%;
    }

    .container-header .navbar {
        margin-left: auto;
    }

    .container-header .navbar-collapse {
        display: flex !important;
        justify-content: flex-end;
    }

    .container-header .mod-menu {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;

        width: auto;
        margin: 0;
        gap: 1.75rem;
    }

    .container-header .mod-menu > li {
        width: auto;
    }

    .container-header .mod-menu > li > a,
    .container-header .mod-menu > li > span {
        width: auto;
        padding: 0;
        border-bottom: 0;
    }

    .container-header .navbar-toggler {
        display: none !important;
    }
}

/* =========================================================
   SVH HEADER – DEZENTE DESIGN-AKZENTE
   ========================================================= */

.container-header {
    position: relative;
}

/* feine graue Grundlinie */
.container-header::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;

    width: 100%;
    height: 4px;

    background: rgba(255, 255, 255, .20);

    pointer-events: none;
    z-index: 10;
}

/* gelber Akzent */
.container-header::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;

    width: min(38%, 520px);
    height: 4px;

    background: var(--svh-yellow);

    /* kleine Schräge am Ende */
    clip-path: polygon(
        0 0,
        calc(100% - 18px) 0,
        100% 100%,
        0 100%
    );

    pointer-events: none;
    z-index: 11;
}
/* =========================================================
   SVH HEADER – DESIGN-AKZENT MOBIL
   ========================================================= */

@media (max-width: 991px) {

    .container-header {
        background:
            /* Akzentlinie unten */
            linear-gradient(
                90deg,
                var(--svh-yellow) 0%,
                var(--svh-yellow) 42%,
                rgba(255,255,255,.25) 42%,
                rgba(255,255,255,.25) 100%
            )
            bottom / 100% 2px no-repeat,

            /* eigentlicher Header */
            linear-gradient(
                90deg,
                var(--svh-blue-dark),
                var(--svh-blue)
            );

        padding-bottom: 2px;
    }

    /* Desktop-Pseudo-Akzente mobil ausblenden */
    .container-header::before,
    .container-header::after {
        display: none !important;
    }
}

/* Leere Joomla-Beiträge nicht als Karte darstellen */
.com-content-article:has(.com-content-article__body:empty) {
    display: none;
}
/* =========================================================
   LANDINGPAGE – leeren Joomla-Hauptbeitrag ausblenden
   ========================================================= */

body.itemid-102 main .com-content-article {
    display: none !important;
}

/* =========================================================
   SVH – Tabellen in Abteilungsseiten mobil
   ========================================================= */

.com-abteilungen table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
}

.com-abteilungen table td,
.com-abteilungen table th {
    padding: 8px 10px;
    vertical-align: top;
}

@media (max-width: 700px) {

    .com-abteilungen table {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .com-abteilungen table tbody,
    .com-abteilungen table tr {
        width: 100%;
    }

    .com-abteilungen table td,
    .com-abteilungen table th {
        white-space: normal;
        word-break: break-word;
    }
}
/* =========================================================
   COM_RESSOURCEN – MOBILE / OVERFLOW FIX
   ========================================================= */

.svh-resource,
.svh-resource *,
.svh-resource *::before,
.svh-resource *::after {
    box-sizing: border-box;
}

.svh-resource {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.svh-resource__inner {
    width: min(1120px, calc(100% - 40px));
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    min-width: 0;
}

.svh-resource__card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.svh-resource__card p,
.svh-resource__card li,
.svh-resource__card a,
.svh-resource__contact,
.svh-resource__calendar-intro {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: normal;
}


/* =========================================================
   COM_RESSOURCEN – MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .svh-resource__inner {
        width: calc(100% - 24px);
        margin-left: auto;
        margin-right: auto;
    }

    .svh-resource__card {
        width: 100%;
        padding: 24px 20px;
        border-radius: 14px;
    }

    .svh-resource__contact a {
        overflow-wrap: anywhere;
    }

.svh-resource__calendar-frame {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}

.svh-resource__calendar-frame iframe {
    display: block;
    width: 800px;
    max-width: none;
    border: 0;
}
}