@import url(/include/fonts.css);


/**** Global ****/

:root {
    --color-gray-dark: #535353;
    --color-gray-medium: #646464;
    --color-gray-dim: #989898;
    --color-gray-light: #f0f0f0;
    --color-blue-light: #cefdfd;
    --color-blue-medium: #74dfe8;
    --color-blue-medium-2: #6cf4f4;
    --color-blue-dark: #1ac2d4;
    --color-middlegrey: #989898;
    --color-orange: #e68c31;
    --color-red: #7c0a0a;

    --font: "Sarabun", Arial, sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
    min-width: 0;
}

a {
    color: inherit;
    text-decoration: none;
}
p a {
    color: var(--color-orange);
}
p a:hover {
    text-decoration: underline;
}

body, html {
    background-color: var(--color-gray-light);
    color: var(--color-gray-dark);
    font: 400 16px/1.6 var(--font);
    hyphens: auto;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    margin: 0;
    width: 100%;
    min-height: 100vh;
}
body {
    display: flex;
}

#wrapper {
    background-color: #fff;
    display: flex;
    flex: 1;
    flex-direction: column;
}

.bg-light-blue {
    background-color: var(--color-blue-light);
}
.bg-dark-blue {
    background-color: var(--color-blue-dark);
}
.bg-white {
    background-color: #fff;
}
.bg-light-gray {
    background-color: var(--color-gray-light);
}
.bg-dark-gray {
    background-color: var(--color-gray-dark);
}
.bg-image {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
.bg-image.contain {
    background-size: 130px;
    background-position: center 20px;
}
.bg-image.pos-top {
    background-position: center top;
}
.fg-white {
    color: #fff;
}
.fg-blue {
    color: var(--color-blue-medium);
}
.fg-light-blue {
    color: var(--color-blue-light);
}
.fg-dark-blue {
    color: var(--color-blue-dark);
}
.fg-orange {
    color: var(--color-orange);
}
.fg-orange\:hover {
    transition: color .3s ease;
}
.fg-orange\:hover:hover {
    color: var(--color-orange);
}
.fg-middlegrey {
    color: var(--color-middlegrey);
}
.fg-middlegrey\:hover {
    transition: color .3s ease;
}
.fg-middlegrey\:hover:hover {
    color: var(--color-middlegrey);
}
.fg-red {
    color: var(--color-red);
}
.fg-beige {
    color: #9d9a89;
}
.text-left {
    text-align: left;
}
.text-center {
    text-align: center;
}
.text-right {
    text-align: right;
}
.text-bold {
    font-weight: 700;
}
.text-uppercase {
    text-transform: uppercase;
}
.float-right {
    float: right;
}
.hidden {
    display: none;
}
div.space {
    height: 20px;
}
div.space.medium {
    height: 50px;
}
div.space.big {
    height: 120px;
}
hr {
    border: 0;
    border-top: 2px solid rgba(0, 0, 0, 0.1);
    display: block;
    margin: 30px 0;
}
.centered {
    margin-left: auto;
    margin-right: auto;
}
.max-width-600 {
    max-width: 600px;
}
.max-width-150 {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    max-width: 150px;
}
.max-width-100 {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    max-width: 100px;
}
.height-70w {
    padding-bottom: 70% !important;
    position: relative;
}
.no-hyphens {
    hyphens: none;
    -webkit-hyphens: none;
    -moz-hyphens: none;
    -ms-hyphens: none;
}
.pointer {
    cursor: pointer;
}
.vertical-center-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.no-collapse {
    padding-top: 1px;
}
@media (max-width: 2000px) {
    div.space.big {
        height: 80px;
    }
}
div.visible-w1050 {
    display: none;
}
@media (max-width: 1200px) {
    div.hidden-w1200 {
        display: none;
    }
}
@media (max-width: 1050px) {
    div.visible-w1050 {
        display: block;
    }
    div.hidden-w1050 {
        display: none;
    }
}
@media (max-width: 700px) {
    div.text-center-w700 {
        text-align: center;
    }
}
@media (max-width: 600px) {
    div.hidden-w600 {
        display: none;
    }
}
@media (max-width: 500px) {
    div.hidden-w500 {
        display: none;
    }
}


/**** Header ****/

header {
    background: var(--banner-img) center center no-repeat;
    background-size: cover;
    color: var(--color-gray-dark);
    display: flex;
    height: 600px;
    width: 100%;
}
header.big {
    height: 1400px;
}
header.light {
    color: #fff;
}
header.small {
    height: 100px;
}
header.img-bottom {
    background-position: center 80%;
}
@media (max-width: 2300px) {
    header.big {
        height: 1200px;
    }
}
@media (max-width: 2000px) {
    header {
        height: 500px;
    }
    header.big {
        height: 1000px;
    }
}
@media (max-width: 1600px) {
    header {
        height: 450px;
    }
    header.big {
        height: 800px;
    }
}
@media (max-width: 1200px) {
    header {
        height: 400px;
    }
    header.big {
        height: 600px;
    }
}
@media (max-width: 900px) {
    header {
        height: 350px;
    }
    header.big {
        height: 500px;
    }
}
@media (max-width: 700px) {
    header.big {
        height: 400px;
    }
}
@media (max-width: 500px) {
    header.big {
        height: 300px;
    }
}

header > .wrapper-content {
    position: relative;
    max-width: 100%;
}

header nav {
    height: 100px;
    hyphens: none;
    -webkit-hyphens: none;
    -moz-hyphens: none;
    -ms-hyphens: none;
    left: 0;
    padding: 0 60px;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 100;
}
header:not(.small) nav {
    animation: 1s nav-background var(--progress) linear forwards paused;
}
@keyframes nav-background {
    from { background-color: transparent; }
    to { background-color: var(--color-blue-light); }
}
header nav > div.logo-name {
    align-items: center;
    display: flex;
    font-size: 18px;
    height: 100%;
    justify-content: space-between;
    left: 60px;
    position: absolute;
    top: 0;
}
header nav > div.logo-name > a {
    display: contents;
}
header nav > div.logo-name img {
    height: 48px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
}
header:not(.small).light nav > div.logo-name img:nth-child(2) {
    animation: 1s nav-icon-opacity var(--progress) linear forwards paused;
}
header nav > a > img {
    display: block;
    height: 68px;
    left: 50%;
    position: absolute;
    top: 16px;
    transform: translateX(-50%);
    width: 68px;
}
header:not(.small).light nav > a > img:nth-child(2) {
    animation: 1s nav-icon-opacity var(--progress) linear forwards paused;
}
@keyframes nav-icon-opacity {
    from { opacity: 1; }
    to { opacity: 0; }
}
header nav > span {
    background-color: #fff;
    border-radius: 50%;
    display: block;
    height: 160px;
    left: 50%;
    padding: 35px;
    position: absolute;
    top: 20px;
    transform: translateX(-50%);
    width: 160px;
}
header nav > span > img {
    display: block;
    height: 100%;
    object-fit: contain;
    width: 100%;
}
header.small nav > span {
    animation: 1s nav-icon-size var(--progress) linear forwards paused;
}
@keyframes nav-icon-size {
    from {
        height: 160px;
        top: 20px;
        padding: 35px;
        width: 160px;
    }
    to {
        height: 80px;
        top: 10px;
        padding: 14px;
        width: 80px;
    }
}
header nav > div.menu {
    align-items: center;
    display: inline-flex;
    font-size: 18px;
    height: 100%;
    justify-content: space-between;
    position: absolute;
    right: 126px;
    top: 0;
}
header nav > div.menu > a {
    cursor: pointer;
    display: block;
    height: 36px;
    margin-left: 10px;
    position: relative;
    text-decoration: none;
    width: 36px;
}
header nav > div.menu > a > img {
    display: block;
    height: 36px;
    width: 36px;
}
header nav > div.menu > a > img:nth-child(2) {
    left: 0;
    position: absolute;
    top: 0;
}
header:not(.small).light nav > div.menu > a > img:nth-child(2) {
    animation: 1s nav-icon-opacity var(--progress) linear forwards paused;
}
header > a.menu-burger {
    cursor: pointer;
    height: 30px;
    position: fixed;
    right: 60px;
    top: 35px;
    width: 36px;
    z-index: 102;
    --menu-burger-color: var(--color-gray-dark);
}
header.light > a.menu-burger {
    --menu-burger-color: #fff;
}
header > a.menu-burger > div {
    background-color: var(--menu-burger-color);
    border-radius: 2px;
    height: 4px;
    left: 0;
    opacity: 1;
    position: absolute;
    top: 0;
    transition: top .3s ease-out, transform .3s ease-out, opacity .3s ease-out, background-color .3s ease-out, animation-delay .3s ease-out;
    transform-origin: center 2px;
    width: 100%;
}
header > a.menu-burger > div:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}
header > a.menu-burger > div:nth-child(3) {
    top: 100%;
    transform: translateY(-100%);
}
header:not(.small).light > a.menu-burger > div {
    animation: 1s nav-menu-burger-color var(--progress) linear forwards paused;
}
@keyframes nav-menu-burger-color {
    from { background-color: #fff; }
    to { background-color: var(--color-gray-dark); }
}
body.nav-open header > a.menu-burger > div {
    animation-delay: 0s !important;
    background-color: #fff !important;
}
body.nav-open header > a.menu-burger > div:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}
body.nav-open header > a.menu-burger > div:nth-child(2) {
    opacity: 0;
}
body.nav-open header > a.menu-burger > div:nth-child(3) {
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
}
@media (max-height: 850px), (max-width: 1900px) {
    header.small {
        height: 70px;
    }
    header nav {
        height: 70px;
    }
    header nav > a > img {
        height: 50px;
        top: 10px;
        width: 50px;
    }
    header nav > span {
        height: 120px;
        padding: 25px;
        top: 10px;
        width: 120px;
    }
    header.small nav > span {
        animation: 1s nav-icon-size-h850 var(--progress) linear forwards paused;
    }
    @keyframes nav-icon-size-h850 {
        from {
            height: 120px;
            padding: 25px;
            top: 10px;
            width: 120px;
        }
        to {
            height: 60px;
            padding: 10px;
            top: 5px;
            width: 60px;
        }
    }
    header > a.menu-burger {
        top: 20px;
    }
}
@media (max-width: 1000px) {
    header nav {
        padding: 0 40px;
    }
    header nav > div.logo-name {
        left: 40px;
    }
    header nav > div.menu {
        right: 106px;
    }
    header > a.menu-burger {
        right: 40px;
    }
}
@media (max-width: 900px) {
    header nav > img {
        height: 120px;
        padding: 20px;
        top: 41px;
        width: 120px;
    }
    header nav > div.logo-name {
        width: 300px;
    }
}
@media (max-width: 900px) {
    header.small nav > span {
        animation: none;
        height: 60px;
        padding: 10px;
        top: 5px;
        width: 60px;
    }
}
@media (max-width: 700px) {
    header nav > div.logo-name {
        display: none;
    }
    header nav > div.menu > a.socialmedia {
        display: none;
    }
}
@media (max-width: 600px) {
    header nav {
        padding: 0 30px;
    }
    header nav > div.logo-name {
        left: 30px;
    }
    header > a.menu-burger {
        right: 30px;
    }
}
@media (max-width: 470px) {
    header nav {
        padding: 0 30px;
    }
    header nav > div.logo-name {
        left: 30px;
    }
    header > a.menu-burger {
        right: 30px;
    }
}

