/* ===================================== Global Styles ===================================== */
/* Body & Hintergrund */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background: url('../img/Lendi_Praezisionsmechanik_7.jpg') no-repeat center center fixed;
    background-size: cover;
    color: #fff;
    margin-top: 80px;
}

html {
    scroll-behavior: smooth;
}

/* ===================================== Navbar ===================================== */
.top-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #000;
    transition: all 0.3s ease;
    padding: 15px 20px;
}

.top-navbar.shrink {
    padding: 5px 20px;
    background-color: rgba(0, 0, 0, 0.9);
}

.top-navbar .navbar-brand {
    font-weight: bold;
    font-size: 1.2rem;
    color: #fff;
    text-decoration: none;
}

.top-navbar .navbar-brand img {
    height: 50px;
    margin-right: 10px;
    border-radius: 5px;
}

.top-navbar .nav-link {
    color: #fff;
    transition: color 0.3s ease;
}

.top-navbar .nav-link:hover {
    color: #ccc;
}

.navbar-toggler {
    margin-left: auto;
    border-color: #fff;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255,1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Text in Navbar ausblenden, Logo bleibt */
.top-navbar .navbar-brand span {
    display: none;
}

/* ===================================== Volle Breite Boxen ===================================== */
.full-width-box {
    width: 100%;
    padding: 60px 0;
    background-color: rgba(0, 0, 0, 0.7);
    margin-bottom: 20px;
}

/* ===================================== Hero Section ===================================== */
.hero-section {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-box.full-width-box {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 2rem;
}

/* ===================================== Produkte ===================================== */
.products-section {
    padding: 60px 0;
}

.product-box {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 10px;
    border-radius: 10px;
    color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.product-box img {
    border-radius: 5px;
}

/* ===================================== Graphitteil ===================================== */
#graphitteil {
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
}

#graphitteil img {
    border: 2px solid #555;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#graphitteil img:hover {
    transform: scale(1.03);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.15);
}

#graphitteil h2 {
    font-weight: bold;
    margin-bottom: 20px;
}

#graphitteil p {
    line-height: 1.6;
    margin-bottom: 15px;
}

/* ===================================== Über mich ===================================== */
#about.full-width-box {
    padding-top: 60px;
    padding-bottom: 60px;
}

/* ===================================== Kontakt ===================================== */
#contact a {
    text-decoration: underline;
    color: #fff;
}

#contact a:hover {
    color: #ccc;
}

/* ===================================== Footer ===================================== */
.footer {
    background-color: #000;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
}

/* ===================================== Buttons / CTA ===================================== */
.cta-btn {
    background-color: #000;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.cta-btn:hover {
    background-color: #333;
    color: #fff;
    transform: scale(1.05);
}

/* ===================================== Responsives Verhalten ===================================== */
@media (max-width: 992px) {
    .navbar-collapse {
        background-color: rgba(0, 0, 0, 0.95);
        padding: 1rem;
    }
    .navbar-nav .nav-link {
        text-align: center;
        padding: 10px 0;
    }
}

@media (max-width: 576px) {
    body {
        margin-top: 70px;
    }
    .top-navbar .navbar-brand span {
        font-size: 1rem;
    }
    .top-navbar .navbar-brand img {
        height: 40px;
    }
}
