/* ==========================================
   PAGES.CSS
   Öffentliche Seiten: Kontakt, News,
   Changelog, Datenschutz, Impressum
========================================== */

/* Einheitliches Box-Modell nur für die öffentlichen Seiten. */
.page-shell,
.page-shell *,
.page-shell *::before,
.page-shell *::after,
.news-modal-backdrop,
.news-modal-backdrop *,
.news-modal-backdrop *::before,
.news-modal-backdrop *::after,
.news-image-lightbox,
.news-image-lightbox *,
.news-image-lightbox *::before,
.news-image-lightbox *::after,
.spiel-page,
.spiel-page *,
.spiel-page *::before,
.spiel-page *::after {
    box-sizing: border-box;
}


/* ==========================================
   GLOBALE SEITENFLÄCHE
========================================== */

.page-shell {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: var(--footer-height);

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

    padding: 58px 24px 0;

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

    scrollbar-width: thin;
    scrollbar-color: rgba(216, 164, 63, .85) rgba(5, 13, 23, .95);
}

.page-shell::-webkit-scrollbar {
    width: 10px;
}

.page-shell::-webkit-scrollbar-track {
    background: rgba(5, 13, 23, .95);
    border-left: 1px solid rgba(216, 164, 63, .18);
}

.page-shell::-webkit-scrollbar-thumb {
    background:
        linear-gradient(
            180deg,
            rgba(242, 196, 92, .95),
            rgba(174, 118, 34, .95)
        );

    border: 2px solid rgba(5, 13, 23, .95);
    border-radius: 10px;
}

.page-shell::-webkit-scrollbar-thumb:hover {
    background:
        linear-gradient(
            180deg,
            rgba(255, 220, 125, 1),
            rgba(205, 142, 43, 1)
        );
}


/* ==========================================
   SEITEN-HINTERGRÜNDE
========================================== */

.contact-page {
    background:
        linear-gradient(
            180deg,
            rgba(4, 10, 18, .58) 0%,
            rgba(4, 10, 18, .72) 50%,
            rgba(4, 10, 18, .88) 100%
        ),
        url("/assets/backgrounds/kontaktBG.webp");
}

.news-page {
    background:
        linear-gradient(
            180deg,
            rgba(4, 10, 18, .18) 0%,
            rgba(4, 10, 18, .28) 55%,
            rgba(4, 10, 18, .42) 100%
        ),
        url("/assets/backgrounds/newsBG.webp");
}

.changelog-page {
    background:
        linear-gradient(
            180deg,
            rgba(4, 10, 18, .58) 0%,
            rgba(4, 10, 18, .76) 55%,
            rgba(4, 10, 18, .90) 100%
        ),
        url("/assets/backgrounds/changelogBG.webp");
}

.privacy-page {
    background:
        linear-gradient(
            180deg,
            rgba(4, 10, 18, .58) 0%,
            rgba(4, 10, 18, .76) 55%,
            rgba(4, 10, 18, .90) 100%
        ),
        url("/assets/backgrounds/datenschutzBG.webp");
}


.legal-page,
.imprint-page {
    background:
        linear-gradient(
            180deg,
            rgba(4, 10, 18, .58) 0%,
            rgba(4, 10, 18, .76) 55%,
            rgba(4, 10, 18, .90) 100%
        ),
        url("/assets/backgrounds/impressumBG.webp");
}


.contact-page,
.news-page,
.changelog-page,
.privacy-page,
.legal-page,
.imprint-page {
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

/* ==========================================
   SEITENRAHMEN-SPEZIALISIERUNG
   Basisrahmen und Ecken liegen in theme.css.
========================================== */

.news-frame,
.changelog-frame,
.contact-frame,
.privacy-frame,
.legal-frame,
.imprint-frame {
    max-width: none;
}

/* Einheitlicher, dunkler Blau-Ton für alle großen Inhaltsboxen. */
.contact-frame,
.news-frame,
.changelog-frame,
.privacy-frame,
.legal-frame,
.imprint-frame {
    background: linear-gradient(180deg, #102238 0%, #091827 100%) !important;
}


/* ==========================================
   KONTAKT - LAYOUT
========================================== */

.contact-layout {
    position: relative;
    z-index: 3;

    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, .85fr);
    gap: 36px;
}

.contact-form-area,
.contact-info-box {
    border: 1px solid rgba(216, 159, 63, .24);

    background: rgba(4, 12, 22, .42);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .04),
        0 16px 36px rgba(0, 0, 0, .22);
}

.contact-form-area {
    padding: 26px 28px 28px;
}

.contact-info-area {
    display: flex;
    flex-direction: column;
    gap: 16px;
}


/* ==========================================
   KONTAKT - SECTION HEADLINES
========================================== */

.contact-section-head {
    display: flex;
    align-items: center;
    gap: 12px;

    margin: 0 0 22px;
}

.contact-section-head span {
    color: rgba(216, 164, 63, .88);

    font-family: Georgia, "Times New Roman", serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.contact-section-head h2 {
    margin: 0;

    color: #d8a43f;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.contact-section-head::after {
    content: "";
    flex: 1;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            rgba(216, 159, 63, .55),
            transparent
        );
}


/* ==========================================
   KONTAKT - FORMULAR
========================================== */

.contact-form {
    display: grid;
    gap: 14px;
}

.contact-field label {
    display: none;
}

.contact-input-wrap {
    position: relative;
}

.contact-icon {
    position: absolute;
    top: 50%;
    left: 16px;

    transform: translateY(-50%);

    color: rgba(232, 237, 242, .58);
    font-size: 17px;
    line-height: 1;

    pointer-events: none;
}

.contact-textarea-wrap .contact-icon {
    top: 20px;
    transform: none;
}

.contact-input-wrap input,
.contact-input-wrap textarea,
.contact-input-wrap select {
    width: 100%;

    padding: 13px 16px 13px 46px;

    color: #e8edf2;
    font: inherit;

    background: rgba(2, 8, 16, .42);
    border: 1px solid rgba(232, 237, 242, .18);
    border-radius: 4px;

    outline: none;

    box-shadow:
        inset 0 1px 3px rgba(0, 0, 0, .35),
        0 1px 0 rgba(255, 255, 255, .03);
}

.contact-input-wrap textarea {
    min-height: 134px;
    resize: vertical;
}

.contact-input-wrap input::placeholder,
.contact-input-wrap textarea::placeholder {
    color: rgba(232, 237, 242, .58);
}

.contact-input-wrap input:disabled,
.contact-input-wrap textarea:disabled {
    opacity: 1;
    cursor: not-allowed;
}

.contact-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;

    margin-top: 10px;
}

.contact-actions span {
    color: rgba(232, 237, 242, .62);
    font-size: 14px;
}

