.ksh-ra-app,
.ksh-ra-app * {
    box-sizing: border-box;
}

.ksh-ra-app {
    --ksh-ra-red: #cc0001;
    --ksh-ra-text: #292929;
    --ksh-ra-muted: #666;
    --ksh-ra-line: #dedede;
    --ksh-ra-soft: #f6f6f6;
    --ksh-ra-white: #fff;
    color: var(--ksh-ra-text);
    font-family: Arial, Helvetica, sans-serif;
    margin: 2rem 0;
}

.ksh-ra-intro {
    width: 100%;
    max-width: none;
    margin: 0 0 1.5rem;
}

.ksh-ra-intro h2 {
    margin: .2rem 0 .65rem;
    color: var(--ksh-ra-red);
    font-size: clamp(1.45rem, 2.55vw, 2rem);
    line-height: 1.18;
    white-space: nowrap;
}

.ksh-ra-intro-title-row {
    display: flex;
    gap: 18px;
    align-items: center;
    justify-content: space-between;
}

.ksh-ra-intro-title-row > div {
    min-width: 0;
}

.ksh-ra-intro-actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
}

.ksh-ra-home-link {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 7px 14px 7px 9px;
    border: 1px solid var(--ksh-ra-red);
    border-radius: 7px;
    background: #fff;
    color: var(--ksh-ra-red);
    font: inherit;
    font-size: .82rem;
    font-weight: 800;
    line-height: 1.1;
    text-decoration: none;
    transition: background-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.ksh-ra-home-link img {
    display: block;
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    border-radius: 4px;
    object-fit: contain;
}

.ksh-ra-home-link span {
    white-space: nowrap;
}

.ksh-ra-home-link:hover,
.ksh-ra-home-link:focus-visible {
    background: var(--ksh-ra-red);
    color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
    transform: translateY(-1px);
}

.ksh-ra-profile-open {
    flex: 0 0 auto;
    min-height: 42px;
    padding: 9px 14px;
    border: 1px solid var(--ksh-ra-red);
    border-radius: 7px;
    background: #fff;
    color: var(--ksh-ra-red);
    cursor: pointer;
    font: inherit;
    font-size: .82rem;
    font-weight: 800;
}

.ksh-ra-profile-open:hover,
.ksh-ra-profile-open:focus-visible {
    background: var(--ksh-ra-red);
    color: #fff;
}

.ksh-ra-intro p {
    line-height: 1.65;
}

.ksh-ra-kicker {
    margin: 0;
    color: var(--ksh-ra-muted);
    font-weight: 700;
    font-size: .75rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ksh-ra-stats {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin: 0 0 1.25rem;
}

.ksh-ra-stats > div {
    min-height: 98px;
    padding: 18px;
    border: 1px solid var(--ksh-ra-line);
    border-radius: 7px;
    background: var(--ksh-ra-white);
    box-shadow: 0 1px 5px rgba(0,0,0,.04);
}

.ksh-ra-stats strong,
.ksh-ra-stats span {
    display: block;
}

.ksh-ra-stats strong {
    color: var(--ksh-ra-red);
    font-size: clamp(1.45rem, 3vw, 2rem);
    line-height: 1.1;
}

.ksh-ra-stats span {
    margin-top: 8px;
    color: var(--ksh-ra-muted);
    font-size: .82rem;
}

.ksh-ra-controls {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    align-items: end;
    padding: 14px;
    border: 1px solid var(--ksh-ra-line);
    border-radius: 10px 10px 0 0;
    background: var(--ksh-ra-soft);
}

.ksh-ra-controls label,
.ksh-ra-controls label span {
    display: block;
}

.ksh-ra-controls .ksh-ra-tour-filter,
.ksh-ra-controls .ksh-ra-search {
    grid-column: span 2;
}

.ksh-ra-controls label span {
    margin-bottom: 5px;
    color: #444;
    font-size: .78rem;
    font-weight: 700;
}

.ksh-ra-controls select,
.ksh-ra-controls input,
.ksh-ra-reset {
    width: 100%;
    min-height: 42px;
    border: 1px solid #bdbdbd;
    border-radius: 6px;
    background: #fff;
    color: #222;
    font: inherit;
}

.ksh-ra-controls select,
.ksh-ra-controls input {
    padding: 8px 10px;
}

.ksh-ra-reset,
.ksh-ra-card-actions button {
    cursor: pointer;
    font-weight: 700;
}

.ksh-ra-reset {
    width: auto;
    padding: 8px 14px;
    border-color: var(--ksh-ra-red);
    color: var(--ksh-ra-red);
}

.ksh-ra-reset:hover,
.ksh-ra-reset:focus-visible {
    background: var(--ksh-ra-red);
    color: #fff;
}

.ksh-ra-map-shell {
    overflow: hidden;
    border-right: 1px solid var(--ksh-ra-line);
    border-bottom: 1px solid var(--ksh-ra-line);
    border-left: 1px solid var(--ksh-ra-line);
    border-radius: 0 0 10px 10px;
    background: #fff;
}

.ksh-ra-map {
    width: 100%;
    min-height: 360px;
    background: #e9ecef;
}

.ksh-ra-map-note {
    padding: 10px 14px;
    border-top: 1px solid var(--ksh-ra-line);
    color: var(--ksh-ra-muted);
    font-size: .82rem;
    line-height: 1.45;
}

.ksh-ra-tabs {
    display: flex;
    gap: 6px;
    margin: 1.6rem 0 1rem;
    border-bottom: 1px solid var(--ksh-ra-line);
}

.ksh-ra-tabs button {
    cursor: pointer;
    padding: 10px 16px;
    border: 0;
    border-bottom: 3px solid transparent;
    background: transparent;
    color: #555;
    font: inherit;
    font-weight: 700;
}

.ksh-ra-tabs button[aria-selected="true"] {
    border-bottom-color: var(--ksh-ra-red);
    color: var(--ksh-ra-red);
}

.ksh-ra-tabs [data-ksh-tab-count] {
    margin-left: 3px;
    color: #777;
    font-size: .74rem;
    font-weight: 600;
}

.ksh-ra-tabs button[aria-selected="true"] [data-ksh-tab-count] {
    color: inherit;
}

.ksh-ra-result-count {
    min-height: 1.4em;
    color: var(--ksh-ra-muted);
}

.ksh-ra-tour-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.ksh-ra-tour-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--ksh-ra-line);
    border-radius: 8px;
    background: var(--ksh-ra-white);
    box-shadow: 0 1px 5px rgba(0,0,0,.04);
}

