@charset "UTF-8";
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
  scroll-behavior: smooth;
}

#anchor {
  scroll-margin-top: 3.75em;
  /* Wenn das Ziel angeklickt wird, scrollt es 3.75em nach unten */
}

.wrapper {
  display: flex;
  flex-direction: column;
  max-width: 100%;
  justify-content: center;
  align-items: center;
  background-color: #fafafa;
}

header {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.header__video {
  position: relative;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
  z-index: 1;
  animation: greyscale 3s forwards 2s, removeGreyscale 3s forwards 13s;
}

.header__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0);
  z-index: 2;
  visibility: hidden;
  animation: fadeIn 3s forwards 2s;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.header__overlay__text {
  position: relative;
  top: 0;
  width: 100%;
  text-align: center;
  font-size: 7vw;
  font-weight: bold;
  color: #ffffff;
}

.header__overlay__text_01 {
  opacity: 0;
  animation: textAnimation 3s forwards;
  animation-delay: 1s;
  font-size: clamp(1rem, 5vw, 4rem);
  /* Dynamische Anpassung */
  max-width: 90vw;
  /* Verhindert, dass der Text zu breit wird */
  text-align: center;
}

.header__overlay__text_02 {
  opacity: 0;
  animation: textAnimation 3s forwards;
  animation-delay: 6s;
}

.header__overlay__text_03 {
  opacity: 0;
  animation: textAnimationFinal 3s forwards;
  animation-delay: 10s;
}

.header__overlay__image-container {
  opacity: 0;
  top: 66.67%;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50vw;
  animation: textAnimationFinal 3s forwards;
  animation-delay: 10s;
}

.header__overlay__image-container__logo {
  max-width: 100%;
  max-height: 100%;
  animation: float 3s ease-in-out infinite;
}

.header__overlay__image-container__logo:hover {
  animation-play-state: paused;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    background: rgba(0, 0, 0, 0);
    visibility: visible;
  }
  100% {
    opacity: 1;
    background: rgba(0, 0, 0, 0.6);
    visibility: visible;
  }
}
@keyframes greyscale {
  0% {
    filter: grayscale(0) contrast(1);
  }
  100% {
    filter: grayscale(1) contrast(3);
  }
}
@keyframes removeGreyscale {
  0% {
    filter: grayscale(1) contrast(3);
  }
  100% {
    filter: grayscale(0) contrast(1);
  }
}
@keyframes textAnimation {
  0% {
    opacity: 0;
    transform: scale(1);
  }
  10% {
    opacity: 1;
    transform: scale(1);
  }
  90% {
    opacity: 1;
    transform: scale(1.5);
  }
  100% {
    opacity: 0;
    transform: scale(2);
  }
}
@keyframes textAnimationFinal {
  0% {
    opacity: 0;
    transform: scale(0.2);
  }
  10% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-0.625em);
  }
  100% {
    transform: translateY(0);
  }
}
nav {
  height: 3.75em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 1000;
  filter: blur(10);
  background: #01545a;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
  width: 100%;
  padding-left: 1.5em;
  padding-right: 1.5em;
}
nav .menu-checkbox {
  display: none;
}
nav .nav__logo-label {
  cursor: pointer;
  position: relative;
  z-index: 1100;
  display: flex;
  align-items: center;
  gap: 10px;
}
nav .nav__logo-label::before {
  content: "";
  display: none;
}
nav .nav__logo {
  height: 3.75em;
  display: block;
}
nav .header__nav-bar {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 20px;
}
nav .header__nav-bar .header__nav-element a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.5);
  font-weight: bold;
  padding: 5px 10px;
}
nav .header__nav-element a:hover {
  color: #fff;
  /* Optional: Hier kannst du die Farbe anpassen */
  border-top: 2px solid rgba(255, 255, 255, 0.8);
  /* Rand oben */
  border-bottom: 2px solid rgba(255, 255, 255, 0.8);
  /* Rand unten */
}
@media (max-width: 1295px) {
  nav .nav__logo-label {
    position: absolute;
    right: 0.75em;
    z-index: 1100;
    cursor: pointer;
    padding-right: 38px;
  }
  nav .nav__logo-label::before {
    content: "TAP HERE >>";
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.5);
    text-shadow: 0 0 2px 2px rgba(255, 255, 255, 0.8);
    font-weight: bold;
    white-space: nowrap;
    animation: swingText 1.5s infinite ease-in-out alternate;
    display: block;
  }
  nav .header__nav-bar {
    display: none;
    position: absolute;
    top: calc(100% + 0.7em);
    right: 10px;
    width: 200px;
    background: rgba(1, 84, 90, 0.768627451);
    -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
    flex-direction: column;
    text-align: center;
    padding: 1em 0;
    border-radius: 10px;
  }
  nav .header__nav-bar .header__nav-element a {
    color: rgb(255, 255, 255);
    font-weight: bold;
  }
  nav .menu-checkbox:checked + .nav__logo-label + .header__nav-bar {
    display: flex;
  }
  nav .menu-checkbox:checked + .nav__logo-label::before {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
  }
  @keyframes swingText {
    0% {
      transform: translateX(-5px);
    }
    100% {
      transform: translateX(5px);
    }
  }
}

