/* style.css - Version 2.3 (No Underline Update) */

/* =========================================
   1. VARIABLEN & FARBSCHEMA (CI)
   ========================================= */
:root {
    --c-bordeaux: #9F3A4F;       /* Hauptfarbe (Überschriften, Links) */
    --c-pink:     #F63F5F;       /* Hover Farbe */
    --c-orange:   #F86B40;       /* Call-to-Action (Buttons) */
    --c-yellow:   #FAAE00;       /* Akzente */
    --c-light-bg: #fdf2f4;       /* Hintergrund Boxen (Hellrosa) */
    --c-warm-bg:  #fff5ee;       /* Hintergrund Filter (Muschelweiß) */
    --c-text:     #333333;       /* Standard Text */
    --c-grey:     #666666;       /* Sekundär Text */
    --c-border:   #eeeeee;       /* Rahmen */
}

/* =========================================
   2. BASIS LAYOUT & TYPOGRAFIE
   ========================================= */
body { 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; 
    margin: 0; 
    padding: 0; 
    background: #f8f9fa; 
    color: var(--c-text); 
    display: flex; 
    flex-direction: column; 
    min-height: 100vh; 
}

main { 
    flex: 1; 
    width: 100%; 
    max-width: 1100px; 
    margin: 0 auto; 
    padding: 30px 20px; 
    box-sizing: border-box; 
}

/* Überschriften */
h1, h2, h3, h4 { margin-top: 0; line-height: 1.3; }

h1 { 
    margin-bottom: 25px; 
    color: #333; 
    text-align: center; 
}

/* Spezifische H1 Ausrichtung für Location-Seite */
.hero-title h1, .loc-h1 { text-align: left; margin: 0; color: white; text-shadow: 0 2px 4px rgba(0,0,0,0.3); }

h2, h3 { color: var(--c-bordeaux); }

p { line-height: 1.6; margin-bottom: 20px; color: var(--c-grey); }

/* Globale Link-Styles */
a { 
    color: var(--c-bordeaux); 
    text-decoration: none; 
    transition: color 0.2s; 
}
a:hover { 
    color: var(--c-pink); 
    text-decoration: none; /* HIER GEÄNDERT: Keine Unterstreichung mehr */
}

/* =========================================
   3. HEADER & NAVIGATION
   ========================================= */
header { 
    background: white; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.05); 
    position: sticky; top: 0; z-index: 1000; 
    width: 100%;
}

.nav-container { 
    width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 20px; 
    box-sizing: border-box; display: flex; justify-content: space-between; 
    align-items: center; height: 90px; position: relative;
}

.logo-link { display: flex; align-items: center; text-decoration: none; z-index: 1001; }
/* Logo Link soll keine Unterstreichung haben */
.logo-link:hover { text-decoration: none; }
.logo-img { height: 50px; width: auto; display: block; }