.ksh-ra-tour-card[hidden] {
    display: none !important;
}

.ksh-ra-tour-image {
    position: relative;
    aspect-ratio: 16 / 7.8;
    overflow: hidden;
    background: #eee;
}

.ksh-ra-tour-image img {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    object-fit: cover;
}

.ksh-ra-image-placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    font-size: 3rem;
}

.ksh-ra-tour-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 13px 14px 14px;
}

.ksh-ra-tour-year {
    margin: 0 0 3px;
    color: var(--ksh-ra-red);
    font-size: .82rem;
    font-weight: 700;
}

.ksh-ra-tour-card h3 {
    margin: 0 0 7px;
    color: var(--ksh-ra-red);
    font-size: 1.06rem;
    line-height: 1.25;
}

.ksh-ra-route,
.ksh-ra-meta,
.ksh-ra-places {
    margin: 0 0 7px;
    line-height: 1.4;
}

.ksh-ra-meta,
.ksh-ra-places {
    color: var(--ksh-ra-muted);
    font-size: .82rem;
}

.ksh-ra-places {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.ksh-ra-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 10px;
    align-items: center;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid #ededed;
    font-size: .82rem;
}

.ksh-ra-card-actions button {
    padding: 6px 8px;
    border: 1px solid var(--ksh-ra-red);
    border-radius: 5px;
    background: #fff;
    color: var(--ksh-ra-red);
}

.ksh-ra-card-actions button:hover,
.ksh-ra-card-actions button:focus-visible {
    background: var(--ksh-ra-red);
    color: #fff;
}

.ksh-ra-compare-toggle {
    display: inline-flex;
    flex-basis: 100%;
    align-items: center;
    gap: 8px;
    width: fit-content;
    margin-top: 3px;
    color: #3d3d3d;
    cursor: pointer;
    font-size: .8rem;
    font-weight: 750;
}

.ksh-ra-compare-toggle input {
    width: 17px;
    height: 17px;
    margin: 0;
    accent-color: #087443;
}

.ksh-ra-compare-toggle.is-selected {
    color: #087443;
}

.ksh-ra-compare-toggle.is-disabled {
    cursor: not-allowed;
    opacity: .45;
}

.ksh-ra-card-actions a {
    color: #0067a3;
    text-decoration: underline;
}

.ksh-ra-place-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.ksh-ra-place-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--ksh-ra-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 1px 5px rgba(0,0,0,.04);
}

.ksh-ra-place-image {
    aspect-ratio: 16 / 8.7;
    overflow: hidden;
    background: #eee;
}

.ksh-ra-place-image img {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: cover;
}

.ksh-ra-place-content {
    padding: 15px 16px 17px;
}

.ksh-ra-place-card h3 {
    margin: 0 0 6px;
    color: var(--ksh-ra-red);
    font-size: 1rem;
}

.ksh-ra-place-card p {
    margin: 4px 0;
    color: var(--ksh-ra-muted);
    overflow-wrap: anywhere;
    font-size: .82rem;
    line-height: 1.45;
}

.ksh-ra-place-card button {
    cursor: pointer;
    margin-top: 10px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #0067a3;
    font: inherit;
    font-weight: 700;
    text-decoration: underline;
}

.ksh-ra-panel:not(.is-active) {
    display: none;
}

.ksh-ra-empty {
    grid-column: 1 / -1;
    padding: 24px;
    border: 1px dashed #bbb;
    border-radius: 8px;
    color: var(--ksh-ra-muted);
    text-align: center;
}

