/*
Theme Name: Appartamenti sul Lago
Theme URI: https://appartamenti-sul-lago.de
Author: Appartamenti sul Lago
Author URI: https://appartamenti-sul-lago.de
Description: Exklusive Ferienwohnungen am Gardasee - Custom Theme
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mein-theme
*/
/* =========================================================
   APPARTAMENTI SUL LAGO â€” Premium Startseite
   ========================================================= */

/* --- CSS Custom Properties --- */
:root {
    --bg: #F5F0E8;
    --bg-light: #FAF7F2;
    --bg-dark: #1A1A1A;
    --text: #1A1A1A;
    --text-muted: #6B6B6B;
    --text-light: #999;
    --accent: #B8935A;
    --accent-light: #D4B87A;
    --accent-dark: #96753E;
    --white: #FFFFFF;
    --border: rgba(26, 26, 26, 0.08);

    --font-display: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-accent: 'Cormorant Garamond', Georgia, serif;

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 30px 80px rgba(0, 0, 0, 0.18);

    --blue: #4A6FA5;
    --blue-light: #5A80B8;
    --blue-dark: #3B5A88;

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s var(--ease-out);
}

::selection {
    background: var(--accent);
    color: var(--white);
}

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 60px);
}

/* --- Cursor Glow (Desktop only) --- */
.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(184, 147, 90, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: left 0.3s ease-out, top 0.3s ease-out, opacity 0.4s;
    opacity: 0;
    will-change: left, top;
}

body:hover .cursor-glow {
    opacity: 1;
}

@media (hover: none) {
    .cursor-glow { display: none; }
}

/* --- Preloader --- */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.preloader-line {
    width: 120px;
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
}

.preloader-line::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 40%;
    background: var(--accent);
    animation: preloaderSlide 1.2s var(--ease-in-out) infinite;
}

@keyframes preloaderSlide {
    0% { left: -40%; }
    100% { left: 100%; }
}

.preloader-text {
    font-family: var(--font-display);
    color: var(--white);
    font-size: 14px;
    letter-spacing: 4px;
    text-transform: uppercase;
    opacity: 0.6;
}

/* --- Typography --- */
.section-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 500;
    line-height: 1.2;
    color: var(--text);
}

.section-title em {
    font-style: italic;
    color: var(--accent-dark);
}

.section-header {
    text-align: center;
    margin-bottom: clamp(48px, 6vw, 80px);
}

/* --- Buttons --- */
.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 18px 40px;
    background: var(--blue);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 60px;
    transition: all 0.4s var(--ease-out);
}

.btn-hero:hover {
    background: var(--blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(74, 111, 165, 0.35);
}

.btn-hero-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 18px 40px;
    background: transparent;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 60px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s var(--ease-out);
}

.btn-hero-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

/* =========================================================
   NAVIGATION
   ========================================================= */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.5s var(--ease-out);
}

.nav.scrolled {
    padding: 12px 0;
    background: rgba(245, 240, 232, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 60px);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10;
}

.nav-logo-img {
    height: 38px;
    width: auto;
}

.nav-logo-text {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 500;
    color: var(--white);
    transition: color 0.5s;
}

.nav.scrolled .nav-logo-text {
    color: var(--text);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.3px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.5s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--accent);
    transition: width 0.3s var(--ease-out);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav.scrolled .nav-link {
    color: var(--text);
}

.nav-link-cta {
    padding: 10px 24px;
    background: var(--blue);
    color: var(--white) !important;
    border-radius: 60px;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-link-cta::after { display: none; }

.nav-link-cta:hover {
    background: var(--blue-dark);
    transform: translateY(-1px);
}

/* Dropdown */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 240px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 16px 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s var(--ease-out), 
                visibility 0.3s var(--ease-out),
                transform 0.3s var(--ease-out);
}

/* Hover-Bridge: Unsichtbare Verbindung zwischen Link und Dropdown */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    height: 20px;
}

.nav-dropdown:hover .dropdown-menu,
.dropdown-menu:hover {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: translateX(-50%) translateY(0);
}

.dropdown-category {
    padding: 8px 24px 4px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
}

.dropdown-item {
    display: block;
    padding: 10px 24px;
    font-size: 14px;
    color: var(--text);
    transition: all 0.2s;
}

.dropdown-item:hover {
    background: var(--bg-light);
    padding-left: 30px;
    color: var(--accent-dark);
}

.dropdown-divider {
    height: 1px;
    background: var(--border);
    margin: 8px 20px;
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 10;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s var(--ease-out);
    border-radius: 2px;
}

.nav.scrolled .nav-toggle span {
    background: var(--text);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-8px);
}
.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-media {
    position: absolute;
    inset: 0;
}

.hero-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg,
            rgba(0, 0, 0, 0.3) 0%,
            rgba(0, 0, 0, 0.1) 40%,
            rgba(0, 0, 0, 0.15) 60%,
            rgba(0, 0, 0, 0.55) 100%
        );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 60px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 32px;
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s ease infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -1px;
    margin-bottom: 24px;
}

.hero-title span {
    display: block;
}

.hero-title-italic {
    font-style: italic;
    color: var(--accent-light);
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(14px, 1.5vw, 18px);
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0.8;
    margin-bottom: 48px;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 2;
}