.contact-actions button {
    min-width: 270px;
    height: 46px;

    color: #15100a;

    background:
        linear-gradient(
            180deg,
            #f1c85e 0%,
            #d89f3f 100%
        );

    border: 1px solid rgba(255, 221, 132, .45);
    border-radius: 4px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;

    box-shadow:
        0 10px 24px rgba(0, 0, 0, .28),
        inset 0 1px 0 rgba(255, 255, 255, .38);

    cursor: pointer;
    pointer-events: auto;
    opacity: 1;

    transition:
        transform .12s ease,
        filter .12s ease,
        box-shadow .12s ease;
}

.contact-actions button:hover {
    filter: brightness(1.08);

    box-shadow:
        0 12px 28px rgba(0, 0, 0, .34),
        inset 0 1px 0 rgba(255, 255, 255, .44);
}

.contact-actions button:active {
    transform: translateY(1px);
}

.contact-actions button:disabled {
    cursor: not-allowed;
    pointer-events: none;
    opacity: .45;
}


/* ==========================================
   KONTAKT - INFOBOXEN
========================================== */

.contact-info-box {
    padding: 20px 22px;
}

.contact-info-row {
    display: grid;
    grid-template-columns: 30px 1fr;
    gap: 14px;

    padding: 10px 0;

    border-bottom: 1px solid rgba(232, 237, 242, .08);
}

.contact-info-row:last-child {
    border-bottom: none;
}

.contact-info-row > span {
    color: #d89f3f;
    font-size: 18px;
    text-align: center;
}

.contact-info-row strong {
    display: block;

    margin-bottom: 4px;

    color: #f4f0e8;
    font-size: 15px;
    font-weight: 700;
}

.contact-info-row p {
    margin: 0;

    color: rgba(232, 237, 242, .76);
    font-size: 14px;
    line-height: 1.5;
}

.contact-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.contact-tags span {
    padding: 7px 13px;

    color: rgba(244, 240, 232, .82);
    font-size: 13px;

    background: rgba(2, 8, 16, .34);
    border: 1px solid rgba(216, 159, 63, .28);
    border-radius: 4px;
}


/* ==========================================
   KONTAKT - UNTERE BOXEN
========================================== */

.contact-extra {
    position: relative;
    z-index: 3;

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

    margin-top: 30px;
}

.contact-extra-card {
    position: relative;

    min-height: 190px;
    padding: 22px 22px 24px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at top right,
            rgba(216, 164, 63, .12),
            transparent 42%
        ),
        linear-gradient(
            180deg,
            rgba(6, 16, 29, .78),
            rgba(3, 10, 19, .88)
        );

    border: 1px solid rgba(36, 56, 77, .95);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .045),
        0 14px 32px rgba(0, 0, 0, .26);
}

.contact-extra-card::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 22px;
    right: 22px;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(216, 164, 63, .75),
            transparent
        );
}

.contact-extra-card::after {
    content: "";
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 16px;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            rgba(216, 164, 63, .30),
            transparent
        );
}

.contact-extra-top {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 14px;
}

.contact-extra-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 30px;
    height: 30px;

    color: #d8a43f;
    background: rgba(2, 8, 16, .45);

    border: 1px solid rgba(216, 164, 63, .38);
    border-radius: 50%;

    font-size: 14px;
    line-height: 1;
}

.contact-extra-kicker {
    color: rgba(216, 164, 63, .90);

    font-family: Georgia, "Times New Roman", serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.contact-extra-card h2 {
    margin: 0 0 10px;

    color: #f4f0e8;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 19px;
    font-weight: 500;
    line-height: 1.25;
}

.contact-extra-card p {
    margin: 0;

    color: rgba(232, 237, 242, .76);

    font-size: 14px;
    line-height: 1.6;
}


/* ==========================================
   KONTAKT - UNTEN
========================================== */

.contact-bottom {
    position: relative;
    z-index: 3;

    margin-top: 34px;

    text-align: center;
}

.contact-bottom-line {
    width: min(520px, 80%);
    height: 1px;

    margin: 0 auto 16px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(216, 159, 63, .65),
            transparent
        );
}

.contact-bottom p {
    margin: 0 0 8px;

    color: rgba(232, 237, 242, .78);
    font-size: 16px;
    font-style: italic;
}

.contact-bottom strong {
    color: #d89f3f;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
}


/* ==========================================
   NEWS - HAUPTMELDUNG
========================================== */

.news-featured {
    position: relative;
    z-index: 3;

    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr);
    gap: 0;

    margin-bottom: 28px;

    background:
        linear-gradient(
            180deg,
            rgba(4, 12, 22, .58),
            rgba(3, 9, 17, .72)
        );

    border: 1px solid rgba(36, 56, 77, .95);

    box-shadow:
        0 20px 46px rgba(0, 0, 0, .32),
        inset 0 1px 0 rgba(255, 255, 255, .04);

    overflow: hidden;
}

.news-featured-image {
    position: relative;

    min-height: 330px;

    overflow: hidden;
}

.news-featured-image::after {
    content: "";
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            transparent 45%,
            rgba(5, 13, 23, .88) 100%
        ),
        linear-gradient(
            180deg,
            rgba(0, 0, 0, .08),
            rgba(0, 0, 0, .36)
        );

    pointer-events: none;
}

.news-featured-image img {
    width: 100%;
    height: 100%;

    display: block;
    object-fit: cover;
}

.news-featured-content {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 36px 38px;
}

.news-featured-content time,
.news-card-body time {
    display: inline-block;

    margin-bottom: 10px;

    color: rgba(216, 164, 63, .92);

    font-family: Georgia, "Times New Roman", serif;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.news-label {
    width: max-content;

    margin-bottom: 14px;
    padding: 7px 12px;

    color: #15100a;
    background: linear-gradient(180deg, #f1c85e, #d8a43f);

    border-radius: 3px;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.news-featured-content h2 {
    margin: 0 0 16px;

    color: #f4f0e8;

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(27px, 3vw, 42px);
    font-weight: 500;
    line-height: 1.15;
}

.news-featured-content p {
    margin: 0;

    color: rgba(232, 237, 242, .82);
    font-size: 16px;
    line-height: 1.7;
}

.news-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;

    margin-top: 24px;
}

.news-meta-row span {
    padding: 7px 11px;

    color: rgba(244, 240, 232, .82);
    font-size: 12px;
    letter-spacing: .7px;
    text-transform: uppercase;

    background: rgba(2, 8, 16, .38);
    border: 1px solid rgba(216, 164, 63, .25);
}


/* ==========================================
   NEWS - KARTEN
========================================== */

.news-board {
    position: relative;
    z-index: 3;

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.news-card {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);

    background: rgba(4, 12, 22, .42);
    border: 1px solid rgba(36, 56, 77, .85);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .04),
        0 14px 32px rgba(0, 0, 0, .22);

    overflow: hidden;
}

.news-card figure {
    position: relative;

    min-height: 160px;
    margin: 0;

    overflow: hidden;
}

.news-card figure::after {
    content: "";
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(4, 12, 22, .35)
        ),
        linear-gradient(
            180deg,
            rgba(0, 0, 0, .04),
            rgba(0, 0, 0, .35)
        );

    pointer-events: none;
}

