:root{
    --Color-Blue: #1C135D;
    --Color-Red: #C30000;
    --Color-Light-Blue: #003f87;
}

/* --- Nohemi Light --- */
@font-face {
    font-family: 'Nohemi'; /* Der Name für die ganze Familie */
    src: url('../fonts/Nohemi-Light.woff2') format('woff2'), /* Bester Standard */
    url('../fonts/Nohemi-Light.otf') format('opentype'); /* Fallback */
    font-weight: 300; /* Diese Datei entspricht der Stärke 300 */
    font-style: normal;
    font-display: swap;
}

/* --- Nohemi Regular --- */
@font-face {
    font-family: 'Nohemi';
    src: url('../fonts/Nohemi-Regular.woff2') format('woff2'),
    url('../fonts/Nohemi-Regular.otf') format('opentype');
    font-weight: 400; /* Diese Datei entspricht der Stärke 400 */
    font-style: normal;
    font-display: swap;
}

/* --- Nohemi Bold --- */
@font-face {
    font-family: 'Nohemi';
    src: url('../fonts/Nohemi-Bold.woff2') format('woff2'),
    url('../fonts/Nohemi-Bold.otf') format('opentype');
    font-weight: 700; /* Diese Datei entspricht der Stärke 700 */
    font-style: normal;
    font-display: swap;
}

/* --- Nohemi Black --- */
@font-face {
    font-family: 'Nohemi';
    src: url('../fonts/Nohemi-Black.woff2') format('woff2'),
    url('../fonts/Nohemi-Black.otf') format('opentype');
    font-weight: 900; /* Diese Datei entspricht der Stärke 900 */
    font-style: normal;
    font-display: swap;
}



body {
    font-family: 'Nohemi', serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    display: grid;
    place-items: center;
    min-height: 90vh;
    /* background: #f4f7f6; */
    overflow: hidden;
}

header{
    position: absolute;
    top: 0;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    background-color: white;
    box-shadow: 0 0 10px -3px black ;
    z-index: 1000;
}

button {
    font-family: 'Nohemi', serif;
}

.headerLogo{
    font-size: 3rem;
    letter-spacing: -1px;
    padding-top: 0.35em;
    padding-bottom: 0.3em;
    font-variation-settings: "wght" 400;
}
.headerLogo a{
    text-decoration: none;
    color: var(--Color-Blue);
}



#flow-container {
    background: #ffffff;
    /* border: 1px solid #ddd; */
    border-radius: 8px;
    width: 500px;
    min-height: 200px;
    /* box-shadow: 0 4px 12px rgba(0,0,0,0.2); */
}

.step-content {
    padding: 24px;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.button-div {
    display: flex;
    flex-direction: row;
    justify-content: end;
}


#nav-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
}

#nav-buttons button {
    background-color: #6c757d;
    color: white;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    display: none;
}

#nav-buttons button:hover {
    background-color: #5a6268;
}

.flow-button {
    flex: 1;
    background-color: var(--Color-Blue);
    color: white;
    border: none;
    padding: 12px 18px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.3rem;
    margin: 5px 5px 5px 0;
}
button:hover {
    background-color: color-mix(in srgb, var(--Color-Blue) 85%, white 15%);
}

.flow-button.secondary {
    background-color: #6c757d;  /* Ein neutrales Grau */
}


.flow-button.secondary:hover {
    background-color: #5a6268;
}



textarea, select {
    width: calc(100% - 20px);
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
h3 {
    font-size: 2rem;
    margin-bottom: 0;
    padding-bottom: 0;
    margin-top: 0;
    color: #333;
    font-weight: 510;
}
.flowP{
    margin-top: 0.8em;
    font-size: 1.3rem;
    font-weight: 200;
}





.option-container {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.option-button {
    background-color: white;
    border: 2px solid var(--Color-Blue);
    color: var(--Color-Blue);
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.3rem;
    font-weight: 200;
    margin: 5px;
    transition: all 0.2s ease;
    flex: 1;
    height: 80px;
}


.option-button:hover {
    background-color: var(--Color-Blue);
    color: white;
    border-color: #aaa;
}


.option-button.selected {
    background-color: white;
    color: var(--Color-Blue);
    border-color: var(--Color-Blue);
    padding: 10px 11px;
    border-width: 6px;



}

.option-button:focus {
    outline: none;

}

textarea{
    resize: none;
    height: 1.8rem;
    font-size: 1.3rem;
    font-family: "Open Sans", sans-serif;
}

.flow-error {
    color: #D8000C; /* Rote Schrift */
    font-size: 1.1rem;
    font-variation-settings: "wght" 500;
    margin-top: 8px;
    padding: 9px 5px 5px 5px;
    background-color: #FFD2D2; /* Hellroter Hintergrund */
    border-radius: 5px;
    text-align: center;
}

@media screen and (max-width: 600px){
    body{
        margin: 0;
    }

    .button-div{
        flex-direction: column;
    }

    .option-button:hover {
        background-color: white;
        color: var(--Color-Blue);
        border-color: var(--Color-Blue);
    }

    #flow-container {
        background: #ffffff;
        /* border: 1px solid #ddd; */
        border-radius: 8px;
        width: 95vw;
        min-height: 200px;
        /* box-shadow: 0 4px 12px rgba(0,0,0,0.2); */
    }
    .headerLogo{
        padding-top: 0.6em;
        font-size: 7vw;
    }
}