/* ***** Normalise CSS START ***** */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-weight: normal;
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

[tabindex='-1']:focus:not(:focus-visible) {
    outline: 0 !important;
}

*:focus-visible {
    outline: none;
}

hr {
    background-color: currentColor;
    border: 0;
}

hr:not([size]) {
    height: 1px;
}

h1,
h2,
h3 {
    margin-top: 0;
    margin-bottom: 0;
    font-weight: normal;
}

p {
    margin-top: 0;
}

p:last-child {
    margin-bottom: 0;
}

abbr[title],
abbr[data-original-title] {
    text-decoration: underline;
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
    cursor: help;
    -webkit-text-decoration-skip-ink: none;
    text-decoration-skip-ink: none;
}

address {
    margin-bottom: 1rem;
    font-style: normal;
    line-height: inherit;
}

ol,
ul {
    padding-left: 2rem;
}

ol,
ul,
dl {
    margin-top: 0;
    margin-bottom: 1rem;
}

ol ol,
ul ul,
ol ul,
ul ol {
    margin-bottom: 0;
}

ol ::marker {
    font-weight: bold;
}

dd {
    margin-bottom: 0.5rem;
    margin-left: 0;
}

blockquote {
    margin: 0 0 1rem;
}

b,
strong {
    font-weight: bold;
}

sub,
sup {
    position: relative;
    line-height: 0;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -1.3rem;
}

a:not([href]):not([class]),
a:not([href]):not([class]):hover {
    color: inherit;
    text-decoration: none;
}

figure {
    margin: 0 0 1rem;
}

img,
svg {
    vertical-align: middle;
}

img {
    max-width: 100%;
    height: auto;
}

table {
    caption-side: bottom;
    border-collapse: collapse;
}

th {
    text-align: inherit;
    text-align: -webkit-match-parent;
}

thead,
tbody,
tfoot,
tr,
td,
th {
    border-color: inherit;
    border-style: solid;
    border-width: 0;
}

label {
    display: inline-block;
}

button {
    border-radius: 0;
    cursor: pointer;
}

button:focus {
    outline: none;
}

