/* ---- Lokale Fonts (self-hosted, keine Google-Server) ---- */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/fraunces-var.woff2") format("woff2");
}
@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("fonts/newsreader-var.woff2") format("woff2");
}
@font-face {
  font-family: "Newsreader";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/newsreader-italic-var.woff2") format("woff2");
}

:root {
  /* Invertiert: modifiziertes, abgedunkeltes Espresso als Basis */
  --bg:            #211a15;
  --bg-deep:       #181210;
  --cream:         #E6E5D0;
  --cream-soft:    rgba(230, 229, 208, 0.60);
  --cream-faint:   rgba(230, 229, 208, 0.40);
  --terracotta:    #C9824B;   /* leicht aufgehellt für dunklen Grund */
  --terracotta-mut:#B87341;
  --hairline:      rgba(230, 229, 208, 0.16);
  --panel:         rgba(43, 34, 27, 0.82);
  --panel-hover:   rgba(54, 43, 34, 0.92);
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: "Newsreader", Georgia, serif;
  color: var(--cream);
  background-color: var(--bg);
  min-height: 100vh;
  line-height: 1.5;
  display: flex;
  justify-content: center;
  position: relative;
}

/* ---- Dirty-Film: echtes Foto-Korn als Grund + warme Lichtquellen ---- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 22%, rgba(201, 130, 75, 0.12), transparent 60%),
    radial-gradient(ellipse 90% 80% at 50% 120%, rgba(184, 115, 65, 0.07), transparent 55%),
    url("background.jpg") center center / cover no-repeat;
}

/* ---- Dirty-Film: feines, lebendiges Filmkorn ---- */
body::after {
  content: "";
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  z-index: 2;
  opacity: 0.09;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  animation: grain 0.7s steps(4) infinite;
}

/* Unterseiten: ruhigeres Korn, kein Flimmern über Fließtext */
body.sub::after {
  animation: none;
  opacity: 0.055;
}

/* leichtes Verschieben des Korns = analoges Flimmern */
@keyframes grain {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(-3%, 2%); }
  50%  { transform: translate(2%, -3%); }
  75%  { transform: translate(-2%, -2%); }
  100% { transform: translate(3%, 1%); }
}

.page {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 420px;
  padding: 64px 26px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* ---- Staggered Eingangs-Animation ---- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  animation: rise 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}
@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}
.d1 { animation-delay: 0.05s; }
.d2 { animation-delay: 0.18s; }
.d3 { animation-delay: 0.30s; }
.d4 { animation-delay: 0.42s; }
.d5 { animation-delay: 0.52s; }
.d6 { animation-delay: 0.62s; }
.d7 { animation-delay: 0.72s; }
.d8 { animation-delay: 0.84s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { animation: none; opacity: 1; transform: none; }
  body::after { animation: none; }
}

/* ---- Profilbild ---- */
.avatar {
  width: 118px;
  height: 118px;
  border-radius: 50%;
  object-fit: cover;
  background-color: rgba(230, 229, 208, 0.06);
  border: 1px solid rgba(230, 229, 208, 0.22);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.8),
              0 0 0 6px rgba(230, 229, 208, 0.02);
  margin-bottom: 26px;
}