header h1 {
    color: var(--color-gray-dark);
    font: 100 120px/1.2 var(--font);
    left: 0;
    margin: 0;
    padding: 0;
    position: absolute;
    text-align: center;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
}
header h1 > strong {
    font-weight: 700;
}
header h1 > br {
    display: none;
}
header.light h1 {
    color: #fff;
}
@media (max-width: 1900px) {
    header h1 {
        font-size: 90px;
    }
}
@media (max-width: 1400px) {
    header h1 {
        font-size: 70px;
    }
}
@media (max-width: 1000px) {
    header h1 {
        font-size: 60px;
    }
}
@media (max-width: 850px) {
    header h1 > br {
        display: block;
    }
}
@media (max-width: 600px) {
    header h1 {
        font-size: 55px;
        width: calc(100% - 60px);
    }
}
@media (max-width: 400px) {
    header h1 {
        font-size: 45px;
        width: 100%;
    }
}

header a.button {
    left: 50%;
    position: absolute;
    top: 63%;
    transform: translate(-50%, -50%);
    width: fit-content;
}
@media (max-width: 1200px) {
    header a.button {
        top: 65%;
    }
}
@media (max-width: 850px) {
    header a.button {
        top: 75%;
    }
}
@media (max-width: 500px) {
    header a.button {
        top: 90%;
    }
}


/**** Menu ****/

#wrapper > nav {
    background-color: var(--color-gray-dark);
    bottom: 0;
    color: #fff;
    display: flex;
    max-width: 100%;
    flex-direction: column;
    padding: 100px 20px 20px 20px;
    position: fixed;
    right: -350px;
    top: 0;
    transition: right .3s ease-in-out;
    width: 350px;
    z-index: 101;
}
body.nav-open #wrapper > nav {
    right: 0;
}

#wrapper > nav > ul {
    flex: 1;
    overflow: auto;
}
#wrapper > nav ul {
    margin: 0;
    padding: 0 0 10px 0;
}
#wrapper > nav ul > li {
    border-bottom: 2px solid var(--color-gray-medium);
    display: block;
    list-style: none;
    margin: 0;
    padding: 0 0 0 25px;
    position: relative;
}
#wrapper > nav ul > li:last-child {
    border-bottom: none;
}
#wrapper > nav ul > li.hidden {
    display: none;
}
#wrapper > nav ul > li > a, #wrapper > nav ul > li > span {
    color: #fff;
    display: block;
    font: 400 17px/25px var(--font);
    padding: 12px 30px 12px 0;
    position: relative;
    text-align: left;
    text-decoration: none;
    z-index: 2;
}
#wrapper > nav ul > li > a:hover, #wrapper > nav ul > li > span {
    color: var(--color-blue-medium);
}
#wrapper > nav ul ul > li {
    border-bottom: none;
}
#wrapper > nav ul ul > li > a, #wrapper > nav ul ul > li > span {
    font: 400 14px/20px var(--font);
    padding: 5px 50px 5px 0;
}
/* #wrapper > nav ul ul ul > li {
} */
#wrapper > nav ul ul ul > li > a, #wrapper > nav ul ul ul > li > span {
    font: 400 13px/19px var(--font);
    padding: 5px 50px 5px 0;
}
/* #wrapper > nav ul ul ul ul > li {
    margin-left: 35px;
} */
#wrapper > nav ul ul ul ul > li > a, #wrapper > nav ul ul ul ul > li > span {
    font: 400 12px/18px var(--font);
    padding: 5px 50px 5px 0;
}
#wrapper > nav li:not(.open) > ul {
    display: none;
}
#wrapper > nav ul > li > div.nav-opener {
    cursor: pointer;
    display: block;
    height: 48px;
    left: -10px;
    position: absolute;
    top: 0;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    width: 35px;
    z-index: 3;
}
#wrapper > nav ul > li > div.nav-opener::before {
    border: 2px solid var(--color-blue-medium);
    border-left: none;
    border-top: none;
    content: "";
    display: block;
    height: 10px;
    left: 10px;
    position: absolute;
    top: 20px;
    transform: rotate(-45deg);
    transition-duration: 0.3s;
    width: 10px;
}
#wrapper > nav ul > li.open > div.nav-opener::before {
    transform: translate(3px, -2px) rotate(45deg);
}
#wrapper > nav ul ul > li > div.nav-opener {
    height: 30px;
}
#wrapper > nav ul ul > li > div.nav-opener::before {
    top: 10px;
}
#wrapper > nav ul ul ul > li > div.nav-opener {
    height: 28px;
}
#wrapper > nav ul ul ul > li > div.nav-opener::before {
    top: 7px;
}

#wrapper > nav > div {
    border-top: 2px solid var(--color-gray-medium);
    padding-top: 10px;
}
#wrapper > nav > div > a {
    color: #fff;
    display: block;
    font: 400 17px/20px var(--font);
    padding-top: 12px;
    position: relative;
    text-align: left;
    text-decoration: none;
}
#wrapper > nav > div > a:hover {
    color: var(--color-blue-medium);
}
#wrapper > nav > form {
    display: flex;
    padding-top: 20px;
}
#wrapper > nav > form > input {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: #fff;
    border: none;
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
    color: var(--color-gray-dark);
    display: block;
    flex: 1;
    font: 400 16px/22px var(--font);
    margin: 0;
    min-width: 0;
    outline: none;
    padding: 10px 20px;
    width: auto;
}
#wrapper > nav > form > input::-webkit-search-cancel-button,
#wrapper > nav > form > input::-webkit-search-decoration,
#wrapper > nav > form > input::-webkit-search-results-button,
#wrapper > nav > form > input::-webkit-search-results-decoration {
    display: none;
}
#wrapper > nav > form > input::placeholder {
    color: var(--color-gray-dim);
}
#wrapper > nav > form > button {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: #fff;
    border: none;
    border-radius: 0;
    border-bottom-right-radius: 4px;
    border-top-right-radius: 4px;
    cursor: pointer;
    display: block;
    margin: 0;
    outline: none;
    padding: 0;
    text-align: center;
    width: 60px;
}
#wrapper > nav > form > button::after {
    background-color: var(--color-orange);
    content: "";
    display: inline-block;
    height: 15px;
    mask: url(/images/arrow_small__m.svg) no-repeat center center;
    -webkit-mask: url(/images/arrow_small__m.svg) no-repeat center center;
    mask-size: contain;
    -webkit-mask-size: contain;
    margin-left: 0;
    width: 30px;
}


/**** Content ****/

.wrapper-content {
    margin: 0 auto;
    max-width: 1520px;
    padding: 0 60px;
    width: 100%;
}
@media (max-width: 1000px) {
    .wrapper-content {
        padding: 0 40px;
    }
}
@media (max-width: 600px) {
    .wrapper-content {
        padding: 0 30px;
    }
}
@media (max-width: 470px) {
    .wrapper-content {
        padding: 0 15px;
    }
}

aside.path {
    color: var(--color-blue-medium);
    font: 400 18px/1.2 var(--font);
    padding: 25px 0;
}
aside.path a {
    color: inherit;
    text-decoration: none;
}
aside.path a:hover {
    text-decoration: underline;
}
aside.path span {
    color: var(--color-gray-dark);
    font-weight: 700;
}
aside.path a.back {
    float: right;
    padding-right: 60px;
    position: relative;
}
aside.path a.back::after {
    background-color: var(--color-blue-medium);
    content: "";
    display: block;
    height: 45px;
    mask: url(/images/icon_back__m.svg) no-repeat center center;
    -webkit-mask: url(/images/icon_back__m.svg) no-repeat center center;
    mask-size: contain;
    -webkit-mask-size: contain;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
}
@media (max-width: 900px) {
    aside.path {
        display: none;
    }
}

a.button, button.button {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: var(--color-gray-dark);
    border: none;
    border-radius: 21px;
    color: var(--color-gray-light);
    cursor: pointer;
    display: inline-block;
    font: 400 16px/18px var(--font);
    hyphens: none;
    -webkit-hyphens: none;
    -moz-hyphens: none;
    -ms-hyphens: none;
    padding: 8px 50px 8px 20px;
    position: relative;
    text-align: left;
    text-decoration: none;
}
a.button::after, button.button::after {
    background-color: var(--color-orange);
    content: "";
    display: inline-block;
    height: .7em;
    margin-top: 1px;
    mask: url(/images/arrow_small__m.svg) no-repeat center center;
    -webkit-mask: url(/images/arrow_small__m.svg) no-repeat center center;
    mask-size: contain;
    -webkit-mask-size: contain;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 1.5em;
}
a.button.blue, button.button.blue {
    background-color: transparent;
    border: 2px solid var(--color-blue-dark);
    color: var(--color-blue-dark);
    padding-right: 20px;
    margin: 0 10px 15px 0;
}
a.button.blue::after, button.button.blue::after {
    display: none;
}
a.button.blue.active, button.button.blue.active, a.button.blue:hover, button.button.blue:hover {
    background-color: var(--color-blue-dark);
    color: #fff;
}

span.anchor {
    display: block;
    position: relative;
    top: -140px;
}

.select-wrapper {
    display: inline-block;
    position: relative;
}
select {
    appearance: none;
    -webkit-appearance: none;
    background: none;
    border: 2px solid var(--color-gray-dark);
    border-radius: 21px;
    -webkit-border-radius: 21px;
    -moz-border-radius: 21px;
    -ms-border-radius: 21px;
    -o-border-radius: 21px;
    color: var(--color-gray-dark);
    font: 400 18px/22px var(--font);
    outline: none;
    padding: 8px 50px 8px 14px;
    margin: 0;
}
.select-wrapper::after {
    content: "";
    border: 2px solid var(--color-gray-dark);
    border-top: none;
    border-right: none;
    display: block;
    height: 10px;
    pointer-events: none;
    position: absolute;
    right: 20px;
    top: 15px;
    transform: rotate(-45deg);
    width: 10px;
}

section {
    overflow: hidden;
}
section.overflow {
    overflow: unset;
}

h2 {
    font: 700 70px/1.1 var(--font);
    margin: 35px 0;
}
h3 {
    font: 700 50px/1.2 var(--font);
    margin: 35px 0;
}
h4 {
    font: 700 40px/1.2 var(--font);
    margin: 35px 0;
}
h5 {
    font: 700 30px/1.2 var(--font);
    margin: 30px 0;
}
h6 {
    font: 700 22px/1.2 var(--font);
    margin: 25px 0;
}
h2, h3, h4, h5, h6 {
    hyphens: none;
    -webkit-hyphens: none;
    -moz-hyphens: none;
    -ms-hyphens: none;
}
h2 > br.reverse, h3 > br.reverse, h4 > br.reverse, h5 > br.reverse, h6 > br.reverse {
    display: none;
}
@media (max-width: 1500px) {
    h2 {
        font-size: 65px;
    }
}
@media (max-width: 1000px) {
    h2, h3, h4, h5, h6 {
        hyphens: auto;
        -webkit-hyphens: auto;
        -moz-hyphens: auto;
        -ms-hyphens: auto;
    }
}
/* @media (max-height: 1500px) {
    h2 {
        font-size: 60px;
    }
    h2.max-width-600 {
        font-size: 60px;
    }
    h3 {
        font-size: 50px;
    }
    h4 {
        font-size: 40px;
    }
} */
@media (max-width: 1250px) {
    h2 {
        font-size: 60px;
    }
    h2.max-width-600 {
        font-size: 60px;
    }
}
@media (max-width: 1200px) {
    h2 > br:not(.fixed), h3 > br:not(.fixed), h4 > br:not(.fixed), h5 > br:not(.fixed), h6 > br:not(.fixed) {
        display: none;
    }
}
@media (max-width: 1000px) {
    h2 {
        font-size: 50px;
    }
    h2.max-width-600 {
        font-size: 50px;
    }
    h3 {
        font-size: 40px;
    }
    h4 {
        font-size: 30px;
    }
}
@media (max-width: 800px) {
    h2 > br.reverse, h3 > br.reverse, h4 > br.reverse, h5 > br.reverse, h6 > br.reverse {
        display: block;
    }
}
@media (max-width: 400px) {
    h2 > br.reverse, h3 > br.reverse, h4 > br.reverse, h5 > br.reverse, h6 > br.reverse {
        display: none;
    }
}
h2:first-child, h3:first-child, h4:first-child, h5:first-child, h6:first-child {
    margin-top: 0;
}
h2.no-margin-bottom, h3.no-margin-bottom, h4.no-margin-bottom, h5.no-margin-bottom, h6.no-margin-bottom {
    margin-bottom: 0;
}
@media (max-width: 1000px) {
    h2.margin-top-w1000, h3.margin-top-w1000, h4.margin-top-w1000, h5.margin-top-w1000, h6.margin-top-w1000 {
        margin-top: 20px;
    }
}