.news-card img {
    width: 100%;
    height: 100%;

    display: block;
    object-fit: cover;
}

.news-card-body {
    padding: 20px 22px;
}

.news-card-body h2 {
    margin: 0 0 10px;

    color: #f4f0e8;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 19px;
    font-weight: 500;
    line-height: 1.25;
}

.news-card-body p {
    margin: 0;

    color: rgba(232, 237, 242, .76);
    font-size: 14px;
    line-height: 1.6;
}


/* ==========================================
   CHANGELOG - AKTUELLE VERSION
========================================== */

.changelog-current {
    position: relative;
    z-index: 3;

    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 0;

    margin-bottom: 34px;

    background:
        linear-gradient(
            180deg,
            rgba(4, 12, 22, .58),
            rgba(3, 9, 17, .74)
        );

    border: 1px solid rgba(36, 56, 77, .95);

    box-shadow:
        0 20px 46px rgba(0, 0, 0, .32),
        inset 0 1px 0 rgba(255, 255, 255, .04);

    overflow: hidden;
}

.changelog-current-mark {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 28px 22px;

    background:
        radial-gradient(
            circle at center,
            rgba(216, 164, 63, .18),
            transparent 62%
        ),
        linear-gradient(
            180deg,
            rgba(216, 164, 63, .20),
            rgba(216, 164, 63, .06)
        );

    border-right: 1px solid rgba(216, 164, 63, .26);
}

.changelog-current-mark span {
    margin-bottom: 10px;

    color: rgba(244, 240, 232, .78);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.4px;
    text-transform: uppercase;
}

.changelog-current-mark strong {
    color: #f1c85e;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 46px;
    font-weight: 500;
    letter-spacing: 2px;

    text-shadow: 0 0 20px rgba(216, 164, 63, .32);
}

.changelog-current-body {
    padding: 30px 34px;
}

.changelog-current-body time,
.changelog-version time {
    display: block;

    color: rgba(216, 164, 63, .92);

    font-family: Georgia, "Times New Roman", serif;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.changelog-current-body h2 {
    margin: 9px 0 13px;

    color: #f4f0e8;

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(25px, 2.6vw, 36px);
    font-weight: 500;
    line-height: 1.18;
}

.changelog-current-body p {
    max-width: 820px;
    margin: 0;

    color: rgba(232, 237, 242, .82);
    font-size: 16px;
    line-height: 1.7;
}

.changelog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;

    margin-top: 22px;
}

.changelog-tags span {
    padding: 7px 12px;

    color: rgba(244, 240, 232, .84);
    font-size: 12px;
    letter-spacing: .8px;
    text-transform: uppercase;

    background: rgba(2, 8, 16, .38);
    border: 1px solid rgba(216, 164, 63, .25);
}


/* ==========================================
   CHANGELOG - TIMELINE
========================================== */

.changelog-timeline {
    position: relative;
    z-index: 3;

    display: grid;
    gap: 18px;
}

.changelog-timeline::before {
    content: "";
    position: absolute;
    top: 12px;
    bottom: 12px;
    left: 190px;

    width: 1px;

    background:
        linear-gradient(
            180deg,
            transparent,
            rgba(216, 164, 63, .55),
            rgba(36, 56, 77, .90),
            transparent
        );
}

.changelog-entry {
    position: relative;

    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 0;
}

.changelog-entry::before {
    content: "";
    position: absolute;
    top: 28px;
    left: 182px;
    z-index: 4;

    width: 15px;
    height: 15px;

    background: #d8a43f;
    border: 3px solid rgba(5, 13, 23, .96);
    border-radius: 50%;

    box-shadow:
        0 0 0 1px rgba(216, 164, 63, .65),
        0 0 18px rgba(216, 164, 63, .35);
}

.changelog-version {
    padding: 18px 34px 0 0;

    text-align: right;
}

.changelog-version span {
    display: block;

    margin-bottom: 7px;

    color: #f4f0e8;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 26px;
    font-weight: 500;
    letter-spacing: 1.5px;
}

.changelog-card {
    padding: 22px 26px;

    background: rgba(4, 12, 22, .42);
    border: 1px solid rgba(36, 56, 77, .85);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .04),
        0 14px 32px rgba(0, 0, 0, .22);
}

.changelog-card h2 {
    margin: 0 0 10px;

    color: #f4f0e8;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.25;
}

.changelog-card p {
    margin: 0;

    color: rgba(232, 237, 242, .78);
    font-size: 15px;
    line-height: 1.65;
}

.changelog-card ul {
    display: grid;
    gap: 7px;

    margin: 16px 0 0;
    padding-left: 19px;

    color: rgba(232, 237, 242, .78);
}

.changelog-card li {
    font-size: 14px;
    line-height: 1.55;
}

.changelog-card li::marker {
    color: #d8a43f;
}


/* ==========================================
   RECHTLICHE SEITEN
   Datenschutz / Impressum
========================================== */

.legal-content,
.privacy-content,
.imprint-content {
    position: relative;
    z-index: 3;

    display: grid;
    gap: 18px;
}

.legal-box,
.privacy-box,
.imprint-box {
    padding: 24px 26px;

    background: rgba(4, 12, 22, .42);
    border: 1px solid rgba(36, 56, 77, .85);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .04),
        0 14px 32px rgba(0, 0, 0, .22);
}

.legal-box h2,
.privacy-box h2,
.imprint-box h2 {
    margin: 0 0 12px;

    color: #d8a43f;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 19px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.legal-box p,
.privacy-box p,
.imprint-box p {
    margin: 0 0 12px;

    color: rgba(232, 237, 242, .78);
    font-size: 15px;
    line-height: 1.65;
}

.legal-box p:last-child,
.privacy-box p:last-child,
.imprint-box p:last-child {
    margin-bottom: 0;
}

.legal-box a,
.privacy-box a,
.imprint-box a {
    color: #d8a43f;
    text-decoration: none;
}

.legal-box a:hover,
.privacy-box a:hover,
.imprint-box a:hover {
    color: #f1c85e;
}


/* =========================================================
   NEWS / CHANGELOG - WEITERLESEN & MODAL
   Bereinigt: spätere Override-Blöcke wurden in die Basisregeln übernommen.
========================================================= */

.news-read-row {
    display: flex;
    gap: 0;
}

.news-read-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 14px;

    color: #f6df9f;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.7px;
    line-height: 1;
    text-transform: uppercase;
    text-decoration: none;

    background: linear-gradient(180deg, rgba(232, 192, 109, .16), rgba(232, 192, 109, .05));
    border: 1px solid rgba(232, 192, 109, .38);

    cursor: pointer;
}

.news-read-more-btn:hover {
    background:
        radial-gradient(circle at top left, rgba(232, 192, 109, .24), transparent 62%),
        linear-gradient(180deg, rgba(232, 192, 109, .20), rgba(232, 192, 109, .07));
    border-color: rgba(232, 192, 109, .72);
}

.news-read-more-btn-small {
    margin-top: 12px;
}

.news-modal-source {
    display: none;
}

