/* =========================================================
   GSK MIESBACH – ZENTRALE WEBSITE-CSS
   Bereinigte Gesamtfassung – 29.07.2026

   Hinweise:
   - Bestehende Klassennamen und Darstellung bleiben erhalten.
   - CI-Farben sind zentral in :root definiert.
   - Startseite, Unterseiten, Phoca Gallery, Veranstaltungen,
     Chronik und Footer sind in dieser Datei zusammengeführt.
   ========================================================= */

/* =========================================================
   GSK MIESBACH – STARTSEITE
   ========================================================= */

:root {
    --gsk-blue: #0b2d46;
    --gsk-blue-dark: #061c2c;
    --gsk-blue-2: #123c5a;
    --gsk-red: #a4161a;
    --gsk-gold: #c9a14a;
    --gsk-cream: #f3efe8;
    --gsk-white: #ffffff;
    --gsk-text: #20262c;
    --gsk-container: 1320px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    color: var(--gsk-text);
    background: var(--gsk-cream);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

.gsk-container {
    width: min(var(--gsk-container), calc(100% - 64px));
    margin-right: auto;
    margin-left: auto;
}


/* =========================================================
   JOOMLA-BEITRAG BEREINIGEN
   ========================================================= */

.item-page,
.com-content-article,
.article,
.astroid-component-section,
.astroid-component,
main {
    margin: 0 !important;
    padding: 0 !important;
}

.item-page>h1,
.item-page>h2,
.page-header,
.article-title,
.page-title {
    display: none !important;
}


/* =========================================================
   HEADER
   ========================================================= */

/*
   Der Header wird vollständig nativ durch Astroid 3.4.2 gesteuert.
   In dieser Datei gibt es bewusst keine eigenen Header-, Logo-,
   Navigations- oder Sticky-Regeln.
*/


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

.gsk-hero {
    position: relative;
    width: 100vw;
    height: 690px;
    min-height: 690px;
    margin-left: calc(50% - 50vw);
    overflow: hidden;

    display: flex;
    align-items: center;

    background-image: url("/images/gsk/hero/hero-start.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.gsk-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;

    background:
        linear-gradient(90deg,
            rgba(5, 23, 37, 0.96) 0%,
            rgba(5, 23, 37, 0.88) 24%,
            rgba(5, 23, 37, 0.66) 46%,
            rgba(5, 23, 37, 0.25) 72%,
            rgba(5, 23, 37, 0.08) 100%);
}


.gsk-hero .gsk-container {
    position: relative;
    z-index: 2;
}

.gsk-hero-content {
    width: 100%;
    max-width: 720px;
    padding-top: 92px;
    color: #ffffff;
}

.gsk-hero h1 {
    margin: 0;
    color: #ffffff;

    font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
    font-size: clamp(36px, 3.15vw, 52px);
    font-weight: 400;
    line-height: 1.22;
    letter-spacing: 0.01em;
    text-transform: uppercase;

    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.38);
}

.gsk-hero-line {
    width: 145px;
    height: 5px;
    margin: 32px 0 28px;
    background: var(--gsk-red);
}

.gsk-hero-subline {
    margin: 0;
    color: #fff;
    font-size: clamp(16px, 1.1vw, 19px);
    font-weight: 500;
    line-height: 1.55;
    letter-spacing: .08em;
    text-transform: uppercase;
    white-space: normal;
}

.gsk-hero-subline span {
    display: block;
    width: 100%;
    text-align: justify;
    text-align-last: justify;
}


/* =========================================================
   DREI KACHELN
   ========================================================= */

.gsk-cards-wrap {
    margin-top: -95px;
    padding: 0 0 90px;
    background:
        linear-gradient(to bottom,
            transparent 0,
            transparent 95px,
            var(--gsk-cream) 95px,
            var(--gsk-cream) 100%);
}

.gsk-cards {
    position: relative;
    z-index: 20;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px;
    margin-top: 0;
}

.gsk-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(11, 45, 70, 0.10);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.13);
    text-align: center;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.gsk-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 21px 44px rgba(0, 0, 0, 0.17);
}

.gsk-card-image {
    position: relative;
    overflow: hidden;
}

.gsk-card-image img {
    width: 100%;
    height: 225px;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.gsk-card:hover .gsk-card-image img {
    transform: scale(1.04);
}

.gsk-card-body {
    position: relative;
    flex: 1;
    min-height: 275px;
    padding: 54px 36px 34px;
}

.gsk-card-icon {
    position: absolute;
    top: -41px;
    left: 50%;

    width: 82px;
    height: 82px;

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

    border: 5px solid #ffffff;
    border-radius: 50%;

    background: var(--gsk-blue);
    color: #ffffff;

    font-size: 31px;
    font-weight: 700;

    transform: translateX(-50%);
}

.gsk-card.is-red .gsk-card-icon {
    background: var(--gsk-red);
}

.gsk-card h2 {
    margin: 0 0 14px;

    color: var(--gsk-blue);
    font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
    font-size: 29px;
    font-weight: 400;
    line-height: 1.2;
    text-transform: uppercase;
}

.gsk-card.is-red h2 {
    color: var(--gsk-red);
}

.gsk-card-line {
    width: 38px;
    height: 3px;
    margin: 0 auto 22px;
    background: var(--gsk-red);
}

.gsk-card p {
    max-width: 330px;
    min-height: 76px;
    margin: 0 auto 22px;

    font-size: 16px;
    line-height: 1.55;
}

.gsk-card-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    color: var(--gsk-blue);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.gsk-card-link:hover {
    color: var(--gsk-red);
    transform: translateX(4px);
}

.gsk-card.is-red .gsk-card-link {
    color: var(--gsk-red);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

    .gsk-container {
        width: calc(100% - 44px);
    }

    .gsk-hero {
        height: 640px;
        min-height: 640px;
    }

    .gsk-hero-content {
        max-width: 620px;
        padding-top: 90px;
    }

    .gsk-hero h1 {
        font-size: clamp(36px, 5vw, 50px);
    }

    .gsk-cards {
        gap: 22px;
        margin-top: -72px;
    }

    .gsk-card-image img {
        height: 205px;
    }

    .gsk-card-body {
        padding-right: 24px;
        padding-left: 24px;
    }
}


/* =========================================================
   TABLET HOCHKANT
   ========================================================= */

@media (max-width: 850px) {

    .gsk-cards {
        grid-template-columns: 1fr;
        max-width: 680px;
        margin: -60px auto 0;
    }

    .gsk-card-image img {
        height: 290px;
    }

    .gsk-card-body {
        min-height: auto;
    }

    .gsk-card p {
        min-height: auto;
    }
}


/* =========================================================
   SMARTPHONE
   ========================================================= */

@media (max-width: 600px) {

    .gsk-container {
        width: calc(100% - 30px);
    }

    .gsk-hero {
        height: 570px;
        min-height: 570px;
        background-position: 62% center;
    }

    .gsk-hero::before {
        background: rgba(5, 23, 37, 0.72);
    }

    .gsk-hero::after {
        display: none;
    }

    .gsk-hero-content {
        max-width: 100%;
        padding-top: 82px;
    }

    .gsk-hero h1 {
        max-width: 100%;
        font-size: clamp(27px, 7.2vw, 36px);
        line-height: 1.16;
        letter-spacing: 0;
        overflow-wrap: normal;
        word-break: normal;
        hyphens: none;
    }

    .gsk-hero-line {
        width: 105px;
        height: 4px;
        margin: 25px 0 22px;
    }

    .gsk-hero-subline {
        width: 100%;
        max-width: 350px;
        font-size: 13px;
        line-height: 1.65;
        letter-spacing: 0.045em;
    }

    .gsk-cards-wrap {
        margin-top: -55px;
        padding-bottom: 56px;

        background:
            linear-gradient(to bottom,
                transparent 0,
                transparent 55px,
                var(--gsk-cream) 55px,
                var(--gsk-cream) 100%);
    }

    .gsk-cards {
        margin-top: 0;
    }
}

/* =========================================================
   ÜBER UNS
   ========================================================= */

.gsk-about {
    position: relative;
    padding: 125px 0;
    background: var(--gsk-cream);
}

.gsk-about-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.18fr);
    gap: 76px;
    align-items: center;
}

.gsk-about-content {
    max-width: 590px;
}

.gsk-section-kicker {
    display: block;
    margin-bottom: 14px;

    color: var(--gsk-red);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.gsk-about h2 {
    margin: 0;

    color: var(--gsk-blue);
    font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
    font-size: clamp(52px, 4vw, 68px);
    font-weight: 400;
    line-height: 1.08;
    text-transform: uppercase;
}

.gsk-section-line {
    width: 100px;
    height: 4px;
    margin: 24px 0 30px;
    background: var(--gsk-red);
}

.gsk-about p {
    margin: 0 0 18px;

    color: var(--gsk-text);
    font-size: 18px;
    line-height: 1.9;
}

.gsk-about .gsk-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 18px;
    padding: 15px 34px;
    background: var(--gsk-blue);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition:
        background-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.gsk-about .gsk-button:hover {
    background: var(--gsk-blue-dark);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(6, 28, 44, 0.18);
}

.gsk-about-image {
    position: relative;
    margin-top: -18px;
}

.gsk-about-image::before {
    content: "";
    position: absolute;
    top: -18px;
    right: -18px;
    bottom: 18px;
    left: 18px;
    z-index: 0;

    border: 1px solid rgba(164, 22, 26, 0.38);
}

.gsk-about-image img {
    position: relative;
    z-index: 1;

    width: 100%;
    height: 560px;
    object-fit: cover;
    object-position: center;

    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.16);
}


/* Tablet */

@media (max-width: 900px) {

    .gsk-about {
        padding: 80px 0;
    }

    .gsk-about-grid {
        grid-template-columns: 1fr;
        gap: 52px;
    }

    .gsk-about-content {
        max-width: 720px;
    }

    .gsk-about-image img {
        height: 430px;
    }
}


/* Smartphone */

@media (max-width: 600px) {

    .gsk-about {
        padding: 64px 0;
    }

    .gsk-about-grid {
        gap: 42px;
    }

    .gsk-about h2 {
        font-size: 36px;
    }

    .gsk-about p {
        font-size: 16px;
        line-height: 1.65;
    }

    .gsk-about-image::before {
        top: -10px;
        right: -10px;
        bottom: 10px;
        left: 10px;
    }

    .gsk-about-image img {
        height: 310px;
    }
}

/* =========================================================
   NÄCHSTE TERMINE
   ========================================================= */

.gsk-events {
    position: relative;
    padding: 95px 0 105px;
    overflow: hidden;
    background:
        linear-gradient(rgba(6, 28, 44, 0.96),
            rgba(6, 28, 44, 0.96)),
        url("/images/gsk/hero/hero-start.png");
    background-position: center;
    background-size: cover;
    color: #ffffff;
}

.gsk-events::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 150px;
    pointer-events: none;
    background:
        linear-gradient(to top,
            rgba(0, 0, 0, 0.12),
            transparent);
}

.gsk-events .gsk-container {
    position: relative;
    z-index: 2;
}

.gsk-events-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 42px;
}

.gsk-events-kicker {
    display: block;
    margin-bottom: 10px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    opacity: 0.8;
}

.gsk-events h2 {
    margin: 0;
    color: #ffffff;
    font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
    font-size: clamp(42px, 4vw, 60px);
    font-weight: 400;
    line-height: 1.05;
    text-transform: uppercase;
}

.gsk-events-line {
    width: 100px;
    height: 4px;
    margin-top: 22px;
    background: var(--gsk-red);
}

.gsk-events-all {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 8px;
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.55);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.gsk-events-all:hover {
    color: #ffffff;
    border-color: var(--gsk-red);
}

.gsk-events-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.gsk-event-card {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 22px;
    min-height: 150px;
    padding: 24px;

    background: #ffffff;
    color: var(--gsk-text);
    box-shadow: 0 15px 34px rgba(0, 0, 0, 0.16);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.gsk-event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.21);
}

.gsk-event-date {
    align-self: start;
    border: 2px solid var(--gsk-red);
    text-align: center;
}

.gsk-event-date strong {
    display: block;
    padding: 10px 6px 3px;
    color: var(--gsk-blue);
    font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
    font-size: 34px;
    font-weight: 400;
    line-height: 1;
}

