/* ============================================
   INDEX BASIS
   Neue, bereinigte Styles fuer die Startseite
============================================ */
@import url("fonts/excon.css");
@import url("buttons.css");

@font-face {
  font-family: "Inter";
  src: url("fonts/Inter/Inter-VariableFont_opsz,wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("fonts/Inter/Inter-Italic-VariableFont_opsz,wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  /* Hintergrundtöne */
  --color-night-sky: #222222;
  --color-midnight: #1B1B1B;

  /* Textfarben */
  --color-sunbeam: #F9FF6B;
  --color-stone: #919191;
  --color-moonlight: #f3f3f3;

  --font-body: Inter, Arial, Helvetica, sans-serif;
  --sidebar-width: clamp(200px, 32.4444vw, 292px);
  --button-link-color: var(--color-stone);
  --button-link-hover-color: var(--color-stone);
  --button-arrow-bg: var(--color-moonlight);
  --button-arrow-color: var(--color-midnight);
  --button-arrow-hover-bg: var(--color-stone);
  --button-arrow-hover-color: var(--color-midnight);
  --text-link-color: var(--color-moonlight);
  --text-link-hover-color: var(--color-stone);

  /* Layout nach webstandards.md */
  --space-page: clamp(20px, calc(12.8889px + 1.2346vw), 24px);
  --space-about-indent: clamp(0px, calc(-65.8368px + 11.43vw), 8%);
  --space-section: clamp(5rem, calc(0.7143rem + 11.9048vw), 15rem);
  --space-inner: clamp(2.5rem, calc(-0.7143rem + 8.9286vw), 10rem);
  --space-heading-text: clamp(1rem, calc(0.7857rem + 0.5952vw), 1.5rem);
}

@media (min-width: 900px) {
  :root {
    --space-page: clamp(24px, calc(-90.3529px + 12.7059vw), 8vw);
  }
}

html, body {
  margin: 0;
  font-family: var(--font-body);
  overflow-x: hidden;
  overflow-y: scroll;
  scrollbar-gutter: stable;
  -webkit-font-smoothing: antialiased;
  background-color: var(--color-midnight) !important;
}

.js-scroll {
  position: relative;
  z-index: 10;
  width: 100%;
  background-color: var(--color-night-sky) !important;
}

h1 {
  font-family: 'Excon-Black';
  margin: 0 !important;
  font-size: clamp(3rem, calc(0.6rem + 12vw), 15rem) !important;
}

.section-title {
  font-family: 'Excon-Black';
  margin: 0 !important;
  font-size: clamp(3rem, calc(0.6rem + 12vw), 15rem) !important;
  font-weight: 900 !important;
  line-height: normal !important;
}

h2:not(.section-title) {
  font-size: clamp(20px, calc(0.7407vw + 13.33px), 24px) !important;
  line-height: clamp(28px, calc(0.7407vw + 21.33px), 32px) !important;
  font-weight: 400 !important;
}

p {
  font-size: 1rem !important;
  line-height: 1.5rem !important;
  letter-spacing: .02rem;
  font-weight: 400 !important;
}

@media (max-width: 900px) {
  h2:not(.section-title) {
    font-size: clamp(16px, calc(1.2346vw + 8.89px), 20px) !important;
    line-height: clamp(24px, calc(1.2346vw + 16.89px), 28px) !important;
  }
}

.sunbeam {
  color: var(--color-sunbeam) !important;
}

.stone {
  color: var(--color-stone) !important;
}

.moonlight {
  color: var(--color-moonlight) !important;
}

.position-relative {
  position: relative;
}

.site-nav {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: clamp(1rem, 0.6rem + 1vw, 2rem) var(--space-page);
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: .005rem;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.site-nav.is-visible {
  opacity: 1;
  visibility: visible;
}

/* ============================================
   HEADER
============================================ */

.site-header {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 1fr);
  min-height: 100vh;
  min-height: 100svh;
  width: 100%;
  padding-inline: var(--space-page);
  background-color: var(--color-midnight);
  box-sizing: border-box;
  isolation: isolate;
  overflow: hidden;
}

.site-header__signature,
.site-header__content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.site-header-icon-layer {
  --icon-layer-height: 100vh;
  --icon-layer-height: 100dvh;
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.site-header.is-icon-ready .site-header-icon-layer {
  opacity: 1;
}

.site-header-icon {
  --icon-duration: 38s;
  --icon-delay: 0s;
  --icon-rotate: 0deg;
  position: absolute;
  top: 0;
  display: block;
  width: clamp(3rem, 7vw, 8rem);
  height: auto;
  pointer-events: none;
  user-select: none;
  animation: hotspotIconRise var(--icon-duration) linear var(--icon-delay) infinite;
  animation-play-state: paused;
  backface-visibility: hidden;
  transform: translate3d(-50%, calc(var(--icon-layer-height) + 110%), 0) rotate(var(--icon-rotate));
  will-change: transform;
}

.site-header.is-icon-ready .site-header-icon {
  animation-play-state: running;
}

.site-header-icon--peace {
  --icon-duration: 64s;
  --icon-delay: -42s;
  left: 15%;
}

.site-header-icon--bubble {
  --icon-duration: 34s;
  --icon-delay: -17s;
  left: 38.333%;
}

.site-header-icon--heart {
  --icon-duration: 36s;
  --icon-delay: -8s;
  left: 61.667%;
}

.site-header-icon--flame {
  --icon-duration: 32s;
  --icon-delay: -17s;
  left: 85%;
}

#unterschrift {
  display: block;
  width: min(100%, 42rem);
}

.site-sidebar {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  width: min(100%, var(--sidebar-width));
}

.site-sidebar ul {
  width: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-sidebar li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-sidebar .sidebar-content-01,
.footer-nav {
  font-size: 1rem;
  line-height: 1.35rem;
  font-weight: 700;
}

.site-sidebar .sidebar-content-01 li,
.footer-nav li {
  line-height: inherit;
}

.site-sidebar .sidebar-content-01 .sidebar-reveal,
.footer-nav .reveal-block {
  line-height: inherit;
}

.site-sidebar .sidebar-content-02 {
  font-family: 'Excon-Black';
  font-size: clamp(2rem, 2vw + 1rem, 2.8rem);
  margin-top: 1.5rem;
}

.site-sidebar .sidebar-content-03 {
  font-size: 1rem;
  line-height: 1.5rem;
  margin-top: 2rem;
}

.site-sidebar .sidebar-content-04 {
  font-size: 1rem;
  line-height: 1.5rem;
}

.sidebar-note,
.sidebar-contact-label {
  margin-top: 0.5rem;
}

.sidebar-contact-link {
  margin-top: -0.5rem;
}

.sidebar-contact-link .link-button-hover,
.sidebar-contact-link .link-button-content {
  font-weight: 700;
}

.sidebar-reveal {
  display: inline-block;
  position: relative;
  overflow: hidden;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 2s cubic-bezier(0.77, 0, 0.175, 1), opacity 2s ease;
}

.sidebar-reveal::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: var(--color-midnight);
  transform: translateY(0);
  transition: transform 2s cubic-bezier(0.77, 0, 0.175, 1);
  pointer-events: none;
}

.site-sidebar li.active .sidebar-reveal {
  transform: translateY(0);
  opacity: 1;
}

.site-sidebar li.active .sidebar-reveal::before {
  transform: translateY(100%);
}

.site-sidebar.no-transition .sidebar-reveal {
  transition: none !important;
  transform: translateY(0) !important;
  opacity: 1 !important;
}

.site-sidebar.no-transition .sidebar-reveal::before {
  transition: none !important;
  transform: translateY(100%) !important;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr;
    grid-template-rows: 50svh 50svh;
  }

  .site-header-icon {
    width: clamp(3rem, 11vw, 6rem);
  }

  .site-sidebar .sidebar-content-01 {
    display: none;
  }

  #unterschrift {
    width: min(clamp(60%, calc(171.1111% - 12.3457vw), 100%), 28rem);
  }
}

