/* =========================================================
   DONNERSCHLAG
   Zentrale CSS
   ========================================================= */


/* =========================================================
   GRUNDVARIABLEN
   ========================================================= */

:root {
    --page-bg: #ffffff;

    --box-bg: #faf8ef;

    --header-bg: #faf8ef;
    --footer-bg: #faf8ef;

    --text: #222222;
    --heading: #111111;

    --border: #d4d0c5;
    --border-bottom: #555555;

    --link: #222222;
    --link-hover-bg: rgba(0, 0, 0, 0.08);

    --shadow:
        0 4px 10px rgba(0, 0, 0, 0.16);

    --radius: 12px;

    --content-width: 1200px;
}


/* =========================================================
   GRUNDLAYOUT
   ========================================================= */

* {
    box-sizing: border-box;
}


html {
    margin: 0;
    padding: 0;

    scroll-behavior: smooth;
}


body {
    margin: 0;
    padding: 0;

    background: var(--page-bg);

    color: var(--text);

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 16px;

    line-height: 1.55;

    transition:
        background-color 0.25s ease,
        color 0.25s ease;
}


img {
    max-width: 100%;
    height: auto;
}


a {
    color: var(--link);

    transition:
        color 0.2s ease,
        background-color 0.2s ease;
}


h1,
h2,
h3,
h4 {
    color: var(--heading);

    margin-top: 0;
}


.clear {
    clear: both;
}


/* =========================================================
   HAUPTCONTAINER
   ========================================================= */

#page,
.page,
.site-container,
#wrap {
    width: min(calc(100% - 30px),
            var(--content-width));

    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   KOPFBEREICH / NAVIGATION
   ========================================================= */

.site-header,
#header_bg {
    width: 100%;

    background: var(--header-bg);

    border-bottom: 1px solid var(--border);

    border-radius:
        0 0 var(--radius) var(--radius);

    box-shadow: var(--shadow);

    position: relative;

    z-index: 1000;
}


/* =========================================================
   NAVIGATION CONTAINER
   ========================================================= */

.navigation,
#menu {
    width: min(calc(100% - 30px),
            var(--content-width));

    min-height: 82px;

    margin: 0 auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    position: relative;
}


/* =========================================================
   LOGO
   ========================================================= */

.nav-logo,
#logo {
    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;
}


.nav-logo a,
#logo a {
    display: flex;

    align-items: center;

    text-decoration: none;
}


.nav-logo img,
#logo img {
    display: block;
}


/* =========================================================
   NAVIGATION LINKS
   ========================================================= */

.nav-links,
#menu ul {
    list-style: none;

    margin: 0;
    padding: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 4px;
}


.nav-links li,
#menu li {
    margin: 0;
    padding: 0;
}


.nav-links a,
#menu a {
    display: block;

    padding: 10px 12px;

    border-radius: 8px;

    color: var(--link);

    text-decoration: none;

    font-weight: 600;

    white-space: nowrap;
}


.nav-links a:hover,
#menu a:hover {
    background: var(--link-hover-bg);

    color: var(--heading);
}


.nav-links a.active,
#menu a.active {
    background: rgba(0, 0, 0, 0.10);
}


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

