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

html {
    height: 100%;
}

body {
    line-height: 1.6;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

/* NAVBAR */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    padding-right: 1.5rem;
    padding-left: 1rem;
    background: #ffff;
}

.navbar nav a {
    position: relative;
    text-decoration: none;
    color: #333;
    font-size: 1.5rem;
    margin-left: 20px;
}

.navbar nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;

    width: 0;
    height: 2px;
    background-color: #739f84;

    transition: width 0.3s ease;
}

.navbar nav a:hover::after {
    width: 100%;
}
.right {
    margin-left: 0.2rem;
    display: flex;
    gap: 15px;
}

#mail_img,
#phone_img {
    width: 60%;
    height: auto;
}
.contact_img {
    width: clamp(40px, 5vw, 80px);
    aspect-ratio: 1 / 1;

    background-color: #3b82f6;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;
}

#logo_img {
    width: 20.7rem;
    height: 8rem;
}

.navbar nav a {
    margin-left: 20px;
    text-decoration: none;
    color: #333;
    font-size: 1.5rem;
}

/* HERO */
.hero {
    height: 400px;
    background: url('https://picsum.photos/1200/600') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

#home_hero {
    display: flex;
    align-items: center;     /* 👉 vertikal zentriert */
    justify-content: flex-end; /* 👉 nach rechts schieben */

    padding-right: 5%;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 10px;
}

.dropdown:hover .dropdown-content,
.dropdown-content:hover {
    display: block;
}

/* Dropdown Box */
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0;
    background-color: #3f676b; /* dunkles petrol */
    min-width: 220px;
    padding: 15px 0;

    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Links */
.dropdown-content a {
    display: block;
    color: white;
    text-decoration: none;

    padding: 10px 20px;
    font-size: 1.2rem;
}

#termin_btn {
    background-color: white;
    color: #76a084;
}

/* Wir erstellen eine Linie für die ersten drei Punkte (nach Fortbildung, Teamreflexion, Einzelberatung) */
/* 2. Trenner über Border-Bottom lösen */
.dropdown-content a:nth-child(1),
.dropdown-content a:nth-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3) !important;
    margin: 0 15px !important;
    padding-left: 5px !important;
    padding-bottom: 17px !important; /* ← gibt der Linie etwas Luft nach unten */
}

/* Hover Effekt */
.dropdown-content a:hover {
    background-color: rgba(255,255,255,0.1);
}

/* Am PC: Hover funktioniert normal */
@media (min-width: 851px) {
    .dropdown:hover .dropdown-content {
        display: block;
    }
}

/* Diese Klasse wird vom JavaScript gesteuert */
.dropdown-content.show {
    display: block !important;
}

@media (max-width: 850px) {
    .dropdown-content {
        position: relative; /* Schiebt auf dem Handy die anderen Links nach unten */
        width: 100%;
        box-shadow: none;
        background-color: #3f676b;
    }
}

/* --- 2. EINRÜCKUNG (Fachkräfte & Privat) --- */
.dropdown-content a:nth-child(3) {
    margin-left: 15px;
    margin-right: 15px;
    padding-left: 5px;
}

/* Verhindert, dass die animierte Hover-Linie erscheint */
.dropdown-content a:nth-child(3)::after {
    display: none !important;
}

/* Wir rücken den 4. und 5. Link ein */
.dropdown-content a:nth-child(4),
.dropdown-content a:nth-child(5) {
    padding-left: 40px; /* Erhöhtes Padding für den Einrück-Effekt */
    font-size: 1.1rem;   /* Optional: Etwas kleiner, um Hierarchie zu zeigen */
    opacity: 0.9;
}

/* Hover Effekt bleibt gleich */
.dropdown-content a:hover {
    background-color: rgba(255,255,255,0.1);
}

/* Verhindert, dass die Trennlinie im Dropdown beim Hovern wächst */
.dropdown-content a:hover::after {
    width: 80% !important; /* Bleibt bei der ursprünglichen Breite */
    left: 10% !important;  /* Bleibt zentriert */
}

/* Falls du die allgemeine Underline-Animation der Haupt-Navi im Dropdown ganz abschalten willst */
.dropdown-content a::after {
    transition: none !important; /* Entfernt das "Sliden" beim Drüberfahren */
}



.hero button {
    margin-top: 20px;
    padding: 12px 28px;

    background-color: #6e9b7a;
    color: white;

    border: none;
    border-radius: 999px;

    font-weight: 500;

    cursor: pointer;
    transition: all 0.3s ease;
}

/* Hover Effekt */
.hero button:hover {
    background-color: #5a8265;
    transform: translateY(-2px);
}

/* Klick Effekt */
.hero button:active {
    transform: translateY(0);
}

/* INTRO */
.intro {
    padding: 40px;
    text-align: center;
    background: #ffff;
    flex-grow: 1;
}

