.rs-columns {
  clear: both;
  display: inline-block;
  width: 100%;
}

.rs-column {
  float: left;
  width: 100%;
  margin-top: 7.69231%;
  margin-right: 7.69231%;
}
.rs-column.-large-first {
  clear: left;
}
.rs-column.-large-last {
  margin-right: -5px;
}
.rs-column.-large-first-row {
  margin-top: 0;
}
.rs-column.-large-col-1-1 {
  width: 100%;
}
.rs-column.-large-col-2-1 {
  width: 46.15385%;
}
.rs-column.-large-col-2-2 {
  width: 100%;
}
.rs-column.-large-col-3-1 {
  width: 28.20513%;
}
.rs-column.-large-col-3-2 {
  width: 64.10256%;
}
.rs-column.-large-col-3-3 {
  width: 100%;
}
.rs-column.-large-col-4-1 {
  width: 19.23077%;
}
.rs-column.-large-col-4-2 {
  width: 46.15385%;
}
.rs-column.-large-col-4-3 {
  width: 73.07692%;
}
.rs-column.-large-col-4-4 {
  width: 100%;
}
.rs-column.-large-col-5-1 {
  width: 13.84615%;
}
.rs-column.-large-col-5-2 {
  width: 35.38462%;
}
.rs-column.-large-col-5-3 {
  width: 56.92308%;
}
.rs-column.-large-col-5-4 {
  width: 78.46154%;
}
.rs-column.-large-col-5-5 {
  width: 100%;
}
.rs-column.-large-col-6-1 {
  width: 10.25641%;
}
.rs-column.-large-col-6-2 {
  width: 28.20513%;
}
.rs-column.-large-col-6-3 {
  width: 46.15385%;
}
.rs-column.-large-col-6-4 {
  width: 64.10256%;
}
.rs-column.-large-col-6-5 {
  width: 82.05128%;
}
.rs-column.-large-col-6-6 {
  width: 100%;
}
@media screen and (max-width: 900px) {
  .rs-column {
    margin-top: 7.69231%;
    margin-right: 7.69231%;
  }
  .rs-column.-large-first {
    clear: none;
  }
  .rs-column.-large-last {
    margin-right: 7.69231%;
  }
  .rs-column.-large-first-row {
    margin-top: 7.69231%;
  }
  .rs-column.-medium-first {
    clear: left;
  }
  .rs-column.-medium-last {
    margin-right: -5px;
  }
  .rs-column.-medium-first-row {
    margin-top: 0;
  }
  .rs-column.-medium-col-1-1 {
    width: 100%;
  }
  .rs-column.-medium-col-2-1 {
    width: 46.15385%;
  }
  .rs-column.-medium-col-2-2 {
    width: 100%;
  }
  .rs-column.-medium-col-3-1 {
    width: 28.20513%;
  }
  .rs-column.-medium-col-3-2 {
    width: 64.10256%;
  }
  .rs-column.-medium-col-3-3 {
    width: 100%;
  }
  .rs-column.-medium-col-4-1 {
    width: 19.23077%;
  }
  .rs-column.-medium-col-4-2 {
    width: 46.15385%;
  }
  .rs-column.-medium-col-4-3 {
    width: 73.07692%;
  }
  .rs-column.-medium-col-4-4 {
    width: 100%;
  }
  .rs-column.-medium-col-5-1 {
    width: 13.84615%;
  }
  .rs-column.-medium-col-5-2 {
    width: 35.38462%;
  }
  .rs-column.-medium-col-5-3 {
    width: 56.92308%;
  }
  .rs-column.-medium-col-5-4 {
    width: 78.46154%;
  }
  .rs-column.-medium-col-5-5 {
    width: 100%;
  }
  .rs-column.-medium-col-6-1 {
    width: 10.25641%;
  }
  .rs-column.-medium-col-6-2 {
    width: 28.20513%;
  }
  .rs-column.-medium-col-6-3 {
    width: 46.15385%;
  }
  .rs-column.-medium-col-6-4 {
    width: 64.10256%;
  }
  .rs-column.-medium-col-6-5 {
    width: 82.05128%;
  }
  .rs-column.-medium-col-6-6 {
    width: 100%;
  }
}
@media screen and (max-width: 599px) {
  .rs-column {
    margin-top: 7.69231%;
    margin-right: 7.69231%;
  }
  .rs-column.-large-last {
    margin-right: 7.69231%;
  }
  .rs-column.-large-first-row {
    margin-top: 7.69231%;
  }
  .rs-column.-medium-first {
    clear: none;
  }
  .rs-column.-medium-last {
    margin-right: 7.69231%;
  }
  .rs-column.-medium-first-row {
    margin-top: 7.69231%;
  }
  .rs-column.-small-first {
    clear: left;
  }
  .rs-column.-small-last {
    margin-right: -5px;
  }
  .rs-column.-small-first-row {
    margin-top: 0;
  }
  .rs-column.-small-col-1-1 {
    width: 100%;
  }
  .rs-column.-small-col-2-1 {
    width: 46.15385%;
  }
  .rs-column.-small-col-2-2 {
    width: 100%;
  }
  .rs-column.-small-col-3-1 {
    width: 28.20513%;
  }
  .rs-column.-small-col-3-2 {
    width: 64.10256%;
  }
  .rs-column.-small-col-3-3 {
    width: 100%;
  }
  .rs-column.-small-col-4-1 {
    width: 19.23077%;
  }
  .rs-column.-small-col-4-2 {
    width: 46.15385%;
  }
  .rs-column.-small-col-4-3 {
    width: 73.07692%;
  }
  .rs-column.-small-col-4-4 {
    width: 100%;
  }
  .rs-column.-small-col-5-1 {
    width: 13.84615%;
  }
  .rs-column.-small-col-5-2 {
    width: 35.38462%;
  }
  .rs-column.-small-col-5-3 {
    width: 56.92308%;
  }
  .rs-column.-small-col-5-4 {
    width: 78.46154%;
  }
  .rs-column.-small-col-5-5 {
    width: 100%;
  }
  .rs-column.-small-col-6-1 {
    width: 10.25641%;
  }
  .rs-column.-small-col-6-2 {
    width: 28.20513%;
  }
  .rs-column.-small-col-6-3 {
    width: 46.15385%;
  }
  .rs-column.-small-col-6-4 {
    width: 64.10256%;
  }
  .rs-column.-small-col-6-5 {
    width: 82.05128%;
  }
  .rs-column.-small-col-6-6 {
    width: 100%;
  }
}

