/* Tafello Mockup v16 - Seitenkopf h10, Strichcode-Band vom Kopf bis zum Fuß */

:root {
  /* Marke */
  --navy: #181865;
  --coral: #FE5851;

  /* Tisch und Karteikarten */
  --desk: #E6ECF0;
  --card-white: #FFFFFF;
  --card-green: #D4EDC9;
  --card-orange: #FFE0B8;
  --card-blue: #D9E6FB;
  --rule: #DCE5F2;
  --ink: #181865;
  --ink-soft: #4A4F7A;
  --tafel-green: #1C7C3C;

  /* Status, getrennt von der Marke */
  --ok: #1C7C3C;
  --ok-bg: #E3F4E6;
  --warn: #F5B400;
  --warn-ink: #5C4300;
  --warn-bg: #FFF3CC;
  --err: #C42B2B;
  --err-bg: #FDE4E2;
  --info: #1B62C9;
  --info-bg: #E3EDFB;

  /* Bildschirm */
  --screen-line: #D5DAE6;
  --screen-bg: #F6F8FB;

  --focus: #1B62C9;
  --pruefen: #FFE45C;

  /* Doppelstrich aus dem "ll" der Wortmarke */
  --ll-coral: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 134 340'%3E%3Cpath d='M0 0h54v313a27 27 0 0 1-54 0zM80 0h54v313a27 27 0 0 1-54 0z' fill='%23FE5851'/%3E%3C/svg%3E");
  --ll-navy: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 134 340'%3E%3Cpath d='M0 0h54v313a27 27 0 0 1-54 0zM80 0h54v313a27 27 0 0 1-54 0z' fill='%23181865'/%3E%3C/svg%3E");

  /* Abstände in Stufen */
  --s1: 8px;
  --s2: 16px;
  --s3: 24px;
  --s4: 40px;
  --s5: 64px;
  --s6: 104px;

  --serif: "Zilla Slab", Rockwell, "Roboto Slab", Georgia, serif;
  --sans: "Schibsted Grotesk", "Segoe UI", system-ui, sans-serif;
  --hand: "Kalam", "Comic Neue", cursive;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --tabw: 212px;
  --tabh: 34px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--desk);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 19px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--navy);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-thickness: 3px;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
}

h2 {
  font-size: clamp(34px, 3.4vw, 50px);
  max-width: 22ch;
}

/* Abschnittsüberschrift mit dem Strichcode-Zeichen des Logos links auf Höhe der ersten Zeile */
main h2 {
  --h2-bar: var(--coral);

  position: relative;
  max-width: 24ch;
  padding-left: .9em;
}

main h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: .24em;
  width: .58em;
  height: .58em;
  background: var(--h2-bar);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 340 340'%3E%3Crect width='110' height='340'/%3E%3Crect x='140' width='28' height='340'/%3E%3Crect x='208' width='64' height='340'/%3E%3Crect x='312' width='28' height='340'/%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 340 340'%3E%3Crect width='110' height='340'/%3E%3Crect x='140' width='28' height='340'/%3E%3Crect x='208' width='64' height='340'/%3E%3Crect x='312' width='28' height='340'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
}

.card-coral h2 {
  --h2-bar: var(--navy);
}

h3 {
  font-size: clamp(24px, 2vw, 29px);
  font-weight: 600;
  line-height: 1.18;
}

p {
  margin: 0;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.pruefen {
  background: var(--pruefen);
  color: var(--navy);
  font-size: .82em;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 3px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  line-height: 1.7;
}

/* ---------- Knöpfe ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 26px;
  border-radius: 8px;
  font-family: var(--sans);
  font-size: 19px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--navy);
  cursor: pointer;
}

.btn {
  position: relative;
  overflow: hidden;
}

@media (prefers-reduced-motion: no-preference) and (hover: hover) {
  .btn::after {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    top: 15%;
    height: 2px;
    border-radius: 1px;
    background: currentColor;
    opacity: 0;
    pointer-events: none;
  }

  .btn:hover::after {
    animation: btn-scan .7s ease-in-out 1;
  }
}

@keyframes btn-scan {
  0% {
    top: 15%;
    opacity: 0;
  }

  20%,
  80% {
    opacity: .6;
  }

  100% {
    top: 82%;
    opacity: 0;
  }
}

.btn-code::before {
  content: "";
  width: 10px;
  height: 22px;
  flex: none;
  background: var(--ll-navy) center / contain no-repeat;
}

.btn-navy.btn-code::before {
  background-image: var(--ll-coral);
}

.btn-primary {
  background: var(--coral);
  color: var(--navy);
  border-color: var(--coral);
  box-shadow: 0 4px 0 var(--navy);
}

.btn-primary:hover {
  background: #FF6C66;
}

.btn-primary:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 var(--navy);
}

.btn-quiet {
  background: #FFFFFF;
  color: var(--navy);
}

.btn-quiet:hover {
  background: var(--card-blue);
}

.btn-navy {
  background: var(--navy);
  color: #FFFFFF;
  box-shadow: 0 4px 0 rgb(24 24 101 / .35);
}

.btn-navy:hover {
  background: #26268A;
}

/* ---------- Navigation ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: #FFFFFF;
  box-shadow: 0 2px 12px rgb(24 24 101 / .12);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: var(--s3);
  height: 72px;
}

.nav nav {
  margin-left: auto;
}

.nav-links {
  display: flex;
  gap: var(--s1);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
}

.nav-links a:hover {
  background: var(--desk);
}

.nav-demo {
  min-height: 48px;
  padding: 0 22px;
  font-size: 18px;
  box-shadow: 0 3px 0 var(--navy);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
}

.nav.show-demo .nav-demo {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity .25s ease, transform .25s ease, visibility 0s;
}

.nav-menu {
  display: none;
}

/* ---------- Seitenkopf ---------- */

.hero {
  position: relative;
  padding: calc(72px + var(--s5)) 0 var(--s4);
  overflow: hidden;
}


.hero-lead {
  font-size: clamp(21px, 1.7vw, 25px);
  line-height: 1.45;
  font-weight: 600;
  margin-top: var(--s3);
  max-width: 30ch;
}

.hero-sub {
  margin-top: var(--s2);
  max-width: 38ch;
  color: var(--ink-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
  margin-top: var(--s4);
}

/* Scan-Rahmen um den Barcode der Tafelkarte im Seitenkopf */
.tafelkarte .barcode,
.price-tag .barcode {
  position: relative;
}

.tafelkarte .barcode::before,
.price-tag .barcode::before {
  --c: var(--coral);
  --l: 5cqw;
  --t: .9cqw;

  content: "";
  position: absolute;
  inset: -2.4cqw -2.6cqw -1.2cqw;
  background:
    linear-gradient(var(--c), var(--c)) top left / var(--l) var(--t) no-repeat,
    linear-gradient(var(--c), var(--c)) top left / var(--t) var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) top right / var(--l) var(--t) no-repeat,
    linear-gradient(var(--c), var(--c)) top right / var(--t) var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) bottom left / var(--l) var(--t) no-repeat,
    linear-gradient(var(--c), var(--c)) bottom left / var(--t) var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) bottom right / var(--l) var(--t) no-repeat,
    linear-gradient(var(--c), var(--c)) bottom right / var(--t) var(--l) no-repeat;
}

@keyframes laser {
  0% {
    top: 62%;
    opacity: 0;
  }

  15% {
    opacity: 1;
  }

  85% {
    opacity: 1;
  }

  100% {
    top: 90%;
    opacity: 0;
  }
}

@keyframes scanned {
  from {
    background: #FFFFFF;
    border-color: var(--screen-line);
    color: #545A7D;
  }
}

@keyframes slide-in {
  from {
    transform: translateX(60px);
    opacity: 0;
  }
}

@keyframes card-in {
  from {
    transform: rotate(-20deg) translate(-40px, 40px);
    opacity: 0;
  }
}

/* ---------- Geräte-Rahmen ---------- */

.tablet {
  background: var(--navy);
  border-radius: 30px;
  padding: 18px;
  box-shadow: 0 20px 40px -18px rgb(24 24 101 / .5);
}

.screen {
  background: #FFFFFF;
  border-radius: 14px;
  overflow: hidden;
}

/* ---------- App-Oberfläche in den Skizzen ---------- */

.app {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.4;
  color: #1E2240;
}

.app-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: var(--screen-bg);
  border-bottom: 1px solid var(--screen-line);
  font-weight: 700;
  font-size: 15px;
}

.app-bar span:last-child {
  font-weight: 400;
  color: #545A7D;
}

.app-body {
  padding: 18px;
  display: grid;
  gap: 14px;
}

.scan {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 2px solid var(--info);
  border-radius: 8px;
  background: var(--info-bg);
  color: #123F85;
  font-weight: 600;
  font-size: 15px;
}

.scan svg {
  width: 22px;
  height: 22px;
  flex: none;
}

.hh-name {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .01em;
}

.hh-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  color: #454B6E;
  font-size: 15px;
  margin-top: 2px;
}

.chip {
  display: inline-block;
  padding: 0 8px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 700;
  line-height: 22px;
}

.chip-blau {
  background: #D6E4FF;
  color: #173F9A;
}

.chip-gelb {
  background: #FFF1B8;
  color: #5C4300;
}

.state {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px;
  border-radius: 10px;
  border: 2px solid;
}

.state-light {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #FFFFFF;
}

.state-light svg {
  width: 28px;
  height: 28px;
}

.state strong {
  display: block;
  font-size: 20px;
  line-height: 1.2;
}

.state ul {
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
  display: grid;
  gap: 2px;
}

.state li::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  margin-right: 8px;
  vertical-align: middle;
  opacity: .6;
}

.state-ok {
  background: var(--ok-bg);
  border-color: var(--ok);
  color: #134D27;
}

.state-ok .state-light {
  background: var(--ok);
}

.state-warn {
  background: var(--warn-bg);
  border-color: var(--warn);
  color: var(--warn-ink);
}

.state-warn .state-light {
  background: var(--warn);
  color: #3D2C00;
}

.state-err {
  background: var(--err-bg);
  border-color: var(--err);
  color: #7A1616;
}

.state-err .state-light {
  background: var(--err);
}

.app-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: 10px;
  background: var(--ok);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 18px;
}

/* Tafelkarte */

.tafelkarte {
  position: relative;
  aspect-ratio: 85.6 / 54;
  background: #FFFFFF;
  border-radius: 12px;
  border: 1px solid #C9D0E0;
  box-shadow: 0 10px 22px -10px rgb(24 24 101 / .45);
  font-family: var(--sans);
  color: #1E2240;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  container-type: inline-size;
}

.tk-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: #FFFFFF;
  padding: 3.4cqw 5cqw;
  font-weight: 700;
  font-size: 5.2cqw;
}

.tk-group {
  background: #D6E4FF;
  color: #173F9A;
  border-radius: 99px;
  padding: .3cqw 3cqw;
  font-size: 4.2cqw;
}

.tk-body {
  padding: 4cqw 5cqw 0;
  font-size: 4.6cqw;
  line-height: 1.35;
}

.tk-name {
  font-weight: 700;
  font-size: 6.6cqw;
  line-height: 1.15;
}

.tk-foot {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 4cqw;
  padding: 2cqw 5cqw 4cqw;
}

.tk-valid {
  font-size: 4cqw;
  color: #454B6E;
}

.barcode {
  display: block;
  width: 42cqw;
}

.barcode svg {
  width: 100%;
  height: 11cqw;
  display: block;
}

.barcode span {
  display: block;
  text-align: center;
  font-size: 3.6cqw;
  letter-spacing: .08em;
}

/* ---------- Karteikarten-Abschnitte ---------- */

.box {
  padding-bottom: var(--s6);
}

.card {
  position: relative;
  margin-top: calc(var(--tabh) + var(--s5));
  background: var(--card-white);
  border-radius: 0 8px 8px 8px;
  padding: clamp(32px, 6vw, 80px) clamp(22px, 6vw, 88px);
  box-shadow: 0 2px 0 rgb(24 24 101 / .14);
}

.card.tab-moved {
  border-radius: 8px;
}

.tab {
  position: absolute;
  top: calc(-1 * var(--tabh) + 1px);
  left: calc(var(--tab, 0) * (100% - var(--tabw)));
  width: var(--tabw);
  height: var(--tabh);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  border-radius: 10px 10px 0 0;
  background: inherit;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 23px;
  white-space: nowrap;
}

.card-green {
  background: var(--card-green);
}

.card-orange {
  background: var(--card-orange);
}

.card-blue {
  background: var(--card-blue);
}

.card-coral {
  background: var(--coral);
}

.card-intro {
  max-width: 62ch;
  margin-top: var(--s3);
  font-size: 20px;
}

.card-intro + .card-intro {
  margin-top: var(--s2);
}

/* Für wen */

.audience {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: var(--s5);
}

.audience h3 {
  display: flex;
  align-items: center;
  gap: 12px;
}

.audience h3 {
  align-items: flex-start;
}

.audience h3::before {
  content: "";
  width: 10px;
  height: 24px;
  margin-top: .12em;
  background: var(--ll-coral) center / contain no-repeat;
  flex: none;
}

.audience p {
  margin-top: var(--s2);
}

.audience .more {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  margin-top: var(--s1);
  font-weight: 700;
}

/* ---------- Bildschirm-Abschnitt Funktionen ---------- */

.statusbar {
  background: var(--navy);
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 600;
}

.statusbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 40px;
  gap: 16px;
}

.statusbar .sb-icons {
  display: flex;
  gap: 10px;
  align-items: center;
}

.statusbar svg {
  width: 20px;
  height: 20px;
}

.screen-inner {
  padding-block: var(--s6);
}

.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: var(--s5);
  align-items: center;
  padding: var(--s6) 0 0;
}

/* Ampel-Liste */

.ampel-list {
  display: grid;
  gap: 12px;
}

.ampel-list .state {
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  padding: 12px 14px;
  background-color: #FFFFFF;
}

.ampel-list .state-light {
  width: 44px;
  height: 44px;
}

.ampel-list .state-light svg {
  width: 24px;
  height: 24px;
}

.ampel-list .who {
  font-size: 15px;
  color: #1E2240;
}

.ampel-list .who b {
  font-size: 16px;
}

.ampel-list .note {
  font-size: 14px;
  font-weight: 700;
  text-align: right;
}

/* Aufrufmonitor */

.monitor {
  background: #0F0F45;
  border-radius: 14px;
  padding: 12px;
  width: min(100%, 520px);
  margin: 0 auto;
}

.mon-screen {
  background: var(--navy);
  border-radius: 6px;
  color: #FFFFFF;
  overflow: hidden;
}

.mon-head {
  display: flex;
  justify-content: space-between;
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 600;
  background: rgb(255 255 255 / .08);
}

.mon-now {
  padding: 16px 16px 12px;
}

.mon-label {
  font-size: 16px;
  font-weight: 700;
  color: #BFF0C9;
}

.mon-nums {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 8px;
}

.mon-nums b {
  display: grid;
  place-items: center;
  background: var(--ok);
  border-radius: 8px;
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.3;
  font-variant-numeric: tabular-nums;
}

.mon-next {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
  padding: 10px 16px 16px;
  border-top: 1px solid rgb(255 255 255 / .2);
}

.mon-next .mon-label {
  color: #C9CCF0;
}