.news-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 9999;

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

    padding: 32px;

    background: rgba(0, 0, 0, .72);
    backdrop-filter: blur(4px);
}

.news-modal-backdrop.is-open {
    display: flex;
}

.news-modal-box {
    position: relative;

    width: min(760px, 100%);
    max-height: 82vh;
    padding: 34px 38px 36px;

    background: linear-gradient(180deg, rgba(6, 17, 27, .98), rgba(3, 10, 17, .98)) !important;
    border: 1px solid rgba(218, 176, 82, .55);
    border-radius: 4px;

    box-shadow: 0 30px 90px rgba(0, 0, 0, .75);
    overflow: auto;
}

.news-modal-close {
    position: absolute;
    top: 12px;
    right: 14px;

    width: 32px;
    height: 32px;

    color: #f2d486 !important;
    font-size: 26px;
    line-height: 28px;

    background: rgba(0, 0, 0, .22);
    border: 1px solid rgba(232, 192, 109, .28);
    border-color: rgba(232, 192, 109, .55) !important;

    cursor: pointer;
}

.news-modal-close:hover {
    color: #fff3ce !important;
    background: rgba(232, 192, 109, .12);
}

.news-modal-content,
.news-modal-content p,
.news-modal-content .changelog-modal-text {
    color: rgba(235, 239, 244, .92) !important;
}

.news-modal-content p {
    margin: 0;

    font-size: 14px;
    font-weight: 400;
    line-height: 1.75;
    white-space: pre-line;
}

.news-modal-content .news-modal-image {
    width: 100%;
    margin: 0 0 28px;
    padding: 0;

    background: rgba(0, 0, 0, .35);
    border: 1px solid rgba(218, 176, 82, .36);

    overflow: hidden;
}

.news-modal-content .news-modal-image img {
    display: block;
    width: 100%;
    max-height: 320px;
    object-fit: cover;
}

.news-modal-content .news-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 66px;
    margin: 0 0 22px;
    padding: 11px 16px;

    color: #06111b !important;
    background: #d9a93f;
    border-radius: 2px;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.news-modal-content time {
    display: block;

    margin: 0 0 14px;

    color: rgba(232, 192, 109, .96) !important;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
}

.news-modal-content h2 {
    margin: 0 0 28px;

    color: #f2eee5 !important;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;

    text-shadow: 0 1px 2px rgba(0, 0, 0, .75);
}

.news-modal-content .news-modal-text,
.news-modal-content .changelog-modal-text {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.75;
}

.news-modal-content .news-modal-text {
    color: rgba(235, 239, 244, .94) !important;
}

.news-modal-content .changelog-modal-text {
    margin-top: 18px;
    letter-spacing: .01em;
}

.news-modal-link-row {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    margin: 32px 0 0;
}

.news-modal-content .news-modal-link-row {
    margin-top: 30px;
}

.news-modal-link-button,
.news-modal-link-button:visited {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 230px;
    height: 42px;
    padding: 0;
    box-sizing: border-box;

    color: #f6df9f;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;

    background:
        radial-gradient(circle at 50% 0%, rgba(246, 223, 159, .16), transparent 48%),
        linear-gradient(180deg, rgba(216, 159, 63, .20), rgba(216, 159, 63, .06));

    border: 1px solid rgba(232, 192, 109, .58);
    border-radius: 1px;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .08),
        0 0 0 1px rgba(0, 0, 0, .46),
        0 8px 18px rgba(0, 0, 0, .28);

    transform: none !important;
}

.news-modal-content .news-modal-link-button {
    display: inline-flex;

    min-height: 38px;
    padding: 0 18px;

    color: #f2d486;
    font-size: 13px;
    letter-spacing: .08em;

    border: 1px solid rgba(232, 192, 109, .55);
}

.news-modal-link-button::before,
.news-modal-link-button::after {
    content: none !important;
    display: none !important;
}

.news-modal-link-button:hover {
    color: #fff3c4;
    background:
        radial-gradient(circle at 50% 0%, rgba(246, 223, 159, .24), transparent 50%),
        linear-gradient(180deg, rgba(216, 159, 63, .28), rgba(216, 159, 63, .08));
    border-color: rgba(246, 223, 159, .90);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .12),
        0 0 0 1px rgba(0, 0, 0, .48),
        0 10px 24px rgba(0, 0, 0, .34);

    transform: none !important;
}

.news-modal-content .news-modal-link-button:hover {
    color: #fff3ce;
    background: rgba(232, 192, 109, .12);
}

.news-modal-link-button:active {
    transform: none !important;
}

.changelog-read-row {
    margin-top: 24px;
}

.changelog-card-read-row {
    margin-top: 16px;
}

.changelog-modal-list {
    display: grid;
    gap: 8px;

    margin: 22px 0 0;
    padding-left: 20px;

    color: rgba(236, 242, 248, .78);
}

.changelog-modal-list li {
    font-size: 14px;
    line-height: 1.6;
}

.changelog-modal-list li::marker {
    color: #d8a43f;
}

.news-modal-content .changelog-modal-list {
    margin: 26px 0 0;
    padding-left: 22px;
}

.news-modal-content .changelog-modal-list li {
    margin: 0 0 13px;

    color: rgba(245, 247, 250, .94) !important;
    line-height: 1.6;
}

.news-modal-content .changelog-modal-list li::marker {
    color: #e8c06d;
}

/* =========================================================
   KONTAKT - ERFOLGSMELDUNG
========================================================= */

.contact-success-card {
    position: relative;
    z-index: 3;

    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 18px;
    align-items: center;

    margin: 0 0 24px;
    padding: 20px 24px;

    background:
        radial-gradient(
            circle at top left,
            rgba(87, 189, 125, .18),
            transparent 42%
        ),
        linear-gradient(
            180deg,
            rgba(7, 36, 26, .78),
            rgba(4, 17, 18, .88)
        );

    border: 1px solid rgba(103, 205, 143, .46);
    border-radius: 6px;

    box-shadow:
        0 18px 42px rgba(0, 0, 0, .30),
        inset 0 1px 0 rgba(255, 255, 255, .07),
        inset 0 0 40px rgba(103, 205, 143, .06);

    overflow: hidden;
}

.contact-success-card::before {
    content: "";
    position: absolute;
    left: 22px;
    right: 22px;
    top: 0;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(150, 238, 178, .88),
            transparent
        );
}

.contact-success-card::after {
    content: "";
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, .025),
            transparent
        );

    pointer-events: none;
}

.contact-success-seal {
    width: 58px;
    height: 58px;

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

    color: #07120d;
    background:
        radial-gradient(
            circle at 35% 25%,
            #d9ffd9,
            #69d28b 58%,
            #2c8f58 100%
        );

    border: 1px solid rgba(198, 255, 206, .78);
    border-radius: 50%;

    box-shadow:
        0 0 24px rgba(103, 205, 143, .32),
        inset 0 1px 0 rgba(255, 255, 255, .72);
}

.contact-success-seal span {
    font-size: 31px;
    font-weight: 900;
    line-height: 1;
}

