/* Candidate semantic palette; existing contrast mode owns its own values. */
html:not(.dw-contrast) body.dueseweb-modern.dw-riviera {
  --rv-ground: #fff7e9;
  --rv-card: #fffaf2;
  --rv-sand: #f2e3c7;
  --rv-apricot: #f7ead8;
  --rv-line: #d5c5aa;
  --rv-line-strong: #56777a;
  --rv-ink: #173e42;
  --rv-meta: #365954;
  --rv-rust: #173e42;
  --rv-copper: #9c3d24;
  --rv-copper-hover: #7f2e1b;
  --rv-sea: #24585a;
  --rv-sea-tint: #e2eee7;
  --rv-sea-edge: #56777a;
  --rv-green: #306d4a;
  --rv-amber: #a96113;
  --rv-red: #9c2a1e;
  --rv-shadow: 0 10px 26px rgba(23, 62, 66, .10);
  --rv-shadow-lg: 0 14px 34px rgba(23, 62, 66, .14);
}

/* Keep the main action visually distinct from the menu, and bring the home
   content closer to the existing help control on desktop. */
@media (min-width: 960px) {
  html:not(.dw-contrast) body.home.dueseweb-modern.dw-riviera.dw-sonnenkueste:not(.page-id-112):not(.dw-coastal-preview) #main {
    margin-top: 20px !important;
  }
  html:not(.dw-contrast) body.dueseweb-modern.dw-riviera #dw-nav-toggle {
    background: var(--rv-ink) !important;
    color: #fff !important;
  }
  html:not(.dw-contrast) body.dueseweb-modern.dw-riviera #dw-nav-toggle .dw-nav-tooltip {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
  }
}

/* The drawer and toggle otherwise share a stacking level on desktop, leaving
   the toggle underneath the open drawer. Keep its close action available. */
html body.dueseweb-modern.dw-riviera.dw-nav-open #dw-nav-toggle {
  z-index: 1002 !important;
}
html:not(.dw-contrast) body.dueseweb-modern.dw-riviera.dw-nav-open #dw-nav-toggle::after {
  content: '×' !important;
}
@media (min-width: 960px) {
  html:not(.dw-contrast) body.dueseweb-modern.dw-riviera.dw-nav-open #dw-nav-toggle {
    width: 134px !important;
  }
  html:not(.dw-contrast) body.dueseweb-modern.dw-riviera.dw-nav-open #dw-nav-toggle .dw-nav-tooltip {
    font-size: 0 !important;
  }
  html:not(.dw-contrast) body.dueseweb-modern.dw-riviera.dw-nav-open #dw-nav-toggle .dw-nav-tooltip::after {
    content: 'Schließen';
    display: inline !important;
    color: #fff;
    -webkit-text-fill-color: #fff;
    font-size: 18px;
  }
}

/* Generic generated scenery is an optional, silent, user-started visual at the
   end of the homepage. It is never used as a centre or destination photo. */
html body.home.dueseweb-modern.dw-riviera .dw-goldene-mood {
  box-sizing: border-box;
  width: min(100% - 48px, 1200px);
  margin: 32px auto;
  padding: 12px;
  border: 1px solid var(--rv-line);
  border-radius: 20px;
  background: var(--rv-card);
  color: var(--rv-ink);
}
html body.home.dueseweb-modern.dw-riviera .dw-goldene-mood video {
  display: block;
  width: 100%;
  max-height: 420px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  background: var(--rv-sand);
}
html body.home.dueseweb-modern.dw-riviera .dw-goldene-mood figcaption {
  padding: 10px 4px 2px;
  font: 400 16px/1.45 'Atkinson Hyperlegible', sans-serif;
  color: var(--rv-ink);
}
html body.home.dueseweb-modern.dw-riviera .dw-goldene-mood video:focus-visible {
  outline: 3px solid var(--rv-ink);
  outline-offset: 3px;
}
@media (max-width: 599px) {
  html body.home.dueseweb-modern.dw-riviera .dw-goldene-mood {
    width: calc(100% - 24px);
    margin-block: 20px;
    padding: 8px;
  }
}

/* Home: the selected full-width split hero keeps the existing seasonal text,
   actions, phone strip and real-photo rotation. */