/* Container für die Cards */
.main__news {
  padding: 2em;
  gap: 1em;
  justify-content: center;
}

/* Macht die Checkbox unsichtbar */
.news-toggle {
  position: absolute;
  opacity: 0;
  left: -62.4375em;
  /* -9999px / 16 */
}

/* Einzelne Card */
.news-item {
  padding: 0.5em;
  width: 100%;
  max-width: 21.875em;
  /* 350px / 16 */
  margin: 1em auto;
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border-radius: 0.625em;
  /* 10px / 16 */
  box-shadow: 0 0.25em 0.625em rgba(0, 0, 0, 0.1);
  /* 4px / 16, 10px / 16 */
  overflow: hidden;
}
.news-item .news-toggle:checked ~ .news-modal {
  visibility: visible;
  opacity: 1;
  z-index: 1000;
}

/* Bildcontainer in der Card */
.news-card__image-container {
  cursor: pointer;
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 100%;
  overflow: hidden;
}

/* Bild in der Card */
.news-card__image-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

/* Inhalt der Card */
.news-card__content {
  padding: 1em;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Titel der News in der Card */
.news-card__title {
  font-size: 1.5em;
  font-weight: bold;
  color: #333;
  margin-bottom: 0.5em;
}

/* Kurzbeschreibung der News */
.news-card__description {
  font-size: 1em;
  color: #666;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  padding: 1.25em;
  /* 20px / 16 */
}

.news-toggle:checked ~ .news-modal {
  display: flex;
  visibility: visible;
  opacity: 1;
  width: auto;
  height: auto;
  overflow: visible;
  padding: 1.25em;
  transition: opacity 0.3s ease, visibility 0s, width 0s, height 0s;
}

.news-modal {
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0s 0.3s;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.25em;
  transition: opacity 0.3s ease 0.5s, visibility 0s 0.5s, transform 0.3s ease 0.5s;
}

/* Modal-Inhalt */
.modal-content {
  background-color: white;
  padding: 1.25em;
  max-width: 46.875em;
  /* 750px / 16 */
  width: 100%;
  max-height: 80vh;
  border-radius: 0.625em;
  display: flex;
  flex-direction: column;
  position: relative;
}

.modal-image {
  width: 100%;
  height: auto;
  margin-top: 1em;
  margin-bottom: 1em;
}

.modal-text {
  flex-grow: 1;
  overflow-y: auto;
  max-height: 25em;
  padding-right: 0.625em;
}

/* Schließen-Button (X) im Modal */
.close-modal {
  background-color: rgba(0, 0, 0, 0.3);
  color: white;
  font-size: 1.125em;
  /* 18px / 16 */
  font-weight: bold;
  border: none;
  cursor: pointer;
  position: absolute;
  top: 0.625em;
  /* 10px / 16 */
  right: 0.625em;
  z-index: 1001;
  width: 0.9375em;
  /* 15px / 16 */
  height: 0.9375em;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.2s ease;
}

.close-modal:hover {
  background-color: #01545a;
}

.news-toggle:checked + .news-card__image-container + .news-card__content + .news-modal {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.3s ease 0.5s, visibility 0s 0.5s, transform 0.3s ease 0.5s;
}

body:has(.news-toggle:checked) {
  overflow: hidden;
}

main {
  max-width: 120em;
  display: flex;
  flex-direction: column;
  /* Falls Elemente untereinander sein sollen */
  justify-content: center;
  /* Zentriert vertikal */
  align-items: center;
  /* Zentriert horizontal (optional) */
}

section {
  background-color: #ffffff;
  width: 100%;
  padding-top: 4.5em;
  padding-bottom: 4.5em;
  display: flex;
  flex-direction: column;
  /* Falls Elemente untereinander sein sollen */
  justify-content: center;
  /* Zentriert vertikal */
  align-items: center;
  /* Zentriert horizontal (optional) */
}

.main__news {
  background-color: transparent;
  padding-left: 0.25em;
  padding-right: 0.25em;
}

.main__news-title {
  font-size: 2.5em;
  color: rgb(1, 52, 56);
  border-bottom: 0.125rem solid rgba(255, 255, 255, 0.6);
  margin-bottom: 0.5em;
}

.main__news-content-container {
  display: flex;
  /* Flexbox für Desktop */
  max-width: 100%;
  gap: 1em;
  /* Abstand zwischen den Cards */
  flex-wrap: wrap;
  /* Damit die Cards in der mobilen Ansicht auch auf die nächste Zeile springen, wenn sie nicht mehr passen */
  /* Entferne das block layout für kleinere Bildschirme */
}
.main__news-content-container > div {
  flex: 1;
  /* Jedes Element nimmt gleich viel Platz ein */
  min-width: 15.625em;
  /* 250px converted to em (assuming 1em = 16px) */
  /* Min-Breite, damit die Cards nicht zu klein werden */
}
@media (max-width: 768px) {
  .main__news-content-container {
    flex-direction: column;
    /* Flexbox bleibt aktiv, keine Umstellung auf Block */
    display: flex;
    gap: 1em;
    /* Abstand bleibt auch hier */
  }
  .main__news-content-container > div {
    margin-bottom: 0.5em;
    /* Der Abstand zwischen den Cards in der mobilen Ansicht */
  }
}

.main__countryman-heading {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
  font-size: 7em;
  /* Je nach Bedarf anpassen */
  color: transparent;
  /* Text wird transparent gemacht */
  -webkit-text-stroke: 0.25rem #013438;
  /* Schwarzer Rand mit 2px Dicke */
  text-align: center;
}
@media (max-width: 768px) {
  .main__countryman-heading {
    font-size: 2.4em;
    -webkit-text-stroke: 0.0625rem #013438;
  }
}

.main__countryman-container,
.main__gepaeckraum-container,
.main__freihaendig-container,
.main__vorteile-container,
.main__derneue-container,
.main__all4-container {
  display: flex;
  max-width: 80%;
}
@media (max-width: 1295px) {
  .main__countryman-container,
  .main__gepaeckraum-container,
  .main__freihaendig-container,
  .main__vorteile-container,
  .main__derneue-container,
  .main__all4-container {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 80%;
  }
}

.main__countryman-container-image,
.main__gepaeckraum-container-image,
.main__freihaendig-container-image,
.main__vorteile-container-image,
.main__derneue-container-image,
.main__all4-container-image {
  display: flex;
  min-width: 20em;
  min-height: 20em;
  width: 20em;
  height: auto;
  border-radius: 50%;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  /* Ecke oben rechts entfernen */
  border: 1em solid;
  border-color: white;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.15);
}
.main__countryman-container-image > img,
.main__gepaeckraum-container-image > img,
.main__freihaendig-container-image > img,
.main__vorteile-container-image > img,
.main__derneue-container-image > img,
.main__all4-container-image > img {
  max-width: 100%;
  max-height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
@media (max-width: 1295px) {
  .main__countryman-container-image,
  .main__gepaeckraum-container-image,
  .main__freihaendig-container-image,
  .main__vorteile-container-image,
  .main__derneue-container-image,
  .main__all4-container-image {
    min-width: 15em;
    min-height: 15em;
    width: 15em;
    height: 15em;
    border: 0.55em solid;
    border-color: white;
    margin-bottom: 1em;
    border-top-right-radius: 50%;
    border-bottom-right-radius: 50%;
  }
}

.main__countryman-container-text,
.main__gepaeckraum-container-text,
.main__freihaendig-container-text,
.main__vorteile-container-text,
.main__derneue-container-text,
.main__all4-container-text {
  background-color: rgb(255, 255, 255);
  width: 70em;
  box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.15);
}
.main__countryman-container-text > h3,
.main__gepaeckraum-container-text > h3,
.main__freihaendig-container-text > h3,
.main__vorteile-container-text > h3,
.main__derneue-container-text > h3,
.main__all4-container-text > h3 {
  padding: 0.5rem;
  border-top: 0.11em white solid;
  font-size: 2.5em;
  color: #013438;
}
.main__countryman-container-text > p,
.main__gepaeckraum-container-text > p,
.main__freihaendig-container-text > p,
.main__vorteile-container-text > p,
.main__derneue-container-text > p,
.main__all4-container-text > p {
  font-size: 1.1em;
  padding: 0.5em;
  max-width: 75ch;
  line-height: 1.25em;
}
.main__countryman-container-text > ul,
.main__gepaeckraum-container-text > ul,
.main__freihaendig-container-text > ul,
.main__vorteile-container-text > ul,
.main__derneue-container-text > ul,
.main__all4-container-text > ul {
  padding: 0.5em;
  list-style: none;
  font-size: 1.1em;
  padding: 0.5em;
  max-width: 75ch;
  line-height: 1.25em;
}
@media (max-width: 80.9375em) {
  .main__countryman-container-text,
  .main__gepaeckraum-container-text,
  .main__freihaendig-container-text,
  .main__vorteile-container-text,
  .main__derneue-container-text,
  .main__all4-container-text {
    /* 1295px converted to em (assuming 1em = 16px) */
    width: 100%;
  }
}

