/* style.css */

/* --- DESIGN-VARIABLEN --- */
:root {
    --primary: #2E5A36; 
    --accent: #C05621;
    --dark: #1a1a1a;
    --light: #f9f9f9;
    --white: #ffffff;
    --shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* --- GLOBAL RESETS --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { 
    scroll-behavior: smooth; 
}
body { 
    font-family: 'Open Sans', sans-serif; 
    line-height: 1.7; 
    color: var(--dark); 
    background-color: var(--white);
}
h1, h2, h3 { 
    font-family: 'Montserrat', sans-serif; 
    font-weight: 700; 
    color: var(--primary); 
}
img { 
    width: 100%; 
    height: auto; 
    border-radius: 12px; 
    display: block; 
    object-fit: cover; 
}
.container { 
    max-width: 1100px; 
    margin: 0 auto; 
    padding: 0 20px; 
}

/* --- NAVIGATION --- */
header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- ZURÜCK-BUTTON FÜR UNTERSEITEN --- */
.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    transition: all 0.3s ease;
    margin-left: auto; /* Schiebt den Button nach rechts */
}

.btn-back:hover {
    background: var(--primary);
    color: white;
}

.btn-back span {
    font-size: 1.1rem;
}

/* Auf sehr kleinen Handys das Wort "Startseite" ausblenden, um Platz zu sparen */
@media (max-width: 400px) {
    .btn-back {
        padding: 6px 10px;
    }
    .btn-back {
        /* Optional: Nur den Pfeil zeigen, wenn das Logo zu groß ist */
    }
}

.logo img {
    height: 70px;    /* Hier kannst du die Höhe deines Logos anpassen */
    width: auto;     /* Die Breite wird automatisch proportional berechnet */
    display: block;  /* Verhindert unschöne Abstände unter dem Bild */
    border-radius: 0; /* Falls du global border-radius für Bilder hast, hier auf 0 setzen */
}

/* Falls das Logo auf dem Handy kleiner sein soll */
@media (max-width: 850px) {
    .logo img {
        height: 40px;
    }
}
.logo { 
    font-weight: 700; 
    font-size: 1.2rem; 
    color: var(--primary); 
    text-decoration: none; 
}
.nav-links { 
    display: flex; 
    list-style: none; 
    gap: 25px; 
}
.nav-links a { 
    text-decoration: none; 
    color: var(--dark); 
    font-weight: 600; 
    font-size: 0.95rem; 
    transition: 0.3s; 
}
.nav-links a:hover { 
    color: var(--accent); 
}
#nav-toggle { 
    display: none; 
}
.nav-icon { 
    display: none; 
    cursor: pointer; 
    font-size: 1.5rem; 
}

/* --- HERO SEKTION --- */
.hero {
    height: 85vh;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('background_1.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
}
.hero h1 { 
    color: var(--white); 
    font-size: clamp(2rem, 8vw, 3.5rem); 
    margin-bottom: 1rem; 
}
.hero p { 
    font-size: clamp(1rem, 4vw, 1.25rem); 
    max-width: 700px; 
    margin-bottom: 2rem; 
    margin-left: auto;      /* WICHTIG: Zentriert den Block selbst */
    margin-right: auto;     /* WICHTIG: Zentriert den Block selbst */
    text-align: center;     /* Zentriert die Zeilen im Block */
}

.btn {
    background: var(--accent);
    color: var(--white);
    padding: 14px 32px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: transform 0.2s, background 0.3s;
    display: inline-block;
}
.btn:hover { 
    transform: translateY(-3px); 
    background: #a84a1c; 
}

/* --- SEKTIONEN & GRIDS --- */
section { 
    padding: 80px 0; 
}
.section-title { 
    text-align: center; 
    margin-bottom: 50px; 
}
.section-title h2 { 
    font-size: 2.2rem; 
    position: relative; 
    padding-bottom: 15px; 
}
.section-title h2::after {
    content: ''; 
    width: 60px; 
    height: 3px; 
    background: var(--accent);
    position: absolute; 
    bottom: 0; 
    left: 50%; 
    transform: translateX(-50%);
}
.grid-split { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 40px; 
    align-items: center; 
}
.feature-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 30px; 
    margin-top: 40px; 
}
.feature-card { 
    background: var(--light); 
    padding: 30px; 
    border-radius: 15px; 
    transition: 0.3s; 
}
.feature-card:hover { 
    transform: translateY(-5px); 
    box-shadow: var(--shadow); 
}

