/*
Theme Name: Hypnospace Theme
Author: Denise / scinet
Version: 1.0
*/

/* =========================
   GLOBAL
   ========================= */
body {
    margin: 0;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-color: #000;
    color: #fff;
}

/* Links allgemein */
a {
    color: #fff;
    text-decoration: none;
}
a:hover {
    color: #f5f5f5;
    text-decoration: none;
    opacity: 0.85;
}
/* =========================
   STICKY HEADER (aktuell)
   ========================= */
#mainHeader {
    #background: rgba(0, 0, 0, 0.85);
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    height: 81px;
    display: flex;
    align-items: center;
    z-index: 1030;
    border-bottom: 0px solid rgba(255, 255, 255, 0.1);
    top: 0;
}

/* Alle Links im Header */
#mainHeader a {
    color: #fff;
    font-size: 1rem;
    text-decoration: none;
    transition: color 0.3s;
}
#mainHeader a:hover {
    color: #ccc;
}

/* Linke Spalte: Seitenname */
.header-name {
    font-weight: 500;
    font-size: 1.1rem;
    letter-spacing: 0.04em;
    margin: 0;
    white-space: nowrap;
}

/* Mittlere Spalte: Logo */
.header-logo-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 110px;
    position: relative;
    padding-top: 50px;
}

.header-logo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: 4px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.8);
    z-index: 5;
}

.header-logo img {
    width: 80%;
    height: auto;
    object-fit: contain;
}

/* Basis-Navi-Container */
.header-nav {
    position: relative;
}

/* =========================
   BURGER-MENÜ
   ========================= */

/* Toggler (nur mobil) */
.navbar-toggler {
    background: none;
    border: none;
    color: #fff;
    padding: 0;
    margin-left: 0.5rem;
    z-index: 1001;
}
.navbar-toggler:focus {
    box-shadow: none;
}

/* Burger-Icon */
.navbar-toggler-icon {
    display: inline-block;
    width: 24px;
    height: 2px;
    background-color: #fff;
    position: relative;
}
.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: "";
    position: absolute;
    left: 0;
    width: 24px;
    height: 2px;
    background-color: #fff;
    transition: all 0.3s ease;
}
.navbar-toggler-icon::before {
    top: -7px;
}
.navbar-toggler-icon::after {
    top: 7px;
}

/* ========== Desktop (>= 992px): horizontales Menü rechts ========== */
@media (min-width: 992px) {
    .navbar-toggler {
        display: none;
    }

    #mainMenu {
        display: flex !important;        /* Bootstrap: d-lg-flex */
        position: static;
        background: transparent;
        padding: 0;
        align-items: center;
    }

    #mainMenu .menu {
        display: flex;
        flex-direction: row;
        gap: 1.5rem;
        margin: 0;
        padding: 0;
        list-style: none;
        align-items: center;
    }

    #mainMenu .menu li {
        list-style: none;
    }

    #mainMenu .menu a {
        padding: 0;
        font-size: 1rem;
        white-space: nowrap;
    }
}

/* ========== Mobile & Tablet (< 992px): Dropdown unter dem Header ========== */
@media (max-width: 991.98px) {
    /* Wenn geöffnet (Bootstrap fügt .show hinzu) */
    #mainMenu.collapse.show {
        position: absolute;
        top: 110px; /* Höhe des Headers */
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.96);
        padding: 1.5rem 0;
        z-index: 1000;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
        text-align: center;
    }

    #mainMenu .menu {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        margin: 0;
        padding: 0;
        list-style: none;
        align-items: center;
    }

    #mainMenu .menu li {
        list-style: none;
    }

    #mainMenu .menu a {
        display: block;
        padding: 0.5rem 0;
        font-size: 1.1rem;
    }
}


/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 991.98px) {
    #mainHeader {
        height: 90px;
    }
    .header-logo {
        width: 100px;
        height: 100px;
    }
}


/* =========================
   HERO MIT VIDEO
   ========================= */

.hero-content h1 {
    font-family: "TourneyVar", sans-serif;
}
.hero-video {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    top: -81px;
}

.hero-video video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    #filter: brightness(0.45);
    z-index: -2;
}

.hero-video::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.25),
            rgba(0, 0, 0, 0.85)
    );
    z-index: -1;
}

.hero-content {
    padding: 2rem 1.5rem 4rem;
    max-width: 1000px;
    margin: 0 auto;
    #font-weight: 700;                 /* setzt wght */
    #font-stretch: 75%;                /* setzt wdth via CSS-Level (falls unterstützt) */
}

.hero-kicker {
    font-size: 0.95rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    opacity: 0.9;
    margin-bottom: 0.75rem;
}

.hero-title {
    font-size: clamp(2.6rem, 6vw, 4.5rem);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
    text-shadow: 0 0 18px rgba(0, 0, 0, 0.7);
}

.hero-subtitle {
    font-size: 1.05rem;
    max-width: 640px;
    margin: 0 auto 2rem;
    opacity: 0.95;
    line-height: 1.6;
}

.hero-actions .btn {
    border-radius: 999px;
    padding: 0.85rem 1.8rem;
    font-size: 0.95rem;
}

.hero-actions .btn-primary {
    background-color: #ffffff;
    color: #000;
    border-color: #ffffff;
    font-weight: 600;
}

