/* ============================================================
   SCHRIFT: Urbanist lokal gehostet (Variable Font, 100–900)
   — kein Google-Server-Aufruf nötig (DSGVO) und schneller
   ============================================================ */
@font-face {
  font-family: "Urbanist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/urbanist-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Urbanist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/urbanist-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ============================================================
   FARBEN & SCHRIFTEN — zentral ändern
   ============================================================ */
:root {
  --bg:         #0A1E17;              /* Seitenhintergrund: sehr dunkles Grün */
  --bg-deep:    #061510;              /* noch dunkler, für Kontrast-Flächen */
  --panel:      rgba(255,255,255,.05);/* Karten-Fläche (Glas) */
  --hairline:   rgba(255,255,255,.12);/* feine Linien */
  --cream:      #F2EDE1;              /* Headlines (wie "PHILIPP" im Banner) */
  --text:       #CFDFD6;              /* Fließtext */
  --accent:     #34E99E;              /* Akzent: helles Grün */
  --accent-soft:#8FF5C9;              /* zartes Hellgrün für Details */
  --accent-ink: #0B2A20;              /* Text AUF hellgrünen Buttons */
  --glow:       rgba(52,233,158,.35); /* Leuchten hinter Elementen */

  --font-display: "Urbanist", -apple-system, sans-serif;
  --font-body:    "Urbanist", -apple-system, sans-serif;

  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --r-xl: 2rem;
  --r-in: calc(2rem - 0.5rem);
}

/* ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body { overflow-x: hidden; width: 100%; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

::selection { background: var(--accent); color: var(--accent-ink); }

h1, h2, h3, .display {
  font-family: var(--font-display);
  color: var(--cream);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* ---------- Ambient Hintergrund-Orbs ---------- */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}
.orb-hero {
  width: 640px; height: 640px;
  top: -140px; right: -80px;
  background: radial-gradient(circle, var(--glow), transparent 65%);
}
.orb-cta {
  width: 560px; height: 560px;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(52,233,158,.22), transparent 65%);
}