.ksh-ra-app .leaflet-popup-content {
    min-width: 190px;
    line-height: 1.45;
}

.ksh-ra-app .leaflet-popup-content h3 {
    margin: 0 0 6px;
    color: var(--ksh-ra-red);
    font-size: 1rem;
}

.ksh-ra-app .leaflet-popup-content p {
    margin: 4px 0;
}

.ksh-ra-app .leaflet-control-attribution {
    font-size: 10px;
}

@media (max-width: 900px) {
    .ksh-ra-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .ksh-ra-controls {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .ksh-ra-controls .ksh-ra-tour-filter,
    .ksh-ra-controls .ksh-ra-search {
        grid-column: span 2;
    }
    .ksh-ra-reset {
        width: 100%;
    }
    .ksh-ra-tour-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .ksh-ra-place-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .ksh-ra-intro h2 {
        white-space: normal;
    }
    .ksh-ra-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .ksh-ra-controls,
    .ksh-ra-tour-grid {
        grid-template-columns: 1fr;
    }
    .ksh-ra-controls .ksh-ra-tour-filter,
    .ksh-ra-controls .ksh-ra-search {
        grid-column: auto;
    }
    .ksh-ra-place-grid {
        grid-template-columns: 1fr;
    }
    .ksh-ra-tabs {
        overflow-x: auto;
    }
}

@media (max-width: 430px) {
    .ksh-ra-place-grid {
        grid-template-columns: 1fr;
    }
}

.ksh-ra-map-unavailable {
    display: grid;
    place-items: center;
    padding: 24px;
    background: #f3f3f3;
}

.ksh-ra-map-message {
    display: grid;
    gap: 8px;
    max-width: 520px;
    padding: 22px;
    border: 1px solid #d4d4d4;
    border-radius: 8px;
    background: #fff;
    color: var(--ksh-ra-muted);
    line-height: 1.5;
    text-align: center;
}

.ksh-ra-map-message strong {
    color: var(--ksh-ra-text);
    font-size: 1.05rem;
}

.ksh-ra-detail-counts {
    margin: -1px 0 7px;
    color: #444;
    font-size: .78rem;
    font-weight: 700;
    line-height: 1.35;
}

.ksh-ra-card-actions .ksh-ra-discover {
    background: var(--ksh-ra-red);
    color: #fff;
}

.ksh-ra-card-actions .ksh-ra-discover:hover,
.ksh-ra-card-actions .ksh-ra-discover:focus-visible {
    background: #a90001;
    border-color: #a90001;
}

.ksh-ra-layer-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    align-items: center;
    padding: 10px 14px 12px;
    border-top: 1px solid var(--ksh-ra-line);
    background: #fafafa;
    color: #444;
    font-size: .82rem;
}

.ksh-ra-layer-controls strong {
    margin-right: 2px;
}

.ksh-ra-layer-controls label {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    cursor: pointer;
}

.ksh-ra-layer-controls input {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--ksh-ra-red);
}

.ksh-ra-popup-image {
    display: block;
    width: calc(100% + 12px);
    max-height: 130px;
    margin: -6px -6px 8px;
    object-fit: cover;
}

.ksh-ra-popup-label {
    color: var(--ksh-ra-red);
    font-size: .75rem;
    font-weight: 700;
}

.ksh-ra-dialog[hidden] {
    display: none !important;
}

.ksh-ra-dialog {
    position: fixed;
    z-index: 999999;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 24px;
}

.ksh-ra-dialog-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .62);
    backdrop-filter: blur(3px);
}

.ksh-ra-dialog-panel {
    position: relative;
    z-index: 1;
    width: min(1120px, 100%);
    max-height: calc(100vh - 48px);
    overflow: auto;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 70px rgba(0, 0, 0, .28);
}

.ksh-ra-dialog-close {
    position: sticky;
    z-index: 4;
    top: 12px;
    float: right;
    width: 40px;
    height: 40px;
    margin: 12px 12px -52px 0;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,.75);
    border-radius: 50%;
    background: rgba(20,20,20,.72);
    color: #fff;
    font: 700 27px/1 Arial, sans-serif;
}

.ksh-ra-dialog-close:hover,
.ksh-ra-dialog-close:focus-visible {
    background: var(--ksh-ra-red);
}

.ksh-ra-dialog-header {
    display: grid;
    grid-template-columns: minmax(260px, 38%) 1fr;
    min-height: 260px;
    background: #f4f4f4;
}

.ksh-ra-dialog-image {
    min-height: 260px;
    overflow: hidden;
    background: #e8e8e8;
}

.ksh-ra-dialog-image img {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: cover;
}

.ksh-ra-dialog-heading {
    align-self: center;
    padding: 34px 42px 30px;
}

