/*
Theme Name: LaSuite
Theme URI: https://lasuite-fit.ch
Author: WebWest
Author URI: https://webwest.ch
Description: Modern fitness theme for LaSuite - Mobile-first with Elementor support
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lasuite
Tags: fitness, gym, health, elementor, mobile-first
*/

:root {
    --primary: #CBAA6D;
    --primary-hover: #b09055;
    --background-light: #F8F8F6;
    --background-dark: #121212;
    --surface-light: #FFFFFF;
    --surface-dark: #1E1E1E;
    --text-main-light: #1A1A1A;
    --text-main-dark: #F0F0F0;
    --text-muted-light: #666666;
    --text-muted-dark: #AAAAAA;
    --brand-dark-teal: #0E2A30;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--background-light);
    color: var(--text-main-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==================== */
/* MOBILE NAVIGATION    */
/* ==================== */

.lasuite-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.3s ease;
}

.lasuite-nav.scrolled {
    box-shadow: 0 4px 30px rgba(0,0,0,0.1);
    padding: 12px 20px;
}

@media (min-width: 768px) {
    .lasuite-nav {
        background: transparent;
        backdrop-filter: none;
        padding: 24px 48px;
    }
    .lasuite-nav.scrolled {
        background: rgba(255,255,255,0.95);
        backdrop-filter: blur(20px);
        padding: 16px 48px;
    }
}

.lasuite-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.lasuite-logo-icon {
    color: var(--primary);
    font-size: 28px;
}

.lasuite-logo-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: 3px;
    color: var(--text-main-light);
    text-transform: uppercase;
}

/* Desktop Menu */
.lasuite-desktop-menu {
    display: none;
    align-items: center;
    gap: 32px;
}

@media (min-width: 768px) {
    .lasuite-desktop-menu {
        display: flex;
    }
}

.lasuite-desktop-menu > .menu-item {
    list-style: none;
    position: relative;
}

.lasuite-desktop-menu a {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--text-main-light);
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.lasuite-desktop-menu a:hover {
    color: var(--primary);
}

/* Language switcher — flag + text inline */
.lasuite-desktop-menu .lang-item a {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
}
.lasuite-desktop-menu .lang-item a img {
    width: 20px !important;
    height: auto !important;
    border-radius: 2px;
    flex-shrink: 0;
}

/* Submenu dropdown */
.lasuite-desktop-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    padding: 8px 0;
    min-width: 160px;
    z-index: 100;
    list-style: none;
}

.lasuite-desktop-menu .menu-item:hover > .sub-menu {
    display: block;
}

.lasuite-desktop-menu .sub-menu .menu-item {
    list-style: none;
}

.lasuite-desktop-menu .sub-menu a,
.lasuite-desktop-menu .sub-menu .menu-item a,
nav .lasuite-desktop-menu .sub-menu a {
    display: block;
    padding: 8px 20px;
    font-size: 11px;
    white-space: nowrap;
    color: #1A1A1A !important;
    transition: color 0.2s ease;
}

.lasuite-desktop-menu .sub-menu a:hover,
.lasuite-desktop-menu .sub-menu .menu-item a:hover,
nav .lasuite-desktop-menu .sub-menu a:hover {
    color: #CBAA6D !important;
}

/* Hamburger — dezent (transparent, nur Linien, fixed outside nav) */
.lasuite-hamburger {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    border: none;
    padding: 8px;
    transition: all 0.3s ease;
    z-index: 10001;
}

.lasuite-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #1A1A1A;
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.lasuite-hamburger.active {
    background: transparent;
}

/* Scrolled/sticky: dark lines on white header (sibling selector since hamburger is outside nav) */
.lasuite-nav.scrolled + .lasuite-hamburger:not(.active) span {
    background: #1A1A1A !important;
}

.lasuite-hamburger.active span {
    background: #fff !important;
}

.lasuite-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.lasuite-hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.lasuite-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

@media (min-width: 768px) {
    .lasuite-hamburger {
        display: none;
    }
}

/* Mobile Menu */
.lasuite-mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--brand-dark-teal);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.lasuite-mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.lasuite-mobile-menu ul {
    list-style: none;
    text-align: center;
    padding: 0;
    margin: 0;
}

.lasuite-mobile-menu li {
    margin: 12px 0;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.4s ease;
}

.lasuite-mobile-menu.active li {
    opacity: 1;
    transform: translateY(0);
}

.lasuite-mobile-menu.active li:nth-child(1) { transition-delay: 0.1s; }
.lasuite-mobile-menu.active li:nth-child(2) { transition-delay: 0.15s; }
.lasuite-mobile-menu.active li:nth-child(3) { transition-delay: 0.2s; }
.lasuite-mobile-menu.active li:nth-child(4) { transition-delay: 0.25s; }
.lasuite-mobile-menu.active li:nth-child(5) { transition-delay: 0.3s; }

.lasuite-mobile-menu a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: white;
    text-decoration: none;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.lasuite-mobile-menu a:hover {
    color: var(--primary);
}

