@import url('fonts.css');

:root {
    --primary-warm: #B68D40;
    --bg-soft: #FAF9F6;
    --text-main: #2C3E50;
    --accent-warm: #D35400;
}

body {
    background-color: var(--bg-soft);
    color: var(--text-main);
    font-family: 'Roboto', sans-serif;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
}

/* Navigation & Logo Anpassung */
.navbar {
    background-color: #ffffff !important;
    border-bottom: 4px solid var(--primary-warm);
    padding: 1rem 0;
}

.navbar-brand img {
    max-height: 60px; /* Skaliert das Holzwerker Logo sauber */
    transition: transform 0.3s ease;
}


/* --- DYNAMISCHE NAVIGATION --- */
.navbar {
    background-color: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(10px); /* Moderner Glass-Effekt */
    border-bottom: 2px solid rgba(182, 141, 64, 0.2);
    padding: 0.8rem 0;
    transition: all 0.3s ease;
}

/* Sobald das Burger-Menü erscheint (unter 992px) */
@media (max-width: 991.98px) {
    ul.navbar-nav {
        margin-top: 0.5rem;
        border-top: 2px solid rgba(182, 141, 64, 0.2);
    }
}

.nav-link {
    font-weight: 500;
    color: var(--text-main) !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    position: relative;
    padding: 0.5rem 15px !important;
}

/* Animierte Unterlinie */
@media (min-width: 992px) {
    .nav-link::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: 0;
        left: 50%;
        background-color: var(--primary-warm) !important;
        transition: all 0.3s ease;
        transform: translateX(-50%);
    }

    .nav-link:hover::after {
        width: 95%;
    }

    .navbar-brand:hover img {
        transform: scale(1.05);
    }

    .navbar-brand img {
        max-height: 55px;
        transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .navbar-brand:hover img {
        transform: scale(1.1) rotate(-2deg); /* Verspielte Bewegung */
    }
}



/* Hero Bereich */
.hero {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('../Images/bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 0;
    margin-bottom: 60px;
}

/* Content & Cards */
.content-card {
    background: white;
    padding: 0;
    margin-bottom: 30px;

}

@media (min-width: 992px) {
    .content-card {
        background: white;
        padding: 40px;
        border-radius: 2px; /* Eckiger/Massiver für Handwerker-Look */
        box-shadow: 0 10px 30px rgba(0,0,0,0.05);
        margin-bottom: 30px;
        border-top: 1px solid #eee;
    }
}

.sidebar-box {
    background-color: #f2eee9;
    border-right: 8px solid var(--primary-warm) !important;
    padding: 25px;
}

.sidebar-box a {
    color: var(--text-main) !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.sidebar-box a:hover {
    color: var(--primary-warm) !important;
}

.btn {
    border: 1px solid #9a7835 !important;
}

.btn-primary {
    background-color: var(--primary-warm) !important;
    border: none;
    border-radius: 0;
    padding: 12px 30px;
}

.btn-primary:hover {
    background-color: #9a7835 !important;
}

/*footer {*/
/*    background-color: #1a1a1a;*/
/*    color: #999;*/
/*    padding: 50px 0;*/
/*}*/

footer {
    background-color: #1a1a1a;
    color: #f8f9fa;
    padding: 25px 0; /* Schön schmal */
    border-top: 3px solid var(--primary-warm);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo {
    max-height: 35px;
    filter: brightness(0) invert(1);
}

.footer-contact-info {
    font-size: 0.85rem;
    color: #bbb;
    margin-bottom: 0;
}

.footer-contact-info span {
    margin-right: 15px;
    white-space: nowrap; /* Verhindert unschöne Umbrüche in der Telefonnummer */
}

.footer-contact-info strong {
    color: var(--primary-warm);
}

.footer-legal a {
    color: #777;
    text-decoration: none;
    font-size: 0.8rem;
    margin-left: 15px;
    transition: color 0.3s;
}

.footer-contact-info a {
    color: #777;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-legal a:hover, .footer-contact-info a:hover {
    color: var(--primary-warm);
}

/* Sobald das Burger-Menü erscheint (unter 992px) */
@media (max-width: 991.98px) {
    .footer-content {
        flex-direction: column; /* Stapelt die Blöcke */
        text-align: center;      /* Zentriert alle Texte */
        gap: 20px;               /* Abstand zwischen den Stapeln */
    }

    /* Logo zentrieren und Abstand nach unten */
    .footer-content .d-flex {
        flex-direction: column !important;
        align-items: center !important;
        width: 100%;
    }

    .footer-logo {
        margin-right: 0 !important;
        margin-bottom: 15px;
    }

    /* Kontaktdaten untereinander stapeln */
    .footer-contact-info span {
        display: block;
        margin-right: 0;
        margin-bottom: 8px;
    }

    /* Rechtliche Links untereinander oder mit mehr Abstand */
    .footer-legal {
        width: 100%;
        margin-top: 10px;
    }

    .footer-legal a {
        display: inline-block;
        margin: 5px 10px;
    }
}