.theme-toggle {
    width: 44px;
    height: 44px;

    flex: 0 0 44px;

    border: 1px solid var(--border);

    border-radius: 50%;

    background: rgba(0, 0, 0, 0.04);

    color: var(--text);

    cursor: pointer;

    font-size: 20px;

    display: flex;

    align-items: center;

    justify-content: center;

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


.theme-toggle:hover {
    background: var(--link-hover-bg);

    transform: scale(1.05);
}


/* =========================================================
   HAMBURGER
   ========================================================= */

.menu-toggle {
    display: none;

    width: 44px;
    height: 44px;

    border: 1px solid var(--border);

    border-radius: 8px;

    background: transparent;

    color: var(--text);

    cursor: pointer;

    font-size: 26px;

    line-height: 1;

    align-items: center;

    justify-content: center;
}


.menu-toggle:hover {
    background: var(--link-hover-bg);
}

/* =========================================================
   BILDERWECHSEL
   ========================================================= */

.hero-slider {
    width: 100%;
    overflow: hidden;
    position: relative;

    background-image: url("../images/donnerschlag_header_bg.png");
    background-repeat: repeat;
    background-position: center;
    background-size: auto;

    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.hero-slide {
    display: none;

    width: auto;
    height: auto;

    max-width: none;

    margin: 0 auto;
}


/* =========================================================
   BILDERWECHSLER – RAHMEN
   ========================================================= */

.hero-slider,
#prew_img {
    width: min(calc(100% - 30px),
            var(--content-width));

    margin: 20px auto;

    overflow: hidden;

    border-radius: var(--radius);

    box-shadow: var(--shadow);
}


/* =========================================================
   BILDER – ORIGINALGRÖSSE
   ========================================================= */

.hero-slider img,
#prew_img img {
    display: block;

    width: auto;
    height: auto;

    max-width: none;

    margin: 0 auto;
}


/* =========================================================
   LISTEN
   ========================================================= */

.hero-slider ul,
#prew_img ul {
    margin: 0;
    padding: 0;

    list-style: none;
}


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

.content-area,
#content {
    width: min(calc(100% - 30px),
            var(--content-width));

    margin: 25px auto;
}


/* =========================================================
   BOX-GRID
   ========================================================= */

.box-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 20px;

    align-items: stretch;
}


/* =========================================================
   ALLGEMEINE BOX
   ========================================================= */

.content-box,
.box {
    min-width: 0;

    background: var(--box-bg);

    color: var(--text);

    border: 1px solid var(--border);

    border-bottom:
        4px solid var(--border-bottom);

    border-radius: var(--radius);

    padding: 20px;

    box-shadow: var(--shadow);

    overflow: hidden;

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


.content-box h2,
.box h2 {
    color: var(--heading);

    margin-top: 0;

    margin-bottom: 14px;
}


.content-box p,
.box p {
    margin-top: 0;
}


/* =========================================================
   BREITE BOX
   BOX 4
   ========================================================= */

.box-wide {
    grid-column: span 2;
}


/* =========================================================
   BOX-BILDER
   ========================================================= */

.content-box img,
.box img {
    max-width: 100%;

    height: auto;
}


.box-image-center {
    display: block;

    margin-left: auto;
    margin-right: auto;
}


.box-image-left {
    float: left;

    margin:
        0 15px 10px 0;
}


.box-image-right {
    float: right;

    margin:
        0 0 10px 15px;
}


/* =========================================================
   BOX 6 - PARTY BILDER
   ========================================================= */

.party-images {
    display: flex;

    justify-content: space-between;

    align-items: flex-end;

    gap: 15px;

    margin-top: 20px;
}


.party-images img {
    width: auto;

    max-width: 48%;
}


/* =========================================================
   BOX 7 - DRINKS
   ========================================================= */

.drinks-grid {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 10px;

    align-items: center;
}


.drinks-grid img {
    display: block;

    width: 100%;

    height: auto;
}


/* =========================================================
   BOX 8
   ========================================================= */

.facebook-link {
    display: inline-block;

    margin-top: 15px;
}


.facebook-link img {
    width: 50px;
    height: 50px;

    display: block;
}


/* =========================================================
   WERBUNG
   ========================================================= */

.advertising-box {
    width: 100%;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;
}


.advertising-box img {
    display: block;

    max-width: 100%;

    height: auto;

    margin: 0 auto;
}


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

.site-footer,
#footer {
    width: min(calc(100% - 30px),
            var(--content-width));

    margin:
        25px auto 20px;

    padding:
        18px 22px;

    background: var(--footer-bg);

    color: var(--text);

    border: 1px solid var(--border);

    border-bottom:
        4px solid var(--border-bottom);

    border-radius: var(--radius);

    box-shadow: var(--shadow);

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    font-size: 13px;
}