.nav-links { display: flex; gap: 20px; align-items:center; }
.nav-links a { color: #555; font-weight: 500; font-size: 0.95rem; text-decoration: none; }
.nav-links a:hover { color: var(--c-bordeaux); text-decoration: none; }
.logout-btn { color: #e74c3c !important; }

/* Hamburger Menü (Mobile) */
.hamburger { display: none; flex-direction: column; cursor: pointer; gap: 5px; padding: 10px; z-index: 1002; }
.hamburger span { width: 25px; height: 3px; background-color: #333; border-radius: 2px; transition: all 0.3s ease; }

@media (max-width: 768px) {
    .hamburger { display: flex; }
    .nav-links {
        display: none; position: absolute; top: 90px; left: 0; width: 100%;
        background: white; flex-direction: column; align-items: center;
        padding: 20px 0; box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        gap: 25px; border-top: 1px solid var(--c-border);
    }
    .nav-links.active { display: flex; animation: slideDown 0.3s ease forwards; }
    .nav-links a { font-size: 1.1rem; padding: 10px; display: block; width: 100%; text-align: center; }
    
    .hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}
@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

/* =========================================
   4. UI ELEMENTE (Buttons, Inputs)
   ========================================= */
/* Standard Button Styles - Hier .btn-cal ergänzt */
.btn, .book-btn, .filter-btn, .btn-send, .btn-cal { 
    display: inline-flex; 
    align-items: center; 
    justify-content: center;
    padding: 12px 25px; 
    border-radius: 6px; 
    text-decoration: none; 
    border: none; 
    cursor: pointer; 
    font-size: 1rem; 
    font-weight: bold;
    transition: background 0.2s, transform 0.1s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    color: white;
    background: var(--c-orange); 
}

/* Hover Effekte */
.btn:hover, .book-btn:hover, .filter-btn:hover, .btn-send:hover, .btn-cal:hover { 
    background: var(--c-pink); 
    transform: translateY(-1px);
    text-decoration: none;
    color: white;
}

/* Spezifisch für Kontaktformular: Volle Breite */
.btn-send {
    width: 100%;
    margin-top: 10px;
}

/* Grauer Button (z.B. Zurück, Abbrechen) */
.btn-gray { background: #eee; color: #555; box-shadow: none; }
.btn-gray:hover { background: #e2e2e2; color: #333; }

/* Inputs */
input[type="text"], input[type="email"], input[type="date"], input[type="time"], input[type="number"], 
input[type="tel"], select, textarea, .date-range-input { 
    width: 100%; 
    padding: 12px; 
    margin: 0 0 15px 0; 
    border: 1px solid #ccc; 
    border-radius: 6px; 
    box-sizing: border-box; 
    font-family: inherit; 
    font-size: 1rem;
    background: white;
}

input:focus, select:focus, textarea:focus, .date-range-input:focus { 
    border-color: var(--c-bordeaux); 
    outline: none; 
    box-shadow: 0 0 0 3px rgba(159, 58, 79, 0.1); 
}

label { display: block; font-weight: bold; margin-bottom: 8px; color: var(--c-bordeaux); font-size: 0.95rem; }


/* =========================================
   5. STARTSEITE (Index) & FILTER
   ========================================= */
.beta-notice {
    max-width: 600px; margin: 0 auto 40px auto; padding: 15px;
    background-color: var(--c-light-bg); color: var(--c-bordeaux);
    border: 1px solid #eccdd4; border-radius: 8px; text-align: center;
}

.filter-box {
    background-color: #ffffff; padding: 40px; border-radius: 12px; margin-bottom: 40px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); border: 1px solid var(--c-border); text-align: center;
}

.filter-form { 
    display: flex; flex-direction: column; align-items: center; gap: 20px; 
    max-width: 450px; margin: 0 auto; 
}
.filter-group, .filter-group-btn { width: 100%; text-align: left; }
.filter-group-btn { text-align: center; }

/* Spezifische Input Höhen im Filter */
.date-range-input, .filter-select { height: 52px; line-height: 50px; padding: 0 14px; margin: 0; }
.filter-btn { width: 100%; height: 52px; padding: 0; margin: 0; }

/* Reset Link - KEINE UNTERSTREICHUNG */
.reset-link { 
    color: #999; 
    text-decoration: none !important; 
    display: inline-block; 
    margin-top: 15px; 
    font-size: 0.9rem; 
}
.reset-link:hover { 
    color: var(--c-bordeaux); 
    text-decoration: none !important; 
}

/* Icons in Inputs */
.date-range-input {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%239F3A4F" viewBox="0 0 16 16"><path d="M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM1 4v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4H1z"/></svg>');
    background-repeat: no-repeat; background-position: right 15px center; cursor: pointer;
}
.filter-select {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%239F3A4F" viewBox="0 0 16 16"><path d="M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z"/></svg>');
    background-repeat: no-repeat; background-position: right 15px center; padding-right: 40px; appearance: none; cursor: pointer;
}

/* =========================================
   6. GRID & CARDS (Startseite & Location)
   ========================================= */
.grid, .locations-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); 
    gap: 30px; 
    margin-bottom: 60px; 
}

.card, .loc-card { 
    background: white; 
    border-radius: 12px; 
    overflow: hidden; 
    box-shadow: 0 4px 12px rgba(0,0,0,0.05); 
    transition: transform 0.2s, box-shadow 0.2s; 
    height: 100%; 
    display: flex; flex-direction: column; 
    border: 1px solid var(--c-border); 
    text-decoration: none;
    color: inherit;
}

.card-link, .loc-card { 
    text-decoration: none; 
    color: inherit; 
    height: 100%; 
    display: block; 
}

/* Hover Effekte ohne Unterstreichung */
.card-link:hover .card, .loc-card:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 10px 20px rgba(0,0,0,0.1); 
    border-color: var(--c-light-bg); 
    text-decoration: none !important;
}

.card-link:hover h2, .card-link:hover p,
.loc-card:hover h2, .loc-card:hover p {
    text-decoration: none !important;
}

.img-wrap, .loc-img-wrapper { 
    width: 100%; height: 200px; overflow: hidden; background: #f9f9f9; position: relative; 
}
.img-wrap img, .loc-img, .loc-img-wrapper img { 
    width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; 
}
.card-link:hover .img-wrap img, .loc-card:hover .loc-img, .loc-card:hover img { 
    transform: scale(1.05); 
}

.content, .loc-content { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between; }
.country-label { text-transform: uppercase; font-size: 0.75rem; color: #999; letter-spacing: 1px; margin-bottom: 4px; font-weight: 600; }
.content h2, .loc-title { margin-top: 0; margin-bottom: 10px; font-size: 1.4rem; color: var(--c-bordeaux); }

.content p, .loc-desc { 
    color: var(--c-grey); line-height: 1.5; margin-bottom: 20px; font-size: 0.95rem; flex-grow: 1; 
}

.cta, .btn-link { 
    color: var(--c-pink); font-weight: bold; font-size: 0.9rem; 
    text-transform: uppercase; letter-spacing: 0.5px; margin-top: auto; 
    align-self: flex-start;
}
.card-link:hover .cta, .loc-card:hover .btn-link { 
    text-decoration: none; 
    color: var(--c-bordeaux); 
}

.empty-state { text-align: center; padding: 60px 20px; color: #666; background: white; border-radius: 12px; box-shadow: 0 2px 10px rgba(0,0,0,0.03); border: 1px solid var(--c-border); }

/* =========================================
   7. LOCATION DETAIL & EVENT DETAIL
   ========================================= */
.back-link { display: inline-flex; align-items: center; text-decoration: none; color: #666; font-weight: 600; padding: 10px 0; margin-bottom: 20px; }
.back-link:hover { color: var(--c-bordeaux); text-decoration: none; }

.hero { 
    width: 100%; height: 450px; 
    border-radius: 12px; overflow: hidden; position: relative; 
    margin-bottom: 30px; background: #eee; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); 
}
.hero img { width: 100%; height: 100%; object-fit: cover; object-position: center center; }
.hero-title { 
    position: absolute; bottom: 0; left: 0; width: 100%; 
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); 
    color: white; padding: 30px; box-sizing: border-box; 
}
.hero-title h1 { margin: 0; font-size: 2.2rem; text-shadow: 0 2px 4px rgba(0,0,0,0.3); color: white; text-align: left; }

.loc-description { margin-bottom: 40px; line-height: 1.7; font-size: 1.05rem; color: #555; max-width: 900px; }

/* Filter Badge */
.section-title { border-bottom: 2px solid var(--c-light-bg); padding-bottom: 15px; margin-bottom: 25px; color: #333; display: flex; align-items: center; flex-wrap: wrap; gap: 15px; }
.filter-badge { display: inline-flex; align-items: center; background: var(--c-light-bg); color: var(--c-bordeaux); padding: 6px 15px; border-radius: 50px; font-size: 0.9rem; font-weight: 600; border: 1px solid #eccdd4; }
.filter-remove { color: var(--c-bordeaux); text-decoration: none; margin-left: 10px; font-weight: bold; cursor: pointer; font-size: 1.1rem; line-height: 1; }
.filter-remove:hover { color: var(--c-pink); text-decoration: none; }

/* Event Liste Horizontal (Location Page) */
.event-card { display: flex; background: white; border: 1px solid var(--c-border); margin-bottom: 25px; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,0.03); transition: transform 0.2s; }
.event-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.08); border-color: var(--c-light-bg); }
.event-img { width: 250px; object-fit: cover; min-height: 200px; }
.event-content { padding: 25px; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.event-content h3 { margin: 0 0 10px 0; font-size: 1.4rem; color: #333; }
.event-content .price { color: var(--c-bordeaux); font-weight: 700; font-size: 1.3rem; margin-bottom: 15px; }
.event-content .btn { align-self: flex-start; }

/* Event Details (Event Page) */
.price-big { color: var(--c-bordeaux); font-size: 1.6rem; font-weight: 700; margin-bottom: 20px; }
.desc { line-height: 1.6; margin-bottom: 40px; color: #555; max-width: 800px; }

/* Slots (Termine) */
.slots-container { background: white; padding: 30px; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); border: 1px solid var(--c-border); }
.slots-container h3 { color: var(--c-bordeaux); border-bottom: 2px solid var(--c-light-bg); padding-bottom: 15px; margin-bottom: 25px; }

.slot-item { background: #fff; padding: 20px; border: 1px solid var(--c-border); border-radius: 8px; margin-bottom: 15px; display: flex; justify-content: space-between; align-items: center; gap: 20px; transition: transform 0.2s; }
.slot-item:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0,0,0,0.05); border-color: var(--c-light-bg); }

.coach-trigger { display: flex; align-items: center; gap: 15px; cursor: pointer; }
.coach-thumb { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.seats-badge { background: #d4edda; color: #155724; font-size: 0.75rem; padding: 3px 8px; border-radius: 4px; border: 1px solid #c3e6cb; margin-left: 8px; vertical-align: middle; }

/* =========================================
   9. TEXTSEITEN (About, Kontakt, Rechtliches)
   ========================================= */
.legal-content, .about-content, .content-box { 
    background: white; padding: 40px; border-radius: 12px; 
    box-shadow: 0 4px 12px rgba(0,0,0,0.05); 
    width: 100%; box-sizing: border-box; margin: 0 auto;
    color: var(--c-text); /* Standard Textfarbe */
    line-height: 1.7; /* Etwas mehr Zeilenabstand */
}

/* Spezifische Überschriften auf Textseiten */
.legal-content h1, .about-content h1, .content-box h1 { 
    text-align: left; 
    border-bottom: 1px solid var(--c-border); 
    padding-bottom: 20px; 
    margin-bottom: 30px;
    color: var(--c-bordeaux); 
}

.legal-content h2, .about-content h2, .content-box h2 { 
    margin-top: 35px; 
    font-size: 1.3rem; 
    border-bottom: 2px solid var(--c-light-bg); 
    padding-bottom: 5px; 
    display: inline-block; 
    color: var(--c-bordeaux); 
}

.legal-content h3, .about-content h3, .content-box h3 { 
    font-size: 1.1rem; 
    font-weight: bold; 
    margin-top: 25px; 
    color: #444; 
}

/* Allgemeine Paragraphen auf Textseiten */
.legal-content p, .about-content p, .content-box p { 
    margin-bottom: 20px; 
    text-align: justify; 
    font-size: 1.05rem; 
    color: var(--c-grey); 
}

/* Hervorhebungen im Text (strong) */
.about-content strong, .legal-content strong {
    color: var(--c-bordeaux);
}

/* ABOUT.PHP SPEZIFISCH */
.about-hero { 
    width: 100%; height: 300px; object-fit: cover; 
    border-radius: 8px; margin-bottom: 30px; display: block;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.team-note { 
    margin-top: 40px; padding-top: 20px; 
    border-top: 2px solid var(--c-light-bg); 
    font-style: italic; color: var(--c-grey); text-align: center;
}

/* KONTAKT.PHP SPEZIFISCH */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: stretch; }
.coach-box { background: var(--c-light-bg); border: 1px solid #eccdd4; text-align: center; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.coach-badge { background: var(--c-bordeaux); color: white; padding: 6px 12px; border-radius: 4px; font-size: 0.85rem; font-weight: bold; text-transform: uppercase; margin-bottom: 20px; }
.btn-cal { margin-top: 20px; }

/* =========================================
   10. MODALS (POPUPS)
   ========================================= */
.modal { 
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; 
    background: rgba(0,0,0,0.6); z-index: 2000; 
    backdrop-filter: blur(3px); 
    overflow-y: auto; justify-content: center; align-items: start; 
}
.modal-content { 
    background: white; margin: 5vh auto; padding: 35px; 
    width: 90%; max-width: 500px; border-radius: 12px; 
    box-shadow: 0 10px 40px rgba(0,0,0,0.2); position: relative; 
}
.close-x { position: absolute; top: 20px; right: 25px; font-size: 1.8rem; cursor: pointer; color: #aaa; line-height: 1; }
.close-x:hover { color: var(--c-bordeaux); }

.guest-row { margin-bottom: 10px; padding: 15px; background: var(--c-light-bg); border-left: 4px solid var(--c-bordeaux); border-radius: 0 4px 4px 0; }
.coach-big-img { width: 130px; height: 130px; border-radius: 50%; object-fit: cover; border: 4px solid white; box-shadow: 0 5px 15px rgba(0,0,0,0.1); margin: 0 auto 20px auto; display: block; }

/* =========================================
   11. FOOTER
   ========================================= */
footer { background: #333; padding: 30px 20px; margin-top: auto; text-align: center; color: #ffffff !important; font-size: 0.9rem; }
.footer-container { max-width: 1100px; margin: 0 auto; width: 100%; box-sizing: border-box; }
footer p { margin: 0 0 10px 0; color: #bbb !important; }
.footer-links { margin-top: 15px; }
footer a { color: #ffffff !important; text-decoration: none; font-weight: 500; transition: color 0.2s; }
footer a:hover { color: var(--c-orange) !important; text-decoration: none; }
.sep { margin: 0 12px; color: #666 !important; }

/* =========================================
   12. RESPONSIVE
   ========================================= */
/* Tablet & Mobile (Kleiner als 800px) */
@media (max-width: 800px) {
    .filter-form { flex-direction: column; align-items: stretch; }
    .filter-group, .filter-group-btn { width: 100%; min-width: 0; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero { height: 300px; }
    .hero-title h1 { font-size: 1.8rem; }
    .section-title { flex-direction: column; align-items: flex-start; gap: 10px; }
    .legal-content, .about-content, .content-box { padding: 25px; }
}

/* Nur Handys (Kleiner als 600px) */
@media (max-width: 600px) {
    .hero { height: 250px; }
    .hero-title h1 { font-size: 1.5rem; }
    .event-card { flex-direction: column; text-align: center; }
    .event-img { width: 100%; height: 200px; }
    .event-content .btn, .book-btn { width: 100%; text-align: center; box-sizing: border-box; }
    .slot-item { flex-direction: column; text-align: center; }
}

/* =========================================
   13. AUTH PAGES (Login, Passwort) & ALERTS
   ========================================= */
.auth-wrapper { display: flex; justify-content: center; align-items: center; min-height: 80vh; padding: 20px; }
.auth-box { background: white; padding: 40px; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); width: 100%; max-width: 350px; }

.alert { padding: 12px; border-radius: 6px; margin-bottom: 20px; font-size: 0.95rem; text-align: center; }
.alert-error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-warning { background: #fff3cd; color: #856404; border: 1px solid #ffeeba; }

/* Login-Formular: Alle Input-Felder exakt gleiche Höhe */
.auth-box input[type="email"],
.auth-box input[type="password"] {
    height: 52px !important;
    line-height: 50px !important;
    padding: 0 14px !important;
    margin: 0 0 15px 0 !important;
}

.auth-box {
    max-width: 420px !important; /* Breiter für bessere Optik */
    width: 100%;
}

.auth-box input[type="email"],
.auth-box input[type="password"],
.auth-box button.btn {
    width: 100% !important;
    box-sizing: border-box !important;
}

/* =========================================
   14. SPAMSCHUTZ (Honeypot)
   ========================================= */
.hp-field { opacity: 0; position: absolute; top: 0; left: 0; height: 0; width: 0; z-index: -1; overflow: hidden; }

/* =========================================
   15. PASSWORT STÄRKE (Strength Meter)
   ========================================= */
.password-requirements {
    margin-bottom: 20px;
    font-size: 0.85rem;
    color: #666;
    background: #f9f9f9;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #eee;
}

.req-item { display: block; margin-bottom: 2px; }
.req-item::before { content: "○ "; color: #999; }
.req-item.valid { color: #28a745; }
.req-item.valid::before { content: "✔ "; color: #28a745; font-weight: bold; }

.strength-bar-bg {
    background: #eee;
    height: 5px;
    border-radius: 3px;
    margin-top: 5px;
    margin-bottom: 5px;
    overflow: hidden;
}

.strength-bar {
    height: 100%;
    width: 0%;
    transition: width 0.3s, background-color 0.3s;
}

.strength-text {
    font-size: 0.8rem;
    text-align: right;
    font-weight: bold;
    min-height: 1.2em;
}