/* Einbindung der Adobe-Font Typekit,
Nur nötig, wenn man die Schriftarten nicht Lokal einbindet, sondern von der Adobe-Font beziehen möchte. */
@import url("https://use.typekit.net/mmt3ayc.css");

/* Globale Einstellungen */
*,
*:before,
*:after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-style: normal;
  overflow-x: hidden;
  position: relative;
  font-family: "neulis-sans", sans-serif;
  color: var(--black);
  background-color: var(--bg);
}

/* Base font size for larger screens (e.g., desktop) */
body {
  font-size: 17px;
  line-height: 1.5;
}

/* Adjust font size for smaller screens (e.g., tablet) */
@media screen and (max-width: 1023px) {
  body {
    font-size: 14px;
  }
}

/* Adjust font size for even smaller screens (e.g., mobile) */
@media screen and (max-width: 767px) {
  body {
    font-size: 12px;
  }
}

/* Allgemeine Farbeinstellungen, Größen, etc. */
:root {
  /* Voreingestellte Farben, diese sind von Projekt zu Projekt unterschiedlich. Also anpassen!
    Hauptfarben: */
  --lavender: #d8b9d3;
  --william: #366666;

  /* Farben für Schriften */
  /* Schriftfarbe für Fließtexte, reines Schwarz vermeiden -> Kann zu einer Überanstrengung der Augen führen, wenn Nutzer den Text über einen längeren Zeitraum lesen. */
  --black: #3d3d3d;

  /* Hintergrundfarbe, Abwandlung von weiß, reines Weiß vermeiden -> starke Helligkeit von reinem Weiß kann einen hohen Kontrast zu den umgebenden Elementen erzeugen => "White Glare-Effect" */
  --bg: #f7f9ec;

  /* Abstandswerte */
  /* Sehr kleiner Abstand */
  --g-xs: 0.5rem;
  /* Kleiner Abstand */
  --g-s: 1rem;
  /* Mittlerer Abstand */
  --g-m: 1.5rem;
  /* Großer Abstand */
  --g-xl: 2rem;
  /* Sehr großer Abstand */
  --g-xxl: 2rem;

  /* Abstand zwischen Paragraphen */
  --p-gap: 20px;

  /* Abstand von Überschriften zur Section */
  --h-gap: 2rem;
}

/* Voreinstellung von Abständen */
/* Abstand zwischen Paragraphen */
.p-gap {
  margin-top: var(--p-gap);
}

/* Abstand Überschriften nach oben und nach unten */
.h-all {
  margin-top: var(--h-gap);
  margin-bottom: var(--h-gap);
}

/* Abstand Überschrift nach oben */
.h-top {
  margin-top: var(--h-gap);
}

/* Abstand Überschrift nach unten */
.h-bot {
  margin-bottom: var(--h-gap);
}

/* Allgemeine Gestaltung */
h1,
h2,
h3 {
  font-family: "neulis-cursive", sans-serif;
  font-weight: 600;
  font-size: 1.3rem;
  line-height: 1.8rem;
  text-decoration: underline pink 0.4mm;
  text-underline-offset: 0.4mm;
}

@media screen and (min-width: 1000px) {
  h1,
  h2,
  h3 {
    font-family: "neulis-cursive", sans-serif;
    font-weight: 600;
    font-size: 2rem;
    line-height: 3rem;
  }
}

h2,
h3 {
  text-align: left;
}

p {
  font-weight: 100;
  font-size: 1rem;
  margin-bottom: var(--p-gap);
}
a {
  text-decoration: none;
  color: white;
  transition: 1s ease-out;
}

a:hover,
a li:hover {
  transition: 1s ease-in;
  color: var(--william);
}

section {
  margin-bottom: var(--g-xxl);
}

address {
  margin: 0;
  padding: 0;
  font-style: normal;
  line-height: 1.5;
}

address p {
  font-size: unset;
  line-height: unset;
  margin: 0 !important;
}

/* Reveal-Animation */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.3s ease-in, transform 0.3s ease-in;
}

.reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Individuelle Gestaltung der jeweiligen Elemente */
.reihe_out {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  align-content: center;
}

.center_mb {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  align-content: center;
}
@media screen and (min-width: 770px) {
  .center_mb {
    display: unset;
  }
}

