/*
Theme Name:   terra & luce
Theme URI:    https://www.haasdigital.de
Description:  Theme for terra & luce
Author:       Haas Digitalagentur
Author URI:   https://www.haasdigital.de
Template:     bricks
Version:      1.1
Text Domain:  bricks
*/

:root {
    
    --aquamarine-600: #375658;
    --aquamarine-400: #6FBEC3;
    --aquamarine-200: #9ED3D5;
    
    --grey-600: #2B2B2B;
    --grey-400: #707070;
    --grey-300: #DBDBDB;
    --grey-200: #EBEBEB;
    
    --white: #ffffff;
    --black: #000000;
    
    --brown-600: #A57C6A;
    
    --green-600: #8da051;
    
    --red-600: #862727;
    
    --pad-section-s: 1em;
    --pad-section-m: 3em;
    --pad-section-l: 5em;
    --pad-section-xl: 6em;
    --pad-section-xxl: 8em;
    
    --space-s: 1em;
    --space-m: 1.5em;
    --space-l: 2em;
    --space-xl: 2.5em;
    --space-xxl: 3em;
    
    --border-size: 1px;
    --border-radius: 0;
    --border-radius-min: 18px;
    --border-radius-max: 25px;
    
    --h1-font-size: clamp(32px, 4vw, 64px);
    --h2-font-size: clamp(28px, 4vw, 32px);
    --h3-font-size: clamp(22px, 4vw, 36px);
    --h4-font-size: clamp(20px, 4vw, 22px);
    --h5-font-size: clamp(18px, 4vw, 20px);
    --h6-font-size: clamp(16px, 4vw, 18px);
    
    --body1-font-size: 20px;
    --body2-font-size: 18px;
    --body3-font-size: 16px;
    --body4-font-size: 14px;
    --body5-font-size: 12px;
    --body6-font-size: 10px;
    
    --regular-weight: 400;
    --semibold-weight: 600;
    --bold-weight: 700;
    
    --btn-size: 54px;
    --gap: 14px;
    --edge: 18px;
    --radius-full: 999px;
    --label-bg: var(--grey-600);
    --label-fg: var(--white);
    --shadow: rgba(9, 23, 23, 0.06) 0.48175px 0px 2.40875px -0.416667px, rgba(9, 23, 23, 0.07) 1.83083px 0px 9.15413px -0.833333px, rgba(9, 23, 23, 0.15) 8px 0px 40px -1.25px;
    --ring: 0 0 0 4px rgba(174,202,6,.5);
    
    @media (max-width: 575px) {
      
      --pad-section-s: 1em;
      --pad-section-m: 2em;
      --pad-section-l: 3em;
      --pad-section-xl: 4em;
      --pad-section-xxl: 6em;
       
    }
    
}

body {
  overflow-x: hidden;
}

h1 { font-size: var(--h1-font-size); }
h2 { font-size: var(--h2-font-size); }
h3 { font-size: var(--h3-font-size); }
h4 { font-size: var(--h4-font-size); }
h5 { font-size: var(--h5-font-size); }
h6 { font-size: var(--h6-font-size); }

.nav-main ul {
    align-items: center;
}

.nav-main.brxe-nav-menu .bricks-mobile-menu-toggle .bar-top {
  background-color: var(--blue-600);
}

.nav-main.brxe-nav-menu .bricks-mobile-menu-toggle .bar-center {
  background-color: var(--blue-400);
}

.nav-main.brxe-nav-menu .bricks-mobile-menu-toggle .bar-bottom {
  background-color: var(--blue-400);
}

.brxe-nav-menu.show-mobile-menu .bricks-mobile-menu-toggle .bar-bottom {
  background-color: var(--blue-600);
}

.language-switcher .lang-item {
    margin-left: 10px !important;
    padding-left: 10px;
    border-left: 1px solid var(--brown-600);
}

.language-switcher .lang-item:nth-child(1 of .lang-item) {
    margin-left: 20px !important;
    padding-left: 0;
    border-left: 1px solid transparent !important;
}

.language-switcher .lang-item a {
    font-weight: var(--regular-weight) !important;
    text-transform: uppercase;
}

.language-switcher .lang-item.current-lang a {
    font-weight: var(--bold-weight) !important;
}

.footer .language-switcher .lang-item:nth-child(1 of .lang-item) {
    margin-left: 0 !important;
}

.footer .language-switcher .lang-item {
    border-left: 1px solid var(--grey-600);
}

.brxe-nav-menu .bricks-mobile-menu-wrapper {
    color: var(--grey-600);
}

/* header */
.header-wrap {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 9999;
  width: 100%;
}

:root {
  --header-h: 100px;
}

@media (max-width: 991px) {
  :root {
    --header-h: 80px;
  }
}

body.brx-content,
body main {
  padding-top: var(--header-h);
}

body.admin-bar .header-wrap { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .header-wrap { top: 46px; }
}

#brx-header.brx-sticky {
  background-color: var(--aquamarine-400); 
}

.home .header-sticky {
  position: sticky;
  top: 0;
  z-index: 9999;
}

body.admin-bar .header-sticky { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .header-sticky { top: 46px; }
}

.home .header-sticky.is-stuck,
.home .header-sticky {
  transition: box-shadow .2s ease, background-color .2s ease;
}

.flyout {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: min(80vh, 100dvh);
  overflow-y: auto;
  overflow-x: hidden;
  display: none;
}

.site-header.is-menu-open .flyout,
.flyout.is-open { display: block; }

/*
@media (min-width: 768px) {
  body.no-scroll {
    overflow-y: auto !important;
  }
}*/

@media (max-width: 767px) {
  body.no-scroll {
    overflow-y: hidden !important;
    overscroll-behavior: contain;
  }
}

footer .footer_address address {
  margin-bottom: 20px;
  font-style: normal;
}

footer .footer_address p a,
footer .footer_address address a {
  font-weight: var(--regular-weight);
  border-bottom: 1px solid transparent;
}

footer .footer_address p a:hover,
footer .footer_address address a:hover {
  border-bottom: 1px solid var(--grey-600);
}

@media (max-width: 767px) {
  
  .header-subtitle {
    display: none;
  }
  
}

.section {
  position: relative;
  z-index: 1;
}

.container {
  max-width: 100%;
  width: 1200px;
  margin: 0 auto;
  position: relative;
}

@media (max-width: 1200px) {
  
  .container {
    padding: 0 40px;
  }
  
}

@media (max-width: 767px) {
  
  .container {
    padding: 0 20px;
  }
  
}

/* texts */
p.small {
  font-size: var(--body3-font-size);
  font-weight: var(--regular-weight);
}

p.small a {
  font-size: var(--body3-font-size);
  font-weight: var(--bold-weight);
}

strong {
  font-weight: var(--bold-weight);
}

address {
    font-style: normal;
}

p a,
label a {
  font-size: var(--body2-font-size);
  color: var(--aquamarine-600);
}

p a {
    text-decoration: underline;
    text-decoration-skip-ink: none;
    -webkit-text-decoration-color: var(--aquamarine-600);
    text-decoration-color: var(--aquamarine-600);
    text-decoration-thickness: 1px;
    text-underline-offset: 25%;
}

p a:hover {
  text-decoration: none;
}

/* container */
.standard-section {
  padding-top: var(--pad-section-xl);
  padding-bottom: var(--pad-section-xl);
}

.standard-container {
  column-gap: var(--sapce-xxl);
  grid-gap: var(--sapce-xxl);
  grid-template-columns: 1fr;
  display: grid;
  align-items: initial;
}

.standard-container.col-2-1 {
  grid-template-columns: 2fr 1fr;
}

.standard-container.col-1-2 {
  grid-template-columns: 1fr 2fr;
}

@media (max-width: 992px) {
  
  .standard-container.col-2-1, 
  .standard-container.col-1-2 {
    grid-template-columns: 1fr;
  }
  
}

/* images */
a.brxe-image { display: block; width: 100%; line-height: 0; }
.brxe-image img { display: block; width: 100%; height: auto; }