html body.home.dueseweb-modern.dw-riviera .dw-goldene-hero-caption {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 3;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(23, 62, 66, .94);
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  font: 400 16px/1.3 'Atkinson Hyperlegible', sans-serif;
}
@media (min-width: 960px) {
  html:not(.dw-contrast) body.home.dueseweb-modern.dw-riviera.dw-sonnenkueste.dw-goldene-controls-inline #main {
    width: 100% !important;
    max-width: none !important;
    margin-top: 0 !important;
    border-radius: 0;
  }
  html:not(.dw-contrast) body.home.dueseweb-modern.dw-riviera.dw-sonnenkueste .dw-home-carousel-as-hero .dw-home-carousel-inner {
    width: 100% !important;
    max-width: none !important;
    grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  }
  html:not(.dw-contrast) body.home.dueseweb-modern.dw-riviera.dw-sonnenkueste .dw-home-carousel-as-hero .dw-home-carousel-header {
    background: var(--rv-ground) !important;
    border-radius: 0;
    padding-inline: clamp(32px, 4.3vw, 64px) !important;
  }
  html:not(.dw-contrast) body.home.dueseweb-modern.dw-riviera.dw-sonnenkueste .dw-ruhe-hero-photo {
    border-radius: 0;
  }
  html:not(.dw-contrast) body.home.dueseweb-modern.dw-riviera.dw-sonnenkueste .dw-ruhe-hero-photo::before {
    background: var(--rv-ground);
  }
  html:not(.dw-contrast) body.home.dueseweb-modern.dw-riviera.dw-sonnenkueste .dw-home-carousel-header .dw-hero-ctas {
    flex-direction: column;
    align-items: flex-start;
    width: min(100%, 405px);
  }
  html:not(.dw-contrast) body.home.dueseweb-modern.dw-riviera.dw-sonnenkueste #main .dw-hero-ctas .dw-cta {
    width: 100%;
    flex: 0 0 auto;
  }
  html body.home.dueseweb-modern.dw-riviera.dw-sonnenkueste .rv-home-help {
    background: #fbe6b2;
    color: var(--rv-ink);
    margin-inline: 24px;
  }
  html body.home.dueseweb-modern.dw-riviera.dw-sonnenkueste #main #dw-reading-controls {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
  }
  html body.home.dueseweb-modern.dw-riviera.dw-sonnenkueste #main #dw-reading-controls .dw-kl-help {
    min-height: 48px;
    height: 48px;
    padding: 0 14px;
    margin: 0;
  }
}

/* The real finder data and map remain live; the generic coastal background
   is confined to the decorative right side of the introduction. */
