/**
 * main.css - Stylesheet für CyberKids
 *
 * Kindgerechtes C64-inspiriertes Design für den CyberKids IT-Kurs
 *
 * (c) 2026 by Ing. F. Weijers, weijers@cyberprofis.de
 * Version: 2.0 – 2026-03-16
 */

/* Farbpalette – C64-basiert */
:root {
    --c64-blue: #4040e0;
    --c64-light-blue: #7070ff;
    --c64-cyan: #00a0a0;
    --c64-yellow: #e0e070;
    --c64-orange: #c08040;
    --c64-brown: #804000;
    --c64-green: #00c000;
    --c64-light-green: #60ff60;
    --c64-purple: #c040c0;
    --c64-red: #e00000;
    --c64-dark-gray: #707070;
    --c64-gray: #a0a0a0;
    --c64-light-gray: #c0c0c0;
    --cyberkids-pink: #ff69b4;
    --cyberkids-gold: #ffd700;
    --cyberkids-coral: #ff7f50;
    --container-bg-opacity: 0.88;
}

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

body {
    background: #0a0a0a;
    background-image: url(../hintergrund.jpg);
    background-position: top left;
    background-attachment: fixed;
    background-size: cover;
    font-family: 'Press Start 2P', cursive;
    color: var(--c64-light-blue);
    line-height: 1.8;
    padding-bottom: 60px;
}

/* Glitzer-Canvas (hinter allem) */
#glitter-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.container {
    position: relative;
    z-index: 1;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: normal;
    word-break: break-word;
}

h1 { font-size: clamp(1.2rem, 4vw, 2rem); letter-spacing: 2px; }
h2 { font-size: clamp(1rem, 3vw, 1.4rem); }
h3 { font-size: clamp(0.85rem, 2.5vw, 1.1rem); }
h4 { font-size: clamp(0.75rem, 2vw, 0.9rem); }

p { margin-bottom: 1rem; word-break: break-word; }

a {
    color: var(--c64-light-green);
    text-decoration: none;
    transition: all 0.3s;
}

a:hover { color: var(--c64-yellow); }

strong, b { color: var(--c64-yellow); }

ul, ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.c64-container {
    background-color: rgba(0, 0, 0, var(--container-bg-opacity));
    border: 4px solid var(--c64-light-blue);
    box-shadow: 0 0 20px var(--c64-light-blue);
    padding: 25px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.c64-disclaimer {
    background-color: rgba(0, 0, 0, 0.7);
    color: var(--c64-gray);
    text-align: center;
    padding: 8px 0;
    margin-top: 10px;
    font-size: 0.7rem;
    border: 2px solid var(--c64-blue);
    overflow: hidden;
}

.c64-section {
    margin: 35px 0;
    padding: 20px 0;
    border-top: 2px solid var(--c64-blue);
}

/* Header */
.c64-header {
    text-align: center;
    margin-bottom: 25px;
    padding: 20px 0;
}

.c64-title {
    color: var(--c64-yellow);
    font-size: clamp(1.4rem, 5vw, 2.2rem);
    letter-spacing: 3px;
    text-transform: uppercase;
    text-shadow: 3px 3px 0px var(--c64-blue);
    margin-bottom: 10px;
}

.c64-subtitle {
    color: var(--cyberkids-pink);
    font-size: clamp(0.9rem, 3vw, 1.2rem);
    margin-top: 10px;
    text-shadow: 2px 2px 0px var(--c64-purple);
    letter-spacing: 2px;
}

/* Hero */
.hero-section { text-align: center; padding: 20px 0; }

.hero-badge {
    display: inline-block;
    background-color: var(--c64-red);
    color: white;
    padding: 8px 16px;
    font-size: 0.8rem;
    margin-bottom: 15px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hero-tagline {
    color: var(--c64-light-gray);
    font-size: clamp(0.6rem, 1.8vw, 0.75rem);
    line-height: 2;
    margin: 15px auto;
    max-width: 700px;
    padding: 15px;
    background-color: rgba(0,0,0,0.3);
    border-left: 4px solid var(--cyberkids-pink);
    text-align: left;
}

/* Hero Highlights */
.hero-highlights {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin: 25px 0;
}

.highlight-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background-color: rgba(64, 64, 224, 0.2);
    border: 2px solid var(--c64-light-blue);
    padding: 15px 20px;
    min-width: 130px;
    text-align: center;
    font-size: 0.65rem;
    color: var(--c64-light-gray);
    transition: all 0.3s;
}

.highlight-item:hover {
    border-color: var(--cyberkids-gold);
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.3);
}

