/*
  HouseOfYuuki premium reference layer.
  Diese Datei ist ein bewusst separater visueller Layer, inspiriert vom
  dunklen Webflow-Screenshot: viel negative Fl?che, links starke Typografie,
  rechts ein leuchtendes Device-Objekt, feine Linien und ruhige Animationen.
*/

:root {
  --hoy-black: #06070b;
  --hoy-ink: #0b0c12;
  --hoy-panel: rgba(255, 255, 255, 0.035);
  --hoy-line: rgba(244, 241, 233, 0.13);
  --hoy-line-soft: rgba(244, 241, 233, 0.07);
  --hoy-text: #f5f2ed;
  --hoy-dim: #8f9098;
  --hoy-dimmer: #5f6068;
  --hoy-warm: #d76758;
  --hoy-warm-2: #ef8a74;
  --hoy-glow: rgba(255, 255, 255, 0.28);
}

body {
  background:
    radial-gradient(circle at 72% 39%, rgba(255, 255, 255, 0.055), transparent 19rem),
    radial-gradient(circle at 84% 42%, rgba(215, 103, 88, 0.12), transparent 24rem),
    linear-gradient(180deg, #06070b 0%, #090a0f 48%, #06070b 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.65), transparent 68%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle at 74% 32%, rgba(255, 255, 255, 0.09), transparent 7rem);
  opacity: 0.72;
  animation: hoyAmbient 9s ease-in-out infinite alternate;
}

.ambient {
  opacity: 0.55;
}

.site-header {
  min-height: 78px;
  border-bottom-color: rgba(255, 255, 255, 0.045);
  background: rgba(6, 7, 11, 0.72);
}

.brand span {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  color: rgba(245, 242, 237, 0.52);
  letter-spacing: 0.32em;
}

.brand strong,
.main-nav,
.ghost-button,
.nav-section {
  font-size: 13px;
}

.main-nav a,
.ghost-button,
.nav-section {
  position: relative;
}

.main-nav a::after,
.ghost-button::after,
.nav-section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 1px;
  background: currentColor;
  opacity: 0;
  transform: scaleX(0.35);
  transition: opacity 220ms ease, transform 220ms ease;
}

.main-nav a:hover::after,
.main-nav a.active::after,
.ghost-button:hover::after,
.nav-section:hover::after {
  opacity: 0.65;
  transform: scaleX(1);
}