/* ---- Name ---- */
.name {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  font-size: clamp(2.05rem, 9vw, 2.55rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
  font-optical-sizing: auto;
  color: var(--cream);
}

/* ---- Tagline ---- */
.tagline {
  margin-top: 12px;
  font-size: 1.06rem;
  font-style: italic;
  color: var(--cream-soft);
  letter-spacing: 0.01em;
}

.ornament {
  margin: 26px 0 30px;
  width: 30px;
  height: 1px;
  background: var(--terracotta);
  opacity: 0.8;
}

/* ---- Link-Buttons ---- */
.links {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.link {
  position: relative;
  display: block;
  width: 100%;
  padding: 17px 22px 18px;
  border-radius: 16px;
  background: var(--panel);
  border: 1px solid var(--hairline);
  color: var(--cream);
  text-decoration: none;
  text-align: left;
  transition: transform 0.28s cubic-bezier(0.22, 0.61, 0.36, 1),
              background-color 0.28s ease,
              border-color 0.28s ease,
              box-shadow 0.28s ease;
}

/* dezenter Terracotta-Akzent links als „handgesetzte" Marke */
.link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  bottom: 16px;
  width: 3px;
  border-radius: 3px;
  background: var(--terracotta);
  opacity: 0.6;
  transition: opacity 0.28s ease, transform 0.28s ease, box-shadow 0.28s ease;
}

.link:hover,
.link:focus-visible {
  transform: translateY(-2px);
  background: var(--panel-hover);
  border-color: rgba(201, 130, 75, 0.6);
  box-shadow: 0 16px 30px -22px rgba(0, 0, 0, 0.9);
  outline: none;
}
.link:hover::before,
.link:focus-visible::before {
  opacity: 1;
  transform: scaleY(1.04);
  box-shadow: 0 0 12px rgba(201, 130, 75, 0.45);
}

.link .label {
  display: block;
  font-family: "Fraunces", Georgia, serif;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--terracotta);
  margin-bottom: 5px;
}

.link .desc {
  display: block;
  font-size: 1.02rem;
  font-weight: 400;
  line-height: 1.34;
  color: var(--cream);
}

/* ---- Social Icons ---- */
.socials {
  margin-top: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--cream);
  transition: color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}
.social svg { width: 21px; height: 21px; display: block; }

.social:hover,
.social:focus-visible {
  color: var(--terracotta);
  background: rgba(201, 130, 75, 0.14);
  transform: translateY(-2px);
  outline: none;
}

/* ---- Footer (Rechtsseiten-Links) ---- */
.legal-footer {
  margin-top: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-size: 0.86rem;
  color: var(--cream-faint);
}
.legal-footer a {
  color: var(--cream-faint);
  text-decoration: none;
  transition: color 0.25s ease;
}
.legal-footer a:hover,
.legal-footer a:focus-visible {
  color: var(--terracotta);
  outline: none;
}

/* =========================================================
   Unterseiten (Coaching, Challenge, Rechtsseiten)
   ========================================================= */

.article {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 680px;
  padding: 44px 26px 48px;
  text-align: left;
}

.back {
  display: inline-block;
  font-family: "Fraunces", Georgia, serif;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--cream-faint);
  text-decoration: none;
  margin-bottom: 40px;
  transition: color 0.25s ease;
}
.back:hover,
.back:focus-visible {
  color: var(--terracotta);
  outline: none;
}

.article h1 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  font-size: clamp(1.9rem, 6.4vw, 2.6rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  font-optical-sizing: auto;
}

.subtitle {
  margin-top: 12px;
  font-size: 1.12rem;
  font-style: italic;
  color: var(--cream-soft);
}

.article .ornament { margin: 30px 0 34px; }

.article h2 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--terracotta);
  margin: 44px 0 16px;
}

.article h3 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  font-size: 1.3rem;
  line-height: 1.2;
  margin: 0 0 10px;
}

.article p {
  font-size: 1.12rem;
  line-height: 1.68;
  margin-bottom: 18px;
  max-width: 62ch;
}

.article p.lead {
  font-size: 1.22rem;
  line-height: 1.62;
}

.article ul {
  list-style: none;
  margin: 0 0 18px;
}
.article ul li {
  position: relative;
  padding-left: 22px;
  font-size: 1.1rem;
  line-height: 1.55;
  margin-bottom: 9px;
  max-width: 62ch;
}
.article ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 9px;
  height: 1px;
  background: var(--terracotta);
}

.article a { color: var(--terracotta); }
.article a:hover { color: var(--cream); }

/* Themen in zwei Spalten (mobil einspaltig) */
.topics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 30px;
}
@media (max-width: 560px) {
  .topics { grid-template-columns: 1fr; }
}
.topics h3 {
  font-size: 1.05rem;
  font-style: italic;
  font-family: "Newsreader", Georgia, serif;
  font-weight: 500;
  color: var(--cream-soft);
  margin: 6px 0 12px;
}

