/*
Theme Name: Küstenart Final
Author: Aleksandra Grzelka Franke
Description: Finales Theme. Fix für Navigation und Icons.
Version: 5.0
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,600;1,400&family=Pinyon+Script&display=swap');

:root {
    --bg-sand: #F5F2EB;
    --bg-white: #FFFFFF;
    --text-main: #3E4C59;
    --text-light: #7B8794;
    --accent-sage: #9FB0A4;
    --accent-coral: #E0B0A0;
    --font-body: 'Montserrat', sans-serif;
    --font-head: 'Playfair Display', serif;
    --font-script: 'Pinyon Script', cursive;
}

/* --- GRUNDLAGEN --- */
* { box-sizing: border-box; }
body {
    margin: 0; padding: 0;
    font-family: var(--font-body);
    color: var(--text-main);
    background: var(--bg-white);
    line-height: 1.6;
    padding-top: 80px; 
}

img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* --- HEADER & NAVIGATION (Fix für Bild 1) --- */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; height: 80px;
    background: rgba(255,255,255,0.98); border-bottom: 1px solid #eee; 
    z-index: 9999; display: flex; align-items: center;
}
.header-inner {
    width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 20px;
    display: flex; justify-content: space-between; align-items: center;
}

.logo a { 
    font-weight: 700; text-transform: uppercase; letter-spacing: 2px; font-size: 1.2rem; 
}

/* Damit das Menü nebeneinander steht */
.main-navigation ul {
    display: flex; list-style: none; margin: 0; padding: 0; gap: 30px;
}
.main-navigation a {
    text-transform: uppercase; font-size: 0.85rem; letter-spacing: 1px; font-weight: 600;
}
.main-navigation a:hover { color: var(--accent-coral); }

/* Mobile Burger (Standard aus) */
.menu-toggle { display: none; cursor: pointer; font-size: 1.5rem; }

/* --- ICON FIX (Gegen Bild 2 Riesen-Icons) --- */
svg { max-width: 100%; }
.detail-item svg, .icon { 
    width: 20px !important; 
    height: 20px !important; 
    min-width: 20px;
    vertical-align: middle;
}

/* --- KURS KARTEN --- */
.premium-card {
    background: white; border-radius: 10px; overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05); border: 1px solid #eee;
    display: flex; flex-direction: column; margin-bottom: 30px;
}
.card-img-box { height: 220px; background-size: cover; background-position: center; position: relative; }
.price-badge { position: absolute; bottom: 10px; right: 10px; background: var(--accent-sage); color: white; padding: 5px 10px; border-radius: 5px; font-weight: bold; font-size: 0.8rem; }
.card-body { padding: 25px; }

