/* HÜBNER BAUGENERAL UNTERNEHMEN - STYLESHEET v2.0 */
:root {
    --primary: #A04030;
    --primary-dark: #7a2e22;
    --text: #333333;
    --light-bg: #F4F4F4;
    --white: #FFFFFF;
    --dark: #222222;
    --gray: #666666;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Roboto', sans-serif; color: var(--text); line-height: 1.6; }
.container { width: 90%; max-width: 1100px; margin: 0 auto; }

/* TOPBAR */
.topbar { background: var(--white); border-bottom: 1px solid #e0e0e0; padding: 8px 0; font-size: 0.9rem; }
.topbar-inner { display: flex; justify-content: flex-end; gap: 30px; }
.topbar a { display: inline-flex; align-items: center; gap: 6px; color: var(--gray); text-decoration: none; }
.topbar a:hover { color: var(--primary); }

/* HEADER */
.main-header { background: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,0.1); position: sticky; top: 0; z-index: 1000; padding: 15px 0; }
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.logo-placeholder { font-weight: bold; font-size: 1.5rem; color: var(--primary); }
.main-nav ul { display: flex; gap: 25px; }
.main-nav a { color: var(--text); text-decoration: none; font-weight: 500; }
.main-nav a:hover, .main-nav a.active { color: var(--primary); }
.mobile-menu-toggle { display: none; font-size: 1.5rem; cursor: pointer; }

/* HERO */
.hero, .hero-sach { background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://images.unsplash.com/photo-1628624747186-a941c72bb422?auto=format&fit=crop&w=1600&q=80'); background-size: cover; background-position: center; color: white; padding: 80px 0; text-align: center; }
.hero h1, .hero-sach h1 { font-size: 2.5rem; margin-bottom: 15px; }
.hero p, .hero-sach p { font-size: 1.1rem; opacity: 0.9; max-width: 700px; margin: 0 auto; }

/* SECTIONS */
.section { padding: 60px 0; }
.bg-light { background: var(--light-bg); }
.bg-dark { background: var(--dark); color: white; }
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { font-size: 1.8rem; color: var(--primary); margin-bottom: 10px; }
.section-title p { color: var(--gray); max-width: 600px; margin: 0 auto; }

/* SERVICES GRID */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.service-card { background: white; padding: 25px; border-radius: 8px; box-shadow: 0 3px 10px rgba(0,0,0,0.05); text-align: center; transition: transform 0.3s; }
.service-card:hover { transform: translateY(-5px); }
.service-icon { font-size: 3rem; margin-bottom: 15px; }
.service-card h3 { color: var(--primary); margin-bottom: 10px; }
.service-card p { color: var(--gray); font-size: 0.95rem; }
.service-card a { color: var(--primary); text-decoration: none; font-weight: 600; }

/* SACHVERSTÄNDIGER */
.expert-card { background: white; border: 2px solid var(--primary); padding: 30px; border-radius: 8px; text-align: center; margin: 60px auto; max-width: 700px; }
.services-sach-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.service-sach-item { background: white; padding: 20px; border-radius: 8px; text-align: center; }
.service-sach-item h4 { color: var(--primary); margin-bottom: 5px; }

/* GALERIE */
.gallery-section { background: var(--light-bg); padding: 60px 0; }
.gallery-track { display: flex; gap: 15px; overflow-x: auto; scroll-behavior: smooth; padding: 20px 10px; }
.gallery-slide { flex: 0 0 300px; height: 200px; border-radius: 8px; overflow: hidden; background: #ddd; }
.gallery-slide img { width: 100%; height: 100%; object-fit: cover; }
.gallery-controls { display: flex; justify-content: center; gap: 15px; margin-top: 20px; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--primary); background: white; cursor: pointer; }

/* FOOTER */
.main-footer { background: var(--dark); color: #aaa; padding: 30px 0; text-align: center; font-size: 0.9rem; }
.footer-info { margin: 10px 0; }
.footer-info a { color: white; text-decoration: none; }
.footer-links { margin-top: 15px; }
.footer-links a { margin: 0 10px; color: #aaa; }

/* RESPONSIVE */
@media (max-width: 768px) {
    .main-nav ul { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; width: 100%; background: white; padding: 20px; box-shadow: 0 5px 10px rgba(0,0,0,0.1); }
    .main-nav ul.active { display: flex; }
    .mobile-menu-toggle { display: block; }
    .topbar-inner { justify-content: center; flex-wrap: wrap; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-slide { flex: 0 0 250px; }
}

@media (max-width: 480px) {
    .services-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 1.8rem; }
}
