﻿:root {
    /*------- Names copyed from Figma Design -------*/
    /* Brand Colors */
    --Main-Color---Signal-Red: #e3000f; /*Main*/
    --Sonderfarbe-Dark---Red: #7d0008; /*New Colors Red*/
    --Sonderfarbe---Dark-Blue: #323863; /*New Colors Blue*/
    /* Grayscale */
    --Text: #000000;
    --Optinal-Color---Dark-Grey: #333333;
    --Secondary-Color---Grey: #5f5f5f;
    --Main-Color---Light-Grey: #ededed;
    --Main_Color---White: #FFF;
    /* Gradients */
    --Farbverlauf-Dark-Red---Signal-Red: linear-gradient(250deg, var(--Main-Color---Signal-Red) 21.35%, var(--Sonderfarbe-Dark---Red) 75.57%);
    --Verlauf-Rot: linear-gradient(250deg, var(--Main-Color---Signal-Red) 21.35%, var(--Main-Color---Signal-Red) 55.63%, var(--Sonderfarbe-Dark---Red) 92.28%);
    --Verlauf-Dark---Blue: linear-gradient(286.37deg, rgba(50, 56, 99, 0.9) 3.95%, #33354A 13.92%, #333333 64.67%, #333333 95.51%), linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2));
    --farbverlauf-dunkel-2: linear-gradient(0deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.20) 100%), linear-gradient(286deg, rgba(50, 56, 99, 0.90) 3.95%, #33354A 13.92%, #333 64.67%, #333 95.51%);
    --Farbverlauf-Dark-Grey---Dark-Blue: linear-gradient( 286deg, color-mix(in srgb, var(--Sonderfarbe---Dark-Blue) 90%, transparent) 3.95%, var(--Sonderfarbe---Dark-Blue) 19.47%, #33354A 48.29%, var(--Optinal-Color---Dark-Grey) 95.51% );
    /*Custom Font*/
    --font-base: 'Euclid Circular A', arial, sans-serif;
}

button {
    cursor: pointer;
}

html, body {
    color: var(--Optinal-Color---Dark-Grey, #333333);
}

:where(h1,h2,h3,h4,h5,h6,p,li,span,small,label,legend,th,td,dt,dd,
       input,select,textarea,button){
  color: inherit;
}

body {
    font-family: var(--font-base);
    background-color: var(--Main-Color---Light-Grey);
    align-content: center;
    align-items: center;
}

main {
    margin-top: -7.5rem;
}

/*-----------------------------------------FONT-----------------------------------------*/


/* Headlines */
h1 {
    font-family: var(--font-base);
    font-weight: 700;
    font-size: 3.25rem;
    line-height: 1.2;
    margin-block-start: unset;
    margin-block-end: unset;
    overflow: hidden;
    text-overflow: ellipsis;
}

h2 {
    font-family: var(--font-base);
    font-weight: 500; /* Medium */
    font-size: 1.75rem; /* 28px */
    line-height: 1.3;
    margin-block-start: unset;
    margin-block-end: unset;
    overflow: hidden;
    text-overflow: ellipsis;
}

h3 {
    font-family: var(--font-base);
    font-weight: 600; /* Semibold */
    font-size: 1.75rem; /* 28px */
    line-height: 1.3;
    margin-block-start: unset;
    margin-block-end: unset;
    overflow: hidden;
    text-overflow: ellipsis;
}

h4 {
    font-family: var(--font-base);
    font-weight: 500;
    font-size: 1.125rem; /* 18px */
    line-height: 1.4;
    margin-block-start: unset;
    margin-block-end: unset;
    overflow: hidden;
    text-overflow: ellipsis;
}

h5 {
    font-family: var(--font-base);
    font-weight: 400;
    font-size: 1rem; /* 16px */
    line-height: 1.625;
    margin-block-start: unset;
    margin-block-end: unset;
    overflow: hidden;
    text-overflow: ellipsis;
}

h6 {
    font-family: var(--font-base);
    font-weight: 400;
    font-size: 0.875rem; /* 14px */
    line-height: 1.25;
    margin-block-start: unset;
    margin-block-end: unset;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Subline */
.subline {
    font-family: var(--font-base);
    font-weight: 700;
    font-size: 1.25rem; /* 20px */
    line-height: 1.3;
    margin-block-start: unset;
    margin-block-end: unset;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Body Text */
p {
    font-family: var(--font-base);
    font-weight: 400;
    font-size: 1.25rem; /* 20px */
    line-height: 1.5;
    margin-block-start: unset;
    margin-block-end: unset;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Icon-Text Kombination */
.icon-text {
    font-family: var(--font-base);
    font-weight: 500;
    font-size: 0.9375rem; /* 15px */
    line-height: 1.3;
    margin-block-start: unset;
    margin-block-end: unset;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Form Text */
.form-text {
    font-family: var(--font-base);
    font-weight: 400;
    font-size: 1.25rem; /* 20px */
    margin-block-start: unset;
    margin-block-end: unset;
}

.form-label {
    font-family: var(--font-base);
    font-weight: 500;
    font-size: 1.125rem; /* 18px */
    margin-block-start: unset;
    margin-block-end: unset;
    overflow: hidden;
    text-overflow: ellipsis;
}

.faq-text {
    font-family: var(--font-base);
    font-weight: 500;
    font-size: 1.5rem; /* 24px */
    margin-block-start: unset;
    margin-block-end: unset;
    overflow: hidden;
    text-overflow: ellipsis;
}

/*-----------------------------------------NROMAL REGULAR BUTTON-----------------------------------------*/
button.regular-button {
    /*Layout*/
    display: flex;
    min-height: 3.375rem; /* 54px */
    padding: 0.95rem 1rem;
    justify-content: center;
    align-items: center;
    gap: 0.9rem; /* 15px */
    /*Style*/
    border-radius: 1.25rem; /* 20px */
    border: 1px solid var(--Farbverlauf-Dark-Red---Signal-Red, #E3000F);
    background: var(--Main-Color---Signal-Red, #E3000F);
    box-shadow: 0 0.25rem 0.375rem 0 rgba(136, 136, 136, 0.80), 0.0625rem 0.125rem 0.25rem 0 #D02732 inset;
}

    button.regular-button:hover {
        background: var(--Verlauf-Rot)
    }

    button.regular-button:active {
        background: var(--Farbverlauf-Dark-Red---Signal-Red)
    }

    button.regular-button span {
        color: var(--Main_Color---White, #FFF);
        font-family: var(--font-base);
        font-size: 1.5rem; /* 24px */
        font-style: normal;
        font-weight: 500;
        line-height: normal;
    }

    button.regular-button img {
        vertical-align: middle;
        width: 1.95rem; /* 31.28px */
        height: 1.95rem;
        aspect-ratio: 1/1;
    }

/*-----------------------------------------SMALL REGULAR BUTTON-----------------------------------------*/
button.small-regular-button {
    /*Layout*/
    display: flex;
    min-height: 2.8125rem; /* 45px */
    padding: 0.3rem 0.6rem 0.3rem 0.75rem;
    justify-content: center;
    align-items: center;
    gap: 0.625rem; /* 10px */
    /*Style*/
    border-radius: 0.625rem; /* 10px */
    border: 1px solid var(--Verlauf-Rot, #E3000F);
    background: var(--Main-Color---Signal-Red, #E3000F);
    box-shadow: 0.125rem 0.25rem 0.5rem 0 rgba(30, 30, 30, 0.25);
}

    button.small-regular-button span {
        color: var(--Main_Color---White, #FFF);
        font-family: var(--font-base);
        font-size: 1.25rem; /* 20px */
        font-style: normal;
        font-weight: 500;
        line-height: 1.625rem; /* 26px */
    }

    button.small-regular-button img {
        vertical-align: middle;
        width: 1.25rem; /* 20px */
        height: 1.25rem;
        aspect-ratio: 1/1;
    }

    button.small-regular-button:hover {
        background: var(--Verlauf-Rot)
    }

    button.small-regular-button:active {
        background: var(--Farbverlauf-Dark-Red---Signal-Red)
    }

/*-----------------------------------------TEXT ROUNDICON BUTTON-----------------------------------------*/

button.Text-ArrowIcon-button {
    min-height: 1.5rem; /* 24px */
    display: inline-flex;
    align-items: center;
    border: 0;
    background-color: transparent;
}

    button.Text-ArrowIcon-button img {
        width: 0.75rem; /* 12px */
        height: 0.64rem; /* 10.2px */
    }

    button.Text-ArrowIcon-button .icon-background {
        width: 1.5rem; /* 24px */
        height: 1.5rem;
    }

    button.Text-ArrowIcon-button.right .Icon-Wrapper {
        margin-left: 0.9rem; /* 15px */
    }

    button.Text-ArrowIcon-button.left .Icon-Wrapper {
        margin-right: 0.9rem; /* 15px */
    }

    button.Text-ArrowIcon-button.left img {
        transform: rotate(180deg);
    }

    button.Text-ArrowIcon-button span {
        color: var(--Optinal-Color---Dark-Grey);
        font-family: var(--font-base);
        font-size: 0.9375rem; /* 15px */
        font-style: normal;
        font-weight: 500;
        line-height: normal;
    }

    button.Text-ArrowIcon-button:hover span {
        text-decoration: underline;
    }

    button.Text-ArrowIcon-button:active span {
        text-decoration: none;
    }

    button.Text-ArrowIcon-button:active .red-circle {
        background: var(--Farbverlauf-Dark-Red---Signal-Red);
    }

/*-----------------------------------------TEXT LOGINICON BUTTON-----------------------------------------*/

button.Text-LoginIcon-button {
    min-height: 2.5rem; /* ~39.3px */
    display: inline-flex;
    align-items: center;
    border: 0;
    background-color: transparent;
}

    button.Text-LoginIcon-button img {
        width: 1.3rem; /* 20.8px */
        height: 1.3rem;
    }

    button.Text-LoginIcon-button .icon-background {
        width: 2.5rem; /* ~39.3px */
        height: 2.5rem;
    }

    button.Text-LoginIcon-button .Icon-Wrapper {
        margin-right: 0.9rem; /* 15px */
    }

    button.Text-LoginIcon-button span {
        color: var(--Optinal-Color---Dark-Grey);
        font-family: var(--font-base);
        font-size: 1.25rem; /* 20px */
        font-style: normal;
        font-weight: 400;
        line-height: normal;
    }

    button.Text-LoginIcon-button:hover .gray-square {
        background: var(--Farbverlauf-Dark-Grey---Dark-Blue);
    }

    button.Text-LoginIcon-button:hover .red-square {
        background: var(--Farbverlauf-Dark-Red---Signal-Red);
    }

    button.Text-LoginIcon-button:active .gray-square {
        background: var(--Optinal-Color---Dark-Grey, #333);
    }

    button.Text-LoginIcon-button:active .red-square {
        background: var(--Main-Color---Signal-Red, #E3000F);
    }                                                                   

/*-----------------------------------------ROUNDICON BUTTON-----------------------------------------*/

button.RoundIcon-Button {
    min-height: 2.8125rem; /* 45px */
    display: inline-flex;
    align-items: center;
    border: 0;
    background-color: transparent;
    filter: drop-shadow(0.125rem 0.25rem 0.5rem rgba(30, 30, 30, 0.25));
}

    button.RoundIcon-Button .icon-background {
        width: 2.8125rem; /* 45px */
        height: 2.8125rem;
        box-shadow: 0.125rem 0.25rem 0.5rem 0 rgba(30, 30, 30, 0.25);
    }

    button.RoundIcon-Button img {
        width: 1.4375rem; /* 23px */
        height: 1.4375rem;
        margin: auto;
    }

    button.RoundIcon-Button:hover .red-circle {
        background: var(--Verlauf-Rot);
    }

    button.RoundIcon-Button:active .red-circle {
        background: var(--Farbverlauf-Dark-Red---Signal-Red);
    }

/*-----------------------------------------SQUAREICON BUTTON-----------------------------------------*/

button.SquareIcon-IntranetButton {
    min-height: 2.8125rem; /* 45px */
    display: inline-flex;
    align-items: center;
    border: 0;
    background-color: transparent;
    gap: 1.25rem; /* 20px */
}

    button.SquareIcon-IntranetButton span {
        color: var(--Optinal-Color---Dark-Grey, #333);
        text-align: center;
        font-family: var(--font-base);
        font-size: 1.25rem; /* 20px */
        font-style: normal;
        font-weight: 400;
        line-height: 1.625rem; /* 26px */
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    button.SquareIcon-IntranetButton .icon-background {
        width: 3.4rem; /* 54.7px */
        height: 3.4rem;
        border-radius: 1.25rem; /* 20px */
        filter: drop-shadow(0.125rem 0.25rem 0.5rem rgba(30, 30, 30, 0.25));
    }

    button.SquareIcon-IntranetButton img {
        width: 1.85rem; /* 29.5px */
        height: 1.85rem;
    }

    button.SquareIcon-IntranetButton:hover span {
        opacity: 1;
    }

    button.SquareIcon-IntranetButton:active span {
        opacity: 0;
    }

    button.SquareIcon-IntranetButton:hover .icon-background {
        background: var(--Farbverlauf-Dark-Red---Signal-Red);
    }

    button.SquareIcon-IntranetButton:active .icon-background {
        background: var(--Main-Color---Signal-Red);
    }

    button.SquareIcon-IntranetButton.selected span {
        opacity: 0;
    }

    button.SquareIcon-IntranetButton.selected .icon-background {
        background: var(--Main-Color---Signal-Red);
    }


/*-----------------------------------------RO_UNDICON BUTTON-----------------------------------------*/

button.RoundIcon-IntranetButton {
    min-height: 2.8125rem; /* 45px */
    display: inline-flex;
    align-items: center;
    border: 0;
    background-color: transparent;
    flex-direction: column;
    gap: 1.25rem; /* 20px */
}


    button.RoundIcon-IntranetButton span {
        color: var(--Optinal-Color---Dark-Grey, #333);
        text-align: center;
        font-family: var(--font-base);
        font-size: 1.25rem; /* 20px */
        font-style: normal;
        font-weight: 400;
        line-height: 1.625rem; /* 26px */
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    button.RoundIcon-IntranetButton .icon-background{
        width: 3.4rem; /* 54.7px */
        height: 3.4rem;
        border-radius: 1.25rem; /* 20px */
        background: var(--Farbverlauf-Dark-Grey---Dark-Blue);
        filter: drop-shadow(0.125rem 0.25rem 0.5rem rgba(30, 30, 30, 0.25));
    }

    button.RoundIcon-IntranetButton img {
        width: 1.85rem; /* 29.5px */
        height: 1.85rem;
    }

    button.RoundIcon-IntranetButton:hover span {
        opacity: 1;
    }

    button.RoundIcon-IntranetButton:active span {
        opacity: 0;
    }

    button.RoundIcon-IntranetButton:hover .icon-background {
        background: var(--Farbverlauf-Dark-Red---Signal-Red);
    }

    button.RoundIcon-IntranetButton:active .icon-background {
        background: var(--Main-Color---Signal-Red);
    }

    button.RoundIcon-IntranetButton.selected span {
        opacity: 0;
    }

    button.RoundIcon-IntranetButton.selected .icon-background {
        background: var(--Main-Color---Signal-Red);
    }

/*-----------------------------------------SMALL ROUNDICON BUTTON-----------------------------------------*/

button.SmallRoundIcon-Button {
    height: 1.75rem; /* 28px */
    display: inline-flex;
    align-items: flex-end;
    border: none;
    background-color: transparent;
    flex-direction: column;
    gap: 0.625rem; /* 10px */
}

    button.SmallRoundIcon-Button span {
        color: var(--Secondary-Color---Grey, #5F5F5F);
        text-align: right;
        font-family: var(--font-base);
        font-size: 0.875rem; /* 14px */
        font-style: normal;
        font-weight: 400;
        line-height: 1.125rem; /* 18px */
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    button.SmallRoundIcon-Button .icon-background {
        width: 1.75rem; /* 28px */
        height: 1.75rem;
        border-radius: 50%;
        box-shadow: 0.125rem 0.25rem 0.5rem 0 rgba(30, 30, 30, 0.25);
    }

    button.SmallRoundIcon-Button img {
        width: 0.75rem; /* 12px */
        height: 0.75rem;
    }

    button.SmallRoundIcon-Button:hover span {
        opacity: 1;
    }

    button.SmallRoundIcon-Button:active span {
        opacity: 0;
    }

    button.SmallRoundIcon-Button:active .red-circle {
        background: var(--Farbverlauf-Dark-Red---Signal-Red);
    }

    button.SmallRoundIcon-Button:active .blue-circle {
        background: var(--Verlauf-Dark---Blue);
    }

    button.SmallRoundIcon-Button:active .darkred-circle {
        background: var(--Sonderfarbe-Dark---Red);
    }

    button.SmallRoundIcon-Button:hover .darkblue-circle {
        background: var(--Farbverlauf-Dark-Grey---Dark-Blue);
    }

    button.SmallRoundIcon-Button:active .darkblue-circle {
        background: var(--Sonderfarbe---Dark-Blue);
    }

/*-----------------------------------------LAYERD ICONS-----------------------------------------*/
.Icon-Wrapper {
    position: relative;
    width: 1.5rem; /* 24px */
    height: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .Icon-Wrapper img {
        position: absolute;
        z-index: 1;
    }

    .Icon-Wrapper.icon-background {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 0;
    }

.red-circle,
.blue-circle,
.darkred-circle,
.darkblue-circle {
    border-radius: 50%;
    aspect-ratio: 1/1;
}

.red-circle {
    background: var(--Main-Color---Signal-Red);
}

.blue-circle {
    background: var(--Sonderfarbe---Dark-Blue);
}

.darkred-circle {
    background: var(--Farbverlauf-Dark-Red---Signal-Red);
}

.darkblue-circle {
    background: var(--Verlauf-Dark---Blue);
}

.gray-square,
.grayGradient-square,
.red-square {
    aspect-ratio: 1/1;
    border-radius: 0.625rem; /* 10px */
}

.gray-square {
    background: var(--Optinal-Color---Dark-Grey);
}

.grayGradient-square {
    background: var(--Farbverlauf-Dark-Grey---Dark-Blue);
}

.red-square {
    background: var(--Main-Color---Signal-Red);
}

/*-----------------------------------------CHECKBOX BASE-----------------------------------------*/
.checkbox {
    display: inline-flex;
    align-items: center;
}

    .checkbox input {
        aspect-ratio: 1/1;
        appearance: none;
        cursor: pointer;
        height: 1.5rem; /* 24px */
        margin-right: 0.9375rem; /* 15px */
        border: 0.0625rem solid var(--Main-Color---Signal-Red);
        border-radius: 0.3125rem; /* 5px */
        background: var(--kuc-Main_Color-Light_Grey, #EDEDED);
        background-repeat: no-repeat;
        background-position: center;
        background-size: 60%;
        background-position-x: 0.25rem; /* 4px */
        background-position-y: 0.375rem; /* 6px */
        box-shadow: inset 0 0.125rem 0.25rem rgba(0, 0, 0, 0.25);
    }

        .checkbox input:checked {
            background-image: url('images/icons/checkmark_icon_black_tiny.svg');
        }

    .checkbox span {
        color: var(--Optinal-Color---Dark-Grey);
        font-family: var(--font-base);
        font-size: 1.125rem; /* 18px */
        font-style: normal;
        font-weight: 500;
        line-height: 1.625rem; /* 26px */
    }

/*-----------------------------------------CHECKBOX Variants-----------------------------------------*/
.needed-checkbox input {
    border-width: 0.125rem; /* 2px */
}

.dualchoice-checkbox-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.5rem 1.875rem; /* 24px 30px */
}

    .dualchoice-checkbox-wrapper span {
        flex-basis: 100%;
    }

.agree-checkbox input {
    height: 1.125rem; /* 18px */
    aspect-ratio: 1/1;
    border-radius: 0.3125rem; /* 5px */
    border: 0.03125rem solid var(--Secondary-Color---Grey, #5F5F5F);
    background: var(--Main_Color---White, #FFF);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 50%;
    background-position-x: 0.25rem; /* 4px */
    background-position-y: 0.375rem; /* 6px */
    box-shadow: inset 0 0.125rem 0.25rem rgba(0, 0, 0, 0.25);
}

    .agree-checkbox input:checked {
        background-image: url('images/icons/checkmark_icon_black_tiny.svg');
    }

.agree-checkbox span {
    color: var(--Secondary-Color---Grey, #5F5F5F);
    font-size: 0.75rem; /* 12px */
    font-weight: 400;
    line-height: 1.375rem; /* 22px */
    padding-top: 2px;
}

/*-----------------------------------------Inputs-----------------------------------------*/
.inputFieldSingle {
    width: 450px;
    height: 54px;
    flex-shrink: 0;
    border-radius: 15px;
    border: 1px solid rgba(237,237,237,0.70);
    background: var(--Main-Color---Light-Grey, #EDEDED);
    box-shadow: 2px 4px 8px 0 rgba(30, 30, 30, 0.25) inset;
    font-size: 16px;
    outline: none;
    transition: border-color .15s, box-shadow .15s, background-color .15s;
    padding: 0px 16px;
    box-sizing: border-box;
}

    .inputFieldSingle::placeholder {
        color: rgba(30,30,30,.55);
    }

    .inputFieldSingle.Intranet {
        box-shadow: 1px 2px 8px 0 rgba(51, 51, 51, 0.15) inset;
        border: none;
        background: var(--Main_Color---White);
    }

.inputFieldMulti {
    width: 786px;
    height: 134px;
    border-radius: 15px;
    border: 1px solid rgba(237,237,237,0.70);
    background: var(--Main-Color---Light-Grey, #EDEDED);
    box-shadow: inset 2px 4px 8px rgba(30,30,30,0.25);
    font-size: 16px;
    color: #1e1e1e;
    outline: none;
    transition: border-color .15s, box-shadow .15s, background-color .15s;
    box-sizing: border-box;
    padding: 12px 16px;
    line-height: 1.4;
    resize: none;
    overflow-y: auto;
    overflow-wrap: break-word;
    word-break: break-word;
    scrollbar-gutter: stable both-edges; /* vermeidet Layout-Shift beim Scrollbar-Einblenden (moderne Browser) */
}

/*-----------------------------------------Dropdons-----------------------------------------*/
/* Basis wie dein Input */
.selectField {
    width: 450px;
    height: 54px;
    border-radius: 15px;
    border: 1px solid rgba(237,237,237,0.70);
    background: var(--Main-Color---Light-Grey, #EDEDED);
    box-shadow: inset 2px 4px 8px rgba(30,30,30,.25);
    font-size: 16px;
    outline: none;
    transition: border-color .15s, box-shadow .15s, background-color .15s;
    padding: 0 44px 0 16px;
    box-sizing: border-box;
    /* Native Pfeile entfernen + eigenen Pfeil setzen */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    /* roter Chevron als SVG-Background (rechts) */
    background-image: url('images/icons/Chevron_Icon_Red_Normal.svg');
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 18px 18px;
}

    /* Placeholder-ähnlicher Look für disabled/ungewählt, wenn nötig */
    .selectField:invalid {
        color: rgba(30,30,30,.55);
    }

    /* Hover/Focus – optional leicht betonen */
    .selectField:hover {
        border-color: rgba(0,0,0,.18);
    }

    .selectField:focus {
        border-color: rgba(0,0,0,.22);
    }

    /* Variante wie dein .inputFieldSingle.Intranet */
    .selectField.Intranet {
        box-shadow: inset 1px 2px 8px rgba(51,51,51,.15);
        border: none;
        background-color: var(--Main-Color---White, #fff);
    }

    /* (Optional) für sehr alte IE: Standard-Pfeil ausblenden */
    .selectField::-ms-expand {
        display: none;
    }


/*-----------------------------------------TOGGLER SWITCHES-----------------------------------------*/
.customToggler {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    gap: 0.625rem; /* 10px */
}

.toggler-input {
    display: none;
}

.toggler-slider {
    position: relative;
    width: 2.75rem; /* 44px */
    height: 1.5rem; /* 24px */
    background-color: var(--kuc-Main_Color-Light_Grey);
    border: 0.0625rem solid var(--Optinal-Color---Dark-Grey);
    border-radius: 1.875rem; /* 30px */
    box-shadow: inset 0 0.125rem 0.25rem rgba(0, 0, 0, 0.25);
}

    .toggler-slider::before {
        content: "";
        position: absolute;
        top: 0.125rem; /* 2px */
        left: 0.125rem;
        width: 1.25rem; /* 20px */
        height: 1.25rem;
        background-color: var(--Optinal-Color---Dark-Grey);
        border-radius: 50%;
        transition: transform 0.3s ease;
    }

.toggler-input:checked + .toggler-slider {
    border: 0.0625rem solid var(--Main-Color---Signal-Red, #E3000F);
}

    .toggler-input:checked + .toggler-slider::before {
        transform: translateX(1.25rem); /* 20px */
        background-color: var(--Main-Color---Signal-Red);
    }

.toggler-label {
    color: var(--Optinal-Color---Dark-Grey, #333);
    font-family: var(--font-base);
    font-size: 1.125rem; /* 18px */
    font-style: normal;
    font-weight: 500;
    line-height: 1.625rem; /* 26px */
}

.toggler-slider.small {
    width: 2.125rem; /* 34px */
    height: 1.125rem; /* 18px */
    border-radius: 0.5625rem; /* 9px */
    border-color: var(--Farbverlauf-Dark-Grey---Dark-Blue);
}

.toggler-label.small {
    font-size: 0.875rem; /* 14px */
    font-weight: 500;
    line-height: 1.625rem; /* 26px */
}

.toggler-slider.small::before {
    width: 0.875rem; /* 14px */
    height: 0.875rem;
    border-radius: 50%;
}

.toggler-input:checked + .toggler-slider.small::before {
    transform: translateX(1rem); /* 16px */
}

/*-----------------------------------------TOOLTIPS-----------------------------------------*/
.tooltip {
    position: relative;
    display: inline-flex;
    align-items: flex-end;
    gap: 0.625rem; /* 10px */
}

    .tooltip span {
        color: #000;
        font-family: var(--font-base);
        font-size: 0.625rem; /* 10px */
        font-style: normal;
        font-weight: 400;
        line-height: 1rem; /* 16px */
        white-space: normal;
        transform: translateY(50%);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

.tooltipIcon {
    background-image: url('images/icons/tooltipinaktive_icon_white_normal.svg');
    width: 1.1875rem; /* 19px */
    height: 1.875rem; /* 30px */
    flex-shrink: 0;
    cursor: pointer;
}

    .tooltipIcon:hover + span {
        opacity: 1;
    }

    .tooltipIcon:hover {
        background-image: url('images/icons/tooltipaktive_icon_red_normal.svg');
    }

/*-----------------------------------------FLOATING TOOLTIP-----------------------------------------*/
.floating-tooltip {
    border: none;
    background: none;
    padding: 0;
    font: inherit;
    position: fixed;
    top: 50%;
    right: 1.25rem; /* 20px */
    transform: translateY(-50%);
    width: 3.125rem; /* 50px */
    height: 3.125rem; /* 50px */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    filter: drop-shadow(0.125rem 0.25rem 0.5rem rgba(30, 30, 30, 0.25));
    transition: width 0.3s ease, height 0.3s ease, background-color 0.3s ease, border-radius 0.3s ease;
    overflow: hidden;
    z-index: 1000; /* Damit es über anderen Inhalten liegt */
}

    /* Icon Background + Icon */
    .floating-tooltip .icon-background {
        width: 3.125rem; /* 50px */
        height: 3.125rem; /* 50px */
        box-shadow: 0.125rem 0.25rem 0.5rem rgba(30, 30, 30, 0.25);
        transition: opacity 0.3s ease;
    }

    .floating-tooltip img {
        width: 1.8125rem; /* 29px */
        height: 1.375rem; /* 22px */
        transition: opacity 0.3s ease;
    }

    /* Textbereich */
    .floating-tooltip .expanded-content {
        position: absolute; /* Damit Texte innen besser sitzen */
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        padding: 1rem; /* ~16px */
        display: flex;
        flex-direction: column;
        justify-content: space-between; /* Header oben, Content unten */
        align-items: center;
        text-align: center;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease;
        box-sizing: border-box;
    }

    /* ---------------- Hover-Zustand (aufgeklappt) ---------------- */
    .floating-tooltip:hover {
        width: 13.0625rem; /* 209px */
        height: 9.5625rem; /* 153px */
        padding: 0; /* Text übernimmt das Padding */
        background-color: var(--Main-Color---Signal-Red);
        border-radius: 1.25rem; /* 20px */
        justify-content: center;
        align-items: center;
    }

        /* Icon ausblenden */
        .floating-tooltip:hover .icon-background,
        .floating-tooltip:hover img {
            opacity: 0;
        }

        /* Text einblenden */
        .floating-tooltip:hover .expanded-content {
            opacity: 1;
            visibility: visible;
        }

/* Header */
.expanded-content .header {
    color: var(--Main_Color---White);
    font-family: var(--font-base);
    font-size: 1.375rem; /* 22px */
    font-weight: 700;
    line-height: 1.875rem; /* 30px */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Content */
.expanded-content .content {
    color: var(--Main_Color---White);
    font-family: var(--font-base);
    font-size: 1.125rem; /* 18px */
    font-weight: 400;
    line-height: 1.875rem; /* 30px */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
