/**********************************************************/
/* Reset                                                  */
/**********************************************************/
*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
    font: inherit;
}

ul[role="list"],
ol[role="list"] {
    list-style: none;
}

html:focus-within {
    scroll-behavior: smooth;
}

html,
body {
    height: 100%;
}

body {
    text-rendering: optimizeSpeed;
    line-height: 1.5;
}

a:not([class]) {
    text-decoration-skip-ink: auto;
}

img,
picture,
svg {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
    font-style: italic;
    background-repeat: no-repeat;
    background-size: cover;
    shape-margin: 0.75rem;
    display: block;
}

@media (prefers-reduced-motion: reduce) {

}

/**********************************************************/
/* Web Accessbility                                       */
/**********************************************************/

/* Screen Reader Only Class */
.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;
}

/* Skip to Content Link */
.skip-link {
    position: absolute;
    top: auto;
    left: -100%;
    height: 1px;
    width: 1px;
    text-decoration: none;
    padding: 0.5rem 1rem;
    color: currentColor;
    background-color: currentColor;
    border: 0;
    cursor: pointer;
    z-index: 9999;

    &:focus {
        display: inline-block;
        top: calc(2 * 3px);
        left: calc(2 * 3px);
        height: auto;
        width: auto
    }
}

/* Visible Focus Indicator */
a,
button,
input,
select,
textarea,
input[type="submit"],
input[type="reset"],
[role="button"],
[role="checkbox"],
[role="radio"],
[role="link"],
[aria-expanded="true"] {
    &:focus-visible {
        outline: 3px dashed currentColor !important;
        outline-offset: 3px !important;
    }
}

/* Disable all animations */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
		animation: none !important;
        transition: none !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

	html:focus-within {
        scroll-behavior: auto;
    }
}


/* Contrast Adjustments Start
*********************************/
body[data-contrast="high"] {

    #BorlabsCookieBox {
        .brlbs-btn-accept-all,
        .brlbs-btn-accept-only-essential,
        .brlbs-cmpnt-btn-preferences {
            color: #000 !important;
        }

        #BorlabsCookieBox .brlbs-cmpnt-dialog-entrance-description a, 
        .brlbs-cmpnt-container .brlbs-cmpnt-dialog-entrance-description a {
            color: #000 !important;
        }
    }

    header #top-bar * {
        color: #000 !important;
    }

    .bewertungen * {
        color: #000 !important;
    }
}

/* Contrast prefers-contrast */
@media (prefers-contrast: more),
(prefers-contrast: high),
(prefers-contrast: custom) {

    body:not([data-contrast="high"]) {

        #BorlabsCookieBox {
        .brlbs-btn-accept-all,
        .brlbs-btn-accept-only-essential,
        .brlbs-cmpnt-btn-preferences {
            color: #000 !important;
        }

        #BorlabsCookieBox .brlbs-cmpnt-dialog-entrance-description a, 
        .brlbs-cmpnt-container .brlbs-cmpnt-dialog-entrance-description a {
            color: #000 !important;
        }
    }

        header #top-bar * {
            color: #000 !important;
        }

        .bewertungen * {
            color: #000 !important;
        }

    }
}
/* Contrast Adjustments End
*********************************/


/* Forced Colors Support */
@media (forced-colors: active) {
	body {
		forced-color-adjust: none;
		background-color: Window;
		color: WindowText;
	}

	a {
		color: Highlight;
		background-color: transparent;
		text-decoration: underline;
	}

	button {
		background-color: ButtonFace;
		color: ButtonText;
		border: 1px solid ButtonText;
	}

	input, textarea, select {
		background-color: Field;
		color: FieldText;
		border: 1px solid ButtonText;
	}

	svg, img {
		forced-color-adjust: auto;
	}
}