/* Schatten für Titel und Untertitel */

.wp-block-cover h1,
.wp-block-cover h4,
.wp-block-cover p,
.entry-hero .entry-title,
.entry-hero .entry-subtitle {
    text-shadow: 1px 2px 5px rgba(0, 0, 0, 0.4) !important;
}

/* Desktop und Tablet */
.cover-mobile {
    display: none !important;
}

/* Mobile Ansicht */
@media (max-width: 767px) {

    .cover-desktop {
        display: none !important;
    }

    .cover-mobile {
        display: block !important;
    }
}

/* Mobile Cover im Blogbeitrag */
@media (max-width: 767px) {
    .post-cover-mobile {
        width: 100% !important;
        max-width: 100% !important;
        height: 280px !important;
        min-height: 280px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .post-cover-mobile img,
    .post-cover-mobile .wp-block-cover__image-background {
        max-width: 100% !important;
        object-fit: cover !important;
        object-position: center center !important;
    }
}

.wp-block-query .wp-block-post-terms a {
    text-decoration: none !important;
}

.site-header + .hero-section {
    clip-path: polygon(0 0, 100% 0, 100% 85%, 50% 100%, 0 85%);
}

.hero-cover {
    position: relative;
    overflow: hidden;
}

.hero-cover {
    position: relative;
    overflow: hidden;
}

.hero-cover::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 125px;

    background: #fff;
    z-index: 2;

    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 125' preserveAspectRatio='none'%3E%3Cpath d='M0 78 C350 88 650 82 900 62 C1120 45 1300 28 1440 18 L1440 125 L0 125 Z' fill='%23000'/%3E%3C/svg%3E");

    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 125' preserveAspectRatio='none'%3E%3Cpath d='M0 78 C350 88 650 82 900 62 C1120 45 1300 28 1440 18 L1440 125 L0 125 Z' fill='%23000'/%3E%3C/svg%3E");

    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;

    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

/* Blog-Beiträge: Hover-Zoom */
.wp-block-query .wp-block-post {
    transition: transform 0.25s ease;
}

.wp-block-query .wp-block-post:hover {
    transform: scale(1.03);
    z-index: 2;
}


/* =========================================
   MEINE ROUTE – Seite ID 8
   ========================================= */

/* Polarsteps-Karte auf "Meine Route" */
body.page-id-8 .route-map iframe {
    display: block;
    width: 100%;
    height: calc(100vh - 120px);
    margin: 0;
    padding: 0;
    border: 0;
}

.vorstellung-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.weiterlesen-button {
    background: #0F5D7A;
    color: #FFFFFF;
    padding: 7px 20px;
    border-radius: 25px;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s ease;
}

.weiterlesen-button:hover {
    background: #2CA7B6;
    color: #FFFFFF;
}

.social-icons .wp-social-link:hover {
    background-color: #2CA7B6 !important;
}

.social-icons .wp-social-link:hover svg {
    fill: #ffffff !important;
}

.struktur-hintergrund {
    background-color: #F8F0E5;
    background-image:
        repeating-radial-gradient(
            circle at 0 0,
            rgba(15, 93, 122, 0.035) 0,
            rgba(15, 93, 122, 0.035) 1px,
            transparent 1px,
            transparent 5px
        );
}

/* Noptin-Newsletter im Footer linksbündig ausrichten */
.site-footer .noptin-optin-form-wrapper {
    text-align: left !important;
}

.site-footer .noptin-optin-form-wrapper .noptin-form-field,
.site-footer .noptin-optin-form-wrapper label {
    text-align: left !important;
}

/* Newsletter-Block im Footer links ausrichten */
.site-footer .noptin-optin-form-wrapper {
    margin-left: 0 !important;
    margin-right: auto !important;
    width: 100%;
    text-align: left !important;
}

.site-footer .noptin-optin-form-wrapper * {
    text-align: left !important;
}

/* Newsletter-Button: Hintergrundfarbe beim Hover */
.site-footer .noptin-optin-form-wrapper button:hover,
.site-footer .noptin-optin-form-wrapper input[type="submit"]:hover {
    background-color: #2CA7B6 !important;
    transition: background-color 0.25s ease;
}

/* Newsletter-Button: gleiche Größe wie Weiterlesen */
.site-footer .noptin-optin-form-wrapper button,
.site-footer .noptin-optin-form-wrapper input[type="submit"] {
    padding: 7px 40px !important;
    border-radius: 25px !important;
    font-family: "Montserrat", sans-serif !important;
    font-weight: 600 !important;
    font-size: inherit;
    line-height: normal;
    cursor: pointer;
}

/* Newsletter: abgerundetes E-Mail-Eingabefeld */
.site-footer .noptin-optin-form-wrapper input[type="email"] {
    border-radius: 25px !important;
}

/* Newsletter: E-Mail-Adresse rechtsbündig */
.site-footer .noptin-optin-form-wrapper input[type="email"] {
    text-align: left !important;
    padding-left: 20px !important;
}

/* /* =========================================
   FOOTER: WEICHER, GESCHWUNGENER ÜBERGANG
   ========================================= */

.site-footer {
    position: relative;
    margin-top: 0 !important;
}

.site-footer::before {
    content: "";
    position: absolute;
    left: 0;
    top: -124px;
    width: 100%;
    height: 125px;
    background: #1A202C;
    z-index: 1;

    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 125' preserveAspectRatio='none'%3E%3Cpath d='M0 48 C300 50 520 62 720 68 C980 76 1200 65 1440 48 L1440 125 L0 125 Z' fill='%23000'/%3E%3C/svg%3E");

    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 125' preserveAspectRatio='none'%3E%3Cpath d='M0 48 C300 50 520 62 720 68 C980 76 1200 65 1440 48 L1440 125 L0 125 Z' fill='%23000'/%3E%3C/svg%3E");

    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

/* Footer: oberen Innenabstand reduzieren */
.site-footer .site-footer-row {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.site-footer .site-footer-row .kt-row-column-wrap {
    padding-top: 0 !important;
}

/* Newsletter: raue Logo-Optik */
.site-footer .noptin-optin-form-wrapper .noptin-form-heading,
.site-footer .noptin-optin-form-wrapper .noptin-heading,
.site-footer .noptin-optin-form-wrapper h1,
.site-footer .noptin-optin-form-wrapper h2,
.site-footer .noptin-optin-form-wrapper h3 {
    font-family: "Bebas Neue", sans-serif !important;
    font-size: 45px !important;
    font-weight: 400 !important;
    letter-spacing: 1px;
    -webkit-font-smoothing: none;
    text-shadow:
        0.4px 0 #1A202C,
        -0.4px 0 #1A202C,
        0 0.4px #1A202C,
        0 -0.4px #1A202C;
}

/* Beitragsüberschrift: Kategorie, Titel und Datum */
.single-post .entry-hero-container-inner .entry-header,
.single-post .entry-header {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 45px 145px 0;
    box-sizing: border-box;
}

/* Gefällt mir: Seitenabstand und Abstand zum Footer */
.single-post .entry-content .sharedaddy,
.single-post .entry-content .sd-like,
.single-post .entry-content .wpulike {
    margin-left: 145px;
    margin-right: 145px;
    margin-bottom: 120px;
}

/* Mobile Ansicht */
@media (max-width: 767px) {
    .single-post .entry-hero-container-inner .entry-header,
    .single-post .entry-header {
        padding: 30px 24px 0;
    }

    .single-post .entry-content .sharedaddy,
    .single-post .entry-content .sd-like,
    .single-post .entry-content .wpulike {
        margin-left: 24px;
        margin-right: 24px;
    }
}

/* 1. Normale Header auf Unterseiten */
body:not(.transparent-header) #masthead {
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

/* 2. Transparenter Header: grundsätzlich kein Schatten */
body.transparent-header #masthead,
body.transparent-header #masthead .site-main-header-wrap,
body.transparent-header #masthead .site-header-wrap,
body.transparent-header #masthead .site-header-inner-wrap,
body.transparent-header #masthead .site-header-row-container-inner {
    box-shadow: none !important;
    filter: none !important;
}

/* 3. Transparenter Header: Schatten erst nach dem Scrollen */
body.transparent-header #masthead .site-main-header-wrap.kadence-sticky-header.item-is-stuck {
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08) !important;
}

