:root {
    --brand-green: #1c8f34;
}

/* Grundschrift – Roboto */
body {
    font-family: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
    font-weight: 300;
    font-size: 16px;
    color: #333;
}

/* Menü – Lato */
.navbar-custom .nav-link,
.navbar-custom .navbar-brand {
    font-family: "Lato", sans-serif;
    font-weight: 400;
    letter-spacing: 0.3px;
    font-size: 1.02rem;
}

/* Dropdown-Unterpunkte */
.navbar-custom .dropdown-item {
    font-family: "Lato", sans-serif;
    font-size: 0.95rem;
    font-weight: 300;
}

/* Service-Links (allgemein, falls woanders benutzt) */
.service-link {
    font-family: "Roboto", sans-serif;
    font-weight: 300;
    font-size: 0.85rem;
}

/* Überschriften – Lato, etwas eleganter */
h1,
h2,
h3,
h4 {
    font-family: "Lato", sans-serif;
    font-weight: 700;
    letter-spacing: 0.4px;
    color: #1c1c1c;
}

/* Hauptinhaltsbreite */
.main-wrapper {
    max-width: 90%;
    margin: 0 auto;
}

/* Banner */
.hero-banner img {
    width: 100%;
    height: auto;
    display: block;
}

/* Logo */
.logo-img {
    width: 100%;
    height: auto;
    max-width: 100%;
}


/* Desktop: Logo größer & ohne Verschiebung */
@media (min-width: 992px) {
  header .logo-img {
    width: 700px !important;  /* hier Logo-Größe einstellen */
    max-width: none;
    height: auto;
    transform: none;          /* bleibt links ausgerichtet, kein translateX */
  }
}


.logo-column,
.textblock-column {
    padding-inline: 0.75rem;
}

/* --- NAVBAR / GRÜNER BALKEN --- */

.navbar-custom {
    background-color: var(--brand-green);
}

.navbar-custom .nav-link,
.navbar-custom .navbar-brand {
    color: #ffffff;
}

.navbar-custom .nav-link:hover {
    color: #e9e9e9;
}

/* Burger-Toggler */
.navbar-custom .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.7);
    border-radius: 4px;
    padding: 0.4rem 0.6rem;
    margin-left: auto;
    margin-right: 0.25rem;
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
}