* {
    margin: 0;
	padding: 0;
	border: 0;
    box-sizing: border-box;
}

/* league-spartan-300 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'League Spartan';
    font-style: normal;
    font-weight: 300;
    src: url('../../files/litzenhoff/theme/fonts/league-spartan-v11-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  
  /* league-spartan-regular - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'League Spartan';
    font-style: normal;
    font-weight: 400;
    src: url('../../files/litzenhoff/theme/fonts/league-spartan-v11-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  
  /* league-spartan-600 - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'League Spartan';
    font-style: normal;
    font-weight: 600;
    src: url('../../files/litzenhoff/theme/fonts/league-spartan-v11-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  
  :root {
    --primary-color: #A95F46;
    --secondary-color: #1E204C;
    --highlight-color: #7CC867;
    --page-background: #F8F5F4;
    --text-color: #1A1A1A;
}

html, body {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 18px;
    color: var(--text-color);
    height: 100%;
}

#wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
}

#wrapper > *:nth-child(2) {
    margin-top: 90px;
}

#container {
    flex: 1;
}

p {
    /*font-size: clamp(1em, 2vw, 1.25em);*/
    font-size: clamp(1em, 1vw, 1.25em);
    line-height: 1.75;
    margin-bottom: 32px;
}

p:last-child {
    margin-bottom: 0;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.25;
    font-weight: 400;
    margin-bottom: 32px;
    max-width: 1100px;
}

