/*Base
---------------------------------------------------------*/

* {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    *behavior: url(boxsizing.htc);
    color: #1a171b;
    outline: none;
}


html {
    font-size: 0.875em;
    line-height: 1.3em;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

h2 {
    color: #282A35;
}

h1, h2, h3, p {
    font-weight: normal;
    margin: 0 0 10px;
    padding: 0;
}

h1, h2, h3, ul li {
    line-height: 1.3em;
}

h1, h2, .h1, .h2 {
    font-size: 25px;
}

.header-breadcrumb i {
    font-size: 0.8em;
    color: #31B5DF !important;
}
.header-breadcrumb a:hover {
    color: #31B5DF !important;
    text-decoration: unset;
}

h3, .h3 {
    font-size: 15px;
}

a {
    text-decoration: unset;
    color: #0064ad;
}
a:hover {
    text-decoration: underline;
}

p, span {
    line-height: 1.6em;
}

ul {
    margin: 0 0 10px;
    padding: 0;
    padding-right: 15px;
    list-style-type: none;
}
ul li{
    font-weight: 500;
    margin: 0 0 10px;
    padding: 0 0 0 25px;
    position: relative;
}
ul li:after{
    content: '\f00c';
    font-family: "FontAwesome";
    font-style: normal;
    font-weight: 300;
    color: #0064ad;
    position: absolute;
    left: 5px;
    top: 0;
    font-size: 1.1em;
}

/**** ROW ****/
.row {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 0;
}

.col-1, .col-2, .col-3, .col-4, .col-5, .col-6,
.col-7, .col-8, .col-9, .col-10, .col-11, .col-12 {
    grid-column: span 12;
    padding: 0 10px;
}
.margin-bottom {
    margin-bottom: 20px;
}
.margin-bottom-small {
    margin-bottom: 5px;
}
button, a.button, input.action{
    display: inline-block;
    text-decoration: unset;
    padding: 10px 15px;
    border: 1px solid #31B5DF;
    background-color: #fff;
    border-radius: 5px;
    font-size: 1em;
    line-height: 1.4em;
    font-weight: 400;
    cursor: pointer;
}
button:hover, a.button:hover, input.action:hover {
    border-color: #fff;
    background-color: #31B5DF;
    color: #fff;
}

.break-words {
    word-break: break-word;
    overflow-wrap: anywhere;
    white-space: normal;
    overflow: hidden;
}

/**** NAVIGATION ****/
/*OffCanvas Layout
---------------------------------------------------------*/
#responsive-menu{
    display: inline-block;
    cursor: pointer;
    z-index: 2;
    position: absolute;
    top: 10px;
    left: 10px;
}
#responsive-menu span:nth-child(1),
#responsive-menu span:nth-child(2),
#responsive-menu span:nth-child(3){
    width: 35px;
    height: 5px;
    background-color: #fff;
    margin: 6px 0;
    transition: 0.4s;
    display: block;
}
#responsive-menu.active span:nth-child(1){
    -webkit-transform: rotate(-45deg) translate(-9px, 6px) ;
    transform: rotate(-45deg) translate(-9px, 6px) ;
}
#responsive-menu.active span:nth-child(2){opacity: 0;}
#responsive-menu.active span:nth-child(3){
    -webkit-transform: rotate(45deg) translate(-8px, -8px) ;
    transform: rotate(45deg) translate(-8px, -8px) ;
}

#canvas-container{
    left: 0;
    width: 100%;
    position: relative;
    -webkit-transition: left .5s ease-in-out;
    transition: left .5s ease-in-out;
}
#canvas-container.movePage{
    left: 80%;
    position: fixed;
}

#nav-header-container {
    width: 80%;
    height: 100%;
    position: fixed;
    left: -80%;
    top: 0;
    -webkit-transition: left .5s
    ease-in-out;
    transition: left .5s
    ease-in-out;
    background-color: rgba(0, 0, 0, 0.8);
}
#nav-header-container.oncanvas {
    left: 0;
}

nav ul, ul.pagination {
    list-style: none;
    padding: 0;
    margin: 0;
}

nav li {
    padding: 0;
    margin: 0;
    position: static;
}

nav li a {
    text-transform: uppercase;
    text-align: unset;
    padding: 15px 10px 15px 30px;
    display: block;
    text-decoration: none;
}

nav:first-child li:first-child a {
    padding-top: 30px;
}
nav:last-child li:last-child a {
    padding-bottom: 30px;
}

nav li a span {
    color: #fff;
}

nav li:after{content: ''; display: none;}
nav a:hover{text-decoration: none;}

#nav-header-container a:hover,
#nav-header-container a:hover span,
#nav-header-container .current a span {
    color: #31B5DF;
}

