/* V67: four native entry cards, mobile first. */

/* Stage V69 – a calm frame-free, backend-fed training bridge. */
body.home .reference-home--de .ananda-training-bridge{max-width:1080px;width:calc(100% - 32px);margin:15px auto 62px;background:transparent;border:0;padding:0;box-shadow:none}
body.home .reference-home--de .ananda-training-bridge__link{display:grid;grid-template-columns:1.07fr 1fr;align-items:center;gap:clamp(14px,3vw,42px);background:none;border:0;box-shadow:none;color:#674c40;text-decoration:none}
body.home .reference-home--de .ananda-training-bridge__photo{display:block;aspect-ratio:1.55;overflow:hidden;-webkit-mask-image:radial-gradient(ellipse 72% 72% at 50% 50%,#000 42%,rgba(0,0,0,.83) 67%,transparent 100%);mask-image:radial-gradient(ellipse 72% 72% at 50% 50%,#000 42%,rgba(0,0,0,.83) 67%,transparent 100%)}
body.home .reference-home--de .ananda-training-bridge__photo :is(img,picture,figure){display:block;width:100%;height:100%;margin:0}
body.home .reference-home--de .ananda-training-bridge__photo img{object-fit:cover;object-position:center 40%;opacity:.93;filter:brightness(1.13) contrast(.92) saturate(.86)}
body.home .reference-home--de .ananda-training-bridge__copy{display:grid;justify-items:start;gap:10px;min-width:0;padding:12px 3px}
body.home .reference-home--de .ananda-training-bridge__eyebrow{font:600 10px/1.6 system-ui,sans-serif;letter-spacing:.17em;color:#a0785d}
body.home .reference-home--de .ananda-training-bridge__ornament{color:#bc926d;font:25px/1 Georgia,serif}
body.home .reference-home--de .ananda-training-bridge h2{font:400 clamp(31px,4vw,49px)/1.14 Georgia,serif!important;letter-spacing:-.02em;color:#935e49!important;text-transform:none!important;margin:0!important}
body.home .reference-home--de .ananda-training-bridge__subtitle{color:#895d49;font:600 clamp(14px,1.6vw,17px)/1.4 system-ui,sans-serif}
body.home .reference-home--de .ananda-training-bridge__text{color:#665145;font:400 clamp(14px,1.5vw,16px)/1.7 system-ui,sans-serif;max-width:46ch}
body.home .reference-home--de .ananda-training-bridge__more{color:#a06546;font:600 14px/1.5 system-ui,sans-serif;border-bottom:1px solid #c5a287;padding:6px 0 4px}
body.home .reference-home--de .ananda-training-bridge__link:focus-visible{outline:3px solid #bd8865;outline-offset:7px}
body.home .reference-home--de .ananda-training-bridge__link:is(:hover,:focus-visible) .ananda-training-bridge__more{color:#793f2b;border-color:#793f2b}
@media(max-width:700px){body.home .reference-home--de .ananda-training-bridge{margin:0 auto 46px}body.home .reference-home--de .ananda-training-bridge__link{grid-template-columns:1fr;gap:0}body.home .reference-home--de .ananda-training-bridge__photo{aspect-ratio:1.7}body.home .reference-home--de .ananda-training-bridge__copy{justify-items:center;text-align:center;padding:8px 12px}body.home .reference-home--de .ananda-training-bridge h2{font-size:clamp(30px,8vw,42px)!important}}

body.home #site-content.reference-home--de > .ref-welcome {
    display: block;
    width: min(930px, calc(100% - 32px));
    margin: 0 auto;
    padding: 24px 0 22px;
}
body.home #site-content.reference-home--de .ananda-homepage-managed__mobile-lead { display: none; }
body.home #site-content.reference-home--de > .ananda-home-entrypoints {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto 28px;
    padding: 0;
}
body.home .reference-home--de .ananda-home-entrypoints__card {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: flex-end;
    min-width: 0;
    min-height: 192px;
    padding: 18px 13px 16px;
    overflow: hidden;
    border: 1px solid rgba(251, 232, 174, .65);
    border-radius: 34px 36px 26px 34px;
    background: #b46b3d;
    box-shadow: 0 6px 20px rgba(131, 80, 33, .24);
    color: #fffdf3;
    text-decoration: none;
}
.ananda-home-entrypoints__media,
.ananda-home-entrypoints__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.ananda-home-entrypoints__media { z-index: -2; pointer-events: none; }
.ananda-home-entrypoints__media img { object-fit: cover; object-position: center; }
.ananda-home-entrypoints__card::after {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 12% 0 0;
    background: linear-gradient(0deg, rgba(82, 35, 20, .97), rgba(113, 53, 29, .78) 48%, transparent);
    pointer-events: none;
}
.ananda-home-entrypoints__card--teachers::after,
.ananda-home-entrypoints__card--travels::after {
    background: linear-gradient(0deg, rgba(47, 65, 31, .97), rgba(79, 93, 55, .80) 48%, transparent);
}
.ananda-home-entrypoints__copy { position: relative; display: grid; gap: 7px; min-width: 0; }
.ananda-home-entrypoints__copy strong {
    display: block;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(20px, 5.1vw, 28px);
    font-weight: 400;
    line-height: 1.08;
    text-wrap: balance;
    color: inherit;
    text-shadow: 0 1px 5px rgba(40, 23, 12, .4);
}
.ananda-home-entrypoints__copy small { display: block; font-size: 12px; line-height: 1.35; color: inherit; }
body.home .reference-home--de .ananda-home-entrypoints__card:hover { color: #fffdf3; text-decoration: none; }
.ananda-home-entrypoints__card:focus-visible { outline: 3px solid #753a26; outline-offset: 4px; }
@media (min-width: 900px) {
    body.home #site-content.reference-home--de > .ananda-home-entrypoints { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-bottom: 40px; }
    body.home .reference-home--de .ananda-home-entrypoints__card { min-height: 260px; padding: 24px 20px; }
}

/* R03/R04 refinement – softer contrast, reliable touch target and clear focus. */
body.home .reference-home--de .ananda-home-entrypoints__card { min-height: 200px; }
body.home .reference-home--de .ananda-home-entrypoints__card::after {
  background: linear-gradient(0deg,rgba(70,42,30,.84),rgba(100,66,49,.47) 55%,transparent 100%);
}
body.home .reference-home--de .ananda-home-entrypoints__card--teachers::after,
body.home .reference-home--de .ananda-home-entrypoints__card--travels::after {
  background: linear-gradient(0deg,rgba(43,65,45,.86),rgba(79,100,77,.44) 55%,transparent 100%);
}
body.home .reference-home--de .ananda-home-entrypoints__card:focus-visible,
body.home .reference-home--de .ananda-training-bridge__link:focus-visible {
  outline:3px solid #9c5e3a;outline-offset:4px
}
@media(max-width:490px){
  body.home .reference-home--de .ananda-home-entrypoints__card{min-height:180px}
  body.home .reference-home--de .ananda-home-entrypoints__copy strong{font-size:clamp(16px,4.5vw,20px)}
  body.home .reference-home--de .ananda-training-bridge__more{display:inline-block;min-height:44px;padding-top:12px}
}

/* R02 V67 – continuous warm landscape, 2026-10-28.
 * Presentation only; existing WordPress text, media, links and visibility remain native.
 */
body.home #site-content.reference-home--de {
    --ananda-v67-ink: #563722;
    --ananda-v67-heading: #854627;
    background:
        radial-gradient(ellipse 85% 900px at 100% 1050px, rgba(115, 133, 64, .17), transparent 75%),
        linear-gradient(180deg, #e8b76f 0, #eac889 1500px, #ecd39a 3300px, #e6cc91 100%);
    color: var(--ananda-v67-ink);
}
body.home #site-content.reference-home--de > .ref-hero {
    background: #e8b76f;
    border-radius: 0;
}
body.home #site-content.reference-home--de > .ref-hero::after {
    height: clamp(70px, 13vw, 160px);
    background: linear-gradient(to bottom, rgba(232, 183, 111, 0), #e8b76f);
}
body.home #site-content.reference-home--de > .ref-welcome {
    width: min(930px, calc(100% - 40px));
    padding: clamp(24px, 3vw, 42px) 0 26px;
    background: transparent;
    color: var(--ananda-v67-ink);
}
body.home #site-content.reference-home--de > .ref-welcome h1 {
    max-width: 25ch;
    margin-inline: auto;
    font: italic 400 clamp(30px, 5vw, 48px)/1.17 Georgia, "Times New Roman", serif;
    letter-spacing: -.025em;
    color: var(--ananda-v67-heading);
    text-wrap: balance;
}
body.home #site-content.reference-home--de > .ananda-home-entrypoints {
    gap: clamp(12px, 1.5vw, 18px);
    margin-bottom: clamp(28px, 4vw, 48px);
}
body.home .reference-home--de .ananda-home-entrypoints__card {
    border-color: rgba(255, 235, 184, .8);
    border-radius: 24px;
    box-shadow: 0 6px 18px rgba(101, 57, 24, .22);
}
body.home .reference-home--de .ananda-home-entrypoints__copy strong {
    font-weight: 400;
    line-height: 1.13;
    letter-spacing: -.015em;
}
body.home #site-content.reference-home--de > .ananda-training-bridge {
    position: relative;
    margin-bottom: clamp(38px, 5vw, 68px);
    background: transparent;
    border: 0;
    box-shadow: none;
}
body.home .reference-home--de .ananda-training-bridge__link {
    color: var(--ananda-v67-ink);
}
body.home .reference-home--de .ananda-training-bridge__eyebrow {
    color: #73513a;
}
body.home .reference-home--de .ananda-training-bridge__copy {
    gap: 12px;
}
body.home .reference-home--de .ananda-training-bridge h2 {
    color: var(--ananda-v67-heading) !important;
    line-height: 1.12;
}
body.home .reference-home--de .ananda-training-bridge__text {
    color: #563e2c;
    line-height: 1.7;
}
body.home .reference-home--de .ananda-training-bridge__subtitle {
    color: #67442e;
}
body.home .reference-home--de .ananda-training-bridge__more {
    color: #7e3e24;
    border-color: #946645;
}
@media (max-width: 700px) {
    body.home #site-content.reference-home--de > .ref-welcome {
        padding-top: 16px;
        padding-bottom: 24px;
    }
    body.home #site-content.reference-home--de > .ananda-training-bridge {
        width: calc(100% - 28px);
        margin-top: 10px;
    }
    body.home .reference-home--de .ananda-training-bridge__copy {
        padding: 8px 8px 20px;
    }
}

/* R03 V67 – blend the experience photo and the existing dynamic highlights. */
body.home .reference-home--de .ananda-training-bridge__photo {
    -webkit-mask-image: radial-gradient(ellipse 56% 65% at 50% 50%, #000 38%, rgba(0,0,0,.88) 62%, transparent 100%);
    mask-image: radial-gradient(ellipse 56% 65% at 50% 50%, #000 38%, rgba(0,0,0,.88) 62%, transparent 100%);
}
body.home #site-content.reference-home--de .ananda-homepage-managed__section--highlight {
    background: linear-gradient(180deg, transparent, rgba(255,238,197,.44) 18%, rgba(255,238,197,.3) 82%, transparent);
    padding-block: clamp(24px, 4vw, 48px);
    margin-block: 0;
}
body.home #site-content.reference-home--de .ananda-homepage-highlight-gallery > h2 {
    color: #854627;
    font: italic 400 clamp(30px, 3.4vw, 42px)/1.16 Georgia, "Times New Roman", serif;
    letter-spacing: -.02em;
    margin-bottom: 26px;
}
body.home #site-content.reference-home--de .ananda-highlight-card {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #563722;
}
body.home #site-content.reference-home--de .ananda-highlight-card__image {
    overflow: hidden;
    border-radius: 22px;
}
body.home #site-content.reference-home--de .ananda-highlight-card .ananda-desktop-home-feed__card-copy {
    background: transparent;
    padding: 18px 4px 22px;
}
body.home #site-content.reference-home--de .ananda-highlight-card .ananda-home-gallery-title {
    color: #854627;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    line-height: 1.2;
}
body.home #site-content.reference-home--de .ananda-highlight-card:focus-visible {
    outline: 3px solid #854627;
    outline-offset: 5px;
}
@media (prefers-reduced-motion: reduce) {
    body.home #site-content.reference-home--de .ananda-highlight-card {
        transition: none;
    }
}