@media (min-width: 960px) {
  html:not(.dw-contrast) body.dw-coastal-preview.dueseweb-modern.dw-riviera.dw-sonnenkueste > .top {
    position: relative;
    background: linear-gradient(90deg, #fff7e9 0%, #fff7e9 48%, rgba(255,247,233,.96) 58%, rgba(255,247,233,.12) 85%),
      url('/wp-content/css/goldene-riviera/seaside-1440.webp') right center / cover no-repeat !important;
  }
  html:not(.dw-contrast) body.dw-coastal-preview.dueseweb-modern.dw-riviera.dw-sonnenkueste > .top::after {
    content: 'Stimmungsbild';
    position: absolute;
    right: 16px;
    bottom: 8px;
    padding: 4px 8px;
    border-radius: 6px;
    background: rgba(23,62,66,.94);
    color: #fff;
    font: 400 16px/1.3 'Atkinson Hyperlegible', sans-serif;
  }
  html:not(.dw-contrast) body.dw-coastal-preview.dueseweb-modern.dw-riviera.dw-sonnenkueste .search {
    background: var(--rv-sand) !important;
  }
}
html:not(.dw-contrast) body.dw-coastal-preview.dueseweb-modern.dw-riviera.dw-sonnenkueste .toolbar {
  background: var(--rv-sand) !important;
}
html:not(.dw-contrast) body.dw-coastal-preview.dueseweb-modern.dw-riviera :is(button.primary, .booking-action, .chips button[aria-pressed='true']) {
  background: var(--rv-copper) !important;
  border-color: var(--rv-copper) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}
html:not(.dw-contrast) body.dw-coastal-preview.dueseweb-modern.dw-riviera :is(button.primary, .booking-action, .chips button[aria-pressed='true']):is(:hover, :focus-visible) {
  background: var(--rv-copper-hover) !important;
}

/* Wide enquiry: the existing form and help aside share the same row, without
   removing fields or changing the narrow-screen reading order. */
@media (min-width: 1100px) {
  html:not(.dw-contrast) body.dueseweb-modern.dw-riviera.dw-sonnenkueste #main .dw-form-shell:has(> .dw-res-gate) {
    max-width: 1320px !important;
  }
  html:not(.dw-contrast) body.dueseweb-modern.dw-riviera.dw-sonnenkueste #main .dw-res-gate-inner:has(> .dw-med-gate-aside) {
    display: grid !important;
    grid-template-columns: minmax(0, 2fr) minmax(270px, 1fr);
    grid-template-areas: 'heading heading' 'progress progress' 'intro intro' 'help help' 'notice notice' 'form aside';
    gap: 18px 20px !important;
    align-items: start;
  }
  html:not(.dw-contrast) body.dueseweb-modern.dw-riviera.dw-sonnenkueste #main .dw-res-gate-inner > .dw-res-gate-heading { grid-area: heading !important; }
  html:not(.dw-contrast) body.dueseweb-modern.dw-riviera.dw-sonnenkueste #main .dw-res-gate-inner > .dw-sk-enquiry-progress { grid-area: progress !important; }
  html:not(.dw-contrast) body.dueseweb-modern.dw-riviera.dw-sonnenkueste #main .dw-res-gate-inner > .dw-res-gate-sub { grid-area: intro !important; }
  html:not(.dw-contrast) body.dueseweb-modern.dw-riviera.dw-sonnenkueste #main .dw-res-gate-inner > .dw-res-gate-no-email { grid-area: help !important; }
  html:not(.dw-contrast) body.dueseweb-modern.dw-riviera.dw-sonnenkueste #main .dw-res-gate-inner > .dw-res-gate-caveat { grid-area: notice !important; }
  html:not(.dw-contrast) body.dueseweb-modern.dw-riviera.dw-sonnenkueste #main .dw-res-gate-inner > form:not([hidden]) { grid-area: form !important; }
  html:not(.dw-contrast) body.dueseweb-modern.dw-riviera.dw-sonnenkueste #main .dw-res-gate-inner > .dw-med-gate-aside {
    grid-area: aside !important;
    order: 0 !important;
    margin: 0 !important;
  }
  html:not(.dw-contrast) body.dueseweb-modern.dw-riviera.dw-sonnenkueste #main .dw-res-gate-inner h2.dw-res-gate-heading {
    font-size: clamp(38px, 3.8vw, 56px) !important;
    background: linear-gradient(90deg, #fff7e9 0%, #fff7e9 62%, rgba(255,247,233,.88) 77%, rgba(255,247,233,.10) 100%),
      url('/wp-content/css/goldene-riviera/seaside-1440.webp') right center / cover no-repeat !important;
  }
}
html:not(.dw-contrast) body.dueseweb-modern.dw-riviera.dw-sonnenkueste #main ol.dw-sk-enquiry-progress > li[aria-current=step] .dw-sk-step-number {
  background: var(--rv-copper) !important;
  border-color: var(--rv-copper) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

/* Keep the real centre image alongside its title and service information. */
@media (min-width: 1100px) {
  html:not(.dw-contrast):not(.dw-bigger) body.dueseweb-modern.dw-riviera #main .dw-center-leaf:has(> .dw-clinic-hero.has-image):has(> .dw-service-notice) {
    grid-template-rows: auto minmax(260px, auto) auto auto;
  }
  html:not(.dw-contrast):not(.dw-bigger) body.dueseweb-modern.dw-riviera #main .dw-center-leaf:has(> .dw-clinic-hero.has-image):has(> .dw-service-notice)::before {
    content: '';
    grid-column: 1 / -1;
    grid-row: 1;
  }
  html:not(.dw-contrast):not(.dw-bigger) body.dueseweb-modern.dw-riviera #main .dw-center-leaf:has(> .dw-clinic-hero.has-image):has(> .dw-service-notice) > .dw-leaf-crumbs {
    grid-row: 1 !important;
  }
  html:not(.dw-contrast):not(.dw-bigger) body.dueseweb-modern.dw-riviera #main .dw-center-leaf:has(> .dw-clinic-hero.has-image):has(> .dw-service-notice) > .dw-clinic-hero {
    grid-column: 1 / -1 !important;
    grid-row: 2 / 4 !important;
    justify-content: flex-start;
    align-self: stretch;
  }
  html:not(.dw-contrast):not(.dw-bigger) body.dueseweb-modern.dw-riviera #main .dw-center-leaf:has(> .dw-clinic-hero.has-image) > .dw-service-notice {
    grid-column: 1 !important;
    grid-row: 3 !important;
    z-index: 1;
    background: transparent !important;
    border: 0 !important;
    padding: 0 24px 0 0 !important;
    box-shadow: none !important;
  }
  html:not(.dw-contrast):not(.dw-bigger) body.dueseweb-modern.dw-riviera #main .dw-center-leaf:has(> .dw-clinic-hero.has-image) > .dw-service-notice > strong:first-child {
    display: inline-block;
    padding: 7px 14px !important;
    border-radius: 999px;
    background: var(--rv-sand) !important;
    color: var(--rv-ink) !important;
    -webkit-text-fill-color: var(--rv-ink) !important;
  }
  html:not(.dw-contrast):not(.dw-bigger) body.dueseweb-modern.dw-riviera #main .dw-center-leaf:has(> .dw-clinic-hero.has-image) > .dw-clinic-slider {
    grid-column: 1 / -1 !important;
    grid-row: 4 !important;
  }
}