.site-footer a,
#footer a {
    color: var(--link);

    text-decoration: none;
}


.site-footer a:hover,
#footer a:hover {
    text-decoration: underline;
}


/* =========================================================
   BLAUES DESIGN
   ========================================================= */

body.theme-blue {
    --page-bg: #071642;

    --box-bg: #3f55a1;

    --header-bg: #0c1f5a;

    --footer-bg: #0c1f5a;

    --text: #ffffff;

    --heading: #ffffff;

    --border: #ffed00;

    --border-bottom: #ffed00;

    --link: #ffffff;

    --link-hover-bg:
        rgba(255, 255, 255, 0.12);

    --shadow:
        0 4px 10px rgba(0, 0, 0, 0.30);
}


/* =========================================================
   DARKMODE
   ========================================================= */

body.dark-mode {
    --page-bg: #111111;

    --box-bg: #222222;

    --header-bg: #000000;

    --footer-bg: #000000;

    --text: #eeeeee;

    --heading: #ffffff;

    --border: #333333;

    --border-bottom: #666666;

    --link: #eeeeee;

    --link-hover-bg:
        rgba(255, 255, 255, 0.10);

    --shadow:
        0 4px 10px rgba(0, 0, 0, 0.55);
}


/* =========================================================
   DARKMODE - SONDERREGELN
   ========================================================= */

body.dark-mode .theme-toggle,
body.dark-mode .menu-toggle {
    color: #ffffff;

    border-color: #444444;

    background: #111111;
}


body.dark-mode .nav-links a.active {
    background:
        rgba(255, 255, 255, 0.12);
}


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

@media (max-width: 1310px) {

    .navigation,
    #menu {
        min-height: 76px;
    }


    .nav-links,
    #menu ul {
        display: none;

        position: absolute;

        top: 100%;
        left: 0;
        right: 0;

        width: 100%;

        padding: 10px;

        background: var(--header-bg);

        border:
            1px solid var(--border);

        border-radius:
            0 0 var(--radius) var(--radius);

        box-shadow: var(--shadow);

        flex-direction: column;

        align-items: stretch;

        gap: 3px;
    }


    .nav-links.open,
    #menu ul.open {
        display: flex;
    }


    .nav-links a,
    #menu a {
        width: 100%;

        text-align: center;

        padding: 12px;
    }


    .menu-toggle {
        display: flex;
    }


    .box-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .box-wide {
        grid-column: span 2;
    }
}


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

@media (max-width: 700px) {

    #page,
    .page,
    .site-container,
    #wrap,

    .navigation,
    #menu,

    .hero-slider,
    #prew_img,

    .content-area,
    #content,

    .site-footer,
    #footer {
        width: calc(100% - 20px);
    }


    .navigation,
    #menu {
        min-height: 68px;

        gap: 8px;
    }


    .nav-logo img,
    #logo img {
        max-height: 60px;

        width: auto;
    }


    .theme-toggle,
    .menu-toggle {
        width: 40px;
        height: 40px;

        flex-basis: 40px;
    }


    .box-grid {
        grid-template-columns: 1fr;

        gap: 15px;
    }


    .box-wide {
        grid-column: span 1;
    }


    .content-box,
    .box {
        padding: 16px;
    }


    .party-images {
        flex-direction: column;

        align-items: center;
    }


    .party-images img {
        max-width: 100%;
    }


    .drinks-grid {
        grid-template-columns:
            1fr 1fr;

        gap: 8px;
    }


    .site-footer,
    #footer {
        flex-direction: column;

        text-align: center;

        padding: 15px;
    }
}


/* =========================================================
   SEHR KLEINE HANDYS
   ========================================================= */