/* R04 V67 – one continuous landscape around the native homepage sections. */
body.home #site-content.reference-home--de .ananda-homepage-managed > .ananda-homepage-managed__section:not(.ananda-homepage-managed__section--highlight) {
    background: radial-gradient(ellipse 90% 70% at 12% 45%, rgba(255, 235, 191, .22), transparent 75%);
    margin-block: 0;
}
body.home #site-content.reference-home--de .ananda-homepage-managed__desktop > .ananda-desktop-home-feed__section,
body.home #site-content.reference-home--de .ananda-homepage-managed__mobile > .ananda-mobile-home-feed__section {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}
body.home #site-content.reference-home--de .ananda-desktop-home-feed__section-head h3,
body.home #site-content.reference-home--de .ananda-mobile-home-feed__intro h2,
body.home #site-content.reference-home--de .ananda-homepage-moments__header h2 {
    color: #854627;
    font: italic 400 clamp(32px, 4vw, 44px)/1.16 Georgia, "Times New Roman", serif;
    letter-spacing: -.025em;
    text-wrap: balance;
}
body.home #site-content.reference-home--de .ananda-desktop-home-feed__section-head,
body.home #site-content.reference-home--de .ananda-mobile-home-feed__intro {
    color: #563722;
}
@media (max-width: 700px) {
    body.home #site-content.reference-home--de .ananda-mobile-home-feed__intro h2 {
        max-width: 19ch;
        font-size: clamp(32px, 9vw, 39px);
        line-height: 1.15;
    }
}

