/* =========================================
   FARBEN
========================================= */

:root {
  --sabrina-hellbraun: #d7b987;
  --sabrina-hellbraun-hover: #bea06e;
  --sabrina-hero-blau: #73b9c7;
}



/* =========================================
   HEADERBILD / HERO
========================================= */

.headerimage-outer.kopfbild {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 660px;
  margin: 0;
  overflow: hidden;

  background-image: url("/fileadmin/user_upload/header/header.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;

  border-radius: 0;
}

.headerimage-inner {
  position: relative;
  z-index: 1;

  display: flex;
  align-items: center;
  justify-content: flex-start;

  box-sizing: border-box;
  width: 100%;
  max-width: 1280px;
  min-height: 660px;
  margin: 0 auto;
  padding: 80px 0;

  text-align: left;
}

.hero-content {
  width: 100%;
  max-width: 590px;
  margin: 135px 0 0;

  text-align: left;
  animation: hero-content-enter 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}


/* =========================================
   EYEBROW
========================================= */

.hero-eyebrow {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;

  margin: 0 0 22px;

  color: var(--sabrina-hellbraun);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-align: left;
  text-transform: uppercase;
}

.hero-eyebrow::before {
  flex: 0 0 auto;
  width: 30px;
  height: 1px;

  background: currentColor;
  content: "";
}


/* =========================================
   ANIMIERTE H1
========================================= */

.hero-content h1 {
  max-width: 570px;
  margin: 0 0 25px;

  background-image: url("/fileadmin/user_upload/header.gif");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-blend-mode: normal;

  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;

  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.02;
  text-align: left;
}

@media (min-width: 1051px) {
  .hero-content h1 {
    background-image:
      linear-gradient(
        var(--sabrina-hero-blau),
        var(--sabrina-hero-blau)
      ),
      url("/fileadmin/user_upload/header.gif");

    background-blend-mode: color, normal;
  }
}


/* =========================================
   BESCHREIBUNG
========================================= */

.hero-description {
  max-width: 510px;
  margin: 0 0 35px;

  color: #fff;
  font-size: 1.05rem;
  line-height: 1.75;
  text-align: left;
}


/* =========================================
   BUTTONS UND LINK
========================================= */

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 28px;
}

a.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  box-sizing: border-box;
  min-height: 52px;
  padding: 14px 25px;

  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;

  background: var(--sabrina-hellbraun);
  border: 1px solid var(--sabrina-hellbraun);
  border-radius: 0;
  box-shadow: none;

  transition:
    color 0.25s ease,
    background-color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}

a.hero-button:hover,
a.hero-button:focus {
  color: #fff;
  text-decoration: none;

  background: var(--sabrina-hellbraun-hover);
  border-color: var(--sabrina-hellbraun-hover);
  transform: translateY(-2px);
}

a.hero-about-link {
  position: relative;

  display: inline-flex;
  align-items: center;
  padding: 7px 0;

  color: var(--sabrina-hellbraun);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
}

a.hero-about-link::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;

  height: 1px;

  background: currentColor;
  content: "";
  transform-origin: right;
  transition: transform 0.25s ease;
}

a.hero-about-link:hover,
a.hero-about-link:focus {
  color: var(--sabrina-hellbraun-hover);
  text-decoration: none;
}

a.hero-about-link:hover::after,
a.hero-about-link:focus::after {
  transform: scaleX(0);
}


/* =========================================
   EINBLENDANIMATION
========================================= */

@keyframes hero-content-enter {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}


/* =========================================
   PARTIKEL
========================================= */

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 0;

  overflow: hidden;
  pointer-events: none;
}

.hero-particles span {
  position: absolute;
  top: var(--top);
  left: var(--left);

  width: var(--size);
  height: var(--size);

  background: var(--color);
  border-radius: 50%;
  box-shadow:
    0 0 calc(var(--size) * 2) var(--color),
    0 0 calc(var(--size) * 5) var(--glow);

  opacity: 0;
  animation: particle-float var(--duration) ease-in-out var(--delay) infinite;
}


/* =========================================
   PARTIKELVERTEILUNG 1–30
========================================= */

