/* SOBA.zone — Nerdy Modern, Neon Cyan, Tile Grid */

:root {
    --bg: #030509;
    --bg-deep: #000000;
    --card-bg: rgba(10, 18, 30, 0.72);
    --card-border: #1a3550;
    --card-border-hot: #00e5ff;
    --text: #e6f7ff;
    --text-muted: #6b87a3;
    --accent: #7EC8E3;
    --accent-2: #5BB0D0;
    --accent-glow: rgba(126, 200, 227, 0.55);
    --accent-glow-soft: rgba(126, 200, 227, 0.15);
    --accent-dim: #4a8fa8;
    --green: #00ff9c;
    --red: #ff3a6b;
    --blue: #00e5ff;
    --mono: 'JetBrains Mono', 'Fira Code', 'SF Mono', ui-monospace, Menlo, Consolas, monospace;
}

body {
    background:
        radial-gradient(ellipse at 20% 0%, rgba(126, 200, 227, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 100%, rgba(26, 160, 255, 0.06) 0%, transparent 50%),
        var(--bg);
    background-attachment: fixed;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(126, 200, 227, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(126, 200, 227, 0.035) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
    z-index: 0;
}

header, main, footer { position: relative; z-index: 1; }

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    line-height: 1.6;
}

/* Header */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 32px;
    border-bottom: 1px solid var(--card-border);
    background: rgba(3, 5, 9, 0.92);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo-link {
    text-decoration: none;
    color: inherit;
    display: inline-block;
    flex-shrink: 0;
}

.logo {
    height: 96px;
    width: auto;
    filter: drop-shadow(0 0 16px var(--accent-glow-soft));
    transition: filter 0.3s;
}

.logo:hover {
    filter: drop-shadow(0 0 24px var(--accent-glow));
}

.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.nav-btn-partner {
    background: rgba(126, 200, 227, 0.10) !important;
    border-color: var(--accent) !important;
    color: var(--accent) !important;
    font-size: 0.75rem !important;
    padding: 8px 14px !important;
    letter-spacing: 1.5px;
}

.nav-btn-partner:hover {
    background: rgba(126, 200, 227, 0.20) !important;
    box-shadow: 0 0 20px var(--accent-glow-soft);
}

/* Partner Page */
.partner-page {
    max-width: 900px;
    margin: 40px auto;
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin: 32px 0;
}

.partner-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 24px;
    border: 1px solid var(--card-border);
    border-radius: 14px;
    background: var(--card-bg);
    text-decoration: none;
    color: var(--text);
    transition: all 0.3s;
}

.partner-card:hover {
    border-color: var(--accent);
    background: rgba(126, 200, 227, 0.06);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(126, 200, 227, 0.12);
}

.partner-card-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.partner-card-icon img {
    max-width: 80px;
    max-height: 80px;
}
/* Silber-Logos (Schwaben, Bergwind): 70% Silber */
.partner-card-silver .partner-card-icon img {
    filter: brightness(0) invert(0.7) drop-shadow(0 0 8px var(--accent-glow-soft));
}
.partner-card-silver:hover .partner-card-icon img {
    filter: brightness(0) invert(0.85) drop-shadow(0 0 8px var(--accent-glow-soft));
}
/* Farbige Logos (playerprofile.eu): kein Filter */
.partner-card-color .partner-card-icon img {
    filter: drop-shadow(0 0 8px var(--accent-glow-soft));
}
.partner-card-color:hover .partner-card-icon img {
    filter: drop-shadow(0 0 12px var(--accent-glow));
}

.partner-emoji {
    font-size: 3rem;
}

.partner-card h3 {
    font-family: var(--mono);
    font-size: 1.1rem;
    letter-spacing: 1px;
    color: var(--accent);
    margin-bottom: 8px;
}

.partner-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 12px;
}

.partner-link {
    font-family: var(--mono);
    font-size: 0.75rem;
    color: var(--accent-dim);
    letter-spacing: 1px;
}

.partner-cta {
    text-align: center;
    margin-top: 48px;
    padding: 32px;
    border: 1px solid var(--card-border);
    border-radius: 14px;
    background: var(--card-bg);
}

.partner-cta p {
    color: var(--text-muted);
    margin-bottom: 16px;
}

.main-nav {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hamburger Button */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: 1px solid var(--card-border);
    border-radius: 6px;
    padding: 8px 10px;
    cursor: pointer;
    z-index: 101;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    transition: all 0.3s;
}

.nav-tile,
.nav-btn {
    color: var(--text);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 10px 18px;
    border: 1px solid var(--accent);
    border-left: 3px solid #000;
    border-bottom: 3px solid #000;
    border-radius: 6px;
    font-family: var(--mono);
    transition: all 0.12s ease;
    background: rgba(126, 200, 227, 0.15);
    position: relative;
    transform: translate(-2px, -2px);
    cursor: pointer;
}

.nav-tile:hover,
.nav-btn:hover {
    color: #fff;
    background: rgba(126, 200, 227, 0.25);
    text-shadow: 0 0 10px var(--accent-glow);
    transform: translate(-1px, -1px);
    border-left-width: 2px;
    border-bottom-width: 2px;
}

.nav-tile:active,
.nav-btn:active {
    transform: translate(0, 0);
    border-left-width: 1px;
    border-bottom-width: 1px;
    background: rgba(126, 200, 227, 0.35);
}

/* Main */
main {
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px 28px 60px;
}

/* Cards — Bento Tile */
.card {
    background:
        linear-gradient(135deg, rgba(126, 200, 227, 0.04) 0%, transparent 40%),
        var(--card-bg);
    border: 1px solid rgba(26, 53, 80, 0.6);
    border-radius: 14px;
    padding: 32px;
    margin-bottom: 20px;
    position: relative;
    backdrop-filter: blur(14px);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.03) inset,
        0 20px 60px -30px rgba(0, 0, 0, 0.9),
        0 0 0 1px rgba(126, 200, 227, 0.04);
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(126, 200, 227, 0.5) 50%, transparent 100%);
}

.card::after {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, var(--accent-glow-soft) 0%, transparent 65%);
    pointer-events: none;
    opacity: 0.35;
}

.card:hover {
    border-color: rgba(126, 200, 227, 0.45);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.05) inset,
        0 30px 80px -30px rgba(0, 0, 0, 0.95),
        0 0 0 1px rgba(126, 200, 227, 0.3),
        0 0 40px -10px var(--accent-glow);
    transform: translateY(-4px);
}

.kurs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.kurs-header h3 {
    color: #ffffff;
    font-size: 1.2rem;
    font-family: var(--mono);
    letter-spacing: 0.5px;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.3);
}

