@font-face {
  font-display: swap;
  font-family: 'seelust';
  src: url('../../files/seelust/theme/fonts/seelust.eot?51362423');
  src: url('../../files/seelust/theme/fonts/seelust.eot?51362423#iefix') format('embedded-opentype'),
       url('../../files/seelust/theme/fonts/seelust.woff2?51362423') format('woff2'),
       url('../../files/seelust/theme/fonts/seelust.woff?51362423') format('woff'),
       url('../../files/seelust/theme/fonts/seelust.ttf?51362423') format('truetype'),
       url('../../files/seelust/theme/fonts/seelust.svg?51362423#seelust') format('svg');
  font-weight: normal;
  font-style: normal;
}
/* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */
/* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */
/*
@media screen and (-webkit-min-device-pixel-ratio:0) {
  @font-face {
    font-family: 'seelust';
    src: url('../../files/seelust/theme/fonts/seelust.svg?47530418#seelust') format('svg');
  }
}
*/
[class^="icon-"]:before, [class*=" icon-"]:before, .button:after, .media--above .rte a:after,
.rte ul li:before {
  font-family: "seelust";
  font-style: normal;
  font-weight: normal;
  speak: never;

  display: inline-block;
  text-decoration: inherit;
  width: 1em;
  margin-right: .2em;
  text-align: center;
  /* opacity: .8; */

  /* For safety - reset parent styles, that can break glyph codes*/
  font-variant: normal;
  text-transform: none;

  /* fix buttons height, for twitter bootstrap */
  line-height: 1em;

  /* Animation center compensation - margins should be symmetric */
  /* remove if not needed */
  margin-left: .2em;

  /* you can be more comfortable with increased icons size */
  /* font-size: 120%; */

  /* Font smoothing. That was taken from TWBS */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  /* Uncomment for 3D effect */
  /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
}

.icon-up-open:before { content: '\e800'; } /* '' */
.icon-down-open:before { content: '\e801'; } /* '' */
.icon-right-open:before { content: '\e802'; } /* '' */
.icon-left-open:before { content: '\e803'; } /* '' */
.icon-calendar:before { content: '\e804'; } /* '' */
.icon-ok:before { content: '\e805'; } /* '' */
.icon-phone:before { content: '\e806'; } /* '' */
.icon-user:before { content: '\e807'; } /* '' */
.icon-glass:before { content: '\e808'; } /* '' */
.icon-picture:before { content: '\e809'; } /* '' */
.icon-camera:before { content: '\e80a'; } /* '' */
.icon-th-list:before { content: '\e80b'; } /* '' */
.icon-th:before { content: '\e80c'; } /* '' */
.icon-th-large:before { content: '\e80d'; } /* '' */
.icon-home:before { content: '\e80e'; } /* '' */
.icon-info-circled:before { content: '\e80f'; } /* '' */
.icon-help-circled:before { content: '\e810'; } /* '' */
.icon-download:before { content: '\e811'; } /* '' */
.icon-print:before { content: '\e812'; } /* '' */
.icon-chat:before { content: '\e813'; } /* '' */
.icon-attention:before { content: '\e814'; } /* '' */
.icon-doc:before { content: '\e815'; } /* '' */
.icon-light-up:before { content: '\e816'; } /* '' */
.icon-star:before { content: '\e817'; } /* '' */
.icon-flag:before { content: '\e818'; } /* '' */
.icon-tag:before { content: '\e819'; } /* '' */
.icon-chart-bar:before { content: '\e81a'; } /* '' */
.icon-moon:before { content: '\e81b'; } /* '' */
.icon-suitcase:before { content: '\e81c'; } /* '' */
.icon-briefcase:before { content: '\e81d'; } /* '' */
.icon-key-inv:before { content: '\e81e'; } /* '' */
.icon-icon-custom-wifi:before { content: '\e81f'; } /* '' */
.icon-icon-custom-safe:before { content: '\e820'; } /* '' */
.icon-icon-custom-shower:before { content: '\e821'; } /* '' */
.icon-icon-custom-tv:before { content: '\e822'; } /* '' */
.icon-icon-custom-parking:before { content: '\e823'; } /* '' */
.icon-icon-custom-phone:before { content: '\e824'; } /* '' */
.icon-icon-custom-dryer:before { content: '\e825'; } /* '' */
.icon-icon-custom-bed:before { content: '\e826'; } /* '' */
.icon-link-ext:before { content: '\f08e'; } /* '' */
.icon-facebook:before { content: '\f09a'; } /* '' */
.icon-money:before { content: '\f0d6'; } /* '' */
.icon-mail-alt:before { content: '\f0e0'; } /* '' */
.icon-linkedin:before { content: '\f0e1'; } /* '' */
.icon-coffee:before { content: '\f0f4'; } /* '' */
.icon-food:before { content: '\f0f5'; } /* '' */
.icon-doc-text:before { content: '\f0f6'; } /* '' */
.icon-beer:before { content: '\f0fc'; } /* '' */
.icon-angle-left:before { content: '\f104'; } /* '' */
.icon-angle-right:before { content: '\f105'; } /* '' */
.icon-angle-up:before { content: '\f106'; } /* '' */
.icon-angle-down:before { content: '\f107'; } /* '' */
.icon-attention-alt:before { content: '\f12a'; } /* '' */
.icon-anchor:before { content: '\f13d'; } /* '' */
.icon-euro:before { content: '\f153'; } /* '' */
.icon-xing:before { content: '\f168'; } /* '' */
.icon-youtube-play:before { content: '\f16a'; } /* '' */
.icon-instagram:before { content: '\f16d'; } /* '' */
.icon-down:before { content: '\f175'; } /* '' */
.icon-up:before { content: '\f176'; } /* '' */
.icon-left:before { content: '\f177'; } /* '' */
.icon-right:before { content: '\f178'; } /* '' */
.icon-wheelchair:before { content: '\f193'; } /* '' */
.icon-cab:before { content: '\f1b9'; } /* '' */
.icon-file-pdf:before { content: '\f1c1'; } /* '' */
.icon-file-image:before { content: '\f1c5'; } /* '' */
.icon-file-archive:before { content: '\f1c6'; } /* '' */
.icon-wechat:before { content: '\f1d7'; } /* '' */
.icon-soccer-ball:before { content: '\f1e3'; } /* '' */
.icon-binoculars:before { content: '\f1e5'; } /* '' */
.icon-newspaper:before { content: '\f1ea'; } /* '' */
.icon-cc-visa:before { content: '\f1f0'; } /* '' */
.icon-cc-mastercard:before { content: '\f1f1'; } /* '' */
.icon-cc-discover:before { content: '\f1f2'; } /* '' */
.icon-cc-amex:before { content: '\f1f3'; } /* '' */
.icon-cc-paypal:before { content: '\f1f4'; } /* '' */
.icon-cc-stripe:before { content: '\f1f5'; } /* '' */
.icon-birthday:before { content: '\f1fd'; } /* '' */
.icon-bicycle:before { content: '\f206'; } /* '' */
.icon-bus:before { content: '\f207'; } /* '' */
.icon-ship:before { content: '\f21a'; } /* '' */
.icon-user-plus:before { content: '\f234'; } /* '' */
.icon-user-times:before { content: '\f235'; } /* '' */
.icon-bed:before { content: '\f236'; } /* '' */
.icon-subway:before { content: '\f239'; } /* '' */
.icon-television:before { content: '\f26c'; } /* '' */
.icon-map-signs:before { content: '\f277'; } /* '' */
.icon-map-o:before { content: '\f278'; } /* '' */
.icon-envira:before { content: '\f299'; } /* '' */
.icon-blind:before { content: '\f29d'; } /* '' */
.icon-font-awesome:before { content: '\f2b4'; } /* '' */
.icon-address-book:before { content: '\f2b9'; } /* '' */
.icon-thermometer-3:before { content: '\f2c8'; } /* '' */
.icon-shower:before { content: '\f2cc'; } /* '' */
.icon-bath:before { content: '\f2cd'; } /* '' */