.brxe-image img {
  display: block;
  width: 100%;
  height: auto;
}

.brxe-image.tag {
  display: block;
  width: 100%;
  overflow: visible;
  line-height: 0;
}

.brxe-image.tag img { display: block !important; }

.brxe-image img.css-filter {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  will-change: filter, opacity, transform;
}

.brxe-image, .brxe-image img {
  visibility: visible;
  opacity: 1;
}

.brxe-image { position: relative; z-index: 1; }

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

.zoom {
  overflow: hidden;
}

.zoom img {
  display: block;
  width: 100%;
  height: auto;
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform;
  transition: transform 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.zoom:hover img {
  transform: scale(1.2);
}

.text-wrapper {
  max-width: 720px;
}

.container .text-wrapper {
  align-self: center !important;
}

/* nav meta */
.nav-footer_menu li {
  margin: 0;
  display: flex;
  align-items: center;
  line-height: 40px;
}

.nav-footer_menu li a {
  padding: 0;
  display: inline !important;
}

.nav-footer_menu li a:hover {
  text-decoration: underline;
  text-decoration-skip-ink: none;
  -webkit-text-decoration-color: var(--aquamarine-600);
  text-decoration-color: var(--aquamarine-600);
  text-decoration-thickness: 2px;
  text-underline-offset: 25%;
}

.nav-footer_menu li a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-skip-ink: none;
  -webkit-text-decoration-color: var(--aquamarine-600);
  text-decoration-color: var(--aquamarine-600);
  text-decoration-thickness: 2px;
  text-underline-offset: 25%;
}

@media (max-width: 992px) {
  
  .nav-footer_menu li {
    margin-bottom: 10px;
  }
  
  .nav-footer_menu li:before {
    display: none;
  }
  
}

/* social media */
.socialmedia {
    margin: 30px 0 0 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.socialmedia li {
    list-style: none;
    margin: 0 20px 0 0;
    padding: 0;
}

.socialmedia li:last-child {
    margin: 0;
}

.socialmedia li a i {
    transition: 0.25s all;
    transform: scale(1);
}

.socialmedia li a:hover i {
    transform: scale(1.2);
}

.socialmedia li i {
    font-size: 24px;
    color: var(--grey-600);
}

/* buttons */
.buttons {
  margin: 20px 0 0 0;
  padding: 0;
  display: flex;
  gap: 20px;
}

.buttons li {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

@media (max-width: 768px) {
    .buttons {
        display: flex;
        flex-direction: column;
    }
    
    .buttons li:nth-child(1) {
        order: 3;
    }
    
    .buttons li:nth-child(2) {
        order: 1;
    }
    
    .buttons li:nth-child(3) {
        order: 2;
    }
    
    .buttons li a {
        width: 100%;
        max-width: 100% !important;
    }
    
}

/* hero */
.hero {
  position: relative;
  aspect-ratio: 2/1;
  max-height: 75vh;
}

.hero2 {
  position: relative;
  aspect-ratio: 2/1;
}

.hero-title {
  margin: 0;
}

/*
.hero .splide__list,
.hero2 .splide__list {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 10;
  transition: opacity 0.3s ease-out;
}
*/

.hero .splide__slide {
  height: 100% !important;
}

@media (max-width: 992px) {
    .hero {
        
    }
}

@media (max-width: 768px) {
    .hero {
      aspect-ratio: 3/2;
      max-height: auto;
    }
}

@media (max-width: 575px) {
    .hero {
        
    }
}

/* karte */
#karte {
  display: flex;
}

#karte-mobil {
  display: none;
}

@media (max-width: 992px) {
  
  #karte {
    display: none;
  }
  
  #karte-mobil {
    display: block;
  }
  
}

/* map */
#osmap {
  width: 100%;
  height: 50vh;
}

#osmap.osmap-small {
  width: 100%;
  height: 360px;
  min-height: 360px;
}

@media (max-width: 768px) {

  #osmap,
  #osmap.osmap-small {
    min-height: 320px;
    max-height: 320px;
  }

}

.hd_2click.hd_2click_osm[data-link="tm_map_cluster"] {
  min-height: 600px;
}

/* map - popup */
.map-popup p.content {
  font-size: 16px;
}

.map-popup .button.small {
  font-size: 14px;
  font-weight: var(--regular-weight);
}

.map-popup .button:after,
.map-popup .button:before {
  display: none;
}

.map-popup .button:hover {
  background-color: var(--grey-600);
  color: var(--white);
  border-color: var(--grey-600);
  padding: .3em 1em !important;
}

.leaflet-container {
    font-family: 'Jost', 'Helvetica', sans-serif !important;
    font-size: 16px !important;
}

.leaflet-control-attribution {
    font-size: 12px !important;
    font-weight: var(--regular-weight) !important;
    color: var(--grey-600) !important;
    letter-spacing: 0 !important;
}

.leaflet-popup-content-wrapper {
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.15) !important;
}

.leaflet-popup-content {
  margin: 30px 20px;
}

.leaflet-popup-content, 
.leaflet-popup-content p {
  font-size: 16px;
}

.leaflet-container p a {
  color: var(--grey-600) !important;
}

.leaflet-control-attribution a {
  font-size: 12px !important;
  font-weight: var(--regular-weight) !important;
  color: var(--grey-600) !important;
}

.leaflet-top, .leaflet-bottom {
  z-index: 500 !important;
}

.map-routeplaner {
  margin-top: 30px !important;
}

.leaflet-custom-popup .leaflet-popup-content {
    margin: 0 !important;
}

.leaflet-popup-close-button {
  width: 32px !important;
  height: 32px !important;
  padding: 6px;
  box-sizing: content-box !important;
  background-color: var(--grey-600) !important;
  background-clip: content-box !important;
  border: none;
  border-radius: 50%;
  position: absolute;
  cursor: pointer;
  text-indent: -9999px;
  overflow: hidden;
  top: 0 !important;
  right: 0 !important;
}

.leaflet-popup-close-button::before,
.leaflet-popup-close-button::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 20px;
  height: 2px;
  background-color: var(--white) !important;
  transform-origin: center;
}

.leaflet-popup-close-button::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.leaflet-popup-close-button::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.leaflet-popup-close-button:hover {
  background-color: var(--grey-600) !important;
}

.leaflet-popup-close-button:hover::before,
.leaflet-popup-close-button:hover::after {
  background-color: var(--white) !important;
}


.leaflet-custom-popup .custom-popup {
  text-align: center;
  padding: 10px;
  background-color: var(--white);
  border-radius: 8px;
}

.leaflet-custom-popup .popup-image {
  width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 10px;
}

.leaflet-custom-popup .popup-title {
  margin: 5px 0;
  font-size: 16px;
  font-weight: var(--bold-weight);
  color: var(--grey-600);
}

.leaflet-custom-popup .popup-text {
  margin: 5px 0;
  font-size: 14px;
  font-weight: var(--regular-weight);
  color: var(--grey-600);
}

.leaflet-custom-popup .popup-button {
  display: inline-block;
  margin-top: 10px;
  margin-bottom: 10px;
  padding: 12px 20px;
  background-color: var(--grey-600);
  color: var(--white);
  text-decoration: none;
  border-radius: var(--border-radius);
  font-size: 16px;
  font-weight: var(--bold-weight);
}

.leaflet-custom-popup .popup-button:hover {
    background-color: var(--grey-600);
}

@media (max-width: 575px) {
  
  .leaflet-popup-content {
    width: 240px !important;
    margin: 40px 20px 20px 20px !important;
  }
  
  .leaflet-custom-popup .custom-popup {
    width: 100%;
  }
  .leaflet-custom-popup .popup-title {
    font-size: 16px;
  }
  .leaflet-custom-popup .popup-text {
    font-size: 13px;
  }
  .leaflet-custom-popup .popup-button {
    font-size: 13px;
    padding: 6px 12px;
  }
}

