/* ============================================
   ITCSS LAYER: SETTINGS
   - Global Farb- und Font-Dokumentation (Werte via ACF Optionsseite)
   - Gruppe: site-colors
   - Felder: --light-color, --main-color, --dark-color

   Statische IDUNA Farben:
   --idu-off-black: #050100;
   --idu-off-white: #FFFDFA;
   --idu-base:      #fff5e5;

   Statische IDUNA Fonts:
   --font-open-sans
   --font-poppins
============================================ */

/* ============================================
              BASE / ELEMENT STYLES
   ITCSS LAYER: ELEMENTS
============================================ */
body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-open-sans);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-poppins);
  letter-spacing: 0.5px;
}

h1 {
  font-size: 1.3rem;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--idu-off-black);
  margin: 0;
}

h2 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--main-color);
  margin: 0;
}

h3  {
  font-size: 1.25rem;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--idu-off-black);
  margin: 0;
}

.colorscheme-dark h3 {
  color: var(--idu-off-white)
}

h4 {
  font-size: 2.35rem;
  font-weight: 700;
  line-height: 3rem;
  margin: 0.25rem 0 1rem;
  color: var(--main-color);
}

h5 {
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--idu-off-black);
  margin: 0;
}

h6 {
  font-size: 1.25rem;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--idu-off-black);
  margin: 0;
}

p, li {
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 400;
  margin: 0;
}

b, strong {
  font-weight: 700;
}

ul {
  padding-left: 1.5rem;
}

main {
  width: 100%;
}

.wysiwyg > p {
  padding-bottom: 1rem;
}

/* ============================================
   MOBILE TYPOGRAPHY (<=980px)
============================================ */
@media (max-width: 500px) {
  h1 {
    font-size: 1.1rem;
  }
  h2 {
    font-size: 2rem;
  }
  h3 {
    font-size: 1.1rem;
  }
  h4 {
    font-size: 1.8rem;
    line-height: 2.2rem;
  }
  h5 {
    font-size: 1.1rem;
  }
  h6 {
    font-size: 1.1rem;
  }
  li {
    font-size: 0.9rem;
    line-height: 1.4;
  }
}

/* ============================================
   ITCSS LAYER: OBJECTS / LAYOUT
   - Header Layout / Sections / Inner Wrapper
============================================ */

/* ============================================
        PAGE HEADER (Desktop-Default)
============================================ */

.mobile-button-wrapper {
    display: none;
  }


/* Fixierter Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: var(--idu-off-white); 
  transition: transform 0.3s ease;
  box-shadow: 0px 1px 10px 0px rgba(0,0,0,0.2);
}

/* Wenn ausgeblendet */
header.header--hidden {
  transform: translateY(-100%);
}

.header-inner {
  max-width: var(--max-wid-large);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--fg-des-medium);
  padding: 1.5rem 8vw;
  margin: auto;
}

@media (max-width: 1280px) {
  .header-inner {
    padding: 1.5rem 8vw;
  }
}

@media (max-width: 980px) {

  .header-inner {
    padding: 0.5rem 4vw;
  }
}



/* ============================================
   ITCSS LAYER: COMPONENTS – HEADER / NAVIGATION
============================================ */

/* ============================================
        HEADER BRANDING (Logo)
============================================ */

.site-branding {
  flex: 0 1 auto;
  height: 75px;
  margin: 0 auto 0 0;
  width: auto;
  position: relative;   /* nötig für z-index */
  z-index: 10000;       /* höher als die mobile Nav */
}

.site-branding img {
    height: 100%;
    width: auto;
}

/* ============================================
        HEADER NAVIGATION
============================================ */

.header-navigation {
  width: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0;
}

/*
.header-navigation-wrapper {
  min-width: calc(50% - (var(--fg-des-medium)/2));
}
*/

@media (max-width: 1280px) {
  .header-navigation-wrapper {
    display: flex;
    flex-direction: row-reverse;
  }
}

.header-wrapper-button-secondary {
  display: flex;
  align-items: center;
  gap: var(--fg-des-small);
  justify-content: flex-end;
  margin: 0;
}

/* Desktop Menus */
.main-navigation {
  margin-right: 2rem;
}

.main-navigation ul {
  display: flex;
  gap: 15px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-navigation li {
  display: inline-block;
  position: relative;
}

.main-navigation a {
   color: var(--idu-off-black);
  text-decoration: none;
  font-family: var(--font-open-sans);
  font-weight: 700;
  font-size: 1rem;
}

.secondary-navigation {
  display: flex;
  flex-direction: column;
  align-items: flex-starts;
}

.language-navigation {
  align-items: flex-start;
}

.secondary-navigation .menu-secondary {
  list-style: none;
  margin: 0;
  padding: 0;
}

.secondary-navigation .menu-secondary li {
  margin-bottom: 0.2rem;
  line-height: 0.75rem;
}

.secondary-navigation a {
  color: var(--idu-off-black);
  text-decoration: none;
  font-family: var(--font-open-sans);
  font-weight: 400;
  font-size: 0.75rem;
  line-height: 0.75rem;
  text-transform: uppercase;
}

ul.lang-menu {
  display: flex;
  gap: 0.5rem;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
}

.footer-nav a {
  color: var(--idu-off-black);
  text-decoration: none;
  font-family: var(--font-open-sans);
  font-weight: 400;
  font-size: 1rem;
}

.footer-nav-secondary a {
  font-size: 0.75rem;
  line-height: 0.75rem;
  text-transform: uppercase;
}

.main-navigation a:visited,
.secondary-navigation a:visited,
.footer-nav a:visited {
  color: var(--idu-off-black);
}

.main-navigation a:hover {
  color: var(--main-color);
}

.secondary-navigation a:hover,
.footer-nav a:hover {
  color: var(--dark-color);
}

.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
  text-decoration: underline solid var(--main-color);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.25rem;
  white-space: nowrap;
}



