:root {
    --primary-color: #549024;
    --primary-color-2: #497d1f;
}

html,
body {
    font-family: 'BARMERBeatScreen', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
    color: #212121;
    font-size: 18px;
}

* {
    font-family: 'BARMERBeatScreen', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

a {
    color: #6b25c5;
    text-decoration: underline;
}
a:not(.button):hover {
    color: #521d99;
}
a:not(.button):active {
    color: #3a166f;
}
a.external::after {
    content: "";
    display: inline-block;
    width: 1.2rem;
    aspect-ratio: 1;
    background: url(arrow-external.svg);
    background-repeat: no-repeat;
    background-size: contain;
    transform: translateY(3px);
    margin-left: 3px;
}
a.external:hover::after {
    background-image: url(arrow-external_hover.svg);
}
a.external:active::after {
    background-image: url(arrow-external_active.svg);
}

a.button {
    text-decoration: none;
}

p {
    line-height: 1.5;
}

ul {
    list-style: disc;
}
ul li {
    margin-bottom: .4em;
    margin-bottom: .7em;
}
ul li::marker {
    content: "•  ";
    color: #212121;
}

h1, h2, h3, h4, h5 {
    color: #212121;
}
h1 {
    font-size: 25px;
    font-weight: 900;
    margin: 20px 0 40px
}

input[type=text],
select {
    border: none;
    background: white;
    outline: 1px solid #8F8F8F;
    color: #525252;
    border-radius: 16px;
    padding: 12px;
}
input[type=text]:focus-visible,
input[type=text]:focus,
select:focus,
select:focus-visible {
    outline-color: #8739F4;
    color: #212121;
}

select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding: 12px 40px 12px 20px;   /* Platz für den Pfeil */
    background-image: url("icons/arrow-downward.svg");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 14px;
}
/* Standardpfeil in älteren IE/Edge entfernen */
select::-ms-expand {
    display: none;
}

label,
legend {
    margin-bottom: .5rem;
}

.mb {
    margin-bottom: 1.5rem;
}

.header {
    font-size: 22.5px;
    font-weight: 200;
    color: #818181;
    padding-top: 30px;
}
.header .logo {
    margin-right: 15px;
}
.header .logo img {
    max-width: 160px;
}
.header span {
    display: inline-block;
    transform: translateY(-17px);
}

.container {
    position: relative;
}

.navigation_step {
    background: #EBFCEE;
    font-size: 18px;
    color: #333;
    color: #525252;
    text-wrap: nowrap;
}
.navigation_step .container {
    overflow: auto;
}
.navigation_step ul {
    display: flex;
    gap: 10px;
    padding: 0;
    margin: 0;
}
.navigation_step li {
    position: relative;
    list-style: none;
    white-space: nowrap;
    padding: 0;
    margin: 0;
    margin-left: 40px;
}
.navigation_step li::marker {
    content: "";
}
.navigation_step li::before {
    content: "";
    width: 24px;
    height: 24px;
    background: url(/assets/portale/barmer/icons/chevron-right.svg) no-repeat;
    position: absolute;
    /* transform: translate(-24px, -2px); */
    transform: translate(-34px, 2px);
    speak: none;
}
.navigation_step li:first-child {
    margin-left: 20px;
}
.navigation_step li:first-child::before {
    display: none;
}
.navigation_step li:last-child::after {
    content: "";
    display: inline-block;
    width: 20px;
}
.navigation_step strong {
    font-weight: 400;
    color: #212121;
    border-bottom: 3px solid #6B25C5;
}
@media (max-width: 800px) {
    .navigation_step {
        font-size: 13px;
    }
    .navigation_step li {
        margin-left: 20px;
    }
    .navigation_step li::before {
        /*transform: translate(-14px, -2px);*/
        transform: translate(-26px, -2px) scale(0.6);
    }
    .navigation_step li:first-child {
        margin-left: 0;
    }
}




.footer {
    background: #F2F0E5;
    border-top: none;
    font-size: 12px;
    padding-top: 0;
    padding-bottom: 70px;
    margin-top: 25px;
    margin-bottom: 0;
}
.footer * {
    color: #212121;
}
.footer > .inner {
    display: flex;
    justify-content: space-between;
}
.footer a {
    text-decoration: none;
}
.footer .footer-nav {
    display: flex;
    padding: 0;
    margin: 0;
    list-style: none;
}
.footer .footer-nav li {
    padding: 0 15px;
    /* border-left: 1px solid #ccc; */
}
.footer .footer-nav li::marker {
    content: "";
}
.footer .footer-nav li:first-child {
    border-left: none;
}
.footer a,
.footer .copyright {
    padding-top: 10px;
    display: inline-block;
}
@media (max-width: 800px) {
    .footer > .inner {
        flex-direction: column;
    }
    .footer .footer-nav li:first-child {
        padding-left: 0;
    }
}