.rounded {
  border-radius: 7px;
}
/* Gestaltung der modernen, ständig am unteren Rand bleibende Navigations */
.navbar {
  backdrop-filter: blur(30px);
  overflow: hidden;
  width: 100%;
  position: fixed;
  bottom: 0;
  display: flex;
  justify-content: center;
  font-family: "darkmode-off-cc", sans-serif;
  font-weight: 400;
  font-style: normal;
  border-top: solid #d8b9d3;
}

header {
  margin-bottom: var(--g-xxl);
}

@media screen and (min-width: 632px) {
  .navbar {
    backdrop-filter: blur(60px);
    overflow: hidden;
    min-width: 500px;
    width: 80%;
    max-width: 660px;
    position: fixed;
    bottom: 0;
    display: flex;
    justify-content: space-between;
    font-family: "darkmode-off-cc", sans-serif;
    font-weight: 400;
    font-style: normal;
    border: solid thin #d8b9d3;
    border-radius: 50px;
    bottom: 1rem;
    gap: 1rem;
  }

  .blur {
    display: flex !important;
    justify-content: space-between;
  }

  header {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: flex-start;
    align-content: center;
  }

  .active,
  .icon-container a:hover,
  .blur a:hover {
    border-radius: 20px !important;
    padding-left: 30px !important;
    padding-right: 30px !important;
    color: #366666 !important;
  }

  .navbar a:hover,
  .active {
    background-color: #ddd;
    color: black;
    border-radius: 50%;
  }
}

.navbar_video {
  position: absolute;
  z-index: -1;
  visibility: hidden;
}

.navbar a {
  color: white;
  display: block;
  text-align: center;
  padding: 8px 8px;
  text-decoration: none;
  font-size: 17px;
  transition: all 1s ease-out;
  margin: 7px;
}

.navbar a:hover,
.active {
  background-color: #ddd;
  color: #366666;
  border-radius: 50px;

  transition: all 1s ease-out;
}

/* @media screen and (min-width: ;) {
  .navbar a:hover,
  .active {
    padding-left: 30px !important;
    padding-right: 30px !important;
  }
} */

.active {
  transition: all 1s ease-out;
}

.navbar a:hover .st0 {
  fill: #366666;
}

.active .st0 {
  fill: #366666;
}

.icon-container {
  display: none;
  padding: 4px;
  backdrop-filter: blur(10px);
}

.icon-container svg {
  height: 22px;
  width: 22px;
  margin: 5px;
  vertical-align: middle;
  fill: white;
}

@media screen and (max-width: 632px) {
  .navbar a {
    display: none;
  }
  .navbar a.icon {
    display: block;
  }
  .icon-container {
    display: flex;
    justify-content: space-evenly;
    width: 100%;
    height: 100%;
  }
}

.bg_change {
  transition: opacity 0.5s ease-in-out;
  background-color: unset;
}

video {
  width: 100vw;
  height: 100vh;
  min-height: 620px;
  object-fit: cover;
  object-position: center;
  position: relative;
  z-index: 0;
}

.border_img {
  border: solid thin #d8b9d3;
  border-radius: 148px;
  padding-left: 15px;
  padding-right: 15px;
  padding-top: 5px;
  padding-bottom: 5px;
  backdrop-filter: blur(5px);
}

.blur {
  backdrop-filter: blur(30px);
  width: 100%;
  display: none;
}

.border_img {
  width: 230px;
}

.img_mobile {
  display: block;
}

@media screen and (min-width: 770px) {
  .img_mobile {
    display: none;
  }
}

.img_web {
  display: none;
}

@media screen and (min-width: 770px) {
  .img_web {
    display: block;
  }
}

.invisible {
  display: none;
  visibility: hidden;
}

@media screen and (min-width: 770px) {
  .invisible {
    display: block;
    visibility: visible;
  }
}

.custom_width {
  width: 100%;
}

@media screen and (min-width: 770px) {
  .custom_width {
    width: 90%;
  }
}

.container_video {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  align-content: center;
  min-height: 620px;
}

.container_video p {
  font-family: "neulis-sans", sans-serif;
  font-weight: 200;
  font-style: normal;
  font-size: 2.4rem;
  line-height: 2.2rem;
  text-align: center;
  color: #d8b9d3;
}

