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

html, body {
  height: 100%;
}

body {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-size: .875rem;
  font-weight: 400;
  font-style: normal;
  color: #000;
  margin: 0;
  overflow: hidden;
  position: relative;
}

/* - - - NAVIGATION - - - */
.nav a {
  text-decoration: none;
  text-transform: uppercase;
  font-size: .8rem;
  color: #000;
}

/* - - - CONTENT – – – */
.container {
  display: flex;
  max-width: 480px;
  height: 100vh;
  position: absolute;
  top: 0;
  left: 0;
  padding: 1.5rem 0rem 0rem 1rem;
  overflow: hidden; /* 👉 Bild kann rausgeschnitten werden */
}

.image-wrapper {
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  height: 100%;
}

/* Linke Spalte */
.nav {
  width: 2rem;
  display: flex;
  justify-content: center;
  position: relative;
}

/* Gedrehte Links */
.links {
  display: flex;
  gap: 1.75rem .25rem;
  white-space: nowrap;
  position: fixed;
  bottom: 1rem;
  left: 2rem;
  transform: rotate(-90deg);
  transform-origin: left bottom;
  z-index: 10;
}

/* Rechte Spalte (Content) */
.content {
  padding-left: .5rem;
}

.text {
  margin-left: .5rem;
  margin-right: 1rem;
}

p {
  line-height: 140%;
  margin-bottom: 2rem;  
}

.link {
  color: #000;
  transition: 0.3s;
  text-decoration-color: #000;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  cursor: pointer;
  line-height: 160%;
}

.iconoir {
  font-size: 1.125rem;
  margin-left: .25rem;
  margin-bottom: -6px;
}

@media(hover: hover) and (pointer: fine) {
  .link:hover, .link:focus {
    color: #000;
    text-decoration-color: #fff;
    transition: .1s;
  }
}

.blinking-text {
  animation: blink 1s infinite;
}

@keyframes blink {
  0% {
      opacity: 1;
  }

  50% {
      opacity: 0;
  }

  100% {
      opacity: 1;
  }
}

.bg-image {
  position: fixed;
  bottom: -8rem;
  left: 3rem;
  width: 100%;
  max-width: 320px;
  height: auto;
  display: block;
  z-index: -1;
}


/* - - - M O B I L E - - - */
@media only screen and (max-width: 400px) {
  .container {
    padding: 1rem 0rem 0rem .5rem;
  }
}

/* ✅ Nur ab 600px Höhe: Bild fixieren und sichtbar */
@media (max-height: 600px) {
  .bg-image {
    top: 25.5rem;
    /* background-color: red; */
  }
}