/* Kinetap – öffentliche Seite. Markenfarben aus docs/marke, Schriften selbst ausgeliefert. */
@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("fonts/atkinson-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("fonts/atkinson-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

/* Layout: dunkle Bühne oben (Nacht), helle Sektionen darunter, links ausgerichtet, eine Spalte
   Text neben einem Gegenstück. Die Seite bleibt bewusst in einem Look (kein Dunkelmodus-Wechsel). */
:root {
  --night: #1b2340;
  --night-deep: #131a31;
  --night-line: #2f3a5c;
  --band: #f2c230;
  --band-deep: #e3a912;
  --band-ink: #2a2306;
  --sky: #eef1f6;
  --paper: #ffffff;
  --ink: #1b2340;
  --muted: #55607a;
  --muted-on-night: #a9b2c8;
  --line: #d6dbe6;
  --grass: #2e7d5b;
  --display: "Archivo", "Arial Narrow", sans-serif;
  --body: "Atkinson Hyperlegible", "Segoe UI", system-ui, sans-serif;
  --step--1: 0.9375rem;
  --step-0: 1.0625rem;
  --step-1: 1.3125rem;
  --step-2: 1.75rem;
  --step-3: 2.375rem;
  --step-4: clamp(2.5rem, 6vw, 4.25rem);
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--sky);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.6;
}
img, svg { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--band); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 1160px; margin: 0 auto; padding-inline: var(--gutter); }

h1, h2, h3 { font-family: var(--display); line-height: 1.08; text-wrap: balance; margin: 0; }
h1 { font-size: var(--step-4); font-weight: 800; font-stretch: 92%; letter-spacing: -0.015em; }
h2 { font-size: var(--step-3); font-weight: 750; font-stretch: 95%; letter-spacing: -0.01em; }
h3 { font-size: var(--step-1); font-weight: 700; }
p { margin: 0; }

/* Navigation */
.nav { background: var(--night); color: var(--sky); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; border-bottom: 1px solid var(--night-line); }
.nav .wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.nav .logo img { height: 30px; width: auto; display: block; }
.nav ul { display: flex; gap: 22px; list-style: none; margin: 0 0 0 auto; padding: 0; font-size: var(--step--1); }
.nav ul a { text-decoration: none; color: var(--muted-on-night); }
.nav ul a:hover { color: var(--sky); }
@media (max-width: 920px) { .nav ul { display: none; } .nav .button { margin-left: auto; } }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--body); font-weight: 700; font-size: var(--step-0);
  padding: 12px 20px; border-radius: 12px; text-decoration: none; border: 2px solid transparent;
  background: var(--band); color: var(--band-ink); white-space: nowrap;
}
.button:hover { background: #f6cf55; }
.button.ghost { background: transparent; color: var(--sky); border-color: var(--night-line); }
.button.ghost:hover { border-color: var(--muted-on-night); }
.button.small { padding: 8px 14px; font-size: var(--step--1); }

/* Bühne */
.hero { background: var(--night); color: var(--sky); padding-block: clamp(48px, 8vw, 96px) clamp(56px, 9vw, 112px); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero .lead { margin-top: 22px; font-size: var(--step-1); line-height: 1.5; color: var(--muted-on-night); max-width: 34ch; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero .fine { margin-top: 18px; font-size: var(--step--1); color: var(--muted-on-night); }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); } }

/* Kassenansicht als Gegenstück zur Überschrift */
.till { position: relative; justify-self: center; width: min(320px, 100%); }
.till .device {
  background: var(--night-deep); border: 1px solid var(--night-line); border-radius: 34px; padding: 14px;
  box-shadow: 0 30px 60px -30px rgb(0 0 0 / 0.6);
}
.till .screen { background: var(--sky); color: var(--ink); border-radius: 24px; padding: 22px 20px 24px; display: grid; gap: 14px; }
.till .stand { display: flex; justify-content: space-between; font-size: var(--step--1); color: var(--muted); }
.till .status { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--grass); }
.till .status svg { flex: none; }
.till .amount { font-family: var(--display); font-weight: 800; font-stretch: 85%; font-size: 3.25rem; line-height: 1; font-variant-numeric: tabular-nums; }
.till dl { margin: 0; display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; font-size: var(--step--1); border-top: 1px solid var(--line); padding-top: 12px; }
.till dt { color: var(--muted); }
.till dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }

/* Sektionen */
section.block { padding-block: clamp(56px, 8vw, 104px); }
section.block.paper { background: var(--paper); }
.section-head { display: grid; gap: 14px; max-width: 60ch; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head p { color: var(--muted); font-size: var(--step-1); line-height: 1.5; }

/* Ablauf: echte Reihenfolge, daher nummeriert */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; counter-reset: step; }
.steps li { counter-increment: step; padding: 0 20px 0 0; display: grid; gap: 10px; align-content: start; position: relative; }
.steps li::before {
  content: counter(step); font-family: var(--display); font-weight: 800; font-size: var(--step-2);
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: var(--night); color: var(--band);
}
.steps li::after { content: ""; position: absolute; top: 26px; left: 60px; right: 8px; height: 2px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps p { color: var(--muted); font-size: var(--step--1); }
@media (max-width: 900px) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .steps li { grid-template-columns: 52px minmax(0, 1fr); column-gap: 16px; padding: 0; }
  .steps li::before { grid-row: span 2; }
  .steps li::after { display: none; }
}