.ksh-ra-dialog-kicker {
    margin: 0 0 8px;
    color: var(--ksh-ra-red);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.ksh-ra-dialog-heading h2 {
    margin: 0 0 12px;
    color: var(--ksh-ra-red);
    font-size: clamp(1.55rem, 3vw, 2.35rem);
    line-height: 1.12;
}

.ksh-ra-dialog-heading > p:last-child {
    margin: 0;
    color: #4e4e4e;
    line-height: 1.65;
}

.ksh-ra-detail-tabs {
    position: sticky;
    z-index: 3;
    top: 0;
    display: flex;
    gap: 2px;
    overflow-x: auto;
    padding: 0 24px;
    border-top: 1px solid #e3e3e3;
    border-bottom: 1px solid #d8d8d8;
    background: rgba(255,255,255,.97);
}

.ksh-ra-detail-tabs button {
    flex: 0 0 auto;
    cursor: pointer;
    padding: 14px 14px 11px;
    border: 0;
    border-bottom: 3px solid transparent;
    background: transparent;
    color: #555;
    font: inherit;
    font-size: .86rem;
    font-weight: 700;
}

.ksh-ra-detail-tabs button[aria-selected="true"] {
    border-bottom-color: var(--ksh-ra-red);
    color: var(--ksh-ra-red);
}

.ksh-ra-detail-content {
    min-height: 260px;
    padding: 28px 30px 34px;
}

.ksh-ra-overview-grid {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: 18px;
}

.ksh-ra-overview-grid > section {
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    background: #fff;
}

.ksh-ra-overview-grid h3,
.ksh-ra-detail-card h3,
.ksh-ra-hotel-card h3,
.ksh-ra-day-card h3 {
    margin: 0 0 8px;
    color: var(--ksh-ra-red);
    font-size: 1.05rem;
    line-height: 1.3;
}

.ksh-ra-overview-route p {
    margin: 7px 0;
    line-height: 1.55;
}

.ksh-ra-profile dl {
    margin: 0;
}

.ksh-ra-profile dl > div {
    display: grid;
    grid-template-columns: minmax(110px, 27%) 1fr;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #ededed;
}

.ksh-ra-profile dl > div:last-child {
    border-bottom: 0;
}

.ksh-ra-profile dt {
    font-weight: 800;
}

.ksh-ra-profile dd {
    margin: 0;
    color: #505050;
    line-height: 1.5;
}

.ksh-ra-day-list {
    display: grid;
    gap: 11px;
}

.ksh-ra-day-card {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 14px;
    align-items: start;
    padding: 15px 17px;
    border: 1px solid #e0e0e0;
    border-radius: 9px;
    background: #fff;
}

.ksh-ra-day-number {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--ksh-ra-red);
    color: #fff;
    font-weight: 800;
}

.ksh-ra-day-card p,
.ksh-ra-detail-card p,
.ksh-ra-hotel-card p {
    margin: 6px 0 0;
    line-height: 1.5;
}

.ksh-ra-detail-meta {
    color: #707070;
    font-size: .78rem;
}

.ksh-ra-detail-grid,
.ksh-ra-hotel-grid,
.ksh-ra-overview-highlight-grid,
.ksh-ra-overview-hotel-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.ksh-ra-detail-card,
.ksh-ra-hotel-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #dfdfdf;
    border-radius: 10px;
    background: #fff;
}

.ksh-ra-detail-image,
.ksh-ra-hotel-image {
    aspect-ratio: 16 / 8.7;
    overflow: hidden;
    background: #eee;
}

.ksh-ra-detail-image img,
.ksh-ra-hotel-image img {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: cover;
}

.ksh-ra-detail-card-body,
.ksh-ra-hotel-body {
    padding: 15px 16px 17px;
}

.ksh-ra-badge {
    display: inline-block;
    margin: 0 0 8px !important;
    padding: 4px 7px;
    border-radius: 999px;
    background: #f7e8e8;
    color: var(--ksh-ra-red);
    font-size: .72rem;
    font-weight: 800;
}


.ksh-ra-ratings {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 10px 0;
}

.ksh-ra-ratings span {
    padding: 5px 7px;
    border-radius: 5px;
    background: #f3f3f3;
    color: #444;
    font-size: .75rem;
}

.ksh-ra-bike-note {
    padding-top: 8px;
    border-top: 1px solid #ededed;
    color: #444;
    font-size: .82rem;
}

.ksh-ra-overview-result-count {
    min-height: 1.4em;
    margin: 0 0 14px;
    color: var(--ksh-ra-muted);
}

.ksh-ra-overview-tour {
    color: #333;
    font-size: .78rem;
    font-weight: 800;
}

.ksh-ra-overview-entry {
    display: flex;
    flex-direction: column;
}

.ksh-ra-overview-entry .ksh-ra-detail-card-body,
.ksh-ra-overview-entry .ksh-ra-hotel-body {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.ksh-ra-overview-open {
    align-self: flex-start;
    margin-top: auto;
    padding: 8px 11px;
    border: 1px solid var(--ksh-ra-red);
    border-radius: 6px;
    background: #fff;
    color: var(--ksh-ra-red);
    cursor: pointer;
    font: inherit;
    font-size: .78rem;
    font-weight: 800;
}

.ksh-ra-overview-open:hover,
.ksh-ra-overview-open:focus-visible {
    background: var(--ksh-ra-red);
    color: #fff;
}

.ksh-ra-dialog-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 18px 30px 24px;
    border-top: 1px solid #e3e3e3;
    background: #fafafa;
}