.hero-scroll-line {
    width: 1px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.hero-scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-light);
    animation: scrollLine 2s var(--ease-in-out) infinite;
}

@keyframes scrollLine {
    0% { top: -100%; }
    50% { top: 0; }
    100% { top: 100%; }
}

.hero-scroll-indicator span {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.hero-bottom-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(transparent, var(--bg));
    z-index: 1;
    pointer-events: none;
}

/* =========================================================
   INTRO SECTION
   ========================================================= */
.intro {
    padding: clamp(80px, 10vw, 140px) 0;
    background: var(--bg);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 100px);
    align-items: start;
    margin-bottom: clamp(60px, 8vw, 100px);
}

.intro-heading {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 500;
    line-height: 1.2;
}

.intro-heading em {
    font-style: italic;
    color: var(--accent-dark);
}

.intro-text {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-muted);
    max-width: 520px;
}

/* Feature Cards */
.intro-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    padding: 40px 32px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.5s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease-out);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 24px;
    color: var(--accent);
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-desc {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-muted);
}

/* =========================================================
   WAVE DIVIDERS & DECORATIVE SHAPES
   ========================================================= */
.wave-divider {
    position: relative;
    width: 100%;
    line-height: 0;
    overflow: hidden;
    margin-top: -1px;
}

.wave-divider svg {
    display: block;
    width: 100%;
    height: clamp(60px, 8vw, 120px);
}

.wave-divider-1 {
    background: var(--bg);
}

.wave-divider-2 {
    background: var(--bg-light);
}

.wave-divider-3 {
    background: var(--bg);
}

/* =========================================================
   MODERN APARTMENTS SECTION BACKGROUND
   Elegant gradient mesh with subtle depth and movement
   ========================================================= */

/* --- Schicht 1: Animated gradient mesh background --- */
.apt-shapes-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
    background: 
        linear-gradient(135deg, 
            rgba(250, 247, 242, 0.95) 0%, 
            rgba(245, 240, 232, 0.98) 25%,
            rgba(240, 245, 250, 0.95) 50%,
            rgba(248, 244, 238, 0.97) 75%,
            rgba(250, 247, 242, 0.95) 100%
        );
}

.apt-shape {
    position: absolute;
    pointer-events: none;
    will-change: transform;
    contain: layout style;
}

/* --- Modern subtle gradient orbs with soft animations --- */

/* S1: Large soft golden orb â€” top left */
.apt-s1 {
    width: 600px;
    height: 600px;
    top: -10%;
    left: -8%;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%,
        rgba(184, 147, 90, 0.08) 0%,
        rgba(184, 147, 90, 0.03) 35%,
        transparent 65%
    );
}

/* S2: Soft blue-tinted orb â€” top right */
.apt-s2 {
    width: 450px;
    height: 450px;
    top: 0%;
    right: -5%;
    border-radius: 50%;
    background: radial-gradient(circle at 70% 40%,
        rgba(74, 111, 165, 0.06) 0%,
        rgba(74, 111, 165, 0.02) 40%,
        transparent 70%
    );
}

/* S3: Subtle warm accent â€” upper middle */
.apt-s3 {
    width: 300px;
    height: 300px;
    top: 12%;
    left: 45%;
    border-radius: 50%;
    background: radial-gradient(circle,
        rgba(212, 184, 122, 0.06) 0%,
        rgba(212, 184, 122, 0.02) 45%,
        transparent 70%
    );
}

/* S4: Large soft beige orb â€” left middle */
.apt-s4 {
    width: 550px;
    height: 550px;
    top: 28%;
    left: -10%;
    border-radius: 50%;
    background: radial-gradient(ellipse at 40% 50%,
        rgba(200, 180, 155, 0.07) 0%,
        rgba(200, 180, 155, 0.025) 42%,
        transparent 68%
    );
}

/* S5: Small warm dot â€” right upper */
.apt-s5 {
    width: 200px;
    height: 200px;
    top: 20%;
    right: 15%;
    border-radius: 50%;
    background: radial-gradient(ellipse,
        rgba(184, 147, 90, 0.1) 0%,
        rgba(184, 147, 90, 0.03) 40%,
        transparent 68%
    );
}

/* S6: Medium blue-grey orb â€” middle right */
.apt-s6 {
    width: 400px;
    height: 400px;
    top: 42%;
    right: -8%;
    border-radius: 50%;
    background: radial-gradient(circle at 60% 60%,
        rgba(120, 140, 160, 0.05) 0%,
        rgba(120, 140, 160, 0.015) 42%,
        transparent 70%
    );
}

/* S7: Tiny warm accent â€” middle left */
.apt-s7 {
    width: 180px;
    height: 180px;
    top: 50%;
    left: 18%;
    border-radius: 50%;
    background: radial-gradient(circle,
        rgba(220, 195, 160, 0.09) 0%,
        rgba(220, 195, 160, 0.03) 45%,
        transparent 70%
    );
}

/* S8: Large soft orb â€” bottom right */
.apt-s8 {
    width: 580px;
    height: 580px;
    top: 65%;
    right: -10%;
    border-radius: 50%;
    background: radial-gradient(ellipse at 50% 40%,
        rgba(184, 147, 90, 0.06) 0%,
        rgba(184, 147, 90, 0.02) 45%,
        transparent 70%
    );
}

