/* ==========================================
   MIKES TRADING-ZENTRALE - ZENTRALE CSS
   Responsive-Optimiert für Mobile First
   ========================================== */

/* ========== RESET & BASE ========== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #1a1a2e 100%);
    color: #eaeaea;
    min-height: 100vh;
    line-height: 1.7;
    font-size: 16px;
    padding-bottom: 80px;
}

/* ========== GLOBALE NAVIGATION ========== */
.global-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #0d0d1a 0%, #1a1a2e 100%);
    border-bottom: 2px solid #4fc3f7;
    z-index: 1002;
    padding: 12px 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-left {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.nav-right {
    flex-shrink: 0;
}

.global-link {
    background: #2d2d44;
    color: #eaeaea;
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 25px;
    font-size: 0.95em;
    white-space: nowrap;
    transition: all 0.3s;
    border: 2px solid transparent;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.global-link:hover {
    background: #4fc3f7;
    color: #000;
    transform: translateY(-2px);
}

.global-link.active {
    background: #4fc3f7;
    color: #000;
    font-weight: bold;
    border-color: #fff;
}

.global-link.home-btn {
    background: linear-gradient(135deg, #fdd835 0%, #ff9800 100%);
    color: #000;
    font-weight: bold;
    border: 2px solid #fdd835;
}

.global-link.home-btn:hover {
    background: linear-gradient(135deg, #ffeb3b 0%, #ffa726 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(253, 216, 53, 0.4);
}

/* Hamburger-Menü (wird nur auf mobil angezeigt) */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #4fc3f7;
    font-size: 1.5em;
    cursor: pointer;
    padding: 5px;
}

.nav-divider {
    width: 2px;
    height: 30px;
    background: #3d3d5c;
    margin: 0 5px;
}

/* ========== SEITEN-NAVIGATION (Sekundär) ========== */
.page-nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #16213e 0%, #1a1a2e 100%);
    border-bottom: 1px solid #3d3d5c;
    z-index: 1001;
    padding: 8px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.page-nav-container {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #4fc3f7 #1a1a2e;
}

.page-nav-container::-webkit-scrollbar {
    height: 4px;
}

.page-nav-container::-webkit-scrollbar-track {
    background: #1a1a2e;
}

.page-nav-container::-webkit-scrollbar-thumb {
    background: #4fc3f7;
    border-radius: 4px;
}

.page-nav-links {
    display: flex;
    gap: 8px;
    padding: 0 20px;
    min-width: max-content;
}

.page-link {
    background: #2d2d44;
    color: #eaeaea;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9em;
    white-space: nowrap;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.page-link:hover, .page-link.active {
    background: #4fc3f7;
    color: #000;
}

.page-link.dax { border-color: #ff9800; }
.page-link.sp500 { border-color: #4fc3f7; }
.page-link.eurusd { border-color: #66bb6a; }

.page-link.dax:hover { background: #ff9800; color: #000; }
.page-link.sp500:hover { background: #4fc3f7; color: #000; }
.page-link.eurusd:hover { background: #66bb6a; color: #000; }

/* ========== PROGRESS BAR ========== */
.progress-bar {
    position: fixed;
    top: 125px;
    left: 0;
    height: 3px;
    background: #fdd835;
    z-index: 1000;
    transition: width 0.2s;
}

/* ========== MAIN CONTENT ========== */
.main-content {
    padding-top: 80px;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 140px 20px 20px 20px;
}

/* ========== HEADER ========== */
.header {
    text-align: center;
    padding: 40px 20px;
    border-bottom: 2px solid #4fc3f7;
    margin-bottom: 40px;
}

.header h1 {
    color: #4fc3f7;
    font-size: 2.2em;
    margin-bottom: 15px;
    text-shadow: 0 0 20px rgba(79, 195, 247, 0.3);
}

.header p {
    color: #ccc;
    font-size: 1.1em;
    max-width: 600px;
    margin: 0 auto;
}

/* ========== NAVIGATION CARDS (Index-Seite) ========== */
.nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.nav-card {
    background: linear-gradient(135deg, #2d2d44 0%, #1a1a2e 100%);
    border: 2px solid #3d3d5c;
    border-radius: 15px;
    padding: 30px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4fc3f7, #fdd835);
    opacity: 0;
    transition: opacity 0.3s;
}

.nav-card:hover {
    transform: translateY(-5px);
    border-color: #4fc3f7;
    box-shadow: 0 10px 40px rgba(79, 195, 247, 0.2);
}

.nav-card:hover::before {
    opacity: 1;
}

.nav-card.primary {
    border-color: #fdd835;
    background: linear-gradient(135deg, #3a3a1a 0%, #1a1a2e 100%);
}

.nav-card.primary::before {
    background: linear-gradient(90deg, #fdd835, #ff9800);
    opacity: 1;
}

.nav-card.primary:hover {
    border-color: #fdd835;
    box-shadow: 0 10px 40px rgba(253, 216, 53, 0.2);
}

.card-icon {
    font-size: 3em;
    margin-bottom: 15px;
    display: block;
}

.card-title {
    color: #4fc3f7;
    font-size: 1.4em;
    font-weight: bold;
    margin-bottom: 10px;
}

.nav-card.primary .card-title {
    color: #fdd835;
}

.card-description {
    color: #aaa;
    font-size: 0.95em;
    line-height: 1.5;
}

.card-badge {
    display: inline-block;
    background: #4fc3f7;
    color: #000;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: bold;
    margin-top: 15px;
}

.nav-card.primary .card-badge {
    background: #fdd835;
}

/* ========== QUICK INFO & BOXES ========== */
.quick-info, .intro-box, .quote-box {
    background: #2d2d44;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
}

.intro-box {
    background: linear-gradient(135deg, #311b92 0%, #1a237e 100%);
    border: 2px solid #fdd835;
    text-align: center;
}

.intro-box h2 {
    color: #fdd835;
    margin-bottom: 15px;
}

.intro-box p {
    color: #ddd;
    font-size: 1.05em;
    max-width: 700px;
    margin: 0 auto;
}

.quote-box {
    background: linear-gradient(135deg, #311b92 0%, #1a237e 100%);
    border: 1px solid #fdd835;
    text-align: center;
}

.quote-box p {
    font-size: 1.2em;
    font-style: italic;
    color: #fdd835;
    margin: 0;
}

.quote-box .author {
    color: #aaa;
    font-size: 0.9em;
    margin-top: 10px;
    font-style: normal;
}

.quick-info h2 {
    color: #fdd835;
    font-size: 1.2em;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.market-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.market-pill {
    background: #1a1a2e;
    border: 1px solid #4fc3f7;
    border-radius: 25px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.market-pill.dax { border-color: #ff9800; }
.market-pill.sp500 { border-color: #4fc3f7; }
.market-pill.eurusd { border-color: #66bb6a; }

.pill-name {
    font-weight: bold;
    color: #fff;
}

.pill-time {
    color: #aaa;
    font-size: 0.85em;
}

/* ========== MARKET SECTIONS (markt-setups.html) ========== */
.market-section {
    background: #2d2d44;
    border-radius: 15px;
    margin-bottom: 30px;
    overflow: hidden;
    border: 2px solid #3d3d5c;
}

.market-section.dax { border-color: #ff9800; }
.market-section.sp500 { border-color: #4fc3f7; }
.market-section.eurusd { border-color: #66bb6a; }

.market-header {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.market-section.dax .market-header {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
    color: #000;
}

.market-section.sp500 .market-header {
    background: linear-gradient(135deg, #4fc3f7 0%, #29b6f6 100%);
    color: #000;
}

.market-section.eurusd .market-header {
    background: linear-gradient(135deg, #66bb6a 0%, #4caf50 100%);
    color: #000;
}

.market-title {
    display: flex;
    align-items: center;
    gap: 15px;
}

.market-icon { font-size: 2em; }
.market-name { font-size: 1.4em; font-weight: bold; }
.market-subtitle { font-size: 0.9em; opacity: 0.8; }

.market-toggle {
    font-size: 1.5em;
    transition: transform 0.3s;
}

.market-section.open .market-toggle {
    transform: rotate(180deg);
}

.market-content {
    padding: 25px;
    display: none;
}

.market-section.open .market-content {
    display: block;
}

/* ========== TIMEFRAME FLOW ========== */
.timeframe-flow {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
    padding: 20px;
    background: #1a1a2e;
    border-radius: 10px;
}

.tf-box {
    background: #3d3d5c;
    padding: 12px 20px;
    border-radius: 8px;
    text-align: center;
    min-width: 70px;
}

.tf-box.active {
    background: #4fc3f7;
    color: #000;
    font-weight: bold;
}

.tf-label { font-size: 1.2em; font-weight: bold; }
.tf-desc { font-size: 0.75em; opacity: 0.8; }
.tf-arrow { font-size: 1.5em; color: #fdd835; }

/* ========== INDICATOR GRID ========== */
.indicator-section { margin-bottom: 25px; }

.indicator-section h3 {
    color: #fdd835;
    margin-bottom: 15px;
    font-size: 1.1em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.indicator-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.indicator-item {
    background: #1a1a2e;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #4fc3f7;
    display: flex;
    align-items: center;
    gap: 12px;
}

.indicator-item.ema9 { border-left-color: #fdd835; }
.indicator-item.ema20 { border-left-color: #ffffff; }
.indicator-item.ema50 { border-left-color: #4fc3f7; }
.indicator-item.rsi { border-left-color: #9c27b0; }
.indicator-item.tdi { border-left-color: #e91e63; }
.indicator-item.volume { border-left-color: #00bcd4; }
.indicator-item.atr { border-left-color: #ff5722; }

.color-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    flex-shrink: 0;
}

.color-dot.yellow { background: #fdd835; }
.color-dot.white { background: #ffffff; border: 1px solid #666; }
.color-dot.blue { background: #4fc3f7; }
.color-dot.purple { background: #9c27b0; }
.color-dot.pink { background: #e91e63; }
.color-dot.cyan { background: #00bcd4; }
.color-dot.orange { background: #ff5722; }
.color-dot.green { background: #66bb6a; }
.color-dot.red { background: #ef5350; }

.indicator-name { font-weight: bold; color: #fff; }
.indicator-setting { color: #aaa; font-size: 0.85em; }

/* ========== INFO BOXES ========== */
.info-box {
    background: #1a1a2e;
    border: 1px solid #4fc3f7;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
}

.info-box.highlight {
    border-color: #fdd835;
    background: linear-gradient(135deg, #2a2a1a 0%, #1a1a2e 100%);
}

.info-box.warning {
    border-color: #ff9800;
    background: linear-gradient(135deg, #2a2a1a 0%, #1a1a2e 100%);
}

.info-box.danger {
    border-color: #ef5350;
    background: linear-gradient(135deg, #2a1a1a 0%, #1a1a2e 100%);
}

.info-box h4 {
    color: #4fc3f7;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-box.highlight h4 { color: #fdd835; }
.info-box.warning h4 { color: #ff9800; }
.info-box.danger h4 { color: #ef5350; }

.info-box ul { padding-left: 20px; color: #ccc; }
.info-box li { margin-bottom: 5px; }

/* ========== TRADING HOURS ========== */
.trading-hours {
    background: linear-gradient(135deg, #1a3a1a 0%, #1a2a1a 100%);
    border: 1px solid #66bb6a;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
}

.trading-hours h4 {
    color: #66bb6a;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.time-slots { display: flex; flex-wrap: wrap; gap: 10px; }

.time-slot {
    background: #2d4d2d;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9em;
}

.time-slot.golden {
    background: #fdd835;
    color: #000;
    font-weight: bold;
}

/* ========== CHARACTERISTIC TAGS ========== */
.characteristic { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 15px; }

.char-tag {
    background: #3d3d5c;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85em;
    color: #ddd;
}

/* ========== WHY BOX ========== */
.why-box {
    background: linear-gradient(135deg, #1a1a3e 0%, #1a1a2e 100%);
    border: 1px solid #9c27b0;
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
}

.why-box h4 { color: #9c27b0; margin-bottom: 10px; }
.why-box p { color: #ccc; font-size: 0.95em; }

/* ========== COMPARISON TABLE ========== */
.comparison-section { margin-top: 40px; margin-bottom: 30px; }
.comparison-section h2 { color: #4fc3f7; text-align: center; margin-bottom: 20px; }

/* Wrapper für horizontales Scrollen auf mobil */
.table-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    margin: 15px 0;
    border-radius: 10px;
    position: relative;
    max-width: 100%;
    width: 100%;
}

.comparison-table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
    background: #2d2d44;
    border-radius: 10px;
    overflow: hidden;
}

.comparison-table th {
    background: #3d3d5c;
    color: #fdd835;
    padding: 15px 10px;
    text-align: left;
    font-size: 0.9em;
    position: sticky;
    top: 0;
}

.comparison-table td {
    padding: 12px 10px;
    border-bottom: 1px solid #3d3d5c;
    font-size: 0.9em;
}

.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:hover { background: #3a3a4a; }
.comparison-table tr:nth-child(even) { background: rgba(45, 45, 68, 0.3); }

.check { color: #66bb6a; }
.cross { color: #ef5350; }

/* ========== INDICATOR CARDS (trading-wissen.html) ========== */
.indicator-card {
    background: #2d2d44;
    border-radius: 10px;
    padding: 15px;
    margin: 15px 0;
    border-left: 4px solid #4fc3f7;
}

.indicator-card h4 {
    margin-top: 0;
    color: #4fc3f7;
}

.indicator-card.ema { border-left-color: #fdd835; }
.indicator-card.rsi { border-left-color: #e040fb; }
.indicator-card.tdi { border-left-color: #00e676; }
.indicator-card.atr { border-left-color: #ff5722; }

/* ========== SECTION STYLES (trading-wissen.html) ========== */
.section {
    background: #2d2d44;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid #3d3d5c;
}

.section-header {
    padding: 18px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #3d3d5c 0%, #2d2d44 100%);
    transition: all 0.3s;
}

.section-header:hover {
    background: #4d4d6c;
}

.section-header.active {
    background: linear-gradient(135deg, #4fc3f7 0%, #29b6f6 100%);
    color: #000;
}

.section-title {
    font-weight: bold;
    font-size: 1.1em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-toggle {
    font-size: 1.2em;
    transition: transform 0.3s;
}

.section-header.active .section-toggle {
    transform: rotate(180deg);
}

.section-content {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.section-content.show {
    padding: 20px;
    max-height: none;
}

/* ========== QUESTION BOXES ========== */
.question-box, .question-card {
    background: #1a1a2e;
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
    border: 1px solid #3d3d5c;
}

.question-card.highlight {
    border-color: #fdd835;
}

.question-header {
    padding: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.3s;
}

.question-header:hover {
    background: #2a2a3e;
}

.question-icon, .question-checkbox {
    color: #fdd835;
    font-size: 1.2em;
    flex-shrink: 0;
}

.question-text {
    flex: 1;
    color: #4fc3f7;
    font-weight: 600;
}

.question-arrow, .question-toggle {
    color: #888;
    transition: transform 0.3s;
    flex-shrink: 0;
}

.explanation, .question-explanation {
    display: none;
    padding: 15px;
    padding-top: 0;
    color: #ccc;
    font-size: 0.95em;
    line-height: 1.8;
    border-top: 1px solid #3d3d5c;
}

.explanation.show, .question-explanation.show {
    display: block;
    padding-top: 15px;
}

.explanation strong, .question-explanation strong {
    color: #fdd835;
}

.explanation ul, .question-explanation ul {
    padding-left: 20px;
    margin: 10px 0;
}

.explanation li, .question-explanation li {
    margin-bottom: 8px;
}

/* ========== TAGS ========== */
.tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.8em;
    font-weight: bold;
    margin: 2px;
}

.tag-long { background: #2e7d32; color: #fff; }
.tag-short { background: #c62828; color: #fff; }
.tag-neutral { background: #616161; color: #fff; }

/* ========== BUTTONS ========== */
.expand-all-btn {
    display: block;
    width: 100%;
    padding: 15px;
    background: #4fc3f7;
    color: #000;
    border: none;
    border-radius: 10px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 20px;
    transition: all 0.3s;
}

.expand-all-btn:hover {
    background: #29b6f6;
    transform: translateY(-2px);
}

/* ========== RULE & WARNING BOXES ========== */
.rule-box, .golden-rule, .warning-box {
    background: #1a3a1a;
    border: 1px solid #66bb6a;
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
    color: #ccc;
}

.golden-rule {
    background: linear-gradient(135deg, #2a2a1a 0%, #1a1a2e 100%);
    border-color: #fdd835;
    text-align: center;
}

.golden-rule p {
    color: #fdd835;
    font-size: 1.1em;
    font-weight: bold;
    margin: 0;
}

.warning-box {
    background: linear-gradient(135deg, #2a2a1a 0%, #1a1a2e 100%);
    border-color: #ff9800;
}

/* ========== FOOTER ========== */
.footer {
    text-align: center;
    padding: 30px;
    border-top: 1px solid #3d3d5c;
    margin-top: 40px;
    color: #666;
    font-size: 0.9em;
}

.footer a {
    color: #4fc3f7;
    text-decoration: none;
}

/* ==========================================
   RESPONSIVE DESIGN - MOBILE FIRST
   ========================================== */

/* Tablets und kleinere Laptops */
@media (max-width: 768px) {
    .global-nav {
        padding: 10px 15px;
    }

    .nav-left {
        gap: 8px;
    }

    .page-nav {
        top: 60px;
    }

    .page-nav-links {
        padding: 0 15px;
        gap: 6px;
    }

    .progress-bar {
        top: 110px;
    }

    .container {
        padding-top: 130px;
    }

    .header h1 {
        font-size: 1.8em;
    }

    .nav-grid {
        grid-template-columns: 1fr;
    }

    .indicator-grid {
        grid-template-columns: 1fr;
    }

    .comparison-table {
        min-width: 500px;
        font-size: 0.85em;
    }
}

/* Smartphones */
@media (max-width: 600px) {
    body {
        font-size: 16px;
    }

    .container {
        padding: 120px 20px 20px 20px;
    }

    .header {
        padding: 30px 15px;
    }

    .header h1 {
        font-size: 1.6em;
    }

    .header p {
        font-size: 1em;
    }

    .nav-card {
        padding: 20px;
    }

    .card-icon {
        font-size: 2.5em;
    }

    .card-title {
        font-size: 1.2em;
    }

    .global-link {
        padding: 8px 14px;
        font-size: 0.85em;
    }

    .page-link {
        padding: 6px 12px;
        font-size: 0.8em;
    }

    .market-name {
        font-size: 1.1em;
    }

    .market-icon {
        font-size: 1.5em;
    }

    .timeframe-flow {
        gap: 8px;
        padding: 15px;
    }

    .tf-box {
        padding: 10px 15px;
        min-width: 60px;
    }

    .tf-label {
        font-size: 1em;
    }

    .tf-arrow {
        font-size: 1.2em;
    }

    .section-title {
        font-size: 1em;
    }

    .quote-box p {
        font-size: 1em;
    }

    .market-pills {
        flex-direction: column;
    }

    .market-pill {
        width: 100%;
        justify-content: space-between;
    }
}

/* Sehr kleine Smartphones */
@media (max-width: 480px) {
    .header h1 {
        font-size: 1.4em;
    }

    .card-icon {
        font-size: 2em;
    }

    .tf-arrow {
        display: none;
    }

    .timeframe-flow {
        gap: 5px;
    }

    .global-link {
        padding: 6px 12px;
        font-size: 0.8em;
    }
}

/* Sehr kleine Handys (iPhone SE, alte Androids) */
@media (max-width: 360px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .header h1 {
        font-size: 1.3em;
    }

    .nav-card {
        padding: 15px;
    }

    .card-title {
        font-size: 1.1em;
    }
}

/* ==========================================
   NEUE FEATURES: HAMBURGER + DARK MODE
   ========================================== */

/* ========== HAMBURGER MENU BUTTON ========== */
.hamburger-toggle {
    display: none;
    background: none;
    border: 2px solid #4fc3f7;
    color: #4fc3f7;
    font-size: 1.5em;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
}

.hamburger-toggle:hover {
    background: #4fc3f7;
    color: #000;
}

.hamburger-toggle.active {
    background: #4fc3f7;
    color: #000;
}

/* ========== DARK MODE TOGGLE BUTTON ========== */
.dark-mode-toggle {
    background: linear-gradient(135deg, #4fc3f7 0%, #29b6f6 100%);
    border: 2px solid #4fc3f7;
    color: #000;
    font-size: 1.3em;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 25px;
    transition: all 0.3s;
    width: 45px;
    height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.dark-mode-toggle:hover {
    background: linear-gradient(135deg, #29b6f6 0%, #4fc3f7 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(79, 195, 247, 0.4);
}

/* Container für beide Buttons */
.nav-controls {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* ========== LIGHT MODE THEME ========== */
body.light-mode {
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 50%, #f5f5f5 100%);
    color: #1a1a1a;
}

body.light-mode .global-nav {
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
    border-bottom: 2px solid #2196f3;
}

body.light-mode .page-nav {
    background: linear-gradient(135deg, #fafafa 0%, #f0f0f0 100%);
    border-bottom: 1px solid #ccc;
}

body.light-mode .global-link {
    background: #e3f2fd;
    color: #0d47a1;
}

body.light-mode .global-link:hover {
    background: #2196f3;
    color: #fff;
}

body.light-mode .global-link.active {
    background: #2196f3;
    color: #fff;
}

body.light-mode .global-link.home-btn {
    background: linear-gradient(135deg, #fdd835 0%, #ff9800 100%);
    color: #000;
}

body.light-mode .page-link {
    background: #e3f2fd;
    color: #0d47a1;
}

body.light-mode .page-link:hover {
    background: #2196f3;
    color: #fff;
}

body.light-mode .nav-card {
    background: #ffffff;
    border-color: #ccc;
    color: #1a1a1a;
}

body.light-mode .nav-card:hover {
    border-color: #2196f3;
    box-shadow: 0 10px 40px rgba(33, 150, 243, 0.2);
}

body.light-mode .card-description {
    color: #444;
}

body.light-mode .header {
    border-bottom: 2px solid #2196f3;
}

body.light-mode .header h1 {
    color: #1976d2;
    text-shadow: none;
}

body.light-mode .header p {
    color: #333;
}

body.light-mode .quick-info,
body.light-mode .intro-box,
body.light-mode .quote-box {
    background: #ffffff;
    border-color: #2196f3;
}

body.light-mode .intro-box h2,
body.light-mode .quote-box p {
    color: #ff9800;
}

body.light-mode .intro-box p,
body.light-mode .quick-info p {
    color: #1a1a1a;
}

body.light-mode .quote-box .author {
    color: #666;
}

body.light-mode .market-section {
    background: #ffffff;
    border-color: #ccc;
}

body.light-mode .market-content {
    background: #fafafa;
}

body.light-mode .info-box {
    background: #f5f5f5;
    border-color: #2196f3;
}

body.light-mode .info-box h4 {
    color: #1976d2;
}

body.light-mode .info-box.highlight {
    background: #fff8e1;
    border-color: #ff9800;
}

body.light-mode .info-box.highlight h4 {
    color: #ff9800;
}

body.light-mode .comparison-table {
    background: #ffffff;
}

body.light-mode .comparison-table th {
    background: #e3f2fd;
    color: #1976d2;
}

body.light-mode .comparison-table td {
    border-bottom: 1px solid #e0e0e0;
}

body.light-mode .comparison-table tr:hover {
    background: #f5f5f5;
}

body.light-mode .section {
    background: #ffffff;
    border-color: #ccc;
}

body.light-mode .section-header {
    background: #e3f2fd;
}

body.light-mode .section-header:hover {
    background: #bbdefb;
}

body.light-mode .section-header.active {
    background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
    color: #fff;
}

body.light-mode .question-box,
body.light-mode .question-card {
    background: #fafafa;
    border-color: #ccc;
}

body.light-mode .question-header:hover {
    background: #f0f0f0;
}

body.light-mode .question-text {
    color: #1976d2;
}

body.light-mode .explanation,
body.light-mode .question-explanation {
    color: #333;
    background: #ffffff;
}

body.light-mode .footer {
    border-top: 1px solid #ccc;
    color: #333;
}

body.light-mode .indicator-item {
    background: #fafafa;
}

body.light-mode .indicator-name {
    color: #1a1a1a;
}

body.light-mode .timeframe-flow {
    background: #fafafa;
}

body.light-mode .tf-box {
    background: #e3f2fd;
    color: #1976d2;
}

body.light-mode .tf-box.active {
    background: #2196f3;
    color: #fff;
}

body.light-mode .trading-hours {
    background: #e8f5e9;
    border-color: #4caf50;
}

body.light-mode .time-slot {
    background: #c8e6c9;
    color: #1b5e20;
}

body.light-mode .char-tag {
    background: #e3f2fd;
    color: #1976d2;
}

body.light-mode .why-box {
    background: #f3e5f5;
    border-color: #9c27b0;
}

body.light-mode .hamburger-toggle {
    border-color: #2196f3;
    color: #2196f3;
}

body.light-mode .hamburger-toggle:hover,
body.light-mode .hamburger-toggle.active {
    background: #2196f3;
    color: #fff;
}

body.light-mode .market-pill {
    background: #ffffff;
    border-width: 2px;
}

body.light-mode .pill-name {
    color: #1a1a1a;
}

body.light-mode .pill-time {
    color: #555;
}

body.light-mode .card-badge {
    color: #000;
}

body.light-mode .quick-info h2 {
    color: #1976d2;
}

/* ========== MOBILE NAVIGATION (HAMBURGER) ========== */
@media (max-width: 768px) {
    .hamburger-toggle {
        display: flex;
    }

    .nav-left {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 80%;
        max-width: 300px;
        background: linear-gradient(135deg, #0d0d1a 0%, #1a1a2e 100%);
        border-right: 2px solid #4fc3f7;
        box-shadow: 4px 0 20px rgba(0,0,0,0.5);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        transition: left 0.3s ease;
        z-index: 999;
        height: calc(100vh - 60px);
        overflow-y: auto;
    }

    body.light-mode .nav-left {
        background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
        border-right: 2px solid #2196f3;
    }

    .nav-left.active {
        left: 0;
    }

    .nav-left .global-link {
        width: 100%;
        justify-content: center;
    }

    .global-nav {
        flex-direction: row;
        justify-content: space-between;
        padding: 10px 15px;
    }

    .nav-right {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .nav-controls {
        order: 1;
    }

    .nav-right .home-btn {
        order: 2;
    }
}

/* ========== ACCESSIBILITY IMPROVEMENTS ========== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for better keyboard navigation */
a:focus,
button:focus {
    outline: 2px solid #4fc3f7;
    outline-offset: 2px;
}

body.light-mode a:focus,
body.light-mode button:focus {
    outline: 2px solid #2196f3;
}
