/* Premium Design System */
:root {
    /* Day Spa (Light Theme) Variables */
    --color-primary: #006633;
    --color-secondary: #990099;
    --color-bg: #FFEDDB;
    --color-bg-alt: #fdf5ef;
    --color-text: #1a2c20;
    --color-text-light: #4a5c50;
    --color-white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-shadow: 0 8px 32px 0 rgba(0, 102, 51, 0.05);

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
    --font-brand: 'Licorice', cursive;

    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Deep Relaxation (Dark Theme) Variables */
[data-theme="dark"] {
    --color-primary: #b3ffcc; /* Soft minty green */
    --color-secondary: #e699e6; /* Soft lilac */
    --color-bg: #0f1c14; /* Deep forest dark */
    --color-bg-alt: #16261d;
    --color-text: #e0ece4;
    --color-text-light: #a0bca8;
    --color-white: #0a120c;
    --glass-bg: rgba(20, 35, 25, 0.6);
    --glass-border: rgba(179, 255, 204, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

/* Reset & Global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

html, body {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    transition: background-color 0.5s ease, color 0.5s ease;
    /* Hide default cursor on desktop to use custom cursor */
    cursor: none;
}

@media (max-width: 768px) {
    body {
        cursor: auto; /* Fallback for mobile */
    }
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--color-text); /* In premium, headings adapt to theme */
    margin-bottom: 1rem;
    font-weight: 400;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 8rem 0;
}

.text-center {
    text-align: center;
}

.text-gradient {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* Custom Cursor */
.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 99999;
    pointer-events: none;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-primary);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid var(--color-secondary);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

.cursor-hover .cursor-outline {
    width: 60px;
    height: 60px;
    background-color: rgba(153, 0, 153, 0.1);
    border-color: transparent;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1rem;
    border: none;
    cursor: none; /* Let custom cursor handle it */
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 100%);
    z-index: -1;
    transition: opacity 0.4s ease;
    opacity: 0;
}

.btn-primary {
    background-color: var(--color-primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

[data-theme="dark"] .btn-primary {
    color: #050a07; /* Sehr dunkles Grün/Schwarz für Kontrast auf hellgrünem Button */
    font-weight: 600;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--color-primary);
    color: var(--color-text);
}

.btn-outline:hover {
    background-color: var(--color-primary);
    color: #fff;
}

/* Header (Glassmorphism) */
.header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 0;
}

.blur-header.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
    box-shadow: var(--glass-shadow);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.promo-banner {
    background-color: var(--color-primary);
    color: var(--color-white);
    text-align: center;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    font-weight: 400;
    width: 100%;
}

.header-brand {
    font-family: var(--font-brand);
    font-size: 2rem;
    color: var(--color-primary);
    line-height: 1;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 3rem;
}

.nav-list li a {
    font-size: 1.0rem;
    font-weight: 500;
    color: var(--color-text-light);
    transition: var(--transition);
    position: relative;
}

.nav-list li a::after {
    content: '';
    position: absolute;
    width: 4px; height: 4px;
    border-radius: 50%;
    background-color: var(--color-secondary);
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%) scale(0);
    transition: transform 0.3s ease;
}

.nav-list li a:hover {
    color: var(--color-text);
}

.nav-list li a:hover::after {
    transform: translateX(-50%) scale(1);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.theme-btn {
    background: none;
    border: none;
    color: var(--color-text);
    cursor: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: none;
}

.mobile-menu-btn span {
    width: 30px; height: 2px;
    background-color: var(--color-text);
    transition: 0.3s;
}

/* Hero Section with Parallax Background */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    padding-top: 140px; /* Fester Abstand von oben, kollidiert nie mit dem Header */
    padding-bottom: 80px; /* Garantiert Abstand nach unten auf kleinen Bildschirmen */
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: -5%; left: -5%; width: 110%; height: 110%;
    z-index: 0;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--color-bg) 0%, rgba(255,237,219,0.3) 100%);
    backdrop-filter: blur(5px);
}

[data-theme="dark"] .hero-overlay {
    background: linear-gradient(135deg, var(--color-bg) 0%, rgba(15,28,20,0.6) 100%);
    backdrop-filter: blur(8px);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    width: 100%;
}

.hero-logo {
    width: 300px;
    height: auto;
    flex-shrink: 0;
    mix-blend-mode: multiply;
}

[data-theme="dark"] .hero-logo {
    filter: none;
    mix-blend-mode: normal;
    background: radial-gradient(circle, rgba(255, 237, 219, 0.95) 60%, rgba(255, 237, 219, 0) 80%);
    border-radius: 50%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    padding: 35px;
}

