@font-face {
  font-family: "Hanken Grotesk";
  src: url("fonts/hanken-grotesk-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --bg: #efeee9;
  --paper: #f7f6f2;
  --ink: #141414;
  --soft: #6b6862;
  --rule: #d6d3cb;
  --amber: #c27a12;
  --max: 1180px;
  --pad: clamp(20px, 5vw, 56px);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Hanken Grotesk", system-ui, sans-serif;
  font-size: clamp(17px, 1.15vw, 19px);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.dot { color: var(--amber); }

/* Kopf */
header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
header.scrolled { border-color: var(--rule); }
header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.mark { font-weight: 800; letter-spacing: -.02em; text-decoration: none; font-size: 18px; }
.nav-cta {
  font-weight: 600; font-size: 15px; text-decoration: none;
  padding: 9px 16px; border: 1.5px solid var(--ink); border-radius: 999px;
  transition: background .2s, color .2s;
}
.nav-cta:hover { background: var(--ink); color: var(--bg); }

/* Hero */
.hero { padding: clamp(40px, 9vh, 110px) 0 clamp(56px, 10vh, 120px); }
.hero h1 {
  font-weight: 800;
  font-size: calc((min(100vw, var(--max)) - 2 * var(--pad)) / 9.4);
  line-height: .9;
  letter-spacing: -.055em;
  white-space: nowrap;
}
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero h1 .line > span { display: inline-block; }
.hero-row {
  margin-top: clamp(36px, 6vw, 72px); max-width: 640px;
}
.hero-text p { font-size: clamp(20px, 1.9vw, 27px); line-height: 1.35; letter-spacing: -.012em; max-width: 30ch; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 16px; text-decoration: none;
  padding: 14px 22px; border-radius: 999px; border: 1.5px solid var(--ink);
  transition: transform .2s, background .2s, color .2s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn.primary { background: var(--ink); color: var(--bg); }
.btn:hover { transform: translateY(-2px); }
.btn:not(.primary):hover { background: var(--ink); color: var(--bg); }

/* Abschnitte */
section { border-top: 1px solid var(--rule); padding: clamp(64px, 10vw, 128px) 0; }
.label {
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--soft); display: flex; align-items: center; gap: 12px; margin-bottom: 28px;
}
.label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
h2 {
  font-weight: 800; font-size: clamp(36px, 5.6vw, 80px);
  line-height: .95; letter-spacing: -.045em; max-width: 16ch;
}
.lead { margin-top: 28px; max-width: 58ch; font-size: clamp(18px, 1.35vw, 21px); color: #2c2b29; }
.lead + .lead { margin-top: 16px; }
.source { margin-top: 18px; font-size: 13px; color: var(--soft); }

/* Ablauf */
.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 56px; counter-reset: s; }
.step { padding: 28px 28px 32px 0; border-top: 2px solid var(--ink); position: relative; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--rule); }
.step .n { font-weight: 800; font-size: 15px; color: var(--amber); letter-spacing: .02em; }
.step h3 { font-weight: 800; font-size: clamp(22px, 2vw, 28px); letter-spacing: -.025em; line-height: 1.1; margin: 14px 0 10px; }
.step p { color: #3a3936; font-size: 17px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.tags span { font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--paper); border: 1px solid var(--rule); }
.promise {
  margin-top: 48px; display: flex; gap: 16px; align-items: flex-start;
  padding: 22px 24px; background: var(--paper); border-radius: 14px; max-width: 720px;
}
.promise svg { width: 24px; height: 24px; flex: none; color: var(--amber); margin-top: 2px; }

/* Beispiel: Postfach */
.demo { margin-top: 56px; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.inbox { background: var(--paper); border: 1px solid var(--rule); border-radius: 16px; overflow: hidden; }
.inbox-head { display: flex; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--rule); font-size: 14px; font-weight: 700; }
.inbox-head span:last-child { color: var(--soft); font-weight: 500; }
.mail { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 14px 18px; border-bottom: 1px solid var(--rule); font-size: 15px; }
.mail:last-child { border-bottom: 0; }
.mail b { font-weight: 700; }
.mail .sub { color: var(--soft); grid-column: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mail .tag { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; border: 1px solid currentColor; }
.tag.anfrage { color: var(--amber); }
.tag.termin { color: #2f5d50; }
.tag.rechnung { color: #5a5752; }
.draft { margin-top: 16px; background: var(--ink); color: #ecebe6; border-radius: 16px; padding: 20px 22px; font-size: 15px; }
.draft .k { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #e0a64f; margin-bottom: 10px; display: block; }
.draft p + p { margin-top: 8px; }
.demo-note p { font-size: clamp(18px, 1.35vw, 21px); color: #2c2b29; }
.demo-note p + p { margin-top: 16px; }
.demo-note .honest { font-size: 16px; color: var(--soft); border-left: 3px solid var(--amber); padding-left: 16px; margin-top: 28px; }

/* Preis */
.price { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 6vw, 96px); align-items: end; margin-top: 48px; }
.amount { font-weight: 800; font-size: clamp(96px, 16vw, 230px); line-height: .8; letter-spacing: -.06em; }
.amount small { font-size: .32em; letter-spacing: -.03em; }
.price ul { list-style: none; border-top: 2px solid var(--ink); }
.price li { padding: 14px 0; border-bottom: 1px solid var(--rule); display: flex; gap: 12px; }
.price li svg { width: 20px; height: 20px; flex: none; color: var(--amber); margin-top: 3px; }

/* Kontakt */
.contact { background: var(--ink); color: var(--bg); border: 0; }
.contact .label { color: #a8a59e; }
.contact h2 { max-width: 14ch; }
.contact-links { margin-top: 48px; display: grid; gap: 0; border-top: 1px solid #3a3936; }
.contact-links a {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 26px 0; border-bottom: 1px solid #3a3936; text-decoration: none;
  font-weight: 800; font-size: clamp(24px, 3.6vw, 48px); letter-spacing: -.035em;
}
.contact-links a span:first-child { overflow-wrap: anywhere; }
.contact-links a small { display: block; font-size: 14px; font-weight: 600; color: #a8a59e; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px; }
.contact-links svg { width: clamp(28px, 3vw, 40px); height: auto; flex: none; transition: transform .25s; color: #e0a64f; }
.contact-links a:hover svg { transform: translate(6px, -6px); }

.nav { display: flex; align-items: center; gap: 22px; }

footer { background: var(--ink); color: #8d8a83; font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 28px; padding-bottom: 36px; border-top: 1px solid #3a3936; }
footer nav { display: flex; gap: 20px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--bg); }

/* Bewegung */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.hero h1 .line > span { transform: translateY(105%); animation: rise 1s cubic-bezier(.2,.75,.15,1) forwards; }
.hero h1 .dot { display: inline-block; animation: pop .6s cubic-bezier(.3,1.6,.5,1) .9s both; }
.hero-row { animation: fade .9s ease .45s both; }
.mail { opacity: 0; transform: translateX(-10px); transition: opacity .5s, transform .5s; }
.inbox.in .mail { opacity: 1; transform: none; }
.inbox.in .mail:nth-child(3) { transition-delay: .12s; }
.inbox.in .mail:nth-child(4) { transition-delay: .24s; }
.inbox.in .mail:nth-child(5) { transition-delay: .36s; }
@keyframes rise { to { transform: none; } }
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes fade { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .mail { opacity: 1; transform: none; transition: none; }
  .hero h1 .line > span, .hero h1 .dot, .hero-row { animation: none; transform: none; opacity: 1; }
}

@media (max-width: 860px) {
  .flow { grid-template-columns: 1fr; }
  .step + .step { padding-left: 0; border-left: 0; }
  .demo { grid-template-columns: 1fr; }
  .price { grid-template-columns: 1fr; align-items: start; }
}
.hero h1 .br { display: none; }
@media (max-width: 700px) {
  .hero h1 { font-size: calc((100vw - 2 * var(--pad)) / 8.1); }
  .hero h1 .br { display: inline; }
}
@media (max-width: 560px) {
  .nav-cta { display: none; }
}

/* Rechtstexte und 404 */
.legal { padding: clamp(40px, 8vh, 96px) 0 clamp(64px, 10vw, 128px); }
.legal h1 { font-weight: 800; font-size: clamp(40px, 6vw, 80px); line-height: .95; letter-spacing: -.045em; }
.legal h2 { font-size: clamp(22px, 2vw, 28px); letter-spacing: -.025em; line-height: 1.15; max-width: none; margin: 44px 0 10px; }
.legal p, .legal ul { max-width: 64ch; color: #2c2b29; }
.legal p + p { margin-top: 12px; }
.legal ul { margin: 10px 0 0 1.2em; }
.legal .stand { margin-top: 48px; font-size: 14px; color: var(--soft); }
.legal .back { display: inline-block; margin-top: 32px; font-weight: 700; }
.todo { background: #fbe3b5; padding: 0 4px; border-radius: 3px; }
.legal .intro { margin-top: 28px; }

/* Fragen */
.faq { margin-top: 48px; max-width: 820px; border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 0; font-weight: 800; font-size: clamp(19px, 1.6vw, 23px); letter-spacing: -.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid var(--ink); font-weight: 600; font-size: 20px; line-height: 1; transition: transform .25s, background .2s, color .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--ink); color: var(--bg); }
.faq summary:hover::after { background: var(--ink); color: var(--bg); }
.faq summary:focus-visible { outline: 2px solid var(--amber); outline-offset: 4px; }
.faq details p { padding: 0 48px 24px 0; max-width: 62ch; color: #2c2b29; }
.source a { color: inherit; }
