:root {
  --bg-color: #f5e8c7;
  --primary-color: #c73e1d;
  --secondary-color: #e6a32b;
  --text-color: #2c2c2c;
}
:root {
  --bg-color: #f5e8c7;
  --primary-color: #c73e1d;
  --secondary-color: #e6a32b;
  --text-color: #2c2c2c;
}
body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  overflow-x: hidden;
}
.bg-custom-beige {
  background-color: var(--bg-color);
}
.bg-custom-primary {
  background-color: var(--primary-color);
}
.text-custom-primary {
  color: var(--primary-color);
}
.text-custom-secondary {
  color: var(--secondary-color);
}
.border-custom-secondary {
  border-color: var(--secondary-color);
}
html {
  scroll-behavior: smooth;
}

/* Besenbande schriftzug im header (nur als idee/test) */
.besenbande {
  font-family: 'Kanit', sans-serif;
  font-size: 64px;
  color: #cc4325;
  -webkit-text-stroke: 2px #000000;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
}

.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--bg-color);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}
.broom-animation {
  width: 150px;
  height: auto;
  animation: sweep 2.5s ease-in-out forwards;
}
@keyframes sweep {
  0% {
    transform: translateX(-120vw) rotate(-30deg);
  }
  20% {
    transform: translateX(0) rotate(0deg);
  }
  45% {
    transform: translateX(30px) rotate(-70deg);
  }
  80% {
    transform: translateX(0px) rotate(0deg);
  }
  100% {
    transform: translateX(120vw) rotate(30deg);
  }
}
.dust-particle {
  position: absolute;
  background-color: #8a6e45;
  border-radius: 50%;
  opacity: 0;
  animation: particle-sweep 3s ease-out forwards;
}
.dust-particle:nth-child(2) {
  width: 6px;
  height: 6px;
  top: 50%;
  left: 50%;
  animation-delay: 0.05s;
}
.dust-particle:nth-child(3) {
  width: 4px;
  height: 4px;
  top: 52%;
  left: 49%;
  animation-delay: 0s;
}
.dust-particle:nth-child(4) {
  width: 8px;
  height: 8px;
  top: 51%;
  left: 51%;
  animation-delay: 0.1s;
}
.dust-particle:nth-child(5) {
  width: 5px;
  height: 5px;
  top: 53%;
  left: 52%;
  animation-delay: 0.15s;
}
.dust-particle:nth-child(6) {
  width: 7px;
  height: 7px;
  top: 50%;
  left: 48%;
  animation-delay: 0.08s;
}
.dust-particle:nth-child(7) {
  width: 4px;
  height: 4px;
  top: 52%;
  left: 53%;
  animation-delay: 0.2s;
}
@keyframes particle-sweep {
  0%,
  15% {
    opacity: 0;
    transform: translate(0, 0) scale(1);
  }
  16% {
    opacity: 1;
  }
  45% {
    opacity: 0.8;
    transform: translate(-20px, -20px) scale(0.8) rotate(90deg);
  }
  57.5% {
    opacity: 0.6;
    transform: translate(-20px, -20px) scale(0.6) rotate(180deg);
  }
  75%,
  100% {
    opacity: 0;
    transform: translate(-20px, -20px) scale(0) rotate(360deg);
  }
}
.hidden-content {
  opacity: 0;
}
.visible-content {
  animation: fadeIn 1s ease-in-out forwards;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.nav-link {
  position: relative;
  transition: color 0.3s;
}
.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--secondary-color);
  transition: width 0.3s ease-in-out;
}
.nav-link:hover::after {
  width: 100%;
}
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.card {
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}
#impressum {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.7s ease-in-out, opacity 0.5s ease-in-out, padding 0.7s ease-in-out;
  padding-top: 0;
  padding-bottom: 0;
}
#impressum.active {
  opacity: 1;
  max-height: 1500px;
  padding-top: 5rem;
  padding-bottom: 5rem;
}
