/* Reset und Basisstil */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* Header und Navigation */
header {
    background-color: white;
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 30px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav li {
    margin-left: 25px;
}

nav a {
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: #2563b3;
}

/* Hero-Bereich */
.hero {

    color: white;
    padding: 60px 5%;
    position: relative;
    overflow: hidden;
    background-image: url(./imgs/1.png);
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    max-width: 800px;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    max-width: 800px;
}

.cta-button {
    display: inline-block;
    background-color: #f47321;
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 20px;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #e05f10;
}

/* Über uns Bereich */
.about {
    padding: 60px 5%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    background-color: #f9f9f9;
}

.about-text {
    flex: 1;
    min-width: 300px;
    padding-right: 40px;
}

.about-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
}

.about-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.about h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
}

.about p {
    margin-bottom: 15px;
}

/* Lernfelder Bereich */
.learning-fields {
    padding: 60px 5%;
    background-color: #3973b9;
    color: white;
}

.learning-fields h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
}

.learning-fields p {
    text-align: center;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.field-card {
    background-color: white;
    color: #333;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.field-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #333;
}

.field-card p {
    text-align: left;
    color: #555;
    font-size: 0.95rem;
}

/* Testimonials */
.testimonials {
    padding: 60px 5%;
    background-color: #f5f5f5;
}

.testimonials h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    text-align: center;
}

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

.testimonial-card {
    background-color: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.testimonial-quote {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.testimonial-text {
    margin-bottom: 20px;
    color: #555;
    font-size: 0.95rem;
}

.testimonial-author {
    font-weight: bold;
    color: #333;
}

.testimonial-role {
    font-size: 0.9rem;
    color: #777;
}

/* FAQ Bereich */
.faq {
    padding: 60px 5%;
    background-color: #3973b9;
    color: white;
}

.faq h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
}

.faq-item {
    background-color: white;
    color: #333;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.active {
    padding: 0 20px 20px;
    max-height: 500px;
}

/* Kontakt Bereich */
.contact {
    padding: 60px 5%;
    background-color: #f9f9f9;
}

.contact h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
}

.contact p {
    text-align: center;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.submit-button {
    width: 100%;
    background-color: #f47321;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-button:hover {
    background-color: #e05f10;
}

/* Footer */
footer {
    background-color: #222;
    color: white;
    padding: 30px 5%;
    text-align: center;
}

.footer-info {
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-links a {
    color: #aaa;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.copyright {
    color: #777;
    font-size: 0.9rem;
}

/* Cookie Banner */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #3973b9;
    color: white;
    padding: 20px;
    z-index: 1000;
}

.cookie-banner h3 {
    margin-bottom: 10px;
}

.cookie-banner p {
    margin-bottom: 15px;
}

.cookie-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cookie-button {
    padding: 12px;
    text-align: center;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
}

.accept-all {
    background-color: #f47321;
    color: white;
}

.accept-functional {
    background-color: white;
    color: #3973b9;
}

.customize {
    background-color: transparent;
    border: 1px solid white;
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 15px;
    }

    nav ul {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav li {
        margin: 5px 10px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .about {
        flex-direction: column;
    }

    .about-text {
        padding-right: 0;
        margin-bottom: 30px;
    }

    .form-row {
        flex-direction: column;
        gap: 10px;
    }
    .footer-links {
        flex-direction: column;
    }
}