/* Travity Core – Ausgabe von Zusammenfassung, Terminen und Abschnitten. Bewusst schlicht, erbt Farben und Schrift vom Theme. */
.travity-summary { margin: 0 0 1.5em; }
.travity-summary--box { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: .75em 1.5em; padding: 1em 1.25em; border: 1px solid rgba(0,0,0,.15); border-radius: 6px; background: rgba(0,0,0,.025); }
.travity-summary--box .travity-summary__item { margin: 0; }
.travity-summary--box dt { font-size: .8em; text-transform: uppercase; letter-spacing: .04em; opacity: .7; margin: 0; }
.travity-summary--box dd { margin: 0; font-weight: 600; }
.travity-summary--inline { opacity: .9; }

.travity-dates { margin: 1.5em 0; }
.travity-dates--table { width: 100%; border-collapse: collapse; }
.travity-dates--table th, .travity-dates--table td { padding: .55em .75em; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(0,0,0,.12); }
.travity-dates__price { font-weight: 600; white-space: nowrap; }
.travity-dates__desc { font-size: .9em; opacity: .8; margin-top: .25em; }
.travity-dates__more { margin-top: .4em; }
.travity-dates__more summary { cursor: pointer; font-size: .9em; }
.travity-dates--list li { margin-bottom: .6em; }
.travity-dates--compact .travity-dates__row { padding: .35em 0; border-bottom: 1px solid rgba(0,0,0,.1); }
.travity-dates--cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1em; }
.travity-card { border: 1px solid rgba(0,0,0,.15); border-radius: 6px; padding: 1em; background: rgba(0,0,0,.02); }
.travity-card__title { margin: 0 0 .25em; font-size: 1.05em; }
.travity-card__period, .travity-card__code { margin: 0 0 .4em; opacity: .8; font-size: .9em; }
.travity-card__price { margin: 0 0 .5em; font-size: 1.25em; font-weight: 700; }
.travity-card__desc { font-size: .9em; }

.travity-badges { display: inline-flex; flex-wrap: wrap; gap: .3em; }
.travity-badge { display: inline-block; padding: .1em .55em; border-radius: 99px; font-size: .78em; background: rgba(0,0,0,.08); }
.travity-button { display: inline-block; padding: .4em 1em; border-radius: 4px; background: currentColor; text-decoration: none; }
.travity-button { color: inherit; border: 1px solid currentColor; background: transparent; font-weight: 600; }
.travity-button:hover { background: rgba(0,0,0,.06); }

.travity-section { margin: 1.75em 0; }
.travity-section__title { margin: 0 0 .5em; }
details.travity-section { border-bottom: 1px solid rgba(0,0,0,.15); padding: .5em 0; }
details.travity-section > summary { cursor: pointer; font-weight: 600; font-size: 1.1em; padding: .35em 0; }
.travity-section__body > :first-child { margin-top: 0; }