.mon-next span:last-child {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: .06em;
  font-variant-numeric: tabular-nums;
}

.mon-stand {
  width: 90px;
  height: 18px;
  margin: 0 auto;
  background: #0F0F45;
  clip-path: polygon(30% 0, 70% 0, 100% 100%, 0 100%);
}

/* Tafelkarte groß */

/* Tafelkarte scannen */
.scan-zone {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Cpath d='M3 10V3h7M22 3h7v7M29 22v7h-7M10 29H3v-7' fill='none' stroke='%23FFFFFF' stroke-width='6'/%3E%3Cpath d='M3 10V3h7M22 3h7v7M29 22v7h-7M10 29H3v-7' fill='none' stroke='%23181865' stroke-width='3'/%3E%3Cpath d='M6 16h20' stroke='%23FE5851' stroke-width='3'/%3E%3C/svg%3E") 16 16, crosshair;
}

.scan-target {
  position: relative;
  display: block;
  margin: -2cqw -2cqw 0;
  padding: 2cqw 2cqw 0;
  min-height: 44px;
  background: none;
  border: 0;
  border-radius: 4px;
  color: inherit;
  font: inherit;
  cursor: inherit;
}

.scan-target::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 10%;
  height: 3px;
  border-radius: 2px;
  background: var(--coral);
  box-shadow: 0 0 10px 2px rgb(254 88 81 / .55);
  opacity: 0;
  pointer-events: none;
}

.scan-target:hover .barcode::before,
.scan-target:focus-visible .barcode::before {
  --c: var(--navy);
}

.scan-target.scanning::after {
  animation: laser-btn .9s ease-in-out both;
}

@keyframes laser-btn {
  0% {
    top: 8%;
    opacity: 0;
  }

  15%,
  85% {
    opacity: 1;
  }

  100% {
    top: 78%;
    opacity: 0;
  }
}

.pill-err {
  background: var(--err-bg);
  color: #7A1616;
  font-size: 15px;
}

@keyframes result-in {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
}

/* QR-Codes */
.qr svg {
  display: block;
  width: 100%;
  height: auto;
}

/* Ostereier: kleine QR-Codes in den Skizzen */

.monitor {
  position: relative;
}

/* Browser-Fenster */

.browser {
  position: absolute;
  width: 78%;
  background: #FFFFFF;
  border: 2px solid #1E2240;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 14px 28px -16px rgb(24 24 101 / .5);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #EEF1F7;
  border-bottom: 1px solid var(--screen-line);
}

.browser-dots {
  display: flex;
  gap: 5px;
}

.browser-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #B8BFD2;
}

.browser-url {
  flex: 1;
  background: #FFFFFF;
  border: 1px solid var(--screen-line);
  border-radius: 99px;
  padding: 3px 12px;
  font-size: 14px;
  font-weight: 700;
  color: #1E2240;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.browser-page {
  padding: 18px;
  display: grid;
  gap: 10px;
}

.browser-page .tenant {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
}

.tenant-logo {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #FFFFFF;
  font-family: var(--serif);
  font-size: 18px;
  flex: none;
}

.browser-page small {
  font-size: 14px;
  color: #454B6E;
}

.fake-input {
  height: 34px;
  border: 1.5px solid #B8BFD2;
  border-radius: 6px;
  background: #FFFFFF;
}

.fake-btn {
  height: 36px;
  width: 50%;
  border-radius: 6px;
}

/* Papier-Ausgabeliste */

.paper-list {
  background:
    repeating-linear-gradient(to bottom, transparent 0 41px, var(--rule) 41px 42px),
    #FFFFFF;
  width: min(100%, 520px);
  margin: 0 auto;
  padding: 22px 24px 26px;
  transform: rotate(1.5deg);
  box-shadow: 0 12px 24px -14px rgb(24 24 101 / .5);
  font-size: 15px;
}

.paper-list header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-weight: 700;
  padding-bottom: 8px;
  border-bottom: 2px solid #1E2240;
}

.paper-list table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 4px;
}

.paper-list td {
  height: 42px;
  padding: 0 6px;
  white-space: nowrap;
}

.paper-list td:first-child {
  font-variant-numeric: tabular-nums;
  color: #454B6E;
  width: 58px;
}

.paper-list .box-cell {
  width: 56px;
  text-align: center;
}

.tick {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 2px solid #1E2240;
  border-radius: 3px;
  font-family: var(--hand);
  font-size: 26px;
  line-height: 1;
  color: var(--info);
}

.wifi-off {
  position: absolute;
  top: -18px;
  right: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  border: 2px solid var(--err);
  color: #7A1616;
  border-radius: 99px;
  padding: 4px 14px 4px 10px;
  font-weight: 700;
  font-size: 15px;
  z-index: 2;
}

.wifi-off svg {
  width: 20px;
  height: 20px;
}

/* Weitere Funktionen */

.more-head {
  margin-top: var(--s6);
}

/* Antrag */

.form-app .app-body {
  gap: 12px;
}

.form-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.form-sub {
  font-size: 14px;
  color: #454B6E;
}

.f-label {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 3px;
}

.f-field {
  border: 1.5px solid #9AA3BD;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 15px;
  background: #FFFFFF;
}

.f-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.f-upload {
  border: 2px dashed #9AA3BD;
  border-radius: 8px;
  padding: 10px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  color: #123F85;
  background: var(--info-bg);
}

.f-hint {
  font-size: 13px;
  color: #454B6E;
  background: var(--screen-bg);
  border-radius: 8px;
  padding: 8px 10px;
}

/* Tagesabschluss */

.close-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.close-table th,
.close-table td {
  text-align: left;
  padding: 10px 8px;
  border-bottom: 1px solid var(--screen-line);
  vertical-align: middle;
}

.close-table th {
  font-size: 13px;
  color: #545A7D;
  font-weight: 700;
}

.close-table td.num,
.close-table th.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 99px;
  padding: 2px 10px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.pill-ok {
  background: var(--ok-bg);
  color: #134D27;
}

.pill-warn {
  background: var(--warn-bg);
  color: var(--warn-ink);
}

.recent {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  display: grid;
  gap: 4px;
  color: #454B6E;
}

.recent li {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 14px;
}

.recent b {
  color: #1E2240;
}

.total {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  padding: 12px 14px;
  background: var(--navy);
  color: #FFFFFF;
  border-radius: 10px;
  font-weight: 700;
  font-size: 18px;
}

/* ---------- Umstieg ---------- */

.switch {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: var(--s5);
  align-items: start;
}

.sources {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: var(--s4) 0 0;
  padding: 0;
  list-style: none;
}

.sources li {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 6px 16px 6px 10px;
  background: #FFFFFF;
  border-radius: 4px;
  font-weight: 700;
  font-size: 17px;
  box-shadow: 0 2px 0 rgb(24 24 101 / .14);
}

.sources li:nth-child(odd) {
  transform: rotate(-1.2deg);
}

.sources li:nth-child(even) {
  transform: rotate(1deg);
}

.src-ico {
  width: 30px;
  height: 30px;
  border-radius: 4px;
  flex: none;
}

.src-excel {
  background:
    repeating-linear-gradient(to right, transparent 0 9px, #1C7C3C 9px 10px),
    repeating-linear-gradient(to bottom, transparent 0 7px, #1C7C3C 7px 8px),
    #E3F4E6;
  border: 2px solid #1C7C3C;
}

.src-access {
  background: #8C1D40;
  border-radius: 50% / 22%;
}

.src-ninox {
  background: #1B62C9;
  border-radius: 50%;
}

.src-papier {
  background:
    repeating-linear-gradient(to bottom, transparent 0 5px, #9AA3BD 5px 6px) 5px 7px / 20px 20px no-repeat,
    #FFFFFF;
  border: 2px solid #9AA3BD;
}

.src-kartei {
  background:
    linear-gradient(var(--coral), var(--coral)) 0 7px / 100% 3px no-repeat,
    #FFF8E6;
  border: 2px solid #C9A86A;
}

.transfer {
  position: relative;
  display: grid;
  gap: var(--s3);
}

.arrow-down {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  padding-left: 12%;
}

.arrow-down svg {
  width: 40px;
  height: 56px;
  flex: none;
}

/* Umstieg: Excel-Tabelle wird zur Haushaltsliste */

.sheet-ico {
  width: 20px;
  height: 20px;
  border: 2px solid #1C7C3C;
  border-radius: 3px;
  background:
    repeating-linear-gradient(to right, transparent 0 5px, #1C7C3C 5px 6px),
    repeating-linear-gradient(to bottom, transparent 0 4px, #1C7C3C 4px 5px),
    #E3F4E6;
}

.sheet-scroll {
  overflow-x: auto;
  border-radius: 0 0 6px 6px;
}

.sheet {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.3;
  color: #1E2240;
}

.sheet th,
.sheet td {
  border: 1px solid #D5DAE6;
  padding: 6px 8px;
  white-space: nowrap;
  text-align: left;
}

.sheet thead th,
.sheet tbody th,
.sheet .corner {
  background: #EEF1F7;
  color: #545A7D;
  font-weight: 600;
  font-size: 13px;
  text-align: center;
}

.sheet tbody th {
  width: 34px;
}

.sheet .head-row td {
  font-weight: 700;
}

.sheet .is-dupe td {
  background: var(--warn-bg);
}

.sheet td.is-empty {
  background: repeating-linear-gradient(45deg, var(--err-bg) 0 5px, #FFFFFF 5px 10px);
}

.hh-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.hh-table th,
.hh-table td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--screen-line);
  text-align: left;
  vertical-align: middle;
}

.hh-table thead th {
  font-size: 12.5px;
  color: #545A7D;
  font-weight: 700;
  padding-top: 10px;
}

.hh-table tbody th {
  font-weight: 700;
  white-space: nowrap;
}

.hh-table .num {
  text-align: right;
}

.hh-table .nr {
  width: 68px;
}

.hh-table td {
  white-space: nowrap;
}

.barcode.barcode-mini {
  width: 50px;
}

.barcode-mini svg {
  height: 16px;
}

.barcode-mini span {
  font-size: 12px;
  letter-spacing: .12em;
}

.chip-fehlt {
  background: var(--warn-bg);
  color: var(--warn-ink);
}

.hh-foot {
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--warn-ink);
  background: var(--warn-bg);
}

/* Was Tafello außerdem kann */

/* ---------- Herkunft ---------- */

/* ---------- Preis ---------- */

.price {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: var(--s5);
  align-items: end;
}

.price-illu {
  width: 100%;
}

.price-tag {
  position: absolute;
  left: -56px;
  bottom: 18px;
  width: 270px;
  background: #FFFFFF;
  border: 2px solid var(--navy);
  border-radius: 6px;
  padding: 0 16px 12px;
  color: var(--navy);
  transform: rotate(-2deg);
  box-shadow: 0 12px 24px -14px rgb(24 24 101 / .55);
  container-type: inline-size;
  overflow: hidden;
}

.pt-head {
  margin: 0 -16px 8px;
  padding: 6px 16px;
  background: var(--navy);
  color: #FFFFFF;
  font: 700 20px/1.3 var(--serif);
}

.pt-sub {
  font-size: 15px;
  line-height: 1.3;
  font-weight: 600;
}

.pt-price {
  margin-top: 6px;
  font: 700 56px/1 var(--serif);
}

.pt-open {
  display: inline-block;
  min-width: 1.2em;
  padding: 0 8px;
  border-radius: 4px;
  background: var(--pruefen);
  text-align: center;
}

.price-tag .barcode {
  width: 46cqw;
  flex: none;
  color: #1E2240;
}

.price-tag .barcode svg {
  height: 34px;
}

.price-tag .barcode span {
  font-size: 12px;
}

/* ---------- Betrieb ---------- */

.check-list {
  margin: var(--s3) 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: var(--s2);
}

.check-list li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  align-items: start;
}

.check-list li::before {
  content: "";
  width: 28px;
  height: 28px;
  margin-top: 1px;
  border-radius: 6px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23FFFFFF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat,
    var(--navy);
}

.check-list.people li::before {
  border-radius: 0;
  background: var(--ll-coral) center / auto 24px no-repeat;
}

/* ---------- So starten Sie ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s4) var(--s3);
  margin: var(--s5) 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  background: var(--desk);
  border-radius: 0 8px 8px 8px;
  padding: var(--s4) var(--s3) var(--s4);
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  top: -40px;
  left: calc(var(--p) * (100% - 64px));
  width: 64px;
  height: 41px;
  display: grid;
  place-items: center;
  background: inherit;
  border-radius: 10px 10px 0 0;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 26px;
}

.steps li:nth-child(1) {
  --p: 0;
}

.steps li:nth-child(2) {
  --p: .33;
}

.steps li:nth-child(3) {
  --p: .66;
}

.steps li:nth-child(4) {
  --p: 1;
  background: var(--card-green);
}

.steps li,
.steps li:nth-child(4) {
  background: none;
  padding: 0;
  border-radius: 0;
}

.steps li::before {
  content: none;
}

.steps li:nth-child(1) {
  --w: 58px;
}

.steps li:nth-child(2) {
  --w: 15px;
}

.steps li:nth-child(3) {
  --w: 34px;
}

.steps li:nth-child(4) {
  --w: 15px;
}

.step-bar {
  display: block;
  width: var(--w);
  height: 132px;
  background: var(--navy);
}

.steps li:nth-child(4) .step-bar {
  background: var(--coral);
}

.step-no {
  display: block;
  margin-top: 10px;
  font: 700 26px/1 var(--sans);
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}

.steps h3 {
  font-size: 24px;
  margin-top: var(--s2);
}

.steps p {
  margin-top: var(--s1);
  font-size: 18px;
}

.steps-note {
  margin-top: var(--s4);
  font-size: 21px;
  font-weight: 600;
}

/* ---------- Fragen ---------- */

/* ---------- Demo ---------- */

/* ---------- Kontakt ---------- */

.form {
  background: var(--desk);
  border-radius: 10px;
  padding: var(--s4);
  display: grid;
  gap: var(--s3);
  align-content: start;
}

.form label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
}

.form input,
.form textarea {
  width: 100%;
  font: inherit;
  font-size: 19px;
  color: var(--navy);
  background: #FFFFFF;
  border: 2px solid #6B7196;
  border-radius: 8px;
  padding: 12px 14px;
  min-height: 56px;
}

.form input::placeholder {
  color: #6B7196;
}

.form textarea {
  min-height: 160px;
  resize: vertical;
}

.form .btn {
  justify-self: start;
}

.form-note {
  font-size: 16px;
  color: var(--ink-soft);
}

/* ---------- Fuß: die Front des Karteikastens ---------- */

/* ---------- Responsiv ---------- */

@media (max-width: 1100px) {

  .audience {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--s4);
  }

  .audience p {
    max-width: 60ch;
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: var(--s5);
  }
}