/* CSS Reset */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
    display: block;
}

* {
    box-sizing: border-box;
}

body {
    line-height: 1;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

sup {
    vertical-align: super;
    font-size: 14px;
}

/*Fonts*/
/* prata-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: 'Prata';
    font-style: normal;
    font-weight: 400;
    src: url('../../files/seelust/theme/fonts/prata-v20-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* nunito-sans-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: 'Nunito Sans';
    font-style: normal;
    font-weight: 300;
    src: url('../../files/seelust/theme/fonts/nunito-sans-v15-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
  
/* nunito-sans-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: 'Nunito Sans';
    font-style: normal;
    font-weight: 600;
    src: url('../../files/seelust/theme/fonts/nunito-sans-v15-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

@font-face {
  font-display: swap;
  font-family: 'seelust';
  src: url('../../files/seelust/theme/fonts/seelust.eot?51362423');
  src: url('../../files/seelust/theme/fonts/seelust.eot?51362423#iefix') format('embedded-opentype'),
       url('../../files/seelust/theme/fonts/seelust.woff2?51362423') format('woff2'),
       url('../../files/seelust/theme/fonts/seelust.woff?51362423') format('woff'),
       url('../../files/seelust/theme/fonts/seelust.ttf?51362423') format('truetype'),
       url('../../files/seelust/theme/fonts/seelust.svg?51362423#seelust') format('svg');
  font-weight: normal;
  font-style: normal;
}

[class^="icon-"]:before, [class*=" icon-"]:before, .button:after, .media--above .rte a:after,
.rte ul li:before {
  font-family: "seelust";
  font-style: normal;
  font-weight: normal;
  speak: never;

  display: inline-block;
  text-decoration: inherit;
  width: 1em;
  margin-right: .2em;
  text-align: center;
  /* opacity: .8; */

  /* For safety - reset parent styles, that can break glyph codes*/
  font-variant: normal;
  text-transform: none;

  /* fix buttons height, for twitter bootstrap */
  line-height: 1em;

  /* Animation center compensation - margins should be symmetric */
  /* remove if not needed */
  margin-left: .2em;

  /* you can be more comfortable with increased icons size */
  /* font-size: 120%; */

  /* Font smoothing. That was taken from TWBS */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  /* Uncomment for 3D effect */
  /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
}