/* S9: Medium cream orb â€” bottom left */
.apt-s9 {
    width: 380px;
    height: 380px;
    top: 75%;
    left: -5%;
    border-radius: 50%;
    background: radial-gradient(ellipse,
        rgba(195, 175, 150, 0.07) 0%,
        rgba(195, 175, 150, 0.025) 42%,
        transparent 68%
    );
}

/* S10: Small center-bottom accent */
.apt-s10 {
    width: 250px;
    height: 250px;
    top: 88%;
    left: 48%;
    border-radius: 50%;
    background: radial-gradient(circle,
        rgba(212, 184, 122, 0.07) 0%,
        rgba(212, 184, 122, 0.02) 44%,
        transparent 70%
    );
}

/* --- Schicht 2: Elegant overlay with subtle texture --- */
.apt-frost-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    background: 
        linear-gradient(180deg,
            rgba(255, 255, 255, 0.4) 0%,
            rgba(250, 247, 242, 0.2) 50%,
            rgba(255, 255, 255, 0.3) 100%
        );
}

/* =========================================================
   APARTMENTS SECTION
   ========================================================= */
.apartments {
    padding: clamp(80px, 10vw, 140px) 0;
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

/* Schicht 3: Inhalt Ã¼ber den Glassmorphism-Layern */
.apartments > *:not(.apt-shapes-layer):not(.apt-frost-layer) {
    position: relative;
    z-index: 10;
}

/* Showcase Layout */
.apt-showcase {
    max-width: 1540px;
    margin: 0 auto clamp(70px, 9vw, 120px);
    padding: 0 clamp(24px, 4.5vw, 70px);
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: clamp(48px, 6vw, 96px);
    align-items: center;
}

.apt-showcase-reverse {
    grid-template-columns: 1fr 1.15fr;
}

.apt-showcase-reverse .apt-showcase-img {
    order: 2;
}

.apt-showcase-reverse .apt-showcase-info {
    order: 1;
}

/* Apartment Image / Slider */
.apt-showcase-img {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: var(--shadow-lg);
}

.apt-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s var(--ease-out), transform 6s linear;
    transform: scale(1);
}

.slider-img.active {
    opacity: 1;
    transform: scale(1.04);
}

/* Slider Nav */
.apt-slider-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 5;
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 60px;
}

.apt-slider-nav button {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.2s;
}

.apt-slider-nav button:hover {
    background: rgba(255, 255, 255, 0.15);
}

.apt-slider-dots {
    display: flex;
    gap: 6px;
}

.apt-slider-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transition: all 0.3s;
    cursor: pointer;
}

.apt-slider-dot.active {
    background: var(--white);
    width: 20px;
    border-radius: 3px;
}

/* Apartment Badge */
.apt-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 5;
    padding: 8px 18px;
    background: rgba(184, 147, 90, 0.9);
    backdrop-filter: blur(8px);
    color: var(--white);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 60px;
}

.apt-badge-alt {
    background: rgba(26, 26, 26, 0.7);
}

/* Apartment Info */
.apt-showcase-info {
    padding: clamp(0px, 2.5vw, 28px) 0;
}

.apt-number {
    font-family: var(--font-display);
    font-size: clamp(4.5rem, 7vw, 7rem);
    font-weight: 300;
    color: var(--border);
    line-height: 1;
    display: block;
    margin-bottom: -12px;
    user-select: none;
}

.apt-name {
    font-family: var(--font-display);
    font-size: clamp(2.1rem, 3.5vw, 3.2rem);
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.2;
}

.apt-desc {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 34px;
    max-width: 560px;
}

.apt-highlights {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 38px;
}

.apt-highlights li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 500;
    color: var(--text);
}

.apt-highlights li svg {
    color: var(--accent);
    flex-shrink: 0;
}

/* Review */
.apt-review {
    padding: 28px;
    background: var(--white);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--accent);
    margin-bottom: 38px;
}

.apt-review-slider {
    display: grid;
}

.apt-review-slide {
    grid-area: 1 / 1;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s var(--ease-out), visibility 0.6s;
    pointer-events: none;
}

.apt-review-slide.active {
    opacity: 1;
    visibility: visible;
}

.apt-review-stars {
    color: var(--accent);
    font-size: 17px;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.apt-review-text {
    font-family: var(--font-accent);
    font-size: 18px;
    font-style: italic;
    line-height: 1.65;
    color: var(--text);
    margin-bottom: 10px;
}

.apt-review-author {
    font-size: 14px;
    color: var(--text-light);
}

/* Apartment Button */
.btn-apartment {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--white);
    background: var(--blue);
    padding: 16px 28px;
    border-radius: 50px;
    border: none;
    box-shadow: 0 4px 15px rgba(91, 141, 165, 0.3);
    transition: all 0.4s var(--ease-out);
}

.btn-apartment svg {
    transition: transform 0.3s var(--ease-out);
}

.btn-apartment:hover {
    background: var(--blue-dark);
    box-shadow: 0 6px 20px rgba(91, 141, 165, 0.4);
    transform: translateY(-2px);
}

.btn-apartment:hover svg {
    transform: translateX(4px);
}

