/* ==========================================================================
   The Chemistry of WOW - Modern Clean Science Theme (Light Academic)
   Gefördert durch EMTO GmbH
   ========================================================================== */

:root {
    --bg-dark: #f8fafc;
    --bg-surface: #ffffff;
    --bg-surface-elevated: #f1f5f9;
    --bg-surface-hover: #e2e8f0;
    
    --border-subtle: #e2e8f0;
    --border-strong: #cbd5e1;
    --border-glow: rgba(2, 132, 199, 0.25);
    
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    
    --accent-cyan: #0284c7;
    --accent-blue: #2563eb;
    --accent-purple: #7c3aed;
    --accent-fire: #ea580c;
    --accent-gold: #d97706;
    --accent-emerald: #059669;
    --accent-danger: #dc2626;
    
    --emto-primary: #182B49;
    --emto-cyan: #127886;
    --emto-accent: #0284c7;
    
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.08);
    --shadow-glow: 0 0 20px rgba(2, 132, 199, 0.15);
    
    --font-main: Arial, Helvetica, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

/* Reset & Base */
html {
    scroll-behavior: smooth;
}
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    font-size: 15px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: var(--accent-cyan);
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}
a:hover {
    color: #0369a1;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   Header & Topbar
   ========================================================================== */

.top-sponsor-bar {
    background: #f8fafc;
    border-bottom: 1px solid var(--border-subtle);
    padding: 6px 0;
    font-size: 12.5px;
    color: var(--text-secondary);
}
.sponsor-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.sponsor-info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    flex: 1;
    min-width: 0;
}
.top-bar-right {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.btn-top-lang {
    background: #ffffff;
    border: 1px solid var(--border-strong);
    color: var(--text-primary);
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: 11.5px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    line-height: 1.3;
    transition: all 0.2s ease;
    white-space: nowrap;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.btn-top-lang:hover {
    background: #f0f9ff;
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.15);
}
.btn-top-lang i {
    font-size: 12px;
    color: var(--accent-cyan);
}
.badge-subtle {
    background: #e0f2fe;
    color: #0369a1;
    border: 1px solid #bae6fd;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-weight: 600;
    margin-right: 8px;
}
.top-link {
    color: var(--accent-cyan);
    font-weight: 600;
}
.top-link:hover {
    text-decoration: underline;
}

.site-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-subtle);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-primary);
}
.site-logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    border-radius: var(--radius-sm);
    transition: transform 0.25s ease, filter 0.25s ease;
}
.site-logo:hover .site-logo-img {
    transform: scale(1.08) rotate(-2deg);
    filter: drop-shadow(0 4px 12px rgba(2, 132, 199, 0.3));
}
.footer-logo-img {
    height: 32px;
    width: auto;
    object-fit: contain;
    border-radius: 4px;
    vertical-align: middle;
}
.protected-email {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}
.protected-email:hover {
    color: var(--accent-purple) !important;
}
.logo-icon-wrapper {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.12), rgba(124, 58, 237, 0.12));
    border: 1.5px solid var(--accent-cyan);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--accent-cyan);
    box-shadow: 0 2px 8px rgba(2, 132, 199, 0.15);
}
.logo-title {
    font-weight: 800;
    font-size: 20px;
    letter-spacing: -0.5px;
    display: block;
    color: #0f172a;
}
.logo-title .text-glow {
    background: linear-gradient(90deg, #0284c7, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.logo-subtitle {
    font-size: 11px;
    color: var(--text-muted);
    display: block;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 18px;
}
.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}
.nav-link:hover {
    color: var(--text-primary);
    background: var(--bg-surface-elevated);
}
.nav-link.active {
    color: var(--accent-cyan);
    background: #e0f2fe;
    font-weight: 600;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.lmu-header-link {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
    line-height: 1;
}
.lmu-header-logo {
    height: 46px;
    width: auto;
    max-height: 50px;
    max-width: 115px;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
    aspect-ratio: 1841 / 872;
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.lmu-header-link:hover .lmu-header-logo {
    transform: scale(1.05);
    opacity: 0.95;
}

.btn-lang-switch {
    background: #ffffff;
    border: 1px solid var(--border-strong);
    color: var(--accent-cyan);
    padding: 7px 14px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
}
.btn-lang-switch:hover {
    background: var(--accent-cyan);
    border-color: var(--accent-cyan);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 28px;
    cursor: pointer;
}

/* ==========================================================================
   Buttons & Badges
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}
.btn-primary {
    background: linear-gradient(135deg, #0284c7, #0369a1);
    color: #fff;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.25);
}
.btn-primary:hover {
    background: linear-gradient(135deg, #0369a1, #075985);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(2, 132, 199, 0.35);
}
.btn-secondary {
    background: #ffffff;
    color: var(--text-primary);
    border: 1px solid var(--border-strong);
    box-shadow: var(--shadow-sm);
}
.btn-secondary:hover {
    background: var(--bg-surface-elevated);
    border-color: #94a3b8;
}
.btn-emto {
    background: linear-gradient(135deg, var(--emto-primary), var(--emto-cyan));
    color: #fff;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(24, 43, 73, 0.25);
}
.btn-emto:hover {
    color: #fff;
    box-shadow: 0 6px 20px rgba(18, 120, 134, 0.35);
    transform: translateY(-1px);
}
.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
}
.badge-danger-1 { background: #ecfdf5; color: #059669; border: 1px solid #a7f3d0; }
.badge-danger-2 { background: #eff6ff; color: #2563eb; border: 1px solid #bfdbfe; }
.badge-danger-3 { background: #fffbeb; color: #d97706; border: 1px solid #fde68a; }
.badge-danger-4 { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }
.badge-danger-5 { background: #faf5ff; color: #7c3aed; border: 1px solid #e9d5ff; }

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
    padding: 56px 0 36px;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 50% 10%, rgba(2, 132, 199, 0.06) 0%, #f8fafc 70%);
}
.hero-content {
    text-align: center;
    max-width: 860px;
    margin: 0 auto;
}
.hero-badge-wrap {
    margin-bottom: 18px;
}
.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #e0f2fe;
    border: 1px solid #bae6fd;
    color: #0369a1;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
}
.hero-title {
    font-size: 46px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 18px;
    color: #0f172a;
}
.hero-title .highlight {
    background: linear-gradient(135deg, #0284c7 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-lead {
    font-size: 17.5px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 28px;
}

/* Search & Filter Card */
.search-filter-card {
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 16px;
    box-shadow: var(--shadow-md);
    margin-top: 10px;
}
.search-form {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1fr auto;
    gap: 12px;
    align-items: center;
}
.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}
.input-with-icon i {
    position: absolute;
    left: 14px;
    color: var(--text-muted);
    font-size: 18px;
}
.form-control {
    width: 100%;
    background: #f8fafc;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-md);
    padding: 12px 14px 12px 40px;
    color: #0f172a;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.2s ease;
}
.form-control:focus {
    outline: none;
    background: #ffffff;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}
select.form-control {
    padding-left: 14px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    cursor: pointer;
}

/* ==========================================================================
   Experiment Cards Grid
   Desktop: 3 Nebeneinander
   Mobile: Untereinander (1-Spaltig)
   ========================================================================== */

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 24px;
}
.section-title {
    font-size: 26px;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 10px;
}
.section-subtitle {
    font-size: 14.5px;
    color: var(--text-secondary);
    margin-top: 4px;
}

.experiments-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 50px;
}
@media (max-width: 1100px) {
    .experiments-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .experiments-grid {
        grid-template-columns: 1fr;
    }
}

