:root {
  --accent: #ff3600;
  --accent-hover: #e03000;
  --black: #0a0a0a;
  --white: #ffffff;
  --grey: #6a6b6c;
  --grey-light: #d0d0d0;
  --line: #e6e6e6;
  --radius: 22px;
  --max: 1180px;
  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 36px;
  border-radius: 999px;
  border: 2px solid var(--accent);
  background: var(--accent);
  color: var(--white);
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); transform: translateY(-1px); }
.btn--outline { background: transparent; color: var(--black); border-color: var(--black); }
.btn--outline:hover { background: var(--black); color: var(--white); border-color: var(--black); }
.dark .btn--outline, .plan .btn--outline { color: var(--white); border-color: var(--white); }
.dark .btn--outline:hover, .plan .btn--outline:hover { background: var(--white); color: var(--black); }
.btn--outline-accent { background: transparent; color: var(--accent); }
.btn--outline-accent:hover { background: var(--accent); color: var(--white); }
.btn--sm { min-height: 40px; padding: 0 22px; font-size: 11px; letter-spacing: 2px; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.header.is-scrolled { border-bottom-color: var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.header__logo img { width: 72px; height: auto; }
.header__nav { display: flex; gap: 12px; }

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section--tight { padding: 80px 0; }
.dark { background: var(--black); color: var(--white); }

/* Section divider "Mirrored Rounded Corners" (as in the Thrive original):
   a stepped shape in the next section's colour sits on the bottom edge. */
.shape {
  --shape-h: clamp(44px, 7.4vw, 106px);
  position: relative;
  padding-bottom: calc(110px + var(--shape-h));
}
.shape::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: var(--shape-h);
  pointer-events: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 137' preserveAspectRatio='none'%3E%3Cpath d='m933.31,67.34c-.28,0-.56-.02-.84-.02H66.69C29.78,66.86,0,36.91,0,0v137h1000v-2.35c0-36.91-29.78-66.86-66.69-67.31Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 137' preserveAspectRatio='none'%3E%3Cpath d='m933.31,67.34c-.28,0-.56-.02-.84-.02H66.69C29.78,66.86,0,36.91,0,0v137h1000v-2.35c0-36.91-29.78-66.86-66.69-67.31Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
}
.shape--to-dark::after { background: var(--black); }
.shape--to-light::after { background: var(--white); }
.shape--mirror::after { transform: scaleX(-1); }

.eyebrow {
  display: block;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.h1 { font-size: clamp(40px, 6vw, 64px); line-height: 1.12; font-weight: 400; letter-spacing: -.02em; }
.h2 { font-size: clamp(30px, 4vw, 42px); line-height: 1.2; font-weight: 400; letter-spacing: -.015em; }
.hl { color: var(--accent); }
.lead { margin-top: 18px; max-width: 640px; font-size: 17px; }
.dark .lead { color: var(--grey-light); }

.pill {
  display: inline-block;
  margin-bottom: 18px;
  padding: 4px 14px;
  border: 1px solid var(--black);
  border-radius: 999px;
  font-size: 13px;
}

/* ---------- Hero ---------- */
.hero { padding: 120px 0 130px; }
.hero .lead { max-width: 560px; font-size: 18px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero__ctas .btn { min-width: 220px; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 22px; margin-top: 44px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  padding: 30px 28px;
  border: 1px solid var(--black);
  border-radius: var(--radius);
  background: var(--white);
}
.card h3 { margin: 18px 0 14px; font-size: 16px; line-height: 1.4; font-weight: 700; }
.card p { font-size: 15px; color: #333; }
.card__icon { width: 26px; height: 26px; color: var(--accent); }
.card__num { color: var(--accent); font-size: 34px; line-height: 1; }
.card__num + h3 { margin-top: 14px; }

.callout {
  margin-top: 28px;
  padding: 28px 32px;
  border-radius: var(--radius);
  background: var(--black);
  color: var(--white);
}
.callout .eyebrow { margin-bottom: 6px; }
.callout p { font-weight: 700; }

/* ---------- Proof (Section 03) ---------- */
.proof { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-top: 44px; }
.proof__label { margin-bottom: 12px; color: var(--grey-light); font-size: 11px; letter-spacing: 3px; text-transform: uppercase; }
.mail {
  padding: 22px 24px;
  border-radius: 16px;
  background: var(--white);
  color: var(--black);
  font-size: 13px;
  line-height: 1.5;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .35);
}
.mail__meta { padding-bottom: 12px; border-bottom: 1px solid var(--line); color: var(--grey); }
.mail__meta strong { color: var(--black); }
.mail__body { display: grid; grid-template-columns: 110px 1fr; gap: 16px; margin: 16px 0; }
.mail__img {
  display: grid;
  place-items: center;
  height: 82px;
  border: 1px solid var(--grey-light);
  border-radius: 10px;
  color: var(--grey);
  font-size: 12px;
}
.mail__src { color: var(--grey); font-size: 12px; }
.mail__text { font-size: 15px; }
.mail__deadline {
  display: inline-block;
  margin-top: 14px;
  padding: 3px 12px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: var(--accent);
  font-size: 12px;
}
.proof__copy p + p { margin-top: 20px; }
.proof__copy p { color: var(--grey-light); font-size: 16px; }
.proof__copy p.strong { color: var(--white); font-weight: 700; }
.proof__copy .btn { margin-top: 32px; }

/* ---------- Before / After ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 44px; }
.compare h3 { margin-bottom: 14px; font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; }
.compare__after h3 { color: var(--accent); }
.compare ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
/* Zeilen beider Spalten koppeln: jedes Vorher/Nachher-Paar ist gleich hoch */
@supports (grid-template-rows: subgrid) {
  .compare { grid-template-rows: auto repeat(7, auto); row-gap: 12px; }
  .compare > div { display: grid; grid-row: 1 / span 8; grid-template-rows: subgrid; }
  .compare h3 { margin-bottom: 2px; }
  .compare ul { grid-row: 2 / span 7; grid-template-rows: subgrid; gap: inherit; }
  .compare li { display: flex; align-items: center; }
}
.compare li {
  padding: 13px 20px;
  border: 1px solid var(--white);
  border-radius: 12px;
  font-size: 15px;
}
.compare__after li { border-color: var(--accent); color: var(--accent); font-weight: 700; }

.checks { display: grid; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.checks li { position: relative; padding-left: 30px; font-size: 15px; }
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- Demo & Start ---------- */
.start { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 44px; }
.start .card { display: flex; flex-direction: column; background: transparent; color: var(--white); }
.start__demo { border-color: var(--accent) !important; }
.start__direct { border-color: var(--white) !important; }
.start .card p { color: var(--grey-light); }
.start .card p + p { margin-top: 16px; }
.start .card .btn { margin-top: auto; }
.start .eyebrow { font-size: 11px; letter-spacing: 3px; }
.start__direct .eyebrow { color: var(--white); }
.steps { display: grid; gap: 12px; margin: 22px 0 28px; padding: 0; list-style: none; }
.steps li { padding: 12px 20px; border: 1px solid var(--white); border-radius: 999px; font-size: 15px; }
.steps strong { color: var(--accent); font-weight: 700; }
.start__spacer { flex: 1; min-height: 28px; }

/* ---------- FAQ ---------- */
.faq { margin-top: 44px; border-top: 1px solid var(--black); }
.faq details { border-bottom: 1px solid var(--black); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 4px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; font-weight: 400; line-height: 1; transition: transform .2s; }
.faq details[open] summary { color: var(--accent); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--accent); }
.faq details p { max-width: 820px; padding: 0 4px 22px; color: #333; font-size: 15px; }

/* ---------- Final CTA ---------- */
.final { text-align: center; padding: 120px 0; }
.final .lead { margin: 14px auto 0; }
.final__ctas { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 760px; margin: 40px auto 0; }

/* ---------- Footer ---------- */
.footer { padding: 60px 0 40px; text-align: center; font-size: 13px; }
.footer__logo { width: 110px; margin: 0 auto; }
.footer__claim { margin-top: 10px; color: var(--grey); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; }
.footer__top {
  display: inline-block;
  margin: 28px 0;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  width: min(360px, 100%);
  color: var(--grey);
  font-size: 11px;
  letter-spacing: 2px;
  text-decoration: none;
}
.footer__top:hover { color: var(--accent); }
.footer__social { display: flex; justify-content: center; gap: 18px; margin: 12px 0 22px; }
.footer__social a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; transition: color .2s; }
.footer__social a:hover { color: var(--accent); }
.footer__social svg { width: 18px; height: 18px; }
.footer__legal { color: var(--grey); font-size: 12px; }
.footer__legal a { text-decoration: none; }
.footer__legal a:hover { color: var(--accent); }

/* ---------- Reveal animation ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
  .reveal.is-visible { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .proof { grid-template-columns: 1fr; gap: 44px; }
}

@media (max-width: 760px) {
  .section { padding: 80px 0; }
  .shape { padding-bottom: calc(80px + var(--shape-h)); }
  .hero { padding: 72px 0 90px; }
  .container { padding: 0 18px; }
  .grid--3, .grid--4, .compare, .pricing, .start, .final__ctas { grid-template-columns: 1fr; }
  .compare { grid-template-rows: none; row-gap: 28px; }
  .compare > div, .compare ul { grid-row: auto; grid-template-rows: none; }
  .compare ul { gap: 12px; }
  .compare h3 { margin-bottom: 14px; }
  .header__nav [data-link="start"] { display: none; }
  .hero__ctas .btn { width: 100%; }
  .mail__body { grid-template-columns: 1fr; }
  .faq summary { font-size: 13px; }
}

/* =========================================================
   Interaktive Elemente
   ========================================================= */

:root {
  --app-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
  --green: #16a34a;
  --green-soft: #dcfce7;
}

/* ---------- Hero: Produkt-Mockup ---------- */
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero__visual { position: relative; padding: 28px 20px 40px 36px; }
.hero__visual::before {
  content: "";
  position: absolute;
  inset: 8% 0 6% 14%;
  background: radial-gradient(closest-side, rgba(255, 54, 0, .16), transparent);
  filter: blur(10px);
  z-index: -1;
}

.app {
  font-family: var(--app-font);
  background: var(--white);
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 40px 80px -30px rgba(10, 10, 10, .35), 0 2px 6px rgba(10, 10, 10, .05);
  overflow: hidden;
  transform: perspective(1600px) rotateY(-7deg) rotateX(3deg);
  transform-origin: left center;
  transition: transform .6s ease;
}
.hero__visual:hover .app { transform: perspective(1600px) rotateY(-3deg) rotateX(1deg); }
.app__bar, .win__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 14px;
  background: #f6f6f7;
  border-bottom: 1px solid #ececee;
}
.app__bar > span, .win__bar > span { width: 10px; height: 10px; border-radius: 50%; background: #dedee2; }
.app__bar > span:first-child, .win__bar > span:first-child { background: #ff5f57; }
.app__bar > span:nth-child(2), .win__bar > span:nth-child(2) { background: #febc2e; }
.app__bar > span:nth-child(3), .win__bar > span:nth-child(3) { background: #28c840; }
.app__url {
  margin: 0 auto;
  padding: 3px 14px;
  border-radius: 6px;
  background: var(--white);
  color: #8a8a90;
  font-size: 11px;
}
.app__body { padding: 20px; color: #111; }
.app__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.app__title { font-size: 15px; font-weight: 600; }
.app__sub { color: #8a8a90; font-size: 12px; }
.app__badge {
  padding: 2px 10px;
  border-radius: 999px;
  background: #e0ecff;
  color: #2563eb;
  font-size: 11px;
  font-weight: 600;
}
.app__main { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 16px; }
.app__img {
  position: relative;
  aspect-ratio: 4 / 3.2;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(180deg, #ffd8c2 0%, #ffb08a 55%, #f47d4e 100%);
}
.app__sun { position: absolute; top: 18%; right: 20%; width: 26%; aspect-ratio: 1; border-radius: 50%; background: #fff4e8; }
.app__hill { position: absolute; left: -20%; right: 20%; bottom: -38%; height: 70%; border-radius: 50%; background: #3a2a24; }
.app__hill--2 { left: 30%; right: -30%; bottom: -46%; background: #1d1512; }
.app__status { display: flex; flex-direction: column; justify-content: center; padding: 6px 4px; }
.app__days { text-align: center; }
.app__days strong { display: block; color: var(--green); font-size: 40px; line-height: 1; font-weight: 700; }
.app__days span { color: #6b6b72; font-size: 10px; letter-spacing: 2px; text-transform: uppercase; }
.app__progress { height: 6px; margin: 14px 0 12px; border-radius: 999px; background: #eeeef0; overflow: hidden; }
.app__progress i { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--green); transition: width 1.4s .5s cubic-bezier(.2, .8, .2, 1); }
.hero__visual.is-live .app__progress i { width: 39%; }
.app__dates { display: grid; gap: 4px; margin: 0; font-size: 11px; }
.app__dates div { display: flex; justify-content: space-between; }
.app__dates dt { color: #8a8a90; }
.app__dates dd { margin: 0; }
.app__terms { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 14px; }
.app__term { padding: 8px 10px; border-radius: 8px; background: #f5f5f7; font-size: 12px; font-weight: 600; }
.app__term small { display: block; color: #8a8a90; font-size: 10px; font-weight: 400; }
.app__uln { margin-top: 12px; font-size: 10px; color: #8a8a90; }
.app__uln code {
  display: block;
  margin-top: 3px;
  padding: 6px 10px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background: #f9f9fa;
  color: #111;
  font-size: 11px;
}
.app__doc {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 8px 10px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
}
.app__doc svg { width: 16px; height: 16px; color: var(--green); }

.chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 10px;
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 18px 40px -12px rgba(10, 10, 10, .3), 0 0 0 1px rgba(10, 10, 10, .06);
  font-family: var(--app-font);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(12px) scale(.96);
  transition: opacity .5s ease, transform .5s cubic-bezier(.2, .8, .2, 1);
}
.chip small { display: block; color: #8a8a90; font-size: 10px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; }
.chip b {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-size: 13px;
}
.chip--1 { top: 4%; left: -6%; transition-delay: .6s; }
.chip--2 { top: 30%; right: -7%; transition-delay: 1.3s; }
.chip--3 { bottom: -1%; left: 14%; transition-delay: 2s; }
.chip--3 b { background: var(--green); }
.hero__visual.is-live .chip { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .hero__visual.is-live .chip--3 { animation: chipPulse 2.4s 2.8s ease-in-out infinite; }
}
@keyframes chipPulse {
  0%, 100% { box-shadow: 0 18px 40px -12px rgba(10, 10, 10, .3), 0 0 0 1px rgba(10, 10, 10, .06); }
  50% { box-shadow: 0 18px 40px -12px rgba(10, 10, 10, .3), 0 0 0 6px rgba(22, 163, 74, .18); }
}

/* ---------- 03: Mail-Demo ---------- */
.maildemo { position: relative; padding-bottom: 46px; }
.win {
  border-radius: 14px;
  overflow: hidden;
  background: var(--white);
  color: var(--black);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 255, 255, .06);
}
.win__bar em { margin-left: 10px; color: #8a8a90; font-size: 11px; font-style: normal; }
.win .mail { border-radius: 0; box-shadow: none; }
.maildemo::before {
  content: "";
  position: absolute;
  inset: 10% -6% 0;
  background: radial-gradient(closest-side, rgba(255, 54, 0, .28), transparent);
  filter: blur(20px);
  z-index: 0;
}
.maildemo > .win { position: relative; z-index: 1; }

.mail__deadline { position: relative; }
.mail__deadline-done { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .mail__deadline { animation: deadlinePulse 1.8s ease-in-out infinite; }
}
@keyframes deadlinePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 54, 0, .35); }
  50% { box-shadow: 0 0 0 6px rgba(255, 54, 0, 0); }
}
.maildemo.is-solved .mail__deadline { animation: none; border-color: var(--green); color: var(--green); background: var(--green-soft); }
.maildemo.is-solved .mail__deadline-open { display: none; }
.maildemo.is-solved .mail__deadline-done { display: inline; }

.reply {
  position: absolute !important;
  left: 30%;
  right: -5%;
  bottom: 0;
  z-index: 2 !important;
  opacity: 0;
  pointer-events: none;
  transform: translateY(30px) scale(.97);
  transition: opacity .45s ease, transform .5s cubic-bezier(.2, .8, .2, 1);
}
.maildemo.is-replying .reply { opacity: 1; transform: none; pointer-events: auto; }
.reply__body { padding: 16px 20px 18px; font-size: 13px; line-height: 1.5; }
.reply__meta { color: var(--grey); }
.reply__meta strong { color: var(--black); }
.reply__text { min-height: 60px; margin-top: 10px; font-size: 14px; }
.reply__text:empty::after, .maildemo.is-replying:not(.is-solved) .reply__text::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 2px;
  vertical-align: -2px;
  background: var(--accent);
  animation: caret 1s steps(1) infinite;
}
@keyframes caret { 50% { opacity: 0; } }
.attach {
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .4s ease, transform .4s ease;
}
.maildemo.is-solved .attach { opacity: 1; transform: none; }
.attach__head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #f7f7f8;
  font-size: 12px;
  font-weight: 700;
}
.attach__head svg { width: 14px; height: 14px; color: var(--accent); }
.attach__chain { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 12px; list-style: none; counter-reset: c; }
.attach__chain li { position: relative; padding-top: 22px; text-align: center; font-size: 12px; }
.attach__chain li::before {
  counter-increment: c;
  content: counter(c);
  position: absolute;
  top: 0;
  left: 50%;
  translate: -50% 0;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-size: 10px;
  z-index: 1;
}
.attach__chain li:last-child::before { content: "✓"; background: var(--green); }
.attach__chain li + li::after {
  content: "";
  position: absolute;
  top: 9px;
  right: 50%;
  width: 100%;
  border-top: 2px dashed var(--accent);
}
.attach__chain b { display: block; }
.attach__chain small { color: var(--grey); font-size: 11px; }

.maildemo__timer { color: var(--grey-light); font-size: 14px; font-variant-numeric: tabular-nums; }
.proof { align-items: start; }
.proof__copy { padding-top: 34px; }

/* ---------- 05: Vorher/Nachher ---------- */
.ba {
  --pos: 50%;
  position: relative;
  height: 440px;
  margin-top: 44px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid #2a2a2a;
  user-select: none;
  touch-action: pan-y;
}
.ba__layer { position: absolute; inset: 0; }
.ba__before {
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, .04), transparent 40%),
    repeating-linear-gradient(0deg, #151515 0 31px, #1b1b1b 31px 32px);
}
.ba__after {
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 70% 50%, rgba(255, 54, 0, .22), transparent 55%), #0e0e0e;
  clip-path: inset(0 0 0 var(--pos));
}
.ba__tag {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  color: var(--white);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.ba__tag--after { left: auto; right: 18px; background: var(--accent); }

.scrap {
  position: absolute;
  left: var(--x);
  top: var(--y);
  max-width: 260px;
  transform: rotate(var(--r));
  color: #222;
  font-size: 12px;
  line-height: 1.45;
  box-shadow: 0 12px 26px rgba(0, 0, 0, .45);
}
.scrap small { display: block; color: #888; font-size: 10px; }
.scrap b { display: block; margin: 2px 0 4px; font-size: 12px; }
.scrap--mail { padding: 12px 14px; border-radius: 8px; background: #fff; }
.scrap--pdf { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 8px; background: #fff; font-weight: 700; }
.scrap--pdf i { padding: 3px 6px; border-radius: 4px; background: #e11d48; color: #fff; font-size: 10px; font-style: normal; }
.scrap--invoice { display: grid; gap: 4px; width: 230px; padding: 14px; background: #f4f1ea; }
.scrap--invoice mark { background: #fde047; padding: 0 3px; font-weight: 700; }
.scrap--note {
  display: grid;
  place-items: center;
  width: 130px;
  height: 110px;
  padding: 12px;
  background: #fde047;
  font-size: 17px;
  font-weight: 700;
  text-align: center;
  font-family: "Marker Felt", "Comic Sans MS", var(--font);
}
.scrap--chat { padding: 10px 14px; border-radius: 16px 16px 16px 4px; background: #3a3a3c; color: #fff; }
.scrap--q {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 30px;
  font-weight: 700;
}

.lic {
  width: min(420px, 82%);
  margin-left: 30%;
  padding: 20px;
  border-radius: 16px;
  background: var(--white);
  color: #111;
  font-family: var(--app-font);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .55);
}
.lic__head { display: flex; justify-content: space-between; gap: 12px; }
.lic__head b { display: block; font-size: 14px; }
.lic__head small { color: #8a8a90; font-family: ui-monospace, Menlo, monospace; font-size: 10px; }
.lic__badge { align-self: start; padding: 2px 10px; border-radius: 999px; background: #e0ecff; color: #2563eb; font-size: 11px; font-weight: 600; }
.lic__terms { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 14px; }
.lic__terms div { padding: 8px 10px; border-radius: 8px; background: #f5f5f7; font-size: 12px; font-weight: 600; }
.lic__terms small { display: block; color: #8a8a90; font-size: 10px; font-weight: 400; }
.lic__chain { display: flex; align-items: center; gap: 0; margin: 16px 0 0; padding: 0; list-style: none; font-size: 11px; font-weight: 600; }
.lic__chain li { flex: 1; padding: 6px 4px; border: 1px solid var(--accent); border-radius: 999px; color: var(--accent); text-align: center; }
.lic__chain li + li { margin-left: 18px; position: relative; }
.lic__chain li + li::before { content: ""; position: absolute; left: -19px; top: 50%; width: 18px; border-top: 2px dashed var(--accent); }
.lic__foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px; margin-top: 14px; padding-top: 12px; border-top: 1px solid #eee; font-size: 11px; color: #6b6b72; }
.lic__foot b { color: var(--green); }
.lic__foot { display: grid; grid-template-columns: 1fr auto; }
.lic__foot span:first-child { color: var(--green); font-weight: 600; }
.lic__foot b { grid-row: 1 / span 2; grid-column: 2; align-self: center; }
.attach__extra { padding: 0 12px 10px; color: var(--grey); font-size: 11px; }

.ba__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 2px;
  margin-left: -1px;
  background: var(--accent);
  pointer-events: none;
}
.ba__handle span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 46px;
  height: 46px;
  translate: -50% -50%;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(255, 54, 0, .25);
}
.ba__handle span::before, .ba__handle span::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  border: solid #fff;
  border-width: 0 0 2px 2px;
}
.ba__handle span::before { left: 12px; transform: translateY(-50%) rotate(45deg); }
.ba__handle span::after { right: 12px; transform: translateY(-50%) rotate(-135deg); }
.ba__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}
.ba:has(.ba__range:focus-visible) .ba__handle span { outline: 3px solid var(--white); outline-offset: 3px; }
@keyframes baHint {
  0%, 100% { --pos: 50%; }
  35% { --pos: 38%; }
  70% { --pos: 62%; }
}
@property --pos { syntax: "<percentage>"; inherits: true; initial-value: 50%; }
.ba.is-hinting { animation: baHint 1.6s .3s ease-in-out 1; }
.ba + .compare { margin-top: 40px; }

/* ---------- 06: Streitfall, Rechner, Plan ---------- */
.risk { max-width: 760px; margin-top: 22px; color: var(--grey); font-size: 18px; line-height: 1.6; }
.risk strong { color: var(--black); font-weight: 700; }

.calc {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  margin-top: 72px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.calc__title { margin-bottom: 26px; font-size: 26px; font-weight: 400; line-height: 1.25; }
.calc__field { display: block; margin-bottom: 30px; }
.calc__field:last-child { margin-bottom: 0; }
.calc__field > span { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; font-weight: 700; }
.calc__field output { color: var(--accent); font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc__field small { display: block; margin-top: 4px; color: var(--grey); font-size: 12px; line-height: 1.45; }
.calc input[type="range"] {
  --fill: 50%;
  width: 100%;
  height: 4px;
  margin: 14px 0 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent) var(--fill), #e6e6e6 var(--fill));
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}
.calc input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border: 3px solid var(--white);
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
}
.calc input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: 3px solid var(--white);
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
}
.calc__result {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 64px;
  border-left: 1px solid var(--line);
}
.calc__result > small { color: var(--grey); font-size: 12px; letter-spacing: 3px; text-transform: uppercase; }
.calc__big { margin-top: 10px; font-size: clamp(56px, 7vw, 88px); line-height: 1; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.calc__eur { margin-top: 10px; color: var(--accent); font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.calc__bars { display: grid; gap: 12px; margin-top: 30px; }
.calc__bar { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 12px; font-size: 13px; }
.calc__bar span { color: var(--grey); }
.calc__bar i { display: block; height: 8px; border-radius: 999px; background: var(--black); transition: width .35s ease; }
.calc__bar--aethos i { background: var(--accent); }
.calc__bar b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc__note { margin-top: 16px; color: var(--grey); font-size: 12px; }

.plan {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  margin-top: 72px;
  padding: 48px;
  border-radius: var(--radius);
  background: var(--black);
  color: var(--white);
}
.plan .eyebrow { font-size: 11px; letter-spacing: 3px; }
.plan__price { margin: 8px 0 4px; font-size: clamp(40px, 5vw, 56px); line-height: 1.05; font-weight: 700; }
.plan__note { color: var(--grey-light); font-size: 13px; }
.plan__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.plan__features { margin: 0; align-content: center; }
.plan__features li { color: var(--white); }

/* ---------- Mobile Sticky-CTA ---------- */
.mcta { display: none; }
@media (max-width: 760px) {
  .mcta {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, .08);
    transform: translateY(110%);
    transition: transform .3s ease;
  }
  .mcta.is-visible { transform: none; }
  .mcta .btn { min-height: 50px; }
}

/* ---------- Responsive (interaktive Elemente) ---------- */
@media (max-width: 1000px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { width: 100%; max-width: 600px; margin: 0 auto; }
  .reply { position: relative !important; left: auto; right: auto; display: none; margin: 12px 0 0 8%; }
  .maildemo.is-replying .reply { display: block; animation: replyIn .5s cubic-bezier(.2, .8, .2, 1); }
  .maildemo { max-width: 640px; padding-bottom: 0; }
  .proof__copy { max-width: 640px; padding-top: 0; }
  .calc { gap: 40px; }
  .calc__result { padding-left: 40px; }
  .plan { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 760px) {
  .hero__visual { padding: 20px 4px 30px; }
  .app { transform: none; }
  .hero__visual:hover .app { transform: none; }
  .app__body { padding: 14px; }
  .app__days strong { font-size: 32px; }
  .hero__visual { display: grid; gap: 10px; }
  .app { margin-bottom: 8px; }
  .chip { position: static; font-size: 13px; }
  .chip { position: relative; inset: auto; margin: 0; }
  .chip + .chip::before {
    content: "";
    position: absolute;
    left: 23px;
    top: -11px;
    height: 12px;
    border-left: 2px dashed var(--accent);
  }
  .ba { height: 520px; }
  .scrap { max-width: 190px; font-size: 11px; }
  .scrap--note { width: 100px; height: 86px; font-size: 14px; }
  .scrap--invoice { width: 180px; }
  .lic { width: 88%; margin-left: 6%; padding: 14px; }
  .lic__chain { font-size: 10px; }
  .plan { padding: 32px 22px; }
  .plan__ctas .btn { width: 100%; }
}

@keyframes replyIn { from { opacity: 0; transform: translateY(30px) scale(.97); } }

/* =========================================================
   Feinschliff Tablet & Mobile
   ========================================================= */

/* Nie seitlich scrollen, egal was absolut positioniert ist */
html, body { overflow-x: clip; }

/* Header deckend, damit das Logo keinen hellen Kasten zeigt */
.header { background: var(--white); backdrop-filter: none; -webkit-backdrop-filter: none; }

/* Schritte in 07: auch zweizeilig sauber gerundet */
.steps li { border-radius: 22px; }

/* Hero-Karte rechts nicht über den Rand schieben */
@media (min-width: 761px) and (max-width: 1200px) {
  .chip--2 { right: -2%; }
}

/* Tablet: Karten in 02 quer statt gequetscht, Rechner bleibt zweispaltig */
@media (min-width: 761px) and (max-width: 1000px) {
  .grid--3 { grid-template-columns: 1fr; gap: 16px; }
  .grid--3 .card {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 0 32px;
    align-items: start;
    padding: 28px 30px;
  }
  .grid--3 .card__icon { grid-column: 1; grid-row: 1; }
  .grid--3 .card h3 { grid-column: 1; grid-row: 2; margin-bottom: 0; }
  .grid--3 .card p { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  .plan__features { columns: 1; }
}

@media (max-width: 760px) {
  /* Eyebrows ohne Umbruch-Chaos */
  .eyebrow { font-size: 11px; letter-spacing: 2.5px; }

  /* Alle Abschnitts-CTAs einheitlich voll breit */
  .proof__copy .btn { width: 100%; }
  .maildemo__timer { text-align: center; }

  /* Rechner: einspaltig */
  .calc { grid-template-columns: 1fr; gap: 32px; }
  .calc__result { padding: 32px 0 0; border-left: 0; border-top: 1px solid var(--line); }

  /* Vorher/Nachher: Lizenzkarte luftiger und ohne Umbrüche */
  .lic__head b { font-size: 13px; }
  .lic__terms div { font-size: 11px; padding: 7px 8px; }
  .lic__chain li { min-width: 0; padding: 5px 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .lic__chain li + li { margin-left: 10px; }
  .lic__chain li + li::before { left: -11px; width: 10px; }
  .lic__foot { font-size: 10px; }

  /* Final-CTA etwas kompakter */
  .final { padding: 90px 0; }
}

/* ---------- Vertrauens-Zeile im Hero ---------- */
.trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 26px 0 0; padding: 0; list-style: none; color: var(--grey); font-size: 13px; }
.trust li { display: inline-flex; align-items: center; gap: 7px; }
.trust li::before {
  content: "";
  width: 14px;
  height: 14px;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- Plan: Testphase und weitere Pläne ---------- */
.plan__trial {
  display: inline-block;
  margin-top: 18px;
  padding: 4px 14px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: var(--accent);
  font-size: 13px;
}
.plan__others { margin-top: 22px; color: var(--grey-light); font-size: 13px; }
.plan__others a { color: var(--white); white-space: nowrap; }
.plan__others a:hover { color: var(--accent); }

@media (max-width: 760px) {
  .trust { gap: 8px 16px; font-size: 12px; }
}

/* ---------- 03: Fußzeile im Mail-Fenster ---------- */
.win .mail { padding-bottom: 18px; }
.mail__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 24px;
  border-top: 1px solid var(--line);
  background: #fafafa;
}
.mail__footer .mail__deadline { margin: 0; }
.mail__footer .btn { min-height: 42px; padding: 0 22px; }
.maildemo.is-replying .mail__footer .btn { visibility: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .mail__footer .btn { animation: replyCta 2.4s ease-in-out infinite; }
}
@keyframes replyCta {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 54, 0, .35); }
  50% { box-shadow: 0 0 0 7px rgba(255, 54, 0, 0); }
}

.maildemo__after {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 24px;
  margin-top: 18px;
  font-size: 14px;
  visibility: hidden;
}
.maildemo.is-replying ~ .maildemo__after { visibility: visible; }
.maildemo__again {
  display: none;
  padding: 0;
  border: 0;
  background: none;
  color: var(--grey-light);
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.maildemo__again:hover { color: var(--accent); }
.maildemo.is-solved ~ .maildemo__after .maildemo__again { display: inline; }
.maildemo.is-solved ~ .maildemo__after .maildemo__timer { color: #4ade80; font-weight: 700; }

@media (max-width: 760px) {
  .mail__footer { padding: 12px 16px; flex-wrap: wrap; }
  .mail__footer .btn { flex: 1 1 auto; }
  .maildemo.is-replying .mail__footer .btn { display: none; }
  .maildemo__after { justify-content: center; }
}

/* ---------- Sprachumschalter ---------- */
.header__nav { align-items: center; }
.lang {
  display: inline-grid;
  place-items: center;
  min-width: 40px;
  height: 40px;
  margin-right: 4px;
  border-radius: 999px;
  color: var(--grey);
  font-size: 12px;
  letter-spacing: 1.5px;
  text-decoration: none;
  transition: color .2s, background .2s;
}
.lang:hover { color: var(--accent); background: #f4f4f4; }
