@charset "utf-8";
/* CSS Document */

/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&family=Playfair+Display:wght@400;700&family=Montserrat&display=swap');

/* Basis-Stile */
html, body {
    font-size: 62.5%;
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    height: auto;
    margin: 0;
    padding: 0;
    background: #efefef;
    font-family: "Poppins", "Montserrat", sans-serif;
    color: #3F6785;
}

* {
    margin: 0;
    padding: 0;
}

/* Links */
a {
    text-decoration: none;
    color: #3F6785;
    transition: color 0.3s ease;
}

a:hover {
    color: #3F6785;
    text-decoration: 2px underline #F90;
}

a.class1:hover {
    text-decoration: none;
}

b {
    text-decoration: none;
    color: #3F6785;
    transition: color 0.3s ease;
}

b:hover {
    color: #F90;
    text-decoration: none;
    text-align: left;
}

.b {
    font-weight: bold;
}

.h3-m {
    font-family: "Poppins";
    font-size: 20px;
    font-weight: 100;
}

.h3 {
    font-family: "Poppins";
    font-size: 20px;
    color: #3F6785;
    font-weight: 500;
}

/* Anpassung für kleinere Displays */
@media screen and (max-width: 600px) {
    .h3 {
        font-size: 18px;
        font-weight: 400;
    }
}

@media screen and (max-width: 480px) {
    .h3 {
        font-size: 16px;
        font-weight: 400;
    }
}

/* Bilder */
img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

td img {
    display: block;
}

/* Container */
.container_logo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 7vh;
    margin-bottom: 0;
    min-height: 0;
    overflow: hidden;
    box-sizing: border-box;
}

.container_logo img {
    width: 455px;
    height: 750px;
    max-width: 100vw;
    max-height: 90vh;
    object-fit: contain;
}

.container_logo h1 {
    font-size: 2em;
    color: #3F6785;
    margin: 0;
}

/* Für kleinere Bildschirme */
@media (max-width: 455px) {
    .container_logo img {
        width: 90vw;
        height: auto;
    }
}

@media (max-height: 750px) {
    .container_logo img {
        height: 90vh;
        width: auto;
    }
}

@media (max-width: 1200px) {
    .container_logo {
        margin-bottom: 30px;
    }
}

.hover-wrapper {
    display: inline-block;
    padding: 15px 12px 9px 12px;
    background-color: #efefef;
    border-radius: 12px;
    border: 3px solid #3F6785;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.3s;
    z-index: 1000;
}

.hover-wrapper:hover {
    background-color: rgba(63,103,133,1);
}

/* Menü */
#menuToggle {
    display: block;
    position: fixed;
    top: 25px;
    right: 50px;
    z-index: 1;
    -webkit-user-select: none;
    user-select: none;
}

#menuToggle input {
    display: block;
    width: 40px;
    height: 32px;
    position: absolute;
    top: -7px;
    left: -5px;
    cursor: pointer;
    opacity: 0;
    z-index: 2;
    -webkit-touch-callout: none;
}

#menuToggle span {
    display: block;
    width: 33px;
    height: 4px;
    margin-bottom: 5px;
    position: relative;
    background: #F90;
    border-radius: 3px;
    z-index: 1;
    transform-origin: 4px 0px;
    transition: transform 1s cubic-bezier(0.77, 0.2, 0.05, 1.0),
                background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0),
                opacity 0.55s ease;
}

#menuToggle span:first-child {
    transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2) {
    transform-origin: 0% 100%;
}

#menuToggle input:checked ~ span {
    opacity: 1;
    transform: rotate(45deg) translate(-2px, -1px);
    background: #F90;
}

#menuToggle input:checked ~ span:nth-last-child(3) {
    opacity: 0;
    transform: rotate(0deg) scale(0.2, 0.2);
}

#menuToggle input:checked ~ span:nth-last-child(2) {
    opacity: 1;
    transform: rotate(-45deg) translate(0, -1px);
}

