:root {
  --bg: #000;
  --panel: #141413;
  --ink: #DEDDD7;
  --muted: #A2A199;
  --signal: #FF4A2A;
  --line: rgba(241, 240, 235, .22);
  --gutter: clamp(20px, 5vw, 64px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; }
.cond { font-stretch: 66%; font-weight: 800; line-height: .9; letter-spacing: -.01em; margin: 0; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
section { padding: clamp(56px, 9vw, 112px) 0; }
p { margin: 0; }
.lede { font-size: clamp(19px, 2.2vw, 22px); max-width: 38ch; }
.btn {
  display: inline-block; background: var(--ink); color: #000; text-decoration: none;
  font-weight: 700; font-size: 20px; padding: 16px 28px;
}
.btn:hover { background: var(--signal); color: #000; }
.link { font-weight: 600; text-underline-offset: 5px; }

/* Kopfzeile */
header { padding: 22px 0; border-bottom: 1px solid var(--line); }
header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { font-stretch: 66%; font-weight: 900; font-size: 32px; line-height: 1; text-decoration: none; letter-spacing: -.01em; }
nav { display: flex; gap: 28px; align-items: center; }
nav a { text-underline-offset: 6px; font-weight: 500; white-space: nowrap; }
nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; font-weight: 700; }
nav a.btn { padding: 10px 18px; font-size: 17px; text-decoration: none; }
@media (max-width: 1000px) { nav { gap: 18px; font-size: 16px; } }
@media (max-width: 820px) {
  header .wrap { flex-wrap: wrap; row-gap: 14px; }
  nav { width: 100%; gap: 20px; font-size: 16px; overflow-x: auto; padding-bottom: 4px; }
  nav a.btn { margin-left: auto; }
}

/* Seitenkopf der Unterseiten */
.page-head { padding-top: clamp(48px, 8vw, 96px); padding-bottom: clamp(32px, 5vw, 56px); }
.page-head h1 { font-size: clamp(56px, 10vw, 128px); margin-bottom: 24px; }

/* Hero */
.hero { padding-top: clamp(48px, 8vw, 96px); }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero h1 { font-size: clamp(60px, 11.5vw, 150px); }
.hero .lede { margin: 28px 0 36px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
@media (max-width: 880px) { .hero .wrap { grid-template-columns: 1fr; } }

/* Bon-Zettel */
.slip { background: var(--panel); border: 2px solid var(--ink); display: flex; flex-direction: column; }
.slip-top { display: flex; justify-content: space-between; gap: 12px; padding: 16px; }
.slip-no { font-stretch: 66%; font-weight: 800; font-size: 112px; line-height: .85; }
.slip-time { color: var(--muted); font-size: 15px; margin-top: 10px; }
.slip ul { list-style: none; margin: 0; padding: 14px 16px; border-top: 2px dashed rgba(241,240,235,.5); font-size: 22px; line-height: 1.55; }
.slip ul b { font-weight: 800; margin-right: 8px; }
.slip-done { background: var(--ink); color: #000; text-align: center; font-weight: 700; font-size: 20px; padding: 14px; }
.face { width: 120px; height: 120px; border: 2px solid var(--ink); flex: none; position: relative; overflow: hidden; }
.face::before { content: ""; position: absolute; width: 44px; height: 44px; border-radius: 50%; background: #FDE68A; left: 38px; top: 24px; }
.face::after { content: ""; position: absolute; width: 84px; height: 70px; border-radius: 42px 42px 0 0; background: #FDE68A; left: 18px; top: 82px; }
.face.a { background: #7C3AED; } .face.b { background: #0EA5A4; } .face.c { background: #F59E0B; }
.hero .slip { transform: rotate(-2.5deg); max-width: 380px; justify-self: center; width: 100%; }

/* Listen mit Linien */
.facts { list-style: none; margin: 0; padding: 0; }
.facts li { padding: 22px 0; border-top: 1px solid var(--line); }
.facts li:first-child { border-top: 2px solid var(--ink); }
.facts li strong { display: block; font-size: 24px; line-height: 1.2; margin-bottom: 4px; }
.facts li span { color: var(--muted); }
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 96px); }
.split h2 { font-size: clamp(44px, 7vw, 88px); }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }

/* Ablauf */
.flow { background: var(--panel); }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 110px 1fr; gap: 24px; padding: 26px 0; border-top: 1px solid var(--line); align-items: start; }
.steps li:first-child { border-top: 2px solid var(--ink); }
.steps li::before { counter-increment: s; content: counter(s); font-stretch: 66%; font-weight: 800; font-size: 84px; line-height: .8; }
.steps h3 { margin: 6px 0 4px; font-size: 26px; line-height: 1.15; }
.steps p { max-width: 52ch; color: var(--muted); }
.steps .who { color: var(--signal); }
@media (max-width: 600px) { .steps li { grid-template-columns: 64px 1fr; gap: 14px; } .steps li::before { font-size: 56px; } }

/* Dashboard-Nachbauten */
.dash-block { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(28px, 5vw, 72px); align-items: start; margin-bottom: clamp(56px, 8vw, 96px); }
.dash-block:last-child { margin-bottom: 0; }
.dash-block.rev { grid-template-columns: .75fr 1.25fr; }
.dash-block.rev .mock { order: 2; }
.dash-block h2 { font-size: clamp(34px, 4.5vw, 48px); line-height: .95; margin-bottom: 14px; }
.dash-block p { color: var(--muted); max-width: 40ch; }
.mock { border: 1px solid var(--line); padding: 20px; background: #000; }
.mock-head { display: flex; justify-content: space-between; align-items: end; gap: 12px; border-bottom: 2px solid var(--ink); padding-bottom: 10px; margin-bottom: 18px; }
.mock-head .cond { font-size: 40px; }
.mock-head small { font-size: 15px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; }
.slips { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.slips .slip-no { font-size: 84px; }
.slips .face { width: 84px; height: 84px; }
.slips .face::before { width: 30px; height: 30px; left: 27px; top: 16px; }
.slips .face::after { width: 58px; height: 50px; border-radius: 29px 29px 0 0; left: 13px; top: 58px; }
.slips ul { font-size: 18px; }
.slips .slip-done { font-size: 17px; padding: 11px; }
@media (max-width: 560px) { .slips { grid-template-columns: 1fr; } }
.row { border: 2px solid var(--ink); background: var(--panel); padding: 12px; margin-bottom: 12px; }
.row.off { opacity: .55; }
.fields { display: grid; grid-template-columns: 1.2fr 1.3fr 80px; gap: 8px; }
.fields div { border: 2px solid var(--ink); background: var(--panel); padding: 7px 10px; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-ctl { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 16px; }
.row-ctl .chk { margin-right: auto; display: flex; align-items: center; gap: 8px; }
.box { width: 18px; height: 18px; border: 2px solid var(--ink); display: inline-block; position: relative; }
.box.on::after { content: ""; position: absolute; left: 3px; top: -1px; width: 5px; height: 10px; border: solid var(--ink); border-width: 0 2px 2px 0; transform: rotate(40deg); }
.sq { width: 34px; height: 34px; border: 2px solid var(--ink); display: grid; place-items: center; }
.save { background: var(--ink); color: #000; font-weight: 700; padding: 6px 14px; }
.del { color: var(--signal); text-decoration: underline; text-underline-offset: 4px; }
.add { border: 2px dashed var(--ink); text-align: center; font-weight: 700; padding: 12px; font-size: 17px; }
@media (max-width: 880px) { .dash-block, .dash-block.rev { grid-template-columns: 1fr; } .dash-block.rev .mock { order: 0; } .fields { grid-template-columns: 1fr 70px; } .fields div:nth-child(2) { display: none; } }

/* Leistungen + FAQ */
.split h2.sub { margin-bottom: 28px; }
.incl { list-style: none; margin: 0; padding: 0; }
.incl li { padding: 12px 0 12px 28px; border-top: 1px solid var(--line); position: relative; }
.incl li:first-child { border-top: 2px solid var(--ink); }
.incl li::before { content: ""; position: absolute; left: 4px; top: 21px; width: 11px; height: 11px; background: var(--signal); }
details { border-top: 1px solid var(--line); padding: 18px 0; }
details:first-of-type { border-top: 2px solid var(--ink); }
summary { cursor: pointer; font-weight: 700; font-size: 21px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 26px; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { color: var(--muted); margin-top: 10px; max-width: 54ch; }

/* Schluss */
.cta { border-top: 2px solid var(--ink); }
.cta h2 { font-size: clamp(52px, 9.5vw, 128px); margin-bottom: 28px; }
.cta .lede { margin-bottom: 32px; }
.next { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; border-top: 2px solid var(--ink); padding-top: 24px; margin-top: 56px; font-size: 22px; font-weight: 700; }
footer { padding: 28px 0 44px; color: var(--muted); font-size: 15px; border-top: 1px solid var(--line); }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---- Wasserzeichen im Einstieg ---- */
.hero { position: relative; overflow: hidden; }
.hero .wrap { position: relative; z-index: 1; }
.hero-mark {
  position: absolute; z-index: 0; pointer-events: none; user-select: none;
  right: -4vw; bottom: -6vw; font-stretch: 66%; font-weight: 900; line-height: .8;
  font-size: clamp(180px, 38vw, 520px); letter-spacing: -.02em; color: var(--ink); opacity: .06; white-space: nowrap;
}

/* ---- Nachbauten von Gäste-Seiten mit unterschiedlichem Design ---- */
.looks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
@media (max-width: 760px) { .looks { grid-template-columns: 1fr; } }
.look figcaption { margin-top: 12px; color: var(--muted); }
.look figcaption strong { display: block; color: var(--ink); font-size: 20px; }
.tm {
  position: relative; overflow: hidden; container-type: inline-size;
  background: var(--m-bg); color: var(--m-ink); font-family: var(--m-font), system-ui, sans-serif;
  border: 1px solid var(--line); min-height: 440px;
}
.tm-mark {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center;
  font-family: var(--m-head), system-ui, sans-serif; font-weight: var(--m-hw, 800); font-stretch: var(--m-hs, 100%);
  line-height: .8; font-size: 58cqw; color: var(--m-ink); opacity: .1; pointer-events: none; word-break: break-word; padding: 0 2%;
}
.tm-body { position: relative; z-index: 1; padding: 22px; }
.tm h3 { margin: 0; font-family: var(--m-head), system-ui, sans-serif; font-weight: var(--m-hw, 800); font-stretch: var(--m-hs, 100%); font-size: 46px; line-height: .95; }
.tm p { margin: 8px 0 16px; font-size: 15px; opacity: .85; }
.tm-tabs { display: flex; gap: 8px; margin-bottom: 14px; }
.tm-tabs span { border: 2px solid var(--m-ink); padding: 5px 12px; font-weight: 700; font-size: 15px; border-radius: var(--m-r); }
.tm-tabs span.on { background: var(--m-ink); color: var(--m-bg); }
.tm ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.tm li { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-top: 1px solid color-mix(in srgb, var(--m-ink) 25%, transparent); }
.tm li:first-child { border-top: 2px solid var(--m-ink); }
.tm.cards ul { gap: 10px; }
.tm.cards li { border: 2px solid var(--m-ink); background: var(--m-panel); padding: 12px; border-radius: var(--m-r2, var(--m-r)); }
.tm li div { flex: 1; min-width: 0; }
.tm li b { display: flex; justify-content: space-between; gap: 8px; font-size: 17px; }
.tm li small { display: block; opacity: .65; font-size: 13px; margin-top: 2px; }
.tm .qty { display: flex; align-items: center; flex: none; }
.tm .qty i { font-style: normal; width: 32px; height: 32px; display: grid; place-items: center; border: 2px solid var(--m-ink); border-radius: var(--m-r); font-weight: 700; }
.tm .qty i.p { background: var(--m-ink); color: var(--m-bg); }
.tm .qty em { font-style: normal; width: 26px; text-align: center; font-weight: 800; color: var(--m-accent); }
.tm .pay { margin-top: 16px; display: flex; justify-content: space-between; background: var(--m-ink); color: var(--m-bg); padding: 12px 16px; font-weight: 700; border-radius: var(--m-r); }

/* ---- Rollenvergleich ---- */
.roles { width: 100%; border-collapse: collapse; }
.roles th, .roles td { text-align: left; padding: 14px 12px 14px 0; border-top: 1px solid var(--line); vertical-align: top; }
.roles thead th { border-top: 2px solid var(--ink); font-size: 20px; }
.roles td:not(:first-child), .roles th:not(:first-child) { width: 18%; text-align: center; padding-right: 0; }
.yes { font-weight: 800; color: var(--ink); }
.no { color: var(--muted); }

/* ---- Fußzeile mit Links ---- */
footer .wrap > span:last-child { display: flex; gap: 22px; }
footer a { color: var(--muted); text-underline-offset: 4px; }
footer a:hover { color: var(--ink); }

/* ---- Formular ---- */
.form { display: grid; gap: 16px; max-width: 560px; margin-top: 32px; }
.form label { display: grid; gap: 6px; font-weight: 600; }
.form input, .form textarea {
  font: inherit; color: var(--ink); background: var(--panel); border: 2px solid var(--ink); padding: 12px 14px; width: 100%;
}
.form textarea { min-height: 130px; resize: vertical; }
.form button { font: inherit; border: 0; cursor: pointer; }
.form small { color: var(--muted); font-weight: 400; }

/* ---- Rechtstexte ---- */
.legal { max-width: 72ch; }
.legal h2 { font-size: 26px; margin: 36px 0 8px; line-height: 1.15; }
.legal p, .legal li { color: var(--muted); }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; }
.legal .todo { color: var(--signal); font-weight: 600; }
.legal .note { border: 2px dashed var(--signal); padding: 14px 16px; color: var(--ink); margin-bottom: 28px; }

/* Reiter im Dashboard-Nachbau und Hilfsklasse */
.mock-tabs { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.mock-tabs span { border: 2px solid var(--ink); padding: 4px 12px; font-weight: 700; font-size: 15px; }
.mock-tabs .on { background: var(--ink); color: #000; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Platzhalter, die noch ausgefüllt werden müssen */
.todo { color: var(--signal); font-weight: 600; }
.roles td strong { font-size: 19px; }


/* ---- Dashboard-Nachbauten: Neu-Marke, Suche, Kennzahlen, Diagramm ---- */
.mock-tabs .warn { margin-left: auto; border-color: var(--signal); color: var(--signal); }
.tag-new { align-self: flex-start; background: var(--signal); color: #000; font-weight: 700; font-size: 15px; padding: 3px 10px; }
.slip ul li.aus { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.slip ul li.aus i { font-style: normal; font-size: 14px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.mock-search { border: 2px solid var(--ink); background: var(--panel); padding: 8px 14px; font-size: 24px; max-width: 260px; margin-bottom: 14px; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 16px; }
.stats div { border: 2px solid var(--ink); background: var(--panel); padding: 10px 12px; }
.stats small { display: block; color: var(--muted); font-size: 14px; }
.stats b { font-stretch: 66%; font-weight: 800; font-size: 36px; line-height: 1; }
.hist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.hist li { display: grid; grid-template-columns: 44px 1fr auto auto; gap: 10px; align-items: baseline; border: 2px solid var(--ink); background: var(--panel); padding: 10px 12px; font-size: 15px; }
.hist li b { font-stretch: 66%; font-weight: 800; font-size: 24px; }
.hist li em { font-style: normal; font-weight: 700; }
.hist li u { text-underline-offset: 3px; }
.hist li i { font-style: normal; color: var(--signal); font-weight: 700; }
.hist li.refunded { opacity: .6; }
.chart { display: flex; align-items: flex-end; gap: 6px; height: 120px; margin-bottom: 16px; border-bottom: 2px solid var(--ink); }
.chart span { flex: 1; background: var(--ink); min-height: 3px; }
.toplist { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.toplist li { position: relative; display: flex; justify-content: space-between; border: 2px solid var(--ink); background: var(--panel); padding: 8px 12px; font-size: 16px; }
.toplist li::before { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: color-mix(in srgb, var(--ink) 16%, transparent); }
.toplist li > * { position: relative; }