main {
    flex: 1;
}

main .wrapper-content {
    margin: 80px auto;
}
main .wrapper-content.no-margin {
    margin: 0 auto;
}
main .wrapper-content.no-margin-bottom {
    margin-bottom: 0 !important;
}
main .wrapper-content.less-margin-top {
    margin-top: 60px;
}
main section.overflow > .wrapper-content {
    margin: 0 auto;
    padding: 80px 60px;
}
main p {
    margin: 25px 0;
}
main p.no-margin-top {
    margin-top: 0;
}
@media (max-width: 1200px) {
    main .wrapper-content {
        margin: 60px auto;
    }
    main .wrapper-content.less-margin-top {
        margin-top: 45px;
    }
    main section.overflow > .wrapper-content {
        padding: 60px 60px;
    }
}
@media (max-width: 1000px) {
    main .wrapper-content {
        margin: 50px auto;
    }
    main .wrapper-content.less-margin-top {
        margin-top: 40px;
    }
    main section.overflow > .wrapper-content {
        padding: 50px 40px;
    }
}
@media (max-width: 600px) {
    main .wrapper-content {
        margin: 40px auto;
    }
    main .wrapper-content.less-margin-top {
        margin-top: 35px;
    }
    main section.overflow > .wrapper-content {
        padding: 40px 30px;
    }
}
@media (max-width: 470px) {
    main .wrapper-content {
        margin: 25px auto;
    }
    main .wrapper-content.less-margin-top {
        margin-top: 25px;
    }
    main section.overflow > .wrapper-content {
        padding: 25px 15px;
    }
}

main details.question-container {
    border-radius: 7px;
    margin: 30px 0;
    padding: 30px 40px;
}
main details.question-container > summary {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    display: block;
    font: 700 22px/1.2 var(--font);
    list-style: none;
    min-height: 35px;
    outline: none;
    padding: 0 60px 0 0;
    position: relative;
}
main details.question-container > summary::-webkit-details-marker, main details.question-container > summary::marker {
    content: "";
    display: none;
}
main details.question-container > summary > span::after, main details.question-container > summary > span::before {
    background-color: var(--color-blue-medium);
    content: "";
    display: block;
    height: 35px;
    mask: url(/images/icon_unfold_closed__m.svg) no-repeat center center;
    -webkit-mask: url(/images/icon_unfold_closed__m.svg) no-repeat center center;
    mask-size: contain;
    -webkit-mask-size: contain;
    opacity: 1;
    position: absolute;
    right: 0;
    top: 0;
    transition: opacity .3s ease;
    width: 35px;
}
main details.question-container > summary > span::before {
    mask-image: url(/images/icon_unfold_open__m.svg);
    -webkit-mask-image: url(/images/icon_unfold_open__m.svg);
    opacity: 0;
}
main details.question-container[open] > summary > span::after {
    opacity: 0;
}
main details.question-container[open] > summary > span::before {
    opacity: 1;
}
@media (max-width: 700px) {
    main details.question-container > summary {
        font-size: 27px;
    }
}
@media (max-width: 600px) {
    main details.question-container {
        padding: 20px 30px;
    }
    main details.question-container > summary {
        font-size: 25px;
        padding: 0 40px 0 0;
    }
}

main .box {
    border-radius: 7px;
    overflow: hidden;
    padding: 23px;
}
main .box > a > img:first-child {
    border-radius: 0;
    display: block;
    margin: -23px -23px 23px -23px;
    width: calc(100% + 46px);
}
main .box > img:first-child {
    border-radius: 0;
    display: block;
    margin: -23px -23px 23px -23px;
    width: calc(100% + 46px);
}
main .box.horizontal {
    display: flex;
    min-height: 180px;
}
main .box.horizontal > div.bg-image:first-child {
    margin: -23px 23px -23px -23px;
}
main .box.horizontal > div {
    flex: 1;
}
main .box.spaced {
    padding: 30px 100px;
}
main .box.overflow {
    overflow: unset;
}
@media (max-width: 1200px) {
    main .box.spaced {
        padding: 25px 50px;
    }
}
@media (max-width: 1000px) {
    main .box, main .box.spaced {
        padding: 20px;
    }
}
@media (max-width: 600px) {
    main .box, main .box.spaced {
        padding: 17px;
    }

    main .box.horizontal.break-w600 {
        flex-direction: column;
    }
    main .box.horizontal.break-w600 > div.bg-image:first-child {
        margin: -23px -23px 23px -23px;
        height: 250px;
        flex: 0 0 250px;
    }
}

main .date {
    margin-bottom: 5px;
}
main .date + h6 {
    margin-top: 0;
}

main img {
    border-radius: 7px;
    display: block;
    height: auto;
    width: 100%;
}
main img.circle {
    aspect-ratio: 1/1;
    border-radius: 50%;
    max-width: 200px;
    object-fit: cover;
    object-position: center;
}
main img.icon-center {
    display: inline-block;
    height: 100px;
    margin-bottom: -20px;
}
main img.event {
    border: 1px solid var(--color-blue-medium);
    width: 100px;
}
main img.no-round {
    border-radius: 0;
}
img.inline {
    border-radius: 0;
    display: inline-block;
    height: 25px;
    vertical-align: middle;
    width: auto;
}

main .image-list {
    height: 100%;
}
main .image-list > div > img {
    height: 100%;
    min-height: 400px;
    object-fit: cover;
    object-position: center;
    width: 100%;
}
@media (max-width: 1600px) {
    main .image-list > div > img {
        min-height: 300px;
    }
}
@media (max-width: 1400px) {
    main .image-list > div > img {
        min-height: 200px;
    }
}
@media (max-width: 1000px) {
    main .image-list > div > img {
        min-height: 300px;
    }
}
@media (max-width: 800px) {
    main .image-list > div {
        flex-basis: calc(50% - 30px) !important;
        margin-bottom: 30px;
    }
    main .image-list > div > img {
        min-height: 200px;
    }
}

main div.icon-top-left {
    margin: 100px 0 0 100px;
    position: relative;
    padding-bottom: 60px;
    z-index: 0;
}
main div.icon-top-left::before {
    background-color: #fff;
    border-radius: 50%;
    content: "";
    display: block;
    height: 140px;
    left: -100px;
    padding: 10px;
    position: absolute;
    top: -100px;
    width: 140px;
    z-index: -1;
}
main div.icon-top-left::after {
    background: var(--img) center center no-repeat;
    background-size: contain;
    content: "";
    display: block;
    height: 80px;
    left: -70px;
    position: absolute;
    top: -70px;
    width: 80px;
    z-index: -1;
}
@media (max-width: 1900px) {
    main div.icon-top-left {
        margin: 75px 0 0 75px;
    }
    main div.icon-top-left::before {
        height: 110px;
        left: -75px;
        top: -75px;
        width: 110px;
    }
    main div.icon-top-left::after {
        height: 70px;
        left: -55px;
        top: -55px;
        width: 70px;
    }
}
@media (max-width: 470px) {
    main div.icon-top-left {
        margin: 50px 0 0 50px;
    }
    main div.icon-top-left::before {
        height: 80px;
        left: -50px;
        top: -50px;
        width: 80px;
    }
    main div.icon-top-left::after {
        height: 50px;
        left: -35px;
        top: -35px;
        width: 50px;
    }
}

main blockquote {
    font: 700 30px/1.2 var(--font);
    margin: 40px 0 0 0;
    min-height: 90px;
    overflow: hidden;
    padding: 0 0 0 120px;
    position: relative;
}
main blockquote::before {
    color: transparent;
    -webkit-text-stroke: 2px var(--color-blue-medium);
    content: "\201D";
    display: block;
    font: 700 200px/1 var(--font);
    left: 0;
    position: absolute;
    top: -30px;
}

main .index-list {
    color: var(--color-blue-medium);
    text-align: center;
}
main .index-list > a {
    text-decoration: none;
}
main .index-list > span {
    color: var(--color-gray-dark);
    font-weight: 700;
}
main .index-list > a.prev {
    background-color: var(--color-blue-medium);
    display: inline-block;
    height: 20px;
    margin: 0 10px 0 0;
    mask: url(/images/arrow_small__m.svg) no-repeat center center;
    -webkit-mask: url(/images/arrow_small__m.svg) no-repeat center center;
    mask-size: contain;
    -webkit-mask-size: contain;
    transform: rotate(180deg);
    vertical-align: -3px;
    width: 30px;
}
main .index-list > a.next {
    background-color: var(--color-blue-medium);
    display: inline-block;
    height: 20px;
    margin: 0 0 0 10px;
    mask: url(/images/arrow_small__m.svg) no-repeat center center;
    -webkit-mask: url(/images/arrow_small__m.svg) no-repeat center center;
    mask-size: contain;
    -webkit-mask-size: contain;
    vertical-align: -3px;
    width: 30px;
}
main .index-list > a.disabled {
    background-color: var(--color-gray-light);
    cursor: default;
    pointer-events: none;
}
main .prev-next-buttons {
    align-items: flex-end;
    display: flex;
    justify-content: right;
    padding: 0 0 30px 0;
}
main .prev-next-buttons > a {
    border: 1px solid var(--color-blue-dark);
    border-radius: 21px;
    color: var(--color-blue-dark);
    cursor: pointer;
    display: inline-block;
    font: 400 16px/18px var(--font);
    hyphens: none;
    -webkit-hyphens: none;
    -moz-hyphens: none;
    -ms-hyphens: none;
    margin: 0 0 0 20px;
    padding: 8px 20px;
    position: relative;
    text-align: left;
    text-decoration: none;
}
main .prev-next-buttons > a:first-child {
    padding-left: 40px;
}
main .prev-next-buttons > a:first-child::before {
    background-color: var(--color-blue-dark);
    content: "";
    display: inline-block;
    height: .7em;
    margin-top: 1px;
    mask: url(/images/arrow_small__m.svg) no-repeat center center;
    -webkit-mask: url(/images/arrow_small__m.svg) no-repeat center center;
    mask-size: contain;
    -webkit-mask-size: contain;
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%) rotate(180deg);
    width: 1.5em;
}
main .prev-next-buttons > a:last-child {
    padding-right: 40px;
}
main .prev-next-buttons > a:last-child::after {
    background-color: var(--color-blue-dark);
    content: "";
    display: inline-block;
    height: .7em;
    margin-top: 1px;
    mask: url(/images/arrow_small__m.svg) no-repeat center center;
    -webkit-mask: url(/images/arrow_small__m.svg) no-repeat center center;
    mask-size: contain;
    -webkit-mask-size: contain;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 1.5em;
}
main .prev-next-buttons > a.disabled {
    border-color: var(--color-gray-dim);
    color: var(--color-gray-dim);
    cursor: default;
    pointer-events: none;
}
main .prev-next-buttons > a.disabled::before, main .prev-next-buttons > a.disabled::after {
    background-color: var(--color-gray-dim);
}
main .paging-button {
    background-color: var(--color-gray-dark);
    content: "";
    display: block;
    height: 0.8em;
    mask: url(/images/arrow_small__m.svg) no-repeat center center;
    -webkit-mask: url(/images/arrow_small__m.svg) no-repeat center center;
    mask-size: contain;
    -webkit-mask-size: contain;
    position: absolute;
    top: 50%;
    width: 1.5em;
}
main .paging-button::after {
    /* touch area */
    content: "";
    background-color: transparent;
    height: 48px;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
}
main .paging-button.prev {
    left: 0;
    transform: translateY(-50%) rotate(180deg);
}
main .paging-button.next {
    transform: translateY(-50%);
    right: 0;
}
main .loading {
    opacity: 0.5;
}