.navbar-custom .navbar-toggler-icon {
    width: 1.5em;
    height: 1.5em;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Desktop: Dropdown auf Hover */
@media (min-width: 992px) {
    .navbar-custom .dropdown:hover > .dropdown-menu {
        display: block;
        margin-top: 0;
    }

    .navbar-custom .dropdown-menu {
        background-color: #ffffff;
        border-radius: 0;
        border: none;
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
    }

    .navbar-custom .dropdown-item {
        color: #333;
        font-size: 0.9rem;
    }

    .navbar-custom .dropdown-item:hover {
        background-color: rgba(0, 0, 0, 0.03);
    }
}

/* --- MOBILES MENÜ --- */
@media (max-width: 991.98px) {

    /* schöner Abstand zwischen Toggler und Panel */
    .navbar-custom .navbar-collapse.show {
        margin-top: 0.75rem;
    }

    /* Hauptmenüpunkte breiter / besser klickbar */
    .navbar-custom .nav-link {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
        font-size: 1.05rem;
    }

    /* 1px Linie nur zwischen Hauptpunkten */
    .navbar-custom .nav-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    }

    /* Collapse-Hintergrund */
    .navbar-custom .navbar-collapse {
        background-color: var(--brand-green);
        padding: 0.5rem 0;
    }

    /* Dropdown-Panel mobil: flächig, ohne Schatten */
    .navbar-custom .dropdown-menu {
        display: none;
        position: static;
        float: none;
        border: none;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.06);
        margin: 0;
        padding: 0.25rem 0;
    }

    .navbar-custom .dropdown-menu.show {
        display: block !important;
        animation: fadeDown 0.25s ease;
    }

    @keyframes fadeDown {
        from {
            opacity: 0;
            transform: translateY(-5px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Unterpunkte eingerückt, aber keine Linien */
    .navbar-custom .dropdown-menu .dropdown-item {
        border-bottom: none !important;
        padding-left: 2.25rem;
        padding-right: 1.25rem;
        background: transparent;
        font-size: 0.95rem;
    }

    /* Plus-/Minus-Icon rechts */
    .submenu-icon {
        display: inline-block;
        width: 18px;
        height: 18px;
        margin-left: 8px;
        text-align: center;
    }

    .submenu-icon::before {
        content: "+";
        color: #fff;
        font-size: 18px;
        font-weight: 300;
        line-height: 18px;
    }

    .mobile-toggle.open .submenu-icon::before {
        content: "–";
    }
}

@media (max-width: 991.98px) {

    /* Pfeil (Caret) von Bootstrap im mobilen Menü ausblenden */
    .navbar-custom .dropdown-toggle::after {
        display: none !important;
    }
}

@media (max-width: 991.98px) {

    /* Unterpunkte im mobilen Menü in Weiß darstellen */
    .navbar-custom .dropdown-menu .dropdown-item {
        color: #ffffff !important;
    }

    /* Hover-Effekt etwas dezenter */
    .navbar-custom .dropdown-menu .dropdown-item:hover {
        background: rgba(255, 255, 255, 0.15);
        color: #ffffff !important;
    }
}

/* =======================================================
   TOP-SERVICES (Fachgebiete) – Desktop & Mobile
   ======================================================= */
/* =======================================================
   TOP-SERVICES (Fachgebiete) – immer 3 Spalten
   links (rechtsbündig) • Punkte • rechts (linksbündig)
   ======================================================= */

/* Wrapper */
.top-services {
    padding: 1.25rem 0;
    font-size: 0.95rem;
    line-height: 1.3;
}

/* 3 Spalten: links – Punkt – rechts */
.top-services .services-row {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 1.75rem;
}

/* Spalten-Ausrichtung */
.top-services .services-col-left {
    text-align: right;
    padding-right: 0.5rem;
}

.top-services .services-col-center {
    display: flex;
    justify-content: center;
}

.top-services .services-col-right {
    text-align: left;
    padding-left: 0.5rem;
}

/* ULs links/rechts und Punktliste */
.top-services .services-list,
.top-services .services-dot-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Zeilenhöhe: links / Mitte / rechts identisch */
.top-services .services-item,
.top-services .services-dot-list li {
    margin: 0;
    padding: 0.25rem 0;
    font-size: 0.95rem;
    line-height: 1.3;
}

/* Punkt-Zeilen in der Mitte vertikal zentrieren */
.top-services .services-dot-list li {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* sichtbarer grüner Punkt */
.top-services .services-dot-list li::before {
    content: "";
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: var(--brand-green);
}

/* Links im Services-Block */
.top-services .services-link {
    color: #717171;
    text-decoration: none;
    font-weight: 700 !important;
}

.top-services .services-link:hover,
.top-services .services-link:focus {
    text-decoration: underline;
    color: var(--brand-green);
}

/* ====== MOBIL: auch 3 Spalten! ====== */
@media (max-width: 767.98px) {

    /* Explizit Grid mit 3 Spalten erzwingen */
    .top-services .services-row {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        column-gap: 0.6rem;
        align-items: center;
        justify-content: center;
    }

    .top-services .services-col-left,
    .top-services .services-col-right {
        width: auto;
        padding: 0;
    }

    .top-services .services-col-left {
        text-align: right;
    }

    .top-services .services-col-right {
        text-align: left;
    }

    /* etwas kleinere Schrift + engerer Abstand auf Handy */
    .top-services .services-item,
    .top-services .services-dot-list li {
        font-size: 0.9rem;
        padding: 0.2rem 0;
        line-height: 1.3;
    }
}



/* ---------------------------
   FOOTER
---------------------------- */

.site-footer {
    background: #e5e5e5; /* helleres Grau */
    padding: 2.5rem 0;
    margin-top: 3rem;
    border-top: 1px solid #ccc;
    color: #333;
    font-family: "Roboto", sans-serif;
    font-weight: 300;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
}

.footer-left p,
.footer-right p {
    margin: 0;
    line-height: 1.6;
    font-size: 0.95rem;
    color: #444;
}

/* Footer Links */
.site-footer a {
    color: #444;
    text-decoration: none;
    font-family: "Lato", sans-serif;
    font-size: 0.95rem;
}

.site-footer a:hover {
    text-decoration: underline;
}

/* Mobile Footer */
@media (max-width: 768px) {
    .footer-inner {
        flex-direction: column;
        text-align: left;
    }

    .footer-right {
        margin-top: 1.5rem;
    }
}

/* FOOTER CENTER ARROW */
.footer-center {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
}

.footer-arrow {
    font-size: 1.6rem;
    color: #777;
    transition: color 0.2s ease, transform 0.2s ease;
    cursor: pointer;
}

.footer-arrow:hover {
    color: #333;
    transform: translateY(-3px);
}

/* Mobile: Pfeil schön mittig übereinander */
@media (max-width: 768px) {
    .footer-inner {
        flex-direction: column;
        text-align: left;
    }

    .footer-left,
    .footer-right,
    .footer-center {
        width: 100%;
        text-align: center;
    }

    .footer-right {
        margin-top: 1.5rem;
    }

    .footer-center {
        margin: 1.5rem 0;
    }
}