/* ============================================
        MOBILE NAVIGATION
============================================ */

/* Desktop: Burger standardmäßig ausgeblendet */
.burger-toggle {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  gap: 6px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  position: relative;
  z-index: 10000;
  transition: transform 0.3s ease;
   cursor: pointer;
  padding: 0;
}

/* Burger fixieren, wenn Navigation aktiv */
.burger-toggle.active{
  position: fixed;
  top: 1.5rem;
  right: 2rem;
}

.burger-line {
  display: block;
  height: 2px;
  background-color: var(--dark-color);
  width: 100%;
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Animation ins X */
.burger-toggle.is-active .burger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.burger-toggle.is-active .burger-line:nth-child(2) {
  opacity: 0;
}

.burger-toggle.is-active .burger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile-Ansicht */
@media (max-width: 1280px) {
  /* Burger sichtbar */
  .burger-toggle {
    display: flex;
  }

  /* Navigation standardmäßig ausblenden */
  .header-navigation {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9990;
    background: var(--idu-off-white);
    flex-direction: column;
    gap: 2rem;
    padding: 12rem 8vw;
  }

  /* Sichtbar, wenn aktiv */
  .header-navigation.is-active {
    display: flex;
    background-color: var(--idu-base);
    animation: fadeIn 0.3s ease;
    justify-content: center;
  }

  .header-navigation.fade-out {
    animation: fadeOut 0.3s ease forwards;
  }

  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
  }

 
  .header-main-menu {
    width: 100%;
  }

  .main-navigation {
      margin-right: 0;
  }

  /* Hauptmenü vertikal */
  .main-navigation ul {
    display: block;
    gap: 0;
    list-style: none;
    margin: 0 0 2rem;
    padding: 0;
  }

  .main-navigation li {
    display: block;
    text-align: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--main-color);
  }

  li .menu-item {
    border: 1px solid var(--main-color);
  }

  /*
  .main-navigation li::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: -80px;
      right: -80px;
      height: 2px;
      background-color:var(--dark-color);
  }*/

  
  .main-navigation a {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-color);
    text-decoration: none;
   /* transition: font-weight 0.2s;*/
  }

  .main-navigation a:hover {
    font-weight: 700;
     color: var(--dark-color);
  }

  .main-navigation .current-menu-item > a, .main-navigation .current_page_item > a {
    text-decoration: none;
    font-weight: 700;
    color: var(--dark-color);
  }

  /* Block darunter: Button + Sekundärmenü untereinander */
  .header-wrapper-button-secondary {
    flex-direction: column;
    gap: 1.25rem;
    align-items: center;
  }

  .header-secondary-menu {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    align-items: center;
    margin-top: 1.5rem;
  }

  .header-secondary-menu .menu-secondary,
  .language-navigation .lang-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
  }
 
  .language-navigation {
    align-items: center;
  }

  
    /* Mobile Button Wrapper */
    .mobile-button-wrapper {
      position: absolute;
      bottom: 1.5rem;              /* Abstand vom unteren Rand des Sliders */
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      flex-direction: column;
      align-items: center;
      z-index: 9;
    }

 
  

  .header-button a.button.main{
    font-size: 1rem;
  }

  @media (max-width: 980px) {

    .header-button a.button.main {
      font-size: 0.8rem;
    }
  }

  /* Branding mittig */
  .site-branding {
    flex: 0 1 auto;
    height: 75px;
    width: auto;
  }

  /* Intro Box nur Desktop */
  .intro-box_container {
    display: none;
  }


  /* Animation */
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
  }

}


@media (max-width: 768px) {

  .site-branding {
    height: 50px;
  }

  .header-navigation.is-active {
    padding: 8rem 8vw 4rem 8vw;
    justify-content: center;
  }

}



/* ============================================
        Light Color Scheme 
============================================ */

section.colorscheme-light{
    background-color: var(--idu-base);
 }

 section.colorscheme-dark{
    background-color: var(--dark-color);
 }

/* ============================================
   ITCSS LAYER: COMPONENTS – BUTTONS
============================================ */

/* ============================================
        BUTTON: 
============================================ */
.button {
  border-radius: 100px;
  color: var(--idu-off-white);
  font-weight: 700;
  font-size: 0.875rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.75rem 1.25rem;
  display: inline-block;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  min-width: 8rem;
/*margin-right: 25px;*/
}

.button.dark { 
  background-color: var(--dark-color);
  border: 2px solid var(--dark-color);
  color: var(--idu-off-white);
}

.button.dark:hover {
  background-color: var(--light-color);
  border: 2px solid var(--dark-color);
  color: var(--dark-color);
}

.button.main { 
  background-color: var(--main-color);
  border: 2px solid var(--main-color);
  color: var(--idu-off-white);
}

.button.main:hover { 
  background-color: var(--idu-off-white);
  border: 2px solid var(--main-color);
  color: var(--main-color);
}


.button span {
  display: inline-block;
}


footer .button {
  background-color: var(--dark-color);
  border-color: var(--dark-color);
  color: var(--idu-off-white);
  margin-right: 0px;
}


.button a:visited,
.button a:focus,
.button a:hover {
  color: var(--idu-off-white);
}

.btn_news {
  margin-top: 1.5rem;
}

.button.main.btn_news:hover {
  background-color: var(--idu-base);
}




/* ============================================
   ITCSS LAYER: COMPONENTS – FOOTER
============================================ */

/* ============================================
              FOOTER
============================================ */
footer {
  max-width: 100vw;
}

.footer-inner {
  max-width: var(--max-wid-large);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--fg-des-medium);
  flex-wrap: wrap;
  padding: var(--pa-des-around-large);
  margin: auto;
}