/* =========================================================
   SECTION DIVIDER â€” Wave between sections
   ========================================================= */
.section-wave {
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: -2px;
}

/* =========================================================
   HOSTS SECTION
   ========================================================= */
.hosts {
    padding: clamp(80px, 10vw, 140px) 0;
    background:
        linear-gradient(160deg, var(--bg) 0%, rgba(230, 220, 205, 0.4) 30%, var(--bg) 60%, rgba(210, 225, 235, 0.25) 100%);
    position: relative;
    overflow: hidden;
}

@keyframes gradientShiftSlow {
    0% { background-position: 0% 0%; }
    50% { background-position: 100% 100%; }
    100% { background-position: 0% 0%; }
}

/* Subtle diagonal gradient wash */
.hosts::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 10% 20%, rgba(184, 147, 90, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 90% 80%, rgba(45, 120, 160, 0.04) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.hosts > * {
    position: relative;
    z-index: 1;
}

.hosts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(48px, 6vw, 100px);
    align-items: center;
}

.hosts-images {
    position: relative;
    min-height: 500px;
}

.hosts-img-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hosts-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

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

.hosts-img-1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 65%;
    height: 360px;
    z-index: 2;
}

.hosts-img-2 {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60%;
    height: 320px;
    z-index: 1;
}

.hosts-accent-box {
    position: absolute;
    bottom: 40px;
    left: 30%;
    width: 120px;
    height: 120px;
    border: 2px solid var(--accent);
    border-radius: var(--radius-md);
    opacity: 0.3;
    z-index: 0;
}

.hosts-content {
    padding: 20px 0;
    display: flex;
    flex-direction: column;
}

/* Reihenfolge: Label â†’ Heading â†’ Stats â†’ Text â†’ Button */
.hosts-content .section-label { order: 1; }
.hosts-content .hosts-heading  { order: 2; }
.hosts-content .hosts-stats    { order: 3; }
.hosts-content .hosts-text     { order: 4; }
.hosts-content .btn-hosts      { order: 5; align-self: flex-start; }

.hosts-heading {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hosts-heading em {
    font-style: italic;
    color: var(--accent-dark);
}

.hosts-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

/* Stats */
.hosts-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 0;
    padding-top: 0;
    border-top: none;
}

.hosts-stat {
    display: flex;
    flex-direction: column;
}

.hosts-stat-number {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 600;
    color: var(--accent-dark);
    line-height: 1;
}

.hosts-stat-number-wrap {
    display: inline-flex;
    align-items: baseline;
    white-space: nowrap;
}

.hosts-stat-suffix {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 600;
    color: var(--accent-dark);
    line-height: 1;
    margin-left: 0;
}

.hosts-stat-label {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}

.btn-hosts {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: var(--blue);
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 60px;
    transition: all 0.4s var(--ease-out);
}

.btn-hosts svg {
    transition: transform 0.3s var(--ease-out);
}

.btn-hosts:hover {
    background: var(--blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(74, 111, 165, 0.25);
}

.btn-hosts:hover svg {
    transform: translateX(4px);
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    25% { background-position: 100% 0%; }
    50% { background-position: 100% 100%; }
    75% { background-position: 0% 100%; }
    100% { background-position: 0% 50%; }
}

@keyframes floatOrb1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(80px, 60px) scale(1.1); }
    66% { transform: translate(-40px, -30px) scale(0.95); }
}

@keyframes floatOrb2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-60px, -50px) scale(1.08); }
    66% { transform: translate(50px, 40px) scale(0.92); }
}

/* =========================================================
   IMPRESSIONS GALLERY
   ========================================================= */
.impressions {
    padding: clamp(80px, 10vw, 140px) 0;
    background:
        linear-gradient(145deg, var(--bg-light) 0%, rgba(215, 230, 240, 0.35) 35%, var(--bg-light) 65%, rgba(240, 230, 215, 0.3) 100%);
    position: relative;
    overflow: hidden;
}

/* Animated gradient shift behind gallery */
.impressions::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(184, 147, 90, 0.06) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

.impressions::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 550px;
    height: 550px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(45, 120, 160, 0.05) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

.impressions > * {
    position: relative;
    z-index: 1;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 280px;
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 50%, rgba(0, 0, 0, 0.6));
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.4s var(--ease-out);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 500;
    color: var(--white);
    transform: translateY(10px);
    transition: transform 0.4s var(--ease-out);
}

.gallery-item:hover .gallery-overlay span {
    transform: translateY(0);
}

.gallery-item-tall {
    grid-row: span 2;
}

.gallery-item-wide {
    grid-column: span 2;
}

/* =========================================================
   BOOKING SECTION
   ========================================================= */
.booking {
    position: relative;
    padding: clamp(80px, 12vw, 160px) 0;
    overflow: hidden;
}

.booking-bg {
    position: absolute;
    inset: 0;
}

.booking-bg-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(2px);
}

.booking-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.88), rgba(26, 26, 26, 0.75));
}

.booking-card {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: clamp(40px, 6vw, 64px);
    box-shadow: var(--shadow-xl);
}

.booking-header {
    text-align: center;
    margin-bottom: 40px;
}

.booking-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 12px;
}

.booking-title em {
    font-style: italic;
    color: var(--accent-dark);
}