.contact-success-content {
    min-width: 0;
}

.contact-success-kicker {
    display: block;

    margin-bottom: 5px;

    color: rgba(166, 239, 188, .92);

    font-family: Georgia, "Times New Roman", serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.contact-success-content h2 {
    margin: 0 0 8px;

    color: #f4f0e8;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.25;
}

.contact-success-content p {
    margin: 0;

    color: rgba(232, 237, 242, .84);
    font-size: 15px;
    line-height: 1.6;
}

.contact-success-content strong {
    color: #f2d486;
}

.contact-success-small {
    margin-top: 8px !important;

    color: rgba(232, 237, 242, .68) !important;
    font-size: 14px !important;
}


/* =========================================================
   KONTAKT - DATENSCHUTZ CHECKBOX
========================================================= */

.contact-privacy-check {
    margin-top: 4px;
    padding: 13px 15px;

    background: rgba(2, 8, 16, .34);
    border: 1px solid rgba(216, 159, 63, .22);
    border-radius: 4px;
}

.contact-privacy-check label {
    display: flex;
    align-items: flex-start;
    gap: 11px;

    color: rgba(232, 237, 242, .78);
    font-size: 14px;
    line-height: 1.5;

    cursor: pointer;
}

.contact-privacy-check input {
    width: 17px;
    height: 17px;
    margin-top: 2px;

    accent-color: #d8a43f;
    cursor: pointer;
    flex: 0 0 auto;
}

.contact-privacy-check a {
    color: #f2d486;
    text-decoration: none;
    border-bottom: 1px solid rgba(242, 212, 134, .45);
}

.contact-privacy-check a:hover {
    color: #fff0b8;
    border-bottom-color: rgba(255, 240, 184, .9);
}

/* =========================================================
   DATENSCHUTZ - SAUBERE LESBARKEIT / SECTIONS
========================================================= */

.privacy-content {
    position: relative;
    z-index: 3;

    display: grid;
    gap: 22px;

    max-width: 980px;
    margin: 0 auto;
}

.privacy-section {
    position: relative;

    padding: 26px 30px 28px;

    background:
        radial-gradient(
            circle at top left,
            rgba(216, 164, 63, .07),
            transparent 34%
        ),
        linear-gradient(
            180deg,
            rgba(4, 12, 22, .58),
            rgba(3, 9, 17, .72)
        );

    border: 1px solid rgba(216, 159, 63, .26);
    border-radius: 6px;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .04),
        0 14px 34px rgba(0, 0, 0, .22);

    overflow: hidden;
}

.privacy-section::before {
    content: "";
    position: absolute;
    left: 26px;
    right: 26px;
    top: 0;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(216, 164, 63, .70),
            transparent
        );
}

.privacy-section h2 {
    margin: 0 0 16px;

    color: #f2d486;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 1px;
}

.privacy-section p {
    max-width: 880px;
    margin: 0 0 14px;

    color: rgba(232, 237, 242, .84);

    font-size: 15px;
    line-height: 1.72;
}

.privacy-section p:last-child {
    margin-bottom: 0;
}

.privacy-section strong {
    color: #f4f0e8;
    font-weight: 700;
}

.privacy-section ul {
    display: grid;
    gap: 8px;

    margin: 16px 0 18px;
    padding: 16px 18px 16px 34px;

    background: rgba(2, 8, 16, .34);
    border: 1px solid rgba(232, 237, 242, .10);
    border-radius: 4px;
}