.footer-branding-wrapper {
  width: calc(50% - (var(--fg-des-medium)/2));
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: var(--fg-des-small);
}

.footer-branding-logo {
  width: 100px;
  position: relative;
  max-height: 100%;
}


.footer-navigation-wrapper {
  width: calc(50% - (var(--fg-des-medium)/2));
  display: flex;
  gap: var(--fg-des-medium);
  flex: 1;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-nav-idu-main-wrapper {
  display: flex;
  gap: var(--fg-des-medium);
  justify-content: flex-start;
}

.footer-nav-iduna,
.footer-nav-main,
.footer-reservieren,
.footer-nav-secondary {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-nav-iduna,
.footer-nav-main {
  border-left: 1px solid var(--dark-color);
  padding-left: var(--fg-des-small);
  padding-bottom: var(--fg-des-medium);
  gap: var(--fg-des-xsmall);
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav li {
  margin-bottom: 1px;
}

.footer-nav-iduna .footer-iduna-nav-list li:nth-child(1),
.footer-nav-iduna .footer-iduna-nav-list li:nth-child(4),
.footer-nav-iduna .footer-iduna-nav-list li:nth-child(5) {
  margin-bottom: 0.75rem;
}

.footer-button-secondary {
  display: flex;
  flex-direction: column;
  align-items: flex-end; /* ← sorgt für Links-Ausrichtung */
  gap: 1rem;
}
.footer-button-secondary,
.footer-button,
.footer-secondary-menu {
  align-items: flex-end;
}

.footer-nav-secondary-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-end; /* Alles rechtsbündig innerhalb */
  text-align: left;
  gap: var(--fg-des-small);
}

/* Footer Social Media Icons */
.footer-social-media {
  display: flex;
  gap: var(--fg-des-xsmall);
  justify-content: flex-end; /* Icons auch rechtsbündig */
}

.some-icon_footer {
  width: 1.5rem;
  height: 1.5rem;
  fill: var(--idu-off-black);
}

.some-icon_footer:hover {
  fill: var(--dark-color);
}

@media (max-width: 980px) {
  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-branding-wrapper {
    width: 100%;
    align-items: center;
    text-align: center;
    gap: 1rem;
    display: flex;
    flex-direction: column;
  }

  .footer-branding-logo {
    margin-bottom: 0;
  }

  .footer-nav-secondary-wrapper {
    width: 100%;
    align-items: center;
    gap: var(--fg-des-medium);
    display: flex;
    flex: 0 0 100%;
    flex-direction: column;
    order: 1;
  }

  .footer-nav-secondary {
    width: 100%;
    flex-direction: row;
    gap: var(--fg-des-medium);
    flex-wrap: wrap;
    justify-content: flex-start;
    display: flex;
  }

  .footer-nav-secondary .footer-nav {
    justify-content: start;
    display: flex;
    flex: 1;
  }

  .footer-navigation-wrapper {
    flex-direction: column-reverse;
    align-items: center;
    order: 3;
    display: flex;
    text-align: left;
    gap: var(--fg-des-small);
    width: auto;
  }

  .footer-nav-idu-main-wrapper {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }

  .footer-nav-iduna,
  .footer-nav-main {
    align-items: left;
    border: none;
    width: auto;
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 0;
  }

  ul.footer-secondary-nav-list {
    gap: 10px;
    display: flex;
  }

  .some-icon_footer {
    width: 1rem;
  }
}




/* ============================================
   ITCSS LAYER: COMPONENTS – COOKIE BANNER
============================================ */

/* ============================================
        COOKIE BANNER (Complianz) 
============================================ */

/* Container */
.cmplz-cookiebanner{
    background: #2e2300 !important;
    border: none !important;
    border-color: #2e2300 !important;
    border-width: 0px !important;
    border-radius: 0px !important;
}

.cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-accept {
    background-color: #b88d00 !important;
    border: none !important;
    color: #ffffff !important;
}

.cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-deny {
    background-color: #f9f9f9 !important;
    border: none !important;
    color: #222222 !important;
}

.cmplz-cookiebanner .cmplz-link,
.cmplz-cookiebanner .cmplz-message,
.cmplz-cookiebanner .cmplz-category-title,
.cmplz-cookiebanner .cmplz-always-active,
.cmplz-cookiebanner .cmplz-description {
  color: #ffffff !important;
}

.cmplz-cookiebanner .cmplz-categories .cmplz-category {
    background-color: #b88d00;
}





/* ============================================
   ITCSS LAYER: OBJECTS / LAYOUT
   - Sections – Generic Layout
============================================ */

/* ============================================
        SECTIONS – GENERIC LAYOUT
============================================ */

section {
  display: flex;
  flex-direction: row;
  margin: var(--ma-des-large);
  padding: 0;
}

section.sc_flex_first {
  margin: 0;
  padding: 5rem 0;
}

section.sc_text-formular.sc_flex_last {
  margin: 0;
}

.section-inner {
  width: 100%;
  max-width: var(--max-wid-large);
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: flex-start;
  gap: var(--fg-des-medium);
  margin: auto;
  padding: var(--pa-des-large);
  justify-content: space-between;
}

.section-default .section-inner{
  flex-direction: column;
}


.section-inner .left {
  width: calc(50% - (var(--fg-des-medium)/2) - 8vw);
}

.section-inner .right {
  width: calc(50% - (var(--fg-des-medium)/2));
}

.text-editor {
  gap: 0;
}

.text-editor h5, .text-editor h6 {
  margin-top: 1.5rem;
}

.text-editor p {
  margin-bottom: 1rem;
}

@media (max-width: 1280px) {

  section.sc_flex_first {
    margin: var(--ma-des-large);
    padding: 0;
  }

}

@media (max-width: 980px) {

  section.sc_flex_first {
    margin: 0;
    padding: 3rem 0;
  }

}

/* ============================================
   ITCSS LAYER: COMPONENTS – SECTION TYPES
============================================ */

/* ============================================
              SECTIONS – Formular
============================================ */

.sc_text-formular .left, .sc_text-formular .right {
  margin: var(--ma-des-medium);
}

.sc_text-formular .left p {
  color: var(--idu-off-white);
}

.sc_text-formular .right p {
  width: 100%;
  color: var(--light-color);
}

/* Formular-Elemente (Contact Form 7 oder ähnlich) */
.sc_text-formular .right input[type="text"],
.sc_text-formular .right input[type="email"],
.sc_text-formular .right input[type="tel"],
.sc_text-formular .right textarea {
  background: none;
  border: none;
  border-bottom: 1px solid var(--light-color);
  width: 100%;
  padding: 0.5rem 0;
  margin-bottom: 1rem;
  color: var(--idu-off-white);
  font-size: 1rem;
}

.sc_text-formular .right input::placeholder,
.sc_text-formular .right textarea::placeholder {
  color: var(--idu-off-white);
}

/* Senden Button */
.sc_text-formular .right input[type="submit"] {
  width: auto;
  background-color: var(--light-color);
  color: var(--dark-color);   
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  border-radius: 100px;
  border: 2px solid var(--light-color);
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  text-align: center;
  text-transform: uppercase;
  font-size: 0.875rem;
}

.colorscheme-dark .right input[type="submit"]:hover {
    background-color: var(--dark-color); /* optional: dunklere Variante */
    color: var(--light-color);   
    border: 2px solid var(--light-color);
}

.formular_block {
  display: flex;
  flex-direction: column;
  gap: var(--fg-des-small);
}

.formular_name, .formular_kontaktinfo {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  gap: var(--fg-des-small);
}

/* ============================================
        CONTACT FORM 7 STYLES
============================================ */ 

.wpcf7 input:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
  outline: none;
  border: 2px solid var(--light-color);
  transition: border 0.2s ease;
}


/* ============================================
        SECTION – VIDEO HEADER
============================================ */

.video-header {
  width: 100%;
  height: 75vh;
  overflow: hidden;
  position: relative;
  margin: 0 !important;
}

.video-header__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* Swiper Container Basis */
swiper-container {
  display: block;
  width: 100%;
  position: relative;
}

/* ============================================
        SECTION – HEADER SLIDER
============================================ */


section.header-gallery-slider {
  width: 100%;
  position: relative; /* notwendig für .intro-box overlap */
  margin: 0 !important;
}

.header-gallery-slider swiper-container {
  width: 100%;
  aspect-ratio: 16/9;
  max-height: 80vh;
}


@media (max-width: 980px) {

 
  .header-gallery-slider swiper-container {
    min-height: 300px;  /* Fallback */
    aspect-ratio: 4/5;
  }

  .header-gallery-slider swiper-slide img {
    height: 100%;
    width: 100%;
    object-fit: cover;   /* Bild wird beschnitten, füllt aber alles */
    object-position: center;
  }
}

.intro-inner {
  width: var(--max-wid-large);
  margin: auto;
}







/* ============================================
        SECTION – Gallery SLIDER CAROUSEL
============================================ */

.sc_gallery-slider  .section-inner {
  padding: 0; /* falls noch vorhanden */
  max-width: none;
}

.gallery-carousel {
  width: 100%;
  height: 450px; /* Höhe des Sliders */
}

@media (min-width: 1600px) {
  .gallery-carousel {
    height: 550px;
  }

}
@media (min-width: 2000px) {
  .gallery-carousel {
    height:600px;
  }
}

swiper-slide {
  width: 60%; /* zentrale Slide */
  height: 100%;
  flex-shrink: 0;
  overflow: hidden;
  transition: transform 0.4s ease;
}

/* Bilder im Slide */
swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}


