/* 
   ==========================================================================
   ZENTRALES STYLESHEET - HIER ANPASSEN
   ==========================================================================
   Ändern Sie die Werte unter :root, um das Aussehen der gesamten Website zu steuern.
*/

:root {
    /* --- FARBEN --- */
    --bg-body: #121212;             /* Haupt-Hintergrundfarbe (Dunkel) */
    --bg-card: #1e1e1e;             /* Hintergrund für Karten/Boxen */
    --bg-nav: #000000;              /* Hintergrund Navigation */
    --text-main: #e0e0e0;           /* Haupt-Textfarbe (Hellgrau) */
    --text-muted: #aaaaaa;          /* Gedimmter Text */
    
    /* Akzentfarben */
    --primary-color: #d32f2f;       /* Hauptfarbe (Rot) - für Buttons, Links, Logo */
    --primary-hover: #b71c1c;       /* Dunkleres Rot für Hover-Effekte */
    --secondary-color: #ffca28;     /* Zweitfarbe (Gold/Gelb) - für Highlights, Linien */
    
    /* --- SCHRIFTARTEN --- */
    --font-main: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    --font-heading: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif; /* Kann eine andere Schriftart sein */
    
    /* --- GRÖSSEN & ABSTÄNDE --- */
    --container-width: 1200px;      /* Maximale Breite des Inhalts */
    --border-radius: 8px;           /* Rundung der Ecken an Boxen/Buttons */
    --nav-height: 80px;             /* Höhe der Navigationsleiste */
}

/* ==========================================================================
   BASIS STYLES (Nicht ändern, wenn unsicher)
   ========================================================================== */

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    font-family: var(--font-main);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-main);
    margin-top: 0;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

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

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

header {
    background-color: var(--bg-nav);
    height: var(--nav-height);
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
}

.logo-container {
    display: flex;
    align-items: center;
    height: 100%;
    max-width: 70%; 
    text-decoration: none;
}

/* 
   Responsive Logo Styles:
*/
.logo-img {
    height: auto;
    width: auto;
    max-height: 60px; /* Standard Höhe Desktop */
    max-width: 100%;  
    margin-right: 15px;
}

.logo-text {
    font-weight: bold;
    display: inline-block;
    white-space: nowrap; /* Kein Umbruch im Text */
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    color: var(--text-main);
    font-weight: 500;
    padding: 10px;
}

.nav-links li a:hover {
    color: var(--primary-color);
}

/* ==========================================================================
   LAYOUT KOMPONENTEN
   ========================================================================== */

.container {
    max-width: var(--container-width);
    margin: 40px auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
    text-transform: uppercase;
    position: relative;
    font-size: 2rem;
}

.section-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    background: var(--secondary-color);
    margin: 15px auto 0;
}

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

.card {
    background-color: var(--bg-card);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.card h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white !important;
    padding: 12px 25px;
    border-radius: var(--border-radius);
    transition: background-color 0.3s;
    margin-top: 15px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    border: none;
}

.btn:hover {
    background-color: var(--primary-hover);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero {
    background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url("images/hero-bg.jpg");
    background-size: cover;
    background-position: center;
    height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    color: var(--secondary-color);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.hero p {
    font-size: 1.4rem;
    max-width: 800px;
    margin-bottom: 30px;
}

/* ==========================================================================
   VIDEO SECTION
   ========================================================================== */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Verhältnis */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin-bottom: 20px;
    border-radius: var(--border-radius);
    border: 1px solid #333;
}

.video-wrapper iframe, .video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

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

footer {
    background-color: var(--bg-nav);
    padding: 60px 0 20px;
    margin-top: 80px;
    border-top: 2px solid #333;
}

.footer-content {
    max-width: var(--container-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding: 0 20px;
}

.footer-section h4 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: var(--text-muted);
}

.footer-section ul li a:hover {
    color: var(--text-main);
}

.copyright {
    text-align: center;
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #666;
    font-size: 0.9rem;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MOBILE)
   ========================================================================== */

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--text-main);
    margin: 5px;
    transition: all 0.3s ease;
}

@media screen and (max-width: 768px) {
    .nav-links {
        position: absolute;
        right: 0px;
        height: calc(100vh - var(--nav-height));
        top: var(--nav-height);
        background-color: var(--bg-nav);
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        z-index: 999;
        padding-top: 50px;
    }

    .nav-links li {
        opacity: 0;
    }

    .burger {
        display: block;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }

    /* Logo Anpassung für Mobile */
    .logo-img {
        max-height: 50px;
    }
    
    /* Text ausblenden auf Handy um Platz zu sparen */
    .logo-text {
        display: none;
    }
    
    .logo-container {
        max-width: 30%; /* Nur das Logo Icon */
    }
}

.nav-active {
    transform: translateX(0%);
}