@media (max-width: 576px) {
  .site-header__content {
    align-items: flex-start;
  }

  .site-sidebar {
    width: min(100%, var(--sidebar-width));
  }

  .site-header-icon--peace {
    left: 18%;
  }

  .site-header-icon--bubble {
    left: 39.333%;
  }

  .site-header-icon--heart {
    left: 60.667%;
  }

  .site-header-icon--flame {
    left: 82%;
  }
}

/* ============================================
   DER MANN DAHINTER
============================================ */

.site-main {
  position: relative;
  width: calc(100vw - var(--scrollbar-width, 0px));
  height: auto;
  overflow: hidden;
}

.about-intro,
.about-portrait-wrapper {
  --parallax-y: 0px;
  will-change: transform;
  backface-visibility: hidden;
  transform-style: preserve-3d;
}

.about-section {
  position: relative;
  padding-top: var(--space-section);
}

.about-headline {
  position: relative;
  z-index: 3;
  overflow: hidden;
  width: calc(100% - (var(--space-page) * 2) - var(--space-about-indent));
  margin-left: calc(var(--space-page) + var(--space-about-indent));
  box-sizing: border-box;
}

.about-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  width: 100%;
  margin-top: clamp(2.5rem, 5vw, 6rem);
  padding-bottom: clamp(3rem, 8vw, 8rem);
}