/* Pfeile standardmäßig ausgeblendet */
swiper-container::part(button-prev),
swiper-container::part(button-next) {
  opacity: 0;
  visibility: hidden;
  color: white;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

@media (max-width: 980px) {

  swiper-container::part(button-prev),
  swiper-container::part(button-next) {
    opacity: 0 !important;
    visibility: hidden !important;
  }
}



/* Pagination-Container Varianten */
swiper-container::part(pagination) {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-left: 0;
  position: absolute;
  top: auto;
  right: 3rem;
  bottom: 3rem;
  left: auto;
}

@media (max-width: 1280px) {

  swiper-container::part(pagination) {
    bottom: 1.5rem;
    right: 4vw;
  }

}

.swiper-pagination-bullet {
  width: 0.5rem;
  height: 0.5rem;
  border: 2px solid currentColor;
  background: transparent;
  opacity: 1;
  transition: background 0.3s ease;
}


.swiper-pagination-bullet-active {
  background: currentColor;
}

/* ============================================
   SECTION – GOOGLE MAPS / TEXT
============================================ */

.sc_google_maps-text h3 {
  margin-bottom: 20px;
}

/* ============================================
   INTRO TEXT BOX
============================================ */

.intro-box_container,
.sc_tripple_intro {
  position: relative;
  max-width: var(--max-wid-large);
  transform: translateY(-50%);
  margin: 0 auto -150px auto;
  z-index: 10;
  pointer-events: none;
}

.intro-box.overlap-between {
  width: 400px;
  height: auto;
  padding: 3rem;
  background: var(--main-color);
  display: flex;
  z-index: 10;
  flex-direction: column;
  justify-content: center;
  margin:0 8vw;
}


/* Optionales Styling für Text */
.intro-box-headline-lower{
  position: relative;
  display: flex;
  color: var(--idu-off-white);
  text-align: left;
  align-items: center;
  margin: 5px 0 20px 0;
}

.intro-box-text {
  font-size: 0.9rem;
  line-height: 1.5rem;
  color: var(--idu-off-black);
  text-align: left;
  display: flex;
  align-items: center;
  margin: 0;
  font-weight: 400;
}

.tripple-intro-box-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: nowrap;
}