.hero-particles span:nth-child(1) {
  --top: 14%;
  --left: 8%;
  --size: 3px;
  --move-x: 32px;
  --move-y: -48px;
  --move-x-two: -18px;
  --move-y-two: 24px;
  --duration: 13s;
  --delay: -7s;
  --color: rgba(255, 255, 255, 0.9);
  --glow: rgba(255, 255, 255, 0.35);
}

.hero-particles span:nth-child(2) {
  --top: 29%;
  --left: 19%;
  --size: 5px;
  --move-x: -38px;
  --move-y: 30px;
  --move-x-two: 15px;
  --move-y-two: -42px;
  --duration: 18s;
  --delay: -12s;
  --color: rgba(215, 185, 135, 0.95);
  --glow: rgba(215, 185, 135, 0.4);
}

.hero-particles span:nth-child(3) {
  --top: 72%;
  --left: 12%;
  --size: 2px;
  --move-x: 46px;
  --move-y: -32px;
  --move-x-two: -10px;
  --move-y-two: -62px;
  --duration: 21s;
  --delay: -4s;
  --color: rgba(255, 255, 255, 0.8);
  --glow: rgba(255, 255, 255, 0.3);
}

.hero-particles span:nth-child(4) {
  --top: 87%;
  --left: 27%;
  --size: 4px;
  --move-x: -25px;
  --move-y: -58px;
  --move-x-two: 38px;
  --move-y-two: -16px;
  --duration: 16s;
  --delay: -9s;
  --color: rgba(215, 185, 135, 0.85);
  --glow: rgba(215, 185, 135, 0.35);
}

.hero-particles span:nth-child(5) {
  --top: 46%;
  --left: 34%;
  --size: 2px;
  --move-x: 20px;
  --move-y: 42px;
  --move-x-two: -44px;
  --move-y-two: -25px;
  --duration: 24s;
  --delay: -15s;
  --color: rgba(255, 255, 255, 0.75);
  --glow: rgba(255, 255, 255, 0.28);
}

.hero-particles span:nth-child(6) {
  --top: 18%;
  --left: 43%;
  --size: 4px;
  --move-x: -42px;
  --move-y: 38px;
  --move-x-two: 26px;
  --move-y-two: 55px;
  --duration: 19s;
  --delay: -2s;
  --color: rgba(215, 185, 135, 0.9);
  --glow: rgba(215, 185, 135, 0.4);
}

.hero-particles span:nth-child(7) {
  --top: 64%;
  --left: 49%;
  --size: 3px;
  --move-x: 54px;
  --move-y: -35px;
  --move-x-two: 12px;
  --move-y-two: 44px;
  --duration: 15s;
  --delay: -11s;
  --color: rgba(255, 255, 255, 0.9);
  --glow: rgba(255, 255, 255, 0.34);
}

.hero-particles span:nth-child(8) {
  --top: 36%;
  --left: 58%;
  --size: 2px;
  --move-x: -28px;
  --move-y: -60px;
  --move-x-two: 48px;
  --move-y-two: -8px;
  --duration: 23s;
  --delay: -17s;
  --color: rgba(215, 185, 135, 0.8);
  --glow: rgba(215, 185, 135, 0.32);
}

.hero-particles span:nth-child(9) {
  --top: 81%;
  --left: 63%;
  --size: 5px;
  --move-x: 36px;
  --move-y: -46px;
  --move-x-two: -33px;
  --move-y-two: -20px;
  --duration: 17s;
  --delay: -5s;
  --color: rgba(255, 255, 255, 0.88);
  --glow: rgba(255, 255, 255, 0.4);
}

.hero-particles span:nth-child(10) {
  --top: 12%;
  --left: 71%;
  --size: 3px;
  --move-x: -48px;
  --move-y: 52px;
  --move-x-two: 16px;
  --move-y-two: -34px;
  --duration: 22s;
  --delay: -13s;
  --color: rgba(215, 185, 135, 0.92);
  --glow: rgba(215, 185, 135, 0.38);
}

.hero-particles span:nth-child(11) {
  --top: 55%;
  --left: 78%;
  --size: 2px;
  --move-x: 40px;
  --move-y: 26px;
  --move-x-two: -24px;
  --move-y-two: -54px;
  --duration: 14s;
  --delay: -8s;
  --color: rgba(255, 255, 255, 0.85);
  --glow: rgba(255, 255, 255, 0.32);
}

