/* eigene Styles -> für Print UND Screen */
/* hier können Schriftarten, größen usw. festgelegt werden */

:root {
    --gap: 2rem;
}

html {
    color: var(--black);
}

body {
    font-family: sans-serif;
}

.header-wrapper,
footer,
main,
aside {
    padding: 2rem 0;
}

.site-wrapper {
    display: flex;
    flex-direction: column;
    width: 100vw;
    min-height: 100vh;
    align-items: stretch;
}

.content-wrapper {
    flex-grow: 1;
}

.headerslider .swiper {
    height: 30vh;
}

li ul {
    padding-left: 2rem;
}

h1,
h2,
h3,
h4,
h5,
h6,
[role='heading'] {
    color: inherit;
    margin-bottom: 1rem;
    font-weight: var(--bold, 700);
    display: block;
    line-height: 1.2;
}

b,
strong {
    font-weight: var(--bold, 700);
}

[role='heading']:not([aria-level='2']):not(:first-child),
h2:not(:first-child),
h3:not(:first-child),
h4:not(:first-child),
h5:not(:first-child),
h6:not(:first-child) {
    margin-top: 2rem;
}

h1,
main .h1,
main [role='heading'].h1,
[role='heading'][aria-level='1'] {
    font-size: 3em;
    line-height: 1.2;
}

h2,
main .h2,
main .content_block .h2,
.content_block .block_headline,
[role='heading'][aria-level='2'] {
    font-size: 3em;
    line-height: 1.2;
}

aside [role='heading'][aria-level='2'] {
    font-size: 2em;
}

.content_block .block_headline {
    margin-bottom: 0.5em;
}

h3,
main .h3,
main [role='heading'].h3,
[role='heading'][aria-level='3'] {
    font-size: 2em;
    line-height: 1.2;
}

h4,
main .h4,
main [role='heading'].h4,
[role='heading'][aria-level='4'] {
    font-size: 1.5em;
    line-height: 1.2;
}

h5,
main .h5,
main [role='heading'].h5,
[role='heading'][aria-level='5'] {
    font-size: 1.25em;
    line-height: 1.2;
}

table {
    color: inherit;
}

[hidden] {
    display: none !important;
}

/* featherlight ändert nicht Höhe / Breite */
html.with-featherlight .featherlight .featherlight-content {
    height: 800px;
    max-height: 95vh;
    width: 1150px;
    max-width: 95vw;
}

html.with-featherlight .featherlight .featherlight-image {
    width: 100% !important;
    height: 100% !important;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    margin: auto;
}

html.with-featherlight .featherlight-next:hover,
html.with-featherlight .featherlight-previous:hover {
    background: rgba(0, 0, 0, 0.2);
}

/* 404 */
.errorpage {
    align-items: stretch;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.errorpage h1 strong {
    font-size: 5em;
}

.errorpage img {
    width: 100%;
    max-width: 20rem;
    height: auto;
}

.errorpage .lg_6 {
    width: calc(100% / 12 * 6);
}

.errorpage_img {
    position: relative;
    background: radial-gradient(
        circle,
        rgba(0, 0, 0, 0.2) 0%,
        rgba(255, 255, 255, 0) 60%
    );
    min-height: 20rem;
    max-width: 35rem;
}

.errorpage_img .mond {
    position: absolute;
    left: 12.5%;
    top: 0%;
    z-index: 1;
    width: 40%;
    height: auto;
}

.errorpage_img .astronaut {
    position: absolute;
    right: 12.5%;
    bottom: 0%;
    z-index: 2;
    width: 40%;
    height: auto;
    transform: rotate(0deg);
    animation-duration: 10s;
    animation-name: rotate;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(-360deg);
    }
}

@media only screen and (max-width: 768px) {
    .errorpage .md_12 {
        width: 100%;
    }

    .errorpage {
        flex-direction: column-reverse;
        align-items: center;
    }
}

/* ENDE 404 */

/* SOCIAL MEDIA MENU */
.social-media-menu-wrapper {
    display: flex;
    justify-content: flex-end;
}
.social-media-menu-wrapper ul {
    list-style: none;
    display: flex;
    flex-direction: row;
    margin-top: 2rem;
}
.social-media-menu-wrapper li {
    margin-left: 1rem;
}
/* END SOCIAL MEDIA MENU */

.leftalign {
    text-align: left;
}
.rightalign {
    text-align: right;
}

p ~ p,
* ~ p,
p ~ * {
    margin-top: 0.5em;
}

.dropzone {
    width: 100%;
    height: 150px;
    border: 2px dashed #cccccc;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--creart);
    font-size: 16px;
    flex-direction: column;
    gap: 0.25em;
    background-color: #fff;
    cursor: pointer;
}
input[type='file'],
.hidden {
    display: none;
}

.campaign_contact #form_whg.custom .dropzone + input {
    display: none;
}

.upload_widget .dropzone {
    border: 2px dashed var(--grey);
}

.dropzone span {
    color: #242424;
}

.dropzone.dragover {
    background-color: #f0f0f0;
    border-color: #888;
}

.file-container .file {
    display: flex;
    justify-content: space-between;
    padding: 0.25em 0.5em;
    margin: 0.25em 0;
    background-color: #fff;
    color: var(--creart);
    border: 2px solid var(--grey);
    align-items: baseline;
}

.file-container .file.error {
    color: red;
    cursor: pointer;
}

.file-container .file span:not(.title) {
    cursor: pointer;
    background-color: var(--grey);
    color: var(--creart);
    padding: 0.125em 0.5em;
}

.accordion {
    margin: 0;
    padding: 0;
    width: 100%;
}

.accordion p {
    background-color: var(--creart);
    color: #fff;
    margin: 0;
    padding: 0;
}
.accordion-panel {
    background-color: #fff;
}

.accordion-trigger {
    width: 100%;
    background: none;
    color: var(--creart);
    display: block;
    font-weight: normal;
    margin: 0;
    padding: 1em 1.5em;
    position: relative;
    text-align: left;
    width: 100%;
    outline: none;
}

.accordion button::-moz-focus-inner {
    border: 0;
}

.accordion-title {
    display: block;
    pointer-events: none;
    outline: none;
    color: #fff;
}

.accordion-panel {
    margin: 0;
    padding: 1em 1.5em;
}

.accordion-panel[hidden] {
    display: none;
}