#menu {
    position: absolute;
    width: 320px;
    margin: -100px 0 0 0;
    padding: 100px 55px 25px 50px;
    right: -80px;
    background: #ededed;
    border: 1px solid #D1C6B1;
    list-style-type: none;
    -webkit-font-smoothing: antialiased;
    transform-origin: 0% 0%;
    transform: translate(100%, 0);
    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
    box-shadow: 0px 10px 50px grey;
    overflow-y: scroll;
    box-sizing: border-box;
}

#menu li {
    padding: 10px 0;
    font-size: 32px;
    margin-top: 0;
    margin-bottom: 0;
}

#menuToggle input:checked ~ #menu {
    transform: translateX(0);
}

.menu-logo img {
    width: 325px;
    height: 71px;
    margin-top: 25px;
}

/* Anpassung für kleine Bildschirme und Edge-Displays */
@media screen and (max-width: 400px) {
    #menuToggle {
        right: 30px;
    }

    #menu {
        width: 280px;
        right: -60px;
        padding: 80px 40px 20px 40px;
        max-width: calc(100vw - 60px);
        overflow-x: hidden;
    }

    #menu li {
        font-size: 28px;
        padding: 8px 0;
    }

    .menu-logo img {
        width: 280px;
        height: auto;
        margin-top: 20px;
    }
}

/* Navbar */
#navbar {
    background-color: #ededed;
    position: fixed;
    top: -50px;
    height: 80px;
    width: 100%;
    display: block;
    transition: top 0.3s;
    border-bottom: 1px solid #C9BBA3;
    z-index: 1;
}

/* Logo */
.logo {
    text-align: center;
    float: left;
    width: auto;
    height: auto;
    padding: 25px 0 0 50px;
    font-size: 24px;
    font-family: "Poppins";
    background-color: transparent;
    z-index: 2;
    margin-bottom: 0;
}

/* Main */
main {
    margin: 0 auto;
    max-width: 1200px;
    padding: 1em;
}

/* Section */
section {
    display: flex;
    flex-direction: column;
    border-bottom: 0px;
    margin-left: 25px;
    margin-right: 25px;
}

section h1 {
    font-size: 2.2rem;
}

section p {
    font-size: 18px;
    text-align: left;
}

p.class1 {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
}

p.class2 {
    font-size: 12px;
    text-align: center;
}

/* Modal */
html-m,
body-m {
    height: 100%;
}

html-m {
    font-size: 18px;
    line-height: 1.4;
}