.kurs-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: linear-gradient(155deg, #7EC8E3 0%, #5BB0D0 40%, #4a9fc2 100%);
    border: none;
    border-radius: 16px;
    color: #fff;
    box-shadow:
        0 8px 24px rgba(255, 255, 255, 0.15),
        0 2px 8px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.kurs-card::before {
    display: none;
}

.kurs-card::after {
    background: radial-gradient(ellipse at 30% 10%, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
}

.kurs-card:hover {
    background: linear-gradient(155deg, #8dd4ef 0%, #6bbfdb 40%, #5aadcc 100%);
    border: none;
    box-shadow:
        0 12px 32px rgba(255, 255, 255, 0.2),
        0 4px 12px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.kurs-card .kurs-details {
    flex: 1;
}

/* Section Title — Nerdy prompt style */
.section-title {
    font-family: var(--mono);
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text);
    margin: 48px 0 8px 0;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--card-border);
    text-shadow: 0 0 12px var(--accent-glow-soft);
}

.section-title .prompt {
    color: var(--accent);
    margin-right: 10px;
    text-shadow: 0 0 8px var(--accent-glow);
}

.section-title-accent {
    color: var(--accent);
    text-shadow: 0 0 12px var(--accent-glow);
}

.section-title .blink {
    color: var(--accent);
    font-weight: 400;
    animation: blink 1.1s steps(2, start) infinite;
    text-shadow: 0 0 8px var(--accent-glow);
}

@keyframes blink {
    to { visibility: hidden; }
}

/* Kurs Grid — equal cards */
.kurse-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
    margin-top: 28px;
}

.kurse-grid .card {
    margin-bottom: 0;
}

/* Per-card accent colors — left + bottom border stripe */
.kurse-grid .kurs-card {
    border-bottom: 5px solid var(--kurs-farbe, var(--accent));
    border-left: 5px solid var(--kurs-farbe, var(--accent));
    background: linear-gradient(155deg, color-mix(in srgb, var(--kurs-farbe, var(--accent)) 12%, transparent) 0%, color-mix(in srgb, var(--kurs-farbe, var(--accent)) 65%, #1a2a3a) 40%, color-mix(in srgb, var(--kurs-farbe, var(--accent)) 55%, #0f1f2f) 100%);
}

.kurse-grid .kurs-card:hover {
    box-shadow: 0 12px 32px color-mix(in srgb, var(--kurs-farbe, var(--accent)) 25%, transparent), 0 4px 12px rgba(0,0,0,0.15), inset 0 1px 0 rgba(255,255,255,0.4);
}

.kurs-kat {
    display: inline-block;
    font-family: var(--mono);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 4px;
    margin-bottom: 8px;
}

@media (max-width: 900px) {
    .kurse-grid {
        grid-template-columns: 1fr;
    }
}

/* Badges */
.badge {
    font-size: 0.68rem;
    padding: 4px 10px;
    border-radius: 2px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-family: var(--mono);
    border: 1px solid transparent;
}

.badge-green {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border-color: rgba(255,255,255,0.4);
    text-shadow: none;
}
.badge-orange,
.badge-blue {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border-color: rgba(255,255,255,0.4);
    text-shadow: none;
}
.badge-gray {
    background: rgba(107, 135, 163, 0.10);
    color: var(--text-muted);
    border-color: var(--text-muted);
}

/* Kurs Details */
.kurs-beschreibung {
    color: var(--text-muted);
    margin-bottom: 15px;
}

.kurs-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 15px;
}

.detail {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.detail a {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px dashed var(--accent-dim);
}

.detail a:hover {
    color: #fff;
    border-bottom-color: var(--accent);
}

.icon {
    font-size: 1.1rem;
}

/* Plätze-Bar */
.plaetze-bar {
    height: 4px;
    background: rgba(126, 200, 227, 0.08);
    border: 1px solid var(--card-border);
    border-radius: 0;
    overflow: hidden;
    margin-bottom: 8px;
}

.plaetze-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    box-shadow: 0 0 12px var(--accent-glow);
    transition: width 0.3s;
}

.plaetze-text {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.kurs-card .kurs-beschreibung { color: rgba(255,255,255,0.85); }
.kurs-card .detail { color: #fff; }
.kurs-card .detail-label { color: rgba(255,255,255,0.7); }
.kurs-card .detail a { color: #fff; border-bottom-color: rgba(255,255,255,0.5); }
.kurs-card .plaetze-text { color: rgba(255,255,255,0.8); }
.kurs-card .min-hinweis { color: rgba(255,255,255,0.6); }
.kurs-card .anmelde-form { border-top-color: rgba(255,255,255,0.2); }
.highlight { color: #1a3550; font-weight: 600; }
.voll { color: var(--red); font-weight: 600; }

.min-hinweis {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 6px;
    font-style: italic;
    line-height: 1.4;
}

/* Formulare */
.anmelde-form {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--card-border);
}

.form-row {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.form-row input {
    flex: 1;
}

input, select, textarea {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--card-border);
    color: var(--text);
    padding: 12px 15px;
    border-radius: 2px;
    font-size: 0.95rem;
    font-family: var(--mono);
    width: 100%;
    margin-bottom: 8px;
    transition: all 0.2s;
}

input::placeholder, textarea::placeholder {
    color: var(--text-muted);
    font-family: var(--mono);
    font-size: 0.85rem;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 16px var(--accent-glow-soft), inset 0 0 16px rgba(0,229,255,0.05);
    background: rgba(126, 200, 227, 0.03);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: opacity 0.2s;
}

.btn:hover { opacity: 0.85; }

.btn-primary {
    background: #fff;
    color: #1a3550;
    border: none;
    border-radius: 12px;
    font-family: var(--mono);
    letter-spacing: 2px;
    text-transform: uppercase;
    width: 100%;
    box-shadow:
        0 4px 0 #c0c0c0,
        0 6px 12px rgba(0, 0, 0, 0.15);
    text-shadow: none;
    transition: all 0.15s ease;
    transform: translateY(0);
    position: relative;
}

.btn-primary:hover {
    background: #fff;
    color: #0a2540;
    transform: translateY(-2px);
    box-shadow:
        0 6px 0 #b0b0b0,
        0 10px 20px rgba(0, 0, 0, 0.2);
    opacity: 1;
}

.btn-primary:active {
    transform: translateY(2px);
    box-shadow:
        0 1px 0 #c0c0c0,
        0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background: #333;
    color: var(--text);
    margin-top: 15px;
}

.btn-small {
    padding: 8px 20px;
    font-size: 0.9rem;
    background: var(--accent);
    color: #000;
}

.btn-tiny {
    padding: 4px 12px;
    font-size: 0.8rem;
    background: #444;
    color: var(--text);
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* Result Page */
.result {
    text-align: center;
    padding-top: 40px;
}

.success-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.kurs-mini {
    background: #2a2a2a;
    padding: 15px;
    border-radius: 6px;
    margin: 20px 0;
    display: inline-block;
}

/* Admin */
.admin h2 {
    margin-bottom: 20px;
    color: var(--accent);
}

.admin-form .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.card-row {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.half { flex: 1; }

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.admin-table th, .admin-table td {
    padding: 8px 10px;
    text-align: left;
    border-bottom: 1px solid var(--card-border);
}

.admin-table th {
    color: var(--accent);
    font-weight: 600;
}

.inline-form {
    display: flex;
    gap: 5px;
    align-items: center;
}

.inline-form select {
    width: auto;
    padding: 4px 8px;
    font-size: 0.8rem;
    margin: 0;
}

/* Status Colors */
.status-offen { color: var(--accent); }
.status-bestaetigt { color: var(--green); }
.status-abgesagt { color: var(--red); }
.status-abgeschlossen { color: var(--text-muted); }
.status-trainer_angefragt,
.status-trainer_bestaetigt,
.status-halle_angefragt { color: var(--blue); }

.email-gesendet { color: var(--green); }
.email-fehler { color: var(--red); }
.email-ausstehend { color: var(--accent); }

.empty {
    text-align: center;
    color: var(--text-muted);
    padding: 40px;
}

.voll-text {
    text-align: center;
    color: var(--red);
    margin-top: 15px;
    font-weight: 600;
}

/* Hero mit Classroom-Video */
.hero {
    position: relative;
    text-align: center;
    padding: 60px 20px 50px;
    margin: -20px -20px 30px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid var(--card-border);
    background: radial-gradient(ellipse at 30% 20%, rgba(0, 180, 220, 0.06) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 80%, rgba(0, 180, 220, 0.04) 0%, transparent 50%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.12;
    z-index: 0;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
    z-index: 0;
}

.hero-logo {
    max-width: 280px;
    width: 60%;
    height: auto;
    margin-bottom: 24px;
    filter: drop-shadow(0 0 30px var(--accent-glow-soft));
}

.hero-logo-big {
    max-width: 480px;
    width: 70%;
    margin-bottom: 32px;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
}

.hero h2 {
    color: var(--text);
    font-size: 2.6rem;
    letter-spacing: 4px;
    margin-bottom: 18px;
    text-shadow: 0 2px 18px rgba(0,0,0,0.9), 0 0 40px var(--accent-glow);
    font-weight: 800;
    text-transform: uppercase;
    font-family: var(--mono);
}

.hero h2.accent {
    color: var(--accent);
    text-shadow: 0 0 20px var(--accent), 0 0 40px var(--accent-glow), 0 0 60px var(--accent-glow-soft);
    font-size: 2.2rem;
    letter-spacing: 3px;
}

.hero h2 .accent {
    color: var(--accent);
    text-shadow: 0 0 20px var(--accent), 0 0 40px var(--accent-glow), 0 0 60px var(--accent-glow-soft);
}

.hero-lead {
    font-size: 1.15rem;
    max-width: 620px;
    margin: 0 auto 14px;
    color: var(--text);
    text-shadow: 0 1px 6px rgba(0,0,0,0.9);
}

.hero-sub {
    color: var(--accent);
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 1px 6px rgba(0,0,0,0.9);
}

.hero-cta {
    margin-top: 28px;
    display: inline-block;
    padding: 16px 42px;
    background: transparent;
    color: var(--accent);
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    border: 1px solid var(--accent);
    border-radius: 2px;
    font-family: var(--mono);
    font-size: 0.9rem;
    box-shadow: 0 0 30px var(--accent-glow-soft), inset 0 0 30px var(--accent-glow-soft);
    text-shadow: 0 0 10px var(--accent-glow);
    transition: all 0.25s;
    position: relative;
}

.hero-cta::before {
    content: '> ';
    opacity: 0.7;
}

.hero-cta:hover {
    background: var(--accent);
    color: #000;
    box-shadow: 0 0 50px var(--accent-glow), inset 0 0 20px rgba(0,0,0,0.3);
    text-shadow: none;
    transform: translateY(-2px);
}

/* Partner Section */
.partners {
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: center;
    padding: 28px 20px;
    margin: 30px 0;
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
    flex-wrap: wrap;
}

.partners img {
    max-height: 80px;
    width: auto;
    opacity: 1;
    filter: brightness(0) invert(0.85);
    transition: opacity 0.2s, filter 0.2s;
}

.partners img:hover {
    opacity: 1;
    filter: brightness(0) invert(1);
}

.partners-label {
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    width: 100%;
    text-align: center;
    margin-bottom: 6px;
}

/* Trainerlizenz-Badge */
.lizenz-badge {
    display: inline-block;
    font-size: 0.65rem;
    padding: 2px 8px;
    border-radius: 2px;
    background: rgba(126, 200, 227, 0.10);
    color: var(--accent);
    border: 1px solid var(--accent);
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-left: 6px;
    vertical-align: middle;
    font-family: var(--mono);
    text-shadow: 0 0 8px var(--accent-glow);
}

.lizenz-big {
    font-size: 0.9rem;
    padding: 6px 14px;
    margin-left: 0;
    margin-top: 8px;
}

/* Trainer Liste/Detail */
.section-intro {
    color: var(--text-muted);
    margin-bottom: 22px;
    font-family: var(--mono);
    font-size: 0.85rem;
}

.trainer-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
    margin-top: 28px;
}

.trainer-grid .trainer-card-link {
    grid-column: span 4;
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Bento asymmetry for trainer cards */
.trainer-grid .trainer-card-link:nth-child(1) {
    grid-column: span 6;
}

.trainer-grid .trainer-card-link:nth-child(2),
.trainer-grid .trainer-card-link:nth-child(3) {
    grid-column: span 3;
}

.trainer-grid .trainer-card-link:nth-child(n+4) {
    grid-column: span 4;
}

@media (max-width: 900px) {
    .trainer-grid,
    .trainer-grid .trainer-card-link:nth-child(n) {
        grid-template-columns: 1fr;
        grid-column: span 1;
    }
}

.trainer-card {
    text-align: center;
    height: 100%;
    min-height: 320px;
    margin-bottom: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0;
    overflow: hidden;
}

.trainer-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center top;
    z-index: 0;
}

.trainer-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.45) 40%, rgba(0,0,0,0.15) 70%, transparent 100%);
    z-index: 1;
}

.trainer-card-content {
    position: relative;
    z-index: 2;
    padding: 24px;
}

.trainer-card-link:hover .trainer-card {
    border-color: rgba(126, 200, 227, 0.5);
    transform: translateY(-4px);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.05) inset,
        0 30px 80px -30px rgba(0, 0, 0, 0.95),
        0 0 0 1px rgba(126, 200, 227, 0.35),
        0 0 50px -10px var(--accent-glow);
}



.trainer-card h3 {
    font-family: var(--mono);
    color: var(--accent);
    font-size: 1.15rem;
    letter-spacing: 1px;
    margin-bottom: 10px;
    text-shadow: 0 0 20px var(--accent-glow-soft);
    position: relative;
    z-index: 1;
}

.trainer-bio-snippet {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 10px;
}

.trainer-head {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.trainer-head-text {
    flex: 1;
    min-width: 200px;
}

.trainer-bio {
    padding-top: 15px;
    border-top: 1px solid var(--card-border);
    color: var(--text);
    line-height: 1.7;
}

.back-link {
    display: inline-block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

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

/* Lehrer Detail — Butterbild Hero */
.lehrer-hero {
    position: relative;
    width: 100%;
    min-height: 400px;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 24px;
    border: 1px solid var(--card-border);
}

.lehrer-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center top;
    z-index: 0;
}

.lehrer-hero-bg-fallback {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0a1628 100%);
}

.lehrer-hero-overlay {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 400px;
    padding: 32px;
    background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 40%, transparent 70%);
}

.lehrer-hero-overlay h2 {
    font-family: var(--mono);
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 2px 20px rgba(0,0,0,0.9), 0 0 40px var(--accent-glow-soft);
    margin-bottom: 8px;
}

.lehrer-content {
    margin-bottom: 24px;
}

.lehrer-bio-text {
    color: var(--text);
    line-height: 1.8;
    font-size: 1.05rem;
    padding: 24px 0;
    border-bottom: 1px solid var(--card-border);
}

@media (max-width: 768px) {
    .lehrer-hero { min-height: 280px; }
    .lehrer-hero-overlay { min-height: 280px; padding: 20px; }
    .lehrer-hero-overlay h2 { font-size: 1.6rem; }
    .lehrer-bio-text { font-size: 0.95rem; }
}

@media (max-width: 600px) {
    .lehrer-hero { min-height: 220px; }
    .lehrer-hero-overlay { min-height: 220px; padding: 16px; }
    .lehrer-hero-overlay h2 { font-size: 1.3rem; letter-spacing: 1px; }
    .lehrer-bio-text { font-size: 0.9rem; padding: 16px 0; }
}

.kurs-liste {
    list-style: none;
    padding: 0;
}

.kurs-liste li {
    padding: 10px 0;
    border-bottom: 1px solid var(--card-border);
    color: var(--text);
    font-size: 0.95rem;
}

.kurs-liste li:last-child { border-bottom: none; }

/* Legal (Impressum/Datenschutz) */
.legal h2 {
    color: var(--accent);
    margin-bottom: 20px;
}

.legal h3 {
    color: var(--accent);
    font-size: 1.05rem;
    margin-top: 22px;
    margin-bottom: 8px;
}

.legal h3:first-child { margin-top: 0; }

.legal p, .legal ul {
    color: var(--text);
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.legal ul {
    padding-left: 20px;
}

.legal a {
    color: var(--accent);
    text-decoration: none;
}

.legal a:hover { text-decoration: underline; }

.legal-footer {
    text-align: center;
    margin-top: 30px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.legal-footer a {
    color: var(--text-muted);
    text-decoration: none;
}

.legal-footer a:hover { color: var(--accent); }

/* Footer */
footer {
    text-align: center;
    padding: 30px 20px;
    color: var(--text-muted);
    font-size: 0.8rem;
    border-top: 1px solid var(--card-border);
    margin-top: 40px;
}

.footer-links {
    margin-top: 8px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    margin: 0 4px;
}

.footer-links a:hover { color: var(--accent); }

.nav-wa-icon {
    height: 16px;
    width: auto;
    vertical-align: middle;
    margin-right: 2px;
}
.nav-btn-wa-coaches {
    color: #30A71A !important;
    border-color: rgba(48, 167, 26, 0.4) !important;
}
.nav-btn-wa-coaches:hover {
    border-color: #30A71A !important;
    background: rgba(48, 167, 26, 0.15) !important;
}

.whatsapp-trainer-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding: 6px 14px;
    background: rgba(48, 167, 26, 0.15);
    border: 1px solid rgba(48, 167, 26, 0.4);
    border-radius: 6px;
    color: #30A71A;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s;
}
.whatsapp-trainer-link:hover {
    background: rgba(48, 167, 26, 0.25);
    border-color: #30A71A;
}
.whatsapp-trainer-icon {
    height: 20px;
    width: auto;
}

.footer-branding {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}
.footer-airkid-logo {
    height: 22px;
    width: auto;
    opacity: 0.85;
    transition: opacity 0.3s;
}
.footer-airkid-logo:hover {
    opacity: 1;
}

/* ── Trainer Dashboard ── */

.form-stack {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-family: var(--mono);
    font-size: 0.7rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 6px;
}

.form-stack input,
.form-stack select,
.form-stack textarea {
    background: var(--bg-deep);
    border: 1px solid var(--card-border);
    color: var(--text);
    font-family: var(--mono);
    font-size: 0.85rem;
    padding: 8px 10px;
    border-radius: 6px;
    outline: none;
    transition: border-color 0.2s;
}

.form-stack input:focus,
.form-stack select:focus,
.form-stack textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 8px var(--accent-glow-soft);
}

.form-stack textarea {
    resize: vertical;
    min-height: 80px;
}

.trainer-kurs-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(126, 200, 227, 0.08);
    gap: 16px;
}

.trainer-kurs-row:last-child {
    border-bottom: none;
}

.trainer-kurs-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.trainer-kurs-status {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    flex-shrink: 0;
}

.text-muted {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* ── Chat Widget ── */

.chat-panel {
    margin-top: 20px;
    border-top: 1px solid var(--card-border);
    padding-top: 16px;
}

.chat-toggle {
    background: transparent;
    border: 1px solid var(--accent-dim);
    color: var(--accent);
    font-family: var(--mono);
    font-size: 0.85rem;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
    text-align: left;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.chat-toggle:hover {
    border-color: var(--accent);
    box-shadow: 0 0 12px var(--accent-glow-soft);
}

.chat-toggle[aria-expanded="true"] {
    border-color: var(--accent);
    background: rgba(126, 200, 227, 0.06);
}

.chat-prompt {
    color: var(--green);
    margin-right: 4px;
}

.chat-count {
    color: var(--text-muted);
    font-size: 0.75rem;
    margin-left: 6px;
}

.chat-body {
    margin-top: 12px;
}

.chat-messages {
    max-height: 280px;
    overflow-y: auto;
    padding: 8px 4px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-dim) transparent;
}

.chat-msg {
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(126, 200, 227, 0.04);
    border-left: 3px solid var(--accent-dim);
}

.chat-msg.role-trainer {
    background: rgba(0, 255, 156, 0.06);
    border-left-color: var(--green);
}

.chat-msg.role-admin {
    background: rgba(255, 58, 107, 0.06);
    border-left-color: var(--red);
}

.chat-msg-author {
    font-family: var(--mono);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent);
    margin-right: 8px;
}

.chat-msg.role-trainer .chat-msg-author { color: var(--green); }
.chat-msg.role-admin .chat-msg-author { color: var(--red); }

.chat-msg-time {
    font-size: 0.65rem;
    color: var(--text-muted);
}

.chat-msg-text {
    margin-top: 4px;
    font-size: 0.85rem;
    color: var(--text);
    line-height: 1.4;
    word-break: break-word;
}

.chat-form {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.chat-form .chat-name {
    width: 140px;
    flex-shrink: 0;
}

.chat-form .chat-text {
    flex: 1;
}

.chat-form input {
    background: var(--bg-deep);
    border: 1px solid var(--card-border);
    color: var(--text);
    font-family: var(--mono);
    font-size: 0.8rem;
    padding: 8px 10px;
    border-radius: 6px;
    outline: none;
    transition: border-color 0.2s;
}

.chat-form input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 8px var(--accent-glow-soft);
}

.chat-send {
    font-size: 0.8rem !important;
    padding: 8px 14px !important;
    white-space: nowrap;
}

/* Anfrage Tabs */
.anfrage-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 0;
}