/* ---------- Nav: schwebende Glas-Pille ---------- */
.nav {
  position: fixed;
  top: 22px; left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 10px 12px 10px 24px;
  border-radius: 999px;
  background: rgba(10, 30, 23, .6);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--hairline);
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
  white-space: nowrap;
}
.nav .brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: .16em;
  color: var(--cream);
}
.nav .brand span { color: var(--accent); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: .85rem;
  color: var(--accent-ink);
  background: var(--accent);
  border-radius: 999px;
  padding: 9px 8px 9px 18px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.nav-cta .dot {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(11,42,32,.16);
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem;
  transition: transform .5s var(--ease);
}
.nav-cta { box-shadow: 0 0 26px var(--glow); }
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 0 40px var(--glow); }
.nav-cta:hover .dot { transform: translate(2px, -1px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 26px;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}

.hero h1 {
  font-size: clamp(2rem, 3vw, 2.9rem);
  line-height: 1.1;
  margin-bottom: 22px;
}
.hero h1 em {
  font-style: normal;
  /* Verlauf von oben (hell) nach unten (sattes Grün) */
  background: linear-gradient(180deg, #B4FFDE 0%, var(--accent) 55%, #17B577 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  /* weicher Grün-Schatten hinter dem Text */
  filter: drop-shadow(0 14px 38px rgba(52,233,158,.45));
}
.hero-sub {
  font-size: 1.1rem;
  max-width: 50ch;
  color: var(--text);
  margin-bottom: 30px;
}
.hero-proof {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: .85rem;
  color: var(--accent-soft);
  margin-top: 26px;
}

/* Hero-Grafik: freigestelltes Guide-Mockup — dunkler Bodenschatten
   + grüner Glow folgen der Kontur (3D-Effekt), dazu sanftes Schweben.
   Darunter der CTA zum Formular. */
.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  position: relative;
}
.mockup-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
}
.mockup-wrap img {
  width: 112%;
  max-width: none;
  filter:
    drop-shadow(0 34px 34px rgba(0,0,0,.55))
    drop-shadow(0 10px 70px rgba(52,233,158,.30));
  animation: floaty 7s ease-in-out infinite;
}
/* weicher Boden-Schatten unter dem schwebenden Mockup */
.mockup-wrap::after {
  content: "";
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 62%;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0,0,0,.55), transparent 70%);
  animation: floaty-shadow 7s ease-in-out infinite;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-16px); }
}
/* Bodenschatten atmet gegenläufig: Mockup oben => Schatten kleiner/heller */
@keyframes floaty-shadow {
  0%, 100% { transform: translateX(-50%) scale(1); opacity: 1; }
  50%      { transform: translateX(-50%) scale(.88); opacity: .6; }
}
@media (prefers-reduced-motion: reduce) {
  .mockup-wrap img, .mockup-wrap::after { animation: none; }
}
.hero-proof .avatars { display: flex; }
.hero-proof .avatars span {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  background: linear-gradient(140deg, #164632, #0A1E17);
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem; font-weight: 700; color: var(--accent-soft);
}
.hero-proof .avatars span + span { margin-left: -10px; }

/* ---------- Formular: Doppelrand-Glaskarte ---------- */
.form-shell {
  background: var(--panel);
  border: 1px solid var(--hairline);
  border-radius: var(--r-xl);
  padding: 8px;
  box-shadow: 0 40px 90px rgba(0,0,0,.45);
}
.form-card {
  background: linear-gradient(170deg, rgba(255,255,255,.055), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: inset 0 1px 1px rgba(255,255,255,.10);
  border-radius: var(--r-in);
  padding: 32px 30px;
}
.form-card .form-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--cream);
  margin-bottom: 6px;
}
.form-card .form-title em { font-style: normal; color: var(--accent); }
.form-card .form-hint {
  font-size: .88rem;
  color: var(--text);
  opacity: .8;
  margin-bottom: 24px;
}
.field { margin-bottom: 14px; }
.field label {
  display: block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 7px;
}
.field input {
  width: 100%;
  font: inherit;
  font-size: .97rem;
  color: var(--cream);
  background: rgba(6, 21, 16, .6);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 13px 15px;
  transition: border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.field input::placeholder { color: rgba(199,214,205,.35); }
.field input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(52,233,158,.18);
}
.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .78rem;
  color: var(--text);
  opacity: .85;
  margin: 6px 0 20px;
}
.consent input { margin-top: 3px; accent-color: var(--accent); }
.consent a { color: var(--accent-soft); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  color: var(--accent-ink);
  background: var(--accent);
  border: none;
  border-radius: 999px;
  padding: 15px 26px;
  cursor: pointer;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  box-shadow: 0 14px 40px var(--glow);
}
.btn .dot {
  width: 30px; height: 30px;
  flex: none;
  border-radius: 50%;
  background: rgba(11,42,32,.16);
  display: flex; align-items: center; justify-content: center;
  transition: transform .5s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 20px 55px var(--glow); }
.btn:hover .dot { transform: translate(3px, -2px) scale(1.05); }
.btn:active { transform: scale(.98); }
.btn-inline { display: flex; width: max-content; padding-inline: 30px 14px; }
.form-center { max-width: 500px; margin: 0 auto; text-align: left; }
.form-secure {
  text-align: center;
  font-size: .74rem;
  color: var(--text);
  opacity: .55;
  margin-top: 14px;
}

/* ---------- Sektionen ---------- */
section { position: relative; }
.section-pad { padding: 80px 0; }

/* ---------- Über Philipp ---------- */
.about { display: grid; grid-template-columns: 380px 1fr; gap: 70px; align-items: center; }
/* Nur Bild + Radial-Glow dahinter, kein Kasten */
.portrait-wrap { position: relative; display: flex; justify-content: center; }
.portrait-wrap::before {
  content: "";
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(52,233,158,.5), rgba(52,233,158,.12) 55%, transparent 72%);
  filter: blur(40px);
}
.portrait-wrap img {
  position: relative;
  width: 100%;
  filter: drop-shadow(0 24px 60px rgba(0,0,0,.45));
}
.about blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 600; /* Semibold */
  line-height: 1.3;
  color: var(--cream);
  margin-bottom: 22px;
}
.about blockquote em { font-style: normal; color: var(--accent); }
.about .bio { font-weight: 500; margin-bottom: 26px; max-width: 54ch; } /* Medium */
.about .handle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .85rem;
  color: var(--accent-soft);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 8px 18px;
  background: var(--panel);
}