.intro-box-item {
  flex: 1;
  position: relative;
  display: flex;
}

.tripple-intro-box-container .intro-box-item {
  flex: 1 1 30%;
  background: var(--idu-base);
  padding: 2rem;
 
}
/* Visueller Trenner: NUR bei den ersten beiden */
.intro-box-item:nth-child(1)::after,
.intro-box-item:nth-child(2)::after {
  content: '';
  position: absolute;
  top: 10%;
  right: 0;
  width: 1px;
  height: 80%;
  background-color: black;
}

/* ===============================
           SHORTCODES
   =============================== */

.adresse-box {
    line-height: 1.6;
}

.colorscheme-dark a:link {
  color: var(--idu-off-white);
}
.colorscheme-dark a:visited {
  color: var(--idu-off-white);
}
.colorscheme-dark a:hover {
  color: var(--idu-off-white);
}

.adresse-box .telefon,
.adresse-box .email {
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin: 0.5em 0 0;
}

.kontakt-icon {
  width: 1em;
  height: auto;
  flex-shrink: 0;
}

 .button.main.shortcode.hotel-button,  .button.main.shortcode.restaurant-button{
  margin: 30px 30px 0 0;
  background-color: var(--main-color);
  border: 2px solid var(--main-color);
  color: var(--idu-off-white);
 }

 .button.main.shortcode.hotel-button:hover,  .button.main.shortcode.restaurant-button:hover{
  margin: 30px 30px 0 0;
  background-color: var(--dark-color);
  border: 2px solid var(--light-color);
  color: var(--light-color);
 }



/* ===============================
   NEWS SECTION - COMPLETE CSS
   =============================== */

/* ===============================
   NEWS SECTION – Basis
   =============================== */

.section-news {
  padding: 6rem 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  text-align: left;
}

section.sc_news .section-inner {
  display: block;
}

/* Headlines */
.news-header {
  width: 100%;
  text-align: left;
  margin-bottom: 2rem;
}

.news-date {
  color: var(--main-color);
  font-size: 0.9rem;
  text-align: right;
  text-transform: uppercase;
}

.news-text {
  font-size: 1rem;
  line-height: 1.6;
}





  swiper-container.news-swiper {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    width: 100%;
    background: transparent;
  }

  swiper-container.news-swiper > swiper-slide {
    display: flex;                           /* equal height */
    flex: 1 1 calc(33.333% - 2rem);
    min-width: 260px;
    width: auto !important;                  /* neutralisiert evtl. Inline-Width */
    height: auto;
    transform: none !important;              /* neutralisiert Swiper-Transform */
    align-items: stretch;
  }

  swiper-container.news-swiper .news-item {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    padding: 2rem;
    box-sizing: border-box;
    background: transparent;
    justify-content: flex-start;
    gap: 1rem;
    background-color: var(--idu-base);
}

  /* nur die ersten zwei Karten mit rechter Trennlinie */
  swiper-container.news-swiper > swiper-slide:nth-child(-n+2) .news-item {
    border-right: 1px solid var(--light-color);
  }

  /* Dots ausblenden */
  swiper-container.news-swiper::part(pagination),
  swiper-container.news-swiper .swiper-pagination {
    display: none !important;
  }



/* ===============================
   MOBILE (<=900px)
   – Slider aktiv
   – 1 Slide = volle Breite (mit Seiten-Padding)
   – keine Überbreite
   =============================== */
/* Section leicht paddingen & nichts breiter als Viewport */


@media (max-width: 980px) {

  section.sc_news { 
    padding: 0 10px; 
  }

  section.sc_news .section-inner {
    max-width: 100%;
    overflow: hidden;
  }

  swiper-container.news-swiper {
    width: 100%;
    max-width: calc(100vw - 20px); /* 10px links/rechts */
    margin: 0 auto;
    box-sizing: border-box;
    overflow: hidden;
    position: relative; /* wichtig für absolute Pagination */
  }

  /* OVERRIDE: Slide-Breite erzwingen (überschreibt Inline-Width) */
  swiper-container.news-swiper > swiper-slide {
    max-width: 100% !important;
    width: calc(100vw - 40px) !important;  /* 20px „Luft“ pro Seite */
    flex: 0 0 auto !important;
  }

  /* Innenabstand der Karte (nicht am Container) + Platz unten für Dots */
  swiper-container.news-swiper .news-item {
    padding: 2rem;
    box-sizing: border-box;
    background-color: var(--idu-base);
    border: none;;
  }

  /* nur die ersten zwei Karten mit rechter Trennlinie */
  swiper-container.news-swiper > swiper-slide:nth-child(-n+2) .news-item {
    border-right: none;
  }

    /* Dots ausblenden */
  swiper-container.news-swiper::part(pagination),
  swiper-container.news-swiper .swiper-pagination {
    display: flex !important;
  }

  /* Pagination unterhalb der Karte horizontal zentrieren */
  swiper-container.news-swiper::part(pagination) {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 12px;            /* Abstand vom unteren Rand der Karte */
    display: flex;
    flex-direction: row;     /* <-- HIER: horizontal nebeneinander */
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    z-index: 10;
    pointer-events: auto !important;
    margin: 0;   
  }

  /* Bullets */
  swiper-container.news-swiper::part(bullet) {
    background: transparent;
    border: 2px solid var(--main-color);
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 50%;
    opacity: 0.6;
    transition: all 0.3s ease;
    cursor: pointer;
  }

  swiper-container.news-swiper::part(bullet-active) {
    background: var(--main-color);
    border: 2px solid var(--main-color);
    transform: scale(1.2);
    opacity: 1;
  }
}