.gsk-event-date span {
    display: block;
    padding: 5px 4px 7px;
    color: var(--gsk-red);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.gsk-event-content h3 {
    margin: 0 0 8px;
    color: var(--gsk-blue);
    font-size: 19px;
    font-weight: 800;
    line-height: 1.25;

    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
}

.gsk-event-content p {
    margin: 0 0 6px;
    color: #5c646b;
    font-size: 14px;
    line-height: 1.45;
}

.gsk-event-meta {
    display: block;
    margin-bottom: 16px;
    color: #7b838a;
    font-size: 13px;
}

.gsk-event-content a {
    color: var(--gsk-red);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.gsk-event-content a:hover {
    color: var(--gsk-blue);
}


/* Tablet */

@media (max-width: 900px) {

    .gsk-events-grid {
        grid-template-columns: 1fr;
    }
}


/* Smartphone */

@media (max-width: 700px) {

    .gsk-events {
        padding: 72px 0 78px;
    }

    .gsk-events-head {
        display: block;
        margin-bottom: 32px;
    }

    .gsk-events-all {
        margin-top: 24px;
    }

    .gsk-events-grid {
        grid-template-columns: 1fr;
    }

    .gsk-event-card {
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 22px;
        min-height: auto;
        padding: 22px 20px;
    }

    .gsk-event-content {
        min-width: 0;
    }

    .gsk-event-content h3 {
        font-size: 18px;
        overflow-wrap: normal;
        word-break: normal;
        hyphens: none;
    }

    .gsk-events h2 {
        font-size: 38px;
    }
}
/* ==========================================
   Veranstaltungen – helle Variante
========================================== */

.gsk-events-light {

    background: var(--gsk-cream);
    color: var(--gsk-text);

}

.gsk-events-light::after {

    display: none;

}

.gsk-events-light .gsk-events-kicker {

    color: var(--gsk-red);
    opacity: 1;

}

.gsk-events-light h2 {

    color: var(--gsk-blue);

}

.gsk-events-light .gsk-events-all {

    color: var(--gsk-blue);
    border-bottom: 1px solid rgba(11, 45, 70, .25);

}

.gsk-events-light .gsk-events-all:hover {

    color: var(--gsk-red);
    border-color: var(--gsk-red);

}

/* =========================================================
   SPORTSCHÜTZEN-VERLINKUNG
   ========================================================= */

.gsk-sports {
    position: relative;
    padding: 0;
    overflow: hidden;
    background: var(--gsk-cream);
}

.gsk-sports-grid {
    display: grid;
    grid-template-columns: minmax(400px, 0.72fr) minmax(0, 1.28fr);
    min-height: 560px;
    overflow: hidden;
    background: var(--gsk-blue-dark);
}

.gsk-sports-content-inner {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding: 78px 58px;
    color: #ffffff;
}

.gsk-sports-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    background: var(--gsk-blue-dark);
}

.gsk-sports-kicker {
    display: block;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.gsk-sports h2 {
    margin: 0;
    color: #ffffff;
    font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
    font-size: clamp(40px, 3.2vw, 56px);
    font-weight: 400;
    line-height: 1.08;
    text-transform: uppercase;
}

.gsk-sports-line {
    width: 100px;
    height: 4px;
    margin: 26px 0 28px;
    background: var(--gsk-red);
}

.gsk-sports p {
    max-width: 470px;
    margin: 0 0 30px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 17px;
    line-height: 1.75;
}

.gsk-sports-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 28px;
    border: 2px solid var(--gsk-red);
    background: var(--gsk-red);
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.gsk-sports-button:hover {
    border-color: #ffffff;
    background: transparent;
    color: #ffffff;
    transform: translateY(-2px);
}

.gsk-sports-image {
    position: relative;
    min-width: 0;
    overflow: hidden;
}

.gsk-sports-image::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(90deg,
            rgba(6, 28, 44, 0.38) 0%,
            rgba(6, 28, 44, 0.08) 28%,
            transparent 48%);
}

.gsk-sports-image img {
    width: 100%;
    height: 560px;
    min-height: 560px;
    object-fit: cover;
    object-position: center;
}

/* Tablet */

@media (max-width: 950px) {

    .gsk-sports-grid {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .gsk-sports-content-inner {
        max-width: none;
        width: calc(100% - 48px);
        margin: 0 auto;
        padding: 72px 0;
    }

    .gsk-sports-image img {
        height: 430px;
        min-height: 430px;
    }

    .gsk-sports-image::before {
        background:
            linear-gradient(to bottom,
                rgba(6, 28, 44, 0.25),
                transparent 45%);
    }
}

/* Smartphone */

@media (max-width: 600px) {

    .gsk-sports-content-inner {
        width: calc(100% - 32px);
        padding: 60px 0;
    }

    .gsk-sports h2 {
        font-size: 36px;
    }

    .gsk-sports p {
        font-size: 16px;
        line-height: 1.65;
    }

    .gsk-sports-image img {
        height: 310px;
        min-height: 310px;
    }

    .gsk-sports-button {
        width: 100%;
        padding-right: 18px;
        padding-left: 18px;
        text-align: center;
    }
}

/* =========================================================
   GALERIE
   ========================================================= */

.gsk-gallery {
    padding: 110px 0;
    background: var(--gsk-cream);
}

.gsk-gallery-kicker {
    display: block;
    margin-bottom: 14px;

    color: var(--gsk-red);

    font-size: 13px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.gsk-gallery h2 {
    margin: 0;

    color: var(--gsk-blue);

    font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
    font-size: clamp(48px, 4vw, 64px);
    font-weight: 400;
    line-height: 1.08;
    text-transform: uppercase;
}

.gsk-gallery-line {
    width: 100px;
    height: 4px;
    margin: 24px 0 42px;
    background: var(--gsk-red);
}

.gsk-gallery-grid {

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;

}

.gsk-gallery-card {

    display: block;
    overflow: hidden;

    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.13);

}

.gsk-gallery-card img {

    width: 100%;
    height: 300px;

    object-fit: cover;

    transition:
        transform .45s ease,
        filter .45s ease;

}

.gsk-gallery-card:hover img {

    transform: scale(1.04);

}

.gsk-gallery-action {

    margin-top: 50px;
    text-align: center;

}

.gsk-gallery-button {

    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 15px 34px;

    background: var(--gsk-blue);

    color: #fff;

    font-size: 14px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;

    transition: .25s;

}

.gsk-gallery-button:hover {

    background: var(--gsk-red);

}

@media (max-width:900px) {

    .gsk-gallery {

        padding: 80px 0;

    }

    .gsk-gallery-grid {

        grid-template-columns: 1fr;

    }

    .gsk-gallery-card img {

        height: 280px;

    }

}

@media (max-width:600px) {

    .gsk-gallery {

        padding: 65px 0;

    }

    .gsk-gallery h2 {

        font-size: 36px;

    }

    .gsk-gallery-card img {

        height: 220px;

    }

}

/* =========================================================
   FOOTER
========================================================= */

.gsk-footer {
    width: 100%;
    margin: 0;
    padding: 0 5%;
    background: #10283b;
    color: #ffffff;
}

.gsk-footer-main {
    display: grid;
    grid-template-columns: 340px 260px 210px 170px;
    justify-content: space-between;
    align-items: start;
    gap: 45px;
    max-width: 1440px;
    margin: 0 auto;
    padding: 55px 0 45px;
}


/* LOGO UND VEREINSNAME */

.gsk-footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
}

.gsk-footer-logo {
    display: block;
    width: 145px;
    max-width: 100%;
    height: auto;
    margin: 0 auto 20px;
}

.gsk-footer-brand-text {
    padding: 0;
    color: #ffffff;
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.25;
    text-align: center;
    text-transform: uppercase;
}

.gsk-footer-brand-text strong {
    display: block;
    margin: 0 0 5px;
    font-size: 18px;
    font-weight: 700;
    white-space: normal;
}

.gsk-footer-brand-text span {
    display: block;
    margin: 0;
    font-size: 15px;
    letter-spacing: 0.4px;
}


/* ÜBERSCHRIFTEN */

.gsk-footer-column h3 {
    position: relative;
    margin: 0 0 22px;
    padding-bottom: 10px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.gsk-footer-column h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: #c31924;
}


/* KONTAKT */

.gsk-footer-address {
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.82);
    font-style: normal;
    font-size: 14px;
    line-height: 1.7;
}

.gsk-footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gsk-footer-contact a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    text-decoration: none;
}

.gsk-footer-contact a:hover {
    color: #ffffff;
}

.gsk-footer-contact a span {
    color: #c31924;
}


/* SCHNELLZUGRIFF */

.gsk-footer-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.gsk-footer-nav a {
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
    text-decoration: none;
    transition: color 0.25s ease, padding-left 0.25s ease;
}

.gsk-footer-nav a:hover {
    padding-left: 5px;
    color: #ffffff;
}


/* FACEBOOK */

.gsk-facebook-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    font-size: 14px;
    text-decoration: none;
}

.gsk-facebook-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #1877f2;
    color: #ffffff;
    font-family: Arial, sans-serif;
    font-size: 27px;
    font-weight: 700;
    line-height: 1;
}


/* UNTERE ZEILE */

.gsk-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    max-width: 1440px;
    margin: 0 auto;
    padding: 22px 0 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.gsk-footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.65);
    font-size: 12px;
}

.gsk-footer-legal {
    display: flex;
    align-items: center;
    gap: 22px;
}

.gsk-footer-legal a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 12px;
    text-decoration: none;
}

.gsk-footer-legal a:hover {
    color: #ffffff;
}


/* =========================================================
   FOOTER TABLET
========================================================= */

@media (max-width: 1100px) {

    .gsk-footer-main {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px 60px;
    }

}


/* =========================================================
   FOOTER SMARTPHONE
========================================================= */

@media (max-width: 650px) {

    .gsk-footer {
        padding: 0 25px;
    }

    .gsk-footer-main {
        grid-template-columns: 1fr;
        gap: 38px;
        padding: 45px 0 35px;
    }

    .gsk-footer-logo {
        width: 110px;
    }

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

    .gsk-footer-column h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .gsk-footer-contact a {
        justify-content: center;
    }

    .gsk-footer-nav {
        align-items: center;
    }

    .gsk-facebook-link {
        justify-content: center;
    }

    .gsk-footer-bottom {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        text-align: center;
    }

}

/* =========================================================
   HOME 2026 – VOLLE BREITE
========================================================= */

body .astroid-component-section>.container,
body .astroid-component-section>.container-fluid,
body .astroid-component-area,
body main,
body .item-page,
body .com-content-article,
body .com-content-article__body {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Abschnitte über die gesamte Browserbreite ziehen */
.gsk-events,
.gsk-sports,
.gsk-gallery-strip,
.gsk-footer {
    position: relative;
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.gsk-sports {
    position: relative;
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 0;
    overflow: hidden;
    background: var(--gsk-blue-dark);
}

/* Inhalt innerhalb der Termine bleibt zentriert */
.gsk-events>.gsk-container {
    width: min(var(--gsk-container), calc(100% - 64px));
    margin-left: auto;
    margin-right: auto;
}

/* =========================================================
   MOBILE-FEINSCHLIFF UND SCROLL-TO-TOP
   ========================================================= */

/* Astroid/Joomla Scroll-to-top an das GSK-Farbschema anpassen */
#astroid-backtotop,
.astroid-backtotop,
.back-to-top,
.scroll-to-top,
.scroll-top,
#back-to-top {
    background: var(--gsk-blue) !important;
    color: #ffffff !important;
    border: 0 !important;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.24) !important;
}

#astroid-backtotop:hover,
.astroid-backtotop:hover,
.back-to-top:hover,
.scroll-to-top:hover,
.scroll-top:hover,
#back-to-top:hover {
    background: var(--gsk-red) !important;
    color: #ffffff !important;
}

@media (max-width: 600px) {

    .gsk-hero-content {
        overflow: visible;
    }

    .gsk-hero h1 {
        max-width: 360px;
        white-space: normal;
    }

    .gsk-about .gsk-button {
        margin-top: 12px;
    }

    .gsk-event-date {
        width: 72px;
    }

    .gsk-event-content h3 {
        max-width: 100%;
    }

    .gsk-footer-brand-text strong {
        font-size: 17px;
    }

    .gsk-footer-brand-text span {
        font-size: 14px;
    }
}

@media (max-width: 390px) {

    .gsk-hero h1 {
        max-width: 345px;
        font-size: 29px;
    }

    .gsk-event-card {
        grid-template-columns: 68px minmax(0, 1fr);
        gap: 18px;
        padding: 20px 18px;
    }

    .gsk-event-date {
        width: 68px;
    }

    .gsk-event-content h3 {
        font-size: 17px;
    }
}


/* =========================================================
   UNIVERSELLER UNTERSEITEN-HERO
   Kompanie, Chronik, Galerie, Veranstaltungen usw.
   ========================================================= */

.gsk-subhero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    width: 100vw;
    height: 520px;
    min-height: 520px;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
    overflow: hidden;
    background-image: var(--gsk-subhero-image);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.gsk-subhero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(
            90deg,
            rgba(6, 28, 44, 0.82) 0%,
            rgba(6, 28, 44, 0.76) 20%,
            rgba(6, 28, 44, 0.62) 38%,
            rgba(6, 28, 44, 0.40) 56%,
            rgba(6, 28, 44, 0.17) 74%,
            rgba(6, 28, 44, 0.03) 100%
        );
}

.gsk-subhero .gsk-container {
    position: relative;
    z-index: 2;
}

.gsk-subhero-content {
    width: 100%;
    max-width: 790px;
    padding: 84px 0 70px;
    color: var(--gsk-white);
}

.gsk-subhero-kicker {
    display: block;
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.5;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.34);
}

.gsk-subhero h1 {
    max-width: 760px;
    margin: 0;
    color: var(--gsk-white);
    font-family: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
    font-size: clamp(50px, 4.8vw, 76px);
    font-weight: 400;
    line-height: 1.04;
    letter-spacing: 0.005em;
    text-transform: uppercase;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
    text-shadow: 0 3px 16px rgba(0, 0, 0, 0.42);
}

.gsk-subhero-line {
    width: 110px;
    height: 4px;
    margin: 28px 0 24px;
    background: var(--gsk-red);
}

.gsk-subhero-subtitle,
.gsk-subhero p {
    max-width: 620px;
    margin: 0;
    color: rgba(255, 255, 255, 0.96);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.65;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.36);
}

@media (max-width: 1000px) {
    .gsk-subhero {
        height: 470px;
        min-height: 470px;
    }

    .gsk-subhero-content {
        max-width: 690px;
        padding: 82px 0 62px;
    }

    .gsk-subhero h1 {
        max-width: 680px;
        font-size: clamp(44px, 6vw, 64px);
    }

    .gsk-subhero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(6, 28, 44, 0.84) 0%,
                rgba(6, 28, 44, 0.77) 28%,
                rgba(6, 28, 44, 0.56) 52%,
                rgba(6, 28, 44, 0.24) 76%,
                rgba(6, 28, 44, 0.05) 100%
            );
    }
}