/* Normale Unterseiten: Schatten beim Scrollen */
body:not(.transparent-header) #masthead .site-main-header-wrap.kadence-sticky-header.item-is-fixed,
body:not(.transparent-header) #masthead .site-main-header-wrap.kadence-sticky-header.item-is-stuck {
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08) !important;
}

/* ==================================================
   0. EINSTELLUNGEN (hier ändern)
   ================================================== */

.noptin-optin-form-wrapper {
    --noptin-hoehe: 46px;            /* Höhe von E-Mail-Feld und Button */
    --noptin-abstand: 8px;           /* Abstand zwischen Feld und Button */
    --noptin-gesamtbreite: 724px;    /* Länge von Feld + Button zusammen */
    --noptin-feld-teile: 6;          /* Länge des E-Mail-Felds (Verhältnis) */
    --noptin-button-teile: 3;        /* Länge des Buttons (Verhältnis) */
}


/* ==================================================
   1. NOPTIN-FORMULAR: GRUNDAUSRICHTUNG
   ================================================== */

.noptin-optin-form-wrapper {
    display: block !important;
    width: 100% !important;
    text-align: left !important;
    direction: ltr !important;
    box-sizing: border-box !important;
}

.noptin-optin-form-wrapper,
.noptin-optin-form-wrapper form,
.noptin-optin-form-wrapper .noptin-form-description,
.noptin-optin-form-wrapper .noptin-form-field {
    text-align: left !important;
    direction: ltr !important;
    box-sizing: border-box !important;
}