@media (max-width: 760px) {
  body {
    font-size: 18px;
  }

  :root {
    --tabw: 164px;
    --tabh: 30px;
    --s6: 72px;
    --s5: 48px;
  }

  .tab {
    font-size: 20px;
    padding: 0 14px;
  }

  .hh-table .col-group {
    display: none;
  }

  .hh-table th,
  .hh-table td {
    padding: 7px 6px;
    font-size: 13px;
  }

  .hh-table .nr {
    width: 46px;
  }

  .barcode.barcode-mini {
    width: 40px;
  }

  .hh-table tbody th {
    white-space: normal;
  }

  .hh-table th,
  .hh-table td {
    padding: 7px 4px;
  }

  .nav-links {
    display: none;
  }

  .nav-menu {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 14px;
    margin-left: auto;
    background: #FFFFFF;
    border: 2px solid var(--navy);
    border-radius: 8px;
    color: var(--navy);
    font: 700 17px var(--sans);
  }

  .nav-menu svg {
    width: 20px;
    height: 20px;
  }

  .nav-inner {
    gap: var(--s2);
    height: 68px;
  }

  .nav-demo {
    padding: 0 16px;
  }

  .hero {
    padding-top: calc(68px + var(--s4));
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .hero {
    padding-bottom: calc(var(--s4) + 32px);
  }

  .tablet {
    padding: 10px;
    border-radius: 22px;
  }

  .app-body {
    padding: 14px;
  }

  .ampel-list .state {
    grid-template-columns: 40px 1fr;
  }

  .ampel-list .state-light {
    width: 40px;
    height: 40px;
  }

  .ampel-list .note {
    grid-column: 2;
    text-align: left;
  }

  .browser {
    width: 88%;
  }

  .recent li {
    grid-template-columns: 1fr auto;
    gap: 2px 10px;
  }

  .close-table {
    font-size: 14px;
  }

  .close-table tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 76px 80px;
    align-items: center;
    border-bottom: 1px solid var(--screen-line);
  }

  .close-table th,
  .close-table td {
    border-bottom: 0;
  }

  .close-table th:nth-child(4) {
    display: none;
  }

  .close-table td:nth-child(4) {
    grid-column: 1 / -1;
    padding-top: 0;
  }

  .paper-list {
    font-size: 13px;
    padding: 16px 14px 20px;
  }

  .paper-list td {
    padding: 0 3px;
  }

  .paper-list td:first-child {
    width: 40px;
  }

  .paper-list .box-cell {
    width: 36px;
  }

  .close-table th,
  .close-table td {
    padding: 8px 4px;
  }

  .steps {
    grid-template-columns: minmax(0, 1fr);
    row-gap: var(--s4);
  }

  .steps li,
  .steps li:nth-child(4) {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    column-gap: var(--s2);
    align-content: start;
  }

  .step-bar {
    grid-row: 1 / span 3;
    height: auto;
    min-height: 100%;
  }

  .step-no {
    margin-top: 0;
  }

  .steps h3 {
    margin-top: var(--s1);
  }

  .price-illu {
    width: 72%;
  }

  .price-tag {
    position: relative;
    left: auto;
    bottom: auto;
    width: 236px;
    margin: -64px 0 0 auto;
  }

  .form {
    padding: var(--s3);
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .nav-demo,
  .nav.show-demo .nav-demo {
    transition: none;
  }
}

.transfer > * {
  min-width: 0;
}

/* ==========================================================================
   v13: nach Lesern gegliedert, Geräte klar unterscheidbar, weniger Linien
   ========================================================================== */

h4 {
  margin: 0;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 600;
  line-height: 1.2;
}

/* Leiste: Logo erst zeigen, wenn das Kopf-Logo aus dem Bild ist (ohne JavaScript immer sichtbar) */

.nav-logo {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
}

.nav-logo img {
  height: 30px;
  width: auto;
}

.js .nav-logo {
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility 0s linear .25s;
}

.js .nav.show-logo .nav-logo {
  opacity: 1;
  visibility: visible;
  transition: opacity .25s ease, visibility 0s;
}

/* ---------- Seitenkopf: Textkarte allein, daneben ein Tablet ---------- */

.hero {
  padding: calc(72px + var(--s5)) 0 var(--s5);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: var(--s5);
  align-items: center;
}

.index-card {
  background: var(--card-white);
  border-radius: 8px;
  padding: var(--s4) clamp(24px, 4vw, 56px) var(--s5);
  box-shadow: 0 2px 0 rgb(24 24 101 / .14);
}

.hero-logo {
  height: 40px;
  width: auto;
  margin: 8px 0 var(--s4);
}

.hero h1 {
  font-size: clamp(42px, 4.4vw, 64px);
  line-height: 1.0;
  letter-spacing: -.01em;
  max-width: 9em;
}

.hero-phone {
  margin-top: var(--s3);
  font-size: 18px;
  color: var(--ink-soft);
}

.hero-phone a {
  font-weight: 700;
  white-space: nowrap;
}

.hero-device {
  display: grid;
  justify-items: end;
  gap: var(--s3);
}

.hero-device .tablet {
  width: 100%;
}

.hero-device .tafelkarte {
  width: 250px;
  margin-right: 12%;
  transform: rotate(-3deg);
}

@media (prefers-reduced-motion: no-preference) {
  .hero-device .tablet {
    animation: slide-in .9s cubic-bezier(.2, .8, .2, 1) .15s both;
  }

  .hero-device .tafelkarte {
    animation: card-rise .8s cubic-bezier(.2, .8, .2, 1) .5s both;
  }

  .hero-device .tafelkarte::after {
    content: "";
    position: absolute;
    left: 50%;
    right: 4%;
    top: 62%;
    height: 3px;
    border-radius: 2px;
    background: var(--coral);
    box-shadow: 0 0 10px 2px rgb(254 88 81 / .55);
    opacity: 0;
    animation: laser 1.1s ease-in-out 1.4s both;
  }

  .hero-device .scan {
    animation: scanned .6s ease-out 2.4s both;
  }
}

@keyframes card-rise {
  from {
    opacity: 0;
    transform: rotate(-3deg) translateY(30px);
  }
}

/* ---------- Geräte-Regel ----------
   Tablet: flach, dünner Rahmen, Kamerapunkt, Querformat (Einlass)
   Smartphone: runde Ecken, Kamera-Aussparung, Home-Leiste (Online-Antrag)
   Browserfenster: drei Punkte, Adresszeile, dünner Rand (Schreibtisch)
   Monitor: Bildschirm an der Wand mit Halterung
   Papier: flach, ohne Geräterahmen */

.tablet {
  position: relative;
  background: #2B2B64;
  border-radius: 26px;
  padding: 14px 30px;
  box-shadow: 0 18px 36px -20px rgb(24 24 101 / .55);
}

.tablet .cam {
  position: absolute;
  left: 11px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-radius: 50%;
  background: #5B5F95;
}

.tablet .screen {
  border-radius: 10px;
}

.einlass {
  container-type: inline-size;
}

.einlass-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  padding: 18px;
  align-items: start;
}

.einlass-left {
  display: grid;
  gap: 12px;
}

.einlass .state {
  align-self: start;
}

.phone {
  position: relative;
  width: 280px;
  background: #2B2B64;
  border-radius: 40px;
  padding: 12px;
  box-shadow: 0 18px 36px -20px rgb(24 24 101 / .55);
}

.phone .screen {
  border-radius: 30px;
  padding: 26px 0 22px;
}

.phone .notch {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 20px;
  width: 84px;
  height: 22px;
  margin-left: -42px;
  border-radius: 12px;
  background: #2B2B64;
}

.phone .homebar {
  position: absolute;
  left: 50%;
  bottom: 22px;
  width: 96px;
  height: 5px;
  margin-left: -48px;
  border-radius: 3px;
  background: #1E2240;
}

.phone .app-bar {
  background: none;
  border-bottom: 0;
  justify-content: center;
  color: #545A7D;
  padding: 6px 18px 0;
}

.win {
  background: #FFFFFF;
  border: 1.5px solid #9AA3BD;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 14px 28px -18px rgb(24 24 101 / .5);
}

.win-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: #EEF1F7;
  font-size: 14px;
  font-weight: 700;
  color: #1E2240;
}

.win-dots {
  display: flex;
  gap: 5px;
  flex: none;
}

.win-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #B8BFD2;
}

.win-url {
  flex: 1;
  min-width: 0;
  background: #FFFFFF;
  border-radius: 99px;
  padding: 2px 12px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.win .app-bar {
  background: #FFFFFF;
}

/* ---------- Für wen: Trennung nur durch Abstand ---------- */

.forwhom-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--s4);
  align-items: end;
}

.forwhom-head img {
  width: 400px;
  margin: -190px -30px -40px 0;
}

.audience {
  gap: var(--s5);
}

.audience > div {
  padding: 0;
}

/* ---------- Am Ausgabetag ---------- */

.screen-section {
  background: #FFFFFF;
  margin-top: var(--s6);
}

.screen-inner {
  padding-block: var(--s5) var(--s6);
}

.feature {
  padding-top: var(--s4);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.feature-text p {
  margin-top: var(--s2);
  max-width: 48ch;
}

.feature-text h3,
.pair-item h3 {
  font-size: clamp(28px, 2.4vw, 36px);
}

.pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--s5);
  margin-top: var(--s6);
}

.pair-item > p {
  margin-top: var(--s2);
  max-width: 50ch;
}

.pair-item .scan-zone,
.pair-item .monitor-wrap {
  margin-top: var(--s4);
}

.monitor {
  position: relative;
  background: #0F0F45;
  border-radius: 12px;
  padding: 10px;
  width: min(100%, 460px);
  margin: 0 auto;
}

.mon-stand {
  width: 60px;
  height: 28px;
  clip-path: none;
  background:
    linear-gradient(#0F0F45, #0F0F45) center top / 14px 16px no-repeat,
    linear-gradient(#9AA3BD, #9AA3BD) center bottom / 60px 12px no-repeat;
  border-radius: 0 0 3px 3px;
}

.queue {
  width: 78%;
  margin: var(--s2) auto 0;
}

/* Tafelkarte scannen: drei Karten im Wechsel */

.scan-station {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: var(--s2);
}

.card-slot .tafelkarte {
  width: min(100%, 380px);
  transform: rotate(-2deg);
}

.scan-person {
  height: 230px;
  width: auto;
}

@media (prefers-reduced-motion: no-preference) {
  .card-slot .tafelkarte {
    transition: transform .42s cubic-bezier(.4, 0, .2, 1), opacity .42s ease;
  }

  .card-slot .tafelkarte.card-out {
    transform: rotate(-9deg) translate(-30px, 24px);
    opacity: 0;
  }

  .card-slot .tafelkarte.card-in {
    animation: card-enter .42s cubic-bezier(.2, .8, .2, 1) both;
  }
}

@keyframes card-enter {
  from {
    transform: rotate(6deg) translate(40px, -16px);
    opacity: 0;
  }

  to {
    transform: rotate(-2deg);
    opacity: 1;
  }
}

.scan-result {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  min-height: 48px;
  margin-top: var(--s3);
  font-size: 17px;
  color: #1E2240;
}

.scan-result .pill {
  font-size: 15px;
  padding: 4px 12px;
}

.scan-hint {
  margin-top: var(--s1);
  font-size: 16px;
  color: var(--ink-soft);
  font-weight: 600;
}

@media (prefers-reduced-motion: no-preference) {
  .scan-result.is-done {
    animation: result-in .35s ease-out;
  }
}

.section-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s2) var(--s4);
  margin-top: var(--s6);
  font-size: 21px;
  font-weight: 600;
}

/* ---------- In der Verwaltung ---------- */

.card > h2 + .switch,
.card > h2 + .price {
  margin-top: var(--s5);
}

.switch h3,
.more-title,
.price h3,
.ops h3,
.origin h3 {
  font-size: clamp(26px, 2.2vw, 32px);
}

.switch-illu {
  width: 280px;
  margin-top: var(--s4);
}

.sheet-fig {
  position: relative;
  margin: 0;
}

.sheet-ico {
  width: 18px;
  height: 18px;
  flex: none;
  border: 2px solid #1C7C3C;
  border-radius: 3px;
  background:
    repeating-linear-gradient(to right, transparent 0 4px, #1C7C3C 4px 5px),
    repeating-linear-gradient(to bottom, transparent 0 3px, #1C7C3C 3px 4px),
    #E3F4E6;
}

.hh-list {
  margin: 0;
}

.hh-list .app-bar {
  border-bottom: 0;
}

.more-title {
  margin-top: var(--s6);
}

.icon-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s4) var(--s4);
  margin: var(--s4) 0 0;
  padding: 0;
  list-style: none;
}

.icon-grid img {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
}

.icon-grid h4 {
  font-size: 22px;
}

.icon-grid p {
  margin-top: 4px;
  font-size: 17px;
  line-height: 1.5;
}

/* Reiter-Mappe */

.mappe {
  margin-top: var(--s6);
}

.mappe-tabs {
  display: flex;
  gap: 6px;
  padding-left: 12px;
}

.mappe-tab {
  flex: 0 1 220px;
  min-height: 52px;
  padding: 8px 16px;
  border: 0;
  border-radius: 10px 10px 0 0;
  background: #F5C58A;
  color: var(--navy);
  font: 700 19px/1.2 var(--serif);
  text-align: center;
  cursor: pointer;
}

.mappe-tab:hover {
  background: #F9D5A6;
}

.mappe-tab[aria-selected="true"] {
  background: var(--card-white);
  min-height: 58px;
  margin-top: -6px;
}

.mappe-tab:focus-visible {
  outline-offset: -4px;
}

.mappe-panel {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: var(--s5);
  align-items: center;
  background: var(--card-white);
  border-radius: 10px;
  padding: var(--s5) clamp(20px, 4vw, 56px);
}

.mappe-panel + .mappe-panel {
  margin-top: var(--s3);
}

.mappe.is-tabs .mappe-panel {
  margin-top: 0;
  border-radius: 0 10px 10px 10px;
  min-height: 460px;
}

.mappe.is-tabs .mappe-text h4 {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.mappe-panel:focus-visible {
  outline-offset: 4px;
}

.mappe-text p {
  margin-top: var(--s2);
  max-width: 50ch;
}

.mappe.is-tabs .mappe-text p:first-of-type {
  margin-top: 0;
}

.mappe-text p:first-of-type {
  font-size: 21px;
}

.browsers {
  position: relative;
  min-height: 340px;
}

.browsers .win {
  position: absolute;
  width: 76%;
}

.browsers .win:first-child {
  top: 0;
  left: 0;
}

.browsers .win:last-child {
  bottom: 0;
  right: 0;
}

.paper-wrap {
  position: relative;
  padding-top: 18px;
}

.paper-list {
  width: min(100%, 480px);
  margin: 0 auto;
}

.wifi-off {
  top: 0;
}

.mappe-panel .phone,
.mappe-panel .win-wide {
  justify-self: center;
}

.win-wide {
  width: 100%;
}

.close-table th,
.close-table td {
  border-bottom: 0;
}

.close-table tbody tr:nth-child(odd) {
  background: var(--screen-bg);
}

.detail-link {
  margin-top: var(--s4);
}

.detail-link a,
.more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  font-weight: 700;
  font-size: 20px;
}

.detail-link svg {
  width: 24px;
  height: 24px;
  flex: none;
}

/* ---------- Für den Vorstand ---------- */

.price {
  align-items: center;
}

.price-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s4);
  margin-top: var(--s4);
}

.price-options p {
  margin-top: var(--s1);
}

.price-visual {
  position: relative;
  width: 100%;
  max-width: 420px;
  justify-self: end;
}

.price-tag {
  width: 230px;
  bottom: 24px;
}

.pt-foot {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}

.ops {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s5);
  margin-top: var(--s6);
}

.ops h3 {
  max-width: 24ch;
}

