:root {
    --primary: #c9912b;
    --primary-dark: #a67617;
    --secondary: #222222;
    --light: #f8f9fa;
    --accent: #f3e3c5;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background-color: #ffffff;
    color: #222222;
    scroll-behavior: smooth;
}

/* Navbar */
.navbar {
    background-color: rgba(0, 0, 0, 0.9);
}

.navbar-brand {
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.navbar-brand span {
    color: var(--primary);
}

.nav-link {
    font-size: 0.95rem;
    text-transform: uppercase;
}

.nav-link.active,
.nav-link:hover {
    color: var(--primary) !important;
}

/* Hero */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(
                  rgba(0, 0, 0, 0.6),
                  rgba(0, 0, 0, 0.8)
              ),
              url("../img/Vikantebau_Hero-Pic_01.jpeg") center/cover no-repeat;
    color: #ffffff;
    padding-top: 4.5rem; /* wegen fixed Navbar */
}

#hero .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    background-color: rgba(0, 0, 0, 0.6);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

#hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-top: 1rem;
}

#hero p.lead {
    font-size: 1.05rem;
    max-width: 36rem;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    border-radius: 999px;
    padding: 0.7rem 1.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.85rem;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline-light {
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
    padding-bottom: 11.2px;
    padding-top: 11.2px;
    background-color:#777777;
}

/* Sektionen */
section {
    padding: 4rem 0;
}

section.section-alt {
    background-color: var(--light);
}

.section-title {
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    color: var(--primary);
    font-weight: 700;
}

.section-heading {
    font-size: 1.8rem;
    font-weight: 700;
}

/* Cards Leistungen */
.service-card {
    border: none;
    border-radius: 1.25rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.09);
}

.service-card-header {
    height: 190px;
    background-position: center;
    background-size: cover;
    position: relative;
}

.service-card-header::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
}

.service-card-title {
    position: absolute;
    left: 1.25rem;
    bottom: 1.25rem;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.1rem;
    z-index: 2;
}

.service-card-body {
    padding: 1.5rem;
}

.service-meta {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #777777;
}

/* Galerie */
.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.gallery-filter-btn {
    border-radius: 999px;
    border: 1px solid #dddddd;
    background-color: #ffffff;
    padding: 0.4rem 1.1rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.gallery-filter-btn.active {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 1.1rem;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 1rem;
    color: #ffffff;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.badge-category {
    background-color: rgba(0, 0, 0, 0.7);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    border-radius: 999px;
    padding: 0.2rem 0.7rem;
}

/* Zeitstrahl / Ablauf */
.timeline-step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.timeline-number {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background-color: var(--primary);
    color: #ffffff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

/* Kontakt */
.contact-card {
    border-radius: 1.25rem;
    border: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
}

.form-control,
.form-select {
    border-radius: 0.75rem;
    border-color: #dddddd;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.15rem rgba(201, 145, 43, 0.25);
}

#kontakt .btn-disabled,
.btn-primary:disabled {
    background-color: #b8b8b8;
    border-color: #b8b8b8;
    color: #555555;
    cursor: not-allowed;
}

.hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0.01;
    height: 0;
    overflow: hidden;
}

#kontakt .local-captcha-box input {
    max-width: 240px;
}

#kontakt .captcha-refresh {
    white-space: nowrap;
}

#form-success {
    display: none;
}

/* Footer / Rechtliches */
footer {
    background-color: #111111;
    color: #bbbbbb;
    padding-top: 2rem;
}

footer a {
    color: #dddddd;
    text-decoration: none;
    font-size: 0.9rem;
}

footer a:hover {
    color: var(--primary);
}

.share-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.share-label {
    font-weight: 600;
    font-size: 0.95rem;
    margin-right: 0.25rem;
}

.share-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.share-link img {
    width: 18px;
    height: 18px;
}

.share-link:hover {
    color: var(--primary);
    border-color: var(--primary);
    background-color: rgba(255, 255, 255, 0.04);
}

@media (max-width: 576px) {
    .share-links {
        gap: 0.5rem;
        justify-content: center;
        text-align: center;
        }
    .share-label {
        display: inline-block;
        font-size: 0.85rem;
        margin-right: 0.35rem;
        white-space: nowrap;
    }
    .share-link {
        padding: 0.35rem;
        border-radius: 50%;
    }
    .share-link span {
        display: none;
    }
    .share-link img {
        width: 20px;
        height: 20px;
    }

    footer {
        text-align: center;
    }

    footer .row > div {
        text-align: center;
    }

    footer .social-links {
        display: inline-flex;
        justify-content: center;
        align-items: center;
    }

    .footer-bottom {
        align-items: center !important;
        justify-content: center !important;
        text-align: center;
        gap: 0.35rem;
    }
}

.social-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.social-links li + li {
    margin-top: 0.5rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.social-link img {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    border-top: 1px solid #333333;
    margin-top: 1.5rem;
    padding-top: 1rem;
    padding-bottom: 1.5rem;
    font-size: 0.85rem;
}

/* Rechtstexte grob strukturiert (Platzhalter) */
.legal-section h3 {
    font-size: 1.2rem;
    margin-top: 1.5rem;
}

.legal-section p,
.legal-section li {
    font-size: 0.9rem;
}

/* Cookie / Consent */
.cookie-consent {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ffffff;
    border-top: 1px solid #dddddd;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.12);
    padding: 1rem 1.5rem;
    z-index: 9999;
}

.cookie-consent p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.cookie-consent-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: flex-end;
}

.btn-cookie-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    border-radius: 999px;
    font-size: 0.85rem;
}

.btn-cookie-secondary {
    border-radius: 999px;
    font-size: 0.8rem;
}



/* Animationen */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Modal für Galerie-Lightbox */
.modal-img {
    width: 100%;
    height: auto;
}

/* Kleinere Anpassungen */
@media (max-width: 576px) {
    .timeline-step {
        flex-direction: row;
    }

    .btn-outline-light  {
       justify-content: center;
       margin: 0 auto;
    }
}
