@font-face {
    font-family: 'Ubuntu-Light';
    src: url('../../Fonts/Ubuntu-Light.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Ubuntu-Light-italic';
    src: url('../../Fonts/Ubuntu-LightItalic.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Ubuntu-Regular';
    src: url('../../Fonts/Ubuntu-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Ubuntu-Italic';
    src: url('../../Fonts/Ubuntu-Italic.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Ubuntu-Medium';
    src: url('../../Fonts/Ubuntu-Medium.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Ubuntu-Medium-italic';
    src: url('../../Fonts/Ubuntu-MediumItalic.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Ubuntu-Bold';
    src: url('../../Fonts/Ubuntu-Bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Ubuntu-Bold-italic';
    src: url('../../Fonts/Ubuntu-BoldItalic.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Stereo-Gothic';
    src: url('../../Fonts/R400.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

/*.container-xxl,*/
/*.container-xl,*/
/*.container-lg,*/
/*.container-md,*/
/*.container-sm,*/
/*.container,*/
/*.row {*/
/*    --cui-gutter-x: 0rem;*/
/*}*/

.jmb-mr-smith {
    display: block;
    opacity: 0;
    height: 0;
    overflow: hidden;
}

.reveal {
    opacity: 0;
    transform: translateY(3rem);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Allgemeine Einstellungen und Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

[class*="wyn-btn"]:hover {
    background-color: inherit;
}

html,
body {
    height: 100%;
}

html {
    font-family: var(--font-primary);
    font-variation-settings: "wght" 375;
    word-break: break-word;
    white-space: normal;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: var(--font-primary);
    background-color: var(--bodyBg);
    color: var(--txtColor);
    line-height: 1.6;
}

main {
    flex: 1 0 auto;
    padding-top: var(--headerHeight);
}

footer {
    margin-top: auto;
}

h6, .h6, h5, .h5, h4, .h4, h3, .h3, h2, .h2, h1, .h1 {
    margin: 0;
    font-weight: inherit;
    line-height: inherit;
}

h1 {
    font-size: 1.6rem;
}

h2 {
    font-size: 1.3rem;
}

.h2 {
    font-size: calc(0.8rem + 0.9vw);
}

h3 {
    font-size: 1.15rem;
}

h4 {
    font-size: 1.05rem;
}

.label-font {
    font-family: var(--font-secondary);
    font-weight: bold;
}

a {
    color: var(--color-accent-green);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--color-accent-hover);
}

ul {
    padding-left: 1.2rem;
}

.logo {
    display: inline-block;
    height: 100%;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-accent-green);
}

.logo img {
    height: 100%;
    max-width: 20vw;
    object-fit: contain;
    display: block;
}

/* --- Button --- */

:root {
    --btn-bg-color: var(--primaryColor);
    --btn-color: #ffffff;
}

[class*="wyn-btn"] {
    display: inline-grid;
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    padding: .5em 1em;
    border: 2px solid var(--btn-bg-color);
    background-color: var(--btn-bg-color);
    color: var(--btn-color);
    text-decoration: none;
    text-align: center;
    cursor: pointer;
}

[class*="wyn-btn-big"] {
    font-size: 1.2rem;
}

[class*="wyn-btn-small"] {
    font-size: 0.8rem;
}

[class*="wyn-btn"]:hover {
    background-color: var(--btn-color);
    border-color: var(--btn-bg-color);
    color: var(--btn-bg-color);
}

.wyn-btn-sec, .wyn-btn-big-sec {
    background-color: unset;
    border-color: var(--btn-color);
    color: var(--btn-color);
}

.wyn-btn.wyn-primary, .wyn-btn-big.wyn-primary {
    background-color: var(--primaryColor);
    border-color: var(--primaryColor);
    color: var(--primaryRevColor);
}

.wyn-btn.wyn-primary:hover, .wyn-btn-big.wyn-primary:hover {
    background-color: var(--primaryRevColor);
    color: var(--primaryColor);
}

.wyn-btn-sec.wyn-primary, .wyn-btn-big-sec.wyn-primary {
    border-color: var(--primaryColor);
    color: var(--primaryColor);
}

.wyn-btn-sec.wyn-primary:hover, .wyn-btn-big-sec.wyn-primary:hover {
    background-color: var(--primaryColor);
    color: var(--primaryRevColor);
}

/* --- Invertieren --- */

[class*="wyn-btn"].jmb-invert {
    background-color: var(--btn-color);
    border-color: var(--btn-color);
    color: var(--btn-bg-color);
}

.wyn-btn-sec.jmb-invert, .wyn-btn-big-sec.jmb-invert {
    background-color: unset;
    border-color: var(--btn-bg-color);
    color: var(--btn-bg-color);
}

[class*="wyn-btn"].jmb-invert:hover {
    background-color: var(--btn-bg-color);
    color: var(--btn-color);
}


/** Button -End- */

/** Form-Fields */

.wyn-field input,
.wyn-field select,
.wyn-field textarea {
    font-family: inherit;
    outline: 0;
    color: var(--input-text-color);
    border: 1px solid var(--input-primary-color);
    border-radius: 0.25rem;
    height: 3rem;
    background: var(--white);
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    cursor: pointer;
    box-sizing: border-box;
}

.wyn-field:has(input[required]) > label::after,
.wyn-field:has(textarea[required]) > label::after,
.wyn-field:has(select[required]) > label::after {
    content: " *";
    color: var(--primaryColor);
}

.wyn-field textarea {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    min-height: 7.5rem;
    width: 100%;
}

/** Form-Fields -End- */

#contactMessage {
    min-height: 12rem;
}

.serviceDetail:has(.jmb-ifl-r) {
    background-color: var(--secBodyBg);
}

.priBg {
    background-color: var(--primaryColor);
}

.secBg {
    background-color: var(--secBodyBg);
}

.jmb-text-color-primary {
    color: var(--primaryColor);
}

.jmb-text-color-secondary {
    color: var(--secondaryColor);
}

/** Sportsclub Unterseiten */

.variantImage {
    display: flex;
    align-items: flex-start;
}

.borderBox {
    display: flex;
    border: 0.2rem solid var(--primaryColor);
    box-shadow: rgba(0, 0, 0, 0.24) 0 3px 8px;
    aspect-ratio: 4 / 3;
}

.imageBox {
    display: flex;
    overflow: hidden;
    width: 100%;
    height: 100%;
    box-shadow: rgba(0, 0, 0, 0.24) 0 3px 8px;
}

.imageBox img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: #fff;
    transition: transform 0.3s ease;
}

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

.variantSection:nth-of-type(odd) {
    background-color: var(--secBodyBg);
}

.introWrapper {
    position: relative;
    overflow: hidden;
}

.introImg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.serviceOverlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    /* Ovaler Verlauf */
    background: radial-gradient(ellipse at center,
    rgba(0, 0, 0, 0.2) 40%,
        /* Mitte transparent */
    rgba(0, 0, 0, 0.6) 100%
        /* Rand dunkel */
    );
    color: var(--white);
}

/** Counter */

.counter-box {
    padding: 2rem;
    border: 2px solid var(--primaryColor);
}

.counter-box i {
    font-size: 2.5rem;
    color: var(--primaryColor);
    margin-bottom: 1rem;
}

.counter {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primaryColor);
}

.counter-text {
    font-size: 1.25rem;
}

/** Compare-Boxen **/

.compareBox {
    /* Stellschrauben */
    --gap: 1.5rem;
    --frame-w: 0.2rem;
    --overlap: 4rem;
    --ratio: 4 / 3;

    display: flex;
    flex-direction: column;
    width: 100%;
    position: relative;
}

/* ================================================= */
/* Ebene 3: Rahmen (liegt über allem) */
/* ================================================= */

.compareFrame {
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    aspect-ratio: var(--ratio);                      /* immer quadratisch */

    z-index: 3;                               /* höchste Ebene */
    border: var(--frame-w) solid var(--primaryColor);

    pointer-events: none;                     /* blockiert keine Klicks */
    box-shadow: rgba(0, 0, 0, 0.24) 0 3px 8px;
}

/* ================================================= */
/* Ebene 1: Bild Wrapper mit Abstand zum Rahmen */
/* ================================================= */

.compareImageWrapper {
    position: relative;
    flex-shrink: 0;
    z-index: 1;
    width: 100%;
    aspect-ratio: var(--ratio);
    padding: var(--gap);
    overflow: hidden;
}

/* ================================================= */
/* Das eigentliche Bild */
/* ================================================= */

.compareImageBox {
    width: 100%;
    height: 100%;

    position: relative;
    box-shadow: rgba(0, 0, 0, 0.24) 0 3px 8px;
}

.compareImage {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;

    filter: grayscale(100%) contrast(1.2);
    transition:
            filter 0.2s ease,
            transform 0.3s ease;

    transform: scale(1); /* Ausgangszustand */
}

/* ================================================= */
/* Overlay für Bild */
/* ================================================= */

.compareImageBox::after {
    content: "";
    position: absolute;
    inset: 0;

    background: var(--primaryColor);
    opacity: 0.35;

    mix-blend-mode: multiply;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

/* ================================================= */
/* Hover-Effekt */
/* ================================================= */

.compareBox:hover .compareImage {
    filter: none;
    transform: scale(1.05);
}

.compareBox:hover .compareImageBox::after {
    opacity: 0;
}

/* ================================================= */
/* Ebene 2: Textblock (überlappt Bild) */
/* ================================================= */

.compareDetailsBox {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    flex-grow: 1;
    z-index: 2;                               /* über Bild, unter Rahmen */

    margin-top: calc(var(--overlap) * -1);    /* zieht Text ins Bild hinein */

    background-color: var(--bodyBg);
    color: var(--txtColor);

    width: calc(100% - (calc(3.5 * var(--gap))));
    margin-left: auto;
    margin-right: auto;
    box-shadow: rgba(0, 0, 0, 0.24) 0 3px 8px;
}

.compareDetails h3 {
    font-size: 1.3rem;
}

/* ================================================= */
/* Checklist
/* ================================================= */

.list {
    list-style: none;        /* Standard-Bullets entfernen */
    margin: 0;
}

.verticalList {
    display: flex;
}

.list li {
    position: relative;
    margin-bottom: 0.75em;    /* Abstand zwischen Punkten */
    line-height: 1.5;
}

.list li [class^="icon-"]:before {
    width: auto;
    text-align: left;
    margin-left: 0;
    margin-right: 0.5em;
}

.list li a {
    padding-left: 0;
    transition: padding-left 0.3s ease;
}

.list li a .icon-only:before {
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.list li a:hover {
    color: var(--primaryColor);
    padding-left: 0.5rem;
}

.list.verticalList li,
.list[class*="verticalList-"] li {
    margin-bottom: 0;
}

.list.verticalList li a:hover,
.list[class*="verticalList-"] li a:hover {
    padding-left: 0;
}

.list.verticalList li a:hover .icon-only:before,
.list[class*="verticalList-"] li a:hover .icon-only:before {
    transform: translateY(-0.25rem);
}

.list li .icon-only[class^="icon-"]:before, .icon-only[class*=" icon-"]:before {
    margin-right: 0;
}

.icon-big {
    font-size: 2rem;
}

.arrowList li {
    padding-left: 1em;
}

.checkList, .wynnerList {
    padding-left: 0;
}

.checkList li, .wynnerList li {
    padding-left: 1.5em;
}

/* ✅ Häkchen als Marker */
.checkList li::before {
    font-family: 'fontello';
    content: "\e822";
    width: 1.15em;
    height: 1.15em;

    font-size: 0.8rem;
    line-height: 1rem;
    text-align: center;
    border: 1px solid var(--secondaryColor);
    border-radius: 50%;
    color: var(--secondaryColor);  /* passt zu deinem Design */

    position: absolute;
    left: 0;
    top: 0.2em;
}

.wynnerList li::before {
    content: "";
    width: 1em;
    height: 1em;

    background-color: var(--secondaryColor);

    -webkit-mask: url("../../Icons/wynner-logo.svg") no-repeat center;
    -webkit-mask-size: contain;

    mask: url("../../Icons/wynner-logo.svg") no-repeat center;
    mask-size: contain;

    position: absolute;
    left: 0;
    top: 0.2em;
}

.arrowList li::before {
    content: ">";
    line-height: 1rem;

    position: absolute;
    left: 0;
    top: 0.2em;
}

.pointList {
    list-style: disc;
    padding-left: 1rem;
}

.checkList.primaryColor li::before {
    border: 1px solid var(--primaryColor);
    color: var(--primaryColor);
}

.wynnerList.primaryColor li::before {
    background-color: var(--primaryColor);
}