a.exp-card,
.exp-card {
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.25s ease;
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}
a.exp-card:hover,
.exp-card:hover {
    transform: translateY(-4px);
    border-color: #38bdf8;
    box-shadow: 0 14px 34px rgba(2, 132, 199, 0.14);
}
.exp-card:hover .exp-card-title {
    color: var(--accent-cyan);
}

.exp-card-media {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #e2e8f0;
}
.exp-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.exp-card:hover .exp-card-img {
    transform: scale(1.05);
}
.exp-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(15, 23, 42, 0.55) 100%);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 14px;
}
.exp-category-badge {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-subtle);
    color: #0369a1;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.exp-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.exp-card-title {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
    line-height: 1.3;
}
.exp-card-desc {
    color: var(--text-secondary);
    font-size: 13.5px;
    line-height: 1.55;
    margin-bottom: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.exp-card-footer {
    border-top: 1px solid var(--border-subtle);
    padding-top: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12.5px;
}
.exp-view-link {
    color: var(--accent-cyan);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
}
.exp-card:hover .exp-view-link {
    color: #0369a1;
    gap: 7px;
}
.exp-view-link i {
    transition: transform 0.2s ease;
}
.exp-card:hover .exp-view-link i {
    transform: translateX(3px);
}

/* ==========================================================================
   Content Blocks (Didaktik, Sicherheit & Details)
   ========================================================================== */

.content-block {
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
}
.content-block-title {
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: #0f172a;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 12px;
}
.content-block-title i {
    color: var(--accent-cyan);
    font-size: 22px;
}

/* ==========================================================================
   Experiment Detail View
   ========================================================================== */

.exp-detail-header {
    padding: 36px 0 20px;
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: 30px;
}
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 14px;
}
.breadcrumb a {
    color: var(--text-secondary);
}
.breadcrumb a:hover {
    color: var(--accent-cyan);
}
.exp-detail-title {
    font-size: 38px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.5px;
    margin-bottom: 10px;
}
.exp-meta-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    margin-top: 14px;
}

