/* ==========================================================================
   Felix Kühner Entertainment GmbH – Stylesheet
   ========================================================================== */

/* ---------- Schriften (lokal, DSGVO-konform) ---------- */
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Design-Tokens ---------- */
:root {
  --bg: #0b0b0d;
  --bg-2: #121216;
  --surface: #17171c;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f2eee6;
  --muted: #a7a29a;
  --faint: #6f6b65;
  --gold: #c9a45c;
  --gold-light: #e6c98c;
  --gold-glow: rgba(201, 164, 92, 0.35);

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(1rem, 4vw, 3rem);
  --max: 1240px;
  --radius: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
section[id] { scroll-margin-top: 40px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--gold); color: var(--bg); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--gold); color: var(--bg);
  padding: .6rem 1rem; border-radius: 8px; font-weight: 600;
  transition: top .2s;
}
.skip-link:focus { top: 1rem; }

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Film-Grain über der ganzen Seite */
.grain {
  pointer-events: none;
  position: fixed; inset: -50%;
  z-index: 90;
  opacity: .055;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0%   { transform: translate(0, 0); }
  20%  { transform: translate(-3%, 2%); }
  40%  { transform: translate(2%, -4%); }
  60%  { transform: translate(-4%, -2%); }
  80%  { transform: translate(3%, 3%); }
  100% { transform: translate(0, 0); }
}

/* ---------- Typografie ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  font-size: .78rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1.25rem;
}
.eyebrow::before {
  content: ""; width: 2.25rem; height: 1px; background: currentColor;
}
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
h2 { font-size: clamp(2.2rem, 5.2vw, 4.25rem); }
h3 { font-size: clamp(1.45rem, 2.2vw, 1.85rem); line-height: 1.15; }
em, .accent { font-style: italic; color: var(--gold-light); }
p { margin: 0 0 1rem; }
.lead {
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  color: var(--muted);
  max-width: 38rem;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: .65rem;
  padding: 1rem 1.6rem;
  border-radius: 999px;
  font-weight: 600; font-size: .95rem; letter-spacing: .01em;
  transition: transform .4s var(--ease), background .3s, color .3s, box-shadow .4s;
  cursor: pointer;
}
.btn svg { width: 1.05em; height: 1.05em; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #17130b;
  box-shadow: 0 10px 40px -10px var(--gold-glow);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 18px 50px -12px var(--gold-glow); }
.btn--ghost {
  border: 1px solid var(--line-strong);
  color: var(--text);
  background: rgba(255,255,255,.02);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-light); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .4s, border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(11, 11, 13, .72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.brand { display: inline-flex; align-items: center; gap: .8rem; }
.brand__mark {
  width: 40px; height: 40px; flex: none;
}
.brand__text {
  display: flex; flex-direction: column; line-height: 1.1;
}
.brand__name {
  font-family: var(--font-display); font-size: 1.12rem; letter-spacing: -.01em;
}
.brand__sub {
  font-size: .62rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted);
}
.nav__links {
  display: flex; align-items: center; gap: 2.2rem;
  list-style: none; margin: 0; padding: 0;
}
.nav__links a:not(.btn) {
  font-size: .9rem; color: var(--muted);
  position: relative; transition: color .3s;
}
.nav__links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.nav__links a:not(.btn):hover { color: var(--text); }
.nav__links a:not(.btn):hover::after { transform: scaleX(1); }
.nav__links .btn { padding: .7rem 1.2rem; font-size: .85rem; }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line-strong); border-radius: 50%;
  background: transparent; color: var(--text); cursor: pointer;
  position: relative; z-index: 60;
}
.nav__toggle span {
  position: absolute; left: 13px; right: 13px; height: 1.5px; background: currentColor;
  transition: transform .4s var(--ease), opacity .3s;
}
.nav__toggle span:nth-child(1) { top: 17px; }
.nav__toggle span:nth-child(2) { top: 25px; }
.nav-open .nav__toggle span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav-open .nav__toggle span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed; inset: 0;
    flex-direction: column; justify-content: center; gap: 1.6rem;
    background: rgba(11, 11, 13, .97);
    backdrop-filter: blur(20px);
    opacity: 0; visibility: hidden;
    transition: opacity .45s var(--ease), visibility .45s;
  }
  .nav-open .nav__links { opacity: 1; visibility: visible; }
  .nav__links a:not(.btn) {
    font-family: var(--font-display); font-size: 2rem; color: var(--text);
  }
  .nav-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: 120px 0 90px;
  overflow: hidden;
  isolation: isolate;
}
.hero__stage {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 70% 45% at 50% 105%, rgba(201,164,92,.22), transparent 70%),
    radial-gradient(ellipse 120% 80% at 50% 0%, #17151a 0%, var(--bg) 60%);
}
/* Lichtkegel */
.beam {
  position: absolute; top: -12%;
  width: 34vmax; height: 130vh;
  transform-origin: 50% 0%;
  background: linear-gradient(180deg, rgba(255,233,190,.32) 0%, rgba(230,201,140,.10) 45%, transparent 85%);
  clip-path: polygon(46% 0, 54% 0, 100% 100%, 0 100%);
  filter: blur(18px);
  mix-blend-mode: screen;
  opacity: .75;
}
.beam--1 { left: 4%;  animation: sweep1 11s ease-in-out infinite alternate; }
.beam--2 { left: 33%; animation: sweep2 14s ease-in-out infinite alternate; opacity: .55; }
.beam--3 { right: 4%; animation: sweep3 12s ease-in-out infinite alternate; }
@keyframes sweep1 { from { transform: rotate(-26deg); } to { transform: rotate(-8deg); } }
@keyframes sweep2 { from { transform: rotate(-9deg); }  to { transform: rotate(11deg); } }
@keyframes sweep3 { from { transform: rotate(24deg); }  to { transform: rotate(6deg); } }