h1:not(:first-child), h2:not(:first-child), h3:not(:first-child), h4:not(:first-child), h5:not(:first-child), h6:not(:first-child) {
    margin-top: 32px;
}
    

h1 {
    font-size: clamp(1.75em, 3vw, 3em);
}

h2 {
    font-size: clamp(1.5em, 3vw, 2.75em);
}

h3 {
    font-size: clamp(1.25em, 3vw, 2em);
}

h4 {
    font-size: clamp(1.15em, 3vw, 1.5em);
}

h5 {
    font-size: clamp(1.05em, 3vw, 1.25em);
    font-weight: 700;
}

h6 {
    font-size: 1em;
    font-weight: 700;
}

a:link,
a:visited {
    text-decoration: underline;
    color: var(--secondary-color);
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    transition: all .5s;
}

a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

a:focus {
    color: var(--focus-color);
}

a:active {
    color: var(--text-color);
}

main ul, main ol {
    margin: 0 0 32px 16px;
    font-size: clamp(1em, 1vw, 1.25em);
    line-height: 1.75;
}

main .rte ul li, 
main .rte ol li {
    margin-bottom: 16px;
}

header a:link,
header a:visited {
    text-decoration: none;
}

header .inside, footer .inside,
.mod_article:not(.fullwidth) .inside:not(#pageimage .inside), 
.bg-container .inside {
    padding: 0 16px;
}

@media screen and (min-width: 500px) {
    header .inside, footer .inside,
    .mod_article:not(.fullwidth) .inside:not(#pageimage .inside),
    .bg-container .inside {
        padding: 0 32px;
    }
}

@media screen and (min-width: 768px) {
    header .inside, footer .inside,
    .mod_article:not(.fullwidth) .inside:not(#pageimage .inside),
    .bg-container .inside {
        padding: 0 5vw;
    }
}

@media screen and (min-width: 992px) {
    header .inside, footer .inside,
    .mod_article:not(.fullwidth) .inside:not(#pageimage .inside),
    .bg-container .inside {
        padding: 0 10vw;
    }
}

@media screen and (max-width: 1270px) {
    header .inside {
        padding: 0 16px;
    }
}

@media screen and (min-width: 1921px) {
    header .inside, footer .inside,
    .mod_article:not(.fullwidth) .inside:not(#pageimage .inside),
    .bg-container .inside {
        padding: 0 15vw;
    }
}

.invisible {
    border: 0;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    float: left;
    z-index: -100;
}

[data-icon]::before {
    content: attr(data-icon);
    font-family: "fontello";
    font-size: 25px;
    font-style: normal;
}

a.button:link,
a.button:visited {
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    border-radius: 5px;
    padding: 10px 20px;
    margin: 32px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
}
 
a.button:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

a.button.--btn-white:link,
a.button.--btn-white:visited {
    background-color: white;
    border-color: white;
    color: var(--text-color);
}

a.button.--btn-white:hover {
    border-color: var(--secondary-color);
    background-color: var(--secondary-color);
    color: white;
}

a.button:focus,
a.button.--btn-white:focus {
    border-color: var(--focus-color);
}

a.button:active,
a.button.--btn-white:active {
    background-color: var(--focus-color);
} 


/*Header*/
header {
    box-shadow: 0 0 30px rgba(206,214,216,.7);
    padding: 16px 0;
    background-color: white;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    z-index: 1000;
    overflow: hidden;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
    overflow: visible;
}

#header.shrink {
    padding: 8px 0;
    height: 85px;
}

#header.shrink #logo img{
    max-height: 60px;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

header .inside {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 2em;
    position: relative; 
    height: 100%;
}

header #logo img {
    max-height: 90px;
    min-height: 50px;
    width: auto;
}

@media screen and (max-width: 460px) {
    header .inside {
        flex-wrap: nowrap;
    }
    header #logo img {
        max-width: 250px;
        width: 100%;
    }
}

@media screen and (max-width: 1500px) {
    header .inside {
        gap: 8px;
    }

    header #logo img {
        max-height: 70px;
    }
}

header .nav-toggle__box {
    display: block;
}

@media screen and (min-width: 1020px) {
    header .nav-toggle__box {
        display: none;
    }
}

header .nav-toggle {
    width: 68px;
    cursor: pointer;
}

header .nav-toggle span:not(.menu) {
    display: block;
    width: 100%;
    border-radius: 3px;
    height: 3px;
    background: var(--text-color);
    transition: all .3s;
    position: relative;
  }

  span.menu {
    position: relative;
    top: 6px;
}
  
  header .nav-toggle span + span {
    margin-top: 9px;
  }
  
  .active span:nth-child(1) {
    animation: ease .7s top forwards;
  }
  
  .not-active span:nth-child(1) {
    animation: ease .7s top-2 forwards;
  }
  
  .active span:nth-child(2) {
    animation: ease .7s scaled forwards;
  }
  
  .not-active span:nth-child(2) {
    animation: ease .7s scaled-2 forwards;
  }
  
  .active span:nth-child(3) {
    animation: ease .7s bottom forwards;
  }
  
  .not-active span:nth-child(3) {
    animation: ease .7s bottom-2 forwards;
  }
  
  @keyframes top {
    0% {
      top: 0;
      transform: rotate(0);
    }
    50% {
      top: 12px;
      transform: rotate(0);
    }
    100% {
      top: 12px;
      transform: rotate(45deg);
    }
  }
  
  @keyframes top-2 {
    0% {
      top: 12px;
      transform: rotate(45deg);
    }
    50% {
      top: 12px;
      transform: rotate(0deg);
    }
    100% {
      top: 0;
      transform: rotate(0deg);
    }
  }
  
  @keyframes bottom {
    0% {
      bottom: 0;
      transform: rotate(0);
    }
    50% {
      bottom: 12px;
      transform: rotate(0);
    }
    100% {
      bottom: 12px;
      transform: rotate(135deg);
    }
  }
  
  @keyframes bottom-2 {
    0% {
      bottom: 12px;
      transform: rotate(135deg);
    }
    50% {
      bottom: 12px;
      transform: rotate(0);
    }
    100% {
      bottom: 0;
      transform: rotate(0);
    }
  }
  
  @keyframes scaled {
    50% {
      transform: scale(0);
    }
    100% {
      transform: scale(0);
    }
  }
  
  @keyframes scaled-2 {
    0% {
      transform: scale(0);
    }
    50% {
      transform: scale(0);
    }
    100% {
      transform: scale(1);
    }
  }

header .mod_navigation {
    display: none;
}

@media screen and (min-width: 1020px) {
    header .mod_navigation {
        display: block;
    }
}
@media screen and (min-width: 1020px) {
header .mod_navigation ul {
    list-style: none;
    margin-bottom: 0;
    margin-top: 0;
    padding-left: 0;
  
    display: flex;
}

header .mod_navigation ul ul {
    position: absolute;
    left: 0;
    top: 100%;
    flex-direction: column;

    transform-origin: top center;
    transform: scale(1, 0);
    transition: transform 0.2s;
}

header .mod_navigation ul li {
    padding: 8px 16px;
    position: relative;
}

@media screen and (max-width: 1290px) and (min-width: 1020px) {
    header .mod_navigation ul li {
        padding: 0 12px;
    }
}

header .mod_navigation ul li:hover ul {
    transform: scale(1, 1);
}

header .mod_navigation ul ul {
    background-color: white;
    box-shadow: 0px 0px 10px 0px rgba(175,188,190,1);
    -webkit-box-shadow: 0px 0px 10px 0px rgba(175,188,190,1);
    -moz-box-shadow: 0px 0px 10px 0px rgba(175,188,190,1);
    border-radius: 3px;
}

header .mod_navigation ul ul li a {
    display: block;
    text-decoration: none;
    color: #ddd;
    white-space: nowrap;
}

.mod_navigation a:link,
.mod_navigation a:visited,
.mod_customnav a:link,
.mod_customnav a:visited,
.mod_sitemap a:link,
.mod_sitemap a:visited {
    color: var(--secondary-color);
}

.mod_navigation a:hover,
.mod_customnav a:hover,
.mod_sitemap a:hover {
    color: var(--primary-color);
}

.mod_navigation a:focus,
.mod_customnav a:focus,
.mod_sitemap a:focus {
    color: var(--focus-color);
}

.mod_navigation a:active,
.mod_customnav a:active,
.mod_sitemap a:active {
    color: var(--text-color);
}
}

/*----------*/
@media screen and (max-width: 1019px) {
    .mod_navigation {
        width:100%;
        float:left;
        background-color: white;
        box-shadow: 0px 0px 10px 0px rgba(175,188,190,1);
        -webkit-box-shadow: 0px 0px 10px 0px rgba(175,188,190,1);
        -moz-box-shadow: 0px 0px 10px 0px rgba(175,188,190,1);
        border-radius: 3px;
        position: absolute;
        top: 74px;
        left: 0;
    }

    .shrink .mod_navigation {
        top: 78px;
    }
    
    .mod_navigation li {
        float:left;
        width:100%;
        position:relative;
        list-style-type: none;
    }

    .mod_navigation a,
    .mod_navigation strong {
        display:block;
        height:100%;
        width:100%;
        padding:1em;
        text-decoration:none;
        color:var(--text-color);
        background:var(--page-background);
        border-top: 1px solid rgba(0,0,0,0.5);
    }

    .mod_navigation li:first-child > * {
        border-top: 0;
    }
    
    .mod_navigation a:hover {
        background:rgba(0,0,0,0.4);
    }
    
    .mod_navigation {
        display:none;
    }
    
    .sub-menu {
        display:none;
    }
    
    .sub-menu li:last-of-type {
        padding-bottom:0;
    }
    
    .sub-menu a {
        background:white;
    }
    
    .sub-menu .sub-menu a {
        background:rgba(0,0,0,0.6);
    }
    
    /* toggles */
    .nav-toggle {
        background:transparent;
        display:block;
        position:relative;
        right:0;
        top:0;
        padding:1em;
        color:var(--text-color);
        cursor:pointer;
    }
    
    .toggle-sub-menu {
        display:none;
    }
    
    .toggle-sub-menu {
        position:absolute;
        right:0;
        top:1px; /* Höhe des borders */
        display:block;
        padding:1em;
        background: white;
        height: 61px;
        width: 61px;
        cursor:pointer;
    }
    
    .toggle-sub-menu.active {
        background: white}
        
    .toggle-sub-menu:hover,
    .toggle-sub-menu.active:hover  {
        background-color: var(--primary-color);
    }
}
/*----------*/

/*Pageimage*/
#pageimage {
    text-align: center;
}

