/* ===========================================================
   Sensipreneure Company — Sales Page
   =========================================================== */

/* ---- Lokale Fonts (self-hosted, keine Google-Server im Betrieb) ----
   Playfair Display und DM Sans, latin-Subset, SIL Open Font License 1.1 */
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/playfair-display-var.woff2") format("woff2");
}
@font-face {
  font-family: "Playfair Display";
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/playfair-display-italic-var.woff2") format("woff2");
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/dm-sans-var.woff2") format("woff2");
}

/* ---- Design-Tokens ---- */
:root {
  --espresso:    #1a1714;
  --creme:       #e6e5d0;
  --terracotta:  #b87341;
  --amber:       #e6a63c;
  --lavender:    #a89bd8;   /* der Leser, die Identitaet */

  --amber-mark:    rgba(230, 166, 60, .34);
  --lavender-mark: rgba(168, 155, 216, .30);
  --line:          rgba(184, 115, 65, .26);
  --dim:           rgba(230, 229, 208, .44);
  --soft:          rgba(230, 229, 208, .68);

  --serif: "Playfair Display", "Newsreader", Georgia, "Times New Roman", serif;
  --sans:  "DM Sans", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;

  --gap:     clamp(64px, 8vw, 104px);
  --content: 1080px;
  --text:    760px;
  --pad:     22px;
}

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

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

body {
  background: var(--espresso);
  color: var(--creme);
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.55;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* ---- Grain-Overlay ueber der ganzen Seite ---- */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap {
  width: 100%;
  max-width: var(--content);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}
.narrow { max-width: calc(var(--text) + var(--pad) * 2); }

section { scroll-margin-top: 80px; }
.section { margin-top: var(--gap); }

/* ---- Wiederkehrende Bausteine ---- */
.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--terracotta);
}

.h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(26px, 2.7vw, 36px);
  line-height: 1.2;
  letter-spacing: .005em;
  color: var(--creme);
  text-wrap: balance;
}

/* Textmarker-Akzente */
.mark,
.mark-lav {
  padding: 0 .08em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.mark     { background: linear-gradient(transparent 54%, var(--amber-mark) 54%, var(--amber-mark) 93%, transparent 93%); }
.mark-lav { background: linear-gradient(transparent 54%, var(--lavender-mark) 54%, var(--lavender-mark) 93%, transparent 93%); }
.accent   { color: var(--lavender); }

/* ===========================================================
   1 — Headline
   =========================================================== */
.hero { padding-top: clamp(56px, 7vw, 88px); }

.headline {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(30px, 3.9vw, 50px);
  line-height: 1.18;
  letter-spacing: .005em;
  text-align: center;
  text-wrap: balance;
  max-width: 940px;
  margin: 0 auto clamp(32px, 4vw, 48px);
  color: var(--creme);
}

/* ===========================================================
   2 — Video (Facade: laedt erst beim Klick)
   =========================================================== */
.video {
  position: relative;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background-color: #14110f;
  background-size: cover;
  background-position: center;
}
.video--16x9 { aspect-ratio: 16 / 9; }
.video--9x16 { aspect-ratio: 9 / 16; }

.video iframe,
.video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  object-fit: cover;
}

.video__play {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  background: rgba(20, 17, 15, .18);
  transition: background-color 150ms ease;
}
.video__play:hover { background: rgba(20, 17, 15, .06); }
.video__play svg {
  width: clamp(58px, 6vw, 74px);
  height: clamp(58px, 6vw, 74px);
  transition: transform 150ms ease;
  filter: drop-shadow(0 4px 18px rgba(0, 0, 0, .5));
}
.video__play:hover svg { transform: scale(1.06); }

/* ===========================================================
   3 — CTA
   =========================================================== */
.cta-wrap { margin-top: 28px; text-align: center; }