.ksh-ra-dialog-links:empty {
    display: none;
}

.ksh-ra-dialog-links a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 12px;
    border: 1px solid var(--ksh-ra-red);
    border-radius: 6px;
    color: var(--ksh-ra-red);
    font-size: .82rem;
    font-weight: 800;
    text-decoration: none;
}

.ksh-ra-dialog-links a:hover,
.ksh-ra-dialog-links a:focus-visible {
    background: var(--ksh-ra-red);
    color: #fff;
}

/* Einfache Vergleichssteuerung oberhalb der Tourkarten */
.ksh-ra-profile-dialog[hidden] {
    display: none !important;
}

.ksh-ra-profile-dialog {
    position: fixed;
    z-index: 1000000;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 24px;
}

.ksh-ra-profile-panel {
    position: relative;
    z-index: 1;
    width: min(1080px, 100%);
    max-height: calc(100vh - 48px);
    overflow: auto;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 18px 70px rgba(0, 0, 0, .3);
}

.ksh-ra-profile-hero {
    display: grid;
    grid-template-columns: minmax(230px, 32%) 1fr;
    min-height: 330px;
    background: #f4f4f4;
}

.ksh-ra-profile-portrait {
    overflow: hidden;
    background: #e8e8e8;
}

.ksh-ra-profile-portrait img {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: cover;
    object-position: center top;
}

.ksh-ra-profile-heading {
    align-self: center;
    padding: 38px 44px 34px;
}

.ksh-ra-profile-heading h2 {
    margin: 0 0 14px;
    color: var(--ksh-ra-red);
    font-size: clamp(1.65rem, 3vw, 2.45rem);
    line-height: 1.12;
}

.ksh-ra-profile-heading > p:last-child {
    margin: 0;
    color: #4e4e4e;
    font-size: 1rem;
    line-height: 1.68;
}


.ksh-ra-profile-body {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
    gap: 28px;
    padding: 32px 34px;
}

.ksh-ra-profile-story p {
    margin: 0 0 1em;
    color: #3f3f3f;
    line-height: 1.72;
}

.ksh-ra-profile-story p:last-child {
    margin-bottom: 0;
}

.ksh-ra-profile-compass {
    padding: 21px 22px;
    border: 1px solid #e0e0e0;
    border-radius: 11px;
    background: #fafafa;
}

.ksh-ra-profile-compass h3,
.ksh-ra-profile-bike h3 {
    margin: 0 0 12px;
    color: var(--ksh-ra-red);
    font-size: 1.1rem;
}

.ksh-ra-profile-compass dl,
.ksh-ra-profile-bike dl {
    margin: 0;
}

.ksh-ra-profile-compass dl > div,
.ksh-ra-profile-bike dl > div {
    padding: 9px 0;
    border-bottom: 1px solid #e7e7e7;
}

.ksh-ra-profile-compass dl > div:last-child,
.ksh-ra-profile-bike dl > div:last-child {
    border-bottom: 0;
}

.ksh-ra-profile-compass dt,
.ksh-ra-profile-bike dt {
    margin: 0 0 3px;
    font-size: .76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.ksh-ra-profile-compass dd,
.ksh-ra-profile-bike dd {
    margin: 0;
    color: #515151;
    line-height: 1.45;
}

.ksh-ra-profile-bike {
    display: block;
    padding: 0 34px 34px;
}

.ksh-ra-profile-bike-image {
    width: 100%;
    margin: 0 0 24px;
    overflow: hidden;
    border-radius: 11px;
    background: #f3f3f3;
    text-align: center;
}

.ksh-ra-profile-bike-image img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 560px;
    margin: 0 auto;
    object-fit: contain;
    object-position: center;
}

.ksh-ra-profile-bike-content {
    padding: 22px 24px;
    border: 1px solid #e0e0e0;
    border-radius: 11px;
    background: #fff;
}

.ksh-ra-profile-bike-content > p {
    color: #414141;
    line-height: 1.68;
}

.ksh-ra-profile-bike-content dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 18px;
    margin-top: 15px;
}

.ksh-ra-profile-footer {
    display: flex;
    justify-content: flex-end;
    padding: 16px 24px 22px;
    border-top: 1px solid #e4e4e4;
    background: #fafafa;
}

.ksh-ra-profile-footer button {
    min-height: 40px;
    padding: 8px 15px;
    border: 1px solid var(--ksh-ra-red);
    border-radius: 7px;
    background: var(--ksh-ra-red);
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-size: .82rem;
    font-weight: 800;
}

.ksh-ra-compare-toolbar {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: flex-end;
    margin: 0 0 14px;
    padding: 10px 12px;
    border: 1px solid #d8e7de;
    border-radius: 9px;
    background: #f7fbf8;
    color: #526159;
    font-size: .82rem;
    font-weight: 700;
}