.origin {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: var(--s5);
  align-items: center;
  margin-top: var(--s6);
}

.origin-text p {
  margin-top: var(--s2);
  max-width: 58ch;
}

.origin-illu {
  max-width: 420px;
  justify-self: end;
}

/* Referenzband: ohne Rahmen, direkt auf dem Tisch */

.ref-band {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: var(--s3);
  align-items: center;
}

.ref-logo {
  aspect-ratio: 3 / 2;
  display: grid;
  place-items: center;
  background: #FFFFFF;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-soft);
  text-align: center;
  padding: 8px;
}

.ref-quote {
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.3;
}

/* ---------- Häufige Fragen: zugeklappt ---------- */

.faq {
  display: grid;
  gap: var(--s2);
  margin-top: var(--s4);
  max-width: 900px;
}

.faq details {
  background: rgb(255 255 255 / .6);
  border-radius: 10px;
}

.faq summary {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 64px;
  padding: 12px 20px;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::before {
  content: "+";
  flex: none;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: #FFFFFF;
  font: 700 24px/1 var(--sans);
}

.faq details[open] summary::before {
  content: "\2212";
}

.faq summary h3 {
  font-size: 24px;
}

.faq details p {
  padding: 0 20px 20px 68px;
  max-width: 70ch;
}

/* ---------- Demo und Kontakt ---------- */

.dk {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--s5);
}

.dk p {
  margin-top: var(--s2);
  max-width: 50ch;
}

.dk h2 {
  font-size: clamp(32px, 3vw, 44px);
}

.demo-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s3) var(--s4);
  margin-top: var(--s4);
}

.demo-actions .btn {
  min-height: 64px;
  font-size: 21px;
  padding: 0 34px;
}

.qr-card {
  display: flex;
  align-items: center;
  gap: var(--s2);
}

.qr-card .qr {
  width: 108px;
  flex: none;
  border-radius: 6px;
  overflow: hidden;
}

.dk .qr-card p {
  margin: 0;
  max-width: 20ch;
  font-size: 16px;
  line-height: 1.45;
}

.dk-illu {
  width: 100%;
  max-width: 440px;
  margin-top: var(--s4);
}

.contact-lines {
  margin: var(--s3) 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--s4);
}

.contact-lines a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  font-size: 21px;
  font-weight: 700;
}

.contact-lines svg {
  width: 26px;
  height: 26px;
  flex: none;
}

.form {
  margin-top: var(--s3);
  background: #FFFFFF;
  border-radius: 10px;
  padding: var(--s4);
  display: grid;
  gap: var(--s3);
}

.form textarea {
  min-height: 130px;
}

.form input,
.form textarea {
  border-color: #6B7196;
}

/* ---------- Fuß: Logos direkt auf dem dunklen Grund ---------- */

.footer {
  background: var(--navy);
  color: #FFFFFF;
  padding: var(--s5) 0 var(--s4);
  margin-top: var(--s4);
}

.footer a {
  color: #FFFFFF;
}

.footer :focus-visible {
  outline-color: #FFD84D;
}

.footer-brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--s2) var(--s3);
}

.footer-brand .logo {
  height: 40px;
  width: auto;
}

.footer-brand .by {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 17px;
  color: #D9DCF5;
}

.footer-brand .by a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
}

.footer-brand .by img {
  height: 36px;
  width: auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s1) var(--s3);
  margin: var(--s4) 0 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 6px;
  font-weight: 600;
}

.footer-find {
  margin-top: var(--s3);
  text-align: center;
  color: #D9DCF5;
}

/* ---------- Responsiv (v13) ---------- */

@media (max-width: 1100px) {
  .hero-grid,
  .feature,
  .pair,
  .switch,
  .price,
  .ops,
  .origin,
  .dk {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-grid {
    gap: var(--s4);
  }

  .hero-device {
    max-width: 680px;
    width: 100%;
    justify-self: center;
  }

  .feature-text p,
  .pair-item > p {
    max-width: 62ch;
  }

  .pair {
    gap: var(--s6);
  }

  .scan-zone,
  .monitor-wrap {
    max-width: 600px;
  }

  .icon-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mappe-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .mappe.is-tabs .mappe-panel {
    min-height: 0;
  }

  .price-visual {
    justify-self: start;
    max-width: 380px;
    margin-left: 72px;
  }

  .origin-illu,
  .dk-illu {
    justify-self: start;
    max-width: 360px;
  }

  .forwhom-head img {
    width: 220px;
    margin: -110px 0 0;
  }

  .audience {
    gap: var(--s4);
  }

  .audience > div,
  .audience > div:first-child {
    padding: 0;
    background: none;
  }
}

@media (max-width: 760px) {
  .nav-logo img {
    height: 24px;
  }

  .hero {
    padding: calc(68px + var(--s3)) 0 var(--s4);
  }

  .index-card {
    padding: var(--s3) var(--s3) var(--s4);
  }

  .hero h1 {
    font-size: clamp(34px, 9.4vw, 44px);
    hyphens: manual;
  }

  .hero-logo {
    height: 30px;
    margin-bottom: var(--s3);
  }

  .hero-device .tafelkarte {
    width: 190px;
    margin-right: 6%;
  }

  .tablet {
    padding: 8px 18px;
    border-radius: 18px;
  }

  .tablet .cam {
    left: 6px;
    width: 6px;
    height: 6px;
    margin-top: -3px;
  }

  .einlass .app-bar {
    font-size: 11px;
    padding: 7px 10px;
  }

  .einlass-body {
    padding: 10px;
    gap: 8px;
  }

  .einlass-left {
    gap: 7px;
  }

  .einlass .scan {
    font-size: 11px;
    padding: 4px 6px;
    gap: 5px;
    border-width: 1.5px;
  }

  .einlass .scan svg {
    width: 14px;
    height: 14px;
  }

  .einlass .hh-name {
    font-size: 13px;
  }

  .einlass .hh-meta {
    font-size: 11px;
    gap: 0 6px;
  }

  .einlass .chip {
    font-size: 10px;
    line-height: 16px;
    padding: 0 5px;
  }

  .einlass .app-btn {
    min-height: 30px;
    font-size: 12px;
    border-radius: 6px;
  }

  .einlass .state {
    grid-template-columns: 26px 1fr;
    gap: 6px;
    padding: 7px;
    border-width: 1.5px;
  }

  .einlass .state-light {
    width: 26px;
    height: 26px;
  }

  .einlass .state-light svg {
    width: 15px;
    height: 15px;
  }

  .einlass .state strong {
    font-size: 13px;
  }

  .einlass .state ul {
    font-size: 11px;
    margin-top: 3px;
  }

  .einlass .state li::before {
    width: 4px;
    height: 4px;
    margin-right: 4px;
  }

  .ref-band {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: var(--s2);
  }

  .ref-quote {
    font-size: 19px;
  }

  .ref-band .pruefen {
    font-size: 13px;
  }

  .forwhom-head img {
    display: none;
  }

  .forwhom-head {
    grid-template-columns: minmax(0, 1fr);
  }

  .screen-inner {
    padding-block: var(--s4) var(--s5);
  }

  .pair {
    margin-top: var(--s5);
    gap: var(--s5);
  }

  .scan-station {
    grid-template-columns: minmax(0, 1fr) 96px;
  }

  .scan-person {
    height: auto;
    width: 96px;
  }

  .queue {
    display: none;
  }

  .section-cta {
    margin-top: var(--s5);
    font-size: 19px;
  }

  .section-cta .btn {
    flex: 1 1 100%;
  }

  .sources li {
    font-size: 16px;
    min-height: 44px;
    padding: 4px 12px 4px 8px;
  }

  .switch-illu {
    display: none;
  }

  .icon-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--s3);
  }

  .icon-grid li {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    column-gap: var(--s2);
  }

  .icon-grid img {
    grid-row: 1 / span 2;
    width: 44px;
    height: 44px;
    margin: 2px 0 0;
  }

  .icon-grid h4 {
    font-size: 20px;
  }

  .icon-grid p {
    font-size: 16px;
  }

  .mappe {
    margin-top: var(--s5);
  }

  .mappe-tabs {
    flex-wrap: wrap;
    padding-left: 0;
    gap: 4px;
  }

  .mappe-tab {
    flex: 1 1 calc(50% - 4px);
    min-height: 48px;
    font-size: 17px;
    padding: 6px 8px;
    border-radius: 8px 8px 0 0;
  }

  .mappe-tab[aria-selected="true"] {
    min-height: 48px;
    margin-top: 0;
  }

  .mappe.is-tabs .mappe-panel {
    border-radius: 0 0 10px 10px;
  }

  .mappe-panel {
    padding: var(--s3) var(--s2) var(--s4);
    gap: var(--s3);
  }

  .mappe-text p:first-of-type {
    font-size: 18px;
  }

  .browsers {
    min-height: 300px;
  }

  .browsers .win {
    width: 86%;
  }

  .phone {
    width: 250px;
  }

  .price-options,
  .ops {
    grid-template-columns: minmax(0, 1fr);
  }

  .price-visual {
    margin-left: 0;
  }

  .price-illu {
    width: 72%;
  }

  .price-tag {
    position: relative;
    left: auto;
    bottom: auto;
    width: 220px;
    margin: -64px 0 0 auto;
  }

  .ops,
  .origin {
    margin-top: var(--s5);
  }

  .origin-illu {
    max-width: 260px;
  }

  .faq summary {
    padding: 10px 14px;
    gap: 12px;
  }

  .faq summary h3 {
    font-size: 20px;
  }

  .faq details p {
    padding: 0 14px 16px;
  }

  .qr-card {
    display: none;
  }

  .demo-actions .btn {
    flex: 1 1 100%;
  }

  .dk-illu {
    display: none;
  }

  .contact-lines a {
    font-size: 19px;
  }

  .form {
    padding: var(--s3);
  }

  .footer-brand .logo {
    height: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .js .nav-logo,
  .js .nav.show-logo .nav-logo {
    transition: none;
  }
}

/* v13: Nachsteuerung Länge */

.mappe-panel[hidden] {
  display: none;
}

.card {
  padding: clamp(28px, 5vw, 64px) clamp(20px, 5.4vw, 80px);
}

.ops {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s4);
  margin-top: var(--s5);
}

.ops .origin-text p {
  margin-top: var(--s2);
  font-size: 18px;
}

.ops .check-list {
  font-size: 18px;
}

.ops h3 {
  font-size: 25px;
}

.start-head img {
  width: 300px;
  margin: -150px 0 -30px;
}

.pair {
  margin-top: var(--s5);
}

.queue {
  width: 64%;
}

.section-cta {
  margin-top: var(--s5);
}

@media (max-width: 1100px) {
  .ops {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .ops .origin-text {
    grid-column: 1 / -1;
  }

  .start-head img {
    width: 200px;
    margin: -100px 0 0;
  }
}

@media (max-width: 760px) {
  .ops {
    grid-template-columns: minmax(0, 1fr);
  }

  .start-head img {
    display: none;
  }
}

@media (max-width: 760px) {
  .price-illu {
    display: none;
  }

  .price-tag {
    margin: var(--s3) 0 0;
  }
}

/* Zwischen 901 und 1100 px bleiben kurze Paare nebeneinander */
@media (min-width: 901px) and (max-width: 1100px) {
  .feature,
  .pair,
  .dk {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--s4);
  }

  .scan-person {
    height: 170px;
  }

  .mappe-panel {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--s4);
  }

  .mappe.is-tabs .mappe-panel {
    min-height: 440px;
  }
}

@media (min-width: 761px) and (max-width: 1000px) {
  .mappe-tab {
    font-size: 17px;
    padding: 8px 10px;
  }
}

.mappe-panel.mappe-solo {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
}

.mappe-solo .win-wide {
  max-width: 620px;
}

.mappe.is-tabs .mappe-solo .mappe-text {
  display: none;
}

/* ==========================================================================
   v14: Kopf als Fläche, Navigation am Fuß des ersten Bildschirms,
   Orientierungsleiste, gleiche Flächen für Einlass, Verwaltung, Vorstand
   ========================================================================== */

:root {
  --navh: 88px;
  --navh-stuck: 68px;
  --device: #2B2B64;
  --cam: #C3C8EC;
  --casing: #6B7196;
  --mono: "IBM Plex Mono", "Courier New", monospace;
}

html {
  scroll-padding-top: calc(var(--navh-stuck) + 16px);
}

/* ---------- Seitenkopf ---------- */

.hero {
  display: flex;
  flex-direction: column;
  min-height: calc(100svh - var(--navh));
  padding: var(--s3) 0 var(--s3);
  overflow: visible;
}

.hero > .wrap {
  flex: 1;
  display: flex;
  width: 100%;
}

.hero-surface {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: var(--s5);
  align-items: center;
  background: var(--card-blue);
  border-radius: 24px;
  padding: var(--s5) clamp(24px, 5vw, 72px) 0;
  overflow: hidden;
}

.hero-text {
  padding-bottom: var(--s5);
  align-self: center;
}

.hero-logo {
  height: 40px;
  width: auto;
  margin: 0 0 var(--s4);
}

.hero h1 {
  font-size: clamp(40px, 3.9vw, 58px);
  line-height: 1.02;
  max-width: none;
  hyphens: manual;
}

.hero h1 .nobr {
  white-space: nowrap;
}

.hero-lead {
  margin-top: var(--s3);
  max-width: 34ch;
  font-size: clamp(20px, 1.6vw, 23px);
  font-weight: 600;
  line-height: 1.45;
}

.hero-sub {
  margin-top: var(--s2);
  max-width: 42ch;
  color: var(--ink-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s2) var(--s4);
  margin-top: var(--s4);
}

.hero-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  font-size: 20px;
  font-weight: 700;
}

.hero-phone svg {
  width: 24px;
  height: 24px;
}

.hero-stage {
  position: relative;
  align-self: end;
  padding: var(--s3) 0 170px;
}

.hero-stage .tablet {
  width: 100%;
}

.hero-stage .tafelkarte {
  position: absolute;
  right: 0;
  bottom: 28px;
  width: 230px;
  transform: rotate(-3deg);
}

.hero-people {
  position: absolute;
  left: -8%;
  bottom: 0;
  width: 58%;
  max-width: 330px;
  z-index: 2;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-stage .tablet {
    animation: slide-in .9s cubic-bezier(.2, .8, .2, 1) .15s both;
  }

  .hero-stage .tafelkarte {
    animation: card-rise .8s cubic-bezier(.2, .8, .2, 1) .5s both;
  }

  .hero-stage .tafelkarte::after {
    content: "";
    position: absolute;
    left: 50%;
    right: 4%;
    top: 62%;
    height: 3px;
    border-radius: 2px;
    background: var(--coral);
    box-shadow: 0 0 10px 2px rgb(254 88 81 / .55);
    opacity: 0;
    animation: laser 1.1s ease-in-out 1.4s both;
  }

  .hero-stage .scan {
    animation: scanned .6s ease-out 2.4s both;
  }
}

/* ---------- Geräte: gleich zart gerahmt ---------- */

.tablet {
  position: relative;
  background: var(--device);
  border-radius: 18px;
  padding: 8px 8px 8px 22px;
  box-shadow: 0 18px 36px -20px rgb(24 24 101 / .55);
}