/* contrast */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.access-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  padding: 0;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.5);
  backdrop-filter: blur(10px);
  color: var(--blue-600);
  box-shadow: var(--shadow);
  outline: none;
  transition: transform 240ms cubic-bezier(.2,.8,.2,1), box-shadow 240ms, filter 240ms;
  will-change: transform, filter;
  z-index: 1000;
}

.access-btn:hover,
.access-btn:focus {
  background-color: rgba(255,255,255,0.8);
  outline: none;
}

.access-btn::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  right: 0;
  transform: translateY(-8px);
  background: var(--aquamarine-600);
  color: var(--white);
  padding: 0.4em 0.6em;
  border-radius: 0.25em;
  white-space: nowrap;
  font-size: var(--body4-font-size);
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease-in-out;
  z-index: 10;
}

.access-btn:hover::after,
.access-btn:focus::after {
  opacity: 1;
}

.access-btn.tooltip-hidden::after {
  opacity: 0 !important;
  visibility: hidden !important;
}

.access-btn:focus-visible{
  box-shadow: var(--shadow), var(--ring);
  transform: translateX(-2px) scale(1.03);
}

.access-btn i {
  font-size: 32px;
  color: var(--aquamarine-600);
}

@media (max-width: 575px) {
  .access-btn {
    width: 48px;
    height: 48px;
    bottom: 10px;
  }
}

.floating-buttons{
  position: fixed;
  right: var(--edge);
  top: 20%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--gap);
  z-index: 9999;
  pointer-events: none;
}

.floating-button{
  pointer-events: auto;
  position: relative;
  width: var(--btn-size);
  height: var(--btn-size);
  border-radius: var(--radius-full);
  display: inline-grid;
  place-items: center;
  text-decoration: none;
  box-shadow: var(--shadow);
  outline: none;
  transition: transform 240ms cubic-bezier(.2,.8,.2,1), box-shadow 240ms, filter 240ms;
  will-change: transform, filter;
  color: var(--grey-600);
  background-color: rgba(255,255,255,0.5);
  backdrop-filter: blur(10px);
}

@media (hover:hover){
  .floating-button:hover{ background-color:rgba(255,255,255,0.8); box-shadow: 0 12px 30px rgba(0,0,0,.45); }
  .floating-button:hover .floating-button-label{ transform: translateX(0); opacity:1; }
}

.floating-button:focus-visible{
  box-shadow: var(--shadow), var(--ring);
  transform: translateX(-2px) scale(1.03);
}

.floating-button:focus-visible .floating-button-label{ transform: translateX(0); opacity:1; }

.floating-button .floating-button-label{
  position: absolute;
  right: calc(100% + 10px);
  white-space: nowrap;
  padding: 10px 14px;
  border-radius: 14px;
  background: var(--label-bg);
  color: var(--label-fg);
  font-size: var(--body4-font-size);
  transform: translateX(8px);
  opacity: 0;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: var(--shadow);
  transition: transform 240ms cubic-bezier(.2,.8,.2,1), opacity 240ms;
  pointer-events: none;
}

.floating-button .floating-button-label::after{
  content:"";
  position:absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 8px solid transparent;
  border-left-color: var(--label-bg);
  filter: drop-shadow(0 2px 2px rgba(0,0,0,.25));
}

@media (hover:none), (pointer:coarse){
  :root{ --btn-size: 48px; --edge: 14px; }
}

@media (max-width: 768px) {
  .floating-button .floating-button-label{
    display: none;
  }
}

@media (max-width: 575px){
  .floating-buttons{
    top: auto;
    bottom: 10px;
    transform: none;
    right: 20px;
    gap: 12px;
    flex-direction: row;
  }
}

@media (prefers-reduced-motion: reduce){
  .floating-button, .floating-button::after, .floating-button .floating-button-label{
    transition: none !important;
  }
}

