@font-face {
    font-family: 'Montserrat';
    src: url('/font/Montserrat/Montserrat-VariableFont_wght.ttf');
}

@font-face {
    font-family: 'Great Vibes';
    src: url('/font/Great_Vibes/GreatVibes-Regular.ttf');
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    /*
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    min-height: 100vh;
    */
    background-color: #FFFFFF;
    color: var(--dark-grey);
}

main {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    min-height: 40vh;
    /*padding: 50px;*/
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.1);
}

.header {
    height: 50vh;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.header.big {
    height: 75vh;
}

.header.small {
    height: 300px;
}

.header > img {
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.content {
    width: 100%;
    /*
    max-width: 1200px;
    margin: auto;
    */
    padding: 50px;
}

@media (max-width: 800px) {
    .content {
        padding: 25px;
    }
}

.content.large {
    min-width: 100%;
}

.content.title {
    background-color: var(--light-green);
    border-radius: 12px;
}

.content.title h1 {
    padding-bottom: 0px;
}

/*
h2 {
    font-weight: 600;
    font-size: 40px;
    text-align: center;
}

h3 {
    font-weight: 500;
    font-size: 25px;
}

h4 {
    font-weight: 500;
}
*/

.abstand {
    height: 40px;
}

.center {
    text-align: center;
}

.video {
    display: flex;
    align-items: center;
    justify-content: center;
}

.video video {
    max-height: 500px;
    max-width: 100%;
    border-radius: 12px;
}

slideshow-component {
    height: 600px;
    width: 100%;
    margin-bottom: 25px;
}

image-slideshow {
    height: 500px;
    width: 100%;
    margin-bottom: 50px;
}



/* text */

.text {
    width: 100%;
    text-align: left;
    font-size: 18px;
    line-height: 28px;
}

.text > *:first-child {
    padding-top: 0;
}

.text > *:last-child {
    padding-bottom: 0;
}

.text.center {
    text-align: center;
}

h1 {
    font-size: 40px;
    padding: 0 0 50px 0;
    font-weight: 600;
    text-align: center;
}

.text h1 {
    padding: 0 0 30px 0;
}

h2 {
    font-size: 30px;
    padding: 0 0 40px 0;
    font-weight: 500;
}

.text h2 {
    padding: 12px 0 20px 0;
}

h3 {
    font-size: 25px;
    padding: 8px 0 25px 0;
    font-weight: 450;
}

.text h3 {
    padding: 0 0 22px 0;
}

.text h4, h4 {
    font-size: 22px;
    padding: 0 0 22px 0;
    font-weight: 450;
}

.text p {
    padding: 0 0 22px 0;
}

.text table {
    text-align: left;
    padding: 0 0 22px 0;
    font-size: 18px;
}

.text tr:nth-child(even) {
    background-color: var(--light-green);
}

.text td {
    padding: 15px 25px;
}

.text td:first-child {
    font-weight: 500;
}

.text ul {
    font-size: 18px;
    padding: 0 25px 22px 25px;
}

.text ul.dashed {
    list-style-type: none;
}

.text ul li {
    padding: 0 0 8px 5px;
}

.text ul.dashed li {
    padding: 0 0 8px 20px;
    position: relative;
}

.text ul.dashed li::before {
    content: "-";
    position: absolute;
    left: 0;
}

.text ul li:last-child {
    padding: 0 0 0 5px;
}

.text ul.dashed li:last-child {
    padding: 0 0 0 20px;
}

/*
@media (max-width: 800px) {
    .text h1 {
        font-size: 30px;
    }
}
*/

.text img {
    width: 100%;
    border-radius: 12px;
}

.text img.float {
    width: 500px;
    max-width: 50%;
    float: left;
    margin: 0 32px 12px 0;
    border-radius: 12px;
}

@media (max-width: 800px) {
    h1 {
        font-size: 30px;
    }
    
    h2 {
        font-size: 25px;
    }
    
    h3 {
        font-size: 22px;
    }
    
    h4 {
        font-size: 20px;
    }

    .text img.float {
        width: 100%;
        max-width: 100%;
        float: none;
        margin: 0 0 12px 0;
    }
}



/* a */

a:link {
    color: var(--dark-green);
    transition: all 150ms linear;
    word-break: break-all;
}

a:visited {
    color: var(--dark-green);
}

a:hover {
    color: var(--green);
}

a svg {
    fill: var(--dark-green);
    transition: all 150ms ease-in-out;
    height: 18px;
    width: 18px;
    vertical-align: middle;
}

a:hover svg {
    fill: var(--green);
}



/* button */

.button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 20px;
    background-color: var(--dark-green);
    border: 1px solid var(--dark-green);
    border-radius: 12px;
    color: #FFFFFF !important;
    text-decoration: none;
    transition: all 150ms linear;
    cursor: pointer;
    width: fit-content;
    height: fit-content;
    font-size: 16px;
}

.button svg {
    width: 28px;
    height: 28px;
    fill: #FFFFFF;
    transition: all 150ms linear;
    margin-left: 8px;
}

/*
.button svg {
    width: 24px;
    height: 24px;
    fill: #FFFFFF;
    transition: all 150ms linear;
    margin-left: 12px;
}

.button svg path {
    transform: scale(0.5);
}
*/

.button:hover {
    background-color: transparent;
    color: var(--dark-green) !important;
}

.button:hover svg {
    fill: var(--dark-green);
}

.button.red {
    background-color: red;
    border: 1px solid red;
}

.button.red:hover {
    background-color: transparent;
    color: red !important;
}

.button.red:hover svg {
    fill: red;
}

.button.transparent {
    background-color: transparent;
    border: 1px solid var(--dark-green);
    color: var(--dark-green) !important;
}

.button.transparent:hover {
    background-color: var(--light-green);
    border: 1px solid var(--light-green);
}

.button.transparent svg {
    fill: var(--dark-green);
}

.button.small {
    padding: 8px 12px;
}

.button.full-size {
    width: auto;
    height: auto;
}

.button.icon {
    padding: 10px 15px;
}

.button.icon svg {
    margin-left: 0px;
}

.link {
    background-color: transparent;
    border: none;
    text-decoration: underline;
    color: var(--dark-green);
    transition: all 150ms linear;
    font-size: 16px;
    cursor: pointer;
    width: fit-content;
    height: fit-content;
}

.link:hover {
    color: var(--green);
}



/* form */

form {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-direction: column;
    gap: 32px;
    width: 100%;
    background-color: var(--light-grey);
    /*margin: auto;*/
    padding: 32px;
    border-radius: 12px;
}

form .error {
    background-color: red;
    border-radius: 8px;
    padding: 20px;
    width: 100%;
    color: white;
    display: none;
}

form .success {
    background-color: green;
    border-radius: 8px;
    padding: 20px;
    width: 100%;
    color: white;
    display: none;
}

form > div {
    width: 100%;
    color: var(--dark-grey);
    font-size: 14px;
}

/*
form label {
    width: 100%;
    color: var(--dark-grey);
    font-size: 14px;
}
*/

form .wrong_input {
    padding: 12px 0;
    display: none;
    font-size: 16px;
    color: red;
}

form input, form textarea {
    margin-top: 10px;
}

form input::placeholder, form textarea::placeholder {
    color: black;
    opacity: 0.5;
    font-size: 16px;
}

form input:not([type="submit"], [type="checkbox"]) {
    height: 50px;
    width: 100%;
    border: none;
    border-radius: 8px;
    padding: 0 12px;
}

form div:has(> input[type="checkbox"]) {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: row;
}

form input[type="checkbox"] {
    margin-top: 0;
    margin-right: 10px;
    height: 20px;
    width: 20px;
    cursor: pointer;
}

form input[type="submit"] {
    padding: 12px 18px;
    font-size: 16px;
    background-color: var(--dark-green);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    color: white;
    transition: all 200ms;
}

form input[type="submit"]:hover {
    background-color: var(--green);
}

form input[type="submit"] {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background-color: var(--dark-green);
    border: 1px solid var(--dark-green);
    border-radius: 12px;
    color: #FFFFFF !important;
    text-decoration: none;
    transition: all 150ms linear;
    cursor: pointer;
}

form input[type="submit"]:hover {
    background-color: transparent;
    color: var(--dark-green) !important;
}

form input[type="file"] {
    padding-left: 0;
}

form input::file-selector-button {
    height: 100%;
    background-color: var(--dark-green);
    border: 1px solid var(--dark-green);
    border-radius: 12px;
    color: #FFFFFF !important;
    text-decoration: none;
    transition: all 150ms linear;
    cursor: pointer;
}

form input::file-selector-button:hover {
    background-color: transparent;
    color: var(--dark-green) !important;
}

form textarea {
    height: 400px;
    width: 100%;
    border: none;
    border-radius: 8px;
    padding: 12px 12px;
    resize: none;
}

form textarea.small {
    height: 200px;
    width: 100%;
    border: none;
    border-radius: 8px;
    padding: 12px 12px;
    resize: none;
}

form .valid input, form .valid textarea {
    border: 2px solid var(--dark-green);
}

form .valid .wrong_input {
    display: none;
}

form .invalid input, form .invalid textarea {
    border: 2px solid red;
}

form .invalid .wrong_input {
    display: block;
}

form.white {
    background-color: white;
}

form.white input:not([type="submit"]) {
    background-color: var(--light-grey);
}

form.white textarea {
    background-color: var(--light-grey);
}