.icon-up-open:before { content: '\e800'; } /* '' */
.icon-down-open:before { content: '\e801'; } /* '' */
.icon-right-open:before { content: '\e802'; } /* '' */
.icon-left-open:before { content: '\e803'; } /* '' */
.icon-calendar:before { content: '\e804'; } /* '' */
.icon-ok:before { content: '\e805'; } /* '' */
.icon-phone:before { content: '\e806'; } /* '' */
.icon-user:before { content: '\e807'; } /* '' */
.icon-glass:before { content: '\e808'; } /* '' */
.icon-picture:before { content: '\e809'; } /* '' */
.icon-camera:before { content: '\e80a'; } /* '' */
.icon-th-list:before { content: '\e80b'; } /* '' */
.icon-th:before { content: '\e80c'; } /* '' */
.icon-th-large:before { content: '\e80d'; } /* '' */
.icon-home:before { content: '\e80e'; } /* '' */
.icon-info-circled:before { content: '\e80f'; } /* '' */
.icon-help-circled:before { content: '\e810'; } /* '' */
.icon-download:before { content: '\e811'; } /* '' */
.icon-print:before { content: '\e812'; } /* '' */
.icon-chat:before { content: '\e813'; } /* '' */
.icon-attention:before { content: '\e814'; } /* '' */
.icon-doc:before { content: '\e815'; } /* '' */
.icon-light-up:before { content: '\e816'; } /* '' */
.icon-star:before { content: '\e817'; } /* '' */
.icon-flag:before { content: '\e818'; } /* '' */
.icon-tag:before { content: '\e819'; } /* '' */
.icon-chart-bar:before { content: '\e81a'; } /* '' */
.icon-moon:before { content: '\e81b'; } /* '' */
.icon-suitcase:before { content: '\e81c'; } /* '' */
.icon-briefcase:before { content: '\e81d'; } /* '' */
.icon-key-inv:before { content: '\e81e'; } /* '' */
.icon-icon-custom-wifi:before { content: '\e81f'; } /* '' */
.icon-icon-custom-safe:before { content: '\e820'; } /* '' */
.icon-icon-custom-shower:before { content: '\e821'; } /* '' */
.icon-icon-custom-tv:before { content: '\e822'; } /* '' */
.icon-icon-custom-parking:before { content: '\e823'; } /* '' */
.icon-icon-custom-phone:before { content: '\e824'; } /* '' */
.icon-icon-custom-dryer:before { content: '\e825'; } /* '' */
.icon-icon-custom-bed:before { content: '\e826'; } /* '' */
.icon-link-ext:before { content: '\f08e'; } /* '' */
.icon-facebook:before { content: '\f09a'; } /* '' */
.icon-money:before { content: '\f0d6'; } /* '' */
.icon-mail-alt:before { content: '\f0e0'; } /* '' */
.icon-linkedin:before { content: '\f0e1'; } /* '' */
.icon-coffee:before { content: '\f0f4'; } /* '' */
.icon-food:before { content: '\f0f5'; } /* '' */
.icon-doc-text:before { content: '\f0f6'; } /* '' */
.icon-beer:before { content: '\f0fc'; } /* '' */
.icon-angle-left:before { content: '\f104'; } /* '' */
.icon-angle-right:before { content: '\f105'; } /* '' */
.icon-angle-up:before { content: '\f106'; } /* '' */
.icon-angle-down:before { content: '\f107'; } /* '' */
.icon-attention-alt:before { content: '\f12a'; } /* '' */
.icon-anchor:before { content: '\f13d'; } /* '' */
.icon-euro:before { content: '\f153'; } /* '' */
.icon-xing:before { content: '\f168'; } /* '' */
.icon-youtube-play:before { content: '\f16a'; } /* '' */
.icon-instagram:before { content: '\f16d'; } /* '' */
.icon-down:before { content: '\f175'; } /* '' */
.icon-up:before { content: '\f176'; } /* '' */
.icon-left:before { content: '\f177'; } /* '' */
.icon-right:before { content: '\f178'; } /* '' */
.icon-wheelchair:before { content: '\f193'; } /* '' */
.icon-cab:before { content: '\f1b9'; } /* '' */
.icon-file-pdf:before { content: '\f1c1'; } /* '' */
.icon-file-image:before { content: '\f1c5'; } /* '' */
.icon-file-archive:before { content: '\f1c6'; } /* '' */
.icon-wechat:before { content: '\f1d7'; } /* '' */
.icon-soccer-ball:before { content: '\f1e3'; } /* '' */
.icon-binoculars:before { content: '\f1e5'; } /* '' */
.icon-newspaper:before { content: '\f1ea'; } /* '' */
.icon-cc-visa:before { content: '\f1f0'; } /* '' */
.icon-cc-mastercard:before { content: '\f1f1'; } /* '' */
.icon-cc-discover:before { content: '\f1f2'; } /* '' */
.icon-cc-amex:before { content: '\f1f3'; } /* '' */
.icon-cc-paypal:before { content: '\f1f4'; } /* '' */
.icon-cc-stripe:before { content: '\f1f5'; } /* '' */
.icon-birthday:before { content: '\f1fd'; } /* '' */
.icon-bicycle:before { content: '\f206'; } /* '' */
.icon-bus:before { content: '\f207'; } /* '' */
.icon-ship:before { content: '\f21a'; } /* '' */
.icon-user-plus:before { content: '\f234'; } /* '' */
.icon-user-times:before { content: '\f235'; } /* '' */
.icon-bed:before { content: '\f236'; } /* '' */
.icon-subway:before { content: '\f239'; } /* '' */
.icon-television:before { content: '\f26c'; } /* '' */
.icon-map-signs:before { content: '\f277'; } /* '' */
.icon-map-o:before { content: '\f278'; } /* '' */
.icon-envira:before { content: '\f299'; } /* '' */
.icon-blind:before { content: '\f29d'; } /* '' */
.icon-font-awesome:before { content: '\f2b4'; } /* '' */
.icon-address-book:before { content: '\f2b9'; } /* '' */
.icon-thermometer-3:before { content: '\f2c8'; } /* '' */
.icon-shower:before { content: '\f2cc'; } /* '' */
.icon-bath:before { content: '\f2cd'; } /* '' */

/* Global Styles */
:root {
    --bg-color01: #5C5751;
    --bg-color02: #F8F6F0;
    --text-color01: #1D1D1D;
    --text-color02: #666666;
    --text-color03: #B0D4D9;
    --text-color04: #ffffff;
    --link-color01: #007bff;
    --link-color02: #0056b3;
    --link-color03: #004085;
    --border-color01: #e0e0e0;
    --border-color02: #E7DDCC;
    --border-radius01: 5px;
    --primary-color: #5B6D7A;
    --secondary-color: /*#267F8B*/#0F616E;
}

body {
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 300;
    font-size: 18px;
    overflow-x: hidden !important;
}

strong {
    font-weight: 600;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Prata', serif;
    line-height: 1.5;
    margin-bottom: 16px;
}

h1 {
    font-size: /*8em*/clamp(1.75em, 10vw, 8em);
    color: var(--secondary-color);
    line-height: 1;
    margin-bottom: 64px;
}

.home h1 {
    color: var(--text-color03);
    text-shadow: 0 0 10px rgba(0,0,0,0.25);
    position: relative;
    z-index: 1;
}

h2 {
    font-size: /*2em;*/clamp(1.5em, 5vw, 2em);
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

h1::before {
    display: inline-block;
    width: .75em;
    height: 1px;
    margin-right: /*32px*/16px;
    font-stretch: expanded;
    border-top: 3px solid var(--secondary-color);
    content: "";
    vertical-align: super;
}

.home h1::before {
    border-top: 3px solid var(--text-color03);
    box-shadow: 0 0 10px rgba(0,0,0,0.25);
}

p {
    font-size: /*1em*/clamp(1em, 1vw, 1.15em);
    line-height: 1.5;
    margin-bottom: 16px;
    max-width: 800px;
}

.invisible {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    float: left;
}

@media screen and (min-width: 991px) {
    header .inside {
        margin: 0 5vw;
    }
}

@media screen and (min-width: 1921px) {
    header .inside {
        margin: 0 15vw;
    }
}

.flex-container {
    display: flex;
    justify-content: space-between;
    gap: 32px;
    align-items: center;
}

header {
    background-color: var(--bg-color01);
    color: var(--text-color04);
    padding: 20px;
    text-align: center;
    position: relative;
}

header::before,
.home main .mod_article:first-of-type::before {
    content: "";
    position: absolute;
    top: 0; 
    left: 0;
    width: 100%; 
    height: 100%;  
    opacity: .05; 
    z-index: 0;
    background-image:url('../../files/seelust/theme/img/wave-bg.svg');
    background-size: 390px 50px;
    background-position: bottom;
    background-repeat: repeat;
}

.home main .mod_article:first-of-type::before {
    background-position: top;
}

.header-top {
    background:rgba(255,255,255,0.95);
    padding: 16px 32px;
    border-radius: 50px;
    box-shadow: 0 3px 30px rgba(0,0,0,0.15);
    position: absolute;
    z-index: 10;
    top: 20px;
    left: 32px;
    right: 32px;
}
/*
.affix {
    position: fixed;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}*/

.header-top .meta {
    display: flex;
    justify-content: end;
    align-items: center;
    gap: 32px;
}

@media screen and (max-width: 768px) {
    .header-top .meta {
        display: none;
    }

}

@media screen and (max-width: 1798px) {
    .header-top img {
        min-width: 120px;
        max-width: 200px;
    }
}

@media screen and (max-width: 1490px) {
    .header-top.flex-container {
        flex-wrap: wrap;
    }

    .header-top #main-menu {
        order: 4;
        flex-basis: 100%;
    }

    #main-menu ul {
        justify-content: space-around;
    }
}