/* Authenticated dashboard components own their own surfaces and status
   colours. Keep the existing content, controls and authorization intact. */
html:not(.dw-contrast) body.dueseweb-modern.dw-riviera .dw-dashboard {
  --dw-ink: #173e42;
  --dw-muted: #365954;
  color: #173e42;
}
html:not(.dw-contrast) body.dueseweb-modern.dw-riviera .dw-dashboard :is(.dw-dash-tab, .dw-dash-booking-card, .dw-dash-welcome-card) {
  background: var(--rv-card) !important;
  border: 1px solid var(--rv-line-strong) !important;
  color: var(--rv-ink) !important;
  box-shadow: none !important;
}
html:not(.dw-contrast) body.dueseweb-modern.dw-riviera .dw-dashboard .dw-dash-tab {
  min-height: 48px;
}
html:not(.dw-contrast) body.dueseweb-modern.dw-riviera .dw-dashboard :is(.dw-dash-tab.is-active, .dw-dash-welcome-card:hover) {
  background: var(--rv-sand) !important;
  border-color: var(--rv-ink) !important;
}
html:not(.dw-contrast) body.dueseweb-modern.dw-riviera .dw-dashboard :is(.dw-dash-status-bestätigt, .dw-dash-status-bestatigt) {
  color: #285e3e;
  border-color: #285e3e;
}
html:not(.dw-contrast) body.dueseweb-modern.dw-riviera .dw-dashboard .dw-dash-status-heute {
  color: #82400b;
  border-color: #82400b;
}
html:not(.dw-contrast) body.dueseweb-modern.dw-riviera .dw-dashboard input[type='file'] {
  box-sizing: border-box;
  max-width: 100%;
  min-height: 48px;
  padding: 6px;
  border: 1px solid var(--rv-line-strong);
  border-radius: 10px;
  background: var(--rv-card) !important;
  color: var(--rv-ink) !important;
  font-size: 17px;
}
html:not(.dw-contrast) body.dueseweb-modern.dw-riviera .dw-dashboard input[type='file']::file-selector-button {
  min-height: 40px;
  margin-right: 10px;
  padding: 6px 12px;
  border: 0;
  border-radius: 7px;
  background: var(--rv-ink);
  color: #fff;
  cursor: pointer;
}
html:not(.dw-contrast) body.dueseweb-modern.dw-riviera .dw-records-cta {
  background: var(--rv-sand) !important;
  border-color: var(--rv-line) !important;
}
html:not(.dw-contrast) body.dueseweb-modern.dw-riviera .dw-records-cta a {
  background: var(--rv-copper) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

/* A separate authenticated agency shell has no WordPress theme hooks. */
@font-face {
  font-family: 'Goldene Atkinson';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/wp-content/css/fonts/atkinson-hyperlegible-400-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Goldene Atkinson';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/wp-content/css/fonts/atkinson-hyperlegible-700-latin.woff2') format('woff2');
}
body.dw-goldene-agency {
  background: #fff7e9 !important;
  color: #173e42 !important;
  font-family: 'Goldene Atkinson', system-ui, sans-serif !important;
  font-size: 18px !important;
}
body.dw-goldene-agency main { max-width: 1180px; padding: 28px 24px; }
body.dw-goldene-agency :is(h1, h2) { color: #173e42; font-family: Fraunces, Georgia, serif; }
body.dw-goldene-agency a { color: #173e42; text-underline-offset: .18em; }
body.dw-goldene-agency article { background: #fffaf2; border: 1px solid #56777a; border-radius: 16px; padding: 20px; }
body.dw-goldene-agency a.button {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  background: #9c3d24;
  color: #fff;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
}
body.dw-goldene-agency a.button:is(:hover, :focus-visible) { background: #7f2e1b; }
body.dw-goldene-agency a:focus-visible { outline: 3px solid #173e42; outline-offset: 3px; }

/* Mobile centre refinements: keep the real image ahead of the title as in
   the selected page-family mockup. Repeat the existing service selector to
   override the older tier-specific styles without changing their semantics. */
@media(max-width:700px){
html:not(.dw-contrast) body.dueseweb-modern.dw-riviera #main .dw-center-leaf > .dw-clinic-hero.has-image::before{order:-1!important}
html:not(.dw-contrast) body.dueseweb-modern.dw-riviera #main .dw-center-leaf > .dw-service-notice.dw-service-notice.dw-service-notice.dw-service-notice.dw-service-notice > strong:first-child{display:block!important;background:#f2e3c7!important;color:#173e42!important;-webkit-text-fill-color:#173e42!important;border:0!important;border-radius:10px!important;padding:10px 12px!important;margin:0 0 10px!important;line-height:1.35!important;box-shadow:none!important}
html:not(.dw-contrast) body.dueseweb-modern.dw-riviera #main .dw-center-leaf > .dw-service-notice--managed.dw-service-notice.dw-service-notice.dw-service-notice.dw-service-notice > strong:first-child{background:#e2eee7!important}
html:not(.dw-contrast) body.dueseweb-modern.dw-riviera #main .dw-center-leaf > .dw-service-notice--enquiry.dw-service-notice.dw-service-notice.dw-service-notice.dw-service-notice > strong:first-child{background:#fbe6b2!important}
html:not(.dw-contrast) body.dueseweb-modern.dw-riviera #main .dw-center-leaf > .dw-service-notice--information.dw-service-notice.dw-service-notice.dw-service-notice.dw-service-notice > strong:first-child{background:#e9eeee!important}
}

/* Goldene Riviera: split editorial opening at reading widths. Preserve each
   page's real wording and keep destination photographs on destination pages. */
@media (min-width: 960px) {
  html:not(.dw-contrast) body.dueseweb-modern.dw-riviera.dw-sonnenkueste:not(.dw-cost-guidance) #main .dw-med-head:not(.dw-med-head--plain) {
    position: relative;
    display: grid !important;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    grid-template-rows: minmax(300px, auto);
    align-items: stretch;
    gap: 0 !important;
    overflow: hidden;
    padding: 0 !important;
    background: var(--rv-apricot) !important;
    border-radius: 20px !important;
  }
  html:not(.dw-contrast) body.dueseweb-modern.dw-riviera.dw-sonnenkueste:not(.dw-cost-guidance) #main .dw-med-head:not(.dw-med-head--plain) .dw-med-head__inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 14px;
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    padding: clamp(28px, 3vw, 46px);
    z-index: 1;
  }
  html:not(.dw-contrast) body.dueseweb-modern.dw-riviera.dw-sonnenkueste:not(.dw-cost-guidance) #main .dw-med-head:not(.dw-med-head--plain) :is(.dw-med-crumbs,.dw-med-head__chips,.dw-med-head__title,.dw-med-head__lede) {
    margin: 0 !important;
    max-width: 100% !important;
  }
  html:not(.dw-contrast) body.dueseweb-modern.dw-riviera.dw-sonnenkueste:not(.dw-cost-guidance) #main .dw-med-head:not(.dw-med-head--plain) .dw-med-head__title {
    font-size: clamp(36px, 3.8vw, 54px) !important;
    line-height: 1.08 !important;
    overflow-wrap: anywhere !important;
  }
  html:not(.dw-contrast) body.dueseweb-modern.dw-riviera.dw-sonnenkueste:not(.dw-cost-guidance) #main .dw-med-head:not(.dw-med-head--plain) .dw-med-head__img {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    height: 100%;
    min-height: 300px;
    max-height: none;
    object-fit: cover;
    border: 0;
    border-radius: 0 !important;
  }

  /* Generic scenic art is confined to editorial pages, never a clinic or a
     destination, and is visibly identified as an illustration. */
  html:not(.dw-contrast) body.dueseweb-modern.dw-riviera.dw-sonnenkueste #main .ap-shell > .dw-med-head:not(.dw-med-head--plain)::before,
  html:not(.dw-contrast) body:is(.page-id-296982,.page-id-300514).dueseweb-modern.dw-riviera.dw-sonnenkueste #main .dw-med-head:not(.dw-med-head--plain)::before {
    content: '';
    display: block;
    grid-column: 2;
    grid-row: 1;
    z-index: 1;
    background: url('/wp-content/css/goldene-riviera/seaside-1440.webp') center / cover no-repeat;
    pointer-events: none;
  }
  html:not(.dw-contrast) body.dueseweb-modern.dw-riviera.dw-sonnenkueste #main .ap-shell > .dw-med-head:not(.dw-med-head--plain)::after,
  html:not(.dw-contrast) body:is(.page-id-296982,.page-id-300514).dueseweb-modern.dw-riviera.dw-sonnenkueste #main .dw-med-head:not(.dw-med-head--plain)::after {
    content: 'Stimmungsbild';
    position: absolute;
    inset: auto 14px 14px auto !important;
    z-index: 2;
    padding: 5px 9px;
    border-radius: 6px;
    background: rgba(23,62,66,.94);
    color: white;
    font: 400 15px/1.3 'Atkinson Hyperlegible', sans-serif;
  }

  /* Contact uses the mockup's side-by-side opening and existing channels. */
  html:not(.dw-contrast) body.page-id-62.dueseweb-modern.dw-riviera.dw-sonnenkueste #main .entry-content:has(> .kontakt-page-2026) {
    padding: 0 !important;
  }
  html:not(.dw-contrast) body.page-id-62.dueseweb-modern.dw-riviera.dw-sonnenkueste #main .kontakt-page-2026 .ap-hero.dw-med-aphero {
    position: relative;
    display: grid !important;
    grid-template-columns: minmax(0,1.08fr) minmax(0,.92fr);
    grid-template-rows: minmax(330px,auto);
    gap: 0;
    overflow: hidden;
    background: var(--rv-apricot) !important;
    border-radius: 20px !important;
  }
  html:not(.dw-contrast) body.page-id-62.dueseweb-modern.dw-riviera.dw-sonnenkueste #main .kontakt-page-2026 .ap-hero.dw-med-aphero::before {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    height: 100%;
    min-height: 330px;
    border: 0;
    border-radius: 0;
    background: url('/wp-content/css/goldene-riviera/seaside-1440.webp') center / cover no-repeat;
  }
  html:not(.dw-contrast) body.page-id-62.dueseweb-modern.dw-riviera.dw-sonnenkueste #main .kontakt-page-2026 .ap-hero.dw-med-aphero::after {
    content: 'Stimmungsbild';
    display: block !important;
    position: absolute;
    inset: auto 14px 14px auto !important;
    z-index: 2;
    width: max-content !important;
    height: auto !important;
    transform: none !important;
    opacity: 1 !important;
    padding: 5px 9px;
    border-radius: 6px;
    background: rgba(23,62,66,.94);
    color: white;
    font: 400 15px/1.3 'Atkinson Hyperlegible', sans-serif;
  }
  html:not(.dw-contrast) body.page-id-62.dueseweb-modern.dw-riviera.dw-sonnenkueste #main .kontakt-page-2026 .ap-hero.dw-med-aphero .ap-hero-text {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    min-width: 0;
    padding: clamp(28px,3vw,46px) !important;
  }
  html:not(.dw-contrast) body.page-id-62.dueseweb-modern.dw-riviera.dw-sonnenkueste #main .kontakt-page-2026 .dw-med-aphero__title {
    font-size: clamp(42px,4.6vw,66px) !important;
    line-height: 1.05 !important;
  }

  /* Keep the five real steps in sequence while giving the artwork its own
     quiet column. No mockup-only medical or booking claims are introduced. */
  html:not(.dw-contrast) body.dueseweb-modern.dw-riviera.dw-sonnenkueste #main .ap-shell:has(> .dw-med-head[aria-label='Wie wir Ihre Feriendialyse organisieren']) {
    display: grid;
    grid-template-columns: minmax(0,1.65fr) minmax(260px,1fr);
    gap: 0 20px;
    align-items: start;
  }
  html:not(.dw-contrast) body.dueseweb-modern.dw-riviera.dw-sonnenkueste #main .ap-shell:has(> .dw-med-head[aria-label='Wie wir Ihre Feriendialyse organisieren']) > .dw-med-head,
  html:not(.dw-contrast) body.dueseweb-modern.dw-riviera.dw-sonnenkueste #main .ap-shell:has(> .dw-med-head[aria-label='Wie wir Ihre Feriendialyse organisieren']) > .ap-cta {
    grid-column: 1 / -1;
  }
  html:not(.dw-contrast) body.dueseweb-modern.dw-riviera.dw-sonnenkueste #main .ap-shell:has(> .dw-med-head[aria-label='Wie wir Ihre Feriendialyse organisieren']) > .ap-section {
    grid-column: 1;
    border-left: 5px solid var(--rv-sand);
    padding: 22px 26px !important;
    margin-bottom: 14px;
  }
  html:not(.dw-contrast) body.dueseweb-modern.dw-riviera.dw-sonnenkueste #main .ap-shell:has(> .dw-med-head[aria-label='Wie wir Ihre Feriendialyse organisieren']) > .dw-med-head + .ap-section {
    background: var(--rv-sand) !important;
    border-left-color: var(--rv-copper);
  }
  html:not(.dw-contrast) body.dueseweb-modern.dw-riviera.dw-sonnenkueste #main .ap-shell:has(> .dw-med-head[aria-label='Wie wir Ihre Feriendialyse organisieren'])::after {
    content: 'Stimmungsbild';
    grid-column: 2;
    grid-row: 2 / span 3;
    min-height: 270px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    box-sizing: border-box;
    padding: 14px;
    border-radius: 18px;
    background: linear-gradient(0deg,rgba(23,62,66,.68),transparent 30%),url('/wp-content/css/goldene-riviera/seaside-720.webp') center / cover no-repeat;
    color: white;
    font: 400 15px/1.3 'Atkinson Hyperlegible', sans-serif;
  }
}

