/* ===================================
   GLOBAL STYLES - Sophistatts
   =================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    font-family: 'Space Mono', monospace;
    text-rendering: optimizeSpeed;
    background-color: #fcfcfc;
    color: #1a1a1a;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: 300;
    overflow-x: hidden;
}

/* ===================================
   NAVIGATION
   =================================== */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #fcfcfc;
    z-index: 1000;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 25px 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.book-link {
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 2px;
    color: #1a1a1a;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.book-link:hover {
    opacity: 0.6;
}

@media (min-width: 769px) {
    .book-link {
        font-size: 13px;
        letter-spacing: 3px;
    }
}

.menu-toggle {
    position: fixed;
    top: 25px;
    right: 40px;
    display: flex;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
    padding: 10px;
    z-index: 10000;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: #1a1a1a;
    transition: all 0.3s ease, background-color 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.menu-toggle:hover span {
    opacity: 0.6;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.side-menu {
    will-change: transform;
    position: fixed;
    top: 0;
    right: 0;
    width: 250px;
    height: 100vh;
    background-color: #fcfcfc;
    z-index: 999;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding-top: 100px;
}

.side-menu.active {
    transform: translateX(0);
}

.nav-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
    padding: 0 40px;
}

.nav-menu a {
    text-decoration: none;
    color: #1a1a1a;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 2px;
    transition: opacity 0.3s ease;
}

.nav-menu a:hover {
    opacity: 0.6;
}

@media (min-width: 769px) {
    .nav-menu a {
        font-size: 13px;
        letter-spacing: 2.5px;
    }
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0);
    z-index: 998;
    pointer-events: none;
    transition: background-color 0.4s ease;
}

.overlay.active {
    background-color: rgba(0, 0, 0, 0.2);
    pointer-events: all;
}

/* ===================================
   FOOTER
   =================================== */

.footer {
    padding: 60px 40px 40px;
    text-align: center;
    border-top: 1px solid #d4d4d4;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer p {
    font-size: 11px;
    font-weight: 300;
    letter-spacing: 1px;
    margin-bottom: 20px;
    opacity: 0.7;
}

.footer-links {
    display: flex;
    gap: 30px;
    justify-content: center;
}

.footer-links a {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 1px;
    color: #1a1a1a;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 0.6;
}

/* ===================================
   HOME PAGE
   =================================== */

.hero {
    position: relative;
    height: 130vh;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 60px;
    text-align: left;
    overflow: hidden;
}

@media (max-width: 768px) {
    .hero {
        padding: 0 24px;
        height: 100vh;
        height: 100svh;
        align-items: flex-end;
        padding-bottom: 160px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-subtitle {
        margin-bottom: 30px;
    }

    .hero-text p {
        line-height: 1.8;
        margin-bottom: 0;
    }

    body:has(.hero) .footer {
        padding: 10px 24px;
    }
}

/* Navbar transparent auf Home-Seite */
body:has(.hero) .navbar {
    background-color: transparent;
}

body:has(.hero) .book-link {
    color: #ffffff;
}

@media (min-width: 769px) {
    body:has(.hero) .book-link {
        font-size: 13px;
        letter-spacing: 3px;
    }
}

body:has(.hero) .menu-toggle span {
    background-color: #ffffff;
}

body:has(.hero) .menu-toggle.active span {
    background-color: #1a1a1a;
}

/* Home-Seite: komplett dunkler Look */
body:has(.hero) {
    background-color: #000;
}

body:has(.hero) .footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: transparent;
    border-top: none;
    padding: 30px 60px;
    z-index: 2;
}

body:has(.hero) .footer p,
body:has(.hero) .footer-links a {
    color: rgba(255, 255, 255, 0.5);
}

@media (min-width: 769px) {
    body:has(.hero) .footer p,
    body:has(.hero) .footer-links a {
        font-size: 12px;
    }
}

body:has(.hero) .footer-links a:hover {
    opacity: 0.8;
}

.dev-credit a {
    color: inherit;
    text-decoration: underline;
}

.footer-content p a {
    color: inherit;
    text-decoration: underline;
}

.footer-content p a:hover {
    opacity: 0.7;
}