/* R05 V67 – photos and native captions share the warm page, without white boxes. */
body.home #site-content.reference-home--de .ananda-homepage-managed :is(.ananda-desktop-home-feed__rail, .ananda-mobile-home-feed__rail) > :is(.ananda-desktop-home-feed__card, .ananda-mobile-home-feed__card, .ananda-home-teacher-card),
body.home #site-content.reference-home--de .ananda-homepage-managed .ananda-home-teacher-card > .ananda-home-select-card {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    color: #563722;
}
body.home #site-content.reference-home--de .ananda-homepage-managed .ananda-home-select-card {
    display: flex;
    flex-direction: column;
    text-align: left;
}
body.home #site-content.reference-home--de .ananda-homepage-managed :is(.ananda-desktop-home-feed__card, .ananda-mobile-home-feed__card) > :is(.ananda-desktop-home-feed__media, .ananda-mobile-home-feed__media) {
    order: -1;
    overflow: hidden;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(180, 130, 73, .18), rgba(250, 226, 179, .4));
}
body.home #site-content.reference-home--de .ananda-homepage-managed :is(.ananda-desktop-home-feed__card, .ananda-mobile-home-feed__card) > .ananda-home-gallery-title {
    min-height: 0;
    padding: 18px 4px 8px;
    color: #854627;
    font: 400 clamp(23px, 2.2vw, 27px)/1.18 Georgia, "Times New Roman", serif;
    letter-spacing: -.015em;
    text-wrap: balance;
}
body.home #site-content.reference-home--de .ananda-homepage-managed :is(.ananda-desktop-home-feed__card, .ananda-mobile-home-feed__card) > :is(.ananda-desktop-home-feed__card-copy, .ananda-mobile-home-feed__copy) {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 4px 22px;
    color: #563e2c;
    background: transparent;
    line-height: 1.6;
}
body.home #site-content.reference-home--de .ananda-homepage-managed .ananda-teacher-card-actions {
    border-top: 1px solid rgba(133, 70, 39, .18);
    padding: 14px 4px 18px;
}
body.home #site-content.reference-home--de .ananda-homepage-managed :is(.ananda-desktop-home-feed__card, .ananda-mobile-home-feed__card):focus-visible {
    outline: 3px solid #854627;
    outline-offset: 4px;
}
@media (prefers-reduced-motion: reduce) {
    body.home #site-content.reference-home--de .ananda-homepage-managed :is(.ananda-desktop-home-feed__card, .ananda-mobile-home-feed__card) {
        transition: none;
        transform: none;
    }
}