/**** HEADER ****/
header {
    position: relative;
    height: 300px;
    overflow: hidden;
}

header a.button {
    position: relative;
    top: 50px;
    background-color: rgba(49,181,223, 0.7);
}
header a.button:hover {
    border-color: transparent;
    background-color: rgba(49,181,223, 0.8);
}

#HomePage header {
    height: 600px;
}

header #title {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    text-shadow: 0 0 10px rgba(0,0,0,0.6);
}
header #title h1 {
    width: 100%;
    position: relative;
    left: 50%;
    transform: translate(-50%, 0);
}

#logo {
    z-index: 2;
    position: absolute;
    left: 50%;
    top: 10px;
    transform: translateX(-50%);
    width: 220px;
}

#logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/**** IMAGE ****/
.image-wrapper {
    position: relative;
    overflow: hidden;
}
.image-wrapper picture img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    object-position: center;
}
.image-wrapper.image-wrapper-animate img {
    transition: all .4s
    ease-in-out;
}
.image-wrapper.image-wrapper-animate:hover img {
    animation: zoomOnHover 1.500s forwards;
}
.image-wrapper.preview-image-wrapper {
    padding: 0;
}

.image-wrapper.preview-image-wrapper.col-1,
.image-wrapper.preview-image-wrapper.col-2,
.image-wrapper.preview-image-wrapper.col-3,
.image-wrapper.preview-image-wrapper.col-4,
.image-wrapper.preview-image-wrapper.col-5,
.image-wrapper.preview-image-wrapper.col-6,
.image-wrapper.preview-image-wrapper.col-7,
.image-wrapper.preview-image-wrapper.col-8,
.image-wrapper.preview-image-wrapper.col-9,
.image-wrapper.preview-image-wrapper.col-10,
.image-wrapper.preview-image-wrapper.col-11,
.image-wrapper.preview-image-wrapper.col-12 {
    height: 500px;
}

.preview-image-content * {
    color: #ffffff;
}

.preview-image-content {
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.6);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.image-wrapper.image-wrapper-animate .preview-image-content {
    background-color: rgba(40,40,40, 0.6);
}

.gallery .image-wrapper.image-wrapper-animate .preview-image-content {
    /*background-color: rgba(0,0,0, 0.6);*/
    /*background-color: rgba(40,40,40, 0.1);*/
}
.gallery  .image-wrapper.image-wrapper-animate:hover .preview-image-content {
    /*background-color: rgba(40,40,40, 0.6);*/
}

.gallery .image-wrapper.image-wrapper-animate.image-wrapper-display-content .preview-image-content * {
    display: none;
}
.gallery .image-wrapper.image-wrapper-animate.image-wrapper-display-content:hover .preview-image-content * {
    display: block;
}

.pswp__dynamic-caption * {color: #fff;}

@keyframes zoomOnHover {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.2);
    }
}

/**** Content ****/
.pagination {
    text-align: center;
}

/**** Content ****/
.container {
    margin: 0 auto;
    max-width: 970px;
}
.container.content-full-width {
    max-width: unset;
}
.page-section {
    padding: 20px 0 0 0;
    margin: 0 0 20px 0;
}
.page-section .page-section-background {
    background-color: #fff;
}
.page-section .page-section-background.grey-background {
    background-color: #ececec;
    padding: 20px 0;
}
.welcome-wrapper h2.welcome-title {
    font-size: 35px;
    margin-bottom: 20px;
}

/*** Feature Icon ***/
.feature-item h2, .feature-item i {
    color: #31B5DF;
}
.feature-item i {
    font-size: 2.5em;
    margin-bottom: 10px;
}
.feature-item h2 {
    font-size: 2em;
}
.col-dynamic-responsive { grid-column: span 12; }

/*** CTA ***/
#cta {
    background-color: #434343;
    text-align: center;
    padding: 20px;
}
#cta * {
    color: #fff;
}
#cta img {
    width: 100%;
    height: 100%;
    max-width: 200px;
    border-radius: 50%;
}
#cta .col-4 , #cta .col-8 {
    padding: 0;
}
.cta-title {
    font-size: 20px;
}

/*** Slider ***/
#parents {
    padding: 0 10px;
}

.slider {
    width: 270px;
    height: 150px;
    background-color: #fff;
    padding: 0 10px;
}

.slick-list {
    margin: 0 -10px 20px -10px;
}

.slick-dots {
    text-align: center;
    margin: 0;
}

.slick-dots li {
    display: inline-block;
    margin: 0 0 0 15px;
    padding: 0;
}

.slick-dots li:after {
    display: none;
}

