/* --- FARBPALETTE & VARIABLEN --- */
:root {
    --sand-bg: #F5F2EB;         /* Sanftes Dünensand-Beige für den Hintergrund (Ruhe & Entspannung) */
    --white: #FFFFFF;           /* Klares Weiß für Boxen und Struktur */
    --sea-blue: #0A5C87;        /* Klares Meeresblau für Überschriften und ruhige Akzente */
    --turquoise: #40B5D0;       /* Frisches Türkis für positive Meeres-Vibes und Icons */
    --button-yellow: #FFC107;   /* Sonniges, warmes Gelb für den Call-to-Action */
    --button-hover: #E0A800;    /* Etwas wärmeres Gelb/Orange beim Drüberfahren */
    --text-dark: #2C3E50;       /* Harmonisches Dunkelblau-Grau für beste Lesbarkeit */
    --text-light: #5A6B7C;      /* Sanftes Grau für informative Nebentexte */
}

/* --- GRUNDLAGEN --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--sand-bg);
    color: var(--text-dark);
    line-height: 1.6;
}

h1, h2, h3 {
    color: var(--sea-blue);
    margin-bottom: 15px;
}

/* --- HERO BEREICH --- */
.hero {
    background-image:
        linear-gradient(to bottom right, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.1) 100%),
        radial-gradient(circle at center, rgba(255, 240, 210, 0.7) 0%, rgba(255, 240, 210, 0.2) 40%, rgba(10, 92, 135, 0.0) 75%),
        url('img/hero-bg1.png');
    
    background-blend-mode: soft-light, screen, normal;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: center; 
    justify-content: center;
    text-align: center;
    padding: 20px; 
}

.hero-content {
    max-width: 800px;
    transform: translateY(-50px);
}

.hero h1 {
    color: var(--sea-blue); 
    font-size: 3rem;
    margin-bottom: 15px; 
    text-shadow: 0 0 15px rgba(255,255,255,0.9), 0 0 30px rgba(255,255,255,0.7); 
}

.hero p {
    color: var(--text-dark); 
    font-size: 1.3rem;
    font-weight: 500;
    text-shadow: 0 0 10px rgba(255,255,255,0.9), 0 0 20px rgba(255,255,255,0.7); 
}

/* --- LAYOUT CONTAINER --- */
.container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.layout-wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.content {
    flex: 1;
}

/* --- QUICK FACTS --- */
.quick-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 40px;
    background: var(--white);
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.044);
}

.fact {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--sea-blue);
}

.fact i {
    color: var(--turquoise);
    font-size: 1.3rem;
}

/* --- EMOTIONALER TEXT --- */
.welcome-text {
    margin-bottom: 40px;
}

.welcome-text p {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* --- BILDERKARUSSELL --- */
.gallery-section {
    margin-bottom: 50px;
}

.carousel {
    margin-top: 20px;
    background: var(--white);
    border: 1px solid rgba(10, 92, 135, 0.06);
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(10, 92, 135, 0.08);
    overflow: hidden;
    outline: none;
}

.carousel:focus-visible {
    box-shadow: 0 0 0 4px rgba(64, 181, 208, 0.25), 0 12px 30px rgba(10, 92, 135, 0.08);
}

.carousel-stage {
    position: relative;
}

.carousel-viewport {
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    background: #EAF1F4;
}

.carousel-viewport::-webkit-scrollbar {
    display: none;
}

.carousel-track {
    display: flex;
}

.carousel-slide {
    position: relative;
    flex: 0 0 100%;
    aspect-ratio: 16 / 10;
    scroll-snap-align: start;
    background: var(--sand-bg);
}

.carousel-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-slide figcaption {
    position: absolute;
    left: 20px;
    bottom: 20px;
    max-width: calc(100% - 40px);
    padding: 9px 14px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--sea-blue);
    font-weight: 700;
    border-radius: 999px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: var(--sea-blue);
    cursor: pointer;
    transform: translateY(-50%);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
    transition: background 0.25s ease, transform 0.25s ease, color 0.25s ease;
}

.carousel-btn:hover,
.carousel-btn:focus-visible {
    background: var(--button-yellow);
    color: #1A252F;
    transform: translateY(-50%) scale(1.05);
    outline: none;
}

.carousel-btn-prev {
    left: 18px;
}

.carousel-btn-next {
    right: 18px;
}

.carousel-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 18px;
}

.carousel-counter {
    flex: 0 0 auto;
    color: var(--text-light);
    font-weight: 700;
}

.carousel-dots {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border: none;
    border-radius: 50%;
    background: rgba(10, 92, 135, 0.22);
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
}

.carousel-dot:hover,
.carousel-dot:focus-visible {
    background: var(--turquoise);
    outline: none;
    transform: scale(1.2);
}

