/* Branding adapter. Layouts, components and animation rules remain Yogana. */
:root {
  --theme-color1: #93aa46;
  --theme-color1-dark: #657a28;
  --theme-color1-rgb: 147, 170, 70;
  --theme-color2: #21372c;
  --theme-color2-rgb: 33, 55, 44;
  --theme-color4: #243c2f;
  --theme-color4-rgb: 36, 60, 47;
  --theme-color5: #f7f8f1;
  --theme-light-background: #f7f8f1;
  --dsgvo-accent: #657a28;
  --dsgvo-accent-dark: #46571a;
}
/* Yogana index-2: adapt the original header and static banner to Einklang media. */
.main-header.header-style-five:not(.header-style-five--home) > .outer-box { background: var(--theme-color5); }
.main-header.header-style-five .mobile-nav-toggler { width: 44px; height: 44px; margin-inline: 0; }
.main-header.header-style-five .btn-style-transparent:not(:hover) { color: var(--theme-color1-dark); border-color: currentColor; }
.banner-section-five { overflow: hidden; }
.banner-section-five .content-column .title a.einklang-hero-badge { overflow: hidden; background-image: none; vertical-align: middle; }
.banner-section-five .einklang-hero-badge img { display: block; width: 100%; height: 100%; object-fit: cover; }
.banner-section-five .image-column .image-box .image { margin-right: 0; }
.banner-section-five .image-column .image-box .image > .fadeInUpBig { display: flex; justify-content: flex-end; }
.banner-section-five .image-column .image-box .image .einklang-hero-circle { position: relative; inset: auto; flex: none; width: clamp(440px, calc(42vw + 55px), 694px); height: auto; aspect-ratio: 1; overflow: hidden; }
@media (min-width: 1600px) {
  .banner-section-five .image-column .image-box .image { margin-right: -48px; }
}
.banner-section-five .image-column .image-box .image img.einklang-hero-photo { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 33%; }
.banner-section-five .content-column .text br { display: initial; }
@media (max-width: 767.98px) {
  .banner-section-five .content-column { padding-top: 55px; }
  .banner-section-five .content-column .title { font-size: clamp(2.9rem, 13vw, 3.75rem); }
  .banner-section-five .content-column .title a.einklang-hero-badge { position: static; width: 88px; height: 43px; }
}
@media (prefers-reduced-motion: reduce) {
  .banner-section-five .wow, .banner-section-five .anim-icons img, .banner-section-five .round-shape { animation: none !important; visibility: visible !important; }
}
/* Preserve the header height while fitting the horizontal wordmark. */
.main-header .logo img { width: 146px; height: 93px; object-fit: contain; }
.main-header .sticky-header .logo img { width: 115px; height: 40px; }
.main-header .nav-logo img { width: 115px; height: 40px; object-fit: contain; }
.main-footer .logo img { width: 190px; height: auto; object-fit: contain; }

/* Keep the two original index-3 image-slot proportions with the CMS portraits. */
.einklang-about-teaser .content-column .image-box figure.image { aspect-ratio: 290 / 364; }
.einklang-about-teaser .image-column .image-box figure.image { aspect-ratio: 502 / 577; }
.einklang-about-teaser .image-box figure.image > img { display: block; object-fit: cover; object-position: center 32%; }
/* Welcome: preserve Yogana's circular placeholders with any CMS image aspect ratio. */
.about-section-nine .image-column .inner-column .image-box .image-one { height: auto; aspect-ratio: 1; }
.about-section-nine .image-column .inner-column .image-box :is(.image-one, .image-two) > img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 41%; border-radius: 50%; }
/* Gallery thumbnails retain the purchased source slots; lightboxes keep full originals. */
.gallery-section .image-box .image > a { display: block; width: 100%; height: 100%; }
.gallery-section .image-box .image a img { height: 100%; object-fit: cover; object-position: center 30%; }
/* Preserve the single Yogana menu row with the longer Einklang labels. */
.header-style-five .header-lower .main-menu .navigation { display: flex; flex-wrap: nowrap; }
.header-style-five .header-lower .main-menu .navigation > li { flex: none; margin-right: min(60px, max(22px, calc(8vw - 75px))); }
.header-style-five .header-lower .main-menu .navigation > li:last-child { margin-right: 0; }
.header-style-five .header-lower .main-menu .navigation > li > a { white-space: nowrap; }
.main-header .main-menu .navigation > li > ul { width: 290px; }
/* Keep Yogana's icon motion; switch to white line art on card hover. */
.service-block13 .inner-box .thumb-icon .img-icon { display: block; width: 100%; height: 100%; margin-left: 0; object-fit: contain; }
.service-block13 .inner-box:hover .thumb-icon .img-icon { filter: none; }
.service-block13 .thumb-icon .img-icon--hover { position: absolute; inset: 0; opacity: 0; }
.service-block13 .inner-box:hover .thumb-icon--has-hover .img-icon--default { opacity: 0; }
.service-block13 .inner-box:hover .thumb-icon .img-icon--hover { opacity: 1; }
.service-block13 .service-content .title { overflow-wrap: anywhere; }

