/* Container für das Video */
.video-container {
    display: flex; 
    justify-content: center; 
    align-items: center;
    height: 120vh; 
    background-color: white; 
}

.rotating-gif {
    width: 100%; 
    height: auto; 
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.7); 
    background-color: white;
}




/* Container für den Willkommens-Text */
.welcome-text {
    text-align: center; 
    margin: 20px auto; 
    padding: 20px; 
    max-width: 800px; 
    color: #122449; 
    background-color: rgba(255, 255, 255, 0.9); 
    border-radius: 10px; 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}


.welcome-text h1 {
    font-size: 2.5em; 
    margin-bottom: 10px; 
    color: #0a1e38; 
}


.welcome-text p {
    font-size: 1.2em; 
    line-height: 1.6; 
    color: #333; 
}





/* Formatierung des Inhalts */
.container {
    margin: 0 auto; 
    margin-top: 120px;
}

.main-content {
    max-width: 1200px; 
    margin: 0 auto;
    padding: 20px; 
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    height: 100%;
}


.blocksatz {
    text-align: left;
    hyphens: auto;
    font-size: 1.3em;
    line-height: 1.5;
    color: #555;
    margin: 0 auto 20px;
    max-width: 1000px;
  }

  .hover-underline {
    text-decoration: none;
}

.hover-underline:hover {
    text-decoration: underline;
}

.header {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%; 
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #122449;
    color: white;
    width: 100%;
}


h2 {
    font-size: 2em;
    text-align: center;
    position: relative;
}

h3 {
    font-size: 1.3em;
    text-align: center;
    position: relative;

}

h4 {
    font-size: 1.1em;
    text-align: left;
    position: relative;

}

h2::before, h3::before {
    content: "";
    position: absolute;
    top: -10px; 
    left: 0;
    width: 100%; 
    height: 3px; 
    background-color: lightgray; 
}

h2::after, h3::after {
    content: "";
    position: absolute;
    bottom: -10px; 
    left: 0;
    width: 100%; 
    height: 3px; 
    background-color: lightgray;
}

a {
    color: blue;
    text-decoration: underline;
}

a:hover {
    color: darkblue;
}

/* Formatierung Logo */
.logo-container {
    display: flex;
    align-items: center;
    gap: 20px; 
    padding: 10px; 
}

/* Logo Styling */
.logo-image {
    width: 50px; 
    height: auto; 
    max-width: 50px; 
    flex-shrink: 0; 
    object-fit: contain; 

}

/* Überschrift Google Maps */
.vertical-title {
    display: flex; 
    align-items: center; 
    gap: 15px; 
    font-size: 2em; 
    font-weight: bold; 
    margin: 0; 
    color: grey;
}




/* Legende und Bild-Anpassung für kleine Geräte */
@media (max-width: 768px) {
    .content-container {
        flex-direction: column; /* Bild und Legende untereinander */
        gap: 10px; /* Geringerer Abstand zwischen Bild und Legende */
    }

    .legend {
        margin-top: 10px; /* Abstand oberhalb der Legende */
    }
}





/* Layout für Bild und Legende */
.content-container {
    display: flex;
    flex-direction: column; 
    gap: 20px; 
    margin: 20px;
    align-items: center; 
    width: 100%;
}

.image-container {
    width: 80%; 
    max-width: 800px; 
    text-align: center; 
    margin: 0; 
    margin-top: 20px;
}

.responsive-image {
    float: left;
    max-width: 100%;
    height: auto;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.legend-table-container {
    width: 80%;
    max-width: 800px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    margin-top: 10px;
    text-align: left;
    
}

.legend-table {
    background-color: #e8f5e9;
    border-collapse: collapse; 
    width: 100%;
    font-size: 1em;
    table-layout: fixed;
}

.legend-table td {
    padding: 10px 20px; 
    border: none; 
    vertical-align: top; 
}

.legend-number {
    color: red;
    font-weight: bold;
    margin-right: 8px; 
}


/* Titel Google Maps */
.google {
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    display: flex
    
    
}


.g1 {
    color: #4285F4; 
}

.g2 {
    color: #EA4335; 
}

.g3 {
    color: #FBBC05; 
}

.g4 {
    color: #4285F4; 
}

.g5 {
    color: #34A853; 
}

.g6 {
    color: #EA4335; 
}

nav {
    position: relative;
}



/* Themen im Menüband */
.menu-icon {
    display: none;
    cursor: pointer;
    flex-direction: column;
}

.menu-icon .bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px;
}

.nav-links {
    display: flex;
    list-style: none;
    padding: 0;
    justify-content: flex-end;
}

.nav-links li {
    margin: 0 10px;
    position: relative;
}

.nav-links a.active {
    background-color: grey; 
    color: white; 
    font-weight: bold; 
    border-radius: 5px; 
    padding: 10px 15px; 
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    padding: 10px 15px; 
    display: inline-block;
    transition: background-color 0.3s, border 0.3s;
}

