/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Base layout */
body {
  background: url("../img/bg2.jpg") no-repeat center center fixed;
  background-size: cover;
  font-family: "Finlandica", sans-serif;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  position: relative;
  text-align: center;
  padding: 5vh 5vw;
}

/* Noise effect */
.noise {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../img/noise.gif");
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
}

/* Logo */
.logo-link {
  text-decoration: none;
  z-index: 10;
}

.logo {
  width: 60vw;
  max-width: 800px;
  margin-top: 5vh;
  filter: invert(50%);
  z-index: 10;
}

/* Main content */
.impressum-container {
  z-index: 5;
  background-color: rgba(20, 20, 20, 0.6);
  border-radius: 12px;
  padding: 4vh 6vw;
  margin-top: 6vh;
  max-width: 800px;
  text-align: left;
  backdrop-filter: blur(4px);
}

.impressum-container h1 {
  font-size: 3vw;
  margin-bottom: 2vh;
  text-align: center;
}

.impressum-container p {
  font-size: 1.3vw;
  line-height: 1.8;
  margin-bottom: 1.5vh;
  color: rgba(220, 220, 220, 0.9);
}

.disclaimer {
  font-size: 1.1vw;
  color: rgba(200, 200, 200, 0.8);
}

/* Footer */
footer {
  display: flex;
  justify-content: center;
  gap: 4vw;
  margin-top: auto;
  padding: 4vh 0;
  width: 100%;
  font-size: 1.3vw;
  z-index: 5;
}

footer a {
  color: rgba(200, 200, 200, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: white;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .logo {
    width: 80vw;
  }

  .impressum-container {
    padding: 5vh 8vw;
    margin-top: 4vh;
  }

  .impressum-container h1 {
    font-size: 7vw;
  }

  .impressum-container p {
    font-size: 4vw;
  }

  .disclaimer {
    font-size: 3.5vw;
  }

  footer {
    flex-direction: column;
    gap: 2vh;
    font-size: 4vw;
  }
}
