/* Ausstellerportal und Login – Designsystem C (designsystem-C.md 8.9, 9.3, 10): hell, Kopf auf Stein,
   Karten und Summen im Konfigurator-Stil nach LEDBRIX. Nur Variablen und Bausteine aus site.css;
   booking.css wird im Portal nicht geladen (die Formular-Hilfsklassen bk-* aus pages/book.js stehen unten). */

/* ---------- Kopf: Steinfläche, Logo-Fläche, Reiter mit Lila-Unterstrich ---------- */
.pt-head { padding-top: clamp(28px, 4vw, 48px); background: var(--stone); }
/* 2-px-Regel als Abschluss wie .page-hero (bündig mit dem Inhalt); der aktive Reiter liegt darauf */
.pt-head > .wrap { background: linear-gradient(var(--ink), var(--ink)) var(--gutter) 100% / calc(100% - 2 * var(--gutter)) 2px no-repeat; }
.pt-head-row { display: flex; flex-wrap: wrap; gap: 16px 24px; justify-content: space-between; align-items: center; }
.pt-id { display: flex; gap: 20px; align-items: center; min-width: 0; }
.pt-id-text { min-width: 0; }
.pt-id .eyebrow { margin-bottom: .5em; }
.pt-id h1 { font-size: clamp(1.6rem, 1rem + 2.4vw, 2.6rem); margin-bottom: .2em; overflow-wrap: break-word; }
.pt-id .muted { font-size: var(--fs-sm); }
.pt-logo { flex: none; width: 76px; height: 76px; border-radius: var(--r-l); display: grid; place-items: center; overflow: hidden;
  background: var(--lila-tint); border: 1px solid var(--hairline); color: var(--lila-deep); font-weight: 700; font-size: 1.6rem; letter-spacing: .02em; }
.pt-logo.has-logo { background: var(--paper); padding: 8px; }
.pt-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.pt-logout { margin: 0; }
.pt-nav { display: flex; gap: 2px; margin: clamp(20px, 3vw, 30px) -14px 0; overflow-x: auto; scrollbar-width: none; }
.pt-nav::-webkit-scrollbar { display: none; }
.pt-nav a { position: relative; flex: none; padding: 12px 14px 15px; color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .92rem;
  white-space: nowrap; border-radius: var(--r-s) var(--r-s) 0 0; transition: color .15s, background .15s; }
.pt-nav a:hover { color: var(--ink); background: var(--stone-2); }
.pt-nav a[aria-current="page"] { color: var(--ink); }
.pt-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 3px; background: var(--lila); }
.pt-nav a:focus-visible { outline-offset: -3px; }     /* im Scroll-Container sonst abgeschnitten */
.pt-body { padding-top: clamp(24px, 3.5vw, 40px); }
.pt-flash { margin-bottom: 20px; }
@media (max-width: 560px) {
  .pt-id { flex-direction: column; gap: 12px; align-items: flex-start; }
  .pt-logo { width: 52px; height: 52px; font-size: 1.1rem; border-radius: var(--r-m); }
  .pt-id h1 { font-size: 1.5rem; }
  .pt-nav a { padding-inline: 12px; font-size: .875rem; }
  .pt-nav a[aria-current="page"]::after { left: 12px; right: 12px; }
}