@media (max-width: 420px) {

    body {
        font-size: 15px;
    }


    .nav-logo img,
    #logo img {
        max-height: 50px;
    }


    .content-box,
    .box {
        padding: 14px;
    }
}

/* =========================================================
   DONNERSCHLAG DESIGN-MODI
   Dieser Bereich muss am Ende der CSS-Datei stehen!
   ========================================================= */


/* =========================================================
   MODERN / WEISS
   ========================================================= */

body.design-white {
    background: #ffffff;
    color: #222222;
}


/* Kopf */

body.design-white .site-header {
    background: #fffdf5;
    color: #222222;
}


/* Inhaltsbereich */

body.design-white .content-area {
    background: #ffffff;
}


/* Boxen */

body.design-white .content-box {
    background: #fffdf5;
    color: #222222;
    border: 1px solid #dddddd;
    border-bottom: 4px solid #666666;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.12);
}


/* Footer */

body.design-white .site-footer {
    background: #fffdf5;
    color: #222222;
    border: 1px solid #dddddd;
    border-bottom: 4px solid #666666;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.12);
}



/* =========================================================
   KLASSISCH / BLAU
   ========================================================= */

body.design-blue {
    background: #243b73;
    color: #ffffff;
}


/* Kopf */

body.design-blue .site-header {
    background: #3f55a1;
    color: #ffffff;
}


/* Inhaltsbereich */

body.design-blue .content-area {
    background: #243b73;
}


/* Boxen */

body.design-blue .content-box {
    background: #3f55a1;
    color: #ffffff;

    border: 2px solid #ffed00;
    border-radius: 10px;

    border-bottom: 5px solid #1b2850;

    box-shadow:
        0 5px 12px rgba(0, 0, 0, 0.25);
}


/* Footer */

body.design-blue .site-footer {
    background: #3f55a1;
    color: #ffffff;

    border: 2px solid #ffed00;
    border-radius: 10px;

    border-bottom: 5px solid #1b2850;

    box-shadow:
        0 5px 12px rgba(0, 0, 0, 0.25);
}



/* =========================================================
   BLAUES DESIGN – LINKS
   ========================================================= */

body.design-blue a {
    color: #ffed00;
}

body.design-blue a:hover {
    color: #ffffff;
}



/* =========================================================
   BLAUES DESIGN – ÜBERSCHRIFTEN
   ========================================================= */

body.design-blue h1,
body.design-blue h2,
body.design-blue h3 {
    color: #ffffff;
}



/* =========================================================
   BLAUES DESIGN – NAVIGATION
   ========================================================= */

body.design-blue .nav-links a {
    color: #ffffff;
}

body.design-blue .nav-links a:hover,
body.design-blue .nav-links a.active {
    color: #ffed00;
}



/* =========================================================
   WEISSES DESIGN – NAVIGATION
   ========================================================= */

body.design-white .nav-links a {
    color: #222222;
}

body.design-white .nav-links a:hover,
body.design-white .nav-links a.active {
    color: #3f55a1;
}



/* =========================================================
   BLAUES DESIGN – DARKMODE
   ========================================================= */

body.design-blue.dark-mode {
    background: #111111;
    color: #eeeeee;
}

body.design-blue.dark-mode .site-header {
    background: #000000;
    color: #ffffff;
}

body.design-blue.dark-mode .content-area {
    background: #111111;
}

body.design-blue.dark-mode .content-box {
    background: #1b1b1b;
    color: #eeeeee;

    border-color: #555555;
    border-bottom-color: #666666;
}

body.design-blue.dark-mode .site-footer {
    background: #000000;
    color: #eeeeee;

    border-color: #555555;
}



/* =========================================================
   WEISSES DESIGN – DARKMODE
   ========================================================= */

body.design-white.dark-mode {
    background: #111111;
    color: #eeeeee;
}

body.design-white.dark-mode .site-header {
    background: #000000;
    color: #ffffff;
}

body.design-white.dark-mode .content-area {
    background: #111111;
}

