/* ════════════════════════════════════
   KB Tour-Accordion – schlichtes Design
════════════════════════════════════ */

.kb-accordion {
    font-family: -apple-system, 'Segoe UI', sans-serif;
}

/* ── Item ── */
.kb-accordion__item {
    border-bottom: 1px solid #e5e7eb;
}
.kb-accordion__item:first-child {
    border-top: 1px solid #e5e7eb;
}

/* ── Trigger (Header) ── */
.kb-accordion__trigger {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    -webkit-tap-highlight-color: transparent;
    outline: none;
}
.kb-accordion__trigger:hover,
.kb-accordion__trigger:focus,
.kb-accordion__trigger:active {
    background: transparent !important;
    box-shadow: none !important;
    outline: none !important;
    color: inherit !important;
}
.kb-accordion__trigger:focus-visible {
    outline: 2px solid #d1d5db !important;
    outline-offset: 2px;
    border-radius: 2px;
}

.kb-accordion__trigger-inner {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.kb-accordion__trigger-title {
    font-size: 1rem;
    font-weight: 400;
    color: #111;
    line-height: 1.4;
}
.kb-accordion__item--open .kb-accordion__trigger-title {
    font-weight: 600;
}

.kb-accordion__trigger-sub {
    font-size: 0.8rem;
    color: #9ca3af;
    line-height: 1.3;
}

/* + / − Icon */
.kb-accordion__chevron {
    font-size: 1.4rem;
    font-weight: 300;
    color: #9ca3af;
    line-height: 1;
    flex-shrink: 0;
    transition: color 0.15s;
    width: 20px;
    text-align: center;
}
.kb-accordion__chevron::before { content: '+'; }
.kb-accordion__item--open .kb-accordion__chevron::before { content: '−'; }
.kb-accordion__item--open .kb-accordion__chevron { color: #374151; }

/* ── Body (animated) ── */
.kb-accordion__body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.28s ease;
}
.kb-accordion__item--open .kb-accordion__body {
    grid-template-rows: 1fr;
}
.kb-accordion__content {
    overflow: hidden;
    padding: 0;
    transition: padding 0.28s ease;
}
.kb-accordion__item--open .kb-accordion__content {
    padding: 0 0 20px;
}

/* ── Galerie ── */
.kb-accordion__gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 6px;
    margin-bottom: 14px;
}
.kb-acc-lightbox {
    display: block;
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 1;
    background: #f3f4f6;
    cursor: zoom-in;
    transition: opacity 0.15s;
}
.kb-acc-lightbox:hover { opacity: 0.82; }
.kb-acc-lightbox img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ── Beschreibung ── */
.kb-accordion__desc {
    font-size: 0.9rem;
    color: #374151;
    line-height: 1.7;
    margin: 0 0 12px;
}

/* ── Tipps ── */
.kb-accordion__tips {
    background: #fafaf9;
    border-left: 3px solid #d1d5db;
    padding: 10px 14px;
    margin-bottom: 12px;
    font-size: 0.875rem;
    color: #4b5563;
    line-height: 1.6;
}
.kb-accordion__tips p { margin: 4px 0 0; }
.kb-accordion__tips-label {
    font-weight: 600;
    display: block;
    margin-bottom: 2px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #6b7280;
}

/* ── Link ── */
.kb-accordion__link {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 500;
    color: #374151;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.kb-accordion__link:hover { color: #111; }

/* ── Lightbox ── */
.kb-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.92);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    gap: 16px;
}
.kb-lightbox--open { display: flex; }
.kb-lightbox__inner {
    max-width: 90vw;
    max-height: 90vh;
    text-align: center;
    position: relative;
}
.kb-lightbox__img {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    display: block;
}
.kb-lightbox__caption {
    color: rgba(255,255,255,.6);
    font-size: 0.85rem;
    margin-top: 10px;
    min-height: 1.2em;
}
.kb-lightbox__close,
.kb-lightbox__prev,
.kb-lightbox__next {
    background: rgba(255,255,255,.12);
    border: none;
    color: #fff;
    cursor: pointer;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
    flex-shrink: 0;
}
.kb-lightbox__close:hover,
.kb-lightbox__prev:hover,
.kb-lightbox__next:hover { background: rgba(255,255,255,.25); }
.kb-lightbox__close {
    position: absolute;
    top: 16px;
    right: 16px;
}

/* ── Google Maps Button ── */
.kb-accordion__gmaps {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    padding: 8px 14px;
    background: #4285f4;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: background .15s;
}
.kb-accordion__gmaps:hover {
    background: #2b6edc;
    color: #fff;
}
.kb-accordion__gmaps svg {
    flex-shrink: 0;
}