.booking-subtitle {
    font-size: 15px;
    color: var(--text-muted);
}

/* Form */
.booking-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--text);
}

.form-optional {
    font-weight: 400;
    color: var(--text-light);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 18px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--text);
    background: var(--bg-light);
    border: 1.5px solid transparent;
    border-radius: var(--radius-sm);
    transition: all 0.3s var(--ease-out);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--blue);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(74, 111, 165, 0.12);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Apartment Auswahl - hervorgehoben */
.form-apartment-select {
    position: relative;
    padding: 20px;
    background: linear-gradient(135deg, rgba(91, 141, 165, 0.08) 0%, rgba(91, 141, 165, 0.03) 100%);
    border: 2px solid var(--blue);
    border-radius: 16px;
    margin-bottom: 10px;
}

.form-apartment-select label {
    font-size: 14px;
    color: var(--blue);
}

.form-apartment-select select {
    background: var(--white);
    font-weight: 500;
}

.form-hint {
    font-size: 12px;
    color: var(--text-light);
    font-style: italic;
    margin-top: 4px;
}

.guests-hint {
    font-size: 12px;
    color: var(--blue);
    font-weight: 500;
    margin-left: 6px;
}

.form-group select:disabled {
    background: var(--bg);
    color: var(--text-light);
    cursor: not-allowed;
}

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

/* Submit Button */
.btn-submit {
    position: relative;
    padding: 18px 40px;
    background: var(--blue);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border: none;
    border-radius: 60px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s var(--ease-out);
    margin-top: 8px;
}