body.design-white.dark-mode .content-box {
    background: #1b1b1b;
    color: #eeeeee;

    border-color: #444444;
    border-bottom-color: #666666;
}

body.design-white.dark-mode .site-footer {
    background: #000000;
    color: #eeeeee;

    border-color: #444444;
    border-bottom-color: #666666;
}



/* =========================================================
   DARKMODE – LINKS
   ========================================================= */

body.dark-mode a {
    color: #eeeeee;
}

body.dark-mode a:hover {
    color: #ffffff;
}

/* =========================================================
   FOTOGALERIE
   ========================================================= */

.gallery-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px 60px;
}


/* Intro */

.gallery-intro {
    margin-bottom: 25px;
    padding: 22px 25px;
}

.gallery-intro h1 {
    margin: 8px 0 5px;
}

.gallery-intro p {
    margin: 0;
}


/* Zurück-Link */

.gallery-back {
    display: inline-block;
    text-decoration: none;
    font-weight: 700;
    margin-bottom: 5px;
}


/* =========================================================
   ALBUM-ÜBERSICHT
   ========================================================= */

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


.gallery-album {
    display: block;
    overflow: hidden;
    text-decoration: none;
    color: inherit;

    border-radius: 12px;

    background: #fffdf5;

    border: 1px solid #dddddd;
    border-bottom: 4px solid #666666;

    box-shadow:
        0 5px 12px rgba(0, 0, 0, 0.12);

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


.gallery-album:hover {
    transform: translateY(-4px);

    box-shadow:
        0 10px 22px rgba(0, 0, 0, 0.18);
}


.gallery-cover {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #ddd;
}


.gallery-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;

    transition:
        transform .3s ease;
}


.gallery-album:hover .gallery-cover img {
    transform: scale(1.04);
}


.gallery-meta {
    padding: 14px 16px;
}


.gallery-date {
    font-size: 18px;
    font-weight: 700;
}


.gallery-count {
    margin-top: 4px;
    font-size: 14px;
    opacity: .7;
}


/* =========================================================
   BILDER IM ALBUM
   ========================================================= */

.photo-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 14px;
}


.photo-thumb {
    aspect-ratio: 1 / 1;
    overflow: hidden;

    cursor: pointer;

    border-radius: 10px;

    background: #ddd;

    box-shadow:
        0 4px 10px rgba(0, 0, 0, .12);

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


.photo-thumb:hover {
    transform: translateY(-3px);

    box-shadow:
        0 8px 18px rgba(0, 0, 0, .2);
}


.photo-thumb img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform .25s ease;
}


.photo-thumb:hover img {
    transform: scale(1.05);
}


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

.gallery-empty {
    text-align: center;
    padding: 50px 20px;
}


/* =========================================================
   MELDUNG
   ========================================================= */

.gallery-notice {
    margin-bottom: 20px;
    padding: 16px 20px;
}


/* =========================================================
   LIGHTBOX
   ========================================================= */

.lightbox {
    position: fixed;
    inset: 0;

    display: none;

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

    z-index: 1000;

    background:
        rgba(0, 0, 0, .92);
}


.lightbox.open {
    display: flex;
}


.lightbox-viewer {
    position: relative;

    width: 100%;
    height: 100%;

    display: flex;

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

    padding: 55px 80px;
}


.lightbox-viewer img {
    max-width: 100%;
    max-height: 100%;

    object-fit: contain;

    user-select: none;
}


.lightbox-nav,
.lightbox-close {
    position: absolute;

    border: 0;

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

    color: #fff;

    cursor: pointer;

    display: grid;
    place-items: center;

    border-radius: 50%;

    transition:
        background .2s ease;
}


.lightbox-nav:hover,
.lightbox-close:hover {
    background:
        rgba(255, 255, 255, .30);
}


.lightbox-nav {
    width: 52px;
    height: 52px;

    font-size: 34px;
}


