* {
    margin: 0px;
    padding: 0px;
}

body{
    background-color: #EFEFEF;
}

section{
    display: flex;
    align-items: center;
    flex-direction: column;
    padding-top: 120px;
}

@font-face {
    font-family: segoeui_bold;
    src: url(font/segoeui_bold.ttf);
}

@font-face {
    font-family: segoeui_regular;
    src: url(font/segoeui_regular.ttf);
}

h1 {
    font-family: segoeui_bold;
    color: black;
    font-size: clamp(45px, 5vw, 60px);
}

h2 {
    font-family: segoeui_regular;
    color: #7D7D7D;
    font-size: clamp(22px, 2vw, 40px)
}

h3{
    font-family: segoeui_regular;
    font-size: clamp(35px, 2vw, 50px);
    padding-top: 30px;
}

h4 {
    font-family: segoeui_regular;
    font-size: 20px;
}

h5 {
    font-family: segoeui_regular;
    font-size: clamp(25px, 5vw, 45px);
}

/* Button */
h6 {
    font-family: segoeui_regular;
    font-size: clamp(20px, 2vw, 30px);
}

p {
    font-family: segoeui_regular;
    font-size: 25px;
    line-height: 1.5;
    padding-bottom: 10px;
    font-size: clamp(20px, 2vw, 25px);
    color:#555555;
}

/* Navigationsbar */

nav {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: #BAA898;
    z-index: 1000;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    box-sizing: border-box;
}



.nav-menu {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.sidebar-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.35);
    opacity: 0;
    pointer-events: none;
    transition: opacity 250ms ease;
    z-index: 98;
}

.sidebar-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: min(85vw, 360px);
    height: 100vh;
    background-color: #BAA898;
    color: white;
    padding: 35px 30px;
    z-index: 99;

    transform: translateX(-100%);
    transition: transform 280ms ease;

    display: flex;
    flex-direction: column;
    gap: 35px;
    box-sizing: border-box;
}

.sidebar.open {
    transform: translateX(0);
}

.sidebar-close {
    align-self: flex-end;
    background: none;
    border: none;
    color: white;
    font-size: 42px;
    line-height: 1;
    cursor: pointer;
}

.nav-menu {
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 120;
}

.menu-icon {
    display: block;
    transition: opacity 200ms ease, transform 200ms ease;
}


.nav-menu {
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 120;
}

.menu-icon {
    display: block;
    transition: opacity 200ms ease, transform 200ms ease;
}

.nav-menu.is-open .menu-icon-burger {
    opacity: 0;
    transform: rotate(90deg) scale(0.6);
}