.tablet .cam {
  left: 7px;
  width: 9px;
  height: 9px;
  margin-top: -4.5px;
  background: var(--cam);
  box-shadow: 0 0 0 2px rgb(195 200 236 / .25);
}

.tablet .screen {
  border-radius: 11px;
}

.phone {
  width: 270px;
  background: var(--device);
  border-radius: 36px;
  padding: 8px;
}

.phone .screen {
  position: relative;
  border-radius: 29px;
  padding: 30px 0 24px;
}

.phone .notch {
  top: 10px;
  width: 76px;
  height: 20px;
  margin-left: -38px;
  background: var(--device);
}

.phone .homebar {
  bottom: 9px;
}

/* ---------- Navigation ---------- */

.nav {
  position: sticky;
  inset: auto;
  top: 0;
  z-index: 50;
  background: #FFFFFF;
  box-shadow: 0 -1px 0 rgb(24 24 101 / .06), 0 6px 18px -10px rgb(24 24 101 / .25);
}

.nav-sentinel {
  height: 0;
}

.nav-inner {
  height: var(--navh);
  display: flex;
  align-items: center;
  gap: var(--s3);
  transition: height .25s ease;
}

.nav.is-stuck .nav-inner {
  height: var(--navh-stuck);
}

.nav nav {
  margin: 0 auto;
}

.nav-links {
  display: flex;
  gap: var(--s2);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 18px 0 8px;
  border-radius: 99px;
  font-size: 19px;
  font-weight: 700;
  text-decoration: none;
}

.nav-links a:hover {
  background: var(--desk);
}

.nav-ico {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #FFE3E1;
  color: var(--navy);
  flex: none;
}

.nav-ico svg {
  width: 22px;
  height: 22px;
}

.nav-next {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding-right: 10px;
  font-weight: 700;
  text-decoration: none;
}

.nav-next-ico {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: #FFFFFF;
}

.nav-next-ico svg {
  width: 26px;
  height: 26px;
}

@media (prefers-reduced-motion: no-preference) {
  .nav:not(.is-stuck) .nav-next-ico svg {
    animation: nudge 1.8s ease-in-out infinite;
  }
}

@keyframes nudge {
  0%,
  60%,
  100% {
    transform: none;
  }

  30% {
    transform: translateY(5px);
  }
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
}

.nav-logo img {
  height: 26px;
  width: auto;
}

.nav-demo {
  min-height: 48px;
  padding: 0 20px;
  font-size: 18px;
  box-shadow: 0 3px 0 var(--navy);
}

.js .nav-logo,
.js .nav-demo,
.js .nav.show-demo .nav-demo,
.js .nav.show-logo .nav-logo {
  display: none;
  opacity: 1;
  visibility: visible;
  transform: none;
}

.js .nav.is-stuck .nav-logo,
.js .nav.is-stuck .nav-demo {
  display: inline-flex;
}

.js .nav.is-stuck .nav-next {
  display: none;
}

.js .nav.is-stuck nav {
  margin: 0 0 0 auto;
}

.js .nav.is-stuck .nav-links a {
  min-height: 48px;
  font-size: 17px;
}

.js .nav.is-stuck .nav-ico {
  width: 34px;
  height: 34px;
}

@media (prefers-reduced-motion: no-preference) {
  .js .nav.is-stuck .nav-logo,
  .js .nav.is-stuck .nav-demo {
    animation: fade-in .3s ease both;
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
}

/* ---------- Orientierungsleiste ---------- */

.rail ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.rail a {
  text-decoration: none;
}

.rail-no {
  font-variant-numeric: tabular-nums;
}

.js body:not(.is-stuck) .rail {
  opacity: 0;
  visibility: hidden;
}

.rail {
  position: fixed;
  z-index: 40;
  transition: opacity .3s ease, visibility 0s;
}

@media (min-width: 1360px) {
  .rail {
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
  }

  .rail ol {
    position: relative;
    display: grid;
    gap: 14px;
  }

  .rail ol::before {
    content: "";
    position: absolute;
    left: 19px;
    top: 20px;
    bottom: 20px;
    width: 2px;
    background: #C9D2E0;
  }

  .rail a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 40px;
  }

  .rail-no {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #FFFFFF;
    color: var(--navy);
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 0 0 2px #181865;
  }

  .rail a:hover .rail-no {
    box-shadow: 0 0 0 2px var(--navy);
  }

  .rail a[aria-current] .rail-no {
    background: var(--coral);
    box-shadow: none;
  }

  .rail-name {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}

@media (min-width: 1700px) {
  .rail-name {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    font-size: 15px;
    font-weight: 600;
    color: var(--ink-soft);
  }

  .rail a[aria-current] .rail-name {
    color: var(--navy);
    font-weight: 700;
  }
}

/* Unter 1360 px: schmaler Streifen am linken Rand */
@media (max-width: 1359px) {
  .rail {
    left: 0;
    top: var(--navh-stuck);
    bottom: 0;
    width: 6px;
  }

  .rail ol {
    display: flex;
    flex-direction: column;
    gap: 3px;
    height: 100%;
  }

  .rail li {
    flex: 1;
  }

  .rail a {
    display: block;
    height: 100%;
    background: #C9D2E0;
  }

  .rail a[aria-current] {
    background: var(--coral);
  }

  .rail-no,
  .rail-name {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}

/* ---------- Karten ---------- */

.box {
  padding-top: var(--s3);
}

.tab:empty {
  width: 120px;
}

.audience {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s4);
}

.audience p {
  font-size: 18px;
}

.card > h2 + .feature {
  padding-top: var(--s4);
}

/* Einlass */

.feature {
  align-items: start;
}

.feature + .pair,
.pair + .feature,
.feature + .feature {
  margin-top: var(--s6);
}

.ampel-list {
  display: grid;
  grid-template-columns: auto auto auto;
  row-gap: 12px;
  width: max-content;
  max-width: 100%;
  justify-self: start;
}

.ampel-list .state {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: subgrid;
  column-gap: 18px;
  padding: 12px 20px 12px 12px;
}

.ampel-list .state-light {
  width: 50px;
  height: 50px;
}

.ampel-list .state-light svg {
  width: 32px;
  height: 32px;
}

.ampel-list .note {
  text-align: left;
  font-size: 15px;
}

.scan-hint {
  margin: 0 0 var(--s2);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
}

.scan-result {
  min-height: 56px;
}

.monitor {
  background: var(--casing);
  border-radius: 14px;
  padding: 14px;
}

.mon-screen {
  border-radius: 4px;
}

.mon-head {
  background: none;
  padding: 12px 18px 0;
  color: #C9CCF0;
}

.mon-next {
  border-top: 0;
  padding-top: 4px;
}

.mon-next-nums {
  display: flex;
  gap: 18px;
  font-size: 26px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.mon-foot {
  display: grid;
  justify-items: center;
}

.mon-neck {
  width: 26px;
  height: 44px;
  background: var(--casing);
}

.mon-base {
  width: 170px;
  height: 16px;
  border-radius: 8px 8px 3px 3px;
  background: var(--casing);
}

.feature-pay .win {
  max-width: 560px;
}

/* Mehrere Ausgabestellen: Stadtplan */

.plan {
  position: relative;
  width: 100%;
  max-width: 600px;
  aspect-ratio: 800 / 680;
}

.plan-bild {
  width: 100%;
  height: 100%;
  border-radius: 16px;
}

.pin-kopf {
  display: inline-block;
  flex: none;
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 50% 50% 50% 0;
  background: var(--coral);
  border: 3px solid #FFFFFF;
  transform: rotate(-45deg);
  box-shadow: -2px 3px 0 rgb(24 24 101 / .25);
}

.pin-kopf::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #FFFFFF;
}

.pin-kopf--orange {
  background: #E88A1A;
}

.pin-kopf--gruen {
  background: var(--tafel-green);
}

.pin-schild {
  display: inline-block;
  background: var(--navy);
  color: #FFFFFF;
  font: 700 15px/1.2 var(--sans);
  padding: 6px 10px;
  border-radius: 6px;
  white-space: nowrap;
}

.pin {
  position: absolute;
  left: var(--x);
  top: var(--y);
  display: flex;
  align-items: center;
  gap: 6px;
  transform: translate(-16px, -40px);
}

.bubble {
  position: absolute;
  left: 4%;
  top: 30%;
  width: 250px;
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 12px 24px -12px rgb(24 24 101 / .5);
  font-size: 15px;
  line-height: 1.35;
  color: #1E2240;
}

.bubble::before {
  content: "";
  position: absolute;
  left: 58px;
  top: -12px;
  border: 12px solid transparent;
  border-top: 0;
  border-bottom-color: #FFFFFF;
}

.bubble-head {
  display: block;
  padding: 8px 14px 0;
  font-size: 13px;
  font-weight: 700;
  color: #545A7D;
}

.bubble-body {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 14px 12px;
}

.mini-ampel {
  display: grid;
  gap: 4px;
  padding: 5px;
  border-radius: 8px;
  background: #1E2240;
  flex: none;
}

.mini-ampel i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
}

.mini-ampel .r {
  background: #6B2A2A;
}

.mini-ampel .y {
  background: #6B5A1E;
}

.mini-ampel .g {
  background: #3DDC6E;
  box-shadow: 0 0 8px 1px rgb(61 220 110 / .7);
}

/* Demo-Hinweis nach dem Einlass */

.demo-hint {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s2) var(--s4);
  margin-top: var(--s5);
  padding: 0 clamp(20px, 5.4vw, 80px);
}

.demo-hint h3 {
  flex-basis: 100%;
  font-size: clamp(26px, 2.2vw, 32px);
}

.demo-hint p {
  font-size: 20px;
}

/* Verwaltung: Reiter-Mappe auf weißer Karte */

.mappe-tab {
  background: #D6DEEA;
}

.mappe-tab:hover {
  background: #E3E9F2;
}

.mappe-tab[aria-selected="true"],
.mappe-panel {
  background: #EEF2F8;
}

.adresse-bild {
  position: relative;
}

.ort-pin {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.ort-pin .pin-kopf {
  width: 28px;
  height: 28px;
}

.fenster-paar {
  position: relative;
  width: min(100%, 520px);
  height: 300px;
}

.fenster {
  position: absolute;
  width: 80%;
}

.fenster--hinten {
  right: 0;
  top: 0;
}

.fenster--vorn {
  left: 0;
  top: 76px;
}

.fe-inhalt {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px 16px;
  font-size: 14px;
  color: #454B6E;
}

.fe-inhalt strong {
  font-size: 16px;
  color: #1E2240;
}

.fe-logo {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--coral) 50%, #F59A2C 50%);
}