.lightbox-prev {
    left: 20px;
}


.lightbox-next {
    right: 20px;
}


.lightbox-close {
    top: 18px;
    right: 20px;

    width: 46px;
    height: 46px;

    font-size: 28px;
}


.lightbox-counter {
    position: absolute;

    bottom: 18px;
    left: 50%;

    transform:
        translateX(-50%);

    color: #fff;

    background:
        rgba(0, 0, 0, .45);

    padding: 7px 13px;

    border-radius: 999px;

    font-size: 14px;
}


/* =========================================================
   BLAUES DESIGN
   ========================================================= */

body.design-blue .gallery-album {
    background: #3f55a1;

    color: #fff;

    border: 2px solid #ffed00;
    border-bottom: 5px solid #1b2850;
}


body.design-blue .gallery-album:hover {
    box-shadow:
        0 10px 24px rgba(0, 0, 0, .30);
}


body.design-blue .gallery-count {
    color: #fff;
    opacity: .8;
}


body.design-blue .gallery-empty {
    background: #3f55a1;
    color: #fff;

    border: 2px solid #ffed00;
    border-bottom: 5px solid #1b2850;
}


/* =========================================================
   DARKMODE
   ========================================================= */

body.dark-mode .gallery-album {
    background: #1b1b1b;
    color: #eee;

    border-color: #444;
    border-bottom-color: #666;
}


body.dark-mode .gallery-empty {
    background: #1b1b1b;
    color: #eee;

    border-color: #444;
    border-bottom-color: #666;
}


body.dark-mode .gallery-intro {
    color: #eee;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1000px) {

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

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

}


@media (max-width: 700px) {

    .gallery-page {
        padding:
            20px 14px 45px;
    }


    .gallery-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 14px;
    }


    .photo-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 8px;
    }


    .gallery-meta {
        padding: 11px 12px;
    }


    .gallery-date {
        font-size: 15px;
    }


    .gallery-count {
        font-size: 12px;
    }


    .lightbox-viewer {
        padding:
            50px 10px;
    }


    .lightbox-nav {
        width: 42px;
        height: 42px;

        font-size: 28px;
    }


    .lightbox-prev {
        left: 8px;
    }


    .lightbox-next {
        right: 8px;
    }


    .lightbox-close {
        top: 10px;
        right: 10px;
    }

}


@media (max-width: 450px) {

    .gallery-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}

/* ==========================================================
   BLUE / CLASSIC DESIGN
   Aufgeklapptes Hamburger-Menü
   ========================================================== */

body.design-blue .nav-links {
    background: #3F55A1 !important;
    color: #FFED00 !important;
    border-color: #FFED00 !important;
}

body.design-blue .nav-links a {
    background: #3F55A1 !important;
    color: #FFED00 !important;
}

body.design-blue .nav-links a:hover,
body.design-blue .nav-links a.active {
    background: #32478C !important;
    color: #FFED00 !important;
}


/* ==========================================================
   BLUE DESIGN + DARKMODE
   Navigation und Hamburger dunkel darstellen
   ========================================================== */

body.design-blue.dark-mode .menu-toggle {
    background: #111111 !important;
    color: #FFED00 !important;
    border-color: #FFED00 !important;
}

body.design-blue.dark-mode .nav-links {
    background: #111111 !important;
    color: #FFED00 !important;
    border-color: #333333 !important;
}

body.design-blue.dark-mode .nav-links a {
    background: #111111 !important;
    color: #FFED00 !important;
}

body.design-blue.dark-mode .nav-links a:hover,
body.design-blue.dark-mode .nav-links a.active {
    background: #2a2a2a !important;
    color: #FFED00 !important;
}

/* ==========================================================
   DARKMODE – NAVIGATION IM WEISSEN DESIGN
   ========================================================== */

body.design-white.dark-mode .nav-links a {
    background: #111111 !important;
    color: #ffffff !important;
}

