

@property --teil { syntax: '<percentage>'; inherits: true; initial-value: 50%; }

.hf-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

html:has(.hf-verteiler) .kopf__haupt { display: none; }

.hf-verteiler {
  --teil: 50%; --schraeg: 7%; --rand: max(var(--hf-rand), (100% - var(--hf-breite)) / 2);
  position: relative; isolation: isolate; overflow: hidden; height: 100svh; min-height: 640px;
  margin-top: calc(-1 * var(--leiste-h)); background: #030304;
  transition: --teil .9s var(--hf-ease);
}
.hf-verteiler:has(.hf-teil--immo:is(:hover, :focus-visible)) { --teil: 60%; }
.hf-verteiler:has(.hf-teil--krypto:is(:hover, :focus-visible)) { --teil: 40%; }


.hf-teil { position: absolute; inset: 0; display: block; color: var(--text); text-decoration: none; outline: none; }
.hf-teil--immo { --knopf-pfeil: #FFFFFF; clip-path: polygon(0 0, calc(var(--teil) + var(--schraeg)) 0, calc(var(--teil) - var(--schraeg)) 100%, 0 100%); }
.hf-teil--krypto {
  --knopf-pfeil: #2FD39A; background: #040506;
  clip-path: polygon(calc(var(--teil) + var(--schraeg)) 0, 100% 0, 100% 100%, calc(var(--teil) - var(--schraeg)) 100%);
}

.hf-teil__bild { position: absolute; inset: -12px; filter: blur(3px); transition: scale 1.4s var(--hf-ease); }
.hf-teil:is(:hover, :focus-visible) .hf-teil__bild { scale: 1.04; }


.hf-teil--immo .hf-teil__bild { background: var(--bild) 40% 55% / cover no-repeat; filter: blur(3px) brightness(.86) saturate(1.15); }
.hf-teil--immo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgb(3 3 4 / .9) 0%, rgb(3 3 4 / .6) 36%, rgb(3 3 4 / .15) 70%),
    linear-gradient(180deg, rgb(3 3 4 / .6), transparent 24%, transparent 70%, rgb(3 3 4 / .85));
}