/* --- SLIDER CSS --- */
.slider-wrapper { 
    position: relative; 
    max-width: 900px; 
    margin: 0 auto; 
    overflow: hidden; 
    border-radius: 15px; 
    box-shadow: var(--shadow); 
}
.slider-container { 
    display: flex; 
    overflow-x: auto; 
    scroll-snap-type: x mandatory; 
    scroll-behavior: smooth; 
    -webkit-overflow-scrolling: touch; 
}
.slider-container::-webkit-scrollbar { 
    display: none; 
}
.slider-container { 
    -ms-overflow-style: none; 
    scrollbar-width: none; 
}
.slider-item { 
    flex: 0 0 100%; 
    scroll-snap-align: start; 
    position: relative; 
}
.slider-item img { 
    width: 100%; 
    height: 500px; 
    object-fit: cover; 
    border-radius: 0; 
}
.slider-caption { 
    position: absolute; 
    bottom: 0; 
    left: 0; 
    right: 0; 
    background: rgba(0, 0, 0, 0.5); 
    color: white; 
    padding: 15px; 
    text-align: center; 
    font-weight: 600; 
}
.slider-btn { 
    position: absolute; 
    top: 50%; 
    transform: translateY(-50%); 
    background: rgba(255, 255, 255, 0.8); 
    border: none; 
    width: 45px; 
    height: 45px; 
    border-radius: 50%; 
    cursor: pointer; 
    font-size: 1.2rem; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    z-index: 10; 
}
.slider-btn:hover { 
    background: var(--white); 
    color: var(--accent); 
}
.slider-btn.prev { 
    left: 15px; 
}
.slider-btn.next { 
    right: 15px; 
}

/* --- MODERN AMENITIES GRID --- */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}
.amenity-item {
    background: #ffffff;
    border: 1px solid #eee;
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
}
.amenity-item:hover {
    background: var(--light); /* Das zarte Grau/Grün */
    border-color: var(--primary);
    transform: translateY(-5px);
}
.amenity-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 15px;
    filter: grayscale(0.2) sepia(0.2); /* Macht sie etwas dezenter */
}
.amenity-item h4 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.1rem;
}
.amenity-item p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
}

/* Mobile Optimierung */
@media (max-width: 600px) {
    .amenities-grid {
        grid-template-columns: 1fr 1fr; /* Zwei nebeneinander auf dem Handy */
    }
}

/* --- PREIS-SEKTION --- */
.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    align-items: start;
}

.price-card {
    background: var(--light);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    border: 1px solid #eee;
    transition: transform 0.3s ease;
}

.price-card.featured {
    background: var(--white);
    border: 2px solid var(--primary);
    transform: scale(1.05);
    box-shadow: var(--shadow);
}

.price-tag {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: white;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.price-header h3 { margin-bottom: 5px; }
.price-header p { font-size: 0.85rem; color: #666; margin-bottom: 20px; }

.price-value { margin-bottom: 30px; color: var(--primary); }
.price-value .amount { font-size: 3rem; font-weight: 800; }
.price-value .per-night { font-size: 1rem; color: #666; }

.price-features {
    list-style: none;
    text-align: left;
    margin-bottom: 20px;
}

.price-features li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-size: 0.9rem;
}

.price-features.extra li {
    display: flex;
    justify-content: space-between;
}

.price-info {
    margin-top: 40px;
    text-align: center;
    font-size: 0.85rem;
    color: #888;
}

/* Responsive Anpassung für die hervorgehobene Karte */
@media (max-width: 850px) {
    .price-card.featured {
        transform: scale(1);
        margin: 10px 0;
    }
}

/* --- KONTAKT & FOOTER --- */
.contact-container { 
    max-width: 700px; 
    margin: 0 auto; 
    background: var(--light); 
    padding: 40px; 
    border-radius: 15px; 
}
.form-group { 
    margin-bottom: 20px; 
}
label { 
    display: block; 
    margin-bottom: 8px; 
    font-weight: 600; 
}
input, textarea { 
    width: 100%; 
    padding: 12px; 
    border: 1px solid #ddd; 
    border-radius: 8px; 
    font-family: inherit; 
}
footer { 
    background: var(--dark); 
    color: #ccc; 
    padding: 60px 0 20px; 
}
.footer-content { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
    gap: 40px; 
    margin-bottom: 40px; 
}
footer h3 { 
    color: var(--white); 
    margin-bottom: 20px; 
}
.footer-bottom { 
    border-top: 1px solid #333; 
    padding-top: 20px; 
    text-align: center; 
    font-size: 0.8rem; 
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 850px) {
    .nav-icon { 
        display: block; 
    }
    .nav-links {
        position: absolute; 
        top: 70px; 
        left: -100%; 
        width: 100%; 
        height: auto;
        background: var(--white); 
        flex-direction: column; 
        text-align: center;
        padding: 40px 0; 
        box-shadow: 0 10px 10px rgba(0,0,0,0.1); 
        transition: 0.4s;
    }
    #nav-toggle:checked ~ .nav-links { 
        left: 0; 
    }
    .grid-split { 
        grid-template-columns: 1fr; 
    }
    .hero h1 { 
        font-size: 2.5rem; 
    }
    .slider-item img { 
        height: 300px; 
    }
    .slider-btn { 
        display: none; 
    }
}

/* --- DESTINATION CARDS --- */
.destination-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.destination-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.destination-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.dest-image {
    position: relative;
    height: 200px;
}

.dest-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0; /* Bilder schließen bündig ab */
}