/* ---------- Übersicht: Status-Karte im Konfigurator-Stil ---------- */
.pt-grid { display: grid; gap: clamp(16px, 2.4vw, 28px); grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: start; }
@media (max-width: 960px) { .pt-grid { grid-template-columns: minmax(0, 1fr); } }
.pt-status-top { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.pt-status-top .badge { font-size: .8rem; padding: .35em .9em; }
.pt-stand { display: grid; gap: 8px; margin: 20px 0 10px; }
/* Standnummer als Display-Zahl (led-digits aus site.css: 700, Lila, tabellarisch) */
.pt-stand-no { font-size: clamp(2.75rem, 1.8rem + 3vw, 4.25rem); line-height: var(--lh-num); overflow-wrap: anywhere; }
.pt-dl { margin: 0; }
.pt-dl .cfg-row { flex-wrap: wrap; }
.pt-dl .cfg-row dd { margin-left: auto; }
.pt-dl-plain .cfg-row:last-child { border-bottom: 0; }
.pt-dl + .pt-sum { margin-top: 0; border-top: 0; }   /* die letzte Zeile trennt schon */
.pt-sum { margin-bottom: 18px; }
@media (max-width: 560px) {
  .pt-dl .cfg-row { display: grid; gap: 2px; }          /* Handy: Bezeichnung über dem Wert, beide links */
  .pt-dl .cfg-row dd { margin-left: 0; text-align: left; }
}

/* Countdown bis zum Ablauf der Reservierung: Stein-Kasten, Zahlen 700 tabellarisch, kurz vor Ablauf --warn */
.pt-cd { margin: 20px 0 18px; padding: 16px 18px 14px; border-radius: var(--r-m); background: var(--stone); border: 1.5px solid transparent; }
.pt-cd-label { margin: 0 0 10px; font-size: .72rem; font-weight: 600; letter-spacing: var(--tr-caps); text-transform: uppercase; color: var(--ink-2); }
.pt-cd-units { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.pt-cd-unit { text-align: center; padding: 12px 4px 10px; border-radius: var(--r-s); background: var(--paper); }
.pt-cd-unit b { display: block; font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem); line-height: 1; color: var(--ink); }
.pt-cd-unit span { display: block; margin-top: 6px; font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.pt-cd-at { margin-top: 10px; }
.pt-cd.is-soon { border-color: var(--warn); background: var(--warn-tint); }
.pt-cd.is-soon .pt-cd-label, .pt-cd.is-soon .pt-cd-unit b { color: var(--warn); }
.pt-cd.is-over .pt-cd-unit b { color: var(--muted); }

/* Fortschritt: Reserviert → Gebucht → Bestätigung → Rechnung/Tickets (Quadrate statt Punkte, ohne Schein) */
.pt-track { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.pt-track li { position: relative; padding-top: 24px; font-size: .8rem; color: var(--ink-2); line-height: 1.3; }
.pt-track li::before { content: ""; position: absolute; top: 6px; left: 0; right: -6px; height: 2px; background: var(--line-2); }
.pt-track li:last-child::before { right: 0; }
.pt-track-dot { position: absolute; top: 0; left: 0; z-index: 1; width: 14px; height: 14px; border-radius: 4px; background: var(--paper); border: 2px solid var(--field); }
.pt-track li.done::before { background: var(--lila); }
.pt-track li.done .pt-track-dot { background: var(--lila); border-color: var(--lila); }
.pt-track li.now .pt-track-dot { background: var(--lila); border-color: var(--lila); box-shadow: 0 0 0 4px var(--lila-tint); }   /* Ring, kein Schein */
.pt-track li.done, .pt-track li.now { color: var(--ink); font-weight: 600; }
.pt-track-label { display: block; hyphens: auto; overflow-wrap: break-word; }   /* „Standbestätigung“ in schmalen Spalten */
.pt-track-date { display: block; margin-top: 2px; font-size: .72rem; font-weight: 500; color: var(--ink-2); font-variant-numeric: tabular-nums; }
@media (max-width: 560px) {
  .pt-track { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .pt-track li { padding: 0 0 14px 28px; }
  .pt-track li::before { top: 14px; bottom: 0; left: 6px; right: auto; width: 2px; height: auto; }
  .pt-track li:last-child::before { display: none; }
  .pt-track-date { display: inline; margin-left: 8px; }
}
.pt-release { margin-top: 16px; }
.pt-release > summary { color: var(--ink-2); }

/* Seitenspalte: Plan-Ausschnitt, Nachbarn, nächste Schritte */
.pt-side { display: grid; gap: clamp(16px, 2.4vw, 28px); min-width: 0; }
.pt-mini .pt-card-head { margin-bottom: 14px; }
h3.pt-sub { margin: 20px 0 6px; font-size: .72rem; font-weight: 600; line-height: 1.35; letter-spacing: var(--tr-caps); text-transform: uppercase; color: var(--ink-2); }
.pt-nb { list-style: none; padding: 0; margin: 0; display: grid; font-size: var(--fs-sm); }
.pt-nb li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.pt-nb li:last-child { border-bottom: 0; }
.pt-nb li span:first-child { font-weight: 700; font-variant-numeric: tabular-nums; }
.pt-nb-st { color: var(--ink-2); text-align: right; }
.pt-nb-st.is-free { color: var(--lila-deep); font-weight: 600; }
.pt-todo-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.pt-todo-list li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 12px; align-items: start; }
.pt-todo-dot { position: relative; display: block; width: 18px; height: 18px; margin-top: 3px; border-radius: 5px; border: 2px solid var(--field); background: var(--paper); }
.pt-todo-list li.is-done .pt-todo-dot { background: var(--ok); border-color: var(--ok); }
.pt-todo-list li.is-done .pt-todo-dot::after { content: ""; position: absolute; left: 4px; top: 0; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.pt-todo-list li.is-done > span:not(.pt-todo-dot) { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--line-2); }
.pt-todo-list a { font-weight: 600; }
.pt-empty { max-width: 760px; }

/* Kacheln unter der Übersicht (Link-Karten: Rand --hairline, Hover Lila) */
.pt-tiles { margin-top: clamp(16px, 2.4vw, 28px); }
.pt-tile { display: flex; flex-direction: column; gap: 8px; padding: clamp(18px, 2.2vw, 26px); border: 1px solid var(--hairline); border-radius: var(--r-l);
  background: var(--paper); color: var(--ink); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.pt-tile:hover { border-color: var(--lila); box-shadow: var(--sh-1); color: var(--ink); }
.pt-tile h2 { margin: 0; }
.pt-tile p { margin: 0; color: var(--ink-2); }
.pt-tile-cta { align-self: flex-start; margin-top: auto; display: inline-flex; gap: .45em; padding: 10px 0 2px; font-weight: 600; color: var(--ink);
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat; }
.pt-tile:hover .pt-tile-cta { color: var(--lila); }
.pt-meter { display: block; width: 100%; height: 8px; margin: 2px 0; }
.pt-meter-bg { fill: var(--stone-2); }
.pt-meter-fg { fill: var(--lila); }
.pt-mini-checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; font-size: var(--fs-s); color: var(--ink-2); }
.pt-mini-checks li { display: flex; align-items: center; gap: 9px; }
.pt-mini-checks li::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 2px; border: 1.5px solid var(--field); }
.pt-mini-checks li.ok { color: var(--ink); }
.pt-mini-checks li.ok::before { background: var(--ok); border-color: var(--ok); }
/* Tickets je Stand: drei Mini-Kacheln (wie .bk-tix im Buchungs-Konfigurator) */
.pt-tix { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pt-tix li { padding: 10px 12px 11px; border-radius: var(--r-m); background: var(--stone); }
.pt-tix b { display: block; font-size: 1.5rem; font-weight: 700; line-height: 1.1; letter-spacing: var(--tr-num); color: var(--lila); font-variant-numeric: tabular-nums; }
.pt-tix span { display: block; margin-top: 4px; font-size: .68rem; font-weight: 600; line-height: 1.25; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
@media (max-width: 420px) {
  .pt-tix { gap: 6px; }
  .pt-tix li { padding: 9px 8px 10px; }
  .pt-tix span { font-size: .625rem; letter-spacing: .04em; }   /* „AUSSTELLER“ passt auch bei 360 px in die Kachel */
}
.pt-card-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; }
.pt-card-head h2, .pt-card-head h3 { margin: 0; }

/* ---------- Verbindlich buchen ---------- */
.pt-confirm .grid { align-items: start; }
.pt-stand:first-child { margin-top: 0; }
.pt-incl { gap: 8px; }
.pt-next { margin: 0; padding-left: 1.3em; display: grid; gap: 8px; color: var(--ink); }
.pt-next li::marker { color: var(--lila); font-weight: 700; }
.pt-confirm-form .check { font-size: 1rem; color: var(--ink); }
.pt-confirm-form .check a { font-weight: 700; }

/* ---------- Firmenprofil ---------- */
.pt-profile { display: grid; gap: clamp(16px, 2.4vw, 28px); grid-template-columns: minmax(0, 320px) minmax(0, 1fr); align-items: start; }
@media (max-width: 960px) { .pt-profile { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 961px) { .pt-logo-card { position: sticky; top: 92px; } }
.pt-logo-row { display: grid; gap: 14px; }
.pt-logo-preview { aspect-ratio: 16 / 9; display: grid; place-items: center; padding: 16px; overflow: hidden; border-radius: var(--r-m); background: var(--paper); border: 1px solid var(--hairline); }
.pt-logo-preview img { max-width: 100%; max-height: 100%; object-fit: contain; }
.pt-logo-preview.is-empty { background: var(--stone); border: 1.5px dashed var(--line-2); color: var(--ink-2); font-weight: 600; }
.pt-file { position: relative; overflow: hidden; }
.pt-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; font-size: 0; }
.pt-file:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }
.pt-profile-form .check { margin: 4px 0 12px; }
.pt-profile-form input[readonly] { background: var(--stone); color: var(--ink-2); }
/* Formular-Hilfsklassen aus pages/book.js (field(), errorSummary()) – im Portal ohne booking.css */
.pt-body .bk-fs { border: 0; padding: 0; margin: 0 0 10px; min-width: 0; }
/* legend schwebt, damit die Trennlinie über dem Abschnitt liegt und nicht durch die Überschrift läuft */
.pt-body .bk-fs legend { float: left; width: 100%; padding: 0; margin-bottom: 14px; font-size: var(--fs-h3); font-weight: 700; letter-spacing: -.01em; color: var(--ink); }
.pt-body .bk-fs legend + * { clear: both; }
.pt-body .bk-fs + .bk-fs { margin-top: 8px; padding-top: 22px; border-top: 1px solid var(--line); }
.pt-body .bk-wide { grid-column: 1 / -1; }
.pt-body .bk-errors { margin-bottom: 18px; }
.pt-body .bk-errors ul { margin: 6px 0 0; padding-left: 1.2em; }
.pt-body .bk-errors a { color: var(--ink); }
.pt-body .bk-count { text-align: right; font-variant-numeric: tabular-nums; }
.pt-body .bk-count.is-over { color: var(--bad); font-weight: 700; }

/* ---------- Teil 3: Profil für Hallenplan und Verzeichnis ---------- */
/* Logo auf seinem Hintergrund (SVG-Fläche .ex-bg): Portal-Kopf und Logo-Vorschau im Formular, immer mittig und unverzerrt */
.pt-logo.has-logo, .pt-logo-preview { position: relative; }
.pt-logo > .ex-bg, .pt-logo-preview > .ex-bg { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.pt-logo > img, .pt-logo-preview > img { position: relative; }
.pt-logo.has-logo.is-dark, .pt-logo-preview.is-dark { border-color: transparent; }
.pt-logo-preview:not(.is-empty) { padding: 7%; grid-template: minmax(0, 1fr) / minmax(0, 1fr); }
.pt-logo-preview:not(.is-empty) > img { width: 100%; height: 100%; max-width: none; max-height: none; }
.pt-logo.has-logo { grid-template: minmax(0, 1fr) / minmax(0, 1fr); }
.pt-logo.has-logo > img { width: 100%; height: 100%; }
@media (min-width: 640px) { .pt-logo-row { grid-template-columns: minmax(0, 280px) minmax(0, 1fr); align-items: start; } }

/* Karte „Ihr Profil auf dem Hallenplan“: Link mit Kopieren-Knopf */
.pt-share { margin-bottom: clamp(16px, 2.4vw, 28px); }
.pt-tiles + .pt-share { margin-top: clamp(16px, 2.4vw, 28px); margin-bottom: 0; }
.pt-share p { color: var(--ink); }
.pt-share-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pt-share-row input { flex: 1 1 320px; min-width: 0; background: var(--stone); color: var(--ink); font-size: .95rem; }

/* Vorschau: Standkachel und Karte, links neben dem Formular (mitlaufend) */
.pt-prev-col { min-width: 0; }
@media (min-width: 961px) { .pt-prev-col { position: sticky; top: 92px; } }
.pt-prev h3.pt-sub:first-of-type { margin-top: 10px; }
.pt-prev-card { max-width: 300px; }
.pt-prev-card .ex-tile.is-preview:hover { transform: none; box-shadow: none; border-color: var(--hairline); }
.pt-panel-prev { margin-top: clamp(16px, 2.4vw, 28px); }
.pt-panel-box { max-width: 460px; margin-top: 12px; }

/* Kategorien und Logo-Hintergrund als Chips (Checkbox bzw. Radio, sichtbar ist der Chip) */
.pt-cats, .pt-bg, .pt-person { margin: 4px 0 14px; padding: 0; border: 0; min-width: 0; }
.pt-body .bk-fs legend.pt-legend-sm { float: none; width: auto; padding: 0; margin-bottom: 6px; font-size: var(--fs-label); font-weight: 600; letter-spacing: var(--tr-label); color: var(--ink); }
.pt-chips { margin-top: 4px; }
.pt-chip { position: relative; }
.pt-chip input:disabled + .chip { opacity: .45; cursor: not-allowed; }
.pt-chip input:disabled + .chip:hover { border-color: var(--hairline); }
.pt-cats.has-error .chip { border-color: var(--bad); }
.pt-swatch { width: 16px; height: 16px; flex: none; margin-left: -4px; border-radius: 4px; outline: 1px solid var(--hairline); }
.pt-bg-custom { margin: 10px 0 0; max-width: 320px; }
.pt-bg-custom[hidden] { display: none; }
.pt-bg-row { display: flex; gap: 8px; align-items: center; }
.pt-bg-row input[type=text] { flex: 1 1 auto; min-width: 0; font-variant-numeric: tabular-nums; text-transform: uppercase; }
.pt-bg-row input[type=color] { width: 52px; height: 46px; padding: 3px; border: 1.5px solid var(--field); border-radius: var(--r-m); background: var(--paper); cursor: pointer; }
.pt-bg-row input[type=color][hidden] { display: none; }
/* Feld mit Häkchen „öffentlich zeigen“ darunter (eine Zelle im Raster) */
.pt-pair { display: grid; align-content: start; min-width: 0; }
.pt-pair .field { margin-bottom: 6px; }
.pt-pair .check { margin: 0 0 14px; font-size: var(--fs-sm); }
@media (min-width: 640px) { .pt-person-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pt-addr { margin-top: -4px; }

/* Bilder: Titelbild (2 : 1), Vorschaubild zum Video (16 : 9), Galerie mit Entfernen-Knopf */
.pt-media { margin: 6px 0 18px; }
.pt-media-prev { display: grid; place-items: center; overflow: hidden; max-width: 380px; border-radius: var(--r-m); background: var(--stone); border: 1px solid var(--hairline); }
.pt-media-prev.is-banner { aspect-ratio: 2 / 1; }
.pt-media-prev.is-video { aspect-ratio: 16 / 9; }
.pt-media-prev img { width: 100%; height: 100%; object-fit: cover; }
.pt-media-prev.is-empty { border: 1.5px dashed var(--line-2); color: var(--ink-2); font-weight: 600; font-size: var(--fs-sm); }
.pt-media .row { margin-top: 8px; }
.pt-gal { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); max-width: 560px; }
.pt-gal:empty { display: none; }
.pt-gal li { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: var(--r-s); background: var(--stone); }
.pt-gal img { width: 100%; height: 100%; object-fit: cover; }
.pt-gal-rm { position: absolute; top: 4px; right: 4px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--field);
  background: var(--paper); color: var(--ink); font: 400 1.25rem/1 var(--font); cursor: pointer; }
.pt-gal-rm:hover { border-color: var(--bad); color: var(--bad); }
.pt-gal-rm[hidden] { display: none; }
.pt-gal-n { font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--ink-2); }
.pt-file input:disabled + span { opacity: .5; }

/* Ansprechpartner am Stand: je Person ein Block mit feiner Linie */
.pt-person { padding-top: 10px; border-top: 1px solid var(--line); }

/* ---------- Tickets und Einladungscode ---------- */
.pt-invite { display: grid; gap: clamp(20px, 3vw, 40px); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 900px) { .pt-invite { grid-template-columns: minmax(0, 1fr); } }
.pt-code { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 16px 0 20px; }
/* Code als Display-Zahl in Stein-Pille */
.pt-code .led-digits { display: inline-block; max-width: 100%; padding: .22em .65em; border-radius: var(--r-pill); background: var(--stone);
  font-size: clamp(1.35rem, 1rem + 1.6vw, 2.1rem); line-height: 1.1; letter-spacing: .06em; overflow-wrap: anywhere; }
.pt-redeem-v { margin: 0 0 8px; }
.pt-redeem .pt-meter { height: 10px; }
.pt-share label { display: block; }
.pt-share textarea { min-height: 190px; margin-top: 8px; font-size: .9rem; line-height: 1.5; background: var(--stone); }
.pt-ticket-list { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; }
.pt-ticket-list li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 6px 10px; align-items: center; }
.pt-ticket-list li > .btn { grid-column: 3; grid-row: 1; }            /* PDF-Knopf immer in der Zeile des Namens */
.pt-ticket-list li > .badge { grid-column: 2; grid-row: 2; justify-self: start; }
.pt-ticket-n { min-width: 2ch; font-weight: 700; color: var(--lila); font-variant-numeric: tabular-nums; }
.pt-ticket-list input { padding: .6em .8em; }
/* Name und Position (freiwillig) nebeneinander, am Handy untereinander */
.pt-ticket-fields { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 6px; min-width: 0; }
.pt-ticket-fields input { width: 100%; min-width: 0; }
@media (max-width: 560px) { .pt-ticket-fields { grid-template-columns: minmax(0, 1fr); } }
.pt-ticket-list input[readonly] { background: var(--stone); color: var(--ink-2); }
.pt-need { white-space: nowrap; }                       /* Aussehen: .btn[aria-disabled] aus site.css */
.pt-sticky-save { position: sticky; bottom: 0; z-index: 5; margin-top: 18px; padding: 16px 0; background: linear-gradient(180deg, rgba(255, 255, 255, 0), var(--paper) 40%); }
@media (max-width: 520px) {
  .pt-ticket-list li { gap: 6px; }
  .pt-ticket-list li .btn { padding-inline: .9em; }
}