.hf-teil--krypto .hf-teil__bild {
  background:
    radial-gradient(70% 70% at 62% 44%, rgb(4 5 6 / .55), rgb(4 5 6 / .15) 75%),
    url('medien/krypto/hero.webp') 62% 50% / cover no-repeat;
}
.hf-teil__kerzen {
  position: absolute; left: 34%; right: -4%; bottom: 4%; height: 48%; opacity: .95;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%); mask-image: linear-gradient(90deg, transparent, #000 30%);
}
.hf-teil__kerzen svg { display: block; width: 100%; height: 100%; }
.hf-teil__glut {
  position: absolute; width: 64vmax; aspect-ratio: 1; pointer-events: none;
  background-image: radial-gradient(circle, rgb(var(--f)) 1.3px, transparent 1.9px); background-size: 7px 7px;
  -webkit-mask-image: radial-gradient(closest-side, #000, rgb(0 0 0 / .6) 40%, transparent);
  mask-image: radial-gradient(closest-side, #000, rgb(0 0 0 / .6) 40%, transparent);
  animation: hf-glimmen 8s ease-in-out infinite alternate;
}
.hf-teil__glut::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(closest-side, rgb(var(--f) / .45), transparent); }
.hf-teil__glut--a { --f: 255 146 72; left: 30%; bottom: -36vmax; }
.hf-teil__glut--b { --f: 47 211 154; right: -26vmax; top: -24vmax; animation-delay: -4s; }
@keyframes hf-glimmen { from { opacity: .6; scale: .96; } to { opacity: 1; scale: 1.04; } }


.hf-teil__inhalt {
  position: absolute; z-index: 2; top: 52%; translate: 0 -50%; display: grid; gap: 18px; max-width: min(34vw, 500px);
  transition: opacity .6s ease, translate .9s var(--hf-ease);
}
.hf-teil--immo .hf-teil__inhalt { left: var(--rand); justify-items: start; }
.hf-teil--krypto .hf-teil__inhalt { right: var(--rand); justify-items: end; text-align: right; }
.hf-teil__titel {
  display: block; padding-bottom: .06em; font-size: clamp(46px, 5.6vw, 100px); font-weight: 600; line-height: .96; letter-spacing: -.05em;
  background-image: var(--chrom-textur), linear-gradient(180deg, #FFFFFF 0%, #D9DCE1 45%, #3A3D44 53%, #EDEFF1 85%, #FFFFFF 100%);
  background-size: 520px 200px, 100% 100%; background-blend-mode: hard-light;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 8px 24px rgb(0 0 0 / .65));
  animation: hf-chrom-gross 24s linear infinite;
}
.hf-teil--krypto .hf-teil__titel {
  background-image: var(--chrom-textur), linear-gradient(180deg, #F4FFF9 0%, #A8F2D3 44%, #0D3A2A 53%, #CFF8E6 85%, #FFFFFF 100%);
}
@keyframes hf-chrom-gross { to { background-position: 520px 0, 0 0; } }
.hf-teil__claim { font-size: clamp(16px, .5vw + 13px, 19px); line-height: 1.45; color: var(--text-2); max-width: 340px; }
.hf-teil__inhalt .hf-knopf { margin-top: 8px; }


.hf-verteiler:has(.hf-teil--krypto:is(:hover, :focus-visible)) .hf-teil--immo .hf-teil__inhalt { opacity: .35; translate: -2vw -50%; }
.hf-verteiler:has(.hf-teil--immo:is(:hover, :focus-visible)) .hf-teil--krypto .hf-teil__inhalt { opacity: .35; translate: 2vw -50%; }


.hf-verteiler__linie {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  filter: drop-shadow(0 0 6px rgb(255 255 255 / .55)) drop-shadow(0 0 24px rgb(47 211 154 / .35));
}
.hf-verteiler__linie::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, #FFFFFF, #B9BEC5 45%, #FFFFFF 58%, #9FF2CF);
  clip-path: polygon(calc(var(--teil) + var(--schraeg) - 1px) 0, calc(var(--teil) + var(--schraeg) + 1px) 0,
                     calc(var(--teil) - var(--schraeg) + 1px) 100%, calc(var(--teil) - var(--schraeg) - 1px) 100%);
}
.hf-verteiler__mitte {
  position: absolute; z-index: 4; left: var(--teil); top: 50%; translate: -50% -50%; width: 78px; aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; pointer-events: none;
  background: radial-gradient(circle at 30% 25%, #2A2C30, #060607 70%);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .22), inset 0 1px 0 rgb(255 255 255 / .25), 0 0 0 8px rgb(3 3 4 / .65), 0 20px 50px -10px rgb(0 0 0 / .9);
}
.hf-verteiler__mitte .hf-marke__bild { height: 40px; }
.hf-verteiler__hinweis {
  position: absolute; z-index: 4; bottom: 34px; left: calc(var(--teil) - var(--schraeg) * .82); translate: -50% 0;
  padding: 8px 16px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--text-2); white-space: nowrap; pointer-events: none;
  background: rgb(10 10 12 / .7); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .12);
}
.hf-verteiler__hinweis::before { content: "← "; color: var(--text-3); }
.hf-verteiler__hinweis::after { content: " →"; color: var(--text-3); }