.dest-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.dest-content {
    padding: 25px;
}

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

.dest-content p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 20px;
}

.dest-link {
    text-decoration: none;
    color: var(--accent);
    font-weight: 700;
    font-size: 0.9rem;
    transition: color 0.3s;
}

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

/* Anpassung für mobile Endgeräte */
@media (max-width: 480px) {
    .destination-grid {
        grid-template-columns: 1fr;
    }
}

/* --- FINALES FORMULAR DESIGN SELLIS ALM --- */

/* 1. Grundstyling für alle Eingabefelder */
input, select, textarea {
    width: 100%;
  	resize: vertical; /* Erlaubt nur vertikales Ziehen */
    padding: 14px; /* Etwas großzügigeres Padding für moderne Optik */
    border: 1px solid #ddd;
    border-radius: 10px; /* Schönere Rundungen */
    font-family: 'Open Sans', sans-serif;
    background: var(--white);
    font-size: 16px !important;
    display: block;
    transition: border-color 0.3s, box-shadow 0.3s;
}

/* Fokus-Effekt: Wenn der Gast in ein Feld klickt */
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(46, 90, 54, 0.1);
}

/* Fokus-Effekt Test: Das muss auffallen! 
input:focus {
    outline: 3px solid #2E5A36 !important;
    background-color: #fafffa !important;
} */

/* 2. Spezielles Styling für Datumsfelder */
input[type="date"] {
    min-height: 50px;
    cursor: pointer;
}

/* 3. Die Zeile für Anreise/Abreise */
.date-row {
    display: flex;
    flex-direction: column; /* Handy-Standard */
    gap: 20px;
    margin-bottom: 20px;
}

/* Desktop-Ansicht (ab 600px Breite) */
@media screen and (min-width: 600px) {
    .date-row {
        flex-direction: row !important;
        gap: 25px; /* Etwas mehr Luft zwischen den Kalendern */
    }
    
    .date-row .form-group {
        flex: 1;
        margin-bottom: 0;
    }
}

/* 4. Abstände für alle Formulargruppen */
.form-group {
    margin-bottom: 25px; /* Ein Tick mehr Abstand zwischen den Zeilen */
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--primary); /* Labels in Waldgrün für besseren Look */
}

/* 5. Spezielles Styling für den Spam-Schutz Bereich */
.captcha-box {
    background: #f0f4f0; /* Leichtes Waldgrün-Grau */
    padding: 20px;
    border-radius: 12px;
    border: 1px dashed var(--primary);
    margin: 30px 0;
}

/* 6. Absende-Button im Formular (volle Breite) */
.contact-container .btn {
    width: 100%;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    padding: 16px;
}

/* --- COOKIE BANNER --- */
.cookie-notice {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    background: #1a1a1a !important;
    color: #ffffff !important;
    padding: 20px !important;
    z-index: 999999 !important; /* Extrem hoch für Safari */
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.3);
    /* Safari Fix für "Safe Area" an der Unterseite von iPhones */
    padding-bottom: calc(20px + env(safe-area-inset-bottom)); 
}

#cookie-accept-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    flex-shrink: 0; /* Verhindert, dass der Button auf dem Handy gequetscht wird */
}

@media (max-width: 600px) {
    .cookie-notice {
        flex-direction: column;
        text-align: center;
    }
}
.cookie-notice a { color: var(--accent); text-decoration: underline; }
.cookie-notice button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    margin-left: 15px;
}

/* --- ZURÜCK UNTERSEITEN --- */
/* Auf Desktop verstecken */
.back-home-mobile {
    display: none;
    text-decoration: none;
    color: var(--primary);
    font-weight: bold;
}

/* Auf Handy anzeigen */
@media (max-width: 850px) {
    .back-home-mobile {
        display: block;
        margin-left: auto; /* Schiebt es nach rechts */
        margin-right: 20px;
        font-size: 0.9rem;
    }
    
    /* Falls das Menü-Icon stört, kannst du es auf Unterseiten ausblenden */
    .nav-icon { display: none !important; }
}

/* Spezielles Design für Listen in der Datenschutzerklärung */
.dsgvo-list {
    margin-left: 30px;      /* Hier steuerst du die Einrückung */
    margin-top: 10px;       /* Abstand zum Text oben */
    margin-bottom: 20px;    /* Abstand zum Text unten */
    list-style-type: disc;  /* Klassische Aufzählungspunkte */
}

.dsgvo-list li {
    margin-bottom: 8px;     /* Abstand zwischen den einzelnen Punkten */
    padding-left: 5px;      /* Kleiner Abstand zwischen Punkt und Text */
    line-height: 1.6;       /* Bessere Lesbarkeit */
}

/* Auf dem Handy etwas weniger einrücken, um Platz zu sparen */
@media (max-width: 600px) {
    .dsgvo-list {
        margin-left: 20px;
    }
}