/* Öffentliche Buchungsseite — Cal.com-Look, mobil zuerst */
.layout-public { background: var(--bg); }
.pub { max-width: 1040px; margin: 0 auto; padding: 2.5rem 1rem 3rem; }
.is-embed .pub { padding: .5rem; max-width: none; }
.pub-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 1.5rem; box-shadow: var(--shadow); }
.pub-narrow { max-width: 560px; margin: 0 auto; }
.pub-host { display: flex; gap: .9rem; align-items: center; margin-bottom: 1.25rem; }
.pub-cover { height: 200px; background-size: cover; background-position: center; border-radius: 12px 12px 0 0; margin: -1.5rem -1.5rem 1rem; }
.pub-card.has-cover .pub-host { margin-top: -2.6rem; position: relative; }
.pub-card.has-cover .pub-avatar { border: 3px solid var(--surface); box-shadow: var(--shadow); width: 72px; height: 72px; }
.pub-card.has-cover .pub-host > div { padding-top: 1.9rem; }
.pub-event .pub-cover { margin: 0; border-radius: 0; grid-column: 1 / -1; padding: 0; }
.pub-faq { margin-top: 1.25rem; }
.pub-faq-title { font-size: 1.1rem; margin: 0 0 .5rem; }
.pub-faq-item { border-top: 1px solid var(--border); }
.pub-faq-item summary { padding: .8rem 0; cursor: pointer; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 1rem; width: auto; }
.pub-faq-item summary::-webkit-details-marker { display: none; }
.pub-faq-item summary::after { content: '+'; color: var(--text-muted); font-weight: 400; }
.pub-faq-item[open] summary::after { content: '–'; }
.pub-faq-answer { padding: 0 0 1rem; color: var(--text-muted); font-size: .92rem; }
@media (max-width: 640px) { .pub-cover { height: 140px; } }
.pub-avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; }
.pub-avatar-initial { display: inline-flex; align-items: center; justify-content: center; background: var(--accent, var(--primary)); color: var(--primary-text); font-weight: 700; font-size: 1.15rem; letter-spacing: -.02em; }
.pub-host-name { font-weight: 600; }
.pub-bio { font-size: .9rem; white-space: pre-line; }
.pub-types { display: grid; gap: .6rem; }
.pub-types.is-grid .pub-type { border-left-width: 1px; border-top: 4px solid var(--c); padding: 1.1rem 1rem 1rem; }
@media (min-width: 640px) { .pub-types.is-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pub-event-head { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; margin-top: .5rem; }
.pub-event-head .pub-title { margin: 0; }
.pub-event-kind { border-color: var(--c); color: var(--c); }
.pub-dates { display: grid; gap: .6rem; margin-top: .5rem; }
.pub-date { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 1rem; border: 1px solid var(--border); border-left: 4px solid var(--c); border-radius: 10px; }
.pub-date.is-selected { background: color-mix(in srgb, var(--c) 12%, var(--surface)); }
.pub-date.is-full { opacity: .65; }
.pub-date-main { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.pub-date-label { font-weight: 500; }
.pub-ticket { display: flex; gap: 1rem; align-items: center; padding: 1rem; margin: .5rem 0 1rem; border: 1px dashed var(--border-strong); border-radius: 10px; }
.pub-qr { flex: 0 0 160px; width: 160px; height: 160px; background: #fff; padding: 6px; border-radius: 6px; }
.pub-qr img, .pub-qr canvas { display: block; width: 148px; height: 148px; }
.pub-ticket-logo { display: block; max-width: 160px; max-height: 44px; object-fit: contain; margin-bottom: .6rem; }
.pub-ticket-code { font-family: var(--mono); font-size: 1.6rem; font-weight: 700; letter-spacing: .08em; margin: .2rem 0 .4rem; }
@media (max-width: 640px) { .pub-date { flex-direction: column; align-items: stretch; } .pub-ticket { flex-direction: column; } }
.pub-cover.is-video { position: relative; overflow: hidden; }
.pub-cover.is-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pub-type { display: flex; flex-direction: column; gap: .2rem; padding: .9rem 1rem; border: 1px solid var(--border); border-left: 4px solid var(--c); border-radius: 10px; text-decoration: none; color: inherit; transition: background .15s, border-color .15s; }
.pub-type:hover { background: var(--surface-hover); border-color: var(--border-strong); }
.pub-type-name { font-weight: 600; }
.pub-event { display: grid; grid-template-columns: 1fr; gap: 0; padding: 0; overflow: hidden; }   /* gap 0: Akzentbalken der Info-Box reicht bis ans Titelbild */
.pub-event > * { padding: 1.5rem; }
.pub-info { border-bottom: 1px solid var(--border); border-left: 4px solid var(--c); }
.pub-back { display: inline-block; margin-bottom: .75rem; font-size: .85rem; }
.pub-back.is-static { cursor: default; text-decoration: none; } /* Name ohne Rückweg (Einmal-Link, Sendung) — gleiche Position wie „← Name“ */
.pub-title { font-size: 1.4rem; margin: .2rem 0 .8rem; }
.pub-meta { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-direction: column; gap: .4rem; font-size: .9rem; color: var(--text-muted); }
.pub-meta > li { display: flex; align-items: center; gap: .45rem; min-width: 0; }
.ic { flex: none; width: 1.05em; height: 1.05em; vertical-align: -.16em; color: var(--text-muted); }   /* Linien-Symbole statt Emojis (Paket 89) */
.pub-meta .ic { width: 1.15em; height: 1.15em; }
.pub-tz { display: flex; gap: .4rem; align-items: center; flex: 1 1 auto; min-width: 0; max-width: 100%; }
.pub-tz select { font-size: .85rem; padding: .3rem .5rem; max-width: 240px; }
.pub-tz .ss { flex: 1 1 auto; max-width: 240px; }
.pub-tz .ss-button { font-size: .85rem; min-height: 34px; padding: .35rem 2rem .35rem .6rem; }
.pub-desc { font-size: .9rem; white-space: pre-line; }
.pub-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .75rem; }
.pub-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: .3rem; }
.pub-cal-wd { text-align: center; font-size: .7rem; color: var(--text-faint); text-transform: uppercase; padding-bottom: .2rem; }
.pub-day { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border-radius: 8px; font-size: .9rem; text-decoration: none; color: inherit; font-weight: 500; }
a.pub-day { background: color-mix(in srgb, var(--c) 16%, var(--surface)); color: var(--text); }
a.pub-day:hover { background: color-mix(in srgb, var(--c) 30%, var(--surface)); }
.pub-day.is-selected { background: var(--c); color: var(--primary-text); }
.pub-day.is-off { color: var(--text-faint); }
.pub-day.is-today { box-shadow: inset 0 0 0 1px var(--border-strong); }
.pub-slots-head { font-weight: 600; margin-bottom: .75rem; }
.pub-slot-list { display: grid; gap: .5rem; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); }
.pub-slot { display: block; text-align: center; padding: .6rem .5rem; border: 1px solid var(--border-strong); border-radius: 8px; text-decoration: none; color: inherit; font-weight: 500; }
.pub-slot:hover { border-color: var(--c); background: color-mix(in srgb, var(--c) 12%, var(--surface)); }
.pub-chosen { padding: .8rem 1rem; border-radius: 8px; background: color-mix(in srgb, var(--c) 14%, var(--surface)); margin: .75rem 0 1rem; }
.pub-form { max-width: 520px; }
.pub-status { font-weight: 600; margin: .2rem 0 .8rem; }
.pub-status-confirmed { color: var(--success); }
.pub-status-cancelled, .pub-status-rescheduled { color: var(--danger); }
.pub-status-pending_guest, .pub-status-pending_host { color: var(--warn); }
.pub-footer { display: flex; flex-wrap: wrap; gap: .5rem 1rem; justify-content: center; align-items: center; margin-top: 1.5rem; font-size: .8rem; text-align: center; }
@media (max-width: 640px) {
    .pub-footer { flex-direction: column; gap: .6rem; }
    .pub-lang { margin-left: 0; }
}
.pub-footer a { color: var(--text-faint); text-decoration: none; }
.pub-footer-row { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 0 .35rem; }
.pub-footer-row > span { color: var(--text-muted); }
.pub-footer-row a + a::before { content: '·'; color: var(--text-faint); margin-right: .35rem; }   /* Impressum · Datenschutz in einer Zeile */
@media (min-width: 800px) {
    .pub-event { grid-template-columns: 260px 1fr 200px; gap: 0; }
    .pub-event.has-form { grid-template-columns: 260px 1fr; }
    .pub-info { border-bottom: none; border-right: 1px solid var(--border); }
    .pub-slots { border-left: 1px solid var(--border); max-height: 480px; overflow-y: auto; }
    .pub-slot-list { grid-template-columns: 1fr; }
}
.pub-offer-msg { margin: .5rem 0 1rem; padding: .6rem .9rem; border-left: 3px solid var(--c, var(--border-strong)); background: var(--bg-elev); border-radius: 6px; }
.pub-offer-slot { text-align: left; }
.pub-offer-slot.is-selected { border-color: var(--c); background: color-mix(in srgb, var(--c) 12%, var(--surface)); }
.pub-offer-slot.is-off { opacity: .6; text-decoration: line-through; }
.pub-offer-slot.is-off .faint { text-decoration: none; }
.pub-seats { display: block; font-size: .72rem; font-weight: 400; color: var(--text-muted); margin-top: .15rem; }
.pub-host-pick { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; margin-bottom: .9rem; }
.pub-host-chip { display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .7rem .3rem .4rem; border: 1px solid var(--border-strong); border-radius: 999px; text-decoration: none; color: inherit; font-size: .85rem; }
.pub-host-chip img, .pub-host-chip-initial { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; display: inline-flex; align-items: center; justify-content: center; background: var(--bg-elev); font-size: .6rem; font-weight: 600; letter-spacing: -.03em; }
.pub-host-chip.is-selected { border-color: var(--c); background: color-mix(in srgb, var(--c) 12%, var(--surface)); }
.pub-lang { display: inline-flex; gap: .5rem; margin-left: .75rem; }
.pub-lang a { color: var(--text-muted); text-decoration: none; }
.pub-lang a.is-active { color: var(--text); font-weight: 600; text-decoration: underline; }

