/* ═══════════════════════════════════════════════════════
   STEURER ERDBAU – Stylesheet
   ═══════════════════════════════════════════════════════
   Farben anpassen: alle Werte stehen in den :root-Variablen
   unten – einmal ändern wirkt sich auf die gesamte Seite aus.
   ═══════════════════════════════════════════════════════ */

:root {
    --primary:      #8B5E3C;   /* Hauptfarbe (Braun) */
    --primary-dark: #6B4423;
    --accent:       #E8981A;   /* Akzentfarbe (Orange – passend zum Logo) */
    --dark:         #1C1408;   /* Sehr dunkles Braun (Texte, Footer) */
    --text:         #3A3228;
    --gray:         #7A7068;
    --light:        #F7F1EA;   /* Heller Hintergrund für Sektionen */
    --white:        #FFFFFF;
    --shadow:       0 4px 24px rgba(0,0,0,0.12);
    --radius:       8px;
    --ease:         all 0.3s ease;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html  { scroll-behavior: smooth; }
body  { font-family: 'Open Sans', sans-serif; color: var(--text); background: var(--white); overflow-x: hidden; }
h1, h2, h3, h4 { font-family: 'Montserrat', sans-serif; font-weight: 700; }
img   { display: block; }

/* ─── NAVIGATION ─────────────────────────────────── */
nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 1.2rem 5%;
    display: flex; justify-content: space-between; align-items: center;
    transition: var(--ease);
}
nav.scrolled {
    background: rgba(28,20,8,0.95);
    backdrop-filter: blur(8px);
    padding: 0.8rem 5%;
    box-shadow: 0 2px 20px rgba(0,0,0,0.35);
}
.nav-logo {
    text-decoration: none;
    display: flex; align-items: center;
    overflow: hidden; border-radius: 2px;
    height: 36px; width: 162px;
}
.nav-logo img {
    height: 36px; width: 162px;
    object-fit: cover; object-position: center 50%;
    display: block;
}
.nav-links { display: flex; gap: 2.2rem; list-style: none; }
.nav-links a {
    color: var(--white); text-decoration: none;
    font-size: 0.82rem; font-weight: 600;
    letter-spacing: 0.8px; text-transform: uppercase;
    opacity: 0.85; transition: var(--ease);
}
.nav-links a:hover { color: var(--accent); opacity: 1; }
.nav-toggle {
    display: none; background: none; border: none;
    color: var(--white); font-size: 1.5rem; cursor: pointer;
}

/* ─── HERO ───────────────────────────────────────── */
#hero {
    min-height: 100vh;
    background: linear-gradient(135deg,#2C1810 0%,#4A3020 60%,#1A1008 100%);
    position: relative; display: flex; align-items: center; overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0;
    background-image: url('images/Bagger.jpeg');
    background-size: cover; background-position: center 40%; opacity: 0.45;
}
.hero-content {
    position: relative; z-index: 1;
    padding: 0 5%; max-width: 780px;
}
.hero-badge {
    display: inline-block;
    background: var(--accent); color: var(--dark);
    font-size: 0.72rem; font-weight: 700;
    letter-spacing: 2.5px; text-transform: uppercase;
    padding: 0.4rem 1rem; border-radius: 2rem; margin-bottom: 1.6rem;
}
.hero-title {
    font-size: clamp(2.6rem, 6vw, 5.2rem);
    color: var(--white); line-height: 1.08; margin-bottom: 1.4rem;
}
.hero-title span { color: var(--accent); }
.hero-sub {
    font-size: 1.1rem; color: rgba(255,255,255,0.75);
    max-width: 500px; line-height: 1.75; margin-bottom: 2.5rem;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn-primary {
    background: var(--accent); color: var(--dark);
    padding: 0.9rem 2rem; border-radius: var(--radius);
    font-family: 'Montserrat', sans-serif; font-weight: 700;
    font-size: 0.88rem; letter-spacing: 0.5px;
    text-decoration: none; transition: var(--ease);
    display: inline-flex; align-items: center; gap: 0.55rem;
}
.btn-primary:hover { background: var(--white); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.3); }