@media (max-width: 600px) {
    .gsk-subhero {
        height: 410px;
        min-height: 410px;
        background-position: 62% center;
    }

    .gsk-subhero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(6, 28, 44, 0.83) 0%,
                rgba(6, 28, 44, 0.78) 48%,
                rgba(6, 28, 44, 0.62) 72%,
                rgba(6, 28, 44, 0.46) 100%
            );
    }

    .gsk-subhero-content {
        max-width: 100%;
        padding: 72px 0 50px;
    }

    .gsk-subhero-kicker {
        max-width: 330px;
        margin-bottom: 14px;
        font-size: 11px;
        line-height: 1.55;
        letter-spacing: 0.09em;
    }

    .gsk-subhero h1 {
        max-width: 355px;
        font-size: clamp(36px, 10vw, 46px);
        line-height: 1.06;
        letter-spacing: 0;
    }

    .gsk-subhero-line {
        width: 82px;
        height: 3px;
        margin: 22px 0 18px;
    }

    .gsk-subhero-subtitle,
    .gsk-subhero p {
        max-width: 340px;
        font-size: 16px;
        line-height: 1.55;
    }
}

@media (max-width: 390px) {
    .gsk-subhero {
        height: 390px;
        min-height: 390px;
    }

    .gsk-subhero-content {
        padding: 66px 0 44px;
    }

    .gsk-subhero h1 {
        max-width: 325px;
        font-size: 35px;
    }

    .gsk-subhero-subtitle,
    .gsk-subhero p {
        max-width: 310px;
        font-size: 15px;
    }
}


/* =========================================================
   UNIVERSELLER SEITEN-INTRO
   ========================================================= */

.gsk-page-intro {
    position: relative;
    padding: 105px 0;
    background: var(--gsk-cream);
}

.gsk-page-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 80px;
    align-items: start;
}

.gsk-page-intro-heading h2 {
    margin: 0;
    color: var(--gsk-blue);
    font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
    font-size: clamp(44px, 4vw, 62px);
    font-weight: 400;
    line-height: 1.08;
    text-transform: uppercase;
}

.gsk-page-intro-text {
    max-width: 680px;
}

.gsk-page-intro-text p {
    margin: 0 0 18px;
    color: var(--gsk-text);
    font-size: 18px;
    line-height: 1.85;
}

.gsk-page-intro-text p:last-child {
    margin-bottom: 0;
}

.gsk-page-intro-text .gsk-page-lead {
    color: var(--gsk-blue);
    font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
    font-size: 25px;
    line-height: 1.45;
}

@media (max-width: 900px) {
    .gsk-page-intro {
        padding: 80px 0;
    }

    .gsk-page-intro-grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .gsk-page-intro-text {
        max-width: none;
    }
}

@media (max-width: 600px) {
    .gsk-page-intro {
        padding: 64px 0;
    }

    .gsk-page-intro-heading h2 {
        font-size: 36px;
    }

    .gsk-page-intro-text p {
        font-size: 16px;
        line-height: 1.68;
    }

    .gsk-page-intro-text .gsk-page-lead {
        font-size: 22px;
        line-height: 1.45;
    }
}

/* =========================================
   GSK Werte
========================================= */

.gsk-values {
    padding: 0px 0 110px;
    background: var(--gsk-cream);
}

.gsk-values-heading {
    max-width: 760px;
    margin: 0 auto 70px;
    text-align: center;
}

.gsk-values-heading .gsk-section-kicker {
    display: block;
    margin-bottom: 22px;
    color: var(--gsk-red);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.gsk-values-heading h2 {
    margin: 0;
    color: #1f252b;
    font-size: 34px;
    line-height: 1.2;
    font-weight: 700;
}

.gsk-values-heading .gsk-section-line {
    width: 100px;
    height: 4px;
    margin: 28px auto 30px;
    background: var(--gsk-red);
}

.gsk-values-heading p {
    max-width: 780px;
    margin: 0 auto;
    color: #1f252b;
    font-size: 17px;
    line-height: 1.6;
}

.gsk-values-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 35px;
    align-items: stretch;
}

.gsk-value-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 45px;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.gsk-value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(11, 45, 70, 0.15);
}

.gsk-value-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 28px;
    border-radius: 50%;
    background: var(--gsk-blue);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
}

.gsk-value-card h3 {
    margin: 0 0 18px;
    color: var(--gsk-blue);
    font-size: 28px;
    line-height: 1.25;
    font-weight: 700;
}

.gsk-value-card p {
    margin: 0;
    color: #1f252b;
    font-size: 17px;
    line-height: 1.75;
}

/* Tablet */

@media (max-width: 991px) {
    .gsk-values {
        padding: 70px 0 90px;
    }

    .gsk-values-heading {
        margin-bottom: 50px;
    }

    .gsk-values-heading h2 {
        font-size: 30px;
    }

    .gsk-values-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .gsk-value-card {
        padding: 38px;
    }
}

/* Smartphone */

@media (max-width: 575px) {
    .gsk-values {
        padding: 60px 0 75px;
    }

    .gsk-values-heading {
        margin-bottom: 40px;
        text-align: left;
    }

    .gsk-values-heading .gsk-section-line {
        margin-left: 0;
    }

    .gsk-values-heading h2 {
        font-size: 27px;
    }

    .gsk-values-heading p {
        font-size: 16px;
    }

    .gsk-value-card {
        padding: 30px 26px;
        border-radius: 14px;
    }

    .gsk-value-card h3 {
        font-size: 25px;
    }

    .gsk-value-card p {
        font-size: 16px;
    }
}

/* =========================================
   GSK Geschichte
========================================= */

.gsk-history {
    padding: 110px 0;
    background: #ffffff;
}

.gsk-history-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 80px;
    align-items: center;
}

.gsk-history-image {
    position: relative;
    overflow: hidden;
    min-height: 520px;
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(11, 45, 70, 0.14);
}

.gsk-history-image::after {
    display: none;
}

.gsk-history-image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 620px;
    object-fit: cover;
}

.gsk-history-content {
    max-width: 620px;
}

.gsk-history-content .gsk-section-kicker {
    display: block;
    margin-bottom: 20px;
    color: var(--gsk-red);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.gsk-history-content h2 {
    margin: 0;
    color: var(--gsk-blue);
    font-size: 46px;
    line-height: 1.12;
    font-weight: 500;
}

.gsk-history-content .gsk-section-line {
    width: 100px;
    height: 4px;
    margin: 30px 0 34px;
    background: var(--gsk-red);
}

.gsk-history-content p {
    margin: 0 0 22px;
    color: #1f252b;
    font-size: 17px;
    line-height: 1.8;
}

.gsk-history-content .gsk-history-lead {
    color: var(--gsk-blue);
    font-size: 21px;
    line-height: 1.65;
    font-weight: 500;
}

/* Tablet */

@media (max-width: 991px) {
    .gsk-history {
        padding: 90px 0;
    }

    .gsk-history-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .gsk-history-image,
    .gsk-history-image img {
        min-height: 500px;
    }

    .gsk-history-content {
        max-width: none;
    }

    .gsk-history-content h2 {
        font-size: 38px;
    }
}

/* Smartphone */

@media (max-width: 575px) {
    .gsk-history {
        padding: 70px 0;
    }

    .gsk-history-grid {
        gap: 36px;
    }

    .gsk-history-image {
        min-height: 360px;
        border-radius: 14px;
    }

    .gsk-history-image img {
        min-height: 360px;
    }

    .gsk-history-image::after {
        display: none;
    }

    .gsk-history-content h2 {
        font-size: 30px;
    }

    .gsk-history-content .gsk-history-lead {
        font-size: 19px;
    }

    .gsk-history-content p {
        font-size: 16px;
    }
}

/* =========================================
   GSK Hauptmannschaft
========================================= */

.gsk-command {
    padding: 100px 0 110px;
    background: var(--gsk-cream);
}

.gsk-command-heading {
    max-width: 780px;
    margin: 0 auto 65px;
    text-align: center;
}

.gsk-command-heading .gsk-section-kicker {
    display: block;
    margin-bottom: 20px;
    color: var(--gsk-red);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.gsk-command-heading h2 {
    margin: 0;
    color: var(--gsk-blue);
    font-size: 46px;
    line-height: 1.15;
    font-weight: 500;
}

.gsk-command-heading .gsk-section-line {
    width: 100px;
    height: 4px;
    margin: 28px auto 30px;
    background: var(--gsk-red);
}

.gsk-command-heading p {
    margin: 0;
    color: #1f252b;
    font-size: 17px;
    line-height: 1.75;
}

.gsk-command-captain {
    display: flex;
    justify-content: center;
    margin-bottom: 45px;
}

.gsk-command-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
}

.gsk-command-card {
    overflow: hidden;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 18px 45px rgba(11, 45, 70, 0.1);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.gsk-command-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 60px rgba(11, 45, 70, 0.16);
}

.gsk-command-card-captain {
    width: 100%;
    max-width: 430px;
}

.gsk-command-image {
    position: relative;
    overflow: hidden;
    background: #d9d9d9;
}

.gsk-command-image img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.4s ease;
}

.gsk-command-card:hover .gsk-command-image img {
    transform: scale(1.025);
}

.gsk-command-info {
    padding: 25px 24px 28px;
    text-align: center;
}

.gsk-command-rank {
    display: block;
    margin-bottom: 8px;
    color: var(--gsk-red);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.gsk-command-info h3 {
    margin: 0;
    color: var(--gsk-blue);
    font-size: 25px;
    line-height: 1.25;
    font-weight: 600;
}

.gsk-command-card-captain .gsk-command-info {
    padding: 30px 28px 34px;
}

.gsk-command-card-captain .gsk-command-rank {
    font-size: 14px;
}

.gsk-command-card-captain .gsk-command-info h3 {
    font-size: 31px;
}

/* Kleinere Desktop- und Tabletansicht */

@media (max-width: 1199px) {
    .gsk-command-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px;
    }
}

/* Tablet */

@media (max-width: 991px) {
    .gsk-command {
        padding: 85px 0 95px;
    }

    .gsk-command-heading {
        margin-bottom: 50px;
    }

    .gsk-command-heading h2 {
        font-size: 38px;
    }

    .gsk-command-captain {
        margin-bottom: 35px;
    }

    .gsk-command-card-captain {
        max-width: 390px;
    }
}

/* Smartphone */

@media (max-width: 575px) {
    .gsk-command {
        padding: 65px 0 75px;
    }

    .gsk-command-heading {
        margin-bottom: 40px;
        text-align: left;
    }

    .gsk-command-heading .gsk-section-line {
        margin-left: 0;
    }

    .gsk-command-heading h2 {
        font-size: 31px;
    }

    .gsk-command-heading p {
        font-size: 16px;
    }

    .gsk-command-captain {
        margin-bottom: 24px;
    }

    .gsk-command-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .gsk-command-card-captain {
        max-width: none;
    }

    .gsk-command-info h3 {
        font-size: 24px;
    }

    .gsk-command-card-captain .gsk-command-info h3 {
        font-size: 27px;
    }
}

/* =========================================
   GSK Fahne
========================================= */

.gsk-flag {
    padding: 110px 0;
    background: #ffffff;
}

.gsk-flag-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 80px;
    align-items: center;
}

.gsk-flag-content {
    max-width: 620px;
}

.gsk-flag-content .gsk-section-kicker {
    display: block;
    margin-bottom: 20px;
    color: var(--gsk-red);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.gsk-flag-content h2 {
    margin: 0;
    color: var(--gsk-blue);
    font-size: 46px;
    line-height: 1.15;
    font-weight: 500;
}

.gsk-flag-content .gsk-section-line {
    width: 100px;
    height: 4px;
    margin: 30px 0 34px;
    background: var(--gsk-red);
}

.gsk-flag-content p {
    margin: 0 0 22px;
    color: #1f252b;
    font-size: 17px;
    line-height: 1.8;
}

.gsk-flag-content .gsk-flag-lead {
    color: var(--gsk-blue);
    font-size: 21px;
    line-height: 1.65;
    font-weight: 500;
}

.gsk-flag-image {
    margin: 0;
}

.gsk-flag-image img {
    display: block;
    width: 100%;
    max-height: 720px;
    object-fit: cover;
    object-position: center;
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(11, 45, 70, 0.14);
}

.gsk-flag-image figcaption {
    margin-top: 16px;
    color: #5c6670;
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
    font-style: italic;
}

/* Tablet */

@media (max-width: 991px) {
    .gsk-flag {
        padding: 90px 0;
    }

    .gsk-flag-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .gsk-flag-content {
        max-width: none;
    }

    .gsk-flag-content h2 {
        font-size: 38px;
    }

    .gsk-flag-image img {
        max-height: 620px;
    }
}

/* Smartphone */

@media (max-width: 575px) {
    .gsk-flag {
        padding: 70px 0;
    }

    .gsk-flag-grid {
        gap: 36px;
    }

    .gsk-flag-content h2 {
        font-size: 31px;
    }

    .gsk-flag-content .gsk-flag-lead {
        font-size: 19px;
    }

    .gsk-flag-content p {
        font-size: 16px;
    }

    .gsk-flag-image img {
        max-height: 480px;
        border-radius: 14px;
    }

    .gsk-flag-image figcaption {
        font-size: 13px;
    }
}

/* =========================================
   GSK Galerie
========================================= */

.gsk-gallery {
    padding: 105px 0 115px;
    background: var(--gsk-cream);
}

.gsk-gallery-heading {
    max-width: 780px;
    margin: 0 auto 65px;
    text-align: center;
}

.gsk-gallery-heading .gsk-section-kicker {
    display: block;
    margin-bottom: 20px;
    color: var(--gsk-red);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.gsk-gallery-heading h2 {
    margin: 0;
    color: var(--gsk-blue);
    font-size: 46px;
    line-height: 1.15;
    font-weight: 500;
}

.gsk-gallery-heading .gsk-section-line {
    width: 100px;
    height: 4px;
    margin: 28px auto 30px;
    background: var(--gsk-red);
}

.gsk-gallery-heading p {
    margin: 0 auto;
    max-width: 720px;
    color: #1f252b;
    font-size: 17px;
    line-height: 1.75;
}

.gsk-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: 300px 300px;
    gap: 22px;
}

.gsk-gallery-item {
    position: relative;
    overflow: hidden;
    margin: 0;
    border-radius: 16px;
    background: #d9d9d9;
    box-shadow: 0 18px 45px rgba(11, 45, 70, 0.1);
}

.gsk-gallery-item-large {
    grid-column: span 2;
    grid-row: span 2;
}

.gsk-gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.gsk-gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(11, 45, 70, 0.2),
            rgba(11, 45, 70, 0));
    pointer-events: none;
}

