.home-hero {
   --home-hero-gutter: clamp(1.25rem, 5vw, 4.5rem);
   position: relative;
   min-height: 100svh;
   display: flex;
   align-items: stretch;
   justify-content: center;
   padding: calc(var(--header-bar-height) + 1rem) var(--home-hero-gutter) clamp(3rem, 6vh, 4rem);
   overflow: hidden;
   isolation: isolate;
   background-color: #efe8de;
}

.home-hero::before {
   content: "";
   position: absolute;
   inset: 0;
   background-image: url("../img/Einstieg.png");
   background-repeat: no-repeat;
   background-position: center 28%;
   background-size: cover;
   pointer-events: none;
   z-index: 0;
   -webkit-mask-image: linear-gradient(
      to bottom,
      #000 0%,
      #000 55%,
      rgba(0, 0, 0, 0.65) 75%,
      transparent 96%
   );
   mask-image: linear-gradient(
      to bottom,
      #000 0%,
      #000 55%,
      rgba(0, 0, 0, 0.65) 75%,
      transparent 96%
   );
}

.home-hero::after {
   content: "";
   position: absolute;
   inset: 0;
   background: linear-gradient(
      to bottom,
      transparent 0%,
      transparent 62%,
      rgba(239, 232, 222, 0.35) 82%,
      #efe8de 100%
   );
   pointer-events: none;
   z-index: 0;
}

.home-hero__ambient {
   position: absolute;
   inset: 0;
   pointer-events: none;
   z-index: 0;
}

.home-hero__grain {
   display: none;
}

.home-hero__orb {
   display: none;
}

.home-hero__orb--1 {
   width: min(42vw, 420px);
   height: min(42vw, 420px);
   top: 8%;
   right: -6%;
   background: rgba(195, 168, 67, 0.22);
}

.home-hero__orb--2 {
   width: min(28vw, 280px);
   height: min(28vw, 280px);
   bottom: 12%;
   left: 4%;
   background: rgba(195, 168, 67, 0.08);
}

.home-hero__inner {
   position: relative;
   z-index: 1;
   width: 100%;
   flex: 1;
   display: grid;
   grid-template-columns: 1fr;
   align-items: center;
   gap: clamp(2rem, 5vw, 3rem);
   min-height: calc(100svh - clamp(8rem, 17vh, 11rem));
}

.home-hero__content {
   display: flex;
   flex-direction: column;
   align-items: flex-start;
   justify-content: center;
   text-align: left;
   gap: clamp(1rem, 2.4vw, 1.6rem);
   max-width: 46rem;
   min-width: 0;
   position: relative;
   z-index: 2;
}

.home-hero__eyebrow-row {
   display: flex;
   align-items: flex-start;
   gap: 1rem;
   max-width: min(100%, 40rem);
}

.home-hero__line {
   width: clamp(2.5rem, 6vw, 4.5rem);
   height: 1px;
   align-self: center;
   background: linear-gradient(90deg, var(--color-accent), rgba(195, 168, 67, 0.2));
   transform-origin: left center;
   transform: scaleX(0);
}

.home-hero__eyebrow {
   font-size: clamp(0.92rem, 1.45vw, 1.05rem);
   font-weight: 300;
   letter-spacing: 0.01em;
   text-transform: none;
   line-height: 1.55;
   color: var(--color-accent);
   opacity: 0;
   transform: translateY(10px);
}

.home-hero__title {
   display: flex;
   flex-direction: column;
   gap: 0.12em;
   font-weight: 300;
   line-height: 1.08;
   letter-spacing: -0.04em;
   color: #3C3C3C;
}

.home-hero__title-line {
   display: block;
   overflow: hidden;
   padding-bottom: 0.1em;
}

.home-hero__title-line--brand {
   font-size: clamp(3.4rem, 11vw, 7rem);
   font-weight: 300;
   letter-spacing: -0.05em;
   color: var(--color-accent);
}

.home-hero__title-line--name {
   font-size: clamp(4rem, 12.5vw, 8.5rem);
   font-weight: 300;
   letter-spacing: -0.05em;
   color: #3C3C3C;
   white-space: nowrap;
}