/* Drei Blickwinkel */
.audiences { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 48px); }
.audience { display: grid; gap: 14px; align-content: start; border-top: 4px solid var(--night); padding-top: 22px; }
.audience.guests { border-top-color: var(--band-deep); }
.audience .who { font-size: var(--step--1); color: var(--muted); font-weight: 700; }
.audience ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.audience li { padding-left: 26px; position: relative; }
.audience li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 14px; height: 6px; border-radius: 3px; background: var(--band-deep); }
@media (max-width: 900px) { .audiences { grid-template-columns: minmax(0, 1fr); } }

/* Sicherheit: eine Aussage groß, Belege daneben */
.security { background: var(--night); color: var(--sky); }
.security .wrap { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); }
.security .claim { font-family: var(--display); font-weight: 800; font-stretch: 90%; font-size: var(--step-3); line-height: 1.1; text-wrap: balance; }
.security .claim + p { margin-top: 18px; color: var(--muted-on-night); font-size: var(--step-1); line-height: 1.5; }
.security dl { margin: 0; display: grid; gap: 26px; }
.security dt { font-family: var(--display); font-weight: 700; font-size: var(--step-1); }
.security dd { margin: 6px 0 0; color: var(--muted-on-night); }
.levels { margin-top: 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.level { border: 1px solid var(--night-line); border-radius: 14px; padding: 16px 18px; display: grid; gap: 6px; align-content: start; }
.level b { font-family: var(--display); font-size: var(--step-0); }
.level span { font-size: var(--step--1); color: var(--muted-on-night); }
.level .pill { justify-self: start; font-size: 0.8125rem; font-weight: 700; padding: 2px 10px; border: 1px solid var(--band); border-radius: 999px; background: var(--band); color: var(--band-ink); }
.level .pill.basic { background: transparent; color: var(--sky); border: 1px solid var(--muted-on-night); }
@media (max-width: 900px) { .security .wrap { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .levels { grid-template-columns: minmax(0, 1fr); } }

/* Zweispaltige Themen */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 64px); }
.topic { display: grid; gap: 14px; align-content: start; }
.topic p { color: var(--muted); }
.topic ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.modes { display: grid; gap: 10px; margin-top: 6px; }
.mode { display: flex; gap: 12px; align-items: baseline; padding: 12px 16px; border-radius: 12px; background: var(--sky); }
.mode b { flex: none; min-width: 12ch; }
.mode span { color: var(--muted); font-size: var(--step--1); min-width: 0; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } .mode { flex-direction: column; gap: 2px; } }

/* Fragen */
.faq { display: grid; gap: 0; max-width: 820px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-family: var(--display); font-weight: 700; font-size: var(--step-1); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; color: var(--band-deep); font-weight: 600; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 68ch; }

/* Kontakt */
.contact { background: var(--band); color: var(--band-ink); }
.contact .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 32px; align-items: center; }
.contact p { margin-top: 14px; font-size: var(--step-1); line-height: 1.5; max-width: 46ch; }
.contact .card { background: var(--night); color: var(--sky); border-radius: 18px; padding: 26px; display: grid; gap: 10px; }
.contact .card .label { color: var(--muted-on-night); font-size: var(--step--1); }
.contact .card .mail { font-family: var(--display); font-weight: 700; font-size: var(--step-1); overflow-wrap: anywhere; }
.placeholder { background: rgb(242 194 48 / 0.18); outline: 1px dashed var(--band-deep); border-radius: 4px; padding: 0 4px; }
.contact .placeholder, .security .placeholder { background: rgb(255 255 255 / 0.08); outline-color: var(--band); }
@media (max-width: 860px) { .contact .wrap { grid-template-columns: minmax(0, 1fr); } }

/* Fuß */
footer { background: var(--night-deep); color: var(--muted-on-night); padding-block: 40px; font-size: var(--step--1); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; }
footer img { height: 24px; width: auto; display: block; }
footer nav { display: flex; gap: 20px; margin-left: auto; }
footer a { text-decoration: none; }
footer a:hover { color: var(--sky); }

/* Rechtstexte */
.legal { background: var(--paper); padding-block: 56px 88px; }
.legal .wrap { max-width: 760px; display: grid; gap: 18px; }
.legal h1 { font-size: var(--step-3); }
.legal h2 { font-size: var(--step-1); margin-top: 18px; }
.legal p, .legal li { color: var(--ink); }
.legal .note { border-left: 4px solid var(--band-deep); background: var(--sky); padding: 14px 18px; border-radius: 0 10px 10px 0; }