.hero-particles span:nth-child(12) {
  --top: 89%;
  --left: 86%;
  --size: 4px;
  --move-x: -34px;
  --move-y: -50px;
  --move-x-two: 44px;
  --move-y-two: -28px;
  --duration: 20s;
  --delay: -16s;
  --color: rgba(215, 185, 135, 0.88);
  --glow: rgba(215, 185, 135, 0.36);
}

.hero-particles span:nth-child(13) {
  --top: 24%;
  --left: 91%;
  --size: 3px;
  --move-x: -56px;
  --move-y: -18px;
  --move-x-two: 8px;
  --move-y-two: 50px;
  --duration: 25s;
  --delay: -10s;
  --color: rgba(255, 255, 255, 0.78);
  --glow: rgba(255, 255, 255, 0.3);
}

.hero-particles span:nth-child(14) {
  --top: 68%;
  --left: 94%;
  --size: 5px;
  --move-x: -45px;
  --move-y: 32px;
  --move-x-two: -14px;
  --move-y-two: -48px;
  --duration: 18s;
  --delay: -3s;
  --color: rgba(215, 185, 135, 0.9);
  --glow: rgba(215, 185, 135, 0.42);
}

.hero-particles span:nth-child(15) {
  --top: 8%;
  --left: 25%;
  --size: 2px;
  --move-x: 42px;
  --move-y: 34px;
  --move-x-two: -28px;
  --move-y-two: 58px;
  --duration: 19s;
  --delay: -11s;
  --color: rgba(255, 255, 255, 0.9);
  --glow: rgba(255, 255, 255, 0.38);
}

.hero-particles span:nth-child(16) {
  --top: 38%;
  --left: 5%;
  --size: 4px;
  --move-x: 55px;
  --move-y: -28px;
  --move-x-two: 18px;
  --move-y-two: 46px;
  --duration: 16s;
  --delay: -7s;
  --color: rgba(215, 185, 135, 0.92);
  --glow: rgba(215, 185, 135, 0.42);
}

.hero-particles span:nth-child(17) {
  --top: 58%;
  --left: 18%;
  --size: 2px;
  --move-x: -32px;
  --move-y: -44px;
  --move-x-two: 48px;
  --move-y-two: 16px;
  --duration: 23s;
  --delay: -15s;
  --color: rgba(255, 255, 255, 0.82);
  --glow: rgba(255, 255, 255, 0.32);
}

.hero-particles span:nth-child(18) {
  --top: 94%;
  --left: 38%;
  --size: 3px;
  --move-x: 26px;
  --move-y: -68px;
  --move-x-two: -44px;
  --move-y-two: -22px;
  --duration: 21s;
  --delay: -4s;
  --color: rgba(215, 185, 135, 0.88);
  --glow: rgba(215, 185, 135, 0.38);
}

.hero-particles span:nth-child(19) {
  --top: 31%;
  --left: 31%;
  --size: 5px;
  --move-x: -46px;
  --move-y: 38px;
  --move-x-two: 24px;
  --move-y-two: -48px;
  --duration: 17s;
  --delay: -9s;
  --color: rgba(255, 255, 255, 0.9);
  --glow: rgba(255, 255, 255, 0.42);
}

.hero-particles span:nth-child(20) {
  --top: 77%;
  --left: 41%;
  --size: 2px;
  --move-x: 58px;
  --move-y: 18px;
  --move-x-two: -16px;
  --move-y-two: -52px;
  --duration: 25s;
  --delay: -18s;
  --color: rgba(215, 185, 135, 0.85);
  --glow: rgba(215, 185, 135, 0.34);
}

.hero-particles span:nth-child(21) {
  --top: 7%;
  --left: 52%;
  --size: 3px;
  --move-x: -38px;
  --move-y: 52px;
  --move-x-two: 36px;
  --move-y-two: 24px;
  --duration: 18s;
  --delay: -6s;
  --color: rgba(255, 255, 255, 0.88);
  --glow: rgba(255, 255, 255, 0.36);
}

