:root {
    --soft-blue: #e0f0ff;
    --light-green: #f0f7f0;
    --warm-cream: #f8f7f2;
    --deep-blue: #1e3a5f;
    --dark-blue: #0f1e2e;
    --navy: #132b4a;
    --accent: #7bc1ff;
}

/* ==================== GLOBAL ==================== */
body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* ==================== HEADER ==================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 30, 45, 0.92);
    backdrop-filter: blur(8px);
    z-index: 1000;
    padding: 18px 0;
    transition: all 0.4s ease;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo-text {
    color: white;
    font-size: 1.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    font-family: 'Pacifico';
}

/* Navigation */
.nav-left, .nav-right {
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-item {
    color: white;
    text-decoration: none;
    font-size: 1.25rem;
    letter-spacing: 1.5px;
    transition: color 0.3s ease;
}

.nav-item:hover {
    color: var(--accent);
}

.logo-link {
    text-decoration: none !important;
}

.logo-link:hover {
    text-decoration: none !important;
}

.logo-text {
    color: white;
    font-size: 1.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    font-family: 'Pacifico';
}

/* Mobile Menu */
.navbar-toggler { 
    background: none; 
    border: none; 
    padding: 0; 
    color: white; 
}

.mobile-menu {
    background: rgba(15, 30, 45, 0.96);
    padding: 20px 0;
}

.mobile-nav-item {
    color: white;
    font-size: 1.25rem;
    padding: 16px 20px;
    display: block;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-nav-item:hover {
    color: var(--accent);
}


/* ==================== HERO ==================== */
.hero {
    min-height: 100vh;
    height: 100vh;
    background-image: 
        linear-gradient(rgba(15,30,45,0.45), rgba(15,30,45,0.45)), 
        url('gfx/21.JPG');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    position: relative;
}


@media (max-width: 991.98px) {
    .hero {
        background-image: 
            linear-gradient(rgba(15,30,45,0.45), rgba(15,30,45,0.45)), 
            url('gfx/23.JPG');
        background-attachment: scroll; 
    }
}

.hero-logo {
    position: relative;
    z-index: 2;
}

.main-logo {
    max-width: 420px;
    height: auto;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.35));
}

/* ==================== SECTION TITLE ==================== */
.section-title {
    font-size: 2.8rem;
    position: relative;
    display: block;
    text-align: center;
    margin: 0 auto 40px auto;
    width: fit-content;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards 0.3s;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 140px;
    height: 2px;
    bottom: -14px;
    left: 50%;
    transform: translateX(-50%);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ansichten & Lage: Weiß */
.ansichten-section .section-title,
.lage-section .section-title {
    color: white;
}

.ansichten-section .section-title::after,
.lage-section .section-title::after {
    background: white;
}

/* Ausstattung: Dunkel */
.ausstattung-section .section-title {
    color: #1e3a5f;
}

.ausstattung-section .section-title::after {
    background: #1e3a5f;
}

/* ==================== LAGE SECTION ==================== */
.lage-section {
    background: #1a2f4a;
    padding-top: 100px;
    padding-bottom: 120px;
    position: relative;
}

.lage-intro {
    color: #e8eef5;
    font-size: 1.15rem;
}

.lage-card {
    background: rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 35px 30px;
    height: 100%;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.4s ease;
}

.lage-card:hover {
    transform: translateY(-8px);
    background: rgba(255,255,255,0.12);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.lage-card h4 {
    color: white;
    margin-bottom: 18px;
    font-size: 1.5rem;
}

.lage-card p {
    color: #c8d6e8;
    line-height: 1.7;
}

.info-content {
    background: rgba(0,0,0,0.2);
    padding: 20px;
    border-radius: 12px;
    color: #d4e0f0;
    font-size: 1.05rem;
    line-height: 1.75;
}

/* ==================== ANSICHTEN GALLERY ==================== */
.ansichten-section {
    background: var(--dark-blue);
    padding-top: 100px;
    padding-bottom: 100px;
    position: relative;
}

.gallery-img {
    width: 100%;
    height: auto;
    border: 6px solid #f8f9fa;          /* Weißer Rand wiederhergestellt */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    border-radius: 12px;
    cursor: pointer;
}

.gallery-img:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Lightbox */
#imageModal .modal-content {
    background-color: rgba(15, 23, 42, 0.98) !important;
}

.modal-img {
    max-height: 88vh;
    width: auto;
    max-width: 95%;
    object-fit: contain;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

#imageCounter {
    font-size: 1.1rem;
    color: #ddd;
}

/* ==================== AUSSTATTUNG SECTION ==================== */
.ausstattung-section {
    background: white;
    padding-top: 100px;
    padding-bottom: 100px;
    position: relative;
}

.ausstattung-card {
    background: var(--navy);
    color: white;
    border-radius: 16px;
    padding: 40px 30px;
    height: 100%;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.18);
}

.ausstattung-card h3 {
    color: white;
}

/* ==================== PREISE SECTION ==================== */
.preise-section {
    background: white;
    padding-top: 100px;
    padding-bottom: 120px;
    position: relative;
}

.preise-card {
    background: var(--navy);
    color: white;
    border-radius: 16px;
    padding: 40px 30px;
    height: 100%;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.18);
    transition: all 0.4s ease;
}

.preise-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.22);
}

.hauptsaison {
    border-top: 6px solid #7bc1ff;
}

.nebensaison {
    border-top: 6px solid #a3c4e0;
}

.preise-card h3 {
    color: white;
    font-size: 1.8rem;
}

