/* ============================================
   RESET UND BASIS-STYLES
   ============================================ */

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

:root {
    /* Logo Farben */
    --logo-dunkel: #600047;
    --pink-knallig: #ff00bd;
    --pink-hell: #ff9be5;
    --blau-dunkel: #002265;
    --blau-knallig: #004de8;
    --logo-hellblau: #a6bae2;
    --logo-grau-dunkel: #333841;
    --grau-hell: #9c9ea2;
    --logo-kontur: #000000;
    
    /* Abstände */
    --sidebar-width: 280px;
    --header-height: 80px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, var(--logo-grau-dunkel) 0%, #1a1b1f 100%);
    color: var(--grau-hell);
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
}


/* ============================================
   HAMBURGER MENU
   ============================================ */

.hamburger {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1002;
    width: 35px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0;
    transition: opacity 0.3s ease;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--pink-knallig);
    border-radius: 3px;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 0, 189, 0.5);
}

.hamburger:hover span {
    background: var(--pink-hell);
    box-shadow: 0 0 15px rgba(255, 0, 189, 0.8);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(13.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-13.5px) rotate(-45deg);
}


/* ============================================
   SIDEBAR NAVIGATION
   ============================================ */

.sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: var(--sidebar-width);
    height: 100vh;
    background: linear-gradient(180deg, var(--logo-dunkel) 0%, var(--blau-dunkel) 100%);
    box-shadow: 5px 0 25px rgba(0, 0, 0, 0.5);
    transition: left 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
    border-right: 1px solid var(--pink-knallig);
}

.sidebar.active {
    left: 0;
}

.sidebar-header {
    padding: 30px 20px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 2px solid var(--pink-knallig);
    margin-bottom: 20px;
}

.sidebar-header h2 {
    color: var(--pink-hell);
    font-size: 1.8rem;
    text-shadow: 0 0 20px rgba(255, 0, 189, 0.5);
    font-weight: 300;
    letter-spacing: 2px;
}

.nav-menu {
    list-style: none;
    padding: 0 10px;
}

.nav-menu li {
    margin-bottom: 5px;
}

.nav-menu a {
    display: block;
    padding: 15px 20px;
    color: var(--logo-hellblau);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--pink-knallig), transparent);
    transition: left 0.5s ease;
    opacity: 0.3;
}

.nav-menu a:hover {
    background: rgba(255, 0, 189, 0.1);
    color: var(--pink-hell);
    transform: translateX(5px);
    box-shadow: 0 0 15px rgba(255, 0, 189, 0.3);
}

.nav-menu a:hover::before {
    left: 100%;
}

.nav-menu a.active {
    background: linear-gradient(90deg, var(--pink-knallig), var(--blau-knallig));
    color: white;
    box-shadow: 0 5px 20px rgba(255, 0, 189, 0.5);
}


/* ============================================
   OVERLAY
   ============================================ */

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}


/* ============================================
   MAIN WRAPPER & LAYOUT
   ============================================ */

.main-wrapper {
    margin-left: 0;
    transition: margin-left 0.3s ease;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}


/* ============================================
   HEADER
   ============================================ */

.site-header {
    background: linear-gradient(90deg, var(--logo-grau-dunkel) 0%, rgba(51, 56, 65, 0.95) 100%);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--pink-knallig);
    /* Nicht mehr sticky - scrollt normal mit */
}

.header-content {
    padding: 0;
    display: flex;
    flex-direction: column;
}

.header-top {
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid rgba(255, 0, 189, 0.2);
    
    /* Hintergrundbild hinzufügen */
    background-image: url('../media/header-background.png');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover; /* oder 'contain', je nach Wunsch */
    
    /* Höhe festlegen */
    min-height: 300px;
    
    /* Optional: Für bessere Logo-Sichtbarkeit */
    position: relative;
}

.header-logo {
    flex-shrink: 0;
}

.logo-link {
    text-decoration: none;
    display: inline-block;
}

.logo-text {
    font-size: 2.5rem;
    font-weight: bold;
    background: linear-gradient(90deg, var(--pink-knallig), var(--blau-knallig));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(255, 0, 189, 0.5);
    letter-spacing: 3px;
}

.header-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.contact-info {
    display: flex;
    gap: 25px;
}

.info-item {
    color: var(--logo-hellblau);
    font-size: 0.95rem;
}

.greeting {
    color: var(--grau-hell);
    font-size: 0.9rem;
}

.header-nav {
    background: rgba(0, 0, 0, 0.2);
    padding: 0;
}

.nav-container {
    display: flex;
    justify-content: center;
    gap: 0;
    padding: 0 30px;
}

.header-nav a {
    color: var(--logo-hellblau);
    text-decoration: none;
    padding: 20px 25px;
    transition: all 0.3s ease;
    position: relative;
    border-bottom: 3px solid transparent;
}