.ksh-ra-compare-toolbar button {
    min-height: 38px;
    padding: 8px 13px;
    border: 1px solid #087443;
    border-radius: 7px;
    background: #087443;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-size: .8rem;
    font-weight: 800;
}

.ksh-ra-compare-toolbar button:disabled {
    cursor: not-allowed;
    opacity: .42;
}

.ksh-ra-compare-dock[hidden],
.ksh-ra-compare-dialog[hidden] {
    display: none !important;
}

.ksh-ra-compare-dock {
    position: fixed;
    z-index: 99990;
    right: 24px;
    bottom: 24px;
    left: 24px;
    display: flex;
    gap: 18px;
    align-items: center;
    justify-content: space-between;
    width: min(820px, calc(100% - 48px));
    margin: 0 auto;
    padding: 13px 15px;
    border: 1px solid #0d7a4a;
    border-radius: 12px;
    background: rgba(247, 252, 249, .97);
    box-shadow: 0 12px 38px rgba(7, 91, 54, .2);
    backdrop-filter: blur(8px);
}

.ksh-ra-compare-dock-text {
    min-width: 0;
}

.ksh-ra-compare-dock-text strong,
.ksh-ra-compare-dock-text span {
    display: block;
}

.ksh-ra-compare-dock-text strong {
    color: #075b36;
    font-size: .9rem;
}