main div.mitarbeiter {
    hyphens: none;
    -webkit-hyphens: none;
    -moz-hyphens: none;
    -ms-hyphens: none;
}
main div.mitarbeiter > img {
    margin-bottom: 20px;
}
@media (max-width: 1000px) {
    main div.mitarbeiter {
        padding-bottom: 40px;
    }
    main div.mitarbeiter > p {
        margin-bottom: 15px;
    }
}


/**** Event ****/

main div.event-container {
    cursor: pointer;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 30px 0 0 0;
    padding: 0 10px;
}
main div > div.event-container:first-child {
    margin-top: 0;
}
main div.event-container > div.event-icon {
    color: var(--color-blue-medium);
    text-align: center;
    width: 90px;
    padding: 43px 0 23px;
    position: relative;
    --icon: url(/images/icon_event_calendar__m.svg);
}
main div.event-container > div.event-icon.canceled {
    color: var(--color-red);
    --icon: url(/images/icon_event_canceled__m.svg);
}
main div.event-container > div.event-icon::after {
    background-color: currentColor;
    content: "";
    display: inline-block;
    height: 90px;
    left: 0;
    mask: var(--icon) no-repeat center center;
    -webkit-mask: var(--icon) no-repeat center center;
    mask-size: contain;
    -webkit-mask-size: contain;
    position: absolute;
    top: 0;
    width: 90px;
}
main div.event-container > div.event-content {
    flex: 1;
    margin: 0 0 0 20px;
}
main div.event-container > div.event-content > p {
    margin: 2px 0 0 0;
}
main div.event-container > div.event-content > h6 {
    margin: 0;
}
main div.event-container > div.event-opener {
    margin: 0 0 0 20px;
    position: relative;
    width: 40px;
}
main details.event-details {
    margin: 0 10px;
    position: relative;
}
main details.event-details[open] {
    padding: 40px 0 0 0;
}
main details.event-details:not(:last-child)[open] {
    border-bottom: 2px solid var(--color-gray-light);
    padding: 30px 0 20px 0;
}
main details.event-details > summary {
    bottom: 100%;
    cursor: pointer;
    height: 92px;
    list-style: none;
    outline: none;
    position: absolute;
    right: 0;
    width: 40px;
}
main details.event-details > summary::-webkit-details-marker, main details.event-details > summary::marker {
    content: "";
    display: none;
}
main details.event-details summary::after, main details.event-details summary::before {
    background-color: var(--color-blue-medium);
    content: "";
    display: block;
    height: 35px;
    mask: url(/images/icon_unfold_closed__m.svg) no-repeat center center;
    -webkit-mask: url(/images/icon_unfold_closed__m.svg) no-repeat center center;
    mask-size: contain;
    -webkit-mask-size: contain;
    opacity: 1;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: opacity .3s ease, transform .3s ease;
    width: 35px;
}
main details.event-details summary::before {
    mask-image: url(/images/icon_unfold_open__m.svg);
    -webkit-mask-image: url(/images/icon_unfold_open__m.svg);
    opacity: 0;
    transform: translateY(-50%) rotate(180deg);
}
main details.event-details[open] summary::after, main details.event-details:hover summary::after {
    opacity: 0;
}
main details.event-details[open] summary::before {
    opacity: 1;
    transform: translateY(-50%);
}
main details.event-details:not([open]):hover summary::before {
    opacity: 1;
}
main details.event-details span.img-outside {
    display: inline-block;
    padding: 2px 0 0 40px;
    position: relative;
}
main details.event-details span.img-outside > img:first-child {
    aspect-ratio: 1/1;
    left: 0;
    margin-right: 10px;
    object-fit: contain;
    object-position: left center;
    position: absolute;
    top: 0;
}
main details.event-details span.img-outside ~ span.img-outside {
    margin-top: 10px;
}
main details.event-details img.ical {
    aspect-ratio: auto;
    margin-top: 20px;
}
@media (max-width: 700px) {
    main div.event-container > div.event-icon {
        display: none;
    }
    main div.event-container > div.event-content {
        margin: 0;
    }
}


/**** Kirchen list ****/

main div.kirchen-list p:last-child {
    margin-bottom: 0;
}
main div.kirchen-list > details {
    width: 100%;
}
main div.kirchen-list > details > summary {
    cursor: pointer;
    list-style: none;
    padding-right: 40px;
    outline: none;
    position: relative;
}
main div.kirchen-list > details > summary > h3 {
    color: var(--color-blue-dark);
    font: 700 40px/44px var(--font);
}
main div.kirchen-list > details:not([open]) > summary > h3 {
    margin-bottom: 0;
}
main div.kirchen-list > details > summary::-webkit-details-marker, main div.kirchen-list > details > summary::marker {
    content: "";
    display: none;
}
main div.kirchen-list > details > summary::after, main div.kirchen-list > details > summary::before {
    background-color: var(--color-blue-medium);
    content: "";
    display: block;
    height: 35px;
    mask: url(/images/icon_unfold_closed__m.svg) no-repeat center center;
    -webkit-mask: url(/images/icon_unfold_closed__m.svg) no-repeat center center;
    mask-size: contain;
    -webkit-mask-size: contain;
    opacity: 1;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: opacity .3s ease, transform .3s ease;
    width: 35px;
}
main div.kirchen-list > details > summary::before {
    mask-image: url(/images/icon_unfold_open__m.svg);
    -webkit-mask-image: url(/images/icon_unfold_open__m.svg);
    opacity: 0;
    transform: translateY(-50%) rotate(180deg);
}
main div.kirchen-list > details[open] > summary::after, main div.kirchen-list > details:hover > summary::after {
    opacity: 0;
}
main div.kirchen-list > details[open] > summary::before {
    opacity: 1;
    transform: translateY(-50%);
}
main div.kirchen-list > details:not([open]):hover > summary::before {
    opacity: 1;
}

main div.kirchen-container {
    position: relative;
}
main div.kirchen-container > div.col-layout > div:nth-child(3) {
    padding-top: 5px;
}
main details.kirchen-details {
    width: 100%;
}
main details.kirchen-details[open] {
    padding-top: 20px;
}
main details.kirchen-details > summary {
    cursor: pointer;
    height: 40px;
    list-style: none;
    outline: none;
    position: absolute;
    right: 0;
    top: 0;
    width: 40px;
}
main details.kirchen-details > summary::-webkit-details-marker, main details.kirchen-details > summary::marker {
    content: "";
    display: none;
}
main details.kirchen-details > summary::after, main details.kirchen-details > summary::before {
    background-color: var(--color-blue-medium);
    content: "";
    display: block;
    height: 35px;
    mask: url(/images/icon_unfold_closed__m.svg) no-repeat center center;
    -webkit-mask: url(/images/icon_unfold_closed__m.svg) no-repeat center center;
    mask-size: contain;
    -webkit-mask-size: contain;
    opacity: 1;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: opacity .3s ease, transform .3s ease;
    width: 35px;
}
main details.kirchen-details > summary::before {
    mask-image: url(/images/icon_unfold_open__m.svg);
    -webkit-mask-image: url(/images/icon_unfold_open__m.svg);
    opacity: 0;
    transform: translateY(-50%) rotate(180deg);
}
main details.kirchen-details[open] > summary::after, main details.kirchen-details:hover > summary::after {
    opacity: 0;
}
main details.kirchen-details[open] > summary::before {
    opacity: 1;
    transform: translateY(-50%);
}
main details.kirchen-details:not([open]):hover > summary::before {
    opacity: 1;
}
@media (max-width: 800px) {
    main details.kirchen-details > summary {
        top: auto;
        bottom: 0;
    }
    main details.kirchen-details[open] {
        position: relative;
    }
    main details.kirchen-details[open] > summary {
        bottom: calc(100% + 20px);
    }
}


/**** Schulen list ****/

main details.schulen-details {
    width: 100%;
}
main details.schulen-details > summary {
    cursor: pointer;
    list-style: none;
    padding-right: 40px;
    outline: none;
    position: relative;
}
main details.schulen-details > summary > h3 {
    color: var(--color-blue-dark);
}
main details.schulen-details:not([open]) > summary > h3 {
    margin-bottom: 0;
}
main details.schulen-details > summary::-webkit-details-marker, main details.schulen-details > summary::marker {
    content: "";
    display: none;
}
main details.schulen-details > summary::after, main details.schulen-details > summary::before {
    background-color: var(--color-blue-medium);
    content: "";
    display: block;
    height: 35px;
    mask: url(/images/icon_unfold_closed__m.svg) no-repeat center center;
    -webkit-mask: url(/images/icon_unfold_closed__m.svg) no-repeat center center;
    mask-size: contain;
    -webkit-mask-size: contain;
    opacity: 1;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: opacity .3s ease, transform .3s ease;
    width: 35px;
}
main details.schulen-details > summary::before {
    mask-image: url(/images/icon_unfold_open__m.svg);
    -webkit-mask-image: url(/images/icon_unfold_open__m.svg);
    opacity: 0;
    transform: translateY(-50%) rotate(180deg);
}
main details.schulen-details[open] > summary::after, main details.schulen-details:hover > summary::after {
    opacity: 0;
}
main details.schulen-details[open] > summary::before {
    opacity: 1;
    transform: translateY(-50%);
}
main details.schulen-details:not([open]):hover > summary::before {
    opacity: 1;
}


/**** Home image list ****/