.highlight-item i {
    font-size: 1.6rem;
    color: var(--cyberkids-gold);
}

.highlight-item small {
    display: block;
    color: var(--c64-gray);
    font-size: 0.55rem;
    margin-top: 3px;
}

.hero-cta { margin: 25px 0; }

/* Buttons */
.c64-button {
    background-color: var(--c64-blue);
    color: var(--c64-yellow);
    border: 3px solid var(--c64-light-blue);
    padding: 15px 25px;
    margin: 8px;
    font-family: 'Press Start 2P', cursive;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-block;
    text-align: center;
    text-decoration: none;
}

.c64-button:hover {
    background-color: var(--c64-light-blue);
    color: var(--c64-yellow);
    transform: scale(1.05);
    box-shadow: 0 0 15px var(--c64-light-blue);
}

.c64-button-primary {
    background-color: var(--c64-green);
    border-color: var(--c64-light-green);
}

.c64-button-primary:hover {
    background-color: var(--c64-light-green);
    box-shadow: 0 0 20px var(--c64-light-green);
}

/* Zertifikat-Banner */
.cert-banner {
    display: flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, rgba(255,215,0,0.1) 0%, rgba(64,64,224,0.2) 100%);
    border: 3px solid var(--cyberkids-gold);
    padding: 20px 25px;
    margin: 25px 0;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

.cert-icon {
    font-size: 3rem;
    color: var(--cyberkids-gold);
    flex-shrink: 0;
    animation: pulse 3s infinite;
}

.cert-text h3 {
    color: var(--cyberkids-gold);
    font-size: clamp(0.7rem, 2vw, 0.9rem);
    margin-bottom: 10px;
    text-shadow: 1px 1px 0 var(--c64-orange);
}

.cert-text p {
    color: var(--c64-light-gray);
    font-size: clamp(0.6rem, 1.5vw, 0.7rem);
    line-height: 1.9;
    margin-bottom: 0;
}

/* Section Titles */
.section-title {
    color: var(--c64-yellow);
    text-align: center;
    margin-bottom: 25px;
    font-size: clamp(0.9rem, 2.5vw, 1.3rem);
}

.section-title i {
    color: var(--c64-cyan);
    margin-right: 10px;
}

/* Two Columns */
.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-top: 20px;
}

.column {
    background-color: rgba(0, 0, 0, 0.5);
    border: 2px solid var(--c64-light-blue);
    padding: 20px;
    text-align: center;
}

.column-kids { border-color: var(--cyberkids-pink); }
.column-parents { border-color: var(--c64-cyan); }

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

.column-kids .column-icon { color: var(--cyberkids-pink); }
.column-parents .column-icon { color: var(--c64-cyan); }

.column-title {
    color: var(--c64-yellow);
    margin-bottom: 15px;
}

.column p {
    color: var(--c64-light-gray);
    font-size: 0.72rem;
    line-height: 1.9;
    text-align: left;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.feature-card {
    background-color: rgba(0, 0, 0, 0.5);
    border: 2px solid var(--c64-orange);
    padding: 20px;
    text-align: center;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(192, 128, 64, 0.35);
}

.feature-icon {
    font-size: 2rem;
    color: var(--c64-orange);
    margin-bottom: 12px;
}

.feature-title {
    color: var(--c64-yellow);
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--c64-light-gray);
    font-size: 0.68rem;
    line-height: 1.85;
    margin-bottom: 0;
    text-align: left;
}

