/*
Theme Name: Sanfte Massagen ohne Termine und X
Theme URI: https://sanfte-massagen.ch
Author: Sanfte Massagen
Description: Landingpage mit echtem Booking-Calendar-Shortcode, Mia-Bild und Studio-Galerie.
Version: 1.5
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: Proprietary
Text Domain: sanfte-massagen-ohne-kundenbilder
*/

/* FINAL FIX – Booking Calendar Dropdown-Feld */
body .wpbc_container select,
body .booking_form_div select,
body .wpbc_booking_form select,
body .booking_form select,
body select[name*="booking"],
body select[name*="massage"],
body select[name*="service"] {
  display: block !important;
  width: 100% !important;
  min-height: 58px !important;
  height: 58px !important;
  line-height: 1.3 !important;
  padding: 10px 16px !important;
  font-size: 20px !important;
  box-sizing: border-box !important;
  border-radius: 14px !important;
  overflow: visible !important;
  vertical-align: middle !important;
}

/* Safari-Korrektur für Select-Felder */
body .wpbc_container select,
body .booking_form_div select,
body .wpbc_booking_form select,
body .booking_form select {
  -webkit-appearance: menulist !important;
  appearance: menulist !important;
}
/* ================================
   Landing Page: Lomi Lomi
================================ */

.landing-page {
    background: #f7f2f7;
    color: #2f2437;
}

.landing-page .container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.landing-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #fbf7fb 0%, #f2eaf3 100%);
}

.landing-hero__grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 70px;
    align-items: center;
}

.landing-hero .eyebrow {
    display: inline-block;
    margin-bottom: 18px;
    color: #9f174f;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.landing-hero h1 {
    margin: 0 0 24px;
    font-size: clamp(42px, 6vw, 82px);
    line-height: 1.03;
    font-weight: 400;
    color: #2f2437;
}

.landing-hero .lead {
    max-width: 620px;
    margin-bottom: 34px;
    font-size: 1.16rem;
    line-height: 1.8;
    color: #6f6278;
}

.landing-hero__image img {
    width: 100%;
    height: 560px;
    object-fit: cover;
    border-radius: 34px;
    box-shadow: 0 26px 70px rgba(55, 38, 64, 0.16);
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.landing-content {
    padding: 90px 0;
}

.landing-content__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 54px;
    align-items: start;
}

.landing-main {
    background: #fff;
    padding: 56px;
    border: 1px solid rgba(91, 75, 100, 0.12);
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(55, 38, 64, 0.08);
}

.landing-main h2 {
    margin: 44px 0 16px;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.15;
    color: #2f2437;
}

.landing-main h2:first-child {
    margin-top: 0;
}

.landing-main h3 {
    margin: 30px 0 10px;
    font-size: 1.35rem;
    color: #2f2437;
}

.landing-main p {
    margin: 0 0 18px;
    font-size: 1.05rem;
    line-height: 1.85;
    color: #65586e;
}

.landing-callout {
    margin: 48px 0;
    padding: 34px;
    border-radius: 26px;
    background: #f7eff5;
    border: 1px solid rgba(159, 23, 79, 0.16);
}

.landing-callout h3 {
    margin-top: 0;
    color: #9f174f;
}

.landing-side-card {
    position: sticky;
    top: 120px;
    background: #fff;
    padding: 34px;
    border-radius: 28px;
    border: 1px solid rgba(91, 75, 100, 0.14);
    box-shadow: 0 20px 55px rgba(55, 38, 64, 0.1);
}

.landing-side-card h3 {
    margin: 0 0 14px;
    font-size: 1.7rem;
    color: #2f2437;
}

.landing-side-card p {
    margin: 0 0 26px;
    line-height: 1.7;
    color: #6f6278;
}

.landing-detail {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 0;
    border-top: 1px solid rgba(91, 75, 100, 0.12);
}

.landing-detail strong {
    color: #2f2437;
}

.landing-detail span {
    color: #6f6278;
    text-align: right;
}

.landing-side-card .btn {
    width: 100%;
    margin-top: 24px;
    text-align: center;
}

@media (max-width: 900px) {
    .landing-hero {
        padding: 90px 0 55px;
    }

    .landing-hero__grid,
    .landing-content__grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .landing-hero__image img {
        height: 420px;
    }

    .landing-main {
        padding: 34px 24px;
    }

    .landing-side-card {
        position: static;
    }
}

@media (max-width: 560px) {
    .landing-page .container {
        width: min(100% - 28px, 1180px);
    }

    .landing-hero h1 {
        font-size: 42px;
    }

    .landing-hero__image img {
        height: 320px;
        border-radius: 24px;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
        text-align: center;
    }
}
/* Landing Hero Layout Fix */
.landing-hero__grid {
    display: grid !important;
    grid-template-columns: 1fr 0.95fr !important;
    gap: 64px !important;
    align-items: center !important;
}

