/* RENDEZVOUS 2026 – abschließende Projektregeln */
:root{--bg:#070708;--panel:#111113;--text:#f5f3f4;--muted:#b9b6bd;--line:rgba(255,255,255,.13)}
body{background:#070708;color:var(--text)}.rp-site{background:radial-gradient(ellipse at 85% 8%,rgba(92,8,27,.07),transparent 40%),#070708;min-height:100vh}
.rp-site h1,.rp-site h2,.rp-site h3{border-bottom:0;background-image:none}.rp-site :is(h1,h2,h3,.frame-header)::before,.rp-site :is(h1,h2,h3,.frame-header)::after{display:none!important}
.heading-line{display:block;width:70px;height:3px;background:var(--red);margin:23px 0}.footer-rule{display:none}.hero h1 em{color:#f5f3f4}.hero .eyebrow{color:var(--red)}.hero .eyebrow:before{display:none}.intro-strip{display:none}
#header.site-header{padding:0!important;margin:0!important;height:auto!important;min-height:0!important;background:linear-gradient(180deg,#151516,#050506);border-bottom:1px solid var(--line);box-shadow:0 8px 25px #0003}
#header .header-inner{display:flex;align-items:center;min-height:82px;height:82px;padding-block:0;gap:24px}#header .brand{display:flex;align-items:center;line-height:0;flex-shrink:0;max-width:235px}
#header .brand :is(.frame,.frame-group-container,.frame-group-inner,.frame-container,.frame-inner,.textmedia,.textmedia-item,.gallery-row,.gallery-item,figure,p,picture,a){display:block!important;padding:0!important;margin:0!important;min-height:0!important;gap:0!important;float:none!important;background:transparent!important;line-height:0!important;width:auto!important;max-width:100%}
#header .brand .textmedia-text,#header .brand .frame-header{display:none!important}#header .brand .frame:before,#header .brand .frame:after{display:none!important}#header .brand img{display:block!important;position:static!important;width:235px!important;height:auto!important;max-height:48px!important;object-fit:contain;transform:none!important;margin:0!important}
#header .navigation{align-self:center;gap:22px}#header .navilo{margin:0;padding:0;gap:21px}#header .navilo li{margin:0;padding:0}#header .navilo a{font:12px/1.5 Arial,sans-serif;padding:12px 0}#header .navilo li.active>a{color:var(--red)}
.button{border-radius:4px;background:linear-gradient(180deg,#f20a35,#cc0026);box-shadow:0 6px 20px #0003}.button:hover{background:linear-gradient(180deg,#ff1642,#df002b)}#header .button-small{padding:11px 18px;font-size:12px;min-height:42px;line-height:1.4}
.service-menu summary{display:flex;align-items:center;gap:12px;cursor:pointer;list-style:none;font:11px/1.5 Arial,sans-serif;color:#f5f3f4;white-space:nowrap;padding:15px 0}.service-menu summary::-webkit-details-marker{display:none}.service-menu[open] summary{color:var(--red)}.service-panel{position:absolute;right:0;top:100%;width:min(420px,100%);max-height:calc(100dvh - 82px);overflow:auto;padding:32px;background:linear-gradient(140deg,#171719,#080809);border:1px solid var(--line);box-shadow:-20px 25px 60px #0008}.service-panel h2{font-size:34px}.service-panel nav .navilo{display:block!important}.service-panel nav .navilo a{display:block!important;padding:12px 0!important;border-bottom:1px solid var(--line);font-size:16px!important}.service-panel nav ul ul{display:none!important}.service-panel .button{width:100%;margin-top:24px}
.hero{height:calc(100svh - 82px);min-height:570px;max-height:820px;background:radial-gradient(ellipse at 85% 40%,#34121b,#09090b 65%);isolation:isolate}.hero-video{z-index:0}.hero-shade{z-index:1;pointer-events:none;background:linear-gradient(90deg,#000d,#0006 60%,#0001),linear-gradient(0deg,#0006,transparent 50%)}.hero-content{position:relative;z-index:2;padding-top:55px;padding-bottom:95px}.hero-bottom{z-index:3}.hero-sub{height:auto;min-height:340px;max-height:none}.hero-sub .hero-content{padding-block:45px}.hero-sub h1{margin-bottom:0}.hero-sub .eyebrow{margin-top:26px}.hero-sub .breadcrumb-list{display:flex;gap:12px;flex-wrap:wrap;list-style:none;margin:0 0 20px;padding:0;font:11px/1.6 Arial,sans-serif;color:#d3cdd2}.breadcrumb-list li+li:before{content:'/';margin-right:12px;color:var(--red)}
.subhero-media{position:absolute;inset:0;z-index:0;pointer-events:none}.subhero-media :is(.frame,.frame-group-container,.frame-group-inner,.frame-container,.frame-inner,.textmedia,.textmedia-gallery,.gallery-row,.gallery-item,figure,picture,a){padding:0!important;margin:0!important;position:static!important;max-width:none!important;background:transparent!important}.subhero-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:0}.subhero-media :is(.textmedia-text,.frame-header,figcaption){display:none!important}
.content-shell{padding-block:45px}.content-shell>.frame{padding-top:0!important;margin-top:0!important;margin-bottom:35px}.content-shell>.frame:last-child{margin-bottom:0}.content-shell>.frame :is(.frame-group-container,.frame-group-inner,.frame-container,.frame-inner){padding-top:0!important;padding-bottom:0!important}.content-shell .frame-type-gridelements_pi1:has(.grid-container:empty){display:none}.content-columns{padding-bottom:45px}.frame p{color:#c9c5cc}
/* Weiße Textflächen bei Bootstrap-Karten und eigenen Zimmerkacheln */
#main :is(.card,.thumbnail,.rp-room-card){overflow:hidden;padding:0;background:#fff;color:#151518;border:1px solid #ffffff20;border-radius:9px;box-shadow:0 12px 28px #0004;transition:transform .35s,box-shadow .35s,border-color .35s}#main :is(.card-body,.caption,.rp-room-body){padding:20px 22px;background:#fff;color:#151518}#main :is(.card,.thumbnail,.rp-room-card) :is(h2,h3,h4,.card-title){color:#111114;background:none;font:400 28px/1.15 Georgia,serif;margin:0 0 10px}#main :is(.card,.thumbnail,.rp-room-card) p{color:#414147;font-size:14px;line-height:1.6;margin:0 0 14px}#main :is(.card,.thumbnail,.rp-room-card) img{display:block;width:100%;border-radius:0;transition:filter .6s}#main :is(.card,.thumbnail,.rp-room-card) a:not(.button):not(.btn){color:var(--red)}.rp-room-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px}.rp-room-card>img,.rp-room-card>a>img{aspect-ratio:16/10;object-fit:cover}.rp-room-link{font-size:13px;font-weight:700}
.rendezvous-footer{padding-top:0!important;background:linear-gradient(120deg,#0d0d0f,#050506)!important;border-top:1px solid var(--line)}.footer-invitation{display:flex;align-items:center;justify-content:space-between;gap:40px;padding-block:45px;border-bottom:1px solid var(--line)}.footer-invitation h2{font:400 clamp(30px,3vw,45px)/1.15 Georgia,serif;letter-spacing:-.025em;margin:0}.footer-invitation .eyebrow{margin-bottom:12px}.footer-invitation-action{display:flex;flex-direction:column;align-items:flex-start;gap:12px}.footer-invitation-action p{margin:0!important}.footer-grid{grid-template-columns:1.15fr 1fr 1fr;padding-block:45px;gap:55px}.footer-logo img{width:235px;height:auto;max-height:65px;object-fit:contain;object-position:left}.footer-editorial{margin-top:20px}.footer-signature{display:block;color:#aaa5ae;font:italic 16px/1.6 Georgia,serif}.footer-label{font-size:11px!important;font-weight:700;letter-spacing:.1em;color:#eee9ed!important}.footer-grid p,.footer-grid address,.footer-grid a{font-size:13px;color:#aaa5ae}.footer-bottom{align-items:center}.video-toggle{cursor:pointer}
.rp-reveal.rp-ready{transition:opacity .7s ease,translate .7s cubic-bezier(.2,.65,.3,1),transform .35s,box-shadow .35s,border-color .35s}.rp-reveal.rp-ready:not(.rp-visible){opacity:0;translate:0 24px}.rp-reveal.rp-ready.rp-from-top:not(.rp-visible){translate:0 -24px}.rp-reveal.rp-visible,.rp-reveal:focus-within{opacity:1!important;translate:0 0!important}
@media(hover:hover) and (pointer:fine){#main :is(.card,.thumbnail,.rp-room-card):hover{transform:translateY(-7px);border-color:#ed073077;box-shadow:0 20px 45px #0006}#main :is(.card,.thumbnail,.rp-room-card):hover img{filter:brightness(1.06)}}
@media(max-width:1350px){#header .brand img{width:200px!important}#header .navilo{gap:15px}#header .header-inner{gap:20px}#header .navigation{gap:16px}#header .navilo a{font-size:11px}}
@media(max-width:1150px){#header .header-inner{height:72px;min-height:72px}#header .desktop-menu,#header .service-menu{display:none!important}#header .menu-toggle{display:flex;flex-direction:column;justify-content:center;gap:7px;margin-left:auto;background:none;color:white;width:46px;height:46px;border:1px solid var(--line);cursor:pointer}#header .menu-toggle>span:not(.sr-only){display:block;width:22px;height:1px;background:currentColor;margin-inline:auto}#header .navigation{display:none;position:absolute;top:100%;left:0;right:0;margin:0;padding:20px 28px 30px;background:#09090b;max-height:calc(100dvh - 72px);overflow:auto;border-bottom:1px solid var(--line)}#header .navigation.is-open{display:block}#header .mobile-menu{display:block}#header .navilo{display:block}#header .navilo a{font-size:15px}#header :is(.sub2,.sub3){visibility:visible;opacity:1;transform:none;position:static;border:0;border-left:1px solid var(--line);background:none;padding:0 0 0 18px}#header :is(.sub2,.sub3) a{font-size:13px}.hero{height:calc(100svh - 72px)}.hero-sub{height:auto}.footer-grid{gap:30px}.footer-invitation{align-items:flex-start;flex-direction:column;gap:25px}}
@media(min-width:1151px){#header .menu-toggle,#header .mobile-menu{display:none!important}#header .navigation{display:flex!important}}
@media(max-width:800px){.rp-room-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.footer-grid{grid-template-columns:1fr 1fr}.footer-about{grid-column:1/-1}}
@media(max-width:640px){#header .header-inner{height:66px;min-height:66px}#header .brand img{width:190px!important;max-height:38px!important}.hero{height:auto;min-height:490px}.hero-sub{min-height:280px}.hero-sub .hero-content{padding-block:35px}.hero-content{padding-bottom:110px}.hero h1{font-size:41px}.hero-bottom{bottom:20px}.content-shell{padding-block:30px}.rp-room-grid{grid-template-columns:1fr;gap:20px}.footer-grid{grid-template-columns:1fr;gap:25px;padding-block:35px}.footer-about{grid-column:auto}.footer-invitation{padding-block:32px}.footer-invitation-action{width:100%}.footer-invitation-action .button{width:100%}.footer-bottom{align-items:flex-start}.service-panel{padding:23px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.rp-reveal,.rp-reveal.rp-ready{opacity:1!important;translate:none!important;transition:none!important}#main :is(.card,.thumbnail,.rp-room-card){transform:none!important;transition:none!important}}
@media print{.rp-reveal{opacity:1!important;translate:none!important}}

/* Menü-Feinschliff – 17.11.2026 */
#header .header-inner{gap:24px}
#header .navigation{gap:16px}
#header .desktop-menu>.navilo{gap:22px;flex-wrap:nowrap}
#header .desktop-menu .navilo>li>a{font-size:14px;line-height:1.5}
#header .service-menu{margin-left:4px}
#header .service-menu>summary{padding:10px 15px;border:1px solid #ffffff24;border-radius:7px;background:linear-gradient(180deg,#38383c,#232326);box-shadow:inset 0 1px 0 #ffffff0d;font-size:12px;line-height:1.5;transition:background .2s,border-color .2s}
#header .service-menu>summary:hover,#header .service-menu[open]>summary{background:linear-gradient(180deg,#48484d,#303034);border-color:#ffffff55;color:#fff}
#header .service-menu>summary span{font-size:13px;color:#c8c8cd}
#header .button-small{padding:8px 13px;min-height:36px;font-size:11px;gap:12px;border-radius:6px;box-shadow:none}
#header .button-small span{font-size:16px}
/* Runde Dropdowns mit klaren Zeilen und Hover-Flächen */
#header .desktop-menu :is(.sub2,.sub3){min-width:240px;padding:8px;border:1px solid #ffffff24;border-radius:12px;background:linear-gradient(145deg,#202023,#111113);box-shadow:0 18px 45px #0008}
#header .desktop-menu :is(.sub2,.sub3)>li{padding:0;margin:0;border-bottom:1px solid #ffffff16}
#header .desktop-menu :is(.sub2,.sub3)>li:last-child{border-bottom:0}
#header .desktop-menu :is(.sub2,.sub3)>li>a{display:block;padding:11px 13px;font-size:14px;line-height:1.5;white-space:normal;border-radius:7px;transition:background .2s,color .2s}
#header .desktop-menu :is(.sub2,.sub3)>li>a:hover,#header .desktop-menu :is(.sub2,.sub3)>li>a:focus-visible{background:#ffffff14;color:#fff}
#header .desktop-menu :is(.sub2,.sub3)>li.active>a{background:#ed073024;color:#ff5273}
#header .service-panel{right:24px;top:calc(100% + 9px);width:min(410px,calc(100vw - 32px));border-radius:14px;padding:27px;max-height:calc(100dvh - 110px)}
#header .service-panel nav .navilo>li{border-bottom:1px solid #ffffff18}
#header .service-panel nav .navilo>li:last-child{border-bottom:0}
#header .service-panel nav .navilo>li>a{padding:12px!important;margin:3px 0;border:0!important;border-radius:7px;font-size:15px!important;transition:background .2s,color .2s}
#header .service-panel nav .navilo>li>a:hover,#header .service-panel nav .navilo>li>a:focus-visible{background:#ffffff14;color:white}
#header .service-panel nav .navilo>li.active>a{background:#ed073024;color:#ff5273}
/* Separate Aufklapp-Tasten erhalten die normalen Seitenlinks. */
#header .mobile-menu li{position:relative}
#header .mobile-menu li.rp-has-accordion>a{padding-right:55px}
#header .mobile-menu .rp-submenu-button{position:absolute;right:0;top:4px;display:grid;place-items:center;width:40px;height:36px;padding:0;border:1px solid #ffffff20;border-radius:7px;background:#ffffff08;color:#eee;cursor:pointer;line-height:1;transition:background .2s}
#header .mobile-menu .rp-submenu-button:hover{background:#ffffff1a}
#header .mobile-menu .rp-submenu-button:focus-visible{outline:2px solid var(--red);outline-offset:2px}
#header .mobile-menu .rp-submenu-button span{display:block;font:22px/1 Arial,sans-serif}
#header .mobile-menu ul[hidden]{display:none!important}
#header .mobile-menu .navilo>li{border-bottom:1px solid #ffffff18}
#header .mobile-menu .navilo>li>a{padding:12px 10px;font-size:16px;border-radius:7px}
#header .mobile-menu .navilo a:hover,#header .mobile-menu .navilo a:focus-visible{background:#ffffff10}
#header .mobile-menu :is(.sub2,.sub3)>li>a{padding:10px;font-size:14px}
@media(min-width:1151px) and (max-width:1450px){#header .shell{width:calc(100% - 48px)}#header .brand img{width:185px!important}#header .header-inner{gap:18px}#header .desktop-menu>.navilo{gap:15px}#header .desktop-menu .navilo>li>a{font-size:13px}#header .navigation{gap:12px}#header .service-menu>summary{padding:9px 12px;font-size:11px}#header .button-small{padding:8px 11px;font-size:11px}}

/* Inhaltselemente: Abstände auch in verschachtelten Grids */
#main .content-shell .frame {
  min-height: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 25px !important;
}

#main .content-shell .frame :is(
  .frame-group-container,
  .frame-group-inner,
  .frame-container,
  .frame-inner
) {
  min-height: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Leere Grid-Elemente ausblenden:
   funktioniert auch bei Leerzeichen im Grid-Container */
#main .content-shell .frame-type-gridelements_pi1:has(
  .grid-container
):not(:has(.grid-container > *)) {
  display: none !important;
}

/* Abstand zwischen Galerie und leerem Textbereich entfernen */
#main .content-shell .textmedia-above {
  row-gap: 0 !important;
}

#main .content-shell .textmedia-gallery {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

#main .content-shell .gallery-row {
  margin-bottom: 0 !important;
}

#main .content-shell figure.image {
  margin-bottom: 0 !important;
}

/* Leere Textbereiche unter reinen Bildergalerien */
#main .content-shell .textmedia-text:not(:has(*)) {
  display: none !important;
}

/* Überschriften kompakter */
#main .content-shell .frame-header {
  padding: 0 !important;
  margin: 0 0 20px !important;
}

#main .content-shell :is(h1, h2, h3) {
  margin-top: 0 !important;
  margin-bottom: 20px !important;
}

/* Letztes Element im jeweiligen Grid ohne Zusatzabstand */
#main .content-shell .frame:last-child {
  margin-bottom: 0 !important;
}

/* ==========================================
   ZIMMERÜBERSICHTEN
   custom-11 = 3 Spalten
   custom-12 = 2 Spalten
   custom-13 = 4 Spalten
========================================== */

/* Spalten je Variante */
#main .frame-custom-11 {
  --zimmer-spalten: 3;
}

#main .frame-custom-12 {
  --zimmer-spalten: 2;
}

#main .frame-custom-13 {
  --zimmer-spalten: 4;
}

/* Gemeinsame Einstellungen */
#main :is(
  .frame-custom-11,
  .frame-custom-12,
  .frame-custom-13
) {
  --zimmer-abstand: 26px;
}

/* Überschrift */
#main :is(
  .frame-custom-11,
  .frame-custom-12,
  .frame-custom-13
) .frame-header h2 {
  margin-bottom: 25px !important;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 3vw, 44px) !important;
  font-weight: 400;
  line-height: 1.2;
}

/* Galerie – unvollständige Reihen werden zentriert */
#main :is(
  .frame-custom-11,
  .frame-custom-12,
  .frame-custom-13
) .gallery-row {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: stretch !important;
  gap: var(--zimmer-abstand) !important;

  width: 100%;
  padding: 0 !important;
  margin: 0 !important;
}