.exp-detail-grid {
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    gap: 32px;
    margin-bottom: 60px;
}
.exp-main-col {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

/* Step-by-Step Procedure */
.procedure-list {
    list-style: none;
    counter-reset: proc-step;
}
.procedure-item {
    position: relative;
    padding-left: 48px;
    margin-bottom: 20px;
    line-height: 1.65;
    color: #334155;
}
.procedure-item::before {
    counter-increment: proc-step;
    content: counter(proc-step);
    position: absolute;
    left: 0;
    top: 0;
    width: 32px;
    height: 32px;
    background: #e0f2fe;
    border: 1.5px solid var(--accent-cyan);
    color: var(--accent-cyan);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

/* Observation Box */
.observation-box {
    background: #f0fdf4;
    border-left: 4px solid #10b981;
    padding: 16px 20px;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin-bottom: 16px;
    color: #064e3b;
    line-height: 1.6;
}
.observation-box strong {
    color: #047857;
}

/* Theory & Equations */
.theory-content {
    line-height: 1.7;
    color: var(--text-secondary);
}
.theory-content p {
    margin-bottom: 14px;
}

/* Sidebar Box */
.exp-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.sidebar-card {
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}
.sidebar-card h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #0f172a;
}

.checklist {
    list-style: none;
}
.checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 13.5px;
    color: #334155;
}
.checklist-item:last-child {
    border-bottom: none;
}
.checklist-item i {
    color: var(--accent-cyan);
    margin-top: 3px;
    font-size: 16px;
}

