/* header.css */

@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400;500;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background: #f5f5f5;
}

/* OBERER WEISSER HEADER */

.top-header {
    width: 100%;

    background: #ffffff;

    padding: 26px 34px 22px 34px;

    box-shadow:
        0 2px 12px rgba(0,0,0,0.05);

    position: relative;

    z-index: 20;
}

/* TOP BAR */

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* BRANDING */

.branding {
    display: flex;
    align-items: center;

    gap: 28px;
}

/* LOGO */

.logo-box {
    background: #003b84;

    border-radius: 18px;

    padding: 14px 28px;

    font-size: 64px;
    font-weight: 900;

    line-height: 1;

    box-shadow:
        0 5px 14px rgba(0,0,0,0.10);
}

.logo-link {
    text-decoration: none;
    display: inline-block;
}

.logo-white {
    color: #ffffff;
}

.logo-orange {
    color: #ff7a00;
}



/* SLOGAN */

.slogan-box {
    color: #ff7a00;

    font-size: 58px;

    font-family: 'Caveat', cursive;

    line-height: 1;
}

/* LOGIN */

.login-button {
    position: absolute;

    top: 0;
    right: 0;

    background: #f7f8fb;

    color: #1d2f5f;
    text-decoration: none;

    font-size: 22px;
    font-weight: 700;

    padding: 20px 34px;

    border-radius: 0 0 0 20px;

    border: 1px solid #dfe4ef;

    box-shadow:
        0 3px 10px rgba(0,0,0,0.05);

    transition: 0.2s;

    z-index: 50;
}

.login-button:hover {
    background: #ffffff;
}


/* MOBILES HAMBURGER-MENÜ */

.mobile-menu-toggle{
    display:none;
    align-items:center;
    justify-content:center;
    flex-direction:column;
    width:48px;
    height:48px;
    padding:0;
    background:#003b84;
    border:0;
    border-radius:12px;
    cursor:pointer;
    box-shadow:0 5px 14px rgba(0,0,0,.12);
    transition:background-color .18s ease;
}

.mobile-menu-toggle:hover{
    background:#002f6d;
}

.mobile-menu-toggle:focus-visible{
    outline:3px solid rgba(255,122,0,.30);
    outline-offset:3px;
}

.mobile-menu-toggle > span{
    display:block;
    width:24px;
    height:3px;
    background:#fff;
    border-radius:999px;
    transition:
        transform .22s ease,
        opacity .18s ease;
}

.mobile-menu-toggle > span + span{
    margin-top:5px;
}

.mobile-menu-toggle.is-open > span:nth-child(1){
    transform:translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.is-open > span:nth-child(2){
    opacity:0;
}

.mobile-menu-toggle.is-open > span:nth-child(3){
    transform:translateY(-8px) rotate(-45deg);
}

.public-header-menu{
    position:absolute;
    top:calc(100% + 8px);
    right:16px;
    z-index:80;
    width:min(330px,calc(100% - 32px));
    padding:9px;
    visibility:hidden;
    opacity:0;
    background:#fff;
    border:1px solid #dfe4ef;
    border-radius:14px;
    box-shadow:0 18px 45px rgba(9,31,72,.20);
    transform:translateY(-8px);
    pointer-events:none;
    transition:
        opacity .18s ease,
        transform .18s ease,
        visibility .18s ease;
}

.public-header-menu.is-open{
    visibility:visible;
    opacity:1;
    transform:translateY(0);
    pointer-events:auto;
}

.public-header-menu-login{
    display:grid;
    grid-template-columns:42px minmax(0,1fr) auto;
    align-items:center;
    gap:11px;
    min-height:64px;
    padding:10px 12px;
    color:#1d2f5f;
    text-decoration:none;
    background:#f7f9fc;
    border-radius:10px;
}

.public-header-menu-login:hover{
    background:#fff3e9;
}

.public-header-menu-login > span:first-child{
    display:grid;
    place-items:center;
    width:40px;
    height:40px;
    font-size:19px;
    background:#fff;
    border:1px solid #dfe4ef;
    border-radius:50%;
}

.public-header-menu-login > span:nth-child(2){
    display:flex;
    min-width:0;
    flex-direction:column;
}

.public-header-menu-login strong{
    color:#1d2f5f;
    font-size:14px;
    line-height:1.25;
}

.public-header-menu-login small{
    margin-top:3px;
    color:#6f7d98;
    font-size:11px;
}

.public-header-menu-login i{
    color:#ff7a00;
    font-size:26px;
    font-style:normal;
    line-height:1;
}


/* HERO FOTO */

.hero-header {
    width: 100%;

    height: 760px;

    background:
        linear-gradient(
            rgba(0,0,0,0.10),
            rgba(0,0,0,0.10)
        ),
        url('/img/header_picture.png');

    background-size: 108%;

    /* BILD NACH UNTEN */
    background-position: center top;

    background-repeat: no-repeat;

    position: relative;

    padding: 40px 30px 60px 30px;

    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;

    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    gap: 40px;

    /* CONTENT NACH UNTEN */
    padding-top: 40px;
}

/* OVERLAY */

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to right,
            rgba(255,255,255,0.20),
            rgba(255,255,255,0)
        );
}

/* HERO CONTENT */

.hero-content {
    position: relative;
    z-index: 2;

    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    gap: 40px;
}

/* REGISTRIERUNGSBOX */

.register-box {
    width: 700px;

    background: rgba(255,255,255,0.96);

    border: 4px solid #ff7a00;

    border-radius: 30px;

    padding: 30px 42px 34px 42px;

    box-shadow:
        0 12px 35px rgba(0,0,0,0.16);
}

