/* Startseite */

/* ---------------------------------------------------------------- Erster Eindruck */
.held {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 640px;
  max-height: 1500px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(60% 46% at 50% 30%, rgba(224, 165, 38, 0.13), transparent 70%),
    radial-gradient(90% 60% at 50% 105%, rgba(70, 40, 120, 0.28), transparent 70%),
    radial-gradient(120% 90% at 50% 40%, #111a30 0%, #0a0f1b 58%, #070a12 100%);
}
.held::after {
  /* sanfter Übergang in die Seite */
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 140px;
  background: linear-gradient(transparent, var(--nacht));
  z-index: 3;
  pointer-events: none;
}
.welt-hinten, .welt-vorne {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.welt-hinten { z-index: 0; }
.welt-vorne { z-index: 6; }
.held.ohne-3d { background-image: url("../bilder/held-standbild.webp"); background-size: cover; background-position: center bottom; }

.held-inhalt {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: clamp(112px, 15vh, 170px);
  text-align: center;
}
.marke-block { display: inline-flex; flex-direction: column; align-items: stretch; margin: 0; font-size: inherit; }
.held .wortmarke { --g: 126px; justify-content: center; }
.held .unterzeile { --px: 14px; text-align: left; }
.slogan {
  margin-top: clamp(22px, 3.2vh, 36px);
  font: 400 27px/1.3 var(--mc);
  color: #fff;
  animation: rein 0.9s var(--raus) 0.85s both;
}
.slogan span { color: var(--gold); }
@keyframes rein { from { opacity: 0; transform: translateY(12px); } }

/* Die drei Wege – die Inseln selbst zeichnet 3d/start.js, hier nur die Beschriftung */
.inseln {
  position: absolute;
  inset: 0;
  z-index: 7;   /* über den vorderen Blüten/der Biene, damit die Beschriftung immer lesbar bleibt */
  pointer-events: none;
}
.inseln a { pointer-events: auto; }
.insel-ziel {
  position: absolute;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  opacity: 0;
  transition: transform 0.25s var(--zurueck);
}
.held.bereit .insel-ziel { opacity: 1; animation: auftauchen 0.8s var(--raus) backwards; }
@keyframes auftauchen { from { opacity: 0; transform: translateX(-50%) translateY(14px); } to { opacity: 1; transform: translateX(-50%); } }
.held.bereit .insel-ziel:nth-child(1) { animation-delay: 1.15s; }
.held.bereit .insel-ziel:nth-child(2) { animation-delay: 1s; }
.held.bereit .insel-ziel:nth-child(3) { animation-delay: 1.3s; }
.insel-ziel b { font: 700 27px/1 var(--mc); color: #fff; text-shadow: 3px 3px 0 #000; }
.insel-ziel.haupt b { font-size: 36px; color: var(--gold); text-shadow: 4px 4px 0 var(--gold-schatten); }
.insel-ziel small { font-size: 14px; color: #cfd5e2; text-shadow: 0 1px 2px #000, 0 0 10px #000; }
.insel-ziel .chip { font-size: 12px; }
.insel-ziel.an, .insel-ziel:hover, .insel-ziel:focus-visible { transform: translateX(-50%) translateY(-4px); }
.insel-ziel.an b, .insel-ziel:hover b { color: #ffffa0; }
.insel-ziel.haupt.an b, .insel-ziel.haupt:hover b { color: var(--gold-hell); }
/* ohne 3D: Beschriftungen in einer Reihe */
.held:not(.bereit) .insel-ziel { opacity: 1; position: relative; transform: none; }
.held:not(.bereit) .inseln { display: flex; justify-content: center; align-items: flex-end; gap: 40px; top: auto; bottom: 12%; }

.runter {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  padding: 8px;
  animation: hopsen 2.4s ease-in-out infinite;
  opacity: 0.7;
}
.runter img { width: 32px; height: 32px; image-rendering: pixelated; }
@keyframes hopsen { 50% { transform: translate(-50%, 6px); } }

/* ---------------------------------------------------------------- Plattform */
.pf-start { padding-top: 40px; overflow: hidden; }
.pf-start::before {
  content: "";
  position: absolute;
  left: 50%; top: 18%;
  width: 1400px; height: 900px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(224, 165, 38, 0.12), transparent);
  pointer-events: none;
}
.pf-name {
  margin-top: 22px;
  font-size: clamp(72px, 12vw, 162px);
  line-height: 1;
  color: #fff;
  text-shadow: calc(1em / 9) calc(1em / 9) 0 #3a4256, 0 0 60px rgba(224, 165, 38, 0.35);
}
.pf-buehne {
  position: relative;
  max-width: 1200px;
  margin: clamp(40px, 6vw, 72px) auto 0;
  perspective: 1800px;
}
.pf-fenster {
  transform-origin: 50% 100%;
  transform: rotateX(16deg) scale(0.94);
  transition: transform 1.2s var(--raus);
}
@supports (animation-timeline: view()) {
  .pf-fenster { animation: aufrichten linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; transition: none; }
  @keyframes aufrichten { from { transform: rotateX(22deg) scale(0.9); } to { transform: none; } }
}
.pf-buehne.da .pf-fenster { transform: none; }
.schwebe {
  position: absolute;
  height: auto;
  box-shadow: 0 0 0 3px #000, 0 24px 48px -10px rgba(0, 0, 0, 0.8);
  animation: schweben 7s ease-in-out infinite;
}
.s1 { width: 22%; left: -5%; top: 46%; animation-delay: -1s; }
.s2 { width: 24%; right: -5%; top: 8%; animation-delay: -3s; }
.s3 { width: 28%; right: 6%; bottom: -6%; animation-delay: -5s; }
@keyframes schweben { 50% { transform: translateY(-12px); } }

/* ---------------------------------------------------------------- Warum */
.warum { background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.015) 30%, transparent); }
.werte {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: clamp(40px, 5vw, 64px);
}
.wert { padding: 26px 26px 24px; overflow: hidden; }
.wert::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 70% at 0% 0%, rgba(224, 165, 38, 0.1), transparent 60%);
  pointer-events: none;
}
.wert-icon { width: 32px; height: 32px; image-rendering: pixelated; }
.wert-zahl { margin-top: 18px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.wert-zahl b { font-size: 54px; line-height: 1; color: var(--gold); text-shadow: 6px 6px 0 var(--gold-schatten); }
.wert-zahl.wort b { font-size: 36px; text-shadow: 4px 4px 0 var(--gold-schatten); }
.wert-zahl small { font-size: 18px; color: var(--grau); }
.wert h3 { margin-top: 16px; font-size: 18px; color: #fff; }
.wert p { margin-top: 6px; color: var(--grau); font-size: 15px; }
.wert p.vergleich { margin-top: 14px; padding-top: 12px; border-top: 1px dashed rgba(255, 255, 255, 0.1); font-size: 13px; color: var(--dunkelgrau); }
.fussnote { margin-top: 26px; text-align: center; font-size: 13px; color: var(--dunkelgrau); }

/* ---------------------------------------------------------------- Was drin ist */
.reiter { position: relative; margin-top: 44px; }
.reiter-knoepfe { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.reiter-knoepfe button {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 16px 10px;
  font: 400 18px/1 var(--mc);
  color: var(--grau);
  background: var(--tafel);
  border: 0;
  cursor: pointer;
  box-shadow: var(--kante);
  transition: background 0.15s, color 0.15s, transform 0.15s var(--zurueck);
}
.reiter-knoepfe button img { width: 24px; height: 24px; image-rendering: pixelated; }
.reiter-knoepfe button:hover { color: #fff; background: var(--tafel-hover); }
.reiter-knoepfe button[aria-selected="true"] { color: #1a1205; background: var(--gold); box-shadow: var(--kante-gold); }
.reiter-felder [role="tabpanel"].rein .fenster { animation: einblenden 0.5s var(--raus); }
@keyframes einblenden { from { opacity: 0; transform: translateY(10px) scale(0.99); } }
.feld-text { margin-top: 18px; text-align: center; color: var(--grau); }
.feld-text b { font-family: var(--mc); color: #fff; margin-right: 8px; }
.handy {
  position: absolute;
  right: -40px;
  bottom: 30px;
  width: 210px;
  margin: 0;
  padding: 8px;
  background: #05070d;
  box-shadow: 0 0 0 3px #000, inset 0 0 0 2px #1d2438, 0 30px 60px -10px rgba(0, 0, 0, 0.9);
  transform: rotate(4deg);
  animation: schweben 8s ease-in-out infinite;
}
.handy img { width: 100%; height: auto; }

/* ---------------------------------------------------------------- Der Weg */
.stationen {
  position: relative;
  list-style: none;
  margin: 56px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.stationen::before {
  /* Pfad aus kleinen Blöcken */
  content: "";
  position: absolute;
  left: 16%; right: 16%;
  top: 58px;
  height: 12px;
  background: repeating-linear-gradient(90deg, #3a4256 0 12px, transparent 12px 24px);
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.5);
}
.station {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 30px 20px 26px;
  background: var(--tafel);
  box-shadow: var(--kante), 8px 8px 0 3px rgba(0, 0, 0, 0.45);
}
.station:first-child { background: linear-gradient(180deg, #2a2210, var(--tafel) 70%); box-shadow: var(--kante-gold), 8px 8px 0 3px rgba(0, 0, 0, 0.45); }
.station .nr { position: absolute; top: 12px; left: 16px; font-size: 18px; color: var(--dunkelgrau); }
.station img { width: 64px; height: 64px; image-rendering: pixelated; }
.station h3 { font-size: 27px; }
.station:first-child h3 { color: var(--gold); }
.station p { color: var(--grau); font-size: 15px; }

/* ---------------------------------------------------------------- Einblicke */
.einblicke { overflow: hidden; }
.lobby-band {
  position: absolute;
  inset: 0 0 auto 0;
  height: 620px;
  z-index: -1;
  opacity: 0.32;
  mask-image: linear-gradient(transparent, #000 25%, #000 50%, transparent);
  -webkit-mask-image: linear-gradient(transparent, #000 25%, #000 50%, transparent);
}
.lobby-band video { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.9); }
.clips { display: grid; grid-template-columns: 1.625fr 1fr; grid-template-rows: 1fr 1fr; gap: 24px; margin-top: 48px; }
.clip { position: relative; margin: 0; }
.clip:first-child { grid-row: span 2; }
.clip .fenster { position: relative; height: 100%; overflow: hidden; }
.clip:not(:first-child) .fenster { aspect-ratio: 16 / 9; height: auto; }
.clip video { width: 100%; height: 100%; object-fit: cover; }
.clip figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 44px 18px 14px;
  background: linear-gradient(transparent, rgba(5, 7, 13, 0.92) 55%);
  color: var(--grau); font-size: 14px; line-height: 1.45;
  pointer-events: none;
}
.clip figcaption b { display: block; margin-bottom: 2px; color: #fff; font-size: 18px; font-weight: 400; }
.clip:first-child figcaption { padding-right: 80px; }
.taste {
  position: absolute;
  right: 14px; bottom: 14px; z-index: 2;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  font-size: 27px; color: #1a1205;
  background: var(--gold);
  box-shadow: var(--kante-gold), 0 6px 0 3px #000;
  animation: druecken 3s ease-in-out infinite;
}
@keyframes druecken { 0%, 70%, 100% { transform: none; } 78% { transform: translateY(4px); box-shadow: var(--kante-gold), 0 2px 0 3px #000; } }

/* ---------------------------------------------------------------- Neuigkeiten */
.kopfzeile { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.beitraege { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 36px; }
.beitrag { display: grid; grid-template-columns: 44% 1fr; text-decoration: none; overflow: hidden; transition: transform 0.2s var(--zurueck), background 0.2s; }
.beitrag:hover { transform: translateY(-4px); background: var(--tafel-hell); }
.beitrag img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.beitrag > div { padding: 20px 22px; }
.beitrag time { font-size: 13px; color: var(--gold); }
.beitrag h3 { margin-top: 8px; font-size: 22px; }
.beitrag p { margin-top: 8px; font-size: 15px; color: var(--grau); }

/* ---------------------------------------------------------------- Wer baut das */
.wer { padding-top: 20px; }
.wer-innen { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; text-align: center; }
.wer-kopf { width: 48px; height: 48px; image-rendering: pixelated; }
.wer p { color: var(--grau); }
.wer p b { color: #fff; font-weight: 400; margin-right: 6px; }

/* ---------------------------------------------------------------- Größen */
@media (min-width: 1900px) {
  .held .wortmarke { --g: 162px; }
  .held .unterzeile { --px: 18px; font-size: 27px; }
  .slogan { font-size: 36px; }
  .insel-ziel b { font-size: 36px; }
  .insel-ziel.haupt b { font-size: 45px; }
  .insel-ziel small { font-size: 16px; }
  .insel-ziel .chip { font-size: 14px; }
}
@media (max-width: 1280px) { .handy { right: -12px; width: 180px; } }
@media (max-width: 1100px) {
  .held .wortmarke { --g: 108px; }
  .werte { grid-template-columns: repeat(2, 1fr); }
  .clips { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .clips .clip:first-child { grid-column: 1 / -1; grid-row: auto; }
  .clip:first-child .fenster { aspect-ratio: 1600 / 1156; height: auto; }
  .handy { display: none; }
}
@media (max-width: 760px) {
  .held { min-height: 600px; }
  .held-inhalt { padding-top: clamp(64px, 11vh, 110px); }
  .held .wortmarke { --g: 72px; }
  .held .unterzeile { --px: 8px; font-size: 14px; padding-bottom: 7px; }
  .slogan { font-size: 18px; }
  .insel-ziel { padding: 6px 2px; gap: 6px; }
  .insel-ziel b { font-size: 15px; }
  .insel-ziel.haupt b { font-size: 24px; }
  .insel-ziel small { display: none; }
  .insel-ziel .chip { font-size: 10px; padding: 4px 5px 3px; letter-spacing: 0; }
  .runter { display: none; }
  .s3 { display: none; }
  /* Werte: zum Wischen nebeneinander */
  .werte { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 32px calc(var(--rand) * -1) 0; padding: 6px var(--rand) 18px; scrollbar-width: none; }
  .werte::-webkit-scrollbar { display: none; }
  .wert { flex: 0 0 78%; scroll-snap-align: center; }
  .wert-zahl b { font-size: 45px; }
  .pf-fenster, .reiter .fenster { max-width: 290px; margin: 0 auto; }
  .pf-buehne { max-width: 390px; }
  .s1 { left: -1%; top: 30%; width: 40%; }
  .s2 { right: -1%; top: 52%; width: 38%; }
  .reiter-knoepfe { gap: 8px; }
  .reiter-knoepfe button { font-size: 14px; padding: 9px 10px 8px; }
  .reiter-knoepfe button img { width: 16px; height: 16px; }
  .stationen { grid-template-columns: 1fr; gap: 20px; }
  .stationen::before { left: 50%; right: auto; width: 12px; top: 40px; bottom: 40px; height: auto; background: repeating-linear-gradient(180deg, #3a4256 0 12px, transparent 12px 24px); transform: translateX(-50%); }
  .clips { grid-template-columns: 1fr; }
  .clip figcaption { position: static; padding: 12px 0 0; background: none; }
  .clip:first-child figcaption { padding-right: 0; }
  .beitraege { grid-template-columns: 1fr; }
  .beitrag { grid-template-columns: 1fr; }
  .beitrag img { aspect-ratio: 16 / 9; }
}
@media (max-width: 389px) {
  .held .wortmarke { --g: 63px; }
  .slogan { font-size: 18px; }
}
@media (max-height: 760px) and (min-width: 761px) {
  .held .wortmarke { --g: 90px; }
  .held-inhalt { padding-top: 104px; }
  .slogan { font-size: 18px; margin-top: 18px; }
}