@media screen and (min-width: 770px) {
  .container_video p {
    font-size: 6rem;
    line-height: 7rem;
  }
}

.logo_fixed {
  position: fixed !important;
  z-index: 2 !important;
}

/* Gestaltung der Section: Start Willkommen */
.counter_container {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  align-content: center;
  row-gap: 2rem;
  text-align: center;
}

@media screen and (min-width: 576px) {
  .counter_container {
    flex-direction: row;
    justify-content: center;
    column-gap: 2rem;
  }
}

@media screen and (min-width: 992px) {
  .counter_container {
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-start;
    text-align: left;
  }
}

.value {
  display: block;
  font-weight: 100;
  font-size: 2.2rem;
}

.counter-bereich {
  font-size: 1.2rem;
  font-weight: 100;
  margin-top: var(--g-xs);
}

.categorie_container {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-start;
  border-top: #3d3d3d solid thin;
  border-bottom: #3d3d3d solid thin;
  margin-top: 1rem;
  margin-bottom: 1rem;
  padding-top: 15px;
  padding-bottom: 15px;
  min-width: 100%;
  gap: 1rem;
  background-color: #8787871a;
  padding: 15px;
}

.categorie_bezeichnung {
  font-weight: 600;
  font-size: 1.1rem;
}

.categorie_beschreibung {
  font-weight: thin;
  font-size: 1.1rem;
  text-align: left;
}

.svg-container {
  display: flex;
  justify-content: center;
}

.svg-container img {
  width: 30px;
  height: 30px;
}

@media screen and (min-width: 804px) {
  .categorie_container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    border-top: #3d3d3d solid thin;
    border-bottom: #3d3d3d solid thin;
    margin: 1rem;
    padding: 15px;
    width: 100%;
    max-width: 1200px;
  }

  .categorie_bezeichnung {
    font-weight: 600;
    font-size: 1.5rem;
    width: 605px;
  }

  .categorie_beschreibung {
    font-weight: thin;
    font-size: 1.2rem;
    text-align: left;
    width: 605px;
  }

  .svg-container {
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
  }

  .arrow {
    width: 100%;
    height: auto;
  }
}

/* .leistungs_container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  align-content: flex-start;
  gap: 2rem;
}

.leistung_item {
  width: 31%;
}

.leistung_item h3 {
  text-align: left;
  height: 60px;
  font-size: 1.5rem;
  line-height: 1.4rem;
} */

.item2 img {
  width: 100%;
  margin-bottom: var(--g-s);
}

.grid-container div {
  margin-bottom: var(--g-xl);
}

.grid-container div h3 {
  margin-bottom: var(--g-s);
  text-decoration: unset;
  font-size: 1.2rem;
}

@media screen and (min-width: 1000px) {
  .grid-container {
    display: grid;
    grid-template-columns: 33.33% 33.33% 33.33%;
    gap: 10px;
  }

  .grid-container > div {
    text-align: left;
    padding: 20px 0;
  }

  .grid-container div h3 {
    font-family: "neulis-sans", sans-serif;
    text-align: left;
    font-size: 1.5rem;
    line-height: 1.4rem;
    margin-bottom: 1rem;
  }

  .grid-container div h3 p {
    font-weight: thin;
  }

  .item1 {
    grid-column-start: 1;
    grid-column-end: 3;
    width: 75%;
  }

  .item2 {
    grid-column-start: 3;
    grid-column-end: 4;
    grid-row-start: 1;
    grid-row-end: 3;
  }
}

.linkref_container {
  width: 215px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  gap: 1rem;
  border-bottom: #d8b9d341 solid thin;
  transition: ease-in 1s;
}

.link_text {
  text-transform: uppercase;
  font-size: 1rem;
  color: var(--black);
}

.link_arrow img {
  height: 20px;
  width: 20px;
}

@media screen and (min-width: 1000px) {
  .linkref_container {
    width: 310px;
  }

  .linkref_container:hover {
    border-bottom: #d8b9d3 solid thin;
    transition: ease-in 1s;
  }

  .link_text {
    text-transform: uppercase;
    font-size: 1.5rem;
    color: var(--black);
  }

  .link_arrow img {
    height: 25px;
    width: 25px;
  }
}

