/* --- BASIS EINSTELLUNGEN & VARIABLEN --- */
:root {
    --primary: #7e212a;      /* Weinrot */
    --accent: #bbd8f2;       /* Hellblau */
    --accent-bg: #eaf6ff;    /* Ganz helles Blau */
    --bg-light: #f4f7f9;     /* Sanftes, kühles Grau-Weiß für mehr Tiefe */
    --text-dark: #1f2326;    
    
    --font-head: 'DM Serif Display', serif;
    --font-body: 'Montserrat', sans-serif;
    
    /* NEU: Die Schatten sind jetzt dunkler (von 0.04 auf 0.08 erhöht), für mehr Tiefe */
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 20px 40px rgba(126, 33, 42, 0.15);
    --radius: 20px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { 
    font-family: var(--font-body); 
    background-color: var(--bg-light); 
    color: var(--text-dark); 
    line-height: 1.7; 
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 400; color: var(--primary); }

/* --- HINTERGRUND TIEFE (Dekorative Blobs) --- */
.bg-blob { position: fixed; border-radius: 50%; filter: blur(80px); z-index: -1; opacity: 0.6; animation: float 15s infinite ease-in-out alternate; }
.blob-1 { width: 400px; height: 400px; background: var(--accent-bg); top: -100px; left: -100px; }
.blob-2 { width: 500px; height: 500px; background: rgba(126, 33, 42, 0.05); bottom: -200px; right: -100px; animation-delay: -5s; }

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, 50px) scale(1.1); }
}

/* --- ANIMATIONEN (Reveal Klassen) --- */
.reveal { opacity: 0; transform: translateY(40px) scale(0.98); transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1); transition-delay: var(--delay, 0s); }
.reveal.active { opacity: 1; transform: translateY(0) scale(1); }

