html, body {
    font-family: var(--font-main);
    margin: 0;
    padding: 0;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-bg);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

.btn-primary {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 12px rgba(0,0,0,0.15);
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

code {
    color: #c02d76;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/* Modernes Design-System für IBHamidi */

:root {
    --primary-color: #1e5580; /* Blauton für Ingenieurbüro */
    --secondary-color: #3498db;
    --accent-color: #f39c12; /* Akzentfarbe für Hover-Effekte */
    --light-bg: #f8f9fa;
    --medium-bg: #e8f4f8;
    --dark-bg: #2c3e50;
    --text-color: #333;
    --light-text: #666;
    --white: #ffffff;
    --border-radius: 8px;
    --box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
    --font-main: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

/* Grundlegendes Layout - für Desktop und Mobile */
.page {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

/* Basis-Stile (gelten für alle Größen, können aber überschrieben werden) */
h1 {
    font-size: 3rem; /* Standard Desktop H1 */
}
h2 {
    font-size: 2.4rem; /* Standard Desktop H2 */
}
h3 {
    font-size: 1.7rem; /* Standard Desktop H3 */
}
p, li {
    font-size: 1.15rem; /* Standard Desktop Text */
    line-height: 1.8; /* Standard Desktop Zeilenabstand */
}

.content-section {
    padding: 2.5rem 3rem 3.5rem;
    margin-bottom: 2rem;
}

.content-section p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.15rem;
    text-align: justify;
}

/* Desktop-Layout (wenn größer als 768px) */
@media (min-width: 769px) {
    /* Stelle sicher, dass Desktop-Schriftgrößen korrekt sind */
    h1 {
        font-size: 3rem;
    }
    h2 {
        font-size: 2.4rem;
    }
    h3 {
        font-size: 1.7rem;
    }
    p, li {
        font-size: 1.15rem;
        line-height: 1.8;
    }
    .content-section p {
        font-size: 1.15rem;
        line-height: 1.8;
    }
    .nav-link {
        /* Schriftgröße wird durch .nav-item im Desktop-Bereich definiert */
    }
    
    /* Weitere Desktop-spezifische Größen und Abstände... */
    .content-section {
        padding: 2.5rem 3rem 3.5rem;
    }
    .content-section h1 {
        font-size: 2.6rem;
    }
    .content-section h2 {
        font-size: 2.4rem;
    }
    .content-section h3 {
        font-size: 1.7rem;
    }
    .main-banner {
        padding: 3rem 1rem 2rem;
    }
    .umwelt-intro, .intro-text {
        margin-bottom: 3rem;
    }
    .umwelt-grid, .content-grid {
        margin-bottom: 4rem;
        gap: 2rem;
    }
    .image-item img {
        max-height: 220px;
    }
    .leistungen-item img {
        height: 200px;
    }
    .map-container iframe {
        height: 450px;
    }
    footer {
        padding: 3rem 0;
        margin-top: 3rem;
    }
    .footer-content {
        padding: 0 2rem;
    }
    .footer-address p {
        font-size: 0.95rem;
    }
    .footer-links {
        margin-top: 0;
        gap: 2rem;
    }
    .footer-links a {
        font-size: 0.95rem;
    }

    .mobile-nav-toggle {
        display: none !important;
    }
    
    .page {
        flex-direction: row;
        min-height: 100vh;
    }

    .sidebar {
        width: 240px;
        height: 100vh;
        position: sticky;
        top: 0;
        background-color: var(--primary-color);
        left: 0;
        display: flex;
        flex-direction: column;
        box-shadow: 2px 0 5px rgba(0,0,0,0.1);
    }

    .sidebar::before {
        content: "IB Hamidi";
        display: block;
        color: white;
        font-size: 1.5rem;
        font-weight: 600;
        text-align: center;
        padding: 1.5rem 1rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        margin-bottom: 1.5rem;
    }

    main {
        flex: 1;
        max-width: calc(100% - 240px);
        display: flex;
        flex-direction: column;
    }
    
    article.content {
        max-width: 100%;
        margin: 0 auto;
        flex: 1;
        padding: 0 2rem;
    }

    .nav-scrollable {
        padding-top: 0;
        flex: 1;
        overflow-y: auto;
    }
    
    .nav-item {
        margin: 0;
        position: relative;
    }
    
    .nav-link {
        color: rgba(255,255,255,0.9);
        padding: 0.8rem 1.2rem;
        transition: all 0.2s ease;
        border-left: 3px solid transparent;
        font-weight: 500;
        text-align: left;
        line-height: 1.3;
    }
    
    .nav-link:hover, 
    .nav-link.active {
        color: white;
        background-color: rgba(255,255,255,0.1);
        border-left-color: var(--accent-color);
    }
    
    .nav-link:after {
        display: none; /* Entferne die Unterstreichung auf Desktop */
    }
    
    .submenu {
        position: static;
        left: auto;
        top: auto;
        width: auto;
        background-color: rgba(0,0,0,0.15);
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        margin: 0;
        display: block;
    }
    
    .submenu .nav-link {
        padding: 0.6rem 0.5rem 0.6rem 2rem;
        font-size: 0.92rem;
        color: rgba(255,255,255,0.8);
        border-left: 2px solid transparent;
    }
    
    .submenu .nav-link:hover,
    .submenu .nav-link.active {
        background-color: rgba(255,255,255,0.05);
        color: white;
        border-left-color: rgba(255, 255, 255, 0.5);
    }
}

/* Mobile-Layout (wenn kleiner als 768px) */
@media (max-width: 768px) {
    /* Optimierte Text- und Bildgrößen für Mobile */
    h1 {
        font-size: 2.2rem; /* Kleinere H1 nur für Mobile */
    }
    
    h2 {
        font-size: 1.8rem; /* Kleinere H2 nur für Mobile */
    }
    
    h3 {
        font-size: 1.4rem; /* Kleinere H3 nur für Mobile */
    }
    
    p, li {
        font-size: 1rem; /* Kleinerer Text nur für Mobile */
        line-height: 1.6; /* Angepasster Zeilenabstand nur für Mobile */
    }
    
    .nav-link {
         font-size: 1.2rem; /* Mobile Navigationslinks - von der allgemeinen p, li Regel getrennt */
         color: var(--white);
    }
    
    .content-section {
        padding: 1.5rem 1rem 2rem; /* Weniger Padding nur für Mobile */
    }
    
    .content-section h1 {
        font-size: 2rem; /* Kleinere Section H1 nur für Mobile */
        margin-bottom: 1.5rem;
    }
    
    .content-section h2 {
        font-size: 1.6rem; /* Kleinere Section H2 nur für Mobile */
        margin-bottom: 1rem;
    }
    
    .content-section h3 {
        font-size: 1.3rem; /* Kleinere Section H3 nur für Mobile */
    }
    
    .content-section p {
        margin-bottom: 1rem;
        line-height: 1.6; /* Angepasster Zeilenabstand nur für Mobile */
        font-size: 1rem; /* Kleinerer Section Text nur für Mobile */
    }
    
    /* Reduzierte Abstände */
    .main-banner {
        padding: 1.5rem 1rem 1rem;
        margin-bottom: 1rem;
    }
    
    .umwelt-intro, .intro-text {
        margin-bottom: 1.5rem;
    }
    
    .umwelt-grid, .content-grid {
        margin-bottom: 2rem;
        gap: 1rem;
    }
    
    /* Bilder verkleinern */
    .image-item img {
        max-height: 180px;
    }
    
    .leistungen-item img {
        height: 150px;
    }
    
    /* Kartenabmessungen */
    .map-container iframe {
        height: 250px;
    }
    
    /* Basis-Einstellungen für die Sidebar */
    .sidebar {
        width: 75%;
        height: 100vh;
        position: fixed;
        top: 0;
        right: -100%;
        background-color: var(--primary-color);
        z-index: 1000;
        overflow-y: auto;
        transition: right 0.3s ease;
        box-shadow: -2px 0 5px rgba(0,0,0,0.2);
        display: block;
    }
    
    /* Explizite Regel für IS-OPEN */
    .sidebar.is-open {
        right: 0; /* Bewegt sie vollständig ins Sichtfeld */
    }
    
    /* Standardmäßiges Verhalten von Navigations-Buttons überschreiben */
    .sidebar button,
    .sidebar .navbar-toggler,
    .sidebar .btn-link,
    .sidebar [role="button"],
    .nav-scrollable button,
    .nav-scrollable .navbar-toggler,
    .nav-scrollable .btn-link {
        display: none !important; /* Verstecke alle Buttons in der Navigationsleiste */
    }
    
    /* Haupt-Container nimmt volle Breite ein */
    main {
        width: 100%;
        margin-left: 0;
    }
    
    /* Verbesserte Navigation für Mobile */
    .nav-scrollable {
        padding-top: 3.5rem; /* Mehr Platz oben für den Toggle-Button */
        padding-bottom: 2rem; /* Platz am Ende */
    }
    
    .nav-item {
        width: 100%;
        text-align: right;
        padding: 0;
        margin: 0.5rem 0; /* Mehr Platz zwischen den Menüpunkten */
    }
    
    .nav-link {
        text-align: right;
        padding: 1rem 1.5rem;
        display: block;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        font-size: 1.2rem; /* Größerer Text für bessere Lesbarkeit */
        color: var(--white);
    }
    
    /* Stile anpassen, falls der Navigationsbereich ein verstecktes Element enthält */
    .navbar-dark,
    .top-row,
    .navbar-brand,
    .navbar-toggler {
        display: none !important; /* Verstecke alle möglichen Navigation-Header-Elemente */
    }
    
    /* Nur der Haupt-Toggle-Button soll sichtbar sein */
    .mobile-nav-toggle {
        display: block !important;
        position: fixed;
        top: 15px;
        right: 15px;
        z-index: 1001; /* Höher als die Sidebar */
        background: var(--primary-color);
        color: white;
        border: none;
        padding: 10px 12px;
        cursor: pointer;
        border-radius: var(--border-radius);
        font-size: 1.7rem;
        box-shadow: 0 3px 5px rgba(0,0,0,0.2);
        transition: all 0.3s ease;
    }
    
    .mobile-nav-toggle:hover,
    .mobile-nav-toggle:focus {
        background-color: var(--secondary-color);
        transform: translateY(-2px);
    }
    
    /* Überschreibe die Nav-Link-After-Effekte für Mobile */
    .nav-link:after {
        left: auto;
        right: 1.5rem;
        transform: none;
    }
    
    .nav-link:hover:after {
        width: 30px;
    }
    
    /* Logo-Anpassungen für Mobile */
    .top-banner {
        padding: 0.5rem 1rem;
        justify-content: center;
    }
     
    .logo-container {
        margin-left: 0;
        justify-content: center;
    }
     
    .logo {
        max-height: 70px;
    }
     
    /* Submenu-Anpassungen für Mobile */
    .submenu {
        position: static;
        display: block !important; /* Immer anzeigen */
        width: 100%;
        background-color: rgba(0,0,0,0.15); /* Dunklerer Hintergrund für Submenüs */
        padding: 0.5rem 0;
        box-shadow: none;
        border-radius: 0;
        margin-top: 0;
        margin-bottom: 0.5rem;
    }
    
    .submenu .nav-link {
        padding: 0.7rem 2.5rem 0.7rem 1rem; /* Mehr Einrückung rechts */
        font-size: 0.95rem;
        text-align: right;
        color: rgba(255,255,255,0.9); /* Etwas hellerer Text */
        border-bottom: 1px solid rgba(255,255,255,0.05); /* Dünnere Trennlinie */
    }
    
    .submenu .nav-link:last-child {
        border-bottom: none; /* Keine Linie nach dem letzten Element */
    }
    
    /* Footer kompakter */
    footer {
        padding: 2rem 0;
        margin-top: 2rem;
    }
    
    .footer-content {
        padding: 0 1rem;
    }
    
    .footer-address p {
        font-size: 0.9rem;
        margin: 0.2rem 0;
    }
    
    .footer-links {
        margin-top: 1rem;
        gap: 1rem;
    }
    
    .footer-links a {
        font-size: 0.9rem;
    }
}

/* Navigation */
.top-row {
    background-color: var(--primary-color);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
    text-align: center;
    display: block;
    padding: 1rem 0;
    letter-spacing: 0.5px;
}

.navbar-dark {
    background-color: var(--primary-color);
}

.nav-item {
    padding: 0;
    position: relative;
    text-align: center;
}

.nav-link {
    color: var(--white);
    border-radius: 0;
    padding: 1rem 1.2rem;
    display: block;
    font-size: 1.1rem;
    position: relative;
    transition: var(--transition);
}

.nav-link:after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 1.2rem;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-link:hover:after {
    width: 30px;
}

.nav-link:hover {
    color: var(--white);
    background-color: rgba(0, 0, 0, 0.1);
}

.submenu {
    position: absolute;
    left: 100%;
    top: 0;
    width: 220px;
    background-color: var(--secondary-color);
    box-shadow: var(--box-shadow);
    border-radius: var(--border-radius);
    display: none;
    z-index: 10;
}

.nav-item:hover .submenu {
    display: block;
}

.submenu .nav-link {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    text-align: left;
}

/* Logo und Header */
.top-banner {
    background-color: var(--white);
    padding: 1rem 2rem;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    display: flex;
    justify-content: flex-start;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.logo-container {
    display: flex;
    justify-content: flex-start;
    padding: 0.5rem 0;
    margin-left: 1rem;
}

.header-spacer {
    flex-grow: 1;
}

.logo {
    max-height: 85px;
    max-width: 100%;
    display: block;
    transition: var(--transition);
}

.logo-primary {
    transition: var(--transition);
}

.logo-primary:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.1));
}

/* Main Banner */
.main-banner {
    text-align: center;
    padding: 3rem 1rem 2rem;
    background-color: #ffffff;
    margin-bottom: 2rem;
    border-bottom: 1px solid #eee;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 992px) {
    .main-banner {
        width: 80%;
        max-width: 1400px;
    }
}

.main-banner h1 {
    font-size: 2.6rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

@media (min-width: 992px) {
    .main-banner h1 {
        font-size: 3rem;
    }
}

.main-banner h2 {
    font-size: 1.8rem;
    font-weight: normal;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

@media (min-width: 992px) {
    .main-banner h2 {
        font-size: 2rem;
    }
}

.tagline {
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    padding: 0.7rem 0;
    margin: 0 auto;
    max-width: 80%;
}

@media (min-width: 992px) {
    .tagline {
        max-width: 70%;
    }
}

.tagline h3 {
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin: 0;
    color: #777;
    font-weight: normal;
}

@media (min-width: 992px) {
    .tagline h3 {
        font-size: 1.3rem;
        letter-spacing: 3px;
    }
}

/* Content Sections */
.content-section {
    max-width: 90%;
    margin: 0 auto;
    padding: 2rem 1rem 3rem;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-top: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 992px) {
    .content-section {
        max-width: 80%;
        padding: 2.5rem 3rem 3.5rem;
    }
}

.content-section h1 {
    font-size: 2.6rem;
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
}

.content-section h1:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
}

.content-section h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    text-align: center;
}

@media (min-width: 992px) {
    .content-section h2 {
        font-size: 2.4rem;
        margin-bottom: 2rem;
    }
}

.content-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    color: var(--secondary-color);
}