/* ---------- Messe-Shop: Optionen als Auswahl-Kacheln, LED-Wand-Preise in der Konfigurator-Karte ---------- */
.pt-shop-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 12px 24px; }
.pt-shop-head .badge { font-size: .85rem; padding: .45em 1em; }
.pt-shop-items { list-style: none; margin: clamp(20px, 3vw, 32px) 0 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.pt-shop-item { display: grid; align-content: start; gap: 6px; padding: 16px 18px 18px; border: 1px solid var(--hairline); border-radius: var(--r-m); background: var(--paper); }
.pt-shop-item .badge { justify-self: start; }
.pt-shop-item h3 { margin: 6px 0 0; font-size: 1.05rem; }
.pt-shop-item p { margin: 0; font-size: var(--fs-sm); color: var(--ink-2); }
.pt-led { margin-top: clamp(20px, 3vw, 32px); }
.pt-led-lead { max-width: var(--max-text); color: var(--ink-2); }
.pt-led-table caption { caption-side: top; padding: 12px 14px; font-size: var(--fs-sm); font-weight: 700; color: var(--ink); background: var(--paper); border-bottom: 1px solid var(--line); }
/* Einheiten in Tabellenköpfen nicht in Großbuchstaben (m statt M) */
.pt-led-table thead th { text-transform: none; letter-spacing: .02em; }
.pt-led-table th[scope="row"] { white-space: nowrap; }
.pt-led-table td { color: var(--ink); }

/* ---------- Dokumente ---------- */
.pt-docs { list-style: none; padding: 0; margin: clamp(20px, 3vw, 28px) 0 0; display: grid; gap: 10px; }
.pt-doc { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 20px; padding: 16px 20px;
  border: 1px solid var(--hairline); border-radius: var(--r-m); background: var(--paper); }
.pt-doc h3 { margin: 0 0 .25em; font-size: 1.02rem; }
.pt-doc.is-void { background: var(--paper, #f4f2ef); }                  /* stornierte Rechnung bzw. Storno: nachrangig */
.pt-doc.is-void h3 { color: var(--muted); }
/* „Schriftliches Angebot anfordern“ neben „Jetzt verbindlich buchen“ (lib/documents-ui.js, 29.10.2026): eigenes kleines Formular, am Handy darunter */
.pt-angebot { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 4px; margin: 0; }
.pt-confirm > .pt-angebot { margin-top: 14px; }
.pt-mydocs .note { margin-top: 10px; }

/* ---------- Anmelden, Anmeldelink bestätigen, Abmelden ---------- */
.lg-grid { display: grid; gap: clamp(16px, 3vw, 32px); grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: start; }
@media (max-width: 900px) { .lg-grid { grid-template-columns: minmax(0, 1fr); } }
.lg-card form { margin-top: 4px; }
.lg-card .note { margin-bottom: 16px; }
.lg-side { display: grid; gap: 16px; }
.lg-what { gap: 10px; color: var(--ink); }
.pt-auth-sec { min-height: 50vh; }
.pt-auth { max-width: 560px; margin-inline: auto; }
.pt-auth h1 { margin-bottom: .4em; }
.pt-auth .lead { margin-bottom: 1.2em; }

/* Handy-Wallet (lib/wallet.js): offizielle Badges unverändert und unverzerrt, 48 px hoch (Google: mindestens 48 dp und nicht
   kleiner als andere Knöpfe), Freiraum mindestens 8 px (Google 8 dp, Apple 0,1 × Höhe). Gleiche Regeln in tickets.css. */
.wallet-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.wallet-btn { display: inline-block; line-height: 0; border-radius: 8px; }
.wallet-btn img { display: block; height: 48px; width: auto; max-width: none; }
.pt-wallet-list { list-style: none; padding: 0; margin: 14px 0; display: grid; gap: 14px; }
.pt-wallet-list li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.pt-wallet-list li:first-child { border-top: 0; padding-top: 0; }
.pt-wallet-who { min-width: 0; overflow-wrap: anywhere; }

@media (prefers-reduced-motion: reduce) { .pt-nav a, .pt-tile { transition: none; } }
@media print { .pt-nav, .pt-logout, .pt-sticky-save, .pt-wallet { display: none !important; } }

/* Übertragene Tickets (ausgegraut mit „übertragen am …“), PDF-Knöpfe A6/Sammeldruck, Aufbauausweise, „Alle ins Wallet“ (17.10.2026) */
.pt-pdf-btns { display: flex; flex-wrap: wrap; gap: 6px; }
.pt-ticket-gone { color: var(--muted); }
.pt-ticket-gone .pt-gone-name { text-decoration: line-through; }
.pt-gone-name { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.pt-setup-list .wallet-btns { flex-basis: 100%; }
.pt-setup-form { align-items: center; gap: 10px; margin-top: 12px; }
.pt-setup-form select { width: auto; }
.wallet-all { margin: 4px 0 14px; }
.wallet-all-btn { white-space: normal; }

/* Veranstalterstand statt Preis; Unternehmensnachweis (Drittland) */
.pt-sum .sum-v.pt-org { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); }
.pt-proof { margin-top: 16px; }
.pt-proof [data-proof-ui] { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
.pt-proof [data-proof-ui][hidden] { display: none; }
.pt-proof .help { margin: 0; }

/* Messe-Shop im Portal (routes/20-booking.js shopOrderPage, lib/shop.js) */
.pt-shop-cat { margin-top: clamp(16px, 2.4vw, 24px); }
.pt-shop-cat h3 { margin: 0 0 8px; }
/* LED-Wand im Messe-Shop: Position (Abstand links, Unterkante) in einer Zeile, Jacek 22.10.2026 */
.pt-led-pos { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 8px; }
.pt-led-pos label { margin: 0; }
.pt-led-pos select { width: auto; min-width: 7.5em; }
/* Nivtec-Podest nach Maß: eine Zeile je Podest (Breite, Tiefe, Höhe), Preisliste eingeklappt, 22.10.2026 */
.pt-podest-row { margin-top: 6px; }
.pt-podest-n { min-width: 5.5em; }
.pt-podest-list { margin-top: 10px; }
.pt-podest-list summary { cursor: pointer; font-weight: 600; }
.pt-podest-list .table-wrap { margin-top: 8px; }
.pt-podest .pt-led-pos select { min-width: 6em; }
.pt-shop-table { width: 100%; table-layout: fixed; }               /* gleiche Spalten in allen Kategorien */
.pt-shop-table :is(th, td):nth-child(2) { width: 10.5rem; }
.pt-shop-table :is(th, td):nth-child(3) { width: 7rem; }
@media (max-width: 560px) {                                          /* Handy: Artikel über die volle Breite, darunter Preis und Menge */
  .pt-shop-cat.cfg { padding: 16px 12px; }
  .pt-shop-table, .pt-shop-table tbody { display: block; }
  .pt-shop-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .pt-shop-table tr { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px 12px; padding: 12px 4px; border-bottom: 1px solid var(--hairline); }
  .pt-shop-table tr:last-child { border-bottom: 0; }
  .pt-shop-table :is(th, td) { display: block; width: auto !important; padding: 0; border: 0; text-align: left; }
  .pt-shop-table th[scope="row"] { grid-column: 1 / -1; }
  .pt-shop-table td.num:last-child { justify-self: end; }
  .pt-qty { width: 5.5em; }
}
.pt-shop-table th[scope="row"] { font-weight: 500; }
.pt-qty { width: 5.5em; text-align: right; }
/* nicht bestellbar (ausgebucht, Limit erreicht, Stand zu klein): ausgegraut, der Hinweis steht am Artikel – Gewicht über der Feld-Regel aus v2.css */
.pt-shop .pt-shop-table input.pt-qty:disabled { background: var(--stone); opacity: .5; cursor: not-allowed; }
.pt-shop-form > .btn { margin-top: 8px; }

/* ---------- LEDTEK Night: Karten als Platzhalter, je Karte einlösen (lib/night.js, 19.10.2026) ---------- */
.pt-names-form { min-width: 0; }
.pt-night-sum { margin: 10px 0 8px; }
.pt-night .note { margin: 0 0 12px; }
.pt-night-list { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 10px; }
.pt-night-card { padding: 12px 0 0; border-top: 1px solid var(--line); }
.pt-night-card:first-child { border-top: 0; padding-top: 0; }
.pt-night-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.pt-night-who { flex: 1 1 10em; min-width: 0; overflow-wrap: anywhere; }
.pt-night-form { margin-top: 10px; }
.pt-night-form .field { margin-bottom: 10px; }
.pt-night-form .error-text { margin: 0 0 10px; }
.pt-night-edit { margin-top: 8px; }
.pt-night-edit summary { cursor: pointer; font-size: var(--fs-s); font-weight: 600; color: var(--lila); }
.pt-night-card.is-gone .pt-night-who { color: var(--muted); }
@media print { .pt-night-form, .pt-night-edit { display: none !important; } }

/* ---------- Rückwand Ihres Stands (routes/20-booking.js backwallCard, lib/backwall.js, 19.10.2026) ---------- */
.pt-bw { margin-top: clamp(16px, 2.4vw, 24px); }
.pt-bw-stand { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.pt-bw-tiles { grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); margin: 4px 0 10px; }
.pt-bw-swatch { display: block; height: 22px; margin-bottom: 6px; border: 1px solid var(--line-2); border-radius: var(--r-xs); }
.pt-bw-tile.is-black .pt-bw-swatch { background: var(--ink); }
.pt-bw-tile.is-white .pt-bw-swatch { background: var(--paper); }
.pt-bw-tile.is-print .pt-bw-swatch { background: var(--grad-lila); }
.pt-bw-state { margin: 0 0 8px; }
.pt-bw-print { margin: 0 0 12px; }
.pt-bw-led-h { margin-top: 18px; }
.pt-bw-led { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 10px; }
.pt-bw-led li { display: grid; gap: 2px; }
.pt-bw-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.pt-bw-molton { margin: 12px 0 0; }
/* „Im Hallenplan anzeigen, für wen der Stand reserviert ist?“ (routes/20-booking.js displayForm) */
.pt-display { margin-top: 16px; }
.pt-display .bk-fs { margin: 0 0 8px; padding: 0; border: 0; }
/* Logo-Freigabe (lib/logo-consent.js): Karte auf der Übersicht */
.pt-logo-consent { margin-top: 24px; }
.pt-logo-text { margin: 8px 0 12px; padding: 8px 12px; border-left: 3px solid var(--line); color: var(--muted); }
.pt-logo-consent .field { margin: 0 0 12px; }
.pt-display .check + .check { margin-top: 6px; }
.pt-display .help { margin: 0 0 8px; }
/* „Am Stand gibt es …“ im Firmenprofil (lib/stand-offers-ui.js): Chips wie die Kategorien, mit Symbol */
.pt-offers { margin: 4px 0 14px; padding: 0; border: 0; min-width: 0; }
.pt-offers .help { margin: 0 0 4px; }
.pt-offers .chip { gap: .35em; }
.pt-offer-ico { width: 1.15em; height: 1.15em; flex: none; }
