:root {
    --bg-main: #F3F2EF;
    --card-bg: #FAF8F2;
    --text-main: #1E4349;
    --text-muted: #5a7b80;
    --primary: #1E4349;
    --primary-hover: #132d31;
    --accent: #F9A077;
    --accent-light: #fdecdb;
    --border: #d6e0e2;
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Geist', sans-serif; }
html { scroll-behavior: smooth; }

body {
    background-color: transparent;
    color: var(--text-main);
    overflow-x: hidden;
}

h1, h2, h3, .nav-brand { font-family: 'Fraunces', serif; color: var(--text-main); }
.accent-text { color: var(--accent); }

/* ==========================================================================
   AMBIENT AURORA BACKGROUND
   ========================================================================== */
.global-bg {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background-color: var(--bg-main);
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.aurora-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.65;
    animation: aurora-flow 25s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.aurora-1 {
    top: -15%; left: -10%;
    width: 65vw; height: 65vw;
    background: radial-gradient(circle, rgba(249, 160, 119, 0.45) 0%, transparent 70%);
    animation-duration: 28s;
}

.aurora-2 {
    bottom: -20%; right: -10%;
    width: 75vw; height: 75vw;
    background: radial-gradient(circle, rgba(109, 191, 150, 0.25) 0%, transparent 70%);
    animation-duration: 34s;
    animation-direction: alternate-reverse;
}

.aurora-3 {
    top: 20%; left: 30%;
    width: 55vw; height: 55vw;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, transparent 70%);
    animation-duration: 22s;
}

@keyframes aurora-flow {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(6vw, 8vh) scale(1.05); }
    66% { transform: translate(-4vw, 4vh) scale(0.95); }
    100% { transform: translate(8vw, -6vh) scale(1.08); }
}

/* ==========================================================================
   GLASSMORPHISM
   ========================================================================== */
.glass-card {
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 12px 40px rgba(30, 67, 73, 0.05);
}

/* Navigation */
.navbar { position: fixed; top: 0; width: 100%; padding: 20px 5%; display: flex; justify-content: space-between; align-items: center; background-color: rgba(243, 242, 239, 0.7); backdrop-filter: blur(20px); border-bottom: 1px solid rgba(255, 255, 255, 0.5); z-index: 1000; }
/* Mobile Profil-Button (auf dem PC unsichtbar) */
.mobile-home-btn { display: none; }

/* Navigation */
.nav-brand { display: flex; align-items: center; gap: 12px; font-size: 1.7rem; letter-spacing: -0.02em; text-decoration: none; }
.brand-icon { height: 32px; width: auto; object-fit: contain; }
.brand-text-dark { font-family: 'Fraunces', serif; color: var(--primary); font-weight: 900; }
.brand-text-light { font-family: 'Fraunces', serif; color: var(--accent); font-weight: 300; font-style: italic; }

/* Banner */
.announcement-banner { position: fixed; top: 83px; left: 0; width: 100%; background-color: var(--primary); padding: 12px 5%; display: flex; align-items: center; justify-content: center; gap: 16px; z-index: 900; border-bottom: 3px solid var(--accent); padding-right: 40px; }
.badge-new { background-color: var(--accent); color: var(--primary); padding: 4px 10px; border-radius: 6px; font-weight: 800; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; }
.announcement-text { font-size: 0.95rem; font-weight: 500; color: rgba(255, 255, 255, 0.9); }
.announcement-link { color: var(--accent); font-weight: 700; text-decoration: none; font-size: 0.95rem; transition: opacity 0.2s ease; }
.announcement-link:hover { opacity: 0.8; text-decoration: underline; }
.close-banner { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); background: transparent; border: none; color: rgba(255, 255, 255, 0.6); font-size: 1.5rem; cursor: pointer; transition: color 0.2s; display: flex; align-items: center; justify-content: center; }
.close-banner:hover { color: white; }

.nav-links { display: flex; align-items: center; }
.nav-links a { display: flex; align-items: center; gap: 6px; text-decoration: none; color: var(--text-muted); font-weight: 500; margin-left: 32px; transition: color 0.2s; }
.nav-links a:hover { color: var(--primary); }