.carousel-dot.is-active {
    width: 26px;
    border-radius: 999px;
    background: var(--sea-blue);
}

/* --- ZIELGRUPPEN KARTEN --- */
.target-groups .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--turquoise);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.card-icon {
    font-size: 2.2rem;
    color: var(--sea-blue);
    margin-bottom: 15px;
}

.card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.card p {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* --- SIDEBAR / BUCHUNGS-WIDGET --- */
.sidebar {
    width: 360px;
    position: sticky;
    top: 30px;
}

.booking-widget {
    background: var(--white);
    padding: 35px 30px;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(10, 92, 135, 0.08);
    border: 1px solid rgba(10, 92, 135, 0.05);
}

.price-info {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #EBF0F5;
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.price-label {
    font-size: 1rem;
    color: var(--text-light);
}

.price-value {
    font-size: 2.8rem;
    font-weight: bold;
    color: var(--sea-blue);
    line-height: 1;
}

.price-night {
    font-size: 1rem;
    color: var(--text-light);
}

.widget-details {
    margin-bottom: 30px;
}

.widget-details p {
    margin-bottom: 12px;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.widget-details i {
    color: var(--turquoise);
    font-size: 1.1rem;
}

.btn-book {
    display: block;
    width: 100%;
    padding: 16px 20px;
    background-color: var(--button-yellow);
    color: #1A252F;
    text-align: center;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
    transition: all 0.3s ease;
}

.btn-book:hover {
    background-color: var(--button-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(224, 168, 0, 0.4);
}

.no-risk-text {
    font-size: 0.8rem;
    color: var(--text-light);
    text-align: center;
    margin-top: 15px;
    line-height: 1.4;
}

/* --- TEXT SEITEN (IMPRESSUM / DATENSCHUTZ) --- */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--sea-blue);
    text-decoration: none;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 20px;
    transition: color 0.25s ease;
}

.back-link:hover {
    color: var(--turquoise);
}

.text-page {
    background: var(--white);
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border-top: 4px solid var(--turquoise);
    margin-bottom: 60px;
}

.text-page h1 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.text-page h2 {
    font-size: 1.4rem;
    color: var(--sea-blue);
    margin-top: 35px;
    margin-bottom: 15px;
}

.text-page p {
    color: var(--text-light);
    margin-bottom: 15px;
}

/* Stil für Aufzählungslisten im Datenschutz */
.text-page ul {
    margin-left: 24px;
    margin-bottom: 20px;
    color: var(--text-light);
}

.text-page ul li {
    margin-bottom: 6px;
}

.text-page a {
    color: var(--sea-blue);
    font-weight: 600;
    text-decoration: underline;
}

.text-page a:hover {
    color: var(--turquoise);
}

/* --- SITE FOOTER --- */
.site-footer {
    background-color: var(--white);
    border-top: 1px solid rgba(10, 92, 135, 0.08);
    padding: 24px 0;
    margin-top: 60px;
    font-size: 0.9rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

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

.footer-links a {
    color: var(--sea-blue);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.25s ease;
}

.footer-links a:hover {
    color: var(--turquoise);
}

.footer-note {
    color: var(--text-light);
    font-style: italic;
}

/* --- RESPONSIVE DESIGN (Handy & Tablet Optimierung) --- */

@media (max-width: 960px) {
    .layout-wrapper {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        position: static;
        margin-top: 20px;
    }

    .carousel-slide {
        aspect-ratio: 4 / 3;
    }
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 580px) {
    .hero-content {
        transform: translateY(-30px);
    }
    .hero h1 {
        font-size: 2rem; 
    }
    .hero p {
        font-size: 1rem; 
    }

    .quick-facts {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
        padding: 15px;
    }
    .fact {
        font-size: 0.9rem;
    }
    .fact i {
        font-size: 1.1rem;
    }

    .card {
        padding: 20px;
    }
    .booking-widget {
        padding: 25px 20px;
    }
    .price-value {
        font-size: 2.3rem; 
    }

    .carousel-slide {
        aspect-ratio: 1 / 1;
    }
    .carousel-btn {
        width: 38px;
        height: 38px;
    }
    .carousel-btn-prev {
        left: 10px;
    }
    .carousel-btn-next {
        right: 10px;
    }
    .carousel-slide figcaption {
        left: 12px;
        bottom: 12px;
        max-width: calc(100% - 24px);
        font-size: 0.85rem;
    }
    .carousel-footer {
        align-items: flex-start;
        flex-direction: column;
    }
    .carousel-dots {
        justify-content: flex-start;
    }

    /* Anpassung für Text-Unterseiten */
    .text-page {
        padding: 25px;
    }
    .text-page h1 {
        font-size: 2rem;
    }
}