@supports not (color-mix(in oklab, black 50%, white 50%)){
  .floating-button.phone{ background: linear-gradient(180deg, var(--green-600) 0%, #7b8c45 100%); }
  .floating-button.contact{  background: linear-gradient(180deg, var(--green-600) 0%, #7b8c45 100%); }
}


/* contact */
.separator {
    display: inline;
    margin: 0 5px;
}

.address .separator {
  margin: 0 5px 0 0;
}

/* Mobile Ansicht */
@media (max-width: 575px) {
  
    .separator,
    .address .separator {
        font-size: 0;
        margin: 0;
    }
    .separator::after {
        content: '';
        display: block;
        margin: 0;
    }
    
}

/* gallery */
.image-gallery {
  display: flex;
  /*gap: 20px;*/
}

.image-gallery img {
  width: 100%;
  height: auto;
}

.image-gallery .overlay {
  background-color: transparent;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.image-gallery a {
  z-index: 1;
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
}

.image-gallery a:hover .overlay {
  background-color: rgba(255, 255, 255, 0.3);
}

.image-gallery .title {
  display: none;
}

.image-gallery a:hover .title {
  width: 100%;
  height: 100%;
  font-size: 20px;
  color: var(--white);
  text-align: center;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-shadow: 0 0 20px rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 5;
}

@media screen and (max-width: 992px) {

  .image-gallery .title {
    font-size: 24px;
  }

}

/* custom navigation */
.nav-single {
  width: 100%;
  padding: 10px 0;
  display: flex;
  justify-content: space-between;
}

.nav-single .nav-label,
.nav-single .mobile {
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0;
}

.nav-single p {
  font-size: 16px;
}

.nav-prev,
.nav-next,
.nav-grid {
  min-width: 80px;
}

.nav-prev {
  width: 40%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.nav-next {
  width: 40%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.nav-grid {
  width: 20%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-grid a {
  text-align: center;
  display: inline-block;
}

.nav-grid a:hover .icon-grid .line {
  background-color: var(--grey-600);
}

.nav-grid a:hover .nav-label {
  color: var(--grey-600);
}

.nav-grid .icon-grid {
  width: 28px;
  height: 24px;
  display: inline-block;
  position: relative;
}

.nav-grid .icon-grid .line {
  display: inline-block;
  position: absolute;
  height: 1px;
  width: 28px;
  background-color: var(--grey-500);
  opacity: 1;
  -webkit-transition: .3s ease-in-out;
  -moz-transition: .3s ease-in-out;
  -o-transition: .3s ease-in-out;
  transition: .3s ease-in-out;
  left: 0;
  top: 5px;
}

.nav-grid .icon-grid .line.line-1 {
  top: 13px;
}

.nav-grid .icon-grid .line.line-2 {
  top: 21px;
}

.nav-prev span,
.nav-next span,
.nav-grid span {
  font-size: 24px;
  color: var(--grey-500);
  line-height: 24px;
}

.nav-single span.mobile {
  display: none;
}

@media screen and (max-width: 768px) {

  .nav-single span.mobile {
  display: inline-block;
  }

  .nav-single .nav-label {
  display: none;
  }

  .nav-grid .icon-grid {
  width: 24px;
  }

  .nav-grid .icon-grid .line {
  width: 24px;
  }

}

/* splide */
/*
body .splide__slide > .image img,
body .splide__slide > .image > img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}
*/

body .splide__arrows {
    position: relative;
    left: 0;
    width: 100%;
    display: flex;
    gap: 20px;
    margin-top: 20px;
    pointer-events: auto;
}

body .splide__arrow {
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 32px;
    color: var(--aquamarine-600);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

body .block__slider.brxe-slider-nested .splide__arrow--next {
  left: auto;
}

body .splide__arrow:disabled {
  display: none;
}

body .splide__pagination {
  position: absolute;
  width: 100%;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
}

body .hero .splide__pagination {
  bottom: 30px;
}

body .splide__pagination__page {
  width: 12px !important;
  height: 12px !important;
  cursor: pointer;
  background-color: rgba(255,255,255,0.5) !important;
  border-radius: 25px !important;
}

body .splide__pagination .splide__pagination__page.is-active {
  width: 36px !important;
  background-color: var(--white) !important;
}

body .hero .splide__pagination__page {
  width: 33px !important;
  height: 33px !important;
  background-color: var(--white) !important;
}

body .hero .splide__pagination .splide__pagination__page.is-active {
  width: 33px !important;
  height: 33px !important;
  background-color: var(--aquamarine-400) !important;
}

@media screen and (max-width: 575px) {
  
  body .hero .splide__pagination {
    bottom: 10px;
  }
  
  body .hero .splide__pagination__page {
    width: 12px !important;
    height: 12px !important;
    border: 2px solid var(--white) !important;
    background: transparent !important;
  }
  
  body .hero .splide__pagination .splide__pagination__page.is-active {
   width: 12px !important;
   height: 12px !important; 
   border: 2px solid var(--white) !important;
   background: var(--white) !important;
  }
  
}

/* tables */
.table-scrollable {
  width: 100%;
  overflow-y: auto;
  margin: 0 0 1em;
}

.table-scrollable::-webkit-scrollbar {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
}

.table-scrollable::-webkit-scrollbar-thumb {
  border-radius: 8px;
  border: 3px solid var(--white);
  background-color: rgba(0, 0, 0, .3);
}

.table-scrollable table {
  width: 100%;
  border-collapse: collapse;
}

.table-scrollable table thead th {
  color: var(--grey-600);
}

.table-scrollable table td,
.table-scrollable table th {
  font-size: var(--body1-font-size);
}

.table-scrollable table td,
.table-scrollable table th {
  border-bottom: 1px solid var(--grey-300);
}

@media screen and (max-width: 768px) {
  
  .table-scrollable table td,
  .table-scrollable table th {
    white-space: nowrap;
  }
  
}

.wp-block-table td, .wp-block-table th {
  border: 0;
}

.wp-block-table thead {
  border-bottom: var(--border-size) solid var(--grey-300);
}

.wp-block-table tfoot {
  border: 0;
}

.table, .table table {
  width: 100%;
  border: 0;
  padding: 0;
  margin: 0 0 1em;
}

.table thead th {
  font-size: 20px;
  font-weight: var(--bold-weight);
  color: var(--grey-500);
}

.table td {
  min-width: 160px;
  padding: 15px 0;
  font-size: 20px;
  font-weight: var(--regular-weight);
  color: var(--grey-500);
  border-left: var(--border-size) solid transparent;
  border-top: var(--border-size) solid transparent;
  border-right: var(--border-size) solid transparent;
  border-bottom: var(--border-size) solid var(--grey-300);
}

.table td a {
  border-bottom: var(--border-size) solid var(--grey-500);
}

.table td a:hover {
  border-bottom: var(--border-size) solid transparent;
}

.wp-block-table th {
  font-weight: var(--bold-weight);
}

@media screen and (max-width: 768px) {
  
  .table td {
    width: 100%;
    display: block;
  }
  
  .table td:first-child {
    padding: 10px 0 0 0;
    border-bottom: 0;
  }
  
  .table td {
    padding: 0 0 10px 0;
  }
  
}

/* flex table */
.table-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.table-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: stretch;
}

.table-cell {
    padding: 10px;
    border-bottom: 1px solid var(--grey-300);
}

.cell-short {
    flex: 0 0 240px;
    font-weight: bold;
}

.cell-long {
    flex: 1;
    min-width: 240px;
}

@media (max-width: 768px) {
    .table-row {
        flex-direction: column;
        /*align-items: flex-start;*/
    }
    .cell-short {
        flex: 1;
    }
    .cell-long {
        flex: 1;
    }
}

/* autocomplete */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  border-color: var(--grey-500);
  -webkit-text-fill-color: var(--grey-500);
  -webkit-box-shadow: 0 0 0px 1000px rgba(0, 0, 0, 0.05) inset;
  transition: background-color 5000s ease-in-out 0s;
}

/* breadcrumb */
#breadcrumb {
  padding-top: var(--pad-section-s);
  padding-bottom: var(--pad-section-s);
}

.breadcrumb {
  color: var(--grey-500);
  display: flex;
  align-items: center;
}

.breadcrumb a {
  color: var(--grey-500);
}

.breadcrumb .current-page {
  font-weight: var(--bold-weight);
  color: var(--grey-500);
}

.breadcrumb .delimiter:after {
  content: '';
  width: 16px;
  height: 16px;
  -webkit-mask-image: url('assets/images/icons/chevron-right.svg');
  mask-image: url('assets/images/icons/chevron-right.svg');
  mask-repeat: no-repeat;
  background-color: var(--grey-400);
  position: relative;
  margin: 0 8px;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 768px) {
  #breadcrumb {
    display: none;
  }
}

/* crop */
.crop-3-1 {
  position: relative;
  width: 100%;
  padding-top: 33.3333%;
  overflow: hidden;
}

.crop-3-1 img {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
}

@media (max-width: 992px) {
  .crop-3-1 {
    padding-top: 50%;
  }
}

@media (max-width: 768px) {
  .crop-3-1 {
    aspect-ratio: auto;
  }
  .crop-3-1 img {
    width: 100%;
    height: auto;
    object-fit: none;
  }
}

/* forms */
.wps-form {
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

.wps-form-row {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-bottom: 5px;
}

.wps-form-row .wpcf7-form-control {
  width: 100%;
}

.wps-form-column {
  flex: 1;
  padding: 0.5rem 0;
  width: 100%;
}

.wps-form-column.center {
  text-align: center;
}

.wps-form-column.right {
  text-align: right;
}

.wps-form-column.single {
  padding: 0.5rem 0 !important;
}

@media only screen and (min-width: 48em) {

  .wps-form-row {
    flex-direction: row;
  }

  .wps-form-column {
    padding: 0.5rem 1rem;
  }

  .wps-form-column:nth-child(odd) {
    padding: 0.5rem 1rem 0.5rem 0;
  }

  .wps-form-column:nth-child(even) {
    padding: 0.5rem 0 0.5rem 1rem;
  }

}

.wps-form fieldset {
  margin: 0 0 40px 0;
  padding: 0;
  border: 0;
}

.wpcf7-form-control-wrap,
.wpcf7-quiz-label {
  margin: 0 0 20px 0;
  display: block;
  position: relative;
}

.wpcf7-form label {
  margin: 0 0 20px 0;
  font-size: var(--body1-font-size);
  color: var(--grey-600);
  font-weight: var(--regular-weight);
  letter-spacing: 0;
  line-height: 24px;
  display: flex;
}

.wpcf7-form label a {
  text-decoration: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wpcf7-select,
.wpcf7-text,
.wpcf7-textarea,
.wpcf7-date,
.wpcf7-email,
.wpcf7-number {
  width: 100%;
  padding: 5px 20px !important;
  background-color: var(--white) !important;
  font-size: var(--body2-font-size) !important;
  font-weight: var(--bold-weight) !important;
  letter-spacing: 0;
  color: var(--aquamarine-600) !important;
  line-height: 40px;
  border-radius: var(--border-radius);
  -webkit-border-radius: var(--border-radius);
  -moz-border-radius: var(--border-radius);
  border-top: 1px solid transparent;
  border-left: 1px solid transparent;
  border-right: 1px solid transparent;
  border-bottom: 1px solid var(--aquamarine-600);
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

.wpcf7-select:focus,
.wpcf7-text:focus,
.wpcf7-textarea:focus,
.wpcf7-date:focus,
.wpcf7-email:focus,
.wpcf7-number:focus {
  outline: 1px solid var(--aquamarine-600) !important;
  box-shadow: 0 0 #0000, 0 0 #0000, 0 5px 10px rgba(0, 0, 0, 0.10);
}

.wpcf7-text:hover,
.wpcf7-textarea:hover,
.wpcf7-date:hover,
.wpcf7-email:hover,
.wpcf7-number:hover,
.wpcf7-select:hover {
  box-shadow: 0 0 #0000, 0 0 #0000, 0 5px 10px rgba(0, 0, 0, 0.10);
}

.wpcf7-select {
  padding: 5px 20px !important;
  line-height: 40px;
  -webkit-appearance: none;
  max-width: 100%;
  overflow: hidden;
  word-wrap: normal !important;
  white-space: normal;
}

.wpcf7-date {
  padding: 12px 20px !important;
  line-height: 24px;
  -webkit-appearance: none;
}

.wpcf7-submit {
  width: 100% !important;
  padding: 12px 24px;
  min-width: 160px;
  background-color: var(--brown-600);
  font-size: var(--body2-font-size);
  font-weight: var(--bold-weight);
  color: var(--white);
  text-align: center;
  text-decoration: none;
  letter-spacing: 0.5px;
  line-height: 1.25;
  border: var(--border-size) solid var(--brown-600);
  border-radius: var(--border-radius);
  -moz-border-radius: var(--border-radius);
  -webkit-border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: 0.25s ease-in;
  overflow: hidden;
}

.wpcf7-submit:hover {
  background-color: var(--aquamarine-600);
  border: var(--border-size) solid var(--aquamarine-600);
  color: var(--white);
}

.wpcf7-submit:focus,
.wp-core-ui .button-primary.focus, 
.wp-core-ui .button-primary:focus {
  outline: 0 !important;
  box-shadow: none !important;
}

.wpcf7-submit:disabled {
  opacity: 0.5;
}

.wpcf7-spinner {
    display: none;
    width: 0;
    height: 0;
}

.wpcf7-submitting .wpcf7-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-left: 10px;
    vertical-align: middle;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; 
  height: 1px; 
  padding: 0; 
  margin: -1px; 
  overflow: hidden;
  clip: rect(0,0,0,0); 
  white-space: nowrap;
  border: 0;
}

.required {
  color: var(--grey-600);
}

.wpcf7-form p {
  margin: 0 0 10px 0;
}

.wpcf7-not-valid.wpcf7-select, 
.wpcf7-not-valid.wpcf7-text, 
.wpcf7-not-valid.wpcf7-textarea, 
.wpcf7-not-valid.wpcf7-date, 
.wpcf7-not-valid.wpcf7-email, 
.wpcf7-not-valid.wpcf7-number  {
  box-shadow: 0 0 10px 0 #8627278c !important;
  border-bottom: 1px solid var(--red-600);
}

.wpcf7-not-valid-tip {
  font-size: var(--body3-font-size);
  font-weight: var(--regular-weight);
  color: var(--red-600) !important;
}

.wpcf7 .wpcf7-not-valid-tip { display: none !important; }

.wpcf7 form.invalid .wpcf7-not-valid-tip { position: absolute; top:12px; right:24px; display: block !important; }

.wpcf7-list-item {
  margin: 0 !important;
}

.wpcf7-form span.wpcf7-list-item {
  display: block;
}

.wpcf7-list-item-label {
  margin-left: 16px;
}

.wpcf7-form .wpcf7-form-control.wpcf7-checkbox {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 40px;
}

.wpcf7-form .wpcf7-checkbox label {
  position: relative;
  font-size: var(--body2-font-size) !important;
  font-weight: var(--regular-weight);
}

.wpcf7-form .wpcf7-checkbox label a {
  font-size: var(--body2-font-size) !important;
  font-weight: var(--regular-weight);
}

.wpcf7-form .wpcf7-acceptance label {
  position: relative;
  font-size: var(--body4-font-size) !important;
  font-weight: var(--regular-weight);
}

.wpcf7-form .wpcf7-acceptance label a {
  font-size: var(--body4-font-size) !important;
  font-weight: var(--regular-weight);
}

.wpcf7-form .wpcf7-checkbox.label-text label,
.wpcf7-form .wpcf7-checkbox.label-text label a,
.wpcf7-form .wpcf7-checkbox.label-text,
.wpcf7-form .wpcf7-checkbox.label-text a,
.wpcf7-form .wpcf7-checkbox.label-text .wpcf7-list-item-label,
.wpcf7-form .wpcf7-checkbox.label-text .wpcf7-list-item-label a {
  font-size: var(--body4-font-size) !important;
}

.wpcf7-form .wpcf7-radio input[type="radio"],
.wpcf7-form .wpcf7-checkbox input[type="checkbox"],
.wpcf7-form .wpcf7-acceptance input[type="checkbox"] {
  position: relative;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  padding: 0 !important;
  border: 4px solid var(--white);
  background-color: var(--white);
  outline: 1px solid var(--aquamarine-600);
  border-radius: 0;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.wpcf7-form .wpcf7-radio input[type="radio"]:focus,
.wpcf7-form .wpcf7-checkbox input[type="checkbox"]:focus,
.wpcf7-form .wpcf7-acceptance input[type="checkbox"]:focus {
  outline: 2px solid var(--aquamarine-600);
}

.wpcf7-form .wpcf7-radio input[type="radio"]:checked,
.wpcf7-form .wpcf7-checkbox input[type="checkbox"]:checked,
.wpcf7-form .wpcf7-acceptance input[type="checkbox"]:checked {
  background-color: var(--aquamarine-600);
  border-color: var(--white);
}

::placeholder {
  color: var(--aquamarine-600) !important;
  opacity: 1;
}

.wpcf7-form .wpcf7-select option:first-child {
  color: var(--aquamarine-600) !important;
}

/* cf7 modal */
.wpcf7-response-output,
.wpcf7-validation-errors,
.wpcf7-acceptance-missing {
  margin: 0 0 10px 0 !important;
  padding: 0 !important;
  font-size: 18px;
  font-weight: var(--regular-weight);
  color: var(--red-600);
  background-color: transparent;
  border: 0 !important;
  border-radius: var(--border-radius-max);
  -webkit-border-radius: var(--border-radius-max);
  -moz-border-radius: var(--border-radius-max);
}

.wpcf7 form.sent .wpcf7-response-output,
.wpcf7-mail-sent-ok {
  color: var(--white) !important;
}

/* modal notice */
.cf7-modal {
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    box-sizing: border-box;
}

.cf7-modal-content {
    background-color: var(--white);
    padding: 10px 20px;
    border-radius: var(--border-radius-max);
    text-align: center;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    transition: 0.5s ease-in-out;
    font-size: 18px;
}

.cf7-modal-success .cf7-modal-content {
    background-color: var(--green-600);
    color: var(--white);
}

.cf7-modal-error .cf7-modal-content {
    background-color: var(--red-600);
    color: var(--white);
}

@media (max-width: 575px) {
    .cf7-modal-content {
        max-width: 90%;
    }
}

.form form fieldset input.field.error:focus,
.form form fieldset select.error:focus,
.form form fieldset textarea.error:focus,
.formTab form fieldset input.field.error:focus,
.formTab form fieldset select.error:focus,
.formTab form fieldset textarea.error:focus,
.form form fieldset input[type="checkbox"].error:focus+label:before {
  border: var(--border-size) solid var(--red-600);
}

p.error {
  width: auto;
  max-width: 640px;
  margin: 0 auto 25px auto;
  padding: 10px;
  font-size: 32px;
  color: var(--white);
  text-align: left;
  line-height: 125%;
  background-color: var(--red-600);
}

p.success {
  width: auto;
  max-width: 640px;
  margin: 0 auto 25px auto;
  padding: 10px;
  font-size: 32px;
  color: var(--white);
  text-align: left;
  line-height: 125%;
  background-color: var(--green-600);
}

p.error i,
p.success i {
  margin-right: 10px;
}

span.error {
  font-weight: var(--bold-weight);
  color: var(--red-600);
}

span.required {
  color: var(--grey-600);
}

/* autocomplete */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  border-color: var(--grey-500);
  -webkit-text-fill-color: var(--grey-500);
  -webkit-box-shadow: 0 0 0px 1000px rgba(0, 0, 0, 0.05) inset;
  transition: background-color 5000s ease-in-out 0s;
}

/* accordion */
.accordion {
  max-width: 100%;
  margin: 0 auto 60px auto;
}

.accordion-header h2 {
  margin:0;
  padding:0 0 0 20px;
  display:inline-block;
  font-style: normal;
  font-weight: var(--bold-weight);
  color: var(--grey-600);
}

.accordion-header h2 span {
  font-size: var(--h6-font-size);
  font-style: normal;
  font-weight: var(--regular-weight);
  line-height: 32px;
}

.accordion .accordion-header h3 {
  margin: 0;
  padding: 0 0 0 20px;
  display: inline-block;
  font-weight: var(--regular-weight);
  color: var(--grey-600);
  text-transform: none;
  text-align: left;
  letter-spacing: 0;
  line-height: 1.2em;
}

.accordion .active.accordion-header h2,
.accordion .active.accordion-header h3,
.accordion .accordion-header:hover h2,
.accordion .accordion-header:hover h3 {
  color: var(--grey-600);
}

.accordion .accordion-header {
  margin: 0;
  padding: 15px 20px;
  text-align: left;
  border-top: var(--border-size) solid var(--soft-gray-color);
  position: relative;
}

.accordion .accordion-header:first-child {
  border-top: 0;
}

.accordion .accordion-header:hover {
  cursor: pointer;
}

.accordion .accordion-header:hover::before,
.accordion .accordion-header:hover::after {
  background-color: var(--grey-600);
}

.accordion .accordion-header:hover h2 {
  color: var(--grey-600) !important;
}

.accordion .active.accordion-header,
.accordion .active.accordion-header:hover {
  /*background-color: var(--primary-color);*/
}

.accordion .active.accordion-header h2,
.accordion .active.accordion-header:hover h2 {
  font-weight: var(--bold-weight);
  color: var(--grey-600) !important;
}

.accordion .accordion-header:hover h2,
.accordion .accordion-header:hover h2 a {
  color: var(--grey-600) !important;
}

.accordion .accordion-header::after,
.accordion .accordion-header::before {
  content: '';
  background-color: var(--kurumi-600);
  -webkit-transition-duration: 0.25s;
  -moz-transition-duration: 0.25s;
  -o-transition-duration: 0.25s;
  transition-duration: 0.25s;
  -webkit-transition-property: -webkit-transform;
  -moz-transition-property: -moz-transform;
  -o-transition-property: -o-transform;
  transition-property: transform;
}

.accordion .accordion-header::after {
  width: 21px;
  height: 2px;
  float: right;
  position: absolute;
  top: 31px;
  left: 0;
}

.accordion .accordion-header::before {
  width: 2px;
  height: 21px;
  float: right;
  position: absolute;
  top: 21px;
  left: 10px;
}

.accordion .active.accordion-header::before {
  background-color: var(--grey-600);
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

.accordion .active.accordion-header::after {
  background-color: var(--grey-600);
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

.accordion .accordion-content {
  display: none;
  padding: 0 0 0 20px;
  margin: 0 0 20px 0;
}

.accordion .accordion-content p:not(.link) {
  margin: 30px 0 0 0 !important;
}

/*
.accordion .accordion-content p:first-child {
  margin: 0 !important;
}
*/

@media only screen and (max-width: 575px) {

  .accordion .accordion-header {
    padding: 10px;
    text-align: left;
  }
  
  .accordion-header h2 {
    font-size: var(--h6-font-size);
  }

  .accordion .accordion-header::after {
    top: 23px;
  }

  .accordion .accordion-header::before {
    top: 13px;
  }

  .accordion .accordion-header h3 {
    padding-left: 30px;
    font-size: var(--h6-font-size);
    text-align: left;
  }

}

.show-desktop,
.show-tablet,
.show-mobile {
  display: none !important;
}

/* 2) Desktop (≥ 992px) */
@media (min-width: 992px) {
  .show-desktop {
    display: block !important;    /* oder inline / flex / grid, je nach Bedarf */
  }
}

/* 3) Tablet (576px – 991px) */
@media (min-width: 576px) and (max-width: 991px) {
  .show-tablet {
    display: block !important;    /* passe hier an: inline-block, flex, etc. */
  }
}

/* 4) Mobile (≤ 575px) */
@media (max-width: 575px) {
  .show-mobile {
    display: block !important;    /* z.B. inline oder flex, je nachdem was dein Element braucht */
  }
}

/* link more and collapse */
.link-more {
  margin-top: var(--space-s);
}

.link-more a {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: 1rem;
  color: var(--grey-600);
  text-decoration: none;
  text-transform: uppercase;
  font-weight: var(--regular-weight);
  letter-spacing: 1px;
  cursor: pointer;
}

.link-more a:hover { text-decoration: none; }

.chevron-icon {
  display: inline-block;
  margin: 0;
  font-size: 1.5rem;
  color: var(--grey-600);
  transform-origin: 50% 50%;
  transition: transform 300ms cubic-bezier(.2,.7,.2,1);
}

.link-more:hover .chevron-icon { transform: none; }

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

.collapse-content {
  overflow: hidden;
  height: 0;
  opacity: 0;
  transition:
    height 300ms cubic-bezier(.2,.7,.2,1),
    opacity 200ms ease;
}

.collapse-content::before {
  content: "";
  display: block;
  height: var(--top-gap, 0px);
}

.collapse-content.expanded {
  opacity: 1;
}

.collapse-content.is-animating { will-change: height, opacity; }

@media (prefers-reduced-motion: reduce) {
  .collapse-content, .chevron-icon { transition: none; }
}


/* padding */
.pt-s {
  padding-top: var(--pad-section-s);
}

.pt-m {
  padding-top: var(--pad-section-m);
}

.pt-l {
  padding-top: var(--pad-section-l);
}

.pt-xl {
  padding-top: var(--pad-section-xl);
}

.pt-xxl {
  padding-top: var(--pad-section-xxl);
}

.pb-s {
  padding-bottom: var(--pad-section-s);
}

.pb-m {
  padding-bottom: var(--pad-section-m);
}

.pb-l {
  padding-bottom: var(--pad-section-l);
}

.pb-xl {
  padding-bottom: var(--pad-section-xl);
}

.pb-xxl {
  padding-bottom: var(--pad-section-xxl);
}

/* backgrounds */
.bg-blue-200 {
  background-color: var(--blue-200);
}

/* parallax */
#parallax-1 .parallax-title {
  color: var(--aquamarine-600);
}

/* fixes */
@supports (-webkit-touch-callout: none) {
  .parallax-image {
      background-attachment: scroll !important;
    }
}

body.bricks-is-frontend :focus-visible {
  outline: none;
}

@media (hover: hover) and (pointer: fine) {
  .brxe-menu-toggle:focus-visible,
  .brxe-nav a:focus-visible,
  .brxe-nav button:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
    border-radius: 6px;
  }
}

:root {
  --lh-accent: var(--green-600);
  --lh-bg: var(--white);
  --lh-fg: var(--grey-600);
  --lh-radius: 14px;
  --lh-gap: 12px;
  --lh-padY: 12px;
  --lh-padX: 16px;
  --lh-iconSize: 18px;
  --lh-accentBar: 3px;
}

ul.list-highlight {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--lh-gap);
}

ul.list-highlight > li {
  position: relative;
  color: var(--lh-fg);
  background: var(--lh-bg);
  border-radius: var(--lh-radius);
  box-shadow:
    0 1px 0 rgba(0,0,0,.03),
    0 6px 18px rgba(0,0,0,.05);
  padding: calc(var(--lh-padY) + 2px)
           calc(var(--lh-padX) + 2px)
           calc(var(--lh-padY) + 2px)
           calc( var(--lh-padX) + var(--lh-iconSize) + 18px );
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}

ul.list-highlight > li::after {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: var(--lh-accentBar);
  border-radius: 2px;
  background: var(--green-400);
}

ul.list-highlight > li::before {
  content: "";
  position: absolute;
  left: calc(var(--lh-padX) + 6px);
  top: 50%;
  width: var(--lh-iconSize);
  height: var(--lh-iconSize);
  transform: translateY(-50%);
  background-color: var(--lh-accent);
  -webkit-mask: url('data:image/svg+xml;utf8,\<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\<path d="M5 12.5l4 4L19 7" fill="none" stroke="black" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/>\</svg>') center / contain no-repeat;
  mask: url('data:image/svg+xml;utf8,\<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\<path d="M5 12.5l4 4L19 7" fill="none" stroke="black" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/>\</svg>') center / contain no-repeat;
  opacity: .95;
}

@supports not (mask: url("")) {
  ul.list-highlight > li::before {
    content: "✓";
    width: auto; height: auto; background: none;
    color: var(--lh-accent);
    font-weight: 800;
    font-size: calc(var(--lh-iconSize) - 2px);
    line-height: 1;
  }
}

ul.list-highlight > li > *:first-child { margin-top: 0; }
ul.list-highlight > li > *:last-child  { margin-bottom: 0; }
ul.list-highlight > li strong { color: var(--lh-fg); font-weight: 700; }
ul.list-highlight a {
  color: inherit;
  text-underline-offset: 2px;
  text-decoration-thickness: 1.25px;
}

ul.list-highlight > li:hover,
ul.list-highlight > li:focus-within {
  border-color: color-mix(in srgb, var(--lh-accent) 40%, var(--lh-border));
  box-shadow:
    0 2px 0 rgba(0,0,0,.04),
    0 10px 24px rgba(0,0,0,.10);
  transform: translateY(-1px);
}

@media (prefers-reduced-motion: reduce) {
  ul.list-highlight > li { transition: none; transform: none; }
}

ul.list-highlight.list-highlight--compact > li {
  --lh-padY: 8px;
  --lh-padX: 12px;
  --lh-iconSize: 14px;
  --lh-gap: 8px;
}

ul.list-highlight ul {
  list-style: disc;
  margin: 8px 0 0 1.25rem;
  opacity: .9;
}

:root{

  --container-w: 1600px;
  --gutter: 84px;
  --gap: 32px;
  --tick-h: 3px;
  --tick-w-strong: 44px;
  --tick-w-muted: 44px;
  
  --tick-dur: .2s;
  --tick-stagger: .1s;
  --after-ticks: .6s;
  
  --kicker-dur: .3s;
  --head-dur: .4s;
  
  --ease: cubic-bezier(.4,0,.2,1);
  
}

@media (max-width: 992px) {
  
  
  
}


@media (max-width: 575px) {
 
 :root {
   --gutter: 0;
 }

}

body .splide__arrows.custom {
  display: flex !important;
}

.block__slider .splide__arrows {
  position: static !important;
  display: flex !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  transform: none !important;
}

.block__slider .splide__arrow {
  position: static !important;
  transform: none !important;
}

.block__slider .splide__track { overflow: visible; }
.block__slider__slide { padding-right: 40px; }

@media (max-width: 676px) {
  
  .block__slider .splide__track { overflow: hidden; }
  .block__slider__slide { padding-right: 0; }
  
}

/* toggle */
.brxa--boring .brxa-inner,
.brxa--boring .brxa-inner::before,
.brxa--boring .brxa-inner::after {
  transition-property: transform, opacity;
  transition-duration: .3s;
  transition-timing-function: cubic-bezier(.4, 0, .2, 1);
  will-change: transform, opacity;
  transform-origin: center;
}

.brxa--boring.is-active .brxa-inner,
.brxa--boring.is-active .brxa-inner::before,
.brxa--boring.is-active .brxa-inner::after {
 background-color: var(--white); 
}

@media (prefers-reduced-motion: reduce) {
  .brxa--boring .brxa-inner,
  .brxa--boring .brxa-inner::before,
  .brxa--boring .brxa-inner::after {
    transition: none;
  }
}

/* navigation */
#brxe-whuhap.brx-nav-nested-items {
  position: absolute;
  left: 0;
  right: 0;
  --header-h: 64px;
  top: 100%;
  max-height: calc(100vh - (var(--header-h) + var(--wp-admin--admin-bar--height, 0px)));
  overflow-y: auto;
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--blue-100);
  z-index: 1001;
  transition:
    transform .35s cubic-bezier(.22,.61,.36,1),
    opacity   .25s ease,
    visibility 0s linear .35s;
  will-change: transform, opacity;
}

.brxe-nav-nested.brx-open #brxe-whuhap {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition:
    transform .35s cubic-bezier(.22,.61,.36,1),
    opacity   .25s ease,
    visibility 0s;
}


#menu-main-de {
  max-width: 640px;
  margin: 0 auto;
  border-top: 1px solid var(--aquamarine-600);
}

#menu-main-de li {
  margin: 0;
  padding: 10px 0;
  font-size: 36px;
  line-height: 44px;
  text-align: center;
  border-bottom: 1px solid var(--aquamarine-600);
  display: flex;
  justify-content: center;
}

#menu-main-de li a {
  font-family: 'Abril Display', 'Lato', sans-serif;
  font-size: 36px;
  font-style: italic;
  font-weight: var(--bold-weight);
  line-height: 44px;
}