/* R06 V67 – the desktop travel notice scrolls with the hero, clear of gallery controls. */
@media (min-width: 1024px) {
    body.home .ananda-fixed-rail {
        position: absolute;
        inset: 0 0 auto auto;
    }
    body.home .ananda-fixed-rail > .ananda-event-floater {
        position: absolute;
        top: clamp(116px, 14vw, 180px);
        right: max(70px, calc(var(--ananda-layout-inset, 24px) + 32px));
        bottom: auto;
        left: auto;
    }
    body.home .ananda-fixed-rail > .ananda-social-stack {
        position: fixed;
        right: max(4px, calc(var(--ananda-layout-inset, 24px) - 50px));
        bottom: max(8px, env(safe-area-inset-bottom));
    }
}

/* R07 V67 – a warm header and outer canvas around the existing homepage. */
body.home {
    background: #efcf95;
}
body.home #site-header.reference-header {
    background: linear-gradient(110deg, #fff0ce, #f6dca8);
    border-bottom: 1px solid rgba(133, 70, 39, .12);
    box-shadow: 0 4px 18px rgba(119, 55, 24, .06);
}
body.home #site-header .reference-logo__image {
    mix-blend-mode: multiply;
}
body.home #site-header .reference-nav__list > li > a {
    color: #724026;
}

