@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/instrument-serif.woff2") format("woff2");
}

@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/figtree-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;
}

@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/figtree-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;
}

:root {
  color-scheme: light;
  color-scheme: only light;
  --page-max: 1120px;
  --page-pad: clamp(20px, 4vw, 48px);
  --bg: #f4f2ee;
  --ink: #141414;
  --soft: #5f5c57;
  --paper: #ffffff;
  --line: #e0ddd6;
  --copper: #b4451a;
  --copper-deep: #8c3010;
  --sage: #3d5a4c;
  --radius: 8px;
  --radius-sm: 8px;
  --shadow: 0 16px 40px -20px rgba(20, 20, 20, 0.22);
  --shadow-lg: 0 24px 48px -24px rgba(20, 20, 20, 0.28);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --sans: "Figtree", "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --panel-wash: rgba(255, 255, 255, 0.94);
  --pill-bg: rgba(255, 255, 255, 0.88);
  --hero-fade: rgba(244, 242, 238, 0.96);
  --hero-fade-mid: rgba(244, 242, 238, 0.88);
  --header-bg: #ffffff;
  --btn-hover: rgba(20, 20, 20, 0.05);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  color-scheme: light;
  color-scheme: only light;
  background-color: var(--bg);
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  isolation: isolate;
}

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -2;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(8px);
}

body::before {
  width: 48vw;
  height: 48vw;
  min-width: 360px;
  top: -20vw;
  right: -14vw;
  background: radial-gradient(circle, rgba(180, 69, 26, 0.08), transparent 70%);
  animation: drift 22s var(--ease) infinite alternate;
}

