:root {
    --primary: #2c7a7b;
    --secondary: #319795;
    --bg: #f7fafc;
    --text: #2d3748;
    --font: 'Inter', sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    font-family: var(--font);
    background-color: var(--bg);
    color: var(--text);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}
.top-bar-header {
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 40px;
    background-color: rgba(30, 30, 30, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    overflow-x: hidden;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    background: #fff;
    color: #333;
    padding: 4px;
    border-radius: 4px;
    font-size: 0.9rem;
}

.logo-icon img {
		width: 44px;
	  max-width: 100%;
	  transition: width 300ms;
}

.site-title {
    font-size: 0.95rem;
    font-weight: 500;
    color: #e0e0e0;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.main-nav a {
    text-decoration: none;
    color: #cccccc;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 4px 0;
    position: relative;
    transition: color 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
    color: #ffffff;
}

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #ffffff;
}

.main-nav a.admin-link {
    color: #ff6b6b;
    background: transparent;
}

.btn-kontakt {
    background-color: #ffffff;
    color: #222222;
    padding: 8px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background-color 0.2s;
}

.btn-kontakt:hover {
    background-color: #e0e0e0;
}

/* Hero Section mit Hintergrundbild */
.hero-header-section {
    position: relative;
    width: 100%;
    min-height: 85vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.hero-content-center {
    max-width: 730px;
    text-align: center;
    color: #ffffff;
}

.hero-content-center h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 25px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

.hero-intro-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #f1f1f1;
    text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}

@media (max-width: 900px) {
    .top-bar-header {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
    .main-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    .hero-content-center h1 {
        font-size: 2.2rem;
    }
}
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: 0.3s;
}

.mobile-cta-wrapper {
    display: none;
}
@media (max-width: 900px) {
    .top-bar-header {
        padding: 12px 20px;
        flex-wrap: wrap;
    }
    .desktop-cta {
        display: none;
    }
    .menu-toggle {
        display: flex; 
    }
    .main-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding-top: 20px;
        padding-bottom: 10px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        margin-top: 15px;
    }
    .main-nav.active {
        display: flex;
    }
    .mobile-cta-wrapper {
        display: block;
        margin-top: 10px;
        width: 100%;
        text-align: center;
    }
    .mobile-cta-wrapper .btn-kontakt {
        display: block;
        width: 100%;
        padding: 10px;
    }
    .hero-content-center h1 {
        font-size: 2.2rem;
        line-height: 1.1;
    }

    .hero-intro-text p {
        font-size: 1rem;
    }
}
img {
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain;
    display: block;
}
@media (max-width: 900px) {
    [style*="display: flex"] {
        flex-direction: column !important;
        align-items: stretch !important;
    }
    .builder-block-card, div[style*="max-width"] {
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden;
    }
}
#cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #2d3748;
    color: #fff;
    padding: 1rem 2rem;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.2);
    z-index: 99999;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    box-sizing: border-box;
}
#cookie-banner.show {
    display: flex !important;
}