#pageimage img {
    width: 100vw;
    height: auto;
    object-fit: cover;
    max-height: 710px;
}

#pageimage .content-image {
    position: relative;
}

#pageimage figure {
    position: relative;
}

#pageimage figure::before {
    content: '';
    position: absolute;
    z-index: 999;
    background-image: url('../../files/litzenhoff/theme/img/pageimage-overlay.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center bottom;
    height: 100%;
    width: 100%;
    bottom: 0;
}

@keyframes zoomIn {
    from {
        transform: scale(1.1);
    }
    to {
        transform: scale(1);
    }
}
  
#pageimage .mod_article{
    position: relative;
    overflow: hidden; /* Verhindert, dass das Bild über den Container hinausragt */
    width: 100%; /* Oder eine feste Breite, falls nötig */
    height: auto; /* Falls eine feste Höhe nötig ist, diese setzen */
}

#pageimage img {
    width: 100%; /* Stellt sicher, dass das Bild die volle Containerbreite nutzt */
    height: 100%; /* Falls nötig, anpassen */
    object-fit: cover; /* Sorgt dafür, dass das Bild den Container ausfüllt */
    display: block; /* Entfernt mögliche Lücken unterhalb des Bildes */
    animation: zoomIn 3s ease-out forwards;
}

/* MAIN */
main img {
    width: 100%;
    height: auto;
}

