@font-face {
  font-family: "Creato Display";
  src: url("font/CreatoDisplay-Regular.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  color-scheme: light dark;
}

html,
body {
  background: transparent;
  color: black;
}

html.dark-mode,
body.dark-mode {
  background: transparent;
  color: white;
}

body {
  font-family: "Creato Display", sans-serif;
  padding: 40px;
  line-height: 1.5;
  transition: color 0.2s ease;
}

h1, h2, h3, p, a, li, div, span {
  font-family: "Creato Display", sans-serif;
  color: inherit;
}

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

/* ---------------- CUSTOM SCROLLBAR ---------------- */

/* Firefox */
html,
body {
  scrollbar-width: auto;
  scrollbar-color: currentColor transparent;
}

/* WebKit / Chromium */
::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: currentColor;
  border: none;
  border-radius: 0;
}

::-webkit-scrollbar-corner {
  background: transparent;
}


/*--------------VIDEOUEBERSICHT------------------ */

.video-card:hover {
  transform: translateY(-2px);
}

.video-thumb {
  width: 100%;
  height: auto;
  display: block;
  border: none;
}


.video-info p {
  margin-bottom: 8px;
  font-size: 1rem;
}

/* Videoübersicht */
.videos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 24px;
}

.video-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
  align-items: start;
  border: 1px solid currentColor;
  padding: 16px;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.video-card:hover {
  transform: translateY(-2px);
}



.video-info h2 {
  margin-bottom: 10px;
  font-size: 1rem;
  font-weight: normal;
}

html,
body {
  background: transparent;
  color: black;
}

body.dark-mode,
html.dark-mode {
  background: transparent;
  color: white;
}

.video-viewer {
  margin: 24px 0 32px 0;
  border: 1px solid currentColor;
  padding: 16px;
}

.video-viewer.hidden {
  display: none;
}

.video-player-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.video-embed-wrap {
  width: 100%;
  height: 380px;
  border: 1px solid currentColor;
  background: transparent;
  overflow: hidden;
}

.video-embed {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}


.video-meta h2 {
  margin-bottom: 10px;
  font-size: 1rem;
  font-weight: normal;
}

.video-meta p {
  margin-bottom: 10px;
}

/* ---------------- ABOUT PAGE ---------------- */

.about-page {
    max-width: 1100px;
    margin: 0 auto;
}

.hero {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 80px;
    align-items: center;
    margin: 60px 0 120px;
}

.hero-gif {
    width: 100%;
    display: block;
    animation: float 5s ease-in-out infinite;
}

.hero-text h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: normal;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.hero-text p {
    max-width: 600px;
    font-size: 1.05rem;
    opacity: .8;
}

.gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 120px;
}

.image-card {
    overflow: hidden;
}

.image-card img {
    width: 100%;
    display: block;
    transition: transform .5s ease;
}

.image-card:hover img {
    transform: scale(1.03);
}

.offset {
    margin-top: 90px;
}

.about-text {
    max-width: 720px;
    margin: auto;
}

.about-text p {
    margin-bottom: 30px;
    opacity: .85;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }

}

.hero,
.gallery,
.about-text {
    opacity: 0;
    transform: translateY(25px);
    animation: fadeUp .8s ease forwards;
}

.gallery {
    animation-delay: .15s;
}

.about-text {
    animation-delay: .3s;
}

@keyframes fadeUp {

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

@media (max-width: 800px) {

    .hero {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-gif {
        width: 220px;
    }

    .gallery {
        grid-template-columns: 1fr;
    }

    .offset {
        margin-top: 0;
    }

}

/* ---------------- WELCOME PAGE ---------------- */

.welcome-page {
    max-width: 1100px;
    margin: 0 auto;
    animation: fadeUp .8s ease;
}

.welcome-banner {
    width: 100%;
    display: block;
    margin-bottom: 70px;
}

.welcome-hero {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 90px;
}

.welcome-gif {
    width: 100%;
    animation: float 5s ease-in-out infinite;
}

.welcome-text h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: normal;
    margin-bottom: 25px;
}

.welcome-text p {
    margin-bottom: 22px;
    max-width: 650px;
    opacity: .85;
}

.welcome-content {
    display: grid;
    grid-template-columns: 2fr 180px;
    gap: 60px;
    align-items: start;
}

.video-wrapper {
    border: 1px solid currentColor;
    overflow: hidden;
}

.video-wrapper iframe {
    width: 100%;
    height: 420px;
    border: none;
    display: block;
}

.snowman {
    width: 100%;
    animation: float 6s ease-in-out infinite;
}

@media (max-width: 850px) {

    .welcome-hero {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .welcome-gif {
        width: 200px;
    }

    .welcome-content {
        grid-template-columns: 1fr;
    }

    .snowman {
        width: 150px;
    }

    .video-wrapper iframe {
        height: 300px;
    }

}

/* ---------------- IMPRESSUM ---------------- */

body.datenschutz-page {
  padding: 40px;
  overflow-y: auto;
}

.subpage-layout {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

.subpage-image {
  flex: 0 0 auto;
}

.justice-gif {
  display: block;
  max-width: 180px;
  width: 100%;
  height: auto;
  cursor: pointer;
}

.subpage-text {
  flex: 1;
  max-width: 850px;
}

.subpage-text p {
  font-size: 1rem;
  line-height: 1.65;
  white-space: normal;
}

.subpage-text a {
  text-decoration: underline;
}

/* ---------------- GENERAL SUBPAGE ANIMATIONS ---------------- */

@keyframes float-soft {
  0%, 100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/*------------------ CARD ANIMATIONS ------------------*/
.fade-up {
  opacity: 0;
  transform: translateY(25px);
  animation: fadeUp 0.8s ease forwards;
}

.fade-up-delay-1 {
  animation-delay: 0.15s;
}

.fade-up-delay-2 {
  animation-delay: 0.3s;
}

.fade-up-delay-3 {
  animation-delay: 0.45s;
}

.float-soft {
  animation: float-soft 5s ease-in-out infinite;
}

.video-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
  align-items: start;
  border: 1px solid currentColor;
  padding: 16px;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
  opacity: 0;
  transform: translateY(18px);
  animation: fadeUp 0.6s ease forwards;
}


@media (max-width: 850px) {
  .subpage-layout {
    flex-direction: column;
    gap: 24px;
  }

  .subpage-image {
    width: 100%;
  }

  .justice-gif {
    max-width: 180px;
  }

  .subpage-text {
    max-width: 100%;
  }
}

@media (max-width: 850px) {
  .video-card {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .video-thumb {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 850px) {
  .video-embed-wrap {
    height: 240px;
  }
}

@media (max-width: 850px) {
  .video-card {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .video-thumb {
    width: 100%;
    height: auto;
  }

  .video-date,
  .video-duration,
  .video-description,
  .video-tags {
    display: none;
  }

  .video-info h2 {
    margin-bottom: 0;
  }
}