/* Kartenbreite anhand der Spaltenanzahl */
#main :is(
  .frame-custom-11,
  .frame-custom-12,
  .frame-custom-13
) .gallery-row > .gallery-item {
  flex: 0 0 calc(
    (100% - (var(--zimmer-spalten) - 1) * var(--zimmer-abstand))
    / var(--zimmer-spalten)
  ) !important;

  width: calc(
    (100% - (var(--zimmer-spalten) - 1) * var(--zimmer-abstand))
    / var(--zimmer-spalten)
  ) !important;

  max-width: none !important;
  min-width: 0;
  padding: 0 !important;
  margin: 0 !important;
}

/* Komplette Karte */
#main :is(
  .frame-custom-11,
  .frame-custom-12,
  .frame-custom-13
) figure.image {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  overflow: hidden;

  height: 100%;
  padding: 0 !important;
  margin: 0 !important;

  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 14px;

  color: #171719;
  background: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .2);

  transition:
    transform .35s ease,
    box-shadow .35s ease,
    border-color .35s ease;
}

/* Bildlink */
#main :is(
  .frame-custom-11,
  .frame-custom-12,
  .frame-custom-13
) figure.image > a {
  display: block;
  overflow: hidden;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  background: #161618;
}

/* Gesamte Karte anklickbar */
#main :is(
  .frame-custom-11,
  .frame-custom-12,
  .frame-custom-13
) figure.image > a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
}