.nav-dropdown { position: relative; margin-left: 32px; display: flex; align-items: center; cursor: pointer; padding: 10px 0; }
.nav-dropdown-btn { color: var(--text-muted); font-weight: 500; display: flex; align-items: center; gap: 6px; transition: color 0.2s; }
.nav-dropdown.active .nav-dropdown-btn { color: var(--primary); }
.nav-dropdown-content { position: absolute; top: 100%; right: 0; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, 0.8); border-radius: 12px; box-shadow: 0 10px 40px rgba(30, 67, 73, 0.08); padding: 8px 0; min-width: 240px; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all 0.2s ease; z-index: 1000; }
.nav-dropdown.active .nav-dropdown-content { opacity: 1; visibility: visible; transform: translateY(0); }
/* Dynamisches Pinning System */
#pinned-items { display: flex; align-items: center; }
.nav-item-wrapper { display: flex; align-items: center; position: relative; }
.pin-toggle-btn { background: transparent; border: none; cursor: pointer; transition: opacity 0.2s, transform 0.2s; display: flex; align-items: center; justify-content: center; }
.pin-toggle-btn:hover { transform: scale(1.1); }

/* Wrapper-Styling im Dropdown */
.nav-dropdown-content .nav-item-wrapper { width: 100%; border-radius: 0; }
.nav-dropdown-content .nav-item-wrapper a { flex: 1; margin: 0; padding: 12px 36px 12px 20px; color: var(--text-main); font-size: 0.95rem; text-decoration: none; display: block; }
.nav-dropdown-content .nav-item-wrapper:hover { background: rgba(249, 160, 119, 0.1); }
.nav-dropdown-content .nav-item-wrapper:hover a { color: var(--primary); }
.nav-dropdown-content .pin-toggle-btn { position: absolute; right: 12px; opacity: 0.3; padding: 4px; }
.nav-dropdown-content .nav-item-wrapper:hover .pin-toggle-btn { opacity: 1; }

/* Wrapper-Styling angepinnt (in der Navbar) */
#pinned-items .nav-item-wrapper { margin-left: 32px; }
#pinned-items .nav-item-wrapper a { display: flex; align-items: center; text-decoration: none; color: var(--text-muted); font-weight: 500; transition: color 0.2s; }
#pinned-items .nav-item-wrapper a:hover { color: var(--primary); }
#pinned-items .pin-toggle-btn { margin-left: 6px; opacity: 0; visibility: hidden; font-size: 0.8rem; padding: 2px; transition: opacity 0.2s ease, visibility 0.2s ease; }
/* Edit Mode: "✕" wird nur angezeigt, wenn das Menü ausgefahren ist */
/* Wrapper-Styling angepinnt */
#pinned-items .nav-item-wrapper { margin-left: 32px; white-space: nowrap; position: relative; }
#pinned-items .nav-item-wrapper a { margin-left: 0; display: flex; align-items: center; text-decoration: none; color: var(--text-muted); font-weight: 500; transition: color 0.2s; }
#pinned-items .nav-item-wrapper a:hover { color: var(--primary); }

/* Edit Mode Logik: "✕" existiert nur, wenn das Menü aktiv angeklickt wurde */
#pinned-items .pin-toggle-btn { position: absolute; right: -18px; opacity: 0; visibility: hidden; font-size: 0.8rem; padding: 2px; transition: opacity 0.2s, transform 0.2s; pointer-events: none; }
#pinned-items.edit-mode .pin-toggle-btn { opacity: 0.5; visibility: visible; pointer-events: auto; }
#pinned-items.edit-mode .pin-toggle-btn:hover { opacity: 1; color: var(--accent); transform: scale(1.2); }

/* Platzhalter, falls das Dropdown leer ist */
.nav-dropdown-content:empty::after {
    content: "Alle Elemente angepinnt";
    display: block;
    padding: 16px 20px;
    color: var(--text-muted);
    font-size: 0.85rem;
    text-align: center;
    font-style: italic;
    opacity: 0.7;
}

/* Platzhalter, falls das Dropdown leer ist (verhindert das Verschwinden des Menüs) */
.nav-dropdown-content:empty::after {
    content: "Alle Elemente angepinnt";
    display: block;
    padding: 16px 20px;
    color: var(--text-muted);
    font-size: 0.85rem;
    text-align: center;
    font-style: italic;
    opacity: 0.7;
}