/* Gold number markers from the approved reading-page design. */
html:not(.dw-contrast) body.dueseweb-modern.dw-riviera.dw-sonnenkueste #main .dw-med-chapter__head .dw-med-coin {
  background: #f4dea9 !important;
  color: #173e42 !important;
  -webkit-text-fill-color: #173e42 !important;
}
html:not(.dw-contrast) body.dueseweb-modern.dw-riviera.dw-sonnenkueste #main .dw-med-toc > a:first-of-type .dw-med-toc__n {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}
/* The legacy mobile CTA rule uses white text; the Goldene card is light. */
html:not(.dw-contrast) body.dueseweb-modern.dw-riviera.dw-sonnenkueste #main .about-page-2026 .ap-cta.dw-med-apcta h2 {
  color: #173e42 !important;
  -webkit-text-fill-color: #173e42 !important;
}
/* The accessible source heading must not create a horizontal scroll area. */
html body.dueseweb-modern.dw-riviera #main h1.entry-title:has(+ .entry-content > :is(.dw-med-head,.dw-med-auth)) {
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
}

/* Documents use a standalone shell, so they need their own responsive hero. */
html:not(.dw-contrast) body.dueseweb-modern.dw-dok-page .dw-dok-hero {
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}
@media (min-width: 960px) {
  html:not(.dw-contrast) body.dueseweb-modern.dw-dok-page .dw-dok-shell {
    max-width: 1320px !important;
    padding-inline: 32px !important;
  }
  html:not(.dw-contrast) body.dueseweb-modern.dw-dok-page.dw-riviera.dw-sonnenkueste .dw-dok-shell .dw-dok-hero {
    min-height: 330px;
    padding: 36px !important;
    border-radius: 20px;
    background: linear-gradient(90deg,#f7ead8 0%,#f7ead8 60%,rgba(247,234,216,.7) 72%,transparent 100%),url('/wp-content/css/goldene-riviera/seaside-1440.webp') right center / cover no-repeat !important;
  }
  html:not(.dw-contrast) body.dueseweb-modern.dw-dok-page .dw-dok-hero :is(h1,p,.dw-dok-trust) {
    max-width: 58%;
  }
  html:not(.dw-contrast) body.dueseweb-modern.dw-dok-page .dw-dok-hero h1 {
    font-size: clamp(40px,4vw,56px) !important;
    line-height: 1.08 !important;
  }
  html:not(.dw-contrast) body.dueseweb-modern.dw-dok-page .dw-dok-hero::after {
    content: 'Stimmungsbild';
    position: absolute;
    right: 14px;
    bottom: 14px;
    padding: 5px 9px;
    border-radius: 6px;
    background: rgba(23,62,66,.94);
    color: white;
    font: 400 15px/1.3 'Atkinson Hyperlegible', sans-serif;
  }

  /* Reception keeps its real cohort buttons and secure-upload flow. */
  html:not(.dw-contrast) body.dueseweb-modern.dw-riviera.dw-sonnenkueste #main .dw-orp-app > .dw-orp-hero {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    min-height: 240px;
    padding: 30px 34px !important;
    text-align: left;
    align-items: flex-start;
    background: linear-gradient(90deg,#f7ead8 0%,#f7ead8 62%,rgba(247,234,216,.72) 76%,transparent 100%),url('/wp-content/css/goldene-riviera/seaside-1440.webp') right center / cover no-repeat !important;
  }
  html:not(.dw-contrast) body.dueseweb-modern.dw-riviera.dw-sonnenkueste #main .dw-orp-app > .dw-orp-hero :is(h1,.dw-orp-lede) {
    max-width: 60%;
  }
  html:not(.dw-contrast) body.dueseweb-modern.dw-riviera.dw-sonnenkueste #main .dw-orp-app > .dw-orp-hero::after {
    content: 'Stimmungsbild';
    position: absolute;
    right: 14px;
    bottom: 14px;
    padding: 5px 9px;
    border-radius: 6px;
    background: rgba(23,62,66,.94);
    color: white;
    font: 400 15px/1.3 'Atkinson Hyperlegible', sans-serif;
  }
}