.fe-logo--orange {
  background: linear-gradient(135deg, var(--tafel-green) 50%, #7CC36B 50%);
}

.fe-feld {
  display: block;
  height: 30px;
  border: 1.5px solid #B8BFD2;
  border-radius: 6px;
  background: #FFFFFF;
}

.fe-knopf {
  align-self: start;
  padding: 6px 16px;
  border-radius: 6px;
  background: var(--tafel-green);
  color: #FFFFFF;
  font-weight: 700;
}

/* Vorstand: Kassenbon */

.price {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: var(--s5);
  align-items: start;
}

.bon-wrap {
  filter: drop-shadow(0 10px 12px rgb(24 24 101 / .22));
  max-width: 420px;
  width: 100%;
  transform: rotate(-1.5deg);
}

.bon {
  --z: 14px;

  background: #FFFDF6;
  padding: 44px 32px 40px;
  font-family: var(--mono);
  font-size: 16px;
  line-height: 1.5;
  color: var(--navy);
  container-type: inline-size;
  -webkit-mask:
    conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / var(--z) 51% repeat-x,
    conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / var(--z) 51% repeat-x;
  mask:
    conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / var(--z) 51% repeat-x,
    conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / var(--z) 51% repeat-x;
}

.bon-kopf {
  display: grid;
  justify-items: center;
  gap: 4px;
  text-align: center;
  font-size: 14px;
}

.bon-kopf img {
  height: 30px;
  width: auto;
}

.bon-trenn {
  border: 0;
  border-top: 2px dashed #9A9AC0;
  margin: 18px 0;
}

.bon-zeile,
.bon-summe {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.bon-zeile span:last-child,
.bon-summe span:last-child {
  text-align: right;
  white-space: nowrap;
}

.bon-zeile + .bon-zeile {
  margin-top: 6px;
}

.bon-summe {
  font-weight: 600;
  font-size: 21px;
  line-height: 1.3;
}

.bon-code {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.bon-code .barcode {
  width: 78cqw;
}

.bon-code .barcode svg {
  height: 52px;
}

.bon-code .barcode span {
  font-size: 13px;
  letter-spacing: .2em;
}

.price-text .card-intro {
  font-size: 21px;
}

.price-options {
  margin-top: var(--s4);
}

/* So starten Sie: Breite nach Zeit, Schritt 4 als Logo-Zeichen */

.steps li:nth-child(1) {
  --w: 66px;
}

.steps li:nth-child(2) {
  --w: 14px;
}

.steps li:nth-child(3) {
  --w: 36px;
}

.step-mark {
  display: block;
  width: 132px;
  height: 132px;
  background: var(--coral);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 340 340'%3E%3Crect width='110' height='340'/%3E%3Crect x='140' width='28' height='340'/%3E%3Crect x='208' width='64' height='340'/%3E%3Crect x='312' width='28' height='340'/%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 340 340'%3E%3Crect width='110' height='340'/%3E%3Crect x='140' width='28' height='340'/%3E%3Crect x='208' width='64' height='340'/%3E%3Crect x='312' width='28' height='340'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
}

.card-green .start-head img {
  width: 300px;
}

/* ---------- Responsiv v14 ---------- */

@media (max-width: 1100px) {
  .audience {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .price {
    grid-template-columns: minmax(0, 1fr);
  }

  .bon-wrap {
    justify-self: start;
  }
}

@media (max-width: 900px) {
  .hero-surface {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--s3);
  }

  .hero-text {
    padding-bottom: 0;
  }

  .hero-stage {
    max-width: 620px;
    width: 100%;
    justify-self: center;
  }

  .nav-links a {
    font-size: 17px;
    padding-right: 12px;
  }

  .nav-next-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
}

@media (max-width: 760px) {
  :root {
    --navh: 76px;
    --navh-stuck: 60px;
  }

  .hero {
    padding-top: var(--s2);
  }

  .hero-surface {
    border-radius: 16px;
    padding: var(--s4) var(--s3) 0;
  }

  .hero h1 {
    font-size: clamp(34px, 9.6vw, 42px);
  }

  .hero h1 .nobr {
    white-space: normal;
  }

  .hero-logo {
    height: 30px;
    margin-bottom: var(--s3);
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .hero-stage {
    padding: var(--s2) 0 130px;
  }

  .hero-stage .tafelkarte {
    width: 170px;
    bottom: 18px;
  }

  .hero-people {
    width: 56%;
    left: -6%;
  }

  .tablet {
    padding: 6px 6px 6px 16px;
    border-radius: 14px;
  }

  .tablet .cam {
    left: 5px;
    width: 7px;
    height: 7px;
    margin-top: -3.5px;
  }

  .tablet .screen {
    border-radius: 8px;
  }

  .nav-inner {
    gap: 6px;
  }

  .nav-links {
    gap: 2px;
  }

  .nav-links a {
    flex-direction: column;
    gap: 2px;
    min-height: 56px;
    padding: 4px 6px;
    font-size: 13px;
    border-radius: 12px;
  }

  .nav-ico {
    width: 32px;
    height: 32px;
  }

  .nav-ico svg {
    width: 18px;
    height: 18px;
  }

  .nav-next-ico {
    width: 44px;
    height: 44px;
  }

  .js .nav.is-stuck .nav-links a {
    min-height: 48px;
    font-size: 12px;
  }

  .js .nav.is-stuck .nav-ico {
    width: 28px;
    height: 28px;
  }

  .nav-logo img {
    height: 18px;
  }

  .nav-demo {
    min-height: 44px;
    padding: 0 12px;
    font-size: 15px;
  }

  .nav-demo.btn-code::before {
    display: none;
  }

  .audience {
    grid-template-columns: minmax(0, 1fr);
  }

  .ampel-list {
    grid-template-columns: auto minmax(0, 1fr);
    width: 100%;
  }

  .ampel-list .state {
    column-gap: 12px;
    padding: 10px 12px;
  }

  .ampel-list .state-light {
    width: 42px;
    height: 42px;
  }

  .ampel-list .state-light svg {
    width: 26px;
    height: 26px;
  }

  .ampel-list .note {
    grid-column: 2;
  }

  .feature + .pair,
  .pair + .feature,
  .feature + .feature {
    margin-top: var(--s5);
  }

  .pin-schild {
    font-size: 12px;
    padding: 4px 7px;
  }

  .pin-kopf {
    width: 24px;
    height: 24px;
    border-width: 2px;
  }

  .pin {
    transform: translate(-12px, -30px);
  }

  .bubble {
    width: 196px;
    font-size: 13px;
    left: 2%;
  }

  .bubble-body {
    gap: 10px;
    padding: 6px 10px 10px;
  }

  .mini-ampel i {
    width: 11px;
    height: 11px;
  }

  .demo-hint {
    padding: 0 var(--s2);
  }

  .demo-hint .btn {
    flex: 1 1 100%;
  }

  .fenster-paar {
    height: 270px;
  }

  .fenster {
    width: 86%;
  }

  .phone {
    width: 250px;
  }

  .bon {
    padding: 36px 20px 32px;
    font-size: 14px;
  }

  .bon-summe {
    font-size: 18px;
  }

  .mon-next-nums {
    gap: 12px;
    font-size: 22px;
  }

  .mon-base {
    width: 130px;
  }

  .step-mark {
    width: 58px;
    height: 58px;
  }

  .steps li.step-last .step-mark {
    grid-row: 1 / span 3;
  }
}

@media (max-width: 420px) {
  .nav-next {
    display: none;
  }
}

.nav-demo {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.ampel-list .note {
  white-space: nowrap;
}

.bubble {
  top: 38%;
}

@media (min-width: 901px) {
  .hero-surface {
    grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  }
}

.hero {
  padding: var(--s2) 0;
}

.hero-surface {
  padding-top: var(--s4);
}

.hero-logo {
  margin-bottom: var(--s3);
}

.hero-stage {
  padding-bottom: 150px;
}

.hero-people {
  width: 44%;
  left: -6%;
}

.hero-stage .einlass-body {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
}

.hero-stage .hh-name {
  font-size: 20px;
}

.hero-stage .state strong {
  font-size: 19px;
}

@media (max-width: 760px) {
  .pin--markt {
    flex-direction: row-reverse;
    transform: translate(calc(-100% + 12px), -30px);
  }

  .ampel-list .note {
    white-space: normal;
  }

  .hero-stage {
    padding-bottom: 120px;
  }

  .hero-people {
    width: 50%;
  }

  .hero-stage .hh-name {
    font-size: 13px;
  }

  .hero-stage .state strong {
    font-size: 13px;
  }
}

.nav-demo {
  white-space: nowrap;
}

.nav-demo-more {
  white-space: pre;
}

@media (max-width: 480px) {
  .nav-demo-more {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
}

@media (max-width: 900px) {
  .nav-demo-more {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .hero-stage {
    padding-bottom: 200px;
  }

  .hero-people {
    width: 38%;
    left: -2%;
  }
}

@media (max-width: 760px) {
  .hero-stage {
    padding-bottom: 150px;
  }

  .hero-people {
    width: 46%;
  }
}

/* ==========================================================================
   v14 Korrektur Seitenkopf: Aufteilung wie v9, weiß vor Blau
   ========================================================================== */

.hero {
  background: var(--navy);
  padding: var(--s3) 0;
}

.hero-surface {
  background: #FFFFFF;
  align-items: end;
  padding: var(--s4) clamp(24px, 5vw, 72px) 0;
}

.hero-text {
  padding-bottom: var(--s5);
}

.hero-stage {
  align-self: end;
  padding: 44px 0 0;
  display: flex;
  flex-direction: column;
}

.hero-stage .tablet {
  position: relative;
  z-index: 1;
}

.hero-people {
  position: relative;
  left: auto;
  bottom: auto;
  z-index: 2;
  width: 60%;
  max-width: 360px;
  margin: -46px 0 0 -10%;
}

.tablet {
  padding-left: 30px;
}

.tablet .cam {
  left: 9px;
  width: 13px;
  height: 13px;
  margin-top: -6.5px;
}

@media (min-width: 901px) {
  .hero-surface {
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  }
}

@media (max-width: 900px) {
  .hero-stage {
    padding: var(--s2) 0 0;
    max-width: 620px;
  }

  .hero-people {
    width: 46%;
    margin-left: -4%;
  }
}

@media (max-width: 760px) {
  .hero {
    padding: var(--s2) 0;
  }

  .hero-surface {
    padding: var(--s4) var(--s3) 0;
  }

  .hero-text {
    padding-bottom: 0;
  }

  .hero-people {
    width: 58%;
    margin-top: -26px;
  }

  .tablet {
    padding-left: 20px;
  }

  .tablet .cam {
    left: 6px;
    width: 9px;
    height: 9px;
    margin-top: -4.5px;
  }
}

/* Kopf: beide Spalten füllen die Höhe, das Tablet wächst mit */
@media (min-width: 901px) {
  .hero-surface {
    align-items: stretch;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  }

  .hero-text {
    align-self: center;
    padding: var(--s3) 0 var(--s5);
  }

  .hero-stage {
    align-self: stretch;
    justify-content: flex-end;
    padding-top: 64px;
  }

  .hero-stage .tablet {
    flex: 1 1 auto;
    display: flex;
    min-height: 300px;
    max-height: 540px;
  }

  .hero-stage .tablet .screen {
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  .hero-stage .einlass-body {
    flex: 1;
    align-content: start;
    gap: 20px;
    padding: 24px;
  }

  .hero-stage .einlass-left {
    gap: 16px;
  }

  .hero-stage .hh-name {
    font-size: 23px;
  }

  .hero-stage .state strong {
    font-size: 22px;
  }

  .hero-stage .state ul {
    font-size: 16px;
    gap: 4px;
  }

  .hero-people {
    flex: none;
    width: 58%;
    max-width: 380px;
    margin: -64px 0 0 -9%;
  }
}

/* Navigation: Punkte zentriert, Pfeil nach unten bis die Leiste klebt */
.nav-caret {
  width: 18px;
  height: 18px;
  margin-left: -4px;
  color: var(--coral);
  flex: none;
}

.nav.is-stuck .nav-caret {
  display: none;
}

@media (prefers-reduced-motion: no-preference) {
  .nav:not(.is-stuck) .nav-caret {
    animation: nudge 1.8s ease-in-out infinite;
  }
}

.hero h1 {
  font-size: clamp(40px, 3.5vw, 52px);
}

@media (min-width: 901px) {
  .hero-stage .einlass-body > * {
    min-width: 0;
  }

  .hero-stage .state {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 10px;
  }

  .hero-stage .state-light {
    width: 40px;
    height: 40px;
  }

  .hero-stage .state-light svg {
    width: 24px;
    height: 24px;
  }

  .hero-stage .state strong {
    font-size: 20px;
  }
}

@media (max-width: 760px) {
  .nav-links a {
    position: relative;
  }

  .nav-caret {
    position: absolute;
    right: -2px;
    top: 10px;
    width: 14px;
    height: 14px;
  }

  .hero h1 {
    font-size: clamp(34px, 9.6vw, 42px);
  }
}

/* So starten Sie mit den häufigen Fragen auf einer Karte */
.faq-title {
  margin-top: var(--s6);
  font-size: clamp(26px, 2.2vw, 32px);
}

.faq summary h4 {
  font-size: 24px;
  line-height: 1.2;
}

.faq details {
  background: rgb(255 255 255 / .65);
}

@media (max-width: 760px) {
  .faq-title {
    margin-top: var(--s5);
  }

  .faq summary h4 {
    font-size: 20px;
  }
}

/* ==========================================================================
   v14 Nachträge: Ampel kleiner, Tablet mit festen Proportionen,
   Kopffläche mit gleichmäßigem Rand, Reiter an fester Stelle
   ========================================================================== */

/* Ampel-Skizze auf 66 %, kleinste Schrift 12 px */
.ampel-list {
  row-gap: 8px;
}

.ampel-list .state {
  column-gap: 12px;
  padding: 8px 14px 8px 8px;
  border-width: 1.5px;
  border-radius: 7px;
}

.ampel-list .state-light {
  width: 33px;
  height: 33px;
}

.ampel-list .state-light svg {
  width: 21px;
  height: 21px;
}

.ampel-list .who {
  font-size: 12px;
  line-height: 1.35;
}

.ampel-list .who b {
  font-size: 12px;
}

.ampel-list .note {
  font-size: 12px;
}

.ampel-list .chip {
  font-size: 12px;
  line-height: 16px;
  padding: 0 5px;
}

@media (max-width: 760px) {
  .ampel-list .state {
    column-gap: 10px;
    padding: 8px 10px;
  }

  .ampel-list .state-light {
    width: 33px;
    height: 33px;
  }

  .ampel-list .state-light svg {
    width: 21px;
    height: 21px;
  }
}

/* Tablet im Kopf: feste Proportion, Bildschirm 4:3 */
.hero-stage .tablet,
.hero-stage .tablet .screen {
  max-height: none;
  min-height: 0;
}

.hero-stage .tablet {
  flex: none;
  display: block;
}

.hero-stage .tablet .screen {
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hero-stage .einlass-body {
  flex: 1;
  display: grid;
  align-items: stretch;
  align-content: stretch;
}

.hero-stage .einlass-left {
  display: flex;
  flex-direction: column;
}

.hero-stage .einlass-left .app-btn {
  margin-top: auto;
}

.hero-stage .einlass .state {
  align-self: stretch;
  align-content: start;
}

@media (min-width: 901px) {
  .hero-stage .einlass-body {
    padding: 24px 24px 40px;
  }

  .hero-people {
    margin-top: -30px;
  }
}

@media (max-width: 900px) {
  .hero-stage .einlass-body {
    padding-bottom: 26px;
  }

  .hero-people {
    margin-top: -22px;
  }
}

/* Kopffläche: dunkelblauer Rand rundum gleich breit, Inhalt in Lesebreite */
.hero {
  padding: 24px;
}

.hero > .wrap {
  max-width: none;
  padding: 0;
}

.hero-surface {
  padding-left: max(clamp(24px, 5vw, 72px), calc((100% - 1240px) / 2 + 48px));
  padding-right: max(clamp(24px, 5vw, 72px), calc((100% - 1240px) / 2 + 48px));
}

@media (max-width: 760px) {
  .hero {
    padding: 12px;
  }

  .hero-surface {
    padding-left: var(--s3);
    padding-right: var(--s3);
  }
}

/* Reiter der Abschnitte: alle an derselben Stelle, gleich breit */
.card {
  border-radius: 8px;
}

.card > .tab {
  left: clamp(20px, 5.4vw, 80px);
  width: 120px;
}

@media (max-width: 760px) {
  .card > .tab {
    width: 96px;
  }
}

@media (min-width: 901px) {
  .hero-stage {
    padding-top: 24px;
  }

  .hero-people {
    width: 50%;
  }
}

@media (min-width: 901px) and (max-width: 1180px) {
  .hero-stage .einlass-body {
    padding: 14px 14px 30px;
    gap: 12px;
  }

  .hero-stage .einlass-left {
    gap: 8px;
  }

  .hero-stage .app-bar {
    font-size: 13px;
    padding: 8px 12px;
  }

  .hero-stage .scan {
    font-size: 13px;
    padding: 6px 8px;
  }

  .hero-stage .hh-name {
    font-size: 17px;
  }

  .hero-stage .hh-meta {
    font-size: 13px;
  }

  .hero-stage .app-btn {
    min-height: 40px;
    font-size: 15px;
  }

  .hero-stage .state {
    grid-template-columns: 30px minmax(0, 1fr);
    padding: 10px;
  }

  .hero-stage .state-light {
    width: 30px;
    height: 30px;
  }

  .hero-stage .state-light svg {
    width: 18px;
    height: 18px;
  }

  .hero-stage .state strong {
    font-size: 16px;
  }

  .hero-stage .state ul {
    font-size: 13px;
    gap: 2px;
  }
}

/* ==========================================================================
   v15: Flächen und Reiter eckig. Geräte, Knöpfe und Schildchen bleiben rund.
   ========================================================================== */

.card,
.card > .tab,
.tab,
.hero-surface,
.mappe-tab,
.mappe-panel,
.mappe.is-tabs .mappe-panel,
.faq details,
.form,
.ref-logo,
.plan-bild {
  border-radius: 0;
}

/* ==========================================================================
   v15: Tablet im Kopf mit kräftigerem Rahmen, Inhalt proportional zum 4:3-Bildschirm
   ========================================================================== */

.hero-stage .tablet {
  padding: 14px 14px 14px 36px;
  border-radius: 24px;
}

.hero-stage .tablet .cam {
  left: 12px;
  width: 14px;
  height: 14px;
  margin-top: -7px;
}

.hero-stage .tablet .screen {
  border-radius: 10px;
}

/* Alle Maße in em, die Grundschrift wächst mit der Bildschirmbreite */
.hero-stage .einlass {
  container-type: inline-size;
}

.hero-stage .einlass .app-bar,
.hero-stage .einlass-body {
  font-size: 3.3cqw;
}

.hero-stage .einlass .app-bar {
  padding: .6em 1.1em;
}

.hero-stage .einlass .app-bar span {
  font-size: .85em;
}

.hero-stage .einlass-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: .6em;
  padding: 1em 1.1em 1.3em;
}

.hero-stage .einlass-left {
  display: contents;
}

.hero-stage .einlass .scan {
  order: 1;
  align-self: flex-start;
  gap: .5em;
  padding: .35em .8em;
  font-size: .85em;
  border-width: 2px;
}

.hero-stage .einlass .scan svg {
  width: 1.3em;
  height: 1.3em;
}

.hero-stage .einlass .hh-name {
  order: 2;
  font-size: 1.45em;
  line-height: 1.1;
  white-space: nowrap;
}

.hero-stage .einlass .hh-meta {
  order: 3;
  margin-top: -.3em;
  gap: 0 1em;
  font-size: .85em;
  white-space: nowrap;
}

.hero-stage .einlass .chip {
  font-size: .9em;
  line-height: 1.5;
  padding: 0 .5em;
}

.hero-stage .einlass .state {
  order: 4;
  align-self: stretch;
  height: auto;
  grid-template-columns: 2.4em minmax(0, 1fr);
  gap: .8em;
  padding: .8em 1em;
  border-width: 2px;
}

.hero-stage .einlass .state-light {
  width: 2.4em;
  height: 2.4em;
}

.hero-stage .einlass .state-light svg {
  width: 1.4em;
  height: 1.4em;
}

.hero-stage .einlass .state strong {
  font-size: 1.2em;
}

.hero-stage .einlass .state ul {
  margin-top: .2em;
  gap: .1em;
  font-size: .85em;
}

.hero-stage .einlass .state li {
  white-space: nowrap;
}

.hero-stage .einlass .state li::before {
  width: .4em;
  height: .4em;
  margin-right: .5em;
}

.hero-stage .einlass .app-btn {
  order: 5;
  margin-top: 0;
  min-height: 2.5em;
  font-size: 1em;
  border-radius: .5em;
}

@media (max-width: 760px) {
  .hero-stage .tablet {
    padding: 9px 9px 9px 24px;
    border-radius: 18px;
  }

  .hero-stage .tablet .cam {
    left: 8px;
    width: 10px;
    height: 10px;
    margin-top: -5px;
  }

  .hero-stage .einlass .state,
  .hero-stage .einlass .scan {
    border-width: 1.5px;
  }
}

/* v15: Tablet auf 70 %, oben auf Höhe der Überschrift, Menschen frei darunter */
.hero-stage .tablet {
  width: 70%;
  padding: 10px 10px 10px 25px;
  border-radius: 17px;
}

.hero-stage .tablet .cam {
  left: 8px;
  width: 10px;
  height: 10px;
  margin-top: -5px;
}

.hero-stage .tablet .screen {
  border-radius: 7px;
}

.hero-people {
  margin-top: var(--s3);
}

@media (min-width: 901px) {
  .hero-text {
    align-self: start;
    padding-top: var(--s4);
  }

  .hero-stage {
    justify-content: space-between;
    padding-top: calc(var(--s4) + 64px);
  }

  .hero-stage .tablet {
    align-self: flex-start;
  }

  .hero-people {
    align-self: flex-end;
    width: 52%;
    margin: var(--s3) 4% 0 0;
  }
}

@media (max-width: 900px) {
  .hero-stage .tablet {
    width: 80%;
  }

  .hero-people {
    align-self: flex-end;
    margin-top: var(--s2);
  }
}

@media (max-width: 760px) {
  .hero-stage .tablet {
    width: 100%;
    padding: 8px 8px 8px 20px;
    border-radius: 14px;
  }

  .hero-stage .tablet .cam {
    left: 6px;
    width: 8px;
    height: 8px;
    margin-top: -4px;
  }
}

/* Menschengruppe füllt die Höhe unter dem Tablet */
@media (min-width: 901px) {
  .hero-people {
    flex: 1 1 0;
    min-height: 0;
    align-self: stretch;
    width: 100%;
    max-width: none;
    height: auto;
    margin: var(--s4) 0 0;
    object-fit: contain;
    object-position: 70% 100%;
  }
}

/* v15 Nachjustierung: Tablet 90 % des Stands vor der Verkleinerung, Menschen 90 % */
@media (min-width: 901px) {
  .hero-stage {
    justify-content: flex-start;
    padding-top: var(--s4);
  }

  .hero-stage .tablet {
    width: 90%;
    padding: 13px 13px 13px 32px;
    border-radius: 22px;
  }

  .hero-stage .tablet .cam {
    left: 11px;
    width: 13px;
    height: 13px;
    margin-top: -6.5px;
  }

  .hero-stage .tablet .screen {
    border-radius: 9px;
  }

  .hero-people {
    flex: none;
    align-self: flex-end;
    width: auto;
    height: 247px;
    margin: auto 4% 0 0;
  }
}

@media (min-width: 901px) and (max-width: 1180px) {
  .hero-people {
    height: 317px;
  }
}

@media (min-width: 1700px) {
  .hero-people {
    height: 409px;
  }
}

/* ==========================================================================
   h10 Strichcode: Seitenkopf auf weißem Grund, rechts große blasse Striche
   in den Breiten des Logo-Zeichens (110 / 28 / 64 / 28, Abstände 30 / 40 / 40),
   davor das Tablet am Einlass mit Scan-Linie und die Menschen in der Schlange.
   ========================================================================== */

:root {
  --code-tile: clamp(150px, 15vw, 300px);
  --code-color: #FFEAE7;
  --floor: #E6ECF0;
  /* eine Gruppe aus dem Logo-Zeichen, halbe Größe, danach 30 Einheiten Luft */
  --code-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 10' preserveAspectRatio='none'%3E%3Cg fill='%23FFEAE7'%3E%3Crect x='0' width='55' height='10'/%3E%3Crect x='70' width='14' height='10'/%3E%3Crect x='104' width='32' height='10'/%3E%3Crect x='156' width='14' height='10'/%3E%3C/g%3E%3C/svg%3E");
}

.kopf {
  position: relative;
  display: flex;
  min-height: calc(100svh - var(--navh));
  background: #FFFFFF;
  overflow: hidden;
}

.kopf-code {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: calc(var(--code-tile) * 3);
  background: var(--code-svg) right top / var(--code-tile) 100% repeat-x;
}

.kopf-grid {
  position: relative;
  z-index: 1;
  flex: 1;
  width: 100%;
  max-width: 1360px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: var(--s4);
}

.kopf-text {
  align-self: center;
  padding: var(--s4) 0;
}

.kopf-logo {
  height: 44px;
  width: auto;
  margin: 0 0 var(--s4);
}

.kopf h1 {
  font-size: clamp(42px, 4.3vw, 68px);
  line-height: 1.02;
  letter-spacing: -.01em;
  max-width: none;
  hyphens: manual;
}

.kopf h1 .nobr {
  white-space: nowrap;
}

.kopf-lead {
  margin: var(--s3) 0 0;
  max-width: 33ch;
  font-size: clamp(20px, 1.55vw, 23px);
  font-weight: 600;
  line-height: 1.45;
}

.kopf-sub {
  margin: var(--s2) 0 0;
  max-width: 42ch;
  color: var(--ink-soft);
}

.kopf-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s2) var(--s4);
  margin-top: var(--s4);
}

.kopf-demo {
  min-height: 60px;
  padding: 0 30px;
  font-size: 20px;
}

.kopf-phone {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  font-size: 20px;
  font-weight: 700;
}

.kopf-phone-ico {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--card-blue);
  flex: none;
}

.kopf-phone-ico svg {
  width: 22px;
  height: 22px;
}

/* Bühne: Tablet oben rechts, Menschen füllen die Höhe darunter */
.kopf-stage {
  --people-min: clamp(150px, 25svh, 230px);

  position: relative;
  display: flex;
  flex-direction: column;
  padding-top: var(--s4);
  min-height: 0;
}

.k-tablet {
  position: relative;
  align-self: flex-end;
  width: min(100%, 680px, calc((100svh - var(--navh) - var(--s4) - var(--s3) - var(--people-min) - 28px - 64px) / .75 + 48px));
  padding: 14px 14px 14px 34px;
  border-radius: 26px;
  background: var(--device);
  box-shadow: 0 30px 50px -28px rgb(24 24 101 / .6);
}

.k-cam {
  position: absolute;
  left: 11px;
  top: 50%;
  width: 12px;
  height: 12px;
  margin-top: -6px;
  border-radius: 50%;
  background: var(--cam);
}

.k-screen {
  position: relative;
  display: flex;
  flex-direction: column;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 12px;
  background: #FFFFFF;
  container-type: inline-size;
}

.k-bar,
.k-body {
  font-size: 3.25cqw;
  line-height: 1.3;
}

.k-bar {
  display: flex;
  justify-content: space-between;
  gap: 1em;
  padding: .75em 1.2em;
  background: var(--screen-bg);
  border-bottom: 1px solid var(--screen-line);
  font-weight: 700;
  white-space: nowrap;
}

.k-bar span {
  font-size: .85em;
}

.k-bar span:last-child {
  font-weight: 400;
  color: var(--ink-soft);
}

.k-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: .5em;
  padding: 1em 1.2em 1.2em;
}

.k-scanned {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  padding: .3em .8em;
  border: 2px solid var(--info);
  border-radius: .5em;
  background: var(--info-bg);
  color: var(--navy);
  font-size: .85em;
  font-weight: 700;
}

.k-scanned svg {
  width: 1.3em;
  height: 1.3em;
  color: var(--info);
}

.k-name {
  font-size: 1.5em;
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
}

.k-meta {
  display: flex;
  align-items: center;
  gap: 0 1em;
  margin-top: -.3em;
  font-size: .85em;
  color: var(--ink-soft);
  white-space: nowrap;
}

.k-chip {
  padding: 0 .5em;
  border-radius: 99px;
  background: var(--info-bg);
  color: var(--navy);
  font-weight: 700;
}

.k-state {
  align-self: stretch;
  display: grid;
  grid-template-columns: 2.4em minmax(0, 1fr);
  gap: .8em;
  align-items: start;
  padding: .8em 1em;
  border: 2px solid var(--ok);
  border-radius: .6em;
  background: var(--ok-bg);
}

.k-light {
  display: grid;
  place-items: center;
  width: 2.4em;
  height: 2.4em;
  border-radius: 50%;
  background: var(--ok);
  color: #FFFFFF;
}

.k-light svg {
  width: 1.4em;
  height: 1.4em;
}

.k-state strong {
  display: block;
  font-size: 1.25em;
  line-height: 1.2;
  color: #0F5227;
}

.k-state ul {
  margin: .2em 0 0;
  padding: 0;
  list-style: none;
  font-size: .85em;
}

.k-state li {
  white-space: nowrap;
}

.k-state li::before {
  content: "";
  display: inline-block;
  width: .4em;
  height: .4em;
  margin: 0 .5em .15em 0;
  border-radius: 50%;
  background: var(--ok);
}

.k-btn {
  align-self: stretch;
  display: grid;
  place-items: center;
  min-height: 2.5em;
  border-radius: .5em;
  background: var(--ok);
  color: #FFFFFF;
  font-weight: 700;
}

/* Scan-Linie: läuft einmal beim Laden über den Bildschirm */
.k-laser {
  display: none;
}

@media (prefers-reduced-motion: no-preference) {
  .js .is-scanning .k-laser {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
    background: var(--coral);
    box-shadow: 0 0 12px 3px rgb(254 88 81 / .45);
    opacity: 0;
    pointer-events: none;
    animation: k-sweep 1.7s cubic-bezier(.45, 0, .55, 1) 0s 1 both;
  }

  .js .is-scanning .k-laser::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 3px;
    height: 12cqw;
    background: linear-gradient(to bottom, rgb(254 88 81 / 0), rgb(254 88 81 / .12));
  }

  .kopf-code {
    animation: k-fade 1.2s ease-out both;
  }
}

@keyframes k-sweep {
  0% {
    top: 0;
    opacity: 0;
  }

  8%,
  88% {
    opacity: 1;
  }

  100% {
    top: calc(100% - 3px);
    opacity: 0;
  }
}

@keyframes k-pop {
  0% {
    transform: scale(.85);
    opacity: .3;
  }

  60% {
    transform: scale(1.06);
    opacity: 1;
  }

  100% {
    transform: none;
  }
}

@keyframes k-fade {
  from {
    opacity: 0;
  }
}

.k-people {
  flex: 1 1 0;
  align-self: stretch;
  width: 100%;
  min-height: var(--people-min);
  max-height: 46svh;
  margin-top: var(--s3);
  object-fit: contain;
  object-position: 8% 100%;
}

/* ---------- Navigation h10 ---------- */

.knav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--floor);
  transition: background-color .25s ease, box-shadow .25s ease;
}

.knav.is-stuck {
  background: #FFFFFF;
  box-shadow: 0 6px 18px -10px rgb(24 24 101 / .35);
}

.knav-inner {
  height: var(--navh);
  display: flex;
  align-items: center;
  gap: var(--s3);
  transition: height .25s ease;
}

.knav.is-stuck .knav-inner {
  height: var(--navh-stuck);
}

.knav nav {
  margin: 0 auto;
}

.knav-links {
  display: flex;
  gap: var(--s3);
  margin: 0;
  padding: 0;
  list-style: none;
}

.knav-links a {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 60px;
  padding: 0 18px 0 8px;
  border-radius: 14px;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
}

.knav-links a:hover {
  background: #FFFFFF;
}

.knav.is-stuck .knav-links a:hover {
  background: var(--floor);
}

.knav-ico {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--navy);
  color: #FFFFFF;
  flex: none;
}