.lasuite-mobile-cta {
    margin-top: 32px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.4s ease 0.35s;
}

.lasuite-mobile-menu.active .lasuite-mobile-cta {
    opacity: 1;
    transform: translateY(0);
}

/* CTA Button */
.lasuite-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    color: white !important;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 16px 28px;
    border-radius: 50px;
    text-decoration: none !important;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(203, 170, 109, 0.4);
}

.lasuite-btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(203, 170, 109, 0.5);
}

/* Floating CTA */
.lasuite-floating-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--brand-dark-teal);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 9998;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.lasuite-floating-cta.visible {
    transform: translateY(0);
}

.lasuite-floating-cta-text {
    color: white;
}

.lasuite-floating-cta-text strong {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 700;
}

.lasuite-floating-cta-text span {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
}

@media (min-width: 768px) {
    .lasuite-floating-cta {
        left: auto;
        right: 32px;
        bottom: 32px;
        max-width: 380px;
        border-radius: 20px;
        padding: 20px 24px;
    }
}

/* Elementor Overrides */
.elementor-page .lasuite-nav {
    z-index: 9999 !important;
}

body.admin-bar .lasuite-nav {
    top: 32px;
}
body.admin-bar .lasuite-hamburger {
    top: 52px;
}

@media (max-width: 782px) {
    body.admin-bar .lasuite-nav {
        top: 46px;
    }
    body.admin-bar .lasuite-hamburger {
        top: 66px;
    }
}

/* Hide default header when using Elementor */
.elementor-location-header .lasuite-nav {
    display: none;
}

/* ===== IMPRESSIONEN BENTO GRID ===== */
.lasuite-bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}
@media (min-width: 768px) {
    .lasuite-bento-grid {
        grid-template-columns: repeat(5, 1fr);
        grid-template-rows: repeat(3, 200px);
        gap: 10px;
    }
    .lasuite-bento-hero     { grid-column: 1 / 4; grid-row: 1 / 3; }
    .lasuite-bento-top-right { grid-column: 4 / 6; grid-row: 1 / 2; }
    .lasuite-bento-mid-ra   { grid-column: 4 / 5; grid-row: 2 / 3; }
    .lasuite-bento-mid-rb   { grid-column: 5 / 6; grid-row: 2 / 3; }
    .lasuite-bento-bot-l    { grid-column: 1 / 3; grid-row: 3 / 4; }
    .lasuite-bento-bot-r    { grid-column: 3 / 6; grid-row: 3 / 4; }
}
.lasuite-bento-cell {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    display: block;
    text-decoration: none;
}
.lasuite-bento-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.lasuite-bento-cell:hover .lasuite-bento-img {
    transform: scale(1.05);
}
.lasuite-bento-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 100%);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.lasuite-bento-cell:hover .lasuite-bento-overlay {
    opacity: 1;
}
.lasuite-bento-label {
    color: #fff;
    font-family: Montserrat, sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
}
.lasuite-bento-arrow {
    color: #CBAA6D;
    font-size: 18px;
}
.lasuite-bento-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #CBAA6D;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.lasuite-bento-cell:hover .lasuite-bento-accent {
    transform: scaleX(1);
}
.lasuite-bento-cta-overlay {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}
.lasuite-bento-cta-hint {
    color: #CBAA6D;
    font-family: Montserrat, sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.lasuite-bento-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--primary);
    border: 1.5px solid var(--primary);
    padding: 10px 24px;
    border-radius: 50px;
    font-family: Montserrat, sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    text-decoration: none;
    transition: all 0.3s ease;
}
.lasuite-bento-cta-btn--hover,
.lasuite-bento-cta-btn:hover {
    background: var(--primary);
    color: #fff;
}

/* ===== TEAM CARDS ===== */
.lasuite-team-card {
    position: relative;
    text-align: center;
    align-self: start;
}

.lasuite-team-photo-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.lasuite-team-photo {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.lasuite-team-card:hover .lasuite-team-photo {
    transform: scale(1.05);
}

.lasuite-team-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(14, 42, 48, 0.3);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.lasuite-team-card:hover .lasuite-team-overlay {
    opacity: 1;
}

.lasuite-team-info {
    padding: 2px 4px 0;
}

.lasuite-team-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: var(--text-main-light);
    margin: 0;
    position: relative;
    display: inline-block;
}

.lasuite-team-name::before {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary);
    margin: 0 auto 3px;
}

.lasuite-team-role {
    font-size: 13px;
    color: var(--text-muted-light);
    margin: 4px 0 0;
}

/* ===== CONTACT FORM (CF7) ===== */
.lasuite-cf7-form {
    max-width: 100%;
}

.lasuite-cf7-form .cf7-row {
    display: flex;
    gap: 16px;
    margin-bottom: 4px;
}

.lasuite-cf7-form .cf7-row > p {
    flex: 1;
    margin: 0;
}

@media (max-width: 600px) {
    .lasuite-cf7-form .cf7-row {
        flex-direction: column;
        gap: 4px;
    }
}