body-m {
    font-family: "Poppins";
    font-weight: 0;
    background-image: linear-gradient(#e66465, #9198e5);
    color: black;
    overflow: hidden;
}

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

.container-m {
    display: grid;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

section-m {
    display: flex;
    flex-direction: column;
    border-top: 1px solid #3F6785;
    border-bottom: 1px solid #3F6785;
    padding-bottom: 25px;
}

section-m h1 {
    font-size: 2.2rem;
}

section-m p {
    font-size: 18px;
    text-align: center;
    font-weight: normal;
}

.modal-window-m {
    position: fixed;
    background-color: transparent;
    top: 0;
    border: none;
    right: 0;
    bottom: 0;
    margin: 5px;
    left: 0;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s;
}

.modal-window-m:target {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-window-m > div {
    border-radius: 1rem;
}

.modal-window div-m:not(:last-of-type) {
    margin-bottom: 15px;
}

.modal-container-m {
    max-height: 75vh;
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 16px;
    overflow-y: scroll;
    overflow-x: hidden;
    display: flex;
    border: 1px solid #3F6785;
    flex-direction: column;
    box-shadow: 0 15px 30px 0 rgba(0, 0, 0, 0.25);
}

.modal-container-header-m {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 15px;
    background-color: #efefef;
    height: 60px;
}

.modal-container-title-m {
    margin: 0;
    color: #3F6785;
}

.modal-container-body-m {
    padding: 10px 15px 10px 15px;
    overflow-y: auto;
    font-family: "Poppins";
    font-size: 18px;
    color: #3F6785;
}

.modal-container-footer-m {
    padding: 15px 25px;
    display: flex;
    align-items: center;
    background-color: #efefef;
    justify-content: flex-end;
    font-family: "Playfair Display";
    color: #3F6785;
    font-size: 24px;
    font-weight: 700;
    height: 60px;
}

.modal-container-footer-m img {
    width: 248px;
    height: 55px;
}

.modal-container-footer-m:after {
    content: "";
    position: absolute;
    top: -61px;
    left: 24px;
    right: 24px;
    height: 60px;
}

.btn-m {
    background-color: white;
    padding: 1em 1.5em;
    border-radius: 0.5rem;
    text-decoration: none;
}

button-m {
    font: inherit;
}

*::-webkit-scrollbar-m {
    background-color: transparent;
    width: 12px;
}

*::-webkit-scrollbar-thumb-m {
    border-radius: 99px;
    background-color: #ddd;
    border: 4px solid #fff;
}

.icon-button-m {
    background: none;
    border: 3px solid #3F6785;
    box-sizing: border-box;
    padding: 0;
    margin: 25px 0px;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    color: #F90;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.icon-button-m svg {
    width: 90%;
    height: 90%;
    display: block;
    pointer-events: none;
}

.icon-button-m:hover,
.icon-button-m:focus {
    color: #F90;
    border-color: #3F6785;
    background-color: rgba(63, 103, 133, 1);
}

/* Kontaktformular */
.kontakt-formular {
    background-color: #fff;
    padding: 5px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    width: 40vw;
    margin: 5px;
    box-sizing: border-box;
}

.kontakt-formular .form-group {
    margin-bottom: 15px;
    text-align: center;
    font-family: "Poppins";
    font-size: 20px;
    font-weight: 100;
}

.kontakt-formular label {
    display: block;
    margin-bottom: 5px;
    font-weight: normal;
    text-align: left;
}

.kontakt-formular input[type="text"],
.kontakt-formular input[type="email"],
.kontakt-formular textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #3F6785;
    border-radius: 5px;
    box-sizing: border-box;
    background-color: #fff;
    font-family: "Poppins";
    font-size: 16px;
    min-height: 44px;
}

.kontakt-formular textarea {
    resize: vertical;
}

.kontakt-formular .checkbox-label {
    font-weight: normal;
}

.kontakt-formular .btn {
    background-color: #efefef;
    color: #3F6785;
    padding: 12px 25px;
    border: 1px solid #3F6785;
    border-radius: 5px;
    cursor: pointer;
}

.file-upload-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
}

.upload-btn {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid #3F6785;
    border-radius: 5px;
    background-color: #efefef;
    color: #3F6785;
    font-size: 20px;
    width: 100%;
    cursor: pointer;
    margin-bottom: 5px;
    min-height: 44px;
    box-sizing: border-box;
}

.absenden-btn {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid #3F6785;
    border-radius: 5px;
    background-color: #efefef;
    color: #3F6785;
    font-size: 20px;
    width: 100%;
    cursor: pointer;
    margin-bottom: 5px;
    min-height: 44px;
    box-sizing: border-box;
}

/* Hover-Effekt */
.upload-btn:hover, .absenden-btn:hover {
    background-color: #3F6785;
    color: #efefef;
}

.file-upload-wrapper .upload-btn:not([type="submit"]) {
    align-self: flex-start;
}

.file-preview {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    height: auto;
    width: 100%;
    margin-top: 0;
    min-height: 80px;
    border: 1px solid #3F6785;
    box-sizing: border-box;
}

.file-preview img {
    width: 60px;
    height: auto;
    max-height: 50px;
    object-fit: contain;
    border: 1px solid #3F6785;
    border-radius: 5px;
    margin: 5px;
    background: #fff;
}

.remove-btn {
    margin-left: 5px;
    padding: 2px 6px;
    background-color: #dc3545;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
}

.formMessage {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 65px;
    width: 100%;
    text-align: center;
    font-size: 20px;
    font-family: "Poppins";
    border: none;
    background-color: transparent;
    box-sizing: border-box;
}

.captcha-group {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.captcha-label {
    display: inline-flex;
    align-items: center;
    gap: 30px;
    font-family: "Poppins";
    font-size: 20px;
    flex-wrap: nowrap;
}

.captcha-input {
    margin: 0;
    max-width: 50px;
    min-height: 44px;
    padding: 10px;
    font-size: 20px;
    border: 1px solid #3F6785;
    border-radius: 5px;
    -webkit-appearance: none;
    appearance: none;
    text-align: center;
    box-sizing: border-box;
}

/* Sicherstellen, dass keine globalen Regeln stören */
input:not(.captcha-input) {
    font-size: inherit;
}

#aufgabe {
    max-width: 100px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: "Poppins";
    font-size: 20px;
}

.checkbox-wrapper {
    display: inline-block;
    cursor: pointer;
}

.checkbox-wrapper input {
    display: none;
}

.checkbox-wrapper span {
    display: block;
    width: 30px;
    height: 4px;
    margin: 6px 0;
    background-color: red;
}

.checkbox-wrapper input:checked ~ span {
    background-color: #3C6;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: normal;
}

.checkbox-group {
    display: flex;
    justify-content: center;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    box-sizing: border-box;
}

.checkbox-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border: 1px solid #3F6785;
    border-radius: 5px;
    padding: 10px;
    box-sizing: border-box;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
	background-color: #efefef;
}

