.header {
    background-color: #003c78;
    border: none;
    box-shadow: none;
}

.header-navigation > ul > li > a {
    color: #fff;
}

.header-navigation ul > li.active > a,
.header-navigation ul > li > a:hover,
.header-navigation ul > li > a:focus,
.header-navigation ul > li.open > a,
.header-navigation ul > li.open > a:hover,
.header-navigation ul > li.open > a:focus {
    background-color: transparent;
    color: #fff;
}

@media (max-width: 601px) {
    .site-logo img {
        width: 340px;
    }
}

@media (max-width: 450px) {
    .site-logo img {
        width: 220px;
    }
}

.header .mobi-toggler:hover {
    border-color: #ffff;
}

.header-navigation li.menu-search i {
	color: #FFF;
}


/* ATLANTER - Landingpage */

.atlanter-hero {
    position: relative;
    width: 100%;
}

.atlanter-hero img {
    display: block;
    width: 100%;
    height: auto;
}

.atlanter-hero .atlanter-link {
    position: absolute;
    display: block;
    top: 87%;
    height: 9%;
    border-radius: 40px;
    cursor: pointer;
}

.atlanter-hero .atlanter-link-geschichte {
    left: 10%;
    width: 38%;
}

.atlanter-hero .atlanter-link-anfrage {
    left: 51%;
    width: 39%;
}

.atlanter-hero .atlanter-link:hover,
.atlanter-hero .atlanter-link:focus {
    box-shadow: 0 0 20px #ffd76a;
    outline: 2px solid #ffd76a;
}



/* ATLANTER - Hintergrund und Farbwelt */

body:has(.atlanter-hero) .container:has(.atlanter-hero),
body:has(.atlanter-hero) .atlanter-section {
    background: linear-gradient(
        180deg,
        #041d30 0%,
        #082c43 50%,
        #0e4055 100%
    );
    color: #f5f2e9;
}

.atlanter-section {
    padding-top: 45px;
    padding-bottom: 45px;
}

.atlanter-section h1,
.atlanter-section h2,
.atlanter-section h3,
.atlanter-section h4 {
    color: #e5c17a;
}

.atlanter-section p {
    color: #f5f2e9;
    line-height: 1.7;
}

.atlanter-section hr {
    border-color: #b99a58;
}

.atlanter-section img {
    max-width: 100%;
    height: auto;
}

.atlanter-section {
    background: linear-gradient(
        180deg,
        #041d30 0%,
        #082c43 50%,
        #0e4055 100%
    );
}

/* ATLANTER - Durchgehender Hintergrund */

.atlanter-hero {
    box-shadow: 0 0 0 100vmax #041d30;
    clip-path: inset(0 -100vmax);
}

.atlanter-section {
    box-shadow: 0 0 0 100vmax #041d30;
    clip-path: inset(0 -100vmax);
    margin-top: 0;
    margin-bottom: 0;
}

/* ATLANTER - Nahtlose Übergänge */

.atlanter-hero {
    clip-path: inset(-20px -100vmax);
}

.atlanter-section {
    clip-path: inset(-20px -100vmax);
}

/* ATLANTER - Automatischen Seitentitel ausblenden */

.main:has(.atlanter-hero) .breadcrumbs-wrapper {
    display: none;
}

/* ATLANTER - Geschichte und Botschaften */

.atlanter-section h2 {
    font-size: 30px;
    margin-bottom: 30px;
}

.atlanter-section h3 {
    font-size: 23px;
    margin-bottom: 18px;
}

.atlanter-section p {
    font-size: 17px;
    line-height: 1.7;
}

.atlanter-book-cover {
    display: block;
    width: 100%;
    max-width: 280px;
    margin: 0 auto 25px;
    border: 1px solid #b99a58;
    border-radius: 5px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

.atlanter-story-text {
    padding: 25px 15px;
}

.atlanter-message {
    background: #0b344c;
    border: 1px solid #b99a58;
    border-radius: 12px;
    padding: 25px 20px;
    margin-bottom: 20px;
    min-height: 260px;
    text-align: center;
}

.atlanter-symbol {
    display: block;
    font-size: 45px;
    color: #e5c17a;
    margin-bottom: 15px;
}

.atlanter-divider {
    border: 0;
    border-top: 1px solid #b99a58;
    margin: 35px 0;
}

@media (max-width: 767px) {
    .atlanter-section h2 {
        font-size: 25px;
    }

    .atlanter-story-text {
        padding: 15px;
        text-align: center;
    }

    .atlanter-message {
        min-height: 0;
    }
}

/* ATLANTER - Elegante Gestaltung */

.atlanter-section h2,
.atlanter-section h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-style: italic;
}