main div.home-image-list {
    display: flex;
    height: 600px;
    padding-bottom: 60px;
    padding-top: 20px;
    width: 100%;
}
main div.home-image-list > a {
    border-radius: 7px;
    display: block;
    flex: 1;
    margin: 0 0 0 60px;
    opacity: .7;
    position: relative;
    transition: opacity .3s ease, flex .3s ease;
}
main div.home-image-list > a:first-child {
    margin-left: 0;
}
main div.home-image-list > a.default {
    opacity: 1;
    flex: 1.5;
}
main div.home-image-list > a:nth-child(odd) {
    margin-top: 70px;
}
main div.home-image-list > a:nth-child(even) {
    margin-bottom: 70px;
}
main div.home-image-list > a > img {
    bottom: 0;
    display: block;
    height: 100%;
    left: 0;
    object-fit: cover;
    object-position: center;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
}
main div.home-image-list > a > span {
    left: 0;
    opacity: 0;
    padding: 20px 0;
    position: absolute;
    right: 0;
    text-align: center;
    top: 100%;
    transition: opacity .3s ease;
}
main div.home-image-list > a > span::after {
    background-color: var(--color-orange);
    content: "";
    display: block;
    height: 20px;
    margin: 10px auto 0;
    mask: url(/images/arrow_big__m.svg) no-repeat center center;
    -webkit-mask: url(/images/arrow_big__m.svg) no-repeat center center;
    mask-size: contain;
    -webkit-mask-size: contain;
    position: relative;
    width: 40px;
}
main div.home-image-list > a.default > span {
    opacity: 1;
}
main div.home-image-list:hover > a.default > span {
    opacity: 0;
}
main div.home-image-list:hover > a:hover > span {
    opacity: 1;
}
main div.home-image-list:hover > a.default {
    flex: 1;
    opacity: .7;
}
main div.home-image-list:hover > a:hover {
    flex: 1.5;
    opacity: 1;
}
@media (max-width: 1500px) {
    main div.home-image-list {
        height: 500px;
    }
    main div.home-image-list > a {
        margin-left: 40px;
    }
    main div.home-image-list > a:nth-child(odd) {
        margin-top: 50px;
    }
    main div.home-image-list > a:nth-child(even) {
        margin-bottom: 50px;
    }
}
@media (max-width: 1200px) {
    main div.home-image-list {
        height: 400px;
    }
    main div.home-image-list > a {
        margin-left: 30px;
    }
    main div.home-image-list > a:nth-child(odd) {
        margin-top: 40px;
    }
    main div.home-image-list > a:nth-child(even) {
        margin-bottom: 40px;
    }
}
@media (max-width: 800px) {
    main div.home-image-list {
        height: 250px;
    }
    main div.home-image-list > a {
        flex: 1 !important;
        margin-left: 15px;
    }
    main div.home-image-list > a:nth-child(odd) {
        margin-top: 20px;
    }
    main div.home-image-list > a:nth-child(even) {
        margin-bottom: 20px;
    }
    main div.home-image-list > a > span {
        display: none;
    }
}
@media (max-width: 500px) {
    main div.home-image-list {
        height: 200px;
    }
    main div.home-image-list > a {
        margin-left: 10px;
    }
    main div.home-image-list > a:nth-child(odd) {
        margin-top: 20px;
    }
    main div.home-image-list > a:nth-child(even) {
        margin-bottom: 20px;
    }
}


/**** Home sections box ****/

/* Breakpoints:
- 1450px
- 1300px
- 1250px
- 1200px
- 1050px
- 850px
- 500px */

main div.home-box {
    column-gap: 30px;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    position: relative;
    margin: 60px 0;
}
main div.home-box > h2, main div.home-box > h3 {
    hyphens: none;
    -webkit-hyphens: none;
    -moz-hyphens: none;
    -ms-hyphens: none;
    margin: 0;
    pointer-events: none;
    z-index: 22;
}
main div.home-box > h2 {
    color: var(--color-blue-dark);
    font: 700 80px/90px var(--font);
}
main div.home-box > h3 {
    color: var(--color-gray-dark);
    font: 700 70px/1 var(--font);
}
main div.home-box > h2 br, main div.home-box > h3 br {
    display: initial;
}
main div.home-box > a {
    display: contents;
}
main div.home-box > img, main div.home-box > a > img {
    display: block;
    z-index: 20;
}
main div.home-box > div:not(.overlay) {
    cursor: pointer;
    position: relative;
    z-index: 20;
}
main div.home-box > div:not(.overlay)::after {
    background: url(/images/icon_play_button.svg) no-repeat center center;
    background-size: 70px;
    content: "";
    cursor: pointer;
    height: 70px;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
}
main div.home-box > article {
    background-color: #fff;
    border-radius: 7px;
    overflow: hidden;
    padding: 40px;
    z-index: 21;
}
main div.home-box > article > p {
    margin-top: 0;
}
main div.home-box > article > a.button {
    float: right;
}
main div.home-box > span.anchor {
    position: absolute;
}
@media (max-width: 1250px) {
    main div.home-box > h2 {
        font: 700 65px/70px var(--font);
    }
}
@media (max-width: 1050px) {
    main div.home-box > h3 {
        font: 700 60px/1 var(--font);
    }
}
@media (max-width: 850px) {
    main div.home-box {
        margin: 50px 0;
    }
}
@media (max-width: 500px) {
    main div.home-box > article {
        padding: 20px;
    }
    main div.home-box > h2 br, main div.home-box > h3 br {
        display: none;
    }
    main div.home-box > aside {
        padding: 0 20px;
    }
}

/* Layout 1 (home) */
main div.home-box.layout-1 {
    grid-template-rows: minmax(38px, 1fr) auto auto max-content;
    row-gap: 40px;
}
main div.home-box.layout-1 > h2, main div.home-box.layout-1 > h3 {
    grid-column: 6 / 13;
    grid-row: 1 / 4;
    text-align: right;
}
main div.home-box.layout-1 > img, main div.home-box.layout-1 > a > img {
    grid-column: 5 / 11;
    grid-row: 2 / 4;
}
main div.home-box.layout-1 > article {
    font: 400 16px/1.6 var(--font);
    grid-column: 1 / 6;
    grid-row: 1 / 5;
    margin: 50px 0 auto 0;
}
main div.home-box.layout-1 > article a.button {
    border-radius: 18px;
    font: 400 16px/1.6 var(--font);
    padding: 6px 50px 6px 20px;
}
@media (max-width: 1250px) {
    main div.home-box.layout-1 {
        grid-template-rows: minmax(22px, 1fr) auto auto max-content;
    }
}
@media (max-width: 1050px) {
    main div.home-box.layout-1 {
        grid-template-rows: minmax(44px, 1fr) auto auto auto;
        row-gap: 20px;
    }
    main div.home-box.layout-1 > h2, main div.home-box.layout-1 > h3 {
        grid-column: 4 / 13;
        grid-row: 1 / 3;
    }
    main div.home-box.layout-1 > img, main div.home-box.layout-1 > a > img, main div.home-box.layout-1 > div {
        grid-column: 1 / 10;
        grid-row: 2 / 4;
    }
    main div.home-box.layout-1 > article {
        grid-column: 1 / 10;
        grid-row: 4 / 5;
        margin: 0;
    }
}

/* Layout 2 (home) */
main div.home-box.layout-2 {
    grid-template-rows: minmax(38px, 1fr) auto auto max-content;
    row-gap: 40px;
}
main div.home-box.layout-2 > h2, main div.home-box.layout-2 > h3 {
    grid-column: 1 / 13;
    grid-row: 1 / 3;
}
main div.home-box.layout-2 > img, main div.home-box.layout-2 > a > img {
    grid-column: 3 / 9;
    grid-row: 2 / 4;
}
main div.home-box.layout-2 > article {
    font: 400 16px/1.6 var(--font);
    grid-column: 7 / 13;
    grid-row: 3 / 5;
    margin: 0 0 auto 70px;
}
main div.home-box.layout-2 > article a.button {
    font: 400 16px/1.6 var(--font);
}
@media (max-width: 1300px) {
    main div.home-box.layout-2 > article {
        margin: -30px 0 auto 70px;
    }
}
@media (max-width: 1250px) {
    main div.home-box.layout-2 {
        grid-template-rows: minmax(22px, 1fr) auto auto max-content;
    }
}
@media (max-width: 1050px) {
    main div.home-box.layout-2 {
        grid-template-rows: minmax(44px, 1fr) auto auto auto;
        row-gap: 20px;
    }
    main div.home-box.layout-2 > h2, main div.home-box.layout-2 > h3 {
        grid-column: 1 / 10;
        grid-row: 1 / 3;
    }
    main div.home-box.layout-2 > img, main div.home-box.layout-2 > a > img, main div.home-box.layout-2 > div {
        grid-column: 4 / 13;
        grid-row: 2 / 4;
    }
    main div.home-box.layout-2 > article {
        grid-column: 4 / 13;
        grid-row: 4 / 5;
        margin: 0;
    }
}

/* Layout 3 (ueber-uns/...-menschen) */
main div.home-box.layout-3 {
    grid-template-rows: 1fr auto auto min-content auto;
    row-gap: 70px;
}
main div.home-box.layout-3 > h2, main div.home-box.layout-3 > h3 {
    grid-column: 7 / 13;
    grid-row: 1 / 3;
    text-align: right;
}
main div.home-box.layout-3 > img, main div.home-box.layout-3 > a > img, main div.home-box.layout-3 > div {
    grid-column: 2 / 8;
    grid-row: 2 / 4;
}
main div.home-box.layout-3 > article {
    grid-column: 7 / 12;
    grid-row: 3 / 5;
    margin-bottom: auto;
}
main div.home-box.layout-3 > aside {
    grid-column: 2 / 6;
    grid-row: 4 / 6;
}
@media (max-width: 1450px) {
    main div.home-box.layout-3 > h2, main div.home-box.layout-3 > h3 {
        grid-column: 6 / 13;
    }
    main div.home-box.layout-3 > img, main div.home-box.layout-3 > a > img, main div.home-box.layout-3 > div {
        grid-column: 1 / 7;
    }
    main div.home-box.layout-3 > article {
        grid-column: 6 / 12;
    }
    main div.home-box.layout-3 > aside {
        grid-column: 1 / 5;
    }
}
@media (max-width: 1200px) {
    main div.home-box.layout-3 > h2, main div.home-box.layout-3 > h3 {
        grid-column: 4 / 13;
    }
    main div.home-box.layout-3 > article {
        grid-column: 6 / 13;
    }
    main div.home-box.layout-3 > aside {
        grid-column: 1 / 6;
    }
}
@media (max-width: 1050px) {
    main div.home-box.layout-3 {
        grid-template-rows: minmax(24px, 1fr) auto auto auto auto;
        row-gap: 30px;
    }
    main div.home-box.layout-3 > h2, main div.home-box.layout-3 > h3 {
        grid-column: 4 / 13;
        grid-row: 1 / 3;
    }
    main div.home-box.layout-3 > img, main div.home-box.layout-3 > a > img, main div.home-box.layout-3 > div {
        grid-column: 1 / 10;
        grid-row: 2 / 4;
    }
    main div.home-box.layout-3 > article {
        grid-column: 1 / 10;
        grid-row: 4 / 5;
    }
    main div.home-box.layout-3 > aside {
        grid-column: 1 / 10;
        grid-row: 5 / 6;
    }
}

/* Layout 4 (ueber-uns/...-menschen) */
main div.home-box.layout-4 {
    grid-template-rows: 1fr auto auto min-content auto;
    row-gap: 70px;
}
main div.home-box.layout-4 > h2, main div.home-box.layout-4 > h3 {
    grid-column: 1 / 7;
    grid-row: 1 / 3;
}
main div.home-box.layout-4 > img, main div.home-box.layout-4 > a > img, main div.home-box.layout-4 > div {
    grid-column: 6 / 12;
    grid-row: 2 / 4;
}
main div.home-box.layout-4 > article {
    grid-column: 2 / 7;
    grid-row: 3 / 5;
    margin-bottom: auto;
}
main div.home-box.layout-4 > aside {
    grid-column: 8 / 12;
    grid-row: 4 / 6;
}
@media (max-width: 1450px) {
    main div.home-box.layout-4 > h2, main div.home-box.layout-4 > h3 {
        grid-column: 1 / 8;
    }
    main div.home-box.layout-4 > img, main div.home-box.layout-4 > a > img, main div.home-box.layout-4 > div {
        grid-column: 7 / 13;
    }
    main div.home-box.layout-4 > article {
        grid-column: 2 / 8;
    }
    main div.home-box.layout-4 > aside {
        grid-column: 9 / 13;
    }
}
@media (max-width: 1200px) {
    main div.home-box.layout-4 > h2, main div.home-box.layout-4 > h3 {
        grid-column: 1 / 10;
    }
    main div.home-box.layout-4 > article {
        grid-column: 1 / 8;
    }
    main div.home-box.layout-4 > aside {
        grid-column: 8 / 13;
    }
}
@media (max-width: 1050px) {
    main div.home-box.layout-4 {
        grid-template-rows: minmax(24px, 1fr) auto auto auto auto;
        row-gap: 30px;
    }
    main div.home-box.layout-4 > h2, main div.home-box.layout-4 > h3 {
        grid-column: 1 / 10;
        grid-row: 1 / 3;
    }
    main div.home-box.layout-4 > img, main div.home-box.layout-4 > a > img, main div.home-box.layout-4 > div {
        grid-column: 4 / 13;
        grid-row: 2 / 4;
    }
    main div.home-box.layout-4 > article {
        grid-column: 4 / 13;
        grid-row: 4 / 5;
    }
    main div.home-box.layout-4 > aside {
        grid-column: 4 / 13;
        grid-row: 5 / 6;
    }
}