#menu-main-de li a:hover {
  color: var(--aquamarine-400);
}

@media (prefers-reduced-motion: reduce) {
  #brxe-whuhap.brx-nav-nested-items {
    transition: none;
  }
}

/* fix */
@media (max-width: 575px) {
  /* Basis: alle AOS-Elemente */
  [data-aos] {
    transition-delay: 0s !important;
    -webkit-transition-delay: 0s !important;
  }

  /* Extra: falls AOS’ CSS sehr spezifische Attribute-Regeln hat */
  [data-aos][data-aos-delay],
  [data-aos].aos-animate,
  [data-aos][data-aos-delay].aos-animate {
    transition-delay: 0s !important;
    -webkit-transition-delay: 0s !important;
  }
}

.grid-penthouse {
  display: grid;
  grid-template-columns: repeat(6, minmax(0,1fr));
  column-gap: 40px;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  align-items: stretch;
}

.grid--top { margin-bottom: 40px; }

.grid--top .col-2 { grid-column: span 2; }
.grid--top .col-3 { grid-column: span 3; }
.grid--top .col-4 { grid-column: span 4; }
.grid--top .col-5 { grid-column: span 5; }

.grid--bottom .col-2 { grid-column: span 2; }
.grid--bottom .col-3 { grid-column: span 3; }
.grid--bottom .col-4 { grid-column: span 4; }
.grid--bottom .col-5 { grid-column: span 5; }