/* Einheitliches Bildformat */
#main :is(
  .frame-custom-11,
  .frame-custom-12,
  .frame-custom-13
) figure.image picture {
  display: block;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 4 / 3;
}

/* Zentrierter Bildausschnitt */
#main :is(
  .frame-custom-11,
  .frame-custom-12,
  .frame-custom-13
) figure.image img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;

  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;

  object-fit: cover;
  object-position: center;

  transition:
    transform .65s cubic-bezier(.2, .65, .3, 1),
    filter .65s ease;
}

/* Weiße Namensfläche */
#main :is(
  .frame-custom-11,
  .frame-custom-12,
  .frame-custom-13
) figure.image > figcaption.caption {
  position: relative;
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: space-between;
  gap: 15px;

  min-height: 88px;
  padding: 22px 25px !important;
  margin: 0 !important;

  color: #171719 !important;
  background: #fff !important;

  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(23px, 2vw, 29px) !important;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -.025em;
  overflow-wrap: anywhere;
}

/* Vier Spalten: etwas kompaktere Beschriftung */
#main .frame-custom-13 figure.image > figcaption.caption {
  padding: 20px !important;
  font-size: clamp(21px, 1.7vw, 26px) !important;
}

/* Roter Pfeil */
#main :is(
  .frame-custom-11,
  .frame-custom-12,
  .frame-custom-13
) figure.image > figcaption.caption::after {
  content: "↗";
  flex-shrink: 0;
  color: #ed0730;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 27px;
  line-height: 1;
  transition: transform .3s ease;
}