input,
button,
select,
optgroup,
textarea {
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

button,
input {
    overflow: visible;
}

button,
select {
    text-transform: none;
}

select {
    word-wrap: normal;
}

[list]::-webkit-calendar-picker-indicator {
    display: none;
}

button,
[type='button'],
[type='reset'],
[type='submit'] {
    -webkit-appearance: button;
}

::-moz-focus-inner {
    padding: 0;
    border-style: none;
}

textarea {
    resize: vertical;
}

fieldset {
    min-width: 0;
    padding: 0;
    margin: 0;
    border: 0;
}

legend {
    float: left;
    width: 100%;
    padding: 0;
    line-height: inherit;
    white-space: normal;
}

legend + * {
    clear: left;
}

::-webkit-datetime-edit-fields-wrapper,
::-webkit-datetime-edit-text,
::-webkit-datetime-edit-minute,
::-webkit-datetime-edit-hour-field,
::-webkit-datetime-edit-day-field,
::-webkit-datetime-edit-month-field,
::-webkit-datetime-edit-year-field {
    padding: 0;
}

::-webkit-inner-spin-button {
    height: auto;
}

[type='search'] {
    outline-offset: -2px;
    -webkit-appearance: textfield;
}

::-webkit-search-decoration {
    -webkit-appearance: none;
}

::-webkit-color-swatch-wrapper {
    padding: 0;
}

::-webkit-file-upload-button {
    font: inherit;
    -webkit-appearance: button;
}

output {
    display: inline-block;
}

iframe {
    border: 0;
}

summary {
    display: list-item;
    cursor: pointer;
}

progress {
    vertical-align: baseline;
}

[hidden] {
    display: none !important;
}

iframe {
    width: 100%;
    margin-bottom: 0;
}

/* ***** Normalise CSS END ***** */


/* ***** Font START ***** */
@font-face {
    font-family: 'AOKBuenosAires';
    src: url("../fonts/AOKBuenosAires-Bold.woff2") format("woff2"), url("../fonts/AOKBuenosAires-Bold.woff") format("woff");
    font-weight: bold;
    font-style: normal
}

@font-face {
    font-family: 'AOKBuenosAires';
    src: url("../fonts/AOKBuenosAires-Regular.woff2") format("woff2"), url("../fonts/AOKBuenosAires-Regular.woff") format("woff");
    font-weight: normal;
    font-style: normal
}

@font-face {
    font-family: 'AOKBuenosAires';
    src: url("../fonts/AOKBuenosAires-RegularItalic.woff2") format("woff2"), url("../fonts/AOKBuenosAires-RegularItalic.woff") format("woff");
    font-weight: normal;
    font-style: italic
}

@font-face {
    font-family: 'AOKBuenosAires';
    src: url("../fonts/AOKBuenosAires-SemiBold.woff2") format("woff2"), url("../fonts/AOKBuenosAires-SemiBold.woff") format("woff");
    font-weight: 600;
    font-style: normal
}

/* ***** Font END ***** */

:root {
    --green: #005E3F;
    --green-light: #91F54A;
    --green-dark: #004730;
    --green-text: #18AB42;
    --green-hover: #50EB5D;
    --white: #ffffff;
    --color-text: #40484D;
    --color-border: #6D767C;
    --font: 'AOKBuenosAires', Arial, sans-serif;
}

body {
    color: var(--color-text);
    font-size: 1rem;
    line-height: 1.5rem;
    font-family: var(--font);
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-flow: column;
}

h1 {
    font-size: 2rem;
    line-height: 3.0rem;
}

h2 {
    font-size: 2rem;
    line-height: 2.5rem;
}

h3 {
    font-size: 2rem;
    line-height: 2.5rem;
}

a {
    text-decoration: none;
}

strong {
    font-weight: bold;
}

.btn,
a.btn {
    padding: 1rem;
    width: 100%;
    background-color: var(--green-light);
    border-radius: 5px;
    transition: all 0.3s ease-out;
    text-decoration: none;
    border: none;
}

.btn:hover,
a.btn:hover {
    background-color: var(--green-hover);
}

p {
    line-height: 2rem;
    margin-bottom: 2rem;
}

p:last-child {
    margin-bottom: 0;
}

.row {
    width: 100%;
}

.col {
    max-width: 1200px;
    /*margin-left: 100px;*/
    margin: 0 5.2%;
}

.text a {
    color: var(--green);
    border-width: 0 0 1px 0;
    border-style: solid;
    border-color: var(--green);
    transition: all 0.3s ease-out;
}

.text a:hover {
    border-color: var(--green-text);
    color: var(--green-text);
}

.text ul,
.text ol {
    margin: 1.5rem 0;
    padding-left: 1rem;
}

.text li {
    margin-bottom: 1rem;
}

/* ***** Header START ***** */
header {
    padding: 30px 0;
    height: 65px;
    background-color: var(--green);
    color: var(--white);
}

.logo_wrapper_full {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.logo_wrapper_small {
    display: none;
}

.logo {
    position: relative;
    z-index: 9999;
}

.claim {
    display: flex;
    flex-flow: column;
    line-height: 1.25rem;
}

.claim_small {
    font-size: 0.8rem;
}

.claim_big {
    font-size: 1.2rem;
    font-weight: bold;
}

/* ***** Header END ***** */

main {
    flex: 1 1 auto;
    background-color: var(--green);
}


/* ***** Intro START ***** */
.intro_wrapper {
    display: flex;
    padding: 3rem 0 0 0;
    gap: 0rem;
}

.introbox_wrapper {
}

.introbox {
    color: var(--white);
    display: inline-flex;
    flex-flow: column;
    justify-content: space-between;
    background-color: var(--green-dark);
    padding: 3rem 6rem 2rem 2rem;
    height: 100%;
}

.introbox__hashtag {
    color: var(--green-light);
    font-weight: 600;
    font-size: 2.25rem;
    line-height: 2.25rem;
    margin-bottom: 3rem;
}

.introbox__headline {
    margin-bottom: 1.5rem;
}

.subheadline {
    line-height: 2rem;
    font-size: 14.5pt;
    max-width: 510px;
    padding-bottom: 1.5rem;
}

/*.introbox__headline strong {
    white-space: nowrap;
}*/

.introbox__linkback {
    color: var(--white);
    transition: all 0.3s ease-out;
}

.introbox__linkback svg {
    height: 1rem;
    width: 1rem;
    fill: var(--white);
    margin-right: .25rem;
    transition: all 0.3s ease-out;
}

.introbox__linkback:hover {
    color: var(--green-light);
}

.introbox__linkback:hover svg {
    fill: var(--green-light);
}

.introtext {
    margin-bottom: 3rem;
}

.introtext_wrapper {
    display: inline-flex;
    flex-flow: column;
    justify-content: space-between;
    width: 100%;
    background-color: #fff;
    background-size: contain;
    background-position: center right;
    background-repeat: no-repeat;
}


/* ***** Intro END ***** */

/* ***** Form START ***** */
input[type='text'],
input[type='password'],
input[type='email'],
select {
    border: 1px solid var(--color-border);
    border-radius: 5px;
    width: 100%;
    padding: .5rem;
    background-color: var(--white);
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
    padding-right: 2.5rem;
}

select.small {
    width: 25%;
    max-width: 120px;
}

label:has(+ svg +select) {
    width: calc(100% - 125px);
    display: inline-block;
    min-width: 75%;
}

.form_row.select_wrapper {
    position: relative;
    margin-bottom: 0;
}

.select_wrapper svg {
    height: 1rem;
    width: 1rem;
    display: inline-block;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-40%);
    pointer-events: none;
}

.form_group {
    margin-bottom: 3rem;
}

.form_row {
    margin-bottom: 1rem;
}

.form_row.text,
.form_row.text p {
    line-height: 1.5;
}

.form_row_flex {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.form_col {
    flex: 0 0 calc(50% - .5rem);
}

.form_headline {
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.radio_wrapper {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.radio_wrapper div {
    display: flex;
    align-items: center;
}

.pflichtfeld {
    margin-top: 1rem;
    text-align: center;
}

.spinner {
    height: 20px;
    width: 32px;
}

.feedback_error {
    border: 2px solid #ff0000;
    color: #ff0000;
    padding: 1rem;
    border-radius: 5px;
    margin-top: 1rem;
    text-align: center;
}

.feedback_error p {
    margin-bottom: 1rem;
    line-height: initial;
}

.feedback_error p:last-child {
    margin-bottom: 0;
}

form .error {
    color: #ff0000;
    margin-top: .5rem;
}

input.error {
    border-color: #ff0000;
}

/* Better solution for styling the checkboxes */
[type="checkbox"]:not(:checked),
[type="checkbox"]:checked,
[type="radio"]:not(:checked),
[type="radio"]:checked {
    /* Hide the checkbox without making it hidden for
    the screen readers */
    position: absolute;
    left: 0;
    opacity: 0.01;
}

/* Styling the label and making room for the boxes */
[type="checkbox"]:not(:checked) + label,
[type="checkbox"]:checked + label,
[type="radio"]:not(:checked) + label,
[type="radio"]:checked + label {
    position: relative;
    /* make label the reference to position the custom boxes */
    padding-left: 2.0rem;
    /* room for the new boxes */
    text-align: left;
    color: var(--text-color);
    cursor: pointer;
}

[type="radio"]:disabled + label {
    color: #AEAEAE;
    cursor: not-allowed;
}

[type="radio"]:not(:checked) + label,
[type="radio"]:checked + label {
    padding-left: 2.5rem;
}

[type="radio"]:not(:checked) + label span,
[type="radio"]:checked + label span {
    color: var(--text-color);
}

/* Styling the new boxes*/
[type="checkbox"]:not(:checked) + label::before,
[type="checkbox"]:checked + label::before,
[type="radio"]:not(:checked) + label::before,
[type="radio"]:checked + label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    border-radius: 4px;
    width: 22px;
    height: 22px;
    border: 1px solid var(--color-border);
    transition: all .275s;
}

[type="radio"]:not(:checked) + label::before,
[type="radio"]:checked + label::before {
    border-radius: 30px;
}

[type="radio"]:disabled + label::before {
    border: 1px solid var(--color-border);
}

/* The checked box */
[type="checkbox"]:not(:checked) + label::after,
[type="checkbox"]:checked + label::after,
[type="radio"]:not(:checked) + label::after,
[type="radio"]:checked + label::after {
    content: '×';
    /* speak: never; */
    position: absolute;
    top: 13px;
    left: 2px;
    font-size: 2rem;
    color: var(--color-text);
    line-height: 0;
    transition: all .2s;
}

[type="radio"]:not(:checked) + label::after,
[type="radio"]:checked + label::after {
    content: '•';
    top: 14px;
    left: 8px;
    font-size: 2.5rem;
}

/* How a no check state should look like  */
[type="checkbox"]:not(:checked) + label::after,
[type="radio"]:not(:checked) + label::after {
    opacity: 0;
    transform: scale(0) rotate(45deg);
}

/* How a check should look like */
[type="checkbox"]:checked + label::after,
[type="radio"]:checked + label::after {
    opacity: 1;
    transform: scale(1) rotate(0);
}

.captcha span {
    display: block;
    color: var(--color-text);
    font-family: var(--font);
    width: 100%;
    font-weight: 600;
    margin-bottom: .25rem;
}

/* ***** Begleitungen ***** */
.form__group_begleitung {
    position: relative;
    border: 1px solid var(--color-border);
    padding: 2rem 2rem 1rem 2rem;
    margin-bottom: 1.5rem;
    border-radius: 5px;
}

.form__group_begleitung:last-child {
    margin-bottom: 1.5rem;
}

.delete_begleitung {
    width: 25px;
    height: 25px;
    fill: #ff0000;
    position: absolute;
    right: .25rem;
    top: .25rem;
    cursor: pointer;
    transition: all 0.3s ease-out;
}

.delete_begleitung:hover {
    fill: #c40000;
}

.add_begleitung {
    display: inline-flex;
    justify-content: center;
    gap: .5rem;
    cursor: pointer;
    background: var(--green);
    color: #ffffff;
}

.add_begleitung svg {
    flex: 0 0 auto;
    margin-top: 0;
    width: 21px;
    height: 21px;
    fill: #ffffff;
    transition: all 0.3s ease-out;
}

.add_begleitung:hover {
    color: var(--color-text);
}

.add_begleitung:hover svg {
    fill: var(--color-text);
}

/* ***** Form END ***** */

/* ***** Dashboard START ***** */
.dashboard_elem__wrapper {
    display: flex;
    flex-flow: column;
    gap: 1rem;
    margin-bottom: 3rem;
}

.dashboard_elem {
    font-size: 1.25rem;
    line-height: 1.5rem;
    font-weight: bold;
}

.dashboard_elem__small {
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: normal;
}

.dashboard_elem__title {
    font-size: 2rem;
    line-height: 2.5rem;
    border-bottom: 1px solid var(--color-border);
}

.dashboard_elem__container {
    display: flex;
    gap: 3rem;
    justify-content: space-between;
}

.dashboard .btn {
    background-color: var(--green-text);
    color: #ffffff;
}

.dashboard .btn:hover {
    background-color: var(--green-hover);
    color: var(--color-text);
}

/* ***** Dashboard END ***** */

/* ***** Content START ***** */
.content_wrapper {
    background-color: var(--white);
    padding: 5rem 2rem 3rem 2rem;
}

.content_container {
    max-width: 720px;
    margin: 0 auto;
}

.inactive {
    display: none;
}

#termin-module {
    display: none;
}

.info-icon {
    height: 1rem;
    width: 1rem;
    fill: var(--color-text);
    transition: all 0.3s ease-out;
    cursor: pointer;
    display: inline-block;
    margin-left: 0.1rem;
    margin-right: -0.2rem;
}

.infobox {
    display: none;
}

.infobox.active {
    display: block;
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-color: rgba(0, 0, 0, .8);
    z-index: 9;
}

.infobox.active .content {
    position: absolute;
    width: 50%;
    min-width: 300px;
    max-width: 600px;
    background: #fff;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    padding: 2rem 2.5rem;
    line-height: 1.5rem;
    overflow: auto;
    max-height: 90vh;
}

.infobox.active .content p {
    line-height: 1.5rem;
    pointer-events: none;
}

.infobox.active .content:before {
    content: "×";
    font-size: 1.7rem;
    display: inline-block;
    float: right;
    padding: .5rem;
    margin-right: -.5rem;
    margin-top: -.5rem;
    cursor: pointer;
}

#datenschutzhinweis {
    margin-bottom: 1.5rem;
}

#datenschutzhinweis h2,
#tnbedingung_box h2 {
    cursor: pointer;
    display: flex;
    gap: .25rem;
}