.hero-actions .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.7);
    color: #fff;
    background: rgba(0, 0, 0, 0.35);
}

.hero-actions .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
}

/* =========================
   HERO VIDEO / IMAGE
   ========================= */
.hero-video {
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    color: #fff;
    padding-top: 90px;
    padding-bottom: 90px;
}

.hero-video video,
.hero-video .hero-image img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    #filter: brightness(0.45);
    z-index: -2;
}

.hero-video::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.85));
    z-index: -1;
}

.hero-content {
    padding: 3rem 1.5rem 4rem;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-kicker {
    font-size: 0.95rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    opacity: 0.9;
    margin-bottom: 0.75rem;
}

.hero-title {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    text-shadow: 0 0 18px rgba(0, 0, 0, 0.7);
}

.hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
}


/* =========================
   SECTIONS & BOXEN
   ========================= */
.section-dark {
    background-color: #000;
    color: #fff;
    padding: 4rem 1.5rem;
}

.section-dark-offer {
     color: #fff;
     padding: 4rem 1.5rem;
    margin-top: -300px;
 }

#podcast-list.section-dark-offer {
    margin-top: 0px;
}

.offer-card {
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    padding: 1.5rem;
    backdrop-filter: blur(4px);
    min-height: 300px;
}

.offer-card img {
    #width: 100%;
    height: auto;
    margin-bottom: 1rem;
}

/* Produktbox */
.product-box {
    border-radius: 8px;
    transition: transform 0.3s ease;
    color: #fff;
}
.product-box:hover {
    transform: translateY(-5px);
}

.product-icon {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border: 0px solid #fff;
    border-radius: 50%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-icon:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}


/* =========================
   FOOTER
   ========================= */
.site-footer,
footer.section-dark {
    background-color: #000;
    color: #fff;
}

/* optionales Footer-Bild */
.site-footer {
    background: url('../images/footer-bg.jpg') center/cover no-repeat;
}

.footer-logo img {
    #filter: brightness(0) invert(1);
}

.footer-social-list img,
.footer-contact-icons img {
    filter: brightness(0) saturate(100%) invert(100%);
    transition: filter .25s ease;
}
.site-footer .footer-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    filter: brightness(0) saturate(100%) invert(100%);
}

.site-footer .footer-bg {
    width: 100%;
}

.site-footer .offer-card.footer-podcast-card {
    padding: 1rem 1.25rem;
    border-radius: 1rem;
    background: #222;
    font-size: 0.9rem;
}

.site-footer .footer-bg {
    width: 100%;
    background: #000; /* falls nicht eh schon */
}

/* SVGs immer weiß */
.site-footer .footer-icon {
    display: inline-block;
    width: 22px;
    height: 22px;
    filter: brightness(0) saturate(100%) invert(100%);
}

/* kleine Chips für WhatsApp/Telegram */
.footer-chip {
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.3);
    background: rgba(255,255,255,.02);
}

/* Podcast-Card im Footer schlank + horizontal */
.footer-podcast-card {
    padding: 0.75rem 1rem !important;
    border-radius: 1rem;
    background: #1c1c1c;
    font-size: 0.85rem;
}

.footer-podcast-card .footer-podcast-inner {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-podcast-card img {
    max-width: 80px;
    height: auto;
    border-radius: 0.5rem;
}

.footer-podcast-card-title {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.3;
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 991.98px) {
    .header-nav {
        justify-content: center;
        margin-top: 0.5rem;
        flex-wrap: wrap;
    }

    .header-nav ul {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .header-logo {
        width: 64px;
        height: 64px;
    }
}
/* Verhindert hässlichen Horizontal-Scroll bei Full-Bleed */
html, body { overflow-x: hidden; }

/* Basis: Container bleibt wie er ist (Bootstrap) */

/* Klasse für 100% Viewport-Breite, bricht aus Containern aus */
.full-bleed,
.alignfull {
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: calc(-50vw);
    margin-right: calc(-50vw);
    width: 100vw;           /* füllt den sichtbaren Viewport */
    max-width: 100vw;
}

/* „Wide“ Variante (etwas breiter als Content, aber nicht bis zum Rand) */
.alignwide {
    /* Passe den Wert an deine Content-Breite an */
    max-width: min(1400px, 96vw);
    margin-left: auto;
    margin-right: auto;
}

/* Optional: Utility mit Padding für Sektionen */
.section-full {
    padding-block: clamp(48px, 6vw, 120px);
}

/* Optional: Hintergrundbeispiele */
.full-bleed.bg-dark,
.alignfull.bg-dark {
    color: #fff;
}

/* Falls irgendwo overflow:hidden; auf Containern sitzt: RISIKO!
   Full-Bleed funktioniert dann nicht. Also vermeiden: */
.container, .container-fluid, .row {
    overflow: visible; /* important: nichts abschneiden */
}

.is-style-full-bleed { @apply /* falls Tailwind */; }
.is-style-full-bleed { /* Vanilla-CSS Fallback: */
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: calc(-50vw);
    margin-right: calc(-50vw);
    width: 100vw;
    max-width: 100vw;
}

@media (max-width: 768px) {
    .wp-block-columns.has-background {
        padding: 0.75em 1em !important;
    }

    .noPadding {
        padding: 0px !important;
    }
}