footer {
    margin-top: auto; /* Klebt den Footer bombenfest an den unteren Rand */
}

/* ANGEBOTE */
.angebote {
    background: #739f84;
    color: white;
    padding: 60px 40px;
}

.angebote_white {
    padding: 60px 40px;
}

#angebote_headline {
    text-align: center;
    color: #739f84;
    margin-bottom: 1rem;
}

.angebote-container {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
}

/* LINKER BLOCK */
.angebote-left {
    width: 45%;
    text-align: center;

    display: flex;
    flex-direction: column;
}

.angebote-left a,
.angebote-right a {
    margin-top: auto;
}



.angebote-left h2,
.angebote-right h2 {
    min-height: 4.5rem;
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
}



.angebote-left p {
    line-height: 1.6;
    text-align: left;
}

/* TRENNLINIE */

/* RECHTER BLOCK */
.angebote-right {
    width: 45%;
}

.angebote-right h3 {
    margin-top: 15px;
    font-size: 16px;
}

.angebote-right ul {
    margin: 10px 0 15px 15px;
    line-height: 1.6;
}

/* BUTTON */
.btn {
    display: block;
    margin: 40px auto 0;
    padding: 12px 30px;
    width: 20rem;
    background: #ffff;
    color: #739f84;
    font-size: 1rem;
    border: none;
    border-radius: 999px;

    font-weight: 500;
    cursor: pointer;
}

.green-btn {
    display: block;
    margin: 40px auto 0;
    padding: 12px 30px;
    width: 20rem;
    color: #ffff;
    background: #739f84;
    font-size: 1rem;
    border: none;
    border-radius: 999px;

    font-weight: 500;
    cursor: pointer;
}

/* EINZEL */
.einzel {
    display: flex;
    gap: 40px;
    padding: 40px;
    background: #739f84;
    color: white;
}

/* ABOUT */

#einzel_divider {
    background: #70AC8F;
}

#einzel_button {
    background: #70AC8F;
    color: #ffff;
    margin-top: 40px;
    margin-bottom: 2rem;
}

/* ABOUT */

.about-section {
    padding: 60px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 10vh;
    background: rgba(112, 172, 143, 0.25);
}

.about-container {
    max-width: 1000px;
    width: 100%;
}

.about-content-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* Textgestaltung */
.about-text-content {
    flex: 1;
    text-align: center;
}

.about-text-content h1 {
    color: #618b76;
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.about-text-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

/* Bildgestaltung */
.about-image-container {
    flex: 1;
    display: flex;
    justify-content: center;
}

.profile-pic {
    width: 450px;
    height: 450px;
    width: 550px;
    height: 550px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    object-position: center 20%;
}


/* TESTIMONIAL */
.testimonial {
    padding: 40px;
    text-align: center;
    background: #E3E3D9;
    color: #336972;
}

/* KONTAKT */
.kontakt {
    background: #336972;
    color: white;
    text-align: center;
    padding: 40px;
}

.kontakt button {
    margin-top: 10px;
    padding: 10px 20px;
    color: #336972
}

/* FOOTER */
footer {
    text-align: center;
    padding: 15px;
    background: #336972E5;
    color: white;
}

/* Container-Design */
.info-section {
    background-color: #76a084;
    color: white;
    padding: 60px 40px;
    font-family: sans-serif;
    display: flex;
    justify-content: center;
}

.info-container {
    max-width: 1100px;
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

/* Spalten-Eigenschaften */
.column {
    flex: 1;
}

h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
}

p {
    margin-bottom: 15px;
    font-weight: 500;
}

/* Listen-Styling */
ul {
    list-style: none;
    padding: 0;
}

li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 15px;
    line-height: 1.5;
}


li::before {
    content: "•";
    position: absolute;
    left: 0;
    font-size: 1.5rem;
    line-height: 1;
}

/* Die vertikale Trennlinie */
.divider {
    width: 4px;
    background-color: white;
    align-self: stretch;
    opacity: 0.9;
}

/* Responsive Anpassung für Mobilgeräte */
@media (max-width: 850px) {
    .info-container {
        flex-direction: column;
        align-items: stretch;
    }

    .divider {
        width: 2px;
        margin: 20px 0;
    }
}

.kontakt .btn {
    transition: all 0.3s ease;
}

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

.testimonial-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;

    max-width: 900px;
    margin: 40px auto 0;
}

.testimonial-content {
    max-width: 650px;
}

.testimonial-content p {
    font-size: 1.2rem;
    font-style: italic;
    margin: 20px 0;
}

.testimonial-content h4 {
    font-weight: 600;
}

.arrow {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #336972;
    transition: transform 0.2s ease;
}

.arrow:hover {
    transform: scale(1.2);
}

#stars {
    font-size: 1.8rem;
    color: #e0b100;
}