main .mod_article {
    padding: 50px 16px;
    position: relative;
    display: block;
    clear: both;
}

@media screen and (min-width: 500px) {
    main .mod_article {
        padding: 50px 32px;
    }
}

@media screen and (min-width: 992px) {
    main .mod_article {
        padding: 50px 10vw;
    }
}

@media screen and (min-width: 1921px) {
    main .mod_article {
        padding: 50px 15vw;
    }
}

main .mod_article.bg-color-01 {
    background: #F8F8F8;
}

main .content-slider,
main .fullwidth {
    margin: 50px 0 100px;
}

main .content-text {
    margin: 32px 0;
}

.content-text .rte {
    max-width: 1100px;
}

.content-text.media::after {
    content: "";
    display: block;
    clear: both;
}

.content-image figure img {
    margin-bottom: 0;
}

@media screen and (min-width: 768px) {
    .media--right figure {
        max-width: 50%;
        float: right;
        margin-left: 64px;
    }
    
    .content-text:has(h1) .rte {
        margin-left: /*104px*/5vw;
    }
}

/*Media Element*/
/*main figure img {
    margin-bottom: 32px;
    border-radius: 8px;
    overflow: hidden;
    display: inline-flex;
}*/

main figure picture,
main figure a img {
    display: flex;
}