.item { min-width: 0; overflow: hidden; position: relative; box-sizing: border-box; }

.item--square { aspect-ratio: 1 / 1; }

.item > a { 
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}
  
.item > a > img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 992px){
  
  .grid-penthouse{ column-gap: 30px; }
  
  .grid--top .col-2 { grid-column: span 6; }
  .grid--top .col-3 { grid-column: span 6; }
  .grid--top .col-4 { grid-column: span 6; }
  .grid--top .col-5 { grid-column: span 6; }
  
  .grid-penthouse.grid--bottom .col-2 { grid-column: span 6; order: 0; }
  .grid-penthouse.grid--bottom .col-3 { grid-column: span 6; }
  .grid-penthouse.grid--bottom .col-4 { grid-column: span 6; order: 1; }
  .grid-penthouse.grid--bottom .col-5 { grid-column: span 6; }
  
}

@media (max-width: 767px){
  
  .grid-penthouse{ column-gap: 20px; row-gap: 20px; }
  
  .item { aspect-ratio: 1; }
  
}

@media (max-width: 575px){
  .grid-penthouse{ column-gap: 10px; }
}

.placed {
  opacity: 0.6;
}

/*
.grid-penthouse {
  display: grid;
  grid-template-columns: 2fr 2fr 3fr;
  gap: 40px;
  margin-bottom: 60px;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  align-items: stretch;
}

.grid-penthouse__item{
  position: relative;
  min-width: 0;
  overflow: hidden;
  box-sizing: border-box;
}

.grid-penthouse__item--square{
  aspect-ratio: 1 / 1;
}

.grid-penthouse__item > a{
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.grid-penthouse__item > a > img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
*/