.main__preise {
  background-color: #ffffff;
}

.main__preise-container {
  background-color: #f8f9fa;
  border-radius: 1.5em;
  box-shadow: 0 0.75em 1.5em rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Header mit Bild */
.main__preise-header {
  position: relative;
  text-align: center;
  width: 100%;
  border-top-left-radius: 1.5em;
  border-top-right-radius: 1.5em;
}
.main__preise-header > img {
  max-width: 100%;
  max-height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.main__preise-header h2 {
  position: absolute;
  bottom: 0;
  /* Direkt am unteren Rand */
  left: 0;
  width: 100%;
  /* Volle Breite */
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 2em, transparent 4em);
  /* Halbtransparenter Hintergrund */
  color: white;
  padding: 10px;
  text-align: center;
  font-size: 1.5em;
}

/* Content mit Preisen */
.main__preise-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* 2 Spalten */
  gap: 1.5em;
  padding: 2em;
  justify-content: center;
  text-align: center;
}

/* Einzelne Preiskarte */
.main__preise-item {
  background: linear-gradient(135deg, #ffffff, #f3f3f3);
  border-radius: 1em;
  padding: 1.5em;
  font-size: 1.2em;
  font-weight: 500;
  color: #333;
  box-shadow: 0 0.5em 1em rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover Effekt */
.main__preise-item:hover {
  transform: scale(1.05);
  box-shadow: 0 0.75em 1.5em rgba(0, 0, 0, 0.15);
}

/* Preis hervorheben */
.main__preise-item strong {
  display: block;
  font-size: 1.6em;
  font-weight: bold;
  color: #d0021b;
  margin-top: 0.5em;
}

/* Responsive für kleine Bildschirme */
@media (max-width: 600px) {
  .main__preise-content {
    grid-template-columns: 1fr;
    /* 1 Spalte auf kleinen Geräten */
  }
}
.main__kontakt {
  background-image: url("../img/background_2.jpg");
  background-size: cover;
  /* Passt das Bild an die Breite des Containers an */
  background-repeat: no-repeat;
  /* Verhindert das Wiederholen des Bildes */
  background-position: center;
  /* Zentriert das Bild */
  box-shadow: inset 0 2em 2em -1em rgba(255, 255, 255, 0.9), inset 0 -2em 2em -1em #013438;
  /* Unterer Schatten (Dunkelgrün) */
}

.main__kontakt-container {
  display: flex;
  flex-direction: column;
}

/* Hauptcontainer */
.main__kontakt-container {
  background: rgba(255, 255, 255, 0.8549019608);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 500px;
}

/* Überschrift */
.main__kontakt-container h2 {
  padding: 0.5rem;
  border-top: 0.11em #013438 solid;
  font-size: 2.5em;
  color: #013438;
}

/* Beschreibungstext */
.main__kontakt-container p {
  font-size: 1.1em;
  max-width: 75ch;
  line-height: 1.25em;
}

/* Label Styling */
.main__kontakt-container label {
  font-size: 1.5em;
  font-weight: bold;
  color: #013438;
  display: block;
  margin-top: 15px;
}

/* Eingabefelder */
.main__kontakt-container input,
.main__kontakt-container textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
  transition: all 0.3s ease-in-out;
}

.main__kontakt-container input:focus,
.main__kontakt-container textarea:focus {
  border-color: #013438;
  box-shadow: 0 0 5px #013438 0, 123, 255, 0.5;
  outline: none;
}

/* Textarea */
.main__kontakt-container textarea {
  resize: vertical;
}

/* Absenden-Button */
.main__kontakt-container button {
  width: 100%;
  padding: 12px;
  margin-top: 20px;
  border: none;
  border-radius: 4px;
  background: #013438;
  color: white;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out;
}

.main__kontakt-container button:hover {
  background: #017780;
}

/* Responsive Anpassung */
@media (max-width: 600px) {
  .main__kontakt-container {
    padding: 20px;
  }
  .main__kontakt-container h2 {
    font-size: 20px;
  }
  .main__kontakt-container input,
  .main__kontakt-container textarea {
    font-size: 14px;
  }
}
footer {
  display: flex;
  width: 100%;
  background-color: #013438;
  color: #ffffff;
  text-align: center;
  padding: 20px;
  font-size: 14px;
}
footer p {
  margin: 5px 0;
  color: rgba(255, 255, 255, 0.6);
}
footer a {
  color: #ffffff;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease-in-out;
}
footer a:hover {
  color: white;
}

body.modal-open,
html.modal-open {
  overflow: auto;
}/*# sourceMappingURL=style.css.map */