* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #241c18;
  color: #ffffff;
  overflow-x: hidden;
  cursor: none;
}

/* Globale Overlays */
.overlay {
  position: fixed;
  inset: 0;
  background:
    linear-gradient(to right, rgba(28, 20, 18, 0.55), rgba(28, 20, 18, 0.14)),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02), rgba(18, 12, 10, 0.10));
  pointer-events: none;
  z-index: 2;
}

.noise-overlay {
  position: fixed;
  inset: 0;
  background: url("../images/noise.gif") repeat;
  opacity: 0.05;
  pointer-events: none;
  z-index: 3;
}

/* Custom Cursor */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  background: #ffffff;
  border-radius: 50%;
  pointer-events: none;
  z-index: 2147483647;
  will-change: transform, width, height;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 40px 60px;
  overflow: hidden;
  z-index: 4;
}

/* Logo */
.logo-link {
  position: absolute;
  top: 34px;
  left: 60px;
  display: inline-block;
  z-index: 10;
  text-decoration: none;
}

.logo {
  width: clamp(90px, 8vw, 110px);
  height: auto;
  display: block;
}

/* Hero Text */
.hero-left {
  position: absolute;
  left: 60px;
  top: 420px;
  z-index: 8;
  max-width: none;
}

.hero-text h1 {
  font-size: clamp(3.2rem, 7vw, 7rem);
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #f3f3f3;
  margin-bottom: 26px;
  white-space: nowrap;
}

.hero-text h1 span {
  display: inline-block;
}

.ivo-animate {
  position: relative;
  display: inline-block;
  color: #ffffff;
  white-space: nowrap;
  line-height: 1;
  vertical-align: top;
}

.ivo-animate::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  overflow: hidden;
  white-space: nowrap;
  color: #d14a4a;
  -webkit-text-stroke: 2px #ffffff;
  pointer-events: none;
  animation: ivoFill 10s ease-in-out infinite;
  animation-delay: 1s;
}

.hero-tagline {
  display: inline-block;
  background: #d14a4a;
  padding: 10px 16px;
}

.hero-tagline span {
  color: #ffffff;
  font-size: clamp(1rem, 1.4vw, 1.8rem);
  line-height: 1.2;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

/* Menübutton oben rechts */
.hero-top-right {
  position: fixed;
  top: 34px;
  right: 40px;
  z-index: 10000;
  pointer-events: auto;
}

.menu-trigger {
  width: 58px;
  height: 58px;
  border: none;
  border-radius: 50%;
  background: #d14a4a;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: none;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.35s ease;
}

.menu-trigger:hover {
  transform: scale(1.05);
  box-shadow: 0 0 0 8px rgba(209, 74, 74, 0.14);
}

.menu-trigger:hover .menu-dots span {
  transform: scale(1.1);
}

.menu-dots {
  width: 32px;
  height: 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.menu-dots span {
  width: 7px;
  height: 7px;
  background: #ffffff;
  border-radius: 50%;
  display: block;
  transition:
    transform 0.2s ease,
    background-color 0.35s ease;
}

.menu-trigger.menu-light {
  background: #ffffff;
}

.menu-trigger.menu-light .menu-dots span {
  background: #d14a4a;
}

/* Hero Bild */
.hero-right {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 52%;
  height: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  z-index: 5;
  pointer-events: none;
}

.hero-image {
  width: auto;
  height: 100%;
  max-height: 108vh;
  max-width: none;
  object-fit: contain;
  opacity: 0;
  transform: translateY(180px);
  animation: riseIn 1.8s ease-out forwards;
  animation-delay: 0.6s;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.38));
}

/* Fullscreen Menü */
.fullscreen-menu {
  position: fixed;
  inset: 0;
  background: rgba(7, 7, 7, 0.96);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 40;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.35s ease,
    visibility 0.35s ease;
}

.fullscreen-menu.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.fullscreen-menu ul {
  list-style: none;
  text-align: center;
}

.fullscreen-menu li {
  margin: 16px 0;
}

.fullscreen-menu a {
  color: #ffffff;
  text-decoration: none;
  font-size: clamp(1.5rem, 3vw, 3.5rem);
  font-weight: 300;
  letter-spacing: 0.03em;
  transition: opacity 0.25s ease;
}

.fullscreen-menu a::after {
  content: ".";
  color: #d14a4a;
  margin-left: 4px;
}

.fullscreen-menu li:last-child a::after {
  content: "";
}

.fullscreen-menu a:hover {
  opacity: 0.75;
}

.menu-close {
  position: absolute;
  top: 28px;
  right: 34px;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 3rem;
  line-height: 1;
  cursor: none;
}

/* Sektionen */
.panel {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: clamp(70px, 8vw, 120px) clamp(24px, 5vw, 70px);
  position: relative;
  z-index: 4;
}

.panel-red {
  background: #d14a4a;
}

.content {
  max-width: 780px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 18px;
}

.content h2 {
  font-size: clamp(2rem, 5vw, 4.4rem);
  line-height: 1.1;
  margin-bottom: 22px;
  font-weight: 700;
}

.content p {
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.88);
  max-width: 720px;
}

/* Footer */
.site-footer {
  padding: 28px 24px 40px;
  text-align: center;
  color: rgba(255, 255, 255, 0.65);
  position: relative;
  z-index: 4;
}

/* Animationen */
@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(180px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ivoFill {
  0% {
    width: 0;
  }
  25% {
    width: 0;
  }
  45% {
    width: 100%;
  }
  65% {
    width: 100%;
  }
  85% {
    width: 0;
  }
  100% {
    width: 0;
  }
}

/* Responsive */
@media (max-width: 980px) {
  body {
    cursor: auto;
  }

  .custom-cursor {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 30px 24px 0;
  }

  .logo-link {
    top: 24px;
    left: 24px;
  }

  .logo {
    width: 82px;
  }

  .hero-left {
    position: relative;
    left: auto;
    top: auto;
    z-index: 8;
    padding-top: 120px;
    max-width: 100%;
  }

  .hero-text h1 {
    font-size: clamp(3rem, 12vw, 5rem);
    white-space: normal;
  }

  .hero-tagline span {
    white-space: normal;
  }

  .hero-top-right {
    top: 24px;
    right: 24px;
  }

  .hero-right {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    height: auto;
    justify-content: center;
    min-height: auto;
    margin-top: 30px;
    pointer-events: auto;
  }

  .hero-image {
    height: auto;
    max-height: 70vh;
    max-width: 100%;
  }

  .menu-trigger,
  .menu-close {
    cursor: pointer;
  }

  .fullscreen-menu a {
    font-size: clamp(1.4rem, 7vw, 2.3rem);
  }
}