.bergrath-home {background:#f7efdf}
.bergrath-home #start.dashboard-panorama {
  min-height:clamp(170px,20vw,280px);padding:20px;
}
#start.dashboard-panorama .hero-copy {text-align:center}
#start.dashboard-panorama .dashboard-facts {justify-content:center}
#start.dashboard-panorama .shade {
  background:radial-gradient(ellipse at center,#182d2266,transparent 72%),linear-gradient(#14281919,#14281935);
}
#start.dashboard-panorama .dashboard-kicker {font-style:italic}
.bergrath-home .album-dashboard {max-width:1570px;gap:12px 16px;padding:clamp(10px,1.2vw,20px)}
.album-dashboard .house-overview {margin:0}
.album-dashboard .house-overview h2 {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.album-resources {display:grid;gap:10px;min-width:0}
.album-resource {position:relative;isolation:isolate;display:block;min-width:0;overflow:hidden;border-radius:5px;background:#274838;color:#fff6e5}
.album-resource img {width:100%;display:block;aspect-ratio:1.3;object-fit:cover}
.album-resource span {display:flex;justify-content:space-between;align-items:center;gap:4px;padding:7px 9px;font:700 clamp(15px,1.38vw,23px)/1.15 Georgia,serif}
.album-resource:hover span,.album-resource:focus-visible span {background:#396148}
.album-dashboard .house-tiles {gap:10px}
.album-dashboard .house-tile {display:block;min-height:0;aspect-ratio:1.55;position:relative;background:#264132;border:0;border-radius:5px}
.album-dashboard .house-tile img {inset:0;width:100%;height:100%;object-fit:cover}
.album-dashboard .house-tile>span {
  position:absolute;inset:auto 0 0;padding:15px 10px 7px;color:#fff9e8;
  background:linear-gradient(transparent,#132a20e8);
}
.album-dashboard .house-tile strong {font:700 clamp(16px,1.55vw,24px)/1.15 Georgia,serif}
.album-dashboard .house-tile>span::after,.album-dashboard .house-tile strong::after,.album-dashboard .house-tile small {display:none}
.album-dashboard .dashboard-calendar {border-color:#cbbc9e;border-radius:5px}
.album-dashboard .dashboard-calendar-head {background:#294c35;color:#fff8e9;padding:8px 12px}
.album-dashboard .dashboard-calendar-head h2 {border:0;padding:0;font:700 clamp(18px,1.65vw,25px)/1.15 Georgia,serif}
.album-guest-link {display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:8px;border:1px solid #cbbc9e;padding:7px 10px;color:#762634;border-radius:5px;font:700 clamp(16px,1.35vw,22px)/1.2 Georgia,serif}
.album-dashboard .mosel-outings {grid-column:1/-1}
.album-dashboard .discover-heading {margin:1px 0 5px;justify-content:flex-end}
.album-dashboard .visually-hidden {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.album-dashboard .mosel-outing-grid .outing-photo {aspect-ratio:3/1.05}
.album-dashboard .mosel-outing-grid .outing-photo h3 {bottom:6px}
@media(min-width:841px) {
  .bergrath-home .home-dashboard.album-dashboard {grid-template-columns:minmax(105px,19%) minmax(0,1fr) minmax(260px,25%)}
}
@media(max-width:840px) {
  .album-resources {grid-template-columns:repeat(2,minmax(0,1fr))}
  .album-resource img {aspect-ratio:3/1}
  .album-dashboard .house-tile {aspect-ratio:1.6}
}
@media(max-width:680px) {
  .album-dashboard .mosel-outing-grid {grid-template-columns:repeat(3,minmax(0,1fr))}
  .album-dashboard .mosel-outing-grid .mosel-outing-link {display:block;min-height:0}
  .album-dashboard .mosel-outing-grid .outing-photo {aspect-ratio:1.2}
  .album-dashboard .mosel-outing-grid .outing-photo img {width:100%}
  .album-dashboard .mosel-outing-grid .outing-photo h3 {font-size:clamp(12px,3vw,16px)}
}

.overview-detail.guest-album-dialog {width:min(1100px,calc(100% - 20px));background:#f9edda}
.overview-detail.guest-album-dialog>section {padding:18px clamp(10px,3.5vw,40px)}
.guest-album-heading {display:flex;justify-content:space-between;align-items:start;flex-wrap:wrap;gap:8px 14px;margin:0 0 15px}
.guest-album-heading h2 {font:500 clamp(23px,3vw,39px)/1.15 Georgia,serif;margin:0;color:#234431}
.guest-album-heading p {margin:3px 0 0;font-size:.81rem;color:#5d5748}
#guest-write,#guest-read {background:#752635;border:0;border-radius:5px;padding:9px 14px;color:#fff8e9;font:700 clamp(14px,1.45vw,19px)/1.2 Georgia,serif;min-height:42px;cursor:pointer}
#guest-read {margin-bottom:12px;background:#31513c}
#guest-write[hidden],#guest-write-panel[hidden],#guest-read-panel[hidden] {display:none}
.guest-album-dialog .guest-book-spread {
  isolation:isolate;gap:1%;border:0;border-radius:0;background:transparent url("bergrath-buch.webp") center / 100% 100% no-repeat;
  box-shadow:none;min-height:clamp(285px,37vw,430px);padding:4% 6% 8%;align-items:stretch;
}
.guest-album-dialog .guest-book-paper {min-height:0;padding:7px clamp(10px,2.3vw,29px);background:none;box-shadow:none;color:#44382b}
.guest-album-dialog .guest-book-paper blockquote {font:italic clamp(16px,1.62vw,23px)/1.46 Georgia,serif}
.guest-album-dialog .guest-book-meta h3 {color:#5e2632}
.guest-album-dialog .guest-book-photo {margin:10px auto 3px}
.guest-album-dialog .guest-book-photo img {width:clamp(100px,14vw,175px)}
.guest-album-dialog .guest-book-corner {right:6%;bottom:8%;border-radius:0 0 4px 0;z-index:2}
.guest-album-dialog .guest-book-controls {justify-content:center;gap:14px;margin:9px 0 2px}
.guest-album-dialog .guest-book-controls button {background:transparent;border:0;font-family:Georgia,serif}
.guest-book-leaf {
  position:absolute;z-index:4;inset:4% 6% 8% 50%;transform-origin:left center;pointer-events:none;
  transform-style:preserve-3d;animation:album-forward .8s cubic-bezier(.45,.15,.22,1) both;
}
.guest-book-leaf.guest-book-leaf-backwards {inset:4% 50% 8% 6%;transform-origin:right center;animation-name:album-backward}
.guest-album-dialog .guest-book-leaf .guest-book-paper {
  position:absolute;inset:0;padding:8px clamp(9px,2.2vw,27px);overflow:hidden;
  border-radius:3px 12px 10px 4px;backface-visibility:hidden;
  background:linear-gradient(95deg,#c7a575,#fff0cf 23%,#f4dda9 84%,#bf985f);
  box-shadow:5px 5px 12px #422e2559,inset -7px 0 14px #aa7d4b71;
}
.guest-book-leaf-back {transform:rotateY(180deg)}
@keyframes album-forward {
  0% {transform:perspective(950px) rotateY(0) skewY(0)}
  38% {transform:perspective(950px) rotateY(-63deg) skewY(-6deg)}
  86% {transform:perspective(950px) rotateY(-169deg) skewY(-2deg);opacity:1}
  100% {transform:perspective(950px) rotateY(-180deg);opacity:0}
}
@keyframes album-backward {
  0% {transform:perspective(950px) rotateY(0) skewY(0)}
  38% {transform:perspective(950px) rotateY(63deg) skewY(6deg)}
  86% {transform:perspective(950px) rotateY(169deg) skewY(2deg);opacity:1}
  100% {transform:perspective(950px) rotateY(180deg);opacity:0}
}
@media(max-width:680px) {
  .guest-album-dialog .guest-book-spread {min-height:0;background:linear-gradient(90deg,#e0be85,#f9e8c7 8%,#fff2d8 93%,#dfc18d);border:3px solid #6d3c35;padding:12px 35px 13px 12px}
  .guest-album-dialog .guest-book-paper {padding:3px}
  .guest-book-leaf,.guest-book-leaf.guest-book-leaf-backwards {inset:0}
}
@media(prefers-reduced-motion:reduce) {.guest-book-leaf {animation-duration:.01ms}}

@media(max-width:850px) {
  .overview-header #nav {top:100%;left:0;right:0;margin:0;padding:7px 15px;background:#f8f0e1;gap:0}
  .overview-header #nav a {display:flex;align-items:center;min-height:44px;padding:5px 7px;color:#26382b}
  .overview-header #nav a+a {border-top:1px solid #ddceb8}
  .bergrath-home .dashboard-shortcuts,.bergrath-home .overview-utility {
    position:static;inset:auto;margin-inline:0;
    background:none;box-shadow:none;flex-direction:row;
  }
  .bergrath-home .dashboard-shortcuts {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding:0}
  .bergrath-home .dashboard-shortcuts a {font-size:clamp(11px,3vw,14px);padding:6px 4px;text-align:center;overflow-wrap:anywhere}
  .bergrath-home .overview-utility {justify-content:center;gap:15px;padding:6px 12px 12px}
  .bergrath-home .album-dashboard {min-width:0}
  .mosel-guide-tabs {max-width:100%}
}

@media(max-width:850px) {
  .book-dialog .book-index:not([hidden]) {
    display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;
    position:static;inset:auto;padding:0;margin:8px 0 0;
    background:transparent;box-shadow:none;align-items:stretch;
  }
  .book-dialog .book-index button {
    border:1px solid #cbbb9e;border-radius:6px;min-height:42px;
    padding:4px 5px;font-size:clamp(13px,3.3vw,16px);overflow-wrap:anywhere;
  }
  .book-dialog .book-chapter-actions {margin:8px 0 0}
}
@media(max-width:680px) {
  .book-dialog .book-spread>.book-page {display:flex;min-height:105px}
  .book-dialog .book-mount {min-height:140px}
}

@media(max-width:840px) {
  #start.dashboard-panorama {
    display:grid;grid-template-columns:minmax(0,1fr);
    grid-template-rows:auto auto;align-content:center;gap:9px;
    padding:14px 10px 9px;
  }
  #start.dashboard-panorama .hero-copy {grid-column:1;grid-row:1;min-width:0;margin:0}
  #start.dashboard-panorama .hero-controls {
    grid-column:1;grid-row:2;justify-self:center;
    position:relative;inset:auto;margin:0;
  }
  #start.dashboard-panorama .dashboard-mobile-book {
    margin-top:8px;max-width:100%;min-height:44px;white-space:normal;
  }
}
