/* Builder-Plugin „Allrounder-Verzeichnis" – Block „ausflug-katalog" */
.au-kat { display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: start; }

.au-side { position: sticky; top: var(--au-side-top, 16px); }
.au-side-nav { display: flex; flex-direction: column; gap: 2px; }
.au-cat { display: flex; flex-direction: column; }
.au-cat-btn { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border: 0; background: transparent; border-radius: 10px; font: 600 14px/1.3 inherit; color: inherit; text-align: left; cursor: pointer; opacity: .8; transition: background .15s, opacity .15s; }
.au-cat-btn:hover { opacity: 1; background: color-mix(in srgb, var(--primary, #4f46e5) 6%, transparent); }
.au-cat-btn.is-active { opacity: 1; background: color-mix(in srgb, var(--primary, #4f46e5) 10%, transparent); color: var(--primary, #4f46e5); }
.au-cat-btn.is-all { margin-bottom: 4px; }
.au-subcats { display: flex; flex-direction: column; margin: 2px 0 8px 30px; }
.au-subcats[hidden] { display: none; }
.au-sub-btn { border: 0; background: transparent; text-align: left; padding: 6px 10px; border-radius: 8px; font-size: 13px; opacity: .65; cursor: pointer; color: inherit; }
.au-sub-btn:hover { opacity: 1; }
.au-sub-btn.is-active { opacity: 1; color: var(--primary, #4f46e5); font-weight: 600; }

.au-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.au-card { display: flex; flex-direction: column; border: 1px solid var(--border, #e5e8f0); border-radius: 16px; overflow: hidden; background: var(--card-bg, #fff); transition: box-shadow .2s, transform .2s; }
.au-card:hover { box-shadow: 0 10px 28px rgba(15, 23, 42, .1); transform: translateY(-2px); }
.au-card[hidden] { display: none; }
.au-card-img { aspect-ratio: 4 / 3; background: #f1f3f9; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.au-card-img img { width: 100%; height: 100%; object-fit: cover; }
.au-card-ph { opacity: .35; }
.au-card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; }
.au-card-tag { align-self: flex-start; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: var(--primary, #4f46e5); background: color-mix(in srgb, var(--primary, #4f46e5) 10%, transparent); padding: 3px 10px; border-radius: 99px; }
.au-card-body h3 { margin: 0; font-size: 1.05em; }
.au-card-body p { margin: 0; font-size: .92em; opacity: .8; line-height: 1.5; }
.au-card-meta { display: flex; flex-wrap: wrap; gap: 12px; font-size: .85em; opacity: .7; }
.au-card-meta span { display: inline-flex; align-items: center; gap: 4px; }
.au-card-body .btn { align-self: flex-start; margin-top: 4px; }

.au-kat-empty { grid-column: 1 / -1; text-align: center; opacity: .6; padding: 24px; }

/* „Mehr Infos"-Popup */
html.au-modal-lock, html.au-modal-lock body { overflow: hidden !important; }
.au-modal { position: fixed; inset: 0; z-index: 980; display: none; align-items: center; justify-content: center; padding: 24px; background: rgba(15, 23, 42, .55); backdrop-filter: blur(2px); }
.au-modal.is-open { display: flex; }
.au-modal-box { position: relative; width: 100%; max-width: 560px; max-height: 86vh; overflow-y: auto; background: var(--card-bg, #fff); border-radius: 18px; box-shadow: 0 30px 70px rgba(15, 23, 42, .3); }
.au-modal-close { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(15, 23, 42, .06); color: inherit; font-size: 22px; line-height: 1; cursor: pointer; z-index: 1; }
.au-modal-img { aspect-ratio: 16 / 9; background: #f1f3f9; overflow: hidden; }
.au-modal-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.au-modal-body { padding: 22px 26px 28px; }
.au-modal-body h3 { margin: 0 0 8px; }
.au-modal-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: .9em; opacity: .7; margin-bottom: 12px; }
.au-modal-body p { margin: 0 0 10px; line-height: 1.6; opacity: .88; }
.au-modal-body .btn { margin-top: 6px; }

@container site (max-width: 760px) {
  .au-kat { grid-template-columns: 1fr; }
  .au-side { position: static; }
  .au-side-nav { flex-direction: row; flex-wrap: nowrap; overflow-x: auto; gap: 6px; padding-bottom: 6px; }
  .au-cat { flex-direction: row; flex-shrink: 0; }
  .au-subcats { display: none; }
  .au-cat-btn { white-space: nowrap; }
}