.btn-submit:hover {
    background: var(--blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(74, 111, 165, 0.3);
}

.btn-submit-loading,
.btn-submit-success {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-submit.loading .btn-submit-text { display: none; }
.btn-submit.loading .btn-submit-loading {
    display: inline-flex;
    animation: spin 1s linear infinite;
}

.btn-submit.success .btn-submit-text { display: none; }
.btn-submit.success .btn-submit-loading { display: none; }
.btn-submit.success .btn-submit-success { display: inline-flex; }
.btn-submit.success {
    background: #2D8B4E;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
    background: #2D3436;
    color: var(--white);
    padding: clamp(60px, 8vw, 100px) 0 0;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    padding-bottom: clamp(48px, 6vw, 80px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
    max-width: 320px;
}

.footer-logo {
    height: 36px;
    width: auto;
    margin-bottom: 16px;
    opacity: 0.9;
}

.footer-brand-name {
    display: block;
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 12px;
}

.footer-brand-desc {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
}

.footer-links {
    display: flex;
    gap: 80px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-heading {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 8px;
}

.footer-col a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s, transform 0.3s;
    display: inline-block;
}

.footer-col a:hover {
    color: var(--white);
    transform: translateX(4px);
}

.footer-bottom {
    padding: 28px 0;
    text-align: center;
}

.footer-bottom span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.35);
}

/* =========================================================
   REVEAL ANIMATIONS
   ========================================================= */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

.reveal-slide-right {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.reveal-slide-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-slide-left {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.reveal-slide-left.visible {
    opacity: 1;
    transform: translateX(0);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
    .intro-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .intro-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .apt-showcase,
    .apt-showcase-reverse {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .apt-showcase-reverse .apt-showcase-img {
        order: unset;
    }

    .apt-showcase-reverse .apt-showcase-info {
        order: unset;
    }

    .apt-showcase-img {
        aspect-ratio: 16 / 10;
    }

    .hosts-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hosts-images {
        min-height: 400px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 220px;
    }

    .gallery-item-tall {
        grid-row: span 2;
    }

    .gallery-item-wide {
        grid-column: span 2;
    }

    /* Mobile Nav */
    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-toggle span {
        transition: all 0.3s var(--ease-out);
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: min(340px, 85vw);
        height: 100vh;
        height: 100svh;
        background: linear-gradient(180deg, #FAF8F5 0%, #F5F2ED 100%);
        flex-direction: column;
        align-items: flex-start;
        padding: 90px 28px 40px;
        gap: 0;
        box-shadow: -8px 0 60px rgba(0, 0, 0, 0.2);
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
        overflow-y: auto;
        overflow-x: hidden;
        z-index: 1000;
        box-sizing: border-box;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .menu-overlay {
        position: fixed;
        inset: 0;
        background: rgba(26, 26, 26, 0.5);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.35s ease, visibility 0.35s ease;
    }

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

    .nav-link {
        color: var(--text) !important;
        padding: 16px 0;
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        font-size: 16px;
        font-weight: 500;
        transition: color 0.2s ease;
        position: relative;
        display: block;
    }

    .nav-link:hover {
        color: var(--accent) !important;
    }

    .nav-link-cta {
        margin-top: 24px;
        text-align: center;
        justify-content: center;
        border-bottom: none;
        padding: 16px 32px;
        border-radius: 60px;
        width: 100%;
        background: var(--blue) !important;
        color: var(--white) !important;
        font-size: 13px;
        font-weight: 600;
        letter-spacing: 1.5px;
        text-transform: uppercase;
        transition: background-color 0.3s ease, box-shadow 0.3s ease;
        display: flex;
    }

    .nav-link-cta:hover {
        background: var(--blue-dark) !important;
        box-shadow: 0 8px 25px rgba(74, 111, 165, 0.35);
    }

    /* Mobile Dropdown */
    .nav-dropdown {
        width: 100%;
    }

    .nav-dropdown .nav-link {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .nav-dropdown .nav-link svg {
        transition: transform 0.3s ease;
        width: 12px;
        height: 8px;
        flex-shrink: 0;
        margin-left: 8px;
    }

    .nav-dropdown.open .nav-link svg {
        transform: rotate(180deg);
    }

    .nav-dropdown .dropdown-menu {
        position: static;
        transform: none;
        box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.04);
        background: rgba(255, 255, 255, 0.6);
        border-radius: var(--radius-md);
        padding: 12px 0;
        margin: 8px 0 16px;
        opacity: 1;
        visibility: visible;
        pointer-events: all;
        display: none;
        width: 100%;
        min-width: unset;
        border: 1px solid rgba(0, 0, 0, 0.04);
    }

    .nav-dropdown.open .dropdown-menu {
        display: block;
        animation: slideDown 0.3s ease;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .dropdown-category {
        padding: 10px 20px 6px;
        font-size: 10px;
        font-weight: 600;
        letter-spacing: 2px;
        color: var(--accent);
        text-transform: uppercase;
    }

    .dropdown-item {
        padding: 12px 20px;
        font-size: 15px;
        color: var(--text);
        display: block;
        transition: background-color 0.2s ease, color 0.2s ease;
    }

    .dropdown-item:hover {
        background: rgba(184, 147, 90, 0.08);
        color: var(--accent-dark);
    }

    .footer-top {
        flex-direction: column;
        gap: 40px;
    }

    .footer-links {
        gap: 48px;
    }
}

@media (max-width: 768px) {
    .wave-divider svg {
        height: clamp(40px, 6vw, 60px);
    }

    .hero-title {
        font-size: clamp(2.4rem, 10vw, 4rem);
    }

    .intro-features {
        grid-template-columns: 1fr;
    }

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

    .hosts-stats {
        flex-wrap: wrap;
        gap: 24px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
    }

    .gallery-item-tall {
        grid-row: span 1;
    }

    .gallery-item-wide {
        grid-column: span 1;
    }

    .footer-links {
        flex-direction: column;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-hero,
    .btn-hero-outline {
        width: 100%;
        justify-content: center;
    }

    .booking-card {
        padding: 32px 24px;
    }

    .apt-number {
        font-size: 3rem;
    }
}

/* =========================================================
   FLATPICKR CUSTOMIZATION
   ========================================================= */
.flatpickr-calendar {
    border-radius: var(--radius-md) !important;
    box-shadow: var(--shadow-lg) !important;
    border: none !important;
    font-family: var(--font-body) !important;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
    background: var(--accent) !important;
    border-color: var(--accent) !important;
}

.flatpickr-day.inRange {
    background: rgba(184, 147, 90, 0.15) !important;
    border-color: transparent !important;
    box-shadow: none !important;
}

.flatpickr-day:hover {
    background: rgba(184, 147, 90, 0.1) !important;
    border-color: transparent !important;
}

/* =========================================================
   SMOOTH SCROLL OFFSET
   ========================================================= */
:target {
    scroll-margin-top: 100px;
}

/* =========================================================
   APARTMENT SUB-PAGES (vista-lago, terrazza, lago-blu, casa-chiara)
   ========================================================= */

/* --- Hero --- */
.apt-page-hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.apt-page-hero-bg {
    position: absolute;
    inset: -20px;
    background-size: cover;
    background-position: center;
    will-change: transform;
}

.apt-page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.6) 100%);
}

.apt-page-hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    padding-bottom: clamp(48px, 8vw, 96px);
}

.apt-page-badge {
    display: inline-block;
    padding: 6px 18px;
    background: var(--accent);
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    border-radius: 60px;
    margin-bottom: 16px;
}

.apt-page-badge-alt {
    background: var(--blue);
}

.apt-page-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}

.apt-page-line {
    width: 48px;
    height: 2px;
    background: var(--accent-light);
    margin-bottom: 16px;
}

.apt-page-subtitle {
    font-size: clamp(14px, 1.5vw, 17px);
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.8;
}

/* --- Breadcrumb --- */
.apt-breadcrumb {
    background: var(--bg-light);
    border-bottom: 1px solid var(--border);
    padding: 100px 0 14px 0;
}

.apt-breadcrumb .container {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-muted);
}

.apt-breadcrumb a {
    color: var(--accent-dark);
    transition: color 0.2s;
}

.apt-breadcrumb a:hover { color: var(--accent); }
.apt-breadcrumb span { color: var(--text-muted); }

/* --- Page Details Section --- */
.apt-page-details {
    padding: clamp(48px, 6vw, 80px) 0 80px;
    background: var(--bg);
}

/* --- Image Gallery --- */
.apt-page-gallery {
    margin-bottom: clamp(40px, 5vw, 60px);
}

.gallery-slider-container {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 16/7;
    background: var(--bg-dark);
}

.gallery-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.gallery-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s var(--ease-out);
}

.gallery-img.active { opacity: 1; }

.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--white);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--ease-out);
    z-index: 2;
}

.gallery-btn:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-50%) scale(1.05);
}

