/* ============================================================
   Christian Gall — Personal Landing
   Königswege CD: Gold #CC9B00 · Schwarz · Weiß · Schrift Europa
   Dark-Premium Theme (cxr-ai.de / flieshardt-inspiriert)
   ============================================================ */

@font-face {
  font-family: "Europa";
  src: url("../fonts/EuropaLight.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Europa";
  src: url("../fonts/EuropaRegular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Europa";
  src: url("../fonts/EuropaBold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --gold: #CC9B00;
  --gold-bright: #E8B62E;
  --gold-soft: rgba(204, 155, 0, 0.18);
  --gold-glow: rgba(204, 155, 0, 0.35);

  --black: #050505;
  --bg: #0A0A0A;
  --bg-elevated: #121212;
  --bg-glass: rgba(255, 255, 255, 0.04);
  --line-dark: rgba(255, 255, 255, 0.08);

  --white: #FFFFFF;
  --ink: #111315;
  --text: #ECECEC;
  --text-soft: #9A9A9F;
  --text-muted: #6B6B70;

  --bg-light: #FFFFFF;
  --bg-light-soft: #F7F6F2;
  --line-light: rgba(0, 0, 0, 0.08);

  --font-sans: "Europa", "Inter", -apple-system, BlinkMacSystemFont,
               "SF Pro Display", "Helvetica Neue", Arial, sans-serif;

  --max: 1100px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  font-size: 17px;
  letter-spacing: 0.01em;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--gold); color: var(--black); }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 1.2s var(--ease),
    transform 1.2s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4) { transition-delay: 0.24s; }
.reveal:nth-child(5) { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   HERO — dunkel, cinematic
   ============================================================ */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 96px 24px 140px;
  position: relative;
  background: var(--black);
  overflow: hidden;
  isolation: isolate;
}

/* sehr subtiler goldener Bühnen-Glow oben */
.hero::before {
  content: "";
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 1400px;
  height: 900px;
  background:
    radial-gradient(ellipse, rgba(204, 155, 0, 0.06) 0%, transparent 65%);
  filter: blur(40px);
  pointer-events: none;
  z-index: -1;
}

.hero-inner {
  width: 100%;
  max-width: var(--max);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.portrait {
  margin-bottom: 64px;
  position: relative;
}

/* Halo nur sichtbar, wenn das Foto wirklich geladen wurde */
.portrait::before {
  content: "";
  position: absolute;
  inset: -28px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(204, 155, 0, 0.22) 0%, transparent 70%);
  filter: blur(24px);
  z-index: -1;
}

.portrait:has(.portrait-empty)::before { display: none; }

.portrait-frame {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
  position: relative;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.5),
    0 30px 80px -24px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(255, 255, 255, 0.06),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.portrait:has(.portrait-empty) .portrait-frame {
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.5),
    0 30px 80px -24px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(255, 255, 255, 0.06),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portrait-empty::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.04), transparent 60%),
    linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
}

.hero-name {
  font-size: clamp(54px, 10vw, 116px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.98;
  margin: 0;
  color: var(--white);
  background: linear-gradient(180deg, #FFFFFF 0%, #D8D8D8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-location {
  margin: 24px 0 0;
  font-size: clamp(13px, 1.1vw, 15px);
  font-weight: 400;
  color: var(--gold);
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.hero-values {
  margin: 26px 0 0;
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 400;
  color: var(--gold);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 18px;
}
.hero-values .dot {
  color: rgba(204, 155, 0, 0.45);
  letter-spacing: 0;
  font-size: 1.1em;
  line-height: 1;
}

.hero-divider {
  width: 56px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 56px 0 44px;
  border-radius: 1px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 36px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  background: transparent;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.hero-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
  z-index: -1;
}
.hero-cta:hover {
  color: var(--black);
  transform: translateY(-1px);
  box-shadow: 0 16px 36px -12px var(--gold-glow);
}
.hero-cta:hover::before { transform: scaleX(1); }

.hero-scrollhint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.25));
}

/* ============================================================
   CONTACT — dunkel, Glass-Cards
   ============================================================ */
