/* General Styling */
body {
    font-family: 'Roboto', sans-serif;
    /* background-color: #001FD2; */
    line-height: 2; /* Further increase line height */
    color: #000000;
    background: linear-gradient(to bottom, #EFF0FF 0%,    #e6e8ff 40%,
    #9fa1d8 100%);
    line-height: 1.8;
    margin: 0;
}
@media (max-width: 576px) {
    body {
        font-size: 90%; /* Scale down overall font size */
    }

    h1 {
        font-size: 1.0rem !important; /* Adjust hero heading size for smaller screens */
        word-wrap: break-word; /* Ensure long words wrap */
        text-align: center;
    }

    h2 {
        font-size: 1.0rem !important; /* Resize section titles for small screens */
        text-align: center;
    }

    h3,h5 {
        font-size: 0.7rem !important;
    }

    p, li, a {
        font-size: 1rem !important; /* Adjust paragraph and link text size */
    }

    .container,
    .container-fluid {
        max-width: 100%; /* Fit containers to screen */
        padding: 0.5rem; /* Add tighter spacing */
    }

    .navbar {
        padding: 0.5rem;
    }

    .navbar-brand img {
        max-height: 40px !important; /* Resize logo for smaller screens */
        width: auto;
    }

    .nav-link {
        font-size: 0.8rem !important; /* Smaller navigation links */
        padding: 0.5rem 0;
    }

    .card {
        font-size: 0.9rem !important; /* Reduce card text size */
    }

    .btn {
        font-size: 0.9rem !important; /* Reduce button text size */
        padding: 0.3rem 0.6rem; /* Reduce button padding */
    }

    img {
        max-width: 100%;
        height: auto;
        
    }

    section {
        padding: 1rem 0; /* Adjust section padding */
    }

    footer {
        padding: 1rem;
        font-size: 0.8rem !important; /* Reduce footer font size */
    }
}
/* Navbar */
nav {
    background: #001FD2;
    padding: 20px 0;
}
nav a {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px; /* Bigger font size */
    text-transform: uppercase;
    letter-spacing: 1.5px;
    /* color: #622727; */
    margin-right: 25px;
    text-decoration: none;
}

.nav-item.active .nav-link {
    font-weight: bold; /* Makes the active link bold */
    color: white; /* Keeps it white */
}
.logo-img{
    height: 3rem !important; /* Adjust logo size for smaller screens */
     width: auto;
}
.navbar-brand p {
        font-size: 1rem !important; /* Adjust text size under logo for smaller screens */
}
/* Default style for nav-link */
.nav-link {
    font-weight: normal; /* Ensures non-active links are normal weight */
}
@media (max-width: 768px) {
    
    /* Navbar kleiner */
    nav {
        padding: 10px 0;
    }

    /* Links kleiner */
    nav a {
        font-size: 16px;
        margin-right: 10px;
    }

    /* Logo kleiner */
    .logo-img {
        height: 30px;
    }
    .navbar-brand p {
        font-size: 0.6rem !important; /* Adjust text size under logo for smaller screens */
    }

    /* Text unter Logo kleiner */

    /* Logo + Text nebeneinander (optional schöner auf Handy) */
    .navbar-brand {
        flex-direction: row;
    }
}
/* Hero Section */
/* #hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 64px; 
    color: #fff;
}
#hero p {
    font-family: 'Open Sans', sans-serif;
    font-size: 24px;
    color: #ccc;
} */

/* Section Titles */

section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 30px;
    font-weight: 700;
    color: #000000;
}
section p {
    font-family: 'Roboto', sans-serif;
    color: #000000;
}

/* Footer */
footer {
    background: #111;
    padding: 30px 0;
    text-align: center;
}
footer h5 {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px; /* Bigger footer title */
    color: #fff;
}
footer p {
    font-family: 'Roboto', sans-serif;
    font-size: 20px; /* Bigger footer text */
    color: #ccc;
}

/* Kanzlei Section */
.section-container {
    /* background-color: #ffffff;
    color: #000000; */
    padding-top: 60px; /* Adjust this value to the height of your navbar */

}
.section-container a {
    color: #1e293b !important; /* Dunkleres Blau für Links */
    text-decoration: none;
}


.section-container h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 30px; /* Bigger heading */
    font-weight: bold;
    margin-bottom: 30px;
}

.section-container p {
    font-family: 'Roboto', sans-serif;
    line-height: 2.2;
    /* color: #ccc; */
}

.section-container img {
    max-width: 100%;
    border-radius: 10px;
}

/* Standard: erlaubt Umbruch */
.no-wrap {
    white-space: normal;
}

/* Nur auf großen Screens aktiv (Desktop) */
@media (min-width: 992px) {
    .no-wrap {
        white-space: nowrap;
    }
}


/*  */

#FAQ {
    /* background-color: #121212; */
    color: #000000 !important;
    padding: 80px 0;
}

#FAQ h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 30px; /* Larger heading */
    font-weight: 700;
    color: #000000;
    margin-bottom: 20px;
}

#FAQ h4{
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #000000 !important;
}

#FAQ * {
    font-family: 'Roboto', sans-serif;
    color: #000000 !important;
    line-height: 1.8;
}

img {
    max-width: 100%;
    border-radius: 10px;

}
.service-row {
    /* background-color: #1c1c1c;  */
    border-radius: 10px; /* Rounded corners */
    padding: 20px; /* Inner spacing */
    margin-bottom: 40px; /* Increased space between rows */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); /* Subtle shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth hover effects */
}

/* Hover Effects */
.service-row:hover {
    transform: translateY(-5px); /* Lift effect on hover */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4); /* Stronger shadow on hover */
}