/* Schedule */
.schedule-note {
    color: var(--c64-light-gray);
    font-size: 0.7rem;
    text-align: center;
    margin-bottom: 20px;
    padding: 12px;
    background-color: rgba(0,0,0,0.3);
    border: 1px dashed var(--c64-purple);
}

.schedule-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-top: 20px;
}

.schedule-day {
    background-color: rgba(0, 0, 0, 0.5);
    border: 3px solid var(--c64-purple);
}

.day-header {
    background-color: var(--c64-purple);
    padding: 15px;
    text-align: center;
}

.day-number {
    display: block;
    color: var(--c64-yellow);
    font-size: 1rem;
}

.day-date {
    display: block;
    color: white;
    font-size: 0.65rem;
    margin-top: 5px;
}

.day-content { padding: 12px; }

.time-block {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px dashed var(--c64-dark-gray);
}

.time-block:last-child { border-bottom: none; }

.time-block .time {
    color: var(--c64-cyan);
    font-size: 0.6rem;
    width: 100px;
    flex-shrink: 0;
    padding-top: 2px;
}

.time-block .topic {
    color: var(--c64-light-gray);
    font-size: 0.62rem;
    text-align: right;
    flex: 1;
    line-height: 1.6;
}

.time-block .topic.break { color: var(--c64-gray); }

.time-block .topic.cert-highlight {
    color: var(--cyberkids-gold);
    font-weight: bold;
}

/* Parents Info */
.parents-info { margin-top: 20px; }

.parents-intro {
    text-align: center;
    color: var(--c64-light-gray);
    font-size: 0.72rem;
    margin-bottom: 25px;
    padding: 15px;
    background-color: rgba(0, 0, 0, 0.3);
    border-left: 4px solid var(--c64-cyan);
    line-height: 1.9;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.trust-item {
    background-color: rgba(0, 0, 0, 0.4);
    border: 2px solid var(--c64-cyan);
    padding: 18px;
    text-align: center;
    transition: all 0.3s;
}

.trust-item:hover {
    border-color: var(--cyberkids-gold);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.15);
}

.trust-icon {
    font-size: 1.8rem;
    color: var(--c64-cyan);
    margin-bottom: 10px;
}

.trust-item h4 {
    color: var(--c64-yellow);
    font-size: 0.75rem;
    margin-bottom: 10px;
}

.trust-item p {
    color: var(--c64-light-gray);
    font-size: 0.65rem;
    line-height: 1.8;
    margin-bottom: 0;
    text-align: left;
}

/* Instructor Card */
.instructor-card {
    display: flex;
    background-color: rgba(0, 0, 0, 0.4);
    border: 3px solid var(--c64-green);
    padding: 25px;
    gap: 25px;
    align-items: flex-start;
}

.instructor-avatar {
    font-size: 4rem;
    color: var(--c64-green);
    flex-shrink: 0;
    text-align: center;
    min-width: 80px;
}

.instructor-info h3 {
    color: var(--c64-yellow);
    font-size: clamp(0.9rem, 2.5vw, 1.2rem);
    margin-bottom: 8px;
}

.instructor-title {
    color: var(--cyberkids-pink);
    font-size: 0.68rem;
    margin-bottom: 5px;
    line-height: 1.7;
}

.instructor-cert {
    color: var(--c64-cyan);
    font-size: 0.62rem;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 1px dashed var(--c64-dark-gray);
}

.instructor-info p {
    color: var(--c64-light-gray);
    font-size: 0.68rem;
    line-height: 1.9;
    margin-bottom: 10px;
}

.instructor-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0;
}

.inst-badge {
    background-color: rgba(0, 192, 0, 0.15);
    border: 1px solid var(--c64-green);
    color: var(--c64-light-green);
    font-size: 0.55rem;
    padding: 5px 10px;
}

.inst-badge i { margin-right: 5px; }

.instructor-contact { margin-top: 12px; }

/* Pricing */
.pricing-card {
    background-color: rgba(0, 0, 0, 0.5);
    border: 4px solid var(--cyberkids-gold);
    padding: 30px;
    text-align: center;
    margin-bottom: 30px;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.15);
}