.gsk-gallery-item:hover img {
    transform: scale(1.04);
}

/* Tablet */

@media (max-width: 991px) {
    .gsk-gallery {
        padding: 85px 0 95px;
    }

    .gsk-gallery-heading {
        margin-bottom: 50px;
    }

    .gsk-gallery-heading h2 {
        font-size: 38px;
    }

    .gsk-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: 360px 260px 260px;
    }

    .gsk-gallery-item-large {
        grid-column: span 2;
        grid-row: span 1;
    }
}

/* Smartphone */

@media (max-width: 575px) {
    .gsk-gallery {
        padding: 65px 0 75px;
    }

    .gsk-gallery-heading {
        margin-bottom: 40px;
        text-align: left;
    }

    .gsk-gallery-heading .gsk-section-line {
        margin-left: 0;
    }

    .gsk-gallery-heading h2 {
        font-size: 31px;
    }

    .gsk-gallery-heading p {
        font-size: 16px;
    }

    .gsk-gallery-grid {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: none;
        gap: 18px;
    }

    .gsk-gallery-item,
    .gsk-gallery-item-large {
        grid-column: auto;
        grid-row: auto;
        height: 280px;
        border-radius: 14px;
    }

    .gsk-gallery-item-large {
        height: 340px;
    }
}

/* =========================================
   GSK Abschlussbereich / CTA
========================================= */

.gsk-cta {
    position: relative;
    overflow: hidden;
    padding: 60px 0 68px;
    background-image: url("../images/gsk/kompanie/kompanie-cta.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.gsk-cta-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(11,45,70,.92) 0%,
            rgba(11,45,70,.78) 52%,
            rgba(11,45,70,.38) 100%
        );
}

.gsk-cta .gsk-container {
    position: relative;
    z-index: 2;
}

.gsk-cta-content {
    max-width: 760px;
}

.gsk-cta-content .gsk-section-kicker {
    display: block;
    margin-bottom: 16px;
    color: #c9a14a;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.gsk-cta-content h2 {
    margin: 0;
    color: #ffffff;
    font-size: 44px;
    line-height: 1.15;
    font-weight: 500;
}

.gsk-cta-content .gsk-section-line {
    width: 90px;
    height: 4px;
    margin: 20px 0 22px;
    background: var(--gsk-red);
}

.gsk-cta-content p {
    max-width: 650px;
    margin: 0;
    color: rgba(255,255,255,.94);
    font-size: 18px;
    line-height: 1.65;
}

.gsk-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 24px;
}

.gsk-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 13px 28px;
    border: 2px solid transparent;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: .5px;
    text-decoration: none;
    transition:
        background-color .25s ease,
        border-color .25s ease,
        color .25s ease,
        transform .25s ease;
}

.gsk-button:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.gsk-button-primary {
    background: var(--gsk-red);
    border-color: var(--gsk-red);
    color: #fff;
}

.gsk-button-primary:hover {
    background: #841216;
    border-color: #841216;
    color: #fff;
}

.gsk-button-secondary {
    background: transparent;
    border-color: rgba(255,255,255,.9);
    color: #fff;
}

.gsk-button-secondary:hover {
    background: #fff;
    border-color: #fff;
    color: var(--gsk-blue);
}

/* Tablet */

@media (max-width:991px){

    .gsk-cta{
        padding:60px 0 70px;
    }

    .gsk-cta-overlay{
        background:rgba(11,45,70,.84);
    }

    .gsk-cta-content h2{
        font-size:38px;
    }
}

/* Smartphone */

@media (max-width:575px){

    .gsk-cta{
        padding:50px 0 60px;
    }

    .gsk-cta-content h2{
        font-size:30px;
    }

    .gsk-cta-content p{
        font-size:16px;
    }

    .gsk-cta-buttons{
        display:grid;
        grid-template-columns:1fr;
        gap:14px;
        margin-top:22px;
    }

    .gsk-button{
        width:100%;
    }
}

.gsk-gallery-page,
.gsk-gallery-page *{
    box-sizing:border-box;
}
   

/* ==========================================================
   EINLEITUNG
========================================================== */

.gsk-gallery-intro {
    padding: 105px 0;
    background: #ffffff;
}

.gsk-gallery-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 80px;
    align-items: center;
}

.gsk-gallery-intro-content {
    max-width: 620px;
}

.gsk-gallery-kicker {
    display: block;
    margin-bottom: 16px;
    color: var(--gsk-red);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.gsk-gallery-intro h2,
.gsk-gallery-years-heading h2 {
    margin: 0;
    color: var(--gsk-blue);
    font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
    font-size: clamp(42px, 4vw, 62px);
    font-weight: 400;
    line-height: 1.08;
    text-transform: uppercase;
}

.gsk-gallery-line {
    width: 100px;
    height: 4px;
    margin: 26px 0 30px;
    background: var(--gsk-red);
}

.gsk-gallery-intro-content p {
    margin: 0 0 20px;
    color: var(--gsk-text);
    font-size: 17px;
    line-height: 1.8;
}

.gsk-gallery-intro-content p:last-child {
    margin-bottom: 0;
}

.gsk-gallery-intro-content .gsk-gallery-lead {
    color: var(--gsk-blue);
    font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
    font-size: 23px;
    line-height: 1.5;
}

.gsk-gallery-intro-image {
    position: relative;
}

.gsk-gallery-intro-image::before {
    position: absolute;
    top: -18px;
    right: -18px;
    bottom: 18px;
    left: 18px;
    z-index: 0;
    border: 1px solid rgba(164, 22, 26, 0.38);
    content: "";
}

.gsk-gallery-intro-image img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 540px;
    object-fit: cover;
    object-position: center;
    box-shadow: 0 20px 48px rgba(11, 45, 70, 0.16);
}


/* ==========================================================
   JAHRESÜBERSICHT
========================================================== */

.gsk-gallery-years {
    padding: 105px 0 115px;
    background: var(--gsk-cream);
}

.gsk-gallery-years-heading {
    max-width: 850px;
    margin: 0 auto 55px;
    text-align: center;
}

.gsk-gallery-years-heading p {
    max-width: 720px;
    margin: 0 auto;
    color: var(--gsk-text);
    font-size: 17px;
    line-height: 1.75;
}

.gsk-gallery-line-center {
    margin-right: auto;
    margin-left: auto;
}


/* ==========================================================
   JAHRESKARTEN
========================================================== */

.gsk-gallery-year-card {
    position: relative;
    display: flex;
    min-height: 410px;
    overflow: hidden;
    align-items: flex-end;
    color: #ffffff;
    text-decoration: none !important;
    background: var(--gsk-blue-dark);
    box-shadow: 0 18px 44px rgba(11, 45, 70, 0.18);
    isolation: isolate;
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.gsk-gallery-year-card-large {
    min-height: 520px;
}

.gsk-gallery-year-card img {
    position: absolute;
    inset: 0;
    z-index: -3;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.65s ease;
}

.gsk-gallery-year-shade {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(90deg,
            rgba(5, 23, 37, 0.96) 0%,
            rgba(5, 23, 37, 0.82) 45%,
            rgba(5, 23, 37, 0.30) 100%);
}

.gsk-gallery-year-card:hover,
.gsk-gallery-year-card:focus {
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-6px);
    box-shadow: 0 28px 60px rgba(11, 45, 70, 0.28);
}

.gsk-gallery-year-card:hover img,
.gsk-gallery-year-card:focus img {
    transform: scale(1.055);
}

.gsk-gallery-year-content {
    width: 100%;
    max-width: 670px;
    padding: 52px;
}

.gsk-gallery-year-label {
    display: block;
    margin-bottom: 14px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.gsk-gallery-year-card h3 {
    margin: 0 0 18px;
    color: #ffffff;
    font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
    font-size: clamp(42px, 5vw, 70px);
    font-weight: 400;
    line-height: 1.04;
    text-transform: uppercase;
}

.gsk-gallery-year-grid .gsk-gallery-year-card h3 {
    font-size: clamp(34px, 3vw, 48px);
}

.gsk-gallery-year-card p {
    max-width: 580px;
    margin: 0 0 26px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 17px;
    line-height: 1.7;
}

.gsk-gallery-year-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 7px;
    color: #ffffff;
    border-bottom: 2px solid var(--gsk-red);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.gsk-gallery-year-link span {
    font-size: 20px;
    transition: transform 0.25s ease;
}

.gsk-gallery-year-card:hover .gsk-gallery-year-link span {
    transform: translateX(5px);
}

.gsk-gallery-year-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    margin-top: 28px;
}

.gsk-gallery-year-grid .gsk-gallery-year-content {
    padding: 42px;
}


/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 991px) {

    .gsk-gallery-intro,
    .gsk-gallery-years {
        padding: 80px 0;
    }

    .gsk-gallery-intro-grid {
        grid-template-columns: 1fr;
        gap: 52px;
    }

    .gsk-gallery-intro-image {
        order: -1;
    }

    .gsk-gallery-intro-image img {
        height: 430px;
    }

    .gsk-gallery-year-grid {
        grid-template-columns: 1fr;
    }

    .gsk-gallery-year-card-large {
        min-height: 470px;
    }
}


/* ==========================================================
   SMARTPHONE
========================================================== */

@media (max-width: 600px) {

    .gsk-gallery-intro,
    .gsk-gallery-years {
        padding: 64px 0;
    }

    .gsk-gallery-intro-grid {
        gap: 38px;
    }

    .gsk-gallery-intro h2,
    .gsk-gallery-years-heading h2 {
        font-size: 35px;
    }

    .gsk-gallery-intro-content p,
    .gsk-gallery-years-heading p {
        font-size: 16px;
        line-height: 1.68;
    }

    .gsk-gallery-intro-content .gsk-gallery-lead {
        font-size: 21px;
        line-height: 1.45;
    }

    .gsk-gallery-intro-image::before {
        top: -10px;
        right: -10px;
        bottom: 10px;
        left: 10px;
    }

    .gsk-gallery-intro-image img {
        height: 300px;
    }

    .gsk-gallery-years-heading {
        margin-bottom: 38px;
        text-align: left;
    }

    .gsk-gallery-line-center {
        margin-left: 0;
    }

    .gsk-gallery-year-grid {
        gap: 20px;
        margin-top: 20px;
    }

    .gsk-gallery-year-card,
    .gsk-gallery-year-card-large {
        min-height: 410px;
    }

    .gsk-gallery-year-shade {
        background:
            linear-gradient(0deg,
                rgba(5, 23, 37, 0.97) 0%,
                rgba(5, 23, 37, 0.78) 60%,
                rgba(5, 23, 37, 0.26) 100%);
    }

    .gsk-gallery-year-content,
    .gsk-gallery-year-grid .gsk-gallery-year-content {
        padding: 30px 25px;
    }

    .gsk-gallery-year-card h3,
    .gsk-gallery-year-grid .gsk-gallery-year-card h3 {
        font-size: 36px;
    }

    .gsk-gallery-year-card p {
        font-size: 16px;
        line-height: 1.6;
    }
}
/* ==========================================================
   GALERIE-HAUPTSEITE – JAHRESKARTEN
   Nur für das Modul gsk-gallery-years-module
========================================================== */

.gsk-gallery-years-module .gsk-gallery-years-wrap {
    padding: 35px 0 110px;
    background: var(--gsk-cream, #f3efe8);
}

.gsk-gallery-years-module .gsk-gallery-years {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 28px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.gsk-gallery-years-module .gsk-gallery-card {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: 360px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 14px !important;
    background: var(--gsk-blue-dark, #061c2c) !important;
    box-shadow: 0 16px 36px rgba(11, 45, 70, 0.16) !important;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease !important;
}

.gsk-gallery-years-module .gsk-gallery-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 24px 48px rgba(11, 45, 70, 0.24) !important;
}

.gsk-gallery-years-module .gsk-gallery-card > a {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

.gsk-gallery-years-module .gsk-gallery-card-image {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

.gsk-gallery-years-module .gsk-gallery-card-image img {
    display: block !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    min-height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: cover !important;
    object-position: center !important;
    transition: transform 0.5s ease !important;
}

.gsk-gallery-years-module .gsk-gallery-card:hover img {
    transform: scale(1.045) !important;
}

.gsk-gallery-years-module .gsk-gallery-overlay {
    position: absolute !important;
    inset: 0 !important;
    z-index: 2 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    padding: 34px !important;
    background:
        linear-gradient(
            to top,
            rgba(5, 23, 37, 0.94) 0%,
            rgba(5, 23, 37, 0.55) 42%,
            rgba(5, 23, 37, 0.05) 75%
        ) !important;
    color: #ffffff !important;
}

.gsk-gallery-years-module .gsk-gallery-overlay .gsk-year {
    display: block !important;
    margin: 0 0 8px !important;
    color: #ffffff !important;
    font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif !important;
    font-size: 38px !important;
    font-weight: 400 !important;
    line-height: 1.05 !important;
    text-transform: uppercase !important;
}

.gsk-gallery-years-module .gsk-gallery-overlay p {
    margin: 0 !important;
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 15px !important;
    line-height: 1.5 !important;
}

/* Tablet */

@media (max-width: 991px) {

    .gsk-gallery-years-module .gsk-gallery-years-wrap {
        padding: 75px 0 85px;
    }

    .gsk-gallery-years-module .gsk-gallery-years {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 24px !important;
    }

    .gsk-gallery-years-module .gsk-gallery-card {
        height: 330px !important;
    }
}

/* Smartphone */

@media (max-width: 600px) {

    .gsk-gallery-years-module .gsk-gallery-years-wrap {
        padding: 55px 0 65px;
    }

    .gsk-gallery-years-module .gsk-gallery-years {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .gsk-gallery-years-module .gsk-gallery-card {
        height: 280px !important;
        border-radius: 12px !important;
    }

    .gsk-gallery-years-module .gsk-gallery-overlay {
        padding: 25px !important;
    }

    .gsk-gallery-years-module .gsk-gallery-overlay .gsk-year {
        font-size: 32px !important;
    }
}

/* =========================================================
   PHOCA GALLERY – EINZELGALERIE
   Desktop: 3 Bilder | Tablet: 2 Bilder | Mobil: 1 Bild
   ========================================================= */

/* Nur die geöffnete Phoca-Bilderkategorie */
#phocagallery #pg-msnr-container.pg-category-items-box {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 20px !important;

    width: min(1320px, calc(100% - 64px)) !important;
    max-width: 1320px !important;
    height: auto !important;

    margin: 18px auto 55px !important;
    padding: 0 !important;

    position: relative !important;
    box-sizing: border-box !important;
}

/* Von Phoca/Masonry gesetzte Positionen zurücksetzen */
#phocagallery #pg-msnr-container.pg-category-items-box > .pg-item-box {
    position: relative !important;
    inset: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;

    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;

    box-sizing: border-box !important;
}

/* Bildkarte */
#phocagallery .pg-item-box-image {
    width: 100% !important;
    margin: 0 !important;
    overflow: hidden !important;

    border-radius: 8px !important;
    background: #ffffff !important;
    box-shadow: 0 10px 26px rgba(6, 28, 44, 0.16) !important;

    transition: transform 0.28s ease, box-shadow 0.28s ease !important;
}

#phocagallery .pg-item-box-image a {
    display: block !important;
    width: 100% !important;
}

#phocagallery .pg-item-box-image img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 3 !important;
    object-fit: cover !important;

    border: 0 !important;
    border-radius: 8px !important;
    box-shadow: none !important;
}

