/* ==========================================================================
   STYLE.CSS - Haupt-Design-Datei
   ========================================================================== */

/* Globale Zurücksetzung und Box-Sizing */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
strong { color:#FF0; }
/* Body-Styling mit vorbereitetem Hintergrundbild */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-image: url('img/back1.jpg'); /* HIER DEIN HINTERGRUNDBILD ABLEGEN */
    background-color: #112211; /* Fallback Dunkelgrün */
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    color: #ffffff;
    line-height: 1.6;
    padding: 15px;
}

.video {
	width:95%;
	height:380px;
	border-radius:10px;
	border:2px solid #000;
	padding:9px;
	margin:6px;
	background-image: url('img/back3.jpg'); 
	background-size: cover;
	color:#000;
	text-decoration:none;
}

.bild-link {
	height:140px;
	box-shadow:3px 3px 4px #000;
	margin:4px;
}
.bild-links {
  float: left; /* Das Bild gleitet nach links (alternativ: right) */
  margin-right: 15px; /* Abstand zwischen Bild und Text rechts */
  margin-bottom: 10px; /* Abstand unter dem Bild */
  width: 270px; /* Breite des Bildes anpassen */
}

.ifr { 
	width:410px;
	float:left;
	margin:6px;
	border-radius:10px;
}
/* Zentraler Container für die gesamte Webseite */
.site-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

/* --- 1. BANNER STYLE --- */
.main-banner {
    background: rgba(15, 45, 20, 0.85);
    text-align: center;
    padding: 40px 20px;
    border: 5px solid #d4af37; /* Dicker goldener Rand */
    border-radius: 15px;       /* Abgerundete Ecken */
    margin-bottom: 20px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.5);
}

.banner-title {
    font-size: 3rem;
    color: #d4af37;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px #000000;
}

.banner-subtitle {
    font-size: 1.2rem;
    color: #a0db8e;
}

/* --- 2. NAVIGATION & DROPDOWNS --- */
.navigation-bar {
    background: #0f2d14;
    border: 4px solid #d4af37;
    border-radius: 10px;
    margin-bottom: 20px;
    position: relative;
    z-index: 100;
}

/* Verstecke Smartphone-Icon standardmäßig */
.menu-icon {
    display: none;
    color: #d4af37;
    padding: 14px 16px;
    text-decoration: none;
    font-weight: bold;
}

.menu-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}

.menu-item {
    position: relative;
}

.menu-link, .menu-link-yt {
    display: block;
    padding: 15px 20px;
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.menu-link-yt {
    color: #ff4444; /* YouTube rot hervorheben */
}

/* Hover Effekte */
.menu-item:hover > .menu-link {
    background: #1a4d22;
    color: #d4af37;
}

.menu-item:hover > .menu-link-yt {
    background: #ff4444;
    color: #ffffff;
}

/* Dropdown Menü (Verschachtelt) */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #0f2d14;
    border: 3px solid #d4af37;
    border-radius: 8px;
    list-style: none;
    min-width: 240px;
    max-height: 400px; /* Begrenzung für sehr lange Listen */
    overflow-y: auto;  /* Scrollbalken falls nötig */
    box-shadow: 0 8px 16px rgba(0,0,0,0.6);
}

.dropdown-menu li a {
    display: block;
    padding: 10px 15px;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.95rem;
}

.dropdown-menu li a:hover {
    background: #d4af37;
    color: #0f2d14;
    font-weight: bold;
}

/* Dropdown beim Hover einblenden */
.dropdown:hover .dropdown-menu {
    display: block;
}

/* --- 3. INHALT STYLE --- */
.main-content {
    margin-bottom: 20px;
}

.content-box, .content-box-dynamic {
    background: rgba(0, 0, 0, 0.8);
    border: 4px solid #1a4d22; /* Dicker grüner Rand */
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.content-box h2 {
    color: #d4af37;
    margin-bottom: 15px;
    border-bottom: 2px solid #1a4d22;
    padding-bottom: 10px;
}

.content-box p {
    margin-bottom: 15px;
}

.error h2 {
    color: #ff4444;
}

.hint {
    background: #221111;
    padding: 10px;
    border-left: 4px solid #ff4444;
    font-family: monospace;
}

/* --- 4. FOOTER STYLE --- */
.main-footer {
    background: rgba(15, 45, 20, 0.9);
    border: 4px solid #d4af37;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: #a0db8e;
}

/* --- 5. RESPONSIVE DESIGN (SMARTPHONES) --- */
@media screen and (max-width: 768px) {
    body {
        padding: 5px;
    }
    
    .banner-title {
        font-size: 2rem;
    }
    
    /* Menü-Struktur für mobile Geräte anpassen */
    .menu-list {
        display: none;
        flex-direction: column;
        width: 100%;
    }
    
    .menu-icon {
        display: block; /* Hamburger aktivieren */
        border-bottom: 2px solid #d4af37;
    }
    
    /* Klasse wird via JS umgeschaltet */
    .menu-list.responsive {
        display: flex;
    }
    
    .menu-item {
        width: 100%;
        border-bottom: 1px solid #1a4d22;
    }
    
    /* Dropdowns verhalten sich mobil als Akkordeon/statisch */
    .dropdown-menu {
        position: static;
        width: 100%;
        max-height: none;
        border: none;
        background: #0a1f0d;
        padding-left: 20px;
    }
    
    .dropdown:hover .dropdown-menu {
        display: block;
    }
}