.ksh-ra-compare-dock-text span {
    margin-top: 2px;
    overflow: hidden;
    color: #526159;
    font-size: .76rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ksh-ra-compare-dock-actions {
    display: flex;
    flex: 0 0 auto;
    gap: 8px;
}

.ksh-ra-compare-dock button,
.ksh-ra-compare-footer button {
    min-height: 38px;
    padding: 8px 12px;
    border: 1px solid #087443;
    border-radius: 7px;
    background: #087443;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-size: .78rem;
    font-weight: 800;
}

.ksh-ra-compare-dock button:disabled {
    cursor: not-allowed;
    opacity: .45;
}

.ksh-ra-compare-dock .ksh-ra-compare-reset {
    background: #fff;
    color: #087443;
}

.ksh-ra-compare-dialog {
    position: fixed;
    z-index: 1000000;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 20px;
}

.ksh-ra-compare-panel {
    position: relative;
    z-index: 1;
    width: min(1320px, 100%);
    max-height: calc(100vh - 40px);
    overflow: auto;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 18px 70px rgba(0, 0, 0, .3);
}

.ksh-ra-compare-heading {
    padding: 30px 34px 22px;
    border-bottom: 1px solid #e4e9e6;
    background: linear-gradient(135deg, #f5fbf7, #edf7f1);
}

.ksh-ra-compare-heading h2 {
    margin: 3px 0 8px;
    color: #073f29;
    font-size: clamp(1.45rem, 2.8vw, 2rem);
    line-height: 1.18;
}

.ksh-ra-compare-heading > p:last-child {
    max-width: 850px;
    margin: 0;
    color: #506158;
    line-height: 1.55;
}

.ksh-ra-compare-scroll {
    overflow-x: auto;
    padding: 22px 24px 28px;
}

.ksh-ra-compare-table {
    display: grid;
    grid-template-columns: minmax(160px, .72fr) repeat(var(--ksh-compare-count), minmax(230px, 1fr));
    min-width: calc(170px + (var(--ksh-compare-count) * 240px));
    overflow: hidden;
    border: 1px solid #dfe6e2;
    border-radius: 12px;
    background: #fff;
}

.ksh-ra-compare-corner,
.ksh-ra-compare-tour-head,
.ksh-ra-compare-label,
.ksh-ra-compare-value {
    min-width: 0;
    padding: 13px 15px;
    border-right: 1px solid #e4e9e6;
    border-bottom: 1px solid #e4e9e6;
}

.ksh-ra-compare-corner,
.ksh-ra-compare-tour-head {
    background: #f1f8f4;
}

.ksh-ra-compare-corner {
    display: flex;
    align-items: flex-end;
    color: #075b36;
    font-size: .78rem;
    font-weight: 850;
    text-transform: uppercase;
}

.ksh-ra-compare-tour-head {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 11px;
    align-items: center;
    min-height: 108px;
}

.ksh-ra-compare-tour-head img {
    width: 76px;
    height: 76px;
    margin: 0;
    border-radius: 9px;
    object-fit: cover;
}

.ksh-ra-compare-tour-head p {
    margin: 0 0 2px;
    color: #087443;
    font-size: .72rem;
    font-weight: 800;
}

.ksh-ra-compare-tour-head h3 {
    margin: 0 0 7px;
    color: #202a24;
    font-size: 1rem;
    line-height: 1.25;
}

.ksh-ra-compare-tour-head button {
    padding: 0;
    border: 0;
    background: transparent;
    color: #9b1d1d;
    cursor: pointer;
    font: inherit;
    font-size: .7rem;
    font-weight: 750;
    text-decoration: underline;
}

.ksh-ra-compare-label {
    background: #fafcfb;
    color: #26332c;
    font-size: .78rem;
    font-weight: 800;
}

.ksh-ra-compare-value {
    color: #404b45;
    font-size: .8rem;
    line-height: 1.5;
}

.ksh-ra-compare-table > :nth-last-child(-n + 4) {
    border-bottom: 0;
}

.ksh-ra-compare-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 16px 24px 22px;
    border-top: 1px solid #e4e9e6;
    background: #fafcfb;
}

.ksh-ra-compare-footer .ksh-ra-compare-close-button {
    background: #087443;
    color: #fff;
}

html.ksh-ra-dialog-open,
html.ksh-ra-dialog-open body {
    overflow: hidden;
}

@media (max-width: 900px) {
    .ksh-ra-profile-hero,
    .ksh-ra-profile-bike {
        grid-template-columns: 1fr;
    }
    .ksh-ra-profile-portrait {
        max-height: 460px;
    }
    .ksh-ra-profile-body {
        grid-template-columns: 1fr;
    }
    .ksh-ra-profile-bike-image {
        min-height: 0;
        max-height: none;
    }
    .ksh-ra-dialog-header {
        grid-template-columns: 1fr;
    }
    .ksh-ra-dialog-image {
        min-height: 210px;
        max-height: 300px;
    }
    .ksh-ra-dialog-heading {
        padding: 25px 28px;
    }
    .ksh-ra-detail-grid,
    .ksh-ra-hotel-grid,
    .ksh-ra-overview-highlight-grid,
    .ksh-ra-overview-hotel-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .ksh-ra-intro-title-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 9px;
    }
    .ksh-ra-intro h2 {
        white-space: normal;
    }
    .ksh-ra-intro-actions {
        width: 100%;
        flex-wrap: wrap;
    }
    .ksh-ra-profile-open,
    .ksh-ra-home-link {
        flex: 1 1 220px;
        width: auto;
    }
    .ksh-ra-profile-dialog,
    .ksh-ra-dialog {
        padding: 0;
    }
    .ksh-ra-profile-panel {
        width: 100%;
        max-height: 100vh;
        min-height: 100vh;
        border-radius: 0;
    }
    .ksh-ra-profile-hero {
        min-height: 0;
    }
    .ksh-ra-profile-portrait {
        min-height: 280px;
        max-height: 360px;
    }
    .ksh-ra-profile-heading {
        padding: 24px 18px;
    }
    .ksh-ra-profile-body {
        gap: 20px;
        padding: 24px 16px;
    }
    .ksh-ra-profile-bike {
        gap: 18px;
        padding: 0 16px 24px;
    }
    .ksh-ra-profile-bike-image {
        min-height: 0;
    }
    .ksh-ra-profile-bike-content {
        padding: 19px 17px;
    }
    .ksh-ra-profile-bike-content dl {
        grid-template-columns: 1fr;
    }
    .ksh-ra-dialog {
        padding: 0;
    }
    .ksh-ra-dialog-panel {
        width: 100%;
        max-height: 100vh;
        min-height: 100vh;
        border-radius: 0;
    }
    .ksh-ra-dialog-image {
        min-height: 190px;
        max-height: 230px;
    }
    .ksh-ra-dialog-heading {
        padding: 22px 18px;
    }
    .ksh-ra-detail-tabs {
        padding: 0 8px;
    }
    .ksh-ra-detail-tabs button {
        padding-right: 10px;
        padding-left: 10px;
    }
    .ksh-ra-detail-content {
        padding: 20px 14px 28px;
    }
    .ksh-ra-overview-grid,
    .ksh-ra-detail-grid,
    .ksh-ra-hotel-grid,
    .ksh-ra-overview-highlight-grid,
    .ksh-ra-overview-hotel-grid {
        grid-template-columns: 1fr;
    }
    .ksh-ra-profile dl > div {
        grid-template-columns: 1fr;
        gap: 4px;
    }
    .ksh-ra-dialog-links {
        padding: 16px 14px 22px;
    }
    .ksh-ra-dialog-links a {
        width: 100%;
        justify-content: center;
    }
    .ksh-ra-layer-controls strong {
        flex-basis: 100%;
    }
}

@media (max-width: 720px) {
    .ksh-ra-compare-dock {
        right: 10px;
        bottom: 10px;
        left: 10px;
        width: auto;
        gap: 10px;
        align-items: stretch;
        flex-direction: column;
    }

    .ksh-ra-compare-dock-text span {
        white-space: normal;
    }

    .ksh-ra-compare-dock-actions {
        width: 100%;
    }

    .ksh-ra-compare-dock-actions button {
        flex: 1;
    }

    .ksh-ra-compare-dialog {
        padding: 0;
    }

    .ksh-ra-compare-panel {
        width: 100%;
        max-height: 100vh;
        min-height: 100vh;
        border-radius: 0;
    }

    .ksh-ra-compare-heading {
        padding: 25px 18px 18px;
    }

    .ksh-ra-compare-scroll {
        padding: 15px 12px 20px;
    }

    .ksh-ra-compare-footer {
        padding: 14px 12px 18px;
    }
}

