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

body{
    font-family: 'Open Sans', sans-serif;
    font-size: 20px;
    background-color: #f8f9fa;
    padding: 0;
    color: #333;
    line-height: 2.0;
}


.blocksatz {
    text-align: justify;
}


.section-divider {
    border: none;
    height: 3px;
    background-color: rgb(30, 77, 35);
    margin: 0.5rem auto;
    width: 100%;
    max-width: 900px;     /* Einheitliche maximale Breite */
    border-radius: 2px;
    display: block;
}

.list-icon {
    margin-right: 0.5rem;
    font-size: 1.2rem;
    line-height: 1.4;
    color: #000000; /* oder deine Wunschfarbe */
    flex-shrink: 0;
}



.list-rights li {
    align-items: flex-start;
}
  
html, body {
    overflow-x: hidden;
}
  



/*--------Navigation--------*/
#nav-bar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
    background-color: #386641; /* Fallback bei zu kurzer Nav */
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.navbar-brand img{
    height: 40px;
    padding-left: 30px;
}
.navbar-nav li{
    padding: 0 10px;
}
.navbar li a{
    float: right;
    text-align: left;
}
.navbar {
    background-image: linear-gradient(135deg, #386641, #6a994e);
}
#nav-bar ul li a:hover
{
    color: #a7c957!important;
}
.navbar-toggler{
    border: none!important;
}
.nav-link{
    color: rgb(255, 255, 255)!important;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s ease;
}

#Sprechstunden {
    scroll-margin-top: 0px;
}

#Kontakt {
    scroll-margin-top: 40px;
}
  

/*------------ banner ------------*/

#banner{
    background-image: linear-gradient(to right,#386641,#6a994e );
    color: rgb(255, 255, 255);
    padding-top: 5%;
}
.promo-title{
    font-size: 40px;
    font-weight: 600;
    margin-top: 100px;
}

.head {
    font-size: 20px;
    margin-top: 10px;
}

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

/*------Text-----*/
#Sprechstunden{
    padding: 80px 0;
}
.Sprechstunden{
    padding: 20px;
}

.img-fluid{
    width: 400px;
}

/* Nur noch gezielt Kästen gestalten */
.card-container {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

/* Buttons */
.btn-green {
    background-color: #6a994e;
    color: white;
    border: none;
    padding: 10px 20px;
    font-weight: 600;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.btn-green:hover {
    background-color: #a7c957;
    color: white;
}



/* Allgemeine Sektionen */

h2, h4 {
    color: #386641;
    margin-bottom: 1.5rem;
}

p {
    margin-bottom: 1rem;
    font-size: 16px;
}

/* Links */
a {
    color: #6a994e !important;  /* Linkfarbe in grün */
    text-decoration: none !important;  /* Entfernt Unterstreichung */
}

a:hover {
    color: #a7c957 !important;  /* Hover-Farbe */
    text-decoration: underline !important;  /* Unterstreichung beim Hover */
}


/* Medienabfragen für kleinere Geräte */
@media (max-width: 576px) {
    footer p {
        font-size: 14px;
        line-height: 1.4;
    }
    .promo-title {
        font-size: 28px;
        margin-top: 40px;
    }

    .head {
        font-size: 16px;
    }

    .navbar-nav {
        text-align: center;
    }

    .container {
        padding: 1.5rem;
    }
}

.map-responsive {
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
    height: 0;
}
  
.map-responsive iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
}
  