.dev-credit a:hover {
    opacity: 0.7;
}

@media (max-width: 768px) {
    .dev-credit {
        display: block;
    }
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 500px;
}

.hero-title,
.hero-subtitle {
    text-align: left;
}

.hero-title {
    font-family: 'Space Mono', monospace;
    font-size: 48px;
    font-weight: 700;
    letter-spacing: 8px;
    margin-bottom: 5px;
    color: #ffffff;
    text-transform: uppercase;
}

.hero-subtitle {
    font-family: 'Space Mono', monospace;
    font-size: 16px;
    font-weight: 700;
    font-style: italic;
    letter-spacing: 4px;
    margin-bottom: 60px;
    color: #ffffff;
}

.hero-text {
    margin-bottom: 0;
}

.intro-line {
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 2px;
    margin-bottom: 30px;
    color: #ffffff;
}

.hero-text p {
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    font-weight: 400;
    line-height: 2.2;
    letter-spacing: 1px;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.85);
}


/* ===================================
   ÜBER MICH PAGE (artpartner-style 50/50 split)
   =================================== */

body:has(.about-section) {
    background-color: #ffffff;
}

body:has(.about-section) .navbar {
    background-color: #ffffff;
}

.about-section {
    padding-top: 80px;
    background-color: #ffffff;
}

.about-layout {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 30px;
    max-width: 1365px;
    margin: 0 auto;
    min-height: calc(100vh - 80px);
    align-items: flex-start;
}

.about-image {
    flex: 0 1 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    padding-top: 4.375rem;
}

.about-video-wrapper {
    width: 75%;
    margin: 0 auto;
    aspect-ratio: 3 / 4;
    overflow: hidden;
}

.about-video-wrapper video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.about-image-caption {
    font-family: 'Space Mono', monospace;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-align: center;
    margin-top: 1.25rem;
    color: #000;
}

.about-text {
    flex: 0 1 50%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 4.375rem;
    overflow: hidden;
}

.about-title {
    font-family: 'Space Mono', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 1.875rem;
    color: #000000;
    text-align: center;
}

