/* === Module: Global (ID: 5) === */
/* CSS Variablen */
:root {
    --primary-color: #0077b6;
    /* Ein schönes Meeresblau */
    --secondary-color: #00b4d8;
    /* Ein helleres Türkis */
    --accent-color: #ff8c00;
    /* Ein warmer Orangeton für Akzente */
    --text-color: #333;
    --text-color-light: #555;
    --light-text-color: #fff;
    --background-color: #f8f9fa;
    --card-background: #ffffff;
    --footer-background: #212529;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Montserrat', sans-serif;
}

/* Basis-Styling */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

.footercontent {
    color: #aaa !important;
}

body {
    font-family: var(--font-primary);
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--background-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1,
h2,
h3 {
    font-family: var(--font-secondary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--primary-color);
}

h3 {
    font-size: 1.5rem;
}

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

a {
    color: var(--secondary-color);
    text-decoration: none;
}

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

/* Header & Navigation */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.nav-logo:hover {
    color: var(--secondary-color);
}

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

.nav-link {
    font-weight: 600;
    color: var(--text-color);
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

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

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-color);
    transition: all 0.3s ease-in-out;
}



/* Footer */
.main-footer {
    background-color: var(--footer-background);
    color: #ccc;
    text-align: center;
    padding: 2rem 0;
    font-size: 0.9rem;
}

.main-footer a {
    color: #fff;
    text-decoration: underline;
}

.main-footer a:hover {
    color: var(--secondary-color);
}

/* Scroll Animation */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}



/* Responsive Design */
@media (max-width: 768px) {

    .gallery-item {
        flex: 0 0 280px;
        width: 280px;
    }

    .lightbox-content {
        max-height: calc(100vh - 200px);
    }

    .lightbox-prev,
    .lightbox-next {
        padding: 10px;
        font-size: 1.5rem;
    }

    .scroll-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
    }

    .scroll-arrow-left {
        left: 5px;
    }

    .scroll-arrow-right {
        right: 5px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: #fff;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        gap: 0.5rem;
    }

    
    .nav-menu.active {
        left: 0;        
    }

    .nav-item {
        margin: 0.5rem 0;
    }

    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .legal-box {
        padding: 1.5rem;
    }

    .form-group-half {
        width: 100%;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .tab-button {
        padding: 10px 24px;
        font-size: 0.9rem;
    }

    .tours-grid {
        grid-template-columns: 1fr;
    }
}