/* R08 V67 – keyboard focus stays clearly visible against the gold canvas. */
body.home #site-content.reference-home--de .ananda-home-entrypoints__card:focus-visible,
body.home #site-content.reference-home--de .ananda-training-bridge__link:focus-visible {
    outline: 3px solid #753a26;
    outline-offset: 4px;
    box-shadow: 0 0 0 7px rgba(255, 244, 218, .9);
    transition: none;
}

/* R09 V67 – the native history gallery sits in the warm landscape, without a white box. */
body.home #site-content.reference-home--de .ananda-homepage-history.ref-room {
    padding-block: clamp(28px, 4vw, 48px);
}
body.home #site-content.reference-home--de .ananda-homepage-history .room-carousel {
    padding-block: 24px;
}
body.home #site-content.reference-home--de .ananda-homepage-history :is(.room-carousel__viewport, .room-carousel__slide) {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
body.home #site-content.reference-home--de .ananda-homepage-history .room-carousel__track {
    align-items: flex-start;
}
body.home #site-content.reference-home--de .ananda-homepage-history.ref-room .room-carousel__slide > img {
    height: clamp(220px, 45vw, 480px);
    min-height: 0;
    max-height: none;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(180, 130, 73, .18), rgba(250, 226, 179, .4));
    box-shadow: none;
}
body.home #site-content.reference-home--de .ananda-homepage-history .room-carousel__caption {
    color: #563e2c;
    line-height: 1.6;
    background: transparent;
}
body.home #site-content.reference-home--de .ananda-homepage-history .room-carousel__caption strong {
    color: #854627;
    font: 400 clamp(20px, 2.2vw, 26px)/1.2 Georgia, "Times New Roman", serif;
}
body.home #site-content.reference-home--de .ananda-homepage-history .room-carousel__nav {
    top: clamp(110px, 22.5vw, 240px);
    bottom: auto;
    transform: translateY(-50%);
}
body.home #site-content.reference-home--de .ananda-homepage-history .room-carousel__button {
    background: #854627;
    color: #fff8e9;
    border-color: #fff0ce;
}
body.home #site-content.reference-home--de .ananda-homepage-history :is(.room-carousel__button, .room-carousel__dot, .room-carousel__track):focus-visible {
    outline: 3px solid #753a26;
    outline-offset: 4px;
}
@media (prefers-reduced-motion: reduce) {
    body.home #site-content.reference-home--de .ananda-homepage-history .room-carousel__button {
        transition: none;
        transform: none;
    }
}