.anfrage-tab {
    padding: 10px 20px;
    font-family: var(--mono);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--card-border);
    border-radius: 6px 6px 0 0;
    cursor: pointer;
    transition: all 0.2s;
}

.anfrage-tab:hover {
    color: var(--accent);
    border-color: var(--accent);
}

.anfrage-tab.active {
    color: var(--accent);
    background: rgba(126, 200, 227, 0.08);
    border-color: var(--accent);
    border-bottom-color: transparent;
    box-shadow: 0 0 16px var(--accent-glow-soft);
}

/* Coach Hint */
.coach-hint {
    padding: 28px 24px;
    margin: 30px 0;
    border: 1px solid var(--card-border);
    border-radius: 14px;
    background: var(--card-bg);
}

.coach-hint-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* Gallery Strip */
.galerie-strip {
    margin: 40px 0;
}

.galerie-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 8px 0;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-dim) transparent;
}

.galerie-item img {
    height: 200px;
    width: auto;
    border-radius: 8px;
    border: 1px solid var(--card-border);
}

.galerie-placeholder {
    color: var(--text-muted);
    padding: 20px;
    text-align: center;
    width: 100%;
}

/* FAQ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-item {
    border: 1px solid var(--card-border);
    border-radius: 8px;
    padding: 0;
    background: var(--card-bg);
}

.faq-item summary {
    padding: 14px 18px;
    cursor: pointer;
    font-family: var(--mono);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    letter-spacing: 0.5px;
    transition: color 0.2s;
    list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
    content: '+ ';
    color: var(--accent);
    font-weight: 700;
}

.faq-item[open] summary::before {
    content: '- ';
}

.faq-item[open] summary {
    color: var(--accent);
    border-bottom: 1px solid var(--card-border);
}

.faq-item p {
    padding: 14px 18px;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Anfrage Section */