.hero-particles span:nth-child(22) {
  --top: 47%;
  --left: 54%;
  --size: 2px;
  --move-x: 44px;
  --move-y: -56px;
  --move-x-two: -30px;
  --move-y-two: 28px;
  --duration: 22s;
  --delay: -13s;
  --color: rgba(215, 185, 135, 0.9);
  --glow: rgba(215, 185, 135, 0.38);
}

.hero-particles span:nth-child(23) {
  --top: 92%;
  --left: 57%;
  --size: 4px;
  --move-x: -24px;
  --move-y: -72px;
  --move-x-two: 52px;
  --move-y-two: -34px;
  --duration: 20s;
  --delay: -3s;
  --color: rgba(255, 255, 255, 0.94);
  --glow: rgba(255, 255, 255, 0.44);
}

.hero-particles span:nth-child(24) {
  --top: 27%;
  --left: 65%;
  --size: 2px;
  --move-x: 34px;
  --move-y: 46px;
  --move-x-two: -52px;
  --move-y-two: 12px;
  --duration: 24s;
  --delay: -17s;
  --color: rgba(215, 185, 135, 0.86);
  --glow: rgba(215, 185, 135, 0.36);
}

.hero-particles span:nth-child(25) {
  --top: 69%;
  --left: 69%;
  --size: 3px;
  --move-x: -48px;
  --move-y: -32px;
  --move-x-two: 18px;
  --move-y-two: 54px;
  --duration: 15s;
  --delay: -8s;
  --color: rgba(255, 255, 255, 0.87);
  --glow: rgba(255, 255, 255, 0.35);
}

.hero-particles span:nth-child(26) {
  --top: 43%;
  --left: 74%;
  --size: 5px;
  --move-x: 40px;
  --move-y: -38px;
  --move-x-two: -36px;
  --move-y-two: -58px;
  --duration: 19s;
  --delay: -14s;
  --color: rgba(215, 185, 135, 0.93);
  --glow: rgba(215, 185, 135, 0.44);
}

.hero-particles span:nth-child(27) {
  --top: 6%;
  --left: 82%;
  --size: 2px;
  --move-x: -62px;
  --move-y: 38px;
  --move-x-two: 12px;
  --move-y-two: 64px;
  --duration: 26s;
  --delay: -19s;
  --color: rgba(255, 255, 255, 0.8);
  --glow: rgba(255, 255, 255, 0.32);
}

.hero-particles span:nth-child(28) {
  --top: 79%;
  --left: 79%;
  --size: 3px;
  --move-x: 38px;
  --move-y: -54px;
  --move-x-two: -46px;
  --move-y-two: 20px;
  --duration: 18s;
  --delay: -5s;
  --color: rgba(215, 185, 135, 0.9);
  --glow: rgba(215, 185, 135, 0.4);
}

.hero-particles span:nth-child(29) {
  --top: 42%;
  --left: 89%;
  --size: 2px;
  --move-x: -58px;
  --move-y: 24px;
  --move-x-two: -20px;
  --move-y-two: -62px;
  --duration: 22s;
  --delay: -16s;
  --color: rgba(255, 255, 255, 0.86);
  --glow: rgba(255, 255, 255, 0.34);
}

.hero-particles span:nth-child(30) {
  --top: 95%;
  --left: 97%;
  --size: 4px;
  --move-x: -72px;
  --move-y: -48px;
  --move-x-two: -28px;
  --move-y-two: -82px;
  --duration: 20s;
  --delay: -10s;
  --color: rgba(215, 185, 135, 0.92);
  --glow: rgba(215, 185, 135, 0.42);
}


/* =========================================
   PARTIKELVERTEILUNG 31–60
========================================= */

.hero-particles span:nth-child(31) {
  --top: 5%;
  --left: 3%;
  --size: 2px;
  --move-x: 58px;
  --move-y: 42px;
  --move-x-two: -22px;
  --move-y-two: 76px;
  --duration: 27s;
  --delay: -14s;
  --color: rgba(255, 255, 255, 0.88);
  --glow: rgba(255, 255, 255, 0.34);
}

.hero-particles span:nth-child(32) {
  --top: 21%;
  --left: 11%;
  --size: 4px;
  --move-x: -34px;
  --move-y: 68px;
  --move-x-two: 52px;
  --move-y-two: -16px;
  --duration: 19s;
  --delay: -7s;
  --color: rgba(215, 185, 135, 0.86);
  --glow: rgba(215, 185, 135, 0.38);
}