@media screen and (max-width: 1500px) {
    .header-top img {
        min-width: 120px;
        max-width: 200px;
    }
}

@media screen and (max-width: 991px) {
    .header-top img {
        min-width: 110px;
        max-width: 150px;
    }

    #main-menu {display: none;}
}

@media screen and (max-width: 380px) {
    .header-top img {
        min-width: 90px;
        max-width: 120px;
    }
    header .nav-toggle {
        width: 40px !important;
        padding: 0;
    }
}

header .mod_changelanguage ul {
    display: flex;
}

header .mod_changelanguage ul li {
    padding: 8px;
}

header .mod_changelanguage ul li strong {
    color: var(--text-color01);
}

header .mod_changelanguage ul li a {
    color: var(--text-color01);
}

header .mod_changelanguage ul li a:hover {
    color: var(--primary-color);
}

/*mod_navigation*/
header .nav-toggle__box {
    display: block;
}

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

    header .mod_navigation li.submenu {
        display: flex;
    }
}

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-color01);
    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;
  }
  
  .nav-toggle.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;
    color: var(--text-color01);
}

@media screen and (min-width: 1020px) {
    header .mod_navigation {
        display: block;
    }
}
@media screen and (min-width: 1020px) {
    header .header-top {
        position: fixed;
    }
    
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;
}

 .mod_navigation ul li ul li a, 
 .mod_navigation ul li ul li strong {
    padding: .2em .25em;
    color: var(--secondary-color);
  }

@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);
    padding:.5em 0;
    border-radius:1em;
    width: max-content;
    border:1px solid var(--primary-color);
    text-align: left;
}

header .mod_navigation ul ul li a {
    display: block;
    text-decoration: none;
    color: var(--secondary-color);
    white-space: nowrap;
}

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

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

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

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

/*----------*/

@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: 1em;
        position: relative;
        top: 0;
        left: 0;
        border: 1px solid var(--primary-color);
        overflow: hidden;
    }

    .header-top #main-menu {
        order: 2;
    }

    .header-top .meta {
        order: 3;
        width: 100%;
        justify-content: space-between;
    }

    .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-color01);
        background:var(--page-background);
        border-top: 1px solid rgba(0,0,0,0.5);
    }

       .mod_navigation strong {
        background-color: var(--border-color02);
       }

    .mod_navigation li:first-child > * {
        border-top: 0;
    }
    
    .mod_navigation a:hover {
        background:var(--secondary-color);
        color: white;
    }
    
    .mod_navigation {
        display:none;
    }
    
    .sub-menu {
        display:none;
    }
    
    .sub-menu li:last-of-type {
        padding-bottom:0;
    }
    
    .sub-menu a {
        background:var(--primary-color);
        color: 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-color01);
        cursor:pointer;
        border: 0;
    }
    
    .toggle-sub-menu {
        display:none;
    }
    
    .toggle-sub-menu {
        position:absolute;
        right:0;
        top:1px; /* Höhe des borders */
        display:block;
        padding:1em;
        background: var(--primary-color);
        height: 55px;
        /*width: 55px;*/
        cursor:pointer;
        color: white;
    }
    
    .toggle-sub-menu.active {
        background: var(--primary-color);
    }
        
    .toggle-sub-menu:hover,
    .toggle-sub-menu.active:hover  {
        background-color: var(--secondary-color);
    }
    
    
}



/*Header - Pic*/
header .mod_article {
    position: relative;
    margin-top: -20px; /* optional, je nach Abstand */
    z-index: 1;
    overflow: hidden;
    border-radius: 0 0 32px 32px;
    border: 2px solid white;
    border-top: 0;
    z-index: 2;
    border-radius: 32px 32px 0 0;overflow: hidden;
    border-radius: 0 0 32px 32px;
    border: 3px solid white;
    border-top: 0;
    width: 105%;
    margin-left: -2.5%;
    box-shadow: 0 0 30px rgba(0,0,0,0.15);
}

header .mod_article picture,
header .mod_article img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
}

/*Breadcrumb*/
.home #breadcrumb {
    display: none;
}

#breadcrumb {
    margin: 16px 0;
}

#breadcrumb ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 10px;
}

#breadcrumb li {
  display: flex;
}

#breadcrumb li + li::before {
  display: block;
  width: 14px;
  height: 14px;
  font-family: "seelust";
  content: '\f105';
  color: var(--primary-color);
  font-weight: normal;
}

#breadcrumb li a {
  text-decoration: none;
  color: var(--primary-color);
}

#breadcrumb li a:hover {
  text-decoration: underline;
}

#breadcrumb li.active {
  font-weight: bold;
  color: #000;
}

#breadcrumb li a i {
  margin-right: 5px;
}

.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;
}

/*Main*/
main .mod_article:first-of-type {
    padding-top: 64px;
}

.home main .mod_article:first-of-type {
    background-color: var(--bg-color01);
    padding-top: 64px;
    padding-bottom: 64px;
    position: relative;
}

main .mod_article:first-of-type .content-text {
    max-width: 800px;
    margin: 0 auto;
}

.home main .mod_article:first-of-type .content-text {
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-color04);
    position: relative;
    z-index: 1;
}

