/* ============================================
   Lampe Strahltechnik GmbH – Website Styles
   Design-System: Teal (#009997) + Dunkelgold (#B8860B)
   ============================================ */

:root {
    --primary: #009997;
    --primary-dark: #007a78;
    --accent: #B8860B;
    --accent-light: #d4a017;
    --text: #333333;
    --text-light: #666666;
    --bg: #f5f5f5;
    --bg-white: #ffffff;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
    --radius: 12px;
}

/* ========== BASE ========== */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 76px;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s;
}

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

h1, h2, h3, h4, h5 {
    color: var(--accent);
    font-weight: 700;
}

/* ========== NAVBAR ========== */
.navbar {
    background: rgba(0, 153, 151, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 0.8rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(0, 153, 151, 1) !important;
    padding: 0.4rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

/* Navbar brand text */
.navbar-logo-text {
    color: #ffffff;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
}

.navbar .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    position: relative;
    transition: color 0.2s;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: #ffffff !important;
}

.navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s;
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
    width: 60%;
}

/* ========== HERO ========== */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #004d4c 0%, #009997 50%, #00b3b0 100%);
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../img/hero-bg.jpg') center center / cover no-repeat;
    opacity: 0.1;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.hero-title-highlight {
    font-size: 2.4rem;
    color: var(--accent-light);
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--accent-light);
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.hero-text {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin-bottom: 2rem;
}

.hero-phone {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-phone a {
    color: #ffffff;
    font-weight: 600;
}

.hero-phone a:hover {
    color: var(--accent-light);
}

.hero-phone i {
    color: var(--accent-light);
    margin-right: 0.5rem;
}

/* Hero Logo */
.hero-logo-img {
    max-height: 70px;
    background: rgba(255, 255, 255, 0.95);
    padding: 10px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Footer Logo */
.footer-logo img {
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 12px;
    border-radius: 6px;
}

/* Accent Button */
.btn-accent {
    background: var(--accent);
    color: #ffffff;
    border: 2px solid var(--accent);
    font-weight: 600;
    border-radius: 8px;
    padding: 0.6rem 1.5rem;
    transition: all 0.3s;
}

.btn-accent:hover {
    background: var(--accent-light);
    border-color: var(--accent-light);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Primary Button */
.btn-primary {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    font-weight: 600;
    border-radius: 8px;
}

.btn-primary:hover {
    background: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
    transform: translateY(-1px);
}

.btn-outline-light {
    border-radius: 8px;
    font-weight: 600;
    padding: 0.6rem 1.5rem;
}

/* ========== SECTIONS ========== */
section {
    overflow: hidden;
}

.section-header h2 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.section-divider {
    width: 60px;
    height: 3px;
    background: var(--primary);
    margin: 0 auto 1rem;
    border-radius: 2px;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ========== ÜBER UNS ========== */
.about-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
}


.about-image-wrapper::before {
    content: '';
    position: absolute;
    top: -12px;
    left: -12px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--accent);
    border-radius: var(--radius);
    z-index: 0;
}

.about-image-wrapper img {
    position: relative;
    z-index: 1;
    border-radius: var(--radius);
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.stat-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 1.5rem 1rem;
    box-shadow: var(--shadow);
    transition: transform 0.2s;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

/* ========== LEISTUNGEN ========== */
.service-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--accent);
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ========== PRODUKTE ========== */
.product-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    height: 220px;
    overflow: hidden;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-body {
    padding: 1.5rem;
}

.product-body h4 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.product-body p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ========== KONTAKT ========== */
.contact-info-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    height: 100%;
}

.contact-info-card h4 {
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-item i {
    color: var(--primary);
    font-size: 1.2rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.contact-item p {
    margin-bottom: 0;
}

.contact-item a {
    color: var(--text);
}

.contact-item a:hover {
    color: var(--primary);
}

.contact-form-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
}

.contact-form-card .form-control {
    border-radius: 8px;
    border: 1px solid #dee2e6;
    padding: 0.6rem 1rem;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form-card .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(0, 153, 151, 0.15);
}

/* ========== FOOTER ========== */
.site-footer {
    background: #1a1a1a;
    color: rgba(255, 255, 255, 0.7);
    padding: 3rem 0 1.5rem;
}

.site-footer h5 {
    color: var(--accent);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.7);
}

.site-footer a:hover {
    color: var(--accent-light);
}

/* ========== COOKIE BANNER ========== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26, 26, 26, 0.97);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    z-index: 9999;
    border-top: 2px solid var(--primary);
}

.cookie-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    min-width: 250px;
}

.cookie-text p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
}

.cookie-text a {
    color: var(--accent-light);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

/* ========== ANIMATIONS ========== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .about-image-wrapper::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding: 120px 0 60px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .hero-buttons .btn.me-3 {
        margin-right: 0 !important;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .service-card,
    .product-body,
    .contact-info-card,
    .contact-form-card {
        padding: 1.25rem;
    }
}

/* ========== PRINT ========== */
@media print {
    .navbar,
    .cookie-banner,
    .hero-section {
        display: none;
    }
}
