/*
 * De website van Kassanext.
 *
 * Strak betekent hier: minder dozen, meer wit, en alles op één raster van acht
 * pixels. De vorige versie was een verzameling kaarten met gekleurde vierkantjes
 * erin -- dat leest als iedere andere softwarepagina. Nu doet de typografie het
 * werk en zijn de lijnen haarfijn: één pixel, en niet grijzer dan nodig.
 *
 * Dezelfde kleuren als het kassasysteem zelf, want wie hier iets ziet en het
 * daarna opent moet niet het gevoel hebben dat hij ergens anders is beland.
 * Geen bibliotheken: een pagina die vertelt dat een kassa snel is, hoort zelf
 * niet eerst een halve megabyte op te halen.
 */

:root {
  --navy: #241043;
  --blauw: #7c3aed;
  --blauw-donker: #6d28d9;
  --inkt: #0d1526;
  --inkt-zacht: #5a6478;
  --inkt-licht: #8a93a6;
  --lijn: #e7ebf1;
  --lijn-fijn: #f0f3f7;
  --vlak: #f8fafc;
  --breed: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font: 400 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Arial, sans-serif;
  color: var(--inkt);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "kern" 1;
}

h1, h2, h3 { margin: 0; font-weight: 640; letter-spacing: -0.025em; line-height: 1.12; }
h1 { font-size: clamp(38px, 5.6vw, 60px); font-weight: 700; letter-spacing: -0.035em; }
h2 { font-size: clamp(25px, 3vw, 33px); }
h3 { font-size: 17px; letter-spacing: -0.015em; }
p  { margin: 0; }
a  { color: var(--blauw); text-underline-offset: 3px; }

.omhulsel { width: 100%; max-width: var(--breed); margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .omhulsel { padding: 0 20px; } }

/* Een klein kopje boven een blok, met een streepje ervoor. */
.oogje {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 640; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blauw); margin-bottom: 16px;
}
.oogje::before { content: ''; width: 20px; height: 1px; background: currentColor; opacity: .5; }

/* ── Kop ──────────────────────────────────────────────────────────────── */

.kop {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--lijn);
}
.kop .omhulsel { display: flex; align-items: center; gap: 32px; height: 62px; }

.merk {
  display: flex; align-items: center; gap: 9px;
  font-weight: 680; font-size: 17px; letter-spacing: -0.025em;
  color: var(--navy); text-decoration: none;
}
.merk img { width: 26px; height: 26px; border-radius: 7px; display: block; }