.home-hero__title-line:not(.home-hero__title-line--brand):not(.home-hero__title-line--name):not(.home-hero__title-line--tagline) {
   font-size: clamp(1.35rem, 4.6vw, 4.25rem);
   max-width: none;
}

.home-hero__title-line--tagline {
   font-size: clamp(1.25rem, 2.2vw, 1.75rem);
   line-height: 1.45;
   letter-spacing: 0.02em;
   max-width: min(44rem, 100%);
   font-weight: 300;
   color: #3C3C3C;
   margin-top: 0.15em;
}

.home-hero__subline {
   font-size: clamp(0.92rem, 1.45vw, 1.05rem);
   font-weight: 300;
   letter-spacing: 0.01em;
   line-height: 1.55;
   color: var(--color-accent);
   max-width: min(40rem, 100%);
   margin: clamp(0.75rem, 2vh, 1.1rem) 0 0;
   opacity: 0;
   transform: translateY(10px);
}

.home-hero__title-line > span {
   display: inline-block;
   will-change: transform, opacity;
}

.home-hero__word {
   display: inline-block;
   white-space: nowrap;
}

.home-hero__word > span {
   display: inline-block;
   will-change: transform, opacity;
}

.home-hero__tagline {
   display: flex;
   flex-wrap: wrap;
   align-items: center;
   gap: 0.55rem 0.7rem;
   padding-top: 0.5rem;
   opacity: 0;
   transform: translateY(12px);
}

.home-hero__tagline-word {
   font-size: clamp(0.88rem, 1.8vw, 1rem);
   font-weight: 500;
   letter-spacing: 0.1em;
   text-transform: uppercase;
   color: #3C3C3C;
}

.home-hero__dot {
   width: 4px;
   height: 4px;
   border-radius: 50%;
   background: var(--color-accent);
   opacity: 0.7;
}

.home-hero__visual {
   position: relative;
   margin: 0;
   width: min(92vw, 440px);
   height: min(92vw, 440px);
   max-width: 100%;
   justify-self: center;
   display: grid;
   place-items: center;
   opacity: 0;
   transform: scale(0.94);
   overflow: hidden;
   min-width: 0;
   z-index: 1;
   flex-shrink: 0;
}

.home-hero__rings {
   position: absolute;
   inset: 0;
   display: grid;
   place-items: center;
   pointer-events: none;
}

.home-hero__ring {
   position: absolute;
   border-radius: 50%;
   border: 1px solid rgba(195, 168, 67, 0.16);
}

.home-hero__ring:nth-child(1) {
   width: 88%;
   height: 88%;
}

.home-hero__ring:nth-child(2) {
   width: 102%;
   height: 102%;
   border-color: rgba(195, 168, 67, 0.1);
}

.home-hero__ring:nth-child(3) {
   width: 116%;
   height: 116%;
   border-color: rgba(195, 168, 67, 0.06);
}

.home-hero__visual-glow {
   position: absolute;
   inset: 6%;
   border-radius: 50%;
   background: radial-gradient(circle, rgba(195, 168, 67, 0.3) 0%, rgba(195, 168, 67, 0.1) 40%, transparent 72%);
   pointer-events: none;
}

.home-hero__compass {
   position: relative;
   z-index: 1;
   width: 84%;
   height: 84%;
   display: block;
   object-fit: contain;
   mix-blend-mode: multiply;
   opacity: 0.98;
   will-change: transform;
}

.home-hero__scroll {
   position: absolute;
   left: var(--home-hero-gutter);
   bottom: clamp(1.5rem, 4vh, 2.5rem);
   z-index: 2;
   display: flex;
   flex-direction: column;
   align-items: center;
   gap: 0.65rem;
   opacity: 0;
}

.home-hero__scroll-text {
   font-size: 0.62rem;
   font-weight: 500;
   letter-spacing: 0.28em;
   text-transform: uppercase;
   color: rgba(60, 60, 60, 0.45);
   writing-mode: vertical-rl;
   transform: rotate(180deg);
}