#phocagallery .pg-item-box:hover .pg-item-box-image {
    transform: translateY(-4px) !important;
    box-shadow: 0 16px 34px rgba(6, 28, 44, 0.22) !important;
}

#phocagallery .pg-item-box figcaption {
    padding: 10px 4px 4px !important;
    color: #20262c !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
}

@media (max-width: 1000px) {
    #phocagallery #pg-msnr-container.pg-category-items-box {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 18px !important;
        width: calc(100% - 44px) !important;
        margin-top: 26px !important;
        margin-bottom: 60px !important;
    }
}

@media (max-width: 650px) {
    #phocagallery #pg-msnr-container.pg-category-items-box {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        width: calc(100% - 30px) !important;
        margin-top: 20px !important;
        margin-bottom: 45px !important;
    }
}
/* =========================================================
   PHOCA-UNTERGALERIE – INTRO NÄHER AN DIE BILDER
   ========================================================= */

body.com-phocagallery.view-category .gsk-page-intro {
    padding-top: 90px !important;
    padding-bottom: 35px !important;
}

body.com-phocagallery.view-category #pg-msnr-container {
    margin-top: 0 !important;
}
/* =========================================================
   GSK – VERANSTALTUNGS-DETAILSEITE
   Passend zum PHP-Override com_content/article/default.php
   ========================================================= */

.gsk-event-detail {
    padding: 90px 0 105px;
    background: var(--gsk-cream);
}

.gsk-event-detail .gsk-container {
    width: min(1180px, calc(100% - 64px));
    margin-right: auto;
    margin-left: auto;
}


/* Überschrift */

.gsk-event-detail-header {
    margin-bottom: 46px;
}

.gsk-event-detail-title {
    margin: 0;
    color: var(--gsk-blue);
    font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
    font-size: clamp(44px, 4.5vw, 66px);
    font-weight: 400;
    line-height: 1.08;
    text-transform: none;
}

.gsk-event-detail-line {
    width: 100px;
    height: 4px;
    margin-top: 24px;
    background: var(--gsk-red);
}


/* Zweispaltiger Aufbau */

.gsk-event-detail-layout {
    display: grid;
    grid-template-columns: minmax(330px, 0.82fr) minmax(0, 1.18fr);
    gap: 64px;
    align-items: start;
}

.gsk-event-detail-main {
    min-width: 0;
}


/* Datum, Uhrzeit und Ort */

.gsk-event-detail-meta {
    display: grid;
    gap: 16px;
    margin-bottom: 34px;
}

.gsk-event-detail-meta-item {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    padding: 17px 18px;
    background: #ffffff;
    border-left: 4px solid var(--gsk-red);
    box-shadow: 0 10px 28px rgba(11, 45, 70, 0.08);
}

.gsk-event-detail-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--gsk-blue);
    color: #ffffff;
    font-size: 18px;
    line-height: 1;
}

.gsk-event-detail-label {
    display: block;
    margin-bottom: 3px;
    color: #70777d;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.gsk-event-detail-meta-item strong {
    display: block;
    color: var(--gsk-blue);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
}


/* Beschreibung */

.gsk-event-detail-description {
    margin-top: 8px;
    color: var(--gsk-text);
    font-size: 19px;
    line-height: 1.75;
}

.gsk-event-detail-text {
    margin-top: 26px;
    color: var(--gsk-text);
    font-size: 17px;
    line-height: 1.8;
}

.gsk-event-detail-text p {
    margin-top: 0;
    margin-bottom: 20px;
}

.gsk-event-detail-text p:last-child {
    margin-bottom: 0;
}


/* Bild */

.gsk-event-detail-image {
    margin: 0;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(11, 45, 70, 0.16);
}

.gsk-event-detail-image img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
}


/* Optionaler externer Link */

.gsk-event-detail-actions {
    margin-top: 34px;
}

.gsk-event-detail-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 14px 25px;
    background: var(--gsk-red);
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: 0.06em;
    text-align: center;
    text-decoration: none !important;
    text-transform: uppercase;
    transition:
        background-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.gsk-event-detail-button:hover {
    background: var(--gsk-blue);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(11, 45, 70, 0.18);
}


/* Zurück-Link */

.gsk-event-detail-back {
    margin-top: 60px;
    padding-top: 28px;
    border-top: 1px solid rgba(11, 45, 70, 0.16);
}

.gsk-event-detail-back a {
    color: var(--gsk-blue);
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
}