/* GHS Row */
.ghs-icon-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}
.ghs-item {
    background: #f8fafc;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 8px;
    text-align: center;
    width: 80px;
}
.ghs-img {
    width: 46px;
    height: 46px;
    object-fit: contain;
    margin: 0 auto 4px;
}
.ghs-item span {
    font-size: 10px;
    color: var(--text-muted);
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ==========================================================================
   GHS Overview Grid (Exakt 2 Reihen à 4 Symbole Desktop, 1 Spalte Handy)
   ========================================================================== */
.ghs-overview-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 16px;
    margin-top: 20px;
    margin-bottom: 20px;
}
.ghs-card {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
}
.ghs-card:hover {
    transform: translateY(-2px);
    border-color: #38bdf8;
    box-shadow: 0 6px 18px rgba(2, 132, 199, 0.1);
}
.ghs-card-top {
    display: flex;
    align-items: center;
    gap: 12px;
}
.ghs-card-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    flex-shrink: 0;
}
.ghs-card-top-text {
    flex: 1;
    min-width: 0;
}
.ghs-card-code {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 2px;
}
.ghs-card-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    line-height: 1.25;
}
.ghs-card-desc {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* Smartphone / Handy: Alles untereinander (1 Spalte) */
@media (max-width: 768px) {
    .ghs-overview-grid {
        grid-template-columns: 1fr !important; /* Auf dem Smartphone / Handy alles untereinander */
        gap: 12px !important;
    }
    .ghs-card {
        padding: 14px;
        gap: 14px;
        flex-direction: row;
        align-items: flex-start;
    }
    .ghs-card-img {
        width: 46px;
        height: 46px;
        flex-shrink: 0;
    }
    .ghs-card-content {
        flex: 1;
        min-width: 0;
    }
}

/* ==========================================================================
   EMTO GmbH Sponsoring Banner (Unter den Versuchen)
   ========================================================================== */

.emto-feature-banner {
    background: linear-gradient(135deg, #f8fafc 0%, #f0f9ff 50%, #faf5ff 100%);
    border: 1.5px solid #bae6fd;
    border-radius: var(--radius-lg);
    padding: 32px;
    margin: 40px 0;
    position: relative;
    box-shadow: 0 10px 30px rgba(2, 132, 199, 0.08);
}
.emto-grid {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 32px;
    align-items: center;
}
.emto-logo {
    max-height: 90px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.08));
}
.emto-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #e0f2fe;
    border: 1px solid #bae6fd;
    color: #0369a1;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 12px;
}
.emto-col-text h3 {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
}
.emto-col-text p {
    color: var(--text-secondary);
    font-size: 14.5px;
    line-height: 1.6;
    margin-bottom: 20px;
}
.emto-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.emto-note {
    font-size: 12.5px;
    color: var(--text-muted);
}

.emto-compact-banner {
    background: #ffffff;
    border: 1px solid #bae6fd;
    border-radius: var(--radius-md);
    padding: 12px 18px;
    margin: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-sm);
}
.emto-pill {
    background: #0284c7;
    color: #fff;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
    margin-right: 6px;
}
.emto-btn {
    background: var(--emto-primary);
    color: #fff;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
}
.emto-btn:hover {
    color: #fff;
    background: var(--emto-cyan);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    background: #f1f5f9;
    border-top: 1px solid var(--border-subtle);
    padding: 48px 0 24px;
    margin-top: auto;
}
.footer-grid {
    display: grid;
    gap: 32px;
}
.footer-logo {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 10px;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
}
.footer-logo i {
    color: var(--accent-cyan);
}
.footer-text {
    font-size: 13.5px;
    color: var(--text-secondary);
    line-height: 1.6;
}
.footer-col h5 {
    font-size: 13.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
    color: #0f172a;
}
.footer-links {
    list-style: none;
}
.footer-links li {
    margin-bottom: 8px;
}
.footer-links a {
    color: var(--text-secondary);
    font-size: 13.5px;
    transition: color 0.2s;
}
.footer-links a:hover {
    color: var(--accent-cyan);
}

