/* YPS 2026 - Light Mode Modern Theme 
   Clean, Airy, Professional
*/

:root {
    /* Farben: Light Mode */
    --bg-body: #f8f9fa;       /* Sehr helles Grau, augenfreundlicher als reines Weiß */
    --bg-surface: #ffffff;    /* Karten-Hintergrund */
    --bg-surface-alt: #f1f3f5; /* Sekundärer Hintergrund */
    
    --text-main: #1f2937;     /* Dunkles Grau für Text (besser als Schwarz) */
    --text-muted: #6b7280;    /* Helles Grau für Nebentext */
    
    /* Akzentfarbe (Original YPS Orange/Coral) */
    --primary: #ed786a;
    --primary-gradient: linear-gradient(135deg, #ed786a 0%, #e05e50 100%);
    --primary-hover: #da6659;
    
    /* Rahmen & Schatten */
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    
    --radius: 12px;
}

/* --- RESET & BASIS --- */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: 'Merriweather', serif;
    color: var(--text-main);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.75em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); letter-spacing: -0.02em; }
h2 { font-size: 2rem; margin-top: 0; }
h3 { font-size: 1.25rem; }

p { margin-bottom: 1.5rem; color: #374151; }
.small { font-size: 0.9rem; }
.micro { font-size: 0.8rem; color: var(--text-muted); }
.text-muted { color: var(--text-muted); }

a { color: var(--primary-hover); text-decoration: none; transition: color 0.2s; }
a:hover { color: #c04538; }

img { max-width: 100%; display: block; }

/* --- LAYOUT UTILITIES --- */
.container {
    width: min(1100px, 90%); /* Zentriert, max 1100px breit */
    margin: 0 auto;
}

.grid { display: grid; gap: 2rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }

@media (min-width: 768px) {
    .grid-2 { grid-template-columns: 1fr 1fr; }
    .grid-4 { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

section { padding: 4rem 0; }
.bg-light { background-color: #f1f3f5; }

/* --- HEADER & NAV --- */
header {
    background: rgba(255, 255, 255, 0.95); /* Etwas deckender für bessere Lesbarkeit */
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 0; /* Mehr Platz nach oben/unten */
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-text {
    font-family: 'Merriweather', serif;
    font-weight: 900;
    font-size: 1.3rem;
    color: var(--text-main);
    letter-spacing: -0.5px;
    text-decoration: none;
}

.nav-links {
    display: none; /* Mobile first: versteckt */
    list-style: none;
    gap: 2.5rem; /* Mehr Abstand zwischen den Menüpunkten */
    margin: 0;
    padding: 0;
}

.nav-links a {
    /* Explizit die moderne Schriftart für das Menü */
    font-family: 'Inter', sans-serif; 
    color: var(--text-main);
    font-weight: 600; /* Etwas dicker für bessere Lesbarkeit */
    font-size: 0.95rem;
    text-transform: uppercase; /* Optional: Macht es als Menü erkennbarer */
    letter-spacing: 0.05em;    /* Leicht gesperrt für Eleganz */
    opacity: 0.8;
    transition: all 0.2s ease;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--primary); /* Färbt sich beim Drüberfahren orange */
}

@media (min-width: 768px) {
    .nav-links { display: flex; }
}

/* --- HERO SECTION --- */
.hero {
    padding: 6rem 0 4rem;
    background: radial-gradient(circle at top right, rgba(237, 120, 106, 0.1), transparent 40%);
    text-align: center;
}

.hero p.lead {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 60ch;
    margin: 0 auto 2rem auto;
}

.overline {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    font-weight: 700;
    color: var(--primary);
    display: block;
    margin-bottom: 1rem;
}

.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Badges */
.badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.badge {
    background: #fff;
    border: 1px solid var(--border-color);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* --- BUTTONS --- */
.button-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.button-group.small-gap { justify-content: flex-start; gap: 0.5rem; }

.btn {
    display: inline-block;
    background: var(--primary-gradient);
    color: #fff;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 14px 0 rgba(237, 120, 106, 0.39);
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(237, 120, 106, 0.23);
    color: #fff;
}

.btn-ghost {
    background: transparent;
    color: var(--text-main);
    box-shadow: inset 0 0 0 1px var(--border-color);
}
.btn-ghost:hover {
    background: #fff;
    color: var(--primary);
    box-shadow: inset 0 0 0 1px var(--primary);
}

.btn-sm { padding: 0.6rem 1.2rem; font-size: 0.9rem; }
.full-width { width: 100%; display: block; }
.disabled { opacity: 0.6; cursor: not-allowed; filter: grayscale(1); }

/* --- CARDS (Modern & Airy) --- */
.card {
    background: var(--bg-surface);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid rgba(0,0,0,0.02);
}

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

.bg-soft { background-color: var(--bg-surface-alt); box-shadow: none; border: 1px solid var(--border-color); }

/* --- LISTEN --- */
.check-list, .fact-list { list-style: none; padding: 0; }
.check-list li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
}
.check-list li::before {
    content: "✓";
    color: var(--primary);
    position: absolute;
    left: 0;
    font-weight: bold;
}
.fact-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}
.fact-list li:last-child { border: none; }

/* --- PROGRAMM --- */
.program-card h3 { color: var(--primary); margin-bottom: 1rem; }
.program-list { list-style: none; padding: 0; font-size: 0.9rem; }
.program-list li { margin-bottom: 0.5rem; padding-left: 10px; border-left: 2px solid var(--border-color); }
.program-list li.evening { border-left-color: #2d3748; font-weight: 600; }

/* Accordion */
.accordion-wrapper { max-width: 800px; margin: 3rem auto 0; }
details {
    background: #fff;
    margin-bottom: 0.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}
summary {
    padding: 1rem;
    cursor: pointer;
    font-weight: 600;
    background: #fff;
    list-style: none;
    position: relative;
}
summary::-webkit-details-marker { display: none; }
summary::after {
    content: "+";
    position: absolute;
    right: 1rem;
    color: var(--primary);
    font-weight: bold;
}
details[open] summary::after { content: "–"; }
details[open] summary { border-bottom: 1px solid var(--border-color); background: var(--bg-surface-alt); }
.details-content { padding: 1rem; font-size: 0.95rem; color: #4b5563; }

/* --- TEAM --- */
.team-card { text-align: center; padding: 1rem; }
.team-card img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
    filter: grayscale(10%); /* Kleiner Stil-Effekt */
}
.team-card h3 { font-size: 1.1rem; margin-bottom: 0.2rem; }
.team-card p { font-size: 0.9rem; color: var(--text-muted); margin: 0; }

/* --- PREISE --- */
.price-row {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    font-size: 1.1rem;
}
.cta-box { margin-top: 1.5rem; text-align: center; }

/* --- FOOTER --- */
footer {
    background: #1f2937;
    color: #9ca3af;
    padding: 3rem 0;
    margin-top: 4rem;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}
.footer-nav a {
    color: #d1d5db;
    margin-left: 1.5rem;
    font-size: 0.9rem;
}
.footer-nav a:hover { color: #fff; }