/* About retains the mockup's full-width image above the text. */
html:not(.dw-contrast) body.page-id-59.dueseweb-modern.dw-riviera.dw-sonnenkueste #main .about-page-2026 .ap-hero.dw-med-aphero {
  position: relative;
}
html:not(.dw-contrast) body.page-id-59.dueseweb-modern.dw-riviera.dw-sonnenkueste #main .about-page-2026 .ap-hero.dw-med-aphero::before {
  background: url('/wp-content/css/goldene-riviera/seaside-1440.webp') center / cover no-repeat;
}
html:not(.dw-contrast) body.page-id-59.dueseweb-modern.dw-riviera.dw-sonnenkueste #main .about-page-2026 .ap-hero.dw-med-aphero::after {
  content: 'Stimmungsbild';
  display: block !important;
  position: absolute;
  inset: 14px 14px auto auto !important;
  width: max-content !important;
  height: auto !important;
  z-index: 2;
  padding: 5px 9px;
  border-radius: 6px;
  background: rgba(23,62,66,.94);
  color: #fff;
  transform: none !important;
  opacity: 1 !important;
  font: 400 15px/1.3 'Atkinson Hyperlegible', sans-serif;
}

@media (max-width: 959px) {
  html:not(.dw-contrast) body.dueseweb-modern.dw-riviera.dw-sonnenkueste #main .ap-shell > .dw-med-head:not(.dw-med-head--plain)::before,
  html:not(.dw-contrast) body:is(.page-id-296982,.page-id-300514).dueseweb-modern.dw-riviera.dw-sonnenkueste #main .dw-med-head:not(.dw-med-head--plain)::before {
    content: '';
    display: block;
    order: 1;
    width: 100%;
    height: 200px;
    flex: 0 0 200px;
    box-sizing: border-box;
    border-radius: 18px;
    background: url('/wp-content/css/goldene-riviera/seaside-720.webp') center / cover no-repeat;
  }
  html:not(.dw-contrast) body.dueseweb-modern.dw-riviera.dw-sonnenkueste #main .ap-shell > .dw-med-head:not(.dw-med-head--plain) .dw-med-head__img,
  html:not(.dw-contrast) body:is(.page-id-296982,.page-id-300514).dueseweb-modern.dw-riviera.dw-sonnenkueste #main .dw-med-head:not(.dw-med-head--plain) .dw-med-head__img {
    display: none !important;
  }
  html:not(.dw-contrast) body.dueseweb-modern.dw-riviera.dw-sonnenkueste #main .ap-shell > .dw-med-head:not(.dw-med-head--plain)::after,
  html:not(.dw-contrast) body:is(.page-id-296982,.page-id-300514).dueseweb-modern.dw-riviera.dw-sonnenkueste #main .dw-med-head:not(.dw-med-head--plain)::after {
    content: 'Stimmungsbild';
    display: block;
    order: 1;
    align-self: flex-end;
    z-index: 1;
    margin: -59px 14px 19px 0;
    padding: 5px 9px;
    border-radius: 6px;
    background: rgba(23,62,66,.94);
    color: white;
    font: 400 15px/1.3 'Atkinson Hyperlegible', sans-serif;
  }
  html:not(.dw-contrast) body.page-id-62.dueseweb-modern.dw-riviera.dw-sonnenkueste #main .kontakt-page-2026 .ap-hero.dw-med-aphero {
    position: relative;
  }
  html:not(.dw-contrast) body.page-id-62.dueseweb-modern.dw-riviera.dw-sonnenkueste #main .kontakt-page-2026 .ap-hero.dw-med-aphero::before {
    background: url('/wp-content/css/goldene-riviera/seaside-720.webp') center / cover no-repeat;
  }
  html:not(.dw-contrast) body.page-id-62.dueseweb-modern.dw-riviera.dw-sonnenkueste #main .kontakt-page-2026 .ap-hero.dw-med-aphero::after {
    content: 'Stimmungsbild';
    display: block !important;
    position: absolute;
    inset: 14px 14px auto auto !important;
    width: max-content !important;
    height: auto !important;
    z-index: 2;
    padding: 5px 9px;
    border-radius: 6px;
    background: rgba(23,62,66,.94);
    color: #fff;
    transform: none !important;
    opacity: 1 !important;
    font: 400 15px/1.3 'Atkinson Hyperlegible', sans-serif;
  }
}