.btn-outline {
    background: transparent; color: var(--white);
    padding: 0.9rem 2rem; border-radius: var(--radius);
    border: 2px solid rgba(255,255,255,0.45);
    font-family: 'Montserrat', sans-serif; font-weight: 700;
    font-size: 0.88rem; letter-spacing: 0.5px;
    text-decoration: none; transition: var(--ease);
    display: inline-flex; align-items: center; gap: 0.55rem;
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.1); transform: translateY(-2px); }

.hero-arrow {
    position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
    color: rgba(255,255,255,0.55); font-size: 1.4rem; z-index: 1;
    animation: bounce 2.2s ease infinite;
}
@keyframes bounce {
    0%,100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(-10px); }
}

/* ─── SECTION COMMON ─────────────────────────────── */
section { padding: 6rem 5%; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-tag {
    display: inline-block; color: var(--primary);
    font-size: 0.72rem; font-weight: 700;
    letter-spacing: 3px; text-transform: uppercase; margin-bottom: 0.6rem;
}
.section-title {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    color: var(--dark); line-height: 1.2; margin-bottom: 0.9rem;
}
.section-sub {
    font-size: 0.97rem; color: var(--gray);
    max-width: 520px; margin: 0 auto; line-height: 1.75;
}
.inner { max-width: 1200px; margin: 0 auto; }

/* ─── ABOUT ──────────────────────────────────────── */
#about { background: var(--white); }
.about-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 5rem; align-items: center;
}
.about-img-wrap { position: relative; }
.about-img-wrap .img-box,
.about-img-wrap img {
    width: 100%; height: 480px; object-fit: cover;
    border-radius: 14px; display: flex;
}
.about-img-wrap .img-box {
    background: linear-gradient(135deg, rgba(200,151,42,0.15), rgba(139,94,60,0.25));
    align-items: center; justify-content: center;
    color: var(--primary); font-size: 3rem;
    border: 2px dashed rgba(139,94,60,0.3);
}
/* Bild einfügen: <div class="img-box">…</div> ersetzen durch <img src="images/about.jpg" alt="…"> */
.about-badge {
    position: absolute; bottom: -1.4rem; right: -1.4rem;
    background: var(--accent); color: var(--dark);
    border-radius: 14px; padding: 1.4rem 1.8rem;
    text-align: center; box-shadow: var(--shadow);
}
.about-badge .num { font-size: 2.6rem; font-weight: 800; line-height: 1; display: block; }
.about-badge .lbl { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; opacity: 0.75; }
.about-content .section-tag,
.about-content .section-title { text-align: left; }
.about-text { color: var(--gray); line-height: 1.8; margin-bottom: 1.4rem; }
.about-checks {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 0.8rem; margin-bottom: 2.2rem;
}
.check {
    display: flex; align-items: center; gap: 0.55rem;
    font-size: 0.88rem; font-weight: 600; color: var(--text);
}
.check i { color: var(--accent); }

/* ─── SERVICES ───────────────────────────────────── */
#services { background: var(--light); }
.services-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.6rem;
}
.svc-card {
    background: var(--white); border-radius: 14px;
    padding: 2.2rem 2rem; transition: var(--ease);
    border: 1px solid rgba(0,0,0,0.055);
    position: relative; overflow: hidden;
}
.svc-card::after {
    content: ''; position: absolute;
    bottom: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0); transform-origin: left; transition: var(--ease);
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.svc-card:hover::after { transform: scaleX(1); }
.svc-icon {
    width: 56px; height: 56px;
    background: linear-gradient(135deg, rgba(139,94,60,0.1), rgba(200,151,42,0.15));
    border-radius: 12px; display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.4rem; font-size: 1.4rem; color: var(--primary);
}
.svc-card h3 { font-size: 1.1rem; color: var(--dark); margin-bottom: 0.65rem; }
.svc-card p  { font-size: 0.88rem; color: var(--gray); line-height: 1.7; }