.hero-particles span:nth-child(33) {
  --top: 49%;
  --left: 2%;
  --size: 1px;
  --move-x: 72px;
  --move-y: -24px;
  --move-x-two: 28px;
  --move-y-two: 58px;
  --duration: 23s;
  --delay: -18s;
  --color: rgba(255, 255, 255, 0.76);
  --glow: rgba(255, 255, 255, 0.28);
}

.hero-particles span:nth-child(34) {
  --top: 76%;
  --left: 8%;
  --size: 3px;
  --move-x: -46px;
  --move-y: -62px;
  --move-x-two: 34px;
  --move-y-two: -18px;
  --duration: 16s;
  --delay: -9s;
  --color: rgba(215, 185, 135, 0.92);
  --glow: rgba(215, 185, 135, 0.42);
}

.hero-particles span:nth-child(35) {
  --top: 93%;
  --left: 16%;
  --size: 2px;
  --move-x: 26px;
  --move-y: -84px;
  --move-x-two: -52px;
  --move-y-two: -38px;
  --duration: 29s;
  --delay: -21s;
  --color: rgba(255, 255, 255, 0.82);
  --glow: rgba(255, 255, 255, 0.32);
}

.hero-particles span:nth-child(36) {
  --top: 12%;
  --left: 23%;
  --size: 5px;
  --move-x: 48px;
  --move-y: 54px;
  --move-x-two: -38px;
  --move-y-two: 22px;
  --duration: 21s;
  --delay: -4s;
  --color: rgba(215, 185, 135, 0.9);
  --glow: rgba(215, 185, 135, 0.44);
}

.hero-particles span:nth-child(37) {
  --top: 38%;
  --left: 27%;
  --size: 2px;
  --move-x: -64px;
  --move-y: 32px;
  --move-x-two: 18px;
  --move-y-two: -72px;
  --duration: 25s;
  --delay: -12s;
  --color: rgba(255, 255, 255, 0.9);
  --glow: rgba(255, 255, 255, 0.38);
}

.hero-particles span:nth-child(38) {
  --top: 67%;
  --left: 22%;
  --size: 3px;
  --move-x: 42px;
  --move-y: -56px;
  --move-x-two: 68px;
  --move-y-two: 14px;
  --duration: 18s;
  --delay: -15s;
  --color: rgba(215, 185, 135, 0.84);
  --glow: rgba(215, 185, 135, 0.35);
}

.hero-particles span:nth-child(39) {
  --top: 84%;
  --left: 31%;
  --size: 1px;
  --move-x: -28px;
  --move-y: -76px;
  --move-x-two: 54px;
  --move-y-two: -34px;
  --duration: 31s;
  --delay: -8s;
  --color: rgba(255, 255, 255, 0.72);
  --glow: rgba(255, 255, 255, 0.26);
}

.hero-particles span:nth-child(40) {
  --top: 17%;
  --left: 36%;
  --size: 4px;
  --move-x: 62px;
  --move-y: -18px;
  --move-x-two: -24px;
  --move-y-two: 64px;
  --duration: 17s;
  --delay: -11s;
  --color: rgba(215, 185, 135, 0.94);
  --glow: rgba(215, 185, 135, 0.46);
}

.hero-particles span:nth-child(41) {
  --top: 55%;
  --left: 39%;
  --size: 2px;
  --move-x: -52px;
  --move-y: -44px;
  --move-x-two: 36px;
  --move-y-two: 38px;
  --duration: 26s;
  --delay: -19s;
  --color: rgba(255, 255, 255, 0.86);
  --glow: rgba(255, 255, 255, 0.34);
}

.hero-particles span:nth-child(42) {
  --top: 96%;
  --left: 43%;
  --size: 3px;
  --move-x: 22px;
  --move-y: -92px;
  --move-x-two: -66px;
  --move-y-two: -46px;
  --duration: 22s;
  --delay: -6s;
  --color: rgba(215, 185, 135, 0.88);
  --glow: rgba(215, 185, 135, 0.4);
}