/* Leere Textbereiche entfernen */
#main :is(
  .frame-custom-11,
  .frame-custom-12,
  .frame-custom-13
) .textmedia-text:not(:has(*)) {
  display: none !important;
}

#main :is(
  .frame-custom-11,
  .frame-custom-12,
  .frame-custom-13
) .textmedia {
  row-gap: 0 !important;
}

#main :is(
  .frame-custom-11,
  .frame-custom-12,
  .frame-custom-13
) .textmedia-gallery {
  margin-bottom: 0 !important;
}

/* Hover */
@media (hover: hover) and (pointer: fine) {
  #main :is(
    .frame-custom-11,
    .frame-custom-12,
    .frame-custom-13
  ) figure.image:hover {
    transform: translateY(-6px);
    border-color: #ed0730;
    box-shadow: 0 22px 45px rgba(0, 0, 0, .35);
  }

  #main :is(
    .frame-custom-11,
    .frame-custom-12,
    .frame-custom-13
  ) figure.image:hover img {
    transform: scale(1.045);
    filter: brightness(1.06);
  }

  #main :is(
    .frame-custom-11,
    .frame-custom-12,
    .frame-custom-13
  ) figure.image:hover > figcaption.caption::after {
    transform: translate(3px, -3px);
  }
}

/* Tastaturfokus */
#main :is(
  .frame-custom-11,
  .frame-custom-12,
  .frame-custom-13
) figure.image:focus-within {
  outline: 3px solid #ed0730;
  outline-offset: 4px;
}