.primary-button {
  background: linear-gradient(180deg, var(--hoy-warm-2), #b94c42);
  box-shadow:
    0 18px 42px rgba(215, 103, 88, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.secondary-button {
  background: rgba(255, 255, 255, 0.025);
  border-color: var(--hoy-line);
}

.primary-button:hover,
.secondary-button:hover {
  border-color: rgba(245, 242, 237, 0.32);
  box-shadow:
    0 22px 54px rgba(0, 0, 0, 0.32),
    0 0 38px rgba(215, 103, 88, 0.12);
}

main {
  width: min(1290px, calc(100% - 36px));
}

.hoy-reference-hero {
  position: relative;
  min-height: calc(100svh - 78px);
  grid-template-columns: 76px minmax(0, 0.92fr) minmax(320px, 0.86fr);
  gap: clamp(22px, 5vw, 76px);
  padding-top: clamp(54px, 8vw, 120px);
  padding-bottom: clamp(64px, 9vw, 112px);
}

.hero-rail {
  align-self: center;
  display: grid;
  grid-template-rows: auto 152px auto;
  justify-items: center;
  gap: 17px;
  color: var(--hoy-dimmer);
  font-size: 13px;
}

.hero-rail i {
  position: relative;
  display: block;
  width: 1px;
  height: 100%;
  background: rgba(245, 242, 237, 0.2);
}

.hero-rail i::before {
  content: "";
  position: absolute;
  top: 39%;
  left: 50%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(245, 242, 237, 0.44);
  box-shadow: 0 0 22px rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
}

.hero-copy {
  max-width: 720px;
}

.hero-copy .eyebrow {
  margin-bottom: 18px;
  color: rgba(245, 242, 237, 0.48);
  letter-spacing: 0;
  text-transform: none;
}

.hero-copy h1 {
  max-width: 780px;
  font-size: clamp(48px, 6.2vw, 92px);
  font-weight: 640;
  line-height: 1.06;
  letter-spacing: 0;
  color: var(--hoy-text);
  text-wrap: balance;
}

.hero-copy > p {
  max-width: 610px;
  color: rgba(245, 242, 237, 0.55);
  font-size: clamp(16px, 1.35vw, 19px);
}

.lumen-meter {
  display: grid;
  grid-template-columns: minmax(108px, 0.62fr) minmax(170px, 1fr) minmax(118px, 0.44fr);
  align-items: end;
  gap: clamp(18px, 4vw, 42px);
  max-width: 760px;
  margin-top: clamp(44px, 7vw, 76px);
}

.lumen-meter span,
.lumen-meter small {
  display: block;
  color: rgba(245, 242, 237, 0.48);
  font-size: 13px;
}

.lumen-meter strong {
  display: block;
  color: rgba(245, 242, 237, 0.9);
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1;
  letter-spacing: 0.08em;
}

.lumen-line {
  position: relative;
  height: 44px;
  border-bottom: 1px solid rgba(245, 242, 237, 0.42);
}

.lumen-line i {
  position: absolute;
  right: 30%;
  bottom: -5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(245, 242, 237, 0.9);
  box-shadow: 0 0 22px rgba(255, 255, 255, 0.28);
}

.hero-object {
  position: relative;
}

.hero-object::before {
  content: "";
  position: absolute;
  width: min(42vw, 540px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.14), transparent 58%);
  filter: blur(12px);
  transform: translate(4%, -3%);
}

.hoy-phone {
  width: min(355px, 76vw);
  border-radius: 31px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), transparent 12%),
    linear-gradient(155deg, #020307 0%, #101219 58%, #05060a 100%);
  box-shadow:
    0 40px 110px rgba(0, 0, 0, 0.66),
    0 0 0 1px rgba(255, 255, 255, 0.14),
    inset 0 0 0 8px rgba(255, 255, 255, 0.028);
}

.hoy-phone::after {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.device-camera {
  position: absolute;
  top: 17px;
  left: 50%;
  z-index: 2;
  width: 64px;
  height: 7px;
  border-radius: 99px;
  background: rgba(0, 0, 0, 0.65);
  transform: translateX(-50%);
}

.phone-screen {
  position: absolute;
  inset: 42px 22px 22px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 14%, rgba(255, 255, 255, 0.8), transparent 9%),
    radial-gradient(circle at 58% 54%, rgba(215, 103, 88, 0.26), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
}

.phone-screen .crest {
  position: relative;
  inset: auto;
  z-index: 1;
  font-size: clamp(104px, 12vw, 164px);
  color: rgba(245, 242, 237, 0.82);
  text-shadow:
    0 0 36px rgba(255, 255, 255, 0.2),
    0 0 72px rgba(215, 103, 88, 0.12);
}

.screen-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, transparent 0 42%, rgba(255, 255, 255, 0.12) 48%, transparent 54%),
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.26));
  transform: translateX(-36%);
  animation: hoyScreenGlint 6.8s ease-in-out infinite;
}

.device-lines {
  z-index: 2;
}

.metric-card,
.portal-card,
.member-card,
.feature-grid article,
.data-grid article,
.auth-card,
.wide-form,
.radio-player,
.rule-list article,
.record-card,
.notice-panel,
.life-card,
.brand-stage {
  border-color: var(--hoy-line-soft);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.047), rgba(255, 255, 255, 0.018)),
    rgba(8, 9, 13, 0.46);
  backdrop-filter: blur(18px);
}

.metric-card:hover,
.portal-card:hover,
.member-card:hover,
.feature-grid article:hover,
.data-grid article:hover,
.auth-card:hover,
.wide-form:hover,
.record-card:hover,
.notice-panel:hover,
.life-card:hover,
.brand-stage:hover {
  border-color: rgba(245, 242, 237, 0.2);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.066), rgba(255, 255, 255, 0.023)),
    rgba(8, 9, 13, 0.58);
  box-shadow:
    0 22px 80px rgba(0, 0, 0, 0.32),
    0 0 42px rgba(215, 103, 88, 0.055);
}

input,
textarea,
select {
  background: rgba(0, 0, 0, 0.31);
}

@keyframes hoyAmbient {
  from {
    opacity: 0.45;
    transform: translate3d(-0.6%, -0.4%, 0);
  }
  to {
    opacity: 0.9;
    transform: translate3d(0.6%, 0.4%, 0);
  }
}

@keyframes hoyScreenGlint {
  0%,
  58% {
    transform: translateX(-52%);
    opacity: 0;
  }
  74% {
    opacity: 0.88;
  }
  100% {
    transform: translateX(54%);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  body::after,
  .screen-veil {
    animation: none;
  }
}

@media (max-width: 980px) {
  .hoy-reference-hero {
    grid-template-columns: 1fr;
  }

  .hero-rail {
    display: none;
  }

  .lumen-meter {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 32px;
  }

  .lumen-line {
    order: -1;
  }

  .hoy-phone {
    width: min(310px, 72vw);
  }
}