.hero__haze {
  position: absolute; inset: auto -10% -10% -10%; height: 55%;
  background: radial-gradient(ellipse at 50% 100%, rgba(255,240,215,.10), transparent 65%);
  filter: blur(30px);
  animation: haze 9s ease-in-out infinite alternate;
}
@keyframes haze { from { transform: translateX(-3%); opacity: .7; } to { transform: translateX(3%); opacity: 1; } }

.hero__floor {
  position: absolute; left: 50%; bottom: -38vmin;
  width: 110vmin; height: 56vmin;
  transform: translateX(-50%);
  border-radius: 50%;
  border: 1px solid rgba(201,164,92,.35);
  box-shadow: 0 0 80px rgba(201,164,92,.15), inset 0 0 80px rgba(201,164,92,.08);
}
.hero__floor::before, .hero__floor::after {
  content: ""; position: absolute; inset: 9%;
  border-radius: 50%; border: 1px solid rgba(201,164,92,.18);
}
.hero__floor::after { inset: 20%; border-color: rgba(201,164,92,.1); }

.hero__content { position: relative; text-align: center; }
.hero__content .eyebrow { justify-content: center; }
.hero__content .eyebrow::after { content: ""; width: 2.25rem; height: 1px; background: currentColor; }
.hero h1 {
  font-size: clamp(3.1rem, 11vw, 9.5rem);
  line-height: .95;
  letter-spacing: -0.035em;
  margin-bottom: 1.75rem;
}
.hero h1 em {
  display: inline-block;
  background: linear-gradient(100deg, var(--gold-light) 0%, #fff5dc 45%, var(--gold) 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  padding-right: .08em;
}
.hero .lead { margin: 0 auto 2.5rem; text-align: center; }
.hero__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.hero__scroll {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
  font-size: .68rem; letter-spacing: .3em; text-transform: uppercase; color: var(--faint);
}
.hero__scroll i {
  display: block; width: 1px; height: 42px;
  background: linear-gradient(var(--gold), transparent);
  animation: drip 2.2s var(--ease) infinite;
  transform-origin: top;
}
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Sektionen ---------- */
.section { position: relative; padding: clamp(5rem, 12vw, 9.5rem) 0; }
.section__head { max-width: 52rem; margin-bottom: clamp(3rem, 6vw, 5rem); }
.section__head h2 { margin-bottom: 1.5rem; }

/* Statement */
.statement {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  max-width: 62rem;
  margin: 0 0 clamp(3.5rem, 7vw, 6rem);
  text-wrap: balance;
}
.statement span { color: var(--faint); }

/* Säulen */
.pillars {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(3, 1fr);
}
.pillar {
  position: relative;
  padding: 2.4rem 2rem 2.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,0));
  overflow: hidden;
  transition: border-color .5s, transform .6s var(--ease);
}
.pillar::before {
  content: ""; position: absolute; inset: -1px -1px auto -1px; height: 220px;
  background: radial-gradient(ellipse 60% 100% at 50% 0%, var(--gold-glow), transparent 70%);
  opacity: 0; transition: opacity .6s;
  pointer-events: none;
}
.pillar:hover { border-color: rgba(201,164,92,.4); transform: translateY(-4px); }
.pillar:hover::before { opacity: .55; }
.pillar__num {
  font-family: var(--font-display); font-style: italic;
  color: var(--gold); font-size: 1rem; margin-bottom: 3rem; display: block;
}
.pillar h3 { margin-bottom: 1rem; }
.pillar p { color: var(--muted); font-size: 1rem; }
.pillar ul {
  list-style: none; padding: 1.25rem 0 0; margin: 1.25rem 0 0;
  border-top: 1px solid var(--line);
  display: grid; gap: .55rem;
}
.pillar li {
  display: flex; gap: .7rem; align-items: baseline;
  font-size: .93rem; color: var(--text);
}
.pillar li::before {
  content: ""; flex: none; width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold); transform: translateY(-2px);
}
@media (max-width: 960px) { .pillars { grid-template-columns: 1fr; } }