/* ---- Format-Karten (1:1 / Gruppe) ---- */
.cards {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 4px;
}

.card {
  position: relative;
  border-radius: 18px;
  background: var(--panel);
  border: 1px solid var(--hairline);
  padding: 26px 26px 24px;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  bottom: 24px;
  width: 3px;
  border-radius: 3px;
  background: var(--terracotta);
  opacity: 0.7;
}

.card .card-label {
  display: block;
  font-family: "Fraunces", Georgia, serif;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--terracotta);
  margin-bottom: 8px;
}

.card ul { margin-top: 12px; margin-bottom: 16px; }
.card ul li { font-size: 1.05rem; }

.price {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  font-size: 1.25rem;
  color: var(--cream);
  border-top: 1px solid var(--hairline);
  padding-top: 15px;
  margin-top: 4px;
}
.price small {
  display: block;
  font-family: "Newsreader", Georgia, serif;
  font-weight: 400;
  font-style: italic;
  font-size: 0.95rem;
  color: var(--cream-soft);
  margin-top: 5px;
}

/* ---- CTA-Button ---- */
.cta {
  display: inline-block;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--bg-deep);
  background: var(--terracotta);
  border-radius: 999px;
  padding: 14px 30px;
  text-decoration: none;
  transition: transform 0.28s cubic-bezier(0.22, 0.61, 0.36, 1),
              background-color 0.28s ease, box-shadow 0.28s ease;
}
.cta:hover,
.cta:focus-visible {
  transform: translateY(-2px);
  background: #d6905a;
  box-shadow: 0 14px 28px -16px rgba(201, 130, 75, 0.55);
  outline: none;
}
.article a.cta { color: var(--bg-deep); }
.article a.cta:hover { color: var(--bg-deep); }

/* ---- Badge (z. B. „Erste Kohorte") ---- */
.badge {
  display: inline-block;
  font-family: "Fraunces", Georgia, serif;
  font-size: 0.66rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--terracotta);
  border: 1px solid rgba(201, 130, 75, 0.5);
  border-radius: 999px;
  padding: 5px 12px 4px;
  margin-bottom: 12px;
  vertical-align: middle;
}
.price .badge { display: block; width: fit-content; }

/* ---- Kleingedrucktes unter CTAs ---- */
.fineprint {
  margin-top: 18px;
  font-size: 0.92rem !important;
  line-height: 1.5;
  color: var(--cream-faint);
  max-width: 58ch;
}
.fineprint a { color: var(--cream-soft); text-decoration: underline; }
.fineprint a:hover { color: var(--terracotta); }

/* ---- Heller Rahmen für Tally-Embeds (dunkle Formulartexte lesbar machen) ---- */
.embed-panel {
  background: #EFEDE0;
  border-radius: 18px;
  padding: 22px 20px 10px;
  margin: 24px 0 8px;
  border: 1px solid rgba(230, 229, 208, 0.3);
}
.embed-panel iframe { display: block; width: 100%; border: 0; }

/* ---- Rechtstexte ---- */
.legal p { font-size: 1.03rem; line-height: 1.62; max-width: 68ch; }
.legal h2 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  font-size: 1.45rem;
  text-transform: none;
  letter-spacing: -0.01em;
  color: var(--cream);
  margin: 42px 0 14px;
}
.legal h3 {
  font-size: 1.12rem;
  font-weight: 600;
  font-family: "Newsreader", Georgia, serif;
  margin: 26px 0 8px;
}
.legal h4 {
  font-size: 1.02rem;
  font-weight: 500;
  font-style: italic;
  font-family: "Newsreader", Georgia, serif;
  color: var(--cream-soft);
  margin: 20px 0 6px;
}
.legal a { overflow-wrap: anywhere; }
.legal ul li { font-size: 1.02rem; max-width: 68ch; }
.legal .address {
  font-style: normal;
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 18px;
}
