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

html {
    scroll-padding-top: 235px; /* height of sticky header */
  }

body {
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    margin: 0;
    background-color: #f5f5f5;
    color: #1f1f1f;
    overflow-y: scroll;
    scrollbar-gutter: stable;
}

.top {
    text-align: center;
    position: fixed; /* Set the navbar to fixed position */
    top: 0; /* Position the navbar at the top of the page */
    width: 100%; /* Full width */
    background-color: whitesmoke;
    padding-bottom: 16px;
    z-index:99;
    /* backdrop-filter: blur(75px); */
}

/* Logoname untereinander  */
#logo_name {
    font-size: 1.7rem;
    font-weight: bold;
    margin-left: 120px;
    margin-top: -80px;
    text-align: start;
}


/* Logoname in einer Linie */
/* #logo_name {
    font-size: 32px;
    font-weight: bold;
    margin-left: 140px;
    margin-top: -70px;
    text-align: start;
} */

#logo_image {
    text-align: start;
}

#top-image {
    margin-top: 198.5px;
    width: 100%;
    height: 300px;
}

#top-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media screen and (min-width: 800px) {
    #top-image {
      height: 600px;
    }
    /* Logoname in einer Linie */
    #logo_name {
        font-size: 32px;
        font-weight: bold;
        margin-left: 140px;
        margin-top: -70px;
        text-align: start;
    }
}

/* #imageText {
    color: white;
    font-size: 60px;
    font-weight: bold;
    text-align: center;
    margin-top: -100px;
} */

/* #main {
    margin-top: 36px;
    padding: 16px;
    text-align: center;
} */

#footer {
    text-align: center;
    color: white;
    font-weight: bold;
    background-color: #BA8C63;
    padding: 16px;
    margin-top: 120px;
}

/* #logo {
    color: white;
    background-color: #BA8C63 ;
    border-radius: 15px;
    display: inline-block;
    font-size: 32px;
    font-weight: bold;
    padding: 4px;
    margin-top: 16px;
} */

#logo {
    display: inline-block;
    margin-bottom: 16px;
    padding: 16px;
}

/* 
#logo a{
    text-decoration: none;
    color: white;
}
 */

/* #logo-name {
    font-size: 32px;
    font-weight: bold;
    margin: 16px;
} */

#logo-name a{
    text-decoration: none;
    color: black;

}

#navigation {
    margin-top: 16px;
}

#navigation a {
    color: #4a4a4a;
    font-weight: 600;
    padding: 16px;
    text-decoration: none;
    margin-bottom: 16px;
    font-size: larger;
    border-bottom: 2px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

#navigation a:hover {
    color: #BA8C63;
    border-bottom-color: #BA8C63;
}

#footer a {
    text-decoration: none;
    color: white;
    font-weight: normal;
}

.extra-main {
    max-width: 800px;
    margin: auto;
    margin-top: 225px;

}

.btn {
    background-color: #BA8C63;
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(186, 140, 99, 0.35);
}

.card-img-top-contact {
    width: 50px;
    height: 50px;
    margin: auto;
    margin-top: 16px;
    padding: 8px;
    object-fit: cover;
}

.card-title-contact, .card-text-contact{
    text-align: center;
}

#services, #about-us, #contact {
    max-width: 900px;
    margin: auto;
}

/* #services {
    color: white;
} */

#au-section {
    margin-top: 16px;
    background-color: whitesmoke;
    width: 100%;
    padding: 16px;
    padding-top: 64px;
    padding-bottom: 64px;
    text-align: center;

}

#s-section {
    margin-top: 16px;
    background-color: white; 
    width: 100%;
    padding: 16px;
    padding-top: 64px;
    padding-bottom: 64px;

}

#c-section {
    margin-top: 16px;
    background-color: whitesmoke;
    width: 100%;
    padding: 16px;
    padding-top: 64px;
    padding-bottom: 48px;
}


.card-title {
    font-size: 24px;
}

.alignleft {
	float: left;
}
.alignright {
	float: right;
}

.headline {
    font-size: 36px;
    text-align: center;
    margin-bottom: 24px;

    background-image: linear-gradient(to right, #EADDCA	, #8B4513	);
    background-size: 250px 4px;
    background-position: bottom;
    background-repeat: no-repeat;
    line-height: 60px;
}



.card, .card-deck .card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

.card img {
    border-radius: 16px 16px 0 0;
}

#services .card {
    display: flex;
    flex-direction: column;
}

#services .card .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

#services .card .card-body button {
    margin-top: auto;
    align-self: center;
}

.modal-open {
    padding-right: 0 !important;
}

.legal-wrapper {
    max-width: 1040px;
    margin: 200px auto 80px;
    padding: 24px 32px;
}

.legal-card {
    background: #fff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.08);
    line-height: 1.75;
    font-size: 1.05rem;
}

.legal-card h2 {
    font-weight: 700;
    margin-bottom: 16px;
}

.legal-card h3 {
    margin-top: 24px;
    font-size: 1.2rem;
}

.legal-card p {
    margin-bottom: 12px;
}


body.legal-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body.legal-page .legal-wrapper {
    flex: 1;
}

body.legal-page #footer {
    margin-top: 40px;
}


@media (max-width: 992px) {
    .card-deck {
        flex-direction: column;
    }

    .card-deck .card {
        margin-bottom: 24px;
    }

    #navigation {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }
}

@media (max-width: 600px) {
    .top {
        position: static;
        padding: 16px 12px 0;
    }

    #logo {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
    }

    #logo_name {
        margin-left: 0;
        margin-top: 0;
        text-align: left;
    }

    #navigation {
        display: flex;
        justify-content: center;
        gap: 16px;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    #navigation a {
        display: inline-flex;
        padding: 8px;
        white-space: nowrap;
    }

    #top-image {
        margin-top: 16px;
        height: 220px;
    }

    #main {
        margin-top: 16px;
    }

    .legal-wrapper {
        margin-top: 120px;
    }

    #footer {
        margin-top: 60px;
    }
}

@media (max-width: 768px) {
    .legal-wrapper {
        margin-top: 130px;
        padding: 15px 20px;
    }

    .legal-card {
        padding: 28px;
        font-size: 1rem;
        line-height: 1.8;
    }

    #navigation {
        display: flex;
        justify-content: center;
        gap: 12px;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    #navigation a {
        display: inline-flex;
        padding: 6px 10px;
        white-space: nowrap;
    }
}



@media (max-width: 480px) {
    .legal-wrapper {
        margin-top: 100px;
        padding: 10px 16px;
    }

    .legal-card {
        padding: 24px;
        border-radius: 18px;
    }

    .legal-card h2 {
        font-size: 1.4rem;
    }

    .legal-card h3 {
        font-size: 1.1rem;
    }
}
@media (max-width: 600px) {
}
body.legal-page #logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

body.legal-page #logo_image,
body.legal-page #logo_name {
    margin: 0;
    text-align: left;
}