@media (min-width: 992px) {
    .content-section h3 {
        font-size: 1.7rem;
    }
}

.content-section p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 1.1rem;
    text-align: justify;
}

@media (min-width: 992px) {
    .content-section p {
        font-size: 1.15rem;
        line-height: 1.8;
    }
}

.larger-text {
    font-size: 1.15rem !important;
    line-height: 1.8 !important;
}

@media (min-width: 992px) {
    .larger-text {
        font-size: 1.2rem !important;
        line-height: 1.9 !important;
    }
}

/* Image Grid */
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 90%;
    margin: 2rem auto;
    padding: 0 1rem;
}

@media (min-width: 992px) {
    .image-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
        max-width: 85%;
        margin: 3rem auto;
    }
}

.image-item {
    text-align: center;
}

.image-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

@media (min-width: 992px) {
    .image-item img {
        height: 220px;
        transition: transform 0.3s ease;
    }
    
    .image-item img:hover {
        transform: scale(1.05);
    }
}

.image-item p {
    margin-top: 0.5rem;
    font-weight: bold;
    color: var(--primary-color);
    font-size: 1.1rem;
}

@media (min-width: 992px) {
    .image-item p {
        font-size: 1.2rem;
        margin-top: 1rem;
    }
}

/* Umwelt-Seite */
.umwelt-intro, .intro-text {
    max-width: 85%;
    margin: 0 auto 3rem;
    text-align: center;
}