.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--text-muted);
}
.footer-legal {
    display: flex;
    gap: 10px;
    align-items: center;
}
.footer-legal a {
    color: var(--text-muted);
}
.footer-legal a:hover {
    color: var(--accent-cyan);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 992px) {
    .exp-detail-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .search-form {
        grid-template-columns: 1fr 1fr;
    }
    .emto-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .emto-logo {
        margin: 0 auto;
    }
    .emto-actions {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hide-mobile {
        display: none;
    }
    
    /* Top Sponsor Bar Mobile Fix */
    .sponsor-tagline {
        display: none !important;
    }
    .top-sponsor-bar {
        padding: 5px 0;
    }
    .sponsor-bar-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        flex-wrap: nowrap;
    }
    .sponsor-info {
        font-size: 11.5px;
        line-height: 1.25;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        flex: 1;
        min-width: 0;
    }
    .top-bar-right {
        flex-shrink: 0;
    }
    .btn-top-lang {
        font-size: 11px;
        padding: 2.5px 8px;
        gap: 4px;
        flex-shrink: 0;
    }

    /* Main Header Mobile Fix */
    .header-container {
        height: 60px;
    }
    .site-logo {
        gap: 8px;
        min-width: 0;
    }
    .site-logo-img {
        height: 38px;
        width: auto;
        flex-shrink: 0;
    }
    .logo-text {
        min-width: 0;
    }
    .logo-title {
        font-size: 17px;
        white-space: nowrap;
        line-height: 1.2;
    }
    .logo-subtitle {
        display: none; /* Verhindert hässliche Zeilenumbrüche in der mobilen Kopfleiste */
    }
    .header-actions {
        gap: 10px;
        flex-shrink: 0;
        align-items: center;
    }
    .lmu-header-logo {
        height: 32px;
        width: auto;
        max-width: 72px;
        flex-shrink: 0;
        object-fit: contain;
        aspect-ratio: 1841 / 872;
    }
    .mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 26px;
        padding: 4px;
        line-height: 1;
        flex-shrink: 0;
    }
    .main-nav {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: #ffffff;
        border-bottom: 1px solid var(--border-subtle);
        flex-direction: column;
        padding: 16px 20px;
        gap: 12px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.06);
    }
    .main-nav.open {
        display: flex;
    }

    .hero-title {
        font-size: 32px;
    }
    .search-form {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .header-container {
        height: 56px;
    }
    .site-logo-img {
        height: 34px;
    }
    .logo-title {
        font-size: 15px;
    }
    .lmu-header-logo {
        height: 28px;
        width: auto;
        max-width: 60px;
    }
    .header-actions {
        gap: 8px;
    }
    .mobile-toggle {
        font-size: 24px;
    }
    .main-nav {
        top: 56px;
    }
    .btn-top-lang {
        font-size: 10px;
        padding: 2px 6px;
    }
    .sponsor-info {
        font-size: 10.5px;
    }
    .badge-subtle {
        font-size: 10px;
        padding: 1px 5px;
    }
    .breadcrumb {
        font-size: 12px;
        gap: 4px;
        flex-wrap: wrap;
    }
    .exp-detail-title {
        font-size: 24px;
        line-height: 1.25;
    }
}

/* ==========================================================================
   Responsive Video Embeds & Media Switcher
   ========================================================================== */
.badge-video {
    background: rgba(220, 38, 38, 0.9);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 9999px;
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 6px rgba(220, 38, 38, 0.3);
}

.exp-media-section {
    margin-bottom: 24px;
}

.exp-media-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.exp-media-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: var(--radius-md);
    font-size: 13.5px;
    font-weight: 600;
    font-family: var(--font-main);
    background: #ffffff;
    color: var(--text-secondary);
    border: 1.5px solid var(--border-subtle);
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.exp-media-tab-btn:hover {
    color: var(--accent-blue);
    border-color: var(--accent-blue);
    background: #f8fafc;
}

.exp-media-tab-btn.active {
    background: var(--accent-blue);
    color: #ffffff;
    border-color: var(--accent-blue);
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}

.exp-video-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.exp-video-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    background: #f8fafc;
    border-bottom: 1px solid var(--border-subtle);
    flex-wrap: wrap;
    gap: 10px;
}

.exp-video-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14.5px;
    font-weight: 700;
    color: #0f172a;
}

.video-channel-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    background: rgba(239, 68, 68, 0.08);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-radius: 9999px;
}

.exp-video-player-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 ratio */
    height: 0;
    background: #090d16;
}

.exp-video-player-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.exp-video-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    background: #f8fafc;
    border-top: 1px solid var(--border-subtle);
    flex-wrap: wrap;
    gap: 10px;
}