.lasuite-cf7-form input[type="text"],
.lasuite-cf7-form input[type="email"],
.lasuite-cf7-form input[type="tel"],
.lasuite-cf7-form select,
.lasuite-cf7-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid #E0E0E0;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: var(--text-main-light);
    background: #FAFAFA;
    transition: all 0.3s ease;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.lasuite-cf7-form input:focus,
.lasuite-cf7-form select:focus,
.lasuite-cf7-form textarea:focus {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(203, 170, 109, 0.15);
}

.lasuite-cf7-form input::placeholder,
.lasuite-cf7-form textarea::placeholder {
    color: #AAAAAA;
    font-weight: 400;
}

.lasuite-cf7-form select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

.lasuite-cf7-form textarea {
    min-height: 140px;
    resize: vertical;
}

.lasuite-cf7-form input[type="submit"],
.lasuite-cf7-form .wpcf7-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 16px 36px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(203, 170, 109, 0.35);
    margin-top: 8px;
}

.lasuite-cf7-form input[type="submit"]:hover,
.lasuite-cf7-form .wpcf7-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(203, 170, 109, 0.45);
}

.lasuite-cf7-form .wpcf7-response-output {
    border: none !important;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 14px;
    margin: 16px 0 0;
}

.lasuite-cf7-form .wpcf7-mail-sent-ok {
    background: #E8F5E9;
    color: #2E7D32;
}

.lasuite-cf7-form .wpcf7-not-valid-tip {
    color: #E53935;
    font-size: 12px;
    margin-top: 4px;
}

.lasuite-cf7-form .wpcf7-spinner {
    margin-left: 12px;
}

/* Close Button — hidden (hamburger transforms to X via .active) */
.lasuite-mobile-close {
    display: none !important;
}

/* Cookie-Icon: nicht über Floating CTA auf Mobile */
@media (max-width: 767px) {
    .ww-dsgvo-settings-trigger {
        bottom: 80px !important;
    }
}

/* ===================================================
   ANGEBOTE / AKTIONEN — Homepage Section
   =================================================== */

/* Grid: Auto-Columns Desktop, Horizontal Scroll Mobile */
.ls-angebote-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    align-items: start;
}
@media (max-width: 767px) {
    .ls-angebote-grid {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 16px;
        padding-bottom: 20px;
        padding-left: 2px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .ls-angebote-grid::-webkit-scrollbar { display: none; }
    .ls-angebot-card {
        min-width: 260px;
        max-width: 280px;
        scroll-snap-align: start;
    }
}

/* Card */
.ls-angebot-card {
    background: #fff;
    border: 1px solid #EBEBEB;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,0.05);
    transition: transform 0.35s cubic-bezier(.22,.68,0,1.2), box-shadow 0.35s ease;
    display: flex;
    flex-direction: column;
}
.ls-angebot-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

/* Media (Flyer Image / Video) */
.ls-angebot-media {
    display: block;
    position: relative;
    overflow: hidden;
    background: #F0EDE8;
    aspect-ratio: 3 / 4;
    text-decoration: none;
}
.ls-angebot-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.55s cubic-bezier(.22,.68,0,1.2);
}
.ls-angebot-card:hover .ls-angebot-img {
    transform: scale(1.06);
}

/* Zoom / Play Overlay Icon */
.ls-angebot-zoom,
.ls-angebot-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
    background: rgba(0,0,0,0.45);
    border-radius: 50%;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    backdrop-filter: blur(4px);
}
.ls-angebot-play {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(1);
}
.ls-angebot-play .material-icons-outlined {
    font-size: 36px;
}
.ls-angebot-card:hover .ls-angebot-zoom,
.ls-angebot-card:hover .ls-angebot-play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* Badge */
.ls-angebot-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #CBAA6D 0%, #b09055 100%);
    color: #fff;
    font-family: Montserrat, sans-serif;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    padding: 5px 11px;
    border-radius: 50px;
    box-shadow: 0 2px 10px rgba(203,170,109,0.4);
    pointer-events: none;
}

/* Info Block */
.ls-angebot-info {
    padding: 18px 20px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.ls-angebot-validity {
    font-family: Montserrat, sans-serif;
    font-size: 10px;
    font-weight: 700;
    color: #CBAA6D;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.ls-angebot-title {
    font-family: Montserrat, sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #1A1A1A;
    line-height: 1.35;
    margin-bottom: 6px;
}
.ls-angebot-subtitle {
    font-size: 13px;
    color: #666;
    line-height: 1.55;
    margin-bottom: 14px;
    flex: 1;
}

/* CTA Button */
.ls-angebot-cta {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(203,170,109,0.1);
    color: #CBAA6D;
    font-family: Montserrat, sans-serif;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 8px 16px;
    border-radius: 50px;
    text-decoration: none;
    transition: background 0.25s ease, color 0.25s ease;
    align-self: flex-start;
    margin-top: auto;
}
.ls-angebot-cta:hover {
    background: #CBAA6D;
    color: #fff;
    text-decoration: none;
}
