.i18n-pending body {
    visibility: hidden;
}

.i18n-ready body {
    visibility: visible;
}

.language-switcher {
    position: fixed;
    top: 12px;
    right: 16px;
    z-index: 1050;
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 4px;
    font-size: 13px;
    line-height: 1.2;
}

.language-switcher a {
    color: #090980;
    font-weight: 600;
    text-decoration: none;
}

.language-switcher a[aria-current="page"] {
    color: #c11214;
}

.language-switcher span {
    color: #777;
    margin: 0 4px;
}

.brand-heading {
    text-align: center;
}

.studio-label {
    margin-top: 18px;
    text-align: center;
}

.pilot-banner,
.internal-review {
    border: 1px solid #b67900;
    border-left-width: 5px;
    background: #fff7df;
    color: #4d3400;
    padding: 12px 16px;
}

.pilot-banner {
    position: relative;
    z-index: 2;
    margin: 80px 8% 0 32%;
}

.internal-review {
    margin: 18px 0;
}

.service-consent {
    color: #555;
    font-size: 0.9em;
}

.product-block {
    margin-bottom: 30px;
}

html:not([lang="de"]) #einsatz > .container-fluid,
html:not([lang="de"]) #mission > .container-fluid,
html:not([lang="de"]) #therapie > .container-fluid,
html:not([lang="de"]) #pricelist > .container-fluid,
html:not([lang="de"]) #map > .container-fluid,
html:not([lang="de"]) #about > .container-fluid {
    margin-top: 4.5em;
    margin-bottom: 4.5em;
}

html:not([lang="de"]) #systeme .product-block {
    margin-top: 3.5em;
    margin-bottom: 3.5em;
}

html:not([lang="de"]) .booking-box,
html:not([lang="de"]) section[aria-labelledby="expectations-heading"] {
    margin-top: 4em;
    margin-bottom: 4em;
}

html:not([lang="de"]) #synchro-pro,
html:not([lang="de"]) #mobil,
html:not([lang="de"]) #anwendungen {
    margin-top: 80px;
    margin-bottom: 28px;
}

.use-case-grid,
.download-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.personal-break > .container-fluid {
    padding-top: 4.5em;
    padding-bottom: 4.5em;
}

.personal-break-intro {
    margin-bottom: 28px;
}

.personal-break-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
}

.personal-break-card {
    min-width: 0;
    padding: 22px;
    border: 1px solid #ddd;
    border-top: 3px solid #c11214;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.72);
}

.personal-break-card h3 {
    margin-top: 0;
    font-size: 1.25em;
    line-height: 1.4;
}

.personal-break-card p {
    margin-bottom: 0;
}

.personal-break-closing {
    margin-top: 30px;
}

.personal-break .personal-break-button {
    margin-top: 10px;
    max-width: 100%;
    white-space: normal;
    color: #fff;
    background: #c11214;
    line-height: 1.5;
}

.personal-break .personal-break-button:hover,
.personal-break .personal-break-button:focus {
    color: #fff;
    background: #9c0f11;
}

.personal-break .personal-break-button:focus-visible {
    outline: 2px solid #c11214;
    outline-offset: 4px;
}

@media (min-width: 1200px) {
    .personal-break-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .personal-break > .container-fluid {
        padding-top: 3em;
        padding-bottom: 3em;
    }

    .personal-break-card {
        padding: 18px;
    }
}

.use-case-card,
.download-card {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.72);
}

.download-card .price-photo {
    max-height: 220px;
    width: auto;
}

.relaxstation-pro {
    margin: 30px 0;
}

.relaxstation-pro-intro {
    margin-bottom: 24px;
}

.relaxstation-pro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
}

.relaxstation-pro-card {
    min-width: 0;
    padding: 20px;
    border: 1px solid #ddd;
    border-top: 3px solid #c11214;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.72);
}

.relaxstation-pro-card h3 {
    margin-top: 0;
    font-size: 1.2em;
    line-height: 1.4;
}

.relaxstation-pro-card figure {
    margin: 20px 0;
}

.relaxstation-pro-image-area {
    width: 100%;
    max-width: 380px;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    position: relative;
    background: transparent;
}

.relaxstation-pro-image-area img {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: transparent;
}

.relaxstation-pro-grid,
.system-price-downloads {
    container-type: inline-size;
}

.system-price-downloads {
    grid-template-columns: minmax(0, 1fr);
}

.system-price-downloads .download-card {
    padding: 20px;
}

.system-price-downloads .download-card:last-child {
    grid-column: 1 / -1;
    text-align: center;
}

.relaxstation-pro-grid .relaxstation-pro-image-area,
.system-price-downloads .relaxstation-pro-image-area {
    width: min(380px, calc(100cqw - 42px));
}

.system-price-downloads .relaxstation-pro-image-area img {
    width: 100%;
    height: 100%;
    max-height: none;
    margin: 0;
}

.system-price-downloads .relaxstation-pro-image-area {
    margin-bottom: 18px;
}