.landing-hero__content {
    max-width: 680px;
}

.landing-hero__image {
    width: 100%;
}

.landing-hero__image img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: 28px;
    box-shadow: 0 24px 60px rgba(46, 36, 56, .14);
}

@media (max-width: 900px) {
    .landing-hero__grid {
        grid-template-columns: 1fr !important;
    }

    .landing-hero__image img {
        height: 360px;
    }
}
/* Landing Pages allgemeiner Layout-Fix */
.landing-page .landing-hero__grid {
    display: grid !important;
    grid-template-columns: 1fr 0.95fr !important;
    gap: 64px !important;
    align-items: center !important;
}

.landing-page .landing-content__grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 360px !important;
    gap: 54px !important;
    align-items: start !important;
}

.landing-page .landing-side-card {
    position: sticky;
    top: 120px;
}

@media (max-width: 900px) {
    .landing-page .landing-hero__grid,
    .landing-page .landing-content__grid {
        grid-template-columns: 1fr !important;
    }

    .landing-page .landing-side-card {
        position: static;
    }
}
/* Schwangerschaft Landing Page Hero Fix */
.schwangerschaft-page .landing-hero h1 {
    font-size: clamp(3.2rem, 5vw, 5.2rem) !important;
    line-height: 1.08 !important;
    max-width: 760px !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
}

.schwangerschaft-page .landing-hero__grid {
    grid-template-columns: minmax(0, 1fr) 460px !important;
}

.schwangerschaft-page .landing-hero__image img {
    height: 520px !important;
}

@media (max-width: 1100px) {
    .schwangerschaft-page .landing-hero__grid {
        grid-template-columns: 1fr !important;
    }

    .schwangerschaft-page .landing-hero h1 {
        font-size: clamp(2.6rem, 8vw, 4.4rem) !important;
    }
}
/* Final Fix: Schwangerschaft Landing Hero */
.schwangerschaft-page .landing-hero {
    overflow: hidden;
}

.schwangerschaft-page .landing-hero__grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 420px !important;
    gap: 80px !important;
    align-items: center !important;
}

.schwangerschaft-page .landing-hero__content {
    min-width: 0 !important;
    max-width: 720px !important;
}

.schwangerschaft-page .landing-hero h1 {
    font-size: clamp(48px, 4.2vw, 72px) !important;
    line-height: 1.08 !important;
    max-width: 720px !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
    hyphens: auto !important;
}

.schwangerschaft-page .landing-hero__image {
    width: 420px !important;
    max-width: 100% !important;
    justify-self: end !important;
}

.schwangerschaft-page .landing-hero__image img {
    width: 420px !important;
    height: 520px !important;
    max-width: 100% !important;
    object-fit: cover !important;
    border-radius: 28px !important;
}

@media (max-width: 1100px) {
    .schwangerschaft-page .landing-hero__grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }

    .schwangerschaft-page .landing-hero__image {
        width: 100% !important;
        justify-self: start !important;
    }

    .schwangerschaft-page .landing-hero__image img {
        width: 100% !important;
        height: 420px !important;
    }
}
/* Schwangerschaft Landing Page: Side Card Text Fix */
.schwangerschaft-page .landing-side-card {
    overflow: hidden;
}

.schwangerschaft-page .landing-side-card h3 {
    font-size: clamp(1.6rem, 2vw, 2.1rem) !important;
    line-height: 1.15 !important;
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
    hyphens: auto !important;
}

.schwangerschaft-page .landing-side-card p {
    font-size: 1.02rem !important;
    line-height: 1.75 !important;
}

@media (max-width: 1100px) {
    .schwangerschaft-page .landing-side-card h3 {
        font-size: 1.8rem !important;
    }
}
/* ================================
   FINAL FIX: Hot Stone Mobile
================================ */