.gsk-event-detail-back a:hover {
    color: var(--gsk-red);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 980px) {

    .gsk-event-detail {
        padding: 75px 0 85px;
    }

    .gsk-event-detail-layout {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .gsk-event-detail-image {
        order: -1;
    }

    .gsk-event-detail-image img {
        height: auto;
        max-height: 620px;
    }
}


/* =========================================================
   SMARTPHONE
   ========================================================= */

@media (max-width: 600px) {

    .gsk-event-detail {
        padding: 55px 0 65px;
    }

    .gsk-event-detail .gsk-container {
        width: calc(100% - 30px);
    }

    .gsk-event-detail-header {
        margin-bottom: 32px;
    }

    .gsk-event-detail-title {
        font-size: 38px;
    }

    .gsk-event-detail-line {
        width: 82px;
        height: 3px;
        margin-top: 20px;
    }

    .gsk-event-detail-layout {
        gap: 30px;
    }

    .gsk-event-detail-meta {
        gap: 12px;
        margin-bottom: 28px;
    }

    .gsk-event-detail-meta-item {
        grid-template-columns: 40px minmax(0, 1fr);
        gap: 12px;
        padding: 14px;
    }

    .gsk-event-detail-icon {
        width: 36px;
        height: 36px;
        font-size: 15px;
    }

    .gsk-event-detail-meta-item strong {
        font-size: 16px;
    }

    .gsk-event-detail-description {
        font-size: 17px;
        line-height: 1.65;
    }

    .gsk-event-detail-text {
        font-size: 16px;
        line-height: 1.7;
    }

    .gsk-event-detail-button {
        width: 100%;
        padding-right: 18px;
        padding-left: 18px;
    }

    .gsk-event-detail-back {
        margin-top: 42px;
    }
}
/* =========================================================
   GSK CHRONIK
   ========================================================= */

.gsk-chronik {
    position: relative;
    width: 100vw;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
    padding: 40px 0 90px;
    background: var(--gsk-cream);
}

.gsk-timeline{
    position:relative;
    margin:45px auto 0;
    max-width:820px;
}

.gsk-timeline::before{
    content:"";
    position:absolute;
    left:55px;
    top:0;
    bottom:0;
    width:3px;
    background:#c9a14a;
}

.gsk-timeline-item{
    position:relative;
    display:flex;
    gap:40px;
    margin-bottom:70px;
}

.gsk-year{
    width:80px;
    height:80px;

    flex-shrink:0;

    border-radius:50%;

    background: var(--gsk-blue);
    border:5px solid #c9a14a;

    color:#fff;

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

    text-align:center;

    font-weight:700;
    font-size:18px;
    line-height:1.1;

    position:relative;
    z-index:2;
}

.gsk-content{

    flex:1;

    background:#fff;

    padding:20px 24px;

    border-radius:16px;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

    transition:.25s;
}

.gsk-content:hover{

    transform:translateY(-4px);

    box-shadow:0 16px 36px rgba(0,0,0,.12);

}

.gsk-content h3{

    margin:0 0 12px;

    color: var(--gsk-blue);

    font-size:24px;
    margin:0 0 10px;

}

.gsk-content p{

    margin:0;

    line-height:1.8;

}
/* =========================================================
   GSK CHRONIK – ABSCHLUSS
   ========================================================= */

.gsk-chronik-fortsetzung {
    max-width: 820px;
    margin: 30px auto 0;
    padding: 42px 46px;
    background: var(--gsk-blue);
    border-radius: 18px;
    color: #ffffff;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12);
}

.gsk-chronik-fortsetzung .gsk-kicker {
    display: block;
    margin-bottom: 10px;
    color: #c9a14a;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.gsk-chronik-fortsetzung h2 {
    margin: 0 0 16px;
    color: #ffffff;
    font-size: 32px;
    line-height: 1.2;
}

.gsk-chronik-fortsetzung p {
    max-width: 720px;
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.8;
}


/* =========================================================
   GSK CHRONIK – EINLEITUNG
   ========================================================= */

.gsk-chronik-intro {
    padding: 72px 0 36px;
    background: var(--gsk-cream);
}

.gsk-chronik-intro-inner {
    max-width: 920px;
}

.gsk-chronik-kicker {
    display: block;
    margin-bottom: 12px;
    color: var(--gsk-red);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.gsk-chronik-intro h2 {
    margin: 0;
    color: var(--gsk-blue);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(38px, 4vw, 58px);
    font-weight: 400;
    line-height: 1.08;
    text-transform: uppercase;
}

.gsk-chronik-intro-line {
    width: 72px;
    height: 3px;
    margin: 22px 0 26px;
    background: var(--gsk-red);
}

.gsk-chronik-intro p {
    max-width: 860px;
    margin: 0 0 14px;
    color: var(--gsk-text);
    font-size: 18px;
    line-height: 1.75;
}

.gsk-chronik-intro p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   SMARTPHONE
   ========================================================= */

@media (max-width: 767px) {

    .gsk-chronik-intro {
        padding: 50px 0 24px;
    }

    .gsk-chronik-intro h2 {
        font-size: 36px;
    }

    .gsk-chronik-intro p {
        font-size: 16px;
        line-height: 1.65;
    }
}

/* =========================================================
   PRÄSENTATIONS-FEINSCHLIFF – AUGUST 2026
   ========================================================= */

/* Startseite: Galerie-Button näher an die Bilder */
.gsk-gallery-action {
    margin-top: 26px;
}

/* Kompanie: Bereich „Unsere Werte“ näher an den vorherigen Abschnitt */
.gsk-values {
    padding-top: 20px;
}

/* =========================================================
   VERANSTALTUNGSSEITE – HELLE TERMINÜBERSICHT
   Nur für das alternative Layout gskterminehell
   ========================================================= */

.gsk-events.gsk-events-light {
    padding: 80px 0 105px;
    background: var(--gsk-cream) !important;
    background-image: none !important;
    color: var(--gsk-text);
}

.gsk-events.gsk-events-light::after {
    display: none !important;
}

.gsk-events-light .gsk-events-head,
.gsk-events-light .gsk-events-grid {
    width: min(1080px, 100%);
    margin-right: auto;
    margin-left: auto;
}

.gsk-events-light .gsk-events-head {
    align-items: center;
    margin-bottom: 44px;
}

.gsk-events-light .gsk-events-head > div:first-child {
    flex: 1 1 auto;
}

.gsk-events-light .gsk-events-kicker {
    margin-bottom: 12px;
    color: var(--gsk-red);
    opacity: 1;
}

.gsk-events-light h2 {
    color: var(--gsk-blue);
}

.gsk-events-light .gsk-events-line {
    margin-top: 24px;
}

.gsk-events-light .gsk-events-all {
    align-self: center;
    margin-top: 30px;
    color: var(--gsk-blue);
    border-bottom-color: rgba(11, 45, 70, 0.28);
    white-space: nowrap;
    transition:
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.gsk-events-light .gsk-events-all:hover {
    color: var(--gsk-red);
    border-color: var(--gsk-red);
    transform: translateX(3px);
}

.gsk-events-light .gsk-events-grid {
    align-items: stretch;
    gap: 26px;
}

.gsk-events-light .gsk-event-card {
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 21px;
    align-items: start;
    height: 100%;
    min-height: 174px;
    padding: 24px 26px;
    border: 1px solid rgba(11, 45, 70, 0.08);
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(6, 28, 44, 0.09);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.gsk-events-light .gsk-event-card:hover {
    transform: translateY(-5px);
    border-color: rgba(164, 22, 26, 0.18);
    box-shadow: 0 25px 58px rgba(6, 28, 44, 0.14);
}

.gsk-events-light .gsk-event-date {
    width: 74px;
    min-width: 74px;
    border-width: 1px;
    background: #ffffff;
}

.gsk-events-light .gsk-event-date strong {
    padding: 10px 5px 5px;
    font-size: 31px;
    font-weight: 500;
    line-height: 1;
}

.gsk-events-light .gsk-event-date span {
    min-height: 27px;
    padding: 7px 4px 6px;
    background: var(--gsk-red);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.1em;
}

.gsk-events-light .gsk-event-content {
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
}

.gsk-events-light .gsk-event-content h3 {
    margin: 0 0 8px;
    color: var(--gsk-blue);
    font-size: 19px;
    line-height: 1.25;
}

.gsk-events-light .gsk-event-content p {
    margin: 0 0 5px;
    color: #545d64;
    font-size: 15px;
    line-height: 1.45;
}

.gsk-events-light .gsk-event-meta {
    margin-bottom: 14px;
    color: #747d84;
    font-size: 14px;
}

.gsk-events-light .gsk-event-content a,
.gsk-events-light .gsk-event-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    margin-top: auto;
    padding-top: 9px;
    color: var(--gsk-blue);
    border-bottom: 1px solid rgba(11, 45, 70, 0.22);
    font-size: 13px;
    font-weight: 800;
}

.gsk-events-light .gsk-event-content a:hover,
.gsk-events-light .gsk-event-more:hover {
    color: var(--gsk-red);
    border-bottom-color: var(--gsk-red);
}

/* =========================================================
   CHRONIK – BILDER IN EINZELNEN ZEITEINTRÄGEN
   ========================================================= */

.gsk-chronik-image {
    margin: 0 0 24px;
}

.gsk-chronik-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 18px 45px rgba(6, 28, 44, 0.18);
}

.gsk-chronik-image figcaption {
    margin-top: 12px;
    color: #666666;
    font-size: 14px;
    font-style: italic;
    line-height: 1.5;
    text-align: center;
}

/* =========================================================
   CHRONIK – JAHRESNAVIGATION
   ========================================================= */

.gsk-chronik-jumpnav {
    width: min(1050px, 100%);
    margin: 0 auto 80px;
    padding: 28px 36px 30px;

    background: #ffffff;
    border: 1px solid rgba(11, 45, 70, 0.08);
    border-radius: 18px;

    box-shadow:
        0 18px 46px rgba(6, 28, 44, 0.09);
}

.gsk-chronik-jumpnav-head {
    margin-bottom: 18px;
    text-align: center;
}

.gsk-chronik-jumpnav-head .gsk-section-kicker {
    margin-bottom: 10px;
}

.gsk-chronik-jumpnav-head h2 {
    margin: 0;
    color: var(--gsk-blue);

    font-family:
        "Palatino Linotype",
        "Book Antiqua",
        Palatino,
        Georgia,
        serif;

    font-size: clamp(30px, 3vw, 42px);
    font-weight: 400;
    line-height: 1.15;
}

.gsk-chronik-jumpnav-head .gsk-section-line {
    width: 80px;
    height: 3px;
    margin: 20px auto 0;
}

.gsk-chronik-group-title {
    margin: 24px 0 12px;
    color: var(--gsk-blue);

    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-align: center;
    text-transform: uppercase;
}

.gsk-chronik-group-title:first-of-type {
    margin-top: 0;
}

.gsk-chronik-jumpnav-years {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 11px;
}

.gsk-chronik-jumpnav-years a {
    position: relative;

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

    min-width: 68px;
    min-height: 42px;
    padding: 9px 14px;

    background: var(--gsk-blue);
    border: 2px solid var(--gsk-gold);
    border-radius: 8px;

    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.02em;

    box-shadow:
        0 7px 18px rgba(6, 28, 44, 0.12);

    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.gsk-chronik-jumpnav-years a:hover,
.gsk-chronik-jumpnav-years a:focus-visible {
    background: var(--gsk-red);
    border-color: var(--gsk-red);
    color: #ffffff;

    transform: translateY(-2px) scale(1.03);

    box-shadow:
        0 12px 25px rgba(164, 22, 26, 0.19);
}

/* Jahre mit vorhandenem Bild */

.gsk-chronik-jumpnav-years a.has-image {
    padding-right: 25px;
}

.gsk-chronik-jumpnav-years a.has-image::after {
    content: "";
    position: absolute;
    top: 7px;
    right: 7px;

    width: 7px;
    height: 7px;

    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 50%;

    background: var(--gsk-gold);

    box-shadow:
        0 0 0 2px rgba(201, 161, 74, 0.18);
}

.gsk-chronik-jumpnav-years a.has-image:hover::after,
.gsk-chronik-jumpnav-years a.has-image:focus-visible::after {
    background: #ffffff;
}

/* Legende zur Bildkennzeichnung */

.gsk-chronik-jumpnav-legend {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    margin-top: 20px;

    color: #667078;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.gsk-chronik-image-marker {
    display: inline-block;
    width: 8px;
    height: 8px;

    border: 1px solid var(--gsk-blue);
    border-radius: 50%;

    background: var(--gsk-gold);
}

/* Beim Anspringen nicht unter dem festen Header verschwinden */

.gsk-timeline-item {
    scroll-margin-top: 120px;
}

/* Nur das tatsächlich angewählte Ziel hervorheben */

.gsk-timeline-item:target .gsk-year {
    background: var(--gsk-red);
    border-color: var(--gsk-red);

    box-shadow:
        0 0 0 8px rgba(164, 22, 26, 0.12);
}

.gsk-timeline-item:target .gsk-content {
    border-color: rgba(164, 22, 26, 0.22);

    box-shadow:
        0 24px 55px rgba(164, 22, 26, 0.13);
}

/* =========================================================
   TABLET – ZUSÄTZLICHER FEINSCHLIFF
   ========================================================= */

@media (max-width: 900px) {

    .gsk-events.gsk-events-light {
        padding: 75px 0 85px;
    }

    .gsk-events-light .gsk-events-head,
    .gsk-events-light .gsk-events-grid {
        width: 100%;
    }

    .gsk-events-light .gsk-events-all {
        margin-top: 20px;
    }

    .gsk-chronik-jumpnav {
        width: calc(100% - 44px);
        margin-bottom: 55px;
        padding: 25px 28px 28px;
    }

    .gsk-chronik-jumpnav-years {
        gap: 9px;
    }

    .gsk-chronik-jumpnav-years a {
        min-width: 64px;
        min-height: 40px;
        padding: 8px 12px;
        font-size: 13px;
    }

    .gsk-chronik-jumpnav-years a.has-image {
        padding-right: 23px;
    }
}

/* =========================================================
   SMARTPHONE – ZUSÄTZLICHER FEINSCHLIFF
   ========================================================= */

@media (max-width: 700px) {

    .gsk-events.gsk-events-light {
        padding: 62px 0 70px;
    }

    .gsk-events-light .gsk-events-head {
        align-items: flex-start;
        margin-bottom: 34px;
    }

    .gsk-events-light .gsk-events-all {
        align-self: flex-start;
        margin-top: 17px;
    }

    .gsk-events-light .gsk-events-grid {
        gap: 19px;
    }

    .gsk-events-light .gsk-event-card {
        grid-template-columns: 68px minmax(0, 1fr);
        gap: 17px;
        min-height: 0;
        padding: 20px 17px;
    }

    .gsk-events-light .gsk-event-date {
        width: 68px;
        min-width: 68px;
    }

    .gsk-events-light .gsk-event-date strong {
        font-size: 28px;
    }

    .gsk-events-light .gsk-event-content h3 {
        font-size: 17px;
    }
}

@media (max-width: 600px) {

    .gsk-chronik {
        padding: 30px 0 70px;
    }

    .gsk-chronik-jumpnav {
        width: calc(100% - 30px);
        margin-top: 5px;
        margin-bottom: 45px;
        padding: 23px 17px 25px;
        border-radius: 14px;
    }

    .gsk-chronik-jumpnav-head {
        margin-bottom: 18px;
    }

    .gsk-chronik-jumpnav-head h2 {
        font-size: 29px;
    }

    .gsk-chronik-group-title {
        margin: 20px 0 10px;
        font-size: 11px;
    }

    .gsk-chronik-jumpnav-years {
        justify-content: flex-start;
        gap: 8px;
    }

    .gsk-chronik-jumpnav-years a {
        flex: 1 0 66px;
        min-width: 66px;
        max-width: 92px;
        min-height: 39px;
        padding: 8px 9px;
        font-size: 12px;
    }

    .gsk-chronik-jumpnav-years a.has-image {
        padding-right: 21px;
    }

    .gsk-chronik-jumpnav-years a.has-image::after {
        top: 6px;
        right: 6px;
        width: 6px;
        height: 6px;
    }

    .gsk-chronik-jumpnav-legend {
        justify-content: flex-start;
        margin-top: 17px;
        font-size: 11px;
    }

    .gsk-timeline-item {
        scroll-margin-top: 90px;
    }

    .gsk-chronik-image figcaption {
        font-size: 12px;
    }
}
/* =========================================================
   DATENSCHUTZ & IMPRESSUM
   ========================================================= */

.item-page {
    max-width: 980px;
    margin: -70px auto 80px;
    padding: 50px 60px;

    background: #ffffff;
    border-radius: 18px;

    box-shadow:
        0 20px 50px rgba(6,28,44,.10);

    position: relative;
    z-index: 10;
}

.item-page h1{
    display:none;
}

.item-page h2,
.item-page h3{
    color: var(--gsk-blue);
    margin-top:40px;
    margin-bottom:16px;
}

.item-page p,
.item-page li{
    line-height:1.9;
}

.item-page ul{
    padding-left:22px;
}

.item-page strong{
    color:var(--gsk-blue);
}

@media(max-width:900px){

.item-page{
    margin:-45px 20px 60px;
    padding:35px;
}

}

@media(max-width:600px){

.item-page{
    padding:25px;
}

}
/* =========================================================
   IMPRESSUM UND DATENSCHUTZ – INHALTSKARTE
   ========================================================= */

body.datenschutz-alias .astroid-component-area,
body.impressum-alias .astroid-component-area {
    padding: 80px 0 100px !important;
    background: var(--gsk-cream);
}

body.datenschutz-alias .com-content-article.item-page,
body.impressum-alias .com-content-article.item-page {
    position: relative;
    z-index: 5;

    width: min(980px, calc(100% - 64px)) !important;
    max-width: 1100px !important;

    margin: -65px auto 70px !important;
    padding: 52px 58px !important;

    background: #ffffff;
    border: 1px solid rgba(11, 45, 70, 0.08);
    border-radius: 18px;

    box-shadow:
        0 20px 50px rgba(6, 28, 44, 0.11);
}

body.datenschutz-alias .com-content-article.item-page > h1,
body.impressum-alias .com-content-article.item-page > h1,
body.datenschutz-alias .page-header,
body.impressum-alias .page-header {
    display: none !important;
}

body.datenschutz-alias .com-content-article.item-page h2,
body.datenschutz-alias .com-content-article.item-page h3,
body.impressum-alias .com-content-article.item-page h2,
body.impressum-alias .com-content-article.item-page h3 {
    margin: 38px 0 15px;
    color: var(--gsk-blue);

    font-family:
        "Palatino Linotype",
        "Book Antiqua",
        Palatino,
        Georgia,
        serif;

    line-height: 1.25;
}

body.datenschutz-alias .com-content-article.item-page h2:first-child,
body.datenschutz-alias .com-content-article.item-page h3:first-child,
body.impressum-alias .com-content-article.item-page h2:first-child,
body.impressum-alias .com-content-article.item-page h3:first-child {
    margin-top: 0;
}

body.datenschutz-alias .com-content-article.item-page p,
body.datenschutz-alias .com-content-article.item-page li,
body.impressum-alias .com-content-article.item-page p,
body.impressum-alias .com-content-article.item-page li {
    color: var(--gsk-text);
    font-size: 16px;
    line-height: 1.8;
}

body.datenschutz-alias .com-content-article.item-page ul,
body.impressum-alias .com-content-article.item-page ul {
    padding-left: 24px;
}

body.datenschutz-alias .com-content-article.item-page a,
body.impressum-alias .com-content-article.item-page a {
    color: var(--gsk-red);
    text-decoration: underline;
    text-underline-offset: 3px;
}

body.datenschutz-alias .com-content-article.item-page a:hover,
body.impressum-alias .com-content-article.item-page a:hover {
    color: var(--gsk-blue);
}

@media (max-width: 900px) {

    body.datenschutz-alias .astroid-component-area,
    body.impressum-alias .astroid-component-area {
        padding: 65px 0 80px !important;
    }

    body.datenschutz-alias .com-content-article.item-page,
    body.impressum-alias .com-content-article.item-page {
        width: calc(100% - 44px) !important;
        margin-top: -40px !important;
        padding: 40px 36px !important;
    }
}

@media (max-width: 600px) {

    body.datenschutz-alias .astroid-component-area,
    body.impressum-alias .astroid-component-area {
        padding: 50px 0 65px !important;
    }

    body.datenschutz-alias .com-content-article.item-page,
    body.impressum-alias .com-content-article.item-page {
        width: calc(100% - 30px) !important;
        margin-top: -25px !important;
        padding: 28px 22px !important;
        border-radius: 14px;
    }

    body.datenschutz-alias .com-content-article.item-page p,
    body.datenschutz-alias .com-content-article.item-page li,
    body.impressum-alias .com-content-article.item-page p,
    body.impressum-alias .com-content-article.item-page li {
        font-size: 15px;
        line-height: 1.7;
    }
}
/* =========================================================
   STARTSEITE – GALERIEKARTEN MIT TEXTEINBLENDUNG
   ========================================================= */

.gsk-gallery-card {
    position: relative;
    display: block;
    min-height: 300px;
    overflow: hidden;

    background: var(--gsk-blue);
    border-radius: 2px;

    box-shadow:
        0 16px 36px rgba(0, 0, 0, 0.13);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.gsk-gallery-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;

    pointer-events: none;

    background:
        linear-gradient(
            to top,
            rgba(6, 28, 44, 0.90) 0%,
            rgba(6, 28, 44, 0.52) 38%,
            rgba(6, 28, 44, 0.04) 72%
        );
}

.gsk-gallery-card img {
    width: 100%;
    height: 300px;

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

    transition:
        transform 0.45s ease,
        filter 0.45s ease;
}

.gsk-gallery-card-overlay {
    position: absolute;
    right: 26px;
    bottom: 24px;
    left: 26px;
    z-index: 2;

    color: #ffffff;

    transition:
        transform 0.3s ease;
}

.gsk-gallery-card-overlay span {
    display: block;
    margin-bottom: 7px;

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

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.gsk-gallery-card-overlay h3 {
    margin: 0;

    color: #ffffff;

    font-family:
        "Palatino Linotype",
        "Book Antiqua",
        Palatino,
        Georgia,
        serif;

    font-size: 25px;
    font-weight: 400;
    line-height: 1.18;
}

.gsk-gallery-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 22px 46px rgba(6, 28, 44, 0.20);
}

.gsk-gallery-card:hover img {
    transform: scale(1.055);
    filter: brightness(0.92);
}

.gsk-gallery-card:hover .gsk-gallery-card-overlay {
    transform: translateY(-4px);
}

/* Button näher an die Vorschaubilder */

.gsk-gallery-action {
    margin-top: 34px;
    text-align: center;
}

/* Tablet */

@media (max-width: 900px) {

    .gsk-gallery-card,
    .gsk-gallery-card img {
        min-height: 280px;
        height: 280px;
    }
}

/* Smartphone */

@media (max-width: 600px) {

    .gsk-gallery-card,
    .gsk-gallery-card img {
        min-height: 235px;
        height: 235px;
    }

    .gsk-gallery-card-overlay {
        right: 20px;
        bottom: 20px;
        left: 20px;
    }

    .gsk-gallery-card-overlay h3 {
        font-size: 22px;
    }

    .gsk-gallery-action {
        margin-top: 28px;
    }
}

/* =========================================================
   STARTSEITE – GALERIE: LEERZEILE ENTFERNEN
   ========================================================= */

/*
   Eine ältere allgemeine Galerie-Regel erzeugt zwei feste Grid-Zeilen
   (300px 300px). Auf der Startseite gibt es aber nur drei Karten in
   einer einzigen Zeile. Dadurch entstand unter den Bildern eine leere
   zweite Zeile und der Button wurde weit nach unten gedrückt.
*/

.gsk-gallery > .gsk-container > .gsk-gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: none;
    grid-auto-rows: auto;
    align-items: stretch;
}

.gsk-gallery > .gsk-container > .gsk-gallery-action {
    margin-top: 26px;
}

@media (max-width: 900px) {
    .gsk-gallery > .gsk-container > .gsk-gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        grid-auto-rows: auto;
    }
}

@media (max-width: 600px) {
    .gsk-gallery > .gsk-container > .gsk-gallery-action {
        margin-top: 24px;
    }
}
/* =========================================================
   SOCIAL MEDIA
   ========================================================= */

.gsk-social {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.gsk-facebook-link,
.gsk-instagram-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: .25s;
}

.gsk-facebook-link:hover,
.gsk-instagram-link:hover {
    color: var(--gsk-gold);
}

.gsk-facebook-icon,
.gsk-instagram-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
}

