html,
body {
    margin: 0;
    padding: 0;
    font-family: "myriad-variable", sans-serif;
    background-color: #f5efea;
    color: #474749;
    line-height: 1.6;
    scroll-behavior: smooth;
}

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

header {
    position: relative;
    overflow: hidden;
    padding: 0;
    background-color: #f5efea;
}

.header-blob {
    width: 100%;
    display: block;
    height: 100%;
}

.header-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 90%;
    max-width: 1100px;

    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 1rem;

    text-align: left;
}

.logo {
    width: 220px;
}

header h1 {
    color: white;
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 1px;
}

header p {
    color: white;
    font-size: 1.1rem;
}

main {
    width: 90%;
    max-width: 700px;
    margin: 3rem auto;
}

.start-screen {
    position: relative;

    background: white;

    padding: 5rem 2rem;

    border-radius: 30px;

    overflow: hidden;

    text-align: center;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.start-screen h1 {
    font-size: 3rem;
    color: #ee7064;
    margin-bottom: 1rem;
}

.start-screen p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

#festival-form {
    display: none;
}

form {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.progress-bar {
    width: 100%;
    height: 10px;

    margin-bottom: 2rem;

    background-color: #f5efea;

    border-radius: 10px;
    overflow: hidden;
}

.progress {
    height: 100%;
    width: 33%;

    background-color: #ee7064;

    transition: width 0.3s ease;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}


h2 {
    color: #ee7064;
    margin-bottom: 2rem;
    text-align: center;
}

label {
    display: block;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
}


.row {
    display: flex;
    gap: 1rem;
}

.field-half {
    flex: 1;
}

input,
select,
textarea {
    width: 100%;
    padding: 1rem;

    border: 2px solid #f7b7a9;
    border-radius: 12px;

    background-color: #f5efea;

    font-size: 1rem;
    font-family: "myriad-variable", sans-serif;

    transition: border-color 0.3s, box-shadow 0.3s;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #ee7064;
    box-shadow: 0 0 8px rgba(238, 112, 100, 0.3);
}


textarea {
    resize: vertical;
    min-height: 120px;
}


input::placeholder,
textarea::placeholder {
    color: #9a9a9a;
    opacity: 1;
}


input[type="date"] {
    font-family: "myriad-variable", sans-serif;
}

input[type="date"]::-webkit-datetime-edit {
    font-family: "myriad-variable", sans-serif;
}


input[type="range"] {
    accent-color: #ee7064;
}


select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    padding-right: 60px;

    color: #474749;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='black' viewBox='0 0 16 16'%3E%3Cpath d='M1.5 5.5L8 12l6.5-6.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 16px;
}


.radio-group,
.checkbox-group {
    gap: 1rem;
}


.radio-group label,
.checkbox-group label {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 1rem;

    background-color: #f5efea;

    border: 2px solid #f7b7a9;
    border-radius: 12px;

    font-weight: normal;

    cursor: pointer;

    transition: border-color 0.3s;
}

.radio-group label:hover,
.checkbox-group label:hover {
    border-color: #ee7064;
}

.radio-group input,
.checkbox-group input {
    width: auto;
    transform: scale(1.2);
    accent-color: #ee7064;
}


.simple-check {
    display: flex;
    align-items: center;
    gap: 0.8rem;

    margin-top: 1rem;

    font-weight: normal;
}

.simple-check input {
    width: auto;
    accent-color: #ee7064;
}


button {
    background-color: #ee7064;
    color: white;

    border: none;
    border-radius: 12px;

    padding: 1rem 2rem;

    font-size: 1rem;
    font-weight: bold;

    cursor: pointer;

    transition: background-color 0.3s;
    font-family: inherit;
}

button:hover {
    background-color: #474749;
}

/* Weiter button */

.next-btn {
    background-color: #ee7064;
}

/* Zurück button */

.back-btn {
    background-color: #474749;
}

.back-btn:hover {
    background-color: #5c5c5f;
}

.button-group {
    display: flex;
    justify-content: space-between;

    margin-top: 2rem;
}


.error,
.js-error {
    margin-top: 0.3rem;

    color: red;
    font-size: 0.9rem;
    font-weight: bold;
}


.confirmation {
    background: white;

    padding: 3rem;

    border-radius: 20px;

    text-align: center;

    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.confirmation h1 {
    color: #ee7064;
    margin-bottom: 1rem;
}


footer {
    margin-top: 4rem;

    padding: 2rem;

    text-align: center;

    background-color: #474749;
    color: white;
}

footer a {
    color: #f7b7a9;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

/*  Quellenangabe 3 Start */

@media (max-width: 1500px) {
    .header-container {
        max-width: 900px;
        gap: 0.8rem;
    }

    header h1 {
        font-size: 2.2rem;
    }

    .logo {
        width: 160px;
    }

    .header-blob {
        width: 100%;
        display: block;
        height: 320px;
    }
}

@media (max-width: 1000px) {
    .header-container {
        max-width: 900px;
        gap: 0.8rem;
    }

    header h1 {
        font-size: 2.2rem;
    }

    .logo {
        width: 120px;
    }

    .header-blob {
    width: 100%;
    display: block;
    height: 320px;
    }
}


@media (max-width: 768px) {


    .header-container {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 1rem;
        text-align: left;
    }

    .logo {
        width: 90px;   
        height: auto;
        flex-shrink: 0;
        margin-top: -90px;
        margin-left: 50px;    
    }
    .header-blob {
    width: 100%;
    display: block;
    height: 250px;
    }

    .header-text {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        margin-top: -90px;
        margin-left: 20px;
    }

    header h1 {
        font-size: 1.5rem;
        margin: 0;
    }

    header p {
        font-size: 0.9rem;
        margin: 0;
    }

    .grid-2, .grid-3 {
        grid-template-columns: 1fr;
    }

    .row {
        flex-direction: column;
    }

    .button-group {
        flex-direction: column;
        gap: 1rem;
    }

    footer {
        padding: 1.5rem;
    }

    footer p, footer a {
        font-size: 0.9rem;
    }
}

/*  Quellenangabe 3 Ende */