.price-tag { margin-bottom: 25px; }

.price-amount {
    display: block;
    font-size: clamp(2rem, 6vw, 3rem);
    color: var(--cyberkids-gold);
    text-shadow: 2px 2px 0px var(--c64-orange);
}

.price-note {
    display: block;
    color: var(--c64-light-gray);
    font-size: 0.7rem;
    margin-top: 10px;
}

.price-includes {
    text-align: left;
    margin-bottom: 25px;
}

.price-includes h4 {
    color: var(--c64-yellow);
    font-size: 0.85rem;
    margin-bottom: 15px;
    text-align: center;
}

.price-includes ul {
    list-style: none;
    margin-left: 0;
}

.price-includes li {
    color: var(--c64-light-gray);
    font-size: 0.7rem;
    padding: 8px 0;
    border-bottom: 1px dashed var(--c64-dark-gray);
}

.price-includes li:last-child { border-bottom: none; }

.price-includes li i {
    color: var(--c64-light-green);
    margin-right: 10px;
}

.price-limited {
    background-color: rgba(224, 0, 0, 0.2);
    border: 2px solid var(--c64-red);
    padding: 12px;
    color: var(--c64-red);
    font-size: 0.75rem;
}

.price-limited i { margin-right: 8px; }

/* Registration / Inquiry Form */
.registration-form {
    background-color: rgba(0, 0, 0, 0.4);
    border: 2px solid var(--c64-light-blue);
    padding: 25px;
}

.registration-form h3 {
    color: var(--c64-yellow);
    text-align: center;
    margin-bottom: 12px;
    font-size: clamp(0.75rem, 2.5vw, 0.95rem);
}

.form-intro {
    color: var(--c64-light-gray);
    font-size: 0.65rem;
    line-height: 1.8;
    margin-bottom: 20px;
    padding: 12px;
    background-color: rgba(0,0,0,0.3);
    border-left: 3px solid var(--c64-cyan);
}

.form-group { margin-bottom: 18px; }

.form-group label {
    display: block;
    color: var(--c64-cyan);
    font-size: 0.68rem;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background-color: rgba(0, 0, 0, 0.6);
    border: 2px solid var(--c64-dark-gray);
    color: var(--c64-light-gray);
    font-family: inherit;
    font-size: 0.68rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--c64-light-blue);
    box-shadow: 0 0 8px rgba(112, 112, 255, 0.3);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--c64-dark-gray);
}

.form-group input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
}

.form-check label { display: inline; }