.elegant-subtitle {
    display: inline-block;
    font-family: var(--font-brand);
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.hero-title {
    font-size: 2.7rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    text-align: center;
}

.hero-subtitle-heading {
    font-size: 2.0rem;
    font-family: var(--font-heading);
    color: var(--color-text);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-light);
    margin-bottom: 2.5rem;
    max-width: 600px;
    position: relative;
    z-index: 2;
}

.hero-cta {
    position: relative;
    z-index: 5;
    margin-top: 1rem; /* Zusaetzlicher Abstand nach oben, verhindert Ueberlappung */
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    color: var(--color-text-light);
    letter-spacing: 2px;
    text-transform: uppercase;
    z-index: 1;
}

.mouse {
    width: 26px; height: 40px;
    border: 1px solid var(--color-text-light);
    border-radius: 13px;
    display: flex; justify-content: center;
}

.wheel {
    width: 4px; height: 8px;
    background: var(--color-primary);
    border-radius: 2px;
    margin-top: 6px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(15px); opacity: 0; }
}

/* Animations (Intersection Observer) */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-img-wrapper {
    border-radius: 30px;
    overflow: hidden;
    height: 500px;
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-text h2 {
    font-size: 2.0rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--color-text-light);
    margin-bottom: 1rem;
}

/* Treatments (Glass Cards) */
.bg-alternate {
    background-color: var(--color-bg-alt);
}

.section-header h2 {
    font-size: 2.3rem;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--color-text-light);
    margin-bottom: 4rem;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--glass-shadow);
    transition: var(--transition);
    cursor: none;
}

.glass-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: var(--color-primary);
}

[data-theme="dark"] .glass-card:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.card-img-wrapper {
    height: 200px;
    overflow: hidden;
}

.card-img-wrapper img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.6s ease;
}

.glass-card:hover .card-img-wrapper img {
    transform: scale(1.05);
}

.card-content {
    padding: 2rem;
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.card-excerpt {
    color: var(--color-text-light);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--glass-border);
    padding-top: 1rem;
}

.price {
    font-weight: 600;
    color: var(--color-text);
}

.read-more {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    color: var(--color-primary);
    font-weight: 500;
    transition: gap 0.3s;
}

.glass-card:hover .read-more {
    gap: 10px;
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.glass-modal {
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -45%) scale(0.95);
    width: 90%; max-width: 900px;
    max-height: 90vh;
    background: var(--color-bg);
    border-radius: 24px;
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    display: flex;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
}

[data-theme="dark"] .glass-modal {
    border: 1px solid var(--glass-border);
}

.glass-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.modal-img {
    flex: 1;
    min-height: 300px;
}

.modal-img img {
    width: 100%; height: 100%;
    object-fit: cover;
}