.gallery-btn.prev { left: 20px; }
.gallery-btn.next { right: 20px; }

/* --- NEW: Canvas Gallery Layout --- */
.apt-gallery-canvas {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: clamp(40px, 5vw, 60px);
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 600px;
    min-height: 600px;
}

.apt-gallery-main {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    height: 100%;
    min-height: 600px;
}

.apt-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.5s var(--ease-out);
}

.apt-gallery-main:hover img {
    transform: scale(1.03);
}

.apt-gallery-thumbs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 12px;
    height: 100%;
    min-height: 600px;
}

.apt-gallery-thumb {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-sm);
    cursor: pointer;
    height: 100%;
    min-height: 294px;
}

.apt-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.4s var(--ease-out);
}

.apt-gallery-thumb:hover img {
    transform: scale(1.05);
}

.apt-gallery-more {
    position: absolute;
    inset: 0;
    background: rgba(26, 26, 26, 0.75);
    backdrop-filter: blur(6px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: background 0.3s ease;
    text-align: center;
    padding: 10px;
}

.apt-gallery-more:hover {
    background: rgba(26, 26, 26, 0.85);
}

.apt-gallery-more svg {
    width: 28px;
    height: 28px;
}

/* --- Lightbox --- */
.apt-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.apt-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.apt-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(10px);
}

.apt-lightbox-content {
    position: relative;
    z-index: 2;
    max-width: 85vw;
    max-height: 75vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.apt-lightbox-content img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    object-position: center center;
    border-radius: var(--radius-sm);
}

.apt-lightbox-counter {
    color: var(--white);
    font-size: 14px;
    margin-top: 16px;
    opacity: 0.8;
}

.apt-lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 3;
}

.apt-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.apt-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 3;
}

.apt-lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.25);
}

.apt-lightbox-prev { left: 24px; }
.apt-lightbox-next { right: 24px; }

.apt-lightbox-thumbnails {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 3;
    max-width: 80vw;
    overflow-x: auto;
    padding: 8px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: var(--radius-md);
}

.apt-lightbox-thumb {
    width: 60px;
    height: 45px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s ease, transform 0.2s ease;
    flex-shrink: 0;
}

.apt-lightbox-thumb:hover,
.apt-lightbox-thumb.active {
    opacity: 1;
}

.apt-lightbox-thumb.active {
    box-shadow: 0 0 0 2px var(--accent);
}

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

/* --- Two-Column Layout --- */
.apt-page-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: clamp(32px, 4vw, 60px);
    align-items: start;
}

/* --- Specs Bar --- */
.apt-specs-bar {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    padding: 24px 28px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin-bottom: 40px;
    border: 1px solid var(--border);
}

.apt-spec-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
}

.apt-spec-item svg {
    width: 22px;
    height: 22px;
    color: var(--accent);
    flex-shrink: 0;
}

/* --- Description --- */
.apt-description {
    margin-bottom: 40px;
}

.apt-description-title {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 20px;
}

.apt-description-title em {
    font-style: italic;
    color: var(--accent-dark);
}

.apt-description p {
    font-size: 16px;
    line-height: 1.85;
    color: var(--text-muted);
    margin-bottom: 16px;
}

/* --- Highlights --- */
.apt-highlights {
    margin-bottom: 40px;
}

.apt-section-heading {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
}

.apt-highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}

.apt-highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: var(--white);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    border: 1px solid var(--border);
    transition: all 0.3s var(--ease-out);
}

.apt-highlight-item:hover {
    border-color: var(--accent-light);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.apt-highlight-item svg {
    width: 18px;
    height: 18px;
    color: var(--accent);
    flex-shrink: 0;
}

/* --- Accordion --- */
.apt-accordion {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--white);
}

.apt-accordion-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    text-align: left;
    transition: background 0.2s;
}

.apt-accordion-header:hover {
    background: var(--bg-light);
}

.apt-accordion-icon {
    transition: transform 0.35s var(--ease-out);
    flex-shrink: 0;
    color: var(--accent);
}

.apt-accordion-header.active .apt-accordion-icon {
    transform: rotate(180deg);
}

.apt-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease-out);
}

.apt-accordion-content.open {
    max-height: 2500px;
}

.apt-accordion-inner {
    padding: 8px 24px 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.apt-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-muted);
}

.apt-feature-item svg {
    width: 16px;
    height: 16px;
    color: var(--accent);
    flex-shrink: 0;
}

/* --- Booking Sidebar Box --- */
.apt-page-sidebar {
    position: sticky;
    top: 100px;
}
.sidebar-form-wrapper {
    position: sticky;
    top: 100px;
    align-self: start;
}
.apt-booking-box {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 32px;
    border: 1px solid var(--border);
}

.apt-booking-label {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}

.apt-booking-note {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.6;
}

.apt-booking-form .form-group {
    margin-bottom: 16px;
}

.apt-booking-form label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.apt-booking-form input,
.apt-booking-form select,
.apt-booking-form textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text);
    transition: border-color 0.3s, box-shadow 0.3s;
    outline: none;
}

.apt-booking-form input:focus,
.apt-booking-form select:focus,
.apt-booking-form textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(184, 147, 90, 0.12);
}

.apt-booking-form textarea { resize: vertical; }