.hero-particles span:nth-child(43) {
  --top: 8%;
  --left: 48%;
  --size: 1px;
  --move-x: -44px;
  --move-y: 78px;
  --move-x-two: 58px;
  --move-y-two: 34px;
  --duration: 28s;
  --delay: -22s;
  --color: rgba(255, 255, 255, 0.8);
  --glow: rgba(255, 255, 255, 0.3);
}

.hero-particles span:nth-child(44) {
  --top: 33%;
  --left: 45%;
  --size: 5px;
  --move-x: 38px;
  --move-y: 46px;
  --move-x-two: -54px;
  --move-y-two: -28px;
  --duration: 15s;
  --delay: -3s;
  --color: rgba(215, 185, 135, 0.92);
  --glow: rgba(215, 185, 135, 0.48);
}

.hero-particles span:nth-child(45) {
  --top: 72%;
  --left: 51%;
  --size: 2px;
  --move-x: 74px;
  --move-y: -36px;
  --move-x-two: 12px;
  --move-y-two: 58px;
  --duration: 24s;
  --delay: -17s;
  --color: rgba(255, 255, 255, 0.88);
  --glow: rgba(255, 255, 255, 0.36);
}

.hero-particles span:nth-child(46) {
  --top: 89%;
  --left: 56%;
  --size: 4px;
  --move-x: -32px;
  --move-y: -82px;
  --move-x-two: 62px;
  --move-y-two: -18px;
  --duration: 20s;
  --delay: -10s;
  --color: rgba(215, 185, 135, 0.86);
  --glow: rgba(215, 185, 135, 0.38);
}

.hero-particles span:nth-child(47) {
  --top: 14%;
  --left: 59%;
  --size: 2px;
  --move-x: 56px;
  --move-y: 62px;
  --move-x-two: -42px;
  --move-y-two: 26px;
  --duration: 30s;
  --delay: -24s;
  --color: rgba(255, 255, 255, 0.84);
  --glow: rgba(255, 255, 255, 0.32);
}

.hero-particles span:nth-child(48) {
  --top: 45%;
  --left: 63%;
  --size: 3px;
  --move-x: -68px;
  --move-y: 18px;
  --move-x-two: 28px;
  --move-y-two: -64px;
  --duration: 18s;
  --delay: -5s;
  --color: rgba(215, 185, 135, 0.9);
  --glow: rgba(215, 185, 135, 0.42);
}

.hero-particles span:nth-child(49) {
  --top: 62%;
  --left: 67%;
  --size: 1px;
  --move-x: 46px;
  --move-y: -58px;
  --move-x-two: -36px;
  --move-y-two: 42px;
  --duration: 27s;
  --delay: -13s;
  --color: rgba(255, 255, 255, 0.76);
  --glow: rgba(255, 255, 255, 0.28);
}

.hero-particles span:nth-child(50) {
  --top: 97%;
  --left: 70%;
  --size: 5px;
  --move-x: -24px;
  --move-y: -96px;
  --move-x-two: 52px;
  --move-y-two: -52px;
  --duration: 21s;
  --delay: -16s;
  --color: rgba(215, 185, 135, 0.94);
  --glow: rgba(215, 185, 135, 0.48);
}

.hero-particles span:nth-child(51) {
  --top: 4%;
  --left: 73%;
  --size: 2px;
  --move-x: -58px;
  --move-y: 72px;
  --move-x-two: 44px;
  --move-y-two: 18px;
  --duration: 25s;
  --delay: -20s;
  --color: rgba(255, 255, 255, 0.9);
  --glow: rgba(255, 255, 255, 0.36);
}

.hero-particles span:nth-child(52) {
  --top: 29%;
  --left: 78%;
  --size: 4px;
  --move-x: 34px;
  --move-y: 52px;
  --move-x-two: -62px;
  --move-y-two: -34px;
  --duration: 17s;
  --delay: -8s;
  --color: rgba(215, 185, 135, 0.88);
  --glow: rgba(215, 185, 135, 0.4);
}

.hero-particles span:nth-child(53) {
  --top: 53%;
  --left: 74%;
  --size: 1px;
  --move-x: 66px;
  --move-y: -42px;
  --move-x-two: -18px;
  --move-y-two: 68px;
  --duration: 32s;
  --delay: -25s;
  --color: rgba(255, 255, 255, 0.8);
  --glow: rgba(255, 255, 255, 0.3);
}

