/* ***** 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;
}

iframe {
    width: 100%;
    margin-bottom: 0;
}

/* ***** Normalise CSS END ***** */


/* ***** Font START ***** */
@font-face {
    font-family: 'Source Sans Pro Regular';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/source-sans-pro-v18-latin-regular.eot'); /* IE9 Compat Modes */
    src: local(''),
    url('../fonts/source-sans-pro-v18-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('../fonts/source-sans-pro-v18-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */ url('../fonts/source-sans-pro-v18-latin-regular.woff') format('woff'), /* Modern Browsers */ url('../fonts/source-sans-pro-v18-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */ url('../fonts/source-sans-pro-v18-latin-regular.svg#SourceSansPro') format('svg'); /* Legacy iOS */
}

/* source-sans-pro-600 - latin */
@font-face {
    font-family: 'Source Sans Pro Medium';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/source-sans-pro-v18-latin-600.eot'); /* IE9 Compat Modes */
    src: local(''),
    url('../fonts/source-sans-pro-v18-latin-600.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('../fonts/source-sans-pro-v18-latin-600.woff2') format('woff2'), /* Super Modern Browsers */ url('../fonts/source-sans-pro-v18-latin-600.woff') format('woff'), /* Modern Browsers */ url('../fonts/source-sans-pro-v18-latin-600.ttf') format('truetype'), /* Safari, Android, iOS */ url('../fonts/source-sans-pro-v18-latin-600.svg#SourceSansPro') format('svg'); /* Legacy iOS */
}

/* source-sans-pro-700 - latin */
@font-face {
    font-family: 'Source Sans Pro Bold';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/source-sans-pro-v18-latin-700.eot'); /* IE9 Compat Modes */
    src: local(''),
    url('../fonts/source-sans-pro-v18-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('../fonts/source-sans-pro-v18-latin-700.woff2') format('woff2'), /* Super Modern Browsers */ url('../fonts/source-sans-pro-v18-latin-700.woff') format('woff'), /* Modern Browsers */ url('../fonts/source-sans-pro-v18-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */ url('../fonts/source-sans-pro-v18-latin-700.svg#SourceSansPro') format('svg'); /* Legacy iOS */
}

/* ***** Font END ***** */

:root {
    --color-bg: #ffffff;
    --color-main: #0C4377;
    --color-main-dark: #011933;
    --color-btn: #FC9B11;
    --color-btn-hover: #E38B0D;
    --color-text: #ffffff;
    --color-text-dark: #011933;
    --color-error: #ff3131;
    --font-regular: 'Source Sans Pro Regular', Verdana, Arial, Helvetica, sans-serif;
    --font-medium: 'Source Sans Pro Medium', Verdana, Arial, Helvetica, sans-serif;
    --font-bold: 'Source Sans Pro Bold', Verdana, Arial, Helvetica, sans-serif;
    --transition: all .3s ease;
}

html,
body {
    min-height: 100%;
    height: 100%;
}

html {
    font-size: 10px;
    line-height: 10px;
}

body {
    background-color: var(--color-main-dark);
    color: var(--color-text);
    font-size: 1.8rem;
    line-height: 2.3rem;
    font-family: var(--font-regular);
    position: relative;
}

h1 {
    font-family: var(--font-bold);
    font-size: 3.8rem;
    line-height: 4.7rem;
}

h2 {
    font-family: var(--font-bold);
    font-size: 2rem;
    line-height: 2.4rem;
}

h3 {
    font-family: var(--font-bold);
    font-size: 2rem;
    line-height: 2.4rem;
}

h4 {
    font-family: var(--font-bold);
    font-size: 2rem;
    line-height: 2.4rem;
}

a {
    color: var(--color-text);
    text-decoration: none;
}

strong {
    font-family: var(--font-bold);
    font-weight: normal;
}

.btn,
a.btn {
    display: inline-block;
    font-family: var(--font-bold);
    padding: 1rem 3rem;
    width: 100%;
    color: var(--color-text);
    background-color: var(--color-btn);
    transition: var(--transition);
    text-decoration: none;
    border: none;
}

.btn:hover,
a.btn:hover {
    background-color: var(--color-btn-hover);
}

.btn:disabled {
    background-color: #B4B4B4;
    cursor: not-allowed;
}

p {
    margin-bottom: 2.3rem;
}

.text a {
    text-decoration: underline;
    white-space: nowrap;
}

.text a:hover,
.resend_code.active a {
    color: var(--color-btn);
}

.text ul,
.text ol {
    margin: 0 0 2.8rem 1rem;
    padding-left: 1rem;
}

.text li {
    margin-bottom: 1.4rem;
}

.text {
    width: 100%;
    text-align: center;
}

#page {
    min-height: 100%;
    display: flex;
    flex-flow: column nowrap;
    justify-content: space-between;
}

.bg_light {
    background-color: var(--color-bg);
    color: var(--color-text-dark);
}

.row {
    width: 100%;
    padding: 6rem 3rem;
}

body .no_padding_top {
    padding-top: 0;
}

.col {
    margin: 0 auto;
    width: 100%;
    max-width: 700px;
}

.col_flex {
    display: flex;
    gap: 3.5rem;
}


/* ********** header ********** */
header .row {
    padding: 2rem 6rem;
    background-color: var(--color-main);
}

header .col {
    display: flex;
    justify-content: center;
}

.logo_wrapper {
    display: flex;
    gap: 3rem;
    justify-content: center;
}

.logo_text {
    font-family: var(--font-bold);
    font-size: 2.6rem;
    line-height: 3.3rem;
}

.logo {
    width:100%;
    max-width: 125px;
    flex: 0 0 auto;
}


/* ********** header intro ********** */
.headline_wrapper {
    text-align: center;
    margin-bottom: 4rem;
}

.subline {
    font-size: 2.2rem;
    line-height: 2.8rem;
}

.introtext {
    margin-bottom: 8rem;
    text-align: center;
}


/* ********** form ********** */
.form_row {
    width: 100%;
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.form_col {
    flex: 1 1 50%;
}

input,
select,
textarea {
    font-family: var(--font-regular);
    font-size: 1.8rem;
    line-height: 2.3rem;
    width: 100%;
    padding: 1rem;
    background-color: var(--color-text);
    border: none;
}

input::placeholder,
textarea::placeholder {
    color: var(--color-text-dark);
}

input:disabled,
select:disabled,
textarea:disabled {
    background-color: #B4B4B4;
}

.select_wrapper {
    position: relative;
    background-color: var(--color-text);
}

.select_wrapper .icon_select {
    height: 14px;
    width: 18px;
    fill: var(--color-text-dark);
    position: absolute;
    right: 1.5rem;
    top: calc(50% - 7px);
    pointer-events: none;
}

select {
    cursor: pointer;
    background: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding: 1rem 4.9rem 1rem 1rem;
}

.form_row label {
    margin-bottom:1rem;
}

label.error,
.captcha_error {
    color: var(--color-error);
    margin: .25rem 0 0 0;
}

.col_datenschutz .error {
    padding-left: calc(30px + 1.5rem);
}

.pflichtfeld {
    display: block;
    text-align: center;
    margin-top: .5rem;
    font-size: 1.4rem;
    opacity: .5;
}

.text_form {
    padding: 1rem 0;
}

.input_rueckfrage {
    min-height: 150px;
}

/* better solution for styling the checkboxes */
[type="checkbox"]:not(:checked),
[type="checkbox"]:checked {
    /* hide the checkbox without making it hidden for
    the screen readers */
    position: absolute;
    left: 0;
    opacity: 0.01;
    height: 0;
    width: 0;
}

/* styling the label and making room for the boxes */
[type="checkbox"]:not(:checked) + label,
[type="checkbox"]:checked + label {
    position: relative; /* make label the reference to position the custom boxes */
    cursor: pointer;
    padding-left: calc(30px + 1.5rem);
}

[type="checkbox"]:not(:checked) + label p,
[type="checkbox"]:checked + label p {
    margin-top: 3px;
}

/* styling the new boxes*/
[type="checkbox"]:not(:checked) + label::before,
[type="checkbox"]:checked + label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 30px;
    height: 30px;
    background-color: var(--color-text);
    transition: var(--transition)
}

/* the checked box */
[type="checkbox"]:not(:checked) + label::after,
[type="checkbox"]:checked + label::after {
    content: '';
    background: url('../images/icon_check.svg') center center no-repeat;
    background-size: 20px auto;
    height: 20px;
    width: 20px;
    position: absolute;
    top: 5px;
    left: 6px;
    transition: all .2s;
}

/* how a no check state should look like  */
[type="checkbox"]:not(:checked) + label::after {
    opacity: 0;
    transform: scale(0) rotate(45deg);
}

/* how a check should look like */
[type="checkbox"]:checked + label::after {
    opacity: 1;
    transform: scale(1) rotate(0);
}

/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    flex: 0 0 auto;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.col_switch {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 3rem 0;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #707070;
    border: 3px solid var(--color-text);
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: var(--color-text);
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: var(--color-main);
}

input:focus + .slider {
    box-shadow: 0 0 1px var(--color-main);
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

.disclaimer {
    margin: 6rem 0 0 0;
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.switch_label {
    position: relative;
    height: 26px;
}

.switch_label_first.active,
.switch_label_second.active {
    font-family: var(--font-bold);
}

.switch_label_first {
    text-align: right;
}

#gpt_output .row {
    min-height:100vh;
}

#gpt_output .col {
    transition: var(--transition);
}

.img_loading_wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.img_loading {
    width: 300px;
    height: auto;
}

.img_loading_message {
    text-align: center;
}

.img_error_wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.img_error {
    width: 200px;
    height: auto;
}

.img_error_message {
    text-align: center;
    margin-top: 2rem;
    color:var(--color-error);
}

.img_error_message strong,
.img_loading_message strong {
    font-size: 2.2rem;
    line-height: 2.8rem;
}

/* ********** footer  ********** */
footer .row {
    padding-bottom: 3rem;
}

.nav_footer {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.nav_footer li:after {
    content: '|';
    margin-left: 1rem;
}

.nav_footer li:last-child:after {
    content: '';
    margin-left: 0;
}

.nav_footer a {
    transition: var(--transition);
}

.nav_footer a:hover {
    color: var(--color-btn);
}

/* ***** Formatierung der ChatGTP Antwort ***** */
.output_wrapper {
    line-height: 1.5;
}
.output_wrapper h3 {
    margin: 2em 0 .5em;
}
.output_wrapper p strong {
    margin: .4em 0 .2em;
    display: inline-block;
}
.output_wrapper hr {
    margin: 1.2em 0;
}
.output_wrapper ol, .output_wrapper ul, .output_wrapper dl {
    margin: 1em 0em;
}
.output_wrapper li {
    margin: .25em 0 0 0;
}

.rueckfrage_chat__wrapper {
    display: flex;
    justify-content: flex-end;
    margin: 6rem 0;
}

#row_print {
    display: none;
    margin-top: 6rem;
}

.print_wrapper {
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
}

.print_container {
    display: inline-flex;
    flex-flow: column nowrap;
    align-items: center;
    gap: .5rem;
    cursor: pointer;
}

.print_icon_wrapper {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    height: 80px;
    width: 80px;
    border-radius: 50%;
    background-color: var(--color-main);
    transition: var(--transition);
}

.print_container span {
    text-align: center;
    font-family: var(--font-bold);
    color: var(--color-main);
    transition: var(--transition);
}

.icon_print {
    height:50px;
    width: 50px;
    fill: var(--color-text);
}

.print_container:hover .print_icon_wrapper {
    background-color: var(--color-btn);
    color: var(--color-btn);
}

.print_container:hover span {
    color: var(--color-btn);
}


.rueckfrage_chat {
    padding: 2rem;
    width: 75%;
    background-color:var(--color-main);
    color: var(--color-text);
}

.rueckfrage_chat__headline {
    font-size: 1.4rem;
    margin-bottom: .5rem;
    color: var(--color-btn);
}

.blinking-cursor {
    margin-left: 5px;
    background-color: #fff;
    animation: blink 1s infinite;
}

/* ********** Ansprechpartner ********* */
.contact_container {
    margin-top: 6rem;
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
}

.contact_experten_headline {
    margin: 4rem 0 3rem 0;
}

.contact_wrapper {
    display: flex;
    gap: 3rem 4rem;
    justify-content: center;
    flex-wrap: wrap;
}

.contact_elem {
    flex: 0 1 200px;
    display: flex;
    flex-flow: column nowrap;
    gap: 1rem;
}

.contact_name__wraper {
    margin-bottom: 1rem;
}

.contact_name {
    font-family: var(--font-bold);
}

.contact_position {
    font-style: italic;
}

.contact_text {
    margin-bottom: 1rem;
}

.contact_text p {
    margin-bottom: 1rem;
}

.contact_text a {
    color: var(--color-text-dark);
    text-decoration: underline;
    transition: var(--transition);
}

.contact_text a:hover {
    color: var(--color-btn-hover);
}




@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    50.1%, 100% {
        opacity: 0;
    }
}

.hidden,
.event_titel,
.precise_mode,
#gpt_output,
#row_rueckfrage,
#strytl_experten,
.output_wrapper,
#gpt_error,
.captcha_error {
    display: none;
}

@media screen and (max-width: 670px) {
    .form_row {
        flex-wrap: wrap;
    }

    .form_col {
        flex: 1 1 100%;
    }
}

@media screen and (max-width: 480px) {
    .row {
        padding: 4rem 4%;
    }

    .rueckfrage_chat {
        width: 100%;
    }

}

@media print {
    body {
        visibility: hidden;
    }

    #gpt_output {
        visibility: visible;
        position: absolute;
        left: 0;
        top: 0;
    }

    #strytl_experten {
        break-before: page;
        break-inside: avoid;
    }

    .contact_elem {
        flex: 0 1 180px;
    }

    .contact_elem img {
        max-width: 180px;
    }

    .rueckfrage_chat__headline {
        color: var(--color-text-dark);
    }

    .rueckfrage_chat {
        background: #cccccc!important;
    }

    #print,
    #row_rueckfrage,
    footer {
        display: none!important;
    }
}