.slick-dots button {
    border: unset;
    padding: 0;
    /*
    padding: 10px;
    border: unset;
    background-color: #31B5DF;
    border-radius: 50%;*/
    font-size: 0;
    /*
    color: transparent;*/
}

.slick-dots button:after {
    display: block;
    content: "\f111";
    font-family: "FontAwesome";
    font-style: normal;
    font-weight: 300;
    font-size: 10px;
}

.slick-dots button:hover:after, .slick-dots li.slick-active button:after {
    color: #31B5DF;
 }

.image-container {

    position: relative;
    border-style: solid;
    border-width: 5px;
    border-color: #ececec;
    position: relative;
    height: 100%;
    width: 100%;
    border-radius: 7px;
}

.slider img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


/* Forms
   ========================================================================== */

/*
fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}




button,
input,
optgroup,
select,
textarea {
    font: inherit;
    margin: 0;
    padding: 0;
}
optgroup {
    font-weight: bold;
}
button,
input {
    overflow: visible;
}
button,
select {
    text-transform: none;
}*/


/* Forms
   ========================================================================== */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}
fieldset > .field {
    margin-bottom: 30px;
}
fieldset > .field.textarea {
    margin-bottom: 20px;
}

input, textarea, select {
    border: none;
    border-bottom: 1px solid #cdcdcd;
    width: 100%;
}
input.action {
    width: auto;
}

.field {
    position: relative;
}

.field input,
.field textarea,
.field select {
    /*
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;*/
}

/* Blauer Stern */
.field.required-field label:after {
    content: "*";
    color: #007BFF;
    position: relative;
    left: 4px;
}


.field label {
    font-weight: 300;
    color: #b0b0b0;
}


.field.floating-label label {
    pointer-events: none;
    position: absolute;
    transition: 0.25s ease;
}


.field.floating-label.active label {
    top: -16px;
    font-size: 0.8em;
    width: max-content;
}

.field.floating-label.left, .field.floating-label .form-label  {
    width: 100%;
}

.field.privacy-policy {
    cursor: pointer;
}
.field.privacy-policy .privacy-policy-checkbox {
    position: absolute;
    top: 2px;
    left: 0;
    width: auto;
}

.field.privacy-policy .privacy-policy-label {
    padding-left: 20px;
    cursor: pointer;
}




/*** FOOTER ***/
footer {
    background-color: #434343;
}
footer .col-4 {
    padding-top: 20px;
    padding-bottom: 10px;
}
footer * {
    color: #fff;
}
footer li:after{content: ''; display: none;}


footer li.current a{
    text-decoration: underline;
}
.group {
    display: flex;
}
.group:nth-last-child(1) {
    margin-bottom: 0;
}

.left {
    width: 30px;
    font-weight: bold;
}
.right {
    margin-left: 10px;
}
.right span {
}

@media (min-width: 550px) {
    /**** ROW ****/
    .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9 { grid-column: span 6; }
    .col-dynamic-responsive.col-3, .col-dynamic-responsive.col-4 { grid-column: span 12; }


    .image-wrapper.preview-image-wrapper.col-3,
    .image-wrapper.preview-image-wrapper.col-4,
    .image-wrapper.preview-image-wrapper.col-6
    {
        height: 350px;
    }

    #cta {
        text-align: unset;
    }
    #cta .col-4, #cta .col-8 {
        padding: 0 10px;
    }
}

@media (min-width: 600px) {
    h1, h2, .h2 {
        font-size: 30px;
    }
    h3, .h3 {
        font-size: 20px;
    }
    .margin-bottom {
        margin-bottom: 40px;
    }
    .page-section {
        padding: 40px 0 0 0;
        margin: 0 0 40px 0;
    }
    .welcome-wrapper h2.welcome-title {
        font-size: 45px;
    }

    #logo {
        top: 20px;
    }

    header #title h1 {
        width: 50%;
    }

    /*OffCanvas Layout
	--------------------------------------------------------*/
    #responsive-menu{display: none;}
    #canvas-container.movePage{
        position: static;
        left: 0;
    }

    #logo-blocker {
        width: 220px;   /* gleiche Breite wie Logo */
        flex-shrink: 0;
        height: 100%;
    }

    #nav-header-container {
        position: absolute;
        left: 0;
        width: 100%;
        top: 0;
        height: 100%;
        background-color: unset;
        display: flex;
        align-items: flex-start;
        padding-top: 26px;
        padding-right: 13px;
    }
    #nav-header-container nav {z-index: 2;position: relative}
    #nav-left {
        display: flex;
        flex: 1;
        justify-content: flex-start;
    }
    #nav-right {
        display: flex;
        flex: 1;
        justify-content: flex-end;
    }
    #nav-header-container ul {
        display: flex;
        align-items: center;
        height: 100%;
        flex-wrap: wrap;
    }
    #nav-header-container ul a {
        white-space: nowrap;
    }

    #nav-header-container nav:first-child li:first-child a {
        padding-top: 15px;
    }
    #nav-header-container nav:last-child li:last-child a {
        padding-bottom: 15px;
    }
}