.hero-particles span:nth-child(54) {
  --top: 81%;
  --left: 82%;
  --size: 3px;
  --move-x: -48px;
  --move-y: -74px;
  --move-x-two: 38px;
  --move-y-two: -22px;
  --duration: 19s;
  --delay: -12s;
  --color: rgba(215, 185, 135, 0.92);
  --glow: rgba(215, 185, 135, 0.44);
}

.hero-particles span:nth-child(55) {
  --top: 19%;
  --left: 86%;
  --size: 2px;
  --move-x: 42px;
  --move-y: 64px;
  --move-x-two: -56px;
  --move-y-two: 12px;
  --duration: 26s;
  --delay: -18s;
  --color: rgba(255, 255, 255, 0.86);
  --glow: rgba(255, 255, 255, 0.34);
}

.hero-particles span:nth-child(56) {
  --top: 42%;
  --left: 91%;
  --size: 5px;
  --move-x: -72px;
  --move-y: 28px;
  --move-x-two: -26px;
  --move-y-two: -62px;
  --duration: 16s;
  --delay: -6s;
  --color: rgba(215, 185, 135, 0.9);
  --glow: rgba(215, 185, 135, 0.46);
}

.hero-particles span:nth-child(57) {
  --top: 68%;
  --left: 88%;
  --size: 1px;
  --move-x: 54px;
  --move-y: -52px;
  --move-x-two: -44px;
  --move-y-two: 46px;
  --duration: 29s;
  --delay: -23s;
  --color: rgba(255, 255, 255, 0.74);
  --glow: rgba(255, 255, 255, 0.28);
}

.hero-particles span:nth-child(58) {
  --top: 92%;
  --left: 94%;
  --size: 4px;
  --move-x: -38px;
  --move-y: -88px;
  --move-x-two: -68px;
  --move-y-two: -36px;
  --duration: 22s;
  --delay: -14s;
  --color: rgba(215, 185, 135, 0.94);
  --glow: rgba(215, 185, 135, 0.46);
}

.hero-particles span:nth-child(59) {
  --top: 9%;
  --left: 97%;
  --size: 2px;
  --move-x: -76px;
  --move-y: 48px;
  --move-x-two: -34px;
  --move-y-two: 82px;
  --duration: 28s;
  --delay: -11s;
  --color: rgba(255, 255, 255, 0.88);
  --glow: rgba(255, 255, 255, 0.36);
}

.hero-particles span:nth-child(60) {
  --top: 57%;
  --left: 98%;
  --size: 3px;
  --move-x: -84px;
  --move-y: -24px;
  --move-x-two: -48px;
  --move-y-two: 58px;
  --duration: 20s;
  --delay: -9s;
  --color: rgba(215, 185, 135, 0.9);
  --glow: rgba(215, 185, 135, 0.42);
}


/* =========================================
   PARTIKELBEWEGUNG
========================================= */

@keyframes particle-float {
  0% {
    opacity: 0.2;
    transform: translate3d(0, 0, 0) scale(0.8);
  }

  18% {
    opacity: 0.75;
    transform:
      translate3d(
        calc(var(--move-x) * 0.4),
        calc(var(--move-y) * 0.35),
        0
      )
      scale(1);
  }

  43% {
    opacity: 0.45;
    transform:
      translate3d(
        var(--move-x),
        var(--move-y),
        0
      )
      scale(0.85);
  }

  67% {
    opacity: 0.9;
    transform:
      translate3d(
        var(--move-x-two),
        var(--move-y-two),
        0
      )
      scale(1.15);
  }

  84% {
    opacity: 0.35;
    transform:
      translate3d(
        calc(var(--move-x-two) * 0.3),
        calc(var(--move-y-two) * 0.5),
        0
      )
      scale(0.9);
  }

  100% {
    opacity: 0.2;
    transform: translate3d(0, 0, 0) scale(0.8);
  }
}

.hero-particles span:nth-child(4n + 1) {
  animation-timing-function: cubic-bezier(0.42, 0, 0.24, 1);
}

.hero-particles span:nth-child(4n + 2) {
  animation-timing-function: cubic-bezier(0.18, 0.7, 0.34, 1);
}