.checkbox-container p {
    font-family: "Poppins";
    font-size: 16px;
    color: #3F6785;
    text-align: center;
    margin: 0;
    padding: 0;
}

.checkbox-container label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: "Poppins";
    font-size: 14px;
    color: #3F6785;
    text-align: center;
    white-space: nowrap;
}

.checkbox-container input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;
    flex-shrink: 0;
}

.center {
    text-align: center;
}

.error-message {
    color: red;
}

.success-message {
    color: green;
}

@media (max-width: 600px) {
    .checkbox-container {
        flex-direction: column;
        align-items: center;
        gap: 8px;
        padding: 8px;
        max-width: 90%;
    }

    .checkbox-group {
        flex-direction: column;
        gap: 8px;
    }

    .checkbox-container p {
        font-size: 14px;
        margin: 0;
    }

    .checkbox-container label {
        font-size: 13px;
        gap: 6px;
        white-space: normal;
    }

    .checkbox-container input[type="checkbox"] {
        width: 14px;
        height: 14px;
    }

    .kontakt-formular {
        max-width: 100%;
        width: 100%;
        padding: 10px;
        margin: 0;
        box-sizing: border-box;
    }

    /* Spezifische Anpassung für das Kontaktformular-Modal */
    #open-modal-anfrage .modal-container-m {
        width: 90vw;
        max-width: 90vw;
        margin: 0 auto;
        padding: 0;
        overflow-x: hidden;
    }

    /* Sicherstellen, dass Formularelemente die volle Breite nutzen */
    .kontakt-formular input[type="text"],
    .kontakt-formular input[type="email"],
    .kontakt-formular textarea,
    .kontakt-formular .upload-btn,
    .kontakt-formular .absenden-btn {
        width: 100%;
        box-sizing: border-box;
        font-size: 16px;
        min-height: 48px;
    }

    .kontakt-formular textarea {
        min-height: 120px;
    }

    .kontakt-formular .form-group {
        margin-bottom: 12px;
        font-size: 16px;
        box-sizing: border-box;
    }

    .kontakt-formular label {
        font-size: 14px;
    }

    .upload-btn, .absenden-btn {
        width: 100%;
        padding: 10px;
        font-size: 16px;
        min-height: 48px;
        line-height: 1.5;
        text-align: center;
        box-sizing: border-box;
    }

    .file-upload-wrapper {
        gap: 6px;
        box-sizing: border-box;
    }

    .file-label {
        font-size: 14px;
    }

    .file-preview {
        min-height: 60px;
        padding: 5px;
        box-sizing: border-box;
    }

    .file-preview img {
        width: auto;
        max-height: 60px;
        max-width: 80px;
    }

    .remove-btn {
        font-size: 10px;
        padding: 2px 5px;
        min-height: 20px;
    }

    .captcha-group {
        display: flex;
        justify-content: left;
        align-items: center;
        width: 100%;
        box-sizing: border-box;
    }

    .captcha-label {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        flex-wrap: nowrap;
    }

    .captcha-input {
        margin: 0;
        width: 100px;
        min-height: 44px;
        padding: 10px;
        font-size: 20px !important;
        border: 1px solid #3F6785;
        border-radius: 5px;
        -webkit-appearance: none;
        appearance: none;
        text-align: center;
        box-sizing: border-box;
    }

    .aufgabe {
        max-width: 100px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .checkbox-label {
        font-size: 14px;
    }

    .checkbox-group {
        gap: 6px;
    }

    .centered-checkbox {
        width: 18px;
        height: 18px;
    }

    .formMessage {
        font-size: 14px;
        min-height: 40px;
        box-sizing: border-box;
    }

    .mathe_error_content {
        font-size: 14px;
        color: #F00;
        padding: 15px;
        max-width: 90%;
        margin: 20% auto;
    }

    .modal-container-m {
        width: 90%;
        overflow-x: hidden;
    }
}