@media (max-width: 900px) {

    .landing-page .landing-hero {
        padding-top: 150px !important;
        padding-bottom: 55px !important;
    }

    .landing-page .landing-hero__grid {
        grid-template-columns: 1fr !important;
        gap: 34px !important;
    }

    .landing-page .landing-hero__content {
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .landing-page .landing-hero h1 {
        font-size: clamp(46px, 12vw, 64px) !important;
        line-height: 1.04 !important;
        margin-bottom: 22px !important;
        overflow-wrap: normal !important;
        word-break: normal !important;
        hyphens: none !important;
    }

    .landing-page .landing-hero .lead {
        font-size: 19px !important;
        line-height: 1.7 !important;
        margin-bottom: 30px !important;
    }

    .landing-page .landing-hero__image img {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 1 / 1 !important;
        object-fit: cover !important;
        object-position: center center !important;
        border-radius: 24px !important;
        display: block !important;
    }

    .landing-page .hero-cta {
        flex-direction: column !important;
        gap: 14px !important;
    }

    .landing-page .hero-cta .btn {
        width: 100% !important;
        justify-content: center !important;
        text-align: center !important;
    }
}

@media (max-width: 560px) {

    .landing-page .container {
        width: min(100% - 32px, 1180px) !important;
    }

    .landing-page .landing-hero {
        padding-top: 165px !important;
    }

    .landing-page .landing-hero h1 {
        font-size: 48px !important;
        line-height: 1.04 !important;
    }

    .landing-page .landing-hero__image img {
        border-radius: 22px !important;
    }
}
/* ================================
   FINAL FIX: Schwangerschaft Mobile Content
================================ */

@media (max-width: 900px) {

    html,
    body {
        overflow-x: hidden !important;
    }

    .schwangerschaft-page .landing-content {
        padding: 48px 0 !important;
    }

    .schwangerschaft-page .container {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 18px !important;
        padding-right: 18px !important;
        box-sizing: border-box !important;
    }

    .schwangerschaft-page .landing-content__grid {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }

    .schwangerschaft-page .landing-main {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 34px 24px !important;
        box-sizing: border-box !important;
        border-radius: 26px !important;
    }

    .schwangerschaft-page .landing-main h2 {
        font-size: clamp(34px, 10vw, 46px) !important;
        line-height: 1.12 !important;
        overflow-wrap: normal !important;
        word-break: normal !important;
        hyphens: auto !important;
    }

    .schwangerschaft-page .landing-main p {
        font-size: 19px !important;
        line-height: 1.75 !important;
    }
}

@media (max-width: 560px) {

    .schwangerschaft-page .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .schwangerschaft-page .landing-main {
        padding: 30px 22px !important;
        border-radius: 24px !important;
    }
}
/* ================================
   FINAL FIX: Schwangerschaft Hero Mobile
================================ */

@media (max-width: 900px) {

    html,
    body {
        overflow-x: hidden !important;
    }

    .schwangerschaft-page .landing-hero {
        padding-top: 145px !important;
        padding-bottom: 50px !important;
        overflow: hidden !important;
    }

    .schwangerschaft-page .container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
        box-sizing: border-box !important;
    }

    .schwangerschaft-page .landing-hero__grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 28px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .schwangerschaft-page .landing-hero__content {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .schwangerschaft-page .landing-hero h1 {
        width: 100% !important;
        max-width: 100% !important;
        font-size: clamp(42px, 11vw, 56px) !important;
        line-height: 1.05 !important;
        margin-bottom: 18px !important;
        overflow-wrap: anywhere !important;
        word-break: normal !important;
        hyphens: auto !important;
    }

    .schwangerschaft-page .landing-hero .lead {
        width: 100% !important;
        max-width: 100% !important;
        font-size: 18px !important;
        line-height: 1.7 !important;
        margin-bottom: 28px !important;
    }

    .schwangerschaft-page .landing-hero__image {
        width: 100% !important;
        max-width: 100% !important;
        justify-self: stretch !important;
    }

    .schwangerschaft-page .landing-hero__image img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        aspect-ratio: 1 / 1 !important;
        object-fit: cover !important;
        border-radius: 24px !important;
        display: block !important;
    }

    .schwangerschaft-page .hero-cta {
        flex-direction: column !important;
        gap: 14px !important;
    }

    .schwangerschaft-page .hero-cta .btn {
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
    }
}
/* ================================
   FINAL FIX: Mobile Navigation
================================ */