main img {
    border-radius: 32px 32px 0 0;
    mask: url('../../files/seelust/theme/img/wave.svg') bottom/contain no-repeat,
    linear-gradient(#000 0 0); /* we need this extra layer for mask-composite */
    mask-composite: exclude;
    mask-size: 101%;
    padding-bottom: 1px;
}

img {max-width: 100%; height: auto;}

/*Columns*/
.--distance-right .inside {
    display: flex;
    justify-content: end;
    margin-right: 32px;
}

.--top {
  align-items: start !important;
}

.--fullwidth {
    padding: 64px 0;
}

.--fullwidth .grid-container {
    margin: 0 !important;
}

.ce_rsce_column-wrapper_start.flex-container {
    display: block;
}

    .grid-container {
        display: grid;
        grid-template-columns: 1fr;
        gap: 32px;
        align-items: center;
        margin: 64px 0;
        grid-auto-flow: dense; /* NEW */
        align-items: stretch;
    }

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

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

    
    .ce_rsce_column-wrapper_start:nth-child(2n) .grid-container div:nth-child(1) {
        order: 2;
    }

    .ce_rsce_column-wrapper_start:nth-child(2n) .grid-container div:nth-child(2) {
       order: 1;
    }

    .ce_rsce_column-wrapper_start > * {
        flex-basis: 50%;
        flex-grow: 1;
    }

    .--three-col {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .--distance-left {
        margin-right: -5vw;
    }

    .--distance-left .inside {
        margin-right: 5vw;
    }

    .--distance-right {
        margin-left: -5vw;
    }

    .--distance-right .inside {
        margin-left: 5vw;
    }

    .--distance-right img {
        border-top-left-radius: 0;
    }

    .--fullwidth {
        margin-left: -5vw;
        margin-right: -5vw;
    }

    .--fullwidth .inside{
        margin-left: 5vw;
        margin-right: 5vw;
    }

    .--distance-right .inside {
        margin-right: 64px;
    }
}


@media screen and (max-width: 990px) {
    main .mod_article, footer .inside, #breadcrumb {
        padding: 0 32px;
    }

    .--fullwidth {
        margin-left: -32px;
        margin-right: -32px;
    }

    .--fullwidth .inside{
        margin-left: 32px;
        margin-right: 32px;
    }

    .bg-container {
        padding: 64px 0;
    }

    .ce_rsce_column-wrapper_start {
        margin-top: 64px;
        margin-bottom: 64px;
    }


    .--distance-left {
        margin-right: -32px;
    }

    .--distance-left .inside {
        margin-right: 32px;
    }

    .--distance-right {
        margin-left: -32px;
    }

    .--distance-right .inside {
        margin-left: 32px;
    }

    .--distance-right .ce_rsce_text-button {
        margin-left: 32px;
    }

    .--distance-right .content-image {
        margin-bottom: 32px;
    }

    .--distance-right .content-image img {
        border-top-left-radius: 0;
    }

    .media--above {
        margin-bottom: 64px;
    }

}

@media screen and (min-width: 991px) {

    .ce_rsce_column-wrapper_start.flex-container {
        display: flex;
        gap: 32px;
        align-items: center;
        margin: 64px 0;
    }

    .ce_rsce_column-wrapper_start.flex-container:nth-child(2n) {
        flex-direction: row-reverse;
    }

    /*.header-top {
        left: 10vw;
        right: 10vw;
    }*/

    main .mod_article, footer .inside, #breadcrumb {
        padding: 0 10vw;
    }

    .--distance-left {
        margin-right: -10vw !important;
    }

    .--distance-left .inside {
        margin-right: 10vw;
    }

    .--distance-right {
        margin-left: -10vw !important;
    }

    .--distance-right .inside {
        margin-left: 10vw;
    }

    .--fullwidth {
        margin-left: -10vw;
        margin-right: -10vw;
    }

    .--fullwidth .inside{
        margin-left: 10vw;
        margin-right: 10vw;
    }
}

@media screen and (min-width: 1921px) {
    .header-top {
        left: 15vw;
        right: 15vw;
    }

    main .mod_article, footer .inside, #breadcrumb {
        padding: 0 15vw;
    }

    .--distance-left {
        margin-right: -15vw;
    }

    .--distance-left .inside {
        margin-right: 15vw;
    }

    .--distance-right {
        margin-left: -15vw !important;
    }

    .--distance-right .inside {
        margin-left: 15vw;
    }

    .--fullwidth {
        margin-left: -15vw;
        margin-right: -15vw;
    }

    .--fullwidth .inside {
        margin-left: 15vw;
        margin-right: 15vw;
    }
}

