/*
    Theme Name: Berufsschule Pinneberg in Pinneberg
    Version: 1.0
*/

:root {

    /* fonts */

    --source-font-size: clamp(0.6rem, 0.4rem + 0.4vi, 0.8rem);
    --step--2: clamp(0.76rem, 0.7886rem + -0.037vi, 0.7813rem);
    --step--1: clamp(0.9375rem, 0.9332rem + 0.0217vi, 0.95rem);
    --step-0: clamp(1.2rem, 1.15rem + 0.2vi, 1.3rem);
    --step-1: clamp(1.35rem, 1.3033rem + 0.2337vi, 1.4844rem);
    --step-2: clamp(1.62rem, 1.5381rem + 0.4095vi, 1.8555rem);
    --step-3: clamp(1.944rem, 1.8134rem + 0.6528vi, 2.3193rem);
    --step-4: clamp(2.3328rem, 2.1358rem + 0.985vi, 2.8992rem);
    --step-5: clamp(2.7994rem, 2.5125rem + 1.4341vi, 3.624rem);

    --line-height--2: 1.4;
    --line-height--1: 1.5;
    --line-height-0: 1.6;
    --line-height-1: 1.4;
    --line-height-2: 1.3;
    --line-height-3: 1.2;

    /* color */
    --col-white: #fff;
    --col-black: #000000;
    --col-himbeerrot: #9E1B3C;
    --col-honiggelb: #CB8F00;
    --col-telegrau: #8d9295;
    --col-blaulila: #76689a;
    --col-wasserblau: #007577;
    --col-ultramarinblau: #00387a;
    --col-moosgruen: #114232;
}

h1, h2, h3, h4, h5, p, a {
    text-align: left;
    margin: 0;
    padding: 0;
}

h1 {
    font-size: var(--step-3);
   
}

h2 {
    font-size: var(--step-2);
    padding: 1.5rem 0;
     color: var( --col-himbeerrot);
}

h3 {
    font-size: var(--step-1);
    padding: 1rem 0;
}

p {
    font-size: var(--step-0);
}

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

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

html {
    overflow-y: scroll;
}

.barlow-thin {
  font-family: "Barlow", sans-serif;
  font-weight: 100;
  font-style: normal;
}

.barlow-extralight {
  font-family: "Barlow", sans-serif;
  font-weight: 200;
  font-style: normal;
}