.atlanter-section h2 {
    font-size: 34px;
}

.atlanter-book-cover {
    max-width: 210px !important;
}

.atlanter-story-text {
    padding-top: 45px;
}

.atlanter-section.atlanter-pearl {
    background: radial-gradient(
        ellipse at center,
        #fffdf7 0%,
        #f5edda 70%,
        #e8dcc2 100%
    );
    box-shadow: 0 0 0 100vmax #f5edda;
    clip-path: inset(0 -100vmax);
    border-top: 2px solid #cba34b;
    border-bottom: 2px solid #cba34b;
}

.atlanter-pearl h2,
.atlanter-pearl h3 {
    color: #082b50;
}

.atlanter-pearl p {
    color: #082b50;
}

.atlanter-pearl .atlanter-message {
    background: transparent;
    border: none;
    border-radius: 0;
    min-height: 0;
    padding: 15px 20px;
}

.atlanter-pearl .atlanter-symbol {
    color: #b88b28;
    font-size: 55px;
}

@media (max-width: 767px) {
    .atlanter-section h2 {
        font-size: 27px;
    }

    .atlanter-story-text {
        padding-top: 10px;
    }
}

/* ATLANTER - Perlmutt-Hintergrund korrigieren */

.atlanter-section.atlanter-pearl {
    background: radial-gradient(
        ellipse at center,
        #fffdf7 0%,
        #f5edda 70%,
        #e8dcc2 100%
    ) !important;
}

.atlanter-section.atlanter-pearl h2,
.atlanter-section.atlanter-pearl h3,
.atlanter-section.atlanter-pearl p {
    color: #082b50 !important;
}

/* ATLANTER - Veranstaltungen, Autor und Anfrage */

.atlanter-events {
    text-align: center;
}

.atlanter-events-intro {
    max-width: 800px;
    margin: 0 auto 30px;
}

.atlanter-audience {
    background: linear-gradient(
        145deg, #fffdf7, #f0e5cd
    );
    border: 2px solid #cba34b;
    border-radius: 18px;
    padding: 20px 12px;
    margin-bottom: 20px;
    min-height: 265px;
    text-align: center;
}

.atlanter-audience h3 {
    color: #082b50 !important;
    font-family: Arial, sans-serif;
    font-style: normal;
    font-size: 21px;
}

.atlanter-audience p {
    color: #082b50 !important;
    font-size: 16px;
    line-height: 1.5;
}

.atlanter-author-photo {
    display: block;
    width: 100%;
    max-width: 380px;
    margin: 0 auto 20px;
    border: 2px solid #cba34b;
    border-radius: 8px;
}

.atlanter-author-text {
    padding: 15px;
}

.atlanter-request {
    text-align: center;
    padding-top: 60px;
    padding-bottom: 60px;
}

.atlanter-request-button {
    display: inline-block;
    background: linear-gradient(
        180deg,
        #fff2b5 0%,
        #e9bb4e 50%,
        #c89527 100%
    );
    color: #041d30 !important;
    border: 2px solid #ffe5a0;
    border-radius: 40px;
    padding: 16px 32px;
    margin-top: 20px;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none !important;
    box-shadow: 0 4px 20px rgba(218,174,65,0.35);
}

.atlanter-request-button:hover,
.atlanter-request-button:focus {
    background: #ffe5a0;
    box-shadow: 0 0 25px #d9b56c;
}

@media (max-width: 767px) {
    .atlanter-audience {
        min-height: 0;
    }

    .atlanter-author-text {
        text-align: center;
    }

    .atlanter-request-button {
        font-size: 17px;
        padding: 14px 20px;
    }
}

/* ATLANTER - Unterwasserwelt */