body.design-white.dark-mode .nav-links a:hover,
body.design-white.dark-mode .nav-links a.active {
    background: #2a2a2a !important;
    color: #ffffff !important;
}

/* =========================================================
   LOCATION – BILDERWECHSLER
   ========================================================= */

.location-slider {
    width: 100%;
    min-height: 500px;

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

    position: relative;
    overflow: hidden;
}


/* Bilder in Originalgröße */

.location-slide {
    display: none;

    width: auto;
    height: auto;

    max-width: 100%;
    max-height: 500px;

    margin: 0 auto;
}


/* Aktuelles Bild */

.location-slide.active {
    display: block;
}

/* =========================================================
   SEHR KLEINE HANDYS
   NAVIGATION UNTER DEM LOGO
   ========================================================= */

@media (max-width: 560px) {

    /*
     * Der Header wird mehrzeilig:
     * oben das dreiteilige Logo,
     * darunter die Bedienelemente.
     */

    .navigation,
    #menu {
        min-height: auto;

        flex-direction: column;

        align-items: center;

        justify-content: flex-start;

        gap: 8px;

        padding-top: 8px;
        padding-bottom: 8px;
    }


    /*
     * Dreiteiliges Logo
     */

    .nav-logo,
    #logo {
        width: 100%;

        display: flex;

        justify-content: center;
    }


    .nav-logo a,
    #logo a {
        justify-content: center;

        max-width: 100%;
    }


    .nav-logo img,
    #logo img {
        max-height: 50px;

        width: auto;
    }


    /*
     * Hamburger und Darkmode nebeneinander
     */

    .menu-toggle,
    .theme-toggle {
        width: 38px;
        height: 38px;

        flex: 0 0 38px;
    }


    .menu-toggle {
        font-size: 22px;
    }


    .theme-toggle {
        font-size: 18px;
    }


    /*
     * Die beiden Buttons zusammenfassen.
     *
     * Da sie momentan direkte Kinder von
     * .navigation sind, positionieren wir sie
     * nebeneinander.
     */

    .navigation>.menu-toggle,
    .navigation>.theme-toggle {
        margin-top: 2px;
    }


    /*
     * Geöffnetes Menü unter dem Logo
     */

    .nav-links,
    #menu ul {
        top: 100%;

        width: 100%;
    }
}

/* ==================================================
   Mail Formular
   ================================================== */

.mail-form {
    width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr);
    column-gap: 10px;
    align-items: start;
    margin-bottom: 12px;
}

.form-row>label:first-child {
    text-align: right;
    padding-top: 6px;
}

.eingabefeld_shoutbox,
.textarea_shoutbox {
    width: 100%;
    box-sizing: border-box;
}

.textarea_shoutbox {
    display: block;
    resize: vertical;
}

.code-field {
    display: flex;
    align-items: center;
    gap: 10px;
}

.code-field .eingabefeld_shoutbox {
    width: 100px;
}

.code-field img {
    display: block;
    width: 50px;
    height: 25px;
}

.form-row-full {
    display: block;
    margin-left: 90px;
}

.datenschutz {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    text-align: left !important;
    padding-top: 0 !important;
    font-weight: normal;
}

.datenschutz input {
    flex-shrink: 0;
    margin-top: 3px;
}

.form-buttons {
    display: flex;
    gap: 10px;
}

.form-buttons .button {
    cursor: pointer;
}

/* Gegen Spammails */
.s-schutz {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.s-schutz input {
    width: 1px;
    height: 1px;
}

.spam-schutz {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.spam-schutz input {
    width: 1px;
    height: 1px;
}

.mail-bestaetigung {
    width: 100%;
    box-sizing: border-box;
}

.mail-bestaetigung h2 {
    margin-top: 0;
}

.mail-text {
    padding: 15px;
    margin: 10px 0 20px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    overflow-wrap: break-word;
}

.mail-fehler {
    margin-top: 15px;
    padding: 10px;
}