/* R10 V67 – the existing everyday photos and videos become part of the warm page. */
body.home #site-content.reference-home--de .ananda-homepage-moments {
    padding-block: clamp(32px, 4vw, 56px);
    color: #563722;
}
body.home #site-content.reference-home--de .ananda-homepage-moments__inner {
    width: min(1120px, calc(100% - 40px));
}
body.home #site-content.reference-home--de .ananda-homepage-moments__intro {
    margin-bottom: clamp(24px, 3vw, 32px);
}
body.home #site-content.reference-home--de .ananda-homepage-moments__eyebrow {
    color: #854627;
    font-size: 11px;
    letter-spacing: .16em;
}
body.home #site-content.reference-home--de .ananda-homepage-moments__intro h2 {
    color: #854627;
    font: italic 400 clamp(32px, 4vw, 44px)/1.16 Georgia, "Times New Roman", serif;
    letter-spacing: -.025em;
}
body.home #site-content.reference-home--de .ananda-homepage-moments__group {
    margin-bottom: clamp(32px, 4vw, 52px);
}
body.home #site-content.reference-home--de .ananda-homepage-moments__group:last-child {
    margin-bottom: 0;
}
body.home #site-content.reference-home--de .ananda-homepage-moments__group-header {
    gap: 24px;
    margin-bottom: 20px;
    padding-top: 0;
    border: 0;
}
body.home #site-content.reference-home--de .ananda-homepage-moments__group-header h3 {
    color: #854627;
    font: 400 clamp(26px, 2.8vw, 34px)/1.18 Georgia, "Times New Roman", serif;
}
body.home #site-content.reference-home--de .ananda-homepage-moments__group-description {
    color: #563e2c;
    line-height: 1.6;
}
body.home #site-content.reference-home--de .ananda-homepage-moments__item {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}
body.home #site-content.reference-home--de .ananda-homepage-moments__item > .ananda-homepage-moments__media {
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(180, 130, 73, .18), rgba(250, 226, 179, .4));
}
body.home #site-content.reference-home--de .ananda-homepage-moments__media > video {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    background: #382719;
}
body.home #site-content.reference-home--de .ananda-homepage-moments__item figcaption {
    padding: 14px 4px 18px;
    color: #563e2c;
    line-height: 1.55;
}
@media (max-width: 700px) {
    body.home #site-content.reference-home--de .ananda-homepage-moments__inner {
        width: calc(100% - 32px);
    }
    body.home #site-content.reference-home--de .ananda-homepage-moments__group-header {
        gap: 8px;
    }
}