.footercontainer {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  align-content: center;
  border-top: solid thin;
  padding-top: var(--g-xl);
  padding-bottom: 6rem;
  padding-left: 15px;
  padding-right: 15px;
  row-gap: 2rem;
}

.footer-item {
  width: 157px;
}

.footer-item .logo {
  width: 160px;
}

.footer-item h3 {
  margin-bottom: var(--g-xs);
}

@media screen and (min-width: 1000px) {
  .footercontainer {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-start;
    align-content: center;
    border-top: solid thin;
    padding-top: var(--g-xl);
    padding-bottom: var(--g-xxl);
    padding-left: 15px;
    padding-right: 15px;
  }

  .footer-item {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: flex-start;
    align-content: center;
  }

  .footer-item .logo {
    width: 220px;
  }
}

.footer-item ul li a,
.footer-item a {
  color: var(--black);
}
.socialmedia_container {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: flex-start;
  gap: 1rem;
}
.footer-item ul li {
  list-style-type: none;
}

.swiper-container {
  width: 100%;
  height: 700px;
  padding-top: 53px;
  box-sizing: border-box;
}

.swiper-slide {
  width: 373px;
  height: 560px;
  background-position: center;
  background-size: cover;
}

.swiper-slide img {
  border-radius: 2px;
  max-width: 373px;
  max-height: 560px;
}

.swiper-slide:nth-child(2) {
  background-image: url("img/swiper/image2.png");
}

.swiper-slide:nth-child(3) {
  background-image: url("img/swiper/image3.png");
  position: relative;
  top: -80px;
}

.swiper-slide:nth-child(4) {
  background-image: url("img/swiper/image4.png");
}

.swiper-slide:nth-child(5) {
  background-image: url("img/swiper/image5.png");
  position: relative;
  top: 80px;
}

.swiper-slide:nth-child(1) {
  background-image: url("img/swiper/image1.png");
  position: relative;
  top: -80px;
}

/* .swiper-slide:nth-child(6) {
  background-image: url('img/swiper/image5.png');
  position: relative;
  top: 80px;
} */

.odd-slide {
  position: relative;
  top: 80px;
}

.swiper-button-prev {
  left: 30px;
}

.swiper-button-next {
  right: 30px;
}

@media (max-width: 767.98px) {
  .swiper-slide {
    width: 100%;
  }

  .odd-slide {
    top: 0;
  }
}

.card_messe {
  display: none;
  margin-bottom: var(--g-xl);
}

.messe3 img,
.messe4 img{
  -webkit-box-shadow: -6px 12px 10px -9px #000000;
  box-shadow: -6px 12px 10px -9px #000000;
  border-radius: 3px;
  border: solid thin black;
}

.messe3 img{
  width:100%;
  max-width:339px;
  display:block;
  margin-left:auto;
  margin-right:auto;
}
.messe4 img{
  width:95%;
  position:relative;
  display:block;
  top:-2rem;
  margin-left:auto;
  margin-right:auto;
  max-width:323px;
}

@media screen and (min-width: 1000px) {
  .parent_messestand {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
  }

  .messe1 {
    grid-area: 1 / 1 / 2 / 2;
  }

  .messe2 {
    grid-area: 1 / 2 / 3 / 3;
  }

  .messe3 {
    grid-area: 2 / 1 / 4 / 2;
  }

  .messe4 {
    grid-area: 3 / 2 / 5 / 3;
  }

  .messe3 img {
   width:342px;
   height:331px;
   position:relative;
   z-index:-1;
   top:1rem;
   max-width:unset;
   max-height:unset;
   
  }

  .messe4 img {
    width:581px;
    height:382px;
    margin-top:2rem;
    position:relative;
    top:-9rem;
    right:3rem;
    max-width:unset;
    max-height:unset;
  }
}

@media screen and (min-width:1200px){
  .messe3 img{
    display:unset;
    width:495px;
    height:456px;
  }

  .messe4 img{
    display:unset;
    height:382px;
    right:6rem;
    position:relative;
  }
}

@media screen and (min-width:1400px){
  .messe3 img{
    width:495px;
    height:456px;
    left:7rem;
  }
  .messe4 img{
    width:635px;
    height:396px;
    right:7rem;
  }
}