.pascal,
.arno {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    object-fit: cover;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    margin-top: 10px;
}


.block {
    height: 100%;
    width: 100%;
    left: 0px;

    right: 0px;
    top: 20px;
}

a:link,
a:visited {
    color: black;
    text-decoration: none;

    .formular {
        width: 800px;
        background: #fff;
        padding: 28px;
        border-radius: 8px;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    }

    .formular h2 {
        margin-top: 0;
        margin-bottom: 12px;
    }

    .formular label {
        display: block;
        margin-top: 12px;
        font-weight: 600;
    }

    .formular input[type="email"],
    .formular input[type="text"],
    .formular textarea {
        width: 100%;
        padding: 10px 12px;
        margin-top: 6px;
        border: 1px solid #ddd;
        border-radius: 6px;
        box-sizing: border-box;
    }

    .formular button {
        margin-top: 16px;
        padding: 10px 16px;
        background: #338ad1;
        color: #fff;
        border: none;
        border-radius: 6px;
        cursor: pointer;
    }

    @media (max-width: 560px) {
        .formular form {
            padding: 18px;
        }
    }
}

a.clicked {
    color: #338ad1 !important;
    text-decoration: underline;
}

a:hover,
a:focus {
    text-decoration: underline;
}

.block-container {
    position: relative;
    display: block;
    width: 100%;
    margin: 0;
    right: 0;
}

.block {
    display: block;
    width: 100vw;
    max-width: none;
    height: auto;
    position: relative;
    z-index: 1;
    object-fit: cover;
}

.logo {
    position: absolute;
    left: 3%;
    right: auto;
    top: 18%;
    transform: translateY(-50%);


    width: clamp(480px, 34vw, 1200px);
    height: auto;
    pointer-events: none;
    z-index: 999;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.25));
}


.block-nav {
    position: absolute;
    right: 4%;
    top: 16%;
    transform: translateY(-50%);
    display: flex;
    gap: 18px;
    align-items: center;
    z-index: 1000;
}

.block-nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    padding: 6px 10px;
}

.block-nav a.clicked {
    color: #cfe8ff !important;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
}


.hero-text {
    position: absolute;
    right: 4%;
    top: 24%;
    bottom: auto;
    display: flex;
    gap: 18px;
    align-items: center;
    z-index: 1000;
}

.hero-text a {
    color: #fff;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 700;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
    padding: 6px 10px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgb(255, 166, 0);
    padding: 0.5vw;
    height: 6vw;
}

body {
    font-family: 'Times New Roman', Times, serif;


}

.profiles {
    display: flex;
    width: 100%;
    justify-content: space-evenly;

}

p {
    text-align: center;
}

.arnoo .pascall {
    width: 100%;
    text-size-adjust: 100px;
}


.altnauu {
    background-color: #404040;
    margin: 20px;
    justify-content: space-evenly;
    border-radius: 30px;
    width: 50%;
    display: flex;
    padding: 20px;
    color: white;



}

.altnauu img {

    width: 33%;
}

.kreuzlingen img {

    width: 40%;
}


.kreuzlingen {
    background-color: #404040;
    margin: 20px;
    justify-content: space-evenly;
    border-radius: 30px;
    width: 50%;
    display: flex;
    padding: 20px;
    color: white;


}

.hauser {
    display: flex;
}

.frauenfeld {
    background-color: #404040;
    margin: 20px;
    justify-content: space-evenly;
    border-radius: 30px;
    width: 50%;
    display: flex;
    padding: 20px;
    color: white;
}

.frauenfeld img {
    display: flex;
    width: 40%;
}

.kreuzlingen2 {
    background-color: #404040;
    margin: 20px;
    justify-content: space-evenly;
    border-radius: 30px;
    width: 50%;
    display: flex;
    padding: 20px;
    color: white;
}

.kreuzlingen2 img {
    display: flex;
    width: 40%;
}

.hauser2 {
    display: flex;
}

.formular {

    form {
        background: white;
        padding: 200px;
        padding-top: 40px;
        border-radius: 10px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        width: 1200px;
        height: auto;
        

    }

    h2 {
        text-align: center;
        margin-bottom: 20px;
    }

    label {
        display: block;
        margin-bottom: 5px;
        font-weight: bold;
    }

    input,
    textarea {
        width: 100%;
        padding: 10px;
        margin-bottom: 15px;
        border: 1px solid #ccc;
        border-radius: 5px;
        font-size: 1em;
    }

    button {
        width: 100%;
        padding: 10px;
        background: #007bff;
        color: white;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        font-size: 1em;
    }

    button:hover {
        background: #0056b3;
    }
}


#background-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    background-size: cover;
}

.videobox {
    width: 100%;
    overflow: clip;

}



.index.html {

    .content {
        position: fixed;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        color: #f1f1f1;
        width: 100%;
        padding: 20px;
    }




    #background-video:hover {
        background: #ddd;
        color: black;
    }


    main {
        min-height: 100vh;
    }

    video {
        width: 100%;
        height: auto;
    }
}

@media screen and (max-width:430px) {

    .logo {
        width: 30%
    }

    .hero-text a {

        font-size: 10px;
        position: none;
        justify-content: space-between;
        font-size: smaller;
        line-height: 1.2;

    }

    .video {
        aspect-ratio: 9/16;
        object-fit: cover;
        height: 100%;
        max-width: 100%;
    }

    .videobox {
        width: 100%;
        overflow: clip;
    }

    .videobox video {
        width: initial;
    }

    video body {
        min-height: 100vh;
    }


    .hauser,
    .kreuzlingen,
    .hauser2,
    .kreuzlingen2 {
        flex-direction: column;
        align-items: center;
    }

    .profiles {
        flex-direction: column;
        align-items: center;
    }

    .pascal,
    .arno {
        width: 30vw;
        max-width: 300px;
        height: auto;
        border-radius: 50%;
        object-fit: cover;
        display: inline-block;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
        margin-top: 10px;


    }

    .formular {
        width: 100px;
    }
}

footer{
    display: block;
    align-items: center;
    text-align: center;
    padding: 0.5vw;
    background-color: rgb(255, 166, 0);
}