.home-hero__scroll-line {
   width: 1px;
   height: 3rem;
   background: linear-gradient(to bottom, var(--color-accent), rgba(195, 168, 67, 0.1));
   transform-origin: top center;
   animation: home-hero-scroll-pulse 2.2s ease-in-out infinite;
}

@keyframes home-hero-scroll-pulse {
   0%,
   100% {
      transform: scaleY(0.55);
      opacity: 0.45;
   }

   50% {
      transform: scaleY(1);
      opacity: 1;
   }
}

@keyframes home-hero-ring-spin {
   from {
      transform: rotate(0deg);
   }

   to {
      transform: rotate(360deg);
   }
}

@keyframes home-hero-float {
   0%,
   100% {
      transform: translateY(0);
   }

   50% {
      transform: translateY(-10px);
   }
}

@media (max-width: 899px) {
   .home-hero {
      min-height: 100svh;
      padding: calc(var(--header-bar-height) + 0.75rem) 1.15rem 1.5rem;
      box-sizing: border-box;
   }

   .home-hero::before {
      background-image: url("../img/Einstieg-mobil.webp");
      background-position: center 30%;
   }

   .home-hero__inner {
      min-height: calc(100svh - var(--header-bar-height) - 2.25rem);
      gap: clamp(1rem, 3vh, 1.75rem);
      align-content: center;
      justify-items: center;
   }

   .home-hero__content {
      width: 100%;
      max-width: 100%;
      align-items: center;
      text-align: center;
      gap: 0.85rem;
      flex-shrink: 0;
   }

   .home-hero__eyebrow-row {
      justify-content: center;
      flex-wrap: wrap;
      gap: 0.65rem;
      max-width: 100%;
   }

   .home-hero__line {
      display: none;
   }

   .home-hero__eyebrow {
      font-size: clamp(0.88rem, 2.6vw, 0.98rem);
      letter-spacing: 0.01em;
      line-height: 1.5;
      text-align: center;
      max-width: 100%;
   }

   .home-hero__title {
      width: 100%;
      max-width: 100%;
      align-items: center;
      padding-inline: 0.2rem;
   }

   .home-hero__title-line {
      width: 100%;
      max-width: 100%;
      text-align: center;
      white-space: normal;
      overflow-wrap: normal;
      word-break: normal;
      hyphens: manual;
      overflow-wrap: anywhere;
   }

   .home-hero__title-line:not(.home-hero__title-line--brand):not(.home-hero__title-line--name):not(.home-hero__title-line--tagline) {
      white-space: normal;
   }

   .home-hero__title-line--name {
      font-size: clamp(1.45rem, 6.2vw, 2.6rem);
      line-height: 1.05;
      white-space: nowrap;
      max-width: 100%;
   }

   .home-hero__title-line--tagline {
      font-size: clamp(1.05rem, 3.8vw, 1.35rem);
      line-height: 1.45;
      max-width: 100%;
      margin-top: 0.35rem;
   }

   .home-hero__visual {
      width: min(88vw, 360px);
      height: min(88vw, 360px);
      max-height: min(40svh, 360px);
      margin-top: 0;
      justify-self: center;
      flex-shrink: 1;
   }

   .home-hero__scroll {
      display: none;
   }
}

@media (min-width: 600px) and (max-width: 899px) {
   .home-hero__visual {
      width: min(84vw, 460px);
      height: min(84vw, 460px);
      max-height: min(48svh, 460px);
   }

   .home-hero__title-line--name {
      font-size: clamp(2.2rem, 7vw, 3.5rem);
      white-space: nowrap;
   }

   .home-hero__title-line--tagline {
      font-size: clamp(1.15rem, 2.8vw, 1.5rem);
   }
}

