/* faq.css */

.faq {
    margin: 2rem auto; /* Adds a margin to the left and right */
    background: rgba(0, 0, 0, 0.05); /* Even lighter transparent background */
    padding: 1rem;
    border-radius: 10px; /* Adds rounded corners */
    width: 75%; /* Centers the FAQ section */
}

/* Media Query for mobile devices */
@media (max-width: 600px) {
    .faq {
        width: 90%;
    }
}

.faq-item {
    border-bottom: 1px solid #ccc;
    padding: 1rem 0;
}

.faq-question {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    color: #007b8a; /* Petrol color */
}

.faq-answer {
    display: none;
    padding: 1rem;
    background: linear-gradient(135deg, #ffffff, #f0f0f0); /* Sanfter Verlauf */
    color: #333;
    border-radius: 10px; /* Adds rounded corners */
    margin-top: 10px; /* Adds space above the answer */
}

.faq-image {
	max-width: 300px; /* Größe des Bildes anpassen */
}
	
.faq-answer.active {
    display: block;
}

/*
button {
    background: linear-gradient(90deg, #ff7e5f, #feb47b);
    border: none;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 10px 0;
    transition: background 0.3s;
    cursor: pointer;
    border-radius: 5px;
}

button:hover {
    background: linear-gradient(90deg, #feb47b, #ff7e5f);
}
*/

.image-container {
    text-align: center; /* Centers the image */
    margin: 2rem 0; /* Adds vertical spacing */
}

.image-container img {
    max-width: 100%; /* Ensures the image is responsive */
    height: auto; /* Maintains the aspect ratio */
}

/* Jump Links */
.jump-links {
    display: flex;
    justify-content: space-between;
    margin: 2rem auto;
    width: 75%;
}

/* Media Query for mobile devices */
@media (max-width: 600px) {
    .jump-links {
        width: 90%;
    }
}

.jump-column {
    width: 60%;
}

.jump-column a {
    display: block;
    padding: 0.5rem 0;
    color: #007b8a;
    text-decoration: none;
}

.jump-column a:hover {
    text-decoration: underline;
}

/* Container für den Button */
.button-container {
    display: flex;
    justify-content: center; /* Horizontales Zentrieren */
    margin-top: 20px; /* Optionaler Abstand nach oben */
}