/* R11 V67 – a flowing close, with the existing contact form kept fully native. */
body.home #site-content.reference-home--de > .ref-quote--home-compact.wp-block-quote {
    margin: 0;
    padding: clamp(28px, 4vw, 48px) 20px;
    border: 0;
    background: linear-gradient(180deg, transparent, rgba(255, 238, 197, .25) 50%, transparent);
    color: #854627;
}
body.home #site-content.reference-home--de > .ref-quote--home-compact.wp-block-quote p {
    max-width: 38ch;
    margin: 0 auto 14px;
    color: #854627;
    font: italic 400 clamp(23px, 2.8vw, 32px)/1.35 Georgia, "Times New Roman", serif;
}
body.home #site-content.reference-home--de > .ref-quote--home-compact.wp-block-quote cite {
    color: #67442e;
    font: 600 11px/1.5 system-ui, sans-serif;
    letter-spacing: .12em;
}
body.home #site-content.reference-home--de > .ref-contact {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    margin: 0;
    padding: clamp(32px, 4vw, 56px) clamp(20px, 4.5vw, 60px);
    background: radial-gradient(ellipse at 85% 50%, rgba(255, 242, 212, .45), transparent 75%);
    color: #563722;
}
body.home #site-content.reference-home--de .ref-contact :is(.ref-contact__details, .ref-contact__form) {
    min-width: 0;
    margin-block: 0;
}
body.home #site-content.reference-home--de .ref-contact__details h2 {
    color: #854627;
    font: italic 400 clamp(32px, 4vw, 44px)/1.16 Georgia, "Times New Roman", serif;
    letter-spacing: -.025em;
}
body.home #site-content.reference-home--de .ref-contact__details p {
    color: #563722;
    line-height: 1.65;
}
body.home #site-content.reference-home--de .ref-contact .ref-contact__form {
    grid-template-columns: minmax(0, 1fr);
    color: #563722;
}
body.home #site-content.reference-home--de .ref-contact__form :is(input[type="text"]:not([name="website"]), input[type="email"], select, textarea) {
    min-width: 0;
    max-width: 100%;
    color: #563722;
    background: #fff4dc;
    border: 1px solid #9b704a;
    border-radius: 12px;
}
body.home #site-content.reference-home--de .ref-contact__form :is(input[type="text"]:not([name="website"]), input[type="email"], select, textarea):focus-visible {
    outline: 3px solid #753a26;
    outline-offset: 2px;
}
body.home #site-content.reference-home--de .ref-contact__form button {
    min-height: 44px;
    border-radius: 999px;
    background: #9f4b2b;
    color: #fff8e9;
}
body.home #site-content.reference-home--de .ref-contact__form button:focus-visible {
    outline: 3px solid #753a26;
    outline-offset: 4px;
}
@media (min-width: 900px) {
    body.home #site-content.reference-home--de > .ref-contact:has(> .ref-contact__details) {
        grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
        align-items: start;
        gap: clamp(28px, 4vw, 56px);
    }
    body.home #site-content.reference-home--de .ref-contact .ref-contact__form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    body.home #site-content.reference-home--de .ref-contact__form :is(label:has(input[name="name"]), label:has(input[name="email"])) {
        grid-column: auto;
    }
}
body.home #site-footer.reference-footer {
    color: #563722;
    background: #e4c487;
    border-top: 1px solid rgba(133, 70, 39, .14);
}
body.home #site-footer.reference-footer :is(a, strong, span) {
    color: #563722;
}
body.home #site-footer.reference-footer .reference-footer__copy {
    color: #67442e;
    opacity: 1;
}
body.home #site-footer.reference-footer a:focus-visible {
    outline: 3px solid #753a26;
    outline-offset: 4px;
}

/* R12 V67 – the mobile feed wrapper must not cover the continuous gold canvas. */
@media (max-width: 700px) {
    body.home #site-content.reference-home--de > .ananda-homepage-managed {
        background: transparent;
    }
}

/* R13 V67 – keep the native experience bridge in the mobile document flow.
 * The legacy mobile whitelist predates this backend-fed section.
 */
@media (max-width: 700px) {
    body.home #site-content.reference-home--de > .ananda-training-bridge {
        display: block;
    }
}

/* R14 V67 – wrap the native history selectors instead of clipping 21 dots.
 * Keep the small visual markers with a larger, separated hit area.
 */
@media (max-width: 900px) {
    body.home #site-content.reference-home--de .ananda-homepage-history .room-carousel__footer {
        flex-direction: column;
        gap: 12px;
    }
    body.home #site-content.reference-home--de .ananda-homepage-history .room-carousel__dots {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 4px;
        min-width: 0;
        max-width: 100%;
    }
    body.home #site-content.reference-home--de .ananda-homepage-history .room-carousel__dot {
        flex: 0 0 24px;
        width: 24px;
        height: 24px;
        box-sizing: border-box;
        border: 6px solid transparent;
        background-clip: padding-box;
    }
}

/* R15 V67 – one section rhythm instead of nested highlight spacers.
 * Preserve the warm outer transition and every native highlight.
 */
body.home #site-content.reference-home--de .ananda-homepage-managed__section--highlight > .ananda-homepage-highlight-gallery {
    margin-block: 0;
    padding-block: 0;
}
body.home #site-content.reference-home--de .ananda-homepage-highlight-gallery > h2 {
    margin-top: 0;
}