/* ===============================
   DOWNLOAD SECTION
   =============================== */


.download-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.download-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  text-decoration: none;
 }

.download-link-item {
  border-bottom: 1px solid var(--main-color);
}

.download-link-text {
  display: flex;
  flex-direction: row;
  color: black;
}

.download-title {
  margin-right: 1rem;
}

.link-open-icon {
  width: 1.5rem;
  height: 1.5rem;
  fill: var(--main-color);
}

@media (max-width: 1048px) {

  .download-link-text {
    flex-direction: column;
  }

}

@media (max-width: 980px) {

  .download-link-text {
    flex-direction: row;
  }

}

@media (max-width: 540px) {

  .download-link-text {
    flex-direction: column;
  }

}


/* ============================================
   TEXT IMAGE
============================================ */

.sc_text-image .section-inner, .sc_html-slider .section-inner {
  display: flex;
  justify-content: flex-start;
  padding: var(--pa-des-large);
  flex-wrap: nowrap;
  max-width: var(--max-wid-large);
}

/* Linke Spalte fixiert */
.sc_text-image .section-inner .left.wysiwyg, .sc_html-slider .section-inner .left.wysiwyg {
  /*
  flex: 1 1 50%;
  display: flex;
  justify-content: flex-end; /* schiebt .content nach rechts */

   box-sizing: border-box;
}

.left .content {
  max-width: 900px;
  width: 100%;
  padding: 8vw 2rem 8vw 8vw;;
}

/* Rechte Spalte: Bild immer am rechten Rand */
.right.image-background {
  flex: 0 0 50vw;
  width: 50vw;
  background-image: url(.../IDU_Image_03.webp);
  background-size: cover;
  background-position: center;
  z-index: 1;
  padding: 0 !important;
}


/* ============================================
  HTML SLIDER
============================================ */

section.sc_html-slider {
  display: block;
}

.sc_html-slider .section-inner {
  display: block;
  padding: 0;
}

/* Inner layout */
.sc_html-slider-inner {
  display: flex;
  flex-wrap: wrap; /* Optional – für Responsiveness */
  gap: var(--fg-des-medium);
}

.sc_html-slider-inner .left {
  flex: 1 1 calc(50% - (var(--fg-des-medium)/2));
  min-width: 0; /* wichtig für sauberes Flex-Verhalten */
  padding: var(--pa-des-around-large);
}

.sc_html-slider-inner .right {
  flex: 1 1 calc(50% - (var(--fg-des-medium)/2));
  min-width: 0; /* wichtig für sauberes Flex-Verhalten */
  padding-right: 0;
}

/* Minimum heights */
.sc_html-slider swiper-container,
.sc_html-slider-inner .left,
.sc_html-slider-inner .right {
  min-height: 450px;
}

.sc_html-slider-inner .right.image-background {
  background-size: cover;
  background-position: top center;
}

/* Responsive (mobile) */
@media (max-width: 980px) {
  .sc_html-slider-inner {
   flex-direction: column-reverse;
   gap: 0;
  }

  .sc_html-slider-inner .left,
  .sc_html-slider-inner .right {
   width: 100%;
  }

  /* right image background sizing for different contexts (kept in original order) */
  .sc_html-slider-inner .right.image-background {
   min-height: 55vw;
   aspect-ratio: 16/9;
  }

  /* left wysiwyg padding */
  .sc_html-slider-inner .left.wysiwyg {
   padding: 3rem 8vw 5rem 8vw;
  }

  /* swiper sizing & pagination adjustments */
  .sc_html-slider swiper-container {
   height: auto;
  }

  .sc_html-slider swiper-container::part(pagination) {
   justify-content: center;
   right: auto; /* rechte Ausrichtung aufheben */
   left: 0;     /* optional */
  }

  .sc_html-slider swiper-container::part(bullet-active) {
   background: var(--main-color);
   border-color: var(--main-color);
  }

  .sc_html-slider swiper-container::part(bullet) {
   border-color: var(--main-color);
  }

  /* second occurrence from original preserved (overrides aspect-ratio) */
  .sc_html-slider-inner .right.image-background {
   min-height: 55vw;
   aspect-ratio: 5/4;
  }
}



/* ============================================
  HTML SLIDER - LIGHTBOX STYLES
============================================ */

.zimmer-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
}

.lightbox-inner {
  position: relative;
  width: 90%;
  max-width: 1000px;
  z-index: 10;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}




/* ============================================
        MIETERKONTAKT FORMULAR
============================================ */

.mieterkontakt-form .form-grid {
  max-width: 800px;
  margin: 0 auto;
}

.mieterkontakt-form .row {
  margin-bottom: 20px;
}

/* Desktop: 2-Spalten Layout */
@media (min-width: 768px) {
  .mieterkontakt-form .row.two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}

/* Mobile: Volle Breite */
@media (max-width: 767px) {
  .mieterkontakt-form .row.two {
    display: block;
  }
  
  .mieterkontakt-form .row.two .field {
    margin-bottom: 15px;
  }
}

/* Formular-Elemente */
.mieterkontakt-form input[type="text"],
.mieterkontakt-form input[type="tel"],
.mieterkontakt-form input[type="email"],
.mieterkontakt-form select,
.mieterkontakt-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-sizing: border-box;
  margin-top: 5px;
}

.mieterkontakt-form label {
  display: block;
  font-weight: 600;
}

.mieterkontakt-form .field {
  display: block;
}

