:root{
  --orange:#d2481c; --orange-dark:#a9350f; --amber:#e8a52a; --sky:#3d7fb8;
  --paper:#fdf5e8; --card:#fffaf1; --ink:#2c2119; --muted:#7c6a5a; --line:#e6d6bf;
  --ok:#2f7d4f; --err:#b3341f;
}
*{box-sizing:border-box}
body{margin:0;background:var(--paper);color:var(--ink);
  font-family:"Nunito",system-ui,-apple-system,"Segoe UI",sans-serif;line-height:1.55}
body.center{display:grid;place-items:center;min-height:100vh;padding:1rem}
h1,h2,h3{font-family:"Trebuchet MS","Nunito",sans-serif;line-height:1.15;margin:0 0 .5rem}
h1{font-size:clamp(1.6rem,4vw,2.4rem)}
a{color:var(--orange-dark)}
.wrap{max-width:1080px;margin:0 auto;padding:0 1rem}
.site-header{background:#1f2f3d;color:#fff;position:sticky;top:0;z-index:20}
.site-header a{color:#fff;text-decoration:none}
.header-inner{display:flex;flex-wrap:wrap;gap:.75rem;align-items:center;justify-content:space-between;padding:.6rem 1rem}
.brand{display:flex;align-items:center;gap:.6rem;font-weight:800;font-size:1.05rem}
.brand img{height:38px;width:auto;border-radius:6px;background:#fff}
.nav{display:flex;flex-wrap:wrap;gap:.35rem 1rem;align-items:center;font-size:.95rem}
.badge{background:var(--orange);border-radius:999px;padding:0 .45rem;font-size:.8rem}
main{padding:1.5rem 1rem 3rem}
.card{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:1rem;
  box-shadow:0 1px 2px rgba(44,33,25,.06)}
.maint{max-width:34rem;text-align:center}
.grid{display:grid;gap:1rem}
.grid.cols{grid-template-columns:repeat(auto-fill,minmax(260px,1fr))}
.split{display:grid;gap:1.25rem}
@media(min-width:860px){.split{grid-template-columns:1fr 340px;align-items:start}}
.btn{display:inline-block;background:var(--orange);color:#fff;border:0;border-radius:10px;
  padding:.6rem 1rem;font:inherit;font-weight:700;cursor:pointer;text-decoration:none;text-align:center}
.btn:hover{background:var(--orange-dark)}
.btn.small{padding:.35rem .7rem;font-size:.9rem}
.btn.tiny{padding:.2rem .45rem;font-size:.78rem;border-radius:7px;font-weight:600;line-height:1.3}
td.right .btn.tiny{margin:.1rem .1rem}
.btn.ghost{background:transparent;color:var(--orange-dark);border:1px solid var(--orange)}
.btn.blue{background:var(--sky)}
.btn.wide{width:100%}
.btn[disabled]{opacity:.5;cursor:not-allowed}
label{display:block;font-weight:700;font-size:.9rem;margin:.6rem 0 .2rem}
input,select,textarea{width:100%;padding:.55rem .7rem;border:1px solid var(--line);border-radius:10px;
  background:#fff;font:inherit;color:inherit}
input[type=checkbox]{width:auto}
.row{display:grid;gap:.6rem}
@media(min-width:640px){.row.two{grid-template-columns:1fr 1fr}.row.three{grid-template-columns:repeat(3,1fr)}}
table{width:100%;border-collapse:collapse;font-size:.94rem}
th,td{text-align:left;padding:.5rem;border-bottom:1px solid var(--line);vertical-align:top}
th{font-size:.82rem;text-transform:uppercase;letter-spacing:.03em;color:var(--muted)}
.table-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}
.muted{color:var(--muted)}
.right{text-align:right}
.notice{border-radius:10px;padding:.6rem .8rem;margin:0 0 1rem}
.notice.ok{background:#e7f4ea;border:1px solid #b7ddc2;color:var(--ok)}
.notice.err{background:#fbe9e6;border:1px solid #eebcb3;color:var(--err)}
.notice.warn{background:#fdf1d9;border:1px solid #f0d597;color:#8a5b09}
.pill{display:inline-block;border-radius:999px;padding:.1rem .6rem;font-size:.8rem;font-weight:700;
  background:var(--amber);color:#3a2b10}
.pill.sky{background:var(--sky);color:#fff}
.pill.grey{background:#e6ded2;color:var(--muted)}
.pill.red{background:var(--err);color:#fff}
.pill.green{background:var(--ok);color:#fff}
.event-card{display:flex;flex-direction:column;overflow:hidden;padding:0}
.event-card img{width:100%;height:150px;object-fit:cover}
.event-card .body{padding:.9rem;display:flex;flex-direction:column;gap:.35rem;flex:1}
.hero{background:linear-gradient(135deg,var(--orange),var(--amber));color:#fff;border-radius:20px;
  padding:2rem 1.25rem;margin-bottom:1.5rem}
.hero p{max-width:44rem;margin:.4rem 0 0}
.qr{background:#fff;padding:.6rem;border-radius:12px;display:inline-block}
.pos-btn{display:flex;justify-content:space-between;gap:.5rem;width:100%;background:#fff;
  border:1px solid var(--line);border-radius:12px;padding:.65rem .8rem;font:inherit;cursor:pointer;text-align:left}
.pos-btn:hover{border-color:var(--orange)}
#scanwrap video{width:100%;border-radius:14px;background:#000}
.footer-grid{display:grid;gap:1.2rem;padding:1.5rem 0}
@media(min-width:720px){.footer-grid{grid-template-columns:repeat(3,1fr)}}
.footer-grid p{margin:.2rem 0}
.footer-links{list-style:none;margin:.2rem 0;padding:0;display:grid;gap:.25rem}
.footer-bottom{border-top:1px solid var(--line);padding:.8rem 0;font-size:.85rem}
.legal h2{font-size:1.05rem;margin:1.2rem 0 .3rem}
.legal h2:first-child{margin-top:0}
.legal ul{padding-left:1.2rem}
.cookie-banner{position:fixed;inset:auto 0 0 0;z-index:50;background:#fff;border-top:2px solid var(--orange);
  box-shadow:0 -6px 24px rgba(0,0,0,.12);padding:1rem}
.cookie-inner{max-width:64rem;margin:0 auto;display:grid;gap:.8rem}
.cookie-inner p{margin:.3rem 0 0;font-size:.9rem}
@media(min-width:820px){.cookie-inner{grid-template-columns:1fr auto;align-items:center}}
.cookie-actions{display:flex;gap:.5rem;flex-wrap:wrap}
.cookie-actions .btn{flex:1;justify-content:center;text-align:center}
@media print{.cookie-banner{display:none!important}}
@media print{.site-header,.site-footer,.noprint{display:none!important}body{background:#fff}}

.event-list{display:grid;gap:.9rem}
.event-row{display:flex;flex-direction:column;gap:.8rem;padding:.9rem}
.event-row img{width:100%;height:170px;object-fit:cover;border-radius:.6rem;flex:none}
.event-row .body{display:flex;flex-direction:column;gap:.3rem;flex:1 1 auto;min-width:0}
.event-row-action{display:flex;gap:.5rem;align-items:center}
@media(min-width:700px){
  .event-row{flex-direction:row;align-items:center;gap:1rem}
  .event-row img{width:200px;height:120px}
}
.pager{display:flex;flex-wrap:wrap;gap:.4rem;align-items:center;margin:1.2rem 0}

/* Reports, Belege */
.rep-tabs{display:flex;gap:.4rem;flex-wrap:wrap;margin:.4rem 0 1rem}
.rep-tabs a{padding:.45rem .8rem;border-radius:999px;background:rgba(0,0,0,.06);text-decoration:none;font-size:.92rem}
.rep-tabs a.active{background:var(--brand,#e06c1f);color:#fff}
.beleg{background:#fff;color:#111;border-radius:.8rem;padding:1.2rem;margin-top:1rem;box-shadow:0 1px 4px rgba(0,0,0,.1)}
.beleg .muted{color:#666}
.beleg-head{display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;border-bottom:2px solid #111;padding-bottom:.6rem;margin-bottom:.9rem;font-size:.9rem}
.beleg-logo{max-height:48px;display:block;margin-bottom:.4rem}
.beleg table{width:100%;border-collapse:collapse;font-size:.9rem;margin-bottom:.9rem}
.beleg th,.beleg td{border-bottom:1px solid #ddd;padding:.4rem .5rem;text-align:left;vertical-align:top}
.beleg .right{text-align:right}
.beleg-meta th{width:14rem;background:#f5f5f5}
.beleg-items tfoot th{border-top:2px solid #111;background:#f5f5f5}
.beleg-note{font-size:.85rem;background:#f7f7f7;border-left:3px solid #999;padding:.5rem .7rem;margin:.6rem 0}
.beleg-sign{display:flex;gap:2rem;flex-wrap:wrap;margin-top:2rem;font-size:.82rem}
.beleg-sign>div{flex:1 1 12rem}
.beleg-sign .line{display:block;border-bottom:1px solid #111;height:2.2rem}
.beleg-foot{font-size:.75rem;margin-top:1rem}
@media print{
  .beleg{box-shadow:none;border-radius:0;padding:0;margin:0 0 1.5rem;page-break-after:always}
  .beleg:last-of-type{page-break-after:auto}
  .rep-tabs{display:none!important}
}
