/* IT-Hilfe-Portal (06.11.2026): gleicher Stil wie LifeOS, blauer Kopf, weiße Kacheln. Ohne Fremdschriften. */
:root { --ink: #101c3d; --mute: #4a5777; --line: #e6ebf5; --bg: #eef2fa; --navy: #0c2a7c; --turn: #e8e7fd; --turn-ink: #312e81; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--ink); background: var(--bg); font: 15px/1.45 Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
a { color: #1d4ed8; }
h2 { margin: 0 0 6px; font-size: 15px; font-weight: 700; }
h3 { margin: 0 0 4px; font-size: 15px; }
p { margin: 0 0 8px; }
.pt-shell { max-width: 1240px; min-height: 100vh; margin: 0 auto; padding: 16px 16px 24px; }
.pt-hero { position: relative; overflow: hidden; padding: 26px 28px; color: #fff; border-radius: 26px; background: radial-gradient(circle at 75% -30%, rgba(255, 255, 255, .28), transparent 45%), linear-gradient(125deg, #07152f 0%, #123c91 52%, #2478f5 100%); }
.pt-hero-row { display: flex; align-items: center; gap: 12px; }
.pt-chip { flex: none; display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; background: #fff; overflow: hidden; }
.pt-chip img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pt-icon { flex: none; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: #fff; border: 1px solid rgba(255, 255, 255, .35); border-radius: 12px; background: rgba(12, 42, 124, .65); font-size: 24px; text-decoration: none; }
.pt-title { min-width: 0; flex: 1; }
.pt-title h1 { margin: 0; font-size: 28px; font-weight: 800; line-height: 1.15; letter-spacing: -.02em; overflow-wrap: anywhere; }
.pt-title p { margin: 3px 0 0; font-size: 14px; opacity: .92; }
.pt-hero-action { flex: none; display: flex; align-items: center; min-height: 46px; padding: 0 18px; color: var(--navy); border-radius: 12px; background: #fff; font-weight: 700; text-decoration: none; }
.pt-main { display: flex; flex-direction: column; gap: 14px; margin-top: 14px; }
.pt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; align-items: start; }
.pt-grid-ticket { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
.pt-col { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.pt-col:empty { display: none; }
.card { padding: 14px 16px; border-radius: 20px; background: #fff; }
.auth-card { width: 100%; max-width: 480px; margin: 0 auto; }
.card-icon, .eyebrow, .section-heading > span, .privacy-hero > span { display: none; }
.pt-muted, .hint, .support-note { color: var(--mute); font-size: 13.5px; }
.pt-row { display: block; padding: 11px 0; color: var(--ink); border-top: 1px solid var(--line); text-decoration: none; }
h2 + .pt-row, summary + .pt-row { border-top: 0; }
.pt-row-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.pt-row b { font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }
.pt-row small { display: block; margin-top: 2px; color: var(--mute); font-size: 13px; }
.pt-badge { flex: none; padding: 3px 9px; color: #33405f; border-radius: 999px; background: var(--bg); font-size: 12px; font-weight: 700; }
.pt-badge.is-turn { color: var(--turn-ink); background: var(--turn); }
.pt-badge.is-good { color: #14532d; background: #dcf5e5; }
.pt-stars { flex: none; color: #92400e; font-size: 13px; }
.pt-turn { padding: 14px 16px; color: var(--turn-ink); border-radius: 20px; background: var(--turn); }
.pt-turn p { margin: 0 0 4px; font-size: 14px; }
.pt-at { display: block; font-size: 21px; font-weight: 800; }
.pt-slot, .pt-slot:hover { display: flex; justify-content: space-between; align-items: center; gap: 8px; width: 100%; min-height: 50px; margin: 8px 0 0; padding: 0 14px; color: var(--turn-ink); border: 0; border-radius: 12px; background: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.pt-decline { margin-top: 10px; }
.pt-decline summary { font-size: 14px; font-weight: 700; text-decoration: underline; cursor: pointer; }
.button.pt-turn-btn { margin-top: 6px; background: var(--turn-ink); }
.pt-bubble { margin: 10px 34px 0 0; padding: 10px 12px; border-radius: 14px; background: #f1f3f9; overflow-wrap: anywhere; }
.pt-bubble.is-me { margin: 10px 0 0 34px; background: #dce6fb; }
.pt-bubble small { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 3px; color: var(--mute); font-size: 12px; }
details > summary { list-style: none; cursor: pointer; }
details > summary::-webkit-details-marker { display: none; }
.pt-more > summary, .close-ticket-panel > summary { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 26px; }
.pt-more > summary span, .close-ticket-panel > summary span { color: var(--mute); font-size: 13px; }
.pt-more[open] > summary, .close-ticket-panel[open] > summary { margin-bottom: 8px; }
.top-nav.pt-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.pt-actions form { margin: 0; }
dl, .is-multiline, .is-emphasis { margin: 0; }
.pt-col div > dt, .card div > dt { color: var(--mute); font-size: 13px; }
.card div > dd { margin: 0 0 8px; overflow-wrap: anywhere; }
label { display: block; margin: 10px 0 4px; font-size: 13px; font-weight: 700; }
input, select, textarea { display: block; width: 100%; min-height: 46px; padding: 10px 12px; color: var(--ink); border: 1px solid #c9d3e6; border-radius: 12px; background: #fff; font: inherit; font-size: 16px; }
input[type="file"] { position: absolute; width: 1px; height: 1px; min-height: 0; padding: 0; overflow: hidden; opacity: 0; }
input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible, a:focus-visible { outline: 2px solid #1d4ed8; outline-offset: 2px; }
button, .button { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 46px; margin-top: 12px; padding: 8px 14px; color: #fff; border: 0; border-radius: 12px; background: var(--navy); font: inherit; font-weight: 700; text-align: center; text-decoration: none; cursor: pointer; }
button:disabled { opacity: .55; cursor: default; }
button.secondary, .button.secondary, .link-button { color: #1e40af; background: #dce6fb; }
.pt-actions button, .pt-actions .button { margin-top: 0; }
.upload { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 10px 12px; font-weight: 400; border-radius: 12px; background: var(--bg); cursor: pointer; }
.upload strong { display: block; font-size: 14px; }
.upload small { display: block; color: var(--mute); font-size: 12.5px; }
.file-list span { display: flex; justify-content: space-between; gap: 8px; margin-top: 6px; font-size: 13px; }
.file-list small { color: var(--mute); }
.message { min-height: 0; margin: 6px 0 0; font-size: 13.5px; }
.message.error, .error { display: block; color: #8f1d1d; font-size: 13px; font-weight: 500; }
.alert { padding: 11px 14px; border-radius: 14px; font-size: 14px; }
.alert.success { color: #14532d; background: #dcf5e5; }
.alert.danger { color: #8f1d1d; background: #fdecec; }
fieldset { min-width: 0; margin: 12px 0 0; padding: 0; border: 0; }
legend { padding: 0; font-weight: 700; }
.grid.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
.identity { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; padding: 10px 12px; border-radius: 12px; background: var(--bg); }
.identity div { flex: 1; min-width: 0; }
.identity strong, .identity small { display: block; overflow-wrap: anywhere; }
.identity small { color: var(--mute); font-size: 13px; }
.verified { color: #14532d; font-size: 12px; font-weight: 700; }
.category-suggestion { display: block; margin-top: 4px; color: var(--mute); font-size: 12.5px; font-weight: 500; }
.category-suggestion.is-detected { color: #14532d; }
.submit-row { margin-top: 12px; }
.submit-row p { margin: 0; color: var(--mute); font-size: 13px; }
.submit-row strong { color: var(--ink); }
.separator { margin: 14px 0 2px; color: var(--mute); font-size: 13px; text-align: center; }
.success-icon { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin-bottom: 8px; color: #fff; border-radius: 50%; background: #15803d; font-size: 26px; }
.privacy-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px 18px; margin-top: 10px; }
.privacy-hero h2 { font-size: 18px; }
.privacy-updated { color: var(--mute); font-size: 12.5px; }
.ticket-detail-block { padding: 14px 16px; border-radius: 20px; background: #fff; }
.rating-stars { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; margin: 6px 0; }
.rating-star { margin: 0; color: #c9d3e6; font-size: 32px; line-height: 1; cursor: pointer; }
.rating-star input { position: absolute; width: 1px; height: 1px; min-height: 0; padding: 0; opacity: 0; }
.rating-star:hover, .rating-star:hover ~ .rating-star, .rating-star:has(input:checked), .rating-star:has(input:checked) ~ .rating-star { color: #d97706; }
.ticket-timeline-step { display: flex; gap: 10px; padding: 7px 0; font-size: 14px; }
.ticket-timeline-step > span { flex: none; display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; color: var(--mute); border-radius: 50%; background: var(--bg); font-size: 12px; }
.ticket-timeline-step strong, .ticket-timeline-step small { display: block; overflow-wrap: anywhere; }
.ticket-timeline-step small { color: var(--mute); font-size: 12.5px; }
.page-footer { display: flex; justify-content: space-between; gap: 10px; margin-top: 16px; color: var(--mute); font-size: 12.5px; }
.pt-dock { display: none; }
.push-toast { position: fixed; left: 16px; right: 16px; bottom: 76px; z-index: 30; max-width: 480px; margin: 0 auto; padding: 11px 14px; color: #fff; border-radius: 12px; background: #101c3d; font-size: 14px; }
.push-toast.is-error { background: #8f1d1d; }
.pt-dock a { display: flex; align-items: center; justify-content: center; min-height: 60px; color: #33405f; font-size: 13px; font-weight: 600; text-decoration: none; }
.pt-dock a.is-active { color: var(--navy); font-weight: 800; }
@media (max-width: 767px) {
  .pt-shell { padding: 0 0 76px; }
  .pt-hero { padding: 18px 16px; border-radius: 0 0 26px 26px; }
  .pt-hero-row { flex-wrap: wrap; }
  .pt-title { flex: 1 1 60%; }
  .pt-title h1 { font-size: 24px; }
  .pt-hero-action { flex: 1 1 100%; justify-content: center; }
  .pt-main { gap: 10px; margin-top: 12px; padding: 0 12px; }
  .pt-grid, .pt-grid-ticket { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .pt-col { gap: 10px; }
  .grid.two { grid-template-columns: minmax(0, 1fr); }
  .page-footer { padding: 0 16px; }
  .pt-dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: grid; grid-template-columns: repeat(3, 1fr); padding-bottom: env(safe-area-inset-bottom); background: #fff; box-shadow: 0 -1px 0 var(--line); }
}

/* Neue Anzeige */
.ad-input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.ad-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; margin-top: 12px; }
.ad-thumb { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 12px; background: #eef2fa; }
.ad-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ad-thumb b { position: absolute; top: 4px; left: 4px; min-width: 22px; padding: 1px 6px; color: #fff; border-radius: 8px; background: #0c2a7c; font-size: 12px; text-align: center; }
.ad-thumb button { position: absolute; top: 4px; right: 4px; width: 32px; min-height: 32px; margin: 0; padding: 0; color: #101c3d; border-radius: 9px; background: #fff; font-size: 16px; }

#ad-root[hidden], #ad-done[hidden], #ad-error[hidden] { display: none; }

/* Kostenvoranschlag */
.pt-quote-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid rgba(16, 28, 61, .14); font-size: 14.5px; }
.pt-quote-row small { display: block; font-size: 12.5px; opacity: .8; }
.pt-quote-row a { overflow-wrap: anywhere; }
.pt-quote-row b { flex: none; }
.pt-quote-row.is-total { border-bottom: 0; font-weight: 700; }
button.pt-turn-btn { margin-top: 6px; background: var(--turn-ink); }

/* ===== Neues Aussehen (08.11.2026) ===== */
/* Leiste oben statt unterer Leiste */
.pt-top { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 12px; padding: 10px 18px; background: #fff; border-bottom: 1px solid var(--line); }
.pt-top-brand, .pt-top-brand:hover { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.pt-top-brand img { border-radius: 9px; }
.pt-top-brand b { display: block; color: #102a56; font-size: 16px; line-height: 1.1; }
.pt-top-brand small { display: block; color: var(--mute); font-size: 11.5px; }
.pt-top-links { display: flex; gap: 4px; margin-left: auto; }
.pt-top-links a { padding: 8px 12px; color: #33405f; border-radius: 10px; font-size: 14px; font-weight: 600; text-decoration: none; }
.pt-top-links a.is-active { color: #fff; background: var(--navy); }
/* alte untere Leiste: seit 22.11.2026 wieder in Gebrauch (neuer Aufbau) */
body { padding-bottom: 0 !important; }

/* Fortschritt im Ticket */
.pt-steps { position: relative; display: flex; margin-top: 10px; }
.pt-steps::before { content: ""; position: absolute; left: 16%; right: 16%; top: 6px; height: 2px; background: #cbd5e8; }
.pt-steps > span { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; color: var(--mute); font-size: 11.5px; }
.pt-steps i { width: 14px; height: 14px; border-radius: 50%; background: #cbd5e8; }
.pt-steps .is-done { color: var(--ink); font-weight: 600; }
.pt-steps .is-done i { background: var(--navy); }

/* Chat-Verlauf */
.pt-bubble { max-width: 82%; margin: 10px auto 0 0; border-radius: 16px 16px 16px 4px; background: #f2f6fd; }
.pt-bubble.is-me { margin: 10px 0 0 auto; color: #fff; border-radius: 16px 16px 4px 16px; background: var(--navy); }
.pt-bubble.is-me small { color: rgba(255, 255, 255, .8); }

/* Anmeldung: geteilte Seite */
.pt-auth-body { background: #fff; }
.pt-auth-body .pt-shell { max-width: none; padding: 20px; }
.pt-auth { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(320px, 1fr); gap: 24px; min-height: calc(100vh - 110px); }
.pt-auth-promo { display: flex; flex-direction: column; justify-content: space-between; padding: 48px 52px; color: #fff; border-radius: 28px; background: radial-gradient(circle at 80% -20%, rgba(255, 255, 255, .25), transparent 45%), linear-gradient(135deg, #07152f 0%, #123c91 55%, #2478f5 100%); }
.pt-auth-brand { display: flex; align-items: center; gap: 14px; }
.pt-auth-brand img { border-radius: 14px; }
.pt-auth-brand b { display: block; font-size: 24px; }
.pt-auth-brand small { display: block; opacity: .85; font-size: 14px; }
.pt-auth-promo h2 { max-width: 460px; margin: 0 0 18px; font-size: 38px; line-height: 1.2; font-weight: 800; }
.pt-auth-promo ul { margin: 0; padding: 0; list-style: none; font-size: 16px; }
.pt-auth-promo li { margin: 10px 0; }
.pt-auth-promo li::before { content: "✓  "; }
.pt-auth-small { opacity: .75; font-size: 13px; }
.pt-auth-form { align-self: center; width: 100%; max-width: 400px; justify-self: center; padding: 20px 8px; }
.pt-auth-form h2 { margin: 0 0 4px; color: #102a56; font-size: 26px; font-weight: 800; }
.pt-auth-form form button { width: 100%; min-height: 50px; margin-top: 14px; border-radius: 14px; font-size: 15.5px; }
.pt-auth-mobile-brand { display: none; }
@media (max-width: 860px) {
  .pt-auth-body { background: var(--bg); }
  .pt-auth-body .pt-shell { padding: 0 0 20px; }
  .pt-auth { display: block; min-height: 0; }
  .pt-auth-promo { display: none; }
  .pt-auth-form { max-width: none; margin: 0; padding: 0; }
  .pt-auth-mobile-brand { display: flex; flex-direction: column; align-items: center; margin: 0 0 -40px; padding: 30px 20px 64px; color: #fff; text-align: center; border-radius: 0 0 28px 28px; background: radial-gradient(circle at 80% -20%, rgba(255, 255, 255, .25), transparent 45%), linear-gradient(135deg, #07152f 0%, #123c91 55%, #2478f5 100%); }
  .pt-auth-mobile-brand img { border-radius: 16px; }
  .pt-auth-mobile-brand b { margin-top: 10px; font-size: 24px; }
  .pt-auth-mobile-brand small { opacity: .85; font-size: 14px; }
  .pt-auth-form > h2, .pt-auth-form > p, .pt-auth-form > .alert, .pt-auth-form > form, .pt-auth-form > .support-note { margin-left: 14px; margin-right: 14px; }
  .pt-auth-form > h2 { position: relative; margin-top: 0; padding: 22px 18px 0; border-radius: 22px 22px 0 0; background: #fff; }
  .pt-auth-form > p.pt-muted, .pt-auth-form > .alert, .pt-auth-form > form { margin-top: 0; margin-bottom: 0; padding: 4px 18px; background: #fff; }
  .pt-auth-form > form { padding-bottom: 20px; border-radius: 0 0 22px 22px; box-shadow: 0 14px 34px rgba(16, 42, 86, .12); }
  .pt-auth-form > .support-note { margin-top: 14px; }
  .pt-top { padding: 8px 12px; }
  .pt-top-links a { padding: 7px 9px; font-size: 13px; }
}
@media (max-width: 420px) { .pt-top-brand span { display: none; } }
@media (max-width: 860px) { .pt-auth-form > h2 { margin-bottom: 0 !important; padding-bottom: 6px; } .pt-auth-form > p.pt-muted { margin-top: 0 !important; padding-top: 0; } }
.pt-top ~ .pt-shell .pt-hero .pt-chip { display: none; }

/* ===== Feinschliff wie im Entwurf (08.11.2026) ===== */
:root { --turn: #fff3d1; --turn-ink: #47330a; --bg: #f2f6fd; }
body { background: var(--bg); }
.card, .pt-turn { padding: 18px 20px; border-radius: 22px; box-shadow: 0 1px 2px rgba(16, 28, 61, .04), 0 10px 28px rgba(16, 28, 61, .06); }
.card > h2, .pt-more > summary b { color: #33405f; font-size: 15.5px; font-weight: 700; }
.pt-row { padding: 15px 0; }
.pt-row b { color: #101c3d; font-size: 15.5px; font-weight: 700; }
@media (hover: hover) { .pt-row:hover b { color: #1d4ed8; } }
.pt-badge { padding: 4px 11px; color: #1e40af; background: #dce6fb; font-size: 12px; }
.pt-badge.is-turn { color: #47330a; background: #fff3d1; }
.pt-badge.is-good { color: #0f5d54; background: #d7f2ec; }
.pt-turn { color: var(--turn-ink); background: var(--turn); box-shadow: none; }
.pt-turn h2 { color: var(--turn-ink); font-size: 16px; font-weight: 800; }
.pt-turn p { font-size: 15px; }
.button.pt-turn-btn, .pt-turn .button { min-height: 50px; border-radius: 14px; background: var(--navy); font-size: 15.5px; font-weight: 700; }
.pt-slot { display: flex !important; justify-content: space-between !important; align-items: center; min-height: 50px; margin-top: 8px !important; padding: 0 14px !important; color: #101c3d !important; border-radius: 14px !important; background: #fff !important; font-size: 15px; text-align: left; }
.pt-slot span { color: #47330a; }
.pt-slot::after { content: "Wählen"; margin-left: auto; padding-left: 10px; color: #1d4ed8; font-weight: 700; }
.pt-slot span + * { display: none; }
.pt-stepcard .pt-row-head b { color: #102a56; font-size: 18px; font-weight: 800; }
.pt-stepcard small { display: block; margin-top: 2px; color: var(--mute); font-size: 13px; }
.pt-steps { margin-top: 14px; }
.pt-steps i { width: 16px; height: 16px; border: 3px solid #fff; box-shadow: 0 0 0 1px #cbd5e8; }
.pt-steps .is-done i { box-shadow: 0 0 0 1px var(--navy); }
.pt-steps::before { top: 7px; }
/* Kopf: Begrüßung groß, Knopf deutlich */
.pt-hero { padding: 28px 32px; }
.pt-title h1 { font-size: 30px; }
.pt-hero-action { min-height: 52px; padding: 0 22px; border-radius: 14px; font-size: 15.5px; font-weight: 800; box-shadow: 0 8px 20px rgba(7, 21, 47, .25); }
button, .button { min-height: 50px; border-radius: 14px; font-weight: 700; }
input, textarea, select { border-radius: 12px !important; }
.pt-bubble { padding: 10px 14px; font-size: 15px; }
.pt-bubble small b { font-weight: 700; }
.page-footer { opacity: .85; }
@media (max-width: 760px) {
  .pt-hero { padding: 22px 18px 20px; }
  .pt-title h1 { font-size: 26px; }
  .card, .pt-turn { padding: 16px; }
}

/* Schrift und letzte Details wie im Entwurf (08.11.2026) */
@font-face { font-family: Inter; font-weight: 400; font-display: swap; src: url(/assets/fonts/Inter-Regular.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 500; font-display: swap; src: url(/assets/fonts/Inter-Medium.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 600; font-display: swap; src: url(/assets/fonts/Inter-SemiBold.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 700; font-display: swap; src: url(/assets/fonts/Inter-Bold.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 800; font-display: swap; src: url(/assets/fonts/Inter-ExtraBold.woff2) format("woff2"); }
body, button, input, textarea, select { font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
.pt-auth-form label { margin-top: 14px; font-weight: 700; font-size: 13px; }
.pt-auth-form input { min-height: 48px; }
.pt-pass { position: relative; display: block; }
.pt-pass input { padding-right: 90px; }
.pt-eye { position: absolute; top: 50%; right: 6px; width: auto !important; min-height: 36px !important; margin: 0 !important; padding: 0 10px !important; color: #1d4ed8 !important; background: none !important; font-size: 13px; font-weight: 700; transform: translateY(-50%); }
.pt-auth-form .support-note { margin-top: 16px; font-size: 13.5px; }
.pt-auth-foot { display: flex; justify-content: space-between; gap: 10px; margin-top: 24px; padding-top: 14px; color: var(--mute); border-top: 1px solid var(--line); font-size: 12.5px; }
.pt-auth-body .page-footer { display: none; }
.pt-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, 1fr); }
.pt-grid > .pt-col { display: flex; flex-direction: column; gap: 14px; }
.pt-grid > .pt-col > .pt-turn { flex: 1; }
@media (max-width: 980px) { .pt-grid { grid-template-columns: minmax(0, 1fr); } .pt-grid > .pt-col > .pt-turn { flex: none; } }
@media (max-width: 860px) { .pt-auth-foot { margin: 14px 14px 0; } }
.pt-remember { display: flex !important; align-items: center; gap: 10px; margin: 14px 0 0 !important; font-weight: 500 !important; font-size: 14px !important; }
.pt-remember input { width: 20px !important; height: 20px; min-height: 0 !important; margin: 0; accent-color: #0c2a7c; }

/* Neues Ticket wie im Entwurf (08.11.2026) */
.form-card fieldset { margin: 18px 0 0; padding: 0; border: 0; }
.form-card legend { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; color: #102a56; font-size: 17px; font-weight: 800; }
.form-card legend i { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; color: #fff; border-radius: 50%; background: #0c2a7c; font-size: 14px; font-style: normal; }
.pt-cats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
.pt-cat { display: flex !important; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 92px !important; margin: 0 !important; padding: 10px 6px !important; color: #101c3d !important; border: 1px solid var(--line) !important; border-radius: 16px !important; background: #fff !important; font-size: 13px; font-weight: 700; text-align: center; box-shadow: 0 2px 8px rgba(16, 28, 61, .05); }
.pt-cat span { font-size: 28px; line-height: 1; }
.pt-cat:hover { border-color: #9bb0d9 !important; }
.pt-cat.is-on { color: #fff !important; border-color: #0c2a7c !important; background: #0c2a7c !important; }
.pt-cat-select select { color: var(--mute); }
.upload { border: 2px dashed #9bb0d9 !important; background: #f7f9fe !important; }
.upload .upload-icon { font-size: 26px; }
@media (max-width: 760px) { .pt-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); } .pt-cat { min-height: 84px !important; } }

/* 08.11.2026: Ticketseite volle Breite, Felder in normaler Schrift */
.pt-grid.pt-grid-ticket { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 16px; }
@media (max-width: 980px) { .pt-grid.pt-grid-ticket { grid-template-columns: minmax(0, 1fr); } }
input, textarea, select { font-weight: 400 !important; }
input::placeholder, textarea::placeholder { font-weight: 400; color: #8a94ab; }
.pt-top-links a.pt-top-bug { padding: 6px 10px; font-size: 17px; line-height: 1; border: 1px solid var(--line, #e6ebf5); background: #fff7e6; }
.pt-top-links a.pt-top-bug.is-active { background: #fde68a; color: inherit; }
@media (max-width: 520px) { .pt-top-links { gap: 2px; } .pt-top-links a { white-space: nowrap; padding: 7px 7px; } .pt-top-links a.pt-top-bug { padding: 5px 7px; font-size: 15px; } }
/* 08.11.2026: Fortschritt wie im Entwurf: volle Punkte, ohne Ring, Linie bis zum aktuellen Schritt dunkel */
.pt-steps { margin-top: 12px; }
.pt-steps::before { left: 16.67%; right: 16.67%; top: 6px; height: 2px; }
.pt-steps::after { content: ""; position: absolute; left: 16.67%; top: 6px; height: 2px; width: 0; background: var(--navy); }
.pt-steps-1::after { width: 33.33%; }
.pt-steps-2::after { width: 66.66%; }
.pt-steps i { position: relative; z-index: 1; width: 14px; height: 14px; border: 0; box-shadow: none; }
.pt-steps .is-done i { box-shadow: none; }
.pt-steps > span { font-size: 11.5px; }
.pt-steps .is-done { font-weight: 400; color: var(--ink); }
/* Fitnessstudio (08.11.2026) */
.pt-gym { display: flex; flex-direction: column; gap: 12px; max-width: 760px; }
.pt-gym-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pt-gym-chips form { margin: 0; }
.pt-gym-chip { display: inline-flex; align-items: center; min-height: 38px; width: auto; padding: 0 14px; border: 0; border-radius: 999px; background: #fff; color: #33405f; font-weight: 700; text-decoration: none; box-shadow: none; }
.pt-gym-chip.is-on { background: var(--navy); color: #fff; }
.pt-gym-chip.is-add { background: transparent; color: #1d4ed8; box-shadow: inset 0 0 0 1.5px #c7d4f0; }
.pt-gym-device, .pt-gym-edit { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.pt-gym-edit { align-items: center; }
.pt-gym-edit form { margin: 0; }
.pt-gym-num { flex: none; width: 28px; height: 28px; border-radius: 50%; background: #eef2fa; color: #4a5777; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; }
.pt-gym-main { flex: 1; min-width: 0; }
.pt-gym-main b { display: block; font-size: 15px; }
.pt-gym-main small { display: block; color: var(--mute); font-size: 12.5px; }
.pt-gym-main small b { display: inline; font-size: 12.5px; }
.pt-gym-main em, .pt-gym-up { display: inline-block; margin-top: 6px; padding: 6px 10px; border-radius: 10px; background: #e7f5d9; color: #3f6212; font-size: 12.5px; font-style: normal; font-weight: 700; }
.pt-gym-side { text-align: right; white-space: nowrap; }
.pt-gym-side b { display: block; font-size: 16px; }
.pt-gym-side small { color: var(--mute); font-size: 12px; }
.pt-gym-mini { width: 40px !important; min-height: 40px !important; padding: 0 !important; border-radius: 10px !important; background: #eef2fa !important; color: #1e40af !important; }
.pt-gym-mini.is-danger { color: #b42318 !important; }
.pt-gym-mini:disabled { opacity: .35; }
.pt-gym-set { display: flex; justify-content: space-between; align-items: center; margin: 0; padding: 12px 0; border-top: 1px solid var(--line); font-weight: 400; }
.pt-gym-set input { width: 26px !important; height: 26px; min-height: 0 !important; accent-color: #0f766e; }
.pt-gym-nav { display: grid; grid-template-columns: 1fr 1.6fr; gap: 10px; }
.pt-gym-nav .button, .pt-gym-nav button { margin: 0; }
.pt-decline-form { margin: 8px 0 0; }
.pt-linklike { width: auto !important; min-height: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; color: inherit !important; text-decoration: underline; font-size: 13px; box-shadow: none !important; }
.pt-gym-pairs { margin: 6px 0 8px; padding: 0; border: 0; }
.pt-gym-pairs legend { margin-bottom: 6px; font-size: 13px; font-weight: 700; }
.pt-gym-pair { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 6px; margin-bottom: 6px; }
.pt-gym-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 420px) { .pt-top-links a { font-size: 12px; padding: 6px 6px; } }
.pt-turn.is-gitarre { background: #fde9dc; color: #5a2a0c; }
#bewertung { scroll-margin-top: 84px; }
/* Fitness, neuer Stand (12.11.2026): größere Gerätenamen, Verlauf, gemeinsame Kachel Gitarre und Fitness */
.pt-gym-main b { font-size: 18px; line-height: 1.25; }
.pt-gym-name { font-size: 24px !important; line-height: 1.2; }
.pt-gym-device.is-done .pt-gym-num { background: #e7f5d9; color: #3f6212; }
.pt-gym-videos { display: flex; justify-content: center; margin-top: 10px; color: #b42318 !important; }
.pt-gym-hist { display: flex; align-items: center; gap: 8px; padding: 10px 0; border-top: 1px solid var(--line); }
.pt-gym-hist form { margin: 0; }
.pt-gym-histw { display: flex; gap: 6px; align-items: center; }
.pt-gym-histw input { width: 84px !important; min-height: 40px; margin: 0; }
.pt-gym-time { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; margin: 0 0 6px; }
.pt-gym-time label { display: grid; gap: 4px; margin: 0; font-size: 13px; }
.pt-gym-time input { width: 120px !important; margin: 0; }
.pt-gym-time button { width: auto; margin: 0; }
.pt-turn.is-together { background: #ece8fb; color: #2e1f5e; }
.pt-turn.is-together h2 { color: #2e1f5e; }
.pt-together { margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(46, 31, 94, .12); }
.pt-together-when { display: flex; gap: 8px; align-items: baseline; }
.pt-together-pick { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; }
.pt-together-pick form { margin: 0; }
.pt-together-pick .pt-slot { margin-top: 6px; color: #2e1f5e; }
.pt-slot.pt-kind-gitarre { box-shadow: inset 4px 0 0 #c2410c; }
.pt-slot.pt-kind-fitness { box-shadow: inset 4px 0 0 #3f6212; }
.pt-proposals { margin: 4px 0 10px; padding-left: 18px; }
.pt-gym-card details summary { cursor: pointer; min-height: 40px; display: flex; align-items: center; }

/* Ticket 16.11.2026: Start, Tickets, Termine, Neu, Konto in der Kopfleiste; passt nicht alles, lässt sie sich wischen */
.pt-top-links { overflow-x: auto; scrollbar-width: none; }
.pt-top-links::-webkit-scrollbar { display: none; }
.pt-top-links a { flex: none; }
.pt-more-link { display: inline-block; margin-top: 8px; font-weight: 600; text-decoration: none; }

/* ---------- Neuer Aufbau (22.11.2026, Entwurf von Marco abgestimmt) ---------- */
.pt-ico { flex: none; width: 22px; height: 22px; }
.pt-top-right { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.pt-top .pt-top-bug, .pt-top .pt-top-bug:hover { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; color: #7a1d1d; border-radius: 999px; background: #fde8e8; font-size: 13.5px; font-weight: 700; text-decoration: none; }
.pt-top-account, .pt-top-account:hover { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 4px 12px 4px 4px; color: var(--ink); border-radius: 999px; background: #eef2fa; font-size: 14px; font-weight: 600; text-decoration: none; }
.pt-top-account.is-on { background: #dbe7ff; }
.pt-avatar { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; color: #fff; border-radius: 50%; background: var(--navy); font-weight: 700; }

.pt-hero.is-start .pt-chip { display: none; }
.pt-section { margin: 6px 2px 0; color: #33405f; font-size: 16px; font-weight: 700; }
.pt-turns { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; align-items: start; }
.pt-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 14px; }
.pt-tile, .pt-tile:hover { display: flex; flex-direction: column; gap: 14px; padding: 18px; color: var(--ink); border: 1px solid #e1e7f2; border-radius: 20px; background: #fff; text-decoration: none; }
@media (hover: hover) { .pt-tile:hover { border-color: #b9c8e6; box-shadow: 0 6px 18px rgba(12, 42, 124, .08); } }
.pt-tile-head { display: flex; align-items: center; gap: 12px; }
.pt-tile-text { display: flex; flex: 1; flex-direction: column; gap: 2px; min-width: 0; }
.pt-tile-text b { font-size: 17px; }
.pt-tile-text small { color: var(--mute); font-size: 13px; }
.pt-tile-go { color: #9aa7c4; }
.pt-tile-status { color: #33405f; font-size: 14px; }

.pt-area-ico { display: flex; flex: none; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 14px; }
.pt-area-tickets .pt-area-ico { color: #1d4ed8; background: #dbe7ff; }
.pt-area-dates .pt-area-ico { color: #4f46e5; background: #e8e7fd; }
.pt-area-leaflet .pt-area-ico { color: #c81e1e; background: #ffe3e3; }
.pt-area-gym .pt-area-ico { color: #15803d; background: #d7f5dc; }
.pt-area-sell .pt-area-ico { color: #b45309; background: #ffe8cc; }
.pt-area-account .pt-area-ico { color: #33405f; background: #e8edf5; }

.pt-area { display: flex; flex-direction: column; gap: 14px; padding: 16px; border: 1px solid #e1e7f2; border-radius: 22px; background: #fff; }
.pt-area-row { display: flex; align-items: center; gap: 12px; }
.pt-back, .pt-back:hover { display: flex; flex: none; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--navy); border-radius: 12px; background: #eef2fa; }
.pt-area-title { flex: 1; min-width: 0; }
.pt-area-title h1 { margin: 0; color: var(--ink); font-size: 21px; line-height: 1.2; }
.pt-area-title p { margin: 2px 0 0; color: var(--mute); font-size: 13.5px; }
.pt-area-action, .pt-area-action:hover { flex: none; display: flex; align-items: center; min-height: 44px; padding: 0 16px; color: #fff; border-radius: 12px; background: var(--navy); font-weight: 700; text-decoration: none; }
.pt-tabs { display: grid; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; gap: 4px; padding: 4px; border-radius: 14px; background: #eef2fa; }
.pt-tabs a, .pt-tabs a:hover { display: flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 8px; color: #33405f; border-radius: 11px; font-size: 14.5px; font-weight: 600; text-align: center; text-decoration: none; }
.pt-tabs a.is-on { color: #fff; background: var(--navy); }
.pt-area-dates .pt-tabs a.is-on { background: #4f46e5; }
.pt-area-gym .pt-tabs a.is-on { background: #15803d; }
.pt-area-sell .pt-tabs a.is-on { background: #b45309; }
.pt-area-account .pt-tabs a.is-on { background: #33405f; }
.button .pt-ico, button .pt-ico { margin-right: 8px; }
.pt-steps-list { margin: 6px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }

.pt-dock { display: none; }
@media (max-width: 767px) {
  .pt-top .pt-top-bug span, .pt-top-account > span:last-child { display: none; }
  .pt-top .pt-top-bug { padding: 0 10px; }
  .pt-top-account { padding: 4px; }
  .pt-area { border-radius: 0 0 22px 22px; border-width: 0 0 1px; }
  .pt-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pt-tile { padding: 14px; gap: 10px; }
  .pt-tile-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .pt-tile-text small, .pt-tile-go { display: none; }
  .pt-tile-text b { font-size: 15.5px; }
  .pt-tile-status { font-size: 12.5px; color: var(--mute); }
  body.has-dock { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)) !important; }
  .pt-dock { position: fixed; right: 0; bottom: 0; left: 0; z-index: 40; display: grid; grid-template-columns: none; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; gap: 4px; padding: 8px 8px calc(10px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: #fff; }
  .pt-dock a, .pt-dock a:hover { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 0; padding: 6px 0; color: var(--mute); border-radius: 12px; font-size: 11.5px; font-weight: 600; text-decoration: none; }
  .pt-dock a.is-on { color: var(--navy); background: #dbe7ff; font-weight: 700; }
}
.card > .pt-row:first-child, .card > .pt-row:first-of-type { border-top: 0; }
@media (max-width: 767px) { .pt-tabs a, .pt-tabs a:hover { padding: 0 4px; font-size: 14px; white-space: nowrap; } }