.services-details__content > img { width: 100%; max-height: 650px; object-fit: contain; background: var(--theme-color5); }
.content p { margin-bottom: 1.3em; }
.blog-block .content-box .post-meta--on-request { margin-left: 22px; }
.blog-block .content-box .post-meta--on-request li { font-size: 18px; white-space: nowrap; }
.blog-block .content-box .post-meta--on-request .categories::before { width: 16px; left: -22px; bottom: 50%; }
.blog-block .content-box .post-meta--on-request .date { margin-left: 18px; }
.blog-block .content-box .post-meta--on-request .date::before { left: -10px; bottom: calc(50% - 1px); }
.sidebar__category.einklang-event-info { padding: clamp(22px, 3vw, 34px); color: var(--theme-color2); }
.sidebar__category.einklang-event-info .sidebar__title { padding-left: 0; margin-bottom: 18px; font-size: 28px; }
.einklang-event-info__facts { margin: 0; }
.einklang-event-info__row { padding-block: 12px; border-top: 1px solid rgba(var(--theme-color1-rgb), .32); }
.einklang-event-info__row dt { display: flex; align-items: center; gap: 10px; }
.einklang-event-info__row dt i { width: 18px; color: var(--theme-color1-dark); text-align: center; }
.einklang-event-info__row dd { margin: 2px 0 0 28px; line-height: 1.55; overflow-wrap: anywhere; }
.einklang-event-info__action { margin-top: 14px; max-width: 100%; white-space: normal; text-align: center; }
.einklang-event-copy { max-width: 72ch; }
.einklang-event-copy h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.2; margin-bottom: .5em; overflow-wrap: anywhere; }
.einklang-event-copy h2:not(:first-child) { margin-top: 1em; }
.content.einklang-event-copy p { line-height: 1.7; margin-bottom: 1em; }
.einklang-event-copy ul { margin: 0 0 1.25em; padding-inline-start: 1.4em; list-style: disc; }
.einklang-event-copy ul li { list-style: disc; }
.einklang-event-copy strong { font-weight: 700; }
.einklang-event-copy a { color: var(--theme-color1-dark); text-decoration: underline; overflow-wrap: anywhere; }
@media (max-width: 991.98px) {
  .einklang-event-info { margin-bottom: 24px; }
}
/* Use the service-detail reference's h3 typography without changing heading levels. */
.services-details__content h2 {
  font-size: var(--h3-font-size);
  font-weight: var(--h3-font-weight);
  line-height: var(--line-height-heading);
  overflow-wrap: anywhere;
}
.services-details__content .content h2 { margin-top: 40px; }
.services-details__content .content p { margin-bottom: 20px; }
.services-details__content :is(.content, .einklang-service-kicker) strong,
.einklang-rooms .sec-title .text strong,
.about-section-nine .sec-title .text strong,
.about-section-eight .content-box .text strong,
.banner-section-five .content-column .text strong { font-weight: 700; color: inherit; }
.about-section-nine .sec-title h2 { overflow-wrap: anywhere; }
.contact-details .dsgvo-embed { min-height: 520px; height: 520px; }
.main-footer .dsgvo-settings-link { color: #fff; text-decoration: underline; }

/* Einklang palette for the consent banner and settings dialog only. */
#dsgvo-consent-root {
  --dsgvo-soft: #f3f6e8;
  --dsgvo-border: #c6d19e;
}
#dsgvo-consent-root :is(.dsgvo-button--primary, .dsgvo-button--secondary) {
  background: var(--theme-color1);
  border-color: var(--theme-color1-dark);
  color: #1c2410;
}
#dsgvo-consent-root .dsgvo-switch span { background: #dce2cc; }
#dsgvo-consent-root .dsgvo-switch input:checked + span {
  background: var(--theme-color1);
  box-shadow: inset 0 0 0 1px var(--theme-color1-dark);
}
.main-footer .contact-info a { overflow-wrap: anywhere; }
/* The source's legal/time-table column has no 109px links-column offset. */
.main-footer .footer-column:nth-child(3) .links-widget { left: 0; }
.page-title .breadcrumb { justify-content: center; }
/* Give the book its own stage using the site's palette and botanical motif. */
.freigeist-book { background: #f1ede2; padding-block: clamp(48px, 6vw, 106px); scroll-margin-top: 88px; }
.freigeist-book__layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: clamp(38px, 6vw, 104px); }
.freigeist-book__stage { display: grid; place-items: center; margin: 0; padding-inline: clamp(30px, 4.5vw, 76px); }
.freigeist-book__stage > img { display: block; width: min(100%, 310px); height: auto; box-shadow: 10px 16px 28px rgb(0 0 0 / .32); }
.freigeist-book__copy { min-width: 0; }
.freigeist-book__copy .sec-title h2 { color: var(--theme-color2); font-size: clamp(2.3rem, 4.1vw, 4.4rem); line-height: 1.06; text-wrap: balance; overflow-wrap: anywhere; }
.freigeist-book__text { margin-top: 22px; max-width: 65ch; color: var(--theme-color2); }
.freigeist-book__text > :last-child { margin-bottom: 0; }
/* Index-5 contact layout: replace the form with the existing room photos. */
.einklang-rooms { scroll-margin-top: 88px; }
.einklang-rooms.contact-section-two .content-column .inner-column { padding-top: clamp(64px, 10vw, 180px); }
.einklang-rooms .einklang-rooms__gallery { display: grid; gap: 18px; padding-top: clamp(28px, 8vw, 120px); }
.einklang-rooms__gallery .image { overflow: hidden; border-radius: 16px; }
.einklang-rooms__gallery img { display: block; width: 100%; height: auto; }
.einklang-rooms__cta { margin-top: 16px; }
.einklang-rooms .accordion-box summary { display: block; list-style: none; cursor: pointer; }
.einklang-rooms .accordion-box summary::-webkit-details-marker { display: none; }
/* The native summary owns clicks; the vendor acc-btn span only supplies styling. */
.einklang-rooms .accordion-box summary .acc-btn { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-right: 0; pointer-events: none; }
.einklang-rooms .accordion-box.style-three .block .acc-btn .arrow { position: static; flex: none; line-height: 1; }
.einklang-rooms .accordion-box details[open] summary .arrow { transform: rotate(90deg); }
.einklang-rooms .accordion-box .acc-content .content { padding-top: 0; }
.einklang-rooms .accordion-box .acc-content p + p { margin-top: 10px; }
.main-footer.footer-style-two .footer-bottom .inner-container { background-color: transparent; justify-content: center; }
.main-footer.footer-style-two .footer-bottom .copyright { width: 100%; text-align: center; color: var(--theme-color-light); }
.main-footer.footer-style-two .footer-bottom .copyright a { color: inherit; text-decoration: underline; text-underline-offset: .15em; }
.main-footer.footer-style-two .footer-bottom .copyright a:hover { color: var(--theme-color1); }
@media (max-width: 991.98px) {
  .einklang-rooms .einklang-rooms__gallery { padding-top: 32px; }
}
@media (max-width: 767.98px) {
  .einklang-rooms.contact-section-two { padding-bottom: 54px; }
}