@media (max-width: 400px) {
    .checkbox-container {
        max-width: 95%;
        padding: 8px;
    }

    .checkbox-container p {
        font-size: 13px;
    }

    .checkbox-container label {
        font-size: 12px;
    }
}

@media (min-width: 600px) {
    section {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 3em;
    }

    article {
        flex: 1;
    }

    article:nth-child(1) {
        flex-basis: 100%;
    }

    section-m {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 3em;
    }

    article-m:nth-child(1) {
        flex-basis: 100%;
    }

    .form-group.half {
        flex: 1 1 48%;
    }

    .captcha-group {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .captcha-label {
        flex-direction: column;
        text-align: center;
        font-size: 16px;
    }

    .captcha-input {
        width: 80px;
        font-size: 16px !important;
        min-height: 40px;
    }
}

@media (min-width: 900px) {
    article:nth-child(1) {
        flex-basis: 0;
    }

    article-m:nth-child(1) {
        flex-basis: 0;
    }
}

@media (max-width: 650px) {
    h1 {
        font-size: 1.5rem;
        line-height: 1.5;
    }

    .note {
        font-size: 1rem;
    }
}

@media (max-width: 600px) {
    .container_logo img {
        width: 80%;
    }
}

/* Scrollbox */
.scrollbox {
    overflow: auto;
    border-top: 1px solid #3F6785;
    border-bottom: 1px solid #3F6785;
    padding: 15px 0;
    margin-top: 15px;
    width: auto;
    max-height: 400px;
    background: rgba(255, 255, 255, 0.55);
}

/* Formular-Container */
.container_f {
    margin: 0 auto;
    padding: 0 15px;
    background-color: #fff;
    width: 100%;
}

@media (min-width: 992px) {
    .container_f {
        width: auto;
    }
}

@media (min-width: 1200px) {
    .container_f {
        width: auto;
    }
}

/* Typografie */
h1 {
    max-inline-size: 80rem;
    margin-block: 2rem;
    margin-inline: auto;
    font-size: 1.5rem;
    font-family: "Poppins";
    line-height: 1.2;
    color: hsl(0deg 100% 95%);
    text-align: center;
    text-wrap: balance;
}

hl_ab {
    background: yellow;
    border-radius: 5px;
}

code {
    padding-block: 0.5rem;
    padding-inline: 1rem;
    font-family: "Poppins";
    font-size: 1em;
    color: #3F6785;
    white-space: auto;
    background: yellow;
    border-radius: 5px;
}

p {
    margin-block: 0.5rem;
}

p:last-child {
    margin-block-end: 0;
    font-family: "Roboto Mono", Poppins, "Poppins Black", "Poppins ExtraBold", "Poppins ExtraLight", "Poppins Medium", "Poppins Light", "Montserrat Medium", "Montserrat ExtraBold", "Montserrat ExtraLight", "Montserrat Light", Montserrat;
    font-size: 16px;
    font-weight: normal;
    text-align: center;
}

.note {
    max-inline-size: 80rem;
    margin-inline: auto;
    margin-block: 2rem 3rem;
    color: hsl(0 100% 85%);
    text-align: center;
    text-wrap: balance;
    transition-property: opacity, translate, scale;
    transition-duration: 1s;
    transition-timing-function: ease-in-out;
    --i: 1;
    transition-delay: calc(200ms * var(--i));
}

@starting-style {
    .note {
        opacity: 0;
        translate: 30rem;
        scale: 1.5;
    }
}

details {
    position: relative;
    max-inline-size: auto;
    margin: 0 10px;
    background: #EAF0F4;
    border: 1px solid hsl(260deg 100% 95%);
    border-radius: 0.5rem;
    width: 100%;
    padding: 25px;
    transition-property: opacity, translate, scale;
    transition-duration: 1s;
    transition-timing-function: ease-in-out;
    --i: 1;
    transition-delay: calc(200ms * var(--i));
}

@starting-style {
    details {
        opacity: 0;
        translate: -30rem;
        scale: 1.5;
    }
}

summary {
    padding-inline: 25px;
    position: relative;
    width: 100%;
    font-weight: 1000;
    cursor: pointer;
}

summary::marker {
    content: none;
}

summary::before {
    content: '>>';
    position: absolute;
    inset-inline-start: 0.05rem;
    inset-block-start: -0.05rem;
    transition: rotate 0.2s;
    color: #F90;
}

.details[open] summary::before {
    rotate: 90deg;
    inset-block-start: 0.05rem;
}

.details-content {
    display: block;
    margin-inline: 2rem;
    block-size: 0;
    overflow: hidden;
    transition-property: block-size, content-visibility;
    transition-duration: 0.5s;
    transition-behavior: allow-discrete;
}

.details[open] .details-content {
    block-size: auto;
    block-size: calc-size(auto);
}

/* Modal-spezifische Stile */
#open-modal div .modal-container-m .modal-container-header-m .modal-container-title-m {
    color: #3F6785;
}