@media (max-width: 767px) {
  .hf-verteiler { --schraeg: 4%; min-height: 700px; }
  .hf-teil--immo { clip-path: polygon(0 0, 100% 0, 100% calc(var(--teil) - var(--schraeg)), 0 calc(var(--teil) + var(--schraeg))); }
  .hf-teil--krypto { clip-path: polygon(0 calc(var(--teil) + var(--schraeg)), 100% calc(var(--teil) - var(--schraeg)), 100% 100%, 0 100%); }
  .hf-teil--immo::after { background: linear-gradient(180deg, rgb(3 3 4 / .75), rgb(3 3 4 / .45) 30%, rgb(3 3 4 / .7) 50%); }
  .hf-teil__inhalt { left: var(--hf-rand); right: var(--hf-rand); max-width: none; gap: 12px; justify-items: center; text-align: center; translate: none; }
  .hf-teil--immo .hf-teil__inhalt { top: calc(var(--leiste-h) + 3svh); left: var(--hf-rand); }
  .hf-teil--krypto .hf-teil__inhalt { top: auto; bottom: 6svh; right: var(--hf-rand); justify-items: center; text-align: center; }
  .hf-teil__titel { font-size: clamp(40px, 12vw, 56px); }
  .hf-teil__claim { font-size: 15.5px; }
  .hf-teil__kerzen { left: -10%; right: -10%; bottom: auto; top: 50%; height: 30%; }
  .hf-verteiler__linie::before {
    clip-path: polygon(0 calc(var(--teil) + var(--schraeg) - 1px), 100% calc(var(--teil) - var(--schraeg) - 1px),
                       100% calc(var(--teil) - var(--schraeg) + 1px), 0 calc(var(--teil) + var(--schraeg) + 1px));
  }
  .hf-verteiler__mitte { left: 50%; top: var(--teil); width: 60px; }
  .hf-verteiler__mitte .hf-marke__bild { height: 30px; }
  .hf-verteiler__hinweis { display: none; }
  .hf-verteiler:has(.hf-teil:is(:hover, :focus-visible)) { --teil: 50%; }
  .hf-verteiler .hf-teil__inhalt { opacity: 1 !important; }
}

html:has(.hf-verteiler) .kopf__nav { display: none; }


@media (max-width: 767px) {
  .hf-verteiler { min-height: 700px; }
  .hf-teil--immo .hf-teil__bild { inset: -8px -8px 42% -8px; background-position: 12% 62%; filter: blur(1.5px) brightness(.98) saturate(1.2); }
  .hf-teil--krypto .hf-teil__bild { inset: 42% -8px -8px -8px; background-position: 50% 50%; }
  .hf-teil--immo::after { background: linear-gradient(180deg, rgb(3 3 4 / .72), rgb(3 3 4 / .5) 26%, rgb(3 3 4 / .12) 42%, rgb(3 3 4 / .3) 50%); }
  .hf-teil__inhalt { gap: 10px; }
  .hf-teil__titel { font-size: clamp(36px, 10.6vw, 46px); line-height: 1.05; }
  .hf-teil__claim { max-width: 290px; font-size: 15px; line-height: 1.4; text-wrap: balance; }
  .hf-teil .hf-oberzeile { max-width: none; padding: 6px 10px; line-height: 1.35; }
  .hf-teil .hf-knopf { min-height: 46px; font-size: 14.5px; }
  .hf-teil--immo .hf-teil__inhalt { top: calc(var(--leiste-h) + 1.5svh); left: var(--hf-rand); right: var(--hf-rand); justify-items: center; text-align: center; }
  .hf-teil--immo .hf-teil__titel { filter: drop-shadow(0 2px 14px rgb(0 0 0 / .6)); }
  .hf-teil--immo .hf-teil__claim { color: #FFFFFF; text-shadow: 0 1px 12px rgb(0 0 0 / .65); }
  .hf-teil--krypto .hf-teil__inhalt { bottom: 4.5svh; }
}

@media (min-width: 768px) and (max-width: 1180px) {
  .hf-teil__inhalt { max-width: 42vw; }
  .hf-teil .hf-oberzeile { padding-inline: 10px; font-size: clamp(8.5px, 1.02vw, 13px); }
  .hf-teil__titel { font-size: clamp(38px, 5.6vw, 72px); }
}