/*icon font*/
[data-icon]::before, .slick-prev::before, .slick-next::before {
    content: attr(data-icon);
    font-family: "seelust";
    font-size: 30px;
    background: #EBB48B;
    background: radial-gradient(circle farthest-corner at center center, #EBB48B 0%, #6D3B1F 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    display: block;
}

/*media-above*/
.media--above {
    display: flex;
    flex-direction: column;
}

.media--above h1,
.media--above h2,
.media--above h3,
.media--above h4,
.media--above h5,
.media--above h6 {
    order: 2;
    margin-top: 32px;
}

.media--above figure {
    order: 1;
}

.media--above .rte {
    order: 3;
}

.media--above a::before {
    content: "";
    position: absolute;
    inset: 0;
}

.media--above .rte a:last-child {
    color: var(--primary-color);
}

.media--above .rte a {
    color: var(--primary-color);
    width: fit-content;
    text-decoration: none;
}

.media--above .rte a:after {
    content: '\f178';
    margin-right: 0;
    transform: translateX(0);
    transition: transform 0.3s ease;
}

.media--above:hover .rte a:after,
.media--above .rte a:hover:after {
    transform: translateX(5px);
    text-decoration: none !important;
}
 
.media--above:hover .rte a,
.media--above .rte a:last-child:hover {
    color: var(--secondary-color);
}

.media--above figure {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 4;
    overflow: hidden;
    border-radius: 32px 32px 0 0;
    mask: url('../../files/seelust/theme/img/wave.svg') bottom/contain no-repeat,
    linear-gradient(#000 0 0); /* we need this extra layer for mask-composite */
    mask-composite: exclude;
    mask-size: 101%;
    padding-bottom: 0;
    border-bottom: 1px solid white;
}

.media--above img {
    mask: none;

    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.media--above figure:hover img {
    transform: scale(1.05);
}



/*Button*/
.button-container {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

a.button:link,
a.button:visited,
header a.cta,
header button.cta {
    border: 2px solid var(--primary-color);
    color: white;
    background-color: var(--primary-color);
    border-radius: 50px;
    padding: 10px 20px;
    margin: 32px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    text-decoration: none;
}

a.button.-secondary:link,
a.button.-secondary:visited {
    background-color: white;
    color: var(--primary-color);
}

a.button:after {
    content: '\f178';
    margin-right: 0;
    transform: translateX(0);
    transition: transform 0.3s ease;
}

a.button:hover:after {
    transform: translateX(5px);
    text-decoration: none !important;
}
 
a.button:hover {
    border-color: var(--primary-color);
    background-color: white;
    color: var(--primary-color);
}

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

a.button:hover span {
    text-decoration: underline;
}

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 a.cta,
header button.cta {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    cursor: pointer;
    margin: 0;
}

header a.cta:hover,
header button.cta:hover {
    background-color: white;
    color: var(--secondary-color);
}

/*ce_rsce-button*/
.ce_rsce_button {
    margin: 64px 0 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.ce_rsce_button .button-container {
    justify-content: center;
}

.ce_rsce_button .button {
    margin: 0 !important;
}

.ce_rsce_button .button [data-icon]::before {
    content: attr(data-icon);
    font-family: "seelust";
    font-size: 21px;
    background: white;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}

.ce_rsce_button .-secondary [data-icon]::before {
    content: attr(data-icon);
    font-family: "seelust";
    background: var(--secondary-color);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}

.ce_rsce_button .button a {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

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

.ce_rsce_button a.button:hover [data-icon]::before {
    content: attr(data-icon);
    font-family: "seelust";
    background: var(--secondary-color);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}

.ce_rsce_button .button .-secondary:hover {
    background: var(--secondary-color);
    color: white;
}

.ce_rsce_button a.-secondary:hover [data-icon]::before {
    content: attr(data-icon);
    font-family: "seelust";
    background: white;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}

/*List*/
.rte ol,
.rte ul {
    margin-bottom: 32px;
    margin-left: 26px;
}

.rte li {
    line-height: 1.5;
    list-style-type: none;
}

.rte ul li::before {
  content: '\e805';
  margin-right: 8px;
  margin-left: -26px;
  color: var(--secondary-color);
}

.rte h2 {
    margin-top: 48px;
}


/*background element*/
.ce_rsce_backgroundimage {
    margin-top: 64px;
    margin-bottom: 64px;
}

.ce_rsce_backgroundimage .bg-container:not(.bg-color) {
    padding: 100px 0;
    /*margin-bottom: 200px;*/
    background-size: cover;
    background-position: center center;
    min-height: 40vh;
}

.ce_rsce_backgroundimage :has(.ce_rsce_zitate) {
    min-height: 100px !important;
}

.ce_rsce_backgroundimage .bg-container.bg-image .inside > *:not(.ce_rsce_zitate, .ce_rsce_timeline, .ce_form) {
    background-color: var(--bg-color02);
    border: 1px solid var(--border-color02);
    padding: 32px;
    width: 100%;
    max-width: 900px;
    min-width: 280px;
    position: relative;
    /*top: 400px;*/
    /*top: 26vh;*/
    box-shadow: 0px 0px 30px 0px rgba(175,188,190,0.15);
    -webkit-box-shadow: 0px 0px 30px 0px rgba(175,188,190,0.15);
    -moz-box-shadow: 0px 0px 30px 0px rgba(175,188,190,0.15);
    border-radius: 32px;
    margin: 0;
}

@media screen and (min-width: 768px) {
    .ce_rsce_backgroundimage .bg-container.bg-image {
        margin-bottom: 200px;
    }

    .ce_rsce_backgroundimage .bg-container.bg-image .inside > *:not(.ce_rsce_timeline, .ce_form) {
        padding: 64px;
        top: 200px;
    }
}

.ce_rsce_backgroundimage .--distance-right {
    border-radius: 0 32px 32px 0;
}

.ce_rsce_backgroundimage .--distance-left {
    border-radius: 32px 0 0 32px;
}

.ce_rsce_backgroundimage .--distance-lr {
    border-radius: 32px;
}

.ce_rsce_backgroundimage :has(.ce_rsce_zitate) {
    mask: url('../../files/seelust/theme/img/wave.svg') bottom/contain no-repeat,
    linear-gradient(#000 0 0); /* we need this extra layer for mask-composite */
    mask-composite: exclude;
    padding-bottom: 1px;
    padding-bottom: 50px;
}

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

.--bg-primary .content-text,
.--bg-primary .ce_rsce_text-button,
.--bg-primary .ce_form,
.--bg-primary .ce_rsce_button {
    color: white;
}

.--bg-primary a {
    color: var(--text-color03);
}

.--bg-primary .content-text h1,
.--bg-primary .ce_rsce_text-button h1,
.--bg-primary .ce_form h2,
.--bg-primary .content-text h2,
.--bg-primary .ce_rsce_text-button h2,
.--bg-primary .content-text h3,
.--bg-primary .ce_rsce_text-button h3,
.--bg-primary .content-text h4
.--bg-primary .ce_rsce_text-button h4,
.--bg-primary .content-text h5,
.--bg-primary .ce_rsce_text-button h5,
.--bg-primary .content-text h6,
.--bg-primary .ce_rsce_text-button h6 {
    color: var(--text-color03);
    text-shadow: 0 0 10px rgba(0,0,0,0.25);
}

.--bg-primary .ce_form h2,
.--bg-primary .content-text h2,
.--bg-primary .ce_rsce_text-button h2 {
    font-size: clamp(2em, 5vw, 3em);
    line-height: 1.4;
}

.--bg-secondary {
    background-color: var(--bg-color02);
    display: inline-block;
}

/*Cards*/
.ce_rsce_cards,
.ce_rsce_partner {
    justify-content: center;
    gap: 5vw;
}

.ce_rsce_partner .grid-container {
    align-items: stretch;
}

.ce_rsce_cards .card-item,
.ce_rsce_partner .partner-item {
    border-radius: 32px;
    box-shadow: 0px 3px 6px 0px rgba(0,0,0,0.2);
    -webkit-box-shadow: 0px 3px 6px 0px rgba(0,0,0,0.2);
    -moz-box-shadow: 0px 3px 6px 0px rgba(0,0,0,0.2);
    max-width: 700px;
    background-color: white;
}

.ce_rsce_cards .card-item .card-content {
    padding: 64px 32px 32px;
}

.ce_rsce_partner .partner-item .partner-content {
    padding: 32px;
}

.ce_rsce_cards .card-item .card-content span,
.ce_rsce_partner .partner-item .partner-content span {
    font-size: 16px;
    color: var(--primary-color);
}

.ce_rsce_cards .card-item .card-content h2,
.ce_rsce_partner .partner-item .partner-content h2 {
    margin-bottom: 0;
}

.ce_rsce_cards .card-item .card-content h3,
.ce_rsce_partner .partner-item .partner-content h3 {
    font-family: 'Nunito Sans';
}

.ce_rsce_cards .grid-container :only-child,
.ce_rsce_partner .grid-container :only-child  {
  grid-column: 1 / -1; /* Das einzige Kind soll über alle Spalten gehen */
}

.ce_rsce_cards .grid-container picture,
.ce_rsce_partner .grid-container picture {
    width: 100%;
}

.ce_rsce_cards a::before,
.ce_rsce_partner a::before {
    content: "";
    position: absolute;
    inset: 0;
}

.ce_rsce_cards figure {
    width: 100%;
    /*height: 100%;*/
    object-fit: cover;
    position: relative;
    z-index: 4;
    overflow: hidden;
    border-radius: 32px 32px 0 0;
    mask: url('../../files/seelust/theme/img/wave.svg') bottom/contain no-repeat,
    linear-gradient(#000 0 0); /* we need this extra layer for mask-composite */
    mask-composite: exclude;
    mask-size: 101%;
    padding-bottom: 0;
    border-bottom: 1px solid white;
    display: flex;
}

.ce_rsce_partner figure {
    width: 100%;
    height: 350px;
    object-fit: contain;
    position: relative;
    z-index: 4;
    overflow: hidden;
    border-radius: 32px 32px 0 0;
    padding: 32px;
    border-bottom: 1px solid var(--border-color01);
    display: flex;
    box-sizing: border-box;
}

.ce_rsce_cards img,
.ce_rsce_partner img {
    mask: none;

    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.ce_rsce_partner img {
    object-fit: contain;
}

.ce_rsce_cards figure:hover img,
.ce_rsce_partner figure:hover img {
    transform: scale(1.05);
}

/*Text-Button*/
/*.ce_rsce_text-button > * :last-child {
  margin-bottom: 0 !important;
}*/

/*Zitat*/
.ce_rsce_zitate {
    background-color: transparent;
}

blockquote {
    font-family: 'Prata';
    margin: 0 auto;
    font-size: /*8em*/clamp(1.75em, 5vw, 5em);
    line-height: 1.15;
    max-width: 1100px;
    letter-spacing: 2px;
}

cite {
    display: block;
    margin-top: 16px;
    font-size: .5em;
    text-align: right;
}

.ce_rsce_equipment {
    background-color: var(--bg-color02);
    border: 1px solid var(--border-color02);
    border-radius: 32px;
    padding: 32px;
    margin-bottom: 64px;
}

.ce_rsce_equipment .grid-container {
    display: grid;
    grid-template-columns: repeat( auto-fit, minmax(100px, 1fr) );
    justify-items: center;
    gap: 64px;
    margin: 0;
}

.ce_rsce_equipment ul li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

/*Galerie*/
.content-gallery {
    margin: 64px 0;
}

.content-gallery ul {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(6, 1fr);
    gap: 16px;
}
.content-gallery ul li:nth-child(1) { grid-area:  1 / 1 / 4 / 4;  }
.content-gallery ul li:nth-child(2) { grid-area: 1 / 4 / 4 / 6; }
.content-gallery ul li:nth-child(3) { grid-area: 4 / 1 / 7 / 3;}
.content-gallery ul li:nth-child(4) { grid-area: 4 / 3 / 7 / 6; }

.content-gallery figure {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 4;
    border-radius: 32px;
    overflow: hidden;
}
.content-gallery ul img {
    mask: none;

    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.content-gallery ul figure:hover img {
    transform: scale(1.05);
}

.content-gallery figure, .projekte-bilder .content-gallery figure, .einheiten-ausstattung figure {overflow: hidden;}


.more-images-button {
position: absolute;
bottom: 20px;
right: 20px;
z-index: 5;

font-family: 'Nunito Sans', sans-serif;
font-weight: 300;
font-size: 18px;
}

/* Verstecke alle Bilder ab dem 5. */
.content-gallery ul li:nth-child(n+5) {
    display: none;
}

/* Styling für den "Mehr Bilder" Button */
.more-images-button {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 5;
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

.more-images-button:hover {
    background-color: var(--primary-color);
}

/* Lightbox Styling */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.lightbox-container {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-container img {
    max-width: 100%;
    max-height: 90vh;
    display: block;
}

.lightbox-close, .lightbox-next, .lightbox-prev {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 20px;
}

.lightbox-close {
    top: -40px;
    right: 0;
}

.lightbox-next {
    right: -60px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-prev {
    left: -60px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-counter {
    position: absolute;
    bottom: -30px;
    left: 0;
    color: white;
    font-size: 14px;
}

@media screen and (max-width: 991px) {
    .content-gallery ul img {
        border-radius: 16px;
    }
}

/*Extras*/
.ce_rsce_extras {
    margin: 64px 0;
}

.ce_rsce_extras .flex-container {
    flex-wrap: wrap;
}

.extra-item {
    flex: 1 1 200px; /* Basis 200px, aber kann wachsen und schrumpfen */
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color01);
    padding: 15px;
    border-radius: 4px;
}

.extra-headline {
    margin-bottom: 8px;
}

.extra-text {
    font-weight: bold;
}

/* Für sehr kleine Bildschirme */
@media (max-width: 480px) {
    .extra-item {
        flex: 1 1 100%; /* Volle Breite auf kleinen Geräten */
    }
}

/*Akkoredon*/
.content-accordion {
    margin: 64px auto;
    max-width: 800px;
    border-bottom: 0;
}

/*Accordion*/
.content-accordion .handorgel__content {
  background: white;
  border-radius: 1em;
  position: relative;
  border-top: none;
}

.content-accordion .handorgel__content {
  margin-top: -2em;
  padding-top: 2em !important;
  position: relative;
}

.content-accordion .handorgel__header__button {
  background: var(--primary-color);
  border-radius: 1em;
  padding: .5em 1em;
  margin-bottom: .5em;
  color: white;
  cursor: pointer;
  font-size: 21px;
  font-weight: 300;
  position: relative;
  z-index: 1;
}

.content-accordion .handorgel__content {
  padding: 1em;
  margin-bottom: 1em;
}

.content-accordion button div {
  background: none;
  width: 3rem;
  height: 3rem;
  border: 0;
  font-size: 1.5em;
  position: absolute;
  right: .25em;
  top: .15em;
  cursor:pointer;
}

.content-accordion button {
  padding: .75em !important;
}

.content-accordion button div span:first-child {
  top: 25%;
  bottom: 25%;
  width: 10%;
  left: 45%;
}

.content-accordion button div span:first-child {
  padding:0;
}

.content-accordion button div span:last-child {
  left: 25%;
  right: 25%;
  height: 10%;
  top: 45%;
}

.content-accordion .handorgel__header--open button div span:last-child {
  left: 50%;
  right: 50%;
}

.content-accordion button div span {
  position: absolute;
  transition: 300ms;
  background: white;
  border-radius: 1em;
}

.content-accordion .handorgel__header--open button div span {
  transform: rotate(90deg);
}

.ce_accordion .content-text {
  display: flex;
}

.content-accordion .content-element-group {
  display: flex;
  flex-direction: column;
}

.content-accordion .button {
  margin: 1em !important;
}

.content-accordion .button:first-child {
  margin-top: 2em !important;
}


/*Formular*/
.ce_form form:not(.form-arrangement, .form-application) {
    max-width: 800px;
}

.ce_form .widget {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
}

.ce_form label,
.ce_form legend {
    font-weight: 500;
    margin-bottom: 8px;
}

.ce_form .widget-checkbox label {
    font-weight: 400;
}

.ce_form input,
.ce_form textarea,
.ce_form select {
    border: 1px solid var(--primary-color);
    padding: 16px;
    border-radius: 8px;
}

.ce_form input.text {
    margin-bottom: 0;
}

.--bg-primary .ce_form .submit {
    border-color: white;
}

.ce_form .submit {
    width: fit-content;
    padding: 16px 32px;
    margin: 32px 0;
    background-color: var(--primary-color);
    color: white;
    cursor: pointer;
    border-radius: 50px;
    border: 1px solid var(--primary-color);
    font-size: inherit;
    font-family: inherit;
}

.ce_form .submit:hover {
    background-color: white;
    color: var(--primary-color);
}

.ce_form .submit:focus {
    background-color: var(--secondary-color);
}

.ce_form .submit:active {
    background-color: var(--bg-color01);
    text-decoration: underline;
}

.contact-item {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    padding-inline: 32px;
}

.form-arrangement .grid-container{
    gap: 16px 32px;
    align-items: baseline;
}

.form-application label,
.form-application legend {
    font-weight: 600;
}

/* Grundstil für die Animation */
.slide-from-left, 
.slide-from-right, 
.fade-from-bottom {
    opacity: 0;
    transition: all 0.8s ease-out;
    will-change: transform, opacity; /* Verbesserte Rendering-Performance */
}

/* Verbesserte Transformationen, die weniger Überlauf verursachen */
.slide-from-left {
    transform: translate3d(-50px, 0, 0); /* Kleinerer Wert und translate3d */
}

.slide-from-right {
    transform: translate3d(50px, 0, 0); /* Kleinerer Wert und translate3d */
}

.fade-from-bottom {
    transform: translate3d(0, 20px, 0); /* translate3d für bessere Performance */
}

/* Animationszustand */
.animate {
    opacity: 1;
    transform: translate3d(0, 0, 0); /* Einheitlicher Endzustand mit translate3d */
}

/*Timeline*/
/*.timeline-item:nth-child(2n) {
    transform: translateX(50%);
}

.timeline-content {
    background-color: var(--bg-color02);
    padding: 36px;
    border-radius: 32px;
    margin: 32px 0;
    max-width: 600px;
}

.timeline-content figure {
    margin-bottom: 32px;
}*/
/* Timeline Container Styling */
#timeline-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 0;
}

/* Zentrale Linie */
#timeline-container::after {
  content: '';
  position: absolute;
  width: 4px;
  background-color: var(--secondary-color);
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

/* Timeline Items */
.timeline-item {
  position: relative;
  width: 50%;
  padding: 10px 40px;
  box-sizing: border-box;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
  z-index: 2;
}

/* Abwechselnde Items links/rechts */
.timeline-item:nth-child(odd) {
  left: 0;
}

.timeline-item:nth-child(even) {
  left: 50%;
}

/* Content Box */
.timeline-content {
  position: relative;
  padding: 1.5rem;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Dots auf der Timeline */
.timeline-item::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: white;
  border: 4px solid var(--secondary-color);
  border-radius: 50%;
  top: 20px;
  z-index: 1;
}

/* Position der Dots */
.timeline-item:nth-child(odd)::after {
  right: -14px;
}

.timeline-item:nth-child(even)::after {
  left: -14px;
}

/* Styling für das Datum */
.timeline-content .date {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background-color: var(--secondary-color);
  color: white;
  border-radius: 4px;
  font-weight: bold;
  margin-bottom: 0.8rem;
}

/* Überschriften */
.timeline-content h2 {
  color: #333;
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

/* Bilder in der Timeline */
.timeline-content figure {
  margin: 1rem 0;
  width: 100%;
}

.timeline-content figure img {
  width: 100%;
  border-radius: 6px;
  display: block;
}

/* Responsive Design für Tablets */
@media screen and (max-width: 992px) {
  #timeline-container::after {
    left: 31px;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
    left: 0 !important;
  }
  
  .timeline-item::after {
    left: 21px !important;
  }
}

/* Responsive Design für Mobile */
@media screen and (max-width: 576px) {
  .timeline-content {
    padding: 1rem;
  }
  
  .timeline-item {
    padding-left: 60px;
    padding-right: 15px;
  }
  
  .timeline-content h2 {
    font-size: 1.2rem;
  }
}

/* Hover-Effekte */
.timeline-item:hover {
  transform: translateY(-5px);
}

.timeline-item:hover .timeline-content {
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

/* Fokus-Effekte für Accessibility */
.timeline-item:focus {
  outline: none;
  transform: translateY(-5px);
}

.timeline-item:focus .timeline-content {
  box-shadow: 0 0 0 3px var(--secondary-color), 0 8px 16px rgba(0,0,0,0.15);
}

/* Animation Styles */
.timeline-hidden {
  opacity: 0;
  transform: translateY(30px);
}

.timeline-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Verzögerung für gestaffelte Animation */
.timeline-item:nth-child(2) {
  transition-delay: 0.1s;
}
.timeline-item:nth-child(3) {
  transition-delay: 0.2s;
}
.timeline-item:nth-child(4) {
  transition-delay: 0.3s;
}
.timeline-item:nth-child(n+5) {
  transition-delay: 0.4s;
}




/*Footer*/
footer {
    background-color: var(--bg-color02);
    border-top: 1px solid var(--border-color02);
    padding-top: 64px;
    padding-bottom: 64px;
    margin-top: 64px;
}

footer .inside {
    display: grid;
    grid-template-columns: repeat( auto-fit, minmax(250px, 1fr) );
    gap: 32px;
}

footer .mod_customnav ul {
    font-size: clamp(1em, 1vw, 1.15em);
    line-height: 1.5;
    margin-bottom: 16px;
    max-width: 800px;
}

footer a {
    color: var(--text-color01);
}

footer li a:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

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

footer a:active {
    color: var(--text-color02);
    text-decoration: none;
}
