/* Grundkonfiguration & Variablen für KI-Thema (Dark Mode / Neon) */
:root {
    --bg-color: #0b0f19;
    --card-bg: rgba(20, 28, 47, 0.7);
    --text-color: #e2e8f0;
    --text-muted: #94a3b8;
    --primary-gradient: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
    --neon-glow: linear-gradient(135deg, #8a2be2 0%, #4a00e0 50%, #00d2ff 100%);
    --accent-color: #00f2fe;
    --border-color: rgba(0, 242, 254, 0.15);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(138, 43, 226, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(0, 242, 254, 0.1) 0%, transparent 40%);
    background-attachment: fixed;
}

/* Container */
#wrapper {
    width: 90%;
    max-width: 1100px;
    margin: 40px auto;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px;
    backdrop-filter: blur(12px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

/* Header mit animiert wirkendem KI-Verlauf */
header {
    text-align: center;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 30px;
}

header h1 {
    font-size: 2.8rem;
    font-weight: 800;
    background: var(--neon-glow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

/* Navigation */
nav {
    margin-bottom: 40px;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
}

nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

nav a:hover, nav a.active {
    color: var(--accent-color);
    background: rgba(0, 242, 254, 0.05);
    border-color: rgba(0, 242, 254, 0.3);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.1);
}

/* Hauptinhalt (Styling für TYPO3 Inhaltselemente) */
main {
    min-height: 400px;
}

/* Standard-Überschriften im Inhalt */
main h1, main h2, main h3 {
    color: #fff;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

main h2 {
    font-size: 1.8rem;
    border-left: 4px solid var(--accent-color);
    padding-left: 12px;
}

main p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

/* Automatische Anpassung für TYPO3-Standard-Text/Bild Elemente */
.ce-textpic, .ce-bodytext {
    background: rgba(255, 255, 255, 0.02);
    padding: 25px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 20px;
}

/* Footer */
footer {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}