.form-check {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.form-check label {
    color: var(--c64-light-gray);
    font-size: 0.62rem;
    line-height: 1.8;
}

.form-note {
    text-align: center;
    color: var(--c64-gray);
    font-size: 0.62rem;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed var(--c64-dark-gray);
    line-height: 1.8;
}

.form-note i { margin-right: 5px; }

/* Accordion */
.accordion { margin-top: 20px; }

.accordion-item {
    background-color: rgba(0, 0, 0, 0.7);
    border: 2px solid var(--c64-light-blue);
    margin-bottom: 10px;
}

.accordion-button {
    background-color: var(--c64-blue);
    color: var(--c64-yellow);
    font-family: 'Press Start 2P', cursive;
    font-size: clamp(0.55rem, 1.5vw, 0.7rem);
    padding: 15px;
    text-align: left;
    width: 100%;
    word-break: break-word;
    line-height: 1.7;
}

.accordion-button:not(.collapsed) {
    color: var(--c64-yellow) !important;
    background-color: var(--c64-light-blue) !important;
    box-shadow: 0 0 10px var(--c64-light-blue);
}

.accordion-button:focus {
    box-shadow: 0 0 10px var(--c64-light-blue);
    border-color: var(--c64-light-blue);
}

.accordion-button::after {
    filter: invert(1) hue-rotate(180deg) brightness(1.5);
    flex-shrink: 0;
}

.accordion-body {
    color: var(--c64-light-gray);
    padding: 15px;
    font-size: 0.68rem;
    line-height: 1.9;
}

/* Footer */
.c64-footer {
    margin-top: 40px;
    text-align: center;
    color: var(--c64-gray);
    font-size: 0.72rem;
    padding: 25px 0;
    border-top: 2px solid var(--c64-blue);
}

.c64-footer h4 {
    color: var(--c64-yellow);
    margin-bottom: 10px;
    margin-top: 20px;
    font-size: 0.75rem;
}

.c64-footer h4:first-child { margin-top: 0; }

.c64-footer p {
    color: var(--c64-light-gray);
    margin-bottom: 6px;
    font-size: 0.65rem;
}

.footer-powered {
    margin-top: 20px;
    font-size: 0.58rem;
    color: var(--c64-gray);
}

/* Animations */
.pixel-animation {
    animation: pixel-flicker 3s infinite alternate;
}

@keyframes pixel-flicker {
    0%, 18%, 22%, 25%, 53%, 57%, 100% {
        text-shadow:
            0 0 5px var(--c64-light-blue),
            0 0 10px var(--c64-light-blue),
            0 0 20px var(--c64-light-blue);
    }
    20%, 24%, 55% {
        text-shadow: none;
    }
}

/* Links */
.c64-link {
    color: var(--c64-light-green);
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
    padding: 3px;
    border: 1px solid transparent;
}

.c64-link:hover {
    color: var(--c64-yellow);
    border: 1px solid var(--c64-yellow);
}

/* ===================== RESPONSIVE ===================== */

@media (max-width: 992px) {
    .c64-title { font-size: 1.8rem; }

    .two-columns,
    .schedule-grid,
    .trust-grid { grid-template-columns: 1fr; }

    .features-grid { grid-template-columns: repeat(2, 1fr); }

    .instructor-card {
        flex-direction: column;
        text-align: center;
    }

    .instructor-avatar { margin: 0 auto; }
    .instructor-badges { justify-content: center; }
    .instructor-contact { text-align: center; }
    .instructor-info p { text-align: left; }

    .cert-banner { flex-direction: column; text-align: center; }
}

@media (max-width: 768px) {
    .c64-container { padding: 15px; }
    .c64-title { font-size: 1.4rem; }
    .c64-subtitle { font-size: 0.85rem; letter-spacing: 1px; }
    .section-title { font-size: 1rem; }
    .price-amount { font-size: 2.2rem; }

    .c64-button {
        display: block;
        width: 100%;
        margin: 8px 0;
    }

    .hero-highlights {
        gap: 10px;
    }

    .highlight-item {
        min-width: 110px;
        padding: 12px 15px;
    }

    .features-grid { grid-template-columns: 1fr; }

    .accordion-button { font-size: 0.58rem; padding: 12px; }
    .accordion-body { font-size: 0.62rem; }
}

@media (max-width: 576px) {
    .c64-title { font-size: 1.1rem; letter-spacing: 1px; }
    .c64-subtitle { font-size: 0.75rem; }

    .hero-highlights { flex-direction: column; align-items: stretch; }
    .highlight-item { flex-direction: row; justify-content: flex-start; min-width: unset; }
    .highlight-item i { font-size: 1.3rem; }

    .time-block { flex-direction: column; gap: 3px; }
    .time-block .time { width: 100%; }
    .time-block .topic { text-align: left; }

    .cert-banner { padding: 15px; }
    .cert-icon { font-size: 2rem; }

    .instructor-card { padding: 15px; }
    .registration-form { padding: 15px; }
    .pricing-card { padding: 20px; }
}

@media (max-width: 400px) {
    body { font-size: 11px; }
    .c64-title { font-size: 0.95rem; }
    .c64-button { font-size: 0.65rem; padding: 12px; }
    .section-title { font-size: 0.85rem; }
}

/* ══════════════════════════════════════════════════════════
   C64 MODAL – Impressum & Datenschutz
══════════════════════════════════════════════════════════ */

.c64-modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.88);
    z-index: 2000;
    justify-content: center;
    align-items: flex-start;
    padding: 30px 15px;
    overflow-y: auto;
}