.main:has(.atlanter-hero) {
    background-color: #041d30;
    background-image: url("/uploads/schwimm/pages/atlanter/atlanter-hintergrund.png");
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
}

.main:has(.atlanter-hero) #main-content {
    background: transparent !important;
}

.main:has(.atlanter-hero) .container:has(.atlanter-hero) {
    background: transparent !important;
}

.atlanter-hero {
    box-shadow: none;
    clip-path: none;
}

.atlanter-section:not(.atlanter-pearl) {
    background: rgba(4, 29, 48, 0.45) !important;
    box-shadow: none;
    clip-path: none;
}

.atlanter-request {
    background: transparent !important;
    padding-top: 80px;
    padding-bottom: 140px;
}

.atlanter-request h2,
.atlanter-request p {
    text-shadow: 0 2px 8px #041d30;
}

/* ATLANTER - Hintergrund harmonisieren */

.main:has(.atlanter-hero) {
    background-size: 100% 100% !important;
    background-position: center bottom !important;
}

.atlanter-section:not(.atlanter-pearl) {
    background: transparent !important;
}

.atlanter-section.atlanter-pearl {
    background: #f5edda !important;
    box-shadow: 0 0 0 100vmax #f5edda;
}

.atlanter-section:not(.atlanter-pearl) h2,
.atlanter-story-text h3,
.atlanter-story-text p,
.atlanter-events-intro {
    text-shadow: 0 2px 6px #041d30;
}

.atlanter-request {
    background: radial-gradient(
        ellipse at center,
        rgba(4,29,48,0.85),
        rgba(4,29,48,0) 75%
    ) !important;
}

.atlanter-request h2,
.atlanter-request p {
    text-shadow: 0 2px 6px #001525,
                 0 0 12px #001525;
}


/* ATLANTER - Optimierung fuer Smartphones */