.header-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--pink-knallig);
    transition: width 0.3s ease;
}

.header-nav a:hover {
    color: var(--pink-hell);
    background: rgba(255, 0, 189, 0.05);
}

.header-nav a:hover::after {
    width: 100%;
}

.header-nav a.active {
    color: white;
    background: rgba(255, 0, 189, 0.1);
    border-bottom-color: var(--pink-knallig);
}


/* ============================================
   STICKY NOTICES (Optional)
   ============================================ */

.sticky-notices {
    position: sticky;
    top: 0;
    z-index: 500;
    background: linear-gradient(90deg, var(--pink-knallig), var(--blau-knallig));
    color: white;
    padding: 10px 20px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    font-size: 0.95rem;
}

.sticky-notices .notice-bar {
    max-width: 1200px;
    margin: 0 auto;
}

.sticky-notices a {
    color: white;
    text-decoration: underline;
}

.sticky-notices a:hover {
    text-decoration: none;
}


/* ============================================
   MAIN CONTENT
   ============================================ */

.content {
    flex: 1;
    padding: 40px 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}


/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    color: var(--pink-hell);
    margin-bottom: 20px;
    font-weight: 300;
}

h1 {
    font-size: 3rem;
    text-shadow: 0 0 30px rgba(255, 0, 189, 0.3);
    margin-bottom: 30px;
}

h2 {
    font-size: 2.2rem;
    border-bottom: 2px solid var(--pink-knallig);
    padding-bottom: 10px;
    margin-bottom: 25px;
}

h3 {
    font-size: 1.8rem;
    color: var(--logo-hellblau);
}

p {
    margin-bottom: 20px;
    color: var(--grau-hell);
    line-height: 1.8;
}

.lead {
    font-size: 1.2rem;
    color: var(--logo-hellblau);
    line-height: 1.8;
}


/* ============================================
   CARDS
   ============================================ */

.card {
    background: rgba(51, 56, 65, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid var(--blau-knallig);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 0, 189, 0.2);
    border-color: var(--pink-knallig);
}

.card h3 {
    color: var(--pink-hell);
    margin-bottom: 15px;
}


/* ============================================
   GRID LAYOUT
   ============================================ */

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}


/* ============================================
   FEATURES LIST
   ============================================ */

.features {
    list-style: none;
    padding: 0;
}

.features li {
    padding: 15px 0;
    border-bottom: 1px solid rgba(156, 158, 162, 0.2);
    color: var(--grau-hell);
    position: relative;
    padding-left: 30px;
}

.features li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--pink-knallig);
    font-size: 1.5rem;
    text-shadow: 0 0 10px rgba(255, 0, 189, 0.5);
}


/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(90deg, var(--pink-knallig), var(--blau-knallig));
    color: white;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(255, 0, 189, 0.3);
    font-size: 1rem;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 0, 189, 0.5);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--pink-knallig);
    color: var(--pink-hell);
}

.btn-secondary:hover {
    background: rgba(255, 0, 189, 0.1);
}


/* ============================================
   FOOTER
   ============================================ */

.site-footer {
    background: var(--logo-grau-dunkel);
    border-top: 1px solid var(--pink-knallig);
    margin-top: auto;
}

.footer-content {
    padding: 40px 30px;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--logo-hellblau);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--pink-hell);
}

.footer-bottom {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(156, 158, 162, 0.2);
    color: var(--grau-hell);
}


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

/* Desktop - Große Bildschirme */
@media (min-width: 1500px) {
    .hamburger {
        display: none;
    }
    
    .sidebar {
        left: 0;
    }
    
    .main-wrapper {
        margin-left: var(--sidebar-width);
    }
    
    .overlay {
        display: none;
    }
}

/* Tablet */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .header-nav {
        display: none;
    }
    
    .grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
}

/* Smartphone */
@media (max-width: 480px) {
    .sidebar {
        width: 250px;
    }
    
    .content {
        padding: 20px 15px;
    }
    
    .card {
        padding: 20px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}


/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 0, 189, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 0, 189, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 0, 189, 0);
    }
}


/* ============================================
   CUSTOM SCROLLBAR
   ============================================ */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--logo-grau-dunkel);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--pink-knallig), var(--blau-knallig));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--pink-hell), var(--logo-hellblau));
}


/* ============================================
   UTILITY CLASSES
   ============================================ */

.text-center {
    text-align: center;
}

.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mt-4 { margin-top: 40px; }
.mt-5 { margin-top: 50px; }

.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mb-4 { margin-bottom: 40px; }
.mb-5 { margin-bottom: 50px; }

.p-1 { padding: 10px; }
.p-2 { padding: 20px; }
.p-3 { padding: 30px; }
.p-4 { padding: 40px; }
.p-5 { padding: 50px; }