.mieterkontakt-form input[type="submit"] {
 background-color: var(--main-color);
    border: 2px solid var(--main-color);
        border-radius: 100px;
    color: var(--idu-off-white);
  cursor: pointer;
  font-size: 16px;
}

.mieterkontakt-form input[type="submit"]:hover {
  background-color: var(--dark-color);
}

/* ============================================
              RESPONSIVE – GLOBAL LAYOUT
   (für mobile: Haupt-Breakpoint 980px)
============================================ */

@media (max-width: 980px) {

  p {
    font-size: 0.9rem;
  }
  
  

  section {
    flex-direction: column;
    margin: 0;
  }

  .section-inner {
    flex-direction: column;
    margin: var(--ma-tab-large);
  }

  .sc_text-download_links .section-inner,
  .sc_text-accordion .section-inner {
    gap: 1.5rem;
  }

  .section-inner .left,
  .section-inner .right,
  .section-inner_left,
  .section-inner_right,
  .section-inner_formular-text,
  .section-inner_formular-form {
    width: 100%;
    padding: 0; /* oder anpassen */
  }


/* AKTUELLES MOBILE */
  section:nth-of-type(2) { 
    background-color: var(--idu-base);
  
}

  section:nth-of-type(2) .section-inner { 
    margin: 0;
  
}

section:nth-of-type(2) > div > .right.wysiwyg{
  display: none;
}

section.sc_text-download_links > div > .left.wysiwyg p{
  display: none;
}

  .section_formular-bg_text,
  .section_formular-bg_formular {
    position: static;
    width: 100%;
    height: auto;
  }

  .section_text-formular {
    flex-direction: column;
  }

  .sc_text-formular .left, .sc_text-formular .right {
    margin: 0;
  }
}
/* ==================================================
   FLEX SECTION: TEXT + DOWNLOAD-LINKS (NEUE STRUKTUR)
================================================== */



/* Linke Spalte */
.column-left {
  display: flex;
  flex-direction: column;
  width: calc(50% - (var(--fg-des-medium) / 2) - 8vw);
}

@media (max-width: 980px) {
  .column-left {
    width: 100%;
  }
}

/* Rechte Spalte */
.column-right {
  display: flex;
  flex-direction: column;
  width: calc(50% - (var(--fg-des-medium) / 2));
}

@media (max-width: 980px) {
  .column-right {
    width: 100%;
  }
}

/* Download-Links nur auf Höhe Lauftext (wenn kein rechter Textblock) */
.column-right:has(.download-links):not(:has(.download-text)) {
  margin-top: calc(var(--headline-height, 6rem)); /* Anpassbar je nach Design */
}

/* Headlines wie gewohnt */
.headlines h3,
.headlines h4 {
  margin: 0 0 1rem 0;
  line-height: 1.2;
}

/* Lauftext und rechter Textblock */
.lauftext,
.download-text {
  margin-bottom: 2rem;
}

/* ============================================
   ITCSS LAYER: COMPONENTS – TEXT ACCORDION
============================================ */

/* ============================================
   ACCORDION STYLES
============================================ */

.accordion-item {
  border-bottom: 1px solid var(--main-color);
}

.accordion-toggle {
  box-sizing: border-box;
  all: unset;
  width: 100%;
  padding: 1rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 1.125rem;
  font-weight: 500;
  text-align: left;
}

.accordion-icon {
  width: 1.5rem;
  height: auto;
  flex-shrink: 0;
  margin-left: 1rem;
  transition: transform 0.3s ease;
}

.accordion-toggle[aria-expanded="true"] {
  box-sizing: border-box;
  padding: 1rem 1rem 1rem 1rem;
  background-color: var(--idu-base);
}

.accordion-toggle[aria-expanded="true"] .accordion-icon {
  transform: rotate(180deg);
}