.c64-modal-overlay.is-open {
    display: flex;
    animation: modal-fadein 0.18s ease-out;
}

@keyframes modal-fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.c64-modal {
    width: 100%;
    max-width: 720px;
    background: #000;
    border: 3px solid var(--c64-light-blue);
    box-shadow: 0 0 30px var(--c64-light-blue), 0 0 60px rgba(112,112,255,0.2);
    animation: modal-slidein 0.22s ease-out;
    margin: auto;
}

@keyframes modal-slidein {
    from { transform: translateY(-30px); opacity: 0; }
    to   { transform: translateY(0);     opacity: 1; }
}

/* ── Titelleiste (C64-Fenster-Style) ── */
.c64-modal-header {
    display: flex;
    align-items: center;
    background: var(--c64-blue);
    padding: 10px 15px;
    border-bottom: 3px solid var(--c64-light-blue);
    gap: 10px;
}

.c64-modal-icon {
    color: var(--c64-cyan);
    font-size: 0.7rem;
    flex-shrink: 0;
}

.c64-modal-title {
    color: var(--c64-yellow);
    font-size: clamp(0.7rem, 2vw, 0.9rem);
    letter-spacing: 3px;
    flex: 1;
    text-shadow: 1px 1px 0 var(--c64-brown);
}

.c64-modal-close {
    background: var(--c64-red);
    color: #fff;
    border: 2px solid #ff6060;
    font-family: 'Press Start 2P', cursive;
    font-size: 0.65rem;
    padding: 6px 10px;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}

.c64-modal-close:hover {
    background: #ff0000;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
    transform: scale(1.05);
}

/* ── Inhalt ── */
.c64-modal-body {
    padding: 20px 25px;
    max-height: 70vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--c64-blue) #111;
}

.c64-modal-body::-webkit-scrollbar { width: 6px; }
.c64-modal-body::-webkit-scrollbar-track { background: #111; }
.c64-modal-body::-webkit-scrollbar-thumb { background: var(--c64-blue); }

.c64-modal-section {
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px dashed var(--c64-blue);
}

.c64-modal-section:last-of-type { border-bottom: none; }

.c64-modal-section h3 {
    color: var(--c64-yellow);
    font-size: clamp(0.6rem, 1.8vw, 0.72rem);
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.c64-modal-section p,
.c64-modal-section li {
    color: var(--c64-light-gray);
    font-size: clamp(0.58rem, 1.5vw, 0.68rem);
    line-height: 1.9;
    margin-bottom: 8px;
}

.c64-modal-section ul {
    margin-left: 1.2rem;
    margin-bottom: 0;
}

.c64-modal-section strong { color: var(--c64-yellow); }

/* ── Badge-Zeile (Datenschutz) ── */
.c64-modal-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px dashed var(--c64-blue);
}

.c64-modal-badge {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    font-size: 0.6rem;
    border: 2px solid;
}

.c64-modal-badge.green {
    background: rgba(0, 192, 0, 0.1);
    border-color: var(--c64-green);
    color: var(--c64-light-green);
}

.c64-modal-updated {
    text-align: center;
    color: var(--c64-dark-gray) !important;
    font-size: 0.58rem !important;
    border-bottom: none !important;
    margin-bottom: 0 !important;
}

@media (max-width: 576px) {
    .c64-modal-body { padding: 15px; max-height: 65vh; }
    .c64-modal-badge-row { justify-content: center; }
}

/* ── CRT Scanlines (fixed overlay, subtil) ── */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 998;
    background: repeating-linear-gradient(
        to bottom,
        transparent 0px,
        transparent 3px,
        rgba(0, 0, 0, 0.055) 3px,
        rgba(0, 0, 0, 0.055) 4px
    );
}

/* ── CRT Vignette (dunkle Ränder wie CRT-Bildschirm) ── */
body::after {
    content: '';
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 997;
    background: radial-gradient(
        ellipse at center,
        transparent 58%,
        rgba(0, 0, 0, 0.42) 100%
    );
}