@media (min-width: 992px) {
    .umwelt-intro, .intro-text {
        max-width: 75%;
        margin: 0 auto 4rem;
    }
}

.umwelt-intro p, .intro-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--light-text);
    text-align: justify;
}

@media (min-width: 992px) {
    .umwelt-intro p, .intro-text p {
        font-size: 1.2rem;
        line-height: 1.8;
    }
}

.umwelt-grid, .content-grid {
    display: flex;
    flex-direction: column;
    margin-bottom: 4rem;
    gap: 2rem;
}

@media (min-width: 768px) {
    .umwelt-grid, .content-grid {
        flex-direction: row;
        align-items: center;
    }
    
    .umwelt-grid.reverse, .content-grid.reverse {
        flex-direction: row-reverse;
    }
    
    .umwelt-image, .grid-image {
        flex: 1;
    }
    
    .umwelt-text, .grid-text {
        flex: 1;
        padding: 0 2rem;
    }
}

.umwelt-image img, .grid-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.umwelt-text p, .grid-text p {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: var(--light-text);
    text-align: justify;
}

.umwelt-certifications, .info-section {
    background-color: var(--light-bg);
    padding: 3rem;
    border-radius: var(--border-radius);
    margin-bottom: 4rem;
}

.umwelt-certifications h2, .info-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.umwelt-certifications ul, .info-section ul {
    max-width: 800px;
    margin: 0 auto;
    padding-left: 1.5rem;
}