.register-box h1 {
    font-size: 28px;
    color: #1c2d5b;

    margin-bottom: 30px;

    text-align: center;
}

/* FORM */

.form-row {
    display: flex;
    align-items: center;

    margin-bottom: 20px;
}

.form-row label {
    width: 165px;

    font-size: 25px;
    font-weight: 700;

    color: #1c2d5b;
}

/* BUTTON GROUP */

.button-group {
    display: flex;
    flex: 1;
}

.button-group button {
    flex: 1;

    height: 56px;

    border: 2px solid #cfd6e3;

    background: #f4f5f7;

    font-size: 24px;
    font-weight: 700;

    color: #1c2d5b;

    cursor: pointer;

    transition: 0.2s;
}

.button-group button:hover {
    background: #fff7f1;
}

.button-group button:first-child {
    border-radius: 10px 0 0 10px;
}

.button-group button:last-child {
    border-radius: 0 10px 10px 0;
}

.button-group .active {
    border-color: #ff7a00;

    background:
        linear-gradient(
            to bottom,
            #fff7f0,
            #ffe8d2
        );
}

/* ALTER */

.age-group {
    display: flex;
    align-items: center;

    gap: 14px;
}


.birth-group {
    display: flex;
    gap: 12px;
    width: 100%;
}

.birth-group select {
    flex: 1;
    width: auto;
}



.age-group span {
    font-size: 24px;
    font-weight: 700;

    color: #1c2d5b;
}

/* INPUTS */

select,
input {
    height: 56px;

    border: 2px solid #d5d9e2;
    border-radius: 10px;

    padding: 0 18px;

    font-size: 24px;

    width: 100%;

    outline: none;

    background: #ffffff;
}

select {
    width: 140px;
}

.land-select {
    width: 100% !important;
}


select:focus,
input:focus {
    border-color: #ff7a00;
}

/* SUBMIT */

.submit-button {
    width: 100%;
    height: 66px;

    border: none;
    border-radius: 12px;

    background:
        linear-gradient(
            to bottom,
            #ff9e22,
            #ff6f00
        );

    color: #ffffff;

    font-size: 33px;
    font-weight: 900;

    cursor: pointer;

    margin-top: 14px;

    transition: 0.2s;

    box-shadow:
        0 6px 14px rgba(255,120,0,0.25);
}

.submit-button:hover {
    transform: translateY(-1px);

    filter: brightness(1.05);
}

/* HERO SLOGAN */

.hero-slogan {
    margin-right: 110px;
    margin-top: 30px;

    flex-shrink: 0;
}

.hero-slogan-image {
    width: 520px;
    height: auto;

    display: block;

    filter:
        drop-shadow(0 6px 12px rgba(0,0,0,0.28));
}

/* RESPONSIVE */

@media (max-width: 1400px) {

    .hero-content {
        flex-direction: column;

        align-items: flex-start;

        gap: 60px;
    }

    .hero-slogan {
        margin-right: 0;
    }

    .hero-slogan-image {
        width: 420px;
    }
}

@media (max-width: 900px) {

    .top-header {
        padding:14px 16px;
    }

    .top-bar {
        min-height:58px;
        gap:14px;
    }

    .branding {
        min-width:0;
        gap:15px;
    }

    .logo-box {
        padding:10px 16px;
        border-radius:12px;
        font-size:clamp(28px,7vw,40px);
    }

    .slogan-box {
        overflow:hidden;
        max-width:300px;
        font-size:clamp(28px,5vw,42px);
        white-space:nowrap;
        text-overflow:ellipsis;
    }

    .login-button {
        display:none;
    }

    .mobile-menu-toggle {
        display:flex;
        flex:0 0 48px;
        margin-left:auto;
    }
}

@media (max-width: 768px) {

    .hero-header {
        height: auto;

        padding: 22px 16px 40px 16px;

        background-size: cover;
        background-position: center top;
    }

    .register-box {
        width: 100%;

        padding: 24px;
    }


    .register-box h1 {
    font-size: 29px;
    }


    .form-row {
        flex-direction: column;

        align-items: flex-start;

        gap: 10px;
    }

    .form-row label {
        width: auto;

        font-size: 20px;
    }

    .button-group button,
    select,
    input {
        font-size: 18px;

        height: 48px;
    }

    .submit-button {
        font-size: 24px;

        height: 56px;
    }

    .hero-slogan {
        width: 100%;

        margin-top: 10px;

        display: flex;
        justify-content: center;
    }

    .hero-slogan-image {
        width: 300px;
    }
}



@media (max-width:560px){

    .top-header{
        padding:11px 12px;
    }

    .top-bar{
        min-height:52px;
    }

    .branding{
        gap:9px;
    }

    .logo-box{
        padding:9px 12px;
        font-size:clamp(24px,8vw,32px);
    }

    .slogan-box{
        display:none;
    }

    .mobile-menu-toggle{
        width:44px;
        height:44px;
        flex-basis:44px;
        border-radius:10px;
    }

    .public-header-menu{
        top:calc(100% + 5px);
        right:12px;
        width:calc(100% - 24px);
    }
}

.form-row input {
    width: 100%;
    margin-left: 0;
}






.checkbox-row {

    display: flex;
    align-items: center;

    gap: 10px;



    font-size: 18px;
    font-weight: 600;

    color: #1c2d5b;

    margin-bottom: 8px;
}

.checkbox-row input[type="checkbox"] {

    width: 18px;
    height: 18px;

    margin: 0;

    flex-shrink: 0;
}

.checkbox-row span {

    white-space: nowrap;
}

.checkbox-group {

    margin-left: 0;
    padding-left: 0;
}