/* R16 V67 – active history captions determine the height where supported.
 * Native scroll snapping identifies the slide; unsupported browsers retain
 * all existing captions and their original layout. No controller replacement.
 */
@media screen {
    @supports (container-type: scroll-state) {
        body.home #site-content.reference-home--de .ananda-homepage-history .room-carousel__slide {
            container-type: scroll-state;
            container-name: ananda-history-slide;
        }
        @container ananda-history-slide not scroll-state(snapped: inline) {
            body.home #site-content.reference-home--de .ananda-homepage-history .room-carousel__caption {
                display: none;
            }
        }
    }
}

/* R17 V67 – mobile captions no longer reserve space for photo arrows. */
@media (max-width: 700px) {
    body.home #site-content.reference-home--de .ananda-homepage-history .room-carousel__caption {
        padding-inline: 16px;
    }
}

/* R18 V67 – readable native history controls on the warm gold canvas. */
body.home #site-content.reference-home--de .ananda-homepage-history .room-carousel__hint {
    color: #67442e;
}
body.home #site-content.reference-home--de .ananda-homepage-history .room-carousel__dot {
    background-color: transparent;
    box-shadow: inset 0 0 0 1px #854627;
}
body.home #site-content.reference-home--de .ananda-homepage-history .room-carousel__dot:is(.is-active, [aria-selected="true"]) {
    background-color: #854627;
    box-shadow: none;
}

/* R19 V67 – the four native entry titles retain the reference's mobile scale.
 * Minimum heights allow longer WordPress labels to grow without clipping.
 */
@media (max-width: 700px) {
    body.home .reference-home--de .ananda-home-entrypoints__card {
        min-height: 186px;
        padding: 12px 12px 14px;
        border-radius: 22px;
    }
    body.home .reference-home--de .ananda-home-entrypoints__copy strong {
        font-size: 22px;
        line-height: 1.08;
        overflow-wrap: anywhere;
        hyphens: auto;
    }
}
@media (max-width: 380px) {
    body.home .reference-home--de .ananda-home-entrypoints__card {
        min-height: 171px;
    }
    body.home .reference-home--de .ananda-home-entrypoints__copy strong {
        font-size: 20px;
    }
}

/* R20 V67 – welcome typography; the wording remains the native page content. */
@media (max-width: 700px) {
    body.home #site-content.reference-home--de > .ref-welcome h1 {
        margin: 4px auto 6px;
        font: italic 400 38px/1.04 Georgia, "Times New Roman", serif;
        letter-spacing: normal;
        color: #753a26;
    }
}
@media (max-width: 340px) {
    body.home #site-content.reference-home--de > .ref-welcome h1 {
        font-size: 34px;
    }
}

/* R22 V67 – retain readable native label breaks above the mobile breakpoint. */
@media (min-width: 701px) {
    body.home .reference-home--de .ananda-home-entrypoints__copy strong {
        overflow-wrap: anywhere;
        hyphens: auto;
    }
}


/* V67 follow-up 2026-10-31: original welcome copy, editable in page 76.
 * Complement existing heading/card styles without changing native data or media.
 */
body.home #site-content.reference-home--de > .ref-welcome .ref-welcome__eyebrow {
    margin: 0 auto 6px;
    padding: 0 8px;
    color: #8d4d2a;
    text-align: center;
    font: 800 11px/1.45 system-ui, sans-serif;
    letter-spacing: .16em;
    text-wrap: balance;
}
body.home #site-content.reference-home--de > .ref-welcome .ref-welcome__intro {
    width: min(390px, 100%);
    margin: 8px auto 14px;
    padding: 0 8px;
    color: #563722;
    text-align: center;
    font: 400 14px/1.5 system-ui, sans-serif;
    text-wrap: pretty;
}
@media (max-width: 700px) {
    body.home #site-content.reference-home--de > .ref-welcome .ref-welcome__eyebrow {
        font-size: 10px;
        letter-spacing: .13em;
    }
    body.home #site-content.reference-home--de > .ref-welcome .ref-welcome__intro {
        font-size: 14px;
        line-height: 1.52;
    }
}