.glasaktiv-scroll {
    position: fixed;
    background-color: black;
    height: 45px;
    top: 0;
    z-index: 2;
    display: block;
}
@media (min-width: 700px) {
    /**** ROW ****/
    .col-1  { grid-column: span 1; }
    .col-2  { grid-column: span 2; }
    .col-3  { grid-column: span 3; }
    .col-4  { grid-column: span 4; }
    .col-5  { grid-column: span 5; }
    .col-7  { grid-column: span 7; }
    .col-8  { grid-column: span 8; }
    .col-9  { grid-column: span 9; }
    .col-12 { grid-column: span 12; }

    .col-dynamic-responsive.col-3 { grid-column: span 3; }
    .col-dynamic-responsive.col-4 { grid-column: span 4; }

    .preview-image-content {
        padding: 25px;
    }

    .image-wrapper.preview-image-wrapper.col-3 {
        height: 330px;
    }
    .image-wrapper.preview-image-wrapper.col-4 {
        height: 550px;
    }
    .image-wrapper.preview-image-wrapper.col-6 {
        height: 450px;
    }

    #cta .col-6:nth-child(1), #cta .col-7 {
        padding: 20px;
    }
    #cta .col-6:nth-child(2), #cta .col-5 {
        padding: 0;
    }
    #cta .col-5 .text-align-center {
        margin-bottom: 0
    }
}

@media (min-width: 900px) {
    #parents {
        padding: 0;
    }
}

@media (min-width: 950px) {
    .image-wrapper.preview-image-wrapper.col-6 {
        height: 550px;
    }
}

/**** DEFAULT ****/
.text-align-center {
    text-align: center;
}
.display-block {
    display: block;
}
.no-margin {
    margin: 0;
}
.no-padding {
    padding: 0;
}


/**PAGINATION**/

.pagination {
    display: flex;
    gap: 0.25rem;
    justify-content: center;
    align-items: center;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    font-family: sans-serif;
}

/* Zahlen: nur aktuelle Seite sichtbar auf Mobile */
.pagination__page {
    padding: 0.3rem 0.6rem;
    border: 1px solid #ddd;
    text-decoration: none;
    font-weight: 500;
    border-radius: 0;
    color: #333;
    display: none; /* standardmäßig versteckt */
}

.pagination__page.is-active {
    display: inline-block;
    background-color: #31B5DF;
    color: #fff;
    border-color: #31B5DF;
    pointer-events: none;
}

/* Pfeile */
.pagination__arrow {
    padding: 0.3rem 0.6rem;
    border: 1px solid #ddd;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    border-radius: 0;
    transition: all 0.2s;
}

/* Pfeile hover / active */
.pagination__arrow:hover {
    background-color: #31B5DF;
    color: #fff;
}

/* Pfeile Anfang/Ende fett */
.pagination__arrow:first-child,
.pagination__arrow:last-child {
    font-weight: bold;
}

/* Desktop / größere Screens */
@media (min-width: 480px) {
    .pagination__page {
        display: inline-block;
        padding: 0.4rem 0.8rem;
        font-size: 1rem;
    }

    .pagination__page:hover {
        background-color: #31B5DF;
        color: #fff;
    }

    .pagination__arrow {
        padding: 0.4rem 0.8rem;
    }
}









/* Container */
.search-input-wrapper {
    position: relative;
    display: flex;
    width: 100%;
}

/* Input-Feld */
.search-input {
    width: 100%;
    padding: 0 31px 5px 0;
    border: none;
    border-bottom: 2px solid #ddd;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.search-input:focus {
    outline: none;
    border-bottom-color: #31B5DF;
}

/* Button / Lupe */
.search-button {
    position: absolute;
    right: 0;
    top: 9px;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    padding: 0.25rem 0.5rem;
    cursor: pointer;
}

/* Das <i> innerhalb des Buttons */
.search-button i {
    color: #ddd;
    font-size: 1em;
    transition: color 0.2s;
}
.search-button:hover {
    background-color: transparent;
    border-color: unset;
}

/* Hover & Fokus */
.search-button:hover i,
.search-input:focus + .search-button i {
    color: #31B5DF; /* nur bei Hover oder Fokus */
}

/* Größere Bildschirme */
@media (min-width: 480px) {
    .search-input-wrapper {
        max-width: 400px;
        margin: 0 auto;
    }
}
