/* Photo, finder and camera share the site lighting. The photographs and camera models retain their original colours. */
@layer site-daylight {
  @media screen {
    #dw-eme-index .fd-coastal-hero {
      --coast-shade:15,37,43;--coast-paper:var(--ds-ground,#faf6ec);--coast-ink:var(--ds-ink,#123d40);
      display:grid!important;grid-template-columns:minmax(0,1fr);align-content:stretch!important;position:relative;isolation:isolate;min-height:clamp(25rem,38vw,39rem)!important;
      box-sizing:border-box;min-width:0;width:100%;margin:0!important;padding:0!important;overflow:hidden;
      background:var(--coast-paper)!important;color:var(--coast-ink)!important;
    }
    html[data-dw-phase=dawn] #dw-eme-index .fd-coastal-hero {--coast-shade:47,42,38}
    html[data-dw-phase=dusk] #dw-eme-index .fd-coastal-hero {--coast-shade:29,39,49}
    html[data-dw-phase=night] #dw-eme-index .fd-coastal-hero {--coast-shade:9,25,32}
    #dw-eme-index .fd-coast-photo {position:absolute;inset:0;display:block;z-index:-2}
    #dw-eme-index .fd-coast-photo img {display:block;width:100%!important;height:100%!important;max-height:none!important;
      object-fit:cover!important;object-position:55% 73%;filter:none!important;opacity:1!important}
    #dw-eme-index .fd-coastal-hero::before {content:"";position:absolute;inset:0;z-index:-1;
      background:linear-gradient(90deg,rgba(var(--coast-shade),.94) 0%,rgba(var(--coast-shade),.82) 31%,rgba(var(--coast-shade),.35) 57%,transparent 77%)}
    #dw-eme-index .fd-coast-intro {box-sizing:border-box;align-self:center!important;max-width:39rem;padding:clamp(3.25rem,6.2vw,6.5rem) 0 clamp(3.25rem,6.2vw,6.5rem) clamp(1.7rem,4.8vw,5.25rem)!important}
    #dw-eme-index .fd-coastal-hero .fd-coast-intro :is(h1,p,label) {color:#fffaf0!important;-webkit-text-fill-color:currentColor!important;text-shadow:none!important}
    #dw-eme-index .fd-coastal-hero .fd-coast-kicker {margin:0 0 .85rem!important;font:650 .83rem/1.35 system-ui,sans-serif!important;text-transform:uppercase;letter-spacing:.15em}
    #dw-eme-index .fd-coastal-hero .fd-coast-intro h1 {margin:0!important;font:500 clamp(3.1rem,5.3vw,6.2rem)/.99 Georgia,serif!important;letter-spacing:-.047em!important;max-width:12ch;text-wrap:balance}
    #dw-eme-index .fd-coastal-hero .fd-coast-promise {max-width:43ch;margin:1.05rem 0 1.35rem!important;font:400 clamp(1rem,1.3vw,1.22rem)/1.48 system-ui,sans-serif!important}
    #dw-eme-index .fd-coastal-hero .fd-visitor-search {display:grid;gap:5px;margin:0!important;max-width:27rem}
    #dw-eme-index .fd-coastal-hero .fd-visitor-search label {font:650 .94rem/1.4 system-ui,sans-serif!important;margin:0!important}
    #dw-eme-index .fd-coastal-hero .fd-visitor-search>div {display:flex;gap:0;align-items:stretch}
    #dw-eme-index .fd-coastal-hero .fd-visitor-search :is(input,button) {min-height:48px!important;margin:0!important;border:1px solid #d5e0dc!important;border-radius:0!important;font:600 1rem/1.2 system-ui,sans-serif!important}
    #dw-eme-index .fd-coastal-hero #fd-visitor-destination {min-width:0;flex:1;background:#fffaf0!important;color:#163f43!important;-webkit-text-fill-color:currentColor!important;padding:9px 13px!important;border-radius:4px 0 0 4px!important}
    #dw-eme-index .fd-coastal-hero #fd-visitor-destination::placeholder {color:#4b6061!important;opacity:1}
    #dw-eme-index .fd-coastal-hero #reiseziele button {background:#0b4a4b!important;color:#fffaf0!important;-webkit-text-fill-color:currentColor!important;padding:9px clamp(13px,1.6vw,27px)!important;border-radius:0 4px 4px 0!important;cursor:pointer}
    #dw-eme-index .fd-coastal-hero :is(a,input,button):focus-visible {outline:3px solid #ffc883!important;outline-offset:3px}
    #dw-eme-index .fd-coastal-hero .fd-coast-credit {position:absolute;right:0;bottom:0;margin:0!important;display:grid;gap:2px;
      background:#112e34!important;color:#fffaf0!important;-webkit-text-fill-color:currentColor!important;padding:.55rem .85rem!important;font:400 .78rem/1.4 system-ui,sans-serif!important}
    #dw-eme-index .fd-coastal-hero .fd-coast-credit :is(strong,span,a) {color:inherit!important;-webkit-text-fill-color:currentColor!important}
    #dw-eme-index .fd-coastal-hero .fd-coast-credit a {text-decoration:underline!important;text-underline-offset:.15em}
    html.dw-contrast #dw-eme-index .fd-coast-intro {background:#000!important;padding-right:1rem!important}
    @media (max-width:759px) {
      #dw-eme-index .fd-coastal-hero {grid-template-rows:auto auto 1fr;min-height:0!important}
      #dw-eme-index .fd-coastal-hero::before {display:none}
      #dw-eme-index .fd-coast-photo {position:relative;inset:auto;grid-column:1;grid-row:1/3;min-height:clamp(11.5rem,58vw,19rem);z-index:0}
      #dw-eme-index .fd-coast-photo img {position:absolute;inset:0;object-position:50% 58%}
      #dw-eme-index .fd-coastal-hero .fd-coast-credit {position:relative;right:auto;bottom:auto;grid-column:1;grid-row:2;align-self:end;justify-self:end;font-size:.73rem!important;padding:.32rem .65rem!important}
      #dw-eme-index .fd-coast-intro {grid-row:3;max-width:none;padding:1.35rem max(1rem,env(safe-area-inset-right)) 1.8rem max(1rem,env(safe-area-inset-left))!important}
      #dw-eme-index .fd-coastal-hero .fd-coast-intro :is(h1,p,label) {color:var(--coast-ink)!important}
      #dw-eme-index .fd-coastal-hero .fd-coast-intro h1 {font-size:clamp(2.55rem,9.3vw,4.2rem)!important}
      #dw-eme-index .fd-coastal-hero .fd-coast-kicker {margin-bottom:.55rem!important}
      #dw-eme-index .fd-coastal-hero .fd-coast-promise {margin:.75rem 0 1rem!important}
      html.dw-contrast #dw-eme-index .fd-coast-intro :is(h1,p,label) {color:white!important}
    }
    @media (min-width:600px) and (max-height:520px) {
      #dw-eme-index .fd-coastal-hero {grid-template:1fr / minmax(0,.82fr) minmax(0,1fr);min-height:0!important}
      #dw-eme-index .fd-coastal-hero::before {display:none}
      #dw-eme-index .fd-coast-photo {position:relative;inset:auto;grid-column:1;grid-row:1;min-height:0;z-index:0}
      #dw-eme-index .fd-coast-photo img {position:absolute;inset:0}
      #dw-eme-index .fd-coastal-hero .fd-coast-credit {position:relative;inset:auto;grid-column:1;grid-row:1;align-self:end;justify-self:start}
      #dw-eme-index .fd-coast-intro {grid-column:2;grid-row:1;max-width:none;padding:1rem!important}
      #dw-eme-index .fd-coastal-hero .fd-coast-intro :is(h1,p,label) {color:var(--coast-ink)!important}
      #dw-eme-index .fd-coastal-hero .fd-coast-intro h1 {font-size:clamp(1.85rem,4.1vw,3rem)!important;max-width:none}
      #dw-eme-index .fd-coastal-hero .fd-coast-kicker {margin:0 0 .25rem!important}
      #dw-eme-index .fd-coastal-hero .fd-coast-promise {margin:.4rem 0 .65rem!important}
      html.dw-contrast #dw-eme-index .fd-coast-intro :is(h1,p,label) {color:white!important}
    }
    #dw-eme-index .fd-camera-hero {
      --atlas-paper:var(--ds-ground,#faf6ec);--atlas-ink:var(--ds-ink,#0b353c);
      --atlas-muted:var(--ds-muted,#435850);--atlas-edge:var(--ds-edge,#788077);
      --atlas-rail:#06474a;--atlas-on-rail:#fff9e9;--atlas-accent:#a95415;
      --atlas-field:#fffaf0;--atlas-field-ink:#123b40;--atlas-submit:#074749;
      display:grid!important;grid-template-columns:minmax(0,1fr);gap:clamp(10px,1.15vw,19px);
      width:100%;margin:0!important;padding:clamp(12px,1.5vw,25px)!important;
      background:var(--atlas-paper)!important;color:var(--atlas-ink)!important;
    }
    html[data-dw-phase=dawn] #dw-eme-index .fd-camera-hero {--atlas-rail:#284f49}
    html[data-dw-phase=dusk] #dw-eme-index .fd-camera-hero {--atlas-rail:#063c40;--atlas-accent:#f0bb78}
    html[data-dw-phase=night] #dw-eme-index .fd-camera-hero {--atlas-rail:#102e36;--atlas-accent:#f0bb78}
    html.dw-contrast #dw-eme-index .fd-camera-hero {--atlas-rail:#101010;--atlas-on-rail:#fff;--atlas-accent:currentColor;--atlas-field:white;--atlas-field-ink:black;--atlas-submit:black}
    #dw-eme-index .fd-camera-hero .fd-hero-copy {
      display:grid!important;grid-template-columns:minmax(0,1fr) minmax(17rem,.9fr);align-items:end;gap:12px 3rem;
      position:static!important;padding:clamp(12px,2vw,32px) 0 5px!important;margin:0!important;
      color:var(--atlas-ink)!important;background:transparent!important;
    }
    #dw-eme-index .fd-camera-hero .fd-hero-copy :is(h2,p) {margin:0!important;color:var(--atlas-ink)!important;-webkit-text-fill-color:currentColor!important}
    #dw-eme-index .fd-camera-hero .fd-hero-copy h2 {font:500 clamp(2.15rem,4vw,4.35rem)/1.04 Georgia,serif!important;letter-spacing:-.04em}
    #dw-eme-index .fd-camera-hero .fd-hero-copy p {max-width:48ch;font:400 clamp(1rem,1.3vw,1.2rem)/1.45 system-ui,sans-serif!important}
    #dw-eme-index .fd-camera-hero .fd-hero-frame {
      display:grid!important;grid-template-columns:minmax(0,3.25fr) minmax(13rem,1fr);align-items:stretch;
      width:100%;min-width:0;overflow:visible!important;margin:0!important;padding:0!important;
      color:var(--atlas-on-rail)!important;background:var(--atlas-rail)!important;
    }
    #dw-eme-index .fd-camera-hero .fd-hero-frame::before {display:none!important}
    #dw-eme-index .fd-camera-hero .fd-hero-stage {
      isolation:isolate;position:relative;width:100%;max-width:100%;min-width:0;overflow:hidden;aspect-ratio:2/1;background:#253639;
    }
    #dw-eme-index .fd-camera-hero .fd-hero-art {display:block;position:absolute;inset:0}
    #dw-eme-index .fd-camera-hero .fd-hero-art img {
      display:block;width:100%!important;height:100%!important;min-height:0!important;
      object-fit:cover!important;object-position:50% 62%!important;opacity:1!important;filter:none!important;
    }
    #dw-eme-index .fd-camera-hero .fd-hero-player {
      position:absolute;inset:0;display:block;width:100%!important;height:100%!important;
      max-width:none!important;margin:0!important;padding:0!important;border:0!important;visibility:hidden;
    }
    #dw-eme-index .fd-camera-hero .fd-hero-player[data-ready] {visibility:visible}
    #dw-eme-index .fd-camera-hero .fd-hero-frame .fd-hero-caption {
      position:relative!important;z-index:1;min-width:0;display:flex;flex-direction:column;justify-content:center;align-items:stretch;
      gap:10px;padding:clamp(15px,2.15vw,39px)!important;margin:0!important;border-radius:0!important;
      color:var(--atlas-on-rail)!important;background:var(--atlas-rail)!important;-webkit-text-fill-color:currentColor!important;
      font:400 1rem/1.35 Georgia,serif!important;
    }
    #dw-eme-index .fd-camera-hero .fd-hero-caption :is(.fd-hero-legend,span,b,strong,em,a,button) {
      color:var(--atlas-on-rail)!important;-webkit-text-fill-color:currentColor!important;text-shadow:none!important;
    }
    #dw-eme-index .fd-camera-hero #webcam-ausgabemeldung {color:var(--atlas-on-rail)!important;-webkit-text-fill-color:currentColor!important;background:transparent!important;font:400 .9rem/1.4 system-ui,sans-serif!important}
    #dw-eme-index .fd-camera-hero .fd-hero-legend {display:grid;align-content:center;min-width:0;gap:5px}
    #dw-eme-index .fd-camera-hero .fd-hero-room {
      padding-bottom:clamp(8px,1.2vw,17px);margin-bottom:clamp(4px,1vw,12px);border-bottom:1px solid currentColor;
      font:650 .83rem/1.25 system-ui,sans-serif!important;text-transform:uppercase;letter-spacing:.13em;
    }
    #dw-eme-index .fd-camera-hero .fd-hero-legend strong {font:600 clamp(1.7rem,3.35vw,4rem)/1.04 Georgia,serif!important;letter-spacing:-.035em;overflow-wrap:anywhere;hyphens:auto}
    #dw-eme-index .fd-camera-hero .fd-hero-legend em {font:italic 400 clamp(1.1rem,1.7vw,1.65rem)/1.15 Georgia,serif!important;overflow-wrap:anywhere}
    #dw-eme-index .fd-camera-hero [data-hero-caption] {margin-top:8px;border-top:1px solid currentColor;padding-top:8px;font:400 .97rem/1.35 system-ui,sans-serif!important}
    #dw-eme-index .fd-camera-hero .fd-hero-tools {display:flex;align-items:stretch;flex-wrap:wrap;gap:6px;margin-top:clamp(2px,1.4vw,22px)}
    #dw-eme-index .fd-camera-hero .fd-hero-tools button {
      flex:1 1 4.5rem;min-height:44px!important;padding:6px 9px!important;border:1px solid currentColor!important;
      border-radius:2px!important;box-shadow:none!important;background:transparent!important;cursor:pointer;font:650 1rem/1.25 Georgia,serif!important;
    }
    #dw-eme-index .fd-camera-hero .fd-hero-tools button[hidden] {display:none!important}
    #dw-eme-index .fd-camera-hero .fd-hero-open {display:inline-flex;align-self:start;align-items:center;gap:.3em;min-height:44px;text-decoration:underline!important;text-underline-offset:.2em}
    #dw-eme-index .fd-camera-hero .fd-hero-selector {
      display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;
      gap:clamp(6px,1.5vw,24px);padding-block:clamp(7px,.9vw,14px);border-block:1px solid var(--atlas-edge);
    }
    #dw-eme-index .fd-camera-hero .fd-hero-choice {
      display:grid;grid-template-columns:minmax(44px,1.25fr) minmax(0,1fr);align-items:center;gap:clamp(5px,.8vw,12px);
      min-width:0;min-height:44px;margin:0!important;padding:2px 6px!important;
      color:var(--atlas-ink)!important;-webkit-text-fill-color:currentColor!important;
      background:transparent!important;box-shadow:none!important;border:0!important;border-radius:0!important;
      font:600 clamp(1rem,1.45vw,1.48rem)/1.18 Georgia,serif!important;text-align:start;text-decoration:none!important;cursor:pointer;overflow-wrap:anywhere;
    }
    #dw-eme-index .fd-camera-hero .fd-hero-choice+.fd-hero-choice {border-inline-start:1px solid var(--atlas-edge)!important}
    #dw-eme-index .fd-camera-hero .fd-hero-choice img {width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:2.4;object-fit:cover}
    #dw-eme-index .fd-camera-hero .fd-hero-choice[aria-pressed=true] img {outline:3px solid var(--atlas-ink);outline-offset:-3px}
    #dw-eme-index .fd-camera-hero .fd-hero-choice[aria-pressed=true] span {text-decoration:underline;text-decoration-color:var(--atlas-accent);text-underline-offset:.26em}
    #dw-eme-index .fd-camera-hero .fd-hero-choice small {font:inherit!important;color:inherit!important}
    #dw-eme-index .fd-camera-hero :is(a,button,input):focus-visible {outline:3px solid var(--ds-focus,#843d13)!important;outline-offset:3px}
    #dw-eme-index .fd-camera-hero .fd-hero-caption :focus-visible {outline-color:var(--atlas-on-rail)!important}
    #dw-eme-index .fd-camera-hero .fd-hero-frame[data-expanded] {
      position:fixed!important;inset:0!important;z-index:2147483647;
      display:grid!important;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;overflow:hidden!important;
      width:100%!important;height:100%!important;height:100dvh!important;max-width:none!important;max-height:none!important;
      box-sizing:border-box;margin:0!important;padding:0!important;border:0;background:var(--atlas-rail)!important;
    }
    #dw-eme-index .fd-camera-hero .fd-hero-frame[data-expanded] .fd-hero-stage {min-height:0;aspect-ratio:auto}
    #dw-eme-index .fd-camera-hero .fd-hero-frame[data-expanded] .fd-hero-art img {object-fit:contain!important;object-position:center!important}
    #dw-eme-index .fd-camera-hero .fd-hero-frame[data-expanded] .fd-hero-caption {
      flex-flow:row wrap;align-items:center;justify-content:space-between;gap:4px 12px;
      padding:6px max(12px,env(safe-area-inset-right)) max(6px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left))!important;
    }
    #dw-eme-index .fd-camera-hero .fd-hero-frame[data-expanded] .fd-hero-legend {display:none}
    #dw-eme-index .fd-camera-hero .fd-hero-frame[data-expanded] .fd-hero-tools {margin:0;min-width:min(100%,14rem)}
    html.fd-hero-immersive,html.fd-hero-immersive body {overflow:hidden!important;overscroll-behavior:none}
    @media (max-width:759px) {
      #dw-eme-index .fd-camera-hero {padding:12px!important;gap:12px}
      #dw-eme-index .fd-camera-hero .fd-hero-copy {grid-template-columns:minmax(0,1fr);gap:12px}
      #dw-eme-index .fd-camera-hero .fd-hero-frame:not([data-expanded]) {grid-template-columns:minmax(0,1fr)}
      #dw-eme-index .fd-camera-hero .fd-hero-stage {aspect-ratio:16/10}
      #dw-eme-index .fd-camera-hero .fd-hero-frame:not([data-expanded]) .fd-hero-caption {padding:13px!important;gap:5px}
      #dw-eme-index .fd-camera-hero .fd-hero-legend {grid-template-columns:auto 1fr;align-items:baseline;gap:3px 8px}
      #dw-eme-index .fd-camera-hero .fd-hero-room {border:0;padding:0;margin:0}
      #dw-eme-index .fd-camera-hero .fd-hero-legend em {grid-column:1/-1}
      #dw-eme-index .fd-camera-hero [data-hero-caption] {grid-column:1/-1;margin:0;border:0;padding:0;font-size:.86rem!important}
      #dw-eme-index .fd-camera-hero .fd-hero-tools {margin:0}
      #dw-eme-index .fd-camera-hero .fd-hero-choice {display:flex;flex-direction:column;align-items:stretch;padding:2px!important}
      #dw-eme-index .fd-camera-hero .fd-hero-choice img {aspect-ratio:1.75}
      html:is([data-dw-phase=dusk],[data-dw-phase=night]):not(.dw-contrast) #dw-eme-index .fd-camera-hero {--atlas-paper:#09363a;--atlas-ink:#fff7e8}
    }
    @media (max-height:520px) and (min-width:600px) {
      #dw-eme-index .fd-camera-hero .fd-hero-copy {grid-template-columns:minmax(0,1.15fr) minmax(12rem,1fr);gap:12px}
      #dw-eme-index .fd-camera-hero .fd-hero-frame:not([data-expanded]) {grid-template-columns:minmax(0,2fr) minmax(11rem,1fr)}
      #dw-eme-index .fd-camera-hero .fd-hero-stage {aspect-ratio:1.85}
      #dw-eme-index .fd-camera-hero .fd-hero-frame:not([data-expanded]) .fd-hero-caption {gap:4px;padding:8px 12px!important}
      #dw-eme-index .fd-camera-hero .fd-hero-room {margin:0;padding:0;border:0}
      #dw-eme-index .fd-camera-hero .fd-hero-legend strong {font-size:1.5rem!important}
      #dw-eme-index .fd-camera-hero .fd-hero-tools {margin:0}
    }
    @media (max-width:620px), (max-height:550px) {
      #dw-eme-index .fd-camera-hero .fd-hero-frame[data-expanded] .fd-hero-open {display:none!important}
    }
  }
  /* Reserve the single fixed phone masthead, once. */
  @media screen and (max-width:959px) {
    html body.home.dw-berger-experience #wrapper #main:has(#dw-eme-index .fd-camera-hero) {margin-top:max(60px,calc(56px + env(safe-area-inset-top)))!important;padding-top:0!important}
    html body.home.dw-berger-experience #wrapper #main #dw-eme-index:has(.fd-camera-hero) {padding-top:0!important;margin-top:0!important}
  }
  @media print {
    #dw-eme-index .fd-camera-hero :is(.fd-hero-stage,.fd-hero-tools,.fd-hero-selector) {display:none!important}
  }
}