/* Laufband */
.marquee {
  border-block: 1px solid var(--line);
  overflow: hidden;
  padding: 1.6rem 0;
  background: var(--bg-2);
}
.marquee__track {
  display: flex; width: max-content;
  animation: marquee 42s linear infinite;
}
.marquee__group { display: flex; align-items: center; flex: none; }
.marquee span {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  padding: 0 1.6rem;
  white-space: nowrap;
  color: var(--text);
}
.marquee span:nth-child(even) { font-style: italic; color: var(--gold-light); }
.marquee b { color: var(--gold); font-weight: 400; font-size: 1.2rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Partner */
.partners {
  display: grid; gap: 1px;
  grid-template-columns: repeat(6, 1fr);
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.partner {
  grid-column: span 2;
  position: relative;
  display: flex; flex-direction: column;
  padding: 2.25rem 2rem 2rem;
  background: var(--bg);
  transition: background .5s;
  min-height: 300px;
}
.partner:nth-child(4), .partner:nth-child(5) { grid-column: span 3; }
.partner:hover { background: #111114; }
.partner__icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center;
  border: 1px solid rgba(201,164,92,.35);
  color: var(--gold);
  margin-bottom: 1.75rem;
  transition: background .4s, color .4s;
}
.partner:hover .partner__icon { background: var(--gold); color: var(--bg); }
.partner__icon svg { width: 22px; height: 22px; }
.partner__tag {
  font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--faint);
  margin-bottom: .5rem;
}
.partner h3 { font-size: 1.5rem; margin-bottom: .8rem; }
.partner p { color: var(--muted); font-size: .97rem; flex: 1; }
.partner__link {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .88rem; font-weight: 600; color: var(--gold-light);
  margin-top: 1rem;
}
.partner__link svg { width: 1em; height: 1em; transition: transform .4s var(--ease); }
.partner:hover .partner__link svg { transform: translateX(5px); }
.partner__link::after { content: ""; position: absolute; inset: 0; }
@media (max-width: 960px) {
  .partners { grid-template-columns: 1fr 1fr; }
  .partner, .partner:nth-child(4), .partner:nth-child(5) { grid-column: span 1; }
  .partner:nth-child(5) { grid-column: span 2; }
}
@media (max-width: 620px) {
  .partners { grid-template-columns: 1fr; }
  .partner, .partner:nth-child(5) { grid-column: span 1; min-height: 0; }
}

/* Über uns */
.about {
  display: grid; gap: clamp(2.5rem, 6vw, 6rem);
  grid-template-columns: .85fr 1.15fr;
  align-items: start;
}
.about__card {
  position: sticky; top: 110px;
  aspect-ratio: 4 / 5;
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid var(--line);
  background:
    radial-gradient(ellipse 70% 50% at 30% 20%, rgba(201,164,92,.18), transparent 70%),
    linear-gradient(160deg, #1a181d, #0d0d10);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 2rem;
  overflow: hidden;
}
.about__monogram {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(7rem, 16vw, 12rem); line-height: .8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201,164,92,.55);
  letter-spacing: -.05em;
}
.about__card small {
  font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
}
.about__card strong {
  display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; color: var(--text);
  margin-top: .3rem;
}
.about__text h2 { margin-bottom: 2rem; }
.about__text p { color: var(--muted); font-size: 1.08rem; }
.values {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
  margin-top: 3rem; padding-top: 2.5rem; border-top: 1px solid var(--line);
}
.values h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.values p { font-size: .93rem; margin: 0; }
@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; }
  .about__card { position: relative; top: 0; aspect-ratio: 16 / 10; }
  .values { grid-template-columns: 1fr; }
}