body::after {
  width: 40vw;
  height: 40vw;
  min-width: 320px;
  bottom: -18vw;
  left: -16vw;
  background: radial-gradient(circle, rgba(61, 90, 76, 0.07), transparent 72%);
  animation: drift 28s var(--ease) infinite alternate-reverse;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.12;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

input,
select,
textarea {
  color-scheme: light;
  background-color: var(--paper);
  color: var(--ink);
  border-color: var(--line);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 12px max(20px, calc((100% - var(--page-max)) / 2 + 20px));
  position: sticky;
  top: 0;
  z-index: 18;
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
}

/* Nur die Navigation bleibt oben stehen; die Leisten darüber scrollen weg. */
.site-top {
  display: contents;
}

.site-top .nav {
  z-index: 22;
}

.site-top .scarce-bar {
  position: static;
  top: auto;
}

.brand {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  min-width: 0;
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  font-style: normal;
  font-synthesis: none;
  letter-spacing: -0.03em;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.mark {
  width: 32px;
  height: 32px;
  display: block;
  border-radius: 10px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.hdr-btn {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.2;
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  min-height: 40px;
  white-space: nowrap;
}

.hdr-btn:hover {
  background: var(--btn-hover);
}

.hdr-btn-fill {
  background: var(--copper);
  color: #fffaf2;
  border-color: var(--copper);
}

.hdr-btn-fill:hover {
  background: var(--copper-deep);
  border-color: var(--copper-deep);
  color: #fffaf2;
}

.hero {
  width: min(var(--page-max), 100%);
  margin-inline: auto;
  padding: 56px var(--page-pad) 28px;
}

.entry {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-landing {
  display: block;
  position: relative;
  z-index: 2;
  width: min(var(--page-max), 100%);
  margin-inline: auto;
  padding-top: 32px;
  padding-bottom: 14px;
}

.entry-title {
  font-family: var(--serif);
  font-size: clamp(30px, 4.6vw, 56px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0 0 14px;
}

.hero-landing .lead {
  font-size: 18px;
  margin-bottom: 12px;
}

@media (max-height: 820px) {
  .hero-landing .pills {
    display: none;
  }
}

.hero-copy {
  max-width: 36rem;
  padding: 8px 48px 12px 0;
  background: linear-gradient(90deg, var(--hero-fade) 0%, var(--hero-fade-mid) 72%, transparent 100%);
}

.bill-field {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bill {
  position: absolute;
  left: 0;
  top: 0;
  width: 340px;
  padding: 22px 24px 20px;
  background: #fffaf2;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  font-size: 13px;
  color: var(--ink);
  will-change: transform;
  pointer-events: auto;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}

.bill:active {
  cursor: grabbing;
}

.bill .pn { font-size: 30px; }
.bill .pr { font-size: 13px; }
.bill .paper-cols { margin: 14px 0 10px; font-size: 13px; gap: 12px; }
.bill .pline { padding: 8px 0; }
.bill .ptotal { font-size: 22px; margin-top: 6px; }
.bill-sm { width: 290px; }
.bill-xs { width: 260px; }

.quiz-panel {
  position: relative;
  z-index: 2;
  background: var(--panel-wash);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 12px;
  border: 1px solid var(--line);
  width: min(720px, calc(100% - 2 * var(--page-pad)));
  margin: 8px auto 40px;
  padding: 24px 32px 28px;
  box-shadow: var(--shadow);
}

footer { position: relative; z-index: 2; }

.hero > * {
  animation: fadeUp 0.75s var(--ease) both;
}
.hero-copy > * {
  animation: fadeUp 0.75s var(--ease) both;
}
.hero-copy > *:nth-child(1) { animation-delay: 0.04s; }
.hero-copy > *:nth-child(2) { animation-delay: 0.12s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.2s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.28s; }

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  background: var(--pill-bg);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.eyebrow {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--copper);
  margin: 0 0 14px;
}

h1 {
  font-family: var(--serif);
  font-size: clamp(32px, 9vw, 84px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin: 0 0 18px;
}

.lead {
  font-size: 20px;
  line-height: 1.5;
  max-width: 560px;
  color: var(--soft);
  margin: 0 0 28px;
}

.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 1px solid var(--line);
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  background: var(--paper);
  cursor: pointer;
  font: inherit;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  overflow: hidden;
  min-height: 40px;
  touch-action: manipulation;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn:hover {
  background: var(--btn-hover);
}

.btn-dark { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-dark:hover { background: #000; }
.btn-copper {
  background: var(--copper);
  border-color: var(--copper);
  color: #fffaf2;
}
.btn-copper:hover {
  background: var(--copper-deep);
  border-color: var(--copper-deep);
  color: #fffaf2;
}

.micro { font-size: 13px; color: var(--soft); margin-top: 14px; }

.stage {
  width: min(var(--page-max), 100%);
  margin-inline: auto;
  padding: 10px var(--page-pad) 70px;
}

.paper {
  max-width: 720px;
  background: var(--paper);
  padding: 42px 46px;
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}

.paper-float {
  max-width: none;
  transform: rotate(4deg);
  animation: floaty 7s ease-in-out infinite;
}

.paper-top { display: flex; justify-content: space-between; }
.pk { letter-spacing: 0.26em; text-transform: uppercase; color: var(--copper); font-size: 11px; margin: 0 0 6px; }
.pn { font-family: var(--serif); font-size: 42px; margin: 0; letter-spacing: -0.03em; }
.pr { color: var(--soft); text-align: right; font-size: 14px; }
.paper-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 28px 0; font-size: 14px; line-height: 1.5; }
.paper-cols span { display: block; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--soft); margin-bottom: 6px; }
.pline { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding: 12px 0; }
.ptotal { text-align: right; font-family: var(--serif); font-size: 28px; margin-top: 10px; }

.points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  width: min(var(--page-max), 100%);
  margin-inline: auto;
  padding: 0 var(--page-pad) 80px;
}

.points h2 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.03em;
  margin: 0 0 10px;
}

.points p { color: var(--soft); line-height: 1.5; margin: 0; }

.steps {
  width: min(800px, calc(100% - 2 * var(--page-pad)));
  margin-inline: auto;
  padding: 0 0 80px;
}
.steps h2, .faq h2 { font-family: var(--serif); font-size: 42px; font-weight: 400; }
.steps ol { padding-left: 18px; font-size: 18px; line-height: 1.6; }

.price {
  width: min(var(--page-max), 100%);
  margin-inline: auto;
  padding: 0 var(--page-pad) 80px;
}
.price-card {
  max-width: 460px;
  background: var(--paper);
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.amount { font-family: var(--serif); font-size: clamp(48px, 16vw, 72px); margin: 0; line-height: 1; }
.once { margin: 0 0 18px; color: var(--soft); }
.price-card ul { padding-left: 18px; line-height: 1.7; }
.price-card .btn { margin-top: 8px; }

.faq {
  width: min(760px, calc(100% - 2 * var(--page-pad)));
  margin-inline: auto;
  padding: 0 0 90px;
}
details { border-top: 1px solid var(--line); padding: 14px 0; }
summary { cursor: pointer; font-weight: 600; min-height: 44px; display: flex; align-items: center; }
details p { color: var(--soft); line-height: 1.5; }

footer {
  width: min(var(--page-max), 100%);
  margin-inline: auto;
  padding: 28px var(--page-pad) 48px;
  color: var(--soft);
  font-size: 13px;
  border-top: 1px solid var(--line);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-6%, 8%, 0) scale(1.08); }
}

@keyframes floaty {
  0%, 100% { transform: rotate(4deg) translateY(0); }
  50% { transform: rotate(2.4deg) translateY(-10px); }
}

@media (max-width: 900px) {
  .bill:nth-child(n+5) { display: none; }
  .hero-copy { background: var(--hero-fade); border-radius: var(--radius); padding-right: 16px; }
  .quiz-panel { margin: 8px auto 40px; padding: 22px 18px 28px; }
}

@media (max-width: 800px) {
  .points, .paper .paper-cols { grid-template-columns: 1fr; }
  .nav {
    padding: 8px 12px;
    gap: 10px;
  }
  .header-actions {
    flex-wrap: nowrap;
    gap: 6px;
  }
  .header-actions .hdr-btn {
    min-height: 40px;
    padding: 6px 10px;
    font-size: 13px;
  }
  .hero {
    padding: 28px var(--page-pad) 16px;
  }
  .hero-copy {
    max-width: none;
    padding: 12px 14px;
  }
  .hero-landing { padding-top: 20px; padding-bottom: 12px; }
  .hero-landing .lead { font-size: 16px; margin-bottom: 4px; }
  .lead { font-size: 17px; margin-bottom: 20px; }
  .quiz-wrap.quiz-panel {
    margin: 0 auto 36px;
    padding: 18px 14px 24px;
  }
  .stage, .price, footer, .split-2 {
    padding-left: var(--page-pad);
    padding-right: var(--page-pad);
  }
  .paper {
    padding: 20px 16px;
  }
  .pn { font-size: 28px; }
  .ptotal { font-size: 22px; }
  .steps h2, .faq h2 { font-size: clamp(28px, 8vw, 42px); }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }
  .hero-actions .btn-stack {
    align-items: center;
  }
  .price-card {
    padding: 22px 18px;
  }
  .price-card .btn {
    width: 100%;
    text-align: center;
  }
  .price-card .btn-stack {
    align-items: center;
  }
  .amount-row {
    flex-wrap: wrap;
  }
  footer {
    padding-bottom: max(36px, calc(20px + env(safe-area-inset-bottom, 0px)));
  }
}

@media (max-width: 520px) {
  .bill-field { display: none; }
  .pill { font-size: 12px; padding: 5px 10px; }
  /* Drei Knöpfe passen nur ohne den Schriftzug in eine Zeile. */
  body.is-offer .site-top .brand-name { display: none; }
}

@media (hover: none) {
  .btn:hover,
  .hdr-btn:hover,
  .q-card:hover,
  .box:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .paper-float { transform: none; }
}