.contact {
  padding: 140px 24px;
  background: var(--bg);
  border-top: 1px solid var(--line-dark);
  position: relative;
}

.contact-inner {
  max-width: var(--max);
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 22px;
}

.contact h2 {
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin: 0 0 24px;
  color: var(--white);
}

.contact-note {
  max-width: 560px;
  margin: 0 auto 64px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-soft);
  letter-spacing: 0.01em;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 820px;
  margin: 0 auto;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 32px 32px 30px;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 20px;
  border: 1px solid var(--line-dark);
  text-align: left;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.5s var(--ease),
    border-color 0.5s var(--ease),
    background 0.5s var(--ease);
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(204, 155, 0, 0.10);
  color: var(--gold);
  margin-bottom: 16px;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
.contact-card:hover .contact-icon {
  background: rgba(204, 155, 0, 0.18);
  color: var(--gold-bright);
}
.contact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 0%, var(--gold-soft), transparent 60%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.contact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(204, 155, 0, 0.4);
  background: rgba(255, 255, 255, 0.06);
}
.contact-card:hover::before { opacity: 1; }

.contact-label {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-soft);
  position: relative;
}

.contact-value {
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 400;
  color: var(--white);
  letter-spacing: -0.005em;
  position: relative;
}

.contact-arrow {
  position: absolute;
  top: 32px;
  right: 32px;
  font-size: 18px;
  color: var(--gold);
  transition: transform 0.4s var(--ease);
}
.contact-card:hover .contact-arrow {
  transform: translateX(6px);
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--black);
  color: #8A8A8F;
  padding: 56px 24px 44px;
  border-top: 1px solid var(--line-dark);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-name {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
}

.footer-nav {
  display: flex;
  gap: 32px;
}

.footer-nav a {
  font-size: 13px;
  color: #9A9A9F;
  letter-spacing: 0.04em;
  transition: color 0.3s var(--ease);
}
.footer-nav a:hover { color: var(--gold-bright); }

.footer-copy {
  margin: 0;
  font-size: 12px;
  color: #6B6B70;
  letter-spacing: 0.04em;
}

/* ============================================================
   LEGAL PAGES (Impressum / Datenschutz) — hell
   body.light wird in impressum.html / datenschutz.html gesetzt
   ============================================================ */
body.light {
  background: var(--bg-light);
  color: var(--ink);
}

body.light footer {
  background: var(--bg-light-soft);
  border-top: 1px solid var(--line-light);
  color: var(--text-muted);
}

body.light .footer-name { color: var(--ink); }
body.light .footer-nav a { color: var(--text-muted); }
body.light .footer-nav a:hover { color: var(--gold); }
body.light .footer-copy { color: #9A9A9F; }

.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 120px 24px 100px;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 48px;
  letter-spacing: 0.04em;
  transition: color 0.3s var(--ease);
}
.legal-back:hover { color: var(--ink); }

.legal h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0 0 12px;
  color: var(--ink);
}

.legal .legal-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0 0 56px;
  letter-spacing: 0.04em;
}

.legal h2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 48px 0 14px;
  color: var(--ink);
}

.legal h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 28px 0 8px;
  color: var(--ink);
}

.legal p, .legal li {
  font-size: 16px;
  line-height: 1.7;
  color: #2A2A2D;
}

.legal a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.legal a:hover { color: var(--gold); }

.legal ul { padding-left: 20px; }

.legal-divider {
  height: 1px;
  background: var(--line-light);
  margin: 56px 0;
  border: 0;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 720px) {
  .hero { padding: 80px 20px 110px; }
  .portrait-frame { width: 200px; height: 200px; }
  .portrait { margin-bottom: 48px; }
  .portrait::before { inset: -24px; }
  .hero-divider { margin: 44px 0 36px; }
  .hero-cta { padding: 14px 28px; font-size: 13px; }

  .contact { padding: 100px 20px; }
  .contact h2 { margin-bottom: 48px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-card { padding: 28px 24px; }
  .contact-arrow { top: 26px; right: 26px; }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 18px;
  }
}