.price-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.price-list li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    font-size: 1.1rem;
}

.price-list li:last-child {
    border-bottom: none;
}

/* Inklusiv-Bereich */
.preise-included {
    background: var(--navy);
    color: white;
    border-radius: 16px;
    padding: 35px 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.18);
    width: 100%;
}

.preise-included h4 {
    color: white;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.included-list {
    list-style: disc;
    padding-left: 28px;
    margin: 0;
    font-size: 1.15rem;
    line-height: 1.75;
}

.preise-section .section-title {
    color: #1e3a5f;
}

.preise-section .section-title::after {
    background: #1e3a5f;
}

/* ==================== ANREISE / KONTAKT SECTION ==================== */
.anreise-section {
    background: #1a2f4a;
    padding-top: 100px;
    padding-bottom: 120px;
}

.anreise-card {
    background: white;
    color: #1e3a5f;
    border-radius: 16px;
    padding: 45px 35px;
    height: 100%;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    transition: all 0.4s ease;
}

.anreise-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
}

.anreise-card h3 {
    color: #1e3a5f;
    font-size: 1.9rem;
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
    margin-bottom: 30px;
}

.anreise-card h3::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background: #1e3a5f;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.contact-info p,
.address-info p {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: #1e3a5f;
}

.contact-info a {
    color: #1e3a5f;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #0f1e2e;
}

.anreise-section .section-title {
    color: white;
}

.anreise-section .section-title::after {
    background: white;
}

/* ==================== FOOTER ==================== */
.footer {
    background: #0f1e2e;
    color: #e8eef5;
    border-top: 1px solid #2c5a8c;
}

.footer h5 {
    color: #8ab4d6;
}

.footer-link {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #c5d9f0;
}

.footer .text-muted {
    color: #a3c4e0 !important;
}

.footer-logo {
    font-family: 'Pacifico';
    font-size: 1.85rem;
    color: #8ab4d6;
    margin-bottom: 1rem;
}

/* ==================== BUTTONS ==================== */
.btn-outline-gold {
    border: 2px solid var(--accent);
    color: white;
    padding: 14px 38px;
    letter-spacing: 2px;
    font-size: 1.05rem;
    transition: all 0.4s ease;
    border-radius: 4px;
}

.btn-outline-gold:hover {
    background-color: var(--accent);
    color: white;
    transform: translateY(-2px);
}

/* ==================== FLOATING CONTACT BUTTON & POPUP ==================== */
.floating-contact-btn {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    z-index: 1050;
    background: #1a2f4a;
    border: none;
    color: white;
    transition: all 0.3s ease;
}

.floating-contact-btn:hover {
    background: #132b4a;
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* Floating Button auf Mobile ausblenden */
@media (max-width: 992px) {
    .floating-contact-btn {
        display: none !important;
    }
}

/* ==================== KONTAKT POPUP ==================== */
#contactModal .modal-title {
    font-size: 1.9rem;
    font-weight: 700;
    text-decoration: underline;
    color: #1a2f4a;
}

#contactModal .modal-content {
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    background: white !important;
    border-radius: 12px !important;   /* Rundungen sichern */
}

/* X-Button oben rechts */
.btn-close-custom {
    font-size: 1.6rem;
    color: #1a2f4a !important;
    background: transparent;
    border: none;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.btn-close-custom:hover {
    color: #0f1e2e !important;
    background: rgba(0,0,0,0.05);
    border-radius: 50%;
}

/* === POPUP KOMPLETT STATISCH + RUNDUNGEN + WEISS GESICHERT === */
#contactModal .modal-content,
#contactModal .modal-body,
#contactModal .anreise-card,
#contactModal * {
    transition: none !important;
}

#contactModal .anreise-card:hover,
#contactModal .modal-content:hover,
#contactModal .modal-body:hover {
    transform: none !important;
    box-shadow: none !important;
    background: white !important;
    border-radius: 12px !important;   /* Rundungen beim Hover sichern */
}

/* ==================== MOBILE CONTACT BUTTON ==================== */
.mobile-contact-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
}

.mobile-contact-btn:hover {
    color: var(--accent);
    transform: scale(1.1);
}

/* Abstand im Header auf Mobile */
@media (max-width: 992px) {
    .header-content {
        justify-content: space-between;
    }
    
    .mobile-contact-btn {
        margin-left: auto;
    }
}

/* Mobile Header Layout Fix */
@media (max-width: 992px) {
    .header-content {
        justify-content: space-between;
        position: relative;
    }
    
    .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .mobile-contact-btn {
        margin-left: auto;
        padding: 8px 12px;
    }
}


/* ==================== RESPONSIVE ==================== */
@media (max-width: 992px) {
    .nav-left, .nav-right { gap: 25px; }
    .header-content { padding: 0 20px; }
    
    .header-content {
        justify-content: center;
        position: relative;
    }
    
    .navbar-toggler {
        position: absolute;
        left: 20px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .nav-left, .nav-right {
        display: none;
    }
    
    .mobile-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        box-shadow: 0 10px 20px rgba(0,0,0,0.3);
        z-index: 999;
        background: rgba(15, 30, 45, 0.96);
    }
}

@media (max-width: 768px) {
    .ausstattung-card { margin-bottom: 30px; }
    .main-logo { max-width: 320px; }
    .hero { background-attachment: scroll; }
    .section-title { font-size: 2.3rem; }
    .lage-card { padding: 25px 20px; }
}

/* Scroll-Effekt */
header.scrolled .mobile-menu {
    background: rgba(15, 30, 45, 0.98);
}