.privacy-section li {
    color: rgba(232, 237, 242, .82);

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

.privacy-section li::marker {
    color: #d8a43f;
}

.privacy-address {
    margin: 16px 0 18px;
    padding: 18px 20px;

    color: rgba(232, 237, 242, .86);
    font-size: 15px;
    line-height: 1.65;

    background:
        linear-gradient(
            180deg,
            rgba(2, 8, 16, .44),
            rgba(2, 8, 16, .30)
        );

    border: 1px solid rgba(216, 159, 63, .28);
    border-radius: 4px;
}

.privacy-address strong {
    display: inline-block;
    margin-bottom: 2px;

    color: #f2d486;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    letter-spacing: 1px;
}

.privacy-date {
    margin-top: 18px !important;
    padding-top: 14px;

    color: rgba(216, 164, 63, .88) !important;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 14px !important;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;

    border-top: 1px solid rgba(216, 159, 63, .22);
}

/* Links innerhalb Datenschutz */
.privacy-section a {
    color: #f2d486;
    text-decoration: none;
    border-bottom: 1px solid rgba(242, 212, 134, .42);
}

.privacy-section a:hover {
    color: #fff0b8;
    border-bottom-color: rgba(255, 240, 184, .88);
}

/* Bessere optische Trennung nach dem Header */
.privacy-frame .box-head {
    margin-bottom: 32px;
}

/* =========================================================
   DATENSCHUTZ - RESPONSIVE FEINANPASSUNG
========================================================= */

@media (max-width: 620px) {
    .privacy-section ul {
        padding-left: 28px;
    }
}

/* =========================================================
   GFT PUBLIC PAGES MOBILE PATCH
   Macht News, Changelog, Kontakt, Impressum und Datenschutz
   auf Mobile scrollbar und verhindert Footer-Überlagerungen.
   ========================================================= */

@media (max-width: 900px) {
    .page-shell {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        width: 100% !important;
        min-height: calc(100svh - var(--header-height)) !important;
        padding: 34px 12px 38px !important;
        display: flex !important;
        justify-content: center !important;
        align-items: flex-start !important;
        overflow: visible !important;
        overflow-x: hidden !important;
        overflow-y: visible !important;
        background-size: cover !important;
        background-position: center top !important;
        background-repeat: no-repeat !important;
    }

    .page-frame {
        width: 100% !important;
        max-width: 680px !important;
        margin: 0 auto !important;
        padding: 34px 22px 30px !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-frame::before {
        inset: 8px !important;
    }

    .frame-corner {
        width: 30px !important;
        height: 30px !important;
    }

    .box-head {
        margin-bottom: 28px !important;
        text-align: center !important;
    }

    .headline-with-icons {
        gap: 10px !important;
        justify-content: center !important;
    }

    .headline-icon {
        width: 24px !important;
        height: 24px !important;
        flex: 0 0 24px !important;
    }

    .headline-with-icons h1,
    .box-head h1 {
        font-size: clamp(29px, 8vw, 42px) !important;
        line-height: 1.22 !important;
        letter-spacing: .16em !important;
        overflow-wrap: break-word;
    }

    .box-subline {
        gap: 10px !important;
        margin-top: 14px !important;
        margin-bottom: 22px !important;
    }

    .box-subline strong {
        font-size: 12px !important;
        letter-spacing: .28em !important;
        line-height: 1.45 !important;
        text-align: center !important;
    }

    .box-subline span {
        min-width: 34px !important;
        width: 34px !important;
    }

    .box-head p {
        max-width: 100% !important;
        font-size: 16px !important;
        line-height: 1.7 !important;
    }

    .contact-layout {
        grid-template-columns: 1fr !important;
        gap: 26px !important;
    }

    .contact-form-area,
    .contact-info-box {
        padding: 22px 18px !important;
        width: 100% !important;
        min-width: 0 !important;
    }

    .contact-section-head {
        align-items: center !important;
        gap: 10px !important;
    }

    .contact-section-head h2 {
        font-size: 15px !important;
        letter-spacing: 1.4px !important;
        line-height: 1.35 !important;
    }

    .contact-section-head::after {
        min-width: 28px !important;
    }

    .contact-input-wrap input,
    .contact-input-wrap textarea,
    .contact-input-wrap select {
        width: 100% !important;
        max-width: 100% !important;
        font-size: 16px !important;
        box-sizing: border-box !important;
    }

    .contact-input-wrap textarea {
        min-height: 150px !important;
    }

    .contact-privacy-check {
        padding: 14px 14px !important;
    }

    .contact-privacy-check label {
        display: flex !important;
        align-items: flex-start !important;
        gap: 12px !important;
        line-height: 1.55 !important;
    }

    .contact-privacy-check input {
        width: 18px !important;
        height: 18px !important;
        flex: 0 0 18px !important;
        margin-top: 3px !important;
    }

    .contact-actions {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        align-items: center !important;
        margin-top: 18px !important;
    }

    .contact-actions span {
        text-align: center !important;
        font-size: 14px !important;
        line-height: 1.5 !important;
    }

    .contact-actions button {
        width: min(100%, 280px) !important;
        min-width: 0 !important;
        justify-self: center !important;
        padding: 0 24px !important;
    }

    .contact-info-row {
        align-items: flex-start !important;
        gap: 14px !important;
    }

    .contact-info-row p {
        font-size: 14px !important;
        line-height: 1.6 !important;
        overflow-wrap: break-word !important;
    }

    .contact-extra {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .contact-bottom {
        padding: 26px 0 0 !important;
    }

    .news-featured,
    .news-board,
    .changelog-current,
    .changelog-timeline,
    .changelog-entry {
        width: 100% !important;
    }

    .news-featured {
        display: grid !important;
        grid-template-columns: 1fr !important;
    }

    .news-featured-image,
    .news-featured figure {
        min-height: 190px !important;
    }

    .news-featured-content,
    .news-card-body,
    .changelog-current-body,
    .changelog-card {
        padding: 24px 20px !important;
    }

    .news-board {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }

    .news-card {
        min-width: 0 !important;
    }

    .news-card figure {
        min-height: 170px !important;
    }

    .news-card h2,
    .changelog-card h2,
    .changelog-current-body h2 {
        font-size: 24px !important;
        line-height: 1.15 !important;
        overflow-wrap: break-word !important;
    }

    .news-card p,
    .news-featured-content p,
    .changelog-card p,
    .changelog-current-body p {
        font-size: 15px !important;
        line-height: 1.65 !important;
    }

    .changelog-current {
        grid-template-columns: 1fr !important;
    }

    .changelog-current-mark {
        min-height: 150px !important;
        padding: 26px 18px !important;
    }

    .changelog-entry {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .changelog-version {
        text-align: left !important;
    }

    .privacy-content {
        max-width: 100% !important;
    }

    .privacy-section,
    .legal-section,
    .imprint-section {
        padding: 22px 18px 24px !important;
    }

    .privacy-section h2,
    .legal-section h2,
    .imprint-section h2 {
        font-size: 20px !important;
        line-height: 1.35 !important;
        overflow-wrap: break-word !important;
    }

    .privacy-section p,
    .privacy-section li,
    .legal-section p,
    .imprint-section p {
        font-size: 14px !important;
        line-height: 1.65 !important;
        overflow-wrap: break-word !important;
    }

    .news-modal-backdrop {
        padding: 14px !important;
    }

    .news-modal-box {
        width: min(100%, 680px) !important;
        max-height: calc(100svh - 28px) !important;
        overflow: auto !important;
    }

    .news-modal-content {
        padding: 0 !important;
    }
}

@media (max-width: 520px) {
    .page-shell {
        padding: 26px 8px 34px !important;
    }

    .page-frame {
        padding: 30px 16px 26px !important;
        border-radius: 8px !important;
    }

    .headline-icon {
        display: none !important;
    }

    .headline-with-icons h1,
    .box-head h1 {
        font-size: clamp(27px, 9vw, 36px) !important;
        letter-spacing: .13em !important;
    }

    .box-subline strong {
        font-size: 11px !important;
        letter-spacing: .20em !important;
    }

    .box-head p {
        font-size: 15px !important;
    }

    .contact-form-area,
    .contact-info-box {
        padding: 20px 16px !important;
    }

    .contact-section-head h2 {
        font-size: 14px !important;
        letter-spacing: 1.1px !important;
    }

    .contact-actions button {
        width: 100% !important;
    }

    .news-featured-content,
    .news-card-body,
    .changelog-current-body,
    .changelog-card {
        padding: 22px 16px !important;
    }

    .news-card h2,
    .changelog-card h2,
    .changelog-current-body h2 {
        font-size: 22px !important;
    }

    .privacy-section,
    .legal-section,
    .imprint-section {
        padding: 20px 15px 22px !important;
    }
}



/* =========================================================
   KONTAKT - CUSTOM DROPDOWN
========================================================= */

.contact-custom-select {
    position: relative;
}

.contact-custom-select-trigger {
    width: 100%;
    min-height: 50px;
    padding: 0 50px 0 46px;

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

    background: linear-gradient(180deg, rgba(10, 21, 32, 0.98), rgba(4, 10, 18, 0.98));
    border: 1px solid rgba(184, 139, 47, 0.45);
    border-radius: 4px;
    color: #f2f5f7;
    font: inherit;
    text-align: left;
    cursor: pointer;

    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,0.03),
        inset 0 0 18px rgba(0,0,0,0.25);

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

.contact-custom-select-trigger:hover {
    border-color: rgba(214, 165, 58, 0.75);
}

.contact-custom-select.is-open .contact-custom-select-trigger,
.contact-custom-select-trigger:focus {
    border-color: #d6a53a;
    box-shadow:
        0 0 0 2px rgba(214, 165, 58, 0.18),
        inset 0 0 18px rgba(214, 165, 58, 0.04);
    outline: none;
}

.contact-custom-select-text {
    color: #f2f5f7;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.contact-custom-select-arrow {
    margin-left: 16px;
    color: #d6a53a;
    font-size: 18px;
    line-height: 1;
    transition: transform 0.2s ease;
}

.contact-custom-select.is-open .contact-custom-select-arrow {
    transform: rotate(180deg);
}

.contact-custom-select-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 50;

    display: none;
    flex-direction: column;
    gap: 2px;

    padding: 8px;
    background: linear-gradient(180deg, rgba(8, 18, 29, 0.99), rgba(3, 8, 14, 0.99));
    border: 1px solid rgba(184, 139, 47, 0.45);
    border-radius: 6px;

    box-shadow:
        0 18px 40px rgba(0,0,0,0.55),
        inset 0 0 0 1px rgba(255,255,255,0.03);
}

.contact-custom-select.is-open .contact-custom-select-menu {
    display: flex;
}

.contact-custom-option {
    width: 100%;
    padding: 12px 14px;

    background: transparent;
    border: 0;
    border-radius: 4px;

    color: #e9edf1;
    font: inherit;
    text-align: left;
    cursor: pointer;

    transition: background 0.15s ease, color 0.15s ease;
}

.contact-custom-option:hover {
    background: rgba(214, 165, 58, 0.12);
    color: #f0b83a;
}

.contact-custom-option.is-selected {
    background: rgba(214, 165, 58, 0.16);
    color: #f0b83a;
}
/* =========================================================
   NEWS – RESPONSIVE BILDANORDNUNG UND BILDVERGRÖSSERUNG
========================================================= */

.news-image-zoom {
    position: relative;
    width: 100%;
    height: 100%;
    display: block;
    padding: 0;
    overflow: hidden;
    color: inherit;
    background: transparent;
    border: 0;
    cursor: zoom-in;
}

.news-image-zoom::after {
    content: "⌕";
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 3;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    color: #fff3ce;
    background: rgba(5, 13, 23, .82);
    border: 1px solid rgba(241, 200, 94, .72);
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .35);
    font-size: 24px;
    line-height: 1;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity .18s ease, transform .18s ease, background .18s ease;
    pointer-events: none;
}

.news-image-zoom:hover::after,
.news-image-zoom:focus-visible::after {
    opacity: 1;
    transform: translateY(0);
}

.news-image-zoom:hover img,
.news-image-zoom:focus-visible img {
    transform: scale(1.025);
}

.news-image-zoom:focus-visible {
    outline: 2px solid #f1c85e;
    outline-offset: -2px;
}

.news-image-zoom img {
    transition: transform .28s ease;
}

.news-image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 4000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 28px;
    background: rgba(0, 5, 12, .94);
    backdrop-filter: blur(8px);
}

.news-image-lightbox.is-open {
    display: flex;
}

.news-image-lightbox-stage {
    max-width: min(1500px, 96vw);
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.news-image-lightbox-stage img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: calc(92vh - 58px);
    object-fit: contain;
    border: 1px solid rgba(241, 200, 94, .42);
    box-shadow: 0 30px 90px rgba(0, 0, 0, .72);
}

.news-image-lightbox-stage p {
    margin: 0;
    color: rgba(244, 240, 232, .88);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 15px;
    line-height: 1.4;
    text-align: center;
}

.news-image-lightbox-close {
    position: fixed;
    top: 18px;
    right: 22px;
    z-index: 2;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    color: #fff3ce;
    background: rgba(5, 13, 23, .88);
    border: 1px solid rgba(241, 200, 94, .62);
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
}

.news-image-lightbox-close:hover,
.news-image-lightbox-close:focus-visible {
    color: #ffffff;
    background: rgba(216, 164, 63, .22);
    outline: 2px solid #f1c85e;
    outline-offset: 2px;
}

body.news-image-lightbox-is-open {
    overflow: hidden;
}

@media (hover: none) {
    .news-image-zoom::after {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 900px) {
    .news-card {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .news-card figure {
        width: 100% !important;
        min-height: 0 !important;
        aspect-ratio: 16 / 9;
    }

    .news-card figure::after {
        background:
            linear-gradient(180deg, transparent 58%, rgba(4, 12, 22, .48)),
            linear-gradient(180deg, rgba(0, 0, 0, .03), rgba(0, 0, 0, .2));
    }

    .news-card .news-image-zoom,
    .news-card .news-image-zoom img {
        width: 100%;
        height: 100%;
    }

    .news-card .news-image-zoom img {
        object-fit: cover;
    }
}

@media (max-width: 620px) {
    .news-featured-image,
    .news-featured figure {
        min-height: 0 !important;
        aspect-ratio: 16 / 9;
    }

    .news-image-lightbox {
        padding: 16px;
    }

    .news-image-lightbox-close {
        top: 10px;
        right: 10px;
        width: 42px;
        height: 42px;
    }

    .news-image-zoom::after {
        right: 9px;
        bottom: 9px;
        width: 34px;
        height: 34px;
        font-size: 21px;
    }
}


/* =========================================================
   KONTAKT – MOBILE BREITENKORREKTUR
========================================================= */

@media (max-width: 620px) {
    .contact-page,
    .contact-frame,
    .contact-layout,
    .contact-form-area,
    .contact-form,
    .contact-field,
    .contact-input-wrap,
    .contact-custom-select,
    .contact-privacy-check,
    .contact-actions,
    .contact-info-area,
    .contact-info-box {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    .contact-form-area,
    .contact-info-box {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .contact-input-wrap input,
    .contact-input-wrap textarea,
    .contact-input-wrap select {
        display: block;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    .contact-custom-select-trigger {
        display: flex !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    .contact-actions {
        display: block !important;
    }

    .contact-actions span {
        display: block !important;
        margin-bottom: 16px !important;
        text-align: center !important;
        overflow-wrap: break-word !important;
    }

    .contact-actions button {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
        box-sizing: border-box !important;
        white-space: normal !important;
    }

    .contact-info-row,
    .contact-info-row > div {
        min-width: 0 !important;
        max-width: 100% !important;
    }

    .contact-info-row a,
    .contact-info-row p {
        overflow-wrap: break-word !important;
        word-break: break-word !important;
    }
}


/* =========================================================
   SPIELSEITE – HERO MOBILE KORREKTUR
========================================================= */

@media (max-width: 620px) {

    .spiel-page,
    .spiel-page .spiel-hero,
    .spiel-page .spiel-hero-content {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    .spiel-page .spiel-hero,
    .spiel-page .spiel-hero-content {
        padding-left: 20px !important;
        padding-right: 20px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .spiel-page .spiel-hero h1 {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin-left: auto !important;
        margin-right: auto !important;

        font-size: clamp(2.5rem, 11vw, 3.8rem) !important;
        line-height: 1.03 !important;
        letter-spacing: -0.02em !important;

        white-space: normal !important;
        overflow-wrap: break-word !important;
        word-break: normal !important;
        hyphens: auto !important;
        text-align: center !important;
    }

    .spiel-page .spiel-hero-text {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin-left: auto !important;
        margin-right: auto !important;

        font-size: 1.15rem !important;
        line-height: 1.65 !important;

        white-space: normal !important;
        overflow-wrap: break-word !important;
        word-break: normal !important;
        text-align: center !important;
    }

    .spiel-page .spiel-hero-actions {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    .spiel-page .spiel-hero-actions .spiel-btn {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        white-space: normal !important;
    }
}



/* =========================================================
   NEWS + CHANGELOG MODAL – MOBILE FINAL
========================================================= */

.news-modal-backdrop,
.news-modal-box,
.news-modal-content,
.news-modal-content *,
.changelog-modal-text,
.changelog-modal-list {
    box-sizing: border-box;
}

@media screen and (max-width: 620px) {

    .news-modal-backdrop {
        padding: 10px !important;
        align-items: center !important;
        justify-content: center !important;
        overflow: hidden !important;
    }

    .news-modal-box {
        display: block !important;

        width: calc(100vw - 20px) !important;
        max-width: calc(100vw - 20px) !important;
        min-width: 0 !important;

        height: auto !important;
        max-height: calc(100dvh - 20px) !important;

        margin: 0 !important;
        padding: 68px 20px 30px !important;

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

        box-sizing: border-box !important;
    }

    .news-modal-content {
        display: block !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        margin: 0 !important;
        padding: 0 !important;

        grid-template-columns: 1fr !important;
        columns: auto !important;
        column-count: 1 !important;

        box-sizing: border-box !important;
    }

    .news-modal-content > * {
        width: auto !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    .news-modal-content .news-label {
        display: inline-flex !important;
        width: auto !important;
        max-width: 100% !important;
        margin: 0 0 20px !important;
    }

    .news-modal-content time {
        display: block !important;
        width: 100% !important;
        margin: 0 0 18px !important;
    }

    .news-modal-content h2 {
        display: block !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        margin: 0 0 24px !important;

        font-size: 32px !important;
        line-height: 1.16 !important;
        letter-spacing: 0 !important;

        white-space: normal !important;
        word-break: normal !important;
        overflow-wrap: normal !important;
        hyphens: auto !important;
    }

    .news-modal-content .news-modal-text,
    .news-modal-content .changelog-modal-text {
        display: block !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        margin: 0 !important;
        padding: 0 !important;

        font-size: 16px !important;
        line-height: 1.7 !important;
        letter-spacing: 0 !important;

        white-space: normal !important;
        word-break: normal !important;
        overflow-wrap: break-word !important;

        columns: auto !important;
        column-count: 1 !important;
        column-width: auto !important;
    }

    .news-modal-content .changelog-modal-list {
        display: block !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        margin: 24px 0 0 !important;
        padding: 0 0 0 20px !important;

        columns: auto !important;
        column-count: 1 !important;
    }

    .news-modal-content .changelog-modal-list li {
        width: 100% !important;
        max-width: 100% !important;

        margin: 0 0 10px !important;

        font-size: 15px !important;
        line-height: 1.6 !important;

        white-space: normal !important;
        word-break: normal !important;
        overflow-wrap: break-word !important;
    }

    .news-modal-close {
        top: 14px !important;
        right: 14px !important;

        width: 46px !important;
        height: 46px !important;

        font-size: 34px !important;
        line-height: 40px !important;
    }
}
/* =========================================================
   CHANGELOG – MOBILE TEXT INNERHALB DER KARTEN HALTEN
   Nur die normale Timeline-Darstellung, nicht das Modal.
========================================================= */
@media (max-width: 900px) {
    .changelog-timeline,
    .changelog-entry,
    .changelog-version,
    .changelog-card {
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .changelog-entry {
        overflow: hidden !important;
    }

    .changelog-card {
        width: 100% !important;
        overflow: hidden !important;
    }

    .changelog-card h2,
    .changelog-card p,
    .changelog-card li {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        white-space: normal !important;
        word-break: normal !important;
        overflow-wrap: anywhere !important;
        box-sizing: border-box !important;
    }
}

/* =========================================================
   ÖFFENTLICHE SEITEN – DECKENDE HAUPTBOXEN
   Optik entsprechend Login/Registrierung, jedoch bewusst
   vollständig blickdicht. Das Seiten-Hintergrundbild kann
   innerhalb der großen Inhaltsbox nicht mehr durchscheinen.
========================================================= */
.page-shell .contact-frame,
.page-shell .news-frame,
.page-shell .changelog-frame,
.page-shell .privacy-frame,
.page-shell .legal-frame,
.page-shell .imprint-frame {
    background:
        radial-gradient(circle at 50% 0%, rgba(96, 165, 250, .075), transparent 36%),
        linear-gradient(180deg, #071424 0%, #040d18 100%) !important;
    background-color: #040d18 !important;
}

/* Auch die optische Glanzebene bleibt innerhalb der Box und
   verändert nicht deren vollständige Deckkraft. */
.page-shell .contact-frame::after,
.page-shell .news-frame::after,
.page-shell .changelog-frame::after,
.page-shell .privacy-frame::after,
.page-shell .legal-frame::after,
.page-shell .imprint-frame::after {
    opacity: .72;
}

/* =========================================================
   NEWS-DETAILSEITE
   Nutzt bewusst dieselbe Gestaltung wie die Newsübersicht.
========================================================= */
.news-detail {
    max-width: 1180px;
    margin-inline: auto;
    padding: clamp(1.25rem, 3vw, 3rem);
}

.news-detail-breadcrumb {
    display: flex;
    gap: .55rem;
    align-items: center;
    margin-bottom: 1.5rem;
    color: #9dacba;
    font-size: .84rem;
}

.news-detail-breadcrumb a {
    color: #d9b85f;
    text-decoration: none;
}

.news-detail-breadcrumb span:last-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news-detail-head {
    max-width: 920px;
    margin: 0 auto 1.8rem;
    text-align: center;
}

.news-detail-head time {
    display: block;
    margin: .9rem 0;
    color: #aab5bf;
    font-size: .86rem;
    letter-spacing: .08em;
}

.news-detail-head h1 {
    margin: 0;
    color: #f1d28a;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 5vw, 3.8rem);
    line-height: 1.08;
}

.news-detail-teaser {
    margin: 1.2rem auto 0;
    max-width: 850px;
    color: #c7d0d8;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    line-height: 1.75;
}

.news-detail-image {
    margin: 0 auto 2rem;
    max-width: 1100px;
    overflow: hidden;
    border: 1px solid rgba(204, 160, 63, .5);
    border-radius: 8px;
    background: #020912;
}

.news-detail-image img {
    display: block;
    width: 100%;
    height: auto;
}

.news-detail-content {
    max-width: 880px;
    margin: 0 auto;
    color: #d6dde3;
    font-size: 1.02rem;
    line-height: 1.85;
}

.news-detail-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .55rem;
    max-width: 880px;
    margin: 2rem auto 0;
    padding: 0;
    list-style: none;
}

.news-detail-tags li {
    padding: .38rem .72rem;
    border: 1px solid rgba(204, 160, 63, .34);
    border-radius: 999px;
    color: #d7bd7b;
    background: rgba(204, 160, 63, .07);
    font-size: .78rem;
}

.news-detail-footer {
    display: flex;
    justify-content: center;
    margin-top: 2.5rem;
}

@media (max-width: 700px) {
    .news-detail {
        padding: 1rem;
    }

    .news-detail-head {
        text-align: left;
    }

    .news-detail-head h1 {
        font-size: clamp(1.8rem, 10vw, 2.55rem);
    }

    .news-detail-tags {
        justify-content: flex-start;
    }
}