.umwelt-certifications li, .info-section li {
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Leistungen-Seite */
.leistungen-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.leistungen-item {
    background-color: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: var(--transition);
}

.leistungen-item:hover {
    transform: translateY(-5px);
}

.leistungen-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.leistungen-item h2 {
    font-size: 1.5rem;
    margin: 1rem;
    color: var(--primary-color);
}

.leistungen-item p {
    padding: 0 1rem;
    margin-bottom: 1.5rem;
    color: var(--light-text);
    text-align: justify;
}

.btn-leistung {
    display: inline-block;
    margin: 0 1rem 1rem;
    padding: 0.5rem 1rem;
    background-color: var(--primary-color);
    color: #fff;
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.btn-leistung:hover {
    background-color: var(--secondary-color);
    text-decoration: none;
    color: #fff;
}

/* Kontakt-Seite */
.kontakt-content {
    display: flex;
    flex-direction: column;
    max-width: 1000px;
    margin: 0 auto;
    gap: 2rem;
}

@media (min-width: 768px) {
    .kontakt-content {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .kontakt-info {
        width: 40%;
    }
    
    .kontakt-map {
        width: 55%;
    }
}

.kontakt-info h2, .kontakt-info h3, .kontakt-map h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.kontakt-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--box-shadow);
    border-left: 4px solid var(--accent-color);
}

.kontakt-info p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    text-align: justify;
}