/* Selbst-Check-in */
.pub-checkin-result { text-align: center; padding: 1.25rem 1rem; border-radius: 12px; margin: .5rem 0 1.25rem; }
.pub-checkin-result.is-ok { background: var(--success-bg); border: 1px solid var(--success); }
.pub-checkin-result.is-fail { background: var(--danger-bg); border: 1px solid var(--danger); }
.pub-checkin-mark { font-size: 3.5rem; line-height: 1; font-weight: 700; }
.pub-checkin-result.is-ok .pub-checkin-mark { color: var(--success); }
.pub-checkin-result.is-fail .pub-checkin-mark { color: var(--danger); }
.pub-checkin-result h3 { margin: .5rem 0 .25rem; }
.pub-checkin-result p { margin: 0; }

/* Gast wählt die Dauer */
.pub-durations { list-style: none; }
.pub-duration-form { display: grid; gap: .35rem; width: 100%; max-width: 320px; }
.pub-duration-form input[type="range"] { width: 100%; accent-color: var(--c, var(--text)); margin: 0; }
.pub-duration-scale { display: flex; justify-content: space-between; font-size: .78rem; }
.pub-duration-form button { justify-self: start; }
.pub-position { font-size: .88rem; margin-top: .1rem; }
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 50; }

/* Organisationsseite: Team */
.pub-section-title { font-size: 1rem; font-weight: 600; margin: 1.5rem 0 .6rem; }
.pub-members { display: grid; gap: .5rem; }
@media (min-width: 640px) { .pub-members { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pub-member { display: flex; align-items: center; gap: .7rem; padding: .6rem .75rem; border: 1px solid var(--border); border-radius: 10px; text-decoration: none; color: inherit; transition: background .15s, border-color .15s; }
a.pub-member:hover { border-color: var(--border-strong); }
.pub-member .pub-avatar, .pub-card.has-cover .pub-member .pub-avatar { width: 40px; height: 40px; flex: none; font-size: 1rem; border: 0; box-shadow: none; }

/* Titelbild eines Events als Vorschau in der Liste */
.pub-type-cover { display: block; height: 96px; margin: -.9rem -1rem .5rem; border-radius: 9px 9px 0 0; background: center / cover no-repeat; }
.pub-types.is-grid .pub-type-cover { margin: -1.1rem -1rem .6rem; }

/* Ticket-Kategorien */
.pub-date-cats { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .35rem; }
.pub-cat-chip { font-size: .78rem; padding: .1rem .5rem; border: 1px solid var(--border-strong); border-radius: 999px; color: var(--text-muted); }
.pub-cat-chip.is-full { opacity: .55; text-decoration: line-through; }
.pub-cats { border: 0; padding: 0; margin: 0; display: grid; gap: .45rem; }
.pub-companion { border: 1px solid var(--border); border-radius: 10px; padding: .55rem .75rem .7rem; margin: .5rem 0 0; display: grid; gap: .45rem; }   /* Begleitpersonen (Paket 90.1) */
.pub-companion legend { font-size: .85rem; font-weight: 500; padding: 0 .25rem; }
.pub-companion[hidden] { display: none; }
.pub-cats legend { font-size: .875rem; font-weight: 500; margin-bottom: .35rem; padding: 0; }
.pub-cat { display: flex; gap: .6rem; align-items: flex-start; padding: .6rem .75rem; border: 1px solid var(--border); border-radius: 10px; cursor: pointer; }
.pub-cat:has(input:checked) { border-color: var(--c, var(--text)); }
.pub-cat.is-full { opacity: .55; cursor: not-allowed; }
.pub-cat input { margin-top: .2rem; }
.pub-ticket-cat { display: inline-block; font-weight: 600; font-size: .9rem; padding: .1rem .55rem; border-radius: 999px; background: var(--c, var(--text)); color: #fff; margin-bottom: .4rem; }

/* Buchungsseite im Cal.com-Stil (Paket 45): zentrierte Spalte, Kopf mittig, Liste mit Pillen und Pfeil */
.pub-profile { max-width: 860px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
.pub-profile-card { padding: 1.75rem 1.5rem 1.5rem; }
.pub-profile-card .pub-cover { margin: -1.75rem -1.5rem 0; height: 170px; border-radius: 14px 14px 0 0; }
.pub-profile-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .3rem; margin-bottom: 1.5rem; }
.pub-profile-avatar { width: 84px; height: 84px; font-size: 1.8rem; }
.pub-profile-card.has-cover .pub-profile-avatar { margin-top: -44px; border: 4px solid var(--surface); box-shadow: var(--shadow); position: relative; }
.pub-profile-name { font-size: 1.45rem; margin: .45rem 0 0; }
.pub-profile-head .pub-bio { max-width: 52ch; margin: .35rem 0 0; }
.pub-empty { text-align: center; }
.pub-list { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.pub-row { display: flex; align-items: center; gap: .9rem; padding: 1rem 1.1rem 1rem 1.25rem; position: relative; text-decoration: none; color: inherit; border-top: 1px solid var(--border); transition: background .15s; }
.pub-row:first-child { border-top: 0; }
.pub-row::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--c, transparent); }
a.pub-row:hover { background: var(--surface-hover); }
a.pub-row:hover .pub-row-arrow { transform: translateX(3px); color: var(--text); }
.pub-row-member::before { display: none; }
.pub-row-thumb { flex: 0 0 56px; height: 56px; border-radius: 8px; background-size: cover; background-position: center; }
.pub-row-main { display: flex; flex-direction: column; gap: .25rem; min-width: 0; flex: 1 1 auto; }
.pub-row-title { font-weight: 600; }
.pub-row-desc { color: var(--text-muted); font-size: .88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pub-pills { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .15rem; }
.pub-pill { display: inline-flex; align-items: center; gap: .25rem; padding: .12rem .55rem; border-radius: 999px; background: var(--bg-elev); border: 1px solid var(--border); font-size: .78rem; color: var(--text-muted); white-space: nowrap; }
.pub-row-arrow { flex: none; color: var(--text-faint); font-size: 1.1rem; transition: transform .15s, color .15s; }
.pub-row-member .pub-avatar { width: 40px; height: 40px; font-size: 1rem; }
.pub-profile .pub-section-title { margin: 1.5rem 0 .6rem; }
.pub-profile .pub-faq { margin-top: 0; }
@media (max-width: 640px) {
    .pub-profile-card { padding: 1.25rem 1rem 1rem; }
    .pub-profile-card .pub-cover { margin: -1.25rem -1rem 0; height: 130px; }
    .pub-cly-grid { margin: 0 -1rem; }
    .pub-cly-tile { padding: 1.1rem 1rem; min-height: 0; }
    .pub-cly-thumb { margin: -1.1rem -1rem .6rem; }
    .pub-row { padding: .85rem .9rem .85rem 1.05rem; }
    .pub-row-thumb { flex-basis: 44px; height: 44px; }
}
.pub-footer-logo .brand-logo { height: 18px; opacity: .75; }
.pub-footer-logo .brand-mark, .pub-footer-logo .brand-name { display: none; }

/* Paket 52/53: Ansicht „Calendly“ — gleicher Rahmen und Kopf wie alle Ansichten (.pub-profile), nur die Liste als Kacheln.
   Eigene Klassen pub-cly-*: pub-cal-* gehört dem Buchungskalender (event.php/offer.php)! */
.pub-cly-grid { display: grid; grid-template-columns: minmax(0, 1fr); margin: 0 -1.5rem; border-top: 1px solid var(--border); }
.pub-cly-tile { position: relative; display: flex; flex-direction: column; gap: .3rem; padding: 1.35rem 1.5rem 1.25rem; text-decoration: none; color: inherit; border-bottom: 1px solid var(--border); transition: background .15s; min-height: 150px; }
.pub-cly-tile:hover { background: var(--surface-hover); }
.pub-cly-tile:focus-visible { outline: 2px solid var(--c); outline-offset: -2px; }
.pub-cly-thumb { display: block; height: 90px; margin: -1.35rem -1.5rem .6rem; background: center / cover no-repeat; }
.pub-cly-dot { width: 22px; height: 22px; border-radius: 50%; background: var(--c); flex: none; margin-bottom: .3rem; }
.pub-cly-title { font-weight: 600; font-size: 1.02rem; display: block; }
.pub-cly-meta { color: var(--text-muted); font-size: .88rem; }
.pub-cly-desc { color: var(--text-muted); font-size: .88rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pub-cly-cta { margin-top: auto; padding-top: .5rem; font-size: .88rem; font-weight: 600; color: var(--c); }
.pub-cly-team { display: grid; grid-template-columns: minmax(0, 1fr); gap: .5rem; }
.pub-cly-person { display: flex; align-items: center; gap: .7rem; padding: .6rem .75rem; border: 1px solid var(--border); border-radius: 10px; text-decoration: none; color: inherit; }
a.pub-cly-person:hover { border-color: var(--border-strong); }
.pub-cly-person .pub-avatar { width: 40px; height: 40px; font-size: 1rem; }
.pub-cly-person-line { display: block; font-size: .85rem; }
@media (min-width: 640px) {
    .pub-cly-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pub-cly-grid .pub-cly-tile:nth-child(odd) { border-right: 1px solid var(--border); }
    .pub-cly-team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 860px) {
    .pub-cly-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .pub-cly-grid .pub-cly-tile:nth-child(odd) { border-right: 0; }
    .pub-cly-grid .pub-cly-tile:not(:nth-child(3n)) { border-right: 1px solid var(--border); }
    .pub-cly-team { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Paket 54: „Nächster Termin“ in allen Ansichten */
.pub-pill-next { color: var(--success, #16a34a); border-color: currentColor; }
.pub-cly-next, .pub-type-next { font-size: .85rem; font-weight: 500; color: var(--success, #16a34a); }

/* Paket 56: Hinweis „Nur für Adressen @…“ */
.pub-domains + .alert, .pub-domains + p { margin-top: 1rem; }   /* Gate-Seite: Abstand zur Hinweisbox */
.pub-after-message { padding: .8rem 1rem; border-radius: 10px; background: color-mix(in srgb, var(--accent, var(--text)) 9%, var(--surface)); margin: 0 0 1rem; line-height: 1.5; }   /* eigener Danke-Text (Paket 61) */
.pub-domains { font-size: .88rem; padding: .5rem .7rem; border-radius: 8px; background: color-mix(in srgb, var(--c, var(--text)) 10%, var(--surface)); margin: .75rem 0 0; }

/* Paket 64: Duty-Antwortseite (/d/{token}) */
.duty-pub-intro { margin: .75rem 0 1rem; }
.duty-slots { display: flex; flex-direction: column; gap: .6rem; margin-top: .5rem; }
.duty-slot { border: 1px solid var(--border); border-radius: 12px; padding: .8rem .9rem; display: flex; flex-direction: column; gap: .45rem; scroll-margin-top: 1rem; }
.duty-slot.is-mine { border-color: var(--success, #16a34a); background: color-mix(in srgb, var(--success, #16a34a) 6%, var(--surface)); }
.duty-slot.is-past { opacity: .6; }
.duty-slot-head { display: flex; justify-content: space-between; align-items: flex-start; gap: .75rem; }
.duty-slot-when { font-weight: 600; line-height: 1.35; min-width: 0; }
.duty-slot-fill { flex: 0 0 auto; font-size: .78rem; padding: .12rem .55rem; border-radius: 999px; border: 1px solid var(--border); color: var(--text-muted); white-space: nowrap; }
.duty-slot-fill.is-full { color: var(--success, #16a34a); border-color: currentColor; }
.duty-slot-names { font-size: .85rem; }
.duty-slot-actions { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.duty-pub-foot { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--border); }

/* Paket 66: Gästeportal (Startseite) */
.portal .portal-brand { margin-bottom: 1.25rem; }
.portal-head { margin-bottom: 1rem; align-items: center; flex-wrap: nowrap; }
.portal-title { font-size: 1.5rem; margin: 0 0 .5rem; letter-spacing: -.01em; }
.portal-section { font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); margin: 1.5rem 0 .5rem; font-weight: 600; }
.portal-list { display: flex; flex-direction: column; gap: .6rem; }
.portal-item { display: flex; gap: .75rem; justify-content: space-between; align-items: flex-start; padding: .8rem .9rem; border: 1px solid var(--border); border-left: 3px solid var(--c, var(--border-strong)); border-radius: 12px; }
.portal-item.is-past { opacity: .7; }
.portal-item-main { min-width: 0; display: flex; flex-direction: column; gap: .15rem; }
.portal-item-title { font-weight: 600; }
.portal-item-when { font-size: .9rem; }
.portal-item-who { font-size: .82rem; }
.portal-item-actions { display: flex; flex-direction: column; gap: .35rem; align-items: stretch; flex: 0 0 auto; }
.portal-past { margin-top: 1.25rem; }
.portal-past summary { cursor: pointer; color: var(--text-muted); margin-bottom: .6rem; }
.portal-foot { margin: 1.25rem 0 0; }
.portal-login-link { margin: 1.5rem 0 0; padding-top: 1rem; border-top: 1px solid var(--border); font-size: .88rem; }
@media (max-width: 520px) {
    .portal-item { flex-direction: column; }
    .portal-item-actions { flex-direction: row; flex-wrap: wrap; }
}
/* Bestätigte Adresse mit Abmelden (Domain-Schutz der Seite, Paket 72) */
.pub-verified { font-size: .85rem; margin-top: .35rem; }
.pub-verified form.inline { display: inline; }
.pub-link-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
.pub-host-pick select { width: auto; min-width: 220px; }   /* Mitarbeiter-Auswahl ab 5 Personen (Paket 75) */

/* Impressum & Datenschutz (Paket 82) */
.legal-page { max-width: 760px; margin: 0 auto; line-height: 1.65; }
.legal-page h1 { margin: 0 0 .5rem; }
.legal-page h2 { font-size: 1.05rem; margin: 1.6rem 0 .4rem; }
.legal-page p, .legal-page ul { margin: 0 0 .7rem; overflow-wrap: anywhere; }
.legal-page ul { padding-left: 1.2rem; }
.legal-meta { margin-top: 2rem !important; font-size: .85rem; }
.pub-legal-hint { font-size: .8rem; color: var(--text-muted); margin: .6rem 0 0; }
.pub-footer .pub-owner-legal { color: var(--text-muted); }
/* Impressum/Datenschutz: Kopfzeile mit Marke + Zurück (Paket 85) */
.legal-nav { max-width: 760px; margin: 0 auto 1rem; display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; }
.legal-nav .legal-brand { margin: 0; color: inherit; text-decoration: none; }
.legal-nav .brand-logo { height: 28px; width: auto; }

/* Zahlung (Paket 96) */
.pub-payment legend { font-weight: 600; }
.pub-pay { border: 1px solid var(--border); border-radius: var(--radius); padding: .8rem 1rem; margin: 1rem 0; }
.pub-pay.is-open { border-color: var(--accent, var(--primary)); }
.pub-pay-grid { display: flex; flex-wrap: wrap; gap: 1rem; align-items: flex-start; }
.pub-pay-grid .dl { flex: 1 1 22rem; }
.pub-pay .dl dd code { white-space: nowrap; }
.pub-girocode { flex: 1 1 170px; display: flex; flex-direction: column; align-items: center; margin: .6rem 0 0; text-align: center; }
.pub-girocode img { display: block; width: 160px; height: 160px; image-rendering: pixelated; background: #fff; padding: 4px; border-radius: 4px; }
.pub-girocode figcaption { max-width: 170px; }

/* Einladung zu einem Event (Paket 104) */
.pub-invite-from { margin: 0 0 .35rem; color: var(--text-muted); font-size: .92rem; }
.pub-invite-msg { margin: .75rem 0 1rem; padding: .75rem 1rem; border-left: 3px solid var(--c, var(--border-strong)); background: var(--surface-hover); border-radius: 0 var(--radius) var(--radius) 0; white-space: normal; }
.pub-invite-form { margin-top: 1.25rem; }
.pub-invite-decline { margin-top: .5rem; }
.pub-invite-form.is-decline .pub-invite-decline { order: -1; }

/* Bild + Name der Seite über Meeting/Event, durchführende Person (Paket 107) */
.pub-page-head { display: flex; gap: .75rem; align-items: center; margin-bottom: .75rem; }
.pub-page-head .pub-avatar { width: 48px; height: 48px; font-size: 1rem; }
.pub-page-head-text { min-width: 0; }
.pub-page-head-text .pub-back { margin-bottom: 0; }
.pub-page-head-text .pub-position { margin-top: .1rem; }
.pub-card.has-cover .pub-page-head .pub-avatar { width: 48px; height: 48px; border-width: 2px; }
.pub-performer { display: flex; align-items: center; gap: .45rem; margin: -.25rem 0 .75rem; font-size: .9rem; color: var(--text-muted, inherit); }
.pub-performer-avatar { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; flex: none; display: inline-flex; align-items: center; justify-content: center; font-size: .65rem; font-weight: 600; }
/* Paket 112.2: Org-Meeting mit Person oben — Name groß, Organisation als Rückweg darunter */
.pub-page-head.is-person .pub-host-name { font-weight: 600; font-size: 1rem; line-height: 1.3; }
.pub-page-head.is-person .pub-back { margin: .1rem 0 0; font-size: .85rem; }
.pub-row-person { display: inline-flex; align-items: center; gap: .35rem; margin-top: .3rem; font-size: .82rem; color: var(--muted, var(--text-muted, inherit)); }
.pub-row-person .pub-performer-avatar { width: 20px; height: 20px; font-size: .55rem; }
