@charset "UTF-8";
html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* optional, um horizontales Scrollen zu verhindern */
  scroll-behavior: smooth;
}

/* Verhindere das Scrollen des gesamten Dokuments */
body {
  overflow: hidden; /* Verhindert das vertikale Scrollen des Body */
  margin: 0; /* Entfernt eventuelle Standard-Margins */
  font-family: "Social", sans-serif;
  font-weight: regular;
  font-style: normal;
  font-size: 1.1em;
  line-height: 1.2em;
  background-color: #f9f9fc; /* #27a1dc #acd7f2 #0181d7 */
}

body.dark {
  background-color: #C4C4CC;
}

*::selection {
  color: #fff;
  background-color: #fff;
}

h1 {
  font-size: 1em;
  font-weight: normal;
  margin: 0;
}

h2 {
  line-height: 0.95em;
}

h3 {
  font-size: 1em;
  margin: 0;
}

ul, li {
  list-style-type: none;
  margin: 0;
  padding: 0em;
}

ul.list li {
  list-style-type: disc;
  margin-left: 1em;
}

a {
  color: inherit;
  position: relative;
  text-decoration: none;
  text-shadow: 0px 0px 3px #fff;
}

a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1.5px;
  height: 1px;
  background-color: #C4C4CC;
  z-index: -1;
}

a:hover::after {
  background-color: #000;
  transition: 1s;
}

a:active {
  color: #9C0101;
}

a.active, p.active {
  font-weight: bold;
}

a.nolinkstyle {
  border: none;
  color: inherit;
  text-shadow: none;
}

a.nolinkstyle::after {
  border: none;
  color: inherit;
  text-shadow: none;
  background-color: transparent;
}

/* Vollflächiger Preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(246, 246, 255, 0.8); /* Passe die Hintergrundfarbe an */
  z-index: 1000;
  opacity: 1;
  transition: opacity 1s ease;
}

.preloader-logo {
  max-width: 420px;
  margin-top: -8em;
}

.list-number {
  background-color: #fff;
  border: 1px solid #000;
  border-radius: 100px;
  top: -0.8em;
  margin-right: 0.375em;
  font-size: 0.8em;
  padding: 0.4em;
}

.capslock {
  text-transform: uppercase;
  letter-spacing: 0.275px;
  font-size: 0.8em;
  margin-right: 0.25em;
  font-weight: bold;
}

/* Hintergrundcontainer */
.background-image {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s;
  z-index: 10; /* Im Hintergrund anzeigen */
  pointer-events: none; /* Verhindert Interaktionen */
  /* mix-blend-mode: multiply; soft-light */
  /* mix-blend-mode: exclusion; !!EXPERIMENTAL!! LOVE IT  – vllt EXCLUSION
  mix-blend-mode: difference; 
  mix-blend-mode: multiply; */
}

/* Container für das Video im Hintergrund */
.video-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1; /* Damit es hinter dem Inhalt liegt */
  opacity: 0.3;
}

#background-video {
  transition: opacity 0.5s ease;
}

#background-video.hidden {
  opacity: 0;
  pointer-events: none;
}

.toggle-button {
  position: fixed;
  top: 15px;
  right: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 9999; /* Sicherstellen, dass der Button vor dem Video sichtbar ist */
}

.toggle-button img {
  width: 30px;
  height: 30px;
}

video {
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* Optimiert das Laden des Videos */
  loading: lazy;
}

/* Styling für den Rest der Seite */
.content {
  position: relative;
  z-index: 1; /* Über das Video legen */
  color: white;
  text-align: center;
  font-size: 2em;
  padding: 50px;
}

/* Gesamtcontainer */
.scroll-container {
  width: 100vw;
  height: 96vh;
  margin-top: 2em;
  overflow-x: scroll; /* Ermöglicht horizontales Scrollen */
  overflow-y: hidden; /* Verhindert vertikales Scrollen */
  /*white-space: nowrap;*/
  position: relative;
  direction: rtl; /* Scrollrichtung von rechts nach links */
  box-sizing: content-box;
  z-index: 10; /* Über dem Hintergrund anzeigen */
  text-shadow: #fff 0 0 4px;
}

.scroll-container.has-preloader {
  opacity: 0; /* PRELOADER-ANIMATION */
  transition: opacity 1s ease; /* PRELOADER-ANIMATION */
  display: none; /* PRELOADER-ANIMATION */
}

/* Unsichtbare "Fluß"-Spur */
.river {
  position: relative;
  /* margin-top: 2em !important; */
  height: 100%; /* Passt die Höhe an die des Containers an */
  /* width: 1200px;/Breite des gesamten Flussverlaufs anpassen */
  /* padding-left: 28em; Abstand zum rechten Rand des Containers (etwa ein Drittel) */
  display: inline-block;
  z-index: 15;
}

