*,
*:after,
*:before {
	box-sizing: border-box;
}
/* ---------------------------- */
:root {
    font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
    line-height: 1.5;
    font-weight: 400;
}
/* ---------------------------- */
h1,h2,h3 {
    margin: 0.0rem 0.0rem 0.0rem 0.0rem;
}
/* ---------------------------- */
/* @font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('Roboto-Regular.ttf') format('ttf');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
} */
/* ---------------------------- */
body {
    background-color: #f1f1f1;
    font-family: 'Roboto';
    margin: 0;
    /*padding: 1rem;*/
    padding: 0.5rem;
    font-size: 0.85rem;
}
/* ---------------------------- */
.container {
    max-width: 600px;
    margin: 0 auto;
}
/* ---------------------------- */
.header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.header .logo {
    width: 4rem;
    height: 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
}
.header h1 {
    padding: 0;
}
/* ---------------------------- */
.step {
    width: 100%;
    margin: 1.75rem 0 0.75rem 0;
    border-radius: 3px;
    font-size: 1.25rem;
    line-height: 1.25;
    font-weight: 700;
    background-color: #FFD700;
    background-color: #ffe51f;
    box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);
}
.step-title {
    text-align: center;
}
.step-number {
    display: inline-block;
    color: #ffffff;
    background-color:black;
    border-radius: 3px;
    padding: 0.05rem 0.325rem;
    margin-right: 0.5rem;
}
/* ---------------------------- */
.block {
    width: 100%;
    margin: 0.75rem 0 1.5rem 0;
    border-radius: 3px;
    border: 1px solid #eeeeee;
    background-color: #ffffff;
    padding: 1rem 1rem;
    box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);
}
/* ---------------------------- */
.kurs-angebote {
    display: flex;
    flex-wrap: wrap;
    gap: 4%;
}
/* ---------------------------- */
.kurs {
    max-width: 48%;
    flex: 48%;
    margin-bottom: 1rem;
    border-radius: 3px;
    overflow: hidden;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);
}
.kurs-title {
    margin: 0.5rem 0 0 0;
}
.kurs:hover {
    /* background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 75%, rgba(255,215,0,0.25) 100%); */
}
.kurs:has(button:hover) {}
/* ---------------------------- */
img {
    width: 100%;
    height: auto;
    object-fit: fill;
    border-radius: 3px;
    margin-top: -3px;
    cursor: pointer;
}
/* ---------------------------- */
#formData {
    margin-top: 1.25rem;
}
#formData > button {
    margin: 0;
    width: 100%;
}
label {
    display: block;
    margin-bottom: 5px;
}
input[type="text"],
input[type="email"],
input[type="tel"] {
    width: 100%;
    padding: 5px;
    margin-bottom: 10px;
}
input[type="checkbox"] {
    margin: 0;
    width: 18px;
    height: 18px;
    border-radius: 1px;
}
/* ---------------------------- */
.btn-send,
.btn-select {
    /*width: calc(100% - 0.5rem);*/
    width: 100%;
    /*margin: 0.5rem 0.25rem 0.5rem 0.25rem;*/
    min-height: 2.25rem;
    height:auto;
    border-radius: 5px;
    background-color: rgb(75, 75, 75);
    background-color: #323232;
    color: white;
    border: none;
    cursor: pointer;
    line-height: 1.25;
    padding: 0.25rem 0;
}
.btn-send:hover,
.btn-select:hover {
    background-color: #00b906;
}
.btn-disabled {
    /*width: calc(100% - 0.5rem);*/
    width: 100%;
    /*margin: 0.5rem 0.25rem 0.5rem 0.25rem;*/
    height: 2.25rem;
    border-radius: 5px;
    border: none;
    color: #555555;
    background-color: #eeeeee;
    cursor: not-allowed;
}
button:disabled {
    background-color: #eeeeee;
    cursor: not-allowed;
}
/* ---------------------------- */
.button-multiple {
    display: flex;
    flex-direction: column;
    /*gap: 0.5rem;*/
    padding: 0 0.5rem;
}
.button-multiple button {
    margin: 0.15rem 0 0.15rem 0;
}
.button-multiple button:last-child {
    margin-bottom: 0.5rem;
}
.btn-send {
    width: 100%;
    height: 3rem;
    margin: 1.25rem 0;
    padding: 0.9rem 0;
}
/* ---------------------------- */
.info {
    margin-top: 0.25rem;
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    border: 1px solid rgb(255, 207, 50);
    background-color: rgba(255, 245, 115, 0.5);
    vertical-align: middle;
    line-height: 1.5;
    font-size: 0.9rem;
}
.info svg.icon {
    float: left;
    height: 1.5rem;
    width: 1.5rem;
    margin-right: 0.25rem;
}
/* ---------------------------- */
.agbs {
    margin: 0.25rem 0;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    margin-top: 0.75rem;
}
.agbs label {
    margin: 0;
    margin-left: 1rem;
}
/* ---------------------------- */
::backdrop {
    background: rgba(255, 255, 255, 0.25);
}
dialog#modal {
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity ease 0.3s;
}
dialog {
    border: none;
    background-color: transparent;
}
dialog > div {
    padding: 1rem;
    margin: 0.5rem 0 1.5rem 0;
    background-color: #ffffff;
    text-align: center;
    font-size: 1.25rem;
    line-height: 1.5;
}
dialog > a {
    display: block;
    cursor: pointer;
    text-decoration: none;
    padding: 0.5rem;
    margin: 0.5rem 0;
    border-radius: 3px;
    background-color: #ffe51f;
    color: #000000;
    text-align: center;
}
dialog button {
    font-size: 1rem;
}
/* ---------------------------- */
#lightbox {
    position: fixed; 
    z-index: 999;
    top: 0; 
    left: 0;
    width: 100vw; 
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity ease 0.3s;
}
#lightbox.show {
    visibility: visible;
    opacity: 1;
}
#lightbox img {
    width: auto;
    object-fit: contain;
    max-width: calc(100vw - 3rem);
    max-height: calc(100vh - 3rem);
    margin-left: -1.5rem;
}
/* ---------------------------- */
div[disabled=true] {
    pointer-events: none;
    opacity: 0.4;
}
/* ---------------------------- */
.active {
    background-color: #00b906;
}
/* ---------------------------- */
@media only screen and (min-width: 800px) {
    .container {
        max-width: 950px;
    }
    .kurs-angebote {
        margin: 1rem 0;
    }
    .kurs {
        flex: 23.5%;
        margin-bottom: 0rem;
    }
    .kurs-angebote {
        gap: 2%;
    }
}
/* ---------------------------- */