/* Service Title */
.service-row h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #fff;
    border-bottom: 2px solid #444; /* Underline effect */
    padding-bottom: 5px; /* Spacing under title */
}

/* Service Description */
.service-row p {
    font-family: 'Roboto', sans-serif;
    color: #ccc;
    margin: 10px 0;
    line-height: 1.6;
}

/* Service List */
.service-row ul {
    padding-left: 20px; /* Indent for bullets */
    list-style-type: disc;
}

.service-row ul li {
    color: #aaa;
    font-size: 16px;
    margin-bottom: 5px;
}

/* Separator */
.separator {
    height: 2px; /* Thinner line */
    /* background-color: #333; Darker separator */
    margin: 20px 0; /* Increased spacing around separator */
    border-radius: 2px;
}




.card {
    background-color: #9a9bd2; /* Dunkler als zuvor */
    /* color: #000000; Helle Schrift für Kontrast */
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(155, 109, 109, 0.4);
}

.card h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #000000; /* Klare und helle Schrift */
}

.card p {
    font-family: 'Roboto', sans-serif;
    color: #000000; /* Etwas softer für Text */
}
.card-body {
    padding: 20px;
}

.card h5{
    font-family: 'Montserrat', sans-serif;
    font-size: 35px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #000000; /* Klare und helle Schrift */
}




#kontakt {
    /* background-color: #50565b; */
     color: #0f172a; /* Weiß für Text */
    padding: 60px 0;
}

#kontakt h2{
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    color: #020617;
    font-size:30px;
}

 #kontakt h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    color: #1e293b; 
}

#kontakt p {
    font-family: 'Roboto', sans-serif;
    color: #0f172a;; /* Weicheres Grau für Text */
    line-height: 1.6;
}
#kontakt a {
    color: #1e293b !important; /* Dunkleres Blau für Links */
    text-decoration: none;
}
.map-container {
    background: rgba(0, 0, 0, 0.1);
    padding: 10px;
    border-radius: 12px;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    height: fit-content;
}
@media (min-width: 768px) {
    .map-container {
        height: 500px;
    }
}
.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
}

@media (max-width: 576px) {
    .map-container iframe {
        height: 300px;
    }
}

.gutchater-container-image {
    background-color: #645667;
    padding: 10px;
    border-radius: 10px;
}


#footer {
    background:#001FD2 !important;
    color: #e5e5e5; /* Light text */
    font-size: 14px; /* Slightly smaller text size */
}

#footer h5 {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px; /* Slightly smaller heading size */
    font-weight: bold;
    color: #ffffff;
}

#footer p {
    font-family: 'Roboto', sans-serif;
    font-size: 12px; /* Smaller paragraph text */
    margin-bottom: 5px; /* Less spacing between paragraphs */
    color: #d1d1d1;
}

#footer a {
    font-size: 12px; /* Smaller link text */
    color: #9fa6ad;
    text-decoration: none;
}

#footer a:hover {
    color: #ffffff; /* Change color on hover */
}

#footer img {
    max-width: 150px; /* Increase the width of the logo */
    height: auto; /* Maintain aspect ratio */
    margin-bottom: 10px; /* Optional: Add space below the logo */
    
}


/* Animation for text appearance */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Apply animation to the text */
.animated-text {
    opacity: 0; /* Initially hidden */
    transform: translateY(20px); /* Start position */
    transition: opacity 3s ease-out, transform 3s ease-out; /* Smooth animation */
}


nav a {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    text-transform: uppercase;
    color: #fff;
}





footer {
    font-family: 'Roboto', sans-serif;
    /* background: #111; */
    color: #e5e5e5;
}

footer h5 {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
}


h4.text-uppercase {
    color: white; /* Ensures it matches <h2> */
}

.nav-item .nav-link.active {
    font-weight: bold;
    color:white /* Example active color */
}


.price-card {
    background: linear-gradient(180deg, #a7a8db 0%, #9fa1d8 100%);
    border-radius: 24px;
    color: #111827;
}

.popular-card {
    transform: scale(1.03);
}

.price-icon {
    width: 130px;
    height: auto;
}

.price-title {
    font-size: clamp(1.5rem, 2vw, 2rem) !important;
    line-height: 1.2;
    color: #111827;
    word-break: normal;
    overflow-wrap: normal;
}

.price-value {
    font-size: 3.4rem;
    font-weight: 800;
    line-height: 1;
    color: #111827;
}

.price-tax {
    font-size: 1.1rem;
    color: #6b7280;
}

.cta-box h5 {
    font-size: clamp(1rem, 2vw, 1.7rem) !important;
    color: #111827;
}

.price-card .btn {
    padding: 0.9rem 1.4rem;
    font-size: 1.05rem;
    transition: all 0.2s ease;
}

.price-card .btn:hover {
    transform: translateY(-2px);
}

.price-card .btn-light {
    background-color: #ffffff;
    color: #111827;
    border: none;
}

.price-card .btn-warning {
    color: #111827;
}

@media (max-width: 576px) {
    .price-card {
        border-radius: 20px;
    }

    .popular-card {
        transform: none;
    }

    .price-icon {
        width: 110px;
    }

    .price-title {
        font-size: 1.5rem;
    }

    .price-value {
        font-size: 2.8rem;
    }

    .price-tax {
        font-size: 1rem;
    }

    .cta-box h5 {
        font-size: 1.3rem;
        line-height: 1.3;
    }

    .price-card .btn {
        font-size: 1rem;
        padding: 0.85rem 1rem;
    }
}