/* Kontakt */
.contact {
  position: relative; overflow: hidden; isolation: isolate;
  text-align: center;
  padding: clamp(6rem, 14vw, 11rem) 0;
  border-top: 1px solid var(--line);
}
.contact::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse 60% 70% at 50% 110%, rgba(201,164,92,.25), transparent 70%);
}
.contact .eyebrow { justify-content: center; }
.contact .eyebrow::after { content: ""; width: 2.25rem; height: 1px; background: currentColor; }
.contact h2 { margin-bottom: 1.5rem; }
.contact .lead { margin: 0 auto 3rem; }
.mail {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 4.6vw, 3.6rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  padding-bottom: .3rem;
  background: linear-gradient(var(--gold), var(--gold)) left bottom / 0% 1px no-repeat;
  transition: background-size .6s var(--ease), color .4s;
  overflow-wrap: anywhere;
}
.mail:hover { background-size: 100% 1px; color: var(--gold-light); }
.contact__meta {
  display: flex; justify-content: center; flex-wrap: wrap; gap: .5rem 2.5rem;
  margin-top: 3rem; color: var(--muted); font-size: .95rem;
  font-style: normal;
}

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0;
  font-size: .85rem; color: var(--faint);
}
.footer__inner {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
}
.footer nav { display: flex; gap: 1.75rem; }
.footer a { transition: color .3s; }
.footer a:hover { color: var(--gold-light); }

/* ---------- Rechtliche Seiten ---------- */
.legal { padding: 150px 0 6rem; }
.legal .container { max-width: 820px; }
.legal h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); margin-bottom: 2.5rem; }
.legal h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin: 3rem 0 1rem;
}
.legal h3 { font-family: var(--font-body); font-weight: 600; font-size: 1.05rem; letter-spacing: 0; margin: 1.75rem 0 .5rem; }
.legal p, .legal li { color: var(--muted); }
.legal a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(201,164,92,.4); }
.legal ul { padding-left: 1.2rem; }
.legal strong { color: var(--text); font-weight: 600; }
.back-link { display: inline-flex; gap: .5rem; color: var(--muted); font-size: .9rem; margin-bottom: 2rem; }
.back-link:hover { color: var(--gold-light); }

/* ---------- Scroll-Reveal (nur mit JS aktiv) ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease), transform 1.1s var(--ease);
  transition-delay: var(--d, 0s);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Hero blendet sofort beim Laden ein – unabhängig vom Scroll-Observer */
.js .hero .reveal {
  transition: none;
  animation: rise 1.2s var(--ease) forwards;
  animation-delay: calc(var(--d, 0s) + .1s);
}
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Reduzierte Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .grain { display: none; }
}