.gsk-facebook-icon {
    background: #1877F2;
    font-size: 27px;
    font-weight: 700;
    font-family: Arial, sans-serif;
}

.gsk-instagram-icon {
    background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af, #515bd4);
    font-size: 18px;
    font-weight: 700;
}
/* =========================================================
   KOMPANIE – ABSTAND ZWISCHEN INTRO UND WERTEN
   ========================================================= */

.gsk-page-intro-kompanie {
    padding-bottom: 45px;
}

.gsk-page-intro-kompanie + .gsk-values {
    padding-top: 0;
}
/* CTA – Überschrift und Text sicher lesbar */

.gsk-cta .gsk-cta-content h2 {
    color: #ffffff !important;
}

.gsk-cta .gsk-cta-content p {
    color: rgba(255, 255, 255, 0.94) !important;
}
/* =========================================================
   KOMPANIE – AUSSCHUSS
   ========================================================= */

.gsk-board {
    padding: 100px 0 110px;
    background: var(--gsk-cream);
}

.gsk-board-heading {
    max-width: 850px;
    margin: 0 auto 60px;
    text-align: center;
}

.gsk-board-heading h2 {
    margin: 0;

    color: var(--gsk-blue);

    font-family:
        "Palatino Linotype",
        "Book Antiqua",
        Palatino,
        Georgia,
        serif;

    font-size: clamp(38px, 3.6vw, 56px);
    font-weight: 400;
    line-height: 1.12;
}

.gsk-board-heading .gsk-section-line {
    margin: 26px auto 28px;
}

.gsk-board-heading p {
    max-width: 780px;
    margin: 0 auto;

    color: var(--gsk-text);
    font-size: 17px;
    line-height: 1.7;
}

.gsk-board-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px;
    align-items: stretch;
}

.gsk-board-grid .gsk-command-card {
    width: 100%;
    height: 100%;
}

/* Das 13. Mitglied mittig in der letzten Reihe */

.gsk-board-grid .gsk-command-card:last-child {
    grid-column: 2 / span 2;
    width: min(100%, 310px);
    justify-self: center;
}

/* Tablet */

@media (max-width: 1100px) {

    .gsk-board-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .gsk-board-grid .gsk-command-card:last-child {
        grid-column: auto;
        width: 100%;
        justify-self: stretch;
    }
}

@media (max-width: 800px) {

    .gsk-board {
        padding: 80px 0 90px;
    }

    .gsk-board-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }
}

/* Smartphone */

@media (max-width: 560px) {

    .gsk-board {
        padding: 65px 0 75px;
    }

    .gsk-board-heading {
        margin-bottom: 42px;
        text-align: left;
    }

    .gsk-board-heading h2 {
        font-size: 34px;
    }

    .gsk-board-heading .gsk-section-line {
        margin-left: 0;
    }

    .gsk-board-heading p {
        font-size: 16px;
        line-height: 1.65;
    }

    .gsk-board-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }
}
/* =========================================================
   HAUPTMANNSCHAFT UND AUSSCHUSS – VEREINSFUNKTION
   ========================================================= */

.gsk-command-office {
    display: block;
    margin-bottom: 7px;

    color: var(--gsk-blue);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.gsk-command-info .gsk-command-rank {
    display: block;
    margin-bottom: 9px;
}

.gsk-command-info h3 {
    margin-top: 0;
}
/* =========================================================
   KOMPANIE – DREI BESONDERE FUNKTIONEN
   ========================================================= */

.gsk-functions {
    padding: 90px 0 100px;
    background: #ffffff;
}

.gsk-functions-heading {
    max-width: 820px;
    margin: 0 auto 55px;
    text-align: center;
}

.gsk-functions-heading h2 {
    margin: 0;

    color: var(--gsk-blue);

    font-family:
        "Palatino Linotype",
        "Book Antiqua",
        Palatino,
        Georgia,
        serif;

    font-size: clamp(36px, 3.4vw, 52px);
    font-weight: 400;
    line-height: 1.12;
}

.gsk-functions-heading .gsk-section-line {
    margin: 24px auto 26px;
}

.gsk-functions-heading p {
    max-width: 740px;
    margin: 0 auto;

    color: var(--gsk-text);
    font-size: 17px;
    line-height: 1.7;
}

.gsk-functions-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 310px));
    justify-content: center;
    gap: 34px;
}

.gsk-functions-grid .gsk-command-card {
    width: 100%;
}

/* Tablet */

@media (max-width: 800px) {

    .gsk-functions {
        padding: 75px 0 85px;
    }
}

/* Smartphone */

@media (max-width: 560px) {

    .gsk-functions {
        padding: 60px 0 70px;
    }

    .gsk-functions-heading {
        margin-bottom: 40px;
        text-align: left;
    }

    .gsk-functions-heading h2 {
        font-size: 33px;
    }

    .gsk-functions-heading .gsk-section-line {
        margin-left: 0;
    }

    .gsk-functions-heading p {
        font-size: 16px;
        line-height: 1.65;
    }

    .gsk-functions-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }
}
/* =========================================================
   HAUPTMANNSCHAFT – 1. UND 2. VORSTAND
   ========================================================= */

.gsk-command-leadership {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 390px));
    justify-content: center;
    gap: 40px;
    margin-bottom: 38px;
}

.gsk-command-card-lead {
    width: 100%;
}

.gsk-command-card-lead .gsk-command-image {
    height: 440px;
}

.gsk-command-card-lead .gsk-command-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gsk-command-card-lead .gsk-command-info {
    padding: 26px 28px 28px;
}

.gsk-command-office {
    display: block;
    margin-bottom: 6px;
    color: var(--gsk-blue);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.gsk-command-card-lead .gsk-command-rank {
    display: block;
    margin-bottom: 8px;
}

.gsk-command-card-lead h3 {
    margin-top: 0;
}


/* =========================================================
   DREIERREIHE
   1. Schützenmeister / 1. Kassier / 1. Schriftführer
   ========================================================= */

.gsk-command-grid-three {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

/* =========================================================
   KOMPANIE – HAUPTMANNSCHAFT / WEITERE FUNKTIONEN
   Passend zur neuen HTML-Struktur
   ========================================================= */

/* Hauptmannschaft: Vorstand */
.gsk-command-leadership {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 390px));
    justify-content: center;
    gap: 40px;
    margin-bottom: 38px;
}

.gsk-command-card-lead {
    width: 100%;
}

.gsk-command-card-lead .gsk-command-image {
    height: 440px;
}

.gsk-command-card-lead .gsk-command-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.gsk-command-card-lead .gsk-command-info {
    padding: 26px 28px 28px;
}

/* Hauptmannschaft: 1. Schützenmeister / 1. Kassier / 1. Schriftführer */
.gsk-command-grid-three {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    max-width: 1000px;
    margin: 0 auto;
}

/* Weitere Funktionen – eigener weißer Abschnitt */
/* =========================================================
   WEITERE FUNKTIONEN
   ========================================================= */

.gsk-functions {
    position: relative;
    width: 100%;
    padding: 90px 0 100px;
    background: #ffffff;
}

.gsk-functions-heading {
    max-width: 820px;
    margin: 0 auto 55px;
    text-align: center;
}

.gsk-functions-heading h2 {
    margin: 0;
    color: var(--gsk-blue);
    font-family: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
    font-size: clamp(36px, 3.4vw, 52px);
    font-weight: 400;
    line-height: 1.12;
}

.gsk-functions-heading .gsk-section-line {
    margin: 24px auto 26px;
}

.gsk-functions-heading p {
    max-width: 740px;
    margin: 0 auto;
    color: var(--gsk-text);
    font-size: 17px;
    line-height: 1.7;
}


/* =========================================================
   OBERE REIHE – 2 KARTEN MITTIG
   gleiche Größe wie untere Karten
   ========================================================= */

.gsk-functions-lead {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: center;
    gap: 28px;
    max-width: calc(50% - 14px);
    margin: 0 auto 40px;
}


/* =========================================================
   UNTERE REIHE – 4 KARTEN
   ========================================================= */

.gsk-functions-grid-four {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
    width: 100%;
}


/* =========================================================
   ALLE 6 KARTEN GLEICH
   ========================================================= */

.gsk-functions .gsk-command-card {
    width: 100%;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 14px 35px rgba(11, 45, 70, 0.10);
}

.gsk-functions .gsk-command-image {
    width: 100%;
    height: 360px;
    overflow: hidden;
    background: #ffffff;
}