/* ─── GALLERY ────────────────────────────────────── */
#gallery { background: var(--white); }
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 270px);
    gap: 1rem;
}
.gallery-grid .g-item:first-child { grid-row: span 2; }
.g-item {
    border-radius: 10px; overflow: hidden;
    position: relative; cursor: pointer;
}
.g-item img,
.g-item .img-box {
    width: 100%; height: 100%;
    object-fit: cover; transition: transform 0.5s ease;
}
.g-item .img-box {
    background: linear-gradient(135deg, rgba(139,94,60,0.12), rgba(200,151,42,0.14));
    display: flex; align-items: center; justify-content: center;
    color: var(--primary); font-size: 2.2rem;
    border: 2px dashed rgba(139,94,60,0.25);
}
/* Bilder einfügen: <div class="img-box">…</div> ersetzen durch <img src="images/projekt1.jpg" alt="…"> */
.g-item:hover img { transform: scale(1.06); }
.g-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(28,20,8,0.72) 0%, transparent 55%);
    opacity: 0; transition: var(--ease);
    display: flex; align-items: flex-end; padding: 1.4rem;
}
.g-item:hover .g-overlay { opacity: 1; }
.g-overlay span {
    color: var(--white); font-family: 'Montserrat', sans-serif;
    font-weight: 600; font-size: 0.82rem;
}

/* ─── INSTAGRAM FEED (Behold) ───────────────────── */
.behold-wrap { min-height: 200px; }
.gallery-cta { text-align: center; margin-top: 1rem; }
.insta-btn {
    display: inline-flex; align-items: center; gap: 0.7rem;
    background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888);
    color: var(--white); padding: 0.9rem 2rem; border-radius: var(--radius);
    text-decoration: none; font-family: 'Montserrat', sans-serif;
    font-weight: 700; font-size: 0.88rem;
    margin-top: 1.6rem; transition: var(--ease);
}
.insta-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(220,39,67,0.3); }

/* ─── CONTACT / MAP ──────────────────────────────── */
#contact { background: var(--light); }
.contact-grid {
    display: grid; grid-template-columns: 1fr 1.5fr;
    gap: 4rem; align-items: start;
}
.contact-info .section-tag,
.contact-info .section-title { text-align: left; }
.contact-items { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 1.8rem; }
.c-item { display: flex; align-items: flex-start; gap: 1rem; }
.c-icon {
    width: 44px; height: 44px; flex-shrink: 0;
    background: var(--white); border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: var(--primary); font-size: 1rem;
}
.c-item h4 {
    font-size: 0.72rem; text-transform: uppercase;
    letter-spacing: 1px; color: var(--gray); margin-bottom: 0.25rem;
}
.c-item p, .c-item a {
    font-size: 0.93rem; font-weight: 600; color: var(--text); text-decoration: none;
}
.c-item a:hover { color: var(--primary); }
.map-wrap {
    border-radius: 14px; overflow: hidden;
    height: 430px; box-shadow: var(--shadow);
    background: #EDE6DC;
    display: flex; align-items: center; justify-content: center;
}
.map-wrap iframe { width: 100%; height: 100%; border: none; }
.map-ph { display: flex; flex-direction: column; align-items: center; gap: 0.8rem; color: var(--gray); }
.map-ph i { font-size: 3rem; color: var(--primary); opacity: 0.4; }
.map-ph p { font-size: 0.88rem; text-align: center; }