.kontakt-info i {
    color: var(--accent-color);
    width: 20px;
    margin-right: 8px;
}

.kontakt-info a {
    color: var(--primary-color);
    font-weight: 500;
    transition: var(--transition);
}

.kontakt-info a:hover {
    color: var(--accent-color);
    text-decoration: none;
}

.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

/* Impressum & Datenschutz */
.impressum-content, .datenschutz-content {
    max-width: 800px;
    margin: 0 auto;
}

.impressum-content h1, .datenschutz-content h1 {
    margin-bottom: 2rem;
    text-align: center;
    color: var(--primary-color);
}

.impressum-content h2, .datenschutz-content h2 {
    font-size: 1.3rem;
    margin-top: 2rem;
    color: var(--secondary-color);
}

.impressum-content p, .datenschutz-content p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    text-align: justify;
}

.datenschutz-content h3 {
    font-size: 1.2rem;
    margin-top: 1.5rem;
    color: var(--secondary-color);
}

.datenschutz-content h4 {
    font-size: 1.1rem;
    margin-top: 1rem;
    color: var(--secondary-color);
}

/* CTA Sections */
.cta-section {
    text-align: center;
    background-color: var(--light-bg);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    margin-top: 2rem;
    width: 85%;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 992px) {
    .cta-section {
        padding: 3rem;
        margin-top: 3rem;
        width: 80%;
        box-shadow: var(--box-shadow);
    }
}