#open-modal div .modal-container-m .modal-container-body-m h3-m ui {
    font-family: "Century Gothic";
}

#open-modal div .modal-container-m .modal-container-body-m h3-m u {
    font-size: 24px;
}

#open-modal2 div .modal-container-m .modal-container-body-m h3-m u {
    font-size: 24px;
}

#open-modal-kontakt div .modal-container-m .modal-container-body-m h3-m p u {
    font-size: 24px;
}

#open-modal-anfrage div .modal-container-m .modal-container-body-m .kontakt-formular form .form-group .checkbox-label span br {
    text-align: center;
}

#open-modal-anfrage div .modal-container-m .modal-container-body-m .kontakt-formular form .form-group .checkbox-label span {
    text-align: center;
}

#open-modal-anfrage div .modal-container-m .modal-container-body-m .kontakt-formular #kontaktForm .form-group div strong {
    font-weight: bold;
}

#open-modal-anfrage div .modal-container-m .modal-container-body-m .kontakt-formular #kontaktForm .form-group div {
    font-weight: normal;
}

#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #f4f4f4;
    border-top: 1px solid #ccc;
    padding: 1rem;
    display: none;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
}

#cookie-banner p {
    margin: 0 0 0.5rem 0;
    text-align: center;
}

#cookie-banner div {
    display: flex;
    gap: 0.5rem;
}

#cookie-banner button {
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    transition: all 0.2s ease;
}

#cookie-banner button:first-child {
    background: #3F6785;
    color: #efefef;
    border: none;
}

#cookie-banner button:first-child:hover {
    background: #33526A;
}

#cookie-banner button:nth-child(2) {
    background: #efefef;
    color: #3F6785;
    border: 2px solid #3F6785;
}

#cookie-banner button:nth-child(2):hover {
    background: #e2e2e2;
}

#cookie-banner button:nth-child(3) {
    background: #fff0;
    color: #3F6785;
    border: 2px dashed #3F6785;
}

#cookie-banner button:nth-child(3):hover {
    background: #f0f0f0;
}
/* Footer */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    text-align: center;
    height: 35px;
    width: 100%;
    background-color: #efefef;
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    color: #3F6785;
    line-height: 35px;
}

.footer p {
    margin: 0;
    padding-left: 10px;
}

@media (max-width: 1200px) {
    .footer {
        font-size: 14px;
        height: 30px;
        line-height: 30px;
    }
}

/* Honeypot-Feld verstecken */
.honeypot {
    display: none;
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.honeypot input,
.honeypot label {
    display: none;
}

/* Verstecke Scrollbalken nur für modal-container-m, behalte Scroll-Funktionalität */
.modal-container-m {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.modal-container-m::-webkit-scrollbar {
    display: none;
}