@media (min-width: 1200px) {
    .system-price-downloads {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .relaxstation-pro-grid .relaxstation-pro-image-area,
    .system-price-downloads .relaxstation-pro-image-area {
        width: min(380px, calc(50cqw - 52px));
    }
}

.product-comparison {
    margin: 24px 0;
    text-align: center;
}

.product-comparison .btn {
    max-width: 100%;
    white-space: normal;
    background: #c11214;
    color: #fff;
}

.product-comparison .btn:hover,
.product-comparison .btn:focus {
    background: #9c0f11;
    color: #fff;
}

.relaxstation-pro-card figcaption {
    margin-top: 8px;
    color: #555;
    font-size: 0.85em;
    line-height: 1.5;
}

.relaxstation-pro-card > p {
    margin-bottom: 0;
}

.relaxstation-pro-closing {
    margin-top: 24px;
}

@media (min-width: 1200px) {
    .relaxstation-pro-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.responsive-price-table {
    width: 100%;
    max-width: 100%;
    margin: 18px 0 30px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.responsive-price-table table {
    min-width: 620px;
    margin-bottom: 0;
}

.responsive-price-table:focus {
    outline: 2px solid #c11214;
    outline-offset: 2px;
}

.session-tables td:last-child {
    white-space: nowrap;
    text-align: right;
}

.help-block {
    min-height: 20px;
    color: #a50000;
}

[aria-invalid="true"] {
    border-color: #a50000;
}

.translation-load-error {
    max-width: 680px;
    margin: 80px auto;
    padding: 30px;
    font-family: Arial, sans-serif;
}

@media (max-width: 991px) {
    .pilot-banner {
        margin: 76px 15px 0;
    }
}

@media (max-width: 767px) {
    .language-switcher {
        right: 12px;
    }

    html:not([lang="de"]) #einsatz > .container-fluid,
    html:not([lang="de"]) #mission > .container-fluid,
    html:not([lang="de"]) #therapie > .container-fluid,
    html:not([lang="de"]) #pricelist > .container-fluid,
    html:not([lang="de"]) #map > .container-fluid,
    html:not([lang="de"]) #about > .container-fluid {
        margin-top: 3.75em;
        margin-bottom: 3.75em;
    }

    html:not([lang="de"]) #systeme .product-block {
        margin-top: 3em;
        margin-bottom: 3em;
    }

    html:not([lang="de"]) .booking-box,
    html:not([lang="de"]) section[aria-labelledby="expectations-heading"] {
        margin-top: 3.5em;
        margin-bottom: 3.5em;
    }

    html:not([lang="de"]) #synchro-pro,
    html:not([lang="de"]) #mobil,
    html:not([lang="de"]) #anwendungen {
        margin-top: 64px;
        margin-bottom: 24px;
    }

    .use-case-grid,
    .download-grid {
        grid-template-columns: 1fr;
    }

    .responsive-price-table {
        border: 1px solid #ddd;
    }

    .responsive-price-table::after {
        content: "\2194";
        position: sticky;
        left: 8px;
        color: #666;
        font-size: 18px;
    }
}

/* German incense section: preserve the complete portrait and anchor clearance. */
#raeucherwerk {
    margin-top: 3em;
    scroll-margin-top: 100px;
}

#raeucherwerk > h2 {
    margin-top: 0;
}

#raeucherwerk .raeucherwerk-image {
    display: block;
    width: 100%;
    max-width: 380px;
    height: auto;
    margin: 0 0 1.5em;
    border-radius: 12px;
}

/* Keep the complete studio overview proportional at its existing width. */
#systeme .systeme-main-image {
    max-height: none;
}

/* Five senses: same content width, stacked labels on small screens. */
.bowl-senses { margin: 2em 0 1.6em; }
.bowl-senses > h3 { margin-top: 0; }
.bowl-sense { display: grid; grid-template-columns: minmax(0, 0.32fr) minmax(0, 0.68fr); gap: 1.5em; padding: 1.25em 0; border-top: 1px solid rgba(148, 16, 18, .18); }
.bowl-sense-label, .bowl-sense-body { min-width: 0; overflow-wrap: break-word; }
.bowl-sense h4 { color: #C11214; font-size: 1.05em; margin: 0 0 .4em; }
.bowl-sense .bowl-sense-subtitle { font-style: italic; margin: 0; }
.bowl-sense-body > p { margin: 0 0 .7em; }
.bowl-sense-body > p:last-child { margin-bottom: 0; }
.bowl-sense-tip strong { color: #941012; font-weight: 600; }
@media (max-width: 767px) {
    .bowl-sense { grid-template-columns: minmax(0, 1fr); gap: .8em; padding: 1em 0; }
}

/* Application prices: give translated labels and three-digit card amounts room. */
@media (min-width: 992px) {
    .session-tables > .col-md-3 { width: 50%; }
}
.session-tables .table { width: 100%; table-layout: fixed; }
.session-tables .table td:first-child { width: 68%; overflow-wrap: break-word; }
.session-tables .table td:last-child { width: 32%; white-space: nowrap; }
