/* --- CSS VARIABLES --- */
:root {
    --bg-color: #121212;
    --card-bg: #1e1e1e;
    --text-main: #ffffff;
    --text-sec: #b3b3b3;
}

/* --- RESET & BASIC SETUP --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    scroll-behavior: smooth;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
span { color: var(--accent); }

/* --- FIXED BAR --- */
.fixed-bar { position: fixed; z-index: 999; width: 100%; }

/* --- NAVIGATION --- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 5%;
    background-color: rgba(18, 18, 18, 0.95);
    /*position: fixed; // aufgehoben wegen neuer fixed-bar */
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #333;
}

.logo img {
    height: 50px;        /* Größe anpassen */
	border-radius: 50%;
    width: auto;         /* immer proportional */
    object-fit: contain; /* niemals verzerren */
    display: block;      /* verhindert vertikales Verschieben */
}

.nav-links { display: flex; gap: 30px; }
.nav-links a:hover { color: var(--accent); }

/* Nav Dropdown */
.dropbtn, .sub-dropbtn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
	color: var(--text-main);
	transition: 0.3s;
}

.dropbtn:hover, .sub-dropbtn:hover {
	color: var(--accent);
}

.dropdown {
    position: relative; 
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--bg-color);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 2;
    border-radius: 5px;
    top: 100%; 
    left: 0;
    min-width: 180px;
    padding: 0;
}

.dropdown-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dropdown-menu-list li {
    list-style: none;
    position: relative;
}

.dropdown-menu-list li a,
.dropdown-menu-list li .sub-dropbtn {
    text-decoration: none;
    color: var(--text-main);
    padding: 10px;
    display: block;
    background: none;
    border: none;
    text-align: left;
    width: 100%;
    cursor: pointer;
}

.dropdown-menu-list li a:hover,
.dropdown-menu-list li .sub-dropbtn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--accent);
}

.dropdown:hover > .dropdown-content {
    display: block;
}

.sub-dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--bg-color);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 3;
    min-width: 180px;
    border-radius: 5px;
    /* Positionierung */
    right: 100%; 
    top: 0px; 
}

.sub-dropdown-content a {
    color: var(--text-main);
    padding: 10px;
    display: block;
}

.sub-dropdown-content a:first-child {
	border-right: 1px solid var(--accent);
}

.sub-dropdown:hover > .sub-dropdown-content {
    display: block;
}

/* Announcement Banner */
.announcement {
    width: 100%;
    background: var(--accent);
    padding: 5px 20px;
    text-align: center;
    font-size: 1rem;
    /*position: fixed; // aufgehoben wegen neuer fixed-bar */
    top: 0;
	left: 0;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    animation: slideDown 0.5s ease forwards;
}

.announcement-text {
    font-weight: 600;
	color: var(--text-sec);
}

.announcement-close {
    background: rgba(255, 255, 255, 0.25);
    border: none;
    border-radius: 50%;
    color: var(--text-sec);
    width: 28px;
    height: 28px;
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 1;
    transition: background 0.2s ease;
}

.announcement-close:hover {
    background: rgba(255, 255, 255, 0.4);
}

/* Einfahr-Animation */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

/* --- HERO SECTION --- */
/* HERO (bleibt wie es ist) */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

/* Swiper Container */
.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
}

/* Swiper Slides */
.hero-slider .swiper-slide {
    width: 100%;
    height: 100%;
    background-size: contain; /* oder cover – wie du willst */
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

/* Overlay (dein schwarzer Fade) */
.hero-slider .swiper-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.65);
}

.hero h1,
.hero p,
.hero .btn {
    z-index: 2;
    position: relative;
}

.hero h1 { font-size: 4rem; margin-bottom: 20px; text-transform: uppercase; }
.hero p { font-size: 1.2rem; margin-bottom: 30px; color: var(--text-sec); max-width: 600px; }
.hero strong { font-size: 5rem; }
.hero span { color: var(--accent); }

/* Buttons */
.btn-wrapper { /* Elternelement eines Buttons wenn der Button Text überdekt oder nicht mittig ist */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
}
.btn {
    padding: 12px 30px;
    background-color: transparent;
    color: var(--text-main);
    border-radius: 25px;
    font-weight: 600;
    border: 2px solid var(--accent);
	transition: 0.3s;
}
.btn:hover { background-color: var(--accent); }

/* --- CONTAINER SECTION --- */
.container { max-width: 1200px; margin: 0 auto; padding: 100px 20px; }

.section-title {
    text-align: center;
    margin-bottom: 60px;
    font-size: 2.5rem;
    position: relative;
}
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent);
    margin: 10px auto 0;
}

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

.card {
    background: var(--card-bg);
    border-radius: 25px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 3px solid transparent;
}

.card:hover { 
    transform: translateY(-10px); 
    border-bottom-color: var(--accent);
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

.card-img {
   width: 100%;
    height: 200px;
    background-color: #333;
    object-fit: cover;
}

.card-info { padding: 20px; }
.card-info h3 { margin-bottom: 5px; color: var(--accent); }
.card-info span { color: var(--text-sec); font-size: 0.9rem; display: block; margin-bottom: 15px; }

.link-icons { margin-top: 15px; }
.link-icons a { margin: 0 10px; font-size: 1.2rem; color: var(--text-main); }
.link-icons a:hover { color: var(--accent); }


/* --- RAW TEXT SECTION --- */
.txt-section {
    background-color: var(--card-bg);
    padding: 80px 20px;
}
.txt-container {
    padding: 0;
    text-align: center;
}
.txt-container p {
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-sec);
}

/* Statistik-Sektion */
.stats-section {
    padding: 60px 20px;
    text-align: center;
}

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

.stat-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 15px;
    backdrop-filter: blur(4px);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
}

.stat-label {
    display: block;
    margin-top: 8px;
    font-size: 1rem;
    opacity: 0.8;
	color: var(--text-main);
}

/* --- FOOTER --- */
footer {
    background: #0a0a0a;
    padding: 20px;
    text-align: center;
    color: var(--text-sec);
    margin-top: 50px;
    border-top: 1px solid #333;
}
.footer-socials { margin-top: 10px; }
.footer-socials a:hover { color: var(--accent); }

/* KONTAKT */
.contact-success, .contact-error {
    padding: 15px 20px;
    border-radius: 25px;
    margin-bottom: 20px;
    font-weight: 600;
    animation: fadeIn 0.4s ease;
}

.contact-success {
    background: #2dff6b20;
    border: 2px solid #2dff6b;
    color: #2dff6b;
}

.contact-error {
    background: #ff3b3b20;
    border: 2px solid #ff3b3b;
    color: #ff3b3b;
}

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

.contact-section {
    padding: 60px 20px;
}

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

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group {
    display: flex;
    flex-direction: column;
}

.input-group label {
    margin-bottom: 6px;
    font-weight: 600;
    color: var(--accent);
}

.input-group input,
.input-group textarea {
    padding: 12px;
    border-radius: 25px;
    background: var(--card-bg);
	color: var(--text-sec);
    border: 2px solid var(--text-sec);
    font-size: 16px;
    transition: border-color 0.3s;
}

.input-group input:focus,
.input-group textarea:focus {
    border-color: var(--accent);
    outline: none;
}

.contact-btn {
    width: 100%;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .hero strong { font-size: 3rem; }
    .nav-links { display: none; } 
    /* Ein Hamburger-Menü wäre hier der nächste Schritt */
}