.barlow-light {
  font-family: "Barlow", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.barlow-regular {
  font-family: "Barlow", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.barlow-medium {
  font-family: "Barlow", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.barlow-semibold {
  font-family: "Barlow", sans-serif;
  font-weight: 600;
  font-style: normal;
}

.barlow-bold {
  font-family: "Barlow", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.barlow-extrabold {
  font-family: "Barlow", sans-serif;
  font-weight: 800;
  font-style: normal;
}

.barlow-black {
  font-family: "Barlow", sans-serif;
  font-weight: 900;
  font-style: normal;
}

.barlow-thin-italic {
  font-family: "Barlow", sans-serif;
  font-weight: 100;
  font-style: italic;
}

.barlow-extralight-italic {
  font-family: "Barlow", sans-serif;
  font-weight: 200;
  font-style: italic;
}

.barlow-light-italic {
  font-family: "Barlow", sans-serif;
  font-weight: 300;
  font-style: italic;
}

.barlow-regular-italic {
  font-family: "Barlow", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.barlow-medium-italic {
  font-family: "Barlow", sans-serif;
  font-weight: 500;
  font-style: italic;
}

.barlow-semibold-italic {
  font-family: "Barlow", sans-serif;
  font-weight: 600;
  font-style: italic;
}

.barlow-bold-italic {
  font-family: "Barlow", sans-serif;
  font-weight: 700;
  font-style: italic;
}

.barlow-extrabold-italic {
  font-family: "Barlow", sans-serif;
  font-weight: 800;
  font-style: italic;
}

.barlow-black-italic {
  font-family: "Barlow", sans-serif;
  font-weight: 900;
  font-style: italic;
}


body {
    font-family: "barlow", sans-serif;
    width: 100%;
    padding: 0;
    margin: 0 auto;
}

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

/* topbar */

.topbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 2.8em;
    gap: 1.5em
}

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

.topbar .contact p {
    padding: 0;
    margin: 1em .5em;
    font-weight: 500;
    color: var(--col-himbeerrot);
}

.search {
    text-align: center;    
}

.icon svg {
  width: 1.7em;
  height: 1.7em;
  fill: var(--col-himbeerrot);
}

/* quick links logos */

.quicklinks {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1em; 
}

.quicklinks p {
    margin: 0;
    padding: 1em 0;
}

.container-quicklink-logo {
    height: 7em;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.container-quicklink-logo img{
    height: 100%;
    width: auto;
}

.search-form {
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-form input[type="text"] {
  padding: 10px 14px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  outline: none;
  min-width: 220px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.search-form input[type="text"]:focus {
    border: 0;
  box-shadow: 0 0 0 2px rgba(0, 92, 169, 0.15);
}

.search-form button {
  padding: 10px 18px;
  font-size: 18px;
  border: none;
  border-radius: .5em;
  background-color:var(--col-wasserblau);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s;
}

.search-form button:hover {
  background-color: #004a88;
}

.search-form button:active {
  transform: translateY(1px);
}

/*  */
.section-container p {
    padding: 0;
    margin: 0;
}
/* header, footer container inclusive logos */


.main-content {
    max-width: 1440px;
    margin: 0 auto;
    width: 90%;

}



.main-banner,
.subtitle-banner {
    max-width: 1440px;
    margin: 0 auto 1em auto;
    width: 90%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    position: relative;
    height: 120px;
    z-index: 2;

    background-color: var(--col-white);
    padding: 0 3rem;
}

.subtitle-banner {
    max-height: 1em;
    padding: 1em 0 3em 0;
    line-height: 1.5;
}

.logo-container > a > img {
    width: auto;
    height: 2cm;
}

.logo-lg-title img {
    max-height: 80px;
    padding-bottom: 1em;
}

.subtitle {
    color: var(--col-white);
}

.footer-container {
    background: var(--col-himbeerrot);
    color: var(--col-white);
    margin-top: 3em;
    height: 15em;
}

.footer-info {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding-top: 2em;
}
.footer-info img {
    height: 5em;
    width: auto;
}
.footer-info ul {
    list-style: none;
    padding: 1em;
    margin: 0;
}

.footer-info ul li {
    line-height: 1.7;
}



.menu-wp-login {
    padding-top: .5em;

    color: var(--col-white);
}



.side-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 1440px;
    margin: 0 auto;
    width: 90%;
    overflow-x: hidden;
    margin-top: 0;
    padding: 1rem 0 1rem 0;
    background-color: var(--col-himbeerrot)
}

.side-menu a {
    position: relative;
    display: inline-block;
    padding: .5em 1em;
    text-decoration: none;
    font-weight: 500;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s, transform 0.3s;
}

.side-menu a span {
    white-space: nowrap;
    transition: opacity 0.3s;
    margin: 0;
}

.side-menu a span {
    color: var(--col-white);
    font-size: large;
}

.side-menu a i {
    color: var(--col-white);
    font-size: var(--step-1);
}

.side-menu p {
    font-weight: 500;
    margin: 0;
    padding: 0;
}

.side-menu-text {
    margin: 0 2em;
}

/* intro / hero */

/* .hero-module {
    position: relative;
} */

.header-pic-container {
    margin: 0 auto;
    height: 500px;
    overflow: hidden;
    position: relative;
    max-width: 1440px;
}

.header-pic-container img {
    position: absolute; /* Hinzugefügt, um das Bild relativ zum Container zu positionieren */
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%); /* Zentriert das Bild */
    width: 100%;
    height: auto;
    object-fit: cover;
}

.hero-content-container {
    display: flex;
    position: absolute;
    top: 15vh;
    left: 0;
    right: 0;
    margin: 0 auto;
    padding: 0;
    max-width: 1440px;
    width: 90%;
    z-index: 2;
}

.hero-content {
    z-index: 2;
    text-align: center;
    color: var(--col-black);
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-content h1 {
    color: var(--col-black);
    margin-bottom: 0.5em;
    padding: 0;
    line-height: 1.35;
    
}

.hero-content p {
    margin: 0 0 1em 0;
    line-height: 1.7em;
    padding: 0;
    font-size: var(--step-0);
}
 
.hero-text {
    background-color: rgba(255, 255, 255, 0.7);
    padding: 2em;
}

.hero-text p:first-child {
    color: var(--col-black);
    font-weight: 600;
}

.btn-standard {
    border: none;
    background-color: var(--col-black);
    cursor: pointer;
}

.hero-text-button {
    background-color: var(--col-black);
    width: 40%;
    min-width: 200px;
}



.btn-standard p {
    color: var(--col-white);
    font-size: var(--step-0);
    padding: 1em 1.5em;
    margin: 0;
}

.pic-description {
    top: .5em;
    right: .5em;
    color: var(--col-black);
    z-index: 2;
    text-align: right;
    bottom: 0;
    z-index: 3;
}

/* header picture */

.map-cite {
    color: var(--col-black);
    max-width: 1440px;
    margin: 0 auto;
    width: 90%;
    text-align: right;
    padding-top: 1em;
}

/* content container */


.section-bg-grey {
    margin-bottom: 2em;
    padding: 2em 0;
}

/* .section-container {
    max-width: 1440px;
    margin: 3.5em auto 0 auto;
    width: 90%;
    overflow-x: hidden;
    margin-top: 0;
} */

.section-container-title {
    color: var(--col-moosgruen);
}

.section-title {
    color: var(--col-black);
    font-weight: 600;
    margin: 2em 0;
}

.image-wrapper-three-img,
.image-wrapper-four-img {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - (1rem * (var(--per-view) - 1))) / var(--per-view));
    grid-gap: 1em;
    position: relative;
    left: 0;
    transition: .3s;
    min-height: 22em;
}

.image-wrapper-three-img > * {
    aspect-ratio: 2 / 0.8;
}

.image-wrapper-four-img > * {
    aspect-ratio: 1 / 1;
}

.each-item {
    width: 100%;
    height: 100%;
    min-height: 20em;
    object-fit: cover;
    display: block;
    scroll-snap-align: start; 
}
.item-pic-container-text  {
    height: 220px;
    background-color: rgb(245, 245, 242);
    border-radius: 1em;
}

.item-pic-container-text p {
    padding: 1rem 2rem;
    font-weight: 400;
    margin: 0;
}

.item-pic-container-text h3 {
    padding: 1rem 2rem;
    margin: 0;
}
.item-pic-container-text p:first-child {
    font-weight: 600;
}

.section-bg-white {
    margin: 2rem 0 2rem 0;
}

.image-wrapper-four-img .each-item {
    height: 400px;
}

.item-pic-container {
    overflow: hidden;
    height: 250px;
    width: auto;
    flex-grow: 1;
}

.image-wrapper-four-img > .each-item > .item-pic-container {
    max-height: 200px;
}

.item-pic-container img {
    border-radius: 1em 1em 0 0;
    height: 100%;
    object-fit: cover;
}

.item-text {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    white-space: normal;
    min-height: 125px;
}

.item-text {
    padding: 1em 0 0 1em;
    margin: 0;
}

.item-text p:first-child {
    padding: 1em 0 1em 0;
    margin: 0;
    font-weight: 600;
    color: var(--col-black);
}

.item-text p {
    padding: 0;
    margin: 0;
}

/* landing page header pic */

.lg-header-img-container {
    width: 100vw;
    height: 25vh;
    min-height: 170px;
    z-index: 1;
    background-size: cover;
    background-position: center;
}

.lg-header-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* --landingpage content */

.lg,
.lg-top,
.lg-bottom,
.lg-top-without-pic {
    max-width: 1440px;
    margin: 0 auto;
    width: 90%;
    display: flex;
    flex-direction: column;
}

.lg-top,
.lg-top-without-pic {
    margin: 7% auto 3% auto;
    --max-margin-top: 200px;
    margin-top: calc(var(--max-margin-top) - 50px);
}

.lg-bottom {
    margin: 0 auto 5% auto;
}


.lg-top h1,
.lg-top-without-pic h1 {
    color: var(--col-black);
    margin-bottom: 1.2em;
    line-height: 1.2em;
}

.lg-top p,
.lg-top-without-pic p {
    line-height: 1.6em;
    padding-bottom: 1em;
    margin: 0;
    line-height: 1.5;
}



.lg-excerpt {
    background-color: var(--col-beach);
    margin-bottom: 2em;
    width: 100%;
}

.lg-excerpt p {
    color: var(--col-black);
    padding: 1em;
}


.login-details > .zoom-logo img {
    height: 50px;
}

.login-details {
    background-color: var(--col-beach);
    padding: 1em;
    margin-bottom: 3em;
}



/* landing page three items container */

.three-items-container > div,
.four-items-container > div {
    margin-bottom: 3em;
}

.three-items-each-one,
.four-items-each-one {
    background-color: var(--col-beach);
    padding-bottom: 2em;
}

.three-items-each-one > .item-pic-container {
    height: 80%;
    max-height: 200px;
}

.four-items-each-one > .item-pic-container {
    height: 90%;
    max-height: 200px;
}



.three-items-each-one img,
.four-items-each-one img {
    width: 100%;
}


/* person */

.person-pic-container img {
    max-width: 170px;
    min-width: 170px;
    height: 250px;
    object-fit: cover;
}

.person-info {
    padding: 1em 0;
    margin-top: 2em;
    margin-bottom: 1.5em;
}

.institut-info {
    padding: 1em 0;
    margin-bottom: 1.5em;
}

.person-info img {
    width: 70px;
    padding: 1em 0;
    padding-right: 2em;
}


.person-info p,
.institut-info p {
    margin: 0;
    line-height: 1.5;
    max-width: 100%;
}

.person-info h2 {
    font-weight: 600;
}

.person-contact {
    display: flex;
    margin: .5em 0;
    align-items: center;
}

.person-contact img {
    max-width: 25px;
    height: auto;
    margin-right: 1em;
    padding: 0;
}
.person-contact span {
    font-size: var(--step-0);
    color: var(--col-black);
}

.person-contact a {
    display: flex;
    align-items: center;
}

.institut-info p:first-child {
    font-weight: 600;
}

/* logo */

.logo-pic-container {
    overflow: hidden;
    max-width: 120px;
    height: 3.5em;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.logo-pic-container img {
    max-height: 100%;
    max-width: 100%;
    height: auto;
    width: auto;
}


/* events part */

.events-all h2 {
    color: var(--col-black);
    margin-top: 1em;
    margin-bottom: .5em;
}

.event {
    display: flex;
    padding: 1em 0;
}

.event:last-child {
    border-bottom: none;
}

.event-date {
    background-color: var(--col-beach);
    border: var(--col-black) solid 1px;
    height: 110px;
    width: 100px;
}

.event-date h3 {
    color: var(--col-black);
}


.event-infos {
    padding: 0 1rem;
}

.event:hover .event-date {
    background-color: var(--col-beach);
    border: var(--col-green) solid 1px;
}

.event:hover .event-date .event-date-top {
    background-color: var(--col-green);
}

.event:hover .event-date h3 {
    color: var(--col-green);
}


.event-infos p {
    margin: .5em 0;
    padding: .1em auto;
    color: var(--col-black);
}

.event-infos p:first-child {
    line-height: 1.4em;
    font-weight: 600;
    color: var(--col-black);
    margin-top: .35em;
}

.test-1 img {
    max-height: 100px;
    width: auto;
}

.language-flag {
    width: 1.6em;
    height: 1.6em;
}


.event-language {
    display: flex;
    gap: .5em;
    padding: .5em 0;
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.event-date-top {
    background-color: var(--col-black);
    width: 100px;
}

.event-date p {
    margin: 0;
    padding:.5em;
    color: var(--col-white);
    text-align: center;
}

.event-date h3 {
    margin: 0;
    padding: .5em 0;
    color: var(--col-black)
}

.events-all > h3 {
    margin-top: 1em;
    margin-bottom: 2em;
}

.events-all > h3:first-child {
    margin-top: 0;
}

/* css for slidetoggle in "nico-rüpke-preisträger" */



.hidden {
    display: none;
}

.banner {
    margin-bottom: .5em;
}

.toggle-banner {
    background-color: var(--col-beach);
    color: var(--col-dark-grey);
    padding: .5em 1em;
}

.toggle-banner:hover,
.toggle-banner.active,
.toggle-banner:active,
.toggle-banner:focus {
    background-color: var(--col-green);
    color: var(--col-white);
}
.tb-row {
    width: 100%;
    padding: 0 1.5em;
}

.tb-row:first-child {
    margin-top: 1.5em;
}

.tb-column h5,
.tb-column p {
    flex: 1;
    margin-right: 10px;
}

.tb-column:last-child {
    margin-bottom: 2em;
}

hr {
    border: none;
    border-top: .2px solid var(--col-green);
    margin: 2em auto;
}

hr:last-child{
    display: none;
}

.tb-row p {
    margin: 0;
    margin-top: .5em;
}

.tb-row > .tb-column > p:first-child {
    font-weight: 600;
}

/*  wordpress text */

.wp-block-ol {
    list-style-type: decimal;
}

.wp-block-ol li {
    font-size: 20px;
}

p a {
    color: var(--col-ultramarinblau);
    font-weight: 700;
}

p {
    margin-top: 100px;
    margin-bottom: 200px;
}

p a:hover {
    color: var(--col-himbeerrot);
}

.wp-content {
    width: 70%;
}
.wp-content h2 {
    margin: 3em 0 1.5em 0;
    color: var(--col-black);
}

@media screen and (max-width: 768px) {
    .wp-content {
        width: 100%;
    }
}

.wp-content li {
    font-size: var(--step-0);
    line-height: 1.6em;
    list-style: none;
    position: relative;
    display: flex;
    align-items: flex-start;
    margin-bottom: .5em;
}

.wp-content li::before {
    content: '\f054';
    color: var(--col-black);
    font-family: 'dashicons';
    margin-right: 20px;
    display: inline-block;
    width: 0.75em;
    height: 1em;
}



/* wordpress accordion */

.accordion-title {
    background-color: var(--col-beach);
    color: var(--col-black);
    cursor: pointer;
    border-bottom: var(--col-white) solid .3em;  
    font-weight: 600; 
    padding: .5em 1em;
    padding-top: 1.1em;
    margin: 2em;

}

.accordion-title:hover {
    background-color: var(--col-green);
    color: var(--col-black);
}

.accordion-content {
    display: none;
}

.accordion-content-inner {
    padding: 1em;
}

.accordion.active .accordion-content {
    display: block;
}


/* wordpress tabel */

.membership-table {
    margin: 2em 0;
}
  
tbody {
    text-align: left;
    font-size: var(--step-0);
    line-height: 1.6em;
}

table {
    width: 100%;
    border-collapse: collapse;
}
  
th, td {
    padding: .5em 0;
    text-align: left;
    font-size: var(--step-0);
    line-height: 1.6em;
    border-bottom: 1px var(--col-lightgrey) solid;
}

tbody > tr > td:first-child{
    padding-right: 3em;
}

th:nth-child(1),
td:nth-child(1) {
    width: 80%;
    margin-right: 3em;
}

th:nth-child(2),
td:nth-child(2) {
    width: 15%;
}

.no-scroll {
    overflow: hidden;
}






/* map and section introductions */

#map {
    display: block;
    width: 100%;
    height: auto;
}

.map-container {
    position: relative;
    width: 100%;
    height: auto;
    max-width: 550px;
    overflow: visible;
}

.text-container h5 {
    line-height: 1em;
}

.text-container h5:first-child {
    color: var(--col-black);
    margin-top: 2em;
    margin-bottom: 2em;
}

/* pagnation */

.pagination {
    max-width: 1440px;
    margin: 0 auto;
    width: 90%;
    margin: 0;
    margin-top: 3em;
    margin-bottom: 3em;
}


.pagination a,
.pagination span {
    color: var(--col-black);
    border: 1px solid var(--col-black);
    padding: 8px 16px;
    margin: 0 4px;
}

.pagination .current {
    background-color: var(--col-green);
    color: var(--col-black);
    border: 1px solid var(--col-green);
}

.all-sections > .text-container > .row > .person-info {
    margin-bottom: 1em;
    padding: 0;
    max-width: 350px;
}

/* should be sorted */

.row + .row {
    margin-top: 1em;
}

.column p {
    margin: 0;
    color: var(--col-black);
}

.column img {
    width: 100%;
    height: auto;
}

.row > .column > h5 {
    color: var(--col-black);
    margin: 1em 0;
}






.overlay {
    display: none; /* Standardmäßig ausgeblendet */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--col-black);
    z-index: 3;
}

.lg-bottom > .tb-row {
    width: 100%;
}

.lg-top ol,
.lg-top-without-pic ol {
    padding-left: 2em;
}


.lg-top ol li,
.lg-top-without-pic ol li {
    font-size: var(--step-0);
    line-height: 1.5em;
    padding-left: 1em;
    margin: 1em 0;
}

.lg-top ul li,
.lg-top-without-pic ul li {
    font-size: var(--step-0);
    line-height: 1.6em;
    list-style: none;
    position: relative;
    margin-bottom: .5em;
}

.lg-top ul li::before,
.lg-top-without-pic ul li::before {
    content: "\f345";
    color: var(--col-himbeerrot);
    font-family: 'dashicons';
    position: absolute;
    left: 0;
    top: 0;
}

.lg-top ul li,
.lg-top-without-pic ul li {
    padding-left: 2em;
}

.lg-top ol li a,
.lg-top ul li a,
.lg-top-without-pic ol li a,
.lg-top-without-pic ul li a {
    color: var(--col-black);
    font-weight: 600;
}

.lg-top > p,
.lg-top-without-pic > p {
    margin-top: .5em;
}



/* responsive design */

@media (orientation: landscape) {

    .persons {
        display: flex;
    }

    .person-pic-container img {
        margin-right: 2em;
    }

}
@media (max-width: 450px) {

    .image-wrapper-three-img,
    .image-wrapper-four-img {
        overflow-x: scroll;
        scroll-snap-type: x mandatory;
        white-space: nowrap;
        
    }

    .image-wrapper-three-img::-webkit-scrollbar,
    .image-wrapper-four-img::-webkit-scrollbar {
        
        margin-bottom: 10em;
        height: .3em;
    }

    .image-wrapper-three-img::-webkit-scrollbar-thumb,
    .image-wrapper-four-img::-webkit-scrollbar-thumb {
        background-color: var(--col-green);
    }

    .image-wrapper-three-img::-webkit-scrollbar-track,
    .image-wrapper-four-img::-webkit-scrollbar-track  {
        background-color: var(--col-grey);
    }
}

@media (min-width: 450px) {

    .text-container > .row {
        display: flex;
    }
    /* carousel (dots) */

    .nav-dots {
        display: flex;
        justify-content: center;
        margin-top: 1em;
    }

    .nav-dot {
        width: .7em;
        height: .7em;
        background-color: var(--col-grey);
        border-radius: 50%;
        margin: 0 5px;
        cursor: pointer;
    }

    .nav-dot.active {
        background-color: var(--col-green);
    }

}
@media (min-width: 768px) {
    .person-info {
        margin-top: 0;
    }

    .footer-nav {
        display: flex;
    }

    .menu-bottom li {
        font-size: var(--step-0);
        font-weight: 600;
        display: inline-block;
        position: static;
        margin-right: 1em;   
    }

    .menu-wp-login {
        font-size: var(--step-0);
        font-weight: 600;
    }


    .three-items-container,
    .four-items-container {
        display: flex;
        flex-wrap: wrap;
    }
    
    .three-items-container > div,
    .four-items-container > div {
        flex: 0 0 calc(50% - 10px);
        margin: 5px;
        box-sizing: border-box;
    } 

    /* person (left portrait and right info) using flex-direction: row (default) */

    .person {
        display: flex;
    }

    .each-person {
        display: flex;
        width: 100%;
    }
    .each-person h5 {
        color: var(--col-black);
    }

    .container-one-pic {
        min-width: 300px;
        max-height: 250px;
    }
/*
24.05.2024
correction
*/

    /* portrait */

    .persons {
        display: flex;
    }

    .person-pic-container img {
        margin-right: 2em;
    }

    

}



/* small display (mobile and tablett) resposive design */

@media (max-width: 1266px) {

    .lg-top,
    .lg-top-without-pic {
        margin-top: 3em;
    }

    body {
        box-sizing: border-box;
    }

    .main-banner {
        text-align: right;
        z-index: 5;
    }

    figcaption {
        width: 70%;
    }

    /* hamburger icon */

    .hamburger-menu-icon {
        color: var(--col-white);
        cursor: pointer;
        display: block;
        position: relative;
        z-index: 5;
    }

    .hamburger-menu-icon::before {
        font-family: 'dashicons';
        font-size: 45px;
        content: "\f333";
    }

    body.menu-opened .hamburger-menu-icon::before {
        content: "\f335";
    }

    /* main menu */

    .top-menu {
        display: none !important;
        position: fixed;
        top: 140px;
        left: 0;
        width: 100%;
        box-sizing: border-box;
        z-index: 5;
    }

    /* main menu level 1 */

    .top-menu ul {
        display: flex;
        flex-direction: column;
        color: var(--col-black);
        list-style: none;
        font-size: var(--step-0);
        font-weight: 600;
    }

    .top-menu ul li {
        border-bottom: var(--col-black) solid 1px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .top-menu ul li:hover {
        background-color: var(--col-green);
    }

    .top-menu ul li:last-child {
        border-bottom: none;
    }

    .top-menu ul li a {
        padding-left: 5%;
    }

    .top-menu ul li span.toggle-icon {
        cursor: pointer;
        font-size: 1.2em;
        padding-right: 6%;
        padding-left: 20px;
    }
  
    /* main menu level 2 (submenu) */

    .top-menu ul li ul li {
        border-bottom: none;
    }

    .submenu {
        background-color: var(--col-white);
        display: none;
        margin: 0;
        padding: 0;
    }

    .sm-nav-main {
        padding: 15px 0;
        display: flex;
        justify-content: space-between;
    }

    .submenu li {
        border-bottom: none;
        color: var(--col-black);
        font-weight: 400;
    }

    .submenu li .toggle-icon {
        display: none;
    }


}

/* big display responsive design */

@media (min-width: 1266px) {

    .lg-top ol li,
    .lg-top ul li,
    .lg-top-without-pic ol li,
    .lg-top-without-pic ul li {
        width: 70%;
    }

    .lg-top-without-pic h1 {
        width: 70%;
        line-height: 1.5em;
    }

    .logo-lg-title {
        display: flex;
        align-content: center;
    }

    .logo-lg-title img {
        margin-right: 2em;
    }


    .login-details {
        display: flex;
        width: 70%;
    }

    .login-details > .zoom-logo img {
        margin-right: 2em;
    }

    .lg-excerpt    {
        width: 70%;
    }

    .lg-excerpt p {
        width: 100% !important;
        font-weight: 500;
        padding: 1.5em 1em;
    }

    .login-details p {
        width: 100% !important;
    }

    /* row */
    .row {
        display: flex;
    }

    .three-items-container,
    .four-items-container {
        display: flex;
        flex-wrap: wrap;
    }
    
    .three-items-container > div {
        flex: 0 0 calc(33.3% - 20px);
        margin: 10px;
        box-sizing: border-box;
    }

    .four-items-container > div {
        flex: 0 0 calc(25% - 20px);
        margin: 10px;
        box-sizing: border-box;
    }

    /* events */

    .event {
        width: 70%;
    }

    /* menu */

    .top-menu ul {
        color: var(--col-black);
        list-style: none;
        margin-bottom: 1.5em !important;   
    }


    
    .top-menu li,
    .menu-bottom li {
        padding: 0 .5em;
        font-size: var(--step-0);
        font-weight: 600;
        display: inline-block;
        position: static;    
    }

    .menu-wp-login {
        font-size: var(--step-0);
        font-weight: 600;
    }

    /* in worddpress: .top-menu ul li ul */
    /* sub-menu used in javasript and defined in walker */

    .submenu {
        display: none;
        position: absolute;
        top: 100%;
        left: 50%;
        max-width: 1440px;
        transform: translateX(-50%);
        background-color: var(--col-white);
        width: 100%;
    }

    .submenu ul {
        display: flex;
        flex-wrap: wrap;
        gap: 1em;
    }

    .submenu li {
        flex: 1;
        padding: 1em;
        color: var(--col-black);
        box-sizing: border-box;
        padding: 1.5em 1em;
    }

    .submenu li:hover {
        background-color: var(--col-himbeerrot);
        color: var(--col-white);
    }

    /* icon +/- only for mobile display */

    .toggle-icon {
        display: none;
    }

    .tb-column {
        display: grid;
        grid-template-columns: 20% 15% 30% auto;
        gap: 2%;
    }

    /* landing page container */
    /* .lg-top {
        --margin-top: 100px;
        margin-top: calc(var(--margin-top) - 50px);
    } */

    .lg-top {
        margin-top: 3em;
    }

    .lg-top p,
    .lg-top-without-pic p {
        width: 70%;
    }

    /* map */

    .all-sections {
        display: flex;
    }

    .map-container {
        margin-right: 5em;
    }

    /* map */

    .persons,
    .instituts {
        width: 50%;
    }


    /* --container */

    .four-items-container {
        display: flex;
        flex-wrap: wrap;
    }

    .four-items-container > div {
        flex: 0 0 calc(25% - 20px);
        margin: 10px;
        box-sizing: border-box;
    }
    

    /* --footer */

    .footer-nav {
        color: var(--col-white);
        display: flex;
        gap: 1em;
    }

    .footer-nav ul {
        list-style: none;
        display: flex;
        gap: 1em;
    }

    .menu-bottom {
        display: flex;
    }
}

.lg-img-container {
    max-width: 1440px;
    margin: 0 auto;
    min-height: 300px;
    background-position: center;
    height: 20vh;
    position: relative;
}

.lg-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lg-header-small-img-container {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1440px;
    margin: 0 auto;
    overflow: hidden;
    max-height: 30vh;
}

.lg-header-small-img-container img {
    flex: none;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

/* quicklinks */


#quicklinks {
    margin: 0 auto;
    display: flex;
    padding: .5em 1em;
    color: var(--col-beach);
    background-color: var(--col-black);
    border: var(--col-beach) 1px solid;
    font-size: var(--step--1);
    z-index: 5;

    top: 100%;
    left: 0%;
    width: 90%;

    z-index: 5;
}

@media (min-width: 1266px) {
    .menu-area {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
    
    }
    nav {
        display: flex;
        align-items: center;
    }
    
    #quicklinks {
        width: 25%;
        margin: 1.5em 0;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        margin-left: auto;
        
    }

    select {
        max-width: 1440px;
        margin: 0 auto;
        width: 90%;
        padding-bottom: 1em;
        z-index: 5;
        
    }

}

.lg-legal-notice {
    max-width: 1440px;
    margin: 0 auto;
    width: 90%;
    display: flex;
    flex-direction: column;
}

.lg-legal-notice {
    margin: 3% auto 1% auto;
    --max-margin-top: 90px;
    margin-top: calc(var(--max-margin-top) - 50px);
}

.lg-legal-notice h3 {
    color: var(--col-black);
    margin-bottom: 1.2em;
}

.lg-legal-notice p {
    line-height: 1.6em;
    padding-bottom: 1em;
    margin: 0;
    line-height: 1.5;
}

.lg-legal-notice > .lg-legal-notice-person p,
.lg-legal-notice > .lg-legal-notice-contact p {
    margin: 0;
    padding-bottom: .15em;
}

.lg-legal-notice-contact {
    display: flex;
    align-items: center;
}

.lg-legal-notice-contact img {
    max-width: 25px;
    height: auto;
    margin-right: 1em;
    padding: 0;
}

.each-person {
    cursor: pointer;
    transition: background-color 0.3s;
}

.person-info h5 {
    color: var(--col-black);
}

.each-person:hover .person-info h5,
.each-person:hover .person-info p {
    color: var(--col-black);
}

.login-text p {
    margin: 0;
    padding: .5em 0;
}

.test-1 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.event-text {
    flex: 0 1 calc(33.333% - 15px);
    box-sizing: border-box;
    background-color: rgb(245, 245, 242);
    border-radius: 10px;
}

.test-2 {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 50px;
    margin-top: 3rem;
}
.logos img {
    width: 200px;
    height: auto;
}

/* calender */
.events-list {
    display: flex;
    gap: 1em;
    flex-wrap: wrap;
}

.event-text {
    display: flex;
    gap: 16px;
    background: var(--col-white);
    border-radius: 8px;
    align-items: center;
    min-width: 220px; /* Optional, für einheitliche Größe */
}

.event-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 90px;
    background: var(--col-honiggelb);
    color: #fff;
    border-radius: 8px;
    flex-shrink: 0;
    text-align: center;
    font-family: sans-serif;
}

.event-icon .month {
    font-size: 18px;
    text-transform: uppercase;
    margin-bottom: 1em;
}

.event-icon .day {
    font-size: 25px;
    font-weight: bold;
    line-height: 1;
}

.event-infos h3 {
    margin: 0 0 4px;
}

.event-time,
.event-place {
    margin: 0;
    color: #333;
}

