#jx-switch[hidden], .jx-seasonal[hidden] { display: none !important; }
#jx-switch {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    min-height: 44px;
    padding: .35rem .65rem;
    border: 1px solid #b7d7e0;
    border-radius: 999px;
    background: #f8fcfd;
    color: #174553;
    font: 650 .75rem/1.15 system-ui, sans-serif;
    cursor: pointer;
}
#jx-switch > span:first-child { font-size: 1.15rem; }
#jx-switch:hover, #jx-switch[aria-checked="true"] { background: #f4e4bc; color: #163e38; border-color: #ba9150; }
#jx-switch:focus-visible { outline: 2px solid #176d83; outline-offset: 3px; }

.jx-active {
    --jx-pine: #153f3b;
    --jx-dark: #10322f;
    --jx-paper: #fff9eb;
    --jx-gold: #d9b978;
    --jx-border: #d6bc85;
}
.jx-active .site-header {
    background: linear-gradient(105deg, #fff9ec, #f2f8f3 56%, #e0eee9);
    border-bottom: 3px solid #ac813d;
}
.jx-active #start.hero {
    position: relative;
    isolation: isolate;
    padding-block-end: clamp(155px, 25vw, 320px);
    background: radial-gradient(ellipse at 86% 24%, #c9e0d7, transparent 54%),
                linear-gradient(125deg, #fbf5e9, #e2efe8 78%);
}
.jx-active #start.hero::after {
    position: absolute;
    z-index: -1;
    inset: auto 0 0;
    height: clamp(145px, 24vw, 315px);
    background: url(bogen.webp) center 55% / cover no-repeat;
    mask-image: linear-gradient(transparent, #000 24%);
    pointer-events: none;
    content: "";
}
.jx-active #start.hero h1 em { color: #176358; }
.jx-active .jx-hero-line {
    color: #365d51;
    font-family: Georgia, serif;
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    font-style: italic;
    line-height: 1.35;
    margin: 1.35rem 0 0;
}
.jx-active .jx-hero-line::before { content: "✦"; color: #866025; margin-inline-end: .55rem; }

html.jx-active body.home #main > .quick-contact {
    background: #e4eee6;
    border-color: #c3d1bd;
}
html.jx-active body.home #main > .section:not(#faq) {
    border-color: #cfceb7;
    background: linear-gradient(115deg, #fcf6e9, #e8f1e8);
}
html.jx-active body.home #main > :is(#rechtsgebiete, #faq) {
    border-color: #cfceb7;
    background: linear-gradient(125deg, #e5efe7, #fcf6e9);
}
html.jx-active body.home #main :is(.quick-tile, .cards .card, .booking-card, .booking-info, .steps-grid article, .contact-card, .section .text-stack),
html.jx-active #faq .akj-faq-group {
    border-color: #c5cbb6;
    background: linear-gradient(145deg, #fffdf6, #f0f3e8);
}
html.jx-active body.home #main :is(.cards .card, .booking-card, .booking-info, .steps-grid article, .contact-card, .section .text-stack) {
    border-block-start-color: #b99b60;
}
html.jx-active #faq .akj-faq-questions details { border-color: #bfcbba; }
html.jx-active #faq .akj-faq-questions summary:hover,
html.jx-active #faq .akj-faq-questions details[open] > summary { background: #e8f0e5; }

.jx-seasonal {
    box-sizing: border-box;
}
.jx-greeting {
    background: var(--jx-dark);
    color: var(--jx-paper);
    border-block: 1px solid #b18c4f;
    padding: clamp(1.6rem, 5vw, 4rem) 0;
}
.jx-greeting-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
    gap: clamp(1rem, 4vw, 3rem);
}
.jx-greeting-copy {
    position: relative;
    align-content: center;
    padding: clamp(1.35rem, 3.4vw, 2.7rem);
    border: 1px solid #cfac6866;
    border-radius: 18px;
    background: radial-gradient(ellipse at 89% 8%, #325749, #17413a 71%);
}
.jx-greeting .jx-stars {
    color: var(--jx-gold);
    font: 1.35rem/1 Georgia, serif;
    letter-spacing: .55em;
    margin: 0 0 1.1rem;
}
.jx-greeting h2 {
    margin: 0;
    color: var(--jx-paper);
    font: 400 clamp(2rem, 4.1vw, 3.65rem)/1.06 Georgia, serif;
}
.jx-greeting p { color: #f5f1e5; margin: 1rem 0 0; line-height: 1.6; }
.jx-greeting .jx-salutation { color: #efd29c; font-weight: 650; }
.jx-greeting-art {
    width: 100%;
    height: 100%;
    min-height: 285px;
    max-height: 410px;
    display: block;
    object-fit: cover;
    object-position: center;
    border: 1px solid #cfac6888;
    border-radius: 18px;
}
.jx-motif {
    position: relative;
    overflow: hidden;
    min-height: clamp(135px, 17vw, 240px);
    background: var(--jx-dark);
    border-block: 1px solid #c5a766;
}
.jx-motif img {
    display: block;
    width: 100%;
    height: clamp(135px, 17vw, 240px);
    object-fit: cover;
    object-position: center 57%;
}
.jx-motif::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #143a35b3, transparent 38%, transparent 62%, #143a3580);
    pointer-events: none;
    content: "";
}
.jx-motif.jx-lights img { object-position: center 59%; }
.jx-motif.jx-farewell img { object-position: center 55%; }
.jx-farewell { margin: 0; }
.jx-active #main.akj-article > article::before,
.jx-active #main > .section:first-child:not(#start)::before {
    display: block;
    height: clamp(5rem, 12vw, 9rem);
    margin-block-end: 1.25rem;
    background: url(bogen.webp) center 52% / cover no-repeat;
    mask-image: linear-gradient(#000 74%, transparent);
    content: "";
}
.jx-active .jx-footer-line {
    color: #f7e1af;
    background: var(--jx-dark);
    border-block-start: 1px solid #aa864f;
    text-align: center;
    padding: .95rem 1.15rem;
    font: 1.15rem/1.45 Georgia, serif;
}

@media (max-width: 1190px) {
    .site-header #jx-switch { width: 44px; padding-inline: 0; }
    .site-header #jx-switch > span:last-child {
        position: absolute;
        width: 1px;
        height: 1px;
        clip-path: inset(50%);
        overflow: hidden;
        white-space: nowrap;
    }
}
@media (max-width: 760px) {
    .jx-greeting-inner { grid-template-columns: minmax(0, 1fr); }
    .jx-greeting-art { min-height: 0; height: auto; max-height: 260px; aspect-ratio: 2 / 1; }
    .jx-active #start.hero::after { background-position: center 60%; }
    .jx-motif::after { background: linear-gradient(90deg, #143a3555, transparent 42%, transparent 65%, #143a3544); }
}
@media (forced-colors: active) {
    #jx-switch[aria-checked="true"] { border: 2px solid Highlight; }
}