@media (min-width: 900px) {
   .home-hero__inner {
      grid-template-columns: 1fr;
      gap: clamp(1.25rem, 2.5vw, 2rem);
   }

   .home-hero__content {
      justify-self: start;
      max-width: min(46rem, 90vw);
   }

   .home-hero__title-line--name {
      font-size: clamp(2.8rem, 4.8vw, 5.5rem);
      line-height: 1.06;
      white-space: nowrap;
   }

   .home-hero__title-line--tagline {
      font-size: clamp(1.3rem, 2vw, 1.65rem);
      line-height: 1.45;
      white-space: normal;
   }

   .home-hero__visual {
      width: min(46vw, 560px);
      height: min(46vw, 560px);
      max-width: min(46vw, 560px);
      max-height: min(72vh, 560px);
      justify-self: end;
      align-self: center;
      margin: 0;
   }

   .home-hero__ring:nth-child(1) {
      animation: home-hero-ring-spin 48s linear infinite;
   }

   .home-hero__ring:nth-child(2) {
      animation: home-hero-ring-spin 64s linear infinite reverse;
   }

   .home-hero__compass {
      animation: home-hero-float 7s ease-in-out infinite;
   }
}

@media (min-width: 900px) and (max-width: 1199px) {
   .home-hero__content {
      max-width: min(30rem, 46vw);
   }

   .home-hero__title-line--name {
      font-size: clamp(2.4rem, 3.8vw, 4.5rem);
      white-space: nowrap;
   }

   .home-hero__title-line--tagline {
      font-size: clamp(1.2rem, 1.75vw, 1.55rem);
      white-space: normal;
   }

   .home-hero__visual {
      width: min(42vw, 480px);
      height: min(42vw, 480px);
      max-width: min(42vw, 480px);
      max-height: min(64vh, 480px);
   }
}

@media (min-width: 1200px) and (max-width: 1399px) {
   .home-hero__content {
      max-width: min(36rem, 46vw);
   }

   .home-hero__title-line--name {
      font-size: clamp(2.8rem, 4vw, 5rem);
      white-space: nowrap;
   }

   .home-hero__title-line--tagline {
      font-size: clamp(1.3rem, 2vw, 1.65rem);
   }

   .home-hero__visual {
      width: min(47vw, 580px);
      height: min(47vw, 580px);
      max-width: min(47vw, 580px);
      max-height: min(74vh, 580px);
   }
}

@media (min-width: 1400px) {
   .home-hero__title-line--name {
      font-size: clamp(3.2rem, 4.5vw, 5.75rem);
      white-space: nowrap;
   }

   .home-hero__title-line--tagline {
      font-size: clamp(1.3rem, 2vw, 1.65rem);
   }

   .home-hero__visual {
      width: min(48vw, 640px);
      height: min(48vw, 640px);
      max-width: min(48vw, 640px);
      max-height: min(78vh, 640px);
   }
}

@media (prefers-reduced-motion: reduce) {
   .home-hero__compass,
   .home-hero__ring,
   .home-hero__scroll-line {
      animation: none;
   }

   .home-hero__eyebrow,
   .home-hero__tagline,
   .home-hero__visual,
   .home-hero__scroll,
   .home-hero__line {
      opacity: 1;
      transform: none;
   }
}

/* ─── Situationen (unter Hero) ─── */

