@font-face{font-family:'Plex Mono';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/plex-mono.woff2) format('woff2')}
/* Leistungen als Kassenzettel (von Jan am 03.10.2026 gewählt, am 04.10.2026 „mehr Kassenzettel": gezackte Kanten, Kopf mit Datum,
   Summe, echter Strichcode, leicht schimmernder Goldgrund; aktiv über <html data-liste="d">)
   Ein schmaler weißer Zettel liegt auf dem Papiergrund: Kopfzeile, alle sieben Leistungen als Positionen
   mit Punktlinie und Haken, darunter das Kleingedruckte der gewählten Position, Strichcode und Leitsatz.
   Die Höhe ist fest: alle Texte liegen im selben Feld übereinander – darunter verrutscht nichts. */

html[data-liste="d"] #leistungen .schalter,
html[data-liste="d"] #leistungen ol.liste{display:none}

/* Am Rechner bekommt der Zettel eine feste, schmale Spalte – die Zeichnung nimmt den Rest */
@media (min-width:1041px){html[data-liste="d"] .frei{grid-template-columns:minmax(0,1fr) 388px}}
@media (min-width:1041px) and (max-width:1240px){html[data-liste="d"] .frei{grid-template-columns:minmax(0,1fr) 360px}}

html[data-liste="d"] .zettel-d{--zd-weich:cubic-bezier(.4,0,.2,1);--zd-mono:'Plex Mono',ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;position:relative;width:100%;max-width:440px;margin-inline:auto;
  clip-path:inset(0 -70px 100% -70px)}
html[data-liste="d"] .zettel-d.gedruckt{clip-path:inset(0 -70px -90px -70px);transition:clip-path 1.3s var(--zd-weich)}
html[data-liste="d"] .zettel-d::before{content:"";position:absolute;z-index:-1;inset:8px 5px 4px;border-radius:3px;box-shadow:0 1px 2px rgba(var(--schatten),.1),0 26px 34px -6px rgba(var(--schatten),.2)}