/* ---------- Listen in den Abschnitten (besser lesbar) ---------- */
.travity-section__body ul { list-style: none; margin: .4em 0 1em; padding: 0; }
.travity-section__body ul li { position: relative; margin: 0 0 .45em; padding-left: 1.6em; line-height: 1.5; }
.travity-section__body ul li::before { content: "\2022"; position: absolute; left: .35em; top: 0; opacity: .6; }
.travity-section--highlights ul li::before { content: "\2605"; left: 0; opacity: .85; }
.travity-section--services ul li::before { content: "\2713"; left: 0; font-weight: 700; color: #1a7f37; opacity: 1; }
.travity-section--excluded ul li::before { content: "\2715"; left: 0; font-weight: 700; color: #b32d2e; opacity: 1; }
.travity-section--notes ul li::before { content: "\2139"; left: 0; opacity: .75; }
.travity-section__body ol { margin: .4em 0 1em 1.4em; padding: 0; }
.travity-section__body ol li { margin-bottom: .4em; }

/* ---------- Galerie: Übersicht ---------- */
.travity-gallery { margin: 1.5em 0; }
.travity-gallery--grid { display: grid; grid-template-columns: repeat(var(--travity-cols, 4), minmax(0, 1fr)); gap: 8px; }
.travity-gallery__item { margin: 0; }
.travity-gallery__item img, .travity-slider__slide img { display: block; width: 100%; height: auto; -webkit-user-drag: none; user-select: none; }
.travity-gallery--grid .travity-gallery__item img { aspect-ratio: 4 / 3; object-fit: cover; }
.travity-gallery__link { display: block; overflow: hidden; border-radius: 4px; cursor: zoom-in; }
.travity-gallery__link:hover img { transform: scale(1.03); }
.travity-gallery__item img { transition: transform .25s ease; }
.travity-gallery__caption { font-size: .85em; opacity: .85; margin-top: .3em; }
.travity-gallery__credit { opacity: .7; }
@media (max-width: 720px) { .travity-gallery--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Galerie: Slider ---------- */
.travity-gallery--slider { position: relative; }
.travity-slider__track { position: relative; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.travity-slider__track::-webkit-scrollbar { display: none; }
.travity-slider__slide { flex: 0 0 100%; margin: 0; scroll-snap-align: start; }
.travity-slider__slide img { aspect-ratio: 16 / 9; object-fit: cover; }
.travity-slider__slide .travity-gallery__caption { padding: .4em .2em 0; }
.travity-slider__arrow { position: absolute; top: 40%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(0,0,0,.55); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
.travity-slider__arrow:hover, .travity-slider__arrow:focus-visible { background: rgba(0,0,0,.8); }
.travity-slider__arrow--prev { left: 10px; }
.travity-slider__arrow--next { right: 10px; }
.travity-slider__thumbs { display: flex; gap: 6px; overflow-x: auto; margin-top: 8px; scrollbar-width: thin; }
.travity-slider__thumb { flex: 0 0 84px; padding: 0; border: 2px solid transparent; background: none; cursor: pointer; opacity: .65; }
.travity-slider__thumb img { display: block; width: 84px; height: 56px; object-fit: cover; }
.travity-slider__thumb.is-active { border-color: currentColor; opacity: 1; }
.travity-slider__dots { display: flex; justify-content: center; gap: 8px; margin-top: 8px; }
.travity-slider__dot { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: rgba(0,0,0,.25); cursor: pointer; }
.travity-slider__dot.is-active { background: rgba(0,0,0,.75); }

/* ---------- Popup (Lightbox): Bild höchstens in Bildschirmgröße ---------- */
body.travity-lb-open { overflow: hidden; }
.travity-lb { position: fixed; inset: 0; z-index: 100000; display: flex; flex-direction: column; align-items: center; justify-content: center; background: rgba(10,10,12,.94); color: #fff; }
.travity-lb[hidden] { display: none; }
.travity-lb__top { position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; font-size: .9em; }
.travity-lb__close { border: 0; background: none; color: #fff; font-size: 34px; line-height: 1; cursor: pointer; padding: 0 6px; }
.travity-lb__stage { margin: 0; max-width: 100vw; display: flex; flex-direction: column; align-items: center; }
.travity-lb__stage img { display: block; max-width: calc(100vw - 120px); max-height: calc(100vh - 190px); width: auto; height: auto; object-fit: contain; -webkit-user-drag: none; user-select: none; }
.travity-lb__caption { margin-top: .6em; font-size: .9em; text-align: center; max-width: 80vw; min-height: 1.4em; }
.travity-lb__nav { position: absolute; top: 50%; transform: translateY(-60%); width: 52px; height: 52px; border: 0; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; font-size: 34px; line-height: 1; cursor: pointer; }
.travity-lb__nav:hover, .travity-lb__nav:focus-visible { background: rgba(255,255,255,.3); }
.travity-lb__prev { left: 12px; }
.travity-lb__next { right: 12px; }
.travity-lb__thumbs { position: absolute; left: 0; right: 0; bottom: 0; display: flex; gap: 6px; overflow-x: auto; padding: 10px 14px; background: rgba(0,0,0,.35); scrollbar-width: thin; }
.travity-lb__thumb { flex: 0 0 auto; padding: 0; border: 2px solid transparent; background: none; cursor: pointer; opacity: .55; }
.travity-lb__thumb img { display: block; width: 72px; height: 48px; object-fit: cover; }
.travity-lb__thumb.is-active { border-color: #fff; opacity: 1; }
.travity-lb.is-single .travity-lb__nav, .travity-lb.is-single .travity-lb__thumbs { display: none; }
@media (max-width: 720px) { .travity-lb__nav { display: none; } .travity-lb__stage img { max-width: 100vw; } }

/* ---------- Tabs ---------- */
.travity-tabs__nav { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 2px solid rgba(0,0,0,.15); margin-bottom: 1em; }
.travity-tabs__tab { padding: .55em 1.1em; border: 0; border-bottom: 3px solid transparent; margin-bottom: -2px; background: none; cursor: pointer; font: inherit; font-weight: 600; opacity: .7; }
.travity-tabs__tab[aria-selected="true"] { border-bottom-color: currentColor; opacity: 1; }
.travity-tabs:not(.is-js) .travity-tabs__nav { display: none; }
.travity-tabs__panel[hidden] { display: none; }

/* ---------- Karte ---------- */
.travity-map { margin: 1.5em 0; }
.travity-map__consent { padding: 1.2em; border: 1px solid rgba(0,0,0,.15); border-radius: 6px; background: rgba(0,0,0,.03); text-align: center; }
.travity-map__canvas { position: relative; height: var(--travity-map-h, 380px); overflow: hidden; background: #e8ecef; border-radius: 6px; touch-action: pan-y; cursor: grab; user-select: none; }
.travity-map__canvas.is-dragging { cursor: grabbing; }
.travity-map__tiles, .travity-map__markers { position: absolute; inset: 0; }
.travity-map__tile { position: absolute; left: 0; top: 0; width: 256px; height: 256px; max-width: none; }
.travity-map__route { position: absolute; left: 0; top: 0; pointer-events: none; }
.travity-map__route polyline { fill: none; stroke: #2271b1; stroke-width: 3; stroke-dasharray: 8 6; opacity: .85; }
.travity-map__marker { position: absolute; left: 0; top: 0; width: 28px; height: 28px; padding: 0; border: 2px solid #fff; border-radius: 50%; background: #2271b1; color: #fff; font-size: 12px; font-weight: 700; box-shadow: 0 1px 4px rgba(0,0,0,.4); cursor: pointer; }
.travity-map__popup { position: absolute; left: 0; top: 0; width: 180px; padding: 8px 10px; background: #fff; color: #1d2327; border-radius: 6px; box-shadow: 0 2px 8px rgba(0,0,0,.35); font-size: 13px; }
.travity-map__controls { position: absolute; top: 8px; left: 8px; display: flex; flex-direction: column; gap: 4px; }
.travity-map__btn { width: 32px; height: 32px; border: 1px solid rgba(0,0,0,.3); background: #fff; color: #1d2327; border-radius: 4px; font-size: 18px; line-height: 1; cursor: pointer; }
.travity-map__attr { position: absolute; right: 0; bottom: 0; padding: 2px 6px; background: rgba(255,255,255,.8); font-size: 11px; }
.travity-map__attr a { color: #1d2327; }
.travity-map__list { margin: .8em 0 0 1.2em; font-size: .9em; }
.travity-map.is-loaded .travity-map__list { opacity: .85; }

/* ---------- Weitere Blöcke ---------- */
.travity-image { margin: 0 0 1.5em; }
.travity-image img { display: block; max-width: 100%; height: auto; }
.travity-terms--tags { margin: 0 0 1em; }
.travity-cta { margin: 1.5em 0; }
.travity-related { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1em; margin: 1.5em 0; }
.travity-related__item { display: block; text-decoration: none; color: inherit; border: 1px solid rgba(0,0,0,.12); border-radius: 6px; overflow: hidden; }
.travity-related__item img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.travity-related__title { display: block; padding: .6em .8em .1em; font-weight: 600; }
.travity-related__price { display: block; padding: 0 .8em .7em; opacity: .75; font-size: .9em; }
.travity-field__label { opacity: .7; }

/* Termine nach Titel gruppiert */
.travity-dates--table .travity-dates__group th { text-align: left; background: #f5f5f5; font-weight: 700; padding: 8px 12px; }
h3.travity-dates__group { margin: 18px 0 6px; font-size: 1.05em; }
li.travity-dates__group, div.travity-dates__group { margin-top: 12px; }