.hero-particles span:nth-child(4n + 3) {
  animation-timing-function: cubic-bezier(0.65, 0, 0.35, 1);
}

.hero-particles span:nth-child(4n) {
  animation-timing-function: cubic-bezier(0.25, 0.45, 0.15, 1);
}


/* =========================================
   RESPONSIVE – KURZE LAPTOP-BILDSCHIRME
========================================= */

@media (min-width: 1200px) and (max-height: 700px) {
  .headerimage-outer.kopfbild,
  .headerimage-inner {
    min-height: 520px;
  }

  .headerimage-inner {
    padding: 70px 40px 35px;
  }

  .hero-content {
    margin-top: 70px;
  }

  .hero-content h1 {
    margin-bottom: 20px;
    font-size: clamp(3rem, 4.4vw, 4.25rem);
  }

  .hero-description {
    margin-bottom: 26px;
    line-height: 1.6;
  }
}


/* =========================================
   RESPONSIVE – TABLET
========================================= */

@media (max-width: 1199.98px) {
  .headerimage-outer.kopfbild,
  .headerimage-inner {
    min-height: 590px;
  }

  .headerimage-inner {
    padding: 135px 32px 70px;
  }

  .hero-content {
    max-width: 540px;
    margin: 0;
  }
}


/* =========================================
   RESPONSIVE – KLEINES TABLET
========================================= */

@media (max-width: 767.98px) {
  .headerimage-outer.kopfbild,
  .headerimage-inner {
    min-height: 560px;
  }

  .headerimage-inner {
    align-items: flex-start;
    padding: 135px 24px 65px;
  }

  .hero-content h1 {
    font-size: clamp(2.75rem, 10vw, 4rem);
  }
}


/* =========================================
   RESPONSIVE – HANDY
========================================= */

@media (max-width: 575.98px) {
  .headerimage-outer.kopfbild {
    min-height: 630px;
    background-position: center center;
  }

  .headerimage-inner {
    align-items: flex-start;
    min-height: 630px;
    padding: 128px 21px 54px;
  }

  .hero-content {
    max-width: 450px;
    margin: 0;
  }

  .hero-eyebrow {
    gap: 10px;
    margin-bottom: 19px;
    font-size: 0.65rem;
    letter-spacing: 0.13em;
    line-height: 1.45;
  }

  .hero-eyebrow::before {
    width: 25px;
  }

  .hero-content h1 {
    max-width: 440px;
    margin-bottom: 23px;

    font-size: clamp(2.7rem, 11.5vw, 3.4rem);
    letter-spacing: -0.025em;
    line-height: 1.01;
  }

  .hero-description {
    max-width: 430px;
    margin-bottom: 29px;

    font-size: 0.96rem;
    line-height: 1.65;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
  }

  a.hero-button {
    width: 100%;
    min-height: 50px;
  }

  a.hero-about-link {
    align-self: center;
  }
}


/* =========================================
   RESPONSIVE – SEHR KLEINES HANDY
========================================= */

@media (max-width: 399.98px) {
  .headerimage-outer.kopfbild,
  .headerimage-inner {
    min-height: 650px;
  }

  .headerimage-inner {
    padding: 122px 17px 48px;
  }

  .hero-content h1 {
    font-size: clamp(2.45rem, 12.5vw, 3rem);
  }

  .hero-description {
    font-size: 0.93rem;
  }
}


/* =========================================
   RESPONSIVE PARTIKELDICHTE
========================================= */

@media (max-width: 991.98px) {
  .hero-particles span:nth-child(n + 46) {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .hero-particles span:nth-child(n + 31) {
    display: none;
  }
}

@media (max-width: 399.98px) {
  .hero-particles span:nth-child(n + 25) {
    display: none;
  }
}


/* =========================================
   REDUZIERTE BEWEGUNG
========================================= */

@media (prefers-reduced-motion: reduce) {
  .hero-content,
  .hero-particles span {
    animation: none;
  }

  .hero-particles span {
    opacity: 0.45;
  }
}



  .hero-content h1 {
    background-image:
      linear-gradient(
        var(--sabrina-hero-blau),
        var(--sabrina-hero-blau)
      ),
      url("/fileadmin/user_upload/header.gif");

    background-blend-mode: color, normal;
  }