.knav-ico svg {
  width: 22px;
  height: 22px;
}

.knav-arrow {
  width: 22px;
  height: 22px;
  color: var(--navy);
}

@media (prefers-reduced-motion: no-preference) {
  .knav:not(.is-stuck) .knav-links a:hover .knav-arrow {
    animation: nudge 1s ease-in-out infinite;
  }
}

.knav-logo {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
}

.knav-logo img {
  height: 26px;
  width: auto;
}

.knav-demo {
  gap: 0;
  min-height: 48px;
  padding: 0 20px;
  font-size: 18px;
  box-shadow: 0 3px 0 var(--navy);
}

.js .knav-logo,
.js .knav-demo {
  display: none;
}

.js .knav.is-stuck .knav-logo,
.js .knav.is-stuck .knav-demo {
  display: inline-flex;
}

.knav.is-stuck nav {
  margin: 0 0 0 auto;
}

.knav.is-stuck .knav-links {
  gap: var(--s1);
}

.knav.is-stuck .knav-links a {
  min-height: 48px;
  font-size: 17px;
  gap: 10px;
  padding-right: 14px;
}

.knav.is-stuck .knav-ico {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.knav.is-stuck .knav-ico svg {
  width: 18px;
  height: 18px;
}

.knav.is-stuck .knav-arrow {
  display: none;
}

@media (prefers-reduced-motion: no-preference) {
  .js .knav.is-stuck .knav-logo,
  .js .knav.is-stuck .knav-demo {
    animation: fade-in .3s ease both;
  }
}

/* ---------- h10 responsiv ---------- */

@media (max-width: 1100px) {
  .kopf-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .kopf-text {
    padding: var(--s5) 0 var(--s3);
  }

  .kopf-lead {
    max-width: 36ch;
  }

  .kopf-code {
    top: auto;
    height: 58%;
  }

  .kopf-stage {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
    align-items: end;
    gap: var(--s3);
    padding: var(--s3) 0 0;
  }

  .k-tablet {
    order: 2;
    width: 100%;
    max-width: 620px;
    margin-bottom: var(--s4);
  }

  .k-people {
    order: 1;
    height: auto;
    min-height: 0;
    max-height: none;
    margin: 0;
  }
}

@media (max-width: 760px) {
  :root {
    --code-tile: 120px;
  }

  .kopf-text {
    padding: var(--s3) 0 var(--s2);
  }

  .kopf-logo {
    height: 34px;
    margin-bottom: var(--s3);
  }

  .kopf h1 {
    font-size: clamp(36px, 10vw, 44px);
  }

  .kopf-lead {
    margin-top: var(--s2);
    font-size: 19px;
  }

  .kopf-sub {
    font-size: 17px;
  }

  .kopf-actions {
    margin-top: var(--s3);
    gap: var(--s2) var(--s3);
  }

  .kopf-demo {
    width: 100%;
  }

  .kopf-code {
    height: 37%;
  }

  .kopf-stage {
    display: flex;
    flex-direction: column;
    padding-top: var(--s2);
  }

  .k-tablet {
    order: 1;
    align-self: stretch;
    max-width: none;
    margin: 0;
    padding: 8px 8px 8px 22px;
    border-radius: 16px;
  }

  .k-cam {
    left: 7px;
    width: 8px;
    height: 8px;
    margin-top: -4px;
  }

  .k-screen {
    border-radius: 8px;
  }

  .k-scanned,
  .k-state {
    border-width: 1.5px;
  }

  .k-people {
    order: 2;
    align-self: flex-start;
    width: 78%;
    margin-top: var(--s3);
  }

  .knav-links {
    gap: var(--s1);
  }

  .knav-links a {
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    min-height: 64px;
    padding: 4px 10px;
    font-size: 16px;
  }

  .knav-ico {
    width: 36px;
    height: 36px;
  }

  .knav-arrow {
    display: none;
  }

  .knav.is-stuck .knav-links a {
    flex-direction: row;
    min-height: 48px;
    padding: 0 6px;
  }

  .knav.is-stuck .knav-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .knav.is-stuck .knav-ico {
    width: 40px;
    height: 40px;
  }

  .knav-logo img {
    height: 22px;
  }

  .knav-demo {
    padding: 0 14px;
    font-size: 17px;
  }

  .knav-demo.btn-code::before {
    display: none;
  }
}

.knav-demo.btn-code::before {
  margin-right: 10px;
}

@media (max-width: 480px) {
  .knav-more {
    display: none;
  }
}

/* ==========================================================================
   v16: Der Strichcode läuft als Band am rechten Rand vom Kopf bis zum Fuß.
   Gleiche Kacheln wie im Kopf, rechtsbündig, damit die Gruppen nahtlos
   weiterlaufen. Auf dem grauen Tisch als blasse Koralle-Tönung (10 %),
   die Karteikarten liegen darüber und verdecken das Muster.
   ========================================================================== */

:root {
  --band-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 10' preserveAspectRatio='none'%3E%3Cg fill='%23FE5851' fill-opacity='.1'%3E%3Crect x='0' width='55' height='10'/%3E%3Crect x='70' width='14' height='10'/%3E%3Crect x='104' width='32' height='10'/%3E%3Crect x='156' width='14' height='10'/%3E%3C/g%3E%3C/svg%3E");
  --band-tiles: 3;
}

main {
  position: relative;
}

.seiten-code {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: calc(var(--code-tile) * var(--band-tiles));
  background: var(--band-svg) right top / var(--code-tile) 100% repeat-x;
  pointer-events: none;
}

/* Karten und Kopf liegen über dem Band */
.box {
  position: relative;
}

@media (max-width: 760px) {
  :root {
    --band-tiles: 1;
  }
}

/* v16: längerer Status "Darf heute abholen" - Sprechblase etwas breiter,
   Scan-Ergebnis hat Platz für zwei Zeilen, damit beim Scannen nichts springt */
.bubble {
  width: 300px;
}

.scan-result {
  min-height: 68px;
}

@media (max-width: 760px) {
  .bubble {
    width: 240px;
  }

  .scan-result {
    min-height: 96px;
  }
}

/* ==========================================================================
   v16: Ablauf im Tablet des Seitenkopfs, gesteuert per JavaScript.
   .is-waiting: "Karte scannen ...", Platzhalter statt Name und Daten,
   Hinweis auf der reservierten Fläche des Ergebnisses, grauer Knopf.
   .is-scanning: Scan-Linie läuft. Danach fällt .is-waiting weg, und
   Haushalt, Ergebnis und Knopf blenden ein. Ohne JavaScript und bei
   prefers-reduced-motion steht das Ergebnis sofort da.
   ========================================================================== */

.k-name {
  width: fit-content;
  border-radius: .2em;
}

.k-meta > span,
.k-meta .k-chip {
  border-radius: .25em;
}

.k-state {
  position: relative;
}

.k-hint {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  gap: .6em;
  color: var(--ink-soft);
  font-weight: 600;
  pointer-events: none;
}

.k-hint svg {
  width: 1.6em;
  height: 1.6em;
  color: var(--info);
  flex: none;
}

/* Wartezustand */
.k-tablet.is-waiting .k-name,
.k-tablet.is-waiting .k-meta > span,
.k-tablet.is-waiting .k-meta .k-chip {
  color: transparent;
  background-color: #E6EAF1;
}

.k-tablet.is-waiting .k-state {
  border-color: var(--screen-line);
  border-style: dashed;
  background-color: #FFFFFF;
}

.k-tablet.is-waiting .k-state > :not(.k-hint) {
  opacity: 0;
  transform: translateY(.3em);
}

.k-tablet.is-waiting .k-hint {
  display: flex;
}

.k-tablet.is-waiting .k-btn {
  background-color: #E6EAF1;
  border-color: #E6EAF1;
  color: #6B7090;
}

/* Übergang vom Warten zum Ergebnis (nur mit Bewegung) */
@media (prefers-reduced-motion: no-preference) {
  .k-tablet:not(.no-trans) .k-name,
  .k-tablet:not(.no-trans) .k-meta > span,
  .k-tablet:not(.no-trans) .k-meta .k-chip {
    transition: color .35s ease-out, background-color .35s ease-out;
  }

  .k-tablet:not(.no-trans) .k-state {
    transition: border-color .45s ease-out .25s, background-color .45s ease-out .25s;
  }

  .k-tablet:not(.no-trans) .k-state > :not(.k-hint) {
    transition: opacity .45s ease-out .25s, transform .45s ease-out .25s;
  }

  .k-tablet:not(.no-trans) .k-btn {
    transition: background-color .35s ease-out .6s, border-color .35s ease-out .6s, color .35s ease-out .6s;
  }

  .is-bump .k-scanned {
    animation: k-bump .45s ease-out;
  }
}

@keyframes k-bump {
  45% {
    transform: scale(1.08);
  }
}

/* Ergebnis gelb und rot (nach "Nochmal scannen") */
.k-state.is-warn {
  border-color: var(--warn);
  background: var(--warn-bg);
}

.k-state.is-warn .k-light {
  background: var(--warn);
  color: #3D2C00;
}

.k-state.is-warn strong {
  color: var(--warn-ink);
}

.k-state.is-warn li::before {
  background: #B58500;
}

.k-state.is-err {
  border-color: var(--err);
  background: var(--err-bg);
}

.k-state.is-err .k-light {
  background: var(--err);
}

.k-state.is-err strong {
  color: #7A1616;
}

.k-state.is-err li::before {
  background: var(--err);
}

.k-btn {
  border: 2px solid var(--ok);
}

.k-btn.is-err {
  background: #FFFFFF;
  border-color: var(--err);
  color: #9B1C1C;
}

/* Knopf "Nochmal scannen" unter dem Tablet, sekundär neben "Demo buchen" */
.k-replay-row {
  display: flex;
  justify-content: flex-end;
  margin-top: var(--s2);
}

.k-replay {
  min-height: 48px;
  padding: 0 20px;
  font-size: 18px;
}

.k-replay svg {
  width: 22px;
  height: 22px;
  flex: none;
}

@media (max-width: 1100px) {
  .k-replay-row {
    order: 3;
    grid-column: 1 / -1;
    margin: 0 0 var(--s3);
  }
}

@media (max-width: 760px) {
  .k-replay-row {
    order: 1;
    justify-content: flex-start;
    margin: var(--s2) 0 0;
  }
}

.k-btn {
  white-space: nowrap;
}

/* ==========================================================================
   v16: Knopf im Tablet ist ein Link zu den Funktionen (#einlass)
   ========================================================================== */

a.k-btn {
  color: #FFFFFF;
  text-decoration: none;
}

a.k-btn:hover {
  background: #166632;
  border-color: #166632;
}

a.k-btn.is-err {
  color: #9B1C1C;
}

a.k-btn.is-err:hover {
  background: var(--err-bg);
  border-color: var(--err);
}

.k-tablet.is-waiting a.k-btn {
  color: #6B7090;
}

.k-tablet.is-waiting a.k-btn:hover {
  background-color: #D9DFEA;
  border-color: #D9DFEA;
}

a.k-btn:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

/* ==========================================================================
   v16: Reiter bündig mit der linken Kartenkante, 66 % der bisherigen Höhe
   (--tabh 34 px statt 52 px, bis 760 px 30 px statt 46 px).
   Sprungziele: 3rem Luft über dem Reiter plus Höhe der klebenden Leiste.
   ========================================================================== */

.card > .tab {
  left: 0;
}

html {
  scroll-padding-top: var(--navh-stuck);
}

[id] {
  scroll-margin-top: 3rem;
}

.card[id] {
  scroll-margin-top: calc(var(--tabh) + 3rem);
}

.k-tablet:not(.is-waiting) a.k-btn:hover {
  transition-delay: 0s;
}

/* Die klebende Leiste wird beim Andocken niedriger. Der Rand unten gleicht
   das aus, damit der Inhalt darunter nicht nachrutscht und Sprungziele
   genau 3rem unter der Leiste anhalten. */
.knav {
  transition: background-color .25s ease, box-shadow .25s ease, margin-bottom .25s ease;
}

.knav.is-stuck {
  margin-bottom: calc(var(--navh) - var(--navh-stuck));
}

/* ==========================================================================
   v16: neue Illustrationsserie (mockups/menschen), zugeschnitten in img/menschen
   ========================================================================== */

.forwhom-head img.head-illu {
  width: 360px;
  margin: -120px -10px -10px 0;
}

.card-green .start-head img.head-illu,
.start-head img.head-illu {
  width: 320px;
  margin: -110px 0 -10px;
}

.vorstand-head {
  margin-bottom: var(--s4);
}

.vorstand-head h2 {
  margin: 0;
}

.feat-illu {
  display: block;
  width: auto;
  max-width: 100%;
  height: 210px;
  margin-top: var(--s3);
}

.switch-illu {
  width: 300px;
}

@media (min-width: 901px) and (max-width: 1100px) {
  .feature-map .feat-illu {
    height: 130px;
  }

  .feature-pay .feat-illu {
    height: 190px;
  }
}

@media (max-width: 900px) {
  .feat-illu {
    display: none;
  }
}

@media (max-width: 1100px) {
  .forwhom-head img.head-illu {
    width: 240px;
    margin: -80px 0 0;
  }

  .card-green .start-head img.head-illu,
  .start-head img.head-illu {
    width: 220px;
    margin: -70px 0 0;
  }
}

@media (max-width: 760px) {
  .forwhom-head img.head-illu,
  .start-head img.head-illu {
    display: none;
  }
}

/* v16: Mitarbeitende über den vier Spalten von "Wer nutzt Tafello?" */
.wer-fig {
  display: block;
  width: auto;
  height: 170px;
  margin: 0 0 var(--s2);
}

.wer-alle {
  display: none;
}

@media (max-width: 760px) {
  .wer-fig {
    display: none;
  }

  .wer-alle {
    display: block;
    width: 100%;
    max-width: 420px;
    height: auto;
    margin: var(--s3) 0 var(--s2);
  }
}

/* v16: Mehrere Ausgabestellen - Stadtplan links, Text und Regal-Szene rechts.
   Auf dem Handy: Überschrift, Text, Plan, Szene (DOM-Reihenfolge). */
@media (min-width: 901px) {
  .feature-map {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    row-gap: 0;
  }

  .feature-map .plan {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .feature-map .feature-text {
    grid-column: 2;
    grid-row: 1;
  }

  .feature-map .map-illu {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
  }
}

@media (max-width: 900px) {
  .feature-map .map-illu {
    display: block;
    height: auto;
    width: 100%;
    max-width: 360px;
    margin-top: 0;
  }
}

/* v16: Beiträge am Einlass - Tagesabschluss schmaler (85 %), Kasse mittig */
@media (min-width: 761px) and (max-width: 900px), (min-width: 1101px) {
  .feature-pay .win {
    width: 85%;
    justify-self: end;
  }
}

@media (min-width: 761px) {
  .feature-pay .app-body {
    padding: 14px 12px;
  }

  .feature-pay .close-table {
    font-size: 13.5px;
  }

  .feature-pay .close-table th,
  .feature-pay .close-table td {
    padding-inline: 3px;
    white-space: nowrap;
  }

  .feature-pay .close-table th {
    font-size: 12px;
  }

  .feature-pay .close-table .pill {
    padding: 2px 8px;
    font-size: 12px;
  }
}

.feature-pay .feat-illu {
  margin-inline: auto;
}

/* ==========================================================================
   v16: Demo-Hinweis als Haftzettel. Gelber, fast quadratischer Zettel mit
   dunklerem Klebestreifen oben, leicht gedreht, untere rechte Ecke hebt
   sich ab und wirft einen Schatten. Überdeckt die Unterkante der
   Einlass-Karte. Nach unten 2rem mehr Luft als die übrigen Karten.
   ========================================================================== */

.demo-hint {
  display: block;
  position: relative;
  margin-top: -32px;
  padding: 0 clamp(20px, 5.4vw, 80px) 2rem;
}

.termin {
  position: relative;
  width: 340px;
  max-width: 100%;
  margin-inline: auto;
  transform: rotate(-2deg);
}

/* Schatten unter der angehobenen Ecke, liegt hinter dem Papier */
.termin::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: 10px;
  bottom: 12px;
  width: 55%;
  height: 40%;
  box-shadow: 0 16px 12px -2px rgb(24 24 101 / .30);
  transform: rotate(5deg);
}

/* flacher Schatten unter dem ganzen Zettel */
.termin::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 2px 30% 10px 2px;
  box-shadow: 0 3px 6px rgb(24 24 101 / .16);
}