#datenschutzhinweis svg,
#tnbedingung_box svg {
    flex: 0 0 auto;
    display: inline-block;
    width: 1rem;
    height: 1rem;
    vertical-align: text-top;
    margin-top: 2px;
}

#datenschutzhinweis.closed .form_row.text,
#tnbedingung_box.closed .form_row.text,
#datenschutzhinweis.open .closed,
#tnbedingung_box.open .closed,
#datenschutzhinweis.closed .open,
#tnbedingung_box.closed .open {
    display: none;
}

#datenschutzhinweis.open .form_row.text,
#tnbedingung_box.open .form_row.text {
    display: block;
}

#datenschutzhinweis .form_row.text,
#tnbedingung_box .form_row.text {

}

.tnbedingung {
    margin-top: 3rem;
}

/* ***** Content END ***** */


/* ***** Footer START ***** */
footer {
    background-color: var(--green-dark);
}

.nav_footer {
    height: 80px;
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav_footer a {
    color: var(--white);
    transition: all 0.3s ease-out;
}

.nav_footer a:hover {
    color: var(--green-light);
}

/* ***** Footer END ***** */


/* ***** Screenreader Only ***** */
.sr-only {
    position: absolute;
    overflow: hidden;
    clip: rect(0 0 0 0);
    margin: -1px;
    padding: 0;
    width: 1px;
    height: 1px;
    border: 0;
}

@media screen and (max-width: 1000px) {
    h1 {
        font-size: 2.5rem;
        line-height: 3.0rem;
    }

    .introbox__hashtag {
        font-size: 1.75rem;
    }

    .introbox {
        padding: 3rem 2rem 2rem 2rem;
    }

    .intro_wrapper {
        gap: 0rem;
    }
}

@media screen and (max-width: 720px) {
    .col {
        margin: 0 2rem;
    }

    header {
        height: 90px;
    }

    .introbox {
        width: 80%;
    }

    .intro_wrapper {
        flex-flow: column;
    }

    .introbox_wrapper {
        margin-top: calc(-90px - 3rem);
        margin-right: -2rem;
        display: flex;
        justify-content: flex-end;
    }

    .introtext_wrapper {
        display: none;
    }

    .logo_wrapper_full {
        display: none;
    }

    .logo_wrapper_small {
        display: block;
    }

    .content .col {
        margin: 0;
    }

    .content_wrapper {
        margin: 0;
        padding: 6rem 2rem 3rem 2rem;
    }

}

@media screen and (max-width: 480px) {
    .col {
        margin: 0 3%;
    }

    .introtext {
        margin-bottom: 3rem;
    }

    .introbox_wrapper {
        margin-right: -3%;
    }

    .content_wrapper {
        padding: 3rem 3% 3rem 3%;
    }

    .introbox__hashtag {
        font-size: 1.5rem;
        line-height: 2.0rem;
    }

    h1 {
        font-size: 2.0rem;
        line-height: 2.5rem;
    }

    .form_row_flex {
        flex-flow: column;
        align-items: flex-start;
        gap: .5rem;
        border-bottom: 1px solid #cccccc;
        padding-bottom: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .form_row_flex:last-child {
        border-bottom: none;
        padding-bottom: 0;
        margin-bottom: 0;
    }

    .form_col {
        width: 100%;
        flex: 0 0 100%;
    }

    .nav_footer {
        justify-content: center;
        flex-wrap: wrap;
    }
}

.hidden {
    display: none;
}