.nav-menu.is-open .menu-icon-close {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.menu-icon-burger {
    width: 50px;
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.menu-icon-close {
    width: 70px;
    fill: white;
    opacity: 0;
    transform: rotate(-90deg) scale(0.6);

    position: absolute;
    inset: 0;
    margin: auto;
    left: -6px;
}

.nav-menu.is-open .menu-icon-burger {
    opacity: 0;
    transform: rotate(90deg) scale(0.6);
}

.nav-menu.is-open .menu-icon-close {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.sidebar-nav {
    padding-top: 80px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-nav a,
.sidebar-contact a {
    color: white;
    text-decoration: none;
    font-family: segoeui_regular;
    font-size: 20px;
}

.sidebar-nav a:hover,
.sidebar-contact a:hover {
    text-decoration: underline;
}

.sidebar-contact {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media (max-width: 768px) {
    .sidebar {
        width: 85vw;
        padding: 30px 24px;
    }
}

.nav-action-buttons{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 200px;
}

nav svg {
    width: 50px;
}

/* Startseite*/

header{
    background-color: #BAA898;
}

.startpage-container {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    align-content: center;
    width: 100%;
}

.startpage-infocard-item {
    align-self: flex-end;
    justify-self: center;
    max-width: 600px;

    display: flex;
    flex-direction: column;

    background-color: white;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    margin-bottom: 40px;
}

.startpage-infocard-logo{
    display: flex;
    flex-direction: row;
    align-items: center;
}

.startpage-infocard-logo-svg {
    padding: 30px;
    width: 100px;
    height: auto;
}

.startpage-infocard-logo-title h1 {
    padding-left: 10px;
    font-size: 35px;
    line-height: 1.3;
}

.startpage-infocard-description h5 {
    display: flex;
    font-size: 25px;
    line-height: 1.5;
    font-weight: 400;
    padding-top: 30px;
    padding-left: 40px;
    padding-right: 80px;
}

.startpage-infocard-button{
    padding-top: 60px;
    padding-inline: 40px;
    padding-bottom: 35px;
}

.startpage-infocard-button h6{
    width: 190px;
    height: 50px;
    background-color: #1358F5;
    color: white;
    font-size: 16px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.startpage-infocard-button h6:hover {
    background-color: #0847c7;
}

.startpage-infocard-item > a {
    text-decoration: none;
    color: inherit;
    display: inline-block;
}

.startpage-infocard-button a {
    text-decoration: none;
}

.startpage-background-container {
    display: flex;
    justify-content: center;
    align-items: start;
    pointer-events: none;
}

.startpage-background-item {
    padding-top: 100px;
    padding-bottom: 100px;
    width: 700px;
    height: auto;
    display: block;
    margin-left: -200px;
}

/* Leistungen */

@media (max-width: 1150px) {

    .startpage-container {
        display: flex;
        flex-direction: row-reverse;
        justify-content: center;
        align-content: center;
        flex-wrap: wrap;
        width: 100%;
    }

    .startpage-background-item {
        margin: 0 !important;
        width: 100%;
        margin-bottom: -50px !important;
        padding-bottom: 0 !important;
    }

    .startpage-infocard-item {
        max-width: 90% !important;
    }

    .service-container{
        justify-content: center;
    }

    .service-img-container{
        padding-right: 0px !important;
    }

    .service-infocard{
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 90%;
        min-height: 500px !important;
    }
}


.service-container{
    display: flex;
    flex-direction: column;
    width: 90%;
    padding-top: 60px;
}

.service-img-container {
    max-width: 700px;
    min-width: 300px;
    padding-right: 40px;
}

.service-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-item-reverse{
    display: flex;
    flex-wrap: wrap;

    flex-direction: row-reverse;
    justify-content: space-around;
    align-items: center;

    padding-bottom: 100px;
}

.service-item{
    display: flex;
    flex-wrap: wrap;

    flex-direction: row;
  
    align-items: center;
    
    justify-content: space-around;

    padding-bottom: 100px;
}

.service-infocard{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    max-width: 700px;
    min-width: 400px;
    min-height: 500px;
}

.service-infocard-button{
    width: 200px;
    display: flex;
    justify-content: center;
    align-content: center;
    padding: 12px;
    border: 2px solid #BAA898;
    background-color: transparent;
    color: #BAA898;
    text-decoration: none;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s ease;
}

.service-infocard-button:hover{
    background-color: #BAA898;
    color: white;
}

.service-infocard input {
    display: none;
}

.service-infocard .content {
    display: none;
}

.service-infocard input:checked ~ .content {
    display: block;
}

.service-infocard input:checked ~ label {
    display: none;
}

.content-text{
    padding-bottom: 30px;
}

/* Ablauf */

.sequence {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
}

.sequence-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.sequence-container p{
    padding-bottom: 0px;
}

.sequence-item {
    display: flex;
    flex-direction: row;
    gap: 50px;
    
    align-items: stretch;
    width: 100%;
    min-height: 320px;
}

.sequence-item-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    width: 60px;
}

.sequence-item-line {
    width: 5px;
    flex: 1;
    background-color: lightgray;
}

.sequence-item-placeholder {
    flex: 1;
    width: 7px;
}

.sequence-item-number {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    border: 5px solid lightgray;
    border-radius: 50%;
    background: transparent;
    flex-shrink: 0;
}

.sequence-item-number h5 {
    margin: 0;
    line-height: 1;
    color: lightgray;
    font-size: 35px;
    padding-bottom: 2px;
}

.sequence-svg {
    align-self: center;
    display: block;
    width: 150px;
    height: 150px;
    flex-shrink: 0;
}

.sequence-infocard {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    min-width: 0;
    padding: 24px 0;
}

.sequence-infocard h5 {
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.sequence-infocard p {
    margin: 0 0 18px 0;
    line-height: 1.6;
}

.sequence-buttons {
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: center;
    margin-top: 8px;
}

.sequence-button-contact,
.sequence-button-call {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 8px 12px;
    text-decoration: none;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.sequence-button-contact {
    background-color: transparent;
    border: 2px solid #222;
    color: #111;
}

.sequence-button-contact:hover {
    background-color: #222;
    color: white;
}

.sequence-button-call {
    background-color: #0d5dfc;
    border: 2px solid #0d5dfc;
    color: white;
}

.sequence-button-call:hover {
    background-color: #0847c7;
    border-color: #0847c7;
}

.service-infocard-button {
    background-color: transparent;
    border: 2px solid #baa898;
    color: #baa898;
    width: fit-content;
}

.service-infocard-button:hover {
    background-color: #baa898;
    color: white;
}

/* TABLET */
@media (max-width: 900px) {
    .sequence {
        width: 94%;
    }

    .sequence-item {
        gap: 50px;
        min-height: 280px;
    }

    .sequence-svg {
        width: 120px;
        height: 120px;
    }

    .sequence-infocard h5 {
        font-size: 24px;
    }

    .sequence-infocard p {
        font-size: 17px;
    }

    .about-container{
        gap: 0 !important;
    }

    nav {
        height: 70px;
    }

    nav svg {
        width: 35px;
        height: auto;
        display: block;
    }

    .nav-action-buttons {
        width: 120px;
    }

    .menu-icon-burger {
        width: 40px;
    }

    .menu-icon-close {
        width: 60px;
    }

    .service-img-container,
    .service-infocard {
        min-width: 0;
        width: 100%;
        max-width: 100%;
    }

    .service-img-container {
        padding-right: 0;
    }
}


@media (max-width: 600px) {

    .startpage-infocard-logo-title h1{
        font-size: 30px;
    }

    .sequence {
        width: 95%;
        padding-top: 50px;
    }

    .sequence-h2 {
        font-size: 20px;
    }

    .sequence-item {
        display: grid;
        grid-template-columns: 40px 80px 1fr;
        align-items: center;
        gap: 25px;
        min-height: unset;
    }

    .sequence-infocard {
        padding: 0;
        justify-content: center;
        height: auto;
    }

    .sequence-infocard {
        padding: 0;
        justify-content: center;
        height: auto;
    }

    .sequence-item-indicator {
        width: 40px;
        height: 100%;
    }

    .sequence-item-number {
        width: 30px;
        height: 30px;
        border-width: 4px;
    }

    .sequence-item-number h5 {
        font-size: 20px;
    }

    .sequence-infocard p {
        padding-bottom: 0px;
    }

    .sequence-item-line {
        width: 4px;
    }

    .sequence-item-placeholder {
        width: 5px;
    }

    .sequence-svg {
        width: 80px;
        height: 80px;
        align-self: center;
    }

    .sequence-infocard {
        padding: 0;
        justify-content: center;
        height: 250px;
    }

    .sequence-infocard h5 {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .sequence-button-contact,
    .sequence-button-call,
    .service-infocard-button {
        align-self: flex-start;
    }

    .sequence-buttons {
        display: flex;
        flex-direction: column;
        gap: 16px;
        align-items: center;
        margin-top: 8px;
    }

    .about-container{
        padding-bottom: 30px !important;
    }

    .form-container {
        padding-top: 30px !important;
    }


}


/* Einsatzgebiet */

.aria-container {
    display: flex;
    flex-direction: column;
    width: 90%;
    max-width: 900px;
    padding-top: 60px;
    padding-bottom: 60px;
}

.aria-container img {
    display: block;
    object-fit: cover;
    width: 100%;
    height: auto;
}

/* Ueber mich */

.about-container{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 100px;
    width: 90%;
    padding-top: 30px;
    padding-bottom: 120px;
}

.about-description{
    display: flex;
    flex-direction: column;
    max-width: 700px;
}

.about-img-container{
    width: 500px;
}

.about-container img{
    display: block;
    object-fit: cover;
    width: 100%;
}

.about-description h3{
    padding-bottom: 30px;
}

.about-description-2{
    padding-top: 30px;
}

/* Kontaktformular */

.form-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 90%;
    padding-top: 60px;
    padding-bottom: 60px;
}

.form-container label {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 20px;
}

.form-container label h5{
    font-size: 25px;
}

.kunden-e-mail,
.kunden-betreff,
.kunden-inhalt {
    width: 100%;
    max-width: 1200px;
    box-sizing: border-box;
    border: 3px solid #222;
    background-color: transparent;
    padding: 14px 16px;
    font-size: 16px;
    color: #111;
    outline: none;
    margin: 0 auto;
    background-color: white;

    font-family: segoeui_regular;
    font-size: 18px;
    font-weight: 400;
}

.kunden-e-mail,
.kunden-betreff {
    height: 58px;
}

.kunden-betreff {
    font-family: segoeui_bold;
}

.kunden-inhalt {
    min-height: 250px;
}

.form-submit-button {
    align-self: center;
    width: 300px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    padding: 14px 22px;
    border: 2px solid #000;
    background-color: #000;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.1s ease;

    margin-bottom: 60px;
}

.form-submit-button:hover{
    background-color: #FAFAFA;
    color: #000;
    border: 2px solid #000;
    stroke: #000;
}

.form-submit-button:hover .send-icon path {
    stroke: #000;
}

.send-icon {
    width: 35px;
    height: 35px;
    flex-shrink: 0;
}

.form-submit-button:active {
    transform: translateY(0);
}

.form-message {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 20px;
}

.form-message.success {
    color: green;
}

.form-message.error {
    color: red;
}

/* Fusszeile */

.footer {
    background-color: #BAA898;
    color: white;
    padding: 60px 8% 25px 8%;
    margin-top: 80px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-brand {
    max-width: 360px;
}

.footer-brand h3 {
    font-family: segoeui_bold;
    font-size: 24px;
    margin-bottom: 5px;
}

.footer-brand h4 {
    font-family: segoeui_regular;
    font-size: 22px;
    margin-bottom: 35px;
}

.footer-brand p {
    font-family: segoeui_regular;
    font-size: 16px;
    line-height: 1.6;
    color: white;
}

.footer-links,
.footer-contact,
.footer-legal {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links h5,
.footer-contact h5,
.footer-legal h5 {
    font-family: segoeui_bold;
    font-size: 20px;
    margin-bottom: 10px;
}

.footer a {
    font-family: segoeui_regular;
    color: white;
    text-decoration: none;
    font-size: 16px;
    width: fit-content;
}

.footer a:hover {
    text-decoration: underline;
}

.footer-contact p {
    font-family: segoeui_regular;
    font-size: 16px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.35);
    margin-top: 45px;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    font-family: segoeui_regular;
    font-size: 14px;
    color: white;
}

.footer-logo{
    display: flex;
    flex-direction: row;
}

.footer-logo svg{
    width: 50px;
    padding-right: 20px;
}