/* ─── FOOTER ─────────────────────────────────────── */
footer { background: var(--dark); color: rgba(255,255,255,0.65); padding: 3rem 5% 2rem; }
.footer-top {
    max-width: 1200px; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo {
    display: flex; align-items: center;
    overflow: hidden; border-radius: 2px;
    height: 40px; width: 180px;
}
.footer-logo img {
    height: 40px; width: 180px;
    object-fit: cover; object-position: center 50%;
    display: block;
}
.footer-nav { display: flex; gap: 2rem; list-style: none; flex-wrap: wrap; }
.footer-nav a { color: rgba(255,255,255,0.55); text-decoration: none; font-size: 0.84rem; transition: var(--ease); }
.footer-nav a:hover { color: var(--accent); }
.footer-social { display: flex; gap: 0.75rem; }
.footer-social a {
    width: 38px; height: 38px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.18);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.65); text-decoration: none;
    font-size: 0.9rem; transition: var(--ease);
}
.footer-social a:hover { background: var(--accent); border-color: var(--accent); color: var(--dark); }
.footer-copy {
    max-width: 1200px; margin: 1.6rem auto 0;
    text-align: center; font-size: 0.78rem; opacity: 0.4;
}

/* ─── SCROLL ANIMATIONS ──────────────────────────── */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ─── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 900px) {
    .about-grid   { grid-template-columns: 1fr; gap: 3rem; }
    .contact-grid { grid-template-columns: 1fr; }
    .about-badge  { right: 1rem; }
}
@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .nav-links {
        position: fixed; top: 0; right: 0;
        width: 270px; height: 100vh;
        background: rgba(28,20,8,0.97);
        flex-direction: column; justify-content: center;
        padding: 2rem; gap: 1.8rem;
        transform: translateX(100%); transition: transform 0.3s ease;
    }
    .nav-links.open { transform: translateX(0); }
    .nav-links a { font-size: 1.05rem; }
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(3, 200px);
    }
    .gallery-grid .g-item:first-child { grid-row: span 1; grid-column: span 2; }
    .about-checks { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    section { padding: 4rem 1.4rem; }
    .gallery-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
    .g-item { height: 220px; }
    .gallery-grid .g-item:first-child { grid-column: span 1; height: 300px; }
}

/* ─── UNTERSEITEN (Impressum, Datenschutz) ───────── */
nav.solid {
    background: rgba(28,20,8,0.95);
    padding: 0.8rem 5%;
    box-shadow: 0 2px 20px rgba(0,0,0,0.35);
}
.legal { padding-top: 8rem; background: var(--white); }
.legal-inner { max-width: 820px; margin: 0 auto; }
.legal h2 { font-size: 1.15rem; color: var(--dark); margin: 2.4rem 0 0.8rem; }
.legal h3 { font-size: 0.98rem; color: var(--dark); margin: 1.6rem 0 0.6rem; }
.legal p, .legal li { color: var(--text); line-height: 1.8; font-size: 0.95rem; }
.legal p { margin-bottom: 0.9rem; }
.legal ul { padding-left: 1.4rem; margin-bottom: 0.9rem; }
.legal a { color: var(--primary); }
.legal dl { display: grid; grid-template-columns: 220px 1fr; gap: 0.5rem 1.5rem; margin-bottom: 1rem; }
.legal dt { font-weight: 600; color: var(--dark); font-size: 0.95rem; }
.legal dd { color: var(--text); font-size: 0.95rem; line-height: 1.7; }
@media (max-width: 600px) {
    .legal dl { grid-template-columns: 1fr; gap: 0.1rem; }
    .legal dd { margin-bottom: 0.8rem; }
}

/* ─── COOKIE-BANNER (Google Analytics) ───────────── */
.cookie-banner {
    position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 2000;
    max-width: 560px; margin: 0 auto;
    background: var(--dark); color: rgba(255,255,255,0.85);
    border-radius: 12px; padding: 1.4rem 1.6rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.35);
    font-size: 0.88rem; line-height: 1.65;
}
.cookie-banner a { color: var(--accent); }
.cookie-btns { display: flex; gap: 0.8rem; margin-top: 1rem; flex-wrap: wrap; }
.cookie-btns button {
    flex: 1; min-width: 130px; cursor: pointer;
    padding: 0.75rem 1.2rem; border-radius: var(--radius);
    font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 0.84rem;
    border: 2px solid var(--accent); background: var(--accent); color: var(--dark);
}
.cookie-btns button:hover { background: var(--white); border-color: var(--white); }