/* --- NAVIGATION (Glas-Effekt) --- */
.navbar { position: fixed; top: 0; width: 100%; z-index: 1000; background: rgba(244, 247, 249, 0.7); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid rgba(255,255,255,0.5); }
.nav-container { display: flex; justify-content: space-between; align-items: center; height: 80px; width: 90%; max-width: 1200px; margin: 0 auto; }
.logo { font-family: var(--font-head); font-size: 2rem; color: var(--primary); text-decoration: none; text-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.nav-menu { display: flex; list-style: none; gap: 25px; align-items: center; }
.nav-link { text-decoration: none; color: var(--text-dark); font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; transition: color 0.3s; }
.nav-link:hover { color: var(--primary); }

/* --- SPRACH-SWITCH FIX --- */
.lang-switch-btn { 
    display: flex; align-items: center; gap: 8px; padding: 6px 14px; 
    border: 1.5px solid var(--primary); border-radius: 50px; 
    text-decoration: none !important; color: var(--primary) !important; 
    background: rgba(255,255,255,0.8); transition: all 0.3s; 
}
.lang-switch-btn:hover { 
    background: var(--primary); color: white !important; 
    transform: translateY(-2px); box-shadow: 0 5px 15px rgba(126,33,42,0.2); 
}
.lang-switch-btn span { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; }
.active-lang { color: var(--primary); }
.inactive-lang { color: #888; transition: color 0.3s; }
.lang-switch-btn:hover .active-lang,
.lang-switch-btn:hover .inactive-lang { color: white !important; }
.lang-divider { width: 1px; height: 12px; background: #ccc; }

/* --- HERO SECTION (Tiefe & Parallax) --- */
.hero { position: relative; height: 100vh; width: 100%; display: flex; align-items: center; justify-content: flex-start; padding: 0 10%; overflow: hidden; }
.hero-parallax-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 120%;
    background-color: var(--accent-bg);
    background-image: url('Aquarell_v2.png');
    background-size: min(70vw);
    background-position: right 5% bottom 10%;
    background-repeat: no-repeat;
    z-index: 0; will-change: transform;
}
.hero-content { position: relative; z-index: 2; max-width: 600px; perspective: 1000px; }
.glass-panel {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
    padding: 50px; border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.9);
    box-shadow: var(--shadow-soft);
    transform: translateZ(20px);
}
.monogram-big { font-size: 4.5rem; line-height: 1; margin-bottom: 10px; color: var(--primary); }
.glass-panel h1 { font-size: 3.8rem; margin-bottom: 10px; line-height: 1.1; }
.subtitle { font-size: 1.2rem; margin-bottom: 20px; color: #555; font-weight: 300; }
.date { font-size: 1.3rem; font-weight: 700; margin-bottom: 35px; letter-spacing: 2px; color: var(--primary); }

/* --- BUTTONS --- */
.btn-primary, .btn-outline {
    display: inline-block; padding: 14px 32px; text-decoration: none; border-radius: 50px;
    font-weight: 700; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); cursor: pointer; border: none;
}
.btn-primary { background: linear-gradient(135deg, var(--primary), #5c181f); color: white; box-shadow: 0 8px 20px rgba(126, 33, 42, 0.25); }
.btn-primary:hover { transform: translateY(-4px) scale(1.03); box-shadow: 0 12px 25px rgba(126, 33, 42, 0.4); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: white; transform: translateY(-3px); }
.btn-text { color: var(--primary); text-decoration: none; font-weight: 700; font-size: 0.9rem; position: relative; }
.btn-text::after { content: ''; position: absolute; width: 100%; transform: scaleX(0); height: 2px; bottom: -2px; left: 0; background-color: var(--primary); transform-origin: bottom right; transition: transform 0.3s ease-out; }
.btn-text:hover::after { transform: scaleX(1); transform-origin: bottom left; }
.full-width { width: 100%; }

/* --- LAYOUT UTILITIES --- */
.container { width: 90%; max-width: 1100px; margin: 0 auto; }
.section-padding { padding: 120px 0; position: relative; z-index: 2; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-title { font-size: 3.5rem; margin-bottom: 15px; position: relative; display: inline-block; }
.section-intro { max-width: 600px; margin: 0 auto; font-size: 1.1rem; color: #666; font-weight: 300; }

/* --- SEKTIONEN ABGRENZUNG (Zebra-Effekt) --- */
.bg-white-alt {
    background-color: #ffffff;
    box-shadow: 0 -15px 40px rgba(0,0,0,0.02), 0 15px 40px rgba(0,0,0,0.02);
    position: relative;
    z-index: 5;
}

/* --- MODERNE KARTEN (Cards) --- */
.modern-card {
    /* Fast komplett deckendes Weiß für maximalen Kontrast zum Hintergrund */
    background: rgba(255, 255, 255, 0.98); 
    backdrop-filter: blur(10px);
    
    /* Ein hauchzarter grauer Rahmen für eine scharfe Kante */
    border: 1px solid rgba(0, 0, 0, 0.06); 
    border-radius: var(--radius);
    padding: 35px; 
    box-shadow: var(--shadow-soft);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modern-card:hover { 
    transform: translateY(-8px) scale(1.01); 
    box-shadow: var(--shadow-hover); 
    /* Beim Darüberfahren wird der Rand ganz leicht weinrot */
    border-color: rgba(126, 33, 42, 0.2); 
}

/* --- NEWS --- */
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.badge { display: inline-block; background: var(--accent-bg); color: var(--primary); padding: 5px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 15px; }

/* --- TIMELINE (Modern 3D) --- */
.modern-timeline { position: relative; max-width: 900px; margin: 0 auto; padding: 20px 0; }
.modern-timeline::after { content: ''; position: absolute; width: 4px; background: linear-gradient(to bottom, transparent, var(--accent), var(--primary), transparent); top: 0; bottom: 0; left: 50%; transform: translateX(-50%); border-radius: 4px; }
.timeline-item { width: 50%; padding: 20px 40px; position: relative; z-index: 2; }
.timeline-item.left { left: 0; }
.timeline-item.right { left: 50%; }
.timeline-dot { position: absolute; width: 24px; height: 24px; background: white; border: 4px solid var(--primary); border-radius: 50%; top: 40px; box-shadow: 0 0 0 6px rgba(126, 33, 42, 0.1); z-index: 3; transition: all 0.3s; }
.timeline-item.left .timeline-dot { right: -12px; }
.timeline-item.right .timeline-dot { left: -12px; }
.timeline-item:hover .timeline-dot { transform: scale(1.3); background: var(--primary); box-shadow: 0 0 15px rgba(126, 33, 42, 0.5); }
.time-accent { font-size: 2rem; color: var(--primary); margin-bottom: 5px; }

/* --- RSVP FORMULAR (Kontrast-Update) --- */
.glass-form-container { background: rgba(255,255,255,0.7); backdrop-filter: blur(20px); border: 1px solid white; border-radius: 30px; padding: 60px; max-width: 800px; margin: 0 auto; box-shadow: var(--shadow-soft); }
.form-group { margin-bottom: 25px; }
.form-row { display: flex; gap: 25px; }
.form-group.half { flex: 1; }
label { display: block; margin-bottom: 10px; font-weight: 600; font-size: 0.9rem; color: var(--primary); }

/* NEU: Mehr Kontrast für die Eingabefelder */
input, select, textarea { 
    width: 100%; 
    padding: 15px 20px; 
    border: 1px solid rgba(0, 0, 0, 0.15); /* Zarter, aber sichtbarer Rahmen */
    border-radius: 12px; 
    font-family: var(--font-body); 
    font-size: 1rem; 
    background: #ffffff; /* Strahlendes, undurchsichtiges Weiß */
    color: var(--text-dark);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.04); /* Ganz leichte innere Tiefe */
    transition: all 0.3s ease; 
}

/* Dunklere Platzhaltertexte für bessere Lesbarkeit */
input::placeholder, textarea::placeholder {
    color: #777; 
}

/* Effekt beim Reinklicken (Fokus) */
input:focus, select:focus, textarea:focus { 
    outline: none; 
    border-color: var(--primary); /* Rahmen wird Weinrot */
    background: #ffffff; 
    box-shadow: 0 0 0 4px rgba(126, 33, 42, 0.1); /* Sanftes rötliches Leuchten um das Feld */
    transform: translateY(-2px); 
}

/* --- ANFAHRT --- */
/* align-items: stretch zwingt beide Spalten auf exakt dieselbe Höhe */
.location-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 40px; 
    align-items: stretch; 
}

/* Der Container für den gesamten Info-Block */
.info-block { 
    margin: 25px 0; 
    display: block; 
}

/* Die Überschrift (z.B. Parken) richtet sich mittig neben dem Emoji aus */
.info-block h4 { 
    display: flex; 
    align-items: center; 
    gap: 15px; /* Abstand zwischen Emoji-Box und Text */
    margin-bottom: 10px; /* Abstand zum erklärenden Text darunter */
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary);
}

/* Die Emoji-Box wird zu einem perfekten, kleinen Quadrat */
.icon-wrap { 
    display: inline-flex; 
    align-items: center; 
    justify-content: center;
    width: 45px; 
    height: 45px; 
    background: var(--accent-bg); 
    border-radius: 12px; 
    font-size: 1.4rem; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.05); /* Leichter 3D-Schatten */
}

/* Die Map-Kachel passt sich jetzt automatisch an */
.map-container { 
    padding: 10px; 
    height: auto; /* Keine feste Höhe mehr */
    min-height: 350px; /* Nur fürs Handy, damit die Karte dort nicht zu klein wird */
    display: flex; /* Flexbox erlaubt es dem iframe, den Platz zu füllen */
    flex-direction: column;
}

/* Das iframe (die Google Map) füllt jetzt den gesamten Raum der Kachel */
.map-container iframe { 
    flex: 1; 
    width: 100%; 
    height: 100%;
    border-radius: calc(var(--radius) - 5px); 
}

/* --- HOTELS --- */
.hotel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 25px; }
.hotel-card { display: flex; flex-direction: column; justify-content: space-between; }
.h-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 15px 0; font-size: 0.8rem; color: #666; }
.h-tags span { background: rgba(0,0,0,0.03); padding: 5px 10px; border-radius: 8px; }
.h-action { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 15px; border-top: 1px solid rgba(0,0,0,0.05); }
.price { font-size: 1.2rem; font-weight: 700; color: var(--primary); }

/* --- KONTAKT --- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; text-align: center; }
.contact-card { padding: 40px 20px; }
.img-wrapper { width: 130px; height: 130px; margin: 0 auto 20px auto; border-radius: 50%; padding: 5px; background: linear-gradient(135deg, var(--accent), var(--primary)); box-shadow: 0 10px 20px rgba(0,0,0,0.1); transition: transform 0.3s; }
.contact-card:hover .img-wrapper { transform: scale(1.05) rotate(5deg); }
.img-wrapper img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 3px solid white; }
.role { color: #888; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 15px; }
.contact-link { display: block; padding: 8px; color: var(--text-dark); text-decoration: none; border-radius: 8px; transition: all 0.2s; }
.contact-link:hover { background: var(--accent-bg); color: var(--primary); }

/* --- MODAL (POP-UP FÜR RSVP) --- */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(31, 35, 38, 0.5); 
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    display: flex; justify-content: center; align-items: center;
    z-index: 2000; opacity: 0; pointer-events: none;
    transition: opacity 0.4s ease;
    padding: 20px;
}
.modal-overlay.active { 
    opacity: 1; pointer-events: all; 
}
.modal-content {
    background: rgba(255, 255, 255, 0.95);
    max-width: 550px; width: 100%; text-align: center;
    padding: 40px 30px;
    border: 1px solid rgba(255,255,255,0.9);
    border-radius: var(--radius);
    box-shadow: 0 25px 50px rgba(126, 33, 42, 0.15);
    transform: translateY(30px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.modal-overlay.active .modal-content { 
    transform: translateY(0) scale(1); 
}
.info-box {
    background: var(--accent-bg);
    border-radius: 12px; padding: 20px;
    text-align: left; margin: 25px 0;
    border: 1px solid var(--accent);
}
.info-box h4 { font-family: var(--font-body); font-weight: 700; font-size: 1rem; margin-bottom: 10px; display: flex; align-items: center; gap: 8px;}
.info-box p { font-size: 0.9rem; color: #444; margin-bottom: 10px; }
.info-box p:last-child { margin-bottom: 0; }

/* --- FEATURED HOTEL & ALTERNATIVEN --- */
.featured-hotel {
    max-width: 650px;
    margin: 0 auto 50px auto;
}
.featured-card {
    border: 2px solid var(--primary);
    background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(234, 246, 255, 0.6));
    transform: scale(1.02);
}
.featured-card:hover {
    transform: scale(1.04) translateY(-5px);
    border-color: var(--primary);
}

.hidden-hotels {
    display: none !important;
}
.hidden-hotels.show {
    display: grid !important;
    animation: fadeInDown 0.6s ease forwards;
}

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

/* --- 7-TAGE WETTER WIDGET (Perfektes Spalten-Layout) --- */
.weather-card-wide {
    grid-column: 1 / -1; 
}

/* NEU: Gitter-Layout zwingt die 7 Tage in Spalten nebeneinander */
.forecast-container {
    display: grid;
    grid-template-columns: repeat(7, 1fr); /* Exakt 7 Spalten */
    gap: 12px;
    margin-top: 20px;
}

/* Einzelne Tages-Kärtchen */
.forecast-day {
    background: rgba(234, 246, 255, 0.4);
    border: 1px solid rgba(187, 216, 242, 0.6);
    border-radius: 12px;
    padding: 12px 5px; /* Etwas kompakter an den Seiten */
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.forecast-day:hover {
    transform: translateY(-3px);
    background: rgba(234, 246, 255, 0.9);
    border-color: var(--primary);
    box-shadow: 0 10px 20px rgba(126, 33, 42, 0.08);
}

.f-date { font-family: var(--font-body); font-weight: 700; color: var(--primary); font-size: 0.85rem; margin-bottom: 5px; }
.f-icon { font-size: 2rem; margin: 5px 0; filter: drop-shadow(0 3px 5px rgba(0,0,0,0.1)); line-height: 1; }
.f-temps { font-size: 0.9rem; font-weight: 700; color: var(--text-dark); }
.f-temps span { color: #888; font-weight: 400; font-size: 0.75rem; margin-left: 2px; }

/* Der kleine Pfeil */
.f-expand-icon {
    font-size: 0.6rem;
    color: var(--primary);
    margin-top: 8px;
    transition: transform 0.3s ease;
    opacity: 0.6;
}
.forecast-day:hover .f-expand-icon { opacity: 1; }
.forecast-day.expanded .f-expand-icon { transform: rotate(180deg); }

/* --- DIE VERSTECKTEN DETAILS --- */
.forecast-details {
    max-height: 0;
    opacity: 0;
    overflow: hidden; /* Schneidet Überstehendes sauber ab */
    transition: all 0.4s ease;
    margin-top: 0;
    border-top: 1px solid transparent; 
    padding-top: 0;
}

/* Wenn das Kärtchen aufgeklappt ist */
.forecast-day.expanded .forecast-details {
    max-height: 200px; 
    opacity: 1;
    margin-top: 10px;
    padding-top: 10px;
    border-top-color: rgba(187, 216, 242, 0.8); 
}

/* Details übereinander stapeln, damit sie perfekt in die schmale Spalte passen */
.f-detail {
    font-size: 0.7rem;
    margin-bottom: 8px;
    color: #555;
    display: flex;
    flex-direction: column; /* Text und Zahl übereinander */
    align-items: center;
    line-height: 1.3;
}
.f-detail:last-child { margin-bottom: 0; }
.f-detail strong { color: var(--text-dark); font-weight: 700; font-size: 0.8rem; }

/* --- MOBILE ANPASSUNG FÜR WETTER --- */
/* Auf Tablets: 4 Spalten */
@media (max-width: 992px) {
    .forecast-container { grid-template-columns: repeat(4, 1fr); }
}
/* Auf Handys: 2 Spalten */
@media (max-width: 768px) {
    .forecast-container { grid-template-columns: repeat(2, 1fr); }
}

/* --- FOOTER --- */
footer { background: var(--primary); color: white; text-align: center; padding: 50px 20px; font-weight: 300; position: relative; z-index: 2; }

/* --- MOBILE --- */
.menu-toggle { display: none; flex-direction: column; gap: 6px; cursor: pointer; }
.bar { width: 30px; height: 3px; background: var(--primary); border-radius: 3px; }

@media (max-width: 992px) {
    .modern-timeline::after { left: 30px; }
    .timeline-item { width: 100%; padding-left: 70px; padding-right: 0; }
    .timeline-item.left, .timeline-item.right { left: 0; }
    .timeline-item.left .timeline-dot, .timeline-item.right .timeline-dot { left: 18px; }
    .location-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .hero { justify-content: center; text-align: center; padding: 0 5%; }
    .hero-parallax-bg { background-position: center bottom; background-size: cover; }
    .nav-menu { position: absolute; top: 80px; left: -100%; width: 100%; background: rgba(255,255,255,0.98); flex-direction: column; padding: 40px 0; transition: 0.4s; border-bottom: 1px solid #ddd; }
    .nav-menu.active { left: 0; }
    .menu-toggle { display: flex; }
    .form-row { flex-direction: column; gap: 0; }
    .glass-form-container { padding: 30px 20px; }
}