/* Slideshow Container */
.slideshow-container {
    flex: 1;
    min-height: 300px;
    position: relative;
    background-color: rgba(255, 237, 219, 0.3);
    overflow: hidden;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

[data-theme="dark"] .slideshow-container {
    background-color: rgba(15, 28, 20, 0.5);
}

.slideshow-container .slide {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.slideshow-container .slide.active {
    opacity: 1;
}

.slideshow-container .slide img {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
    border: 12px solid #fffcf9; /* Edel-Passepartout / weißes Papier */
    outline: 3px solid #d4af37; /* Zarter Goldrahmen */
    outline-offset: -3px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.25); /* Tiefer, weicher Schatten */
    border-radius: 2px;
    background-color: #fff;
    transition: transform 0.3s ease;
}

.slideshow-pause-overlay, .slideshow-play-overlay {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    color: var(--color-primary);
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slideshow-pause-overlay i, .slideshow-play-overlay i {
    width: 48px;
    height: 48px;
}

.slideshow-container:hover .slideshow-pause-overlay {
    opacity: 0.8;
}
.slideshow-container.paused:hover .slideshow-pause-overlay {
    opacity: 0;
}
.slideshow-container.paused .slideshow-play-overlay {
    opacity: 0.8;
    display: flex !important;
}

.modal-content {
    flex: 1.2;
    padding: 3rem;
    position: relative;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 1.5rem; right: 1.5rem;
    background: var(--glass-bg);
    border: none;
    width: 40px; height: 40px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: none;
    color: var(--color-text);
    z-index: 10;
}

.modal-content h2 {
    margin-bottom: 0.5rem;
}

.modal-price {
    font-family: var(--font-heading);
    color: var(--color-secondary);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.modal-text p {
    margin-bottom: 1rem;
    color: var(--color-text-light);
}

.modal-content .btn {
    margin-top: 2rem;
}

/* Interactive Finder */
.finder-container {
    padding: 4rem;
    border-radius: 30px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    text-align: center;
}

.finder-header {
    margin-bottom: 3rem;
}

.finder-header h2 {
    font-size: 2.3rem;
}

.quiz-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
    max-width: 600px;
    margin-inline: auto;
}

.btn-quiz {
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid var(--glass-border);
    background: transparent;
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 1rem;
    display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
    cursor: none;
    transition: var(--transition);
}

.btn-quiz i {
    color: var(--color-primary);
}

.btn-quiz:hover {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

.btn-quiz:hover i {
    color: #fff;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.info-list {
    margin-top: 2rem;
    display: flex; flex-direction: column; gap: 1.5rem;
}

.info-item {
    display: flex; align-items: flex-start; gap: 1rem;
}

.info-item i {
    color: var(--color-primary);
    margin-top: 4px;
}

.info-item strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.1rem;
}

.info-item span {
    color: var(--color-text-light);
}

.contact-form-wrapper {
    padding: 3rem;
    border-radius: 24px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
}

.modern-form .form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}

.modern-form input, .modern-form textarea {
    width: 100%;
    padding: 1rem 0;
    border: none;
    border-bottom: 1px solid var(--color-text-light);
    background: transparent;
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.modern-form input:focus, .modern-form textarea:focus {
    outline: none;
    border-bottom-color: var(--color-primary);
}

.modern-form label {
    position: absolute;
    top: 1rem; left: 0;
    color: var(--color-text-light);
    transition: var(--transition);
    pointer-events: none;
}

.modern-form input:focus ~ label,
.modern-form input:not(:placeholder-shown) ~ label,
.modern-form textarea:focus ~ label,
.modern-form textarea:not(:placeholder-shown) ~ label {
    top: -10px;
    font-size: 0.8rem;
    color: var(--color-primary);
}

/* Footer */
.footer {
    background-color: #050a07;
    color: #fff;
    padding: 4rem 0;
    text-align: center;
}

.logo-text {
    font-family: var(--font-brand);
    font-size: 3rem;
    color: var(--color-primary);
    line-height: 1;
}

.footer-brand p {
    opacity: 0.6;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.footer-social a {
    color: #fff;
    transition: var(--transition);
    opacity: 0.6;
}

.footer-social a:hover {
    color: var(--color-primary);
    opacity: 1;
    transform: translateY(-2px);
}

.footer-links {
    display: flex; justify-content: center; gap: 2rem;
}

.footer-links a {
    opacity: 0.6; transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1; color: var(--color-primary);
}

/* Responsive */
@media (max-width: 992px) {
    .contact-grid, .about-grid {
        grid-template-columns: 1fr;
    }
    .glass-modal {
        flex-direction: column;
    }
    .about-img-wrapper {
        height: 300px;
    }
    .modal-img, .slideshow-container {
        min-height: 200px; max-height: 250px;
    }
    .hero-title {
        font-size: 3.5rem;
    }
    .hero-logo {
        width: 150px;
    }
}

@media (max-width: 768px) {
    .header-brand {
        font-size: 2.2rem;
    }
    .hero-title-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .hero-logo {
        width: 250px;
        margin-bottom: 1rem;
        align-self: center;
    }
    .nav {
        position: absolute; top: 100%; left: 0; width: 100%;
        background: var(--color-bg);
        padding: 2rem;
        box-shadow: var(--glass-shadow);
        opacity: 0; visibility: hidden; transform: translateY(-10px);
    }
    .nav.active {
        opacity: 1; visibility: visible; transform: translateY(0);
    }
    .nav-list {
        flex-direction: column; align-items: center;
    }
    .mobile-menu-btn {
        display: flex;
    }
    .header-actions .btn {
        display: none;
    }
    .hero {
        padding-top: 170px; /* Extra space on mobile */
    }
    .quiz-options, .form-row {
        grid-template-columns: 1fr;
    }
    .finder-container {
        padding: 2rem;
    }
    .hero-title {
        font-size: 2.8rem;
    }
}
/* Lightbox for Fullscreen Images */
.lightbox {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 10005;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    cursor: zoom-out;
}
.lightbox.active {
    opacity: 1; visibility: visible;
}
.lightbox img {
    max-width: 95%; max-height: 95%;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}
.lightbox-close {
    position: absolute;
    top: 2rem; right: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    width: 50px; height: 50px;
    color: #fff; cursor: pointer;
    z-index: 10006;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.3s;
}
.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.treatments-footnote {
    margin-top: 3rem;
    padding: 1.5rem 2rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    font-size: 0.85rem;
    color: var(--color-text-light);
    line-height: 1.6;
    text-align: center;
    box-shadow: var(--glass-shadow);
}