/* Tablet: maximal zwei Spalten */
@media (max-width: 1000px) {
  #main :is(
    .frame-custom-11,
    .frame-custom-12,
    .frame-custom-13
  ) {
    --zimmer-spalten: 2;
  }
}

/* Smartphone: eine Spalte */
@media (max-width: 600px) {
  #main :is(
    .frame-custom-11,
    .frame-custom-12,
    .frame-custom-13
  ) {
    --zimmer-spalten: 1;
    --zimmer-abstand: 20px;
  }

  #main :is(
    .frame-custom-11,
    .frame-custom-12,
    .frame-custom-13
  ) figure.image > figcaption.caption {
    min-height: 76px;
    padding: 19px 22px !important;
    font-size: 26px !important;
  }
}

/* Reduzierte Bewegung */
@media (prefers-reduced-motion: reduce) {
  #main :is(
    .frame-custom-11,
    .frame-custom-12,
    .frame-custom-13
  ) figure.image,
  #main :is(
    .frame-custom-11,
    .frame-custom-12,
    .frame-custom-13
  ) figure.image img,
  #main :is(
    .frame-custom-11,
    .frame-custom-12,
    .frame-custom-13
  ) figure.image > figcaption.caption::after {
    transform: none !important;
    transition: none !important;
  }
}

/* Bildausschnitt beim Zoom begrenzen */
#main figure.image picture {
  display: block;
  overflow: hidden;
  border-radius: 10px;
}

/* Weicher Übergang */
#main figure.image picture img {
  display: block;
  transform-origin: center;
  transition:
    transform .65s cubic-bezier(.2, .65, .3, 1),
    filter .65s ease;
}

/* Hover nur auf Geräten mit Maus */
@media (hover: hover) and (pointer: fine) {
  #main figure.image:hover picture img {
    transform: scale(1.045);
    filter: brightness(1.08) saturate(1.04);
  }
}

/* Gleicher Effekt bei Tastaturbedienung */
#main figure.image:focus-within picture img {
  transform: scale(1.045);
  filter: brightness(1.08) saturate(1.04);
}

/* Bestehende Zimmerkarten: keine runden inneren Bildkanten */
#main :is(
  .frame-custom-11,
  .frame-custom-12,
  .frame-custom-13
) figure.image picture {
  border-radius: 0;
}

/* Reduzierte Bewegung berücksichtigen */
@media (prefers-reduced-motion: reduce) {
  #main figure.image picture img {
    transform: none !important;
    transition: none !important;
  }
}