.accordion-price {
  font-weight: 700;
  color: var(--main-color);
  margin-bottom: 1rem;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.accordion-content p strong {
  margin-top: 1rem;
}

.accordion-content ul {
  margin: 0;
  padding: 0 0 0 1.5rem;
}

.accordion-content li {
  margin: 0.25rem;
}

.accordion-content li a {
  text-decoration: underline;
}

.accordion-content li::marker {
  font-size: 0.75rem;
}

.accordion-toggle[aria-expanded="true"] + .accordion-content {
  padding: 1rem 2rem 2rem 2rem;
  background-color: var(--idu-base);
}

/* ============================================
   ITCSS LAYER: COMPONENTS – BUSINESS SECTION
============================================ */

.our-businesses-wrapper {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.business-item {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: stretch;
}

.business-thumbnail {
  flex: 0 0 300px;
}

.business-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  border-bottom: 1px solid;
  padding: 35px 0;
}

.business-description {
  max-width: 70%;
}

@media (max-width: 768px) {
  .business-description {
    max-width: 100%;
  }
}

.business-icons {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.business-icons img {
  width: 24px;
  height: auto;
}

.business-arrow {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

/* ============================================
   ITCSS LAYER: COMPONENTS – SLIDERS
============================================ */

/* ============================================
   SWIPER — PAGINATION BASE
============================================ */

swiper-container::part(pagination),
.sc_gallery-slider swiper-container::part(pagination),
.sc_html-slider  swiper-container::part(pagination) {
  display: flex;
  gap: 0.75rem;
  pointer-events: auto !important;
  z-index: 10;
  align-items: flex-end;
}


/* ============================================
   SWIPER — COMPONENT VARIANTS
============================================ */

/* GALLERY & HTML — gemeinsame Varianten */
.sc_gallery-slider swiper-container::part(pagination),
.sc_html-slider   swiper-container::part(pagination) {
  flex-direction: row;
  bottom: 1.5rem;
}

/* GALLERY — spezielle Werte */
.sc_gallery-slider swiper-container::part(pagination) {
  left: 8vw;
}

/* HTML SLIDER — spezielle Werte */
.sc_html-slider swiper-container::part(pagination) {
  right: -8vw;
}


/* ============================================
   SWIPER — BULLETS BASE
============================================ */

swiper-container::part(bullet),
.sc_html-slider swiper-container::part(bullet) {
  background: transparent;
  border: 2px solid white;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  opacity: 1;
  transition: all 0.3s ease;
  pointer-events: auto !important;
  cursor: pointer;
  margin: 0;
}


/* ============================================
   SWIPER — BULLETS ACTIVE
============================================ */

swiper-container::part(bullet-active),
.sc_html-slider swiper-container::part(bullet-active) {
  background: white;
  border: 2px solid white;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  opacity: 1;
  transform: scale(1.3);
  transition: all 0.3s ease;
  margin: 0;
}


/* ============================================
   HTML SLIDER — COLOR OVERRIDES
============================================ */

.sc_html-slider swiper-container::part(bullet) {
  border-color: var(--main-color);
}

.sc_html-slider swiper-container::part(bullet-active) {
  background: var(--main-color);
  border-color: var(--main-color);
}

/* ============================================
   ITCSS LAYER: COMPONENTS – ZIMMER STYLES
============================================ */  

/* ============================================
   Zimmer STYLES
============================================ */  
.zimmerliste-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.zimmer-item {
  aria-expanded: false;
}

.zimmer-layout {
  background-color: transparent;
  transition: background-color 0.3s ease;
}

.zimmer-item[aria-expanded="true"] .zimmer-layout {
  background-color: var(--idu-base);
}

.zimmer-layout {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 2rem;
}

.zimmer-thumbnail {
  flex: 0 0 300px;
}

.zimmer-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.zimmer-desc, .zimmer-meta > p, .gallery-title {
  line-height: 1.5;
}

/* === CONTENT RIGHT === */

.zimmer-content {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr auto;
  grid-template-rows: auto;
  row-gap: 1rem;
  padding: 2rem 2rem 2rem 0rem;
  border-bottom: 1px solid var(--main-color);
}

/* INFO BLOCK (always visible) */

.zimmer-info {
  grid-column: 1 / 5;
  grid-row: 1;
}

.zimmer-title {
  margin-bottom: 0;
}

.zimmer-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--main-color);
  grid-column: 5 / 7;
  grid-row: 1;
  align-self: end;
  justify-self: end;
  white-space: nowrap;
  padding-bottom: 0.5rem;
}

.zimmer-desc {
  grid-column: 1 / 7;
  grid-row: 2;
  padding-top: 1rem;
}

/* ACCORDION ICON 10:14*/

.zimmer-icon {
  grid-column: 7;
  grid-row: 1;
  align-self: end;
  justify-self: end;
  width: 1.5rem;
  height: auto;
  transition: transform 0.3s ease;
  margin: 0 0 0.75rem 2rem;
}

.zimmer-item[aria-expanded="true"] .zimmer-icon {
  transform: rotate(180deg);
  margin: 0 0 0.75rem 2rem;
}

/* DETAILS BLOCK (togglable) */

.zimmer-details {
  grid-column: 1 / 7;
  grid-row: 3;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.zimmer-details,
.zimmer-thumbnail img {
  transition: max-height 0.5s ease, padding 0.5s ease, height 0.5s ease;
}

.zimmer-item[aria-expanded="true"] .zimmer-details {
  max-height: 1000px;
}

/* === GALLERY & META === */

.zimmer-booking {
  margin-top: 1rem;
}

@media (max-width: 980px) {
  .zimmer-booking {
    display: flex;
    justify-content: center;
  }
}

.zimmer-gallery {
  margin-top: 1rem;
}

.zimmer-gallery .gallery-title {
  font-weight: bold;
  margin-bottom: 1rem;
}

.gallery-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.gallery-grid a {
  width: calc(100%/5);
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  display: block;
}

/* === RESPONSIVE === */

@media (max-width: 980px) {
  .zimmer-layout {
    flex-direction: column;
  }

  .zimmer-thumbnail {
    flex: 0 0 auto;
    height: auto;
  }

  .zimmer-thumbnail img {
    height: auto;
  }

  .zimmer-content {
    grid-template-columns: 1fr 1fr 1fr auto;
    row-gap: 0.5rem;
    padding: 0 2rem 2rem 2rem;
  }

  .zimmer-info {
    grid-column: 1 / 4;
    grid-row: 1;
  }

  .zimmer-title {
    margin-bottom: 0;
  }

  .zimmer-price {
    grid-column: 1 / 4;
    grid-row: 2;
    align-self: start;
    justify-self: start;
    padding: 0.5rem 0 0.5rem 0;
  }

  .zimmer-desc {
    grid-column: 1 / 4;
    grid-row: 3;
  }

  .zimmer-icon {
    grid-column: 4;
    grid-row: 1;
    align-self: end;
    justify-self: end;
    width: 1.5rem;
    height: auto;
    transition: transform 0.3s ease;
    margin: 0 0 0.9rem 1.1rem;
  }

  .zimmer-item[aria-expanded="true"] .zimmer-icon {
    transform: rotate(180deg);
   margin: 0 0 0.9rem 1.1rem;
  }

  .zimmer-details {
    grid-column: 1 / 5;
    grid-row: 4;
  }

  .zimmer-item[aria-expanded="true"] .zimmer-details {
    max-height: 1000px;
  }

  .gallery-grid a {
    width: calc(50% - 0.5rem);
  }
}

.show-on-mobile {
  display: none;
}

.hide-on-mobile {
  display: block;
}

@media (max-width: 980px) {
  .show-on-mobile {
    display: block;
  }

  .hide-on-mobile {
    display: none;
  }
}