@media (max-width: 767px) {

    /* Wasserhintergrund ohne Verzerrung */

    .main:has(.atlanter-hero) {
        position: relative;
        isolation: isolate;
        clip-path: inset(0);
        background: #041d30 !important;
    }

    /* Ein ruhiger, bildschirmhoher Wasserhintergrund ohne Wiederholung */
    .main:has(.atlanter-hero)::before {
        content: "";
        position: fixed;
        inset: 0;
        z-index: -1;
        pointer-events: none;
        background: linear-gradient(rgba(4,29,48,0.48), rgba(4,29,48,0.48)),
            url("/uploads/schwimm/pages/atlanter/atlanter-hintergrund.png") center center / cover no-repeat;
    }

    /* Keine rechteckigen Abdunklungen an den Wellen */
    .atlanter-section:not(.atlanter-pearl) {
        background: transparent !important;
    }

    /* Kompaktere Abschnitte */

    .atlanter-section {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .atlanter-section h2 {
        font-size: 26px;
        line-height: 1.3;
        margin-bottom: 20px;
    }

    .atlanter-section h3 {
        font-size: 22px;
        line-height: 1.3;
        margin-bottom: 12px;
    }

    .atlanter-section p {
        font-size: 16px;
        line-height: 1.6;
    }

    /* Goldene Schrift besser lesbar */

    .atlanter-section:not(.atlanter-pearl) h2,
    .atlanter-story-text h3 {
        color: #f5d58e;
        text-shadow: 0 2px 6px #001525;
    }

    /* Buchcover und Geschichte */

    .atlanter-book-cover {
        max-width: 190px !important;
        margin-bottom: 15px;
    }

    .atlanter-story-text {
        padding: 10px 5px;
    }

    /* Perlmutt und goldene Wellen */

    .atlanter-section.atlanter-pearl {
        padding-top: 45px;
        padding-bottom: 45px;
    }

    .atlanter-pearl::before,
    .atlanter-pearl::after {
        height: 30px;
    }

    /* Botschaften und Zielgruppen */

    .atlanter-message {
        min-height: 0;
        margin-bottom: 10px;
    }

    .atlanter-audience {
        min-height: 0;
        padding: 18px 15px;
        margin-bottom: 15px;
    }

    .atlanter-symbol {
        font-size: 38px;
        margin-bottom: 10px;
    }

    /* Autor */

    .atlanter-author-text {
        padding: 10px 5px;
    }

    /* Abschluss und Anfrage */

    .atlanter-request {
        padding-top: 40px;
        padding-bottom: 50px;
    }

    .atlanter-request-button {
        max-width: 100%;
        font-size: 16px;
        padding: 14px 18px;
        white-space: normal;
    }
}
/* ATLANTER - Goldene Embleme */

.atlanter-symbol svg {
    display: block;
    width: 65px;
    height: 65px;
    margin: 0 auto;
    color: #bd9543;
}

.atlanter-message .atlanter-symbol svg {
    width: 90px;
    height: 90px;
}

@media (max-width: 767px) {
    .atlanter-symbol svg {
        width: 55px;
        height: 55px;
    }

    .atlanter-message .atlanter-symbol svg {
        width: 80px;
        height: 80px;
    }
}

/* ATLANTER - Weisse Randstreifen entfernen */

.main:has(.atlanter-hero) {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.main:has(.atlanter-hero) #main-content {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* ATLANTER - Seitenhintergrund korrigieren */

body.controller-atlanter {
    background-color: #041d30 !important;
}

/* ATLANTER - Leseprobe und Buchverkauf */

.atlanter-book-actions {
    margin-top: 30px;
    text-align: center;
}

.atlanter-sample-button {
    display: inline-block;
    background: linear-gradient(
        180deg, #fff2b5, #e9bb4e, #c89527
    );
    color: #041d30 !important;
    border: 2px solid #ffe5a0;
    border-radius: 40px;
    padding: 14px 25px;
    font-size: 17px;
    font-weight: bold;
    text-decoration: none !important;
    box-shadow: 0 4px 20px rgba(218,174,65,0.35);
}

.atlanter-sample-button:hover,
.atlanter-sample-button:focus {
    background: #ffe5a0;
    box-shadow: 0 0 20px #d9b56c;
}

.atlanter-shop-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 25px;
}

.atlanter-shop-option {
    flex: 1 1 150px;
    max-width: 230px;
    text-align: center;
}

.atlanter-shop-option button {
    width: 100%;
    background: rgba(4,29,48,0.7);
    color: #e5c17a;
    border: 1px solid #cba34b;
    border-radius: 40px;
    padding: 12px 18px;
    font-size: 16px;
    cursor: default;
    opacity: 1;
}

.atlanter-shop-option small {
    display: block;
    color: #e5c17a;
    font-family: Georgia, serif;
    font-style: italic;
    font-size: 14px;
    margin-top: 8px;
}

@media (max-width: 767px) {
    .atlanter-sample-button {
        max-width: 100%;
        font-size: 16px;
        padding: 14px 18px;
    }

    .atlanter-shop-option {
        flex-basis: 130px;
    }
}

/* ATLANTER - Grosse Smartphone-Buttons */

.atlanter-mobile-buttons {
    display: none;
}

@media (max-width: 767px) {

    .atlanter-hero img {
        clip-path: inset(0 0 14% 0);
        margin-bottom: -9.3%;
    }

    .atlanter-hero .atlanter-link {
        display: none;
    }

    .atlanter-mobile-buttons {
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding: 10px 5px 20px;
    }

    .atlanter-mobile-buttons a {
        display: block;
        text-align: center;
        padding: 14px 10px;
        border: 2px solid #e5c17a;
        border-radius: 40px;
        font-size: 16px;
        font-weight: bold;
        line-height: 1.4;
        text-decoration: none !important;
        color: #e5c17a !important;
        background: #041d30;
    }

    .atlanter-mobile-buttons a:first-child {
        background: linear-gradient(
            180deg, #fff2b5, #e9bb4e, #c89527
        );
        color: #041d30 !important;
    }
}

/* ATLANTER - Reihenfolge Smartphone */

@media (max-width: 767px) {

    .atlanter-hero {
        display: flex;
        flex-direction: column;
    }

    .atlanter-hero img {
        order: 1;
    }

    .atlanter-mobile-buttons {
        order: 2;
    }
}

/* ATLANTER 2.2 - Wellen, Perlmutt und Ornamente */
.atlanter-section.atlanter-pearl {
    position: relative;
    background: linear-gradient(180deg, #f5edda 0%, #fffaf0 48%, #f5edda 100%) !important;
    box-shadow: none !important;
    clip-path: none !important;
    border: none !important;
    overflow: visible !important;
    width: 100% !important;
    margin-top: 54px;
    margin-bottom: 54px;
    padding-top: 30px;
    padding-bottom: 24px;
}
.atlanter-pearl::before,
.atlanter-pearl::after {
    content: "";
    position: absolute;
    display: block;
    left: 50%;
    width: 100%;
    height: 54px;
    background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201440%2060%22%20preserveAspectRatio%3D%22none%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22g%22%3E%3Cstop%20stop-color%3D%22%23b88b28%22%2F%3E%3Cstop%20offset%3D%22.5%22%20stop-color%3D%22%23ffe5a0%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23b88b28%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Cpath%20d%3D%22M0%2030%20C120%204%20240%204%20360%2030%20C480%2056%20600%2056%20720%2030%20C840%204%20960%204%201080%2030%20C1200%2056%201320%2056%201440%2030%20V60%20H0%20Z%22%20fill%3D%22%23f5edda%22%2F%3E%3Cpath%20d%3D%22M0%2030%20C120%204%20240%204%20360%2030%20C480%2056%20600%2056%20720%2030%20C840%204%20960%204%201080%2030%20C1200%2056%201320%2056%201440%2030%22%20fill%3D%22none%22%20stroke%3D%22url%28%23g%29%22%20stroke-width%3D%224.5%22%2F%3E%3C%2Fsvg%3E") center / 100% 100% no-repeat !important;
    pointer-events: none;
    z-index: 2;
}
.atlanter-pearl::before { top: -53px; transform: translateX(-50%); }
.atlanter-pearl::after { bottom: -53px; transform: translateX(-50%) rotate(180deg); }
.atlanter-pearl > .row { max-width: 1170px; margin-left: auto; margin-right: auto; }
.atlanter-pearl .atlanter-message { margin-bottom: 0; padding-bottom: 5px; }
.atlanter-section h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    text-align: center;
}
.atlanter-section h2::before,
.atlanter-section h2::after {
    content: "";
    flex: 0 1 85px;
    min-width: 15px;
    height: 10px;
    background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20100%2012%22%20preserveAspectRatio%3D%22none%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22g%22%3E%3Cstop%20stop-color%3D%22%23b88b28%22%20stop-opacity%3D%220.15%22%2F%3E%3Cstop%20offset%3D%22.65%22%20stop-color%3D%22%23d5aa50%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23b88b28%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Cpath%20d%3D%22M0%206%20Q60%201%2094%206%20Q60%2011%200%206Z%22%20fill%3D%22url%28%23g%29%22%2F%3E%3Cpath%20d%3D%22M94%206L97%203L100%206L97%209Z%22%20fill%3D%22%23cba34b%22%2F%3E%3C%2Fsvg%3E") center / 100% 100% no-repeat;
}
.atlanter-section h2::after { transform: scaleX(-1); }
@media (max-width: 767px) {
    .atlanter-section.atlanter-pearl {
        margin-top: 30px;
        margin-bottom: 30px;
        padding-top: 32px;
        padding-bottom: 26px;
    }
    .atlanter-pearl::before, .atlanter-pearl::after { height: 30px; }
    .atlanter-pearl::before { top: -29px; }
    .atlanter-pearl::after { bottom: -29px; }
    .atlanter-section h2 { gap: 8px; }
    .atlanter-section h2::before, .atlanter-section h2::after { flex: 0 1 25px; min-width: 12px; height: 7px; }
}

/* ATLANTER 2.3 - Lesbarkeit am Desktop */
@media (min-width: 768px) {
    .atlanter-section.atlanter-request:not(.atlanter-pearl) {
        background: radial-gradient(ellipse at 50% 42%, rgba(4,29,48,0.88) 0%, rgba(4,29,48,0.65) 30%, rgba(4,29,48,0.25) 55%, transparent 76%) !important;
    }
    .atlanter-request h2, .atlanter-request p {
        text-shadow: 0 2px 5px #001525, 0 0 12px #001525;
    }
}
