/* =========================================
   1. VARIABLEN & RESET
   ========================================= */
:root {
    /* Colors */
    --c-bg: #0a0a0a;
    --c-card: #161616;
    --c-text: #f0f0f0;
    --c-text-muted: #888888;
    --c-accent: #00ffa3;
    --c-accent-glow: rgba(0, 255, 163, 0.2);
    --c-warning: #ff4d4d;
    --c-border: rgba(255, 255, 255, 0.05);

    /* Typography */
    --font-main: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;

    /* Layout */
    --nav-height: 70px;
    --container-width: 700px;
    --radius: 8px;
}

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

body {
    background-color: var(--c-bg);
    color: var(--c-text);
    font-family: var(--font-main);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* =========================================
   2. KOMPONENTEN (Buttons, Inputs)
   ========================================= */
.btn {
    display: inline-block;
    background-color: #fff;
    color: #000;
    padding: 1rem 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    width: 100%; /* Mobile Default */
    text-align: center;
}

.btn:hover {
    background-color: var(--c-accent);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--c-accent-glow);
}

.section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    color: var(--c-text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}
.section-header::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #333;
}

/* =========================================
   3. NAVIGATION
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--c-border);
    z-index: 1000;
    padding: 0.8rem 1.5rem;
}

.nav-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column; /* Mobile First: Untereinander */
    align-items: center;
    gap: 1rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.04em;
    cursor: pointer;
    user-select: none;
}
.logo span {
    color: var(--c-accent);
}

.nav-menu {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

.nav-btn {
    background: none;
    border: none;
    color: var(--c-text-muted);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    cursor: pointer;
    padding: 0.5rem 0;
    transition: color 0.3s;
    position: relative;
    font-family: var(--font-main);
}

.nav-btn:hover,
.nav-btn.active {
    color: #fff;
}

.nav-btn.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--c-accent);
    border-radius: 50%;
}

/* =========================================
   4. MAIN CONTENT & TABS
   ========================================= */
.main-wrapper {
    margin-top: 130px; /* Platz für Mobile Nav */
    width: 100%;
    max-width: var(--container-width);
    padding: 0 1.5rem 4rem;
    margin-left: auto;
    margin-right: auto;
    flex: 1;
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease forwards;
}

.tab-content.active {
    display: block;
}

/* Header innerhalb der Tabs */
.hero-text h1 {
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}
.hero-text strong {
    font-weight: 800;
    color: #fff;
}
.hero-lead {
    color: var(--c-text-muted);
    font-size: 1.1rem;
    margin-bottom: 4rem;
    max-width: 500px;
}

/* Feature Grid */
.grid-2 {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.card {
    background: var(--c-card);
    padding: 1.5rem;
    border-radius: var(--radius);
    border-left: 2px solid var(--c-warning);
}

.card-number {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.card-text {
    font-size: 0.9rem;
    color: var(--c-text-muted);
}

/* Listen */
.check-list {
    list-style: none;
    margin-bottom: 3rem;
}
.check-item {
    margin-bottom: 1.5rem;
    padding-left: 2.5rem;
    position: relative;
}
.check-item::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--c-accent);
    font-weight: bold;
    font-size: 1.2rem;
}
.item-title {
    display: block;
    font-weight: 700;
    margin-bottom: 0.25rem;
}
.item-desc {
    font-size: 0.95rem;
    color: var(--c-text-muted);
}

/* Formular */
.form-group {
    margin-bottom: 1.5rem;
}
.form-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid #333;
    color: #fff;
    padding: 0.8rem 0;
    font-family: var(--font-main);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}
.form-input:focus {
    border-bottom-color: var(--c-accent);
}

.form-input:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.form-disabled-message {
    background-color: var(--c-card);
    border: 1px solid var(--c-border);
    padding: 1rem;
    border-radius: var(--radius);
    text-align: center;
    color: var(--c-text-muted);
    margin-bottom: 2rem;
}

.form-disabled-message a {
    color: var(--c-accent);
}

/* Footer */
footer {
    text-align: center;
    font-size: 0.8rem;
    color: #333;
    padding: 2rem;
    border-top: 1px solid var(--c-border);
}
footer a {
    color: #444;
    text-decoration: none;
    margin: 0 0.5rem;
}

/* =========================================
   5. GALLERY & MODAL
   ========================================= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.gallery-grid-two-items {
    grid-template-columns: repeat(2, 1fr);
}

.gallery-item {
    cursor: pointer;
    overflow: hidden;
    border-radius: var(--radius);
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s;
}

.modal-content {
    margin: auto;
    display: block;
    width: auto;
    height: auto;
    max-width: 80vw;
    max-height: 80vh;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.prev-btn,
.next-btn {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
    background-color: rgba(0, 0, 0, 0.3);
}

.next-btn {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev-btn:hover,
.next-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* =========================================
   5. MEDIA QUERIES (Desktop)
   ========================================= */
@media (min-width: 600px) {
    .nav-container {
        flex-direction: row;
        justify-content: space-between;
    }
    .main-wrapper {
        margin-top: var(--nav-height);
    }
    .btn {
        width: auto;
    }
    .grid-2 {
        grid-template-columns: 1fr 1fr;
    }
    .hero-text h1 {
        font-size: 3rem;
    }
    .card {
        padding: 2rem;
    }
}

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