@import url(../swiper/swiper-bundle.min.css);
@font-face {
    font-family: 'Oxanium';
    src: url('../fonts/Oxanium-ExtraLight.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Oxanium';
    src: url('../fonts/Oxanium-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Oxanium';
    src: url('../fonts/Oxanium-Bold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'RussoOne';
    src: url('../fonts/RussoOne-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --ratio:1;
    --ratio-section:1;
    --bs-nav-link-font-size:calc(var(--ratio)*1.5625rem);
    --bs-btn-font-size:calc(var(--ratio)*1.0625rem);
    --bs-body-font-size:calc(var(--ratio)*1.875rem);
    --header-height:6.25rem;
    --fontsize:11px;
}

.disabled, [disabled] {
    --bs-btn-disabled-opacity: 0.3552;
}

#loader {
    background: url(../images/wait.png);
    background-size: 80% auto;
    background-repeat: no-repeat;
    background-position: center 50%;
    background-color: #fff;
    border-radius: 50rem;
    box-shadow: 0px 1px 20px 0px rgba(112, 112, 112, 0.75);
    position: fixed;
    z-index: 99993;
    width: 100px;
    height: 100px;
    line-height: 100px;
    left: 50% !important;
    top: 50% !important;
    margin: -40px 0 0 -40px;
    vertical-align: top;
    display: none
}

#loader .spinner-border {
    vertical-align: top;
    width: 100%;
    height: 100%;
    margin-top: 0;
    color: var(--color-primary, #999);
    border-width: 2px;
    animation-duration: 1s !important;
}

.form-control:read-only,
.form-control:disabled {
    background-color: #e9ecef;
    opacity: 1;
}

.btn:disabled {
    background: #cdcdcd;
    border-color: #cdcdcd;
}

html {
    width: 100vw;
    overflow-x: hidden;
}

body {
    font-family: "Oxanium", sans-serif;
    font-optical-sizing: auto;
    font-weight:300;
    font-style: normal;
    overflow-x: hidden;
    margin-right: 0 !important;
    padding-right: 0 !important;
    background-color: #fff;
}
/* footer { margin-top: 10rem; } */
.row {
    --bs-gutter-x: 4.5rem;
}
*,
::before,
::after {
    background-repeat: no-repeat;
}

img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
    user-select: none;
}
.container-fluid .img-fluid { width: 100%; }
figure figcaption {
    font-size: 0.75rem;
    margin-top: 0.375rem;
}

.lh-normal {
    line-height: normal;
}

a,
[onclick],
.btn,
button,
input {
    cursor:pointer;
    text-decoration: none;
    outline: none;
    box-shadow: none !important;
}

a {
    color: inherit;
}
p a { text-decoration: underline; color: #00a75d; }

dl, ol, ul {
}
p, li, label, div, .form-control {
    font-size:calc(var(--ratio-section)*1.75rem);    
}
p, li {
    margin-bottom:1rem;
    line-height: 1.75;
}
b,
strong {
    font-weight: bold;
}

.datenschutz p,
.impressum p {
    font-size:calc(var(--ratio-section)*1.5rem);    
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    padding: 0;
    font-weight:700;
    font-size: inherit;
    line-height: 1.3;
}
h1{
    font-size:calc(var(--ratio-section)*3.4375rem);    
}
h2{
    font-size:calc(var(--ratio-section)*3.4375rem);
}
h3{
    font-size:calc(var(--ratio-section)*2.1875rem);
}
ol,
ul {
    /* padding-left:.5rem; */
    margin-bottom:.86rem;
}

span[style] {
    font-family: inherit !important;
}
input {
    box-shadow: none !important;
}
.section { position: relative; padding: 3rem 0; }
#page + .section { position: relative; padding: 0 0 4rem 0; }
.section-video { padding: 6rem 0 0; }
.text_ellipsis {
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

table, .table {
    margin-bottom: 0;
}

.container {
    position: relative;
}
.text-editor img {
    height: auto !important;
}

.text-editor a {
    color: rgba(var(--bs-link-color-rgb));
}
.border-primary{
    border-color:#00376C!important;
}
.text-primary{
    color:#00376C!important;
}
.btn{
    /* --bs-btn-font-size:calc(var(--ratio)*1.0625rem); */
    --bs-btn-font-size:calc(var(--ratio)*1.51rem);
    padding: .75rem 1.5rem;
    border-radius: 6px;
    background: var(--bs-body-color) !important;
    color: #fff !important;
    font-weight: 700;
    border: none;
}
.bg-blue .btn {
    background: var(--taupe) !important;
}
.alert-primary {
    color: #fff;
}
.btn:hover {
    color: #fff;
    background: var(--blue);    
}
.btn-primary:hover {
    color: #fff;
    background: var(--green) !important;    
}
.pg2 .btn-primary:hover {
    background: var(--taupe) !important;    
}

/* @media (min-width: 992px) { */
    html {
        /*16px~1920px*/
        /* font-size:0.8333333333333333vw; */
        font-size:0.65vw;
    }

    .pc {
        display: block !important;
    }

    .mb {
        display: none !important;
    }

    .container {
        /* width:90.5rem; */
        width:130rem;
        max-width: none;
        --bs-gutter-x: 0;
    }
/* } */

/* Runde Ecken */
.img-rounded {
    border-radius: 8px;
}

/* Kreisförmig */
.img-circle {
    border-radius: 50%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

/* Schatten */
.img-shadow {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Rahmen */
.img-border {
    border: 1px solid #ddd;
}

/* Graustufen */
.img-grayscale {
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.img-grayscale:hover {
    filter: grayscale(0%);
}

/* Zoom - Maus over */
.img-hover-zoom {
    transition: transform 0.3s ease;
    cursor: pointer;
}

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

/* Kombinierte Effekte funktionieren besser mit overflow hidden */
.img-hover-zoom {
    overflow: hidden;
    transition: transform 0.3s ease;
}

/* Für bessere Performance bei Animationen */
.img-hover-zoom,
.img-grayscale {
    will-change: transform, filter;
}

/* Accessibility: Animationen respektieren */
@media (prefers-reduced-motion: reduce) {
    .img-hover-zoom,
    .img-grayscale {
        transition: none;
    }
}

@media (max-width: 1800px) {
    html { font-size:0.65vw; }
    .container { width:130rem; }
}
@media (max-width: 1600px) {
    html { font-size:0.75vw; }
    .container { width:120rem; }
}
@media (max-width: 991px) {
    :root{
        --header-height:3.125rem;
    }
    html {
        font-size: 1.75vw; /*16px*/
        font-size: 1vw; /*16px*/
    }
    .pc {
        display: none !important;
    }

    .mb {
        display: block !important;
    }

    .container {
        width: 100%;
        max-width: 100%;
        --bs-gutter-x:6rem;
    }
    
    .onwater-text-style2 {
        width: 20rem;
    }
}
@media (max-width: 700px) {
  html {
    font-size: 1.75vw; /*16px*/
  }
}

@media (min-width: 992px) and (max-width: 1024px) {
    html {
    }
}

@media (min-width: 1025px) and (max-width: 1439.98px) {
    html {
    }
}

::placeholder {
    opacity: 1 !important; /* Firefox */
}

::-ms-input-placeholder { /* Edge 12 -18 */
    color: #716C80;
    opacity: 1 !important;
}




/* Container: responsive, 16:9 */
.video_wrapper{
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background-position: center;
  background-size: cover;
  background-color: #000;
  overflow: hidden;
  border-radius: .5rem;
}

/* Fallback für Browser ohne aspect-ratio */
@supports not (aspect-ratio: 16/9){
  .video_wrapper::before{
    content: "";
    display: block;
    padding-top: 56.25%; /* 16:9 */
  }
  .video_wrapper > *{
    position: absolute;
    inset: 0;
  }
}

/* Overlay mit Hinweis + Button */
.video_trigger{
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: .75rem;
  text-align: center;
  padding: clamp(12px, 2vw, 24px);
  color: #fff;
  background: rgba(0,0,0,.35);
  backdrop-filter: blur(1px);
}
.video_trigger p{ margin: 0; font-size: clamp(14px, 1.6vw, 16px); }
.video_trigger a{ color: #fff; text-decoration: underline; }

/* Videolayer */
.video_layer{
  position: absolute;
  inset: 0;
  display: none;            /* wird beim Start sichtbar */
  background: #000;
}
.video_layer iframe{
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Status beim Abspielen: Wrapper .is-playing geben */
.video_wrapper.is-playing .video_trigger{ display: none; }
.video_wrapper.is-playing .video_layer{ display: block; }

/* Optional: 4:3-Format */
.video_wrapper.is-43{ aspect-ratio: 4/3; }
@supports not (aspect-ratio: 16/9){
  .video_wrapper.is-43::before{ padding-top: 75%; }
}

/* Kleinere Screens */
@media (max-width: 420px){
  .btn-play{ font-size: 14px; padding: .5rem .75rem; }
  .video_trigger p{ font-size: 13px; }
}



/* Standard-Button-Reset von Bootstrap überschreiben */
.custom-close {
  position: relative;
  width: 1.5rem;
  height: 1.5rem;
  background: none;
  border: none;
  opacity: 1;
}

/* Das eigentliche "X" über ::before und ::after */
.custom-close::before,
.custom-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1.5rem;
  height: 2px;
  background-color: #333; /* gewünschte Farbe */
  transform-origin: center;
}

.custom-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}
.custom-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* Hover-Effekt */
.custom-close:hover::before,
.custom-close:hover::after {
  background-color: #007bff; /* oder deine Akzentfarbe */
}


/* checkbox-rect */
.checkbox-rect input[type="checkbox"] {
  display: none;
}
.checkbox-rect input[type="checkbox"] + label {
  display: block;
  position: relative;
  padding-left: 3rem;
  line-height: 2rem;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}
.checkbox-rect input[type="checkbox"]:hover + label:hover {
  /* color: rgb(23, 86, 228); */
}
.checkbox-rect input[type="checkbox"]:hover + label:before {
  background: #999;
  /* box-shadow: inset 0px 0px 0px 1px #999; */
}
.checkbox-rect input[type="checkbox"] + label:last-child {
  margin-bottom: 0;
}
.checkbox-rect input[type="checkbox"] + label:before {
  content: "";
  display: block;
  width: 1.75rem;
  height: 1.75rem;
  /* border: none; */
  border-radius: 0;
  position: absolute;
  left: 0;
  top: 0;
  -webkit-transition: all 0.2s, background 0.2s ease-in-out;
  transition: all 0.2s, background 0.2s ease-in-out;
  background: #efefef;
}
.checkbox-rect input[type="checkbox"]:checked + label:before {
  width: 1.75rem;
  height: 1.75rem;
  -webkit-transform: rotate(90deg);
  transform: rotate(90deg);
  background: var(--active);
  /* box-shadow: 0 0 0 1px #000; */
}
/* checkbox-rect end */

/* checkbox-rect */
.checkbox-rect input[type="radio"] {
  display: none;
}
.checkbox-rect input[type="radio"] + label {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 20px;
  line-height: 23px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  font-size: 1em;
}
.checkbox-rect input[type="radio"]:hover + label:hover {
  color: var(--black);
}
.checkbox-rect input[type="radio"]:hover + label:before {
  background: var(--gray);
  box-shadow: inset 0px 0px 0px 2px #f7f2f2;
}
.checkbox-rect input[type="radio"] + label:last-child {
  margin-bottom: 0;
}
.checkbox-rect input[type="radio"] + label:before {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  border: none;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 0;
  -webkit-transition: all 0.2s, background 0.2s ease-in-out;
  transition: all 0.2s, background 0.2s ease-in-out;
  background: var(--weiss);
}
.checkbox-rect input[type="radio"]:checked + label:before {
  width: 20px;
  height: 20px;
  -webkit-transform: rotate(90deg);
  transform: rotate(90deg);
  background: var(--active);
  /* box-shadow: 0 0 0 1px #000; */
}
/* checkbox-rect end */

.checkbox-rect.radio { display: inline-block; margin-right: 2em; }
.checkbox-rect label { font-size: 1em; }

.form-control { border-radius: 0; padding: .75rem 1rem; }
.form-group { margin: .5em 0 0; }
.form-group.m0 { margin: 0; }
label.lb, .pflicht { font-size: .8em; }
label.lg { font-size: 1em; }
.datenschutz label { font-size:calc(var(--ratio-section)*1.35rem); }
.sendform { margin: 2rem 0; }
/* .sendform { float: right; } */
.multiCol {
  column-count: 2;
  column-gap: 4rem;
  overflow: hidden;
  orphans: 4;
  display: inline-block;
}
.multiCol p, 
.multiCol li {
  break-inside: avoid-column;
  page-break-inside: avoid;
  -webkit-column-break-inside: avoid;
}


.swiper { position: relative; width: 100%; height: auto; }
.swiper-slide picture, .swiper-slide img { display:block; width:100%; height:100%; object-fit:cover; }
.swp-overlay {
  position:absolute; left:0; right:0; bottom:0;
  padding:1rem 1.25rem;
  color:#fff; background:linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,0));
  font-size:clamp(1rem, 2vw, 1.25rem); line-height:1.3;
}