:root {
    --primary-color: #102F60;
    --background-color: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--background-color);
    color: var(--primary-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.maintenance {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    max-width: 1440px;
    width: 100%;
    text-align: center;
    padding: 40px 20px;
}

.logo {
    margin-bottom: 66px;
}

.logo svg {
    width: 100%;
    max-width: 124px;
    height: auto;
}

h1 {
    font-size: 44px;
    font-weight: 400;
    line-height: 120%;
    margin-bottom: 80px;
}

.description {
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
    max-width: 660px;
    margin: 0 auto 20px;
}

.contact-info {
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
    margin-bottom: 20px;
}

.contact-links {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 52px;
    margin-bottom: 30px;
}

.contact-links a {
    color: var(--primary-color);
    text-decoration: underline;
    font-size: 16px;
    font-weight: 600;
}

p.h3 {
    font-size: 24px;
    line-height: 120%;
    margin-bottom: 10px;
    font-weight: normal;
    margin-top: 50px;
}

form {
    max-width: 660px;
    margin: 0 auto 50px auto;
    text-align: left;
    padding: 20px;
    color: var(--primary-color);
}
form input, form textarea {
    color: var(--primary-color);
}

::-webkit-input-placeholder {
    color: rgba(16, 47, 96, 0.5);
}
:-moz-placeholder {
    color: rgba(16, 47, 96, 0.5);
    opacity: 1;
}
::-moz-placeholder {
    color: rgba(16, 47, 96, 0.5);
    opacity: 1;
}
:-ms-input-placeholder {
    color: rgba(16, 47, 96, 0.5);
}
::placeholder {
    color: rgba(16, 47, 96, 0.5);
}



/* Kontaktformular Styling */
.form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    width: 100%;
    padding: 8px 0;
    border: none;
    border-bottom: 2px solid #FCA329;
    border-radius: 0;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-control.filled,
.form-control:focus {
    border-color: var(--primary-color);
    outline: none;
}

.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.form-row > div {
    flex: 1 1 40%;
}

.error-message {
    color: #FF0000;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
}

.form-control.error {
    border-color: #FF0000;
}

textarea.form-control {
    font-family: 'Poppins', sans-serif;
    min-height: 150px;
    resize: vertical;
    border: 2px solid #FCA329;
    border-radius: 0;
    padding: 32px 25px;
    font-size: 16px;
    line-height: 120%;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 1rem;
}

.checkbox-group input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 25px;
    height: 25px;
    border: 2px solid var(--primary-color);
    background-color: white;
    cursor: pointer;
    position: relative;
    margin-top: 0.25rem;
    margin-right: 10px;
    flex: none;
}

.checkbox-group input[type="checkbox"]:checked {
    background-color: var(--primary-color);
}

.checkbox-group input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 8px;
    top: 4px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-group label {
    font-size: 14px;
    font-weight: 600;
    line-height: 160%;
    color: #424242;
}
.checkbox-group label a {
    font-size: 14px;
    font-weight: 600;
    line-height: 160%;
    color: var(--primary-color);
    text-decoration: underline;
}

.submit-btn {
    background: transparent;
    color: var(--primary-color);
    padding: 1rem 2rem;
    border: none;
    border-radius: 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 120%;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 32px;
    margin-left: auto;
    margin-right: auto;
}

.submit-btn:disabled {
    background: #9e9e9e;
    cursor: not-allowed;
}

.thank-you {
    font-size: 16px;
    font-weight: 400;
    line-height: 100%;
    margin-bottom: 49px;
}

.social-links {
    margin-bottom: 30px;
}

.social-links a {
    display: inline-block;
}

footer {
    text-align: center;
}

footer nav {
    margin-bottom: 10px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 66px;
}

footer nav a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    line-height: 180%;
    letter-spacing: 2%;
    margin: 0 10px;
}

.copyright {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    line-height: 180%;
    letter-spacing: 2%;
}

/* Legal pages styles */
.legal-content {
    max-width: 660px;
    margin: 0 auto;
    text-align: left;
    padding: 20px;
}

.legal-content h2 {
    font-size: 30px;
    font-weight: 400;
    margin: 30px 0 24px;
}

.legal-content h3 {
    font-size: 24px;
    font-weight: 400;
    margin: 24px 0 16px;
}

.legal-content p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.legal-content a {
    color: var(--primary-color);
    text-decoration: underline;
}

.legal-content ul {
    list-style-position: inside;
    margin-bottom: 24px;
    padding-left: 16px;
}

.legal-content li {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 4px;
    list-style: none;
}



/* Tablet */
@media (max-width: 834px) {
    h1 {
        font-size: 38px;
    }
    .contact-links {
        display: block;
    }
    .contact-links a {
        margin-bottom: 20px;
        display: block;
    }
}

/* Mobile */
@media (max-width: 393px) {
    .container {
        padding: 20px;
    }

    h1 {
        font-size: 30px;
    }

    .logo svg {
        max-width: 100px;
    }

    .legal-content {
        padding: 10px;
    }

    .legal-content h2 {
        font-size: 20px;
    }

    p.h3 {
        font-size: 22px;
    }

    form {
        padding: 0;
    }

    .form-row > div {
        flex: 0 0 100%;
    }

    textarea.form-control {
        padding: 16px;
    }
} 