/* -------------------------------------- */
/* 1. BASIS-STYLING & VIDEO-HINTERGRUND */
/* -------------------------------------- */
* {
    box-sizing: border-box;
    /* Ensure padding/borders don't increase width */
}

body,
html {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow-x: hidden;
    overflow-y: scroll;
    /* KORREKTUR: Hintergrundfarbe auf dunkel setzen, damit kein Weiß mehr zu sehen ist, 
       wenn das Video weggescrollt wird. */
    background-color: #0d0d0d;
    font-family: Arial, sans-serif;
    color: #ccc;
    /* Basis-Textfarbe hell/grau */
}

/* Die Sektion, die den ganzen Bildschirm füllt und scrollt */
#video-hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-color: #0d0d0d;

    /* Platz für den Header schaffen */
    padding-top: 50px;
    margin-top: 0px;


}

#video-hero-section video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
    /* Muss ÜBER dem Video, aber UNTER dem Text liegen */
}

/* Content-Overlay (Text über dem Video) */
#content-overlay {
    position: relative;
    z-index: 2;
    /* Liegt über dem Video */
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.4);
}

/* Textfarbe im Video-Overlay bleibt hell */
h1 {
    font-size: 3.5em;
    margin-bottom: 0.2em;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9);
    color: #ffffff;
}

p {
    font-size: 1.2em;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    color: #ffffff;
}


/* -------------------------------------- */
/* 2. SCHWEBENDER FRAME */
/* -------------------------------------- */
#main-content-frame {
    position: relative;
    z-index: 20;

    width: 80%;
    margin: 0px auto;
    padding: 40px;

    background-color: #1a1a1a;
    color: #ccc;
    border-radius: 12px;

    box-shadow:
        0 0 40px rgba(0, 150, 255, 0.7),
        0 0 100px rgba(0, 150, 255, 0.4),
        0 40px 80px rgba(0, 0, 0, 1);
}

h2 {
    color: #0099ff;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
    margin-top: 0;
}

/* -------------------------------------- */
/* 3. Footer Content IST JETZT IN #main-content-frame */
/* -------------------------------------- */
.frame-footer {
    padding-top: 50px;
    border-top: 1px dashed #1a1a1a;
    margin-top: 50px;
}


/* -------------------------------------- */
/* 4. NAVIGATIONSLEISTE (HORIZONTALER BALKEN) - KORRIGIERT */
/* -------------------------------------- */
#top-category-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    background-color: #000000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    z-index: 300;
    padding: 0 20px;
}

.category-frame {
    color: #ccc;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9em;
    padding: 10px;
    transition: color 0.3s ease;
}

/* -------------------------------------- */
/* 5. ABLAUF-SEKTION (Accordion) */
/* -------------------------------------- */
.separator-line {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin: 40px 0;
}

.process-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.accordion-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.accordion-item {
    background-color: #252525;
    border: 1px solid #333;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item.active {
    border-color: #0099ff;
    box-shadow: 0 0 15px rgba(0, 153, 255, 0.2);
}

.accordion-header {
    display: flex;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background-color: #252525;
    transition: background-color 0.3s ease;
}

.accordion-header:hover {
    background-color: #333;
}

.step-number {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 35px;
    border: 2px solid white;
    border-radius: 50%;
    margin-right: 20px;
    font-weight: bold;
    font-size: 1.1em;
    color: white;
    flex-shrink: 0;
}

.accordion-item.active .step-number {
    background-color: #0099ff;
    border-color: #0099ff;
}

.step-title {
    flex-grow: 1;
    font-size: 1.3em;
    font-weight: bold;
    color: #0099ff;
}

.accordion-icon {
    font-size: 1.5em;
    font-weight: bold;
    color: #ccc;
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
    color: #0099ff;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
    background-color: #1f1f1f;
}

.content-inner {
    padding: 20px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

/* Styling für die Icons in den Schritten */
.step-icon {
    font-size: 2.5em;
    /* Deutlich größer als die normale Schrift */
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    /* Verhindert, dass das Icon gequetscht wird */
    margin-right: 15px;
    /* Abstand zum Text rechts */
}

/* Sicherstellen, dass Text und Icon auf einer Linie sind */
.content-inner {
    padding: 20px;
    display: flex;
    flex-direction: row;
    /* Icon und Text nebeneinander */
    align-items: center;
    /* Vertikal zentriert */
    gap: 10px;
}

.step-text {
    flex: 1;
    /* Der Text nimmt den restlichen Platz ein */
}

.step-text p {
    margin: 0;
    color: #ddd;
    line-height: 1.6;
    font-size: 1.1em;
}

/* Responsive Adjustments */
@media (max-width: 600px) {
    .content-inner {
        flex-direction: column;
    }
}

/* Am Ende der index.css einfügen */

.scroll-arrow {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.scroll-arrow span {
    display: block;
    width: 20px;
    height: 20px;
    border-bottom: 3px solid #0099ff;
    /* Dein Blau-Ton */
    border-right: 3px solid #0099ff;
    transform: rotate(45deg);
    animation: arrow-bounce 2s infinite;
}

@keyframes arrow-bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) rotate(45deg);
    }

    40% {
        transform: translateY(-10px) rotate(45deg);
    }

    60% {
        transform: translateY(-5px) rotate(45deg);
    }
}

/* -------------------------------------- */
/* 6. HAMBURGER KEY / MENU */
/* -------------------------------------- */

#hamburger-menu {
    position: fixed;
    top: 10px;
    right: 20px;
    width: 30px;
    height: 25px;
    z-index: 400;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

#hamburger-menu span {
    display: block;
    width: 100%;
    height: 4px;
    /* Thickness of lines */
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}

/* X-Animation states */
#hamburger-menu.active span:nth-child(1) {
    transform: translateY(10.5px) rotate(45deg);
}

#hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

#hamburger-menu.active span:nth-child(3) {
    transform: translateY(-10.5px) rotate(-45deg);
}

/* Dropdown / Overlay */
#menu-overlay {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 350;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 120px;
    /* Align links to the left */
    align-items: flex-start;
    padding-left: 20px;
    gap: 30px;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.5);

    /* Animation: slide in or fade */
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

#menu-overlay.active {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
}

.menu-link {
    font-size: 1.2em;
    color: white;
    text-decoration: none;
    border: 1px solid #0099ff;
    padding: 15px 20px;
    border-radius: 8px;
    width: 85%;
    text-align: left;
    transition: background-color 0.3s, color 0.3s;
}

.menu-link:hover {
    background-color: #0099ff;
    color: black;
}