.home-situations {
   position: relative;
   overflow: hidden;
   padding: clamp(3.5rem, 7vh, 5rem) clamp(1.25rem, 5vw, 3rem);
   background: var(--section-sand, #f4f0ea);
}

.home-situations__shadow {
   position: absolute;
   left: 0;
   top: 0;
   z-index: 0;
   width: 100%;
   max-height: 90%;
   pointer-events: none;
   user-select: none;
   line-height: 0;
   opacity: 0.88;
}

.home-situations__shadow img {
   display: block;
   width: min(240%, 72rem);
   max-width: none;
   max-height: 100%;
   margin-left: clamp(-14%, -7vw, -1.25rem);
   object-fit: contain;
   object-position: left top;
}

.home-situations__inner {
   position: relative;
   z-index: 1;
   width: min(100%, 1180px);
   margin-inline: auto;
   text-align: center;
   display: flex;
   flex-direction: column;
   align-items: stretch;
}

.home-situations__title {
   font-size: clamp(1.75rem, 4vw, 2.5rem);
   font-weight: 300;
   line-height: 1.22;
   letter-spacing: -0.03em;
   color: #3C3C3C;
   margin: 0 0 clamp(1.25rem, 3vh, 1.75rem);
   width: 100%;
}

.home-situations__lead {
   margin: 0;
   width: 100%;
   max-width: 42rem;
   margin-inline: auto;
   font-size: clamp(1.02rem, 1.85vw, 1.12rem);
   font-weight: 300;
   line-height: 1.7;
   color: var(--color-text-muted);
}

.home-situations__list {
   list-style: none;
   margin: 0;
   padding: 0;
   width: 100%;
   display: flex;
   flex-direction: column;
   gap: clamp(0.9rem, 2vh, 1.15rem);
}

.home-situations__list li {
   position: relative;
   padding: 0;
   font-size: clamp(1.02rem, 1.85vw, 1.12rem);
   font-weight: 300;
   line-height: 1.7;
   color: var(--color-text-muted);
   text-align: center;
}

.home-situations__list li::before {
   content: "";
   display: block;
   width: 5px;
   height: 5px;
   margin: 0 auto clamp(0.4rem, 1vh, 0.55rem);
   border-radius: 50%;
   background: var(--color-accent);
   opacity: 0.75;
}

.home-situations__closing {
   display: flex;
   flex-direction: column;
   align-items: center;
   gap: clamp(0.55rem, 1.2vh, 0.75rem);
   width: 100%;
   margin-top: clamp(1.5rem, 3.5vh, 2.25rem);
   padding-top: clamp(1.5rem, 3.5vh, 2rem);
   border-top: 0;
   text-align: center;
}

.home-situations__closing::before {
   content: "";
   display: block;
   width: clamp(3rem, 8vw, 4.5rem);
   height: 1px;
   margin-bottom: clamp(1.25rem, 3vh, 1.75rem);
   background: linear-gradient(90deg, transparent, rgba(195, 168, 67, 0.45), transparent);
}

.home-situations__closing p {
   margin: 0;
   font-size: clamp(1.05rem, 1.9vw, 1.15rem);
   font-weight: 300;
   line-height: 1.72;
   color: #3C3C3C;
   width: 100%;
}

.home-situations__brand {
   font-size: clamp(0.72rem, 1.2vw, 0.78rem) !important;
   font-weight: 500 !important;
   letter-spacing: 0.22em;
   text-transform: uppercase;
   color: var(--color-accent) !important;
}

.home-situations__closing p:last-child {
   color: var(--color-text-muted);
   margin-top: 0;
}

.home-situations__actions {
   display: flex;
   flex-direction: column;
   align-items: center;
   gap: clamp(0.75rem, 1.5vh, 1rem);
   margin-top: clamp(1.75rem, 4vh, 2.25rem);
}

.home-situations__button {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   padding: 1.05rem 1.75rem;
   border-radius: 999px;
   border: 1px solid var(--color-accent);
   background: var(--color-accent);
   color: #ffffff;
   text-decoration: none;
   font-size: 0.78rem;
   font-weight: 500;
   letter-spacing: 0.12em;
   text-transform: uppercase;
   transition: transform 0.35s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.home-situations__button:hover {
   background: var(--color-accent-hover);
   border-color: var(--color-accent-hover);
   transform: translateY(-2px);
}

.home-situations__button--secondary {
   background: transparent;
   color: var(--color-text);
   border-color: color-mix(in srgb, var(--color-accent) 55%, transparent);
}

.home-situations__button--secondary:hover {
   background: color-mix(in srgb, var(--color-accent) 12%, transparent);
   border-color: var(--color-accent);
   color: var(--color-text);
}

.home-situations__link {
   font-size: 0.84rem;
   font-weight: 400;
   letter-spacing: 0.04em;
   color: var(--color-text-muted);
   text-decoration: none;
   transition: color 0.25s ease;
}

.home-situations__link:hover {
   color: var(--color-accent);
}

@media (min-width: 900px) {
   .home-situations__shadow img {
      width: min(280%, 82rem);
      margin-left: clamp(-12%, -6vw, -1rem);
   }
}
