@font-face {
  font-family: "Manrope";
  src: url("fonts/manrope.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  src: url("fonts/manrope-ext.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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: "Manrope";
  src: url("fonts/manrope-greek.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}

:root {
  --ink: #0A0A0A;
  --lime: #D4FF39;
  --paper: #F3F4EF;
  --surface: #FFFFFF;
  --stone: #5E5F59;
  --line: #D9DBD2;
  --focus: #0A0A0A;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #EDEEE8;
    --paper: #121311;
    --surface: #1B1C1A;
    --stone: #A3A49D;
    --line: #2E302B;
    --focus: #D4FF39;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  font-feature-settings: "ss01";
}
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(1120px, 100% - 3rem); margin-inline: auto; }

/* Kopf */
.top { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem 0; }
.logo { font-weight: 700; font-size: 1.375rem; letter-spacing: -0.02em; text-decoration: none; }
.top nav { display: flex; gap: 1.5rem; align-items: center; font-size: 0.9375rem; }
.top nav a { text-decoration: none; }
.top nav a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Schaltflächen */
.btn {
  display: inline-block; padding: 0.8rem 1.35rem; border-radius: 999px;
  font-weight: 700; font-size: 1rem; text-decoration: none; line-height: 1.2;
  border: 2px solid var(--ink);
}
.btn-primary { background: var(--lime); color: #0A0A0A; border-color: #0A0A0A; }
.btn-primary:hover { background: #C6F51F; }
.btn-quiet { background: transparent; }
.btn-quiet:hover { background: var(--surface); }

/* Einstieg */
.hero { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3rem; align-items: center; padding: 3.5rem 0 5rem; }
.hero h1 {
  font-size: clamp(2.4rem, 5.4vw, 4.4rem); line-height: 1.02; letter-spacing: -0.035em;
  font-weight: 800; margin: 0 0 1.5rem; max-width: 16ch;
}
.hero p.lead { font-size: 1.25rem; line-height: 1.5; color: var(--stone); max-width: 34ch; margin: 0 0 2rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Aufgabenkarte im Einstieg */
.ticket {
  background: var(--surface); border: 2px solid var(--ink); border-radius: 22px;
  padding: 1.5rem; max-width: 380px; justify-self: end; width: 100%;
  box-shadow: 10px 10px 0 var(--lime);
}
.ticket-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.25rem; }
.station { font-weight: 700; font-size: 0.9375rem; }
.langs { display: flex; gap: 0.25rem; }
.langs button {
  font: inherit; font-size: 0.8125rem; font-weight: 700; border: 1.5px solid var(--line);
  background: transparent; color: var(--stone); border-radius: 999px; padding: 0.2rem 0.6rem; cursor: pointer;
}
.langs button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.task { font-size: 1.75rem; line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; min-height: 2.5em; margin: 0 0 1.25rem; transition: opacity 0.25s ease; }
.task.fade { opacity: 0; }
.ticket-foot { display: flex; justify-content: space-between; align-items: center; border-top: 1.5px solid var(--line); padding-top: 1rem; font-size: 0.875rem; color: var(--stone); }
.done-btn { font: inherit; font-weight: 700; font-size: 0.9375rem; background: var(--lime); color: #0A0A0A; border: 2px solid #0A0A0A; border-radius: 999px; padding: 0.45rem 1rem; }

/* Abschnitte */
section { padding: 4.5rem 0; border-top: 1.5px solid var(--line); }
section h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); line-height: 1.1; letter-spacing: -0.03em; font-weight: 800; margin: 0 0 1rem; max-width: 22ch; }
section p.intro { color: var(--stone); max-width: 60ch; margin: 0 0 2.5rem; }

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 2px solid var(--ink); border-radius: 22px; overflow: hidden; }
.compare > div { padding: 2rem; }
.compare > div + div { border-left: 2px solid var(--ink); background: var(--lime); color: #0A0A0A; }
.compare h3 { margin: 0 0 0.25rem; font-size: 1.25rem; letter-spacing: -0.01em; }
.compare .role { margin: 0 0 1.25rem; font-weight: 600; opacity: 0.75; }
.compare ul { margin: 0; padding-left: 1.1rem; }
.compare li { margin-bottom: 0.4rem; }

.modules { margin: 0; display: grid; grid-template-columns: 14rem 1fr; }
.modules dt, .modules dd { padding: 1.25rem 0; border-top: 1.5px solid var(--line); margin: 0; }
.modules dt { font-weight: 800; font-size: 1.125rem; letter-spacing: -0.01em; }
.modules dd { color: var(--stone); max-width: 62ch; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; counter-reset: s; }
.steps li { counter-increment: s; }
.steps li::before {
  content: counter(s); display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%;
  border: 2px solid var(--ink); font-weight: 800; margin-bottom: 1rem;
}
.steps h3 { margin: 0 0 0.4rem; font-size: 1.125rem; }
.steps p { margin: 0; color: var(--stone); }

.cta { background: var(--ink); color: var(--paper); border-radius: 28px; padding: 3rem; display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.cta h2 { margin: 0 0 0.5rem; }
.cta p { margin: 0; opacity: 0.8; max-width: 48ch; }
.cta-section { border-top: 0; padding-top: 1rem; }

/* Fuss */
footer { padding: 2.5rem 0 3rem; font-size: 0.9375rem; color: var(--stone); }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
footer nav { display: flex; gap: 1.5rem; }

/* Rechtstexte */
.legal { padding: 2rem 0 4rem; max-width: 70ch; }
.legal h1 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.03em; line-height: 1.1; margin: 1rem 0 2rem; }
.legal h2 { font-size: 1.25rem; margin: 2.25rem 0 0.5rem; letter-spacing: -0.01em; }
.legal p, .legal li { color: var(--ink); }
.legal .muted { color: var(--stone); }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 1.5rem; }
  .ticket { justify-self: start; }
  .compare { grid-template-columns: 1fr; }
  .compare > div + div { border-left: 0; border-top: 2px solid #0A0A0A; }
  .modules { grid-template-columns: 1fr; }
  .modules dd { border-top: 0; padding-top: 0; }
  .steps { grid-template-columns: 1fr; }
  .cta { padding: 2rem; }
  .top nav .hide-sm { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .task { transition: none; }
}

/* Einblick: Ansichten in Handyrahmen */
#einblick .intro { margin-bottom: 2rem; }
.shots {
  display: flex; gap: 1.75rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 0.5rem max(1.5rem, calc(50vw - 560px)) 1.5rem;
  scroll-padding-inline: max(1.5rem, calc(50vw - 560px));
  scrollbar-width: thin;
}
.shots:focus-visible { outline: 3px solid var(--focus); outline-offset: -3px; }
.shot { margin: 0; flex: 0 0 auto; width: 250px; scroll-snap-align: start; }
.phone {
  border: 2px solid var(--ink); border-radius: 30px; overflow: hidden; background: #FAF9F5;
  aspect-ratio: 611 / 895; box-shadow: 8px 8px 0 var(--lime);
}
.phone img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.shot figcaption { margin-top: 1.1rem; font-size: 0.9375rem; color: var(--stone); line-height: 1.45; }
.shot figcaption strong { display: block; color: var(--ink); font-size: 1rem; }
.shot .note { display: block; margin-top: 0.35rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--stone); }

/* Nachgestellte Ansichten im Stil der App */
.mock { color: #0A0A0A; padding: 18px 14px; font-size: 12px; }
.m-head { display: flex; flex-direction: column; margin-bottom: 10px; }
.m-kicker { font-size: 8.5px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: #5E5F59; }
.m-title { font-size: 19px; font-weight: 800; letter-spacing: -0.02em; }
.m-bar { height: 5px; border-radius: 3px; background: #E7E7E1; overflow: hidden; }
.m-bar span { display: block; height: 100%; background: #0A0A0A; }
.m-meta { margin: 6px 0 10px; font-size: 10.5px; color: #5E5F59; }
.m-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.m-list li {
  display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 8px;
  background: #FFFFFF; border: 1px solid #E4E4DE; border-radius: 12px; padding: 8px 9px;
}
.m-list b { font-size: 13px; }
.m-list span { font-weight: 600; font-size: 11.5px; line-height: 1.25; }
.m-list small { display: block; font-weight: 500; font-size: 10px; color: #5E5F59; }
.st { font-style: normal; font-size: 9px; font-weight: 700; padding: 3px 7px; border-radius: 999px; border: 1px solid #D9DBD2; white-space: nowrap; }
.st.done { background: #D4FF39; border-color: #0A0A0A; }
.st.work { background: #0A0A0A; color: #FFFFFF; border-color: #0A0A0A; }
.st.warn { background: #FFE2D6; border-color: #E2775A; }
.st.open { background: transparent; }
@media (max-width: 860px) { .shot { width: 220px; } }