/* Layout 5 (angebote/hilfe) */
main div.home-box.layout-5 {
    grid-template-rows: minmax(38px, 1fr) auto auto max-content;
    row-gap: 40px;
}
main div.home-box.layout-5 > h2, main div.home-box.layout-5 > h3 {
    grid-column: 1 / 13;
    grid-row: 1 / 3;
}
main div.home-box.layout-5 > img, main div.home-box.layout-5 > a > img {
    grid-column: 3 / 9;
    grid-row: 2 / 4;
}
main div.home-box.layout-5 > article {
    grid-column: 7 / 13;
    grid-row: 3 / 5;
    margin: 100px 0 auto 0;
}
@media (max-width: 1450px) {
    main div.home-box.layout-5 {
        grid-template-rows: 1fr auto auto max-content;
    }
    main div.home-box.layout-5 > h2, main div.home-box.layout-5 > h3 {
        grid-column: 1 / 13;
        grid-row: 1;
    }
    main div.home-box.layout-5 > img, main div.home-box.layout-5 > a > img {
        grid-column: 1 / 8;
    }
}
@media (max-width: 1050px) {
    main div.home-box.layout-5 {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
    }
    main div.home-box.layout-5 > h2, main div.home-box.layout-5 > h3 {
        grid-column: 1;
        grid-row: 1;
    }
    main div.home-box.layout-5 > img, main div.home-box.layout-5 > a > img {
        grid-column: 1;
        grid-row: 2;
    }
    main div.home-box.layout-5 > article {
        grid-column: 1;
        grid-row: 3;
        margin: 0;
    }
    main div.home-box.layout-5 > h2 br, main div.home-box.layout-5 > h3 br {
        display: none;
    }
}

/* Layout 6 (ueber-uns/taetigkeitsfelder/schulen) */
main div.home-box.layout-6 {
    grid-template-rows: 1fr auto auto min-content auto;
    row-gap: 70px;
}
main div.home-box.layout-6 > h2, main div.home-box.layout-6 > h3 {
    grid-column: 1 / 13;
    grid-row: 1 / 3;
    text-align: right;
}
main div.home-box.layout-6 > img, main div.home-box.layout-6 > a > img, main div.home-box.layout-6 > div {
    grid-column: 2 / 8;
    grid-row: 2 / 4;
}
main div.home-box.layout-6 > article {
    grid-column: 7 / 12;
    grid-row: 3 / 5;
    margin-bottom: auto;
}
@media (max-width: 1450px) {
    main div.home-box.layout-6 > img, main div.home-box.layout-6 > a > img, main div.home-box.layout-6 > div {
        grid-column: 1 / 7;
    }
    main div.home-box.layout-6 > article {
        grid-column: 6 / 12;
    }
    main div.home-box.layout-6 > aside {
        grid-column: 1 / 5;
    }
}
@media (max-width: 1200px) {
    main div.home-box.layout-6 > article {
        grid-column: 6 / 13;
    }
    main div.home-box.layout-6 > aside {
        grid-column: 1 / 6;
    }
}
@media (max-width: 1050px) {
    main div.home-box.layout-6 {
        grid-template-rows: 1fr auto auto auto auto;
        row-gap: 30px;
    }
    main div.home-box.layout-6 > h2, main div.home-box.layout-6 > h3 {
        grid-column: 1 / 13;
        grid-row: 1 / 3;
    }
    main div.home-box.layout-6 > img, main div.home-box.layout-6 > a > img, main div.home-box.layout-6 > div {
        grid-column: 1 / 10;
        grid-row: 2 / 4;
    }
    main div.home-box.layout-6 > article {
        grid-column: 1 / 10;
        grid-row: 4 / 5;
    }
    main div.home-box.layout-6 > aside {
        grid-column: 1 / 10;
        grid-row: 5 / 6;
    }
}

/* Layout 7 (ueber-uns/taetigkeitsfelder) */
main div.home-box.layout-7 {
    grid-template-rows: minmax(9px, 1fr) auto auto min-content auto;
    row-gap: 70px;
}
main div.home-box.layout-7 > h2, main div.home-box.layout-7 > h3 {
    grid-column: 1 / 13;
    grid-row: 1 / 3;
    text-align: right;
}
main div.home-box.layout-7 > img, main div.home-box.layout-7 > a > img, main div.home-box.layout-7 > div {
    grid-column: 2 / 9;
    grid-row: 2 / 4;
}
main div.home-box.layout-7 > article {
    grid-column: 7 / 12;
    grid-row: 3 / 5;
    margin-bottom: auto;
}
main div.home-box.layout-7 > aside {
    grid-column: 2 / 7;
    grid-row: 4 / 6;
}
@media (max-width: 1450px) {
    main div.home-box.layout-7 > img, main div.home-box.layout-7 > a > img, main div.home-box.layout-7 > div {
        grid-column: 1 / 9;
    }
    main div.home-box.layout-7 > article {
        grid-column: 7 / 12;
    }
    main div.home-box.layout-7 > aside {
        grid-column: 1 / 7;
    }
}
@media (max-width: 1250px) {
    main div.home-box.layout-7 {
        grid-template-rows: minmax(12px, 1fr) auto auto auto;
        row-gap: 50px;
    }
}
@media (max-width: 1200px) {
    main div.home-box.layout-7 > article {
        grid-column: 6 / 13;
    }
    main div.home-box.layout-7 > aside {
        grid-column: 1 / 6;
    }
}
@media (max-width: 1050px) {
    main div.home-box.layout-7 {
        grid-template-rows: minmax(35px, 1fr) auto auto auto auto;
        row-gap: 30px;
    }
    main div.home-box.layout-7 > img, main div.home-box.layout-7 > a > img, main div.home-box.layout-7 > div {
        grid-column: 1 / 10;
        grid-row: 2 / 4;
    }
    main div.home-box.layout-7 > article {
        grid-column: 1 / 10;
        grid-row: 4 / 5;
    }
    main div.home-box.layout-7 > aside {
        grid-column: 1 / 10;
        grid-row: 5 / 6;
    }
}
@media (max-width: 850px) {
    main div.home-box.layout-7 > h2 br, main div.home-box.layout-7 > h3 br {
        display: none;
    }
}
@media (max-width: 600px) {
    main div.home-box.layout-7 > h2, main div.home-box.layout-7 > h3 {
        hyphens: auto;
        -webkit-hyphens: auto;
        -moz-hyphens: auto;
        -ms-hyphens: auto;
    }
}

/* Layout 8 (ueber-uns/taetigkeitsfelder) */
main div.home-box.layout-8 {
    grid-template-rows: minmax(9px, 1fr) auto auto min-content auto;
    row-gap: 70px;
}
main div.home-box.layout-8 > h2, main div.home-box.layout-8 > h3 {
    grid-column: 1 / 13;
    grid-row: 1 / 3;
}
main div.home-box.layout-8 > img, main div.home-box.layout-8 > a > img, main div.home-box.layout-8 > div {
    grid-column: 5 / 12;
    grid-row: 2 / 4;
}
main div.home-box.layout-8 > article {
    grid-column: 2 / 7;
    grid-row: 3 / 5;
    margin-bottom: auto;
}
main div.home-box.layout-8 > aside {
    grid-column: 7 / 12;
    grid-row: 4 / 6;
}
@media (max-width: 1450px) {
    main div.home-box.layout-8 > img, main div.home-box.layout-8 > a > img, main div.home-box.layout-8 > div {
        grid-column: 5 / 13;
    }
    main div.home-box.layout-8 > article {
        grid-column: 2 / 7;
    }
    main div.home-box.layout-8 > aside {
        grid-column: 7 / 13;
    }
}
@media (max-width: 1250px) {
    main div.home-box.layout-8 {
        grid-template-rows: minmax(12px, 1fr) auto auto auto;
        row-gap: 50px;
    }
}
@media (max-width: 1200px) {
    main div.home-box.layout-8 > article {
        grid-column: 1 / 8;
    }
    main div.home-box.layout-8 > aside {
        grid-column: 8 / 13;
    }
}
@media (max-width: 1050px) {
    main div.home-box.layout-8 {
        grid-template-rows: minmax(35px, 1fr) auto auto auto auto;
        row-gap: 30px;
    }
    main div.home-box.layout-8 > img, main div.home-box.layout-8 > a > img, main div.home-box.layout-8 > div {
        grid-column: 4 / 13;
        grid-row: 2 / 4;
    }
    main div.home-box.layout-8 > article {
        grid-column: 4 / 13;
        grid-row: 4 / 5;
    }
    main div.home-box.layout-8 > aside {
        grid-column: 4 / 13;
        grid-row: 5 / 6;
    }
}
@media (max-width: 850px) {
    main div.home-box.layout-8 > h2 br, main div.home-box.layout-8 > h3 br {
        display: none;
    }
}
@media (max-width: 600px) {
    main div.home-box.layout-8 > h2, main div.home-box.layout-8 > h3 {
        hyphens: auto;
        -webkit-hyphens: auto;
        -moz-hyphens: auto;
        -ms-hyphens: auto;
    }
}

/* All layouts */
@media (max-width: 850px) {
    main div.home-box.layout-1, main div.home-box.layout-2, main div.home-box.layout-5 {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3, auto);
    }
    main div.home-box.layout-3, main div.home-box.layout-4, main div.home-box.layout-6, main div.home-box.layout-7, main div.home-box.layout-8 {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, auto);
    }
    main div.home-box.layout-1 > h2, main div.home-box.layout-1 > h3,
    main div.home-box.layout-2 > h2, main div.home-box.layout-2 > h3,
    main div.home-box.layout-3 > h2, main div.home-box.layout-3 > h3,
    main div.home-box.layout-4 > h2, main div.home-box.layout-4 > h3,
    main div.home-box.layout-5 > h2, main div.home-box.layout-5 > h3,
    main div.home-box.layout-6 > h2, main div.home-box.layout-6 > h3,
    main div.home-box.layout-7 > h2, main div.home-box.layout-7 > h3,
    main div.home-box.layout-8 > h2, main div.home-box.layout-8 > h3 {
        font: 700 50px/0.9 var(--font);
        grid-column: 1;
        grid-row: 1;
        text-align: left;
    }
    main div.home-box.layout-1 > h2, main div.home-box.layout-1 > h3,
    main div.home-box.layout-2 > h2, main div.home-box.layout-2 > h3,
    main div.home-box.layout-3 > h2, main div.home-box.layout-3 > h3,
    main div.home-box.layout-4 > h2, main div.home-box.layout-4 > h3,
    main div.home-box.layout-5 > h2, main div.home-box.layout-5 > h3,
    main div.home-box.layout-6 > h2, main div.home-box.layout-6 > h3 {
        hyphens: auto;
        -webkit-hyphens: auto;
        -moz-hyphens: auto;
        -ms-hyphens: auto;
    }
    main div.home-box.layout-1 > img, main div.home-box.layout-1 > a > img, main div.home-box.layout-1 > div,
    main div.home-box.layout-2 > img, main div.home-box.layout-2 > a > img, main div.home-box.layout-2 > div,
    main div.home-box.layout-3 > img, main div.home-box.layout-3 > a > img, main div.home-box.layout-3 > div,
    main div.home-box.layout-4 > img, main div.home-box.layout-4 > a > img, main div.home-box.layout-4 > div,
    main div.home-box.layout-5 > img, main div.home-box.layout-5 > a > img, main div.home-box.layout-5 > div,
    main div.home-box.layout-6 > img, main div.home-box.layout-6 > a > img, main div.home-box.layout-6 > div,
    main div.home-box.layout-7 > img, main div.home-box.layout-7 > a > img, main div.home-box.layout-7 > div,
    main div.home-box.layout-8 > img, main div.home-box.layout-8 > a > img, main div.home-box.layout-8 > div {
        grid-column: 1;
        grid-row: 2;
    }
    main div.home-box.layout-1 > article, main div.home-box.layout-2 > article,
    main div.home-box.layout-3 > article, main div.home-box.layout-4 > article,
    main div.home-box.layout-5 > article, main div.home-box.layout-6 > article,
    main div.home-box.layout-7 > article, main div.home-box.layout-8 > article {
        grid-column: 1;
        grid-row: 3;
    }
    main div.home-box.layout-3 > aside, main div.home-box.layout-4 > aside,
    main div.home-box.layout-7 > aside, main div.home-box.layout-8 > aside {
        grid-column: 1;
        grid-row: 4;
    }
}