.termin-kopf {
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 27px;
  background: #FAE591;
  color: var(--navy);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
}

.termin-kopf svg {
  flex: none;
  width: 16px;
  height: 16px;
}

.termin-inhalt {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 27px 34px;
  background:
    linear-gradient(160deg, transparent 72%, rgb(24 24 101 / .05)),
    #FFF6C4;
  border-bottom-right-radius: 55% 9px;
}

.termin-inhalt h3 {
  font-size: clamp(23px, 1.8vw, 26px);
  line-height: 1.2;
}

.termin-inhalt p {
  margin-bottom: 6px;
  font-size: 17px;
  color: var(--ink);
}

.termin-inhalt .btn {
  min-height: 48px;
  padding: 0 22px;
  font-size: 17px;
}

@media (max-width: 760px) {
  .demo-hint {
    margin-top: -16px;
    padding: 0 var(--s1) 2rem;
  }

  .termin {
    width: 300px;
    transform: rotate(-1.5deg);
  }

  .termin-kopf {
    padding: 7px 18px;
  }

  .termin-inhalt {
    padding: 16px 18px 26px;
  }

  .termin-inhalt p {
    font-size: 16px;
  }

  .termin-inhalt .btn {
    align-self: stretch;
  }
}

/* v16: "Wer nutzt Tafello?" mit drei Spalten (Einlass und Ausgabe, Verwaltung, Vorstand) */
.audience {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 900px) {
  .audience {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .audience {
    grid-template-columns: minmax(0, 1fr);
  }
}