@media (min-width: 577px) {
  .about-stage {
    padding-bottom: clamp(2rem, 3vw, 4rem);
  }
}

.about-intro-layer {
  position: relative;
  z-index: 3;
  grid-area: 1 / 1;
  display: block;
  width: 100%;
}

.about-intro {
  width: min(clamp(26rem, 42vw, 42rem), calc(100% - (var(--space-page) * 2) - var(--space-about-indent)));
  margin-left: calc(var(--space-page) + var(--space-about-indent));
  padding-top: clamp(3rem, 6vw, 8rem);
  max-width: 100%;
  box-sizing: border-box;
  transform: translateY(var(--parallax-y));
}

.about-intro h2 {
  font-size: clamp(1.6rem, 1vw + 1.2rem, 2.2rem);
  line-height: 1.5;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.line-reveal-host {
  color: var(--color-stone);
}

.line-reveal {
  display: block;
}

.line-reveal-line {
  display: block;
  color: var(--color-stone);
  background-image: linear-gradient(
    90deg,
    var(--color-moonlight) 0%,
    var(--color-moonlight) var(--line-progress),
    var(--color-stone) var(--line-progress),
    var(--color-stone) 100%
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.line-reveal-line--gap {
  margin-top: 1.5em;
}

.reveal-title {
  overflow: hidden;
  text-align: left;
}

.reveal-title .mask {
  display: block;
  position: relative;
  overflow: hidden;
  line-height: 1;
  height: 1em;
}

.reveal-title .mask span {
  display: inline-block;
  transform: translateY(calc((1 - var(--headline-reveal-progress, 1)) * 100%));
  opacity: 1;
  transition: none;
}

.about-portrait-wrapper {
  --portrait-edge-shift: 0px;
  position: relative;
  z-index: 1;
  grid-area: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  pointer-events: none;
  overflow: hidden;
  height: auto;
  padding-left: var(--space-page);
  padding-right: var(--space-page);
  box-sizing: border-box;
  transform: translateY(var(--parallax-y));
}

.about-portrait {
  transform: translateX(var(--portrait-edge-shift));
  transition: transform 0.28s ease;
  will-change: transform;
}

.about-portrait img {
  display: block;
  width: clamp(20rem, 62vw, 70rem);
  max-width: 100%;
  height: auto;
  opacity: 0.4;
  z-index: 1;
}

@media (min-width: 577px) and (max-width: 1440px) {
  .about-portrait-wrapper {
    --portrait-edge-shift: var(--space-page);
  }
}

@media (max-width: 576px) {
  .about-stage {
    display: flex;
    flex-direction: column;
    margin-top: 2.5rem;
    padding-bottom: 0;
  }

  .about-headline {
    width: calc(100% - (var(--space-page) * 2));
    margin-left: var(--space-page);
  }

  .about-intro {
    width: calc(100% - (var(--space-page) * 2));
    margin-left: var(--space-page);
    padding: 0;
  }

  .about-portrait-wrapper {
    width: 100%;
    padding: 2.5rem 0 0 var(--space-page);
  }
}

/* ============================================
   PORTFOLIO
============================================ */

.portfolio-section {
  margin: 0 var(--space-page);
}

@media (min-width: 577px) {
  .portfolio-section {
    margin-top: clamp(-10rem, -6vw, -2.5rem);
  }
}

.portfolio-headline {
  width: 100%;
}

.portfolio-section > p {
  margin: 0;
  padding-top: var(--space-heading-text);
}

.portfolio-list {
  position: relative;
  width: 100%;
  height: var(--portfolio-flow-height, auto);
  list-style: none;
  margin: var(--space-inner) 0 0;
  padding: 0;
}

.portfolio-item {
  position: absolute;
  top: 0;
  left: 50%;
  display: block;
  z-index: var(--project-title-z, 1);
  pointer-events: none;
}

.project-title {
  --project-title-letter-travel: 1.2em;
  --project-title-x: 0px;
  --project-title-y: 0px;
  --project-title-rotate: 0deg;
  --project-title-opacity: 1;
  --project-title-scale: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  max-width: 100%;
  padding: clamp(0.75rem, calc(-0.75rem + 4.1667vw), 2.5rem) clamp(1.25rem, calc(-2.6071rem + 10.7143vw), 5rem);
  border: clamp(2px, calc(1.1429px + 0.1488vw), 4px) solid currentColor;
  border-radius: 999px;
  font-size: clamp(1.5rem, calc(-3.6429rem + 10vw), 7.5rem);
  font-weight: 700;
  line-height: 1;
  color: var(--color-moonlight);
  text-decoration: none;
  cursor: pointer;
  opacity: var(--project-title-opacity);
  pointer-events: none;
  transform: translate(calc(-50% + var(--project-title-x)), var(--project-title-y)) rotate(var(--project-title-rotate)) scale(var(--project-title-scale));
  transform-origin: center;
  white-space: nowrap;
  background-color: var(--color-night-sky);
  transition: color 0.3s ease, background-color 0.3s ease;
  will-change: transform;
}

.project-title .link-button-mask {
  display: block;
  overflow: hidden;
  line-height: var(--project-title-letter-travel);
}

.project-title-letters {
  display: inline-flex;
  align-items: baseline;
}

.project-title-letter-slot {
  display: inline-block;
  overflow: hidden;
  height: var(--project-title-letter-travel);
  line-height: var(--project-title-letter-travel);
}

.project-title-letter {
  position: relative;
  display: inline-block;
  line-height: var(--project-title-letter-travel);
  transition: transform 0.3s linear, color 0.15s ease;
  transition-delay: calc(var(--letter-index) * 55ms);
}

.project-title-letter::before {
  content: attr(data-letter);
  position: absolute;
  top: var(--project-title-letter-travel);
  left: 0;
  color: var(--color-stone);
}

.project-title:focus-visible {
  color: var(--color-stone);
  background-color: transparent;
}

.project-title:focus-visible .project-title-letter {
  color: var(--color-stone);
  transform: translateY(calc(var(--project-title-letter-travel) * -1));
}

@media (hover: hover) and (pointer: fine) {
  .portfolio-item:has(.project-title:hover) {
    z-index: 1000;
  }

  .project-title:hover {
    color: var(--color-stone);
    background-color: transparent;
  }

  .project-title:hover .project-title-letter {
    color: var(--color-stone);
    transform: translateY(calc(var(--project-title-letter-travel) * -1));
  }
}

/* ============================================
   HOTSPOT
============================================ */

.hotspot-section {
  position: relative;
  margin: var(--space-section) var(--space-page) 0;
  overflow: visible;
}

.hotspot-headline {
  width: 100%;
}

.hotspot-section > p {
  margin: 0;
  padding-top: var(--space-heading-text);
}

.hotspot-visual-zone {
  position: relative;
  padding-top: clamp(8rem, calc(3.7143rem + 11.9048vw), 18rem);
  padding-bottom: clamp(7rem, calc(2.7143rem + 11.9048vw), 17rem);
}

.hotspot-teaser {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  justify-items: center;
  gap: clamp(1rem, calc(-0.2857rem + 3.5714vw), 4rem);
  isolation: isolate;
}

.hotspot-teaser-card {
  --teaser-x: 0%;
  --teaser-perspective: 1400px;
  --teaser-rotate-x: 0deg;
  --teaser-rotate-z: -15deg;
  --teaser-scale: 1;
  position: relative;
  width: 100%;
  margin: 0;
  transform: translateX(var(--teaser-x)) perspective(var(--teaser-perspective)) rotateZ(var(--teaser-rotate-z)) rotateX(var(--teaser-rotate-x)) scale(var(--teaser-scale));
  transform-origin: center;
  transform-style: preserve-3d;
  will-change: transform;
}

.hotspot-teaser-image {
  display: block;
  width: 100%;
  height: auto;
}

.hotspot-icon-layer {
  --icon-layer-height: 600px;
  --hotspot-edge-center: calc(var(--space-page) + clamp(3rem, 9vw, 5rem));
  --hotspot-inner-offset: clamp(1.5rem, 3.86vw, 2.2rem);
  position: absolute;
  inset: 0;
  z-index: 3;
  overflow: hidden;
  pointer-events: none;
}

.hotspot-float-item {
  --icon-rotate: 0deg;
  --icon-duration: 8s;
  --icon-delay: 0s;
  position: absolute;
  top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(10rem, 20vw, 20rem);
  pointer-events: none;
  animation: hotspotFloatRise var(--icon-duration) linear var(--icon-delay) infinite;
  backface-visibility: hidden;
  transform: translate3d(-50%, calc(var(--icon-layer-height) + 110%), 0) rotate(var(--icon-rotate));
  will-change: transform, opacity;
}

.hotspot-teaser-icon {
  display: block;
  width: clamp(3.5rem, 8vw, 9rem);
  height: auto;
  margin: 0;
  user-select: none;
}

.hotspot-float-image {
  --hotspot-float-image-size: clamp(7rem, 14vw, 15rem);
  display: block;
  width: var(--hotspot-float-image-size);
  height: auto;
  border-radius: 0.25rem;
}

.hotspot-float-item--flame {
  --icon-duration: 32s;
  left: var(--hotspot-loop-x, var(--hotspot-edge-center));
}

.hotspot-float-item--heart {
  --icon-duration: 30s;
  --icon-delay: -9s;
  left: var(--hotspot-loop-x, calc(33.333333% + var(--hotspot-inner-offset)));
}

.hotspot-float-item--smily {
  --icon-duration: 64s;
  --icon-delay: -19s;
  left: var(--hotspot-loop-x, calc(66.666667% - var(--hotspot-inner-offset)));
}

.hotspot-float-item--horns {
  --icon-duration: 34s;
  --icon-delay: -14s;
  left: var(--hotspot-loop-x, calc(100% - var(--hotspot-edge-center)));
}

@media (min-width: 901px) {
  .hotspot-icon-layer {
    --hotspot-edge-center: calc(var(--space-page) + clamp(4.5rem, 9vw, 10rem));
    --hotspot-inner-offset: clamp(2.2rem, calc(-1.875rem + 7.23vw), 6.5rem);
  }

  .hotspot-float-item--flame .hotspot-float-image,
  .hotspot-float-item--horns .hotspot-float-image {
    --hotspot-float-image-size: clamp(9rem, 18vw, 20rem);
  }

  .hotspot-float-item--horns .hotspot-float-image--top {
    --hotspot-float-image-size: clamp(7rem, 14vw, 15rem);
  }

  .hotspot-float-item--heart .hotspot-float-image--top {
    --hotspot-float-image-size: clamp(9rem, 18vw, 20rem);
  }
}

@keyframes hotspotIconRise {
  0% {
    transform: translate3d(-50%, calc(var(--icon-layer-height) + 110%), 0) rotate(var(--icon-rotate));
  }

  100% {
    transform: translate3d(-50%, -110%, 0) rotate(var(--icon-rotate));
  }
}

@keyframes hotspotFloatRise {
  0% {
    transform: translate3d(-50%, calc(var(--icon-layer-height) + 110%), 0) rotate(var(--icon-rotate));
  }

  100% {
    transform: translate3d(-50%, -160%, 0) rotate(var(--icon-rotate));
  }
}

.hotspot-teaser-card--one {
  --teaser-x: -3%;
  --teaser-rotate-x: -15deg;
  --teaser-scale: 1;
  width: 59%;
  z-index: 2;
}

.hotspot-section--variant-2 {
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  margin: var(--space-section) 0 0;
  padding: 0 var(--space-page);
  box-sizing: border-box;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  overflow: hidden;
}

.hotspot-section--variant-2 .hotspot-headline,
.hotspot-section--variant-2 > p {
  position: relative;
  z-index: 2;
}

.hotspot-section--variant-2 .hotspot-teaser {
  position: relative;
  z-index: 2;
}

.hotspot-section--variant-2 .hotspot-visual-zone {
  position: relative;
  display: grid;
  justify-items: center;
  align-items: center;
  margin-top: 24px;
  padding: 0;
  min-height: 0;
}

.hotspot-section--variant-2 .hotspot-icon-layer {
  --icon-layer-height: 100vh;
  --icon-layer-height: 100dvh;
  z-index: 3;
}

.hotspot-section--stream .hotspot-icon-layer {
  z-index: 1;
}

.hotspot-section--stream .hotspot-float-item {
  --hotspot-loop-gap: clamp(8px, 1.8vw, 24px);
  --hotspot-track-gap: clamp(8px, 1.8vw, 24px);
  width: calc((100% - (3 * var(--hotspot-loop-gap))) / 4);
  gap: var(--hotspot-track-gap);
}

.hotspot-section--stream .hotspot-float-item--smily {
  --icon-duration: 56s;
}

.hotspot-section--stream .hotspot-float-image {
  width: 100%;
  height: auto;
  border-radius: 0;
}

.hotspot-section--stream .hotspot-float-video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
}

.hotspot-section--stream .hotspot-float-item {
  animation: none;
  transform: translate3d(-50%, var(--hotspot-scroll-offset, 0px), 0);
}

.hotspot-section--variant-2 .hotspot-teaser-card {
  --teaser-x: 0%;
  --teaser-rotate-x: 0deg;
  --teaser-rotate-z: 0deg;
  aspect-ratio: auto;
  display: grid;
  overflow: hidden;
  transform-style: flat;
  will-change: auto;
}

.hotspot-section--variant-2 .hotspot-teaser-image {
  grid-area: 1 / 1;
  width: 100%;
  height: auto;
  min-width: 0;
  object-fit: initial;
  object-position: center;
  opacity: 0;
  transition: opacity 0.9s ease;
}

.hotspot-section--variant-2 .hotspot-teaser-image--active {
  opacity: 1;
}

.hotspot-section--variant-2 .hotspot-teaser-card--one {
  width: min(var(--hotspot-card-width, 75%), 72rem);
}

@media (max-width: 900px) {
  .hotspot-visual-zone {
    min-height: auto;
    padding-top: clamp(5rem, 14vw, 8rem);
    padding-bottom: clamp(6rem, 18vw, 10rem);
    box-sizing: border-box;
  }

  .hotspot-teaser {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(0.5rem, 2.5vw, 1.5rem);
  }

  .hotspot-teaser-card--one {
    --teaser-perspective: 760px;
    width: min(72%, 42rem);
  }

  .hotspot-teaser-icon {
    width: clamp(3rem, 12vw, 6rem);
  }

  .hotspot-float-image {
    --hotspot-float-image-size: clamp(6rem, 18vw, 10rem);
  }

  .hotspot-section--variant-2 {
    --hotspot-compact-height: clamp(42rem, 125vw, 54rem);
    height: var(--hotspot-compact-height);
    min-height: 0;
  }

  .hotspot-section--variant-2 .hotspot-visual-zone {
    padding-top: 0;
    padding-bottom: 0;
  }

  .hotspot-section--variant-2 .hotspot-icon-layer {
    --icon-layer-height: var(--hotspot-compact-height);
  }
}

@media (max-width: 576px) {
  .hotspot-icon-layer {
    --hotspot-edge-center: calc(var(--space-page) + clamp(2.125rem, 8vw, 2.75rem));
    --hotspot-inner-offset: clamp(1.125rem, 3.8vw, 1.375rem);
  }

  .hotspot-float-image {
    --hotspot-float-image-size: clamp(5rem, 22vw, 6rem);
  }

  .hotspot-visual-zone {
    min-height: auto;
    padding-top: clamp(5rem, 18vw, 7rem);
    padding-bottom: clamp(5rem, 22vw, 8rem);
  }

  .hotspot-teaser {
    grid-template-columns: 1fr;
    gap: clamp(1rem, 6vw, 2rem);
  }

  .hotspot-teaser-card {
    width: 74%;
    margin-inline: auto;
  }

  .hotspot-teaser-card--one {
    --teaser-perspective: 560px;
    --teaser-x: 0%;
  }

  .hotspot-section--variant-2 {
    padding: 0 var(--space-page);
    --hotspot-compact-height: clamp(40rem, 135vw, 48rem);
  }

  .hotspot-section--variant-2 .hotspot-visual-zone {
    padding-top: 0;
    padding-bottom: 0;
  }

  .hotspot-section--variant-2 .hotspot-teaser-card {
    width: min(var(--hotspot-card-width, 96%), 32rem);
  }
}

/* ============================================
   FOOTER
============================================ */

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 1fr);
  align-items: stretch;
  min-height: 100vh;
  min-height: 100svh;
  width: 100%;
  padding-inline: var(--space-page);
  box-sizing: border-box;
  background-color: var(--color-night-sky);
}