/* ==================================================
   2. BILD / ÜBERSCHRIFT
   ================================================== */

.noptin-optin-form-wrapper::before {
    content: "";
    display: block !important;
    width: 100% !important;
    height: 120px !important;

    background-image: url("https://outdoorbugoverland.com/wp-content/uploads/2026/10/bleib-mit-mir-auf-achse_transparent_1000px-1.png");
    background-repeat: no-repeat !important;
    background-position: left center !important;
    background-size: contain !important;

    margin: 0 0 -10px 0 !important;
    transform: translateX(-30px);
}


/* ==================================================
   3. FORMULAR
   ================================================== */

.noptin-optin-form-wrapper form {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.noptin-optin-form-wrapper form > div {
    float: none !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}


/* ==================================================
   4. BESCHREIBUNG
   ================================================== */

.noptin-optin-form-wrapper .noptin-form-description {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 10px 0 !important;
    padding: 0 !important;
    text-align: left !important;
}


/* ==================================================
   5. E-MAIL-FELD UND BUTTON IN EINER ZEILE
   ================================================== */

/* Zeile */
.noptin-optin-form-wrapper .noptin-form-fields,
.noptin-optin-form-wrapper .noptin-form-fields-wrapper {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;          /* nur damit die Beschreibung oben eine eigene Zeile hat */
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 0 var(--noptin-abstand) !important;
    width: 100% !important;
    max-width: var(--noptin-gesamtbreite) !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}

/* Beschreibung bleibt über dem Feld, auf voller Breite */
.noptin-optin-form-wrapper .noptin-form-fields > .noptin-form-description,
.noptin-optin-form-wrapper .noptin-form-fields-wrapper > .noptin-form-description {
    flex: 0 0 100% !important;
}

/* Bereich des E-Mail-Felds */
.noptin-optin-form-wrapper :is(.noptin-form-fields, .noptin-form-fields-wrapper) > :has(input[type="email"]) {
    flex: var(--noptin-feld-teile) 1 0 !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}

/* Bereich des Buttons */
.noptin-optin-form-wrapper :is(.noptin-form-fields, .noptin-form-fields-wrapper) > :has(button, input[type="submit"]),
.noptin-optin-form-wrapper :is(.noptin-form-fields, .noptin-form-fields-wrapper) > button,
.noptin-optin-form-wrapper :is(.noptin-form-fields, .noptin-form-fields-wrapper) > input[type="submit"] {
    flex: var(--noptin-button-teile) 1 0 !important;
    width: auto !important;
    max-width: none !important;

/* Container */
.destination-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 24px;
    width: 100%;
    margin: 30px auto;
}

.destination-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 24px;
    width: 100%;
    margin: 30px auto;
}

.destination-links .destination-circle {
    position: relative;
    display: block;
    flex: 0 0 150px;
    width: 150px !important;
    height: 150px !important;
    min-width: 150px;
    min-height: 150px;
    border-radius: 50% !important;
    overflow: hidden;
    padding: 0;
    margin: 0;
    background: #000;
    box-sizing: border-box;
    pointer-events: none;
    cursor: default;
}

.destination-links .destination-circle img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover;
    border-radius: 50% !important;
    margin: 0;
    padding: 0;
}

.destination-links .destination-circle:not(.explore)::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 50%;
    z-index: 1;
}

.destination-links .destination-circle span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    color: #fff;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    width: 90%;
}

.destination-links .destination-circle.explore {
    background: #000;
}

@media (max-width: 600px) {
    .destination-links {
        gap: 16px;
    }

    .destination-links .destination-circle {
        flex-basis: 120px;
        width: 120px !important;
        height: 120px !important;
        min-width: 120px;
        min-height: 120px;
    }

    .destination-links .destination-circle span {
        font-size: 16px;
    }
}