/**** Glauben list ****/

main div.glauben-list {
    overflow: hidden;
    padding-bottom: 150px;
    --inset-space: 150px;
}
main div.glauben-list > article {
    column-gap: 30px;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto 60px auto;
    margin-bottom: calc(var(--inset-space) * -1);
}
main div.glauben-list > article > img {
    grid-column: 2 / 5;
    grid-row: 1 / 3;
}
main div.glauben-list > article > p {
    background-color: var(--color-blue-light);
    border-radius: 7px;
    font: 500 23px/37px var(--font);
    grid-column: 3 / 7;
    grid-row: 2 / 4;
    margin: 0;
    padding: 15px 25px;
}
main div.glauben-list > article:nth-child(even) > img {
    grid-column: 9 / 12;
}
main div.glauben-list > article:nth-child(even) > p {
    grid-column: 7 / 11;
}
@media (max-width: 1400px) {
    main div.glauben-list > article > img {
        grid-column: 2 / 6;
    }
    main div.glauben-list > article > p {
        font: 500 25px/1.2 var(--font);
        grid-column: 3 / 7;
    }
    main div.glauben-list > article:nth-child(even) > img {
        grid-column: 8 / 12;
    }
    main div.glauben-list > article:nth-child(even) > p {
        grid-column: 7 / 11;
    }
}
@media (max-width: 1200px) {
    main div.glauben-list > article {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto auto;
    }
    main div.glauben-list > article > img {
        grid-column: 1;
        grid-row: 1;
    }
    main div.glauben-list > article > p {
        grid-column: 1;
        grid-row: 2;
    }
    main div.glauben-list > article:nth-child(even) > img {
        grid-column: 2;
        grid-row: 1;
    }
    main div.glauben-list > article:nth-child(even) > p {
        grid-column: 2;
        grid-row: 2;
    }
}
@media (max-width: 800px) {
    main div.glauben-list {
        padding: 0;
    }
    main div.glauben-list > article {
        display: block;
        margin: 0;
    }
}


/**** Tabs ****/

tab-list > ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    list-style: none;
    gap: 20px;
    margin: 0 0 60px 0;
    padding: 0;
}
tab-list > ul > li {
    border-radius: 21px;
    border: 2px solid var(--color-gray-dark);
    color: var(--color-gray-dark);
    cursor: pointer;
    display: inline-block;
    flex: 1;
    font: 400 20px/1.4 var(--font);
    line-height: 16px;
    padding: 11px 18px 11px 18px;
    text-align: center;
}
tab-list > ul > li:hover {
    background-color: var(--color-gray-dark);
    color: #fff;
}
tab-list > ul > li.active {
    background-color: var(--color-gray-dark);
    color: #fff;
}
tab-list > tab-item {
    display: none;
}
tab-list > tab-item[open] {
    display: block;
}
@media (max-width: 800px) {
    tab-list > ul {
        flex-direction: column;
        gap: 0;
    }
    tab-list > ul > li {
        flex: 0;
        margin-bottom: 20px;
    }
}


/**** Icons ****/

.icon.icon-arrow-big {
    background-color: var(--color-orange);
    display: inline-block;
    height: 40px;
    mask: url(/images/arrow_big__m.svg) no-repeat center center;
    -webkit-mask: url(/images/arrow_big__m.svg) no-repeat center center;
    mask-size: contain;
    -webkit-mask-size: contain;
    vertical-align: middle;
    width: 50px;
}
.icon.icon-arrow-big.currentcolor {
    background-color: currentColor;
}
.icon.icon-pdf {
    background-color: var(--color-blue-medium);
    display: block;
    height: 100px;
    margin-bottom: 5px;
    mask: url(/images/icon_pdf__m.svg) no-repeat center center;
    -webkit-mask: url(/images/icon_pdf__m.svg) no-repeat center center;
    mask-size: contain;
    -webkit-mask-size: contain;
    width: 75px;
}
.icon.icon-file {
    background-color: var(--color-blue-medium);
    display: block;
    height: 100px;
    margin-bottom: 5px;
    mask: url(/images/icon_file__m.svg) no-repeat center center;
    -webkit-mask: url(/images/icon_file__m.svg) no-repeat center center;
    mask-size: contain;
    -webkit-mask-size: contain;
    width: 75px;
}

.square-icon {
    display: block;
    position: relative;
    --url-hover: var(--url);
}
.square-icon::before {
    background: var(--url) center center no-repeat;
    background-size: contain;
    content: "";
    display: block;
    height: 100%;
    opacity: 1;
    position: absolute;
    transition: opacity .3s ease;
    width: 100%;
}
.square-icon:not(.has-target):hover::before, .hover-target:hover .square-icon::before {
    opacity: 0;
}
.square-icon::after {
    background: var(--url-hover) center center no-repeat;
    background-size: contain;
    content: "";
    display: block;
    height: 100%;
    opacity: 0;
    padding-bottom: 100%;
    transition: opacity .3s ease;
    width: 100%;
}
.square-icon:not(.has-target):hover::after, .hover-target:hover .square-icon::after {
    opacity: 1;
}

a.link-arrow::after {
    background-color: var(--color-orange);
    content: "";
    display: inline-block;
    width: 20px;
    height: 16px;
    mask: url(/images/arrow_small__m.svg) no-repeat center center;
    -webkit-mask: url(/images/arrow_small__m.svg) no-repeat center center;
    mask-size: contain;
    -webkit-mask-size: contain;
    margin-left: 10px;
    vertical-align: -2px;
}
a.link-popout::after {
    background-color: var(--color-orange);
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    mask: url(/images/popout__m.svg) no-repeat center center;
    -webkit-mask: url(/images/popout__m.svg) no-repeat center center;
    mask-size: contain;
    -webkit-mask-size: contain;
    margin-left: 10px;
    vertical-align: -2px;
}

/**** Files ****/