.gsk-functions .gsk-command-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.gsk-functions .gsk-command-info {
    min-height: 145px;
    padding: 24px 20px 26px;
    background: #ffffff;
    text-align: center;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991px) {

    .gsk-functions-lead {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 100%;
    }

    .gsk-functions-grid-four {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* =========================================================
   SMARTPHONE
   ========================================================= */

@media (max-width: 575px) {

    .gsk-functions {
        padding: 60px 0 70px;
    }

    .gsk-functions-lead,
    .gsk-functions-grid-four {
        grid-template-columns: 1fr;
        max-width: 390px;
        margin-left: auto;
        margin-right: auto;
    }

    .gsk-functions-lead {
        margin-bottom: 22px;
    }

    .gsk-functions .gsk-command-image {
        height: 390px;
    }
}
/* =========================================================
   AUSSCHUSS – 6 KARTEN + MARKETENDERIN
   ========================================================= */

.gsk-board-grid-six {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px;
    width: 100%;
    margin-top: 50px;
}

.gsk-board-card {
    width: 100%;
    overflow: hidden;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(11, 45, 70, 0.10);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.gsk-board-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 38px rgba(11, 45, 70, 0.15);
}

.gsk-board-image {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #ffffff;
}

.gsk-board-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.gsk-board-info {
    min-height: 125px;
    padding: 18px 12px 20px;
    background: #ffffff;
    text-align: center;
}

.gsk-board-function {
    display: block;
    margin-bottom: 6px;
    color: var(--gsk-blue);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.gsk-board-rank {
    display: block;
    margin-bottom: 10px;
    color: var(--gsk-red);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.gsk-board-info h3 {
    margin: 0;
    color: var(--gsk-blue);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
}


/* =========================================================
   MARKETENDERIN MITTIG
   ========================================================= */

.gsk-board-marketenderin {
    width: calc((100% - 90px) / 6);
    margin: 30px auto 0;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .gsk-board-grid-six {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 24px;
    }

    .gsk-board-marketenderin {
        width: calc((100% - 48px) / 3);
    }
}


/* =========================================================
   SMARTPHONE
   ========================================================= */

@media (max-width: 575px) {

    .gsk-board-grid-six {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .gsk-board-marketenderin {
        width: calc((100% - 16px) / 2);
        margin-top: 20px;
    }

    .gsk-board-info {
        min-height: 115px;
        padding: 16px 8px 18px;
    }

    .gsk-board-info h3 {
        font-size: 16px;
    }

    .gsk-board-function,
    .gsk-board-rank {
        font-size: 11px;
    }
}
/* =========================================================
   GSK GALERIE – ZURÜCK-BUTTON
   ========================================================= */

#phocagallery .gsk-gallery-back {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    margin: 55px 0 25px !important;
    padding: 0 !important;
}

#phocagallery .gsk-gallery-back-button {
    appearance: none !important;
    -webkit-appearance: none !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;

    width: auto !important;
    min-width: 220px !important;
    min-height: 52px !important;

    padding: 14px 26px !important;

    background: #0b2d46 !important;
    border: 2px solid #0b2d46 !important;
    border-radius: 5px !important;

    color: #ffffff !important;

    font-family: inherit !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    letter-spacing: 0.4px !important;

    cursor: pointer !important;
    box-shadow: 0 8px 20px rgba(11, 45, 70, 0.15) !important;

    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease !important;
}

#phocagallery .gsk-gallery-back-button span {
    color: #ffffff !important;
    font-size: 21px !important;
    line-height: 1 !important;
}

#phocagallery .gsk-gallery-back-button:hover {
    background: #a4161a !important;
    border-color: #a4161a !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(11, 45, 70, 0.22) !important;
}

/* Smartphone */

@media (max-width: 575px) {

    #phocagallery .gsk-gallery-back {
        margin: 40px 0 20px !important;
        padding: 0 20px !important;
    }

    #phocagallery .gsk-gallery-back-button {
        width: 100% !important;
        max-width: 320px !important;
    }
    #phocagallery .gsk-gallery-back-button {
    text-decoration: none !important;
}
}
/* =========================================================
   TERMIN-DETAIL – KURZINFO
   ========================================================= */

.gsk-event-detail-description-label {
    display: block;
    margin-bottom: 10px;
    font-size: 20px !important;
    font-weight: 800 !important;
    line-height: 1.3;
}
/* =========================================================
   AUTOMATISCHE KK- / K98-TERMINE – GOLD
   ========================================================= */

.gsk-event-card-auto {
    background:
        linear-gradient(
            135deg,
            rgba(201, 161, 74, 0.12),
            rgba(255, 255, 255, 0.98)
        ) !important;

    border: 2px solid rgba(201, 161, 74, 0.75) !important;

    box-shadow:
        0 14px 32px rgba(201, 161, 74, 0.16) !important;
}


/* Datum links */

.gsk-event-card-auto .gsk-event-date {
    border-color: var(--gsk-gold) !important;
}

.gsk-event-card-auto .gsk-event-date strong {
    color: var(--gsk-blue) !important;
}

.gsk-event-card-auto .gsk-event-date span {
    background: var(--gsk-gold) !important;
    color: #ffffff !important;
}


/* Überschrift */

.gsk-event-card-auto .gsk-event-content h3 {
    color: var(--gsk-blue) !important;
}


/* Kennzeichnung unten */

.gsk-event-card-auto .gsk-event-more {
    color: var(--gsk-gold) !important;
    font-weight: 800 !important;
}


/* Kein typischer Link-Hover, da diese Karten nicht anklickbar sind */

.gsk-event-card-auto:hover {
    transform: none !important;

    box-shadow:
        0 14px 32px rgba(201, 161, 74, 0.20) !important;
}
/* =========================================================
   STARTSEITE – AUTOMATISCHE KK-/K98-TERMINE BESSER LESBAR
   ========================================================= */

.gsk-events:not(.gsk-events-light) .gsk-event-card-auto {
    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.98),
            rgba(247, 240, 220, 0.96)
        ) !important;

    border: 2px solid var(--gsk-gold) !important;
}

.gsk-events:not(.gsk-events-light) .gsk-event-card-auto .gsk-event-content h3 {
    color: var(--gsk-blue) !important;
}

.gsk-events:not(.gsk-events-light) .gsk-event-card-auto .gsk-event-content p {
    color: #4f565c !important;
}

.gsk-events:not(.gsk-events-light) .gsk-event-card-auto .gsk-event-meta {
    color: #626a70 !important;
}

.gsk-events:not(.gsk-events-light) .gsk-event-card-auto .gsk-event-auto-text {
    color: #3f464c !important;
}

.gsk-events:not(.gsk-events-light) .gsk-event-card-auto .gsk-event-more {
    color: #9a731f !important;
}
/* =========================================================
   KOMPANIE – MOBILE OPTIMIERUNG
   ========================================================= */

@media (max-width: 600px) {

    /* Große Intro-Überschrift etwas kompakter */
    .gsk-command-intro h2,
    .gsk-kompanie-intro h2 {
        font-size: 34px !important;
        line-height: 1.08 !important;
    }

    /* Hauptmannschaft: auf Smartphone immer 1 Spalte */
    .gsk-command-leadership,
    .gsk-command-grid-three,
    .gsk-command-grid-two,
    .gsk-functions-grid,
    .gsk-board-grid {
        grid-template-columns: 1fr !important;
        max-width: 100% !important;
        gap: 24px !important;
    }

    /* Karten volle Breite */
    .gsk-command-card,
    .gsk-command-card-lead,
    .gsk-functions-grid .gsk-command-card,
    .gsk-board-grid .gsk-command-card {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Bilder auf angenehme Höhe begrenzen */
    .gsk-command-image,
    .gsk-command-card-lead .gsk-command-image,
    .gsk-command-grid-two .gsk-command-image,
    .gsk-board-grid .gsk-command-image {
        height: auto !important;
        min-height: 0 !important;
    }

    .gsk-command-image img,
    .gsk-command-card-lead .gsk-command-image img,
    .gsk-command-grid-two .gsk-command-image img,
    .gsk-board-grid .gsk-command-image img {
        width: 100% !important;
        height: auto !important;
        object-fit: cover !important;
    }

    /* Namen und Funktionen sauber lesbar */
    .gsk-command-info {
        padding: 22px 18px 24px !important;
        text-align: center !important;
    }

    .gsk-command-info h3 {
        font-size: 24px !important;
        line-height: 1.2 !important;
        overflow-wrap: anywhere !important;
    }

    .gsk-command-office,
    .gsk-command-rank {
        font-size: 12px !important;
        line-height: 1.35 !important;
    }

    /* Ausschuss ebenfalls einspaltig */
    .gsk-board-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
    }
}
/* =========================================================
   CHRONIK – MOBILE KORREKTUR
   ========================================================= */

@media (max-width: 600px) {

    .gsk-timeline {
        width: calc(100% - 30px);
        max-width: none;
        margin: 30px auto 0;
    }

    .gsk-timeline::before {
        left: 35px;
        width: 2px;
    }

    .gsk-timeline-item {
        display: grid;
        grid-template-columns: 70px minmax(0, 1fr);
        gap: 14px;
        width: 100%;
        margin-bottom: 42px;
        align-items: start;
    }

    .gsk-year {
        width: 70px;
        height: 70px;
        border-width: 4px;
        font-size: 16px;
        box-sizing: border-box;
    }

    .gsk-content {
        min-width: 0;
        width: 100%;
        padding: 18px 16px;
        box-sizing: border-box;
        border-radius: 14px;
        overflow: hidden;
    }

    .gsk-content h3 {
        font-size: 21px;
        line-height: 1.18;
        overflow-wrap: anywhere;
        word-break: normal;
    }

    .gsk-content p {
        font-size: 15px;
        line-height: 1.65;
        overflow-wrap: anywhere;
    }

    .gsk-content img,
    .gsk-chronik-image,
    .gsk-chronik-image img,
    .gsk-content figure {
        max-width: 100%;
        width: 100%;
        height: auto;
        box-sizing: border-box;
    }
}
/* =========================================================
   FOOTER – SOCIAL MEDIA MOBILE ZENTRIEREN
   ========================================================= */

@media (max-width: 600px) {

    .gsk-footer .gsk-social {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
    }

    .gsk-footer .gsk-facebook-link,
    .gsk-footer .gsk-instagram-link {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        width: auto !important;
        margin: 0 auto !important;
    }
}
/* =========================================================
   STARTSEITE – WICHTIGE INFORMATIONEN
   ========================================================= */

.gsk-info-links {
    padding: 80px 0 90px;
    background: var(--gsk-cream);
}

.gsk-info-links-head {
    margin-bottom: 40px;
}

.gsk-info-links-head h2 {
    margin: 0;
    color: var(--gsk-blue);
    font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
    font-size: clamp(38px, 3.5vw, 52px);
    font-weight: 400;
    line-height: 1.1;
    text-transform: uppercase;
}

.gsk-info-links-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.gsk-info-link-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 28px;
    background: #ffffff;
    border: 1px solid rgba(11, 45, 70, 0.12);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
    transition: 0.25s;
}

.gsk-info-link-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(11, 45, 70, 0.14);
}

.gsk-info-link-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--gsk-blue);
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
}

.gsk-info-link-card h3 {
    margin: 0 0 8px;
    color: var(--gsk-blue);
    font-size: 19px;
    line-height: 1.3;
}

.gsk-info-link-card > div > span {
    color: var(--gsk-red);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

@media (max-width: 900px) {
    .gsk-info-links-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .gsk-info-links {
        padding: 60px 0 70px;
    }

    .gsk-info-link-card {
        padding: 22px 20px;
    }

    .gsk-info-links-head h2 {
        font-size: 34px;
    }
}
/* =========================================================
   STARTSEITE – AKTUELLER HINWEIS
   ========================================================= */

.gsk-aktuell {
    padding: 90px 0;
    background: #ffffff;
}

.gsk-aktuell-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 70px;
    align-items: center;
}

.gsk-aktuell-content h2 {
    margin: 12px 0 0;
    color: var(--gsk-blue);
    font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
    font-size: clamp(40px, 4vw, 58px);
    font-weight: 400;
    line-height: 1.08;
}

.gsk-aktuell-content p {
    max-width: 520px;
    margin: 28px 0;
    color: var(--gsk-text);
    font-size: 17px;
    line-height: 1.8;
}

.gsk-aktuell-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 26px;
    background: var(--gsk-red);
    color: #ffffff !important;
    font-weight: 700;
    text-decoration: none !important;
    transition: 0.25s;
}

.gsk-aktuell-button:hover {
    transform: translateY(-2px);
    background: var(--gsk-blue);
}

.gsk-aktuell-image img {
    display: block;
    width: 100%;
    max-height: 560px;
    object-fit: contain;
    border-radius: 14px;
}


/* TABLET */

@media (max-width: 900px) {

    .gsk-aktuell-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .gsk-aktuell-content {
        max-width: 650px;
    }
}


/* HANDY */

@media (max-width: 600px) {

    .gsk-aktuell {
        padding: 65px 0;
    }

    .gsk-aktuell-grid {
        gap: 35px;
    }

    .gsk-aktuell-content h2 {
        font-size: 36px;
    }

    .gsk-aktuell-content p {
        font-size: 16px;
        line-height: 1.7;
    }

    .gsk-aktuell-button {
        width: 100%;
    }

    .gsk-aktuell-image img {
        max-height: none;
    }
}
/* =========================================================
   GSK MIESBACH – 404 FEHLERSEITE
   ========================================================= */

body.gsk-error-page {
    margin: 0;
    min-height: 100vh;
    position: relative;
    overflow: hidden;

    background-image: url('/images/gsk/Datenschutz.jpg') !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed;
}

/* Dunkle Überlagerung über dem Astroid-Hintergrundbild */
.gsk-error-overlay {
    position: fixed;
    inset: 0;
    background: rgba(6, 28, 44, 0.68);
    z-index: 1;
}

/* Gesamter Inhaltsbereich */
.gsk-error-wrap {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    text-align: center;
}

/* Inhalt */
.gsk-error-content {
    width: 100%;
    max-width: 760px;
    color: #ffffff;
}

/* Große 404 */
.gsk-error-code {
    font-size: clamp(90px, 12vw, 170px);
    line-height: 0.9;
    font-weight: 700;
    letter-spacing: 4px;
    color: #ffffff;
    margin-bottom: 25px;
}

/* Rote CI-Linie */
.gsk-error-line {
    width: 90px;
    height: 4px;
    background: #a4161a;
    margin: 0 auto 30px;
}

/* Überschrift */
.gsk-error-content h1 {
    margin: 0 0 20px;
    color: #ffffff;
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 600;
    line-height: 1.15;
}

/* Haupttext */
.gsk-error-lead {
    margin: 0 0 10px;
    color: #ffffff;
    font-size: 20px;
    line-height: 1.6;
}

/* Zweiter Text */
.gsk-error-text {
    margin: 0 auto 35px;
    max-width: 620px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 16px;
    line-height: 1.7;
}

/* Button */
.gsk-error-button {
    display: inline-block;
    padding: 14px 32px;
    background: #a4161a;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 16px;
    font-weight: 600;
    border-radius: 3px;
    transition: all 0.2s ease;
}

.gsk-error-button:hover,
.gsk-error-button:focus {
    background: #ffffff;
    color: #0b2d46 !important;
    transform: translateY(-2px);
}

/* Smartphone */
@media (max-width: 600px) {

    .gsk-error-wrap {
        padding: 30px 20px;
    }

    .gsk-error-code {
        margin-bottom: 20px;
    }

    .gsk-error-line {
        margin-bottom: 24px;
    }

    .gsk-error-lead {
        font-size: 18px;
    }

    .gsk-error-text {
        font-size: 15px;
    }
}