@media (max-width: 1050px) {

    .site .nav {
        position: relative !important;
    }

    .nav-links {
        display: none !important;
        position: absolute !important;
        top: calc(100% + 12px) !important;
        left: 16px !important;
        right: 16px !important;
        z-index: 9999 !important;
        background: rgba(255, 255, 255, 0.98) !important;
        border: 1px solid rgba(91, 75, 100, 0.12) !important;
        border-radius: 24px !important;
        box-shadow: 0 24px 70px rgba(55, 38, 64, 0.18) !important;
        padding: 18px !important;
        margin: 0 !important;
        list-style: none !important;
        flex-direction: column !important;
        gap: 6px !important;
    }

    .nav-links.is-open {
        display: flex !important;
    }

    .nav-links li {
        width: 100% !important;
    }

    .nav-links a {
        display: block !important;
        width: 100% !important;
        padding: 14px 16px !important;
        border-radius: 16px !important;
        color: #2f2437 !important;
        text-decoration: none !important;
        font-size: 18px !important;
        font-weight: 500 !important;
    }

    .nav-links a:hover {
        background: #f7eff5 !important;
        color: #9f174f !important;
    }

    .nav-toggle {
        display: inline-flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        gap: 6px !important;
        width: 44px !important;
        height: 44px !important;
        border: 0 !important;
        background: transparent !important;
        padding: 0 !important;
        cursor: pointer !important;
    }

    .nav-toggle span {
        display: block !important;
        width: 30px !important;
        height: 3px !important;
        background: #2f2437 !important;
        border-radius: 99px !important;
        transition: transform .2s ease, opacity .2s ease !important;
    }

    .nav-toggle.is-open span:nth-child(1) {
        transform: translateY(9px) rotate(45deg) !important;
    }

    .nav-toggle.is-open span:nth-child(2) {
        opacity: 0 !important;
    }

    .nav-toggle.is-open span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg) !important;
    }
}

@media (min-width: 1051px) {
    .nav-toggle {
        display: none !important;
    }
}
/* ================================
   FINAL FIX: Abstand Karten Mobile
   Schwangerschaftsmassage
================================ */

@media (max-width: 900px) {

    .schwangerschaft-page .landing-main {
        margin-bottom: 28px !important;
    }

    .schwangerschaft-page .landing-side-card {
        margin-top: 0 !important;
    }
}

@media (max-width: 560px) {

    .schwangerschaft-page .landing-main {
        margin-bottom: 24px !important;
    }
}
/* ================================
   FINAL FIX: Schwangerschaft wie Lomi Lomi Mobile
================================ */

@media (max-width: 900px) {

    .schwangerschaft-page .landing-content .container {
        width: calc(100% - 72px) !important;
        max-width: 1180px !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box !important;
    }

    .schwangerschaft-page .landing-content__grid {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .schwangerschaft-page .landing-main {
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 90px !important;
        padding: 44px 36px !important;
        border-radius: 30px !important;
        box-sizing: border-box !important;
    }

    .schwangerschaft-page .landing-side-card {
        width: 100% !important;
        max-width: 100% !important;
        margin-top: 0 !important;
        padding: 44px 36px !important;
        border-radius: 30px !important;
        box-sizing: border-box !important;
    }
}

@media (max-width: 560px) {

    .schwangerschaft-page .landing-content .container {
        width: calc(100% - 64px) !important;
    }

    .schwangerschaft-page .landing-main {
        margin-bottom: 86px !important;
        padding: 38px 30px !important;
        border-radius: 28px !important;
    }

    .schwangerschaft-page .landing-side-card {
        padding: 38px 30px !important;
        border-radius: 28px !important;
    }
}
/* ================================
   FIX: Schöner Umbruch Überschrift
   Schwangerschaftsmassage Mobile
================================ */

@media (max-width: 900px) {
    .schwangerschaft-page .landing-main h2 {
        font-size: clamp(42px, 7vw, 58px) !important;
        line-height: 1.08 !important;
        hyphens: none !important;
        -webkit-hyphens: none !important;
        word-break: normal !important;
        overflow-wrap: normal !important;
        text-wrap: balance !important;
    }
}

@media (max-width: 560px) {
    .schwangerschaft-page .landing-main h2 {
        font-size: 34px !important;
        line-height: 1.12 !important;
    }
}
/* ================================
   SAFE FIX: Schwangerschaft Überschriften Mobile
================================ */

@media (max-width: 900px) {

    .schwangerschaft-page .landing-main h2 {
        font-size: 34px !important;
        line-height: 1.18 !important;
        max-width: 100% !important;
        white-space: normal !important;

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

        hyphens: auto !important;
        -webkit-hyphens: auto !important;
    }
}

@media (max-width: 560px) {

    .schwangerschaft-page .landing-main h2 {
        font-size: 30px !important;
        line-height: 1.2 !important;
    }
}
/* ================================
   FIX: FAQ Titel Schwangerschaft Mobile
================================ */

@media (max-width: 560px) {
    .schwangerschaft-page .faq-title-mobile {
        font-size: 38px !important;
        line-height: 1.12 !important;
        hyphens: none !important;
        -webkit-hyphens: none !important;
        word-break: normal !important;
        overflow-wrap: normal !important;
    }

    .schwangerschaft-page .faq-title-mobile span {
        display: block !important;
        font-size: 34px !important;
        line-height: 1.12 !important;
        hyphens: none !important;
        -webkit-hyphens: none !important;
        word-break: normal !important;
        overflow-wrap: normal !important;
    }
}