/* The boxed theme adds its own phone gutters. Give the model the usable viewport
   width and keep the editorial inset exactly once on the title and controls. */
@layer site-daylight {
  @media screen and (max-width:959px) {
    html body.home #dw-eme-index :is(.fd-coastal-hero,.fd-camera-hero) {
      box-sizing:border-box;width:100vw!important;max-width:none!important;
      margin-inline:calc(50% - 50vw)!important;
    }
    html body.home #dw-eme-index .fd-camera-hero {padding-inline:max(12px,env(safe-area-inset-left)) max(12px,env(safe-area-inset-right))!important;}
  }
  html[data-dw-toned] #dw-nav-toggle .dw-nav-bar {background:var(--ds-ink)!important}
}

@layer site-daylight {
  #dw-eme-index .fd-live-pair { display: none !important; }
  @media screen and (min-width: 960px) and (min-height: 521px) {
    #dw-eme-index .fd-coastal-hero {
      grid-template-columns: minmax(17rem,.9fr) minmax(0,1.7fr) !important;
      align-items: center;
    }
    #dw-eme-index .fd-coastal-hero .fd-coast-intro {
      padding: clamp(24px,3vw,54px) clamp(16px,2vw,32px) !important;
    }
    #dw-eme-index .fd-live-pair {
      display: grid !important; grid-template-columns: repeat(2,minmax(0,1fr));
      gap: .55rem .85rem; padding: 2rem clamp(16px,2vw,40px) 3rem 0;
    }
    #dw-eme-index .fd-live-camera {
      margin: 0 !important; align-self: start; overflow: hidden;
      background: #102e37; color: #fffaf0; border: 1px solid #b9c9c7; border-radius: 9px;
    }
    #dw-eme-index .fd-live-window { position: relative; aspect-ratio: 16/10; }
    #dw-eme-index .fd-live-window :is(img,iframe) {
      position: absolute; inset: 0; width: 100% !important; height: 100% !important;
      margin: 0 !important; object-fit: cover; border: 0 !important;
    }
    #dw-eme-index .fd-live-camera figcaption {
      display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
      gap: .25rem; padding: 5px 9px; background: #102e37;
    }
    #dw-eme-index .fd-live-camera figcaption :is(a,button), #dw-eme-index .fd-live-office {
      color: #fffaf0 !important; -webkit-text-fill-color: currentColor !important;
      font: 600 1rem/1.3 system-ui,sans-serif !important;
    }
    #dw-eme-index .fd-live-camera figcaption button:not([hidden]) {
      min-height: 38px; padding: 4px 9px; border: 1px solid #afc1bd; border-radius: 5px;
      background: transparent !important; cursor: pointer;
    }
    #dw-eme-index .fd-live-office {
      grid-column: 1/-1; justify-self: end; padding: 6px 10px;
      border-radius: 4px; background: #102e37;
    }
    #dw-eme-index .fd-camera-hero { display: none !important; }
  }
}