.anfrage {
    margin: 40px 0;
}

/* Fade In Animation */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Video Grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.video-card {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid var(--card-border);
}
.video-card iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Tablet Landscape */
@media (max-width: 1024px) {
    .hero { padding: 40px 20px 36px; }
    .hero-logo { max-width: 200px; width: 40%; margin-bottom: 16px; }
    .hero-logo-big { max-width: 360px; width: 55%; margin-bottom: 24px; }
    .hero h2 { font-size: 2rem; letter-spacing: 2px; margin-bottom: 12px; }
    .hero h2.accent { font-size: 1.8rem; }
    .hero-lead { font-size: 1rem; }
    .hero-cta { padding: 12px 32px; font-size: 0.8rem; margin-top: 18px; }
    .video-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Tablet Portrait */
@media (max-width: 768px) {
    .hero { padding: 32px 16px 28px; }
    .hero-logo { max-width: 160px; width: 35%; margin-bottom: 12px; }
    .hero-logo-big { max-width: 300px; width: 50%; margin-bottom: 20px; }
    .hero h2 { font-size: 1.6rem; letter-spacing: 1px; margin-bottom: 10px; }
    .hero h2.accent { font-size: 1.4rem; }
    .hero-lead { font-size: 0.9rem; max-width: 480px; }
    .hero-sub { font-size: 0.8rem; }
    .hero-cta { padding: 10px 28px; font-size: 0.75rem; margin-top: 14px; }
    .partners img { max-height: 64px; }
    .video-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    /* Anfrage Tabs kleiner auf Tablet Portrait */
    .anfrage-tab {
        padding: 8px 12px;
        font-size: 0.7rem;
        letter-spacing: 1px;
    }
    /* Chat Form enger */
    .chat-form .chat-name {
        width: 100px;
    }
    /* Kurs Details auf 1 Spalte */
    .kurs-details {
        grid-template-columns: 1fr;
    }
}

/* Mobile Nav */
@media (max-width: 900px) {
    .hamburger {
        display: flex;
    }
    .logo {
        height: 56px;
    }
    header {
        padding: 10px 16px;
    }
    .nav-btn-partner {
        font-size: 0.65rem !important;
        padding: 6px 10px !important;
        letter-spacing: 1px;
    }
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(3, 5, 9, 0.97);
        backdrop-filter: blur(16px);
        border-bottom: 1px solid var(--card-border);
        padding: 16px 24px;
        gap: 4px;
        z-index: 100;
    }
    .main-nav.open {
        display: flex;
    }
    .main-nav .nav-btn,
    .main-nav .nav-tile {
        padding: 12px 16px;
        font-size: 0.85rem;
        border: none;
        border-bottom: 1px solid rgba(126, 200, 227, 0.08);
        border-radius: 0;
        background: none;
    }
    .main-nav .nav-btn:last-child,
    .main-nav .nav-tile:last-child {
        border-bottom: none;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .hero { padding: 24px 12px 20px; }
    .hero-logo { max-width: 140px; width: 40%; margin-bottom: 10px; }
    .hero-logo-big { max-width: 240px; width: 55%; margin-bottom: 16px; }
    .hero h2 { font-size: 1.3rem; letter-spacing: 1px; }
    .hero h2.accent { font-size: 1.1rem; letter-spacing: 0.5px; }
    .hero-lead { font-size: 0.85rem; }
    .hero-cta { padding: 10px 24px; }
    .kurs-details { grid-template-columns: 1fr; }
    .form-row { flex-direction: column; }
    .admin-form .form-grid { grid-template-columns: 1fr; }
    .card-row { flex-direction: column; }
    .admin-table { font-size: 0.75rem; }
    .inline-form { flex-direction: column; }
    .partners img { max-height: 48px; }
    .video-grid { grid-template-columns: 1fr; }
    /* Anfrage Tabs stacken auf Mobile */
    .anfrage-tabs {
        flex-direction: column;
        gap: 6px;
    }
    .anfrage-tab {
        border-radius: 8px;
        text-align: center;
        padding: 14px 16px;
        font-size: 0.8rem;
        letter-spacing: 1px;
        width: 100%;
        color: var(--text);
        border: 1px solid var(--card-border);
        background: rgba(126, 200, 227, 0.04);
    }
    .anfrage-tab.active {
        border-color: var(--accent);
        color: var(--accent);
        background: rgba(126, 200, 227, 0.12);
        border-bottom-color: var(--accent);
        box-shadow: 0 0 16px var(--accent-glow-soft);
    }
    /* Chat Form stacken */
    .chat-form {
        flex-direction: column;
    }
    .chat-form .chat-name {
        width: 100%;
    }
    /* Section titles kleiner */
    .section-title {
        font-size: 1rem;
        letter-spacing: 1.5px;
        margin: 32px 0 6px 0;
    }
    /* Cards weniger Padding */
    .card {
        padding: 20px 16px;
    }
    /* Kurs Header stacken */
    .kurs-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    /* Coach Hint kleiner */
    .coach-hint {
        padding: 20px 16px;
    }
    .coach-hint-text {
        font-size: 0.82rem;
    }
    /* FAQ kompakter */
    .faq-item summary {
        padding: 12px 14px;
        font-size: 0.82rem;
    }
    .faq-item p {
        padding: 12px 14px;
        font-size: 0.82rem;
    }
    /* Main weniger Padding */
    main {
        padding: 12px 14px 40px;
    }
    /* Galerie kleiner */
    .galerie-item img {
        height: 140px;
    }
}

/* === LEHRER CARDS (Spielkarten-Design) === */
.lehrer-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 600px;
    margin: 0 auto;
}
.lehrer-card-link {
    text-decoration: none;
    color: inherit;
}
.lehrer-card {
    background: linear-gradient(135deg, #0a0a14, #141428);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s;
    text-align: center;
    border: 1px solid rgba(126, 200, 227, 0.15);
}
.lehrer-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(126, 200, 227, 0.2);
}
.lehrer-card-img {
    width: 100%;
    object-fit: contain;
    display: block;
}
.lehrer-card-placeholder {
    width: 100%;
    aspect-ratio: 3/5;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--accent, #7EC8E3);
    font-weight: 700;
}
.lehrer-card-info {
    padding: 16px 12px 20px;
}
.lehrer-card-info h3 {
    font-size: 1rem;
    margin: 0 0 6px;
    color: #fff;
    line-height: 1.3;
    min-height: 2.6em;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Lehrer Detail */
.lehrer-detail-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 24px;
}
.lehrer-detail-img {
    max-width: 340px;
    width: 100%;
    border-radius: 16px;
    border: 2px solid rgba(126, 200, 227, 0.2);
}
.lehrer-detail-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
    gap: 20px;
}
.lehrer-detail-left {
    text-align: center;
    flex: 1;
}
.lehrer-detail-meta h2 {
    margin: 0 0 8px;
}
.whatsapp-detail-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    padding: 12px 16px;
    border-radius: 12px;
    background: rgba(37, 211, 102, 0.08);
    border: 1px solid rgba(37, 211, 102, 0.25);
    transition: all 0.3s;
    flex-shrink: 0;
}
.whatsapp-detail-block:hover {
    background: rgba(37, 211, 102, 0.18);
    border-color: #25D366;
    transform: scale(1.05);
}
.whatsapp-detail-logo {
    width: 72px;
    height: 72px;
    object-fit: contain;
    filter: drop-shadow(0 0 12px rgba(37, 211, 102, 0.4));
}
.whatsapp-detail-label {
    font-family: var(--mono);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #25D366;
}
.lehrer-rolle {
    display: inline-block;
    margin-top: 8px;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    background: rgba(126, 200, 227, 0.12);
    color: var(--accent, #7EC8E3);
    border: 1px solid rgba(126, 200, 227, 0.25);
}

@media (max-width: 600px) {
    .lehrer-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .lehrer-detail-img {
        max-width: 220px;
    }
}

/* === APP BUTTONS (Homepage) === */
.apps-section {
    padding: 32px 0 8px;
}
.apps-intro {
    text-align: center;
    color: var(--text-muted, #888);
    font-size: 0.85rem;
    margin-bottom: 14px;
}
.apps-split {
    display: flex;
    gap: 32px;
    max-width: 960px;
    margin: 0 auto;
    align-items: flex-start;
}
.apps-left { flex: 3; }
.apps-right { flex: 2; }
.apps-heading {
    color: var(--text-muted, #888);
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.apps-grid-tools {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.apps-grid-partner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.apps-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    max-width: 960px;
    margin: 0 auto;
}
/* (removed .apps-soba-tools + .apps-tools-row — flat grid now) */
/* grid children stretch automatically */
/* (removed .apps-tools-row — no longer used) */
.app-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #fff;
    padding: 16px 8px 14px;
    border-radius: 16px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
    position: relative;
}
.app-card:hover {
    transform: translateY(-6px);
}
/* Base colored borders — always visible */
.app-card-blau  { border-color: rgba(3,64,120,0.4); }
.app-card-rot   { border-color: rgba(121,30,46,0.4); }
.app-card-gruen { border-color: rgba(23,84,32,0.5); }
.app-card-pp    { border-color: rgba(23,84,32,0.5); }
/* Hover — stronger */
.app-card-blau:hover { border-color: #034078; box-shadow: 0 8px 24px rgba(3,64,120,0.3); }
.app-card-rot:hover { border-color: #791E2E; box-shadow: 0 8px 24px rgba(121,30,46,0.3); }
.app-card-gruen:hover { border-color: #175420; box-shadow: 0 8px 24px rgba(23,84,32,0.3); }
.app-card-pp:hover { border-color: #175420; box-shadow: 0 8px 24px rgba(23,84,32,0.3); }
.app-card-soon { opacity: 0.65; }
.app-card-soon:hover { opacity: 0.85; }
.app-icon {
    width: 100%;
    max-width: 120px;
    aspect-ratio: 1;
    object-fit: contain;
    margin-bottom: 8px;
    border-radius: 12px;
}
.app-label {
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
}
.app-badge-soon {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 0.65rem;
    padding: 2px 8px;
    border-radius: 10px;
    background: rgba(255,255,255,0.12);
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 1px;
}
@media (max-width: 768px) {
    .apps-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    .apps-split {
        flex-direction: column;
        gap: 20px;
    }
    .apps-grid-tools {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    .apps-grid-partner {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .app-icon {
        max-width: 90px;
    }
}
@media (max-width: 480px) {
    .apps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .apps-grid-tools {
        grid-template-columns: repeat(3, 1fr);
    }
    .apps-grid-partner {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* === PARTNER PAGE — Vereine Section === */
.partner-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #C0C0C0 20%, #C0C0C0 80%, transparent);
    margin: 48px 0 40px;
}
.vereine-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    max-width: 1000px;
    margin: 0 auto;
}
.verein-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 12px;
    border-radius: 12px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    transition: transform 0.2s, border-color 0.2s;
    text-decoration: none;
    color: inherit;
}
a.verein-card:hover {
    transform: translateY(-4px);
    border-color: rgba(126, 200, 227, 0.3);
}
a.verein-card:hover .verein-logo {
    filter: drop-shadow(0 0 12px var(--accent-glow));
}
.verein-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 12px;
    filter: drop-shadow(0 0 6px var(--accent-glow-soft));
}
.verein-logo-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent, #7EC8E3);
    margin-bottom: 12px;
    letter-spacing: 1px;
}
.verein-info h4 {
    font-size: 0.95rem;
    margin: 0 0 4px;
    color: #fff;
}
.verein-ort {
    font-size: 0.8rem;
    color: var(--text-muted, #888);
}
@media (max-width: 600px) {
    .vereine-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .verein-logo {
        width: 60px;
        height: 60px;
    }
}

/* WhatsApp per Kurs */
.wa-kurs-btn {
    display: inline-flex;
    align-items: center;
    margin-left: 8px;
    vertical-align: middle;
    opacity: 0.7;
    transition: opacity 0.2s;
}
.wa-kurs-btn:hover {
    opacity: 1;
}
.wa-kurs-icon {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(0.55) sepia(1) saturate(5) hue-rotate(100deg);
}
.wa-kurs-btn:hover .wa-kurs-icon {
    filter: brightness(0) invert(0.45) sepia(1) saturate(8) hue-rotate(100deg);
}

/* =====================================================
   ERNAEHRUNGS-APP CSS
   ===================================================== */

.food-summary-bar {
    display: flex;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
    gap: 0;
}
.food-summary-item {
    flex: 1;
    text-align: center;
    padding: 0 .5rem;
}
.food-summary-val {
    display: block;
    font-family: var(--mono);
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
}
.food-summary-label {
    font-family: var(--mono);
    font-size: .7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.food-water-card {
    background: linear-gradient(135deg, #0a1628, #122040);
    border-radius: 12px;
    padding: 1rem 1.2rem;
    margin-bottom: 1.5rem;
}
.water-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.15);
    background: transparent;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all .2s;
}
.water-btn:hover { background: rgba(255,255,255,.1); }
.water-btn-plus { border-color: var(--accent); color: var(--accent); }
.water-btn-plus:hover { background: rgba(126,200,227,.15); }
.water-bar-track {
    height: 6px;
    background: rgba(255,255,255,.08);
    border-radius: 3px;
    margin-top: .8rem;
    overflow: hidden;
}
.water-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #4fc3f7, #00b0ff);
    border-radius: 3px;
    transition: width .3s ease;
}

.food-meal-section {
    background: linear-gradient(135deg, #0d1b2a, #1b2838);
    border-radius: 12px;
    padding: 1.2rem;
    margin-bottom: 1rem;
}
.food-add-btn {
    font-family: var(--mono);
    font-size: .75rem;
    padding: .4rem .8rem;
    border: 1px solid var(--accent);
    border-radius: 6px;
    background: transparent;
    color: var(--accent);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: .5px;
    transition: all .2s;
}
.food-add-btn:hover { background: rgba(126,200,227,.12); }

.food-meal-card {
    background: rgba(255,255,255,.04);
    border-radius: 8px;
    padding: .8rem;
    margin-bottom: .5rem;
}
.food-item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .3rem 0;
    border-bottom: 1px solid rgba(255,255,255,.05);
}
.food-item-row:last-child { border-bottom: none; }
.food-item-name {
    font-family: var(--mono);
    font-size: .85rem;
    flex: 1;
}
.food-item-detail {
    font-family: var(--mono);
    font-size: .75rem;
    color: var(--text-muted);
    margin: 0 1rem;
}
.food-item-kcal {
    font-family: var(--mono);
    font-size: .8rem;
    color: var(--accent);
    min-width: 70px;
    text-align: right;
}
.food-delete-btn {
    background: none;
    border: none;
    color: rgba(255,100,100,.5);
    cursor: pointer;
    font-size: .8rem;
    padding: .2rem .5rem;
}
.food-delete-btn:hover { color: #ff4444; }

.food-form-panel {
    background: rgba(0,0,0,.3);
    border-radius: 10px;
    padding: 1rem;
    margin-top: .8rem;
}
.food-form-row {
    display: flex;
    gap: .5rem;
    margin-bottom: .5rem;
    align-items: center;
}
.food-select {
    flex: 1;
    font-family: var(--mono);
    font-size: .8rem;
    padding: .5rem;
    background: #0d1b2a;
    color: #fff;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 6px;
}
.food-input-small {
    width: 70px;
    font-family: var(--mono);
    font-size: .8rem;
    padding: .5rem;
    background: #0d1b2a;
    color: #fff;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 6px;
    text-align: center;
}
.food-input-tiny {
    width: 45px;
    font-family: var(--mono);
    font-size: .8rem;
    padding: .5rem;
    background: #0d1b2a;
    color: #fff;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 6px;
    text-align: center;
}
.food-add-row-btn {
    font-family: var(--mono);
    font-size: .75rem;
    padding: .4rem .8rem;
    border: 1px dashed rgba(255,255,255,.2);
    border-radius: 6px;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
}
.food-add-row-btn:hover { border-color: var(--accent); color: var(--accent); }
.food-save-btn {
    font-family: var(--mono);
    font-size: .8rem;
    padding: .5rem 1.5rem;
    border: none;
    border-radius: 6px;
    background: var(--accent);
    color: #000;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.food-save-btn:hover { opacity: .85; }

/* Food Library */
.food-input {
    width: 100%;
    font-family: var(--mono);
    font-size: .85rem;
    padding: .5rem .8rem;
    background: #0d1b2a;
    color: #fff;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 6px;
    box-sizing: border-box;
}
.food-label {
    font-family: var(--mono);
    font-size: .7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .5px;
    display: block;
    margin-bottom: .3rem;
}
.food-library-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: .8rem;
}
.food-lib-card {
    background: linear-gradient(135deg, #0d1b2a, #1b2838);
    border-radius: 10px;
    padding: .8rem 1rem;
}
.food-lib-name {
    font-family: var(--mono);
    font-size: .85rem;
}
.food-lib-custom {
    font-family: var(--mono);
    font-size: .6rem;
    color: var(--accent);
    background: rgba(126,200,227,.1);
    padding: .1rem .4rem;
    border-radius: 4px;
    margin-left: .4rem;
    text-transform: uppercase;
}
.food-lib-pkat {
    font-family: var(--mono);
    font-size: .6rem;
    padding: .15rem .5rem;
    border-radius: 4px;
    letter-spacing: .5px;
}
.food-pkat-hoch { background: rgba(255,107,107,.15); color: #ff6b6b; }
.food-pkat-mittel { background: rgba(255,217,61,.15); color: #ffd93d; }
.food-pkat-niedrig { background: rgba(255,255,255,.08); color: var(--text-muted); }
.food-lib-macros {
    display: flex;
    gap: .8rem;
    margin-top: .5rem;
    font-family: var(--mono);
    font-size: .75rem;
    color: var(--text-muted);
}

@media (max-width: 600px) {
    .food-summary-bar { padding: .6rem; }
    .food-summary-val { font-size: 1.1rem; }
    .food-form-row { flex-wrap: wrap; }
    .food-select { min-width: 100%; }
    .food-library-grid { grid-template-columns: 1fr; }
}

/* Login Button — same style as Partner */
.nav-btn-login-mobile { display: none; }
@media (max-width: 900px) {
    .nav-btn-login-mobile {
        display: block;
        border: 1px solid var(--accent);
        color: var(--accent);
        text-align: center;
        padding: 8px 16px;
        border-radius: 6px;
        margin-top: 8px;
    }
}

/* STICHES App Tile */
.app-card-stiches {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.stiches-tile-logo {
    filter: drop-shadow(0 0 6px var(--accent-glow-soft));
    transition: filter 0.3s;
}
.app-card-stiches:hover .stiches-tile-logo {
    filter: drop-shadow(0 0 10px var(--accent-glow));
}
.stitch-shop-wrap {
    position: relative;
    margin-top: 4px;
    margin-bottom: 4px;
}
.stitch-shop-btn {
    display: inline-block;
    font-family: var(--mono);
    font-size: 0.65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #999;
    border: 1px dashed #555;
    padding: 5px 14px;
    border-radius: 4px;
    transition: all 0.3s;
    position: relative;
}
.app-card-stiches:hover .stitch-shop-btn {
    border-color: var(--accent);
    color: var(--accent);
    border-style: solid;
}
/* Needle orbiting the Shop button */
.needle-orbit {
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    pointer-events: none;
}
.needle-orbit-dot {
    position: absolute;
    width: 2px;
    height: 24px;
    background: linear-gradient(to bottom, #d0d0d0 0%, #a0a0a0 60%, #666 100%);
    border-radius: 0 0 1px 1px;
    animation: needle-around 4s linear infinite, needle-vibe 0.15s ease-in-out infinite;
}
/* Schlitz oben (6x hoeher als breit) */
.needle-orbit-dot::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 1.5px;
    height: 9px;
    background: #888;
    border-radius: 1px;
}
/* Spitze unten */
.needle-orbit-dot::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 1.5px solid transparent;
    border-right: 1.5px solid transparent;
    border-top: 5px solid #666;
}
@keyframes needle-around {
    0%   { top: -24px; left: 0; }
    25%  { top: -24px; left: calc(100% - 2px); }
    50%  { top: calc(100% - 24px); left: calc(100% - 2px); }
    75%  { top: calc(100% - 24px); left: 0; }
    100% { top: -24px; left: 0; }
}
@keyframes needle-vibe {
    0%, 100% { margin-top: 0; }
    50%      { margin-top: -3px; }
}
/* Thread trail stitching around the button */
.needle-orbit-thread {
    position: absolute;
    inset: 0;
    border: 1px dashed rgba(192, 192, 192, 0.3);
    border-radius: 4px;
    animation: stitch-appear 4s linear infinite;
}
@keyframes stitch-appear {
    0% { clip-path: inset(0 100% 100% 0); border-color: rgba(192,192,192,0.1); }
    25% { clip-path: inset(0 0 100% 0); border-color: rgba(192,192,192,0.3); }
    50% { clip-path: inset(0 0 0 0); border-color: rgba(192,192,192,0.4); }
    75% { clip-path: inset(0 0 0 0); border-color: rgba(192,192,192,0.3); }
    100% { clip-path: inset(0 100% 100% 0); border-color: rgba(192,192,192,0.1); }
}

/* Chat Channels Section */
.chat-channels {
    max-width: 720px;
    margin: 0 auto;
    padding: 48px 20px;
}
.chat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
}
.channel-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text);
    transition: border-color 0.2s, transform 0.2s;
}
.channel-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}
.channel-card-locked {
    opacity: 0.5;
    cursor: default;
}
.channel-card-locked:hover {
    border-color: var(--card-border);
    transform: none;
}
.channel-logo {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    object-fit: contain;
}
@media (max-width: 560px) {
    .channel-logo { width: 44px; height: 44px; }
}
.channel-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.channel-name {
    font-weight: 600;
    font-size: 0.95rem;
}
.channel-desc {
    font-size: 0.78rem;
    color: var(--text-muted);
}
.channel-badge {
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: 20px;
    background: #25D36620;
    color: #25D366;
    border: 1px solid #25D36640;
    white-space: nowrap;
    text-decoration: none;
}
.channel-badge-spond {
    background: #F4573B20;
    color: #F4573B;
    border-color: #F4573B40;
}
.channel-badge-locked {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.75rem;
    padding: 6px 16px;
    border-radius: 6px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-family: var(--mono);
    transition: background 0.2s, color 0.2s;
}
.channel-badge-locked:hover {
    background: var(--accent);
    color: var(--bg);
}
.channel-hint {
    margin-top: 16px;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
    font-style: italic;
}
@media (max-width: 600px) {
    .chat-grid {
        grid-template-columns: 1fr;
    }
}

/* YouTube Shorts in Video Grid */
.video-card-short {
    aspect-ratio: 9 / 16;
    max-width: 280px;
    margin: 0 auto;
}

/* YouTube Background Video */
.yt-bg-wrap {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}
.yt-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 180vw;
    height: 180vh;
    transform: translate(-50%, -50%);
    opacity: 0.1;
    pointer-events: none;
    border: none;
}

/* Kurs-Absage Banderole (7 Tage sichtbar nach Absage) */
.kurs-card {
    position: relative;
}
.kurs-card-abgesagt {
    opacity: 0.7;
    filter: grayscale(0.35);
}
.kurs-abgesagt-banderole {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #d32f2f;
    color: #fff;
    padding: 6px 14px;
    border-radius: 6px;
    font-family: var(--mono, 'JetBrains Mono', monospace);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(211, 47, 47, 0.45);
    transform: rotate(3deg);
    pointer-events: none;
    white-space: nowrap;
}