/* Text-Block Styling */
.text-block {
  margin-bottom: 2em;
}

.text-block h2 {
  font-size: 1.5em;
  margin-bottom: 0.5em;
}

.text-block p {
  font-size: 1em;
  line-height: 1.4;
}

/* textbox/headline !! */
.photo.headline {
  background: transparent;
}

.photo.headline h2 {
  margin-bottom: 0.1em;
}

.textbox button, .headline button {
  background: transparent;
  border: none;
  padding: 0;
  border-radius: 6px;
  font-size: 0.6em;
  font-weight: bold;
  font-family: "ABCDiatypeMono", monospace;
}

/* Bild-Block Styling */
.image-block {
  text-align: center;
  margin-bottom: 2em;
}

.image-block img {
  max-width: 100%; /* Bild passt sich an die Breite des Containers an */
  height: auto;
}

.image-block p {
  margin-top: 0.5em;
  font-size: 0.9em;
  color: #666; /* Leichte Textfarbe für Bildunterschriften */
}

/* Top-Bar */
.top-bar {
  font-family: "Social", sans-serif;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2em;
  background-color: #F6F6FF;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
}
.top-bar .vk {
  position: absolute;
  left: 0.75em;
}
.top-bar .sb {
  position: absolute;
  right: 0.75em;
}
.top-bar a {
  text-decoration: none;
  color: #000;
  opacity: 0.275;
}
.top-bar a::after {
  background: none;
}
.top-bar a:hover {
  opacity: 1;
  transition: opacity 0.5s;
}

#top-bar-text {
  margin: 0;
  font-size: 1em; /* Passe die Schriftgröße nach Bedarf an */
}

.vertical-line {
  border-right: 1px solid #000;
  height: 96vh;
  margin-top: 2em;
  width: 1px;
}

/* Fotos */
.photo {
  direction: ltr;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: crosshair;
  z-index: 30;
}

.img-wrapper {
  width: 140px;
  height: 140px;
  overflow: hidden;
  margin: auto;
  position: relative;
  background-color: #F6F6FF;
}

.photo img {
  width: 210px; /* Größe der Fotos anpassen */
  height: auto;
  opacity: 1;
  position: absolute;
  left: -20%;
  z-index: 15;
  transition: opacity 0.5s;
  mix-blend-mode: none;
}

.photo img.big {
  width: 600px;
}

.photo img.distort {
  mix-blend-mode: difference;
  -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
  filter: grayscale(100%);
}

.photo {
  width: 140px; /* Größe der Fotos anpassen */
  height: 140px;
  position: absolute;
  top: 0;
  z-index: 15;
  background: #fff;
}

.photo.headline {
  width: 170px;
  height: auto !important;
}

.photo-bg {
  z-index: 5;
}

/* Fotos einblenden, wenn sie in den Viewport kommen */
.photo.visible img {
  opacity: 1;
}

/* Einfache Slideshow */
.slideshow-container {
  margin-top: 3em;
  position: relative;
  width: 80%;
  max-width: 800px;
}

.slide {
  display: none;
  position: absolute;
  width: 100%;
}

.slide img {
  width: 100%;
}

.fade {
  animation-name: fade;
  animation-duration: 3s;
}

@keyframes fade {
  from {
    opacity: 0.7;
  }
  to {
    opacity: 1;
  }
}
/* Textbox unter den Fotos */
.caption {
  margin-top: 0px;
  text-align: left;
  font-size: 14px;
  color: #000;
  /* background-color: rgba(255, 255, 255, 0.8); Hintergrund leicht ausgeblendet */
}

.caption.img {
  font-family: "ABCDiatypeMono", monospace;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 0.9px;
  line-height: 1.2em;
  font-size: 0.575em;
  opacity: 0; /* Anfangs vollständig ausgeblendet */
  transition: opacity 0.5s ease; /* Sanfte Einblendung */
  text-shadow: #fff 0 0 4px;
}

.caption .list-number {
  color: #000;
  padding: 0.4em 0.4em 0.4em 0.5em;
  position: absolute;
  top: -3.6em;
  left: -28px;
}

.caption.img {
  display: inline-block;
  width: 180px;
  position: absolute;
  bottom: -4em;
}

/* Klasse zum Einblenden der Texte */
.caption.img.visible {
  opacity: 1; /* Vollständig sichtbar */
}

.caption.text {
  height: 100vh !important;
  border-left: 1px solid #000;
  border-right: 1px solid #000;
  padding: 0.1em 1em 0 1em;
  background: none;
  opacity: 1;
  font-size: 1em;
  line-height: 1.4em;
  margin-top: 0.5em;
  margin-left: 4em;
  margin-right: -6.2em;
}

.caption.text.big {
  margin-left: 4.5em;
  margin-right: -8em;
  background-color: rgba(255, 255, 255, 0.6);
}