/* fixes */
/* Section clippt Überstände sauber */
.brxe-section {
  position: relative;
  border-top: none !important;
  border-bottom: none !important;
}

/* Hygiene */
.bricks-shape-divider {
  line-height: 0;
  pointer-events: none;
}
.bricks-shape-divider-inner {
  position: relative;
  /* wichtig, damit negative Margins am SVG nicht abgeschnitten werden */
  overflow: visible;
}

/* Flip-sicherer Bleed: 1px oben + unten, OHNE transform */
.bricks-shape-divider-inner > svg {
  display: block;
  width: 100%;
  height: calc(100% + 2px); /* SVG 2px höher */
  margin-top: -1px;         /* 1px nach oben überlappen */
  margin-bottom: -1px;      /* 1px nach unten überlappen */
  backface-visibility: hidden; /* iOS Render-Glitches reduzieren */
  /* kein transform hier! */
}

/* card penthouse */
.card-penthouse {
  position: relative;
  display: block;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}
.card-penthouse img {
  display: block;
  width: 100%;
  height: auto;
  transition: filter .25s ease, transform .25s ease;
}

.card-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0);
  transition: background .25s ease;
  pointer-events: none;
  line-height: 0;
}

.card-label {
  color: var(--white);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .25s ease, transform .25s ease;
  text-align: center;
  padding: .25rem .5rem;
  border-radius: .375rem;
}