.about-text p {
    font-family: 'Space Mono', monospace;
    font-size: 15px;
    font-weight: 300;
    line-height: 2;
    color: #000000;
    letter-spacing: 0.05em;
    margin-bottom: 1.875rem;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-section ~ .footer {
    margin-top: 80px;
}

.about-text .intro-line {
    font-weight: 600;
    letter-spacing: 0.15em;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.about-link {
    color: #1a1a1a;
    text-decoration: none;
    border-bottom: 1px solid #1a1a1a;
    transition: opacity 0.3s ease;
}

.about-link:hover {
    opacity: 0.5;
}

@media (max-width: 768px) {
    .about-layout {
        flex-direction: column;
        gap: 15px;
    }

    .about-image {
        flex: none;
        padding-top: 5rem;
    }

    .about-image img {
        width: 100%;
    }

    .about-video-wrapper {
        width: 100%;
    }

    .about-text {
        flex: none;
        padding: 1rem 1.25rem 2rem;
    }

    .about-text p {
        font-size: 14px;
        line-height: 2;
    }

    .about-text .intro-line {
        font-size: 0.875rem;
    }

    .about-image-caption {
        font-size: 0.875rem;
    }

    .about-title {
        font-size: 1.25rem;
    }

    .about-section ~ .footer {
        margin-top: 40px;
    }
}

/* ===================================
   BOOKING PAGE
   =================================== */

body:has(.booking-container) {
    background-color: #fcfcfc;
}

body:has(.booking-container) .navbar {
    background-color: #fcfcfc;
}

.booking-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 120px 20px 40px;
    font-family: 'Space Mono', monospace;
}

.booking-header {
    text-align: center;
    margin-bottom: 60px;
}

.booking-title {
    font-family: 'Space Mono', monospace;
    font-size: 48px;
    font-weight: 700;
    letter-spacing: 8px;
    margin-bottom: 0;
    color: #1a1a1a;
}

.form-section { margin-bottom: 40px; }

.form-label-main {
    display: block;
    font-family: 'Space Mono', monospace;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.form-label-sub {
    display: block;
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    font-weight: 400;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.required-text { font-weight: 400; color: #666; white-space: nowrap; }

.form-description {
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    font-weight: 400;
    color: #444;
    margin-bottom: 12px;
    line-height: 1.6;
}

.form-row { display: flex; gap: 15px; }
.form-group.half { flex: 1; }

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #1a1a1a;
    border-radius: 0;
    background-color: transparent;
    font-size: 13px;
    font-weight: 400;
    color: #1a1a1a;
    font-family: 'Space Mono', monospace;
    transition: all 0.3s ease;
    box-shadow: none;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    outline: none;
    border-color: #1a1a1a;
    box-shadow: none;
}

textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

textarea::placeholder,
input::placeholder { color: #999; font-weight: 300; }

@media (max-width: 480px) {
    input[type="text"],
    input[type="email"],
    textarea {
        font-size: 16px;
    }
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.size-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px 20px;
    margin-top: 20px;
}

.bodypart-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px 20px;
    margin-top: 20px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-family: 'Space Mono', monospace;
    font-size: 13px;
    font-weight: 400;
    color: #1a1a1a;
    position: relative;
}

.checkbox-item input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.custom-checkbox {
    width: 18px;
    height: 18px;
    border: 1px solid #1a1a1a;
    border-radius: 0;
    margin-right: 10px;
    display: inline-block;
    position: relative;
    transition: all 0.2s ease;
    flex-shrink: 0;
    background-color: transparent;
}

.checkbox-item:hover .custom-checkbox { border-color: #999; }

.checkbox-item input[type="checkbox"]:checked ~ .custom-checkbox {
    background-color: transparent;
    border-color: #1a1a1a;
}

.checkbox-item input[type="checkbox"]:checked ~ .custom-checkbox::after {
    content: '';
    position: absolute;
    left: 5.5px;
    top: 2.5px;
    width: 4px;
    height: 8px;
    border: solid #1a1a1a;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-text { user-select: none; }

.terms-section { margin-top: 50px; margin-bottom: 30px; }

.terms-item {
    margin-bottom: 20px;
    align-items: flex-start;
    width: fit-content;
}

.terms-item .checkbox-text { line-height: 1.6; }

.terms-link {
    color: #1a1a1a;
    text-decoration: none;
    border-bottom: 1px solid #e6c3a3;
    font-weight: 400;
}

.terms-link:hover { color: #e6c3a3; }

.file-upload-wrapper { margin-top: 15px; }
.file-input { display: none; }

.file-upload-label {
    display: block;
    padding: 35px 40px;
    border: 1px solid #1a1a1a;
    border-radius: 0;
    background-color: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-upload-label:hover {
    border-color: #666;
    background-color: rgba(255, 255, 255, 0.3);
}

.upload-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.plus-icon {
    font-size: 28px;
    font-weight: 200;
    color: #1a1a1a;
    line-height: 1;
}

.upload-text {
    font-size: 13px;
    font-weight: 400;
    color: #1a1a1a;
    letter-spacing: 0.5px;
}

.file-preview { margin-top: 20px; display: none; }
.file-preview.active { display: block; }

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background-color: transparent;
    border: 1px solid #1a1a1a;
    border-radius: 0;
    margin-bottom: 10px;
}

.file-name {
    font-size: 13px;
    font-weight: 300;
    color: #1a1a1a;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.file-remove {
    background: none;
    border: none;
    color: #999;
    font-size: 20px;
    cursor: pointer;
    padding: 0 8px;
    transition: color 0.2s ease;
}

.file-remove:hover { color: #1a1a1a; }

.submit-section { text-align: center; margin-top: 30px; }

.submit-btn {
    background-color: #444;
    color: #e6c3a3;
    border: none;
    padding: 14px 50px;
    font-family: 'Space Mono', monospace;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 6px;
}

.submit-btn:hover {
    background-color: #555;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.submit-btn:active { transform: translateY(0); }

.error {
    border: 2px solid #ff4444 !important;
    box-shadow: 0 0 0 3px rgba(255, 68, 68, 0.1) !important;
}

.error-message {
    display: block;
    color: #ff4444;
    font-size: 13px;
    font-weight: 400;
    margin-top: 8px;
    margin-left: 20px;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

.checkbox-grid.error-group,
.bodypart-grid.error-group,
.size-grid.error-group {
    padding: 15px;
    border: 2px solid #ff4444;
    border-radius: 8px;
    background-color: rgba(255, 68, 68, 0.05);
    margin-bottom: 10px;
}

.checkbox-error-message {
    display: block;
    color: #ff4444;
    font-size: 13px;
    font-weight: 400;
    margin-top: 15px;
    text-align: center;
    animation: slideDown 0.3s ease;
}

.terms-item .custom-checkbox.error-checkbox {
    border-color: #ff4444;
    box-shadow: 0 0 0 3px rgba(255, 68, 68, 0.1);
}

/* Success Modal */
.success-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(252, 252, 252, 0.7);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.success-modal.active {
    display: flex;
    animation: modalFadeIn 0.6s ease;
}

.success-modal-content {
    text-align: center;
    padding: 30px 50px;
    border: 1px solid #1a1a1a;
    border-radius: 6px;
    background: #f9f9f9;
    max-width: 400px;
    width: 80%;
    aspect-ratio: 16 / 9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

@media (max-width: 480px) {
    .success-modal {
        padding: 20px;
        box-sizing: border-box;
    }
    .success-modal-content {
        max-width: none;
        width: 100%;
        aspect-ratio: auto;
        padding: 40px 25px;
    }
    .success-modal-title { font-size: 12px; letter-spacing: 2px; margin-bottom: 12px; }
    .success-modal-text { font-size: 12px; margin-bottom: 25px; }
    .modal-close-btn { font-size: 11px; padding: 12px 30px; }
}

.success-modal-title {
    font-family: 'Space Mono', monospace;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    color: #1a1a1a;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.success-modal-text {
    font-family: 'Space Mono', monospace;
    font-size: 13px;
    font-weight: 400;
    color: #555;
    line-height: 1.8;
    margin-bottom: 25px;
}

.modal-close-btn {
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    padding: 10px 35px;
    background: #444;
    color: #e6c3a3;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close-btn:hover {
    background-color: #555;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ===================================
   HOW IT WORKS PAGE
   =================================== */

.how-it-works-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 40px 60px;
}

/* Josselin-Style Portfolio Section */
.joss-portfolio {
    margin-bottom: 100px;
}

.joss-text {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 50px;
    /* Match image row: full viewport width */
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 0 20px;
}

.joss-text-block h2 {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 15px;
    color: #1a1a1a;
    text-transform: uppercase;
}

.joss-text-block p {
    font-size: 15px;
    font-weight: 300;
    line-height: 2;
    color: #1a1a1a;
}

/* Image Row — Josselin flex:aspect-ratio trick */
.joss-images {
    display: flex;
    gap: 8px;
    overflow: hidden;
    /* Break out of container to full viewport width */
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 0 20px;
}

/* Desktop: slider wrapper is transparent, counter hidden */
.slider-sticky {
    display: contents;
}
.slide-counter {
    display: none;
}

.joss-images figure {
    margin: 0;
    overflow: hidden;
}

.joss-images figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.aftercare-section {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 80px;
    margin-bottom: 120px;
    padding-top: 40px;
    border-top: none;
    position: relative;
}

.aftercare-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 2px;
    background-color: #1a1a1a;
}

.aftercare-title {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 5px;
    color: #1a1a1a;
}

.aftercare-right { max-width: 600px; }

.aftercare-intro {
    font-size: 15px;
    font-weight: 300;
    line-height: 2;
    color: #1a1a1a;
    margin-bottom: 50px;
}

.aftercare-intro strong { font-weight: 700; }
.aftercare-step { margin-bottom: 50px; }

.step-number {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 3px;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.step-text { font-size: 15px; font-weight: 300; line-height: 2; color: #1a1a1a; }
.step-text strong { font-weight: 700; }

.aftercare-note {
    margin-top: 60px;
    padding: 30px 0;
    border-top: none;
    border-bottom: none;
}

.note-text { font-size: 15px; font-weight: 300; line-height: 2; color: #1a1a1a; }
.note-text strong { font-weight: 700; }

.faqs-section {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 80px;
    padding-top: 40px;
    border-top: none;
    position: relative;
}

.faqs-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 2px;
    background-color: #1a1a1a;
}

.faqs-title { font-size: 18px; font-weight: 700; letter-spacing: 5px; color: #1a1a1a; }
.faqs-right { max-width: 700px; }

.faq-item { border-bottom: 1px solid #d4d4d4; padding: 25px 0; }

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 15px;
    font-weight: 300;
    color: #1a1a1a;
    transition: opacity 0.2s ease;
    padding: 5px 0;
    -webkit-tap-highlight-color: transparent;
}

.faq-question:hover { opacity: 0.6; }

.faq-icon {
    font-size: 22px;
    font-weight: 200;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    color: #1a1a1a;
}

.faq-item.active .faq-icon { transform: rotate(45deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                padding 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer { max-height: 500px; opacity: 1; padding-top: 20px; }
.faq-answer p { font-size: 15px; font-weight: 300; line-height: 2; color: #1a1a1a; }

/* ===================================
   IMPRESSUM PAGE
   =================================== */

.impressum-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 40px 80px;
}

.impressum-content { max-width: 800px; width: 100%; }

.impressum-title {
    font-size: 42px;
    font-weight: 300;
    letter-spacing: 10px;
    margin-bottom: 60px;
    text-align: center;
    color: #1a1a1a;
}

.impressum-text { text-align: left; }
.info-block { margin-bottom: 50px; }

.info-block h2 {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.info-block p {
    font-size: 15px;
    font-weight: 300;
    line-height: 2;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.info-block a { color: #1a1a1a; text-decoration: underline; transition: opacity 0.3s ease; }
.info-block a:hover { opacity: 0.6; }

/* ===================================
   AGB & DATENSCHUTZ PAGES
   =================================== */

.legal-container { max-width: 800px; margin: 0 auto; padding: 120px 30px 60px; }
.legal-header { text-align: left; margin-bottom: 60px; }

.legal-main-title {
    font-size: 32px;
    font-weight: 300;
    margin-bottom: 15px;
    color: #1a1a1a;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.legal-subtitle { font-size: 15px; font-weight: 300; color: #666; margin-bottom: 0; }
.studio-name { font-size: 16px; font-weight: 300; color: #1a1a1a; margin-bottom: 0; }
.legal-content { margin-bottom: 60px; }

.intro-text {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.9;
    color: #333;
    margin-bottom: 50px;
}

.legal-section { margin-bottom: 45px; }

.section-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1a1a1a;
    letter-spacing: 0.3px;
}

.section-text { font-size: 15px; font-weight: 300; line-height: 2; color: #1a1a1a; margin-bottom: 15px; }
.section-text strong { font-weight: 700; color: #1a1a1a; }
.divider { width: 100%; height: 1px; background-color: #e0e0e0; margin: 50px 0; }

.email-link, .link {
    color: #1a1a1a;
    text-decoration: underline;
    transition: color 0.3s ease;
    font-weight: 400;
}

.email-link:hover, .link:hover { color: #666; }
.contact-section { margin-top: 50px; }

.back-section {
    text-align: center;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
}

.back-btn {
    display: inline-block;
    background-color: #d4d0cb;
    color: #1a1a1a;
    padding: 14px 40px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 0;
}

.back-btn:hover {
    background-color: #c5c0ba;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.back-btn:active { transform: translateY(0); }

/* ===================================
   RESPONSIVE
   =================================== */

@media (max-width: 900px) {
    .joss-text { grid-template-columns: 1fr; gap: 40px; }
    .joss-slider-wrapper {
        display: contents;
    }
    .joss-images {
        display: block;
        padding: 0;
        margin-left: calc(-50vw + 50%);
        width: 100vw;
        height: 100svh;
        overflow-y: auto;
        overflow-x: hidden;
        scroll-snap-type: y mandatory;
        -webkit-overflow-scrolling: touch;
    }
    .joss-images::-webkit-scrollbar { display: none; }
    .joss-images { scrollbar-width: none; }
    .slider-sticky {
        display: block !important;
    }
    .slider-sticky figure {
        width: 100%;
        height: 100svh;
        margin: 0;
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }
    .slider-sticky figure img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }
    .aftercare-section, .faqs-section { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    .nav-container { padding: 20px 20px; }
    .menu-toggle { right: 20px; top: 18px; }
    .side-menu { width: 200px; }
    .hero-title { font-size: 56px; letter-spacing: 6px; }
    .hero-subtitle { font-size: 32px; }
    .hero-text p { font-size: 10px; }
    .impressum-section { padding: 100px 20px 60px; }
    .impressum-title { font-size: 32px; letter-spacing: 6px; }
    .info-block h2 { font-size: 14px; }
    .info-block p { font-size: 14px; }
    .footer-links { flex-direction: row; gap: 15px; }
    .legal-container { padding: 100px 20px 40px; }
    .legal-main-title { font-size: 26px; }
    .studio-name { font-size: 15px; }
    .section-title { font-size: 16px; }
    .section-text, .intro-text { font-size: 14px; }
    .back-btn { width: 100%; padding: 14px 30px; }
    .how-it-works-container { padding: 100px 20px 40px; }
    .hiw-title { font-size: 16px; letter-spacing: 4px; }
    .joss-text-block h2 { font-size: 13px; letter-spacing: 2px; }
    .joss-text-block p { font-size: 13px; }
    .aftercare-title, .faqs-title { font-size: 16px; letter-spacing: 4px; }
}

@media (max-width: 600px) {
    .booking-title { font-size: 36px; letter-spacing: 8px; }
    .form-row { flex-direction: column; gap: 0; }
    .form-group.half { margin-bottom: 20px; }
    .checkbox-grid { grid-template-columns: repeat(2, 1fr); }
    .submit-btn { width: 100%; padding: 14px 40px; }
    .file-upload-label { padding: 30px 20px; }
    .plus-icon { font-size: 24px; }
    .booking-container { padding: 100px 20px 40px; }
}

@media (max-width: 480px) {
    .hero { padding: 0 24px 160px; height: 100vh; height: 100svh; align-items: flex-end; }
    body:has(.hero) .footer { bottom: 0; padding: 10px 24px; }
    .hero-title { font-size: 46px; letter-spacing: 5px; }
    .hero-subtitle { font-size: 26px; }
    .impressum-title { font-size: 24px; letter-spacing: 4px; }
    .info-block { margin-bottom: 40px; }
    .legal-main-title { font-size: 22px; }
    .booking-title { font-size: 28px; letter-spacing: 6px; }
    .checkbox-grid { grid-template-columns: 1fr; }
    .size-grid { grid-template-columns: 1fr 1fr; }
    .bodypart-grid { grid-template-columns: 1fr 1fr; }
    .faq-question { font-size: 14px; }
    .column-text, .step-text, .note-text, .faq-answer p, .aftercare-intro { font-size: 13px; }
    .how-it-works-container { padding: 100px 16px 40px; }
    .section-title { font-size: 15px; }
}

/* ===================================
   GALLERY PAGE - RAW STYLE (Josselin-Exact)
   =================================== */

body.gallery-page {
    overflow: hidden;
    height: 100vh;
    background: #fcfcfc;
    transition: background 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

body.gallery-page .navbar {
    background-color: transparent;
    z-index: 2000;
}

/* Nav-Link links mittig (halbe Bildschirmhöhe, wie Josselins Name) */
body.gallery-page .nav-container {
    justify-content: flex-start;
    padding-left: 40px;
}

body.gallery-page .book-link {
    position: fixed;
    top: 50%;
    left: 40px;
    transform: translateY(-50%);
    z-index: 2000;
    transition: color 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 769px) {
    body.gallery-page .book-link {
        font-size: 14px;
        letter-spacing: 3px;
        left: 25px;
    }
}

@media (max-width: 768px) {
    body.gallery-page .nav-container {
        padding-left: 20px;
    }

    body.gallery-page .book-link {
        left: 20px;
        font-size: 9px;
    }

    .gallery-mode-toggle {
        left: 20px;
        top: 20px;
    }

    .gallery-mode-toggle svg {
        width: 30px;
        height: 30px;
    }
}

/* Gallery Mode Toggle (Spiral-Button links oben) */
.gallery-mode-toggle {
    position: fixed;
    top: 25px;
    left: 40px;
    z-index: 2000;
    background: none;
    border: none;
    color: #1a1a1a;
    cursor: pointer;
    padding: 6px;
    transition: color 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-mode-toggle svg {
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-mode-toggle:hover svg {
    transform: rotate(360deg);
}

/* Dark Mode */
body.gallery-page.gallery-dark {
    background: #090935;
}

body.gallery-page.gallery-dark .gallery-mode-toggle {
    color: #ffffff;
}

body.gallery-page.gallery-dark .book-link {
    color: #ffffff;
}

body.gallery-page.gallery-dark .menu-toggle span {
    background-color: #ffffff;
}

body.gallery-page.gallery-dark .menu-toggle.active span {
    background-color: #1a1a1a;
}

body.gallery-page.gallery-dark .img-wrapper {
    background: #090935;
}

body.gallery-page.gallery-dark .raw-preview {
    background: rgba(9, 9, 53, 0.3);
}

body.gallery-page .side-menu {
    z-index: 1999;
}

body.gallery-page .overlay {
    z-index: 1998;
}

.raw-gallery {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: transparent;
    z-index: 1;
    contain: strict;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
}

.raw-gallery.dragging {
    cursor: grabbing;
    pointer-events: none;
}

/* ── Bild-Wrapper: dunkles Navy-Blau (#090935) wie Josselin ── */
.img-wrapper {
    position: relative;
    height: 100%;
    background: #090935;
    cursor: pointer;
    flex: none;
    margin: 0 4px;
    transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                background 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    contain: content;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.img-wrapper.dimmed {
    opacity: 0.2;
}

.img-wrapper img {
    height: 100%;
    width: auto;
    display: block;
    mix-blend-mode: luminosity;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* ── Preview: auf BODY, z-index zwischen Background (0) und Gallery (1) ──
   Dadurch erscheint das Preview-Bild HINTER den kleinen Thumbnails */
.raw-preview {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
}

.raw-preview.invisible {
    visibility: hidden;
}

.raw-preview img {
    max-height: 100vh;
    max-width: 100vw;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    pointer-events: none;
}

/* ── Mobile ── */
@media (max-width: 768px) {
    .raw-preview img {
        max-height: 92vh;
        max-width: 90vw;
        width: auto;
        height: 92vh;
        object-fit: contain;
    }
}

/* ===================================
   COOKIE CONSENT BANNER
   =================================== */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #EFEBE6;
    border-top: 1px solid rgba(26, 26, 26, 0.08);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    color: #1a1a1a;
    padding: 22px 40px;
    z-index: 10000;
    display: none;
}

.cookie-banner.show { display: block; }

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cookie-text {
    font-size: 12px;
    font-weight: 300;
    line-height: 1.8;
    letter-spacing: 0.5px;
    color: #4a4a4a;
    flex: 1;
}

.cookie-text a {
    color: #1a1a1a;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: opacity 0.3s ease;
}

.cookie-text a:hover { opacity: 0.6; }

.cookie-buttons { display: flex; gap: 10px; flex-shrink: 0; }

.cookie-btn {
    padding: 9px 22px;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.cookie-btn-accept { background-color: #d4d0cb; color: #1a1a1a; }
.cookie-btn-accept:hover { background-color: #c5c0ba; }

.cookie-btn-decline {
    background-color: transparent;
    color: #4a4a4a;
    border: 1px solid rgba(26, 26, 26, 0.3);
}

.cookie-btn-decline:hover { border-color: rgba(26, 26, 26, 0.6); }

@media (max-width: 768px) {
    .cookie-content { flex-direction: column; text-align: center; }
    .cookie-buttons { width: 100%; justify-content: center; }
    .cookie-banner { padding: 20px; }
}

@media (max-width: 480px) {
    .cookie-buttons { flex-direction: column; gap: 8px; }
    .cookie-btn { width: 100%; padding: 12px 22px; }
}

/* === DESKTOP HERO TEXT OVERRIDE === */
@media (min-width: 769px) {
    .hero .hero-text p {
        font-size: 14px;
    }
    .hero .hero-text .intro-line {
        font-size: 14px;
    }
}
