:root {
    --primary-color: #142e53;
    --secondary-color: #f4f4f4;
    --text-color: #333;
    --button-bg: #0066cc;
    --button-hover: #004999;
}

body {
    font-family: 'Signika', sans-serif;
    margin: 0;
    padding: 0;
    letter-spacing: 2px;
    color: var(--text-color);
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: #fff;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 80%;

    margin: 0 auto;

    padding: 10px 0; 
}


main {
    width: 80%;
    margin: 0 auto;
}

@media(max-width: 768px) {
    main {
        width: 90%;
    }
}
@media(max-width: 468px) {
    main {
        width: 100%;
    }
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
}

.logo-img {
    max-height: 50px;
    margin-right: 10px;
}
.logo-text{
    font-size: 1.5rem;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
}

.nav-links li a:hover {
    text-decoration: underline;
}
/* Hero Section */
.contact-hero {
   
    color: black;
    text-align: center;
    padding: 50px 20px;
}

.contact-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.contact-hero p {
    font-size: 1.2rem;
    margin: 0 auto;
    max-width: 700px;
}

/* Form Section */
.contact-form-section {
    background-color: white;
    padding: 40px 20px;
    margin: 20px auto;
    max-width: 600px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    text-align: center;
}

.contact-form-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #142e53;
}

.contact-form-section form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form-section input,
.contact-form-section textarea,
.contact-form-section button {
    padding: 10px;
    font-size: 1rem;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.contact-form-section button {
    background-color: #0066cc;
    color: white;
    border: none;
    cursor: pointer;
    font-weight: bold;
}

.contact-form-section button:hover {
    background-color: #004999;
}

/* Contact Info */
.contact-info {
    margin: 40px auto;
    text-align: center;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #142e53;
}

.contact-info ul {
    list-style: none;
    padding: 0;
    font-size: 1.2rem;
}

.contact-info ul li {
    margin-bottom: 10px;
}

.contact-info ul li a {
    color: #0066cc;
    text-decoration: none;
}

.contact-info ul li a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background-color: #142e53;
    color: white;
    padding: 20px;
    text-align: center;
    font-size: 1rem;
}

.animated-heading {
    opacity: 0; /* Start transparent */
    transform: translateY(-50px); /* Start oberhalb der Position */
    animation: fadeInDown 1s ease-out forwards; /* Animation anwenden */
}

@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-50px); /* Oberhalb */
    }
    100% {
        opacity: 1;
        transform: translateY(0); /* Originalposition */
    }
}

.animated-heading {
    animation-delay: 0.5s; /* Warte 0.5 Sekunden, bevor Animation startet */
    animation-duration: 1s; /* Dauer der Animation */
}
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 20px;
    text-align: center;
}

footer ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

footer ul li a {
    color: white;
    text-decoration: none;
}


.modal {
    position: fixed;
    inset: 0;
    display: none;
    /* via JS auf flex setzen */
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    padding: 20px;
}

.modal[aria-hidden="false"] {
    display: flex;
}

.modal-content {
    background: #fff;
    width: min(900px, 95vw);
    max-height: 85vh;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    padding: 20px;
    position: relative;
    overflow: auto;
}

.modal-close {
    position: absolute;
    top: 8px;
    right: 12px;
    font-size: 28px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #666;
}

.modal-body p,
.modal-body li {
    font-size: 1rem;
    line-height: 1.7;
}

.body--modal-open {
    overflow: hidden;
}