/* ---------- Finaler CTA ---------- */
.cta-final {
  position: relative;
  text-align: center;
  padding: 80px 0;
  overflow: hidden;
}
.cta-final h2 {
  font-size: clamp(2rem, 3vw, 2.9rem);
  line-height: 1.1;
  max-width: 800px;
  margin: 0 auto 36px;
  position: relative;
  z-index: 1;
}
.cta-final h2 em { font-style: normal; color: var(--accent); }

/* Typing-Animation: blinkender Cursor am zuletzt getippten Buchstaben */
.cta-final h2 .ch.caret::after {
  content: "";
  display: inline-block;
  width: .06em;
  height: .82em;
  margin-left: .07em;
  background: var(--accent);
  box-shadow: 0 0 14px var(--glow);
  vertical-align: -.05em;
  animation: caret-blink .8s steps(1) infinite;
}
@keyframes caret-blink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0; }
}
.cta-final .btn { width: auto; padding-inline: 34px; position: relative; z-index: 1; }
.cta-final .klein {
  font-size: .82rem;
  color: var(--text);
  opacity: .6;
  margin-top: 18px;
  position: relative;
  z-index: 1;
}

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--hairline);
  padding: 34px 0;
  font-size: .82rem;
  color: var(--text);
  opacity: .75;
}
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* Reveal-Startwerte setzt GSAP selbst (gsap.from) — ohne JS bleibt alles sichtbar */

/* ---------- Danke-Seite ---------- */
.danke-hero {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 140px 0 80px;
}
.danke-box { max-width: 660px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.check-ring {
  width: 78px; height: 78px;
  margin: 0 auto 30px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 0 60px var(--glow);
}
.danke-box h1 { font-size: clamp(2rem, 3vw, 2.9rem); line-height: 1.1; }
.danke-box h1 em { font-style: normal; color: var(--accent); }
.steps {
  text-align: left;
  margin: 40px 0 28px;
  border-radius: var(--r-xl);
  background: var(--panel);
  border: 1px solid var(--hairline);
  padding: 8px;
}
.steps-in {
  border-radius: var(--r-in);
  border: 1px solid rgba(255,255,255,.07);
  padding: 10px 28px;
  background: linear-gradient(180deg, rgba(255,255,255,.03), transparent);
}
.step { display: flex; gap: 18px; align-items: flex-start; padding: 20px 0; }
.step + .step { border-top: 1px solid var(--hairline); }
.step .s-nr {
  flex: none;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(52,233,158,.12);
  border: 1px solid rgba(52,233,158,.3);
  color: var(--accent);
  font-weight: 700;
  font-size: .85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step h3 { font-size: 1.02rem; margin-bottom: 3px; }
.step p { font-size: .88rem; opacity: .75; }

/* ---------- Mobil ---------- */
@media (max-width: 900px) {
  .nav { top: 14px; gap: 12px; padding: 8px 10px 8px 16px; }
  .nav .brand { font-size: .8rem; }
  .nav-cta { font-size: .8rem; padding: 8px 7px 8px 15px; }
  .hero { min-height: auto; padding: 104px 0 56px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 44px; }
  .hero h1,
  .cta-final h2,
  .danke-box h1 { font-size: clamp(1.8rem, 7.5vw, 2.3rem); }
  .orb-hero { width: 420px; height: 420px; top: -120px; right: -160px; }
  /* Mobile: H1 zentriert, direkt darunter die Grafik —
     Button/Untertext/Avatare ausgeblendet (CTA bleibt in der Nav) */
  .hero-copy { text-align: center; }
  .hero-copy .hero-sub,
  .hero-copy .hero-cta-wrap,
  .hero-copy .hero-proof { display: none; }
  .hero .wrap { gap: 30px; }
  .hero h1 { margin-bottom: 0; }
  .mockup-wrap img { width: 100%; max-width: 400px; }
  .hero-visual { gap: 26px; }
  .section-pad { padding: 56px 0; }
  .about { grid-template-columns: 1fr; gap: 44px; }
  .portrait-wrap { max-width: 320px; margin: 0 auto; }
  .cta-final { padding: 56px 0; }
}
