/* Visionerity Start — Variante A (Klarheit & Hub)
   Ergänzt home.css / worlds.css — nur Zusatzstile. */

.home-v2 {
  --hp-v2-ink: #1a1612;
  --hp-v2-cream: #f3ead8;
  --hp-v2-gold: #c9943a;
  --hp-v2-gold-soft: rgba(232, 176, 96, 0.55);
}

/* Produktion: kein Varianten-Banner — Header/Nav wie Standard */
.home-final .site-header {
  top: 0;
}

.home-final .story-nav {
  top: var(--nav-height, 4.25rem);
}

/* —— Banner (nur falls noch auf Entwurfsseiten) —— */
.hp-v2-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.4rem clamp(1rem, 3vw, 1.75rem);
  font-family: Outfit, system-ui, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hp-v2-cream);
  background: rgba(12, 10, 8, 0.88);
  border-bottom: 1px solid rgba(232, 176, 96, 0.22);
  backdrop-filter: blur(8px);
}

.hp-v2-banner a {
  color: var(--hp-v2-gold);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.hp-v2-banner a:hover {
  color: var(--hp-v2-cream);
  border-bottom-color: var(--hp-v2-gold-soft);
}

.home-v2:not(.home-final) .site-header {
  top: 1.85rem;
}

.home-v2:not(.home-final) .story-nav {
  top: calc(var(--nav-height, 4.25rem) + 1.85rem);
}

/* —— Story nav: Hub hervorgehoben —— */
.story-nav--v2 a.story-nav__hub {
  color: var(--hp-v2-gold);
  font-weight: 600;
}

.story-nav--v2 a.story-nav__hub.is-active {
  box-shadow: 0 0 0 1px rgba(232, 176, 96, 0.45);
}

/* —— Hero Orientierung —— */
.home-v2 .hp-hero__orient {
  max-width: 28rem;
  margin: 0.85rem auto 0;
  font-family: "EB Garamond", Garamond, Georgia, serif;
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  line-height: 1.45;
  color: rgba(243, 234, 216, 0.78);
  text-wrap: balance;
}

.home-v2 .hp-hero__paths {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem 1rem;
  margin-top: 1.35rem;
}

.home-v2 .hp-hero__paths a {
  font-family: Outfit, system-ui, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(243, 234, 216, 0.62);
  border-bottom: 1px solid rgba(232, 176, 96, 0.28);
  padding-bottom: 0.15rem;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.home-v2 .hp-hero__paths a:hover,
.home-v2 .hp-hero__paths a:focus-visible {
  color: var(--hp-v2-cream);
  border-bottom-color: var(--hp-v2-gold);
}

.home-v2 .hp-hero__paths-all {
  color: var(--hp-v2-gold) !important;
}

.home-v2 .hp-hero__content .hp-actions {
  margin-top: 1.5rem;
}

/* —— Journey whisper —— */
.hp-journey {
  padding: 1.1rem clamp(1rem, 4vw, 2rem);
  background: linear-gradient(180deg, #0e0c0a 0%, #161310 100%);
  border-block: 1px solid rgba(232, 176, 96, 0.12);
}

.hp-journey p {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem 0.75rem;
  margin: 0;
  font-family: Outfit, system-ui, sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(243, 234, 216, 0.45);
}

.hp-journey .is-hub {
  color: var(--hp-v2-gold);
}

/* —— Welten Hub —— */
.hp-chapter--hub {
  position: relative;
}

.hp-chapter--hub::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(201, 148, 58, 0.75),
    transparent
  );
  pointer-events: none;
}

.home-film .hp-hub-paths {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.75rem 0 1.5rem;
}

.home-film .hp-hub-path__note {
  display: block;
  margin-top: 0.35rem;
  font-family: "EB Garamond", Garamond, Georgia, serif;
  font-size: 0.92rem;
  color: rgba(220, 200, 160, 0.65);
}

.home-film .hp-hub-worlds-label {
  margin: 0 0 1rem;
  font-family: Outfit, system-ui, sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(232, 176, 96, 0.75);
  text-align: center;
}

@media (max-width: 900px) {
  .home-film .hp-hub-paths {
    grid-template-columns: 1fr;
  }
}

.hp-hub-path {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 1.1rem;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(122, 99, 64, 0.28);
  background:
    linear-gradient(160deg, rgba(255, 252, 245, 0.65), rgba(243, 234, 216, 0.35));
  transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.hp-hub-path:hover,
.hp-hub-path:focus-visible {
  border-color: rgba(201, 148, 58, 0.65);
  transform: translateY(-2px);
  background: linear-gradient(160deg, rgba(255, 252, 245, 0.9), rgba(243, 234, 216, 0.55));
}

.hp-hub-path__who {
  font-family: Outfit, system-ui, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(26, 22, 18, 0.55);
}

.hp-hub-path__door {
  font-family: Cinzel, "Times New Roman", serif;
  font-size: 1rem;
  color: var(--hp-v2-ink);
}

.hp-hub-continue {
  margin: 2.5rem 0 0;
  text-align: center;
}

.hp-hub-continue a {
  font-family: Outfit, system-ui, sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(122, 99, 64, 0.85);
  border-bottom: 1px solid rgba(201, 148, 58, 0.4);
  transition: color 0.2s ease;
}

.hp-hub-continue a:hover {
  color: var(--hp-v2-ink);
}

/* Kompakte Diagnose unter Haltung */
.home-final .hp-scene--problems-compact {
  min-height: min(72svh, 720px);
}

.home-final .hp-scene--problems-compact .hp-pr__title {
  max-width: 18ch;
}

.home-final .hp-chapter--hub .hp-title {
  font-size: clamp(2.1rem, 5vw, 3.25rem);
}

.home-final .hp-chapter--hub .hp-lead {
  max-width: 34rem;
  margin-inline: auto;
}

/* —— Tiefe · Tabs —— */
.hp-chapter--tiefe {
  scroll-margin-top: 6rem;
  padding: 0;
  /* Filmreise setzt Hintergrund; Fallback ohne home-film: */
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(232, 176, 96, 0.08), transparent 55%),
    linear-gradient(180deg, #f7f1e6 0%, #efe6d4 100%);
  color: var(--hp-v2-ink);
}

.home-film .hp-chapter--tiefe {
  background: transparent;
  color: inherit;
}

.hp-tabs {
  margin-top: clamp(1.75rem, 4vh, 2.75rem);
}

.hp-tabs__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.35rem;
  margin: 0 auto 1.75rem;
  max-width: 28rem;
  border: 1px solid rgba(122, 99, 64, 0.22);
  background: rgba(255, 252, 245, 0.65);
}

.hp-tabs__tab {
  flex: 1 1 auto;
  min-width: 5.5rem;
  padding: 0.7rem 1rem;
  border: 0;
  background: transparent;
  font-family: Outfit, system-ui, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(26, 22, 18, 0.5);
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}

.hp-tabs__tab:hover,
.hp-tabs__tab:focus-visible {
  color: var(--hp-v2-ink);
  outline: none;
}

.hp-tabs__tab.is-active {
  color: var(--hp-v2-ink);
  background: rgba(232, 176, 96, 0.22);
  box-shadow: inset 0 -2px 0 var(--hp-v2-gold);
}

.hp-tabs__panel {
  display: none;
  animation: hp-tab-in 0.35s ease;
}

.hp-tabs__panel.is-active {
  display: block;
}

.hp-tabs__panel[hidden] {
  display: none !important;
}

@keyframes hp-tab-in {
  from {
    opacity: 0;
    transform: translateY(0.4rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hp-tabs__panel {
    animation: none;
  }
}

.hp-tabs__intro {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 1.75rem;
}

.hp-tabs__heading {
  margin: 0 0 0.65rem;
  font-family: Cinzel, "Times New Roman", serif;
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 500;
  line-height: 1.25;
  color: var(--hp-v2-ink);
}

.hp-tabs__heading em {
  font-style: italic;
  color: #8a6a2e;
}

.hp-tabs__intro p {
  margin: 0;
  font-family: "EB Garamond", Garamond, Georgia, serif;
  font-size: 1.1rem;
  line-height: 1.5;
  color: rgba(26, 22, 18, 0.72);
}

.hp-tabs__visual {
  max-width: 28rem;
  margin-inline: auto;
}

.hp-cycle--compact .hp-cycle__svg {
  display: none;
}

.home-v2 .hp-chapter--tiefe .hp-actions {
  justify-content: center;
  margin-top: 1.75rem;
}

/* Ohne JS: alle Panels sichtbar */
noscript .hp-tabs__panel {
  display: block !important;
}

noscript .hp-tabs__panel[hidden] {
  display: block !important;
}

/* —— CTA chapter —— */
.home-v2 .hp-chapter--cta {
  padding: var(--hp-section, clamp(4rem, 10vh, 7rem)) 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(232, 176, 96, 0.12), transparent 60%),
    linear-gradient(180deg, #14110e 0%, #0c0a08 100%);
  color: var(--hp-v2-cream);
}

.home-v2 .hp-chapter--cta .hp-contact {
  margin-top: 0;
  background: transparent;
  padding-block: clamp(2rem, 5vh, 3rem);
}

.home-v2 .hp-chapter--cta .hp-title {
  color: var(--hp-v2-cream);
}

.home-v2 .hp-chapter--cta .hp-lead {
  color: rgba(243, 234, 216, 0.72);
}

@media (max-width: 900px) {
  .hp-hub-paths {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hp-journey p {
    font-size: 0.62rem;
    gap: 0.35rem 0.5rem;
  }
}

@media (max-width: 520px) {
  .hp-hub-paths {
    grid-template-columns: 1fr;
  }

  .hp-v2-banner {
    font-size: 0.64rem;
  }
}