.cta-section h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 2.2rem;
}

@media (min-width: 992px) {
    .cta-section h2 {
        font-size: 2.5rem;
        margin-bottom: 2rem;
    }
}

.cta-section p {
    max-width: 80%;
    margin: 0 auto 2rem;
    line-height: 1.7;
    font-size: 1.1rem;
    text-align: justify;
}

@media (min-width: 992px) {
    .cta-section p {
        max-width: 70%;
        font-size: 1.2rem;
        line-height: 1.8;
    }
}

/* Footer */
footer {
    background-color: var(--dark-bg);
    color: var(--white);
    padding: 3rem 0;
    margin-top: 3rem;
    width: 100%;
    position: relative;
    bottom: 0;
    left: 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 1rem;
}

@media (min-width: 769px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        padding: 0 2rem;
    }
}

.footer-address p {
    margin: 0.3rem 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer-links {
    display: flex;
    gap: 2rem;
    margin-top: 1.5rem;
}

@media (min-width: 769px) {
    .footer-links {
        margin-top: 0;
    }
}

.footer-links a {
    color: var(--white);
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.footer-links a:after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.footer-links a:hover:after {
    width: 100%;
}

.footer-links a:hover {
    color: var(--accent-color);
}

/* Hilfsklassen */
.no-wrap {
    white-space: nowrap;
}

/* Navigation Hilfsklassen */
.nav-scrollable {
    overflow-y: auto;
    max-height: calc(100vh - 3.5rem);
}

.container-fluid {
    width: 100%;
    padding-right: 0;
    padding-left: 0;
    margin-right: auto;
    margin-left: auto;
}

.p-0 {
    padding: 0 !important;
}

.px-3 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

/* Responsive Größenanpassungen */
@media (max-width: 1200px) {
    .content-section, .main-banner {
        max-width: 95%;
    }
}

@media (min-width: 1201px) {
    .content-section, .main-banner {
        max-width: 1200px;
    }
}

/* Content Anpassungen */
.px-4 {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.content-wide {
    width: 95%;
    margin: 0 auto;
}