:root {
  --primary-color: #00a79d;
  --secondary-color: #005651;
  --dark-bg: #1a202c;
  --light-bg: #f7fafc;
  --text-dark: #2d3748;
  --text-light: #edf2f7;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Inter', sans-serif;
  background-color: var(--light-bg);
  color: var(--text-dark);
  overflow-x: hidden;
}
.bg-gradient-custom {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}
.text-gradient {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.section.visible {
  opacity: 1;
  transform: translateY(0);
}

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--dark-bg);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.8s ease 4.5s, visibility 0.8s ease 4.5s;
}
#handshake-svg {
  width: 200px;
  height: 200px;
  overflow: visible;
}
#left-hand,
#right-hand {
  fill: var(--primary-color);
  stroke: var(--text-light);
  stroke-width: 2;
}
#left-hand {
  animation: shake-left 4s ease-in-out forwards;
}
#right-hand {
  animation: shake-right 4s ease-in-out forwards;
}
#info-popup {
  animation: slide-in 1s ease-out forwards;
}
@keyframes slide-in {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
#impressum-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.7s ease-in-out;
}
#close-popup-btn {
  font-size: 1.5rem;
  line-height: 1;
}