main figure picture {
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 32px;
}

main a:has(img) img{
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s linear;
    -ms-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    transition: all 0.3s linear;
}

main a:has(img) img:hover {
    -webkit-transform: scale(1.2);
    -moz-transform: scale(1.2);
    -ms-transform: scale(1.2);
    -o-transform: scale(1.2);
    transform: scale(1.2);
}

/*Columns-8-4*/

@media screen and (min-width: 596px) {
    main .columns-8-4 {
        display: flex;
        gap: 32px;
        align-items: center;
        margin-bottom: 68px;
    }
}

@media screen and (min-width: 596px) and (max-width: 877px) {
    main .columns-8-4 div:first-child {
        flex-basis: 50%;
    }
    
    main .columns-8-4 div:nth-child(2) {
        flex-basis: 50%;
    }
}

@media screen and (min-width: 878px) {
    main .columns-8-4 div:first-child {
        flex-basis: 66.666%;
    }
    
    main .columns-8-4 div:nth-child(2) {
        flex-basis: 33.333%;
    }
}

/*Partner*/
.partner .content-text figure {
    border: 1px solid var(--text-color);
    margin-bottom: 32px;
}

/*content-hyperlink*/ /*content-description-list*/
.content-hyperlink {
    text-align: center;
}

.content-hyperlink a,
.content-description-list h2 {
    text-decoration: none;
    font-size: clamp(1.05em, 3vw, 1.25em);
}

.content-hyperlink a span,
.content-description-list h2,
.content-gallery figcaption {
    border-top: 2px solid var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    padding: 8px;
    display: inline-block;
    text-align: center;
}

.content-description-list dl {
    line-height: 1.75;
}

/*Swiper*/
.swiper-wrapper {
    margin-bottom: 32px;
}

.mod_article:has(.content-swiper) {
    padding-inline: 0;
}