.nav-links a:hover {
    background-color: #0a1e38; 
    border: 2px solid #ffffff; 
    border-radius: 5px; 
}





/* Download Button */
.download-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-left: 10px; 
    gap: 10px; 
}

.download-buttons img {
    width: 50px; 
    height: auto; 
    cursor: pointer;
    transition: transform 0.2s; 
}

.download-buttons img:hover {
    transform: scale(1.05); 
}





/* Container Handlungsschritten */
.steps-container {
    display: flex;
    flex-direction: row; 
    justify-content: space-between; 
    align-items: center;
    border: 2px solid #ccc; 
    border-radius: 10px; 
    padding: 10px; 
    margin: 20px auto; 
    background-color: #f9f9f9; 
    max-width: 1200px;
    box-sizing: border-box;
}

.steps-text {
    flex: 2; /* Nimmt 2/3 des verfügbaren Platzes ein */
    padding-right: 20px; 
}

.steps-container p {
    margin: 20px auto; 
    font-family: Arial, sans-serif;
    margin: 0;
    color:black;
    font-size: 1em;
    text-align: left;
    padding: 10px; 
}






/* Formatierung Handlungsschritte */
.steps {
    list-style-type: none; 
    padding: 0; 
    margin: 20px 0; 
}

.steps li {
    padding: 10px; 
    border-radius: 5px; 
    background-color: #f9f9f9; 
    width: fit-content; 
    line-height: 1.2;
}

.steps li::before {
    content: "▪";
    color: darkblue; 
    font-weight: bolder;
    font-size: 30px; 
    font-weight: bold; 
    margin-right: 8px; 
    vertical-align: middle; 
}

.steps ul {
    list-style-type: none; 
    margin-left: 20px; 
    padding-left: 10px; 
}

.steps ul li::before {
    content: "→"; 
    color: black; 
    font-size: 20px; 
    margin-right: 8px; 
    font-weight: bolder; 
    display: inline-block; 
    vertical-align: middle; 
}

.steps ul li {
    margin-bottom: 5px; 
    background-color: transparent; 
    padding: 0; 
    border: none; 
}

.step-icon {
    height: auto; 
    vertical-align: middle; 
    margin: 0 5px; 
    object-fit: contain; 
}

.result {
    display: flex; 
    align-items: center; 
    margin-left: 30px; 
    padding: 10px; 
    border-radius: 5px; 
    background-color: #f9f9f9; 
    width: fit-content; 
}

.result::before {
    content: "-";
    color: darkblue; 
    font-weight: bolder; 
    font-size: 30px; 
    font-weight: bold; 
    margin-right: 8px; 
    vertical-align: middle; 
}

.step-image-container {
    display: flex; 
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    width: 60%; 
    max-width: 500px;
}

.step-responsive-image {
    max-width: 60%;
    height: auto; 
    border-radius: 10px; 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); 
    border: 1px solid #ddd; 
    
}




/* Formatierung Hinweisbox */
.hint-box {
    background-color: #e7f3ff; 
    border: 1px solid #b3d7ff; 
    border-radius: 10px; 
    padding: 5px; 
    max-width: 1200px; 
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); 
    margin: 20px auto;
}

.hint-box p {
    margin: 10px 0; 
    font-family: Arial, sans-serif;
    margin: 0;
    color: #122449;
    font-size: 1.1em;
    line-height: 1.5;
    text-align: left;
}

.hint-icon {
    font-size: 20px; 
    margin-right: 8px; 
    vertical-align: middle; 
    color: #1a73e8; 
}





@media (max-width: 768px) {
    .menu-icon {
        display: flex;
    }
    
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 50px;
        right: 20px;
        background-color: #334466;
        border: 1px solid #fff;
        width: 200px;
    }
    
    .nav-links.show {
        display: flex;
    }
    
    .nav-links li {
        margin: 10px 0;
    }

    .steps-container,
    .hint-box {
        flex-direction: column; 
        width: 100%; 
    }
}





footer {
    position: fixed;
    bottom: 0px;
    text-align: center;
    color: white;
    flex-shrink: 0;
    background-color: #122449;
    width: 100%;
    box-sizing: border-box;
    margin-right: 10px;
  }






  .faq-container {
    max-width: 1100px;
    margin: 0 auto;
    margin-top: 50px;
}

.faq-item {
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    overflow: hidden;
}

.faq-question {
    background-color: #f1f1f1;
    color: darkblue;
    cursor: pointer;
    padding: 15px;
    font-size: 16px;
    font-weight: bolder;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: #e0e0e0;
}

.faq-answer {
    display: none;
    padding: 30px;
    background-color: #fff;
    color: #333;
    border-top: 1px solid #ccc;
    font-weight: bold;
    line-height: 1.8;
}