/* --- GRUNDLAGEN & VARIABLEN --- */
:root {
    --primary-blue: #0A192F; /* Dunkles, technisches Blau */
    --accent-blue: #007BFF;  /* Helleres Blau für Buttons/Links */
    --bg-light: #F4F7F6;     /* Sehr helles Grau für den Hintergrund */
    --card-bg: #FFFFFF;
    --text-dark: #333333;
    --text-light: #666666;
    --transition: all 0.3s ease;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- HERO HEADER --- */
.hero {
    background-color: var(--primary-blue);
    color: white;
    text-align: center;
    padding: 80px 20px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn-primary {
    display: inline-block;
    background-color: var(--accent-blue);
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: #0056b3;
}

/* --- VIDEOTHEK & FILTER --- */
.videothek-section {
    padding: 60px 0;
}

.videothek-section h2, .about-section h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary-blue);
}

.filter-bar {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-bar select {
    padding: 10px 15px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: white;
    cursor: pointer;
    outline: none;
}

.filter-bar select:focus {
    border-color: var(--accent-blue);
}

/* --- VIDEO GRID & KACHELN --- */
.video-grid {
    display: grid;
    /* Responsive Grid: Kacheln sind mind. 300px breit, passen sich an */
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.video-card {
    background: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    cursor: pointer;
    transition: var(--transition);
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
}

.video-thumbnail {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    background-color: #ddd;
}

.video-info {
    padding: 15px;
}

.video-info h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--primary-blue);
    line-height: 1.3;
}

.tags {
    display: flex;
    gap: 8px;
}

.tag {
    font-size: 0.8rem;
    padding: 4px 8px;
    border-radius: 20px;
    background-color: var(--bg-light);
    color: var(--text-light);
    border: 1px solid #ddd;
}

/* --- ÜBER MICH & FOOTER --- */
.about-section {
    padding: 40px 20px;
    background: white;
    border-radius: 8px;
    margin-bottom: 60px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

footer {
    background-color: var(--primary-blue);
    color: white;
    padding: 30px 0;
    text-align: center;
}

.footer-content a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
}

.footer-content a:hover {
    text-decoration: underline;
}

.social-links { margin-bottom: 10px; }

/* --- MODAL (POP-UP PLAYER) --- */
.modal {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal.hidden {
    display: none;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    background: transparent;
}

.close-btn {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

.iframe-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
}

.iframe-container iframe {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    border-radius: 8px;
}

/* --- KUNDENSTIMMEN / SOCIAL PROOF --- */
.testimonials-section {
    background-color: var(--primary-blue);
    padding: 60px 0;
    margin: 40px 0;
    text-align: center;
    border-radius: 8px; /* Macht die Ecken weich */
}

.testimonials-section h2 {
    color: #ffffff; /* Weißer Text auf blauem Grund */
    margin-bottom: 40px;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card .quote {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 25px;
    line-height: 1.5;
}

.testimonial-card .author {
    font-weight: bold;
    color: var(--primary-blue);
    display: block;
}

.testimonial-card .role {
    font-size: 0.85rem;
    color: var(--accent-blue);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 5px;
    display: inline-block;
    font-weight: 600;
}

/* --- ZIELGRUPPEN / FOKUS --- */
.target-groups-section {
    margin: 40px 0 60px 0;
}

.target-grid {
    display: grid;
    /* Macht die Kacheln auf dem Handy untereinander und am PC nebeneinander */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.target-card {
    background-color: var(--card-bg);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    text-align: center;
    transition: var(--transition);
}

.target-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(0,0,0,0.12);
}

/* Farbige Kante zur optischen Trennung */
.students-card {
    border-top: 5px solid var(--accent-blue);
}

.teachers-card {
    border-top: 5px solid var(--primary-blue);
}

.target-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.target-card h2 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.target-card p {
    color: var(--text-light);
    margin-bottom: 25px;
    min-height: 80px; /* Hält die Boxen auf gleicher Höhe */
}

.target-link {
    display: inline-block;
    font-weight: bold;
    color: var(--accent-blue);
    text-decoration: none;
    transition: var(--transition);
}

.target-link:hover {
    color: var(--primary-blue);
    text-decoration: underline;
}

/* --- GRATIS MATERIAL / LEAD MAGNET --- */
.lead-magnet-section {
    background-color: transparent;
    padding: 60px 30px;
    margin: 60px 0;
    border-radius: 8px;
    border: 2px dashed #cbd5e1; /* Leichter gestrichelter Rahmen für den "Download"-Look */
}

.lead-magnet-header {
    text-align: center;
    margin-bottom: 40px;
}

.lead-magnet-header h2 {
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.lead-magnet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 0 auto; /* Zentriert die beiden Boxen in der Mitte */
}

.magnet-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    text-align: center;
}

.magnet-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.magnet-card h3 {
    color: var(--text-dark);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.magnet-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 25px;
    min-height: 70px; /* Hält die Boxen auf exakt gleicher Höhe */
}

/* Formular-Styling */
.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.newsletter-form input {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.newsletter-form input:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1); /* Leichter blauer Schein beim Reinklicken */
}

.newsletter-form button {
    cursor: pointer;
    border: none;
    width: 100%; /* Button ist genauso breit wie das Eingabefeld */
    font-size: 1rem;
}

/* --- PREMIUM ANGEBOTE --- */
.premium-section {
    background-color: var(--primary-blue);
    color: white;
    padding: 70px 0;
    margin: 60px 0;
    border-radius: 8px;
    text-align: center;
}

.premium-section h2 {
    color: white;
    margin-bottom: 10px;
}

.section-subtitle {
    margin-bottom: 40px;
    opacity: 0.9;
    font-size: 1.1rem;
}

.premium-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.premium-card {
    background-color: white;
    color: var(--text-dark);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: left;
    position: relative; /* Wichtig für das kleine Etikett oben rechts */
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.premium-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background-color: var(--accent-blue);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
}

.premium-card h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.premium-card p {
    color: var(--text-light);
    margin-bottom: 25px;
    min-height: 80px;
}

.premium-link {
    font-weight: bold;
    color: var(--primary-blue);
    text-decoration: none;
    transition: var(--transition);
}

.premium-link:hover {
    color: var(--accent-blue);
}

/* --- KONTAKT BEREICH --- */
.contact-section {
    padding: 60px 20px;
    background-color: white;
    border-radius: 8px;
    margin-bottom: 60px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
}

.contact-section h2 {
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.contact-section p {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.contact-btn {
    font-size: 1.2rem;
    padding: 15px 30px;
    display: inline-block;
}