.cta {
  display: inline-block;
  background: var(--amber);
  color: var(--espresso);
  font-weight: 700;
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1;
  letter-spacing: .01em;
  text-decoration: none;
  padding: 17px 40px;
  border-radius: 10px;
  transition: background-color 150ms ease, transform 150ms ease;
}
.cta:hover { background: #eab254; transform: translateY(-1px); }

.cta--ghost {
  background: transparent;
  color: var(--amber);
  border: 1px solid var(--amber);
}
.cta--ghost:hover { background: rgba(230, 166, 60, .1); }

/* ===========================================================
   4 — Die vier Schritte (was du erreichst)
   =========================================================== */
.steps { list-style: none; margin-top: 4px; }

.step {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.step:last-child { border-bottom: 0; }

.step__label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--terracotta);
}
.step__title {
  margin-top: 7px;
  font-size: clamp(21px, 2.1vw, 28px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--amber);
}
.step__body {
  margin-top: 8px;
  font-size: clamp(16px, 1.4vw, 18px);
  color: var(--soft);
}
.em {
  font-style: italic;
  color: var(--amber);
}

/* ===========================================================
   5 — Wie geht das?
   =========================================================== */
.how {
  list-style: none;
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.how li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 16px;
  align-items: baseline;
}
.how__n {
  font-size: clamp(23px, 2.3vw, 30px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--lavender);
}
.how__t {
  font-size: clamp(16px, 1.45vw, 19px);
  color: var(--soft);
}

/* ===========================================================
   7 — Preis
   =========================================================== */
.preis { text-align: center; }

.price__main {
  font-size: clamp(46px, 6.4vw, 76px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.035em;
  color: var(--amber);
}
.price__per {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--dim);
}
.price__or {
  margin-top: 28px;
  font-size: 15px;
  color: var(--dim);
}
.price__alts {
  list-style: none;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: clamp(16px, 1.4vw, 18px);
  color: var(--soft);
}
.price__save { color: var(--amber); font-size: .86em; }

/* ===========================================================
   8 — FAQ
   =========================================================== */
.faq { margin-top: 22px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:first-child { border-top: 1px solid var(--line); }

.faq__q {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 22px 0;
  font-family: var(--sans);
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -.005em;
  color: var(--creme);
  transition: color 200ms ease;
}
.faq__q:hover { color: var(--amber); }
.faq__q[aria-expanded="true"] { color: var(--amber); }

.faq__q1 { display: block; }
.faq__q2 {
  display: block;
  margin-top: 5px;
  font-weight: 400;
  font-size: .88em;
  opacity: .62;
}

.faq__arrow {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: .35em;
  color: var(--terracotta);
  transition: transform 200ms ease;
}
.faq__q[aria-expanded="true"] .faq__arrow { transform: rotate(180deg); color: var(--amber); }

.faq__a {
  padding: 0 40px 26px 0;
  max-width: 640px;
  color: var(--soft);
  font-size: clamp(16px, 1.4vw, 18px);
}
.faq__a .video { max-width: 480px; }

/* ===========================================================
   9 — Bewerbung
   =========================================================== */
.tally { margin-top: 28px; width: 100%; }
.tally iframe { width: 100%; border: 0; display: block; background: transparent; }

.tally__hint {
  display: block;
  border: 1px dashed var(--terracotta);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  font-size: 16px;
  color: var(--dim);
}
.tally__hint code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .92em;
  color: var(--amber);
}
.video__todo {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--dim);
  white-space: nowrap;
}

/* ---- Fusszeile ---- */
.legal {
  margin-top: clamp(56px, 6vw, 80px);
  padding-bottom: 56px;
  text-align: center;
  font-size: 14px;
  color: var(--creme);
  opacity: .4;
}
.legal a { color: inherit; text-decoration: none; }
.legal a:hover { text-decoration: underline; }
.legal span { margin: 0 .5em; }

/* ---- Fokus ---- */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 4px;
  border-radius: 6px;
}

/* ===========================================================
   Mobile — Breakpoint 768 px
   =========================================================== */
@media (max-width: 768px) {
  :root { --pad: 20px; }

  .how li { grid-template-columns: 34px 1fr; gap: 12px; }

  .faq__a { padding-right: 0; }
}

/* ===========================================================
   prefers-reduced-motion
   =========================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0ms !important;
    animation-duration: 0ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* ---- kleine Hilfsklassen ---- */
.mt-l { margin-top: clamp(38px, 4vw, 54px); }