.footer-about,
.footer-sidebar-slot,
.footer-sidebar {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  box-sizing: border-box;
}

.footer-sidebar-slot {
  width: 100%;
}

.footer-sidebar {
  flex-direction: column;
  width: 100%;
}

.footer-sidebar[hidden] {
  display: none;
}

.footer-about {
  justify-content: center;
}

.footer-nav {
  width: min(100%, var(--sidebar-width));
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav img {
  display: block;
  width: min(100%, clamp(12rem, 34vw, 16rem));
  height: auto;
}

#footer-unterschrift {
  display: block;
  width: min(100%, clamp(12rem, 34vw, 16rem));
}

#footer-unterschrift svg {
  display: block;
  width: 100% !important;
  height: auto !important;
}

.footer-nav p {
  margin: 0;
}

.footer-signature {
  margin-bottom: 1.5rem !important;
}

.footer-date-item {
  margin-top: 1.25rem !important;
}

.footer-links-start {
  margin-top: 1.25rem !important;
}

.footer-to-top {
  margin-top: 1.25rem !important;
}

.footer-to-top .arrow-button {
  margin-top: 0;
}

.footer-sidebar--variant-2 .footer-location,
.footer-sidebar--variant-2 .date {
  color: var(--color-moonlight) !important;
}

.footer-sidebar--variant-2 .footer-to-top {
  --footer-button-progress: 0;
  --button-arrow-bg: var(--color-moonlight);
  --button-arrow-hover-bg: var(--color-stone);
  --button-arrow-color: var(--color-midnight);
  --button-arrow-hover-color: var(--color-midnight);
  opacity: var(--footer-button-progress);
  transition: opacity 0.45s ease;
}

.footer-about h2 {
  margin: 0;
  max-width: 720px;
  overflow-wrap: anywhere;
}

.footer-about .link-button-hover,
.footer-about .link-button-content {
  font-weight: 700;
}

.footer-about .link-button-hover {
  display: block;
  width: fit-content;
  margin-top: 1.5rem;
}

@media (max-width: 900px) {
  .site-footer {
    grid-template-columns: 1fr;
    min-height: auto;
    align-items: stretch;
  }

  .footer-about {
    min-height: auto;
    width: 100%;
    max-width: 100%;
    justify-content: flex-start;
    padding: 24px 0 var(--space-section);
  }

  .footer-about h2 {
    max-width: 100%;
  }

  .footer-sidebar {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100vh;
    height: 100svh;
    min-height: 100vh;
    min-height: 100svh;
  }

  .footer-nav img {
    width: min(100%, clamp(11rem, 58vw, 15rem));
  }

  #footer-unterschrift {
    width: min(100%, clamp(11rem, 58vw, 15rem));
  }
}