/* Buttons */
button { font-family: 'Geist', sans-serif; border-radius: 50px; padding: 16px 32px; font-size: 1rem; font-weight: 600; cursor: pointer; transition: all 0.2s ease; border: none; }
.btn-primary { background-color: var(--primary); color: #ffffff; }
.btn-primary:hover { background-color: var(--primary-hover); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(30, 67, 73, 0.15); }
.btn-beige { background-color: rgba(255,255,255,0.8); color: var(--text-main); border: 1px solid var(--border); backdrop-filter: blur(10px); }
.btn-beige:hover { background-color: #ffffff; border-color: var(--text-muted); transform: translateY(-2px); }
.btn-text { background-color: transparent; color: var(--text-muted); box-shadow: none; padding: 16px 0; }
.btn-text:hover { color: var(--primary); }

/* Deaktivierte Buttons (z. B. "Vorerst überspringen" während des Countdowns):
   nicht drückbar und klar erkennbar. */
button:disabled { cursor: not-allowed; opacity: 0.5; pointer-events: none; }
.btn-text:disabled:hover { color: var(--text-muted); }

/* Klassen für die flüssige Scroll-Animation */
.scroll-parallax { will-change: transform; }

/* 1. HERO */
.hero { min-height: 100vh; display: flex; align-items: center; padding: 160px 5% 60px 5%; position: relative; }
.hero.no-banner { padding-top: 120px; }
.hero-content { display: flex; max-width: 1250px; margin: 0 auto; gap: 60px; align-items: center; width: 100%; }
.hero-text { flex: 1; }
.hero-headline { font-size: 3.4rem; font-weight: 800; line-height: 1.15; margin-bottom: 24px; letter-spacing: -0.02em; color: var(--primary); }
.hero-subtext { font-size: 1.15rem; line-height: 1.6; color: var(--text-muted); margin-bottom: 40px; max-width: 520px; }
.hero-actions { display: flex; align-items: center; gap: 16px; }

.hero-metrics { display: flex; align-items: center; gap: 20px; margin-top: 48px; padding-top: 32px; border-top: 1px solid rgba(30,67,73,0.1); max-width: 100%; }
.metric-item { font-size: 0.85rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; }
.metric-item strong { display: block; font-family: 'Fraunces', serif; font-size: 1.6rem; color: var(--primary); margin-bottom: 4px; text-transform: none; letter-spacing: normal; }
.metric-divider { width: 1px; height: 40px; background-color: rgba(30,67,73,0.1); }

/* Hero Dashboard Card (Milchglas) */
.hero-visual { flex: 1; position: relative; height: 500px; display: flex; justify-content: flex-end; align-items: center; }
.dash-hero-card { background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(24px); border: 1px solid rgba(255, 255, 255, 0.9); border-radius: 24px; padding: 32px; width: 100%; max-width: 460px; box-shadow: 0 20px 50px -12px rgba(30, 67, 73, 0.08); z-index: 10; }
.dhc-header h3 { font-size: 1.4rem; margin-bottom: 24px; }
.dhc-progress-meta { display: flex; justify-content: space-between; font-size: 0.9rem; font-weight: 700; margin-bottom: 8px; color: var(--text-main); }
.dhc-bar { width: 100%; height: 10px; background: rgba(30, 67, 73, 0.08); border-radius: 50px; overflow: hidden; margin-bottom: 24px; }
.dhc-fill { height: 100%; background: linear-gradient(90deg, var(--accent), #fbb389); border-radius: 50px; transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1); }
.dhc-dots { display: flex; gap: 20px; font-size: 0.8rem; color: var(--text-muted); font-weight: 600; }
.dhc-dot-item { display: flex; align-items: center; gap: 6px; }
.dhc-dot-item .dot { width: 8px; height: 8px; border-radius: 50%; }

.dhc-float { position: absolute; background: rgba(255, 255, 255, 0.75); border: 1px solid rgba(255,255,255,0.9); backdrop-filter: blur(16px); border-radius: 16px; padding: 12px 20px; display: flex; align-items: center; gap: 12px; box-shadow: 0 10px 25px rgba(30, 67, 73, 0.05); z-index: 20; }
.dhc-float-top { top: 15%; right: -5%; }
.dhc-float-bottom { bottom: 20%; left: -5%; }
.dhc-float-icon { font-size: 1.8rem; }
.dhc-float-lbl { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 800; color: var(--text-muted); }
.dhc-float-val { font-family: 'Fraunces', serif; font-size: 1.2rem; font-weight: 800; color: var(--text-main); }

/* Scroll-Indikator */
.scroll-hint { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 12px; font-size: 0.9rem; font-weight: 600; color: var(--text-muted); opacity: 1; transition: opacity 0.3s ease, color 0.2s ease; z-index: 10; cursor: pointer; }
.scroll-hint:hover { color: var(--primary); }
.scroll-hint svg { width: 18px; height: 18px; animation: bounce-y 2s infinite ease-in-out; }
@keyframes bounce-y { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ALLGEMEINE SEKTIONEN */
.section { padding: 80px 5%; max-width: 1250px; margin: 0 auto; position: relative; z-index: 10; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 2.5rem; margin-bottom: 16px; }
.section-header p { color: var(--text-muted); font-size: 1.1rem; max-width: 600px; margin: 0 auto; line-height: 1.5; }

/* 2. SKILLTREE PROMO (Glass Card) */
.st-promo-container {
    display: flex;
    align-items: center;
    gap: 60px;
    border-radius: 32px;
    padding: 60px;
}
.st-promo-content { flex: 1; }
.st-badge { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 800; color: var(--accent); margin-bottom: 16px; display: block; }
.st-promo-content h2 { font-size: 2.5rem; margin-bottom: 20px; }
.st-promo-content p { color: var(--text-muted); font-size: 1.05rem; line-height: 1.6; margin-bottom: 32px; max-width: 500px; }
.st-promo-graphic { flex: 1; display: flex; justify-content: center; align-items: center; }
.st-network { width: 100%; max-width: 450px; overflow: visible; }

/* Skilltree Scroll-Animation */
.st-anim-line { transition: stroke 0.2s ease, stroke-width 0.2s ease, opacity 0.2s ease; }
.st-anim-line.active { stroke: var(--accent); stroke-width: 3; opacity: 0.95; }
.st-anim-node { transition: fill 0.2s ease, stroke 0.2s ease, transform 0.2s ease, filter 0.2s ease; }
.st-anim-node.flash { filter: drop-shadow(0 0 8px rgba(249, 160, 119, 0.6)); transform: scale(1.15); fill: var(--accent); stroke: var(--accent); }
.st-glow-dot { fill: var(--accent); transition: opacity 0.2s ease; }

/* 3. PROMO GRID (Glass Cards) */
.promo-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 800px) {
    .promo-grid { grid-template-columns: 1fr 1fr; }
    .pc-wide { grid-column: span 2; display: flex; align-items: center; justify-content: space-between; }
}

.promo-card { border-radius: 24px; padding: 40px; cursor: pointer; transition: all 0.3s ease; }
.promo-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,1); box-shadow: 0 16px 40px rgba(30, 67, 73, 0.08); }
.pc-icon { font-size: 2.5rem; margin-bottom: 20px; }
.promo-card h3 { font-size: 1.6rem; margin-bottom: 12px; }
.promo-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }

.pc-badge { background: rgba(249, 160, 119, 0.2); color: var(--accent); padding: 6px 14px; border-radius: 50px; font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; display: inline-block; margin-bottom: 20px; }
.pc-wide-content { flex: 1; max-width: 500px; }
.pc-wide-visual { flex: 1; display: flex; justify-content: flex-end; }
.mock-meme-box { background: rgba(255,255,255,0.4); border: 1px dashed rgba(30,67,73,0.15); width: 240px; height: 160px; border-radius: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.mmb-icon { font-size: 2.5rem; opacity: 0.5; }

/* 4. D-TEST SHOWCASE (Glass Card) */
.dtest-section-header { text-align: center; margin-bottom: 40px; }
.dtest-section-header h2 { font-size: 2.4rem; color: var(--primary); margin-bottom: 12px; }
.dtest-section-header p { font-size: 1.05rem; color: var(--text-muted); max-width: 720px; margin: 0 auto; line-height: 1.5; }

.dtest-grid { display: flex; flex-direction: row; border-radius: 32px; overflow: hidden; }
.dtest-info-side { flex: 1; padding: 40px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.dtest-visual-side { flex: 1; padding: 40px; background: rgba(255, 255, 255, 0.3); border-left: 1px solid rgba(255, 255, 255, 0.6); display: flex; flex-direction: column; justify-content: center; }

.dtest-badge { background-color: rgba(255,255,255,0.8); color: var(--text-main); padding: 5px 12px; border-radius: 100px; font-size: 0.8rem; font-weight: 600; margin-bottom: 16px; border: 1px solid rgba(249, 160, 119, 0.4); }
.dtest-info-side h3 { font-size: 1.9rem; line-height: 1.25; margin-bottom: 24px; }
.dtest-serif-accent { font-family: 'Fraunces', serif; font-style: italic; color: var(--accent); }
.dtest-usp-list { width: 100%; margin-bottom: 24px; }
.dtest-usp-item { display: flex; gap: 12px; margin-bottom: 16px; }
.dtest-usp-icon { color: var(--accent); margin-top: 2px; }
.dtest-usp-icon svg { width: 18px; height: 18px; }
.dtest-usp-text h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 4px; }
.dtest-usp-text p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.45; }

.dtest-mockup-window { background: rgba(255,255,255,0.8); border: 1px solid rgba(255,255,255,0.9); border-radius: 16px; box-shadow: 0 10px 30px rgba(30, 67, 73, 0.08); overflow: hidden; width: 100%; }
.dtest-mockup-header { background: rgba(250,248,242,0.9); border-bottom: 1px solid rgba(30,67,73,0.1); padding: 10px 16px; display: flex; align-items: center; justify-content: space-between; }
.dtest-dots { display: flex; gap: 5px; }
.dtest-dots .dot { width: 7px; height: 7px; border-radius: 50%; background-color: rgba(30,67,73,0.15); }
.dtest-mockup-url { font-size: 0.7rem; color: var(--text-muted); background-color: #FFFFFF; border: 1px solid rgba(30,67,73,0.1); padding: 3px 24px; border-radius: 6px; transform: translateX(-20px); }
.dtest-mockup-body { padding: 14px; }
.dtest-app-container { display: flex; gap: 12px; min-height: 270px; }
.dtest-app-sidebar { flex: 0.38; background: rgba(255,255,255,0.6); border: 1px solid rgba(30,67,73,0.1); border-radius: 12px; padding: 10px; }
.dtest-app-search-pill { background: #fff; border: 1px solid rgba(30,67,73,0.1); padding: 6px 10px; border-radius: 50px; font-size: 0.7rem; color: var(--text-muted); margin-bottom: 12px; }
.dtest-app-cat-header { font-size: 0.85rem; font-weight: 800; display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.dtest-cat-title { display: flex; align-items: center; gap: 6px; }
.dtest-app-topic-item { font-size: 0.7rem; padding: 4px 6px; margin-bottom: 2px; display: flex; gap: 8px; border-radius: 4px; }
.dtest-app-topic-item.checked { background: #FDE7D7; font-weight: 500; }
.dtest-app-checkbox { width: 10px; height: 10px; border: 1px solid rgba(30,67,73,0.2); background: #ffffff; border-radius: 2px; }
.dtest-app-checkbox.active { background: var(--primary); border-color: var(--primary); }
.dtest-app-main-content { flex: 0.62; }
.dtest-app-card { background: #ffffff; border: 1px solid rgba(30,67,73,0.1); border-radius: 12px; padding: 14px; height: 100%; }
.dtest-app-card-meta { font-size: 0.65rem; color: var(--text-muted); margin-bottom: 4px; }
.dtest-app-q-text { font-size: 0.8rem; font-weight: 600; margin-bottom: 10px; }
.mockup-math { font-family: 'Fraunces', serif; font-style: italic; }
.dtest-app-math-block { background: #FDE7D7; padding: 8px; border-radius: 8px; text-align: center; font-size: 0.95rem; color: var(--primary); margin-bottom: 12px; }
.dtest-app-btn-opt { border: 1px solid rgba(30,67,73,0.1); border-radius: 8px; padding: 8px 10px; font-size: 0.75rem; display: flex; justify-content: space-between; background: #ffffff; font-weight: 500; }
.dtest-app-btn-opt.state-success { border-color: #2a9d8f; border-width: 2px; }
.dtest-btn-badge { font-weight: bold; font-size: 0.8rem; }
.dtest-app-btn-opt.state-success .dtest-btn-badge { color: #2a9d8f; }
.dtest-app-evaluation-zone {
    border-top: 1px solid var(--border);
    padding-top: 10px;
}

.dtest-app-progress-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: var(--text-main);
    margin-bottom: 4px;
}

.dtest-app-real-bar {
    width: 100%;
    background-color: #e2e8f0;
    height: 10px;
    border-radius: 50px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.dtest-app-real-fill {
    width: 75%;
    height: 100%;
    background-color: #2a9d8f;
}

/* 5. METHODIK */
.grid-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; }
.feature-card { border-radius: 24px; padding: 40px; transition: transform 0.3s ease; }
.feature-card:hover { transform: translateY(-5px); border-color: rgba(255,255,255,1); box-shadow: 0 12px 30px rgba(30, 67, 73, 0.08); }
.feature-icon { font-size: 2.5rem; color: var(--accent); margin-bottom: 24px; opacity: 0.5; }
.feature-card h3 { font-size: 1.4rem; margin-bottom: 16px; }
.feature-card p { color: var(--text-muted); line-height: 1.6; }

/* FOOTER */
.footer-action { background-color: var(--text-main); color: white; padding: 40px 5% 40px 5%; text-align: center; position: relative; z-index: 10; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; max-width: 1250px; margin: 0 auto; }
.footer-links { display: flex; gap: 32px; }
.footer-links a { color: rgba(255, 255, 255, 0.5); text-decoration: none; font-size: 0.95rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }

/* Scroll-Reveal */
.reveal-item { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal-item.visible { opacity: 1; transform: translateY(0); }

/* Modals */
.modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(30, 67, 73, 0.4); backdrop-filter: blur(4px); z-index: 9999; display: flex; align-items: center; justify-content: center; animation: fadeIn 0.2s ease-out; }
.modal-content { background: #ffffff; border-radius: 16px; padding: 32px; max-width: 480px; width: 90%; position: relative; }
.modal-header h3 { font-size: 1.5rem; color: var(--primary); margin-bottom: 16px; }
.modal-close { position: absolute; top: 15px; right: 15px; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--text-muted); }
.modal-body p { color: var(--text-muted); line-height: 1.6; margin-bottom: 32px; }
.modal-actions { display: flex; flex-direction: column; gap: 12px; }
.modal-actions button { width: 100%; text-align: center; }

/* ==========================================================================
   MOBILE OPTIMIERUNG (NUR ÄNDERUNGEN FÜR SMARTPHONE/TABLET)
   ========================================================================== */
@media (max-width: 900px) {
    .navbar {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: center !important;
        height: 70px !important;
        min-height: 70px !important;
        max-height: 70px !important;
        padding: 0 16px !important;
        box-sizing: border-box !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        z-index: 1000 !important;
    }

    /* Styling & Positionierung für den Profil-Button */
    .mobile-home-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        position: absolute;
        left: 16px;
        top: 50%;
        transform: translateY(-50%);
        width: 42px;
        height: 42px;
        color: var(--primary);
        background: rgba(30, 67, 73, 0.05);
        border-radius: 12px;
        transition: all 0.2s ease;
    }

    .mobile-home-btn svg {
        width: 20px;
        height: 20px;
    }

    .mobile-home-btn:active {
        background: rgba(30, 67, 73, 0.1);
        transform: translateY(-50%) scale(0.95);
    }

    /* Exakte Größensynchronisation des Logos mit dem Dashboard */
    .nav-brand {
        margin: 0 !important;
        padding: 0 !important;
        height: auto !important;
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
    }

    .brand-icon {
        height: 28px !important;
        width: auto !important;
        transform: translateY(3px) !important;
    }

    .brand-text-dark,
    .brand-text-light {
        font-size: 1.2rem !important;
        line-height: normal !important;
    }

    .nav-links, .scroll-hint {
        display: none !important;
    }

    .hero {
        padding-top: 130px;
    }

    .hero.no-banner {
        padding-top: 90px;
    }

    /* ABSTÄNDE ZWISCHEN SECTIONS KOMPAKTER MACHEN */
    .section {
        padding: 48px 5%;
    }

    .section-header, .dtest-section-header {
        margin-bottom: 32px;
    }

    /* <p> CONTAINER AUSBLENDEN IN HEADERN */
    .section-header p, .dtest-section-header p {
        display: none !important;
    }

    /* 1. HERO NEUANORDNUNG */
    .hero-content {
        display: flex;
        flex-direction: column;
        text-align: center;
        gap: 0;
    }

    .hero-text {
        display: contents;
    }

    /* Löst Container auf, um flex-order global zu steuern */
    .hero-headline {
        order: 1;
        font-size: 2.3rem;
        margin-bottom: 0;
        line-height: 1.15;
    }

    .hero-subtext {
        display: none !important;
    }

    /* Ausgeblendet wie gewünscht */
    /* Dashboard-Visual zwischen Headline und Metriken */
    .hero-visual {
        order: 2;
        height: auto;
        margin: 32px 0;
        padding: 0;
        width: 100%;
        justify-content: center;
    }

    .dhc-float {
        display: none;
    }

    /* Metriken nebeneinander in einer Reihe */
    .hero-metrics {
        order: 3;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px 24px;
        border: none;
        margin: 0 0 32px 0;
        padding: 0;
        width: 100%;
    }

    .metric-item {
        display: flex;
        flex-direction: row;
        align-items: baseline;
        gap: 6px;
    }

    .metric-item strong {
        display: inline;
        font-size: 1.2rem;
    }

    .metric-divider {
        display: none;
    }

    /* Buttons ganz nach unten */
    .hero-actions {
        order: 4;
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
        align-items: center;
    }

    .hero-actions button {
        width: 100%;
        max-width: 280px;
    }

    /* 2. SKILLTREE PROMO (BUGFIX & NEUANORDNUNG ÜBER DISPLAY:CONTENTS) */
    .st-promo-container {
        flex-direction: column;
        padding: 32px 24px;
        gap: 0; /* Abstände werden direkt auf die Elemente gelegt */
    }

    .st-promo-content {
        display: contents;
    }

    /* Container löst sich auf */
    .st-badge {
        order: 1;
        margin-bottom: 12px;
        text-align: center;
        width: 100%;
    }

    .st-promo-content h2 {
        order: 2;
        font-size: 2.2rem;
        text-align: center;
        margin-bottom: 24px;
        line-height: 1.2;
    }

    .st-promo-graphic {
        order: 3;
        width: 100%;
        display: flex;
        justify-content: center;
        margin-bottom: 24px;
        overflow: visible;
    }

    .st-network {
        width: 100%;
        max-width: 260px;
        overflow: visible;
    }

    .st-promo-content p {
        order: 4;
        text-align: center;
        font-size: 0.95rem;
        margin-bottom: 24px;
    }

    .st-promo-content button {
        order: 5;
        width: 100%;
    }

    /* 3. PROMO GRID & DAILY BRAIN BREAK */
    .promo-grid {
        gap: 16px;
    }

    .promo-card:not(.pc-wide) {
        display: grid;
        grid-template-columns: auto 1fr;
        align-items: center;
        gap: 16px;
        text-align: left;
        padding: 24px;
    }

    .pc-icon {
        grid-column: 1;
        grid-row: 1;
        margin-bottom: 0;
        font-size: 1.8rem;
    }

    .promo-card:not(.pc-wide) h3 {
        grid-column: 2;
        grid-row: 1;
        margin-bottom: 0;
        font-size: 1.25rem;
    }

    .promo-card:not(.pc-wide) p {
        grid-column: 1 / -1;
        grid-row: 2;
        margin-bottom: 0;
        font-size: 0.9rem;
    }

    /* Brain Break Redesign (Kompakt & Edel als Widget) */
    .promo-card.pc-wide {
        display: flex;
        flex-direction: column;
        text-align: center;
        gap: 16px;
        padding: 32px 24px;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(249, 160, 119, 0.15));
        border: 1px solid rgba(249, 160, 119, 0.4);
    }

    .pc-wide-content {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .pc-badge {
        margin-bottom: 12px;
    }

    .pc-wide-content h3 {
        font-size: 1.5rem;
        margin-bottom: 8px;
    }

    .pc-wide-visual {
        display: flex !important;
        width: 100%;
        justify-content: center;
        margin-top: 16px;
    }

    .mock-meme-box {
        width: 100%;
        max-width: 280px;
        height: 140px;
        background: #ffffff;
        border: 2px dashed rgba(249, 160, 119, 0.5);
        border-radius: 20px;
        box-shadow: 0 8px 20px rgba(249, 160, 119, 0.12);
    }

    .mmb-icon {
        font-size: 3rem;
        opacity: 1;
        color: var(--accent);
    }

    /* 4. DTEST SHOWCASE (Als kompakte, schöne Karte integriert) */
    .dtest-grid {
        flex-direction: column;
        border-radius: 24px;
        background: rgba(255, 255, 255, 0.4);
        padding: 8px;
    }

    .dtest-info-side {
        padding: 32px 20px;
        background: #ffffff;
        border-radius: 20px;
        box-shadow: 0 4px 20px rgba(30, 67, 73, 0.05);
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .dtest-badge {
        align-self: center;
        margin-bottom: 16px;
    }

    .dtest-info-side h3 {
        font-size: 1.7rem;
        text-align: center;
        margin-bottom: 24px;
    }

    .dtest-usp-list {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-bottom: 24px;
        width: 100%;
    }

    .dtest-usp-item {
        background: var(--bg-main);
        border: 1px solid var(--border);
        padding: 20px 16px;
        border-radius: 16px;
        margin-bottom: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
    }

    .dtest-usp-icon {
        margin-top: 0;
        width: 48px;
        height: 48px;
        background: #ffffff;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 12px rgba(249, 160, 119, 0.15);
    }

    .dtest-usp-icon svg {
        width: 24px;
        height: 24px;
    }

    .dtest-usp-text h4 {
        font-size: 1rem;
        margin-bottom: 6px;
    }

    .dtest-usp-text p {
        font-size: 0.85rem;
    }

    .dtest-action-btn {
        width: 100%;
        justify-content: center;
    }

    .dtest-visual-side {
        display: none !important;
    }

    /* 5. FEATURE CARDS (Titel neben Zahlen) */
    .grid-features {
        gap: 16px;
    }

    .feature-card {
        display: grid;
        grid-template-columns: auto 1fr;
        align-items: center;
        gap: 16px;
        text-align: left;
        padding: 24px;
    }

    .feature-icon {
        grid-column: 1;
        grid-row: 1;
        margin-bottom: 0;
        font-size: 1.8rem;
        line-height: 1;
    }

    .feature-card h3 {
        grid-column: 2;
        grid-row: 1;
        margin-bottom: 0;
        font-size: 1.25rem;
    }

    .feature-card p {
        grid-column: 1 / -1;
        grid-row: 2;
        margin-bottom: 0;
        font-size: 0.9rem;
    }

    /* 6. FOOTER NEU ANORDNEN */
    .footer-action {
        padding: 48px 5% 40px 5%;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 24px;
    }

    .footer-brand {
        margin-bottom: 8px;
    }

    .footer-links {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 12px 24px;
    }

    /* Banner */
    .announcement-banner {
        position: fixed;
        top: 70px; /* Startet jetzt exakt unter der 70px hohen Navbar */
        left: 0;
        width: 100%;
        background-color: var(--primary);
        padding: 12px 5%;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 16px;
        z-index: 900;
        border-bottom: 3px solid var(--accent);
        padding-right: 40px;
    }

    .badge-new {
        background-color: var(--accent);
        color: var(--primary);
        padding: 4px 10px;
        border-radius: 6px;
        font-weight: 800;
        font-size: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }

    .announcement-text {
        font-size: 0.75rem;
        font-weight: 500;
        color: rgba(255, 255, 255, 0.9);
    }

    .announcement-link {
        color: var(--accent);
        font-weight: 700;
        text-decoration: none;
        font-size: 0.75rem;
        transition: opacity 0.2s ease;
    }

    .announcement-link:hover {
        opacity: 0.8;
        text-decoration: underline;
    }

    .close-banner {
        position: absolute;
        right: 0px;
        top: 50%;
        transform: translateY(-50%);
        background: transparent;
        border: none;
        color: rgba(255, 255, 255, 0.6);
        font-size: 1.5rem;
        cursor: pointer;
        transition: color 0.2s;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .close-banner:hover {
        color: white;
    }
}

@media(max-width: 500px) {
    .badge-new {
        display: none;
    }

    .close-banner {
        right: 10px;
    }

    .hero-metrics {
        gap: 16px 24px;

    }
}