/* Index-3 team cards with a compact detail action. */
.einklang-scents { scroll-margin-top: 88px; }
.einklang-scents .team-block-four .image-box .image img { display: block; aspect-ratio: 306 / 423; height: auto; object-fit: cover; }
.einklang-scents__image-trigger { position: relative; display: block; width: 100%; padding: 0; background: transparent; cursor: pointer; }
.einklang-scents__image-trigger:focus-visible::after { content: ''; position: absolute; inset: 5px; border: 3px solid #fff; border-radius: 14px; box-shadow: 0 0 0 2px var(--theme-color2); pointer-events: none; }
.einklang-scents .team-block-four .inner-box:hover .image-box .image img { transform: scale(1.04); }
.einklang-scents .team-block-four .image-box::before { background-color: rgb(var(--theme-color1-rgb) / .14); }
.einklang-scents .team-block-four .name { font-size: 24px; line-height: 1.15; }
.einklang-scents .einklang-scents__trigger { margin-top: 10px; padding: 8px 15px; min-height: 36px; font-size: 12px; line-height: 18px; }
.einklang-scents__dialog { position: fixed; inset: 0; margin: auto; width: min(calc(100% - 32px), 920px); max-height: calc(100dvh - 32px); overflow: auto; overscroll-behavior: contain; padding: clamp(22px, 4vw, 44px); border: 0; border-radius: 20px; background: var(--theme-color5); color: var(--theme-color2); }
.einklang-scents__dialog::backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(var(--theme-color4-rgb, 36, 60, 47), .78);
  backdrop-filter: blur(3px);
}
html:has(.einklang-scents__dialog[open]) { overflow: hidden; }
.einklang-scents__dialog-layout { display: grid; grid-template-columns: minmax(0, 250px) minmax(0, 1fr); align-items: start; gap: clamp(22px, 4vw, 44px); }
.einklang-scents__dialog-image { display: block; width: 100%; height: auto; border-radius: 14px; }
.einklang-scents__dialog h3 { margin: 0 32px 0 0; color: var(--theme-color2); }
.einklang-scents__close { position: sticky; z-index: 1; top: 0; display: flex; justify-content: flex-end; height: 0; pointer-events: none; }
.einklang-scents__close button { flex: 0 0 44px; height: 44px; border-radius: 50%; color: var(--theme-color2); background: #f1ede2; font-size: 26px; line-height: 1; pointer-events: auto; }
.einklang-scents .einklang-scents__text { margin-top: 18px; text-align: left; }
.einklang-scents .einklang-scents__text p + p { margin-top: 12px; }
@media (max-width: 639px) {
  .einklang-scents__dialog-layout { grid-template-columns: minmax(0, 1fr); }
  .einklang-scents__dialog-image { width: min(100%, 180px); justify-self: center; }
  .einklang-scents__dialog h3 { margin-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .einklang-scents .wow { animation: none !important; visibility: visible !important; }
  .einklang-scents .team-block-four .image-box::before, .einklang-scents .team-block-four .image-box .image img { transition: none; }
  .einklang-scents .team-block-four .inner-box:hover .image-box .image img { transform: none; }
}
@media (max-width: 767.98px) {
  .freigeist-book__layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .freigeist-book__stage > img { width: min(100%, 228px); }
}
@media (max-width: 767px) {
  .contact-details .dsgvo-embed { min-height: 380px; height: 380px; }
}
/* Keyboard accessibility, not a visual redesign. */
a:focus-visible, button:focus-visible, [role='button']:focus-visible { outline: 3px solid var(--theme-color1) !important; outline-offset: 4px; }

.services-details .sidebar-service-list li a { background-color: rgba(var(--theme-color1-rgb), .14); }
/* Keep the existing title layout and curve; layer the photo below the text. */
.page-title--photo { isolation: isolate; overflow: hidden; margin-top: 105px; }
.page-title--photo .page-title__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.page-title--photo .page-title__photo--portrait { object-position: center 27%; }
.page-title--photo .page-title__photo--upper { object-position: center 15%; }
.page-title--photo .page-title__photo--lower { object-position: center 35%; }
.page-title--photo::before { z-index: 1; opacity: .58; }
.page-title--photo .image-curve { z-index: 2; }
.page-title--photo .auto-container { position: relative; z-index: 3; }
.page-title--photo .title { overflow-wrap: anywhere; text-wrap: balance; }
.einklang-legal .dsgvo-policy { max-width: 900px; margin-inline: auto; padding-bottom: 0; overflow-wrap: anywhere; }
.einklang-legal .dsgvo-policy > h2:first-child,
.einklang-legal #impressum .row h2 { margin-top: 0; }
.einklang-legal .dsgvo-policy a { text-decoration: underline; }
.einklang-legal .einklang-legal-table { overflow-x: auto; }
@media (max-width: 767.98px) {
  .page-title--photo .title { font-size: clamp(2.25rem, 8vw, 3.5rem); }
}