@media (max-width: 520px) {
    .ksh-ra-compare-toolbar {
        align-items: stretch;
        flex-direction: column;
        text-align: center;
    }

    .ksh-ra-compare-toolbar button {
        width: 100%;
    }
}

/* Hinweisbox für Reiseberichte */
.ksh-ra-promo-box {
    display: grid;
    grid-template-columns: minmax(150px, .52fr) minmax(0, 1.3fr) minmax(165px, .6fr);
    gap: 14px;
    align-items: stretch;
    width: 100%;
    margin: 28px 0;
    padding: 14px;
    overflow: hidden;
    border: 1px solid #0d7a4a;
    border-radius: 16px;
    background: linear-gradient(135deg, #f5fbf7 0%, #edf7f1 100%);
    box-shadow: 0 10px 28px rgba(7, 91, 54, .12);
}

.ksh-ra-promo-side {
    display: flex;
    min-width: 0;
}

.ksh-ra-promo-side-left {
    align-items: stretch;
}

.ksh-ra-promo-side-right {
    flex-direction: column;
    justify-content: center;
    gap: 12px;
}

.ksh-ra-promo-image {
    min-width: 0;
    overflow: hidden;
    border-radius: 10px;
    background: #dbe9e0;
    box-shadow: 0 8px 16px rgba(0,0,0,.12);
}

.ksh-ra-promo-image-portrait {
    width: 100%;
    min-height: 248px;
}

.ksh-ra-promo-image-wide {
    width: 100%;
    min-height: 108px;
    transform-origin: center center;
}

.ksh-ra-promo-image-wide-top {
    transform: rotate(2deg);
}

.ksh-ra-promo-image-wide-bottom {
    transform: rotate(2deg);
}

.ksh-ra-promo-image img {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    object-fit: cover;
}

.ksh-ra-promo-content {
    align-self: center;
    padding: 10px 8px 10px 4px;
}

.ksh-ra-promo-kicker {
    margin: 0 0 7px !important;
    color: #087443;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .08em;
    line-height: 1.3;
    text-transform: uppercase;
}

.ksh-ra-promo-box h3 {
    margin: 0 0 8px !important;
    color: #073f29;
    font-size: clamp(1.28rem, 2vw, 1.72rem);
    line-height: 1.18;
}

.ksh-ra-promo-subline {
    margin: 0 0 13px !important;
    color: #0b6b3f;
    font-size: .84rem;
    font-weight: 700;
    line-height: 1.45;
}

.ksh-ra-promo-box .ksh-ra-promo-text {
    display: block !important;
    width: 100%;
    margin: 0 0 17px !important;
    clear: both;
    color: #2f493c;
    font-size: .95rem;
    line-height: 1.58;
}


.ksh-ra-promo-box .ksh-ra-promo-actions {
    display: block !important;
    width: 100%;
    margin: 0;
    padding: 0;
    clear: both;
}

.ksh-ra-promo-button {
    display: inline-flex;
    float: none !important;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px 15px;
    border: 1px solid #075b36;
    border-radius: 999px;
    background: #087443;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(7, 91, 54, .16);
    font-size: .9rem;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none !important;
    transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.ksh-ra-promo-button:hover,
.ksh-ra-promo-button:focus {
    background: #075b36;
    box-shadow: 0 6px 16px rgba(7, 91, 54, .22);
    color: #fff !important;
    transform: translateY(-1px);
}

@media (max-width: 900px) {
    .ksh-ra-promo-box {
        grid-template-columns: minmax(120px, .48fr) minmax(0, 1fr) minmax(132px, .55fr);
        gap: 12px;
        padding: 12px;
    }

    .ksh-ra-promo-image-portrait {
        min-height: 220px;
    }

    .ksh-ra-promo-image-wide {
        min-height: 96px;
    }
}

@media (max-width: 720px) {
    .ksh-ra-promo-box {
        grid-template-columns: 1fr;
    }

    .ksh-ra-promo-side-left,
    .ksh-ra-promo-side-right {
        display: grid;
    }

    .ksh-ra-promo-side-left {
        order: 1;
    }

    .ksh-ra-promo-content {
        order: 2;
        padding: 6px 6px 4px;
    }

    .ksh-ra-promo-side-right {
        order: 3;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .ksh-ra-promo-image-portrait {
        min-height: 210px;
    }

    .ksh-ra-promo-image-wide {
        min-height: 110px;
    }
}

@media (max-width: 430px) {
    .ksh-ra-promo-box {
        padding: 10px;
        gap: 10px;
    }

    .ksh-ra-promo-image-wide-top,
    .ksh-ra-promo-image-wide-bottom {
        transform: none;
    }

    .ksh-ra-promo-content {
        padding: 2px 2px 4px;
    }

    .ksh-ra-promo-button {
        width: 100%;
    }
}