/* --- Responsive --- */
@media (max-width: 1024px) {
    .apt-page-layout {
        grid-template-columns: 1fr;
    }
    .apt-page-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .apt-page-hero { height: 55vh; }
    .apt-specs-bar { gap: 16px; }
    .apt-accordion-inner { grid-template-columns: 1fr; }
    .gallery-slider-container { aspect-ratio: 4/3; }
    
    /* Responsive Canvas Gallery */
    .apt-gallery-canvas {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        height: auto;
        min-height: auto;
        gap: 8px;
    }
    
    .apt-gallery-main {
        aspect-ratio: 4/3;
        height: auto;
        min-height: auto;
    }
    
    .apt-gallery-thumbs {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: auto;
        aspect-ratio: 4/1;
        height: auto;
        min-height: auto;
    }
    
    .apt-gallery-thumb {
        min-height: auto;
    }
    
    .apt-gallery-more span {
        display: none;
    }
    
    .apt-lightbox-content {
        max-width: 95vw;
        max-height: 70vh;
    }
    
    .apt-lightbox-content img {
        max-height: 55vh;
    }
    
    .apt-lightbox-nav {
        width: 44px;
        height: 44px;
    }
    
    .apt-lightbox-prev { left: 12px; }
    .apt-lightbox-next { right: 12px; }
    
    .apt-lightbox-thumbnails {
        bottom: 12px;
        gap: 6px;
        padding: 6px;
    }
    
    .apt-lightbox-thumb {
        width: 48px;
        height: 36px;
    }
}

/* ---- House Rules ---- */
.apt-rules-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.apt-rule-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 18px;
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

.apt-rule-item svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.apt-rule-item div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.apt-rule-item strong {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}

.apt-rule-item span {
    font-size: 13px;
    color: var(--text-muted);
}

@media (max-width: 600px) {
    .apt-rules-grid { grid-template-columns: 1fr; }
}

/* ---- External Booking Link ---- */
.apt-booking-links {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.apt-ext-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.25s;
}

.apt-ext-link:hover { color: var(--accent-dark); }

.apt-ext-link svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* =========================================================
   LIGHTBOX GALLERY (Booking.com Style)
   ========================================================= */

.lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.lightbox-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.25s;
    z-index: 10;
}

.lightbox-close:hover {
    background: rgba(255,255,255,0.25);
}

.lightbox-counter {
    position: absolute;
    top: 28px;
    left: 28px;
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    font-weight: 500;
    z-index: 10;
}

.lightbox-main {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    padding: 60px 80px 20px;
}

.lightbox-main img {
    max-width: 100%;
    max-height: 72vh;
    object-fit: contain;
    border-radius: 12px;
    transition: opacity 0.3s ease;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s;
    z-index: 10;
}

.lightbox-nav:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-50%) scale(1.08);
}

.lightbox-nav.prev { left: 16px; }
.lightbox-nav.next { right: 16px; }

.lightbox-thumbnails {
    display: flex;
    gap: 8px;
    padding: 12px 24px 24px;
    justify-content: center;
    flex-wrap: nowrap;
    overflow-x: auto;
    max-width: 100%;
}

.lightbox-thumb {
    width: 64px;
    height: 48px;
    border-radius: 6px;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.45;
    border: 2px solid transparent;
    transition: all 0.25s;
    flex-shrink: 0;
}

.lightbox-thumb:hover { opacity: 0.8; }

.lightbox-thumb.active {
    opacity: 1;
    border-color: var(--accent-light, #D4B87A);
}

@media (max-width: 768px) {
    .lightbox-main { padding: 60px 16px 12px; }
    .lightbox-nav { width: 40px; height: 40px; }
    .lightbox-nav.prev { left: 6px; }
    .lightbox-nav.next { right: 6px; }
    .lightbox-thumb { width: 48px; height: 36px; }
}

/* ---- Gallery Grid Click-Hint ---- */
.gallery-img {
    cursor: pointer;
}

/* --- Phosphor Icons Global Styling --- */
i[class^="ph-"], i[class*=" ph-"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-style: normal;
    font-weight: normal;
}

/* Adjustments for specific elements */
.apt-spec-item i.ph { font-size: 24px; color: var(--primary, currentColor); }
.apt-highlight-item i.ph { font-size: 24px; color: var(--primary, currentColor); }
.apt-feature-item i.ph { font-size: 20px; color: var(--primary, currentColor); }
.apt-rule-item i.ph { font-size: 24px; color: var(--primary, currentColor); }
.apt-slider-nav button i.ph,
.apt-lightbox-nav i.ph,
.apt-lightbox-close i.ph { font-size: 24px; }
.btn-apartment i.ph, .btn-submit i.ph, .btn-hosts i.ph { font-size: 18px; }
.feature-icon i.ph { font-size: 40px; }
.nav-link i.ph { font-size: 14px; margin-left: 4px; }
.apt-accordion-header i.ph { font-size: 22px; transition: transform 0.3s ease; }
.apt-gallery-more i.ph { font-size: 20px; margin-right: 8px; }
.nav.nav-apartment {
    background: rgba(245, 240, 232, 0.92);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.nav.nav-apartment .nav-link,
.nav.nav-apartment .nav-logo-text {
    color: var(--text);
}