.card-penthouse:hover .card-overlay,
.card-penthouse:focus-within .card-overlay {
  background: rgba(0,0,0,.45);
}
.card-penthouse:hover .card-label,
.card-penthouse:focus-within .card-label {
  opacity: 1;
  transform: translateY(0);
}

.card-penthouse:hover img,
.card-penthouse:focus-within img {
  filter: brightness(.85);
  transform: scale(1.02);
}

@media (prefers-reduced-motion: reduce) {
  .card-penthouse img,
  .card-overlay,
  .card-label {
    transition: none;
  }
}

.card-penthouse { aspect-ratio: 1 / 1; }
.card-penthouse img { height: 100%; object-fit: cover; }

/* card regular */
.card-regular {
  position: relative;
  display: block;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}
.card-regular img {
  display: block;
  width: 100%;
  height: auto;
  transition: filter .25s ease, transform .25s ease;
}

.card-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0);
  transition: background .25s ease;
  pointer-events: none;
  line-height: 0;
}

.card-label {
  color: var(--white);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .25s ease, transform .25s ease;
  text-align: center;
  padding: .25rem .5rem;
  border-radius: .375rem;
}

.card-regular:hover .card-overlay,
.card-regular:focus-within .card-overlay {
  background: rgba(0,0,0,.45);
}
.card-regular:hover .card-label,
.card-regular:focus-within .card-label {
  opacity: 1;
  transform: translateY(0);
}

.card-regular:hover img,
.card-regular:focus-within img {
  filter: brightness(.85);
  transform: scale(1.02);
}

@media (prefers-reduced-motion: reduce) {
  .card-regular img,
  .card-overlay,
  .card-label {
    transition: none;
  }
}

.card-regular img { height: 100%; object-fit: cover; }

/* stopper */
.stopper {
  width: 320px;
  height: 320px;
  max-width: 320px;
  aspect-ratio: 1/1;
  margin: 0;
  padding: 10px;
  background-color: var(--white);
  border-radius: 50%;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  text-align: center;
  vertical-align: middle;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 100;
  transition: 0.5s all;
}

.stopper:hover {
  transform: translateY(-10px);
}

.stopper a {
  width: 100%;
  height: 100%;
  font-size: 35px;
  font-weight: var(--regular-weight);
  color: var(--aquamarine-600);
  letter-spacing: 0;
  text-align: center;
  line-height: 42px;
  -moz-hyphens: auto;
  hyphens: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(10deg);
}

.stopper a span.stopper-mobile {
  display: none;
}

.stopper span.stopper-desktop {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.25em;
}

.stopper span.stopper-info {
  font-size: 35px;
  font-weight: var(--semibold-weight);
  line-height: 42px;
}

.stopper span.stopper-date-time,
.stopper span.stopper-desktop span:not(.stopper-info) {
  font-size: var(--body2-font-size);
  line-height: 1.3em;
}

.stopper span.stopper-desktop span:not(.stopper-info):not(.stopper-date-time) {
  font-size: var(--body1-font-size);
  line-height: 20px;
}

.stopper span.stopper-desktop span:not(.stopper-info) {
  font-weight: var(--regular-weight);
  text-transform: none;
}

body.page-id-1798 .stopper {
  background-color: var(--aquamarine-400);
  top: 0;
  left: 0;
}

body.page-id-1798 .stopper a {
  color: var(--white);
}

@media only screen and (max-width: 1200px) {
  
  .stopper {
    right: 40px;
    top: 0;
    width: 200px;
    height: 200px;
    padding: 10px;
  }
  
  .stopper span.stopper-info {
    font-size: 24px;
    line-height: 32px;
  }
  
}

@media only screen and (max-width: 992px) {

  .stopper {
    right: 40px;
    top: 0;
    width: 160px;
    height: 160px;
    padding: 10px;
  }

  .stopper a {
   
  }

  .stopper a span.stopper-desktop {
    display: none;
  }

  .stopper a span.stopper-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0;
  }

  .stopper span.stopper-mobile span.stopper-info {
    font-size: var(--body2-font-size);
    line-height: 1.2;
  }

  .stopper span.stopper-mobile span.stopper-date-time {
    font-size: var(--body3-font-size);
    line-height: 1.2;
  }

}

@media only screen and (max-width: 767px) {
  
  body.page-id-1798 .stopper {
    position: relative;
  }
  
}

@media only screen and (max-width: 575px) {
  
  .stopper {
    width: 120px;
    height: 120px;
    top: 0;
    right: 20px;
  }
  
  .stopper span.stopper-mobile span.stopper-info {
    font-size: var(--body3-font-size);
  }
  
  .stopper span.stopper-mobile span.stopper-date-time {
    font-size: var(--body4-font-size);
  }

}

.appointment-title {
  font-size: 40px;
  font-weight: var(--bold-weight);
  line-height: 50px;
}

@media only screen and (max-width: 992px) {
  
  .appointment-title {
    font-size: 24px;
    line-height: 32px;
  }
  
}

/* mobile menu toggle */
.brxa-wrap{
  width:46px;
  height:40px;
  position:relative;
}

.brxe-toggle{
  --gap: 17px;
}

.brxe-toggle .brxa-inner,
.brxe-toggle .brxa-inner:before,
.brxe-toggle .brxa-inner:after{
  width:46px;
  height:4px;
  border-radius:0;
  background-color: transparent !important;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 46px 4px;
  transition: transform 0.25s ease, background-size 0.25s ease;
  transform-origin: center center;
}

.brxe-toggle .brxa-inner:before{
  content:"";
  top: calc(-1 * var(--gap));
  background-size: 46px 4px;
}

.brxe-toggle .brxa-inner:after{
  content:"";
  bottom: calc(-1 * var(--gap));
  background-size: 16px 4px;
}

.brxe-toggle .brxa-inner{
  background-size: 32px 4px;
  transform: none;
}

.brxe-toggle:hover .brxa-inner,
.brxe-toggle:hover .brxa-inner:after{
  background-size: 46px 4px;
}

.brxe-toggle.is-active .brxa-inner{
  background-size: 0 4px;
}

.brxe-toggle.is-active .brxa-inner:before,
.brxe-toggle.is-active .brxa-inner:after{
  background-size: 46px 4px;
  top: 0;
  bottom: auto;
  background-position: center center;
}

.brxe-toggle.is-active .brxa-inner:before{
  transform: rotate(45deg);
}

.brxe-toggle.is-active .brxa-inner:after{
  transform: rotate(-45deg);
}

/* link plan */
.link-plan .link-plan-text:hover {
  text-decoration: none;
}

/* contact */
.contact-person span {
  color: var(--aquamarine-600);
}