.swiper-button-next::after, .swiper-button-prev::after {
    font-size: 24px;
    color: var(--primary-color);
}

.swiper-button-next, .swiper-button-prev {
    width: 50px;
    height: 50px;
    border-radius: 50px;
    border: 2px solid var(--primary-color);
    position: absolute;
    z-index: 999;
}

.swiper-button-prev {
    left: 15vw;
}

.swiper-button-next {
    right: 15vw;
}

.swiper figure {
    display: flex;
    justify-content: center;
}

.swiper figure picture {
    border-radius: 0;
    margin-bottom: 0;
}

.swiper img {
    max-width:550px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 32px;
}

.swiper figcaption {
    display: none;
}

.swiper-pagination {
    position: relative;
}

.swiper-pagination-bullet {
    width: 20px;
    height: 20px;
}

.swiper-pagination-bullet-active {
    background: var(--primary-color);
}

/*ACCORDION*/
.position--left .content-accordion {
    margin-left: 0 !important;
}

.content-accordion {
    max-width: 1100px;
    margin: 0 auto;
}

.content-accordion h2 {
    font-size: clamp(1em, 1vw, 1.25em);
    margin-top: 16px;
}

.handorgel__header__button {
    background-color: var(--primary-color);
    color: white;
    padding: 8px 32px;
    border-radius: 16px;
    border: none;
    box-shadow: 0 8px 16px rgba(154,37,83,.2);
}

.handorgel__content__inner {
    padding: 8px 32px;
}

.handorgel__content {
    border: none;
    background-color: transparent;
}

.content-accordion .content-text {
    margin: 16px 0;
}

.bg-color {
    background-color: var(--page-background);
}

.mod_article.columns-3 {
    display: grid;
    /*grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));*/
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

@media (max-width: 900px) {
    .mod_article.columns-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .mod_article.columns-3 {
        grid-template-columns: 1fr;
    }
}

/*Gallery*/
.content-gallery ul {
    display: grid;
    gap: 32px;
    list-style-type: none;
}

.content-gallery--cols-2 ul,
.content-gallery--cols-3 ul,
.content-gallery--cols-4 ul {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

@media screen and (min-width: 875px) {
    .content-gallery--cols-2 ul {
        grid-template-columns: 1fr 1fr;
    }

    .content-gallery--cols-3 ul {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media screen and (min-width: 1136px) {
    .content-gallery--cols-4 ul {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}

.content-gallery img {
    margin-bottom: 0;
}

.content-gallery figure {
    display: flex;
    flex-direction: column;
}

.content-gallery figcaption {
    margin: 0 auto 64px;
}

/*Formular*/

.ce_form .formbody {
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: 600px;
}

.ce_form .formbody .widget {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ce_form input,
.ce_form select,
.ce_form textarea {
    border: 1px solid var(--primary-color);
    padding: 16px 24px;
    border-radius: 3px;
    background-color: transparent;
    font-family: 'League Spartan';
    font-weight: 300;
    font-size: clamp(1em, 1vw, 1.25em);
}

.ce_form button {
    background-color: #7B4D3B;
    color: white;
    width: fit-content;
    padding: 12px 32px 10px;
    font-family: 'League Spartan';
    font-weight: 300;
    font-size: clamp(1em, 1vw, 1.25em);
    border-radius: 3px;
    border: 2px solid transparent;
}

.ce_form button:hover {
    background-color: var(--text-color);
}

.ce_form button:focus {
    border-color: var(--focus-color);
    background-color: white;
    color: var(--text-color);
}

.ce_form button:active {
    background-color: var(--secondary-color);
    color: white;
    border-color: transparent;
}

/*FOOTER*/
footer {
    border-top: 2px solid var(--primary-color);
    background-color: white;
    padding: 64px 0;
}

footer .inside {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 32px;
}

footer .mod_customnav ul {
    margin-left: 4px;
    list-style-type: none;
}