div.file-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: auto;
    gap: 30px;
}
div.file-container {
    background-color: var(--color-gray-light);
    border-radius: 7px;
    padding: 20px;
    text-align: center;
}
div.file-container img, div.file-container a.icon {
    margin: 0 auto 20px auto;
}
div.file-container a {
    color: var(--color-orange);
}
div.file-container a:hover {
    text-decoration: underline;
}
@media (max-width: 1000px) {
    div.file-list {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 500px) {
    div.file-list {
        grid-template-columns: 1fr;
    }
}


/**** Bottom 2-col box ****/

aside.bottom {
    background-color: var(--color-gray-medium);
    color: #fff;
    display: flex;
}
aside.bottom > div {
    flex: 1;
    padding: 60px;
    min-width: 0;
    min-height: 500px;
}
aside.bottom > div:first-child {
    padding-left: calc(100vw / 2 - 700px);
}
aside.bottom > div:last-child {
    padding-right: calc(100vw / 2 - 700px);
}
aside.bottom > div > strong {
    display: block;
    font: 700 50px/1.1 var(--font);
    hyphens: none;
    -webkit-hyphens: none;
    -moz-hyphens: none;
    -ms-hyphens: none;
    margin-bottom: 30px;
}
aside.bottom .bg-gottesdienst {
    background-image: url(/images/bg_gottesdienst.jpg);
    background-position: center center;
    background-size: cover;
}
@media (max-width: 1520px) {
    /* specificity hack */
    aside.bottom > div:first-child, aside.bottom > div:last-child {
        padding: 40px 60px;
    }
}
@media (max-width: 1500px) {
    aside.bottom > div {
        min-height: 400px;
    }
}
@media (max-width: 1250px) {
    aside.bottom > div {
        min-height: 300px;
    }
}
@media (max-width: 1000px) {
    aside.bottom {
        display: block;
    }
    aside.bottom > div {
        min-height: 0;
    }
    aside.bottom > div:first-child, aside.bottom > div:last-child {
        padding: 60px;
    }
}
@media (max-width: 1000px) {
    aside.bottom > div:first-child, aside.bottom > div:last-child {
        padding: 40px;
    }
}
@media (max-width: 600px) {
    /* specificity hack */
    aside.bottom > div:first-child, aside.bottom > div:last-child {
        padding: 30px;
    }
    aside.bottom > div > strong {
        font-size: 50px;
    }
}
@media (max-width: 470px) {
    aside.bottom > div:first-child, aside.bottom > div:last-child {
        padding: 20px 15px;
    }
    aside.bottom > div > strong {
        hyphens: auto;
        -webkit-hyphens: auto;
        -moz-hyphens: auto;
        -ms-hyphens: auto;
    }
}
aside.bottom p {
    color: #fff;
    margin: 0;
}
aside.bottom p.dim {
    color: var(--color-blue-light);
    font: 400 16px/20px var(--font);
}
aside.bottom p a {
    color: #fff;
    text-decoration: none;
}
aside.bottom p a:hover {
    text-decoration: underline;
}
aside.bottom form {
    margin: 20px 0 10px 0;
}


/**** Col layouts ****/

div.col-layout {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-right: -30px;
}
div.col-layout > div {
    margin-right: 30px;
}
div.col-layout > div.col-1 {
    flex: 1 1 0;
    min-width: 0;
}
div.col-layout > div.col-2 {
    flex: 2 1 0;
    min-width: 0;
}
div.col-layout > div.col-3 {
    flex: 3 1 0;
    min-width: 0;
}
div.col-layout > div.col-4 {
    flex: 4 1 0;
    min-width: 0;
}
div.col-layout > div.col-5 {
    flex: 5 1 0;
    min-width: 0;
}
div.col-layout > div.col-6 {
    flex: 6 1 0;
    min-width: 0;
}
div.col-layout > div.col-7 {
    flex: 7 1 0;
    min-width: 0;
}
div.col-layout > div.break-w1200 {
    margin: none;
}
div.col-layout > div.break-w800 {
    margin: none;
}
div.col-layout > div.break-w600 {
    margin: none;
}
div.col-layout > div.break-w500 {
    margin: none;
}
div.col-layout > div.padding-top {
    padding-top: 300px;
}
@media (max-width: 1200px) {
    div.col-layout.col-break-w1200 {
        display: block;
    }
    div.col-layout.col-break-w1200 > div {
        margin-bottom: 20px;
    }
    div.col-layout > div.col-1-w1200 {
        flex: 1 1 0;
        min-width: 0;
    }
    div.col-layout > div.col-2-w1200 {
        flex: 2 1 0;
        min-width: 0;
    }
    div.col-layout > div.col-3-w1200 {
        flex: 3 1 0;
        min-width: 0;
    }
    div.col-layout > div.col-4-w1200 {
        flex: 4 1 0;
        min-width: 0;
    }
    div.col-layout > div.col-5-w1200 {
        flex: 5 1 0;
        min-width: 0;
    }
    div.col-layout > div.col-6-w1200 {
        flex: 6 1 0;
        min-width: 0;
    }
    div.col-layout > div.col-7-w1200 {
        flex: 7 1 0;
        min-width: 0;
    }
    div.col-layout > div.break-w1200 {
        flex-basis: 100%;
    }
    div.col-layout.col-break-w1200 > div.padding-top {
        padding-top: 0;
    }
}
@media (max-width: 1000px) {
    div.col-layout.col-break-w1000 {
        display: block;
    }
    div.col-layout.col-break-w1000 > div {
        margin-bottom: 20px;
    }
    div.col-layout.col-break-w1000 > div.padding-top {
        padding-top: 0;
    }
}
@media (max-width: 800px) {
    div.col-layout.col-break-w800 {
        display: block;
    }
    div.col-layout.col-break-w800 > div {
        margin-bottom: 20px;
    }
    div.col-layout > div.break-w800 {
        flex-basis: 100%;
    }
    div.col-layout.col-break-w800 > div.padding-top {
        padding-top: 0;
    }
}
@media (max-width: 700px) {
    div.col-layout.col-break-w700 {
        display: block;
    }
    div.col-layout.col-break-w700 > div {
        margin-bottom: 20px;
    }
    div.col-layout.col-break-w700 > div.padding-top {
        padding-top: 0;
    }
}
@media (max-width: 600px) {
    div.col-layout.col-break-w600 {
        display: block;
    }
    div.col-layout.col-break-w600 > div {
        margin-bottom: 20px;
    }
    div.col-layout > div.break-w600 {
        flex-basis: 100%;
    }
    div.col-layout.col-break-w600 > div.padding-top {
        padding-top: 0;
    }
}
@media (max-width: 500px) {
    div.col-layout.col-break-w500 {
        display: block;
    }
    div.col-layout.col-break-w500 > div {
        margin-bottom: 20px;
    }
    div.col-layout > div.break-w500 {
        flex-basis: 100%;
    }
    div.col-layout.col-break-w500 > div.padding-top {
        padding-top: 0;
    }
}
.width-80 {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}
.width-70 {
    width: 70%;
    margin-left: auto;
    margin-right: auto;
}
.width-60 {
    width: 60%;
    margin-left: auto;
    margin-right: auto;
}
.width-50 {
    width: 50%;
    margin-left: auto;
    margin-right: auto;
}
@media (max-width: 1400px) {
    .width-80 {
        width: 100%;
    }
    .width-70 {
        width: 80%;
    }
    .width-50 {
        width: 60%;
    }
}
@media (max-width: 1200px) {
    .width-70 {
        width: 90%;
    }
    .width-50 {
        width: 90%;
    }
}
@media (max-width: 1000px) {
    .width-100-w1000 {
        width: 100%;
    }
    .width-60 {
        width: 100%;
    }
}
@media (max-width: 700px) {
    .width-70 {
        width: 100%;
    }
    .width-50 {
        width: 100%;
    }
}
.max-width-700 {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
div.col-layout.col-list {
    justify-content: center;
    margin: 0;
}
div.col-layout.col-list > div {
    margin: 0 30px 30px 0;
    width: calc((100% + 30px) / 4 - 30px);
}
div.col-layout.col-list > div:last-child, div.col-layout.col-list > div:nth-child(4n) {
    margin-right: 0;
}
@media (max-width: 1200px) {
    div.col-layout.col-list > div {
        width: calc((100% + 30px) / 3 - 30px);
    }
    div.col-layout.col-list > div:nth-child(4n) {
        margin-right: 30px;
    }
    div.col-layout.col-list > div:last-child, div.col-layout.col-list > div:nth-child(3n) {
        margin-right: 0;
    }
}
@media (max-width: 900px) {
    div.col-layout.col-list > div {
        width: calc((100% + 30px) / 2 - 30px);
    }
    div.col-layout.col-list > div:nth-child(3n) {
        margin-right: 30px;
    }
    div.col-layout.col-list > div:last-child, div.col-layout.col-list > div:nth-child(2n) {
        margin-right: 0;
    }
}
@media (max-width: 600px) {
    div.col-layout.col-list > div {
        width: 100%;
        margin: 0 0 30px 0 !important;
    }
}


/**** Grid list ****/

div.grid-list {
    justify-content: space-evenly;
    display: grid;
    grid-auto-rows: auto;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
@media (max-width: 700px) {
    div.grid-list {
        grid-template-columns: 1fr;
    }
}


/**** Iframe ****/

.iframe {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    display: block;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    padding-bottom: 56.25%;
    position: relative;
    width: 1920px;
}
.iframe > iframe {
    border: 0;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}
.iframe > div {
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 14px;
    left: 0;
    padding: 20px;
    position: absolute;
    text-align: center;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
}
.iframe > div > p {
    font-size: 14px;
    margin: 0;
}
.iframe > div > a::before {
    background: rgba(0, 0, 0, 0.6) url(/images/icon_play.svg) center center no-repeat;
    background-size: 30px 30px;
    border-radius: 10px;
    color: #fff;
    content: "";
    display: block;
    height: 60px;
    margin: 10px auto;
    transition: background-color 0.1s linear;
    width: 100px;
}
.iframe > div > a:hover::before {
    background-color: #cc181e;
}


/**** Forms ****/

.email-form {
    display: flex;
}
.email-form > input {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: #fff;
    border: none;
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
    color: var(--color-gray-dark);
    display: block;
    flex: 1;
    font: 400 16px/22px var(--font);
    margin: 0;
    min-width: 0;
    outline: none;
    padding: 10px 20px;
    width: auto;
}
.email-form > input::placeholder {
    color: var(--color-gray-dim);
}
.email-form > button {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: #fff;
    border: none;
    border-radius: 0;
    border-bottom-right-radius: 4px;
    border-top-right-radius: 4px;
    cursor: pointer;
    display: block;
    margin: 0;
    outline: none;
    padding: 0;
    text-align: center;
    width: 60px;
}
.email-form > button::after {
    background-color: var(--color-orange);
    content: "";
    display: inline-block;
    height: 15px;
    mask: url(/images/arrow_small__m.svg) no-repeat center center;
    -webkit-mask: url(/images/arrow_small__m.svg) no-repeat center center;
    mask-size: contain;
    -webkit-mask-size: contain;
    margin-left: 0;
    width: 30px;
}

label[for], label.radio {
    display: block;
    font: 400 18px/24px var(--font);
    margin-bottom: 5px;
}
input, textarea {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: var(--color-gray-light);
    border: none;
    border-radius: 4px;
    color: var(--color-gray-dark);
    display: block;
    font: 400 20px/20px var(--font);
    margin: 0;
    min-width: 0;
    outline: none;
    padding: 12px 20px;
    width: 100%;
}
input::placeholder, textarea::placeholder {
    color: var(--color-gray-dim);
}
input.w_50p {
    width: calc(50% - 15px);
}
input[type="number"] {
    -moz-appearance: textfield;
}
input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
textarea {
    line-height: 1.2;
    min-height: 200px;
    resize: none;
}
@media (max-width: 2000px) {
    label[for], label.radio {
        font: 400 16px/20px var(--font);
        margin-bottom: 3px;
    }
}

input[type="checkbox"] {
    background-color: transparent;
    border: 2px solid var(--color-gray-dim);
    display: inline-block;
    height: 24px;
    margin: 0 5px 0 0;
    padding: 0;
    width: 24px;
    vertical-align: -6px;
}
input[type="checkbox"]:checked {
    background-color: var(--color-orange);
    border: 2px solid var(--color-orange);
}
input[type="checkbox"]:checked::after {
    border: 2px solid #fff;
    border-top: none;
    border-right: none;
    content: "";
    display: block;
    height: 9px;
    left: 2px;
    position: relative;
    top: 3px;
    transform: rotate(-45deg);
    width: 16px;
}

label.radio {
    margin-top: 7px;
    margin-bottom: 7px;
}
input[type="radio"] {
    background-color: transparent;
    border: 2px solid var(--color-gray-dim);
    border-radius: 50%;
    display: inline-block;
    height: 24px;
    margin: 0 5px 0 0;
    padding: 0;
    width: 24px;
    vertical-align: -6px;
}
input[type="radio"]:checked {
    background-color: var(--color-orange);
    border: 2px solid var(--color-orange);
}
input[type="radio"]:checked::after {
    background-color: #fff;
    border-top: none;
    border-right: none;
    border-radius: 50%;
    content: "";
    display: block;
    height: 10px;
    left: 5px;
    position: relative;
    top: 5px;
    width: 10px;
}

form a {
    color: var(--color-orange);
}

.form-name {
    /* bye bye spam bots */
    display: none;
}


/**** Overlay ****/

.overlay {
    bottom: 0;
    display: none;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 200;
}
.overlay > .backdrop {
    background-color: rgba(0, 0, 0, 0.5);
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}
.overlay > .content {
    background-color: #fff;
    border-radius: 7px;
    left: 50%;
    max-height: calc(100% - 60px);
    max-width: calc(100% - 60px);
    overflow: auto;
    position: absolute;
    padding: 30px;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
}
.overlay.large > .content {
    width: 1000px;
}
.overlay > .content > .closer {
    cursor: pointer;
    font: 400 20px/30px var(--font);
    height: 30px;
    position: absolute;
    right: 20px;
    top: 20px;
    text-align: center;
    width: 30px;
}


/**** Footer ****/

section.footer {
    background-color: var(--color-gray-dark);
    color: var(--color-gray-light);
    font: 400 14px/20px var(--font);
    padding: 50px 0;
    position: relative;
    z-index: 90;
}
section.footer p {
    margin: 0;
    padding: 0;
}

section.footer strong {
    display: block;
    color: var(--color-gray-dim);
    font-weight: 700;
    margin-bottom: 5px;
}
section.footer p.dim {
    color: var(--color-gray-dim);
}
section.footer a {
    color: var(--color-gray-light);
    text-decoration: none;
}
section.footer a:hover {
    text-decoration: underline;
}

section.footer form {
    margin: 10px 0 5px 0;
}
section.footer form > input {
    background: var(--color-gray-medium);
    color: var(--color-gray-light);
}
section.footer form > button {
    background: var(--color-gray-medium);
}

section.footer p.socialmedia-footer > a {
    display: inline-block;
    height: 27px;
    margin-right: 7px;
    width: 27px;
}
section.footer p.socialmedia-footer > a > img {
    display: block;
    height: 27px;
    width: 27px;
}

footer {
    background-color: var(--color-gray-medium);
    color: var(--color-gray-light);
    font: 400 14px/20px var(--font);
    overflow: hidden;
    padding: 25px 0;
    position: relative;
    z-index: 91;
}
footer p {
    float: left;
    margin: 0;
    padding: 0;
}
footer p.right {
    float: right;
}
footer a {
    color: var(--color-gray-light);
    text-decoration: none;
    margin-left: 10px;
}
footer a:hover {
    text-decoration: underline;
}
@media (max-width: 800px) {
    footer p {
        float: none;
        text-align: center;
    }
    footer p.right {
        float: none;
    }
    footer a {
        margin-left: 0;
    }
}