.photo.textbox {
  width: 350px;
  height: 100vh !important;
  top: -1em !important;
  transform: translateY(0) !important;
  direction: ltr;
  z-index: 0;
  background-color: transparent;
  opacity: 1;
}

.hide {
  opacity: 0 !important;
}

/* Hover-Effekt für die Textbox */
.photo:hover .caption {
  opacity: 1;
}

/* Fixierte Textbox am linken Rand */
.fixed-textbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 19em;
  margin-top: 1.75em;
  height: 96vh; /* Vollständige Höhe des Viewports */
  overflow-y: scroll; /* Ermöglicht vertikales Scrollen innerhalb der Box */
  /* background-color: rgba(255, 255, 255, 0.9); */
  padding: 0.9em 0.2em 0em 0.2em;
  /* box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2); */
  z-index: 30; /* Über dem Hintergrund, aber unter anderen Inhalten */
  direction: ltr; /* Setzt die Scrollbar auf die linke Seite */
  transition: transform 0.5s ease; /* Animation für das Ein- und Ausblenden */
  transform: translateX(0); /* Standardposition */
  border-right: 1px solid #000;
  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
}

.fixed-textbox.has-preloader {
  opacity: 0; /* PRELOADER-ANIMATION */
  display: none; /* PRELOADER-ANIMATION */
  transition: opacity 1s ease; /* PRELOADER-ANIMATION */
}

.fixed-textbox nav p {
  padding-left: 0.7em;
}
.fixed-textbox nav a {
  padding-left: 0em;
  transition: 0.2s;
  position: relative;
}
.fixed-textbox nav a:hover {
  padding-left: 0.2em;
  transition: 0.3s;
}
.fixed-textbox nav .button {
  font-family: "ABCDiatypeMono", monospace;
  font-weight: bold;
  font-size: 0.575em;
  letter-spacing: 0.6px;
  position: absolute;
  top: 0.5px;
  margin-left: 0.5em;
  width: 12em;
}
.fixed-textbox nav .nbsp {
  margin-left: 0.4em;
}

.fixed-textbox:hover {
  background-color: rgb(255, 255, 255);
  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
}

.fixed-textbox p:nth-of-type(1) {
  margin: 0;
  border: 0;
  padding-top: 0;
}

.fixed-textbox p {
  border-top: 1px solid #000;
  padding-top: 0.1em;
  margin-top: 1.1em;
}

/* Setzt den Inhalt der Textbox wieder in die normale Leserichtung */
.fixed-textbox * {
  direction: ltr;
}

/* Anpassung der Scrollbars (WebKit-Browser) */
.fixed-textbox::-webkit-scrollbar,
.scroll-container::-webkit-scrollbar {
  width: 0px;
  height: 1px;
}

.fixed-textbox,
.scroll-container {
  scrollbar-width: none; /* Versteckt die Scrollbar */
}

.fixed-textbox::-webkit-scrollbar-thumb,
.scroll-container::-webkit-scrollbar-thumb {
  background-color: rgb(0, 0, 0);
  width: 3px;
  width: 3px;
}

.fixed-textbox::-webkit-scrollbar-track,
.scroll-container::-webkit-scrollbar-track {
  background: rgba(200, 200, 200, 0.2);
}

/* .background-color_textbox {
    position: fixed;
    top: 0;
    left: 0;
    width: $textbox-width;
    height: 100vh;
} */
.scroll-arrows {
  position: fixed;
  top: 0.275em;
  left: 50%;
  transform: translateX(-50%);
  /* right: 10em; */
  z-index: 140; /* Über anderen Elementen */
}

.scroll-arrows button {
  background-color: transparent;
  border: 1px solid #000;
  color: #000;
  font-size: 12px;
  padding: 0.3em 0.75em;
  cursor: pointer;
  user-select: none; /* Verhindert Textauswahl */
  border-radius: 8px;
  margin: 0 120px;
}

.scroll-arrows button:active {
  background-color: #fff; /* Veränderung des Aussehens beim Gedrückthalten */
  color: #000;
}

.footer-list {
  position: absolute;
  bottom: 6em;
}

footer {
  position: fixed;
  bottom: 0em;
  width: 100%;
  left: 0.1em;
  z-index: 40;
}
footer p, footer img {
  display: inline-block;
}
footer .align-right {
  position: absolute;
  right: 0.5em;
  bottom: 0em;
  width: auto;
}
footer img.logo.main {
  position: absolute;
  height: 3.4em;
  bottom: 1em;
  left: 0.765em;
}
footer .align-right img.logo.aris {
  height: 2em;
  display: inline-block;
  margin-bottom: 1em;
}
footer .align-right img.logo.fszs {
  height: 2.3em;
  display: inline-block;
  margin-left: 0.675em;
  margin-right: 0.5em;
  margin-bottom: 0.775em;
}