.login-form {
    margin: 70px 0;
}


/* --------------------------------------- */
.info-image-auftragsnummer {
    width: 100%;
    box-sizing: border-box;
    transition: .3s all;
    background: white;
    padding: 10px;
}
.info-image-auftragsnummer p {
    font-size: 13px;
}

@media (max-width: 719px) {
    .info-image-auftragsnummer {
        margin-top: -40px;
    }
}

@media (min-width: 720px) {
    .info-image-auftragsnummer {
        position: absolute;
        bottom: 20px;
        right: 20px;
        width: 340px;
        max-width: 90%;
    }
}
@media (min-width: 720px) and (hover: hover) and (pointer: fine) {
    .info-image-auftragsnummer:hover {
        width: 682px;
        border: .1em solid #cdcdcd;
    }
}


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

.bildhinweise {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.bildhinweise > *:first-child {
    flex-grow: 1;
}
.bildhinweise img {
    width: 250px;
}
.bildhinweise ul {
    padding-left: 15px;
}

@media (min-width: 735px) {
    .bildhinweise {
        flex-direction: row;
    }
}


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


.image-check-wrapper {
    display: flex;
    flex-direction: column;
    margin-top: 20px;
    gap: 40px;
}
@media (min-width: 700px) {
    .image-check-wrapper {
        flex-direction: row;
    }
}
.image-check-wrapper > * {
    flex-basis: 50%;
}

.image-check-wrapper table {
    border-collapse: collapse;
}
.image-check-wrapper table td {
    padding: 3px;
}
.image-check-wrapper table td:first-child {
    padding-right: 20px;
}
.image-check-wrapper table td:last-child {
    font-weight: bold;
}

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

.button.button--light {
    background: white;
    border: 1px solid #eaeaea;
    color: #333;
}
.button.button--light:hover {
    border-color: #333;
}


.button-bar {
    margin: 40px 0 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* -----------Checkbox---------------------------- */

/* Container */
.aw-checkbox {
    display: inline-flex;
    align-items: flex-start;
    gap: 1.2rem;
    cursor: pointer;
    line-height: 1.4;
    margin-top: 30px;
}

/* Native Checkbox verstecken, aber zugänglich lassen */
.aw-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Sichtbares Kästchen */
.aw-checkbox__box {
    margin-top: .2em;
    position: relative;
    width: 1.2rem;
    aspect-ratio: 1 / 1;
    border: 1px solid #525252;
    border-radius: 8px;
    background: #ffffff;
    flex-shrink: 0;
}
.aw-checkbox__box::after {
    content: "";
    display: block;
    position: absolute;
    top: 5%;
    left: 6%;
    width: 90%;
    height: 90%;
    background: url(check.svg);
    background-size: contain;
    pointer-events: none;
}
.aw-checkbox__box::before {
    transition: .3s all;
    content: "";
    display: block;
    z-index: -1;
    position: absolute;
    width: 0%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background: #f5f5f5;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.aw-checkbox__box:hover { background: #f5f5f5; }
.aw-checkbox__box:hover::before {
    width: 200%;
}
.aw-checkbox input[type="checkbox"]:active:not(:disabled) ~ .aw-checkbox__box::before  {
    background: #e5e5e5;
}

.aw-checkbox input[type="checkbox"]:not(:disabled):not(:checked) ~ .aw-checkbox__box::after  {
    display: none;
}

/* Zustand: checked */
.aw-checkbox input[type="checkbox"]:not(:disabled):checked ~ .aw-checkbox__box { background: #8739f4; }
.aw-checkbox input[type="checkbox"]:not(:disabled):checked ~ .aw-checkbox__box::before  {
    background: #ecdffd;
}
.aw-checkbox input[type="checkbox"]:not(:disabled):checked:active ~ .aw-checkbox__box::before  {
    background: #d9c0fb;
}

/* Tastaturfokus */
.aw-checkbox input[type="checkbox"]:focus-visible + .aw-checkbox__box {
    outline: 2px solid #000;
    outline-offset: 2px;
}

/* Text */
.aw-checkbox__label {
    display: inline-block;
}




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


@media (max-width: 800px) {
    html, body {
        font-size: 16px;
    }
    h1 {
        font-size: 20px;
    }
}