.details-list { margin: 15px 0; }
.detail-item { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 0.9rem; color: #666; }

/* Buttons */
.booking-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; margin-top: 20px; }
.btn-book { padding: 10px; text-align: center; font-size: 0.75rem; text-transform: uppercase; font-weight: bold; border-radius: 4px; }
.whatsapp { background: #25D366; color: white; }
.mail { background: #eee; color: #333; }
.form { background: var(--text-main); color: white; }

/* --- HERO & SECTIONS --- */
.hero-center { padding: 80px 20px; text-align: center; background: radial-gradient(circle, #fff, var(--bg-sand)); }
.script-text { font-family: var(--font-script); font-size: 3rem; color: var(--accent-coral); display: block; line-height: 1; }
.section { padding: 60px 0; }
.bg-sand { background: var(--bg-sand); }
.course-grid-premium { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }

/* --- MOBILE --- */
@media (max-width: 768px) {
    .menu-toggle { display: block; }
    .main-navigation { 
        display: none; position: absolute; top: 80px; left: 0; right: 0; background: var(--bg-sand); padding: 20px; 
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    .main-navigation.active { display: block; }
    .main-navigation ul { flex-direction: column; align-items: center; }
}
    line-height: 1.6;
    padding-top: 80px; /* Platz für Header */
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
img { max-width: 100%; height: auto; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 var(--space); }

/* --- 3. HEADER & NAV (Der Fix!) --- */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; height: 80px;
    background: rgba(255,255,255,0.95); backdrop-filter: blur(5px);
    border-bottom: 1px solid #eee; z-index: 1000;
    display: flex; align-items: center;
}
.header-container {
    width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 20px;
    display: flex; justify-content: space-between; align-items: center;
}

.logo { font-family: var(--font-body); font-weight: 700; letter-spacing: 2px; font-size: 1.2rem; text-transform: uppercase; }

/* Desktop Menu Standard */
.main-navigation ul {
    display: flex; list-style: none; margin: 0; padding: 0; gap: 30px;
}
.main-navigation a {
    text-transform: uppercase; font-size: 0.85rem; letter-spacing: 1px; font-weight: 500;
}
.main-navigation a:hover { color: var(--accent-coral); }

/* Mobile Menu Toggle (Standard versteckt) */
.menu-toggle { display: none; cursor: pointer; flex-direction: column; gap: 5px; }
.menu-toggle span { width: 25px; height: 3px; background: var(--text-main); transition: 0.3s; }

/* --- 4. SEKTIONEN --- */
.section { padding: 80px 0; }
.bg-sand { background: var(--bg-sand); }

.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.script-text { font-family: var(--font-script); font-size: 2.5rem; color: var(--accent-coral); display: block; line-height: 1; margin-bottom: 10px; }

h1 { font-family: var(--font-head); font-size: 3rem; margin: 0 0 20px 0; line-height: 1.1; }
h2 { font-family: var(--font-head); font-size: 2.2rem; margin-bottom: 30px; }

/* Buttons */
.btn-container { display: flex; gap: 15px; margin-top: 30px; }
.btn { 
    background: var(--text-main); color: white; padding: 15px 30px; 
    text-transform: uppercase; font-weight: 600; letter-spacing: 1px; border-radius: 2px; 
}
.btn-soft { background: var(--accent-coral); border-radius: 50px; }

/* --- 5. KURS CARDS (Plugin Support) --- */
.course-grid-premium { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 40px; }

.premium-card {
    background: white; border-radius: 15px; overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); border: 1px solid #eee;
    display: flex; flex-direction: column; /* Wichtig für Höhe */
}

.card-img-box { height: 220px; background-size: cover; background-position: center; position: relative; }
.price-badge { position: absolute; bottom: 15px; right: 15px; background: var(--accent-sage); color: white; padding: 5px 12px; border-radius: 5px; font-weight: bold; font-size: 0.9rem; }

.card-body { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; }
.card-body h3 { margin: 0 0 15px 0; font-size: 1.4rem; }

.booking-grid { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; padding-top: 20px;}
.btn-book { font-size: 0.75rem; text-align: center; padding: 10px 0; border-radius: 5px; text-transform: uppercase; font-weight: 600; }
.whatsapp { background: #25D366; color: white; }
.mail { background: #eee; color: #333; }
.form { background: var(--text-main); color: white; }

/* Skeleton */
.skeleton-card { height: 450px; background: #eee; border-radius: 15px; margin-bottom: 20px; animation: pulse 1.5s infinite; }
@keyframes pulse { 0% { opacity: 0.6; } 50% { opacity: 1; } 100% { opacity: 0.6; } }
.hidden-content { display: none; }

/* --- 6. FOOTER --- */
.site-footer { background: #2C3E50; color: white; padding: 60px 0; text-align: center; }
.footer-links a { margin: 0 10px; color: var(--accent-sage); font-size: 0.9rem; }

/* --- 7. MOBILE RESPONSIVE (Wichtig!) --- */
@media (max-width: 768px) {
    /* Menu Logik */
    .menu-toggle { display: flex; }
    
    .main-navigation {
        position: fixed; top: 80px; left: 0; right: 0; background: var(--bg-sand);
        height: 0; overflow: hidden; transition: 0.4s ease; border-bottom: 1px solid #ddd;
    }
    .main-navigation.toggled { height: auto; padding: 20px 0; box-shadow: 0 5px 10px rgba(0,0,0,0.1); }
    
    .main-navigation ul { flex-direction: column; align-items: center; gap: 20px; }
    .main-navigation a { font-size: 1.2rem; font-family: var(--font-head); }

    /* Layout Anpassungen */
    .hero-grid, .about-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-img-wrapper { order: -1; } /* Bild nach oben */
    .btn-container { justify-content: center; }
    h1 { font-size: 2.2rem; }
    .booking-grid { grid-template-columns: 1fr; } /* Buttons untereinander */
}