.kop nav { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.kop nav a:not(.knop) {
  color: var(--inkt-zacht); text-decoration: none; font-size: 14.5px; font-weight: 500;
}
.kop nav a:not(.knop):hover { color: var(--inkt); }
@media (max-width: 780px) { .kop nav a:not(.knop) { display: none; } }

.knop {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--blauw); color: #fff; text-decoration: none;
  padding: 10px 18px; border-radius: 8px; font-weight: 570; font-size: 14.5px;
  border: 1px solid transparent; white-space: nowrap; letter-spacing: -0.005em;
  transition: background .15s;
}
.knop:hover { background: var(--blauw-donker); }
.knop.groot { padding: 13px 24px; font-size: 15.5px; }
.knop.licht { background: #fff; color: var(--navy); }
.knop.licht:hover { background: #e8eefb; }
.knop.rand { background: transparent; color: #fff; border-color: rgba(255,255,255,.28); }
.knop.rand:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.5); }

/* ── Boven ────────────────────────────────────────────────────────────── */

.boven { background: var(--navy); color: #fff; padding: 96px 0 104px; }
.boven .oogje { color: #fb7185; }
.boven h1 { color: #fff; max-width: 14ch; margin-bottom: 22px; }
.boven .lead { font-size: 18.5px; line-height: 1.6; color: #a9bad6; max-width: 46ch; margin-bottom: 32px; }
.boven .doen { display: flex; gap: 10px; flex-wrap: wrap; }
.boven .onder {
  margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1);
  font-size: 14px; color: #8296b5; max-width: 46ch;
}
.boven .onder strong { color: #cfe0ff; font-weight: 570; }

.bovenraster { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 940px) { .bovenraster { grid-template-columns: 1fr; gap: 48px; }
                            .boven { padding: 72px 0 80px; } }

/* ── Een nagebouwd kassascherm ────────────────────────────────────────── */

.scherm {
  /* Eigen tekstkleur, want dit blok staat in het donkere vlak en erft daar
     anders wit van — en dan is de halve bon onzichtbaar op wit papier. */
  background: #fff; color: var(--inkt);
  border-radius: 12px; overflow: hidden; max-width: 100%; min-width: 0;
  box-shadow: 0 1px 2px rgba(3,12,30,.2), 0 24px 60px rgba(3,12,30,.4);
}
.scherm .balk {
  display: flex; align-items: center; gap: 7px; padding: 10px 13px;
  background: #fbfcfe; border-bottom: 1px solid var(--lijn);
}
.stip { width: 9px; height: 9px; border-radius: 50%; background: #dde3ec; }
.scherm .balk span {
  margin-left: 6px; font-size: 12px; color: var(--inkt-licht); font-weight: 550;
  letter-spacing: -0.01em;
}

.schermlijf { display: grid; grid-template-columns: minmax(0, 1fr) 216px; }
@media (max-width: 560px) { .schermlijf { grid-template-columns: 1fr; } }

.tegels { padding: 12px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; align-content: start; }
.tegel {
  border: 1px solid var(--lijn); border-radius: 8px; padding: 9px 10px;
  font-size: 12.5px; min-width: 0; line-height: 1.35;
}
.tegel b { display: block; font-weight: 570; margin-bottom: 2px; letter-spacing: -0.01em; }
.tegel span { color: var(--inkt-licht); font-variant-numeric: tabular-nums; }
.tegel.aan { border-color: var(--blauw); background: #f5f8ff; }

.bon {
  border-left: 1px solid var(--lijn); padding: 13px; background: #fcfdfe;
  display: flex; flex-direction: column; min-width: 0;
}
.bonregel { display: flex; justify-content: space-between; gap: 12px; font-size: 12.5px; padding: 4px 0; }
.bonregel span:last-child { font-variant-numeric: tabular-nums; color: var(--inkt-zacht); }
.bontotaal {
  margin-top: auto; border-top: 1px solid var(--lijn); padding-top: 10px;
  display: flex; justify-content: space-between; font-weight: 640; font-size: 15.5px;
  letter-spacing: -0.02em;
}
.bontotaal span:last-child { font-variant-numeric: tabular-nums; }
.bonknop {
  margin-top: 10px; background: var(--blauw); color: #fff; text-align: center;
  padding: 9px; border-radius: 7px; font-weight: 570; font-size: 13px;
}

/* De keukenbon ligt half over het kassascherm heen: dat laat in één beeld zien
   dat een bestelling niet bij de kassa ophoudt maar doorloopt naar de keuken. */
.toonbeeld { position: relative; }

.chips { display: flex; gap: 6px; padding: 11px 12px 0; }
.chip {
  font-size: 11.5px; font-weight: 550; padding: 5px 11px; border-radius: 999px;
  border: 1px solid var(--lijn); color: var(--inkt-licht); white-space: nowrap;
}
.chip.aan { background: var(--navy); border-color: var(--navy); color: #fff; }

.scherm .balk .bezig {
  margin-left: auto; font-style: normal; font-size: 11px; font-weight: 550;
  color: var(--inkt-licht); font-variant-numeric: tabular-nums;
}

.tegel { display: flex; flex-direction: column; gap: 1px; position: relative; padding-left: 10px; }
.tegel i {
  position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; border-radius: 0 2px 2px 0;
}
.tegel b { padding-left: 8px; }
.tegel span { padding-left: 8px; }

.bonkop {
  font-size: 10.5px; font-weight: 640; letter-spacing: .1em; text-transform: uppercase;
  color: var(--inkt-licht); padding-bottom: 8px; border-bottom: 1px solid var(--lijn-fijn);
  margin-bottom: 6px;
}
.bonbtw {
  display: flex; justify-content: space-between; font-size: 11px; color: var(--inkt-licht);
  padding: 6px 0 0; font-variant-numeric: tabular-nums;
}
.bonstil {
  margin-top: 6px; text-align: center; padding: 8px; border-radius: 7px;
  border: 1px solid var(--lijn); color: var(--inkt-zacht); font-size: 12.5px; font-weight: 550;
}

.keukenbon {
  position: absolute; left: -34px; bottom: -46px; width: 194px;
  background: #fff; border-radius: 8px 8px 0 0; padding: 14px 15px 8px;
  font: 500 12px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--inkt);
  box-shadow: 0 1px 2px rgba(3,12,30,.2), 0 18px 40px rgba(3,12,30,.45);
  transform: rotate(-3deg);
}
.kbkop {
  font-size: 10px; font-weight: 700; letter-spacing: .09em;
  padding-bottom: 8px; margin-bottom: 8px; border-bottom: 1px dashed #cdd5e1;
}
.kbregel { display: flex; gap: 8px; padding: 3px 0; align-items: baseline; }
.kbregel b { font-weight: 700; min-width: 20px; flex: none; }
/* De opmerking mag naast het gerecht doorlopen en niet in een eigen kolom
   gaan hangen — een keukenbon leest van links naar rechts, niet in tabellen. */
.kbregel span { min-width: 0; }
.kbregel em { font-style: normal; color: var(--inkt-licht); }
.kbvoet {
  margin-top: 8px; padding-top: 8px; border-top: 1px dashed #cdd5e1;
  font-size: 10.5px; color: var(--inkt-licht);
}
/* De afgescheurde onderrand, met een rij driehoekjes in de achtergrond. */
.kbscheur {
  position: absolute; left: 0; right: 0; bottom: -7px; height: 8px;
  background: linear-gradient(-45deg, transparent 50%, #fff 50%) 0 0/8px 8px repeat-x,
              linear-gradient(45deg, transparent 50%, #fff 50%) 0 0/8px 8px repeat-x;
}
@media (max-width: 940px) { .keukenbon { display: none; } }

/* ── Vlakken ──────────────────────────────────────────────────────────── */

section { padding: 88px 0; border-top: 1px solid var(--lijn); }
section.grijs { background: var(--vlak); }
@media (max-width: 640px) { section { padding: 64px 0; } }

.midden { max-width: 600px; margin-bottom: 48px; }
.midden p { color: var(--inkt-zacht); font-size: 17px; margin-top: 12px; }

.raster { display: grid; gap: 1px; background: var(--lijn); border: 1px solid var(--lijn); border-radius: 12px; overflow: hidden; }
.raster.drie { grid-template-columns: repeat(3, 1fr); }
.raster.twee { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 880px) { .raster.drie { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .raster.drie, .raster.twee { grid-template-columns: 1fr; } }

/* Vakken die aan elkaar grenzen met één haarlijn ertussen: dat is strakker
   dan losse kaarten met schaduwen, en het houdt de rij netjes uitgelijnd. */
.kaart { background: #fff; padding: 28px 26px; }
section.grijs .kaart { background: #fff; }
.kaart h3 { margin-bottom: 8px; }
.kaart p { color: var(--inkt-zacht); font-size: 15px; line-height: 1.62; }
.kaart .teken { margin-bottom: 18px; color: var(--blauw); display: block; }
.kaart .teken svg {
  width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round; display: block;
}

.lijst { list-style: none; margin: 0; padding: 0; }
.lijst li {
  position: relative; padding: 12px 0 12px 26px;
  border-bottom: 1px solid var(--lijn); font-size: 15.5px; color: var(--inkt);
}
.lijst li:first-child { padding-top: 0; }
.lijst li:last-child { border-bottom: 0; padding-bottom: 0; }
.lijst li::before {
  content: ''; position: absolute; left: 2px; top: 19px; width: 7px; height: 7px;
  border: 1.6px solid var(--blauw); border-top: 0; border-left: 0; transform: rotate(45deg);
}
.lijst li:first-child::before { top: 7px; }

.tweekolom { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
@media (max-width: 880px) { .tweekolom { grid-template-columns: 1fr; gap: 40px; } }
.tweekolom p { color: var(--inkt-zacht); font-size: 16.5px; line-height: 1.65; margin-top: 16px; }

.merkjes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.merkje {
  border: 1px solid var(--lijn); background: #fff; border-radius: 7px;
  padding: 7px 13px; font-size: 13.5px; font-weight: 520; color: var(--inkt-zacht);
}
.merkje.straks { border-style: dashed; color: var(--inkt-licht); }

/* ── Afsluiten ────────────────────────────────────────────────────────── */

.slot { background: var(--navy); color: #fff; padding: 88px 0; border: 0; }
.slot .doen { display: flex; gap: 10px; flex-wrap: wrap; }
.slot h2 { color: #fff; max-width: 18ch; }
.slot p { color: #a9bad6; max-width: 44ch; margin: 16px 0 32px; font-size: 17px; }

.voet { background: var(--navy); color: #7b8ead; padding: 0 0 40px; font-size: 14px; border: 0; }
.voet .omhulsel {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 32px; border-top: 1px solid rgba(255,255,255,.1);
}
.voet a { color: #a9bad6; text-decoration: none; }
.voet a:hover { color: #fff; }

/* ── Kassanext Bar: het programma nagebouwd ─────────────────────────────────
   Geen schermafdruk maar het scherm zelf, in dezelfde kleuren en verhoudingen
   als het Windows-programma. Alles in cqw, zodat het als één plaatje meeschaalt. */
.wb-intro { max-width: 720px; margin-bottom: 40px; }
.wb-intro h2 { font-size: clamp(28px, 4vw, 40px); margin: 10px 0 14px; }
.wb-intro p { color: var(--inkt-zacht); font-size: 18px; margin: 0; }

.wb-podium { position: relative; container-type: inline-size; padding-bottom: 17cqw; margin-bottom: 24px; }
.wb-venster {
  border-radius: 1cqw; overflow: hidden; background: #f4f6fa;
  box-shadow: 0 30px 80px -20px rgba(36,16,67,.35), 0 0 0 1px rgba(13,21,38,.08);
  font-family: "Segoe UI", -apple-system, sans-serif; color: #0d1526; width: 88%;
}
.wb-titel { display: flex; align-items: center; gap: .8cqw; height: 3.2cqw; padding: 0 1.2cqw; background: #fff; font-size: 1.15cqw; border-bottom: 1px solid #e7ebf1; }
.wb-ikoon { width: 1.5cqw; height: 1.5cqw; border-radius: .35cqw; background: linear-gradient(135deg, #7c3aed, #241043); }
.wb-ramen { margin-left: auto; display: flex; gap: 2.4cqw; }
.wb-ramen i { width: 1cqw; height: .12cqw; background: #5a6478; display: block; }
.wb-ramen i:nth-child(2) { height: .9cqw; background: none; border: .12cqw solid #5a6478; }
.wb-ramen i:nth-child(3) { height: 1cqw; background: none; position: relative; }
.wb-ramen i:nth-child(3)::before, .wb-ramen i:nth-child(3)::after { content: ''; position: absolute; left: 0; top: .45cqw; width: 1.2cqw; height: .12cqw; background: #5a6478; transform: rotate(45deg); }
.wb-ramen i:nth-child(3)::after { transform: rotate(-45deg); }

.wb-balk { display: flex; justify-content: space-between; align-items: center; background: #241043; color: #fff; padding: .9cqw 1.8cqw; }
.wb-balk b { font-size: 1.6cqw; display: block; }
.wb-balk small { font-size: 1.15cqw; color: #c8bee6; }
.wb-rechts { display: flex; align-items: center; gap: .8cqw; }
.wb-rechts b { font-size: 1.4cqw; margin-right: .8cqw; }
.wb-rechts span { background: #463270; border-radius: .6cqw; padding: .6cqw 1.3cqw; font-size: 1.1cqw; font-weight: 600; }

.wb-midden { display: grid; grid-template-columns: 1fr 30%; }
.wb-tabs { display: flex; gap: .5cqw; background: #d4d8de; padding: .7cqw .7cqw 0; }
.wb-tabs span { padding: .9cqw 1.5cqw; border-radius: .8cqw .8cqw 0 0; font-size: 1.2cqw; font-weight: 700; color: #374151; white-space: nowrap; }
.wb-tabs span.aan { background: #f4f6fa; color: #0d1526; }
.wb-raster { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8cqw; padding: .9cqw; }
.wb-tegel { position: relative; background: var(--k); color: var(--t); border-radius: .8cqw; height: 7.4cqw; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.wb-tegel b { font-size: 1.35cqw; line-height: 1.15; }
.wb-tegel span { font-size: 1.05cqw; opacity: .9; margin-top: .3cqw; }
.wb-tegel i { position: absolute; top: .5cqw; right: .5cqw; background: #0d1526; color: #fff; font-style: normal; font-weight: 700; font-size: .9cqw; min-width: 2cqw; height: 2cqw; line-height: 2cqw; border-radius: 1cqw; }

.wb-zij { background: #fff; padding: 1.4cqw; display: flex; flex-direction: column; border-left: 1px solid #e7ebf1; }
.wb-zij h4 { margin: 0 0 .8cqw; font-size: 1.5cqw; }
.wb-regel { display: grid; grid-template-columns: 1fr auto auto; gap: .8cqw; align-items: center; font-size: 1.15cqw; padding: .45cqw 0; }
.wb-regel em { font-style: normal; border: 1px solid #e7ebf1; border-radius: .5cqw; width: 2.6cqw; text-align: center; line-height: 2.2cqw; font-size: 1.4cqw; }
.wb-ruimte { flex: 1; min-height: 3cqw; }
.wb-totaal { text-align: right; font-size: 2.6cqw; font-weight: 700; margin-bottom: .6cqw; }
.wb-betaal { background: #15803d; color: #fff; text-align: center; font-weight: 700; font-size: 1.8cqw; border-radius: .8cqw; padding: 1.7cqw 0; }
.wb-leeg { border: 1px solid #e7ebf1; text-align: center; font-size: 1.1cqw; border-radius: .7cqw; padding: .8cqw 0; margin-top: .7cqw; }

.wb-betaalscherm {
  position: absolute; right: 0; bottom: 0; width: 34%;
  background: #f4f6fa; border-radius: 1cqw; padding: 1.6cqw;
  box-shadow: 0 24px 60px -16px rgba(36,16,67,.45), 0 0 0 1px rgba(13,21,38,.08);
  font-family: "Segoe UI", -apple-system, sans-serif; text-align: center;
}
.wb-betaalscherm > b { display: block; font-size: 1.8cqw; }
.wb-betaalscherm > small { display: block; font-size: 1.1cqw; color: #5a6478; margin: .3cqw 0 1.1cqw; }
.wb-keuzes { display: grid; grid-template-columns: 1fr 1fr; gap: .8cqw; }
.wb-keuzes span { background: var(--k); color: #fff; border-radius: .8cqw; padding: 1.6cqw .5cqw; font-weight: 700; font-size: 1.5cqw; }
.wb-keuzes small { display: block; font-weight: 400; font-size: .95cqw; opacity: .9; margin-top: .2cqw; }

.wb-stappen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin: 24px 0 56px; }
.wb-stappen i { display: inline-flex; width: 34px; height: 34px; border-radius: 50%; background: var(--blauw); color: #fff; font-style: normal; font-weight: 700; align-items: center; justify-content: center; margin-bottom: 12px; }
.wb-stappen h3 { font-size: 19px; margin-bottom: 6px; }
.wb-stappen p { color: var(--inkt-zacht); margin: 0; font-size: 15.5px; }
@media (max-width: 780px) {
  .wb-stappen { grid-template-columns: 1fr; gap: 22px; }
  .wb-venster { width: 100%; }
  .wb-betaalscherm { position: static; width: 70%; margin: 4cqw 0 0 auto; }
  .wb-podium { padding-bottom: 0; margin-bottom: 32px; }
}
@media (max-width: 940px) { .wb-onder.tweekolom { grid-template-columns: 1fr; gap: 32px; } }

/* Het bovenste blok: tekst, en daaronder Kassanext Bar op volle breedte. */
.bovenstapel > div:first-child { max-width: 760px; }
.bovenstapel h1 { max-width: none; }
.wb-boven { margin-top: 56px; margin-bottom: 0; }
.wb-betaalscherm { color: #0d1526; }
.wb-boven .wb-betaalscherm { box-shadow: 0 24px 60px -10px rgba(0,0,0,.55); }
.wb-boven .wb-venster { box-shadow: 0 0 0 1px rgba(255,255,255,.18), 0 30px 80px -10px rgba(0,0,0,.6); }