/* Papier: Kassenrolle mit gezackter Abrisskante oben und unten, leicht goldener Grund */
html[data-liste="d"] .zd-papier{--zz:5px;position:relative;isolation:isolate;overflow:hidden;padding:32px 30px 28px;transform:translateY(-16px);
  background:linear-gradient(168deg,#FFFEFA 0%,#FBF3DD 30%,#FFFDF6 55%,#F9EED2 82%,#FFFBEF 100%);
  -webkit-mask:conic-gradient(from 135deg at top,#0000,#000 1deg 89deg,#0000 90deg) top/calc(2*var(--zz)) 51% repeat-x,conic-gradient(from -45deg at bottom,#0000,#000 1deg 89deg,#0000 90deg) bottom/calc(2*var(--zz)) 51% repeat-x;
  mask:conic-gradient(from 135deg at top,#0000,#000 1deg 89deg,#0000 90deg) top/calc(2*var(--zz)) 51% repeat-x,conic-gradient(from -45deg at bottom,#0000,#000 1deg 89deg,#0000 90deg) bottom/calc(2*var(--zz)) 51% repeat-x}
html[data-liste="d"] .zettel-d.gedruckt .zd-papier{transform:none;transition:transform 1.3s var(--zd-weich)}
/* Schimmer: ein weicher Lichtstreifen zieht langsam über das Papier, dann ruht er */
html[data-liste="d"] .zd-papier::before{content:"";position:absolute;z-index:-1;inset:0 -90%;pointer-events:none;
  background:linear-gradient(104deg,transparent 41%,rgba(233,205,134,.24) 46.5%,rgba(255,251,236,.9) 50%,rgba(233,205,134,.2) 53.5%,transparent 59%);
  transform:translateX(-34%)}
html[data-liste="d"] .zettel-d.gedruckt .zd-papier::before{animation:zd-schimmer 9s cubic-bezier(.45,0,.25,1) 2.6s infinite}
@keyframes zd-schimmer{0%{transform:translateX(-34%)}40%,100%{transform:translateX(34%)}}

/* Kopf wie auf dem Kassenzettel: Name des Hauses, darunter eine schmale Zeile, dann Beleg-Zeile mit Datum und Uhrzeit */
html[data-liste="d"] .zd-laden{text-align:center}
html[data-liste="d"] .zd-marke{font-weight:800;font-size:19px;line-height:1.2;letter-spacing:.16em;text-indent:.16em;color:var(--tinte)}
html[data-liste="d"] .zd-marke b{font-weight:800;background:var(--goldtext);-webkit-background-clip:text;background-clip:text;color:transparent}
html[data-liste="d"] .zd-unter{margin-top:6px;font:400 11px/1.5 var(--zd-mono);letter-spacing:.05em;color:var(--grau)}
html[data-liste="d"] .zd-meta{display:flex;justify-content:space-between;gap:12px;margin-top:15px;padding:9px 0 8px;font:400 11px/1.5 var(--zd-mono);letter-spacing:.06em;text-transform:uppercase;color:var(--bronze);
  background:linear-gradient(90deg,rgba(150,116,52,.7) 0 4px,#0000 4px 8px) 0 0/8px 1px repeat-x,linear-gradient(90deg,rgba(150,116,52,.7) 0 4px,#0000 4px 8px) 0 100%/8px 1px repeat-x}
html[data-liste="d"] .zd-datum{min-width:9.5em;text-align:right;white-space:nowrap}
html[data-liste="d"] .zd-summe{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-top:14px;padding-top:11px;font-weight:700;font-size:12px;line-height:1.5;letter-spacing:.2em;text-transform:uppercase;color:var(--tinte);
  background:linear-gradient(rgba(150,116,52,.75),rgba(150,116,52,.75)) 0 0/100% 1px no-repeat,linear-gradient(rgba(150,116,52,.75),rgba(150,116,52,.75)) 0 3px/100% 1px no-repeat}
html[data-liste="d"] .zd-summe span+span{font:400 11.5px/1.5 var(--zd-mono);letter-spacing:.06em;color:var(--text)}

/* Gruppen und Positionen */
html[data-liste="d"] .zd-art{margin:20px 0 5px;font-weight:600;font-size:10px;line-height:1.4;letter-spacing:.24em;text-transform:uppercase;color:var(--grau);transition:color .35s ease}
html[data-liste="d"] .zd-gruppe.an .zd-art{color:var(--bronze)}
html[data-liste="d"] .zd-gruppe + .zd-gruppe .zd-art{margin-top:16px}
html[data-liste="d"] .zd-gruppe ol{list-style:none;margin:0;padding:0}
html[data-liste="d"] .zd-zeile{display:flex;align-items:baseline;width:100%;height:36px;padding:0;font-weight:500;font-size:15px;line-height:36px;letter-spacing:.005em;text-align:left;color:var(--text);cursor:pointer;border-radius:8px;-webkit-tap-highlight-color:transparent}
html[data-liste="d"] .zd-zeile:focus-visible{outline:2px solid #B8903F;outline-offset:3px}
html[data-liste="d"] .zd-nr{flex:none;width:31px;font:400 11px/1 var(--zd-mono);letter-spacing:.04em;color:#94702B;transition:color .28s ease}
html[data-liste="d"] .zd-name{position:relative;z-index:0;flex:none;white-space:nowrap;transition:color .28s ease}
html[data-liste="d"] .zd-zeile:hover .zd-name,
html[data-liste="d"] .zd-zeile.an .zd-name{color:var(--tinte)}
html[data-liste="d"] .zd-zeile.an .zd-nr{color:var(--bronze)}

/* Markerstrich: zieht von links nach rechts hinter den Namen, der alte verblasst ruhig */
html[data-liste="d"] .zd-name::before{content:"";position:absolute;z-index:-1;left:-8px;right:-9px;top:8px;bottom:6px;border-radius:5px 11px 6px 10px/10px 6px 11px 5px;
  background:linear-gradient(96deg,rgba(233,205,134,.78),rgba(241,220,158,.5) 52%,rgba(233,205,134,.72));
  opacity:0;clip-path:inset(0 100% 0 0);transition:opacity .26s ease,clip-path 0s linear .26s}
html[data-liste="d"] .zd-zeile.an .zd-name::before{opacity:1;clip-path:inset(0 0 0 0);transition:clip-path .36s cubic-bezier(.3,.7,.2,1),opacity .12s ease}
html[data-liste="d"] .zettel-d:not(.gedruckt) .zd-zeile.an .zd-name::before{clip-path:inset(0 100% 0 0)}
html[data-liste="d"] .zettel-d.frisch .zd-zeile.an .zd-name::before{transition-delay:1.05s}

/* Punktlinie und Haken */
html[data-liste="d"] .zd-punkte{flex:1 1 10px;width:10px;min-width:10px;height:2px;margin:0 8px 0 13px;overflow:visible;transform:scaleX(-1);fill:none;stroke:rgba(169,130,60,.9);stroke-width:1.35;stroke-linecap:round;stroke-dasharray:.01 6}
html[data-liste="d"] .zd-haken{flex:none;align-self:center;width:20px;height:20px;margin-right:-2px;fill:none;stroke:#B8903F;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;overflow:visible}
html[data-liste="d"] .zd-haken path{stroke-dasharray:1;stroke-dashoffset:1;transition:stroke .6s ease}
html[data-liste="d"] .zettel-d.gedruckt .zd-haken path{stroke-dashoffset:0;transition:stroke-dashoffset .55s var(--zd-weich),stroke .6s ease}
html[data-liste="d"] .zettel-d.frisch .zd-haken path{transition-delay:calc(.7s + var(--i,0)*.11s),0s}
html[data-liste="d"] .zd-haken circle{stroke-width:1;stroke-dasharray:1;stroke-dashoffset:1;opacity:0;transform:rotate(-90deg);transform-origin:10px 10px;transition:opacity .25s ease,stroke-dashoffset 0s linear .25s}
html[data-liste="d"] .zettel-d.gedruckt .zd-zeile.an .zd-haken circle{stroke-dashoffset:0;opacity:1;transition:stroke-dashoffset .45s cubic-bezier(.3,.7,.2,1),opacity .12s ease}
html[data-liste="d"] .zettel-d.frisch .zd-zeile.an .zd-haken circle{transition-delay:1.25s}
html[data-liste="d"] .zd-zeile.an .zd-haken path{stroke:#7A5A1F}

/* Kleingedrucktes: alle Texte liegen übereinander, das Feld ist so hoch wie der längste */
html[data-liste="d"] .zd-text{display:grid;margin-top:12px;padding:16px 0 18px;
  background:linear-gradient(90deg,rgba(150,116,52,.7) 0 4px,#0000 4px 8px) 0 0/8px 1px repeat-x,linear-gradient(90deg,rgba(150,116,52,.7) 0 4px,#0000 4px 8px) 0 100%/8px 1px repeat-x}
html[data-liste="d"] .zd-text p{grid-area:1/1;font-size:14px;line-height:1.6;color:var(--grau);opacity:0;pointer-events:none;transition:opacity .22s ease}
html[data-liste="d"] .zd-text p.an{opacity:1;pointer-events:auto;transition:opacity .38s ease .06s}
html[data-liste="d"] .zd-text strong{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}

/* Fuß: echter Strichcode (Code 128) in Tinte, darunter die Ziffern – wie es sich gehört */
html[data-liste="d"] .zd-fuss{padding-top:20px;text-align:center}
html[data-liste="d"] .zd-code{display:block;width:264px;max-width:100%;height:44px;margin-inline:auto;fill:#1B1811}
html[data-liste="d"] .zd-ziffern{margin-top:7px;font:400 11.5px/1 var(--zd-mono);letter-spacing:.32em;text-indent:.32em;color:var(--text)}

@media (min-width:1241px){html[data-liste="d"] .zd-zeile{font-size:15.5px}}
@media (min-width:1041px) and (max-width:1240px){html[data-liste="d"] .zd-papier{padding-inline:26px}}
@media (max-width:700px){
  html[data-liste="d"] .zd-papier{padding:30px 24px 26px}
  html[data-liste="d"] .zd-marke{font-size:18px}
  html[data-liste="d"] .zd-art{margin-top:17px}
  html[data-liste="d"] .zd-gruppe + .zd-gruppe .zd-art{margin-top:13px}
  html[data-liste="d"] .zd-zeile{height:38px;line-height:38px}
  html[data-liste="d"] .zd-name::before{top:9px;bottom:7px}
  html[data-liste="d"] .zd-text{margin-top:14px;padding:15px 0 16px}
  html[data-liste="d"] .zd-fuss{padding-top:18px}
}
@media (max-width:380px){
  html[data-liste="d"] .zd-papier{padding-inline:18px}
  html[data-liste="d"] .zd-zeile{font-size:14.5px}
  html[data-liste="d"] .zd-nr{width:26px}
  html[data-liste="d"] .zd-punkte{margin:0 6px 0 9px;min-width:8px}
  html[data-liste="d"] .zd-haken{width:18px;height:18px}
  html[data-liste="d"] .zd-name::before{left:-6px;right:-7px}
}
@media (prefers-reduced-motion:reduce){
  html[data-liste="d"] .zettel-d,html[data-liste="d"] .zettel-d *,html[data-liste="d"] .zettel-d *::before{transition:none!important;animation:none!important}
  html[data-liste="d"] .zettel-d{clip-path:none!important}
  html[data-liste="d"] .zettel-d .zd-papier{transform:none!important}
  html[data-liste="d"] .zettel-d .zd-haken path{stroke-dashoffset:0!important}
}
