/*
Theme Name: BN Dienstleistungen
Description: Luxuriöses WordPress-Theme für BN Dienstleistungen - Handwerkskunst für anspruchsvolle Kunden. Grünes Design mit Contact Form 7 Integration.
Author: BN Dienstleistungen
Version: 2.0
License: GPL v2 or later
Text Domain: bn-dienstleistungen
Tags: business, services, green, responsive, contact-form-7
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Navigation */
.bn-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.5s ease;
    background: transparent;
    padding: 1.5rem 0;
}

.bn-nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

.bn-nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bn-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: transform 0.3s ease;
    text-decoration: none;
}

.bn-logo:hover {
    transform: scale(1.02);
}

.bn-logo img {
    width: 48px;
    height: 48px;
    filter: hue-rotate(45deg) saturate(1.2);
}

.bn-logo-text {
    font-size: 1.5rem;
    font-weight: 300;
    color: #333;
    text-decoration: none;
}

.bn-logo-text .highlight {
    font-weight: 600;
    color: #2e7d32;
}

.bn-nav-menu {
    display: flex;
    gap: 3rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.bn-nav-item {
    position: relative;
}

.bn-nav-link {
    color: #555;
    text-decoration: none;
    font-weight: 300;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 0.5rem 0;
    display: block;
}

.bn-nav-link:hover {
    color: #2e7d32;
    transform: translateY(-2px);
    text-decoration: none;
}

.bn-nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: #2e7d32;
    transition: width 0.3s ease;
}

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

.bn-contact-btn {
    background: #2e7d32;
    color: white !important;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 2px;
    font-weight: 500;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-size: 0.875rem;
}

.bn-contact-btn:hover {
    background: #1b5e20;
    transform: scale(1.02);
    color: white !important;
    text-decoration: none;
}

/* Mobile Menu */
.bn-mobile-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.bn-mobile-toggle span {
    width: 25px;
    height: 2px;
    background: #333;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .bn-nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    }

    .bn-nav-menu.mobile-open {
        display: flex;
    }

    .bn-mobile-toggle {
        display: flex;
    }

    .bn-contact-btn {
        display: none;
    }
}

/* Hero Section */
.bn-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    position: relative;
    overflow: hidden;
}

.bn-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(46, 125, 50, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(76, 175, 80, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 60% 70%, rgba(27, 94, 32, 0.06) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
        opacity: 1;
    }
    50% { 
        transform: translateY(-20px) rotate(180deg); 
        opacity: 0.8;
    }
}

.bn-hero-content {
    text-align: center;
    max-width: 1000px;
    padding: 0 2rem;
    position: relative;
    z-index: 10;
}

.bn-hero-logo {
    width: 96px;
    height: 96px;
    margin: 0 auto 3rem;
    animation: logoRotate 20s linear infinite;
}

.bn-hero-logo img {
    width: 100%;
    height: 100%;
    filter: hue-rotate(45deg) saturate(1.2);
}

@keyframes logoRotate {
    from { transform: rotateY(0deg); }
    to { transform: rotateY(360deg); }
}

.bn-hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 100;
    margin-bottom: 2rem;
    color: #333;
    letter-spacing: -2px;
}

.bn-hero-title .highlight {
    font-weight: 500;
    color: #2e7d32;
}

.bn-hero-subtitle {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    margin-bottom: 3rem;
    color: #333;
}

.bn-hero-divider {
    width: 96px;
    height: 1px;
    background: #2e7d32;
    margin: 0 auto 3rem;
    animation: expandWidth 1s ease-out 0.8s both;
}

@keyframes expandWidth {
    from { width: 0; }
    to { width: 96px; }
}

.bn-hero-description {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    color: #666;
    font-weight: 300;
    letter-spacing: 0.5px;
    margin-bottom: 5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.bn-hero-actions {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.bn-cta-btn {
    background: #2e7d32;
    color: white !important;
    padding: 1rem 3rem;
    border: none;
    border-radius: 2px;
    font-size: 1.125rem;
    font-weight: 500;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(46, 125, 50, 0.3);
    text-decoration: none;
    display: inline-block;
}

.bn-cta-btn:hover {
    background: #1b5e20;
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(46, 125, 50, 0.4);
    color: white !important;
    text-decoration: none;
}

.bn-phone-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #555;
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 300;
    transition: all 0.3s ease;
}

.bn-phone-link:hover {
    color: #2e7d32;
    transform: scale(1.02);
    text-decoration: none;
}

.bn-phone-icon {
    width: 20px;
    height: 20px;
    fill: #2e7d32;
}

/* Services Section */
.bn-services {
    padding: 8rem 0;
    background: white;
}

.bn-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.bn-section-header {
    text-align: center;
    margin-bottom: 6rem;
}

.bn-section-title {
    font-size: clamp(3rem, 6vw, 4rem);
    font-weight: 100;
    color: #333;
    margin-bottom: 2rem;
    letter-spacing: -1px;
}

.bn-section-title .highlight {
    font-weight: 300;
    color: #2e7d32;
}

.bn-section-divider {
    width: 96px;
    height: 1px;
    background: #2e7d32;
    margin: 0 auto 2rem;
}

.bn-section-description {
    font-size: 1.25rem;
    color: #666;
    font-weight: 300;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.bn-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.bn-service-card {
    background: white;
    border-radius: 2px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.5s ease;
    cursor: pointer;
}

.bn-service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.bn-service-image {
    position: relative;
    height: 256px;
    overflow: hidden;
    background: #f0f0f0;
}

.bn-service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

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

.bn-service-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
}

.bn-service-icon {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.bn-service-icon svg {
    width: 28px;
    height: 28px;
    fill: #2e7d32;
}

.bn-service-content {
    padding: 2rem;
}

.bn-service-title {
    font-size: 1.5rem;
    font-weight: 300;
    color: #333;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.bn-service-description {
    color: #666;
    font-weight: 300;
    line-height: 1.6;
}

/* About Section */
.bn-about {
    padding: 8rem 0;
    background: linear-gradient(to bottom, white, #f8f9fa);
}

.bn-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.bn-about-content {
    space-y: 1.5rem;
}

.bn-about-text {
    font-size: 1.125rem;
    color: #666;
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.bn-stats {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    align-items: center;
}

.bn-stat {
    text-align: center;
}

.bn-stat-number {
    font-size: 2rem;
    font-weight: 300;
    color: #2e7d32;
    margin-bottom: 0.5rem;
}

.bn-stat-label {
    font-size: 0.875rem;
    color: #666;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.bn-stat-divider {
    width: 1px;
    height: 48px;
    background: #ddd;
}

.bn-about-image {
    position: relative;
}

.bn-about-image img {
    width: 100%;
    height: 384px;
    object-fit: cover;
    border-radius: 2px;
}

.bn-about-card {
    position: absolute;
    bottom: -2rem;
    left: -2rem;
    background: white;
    padding: 2rem;
    border-radius: 2px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.bn-about-card:hover {
    transform: scale(1.05);
}

.bn-about-card-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.bn-about-avatar {
    width: 64px;
    height: 64px;
    background: #2e7d32;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.25rem;
}

.bn-about-info h4 {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.25rem;
}

.bn-about-info p {
    font-size: 0.875rem;
    color: #666;
    font-weight: 300;
}

/* Contact Section */
.bn-contact {
    padding: 8rem 0;
    background: linear-gradient(to bottom, #1a1a1a, #000);
    color: white;
}

.bn-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
}

.bn-contact-info {
    space-y: 3rem;
}

.bn-contact-item {
    display: flex;
    align-items: center;
    gap: 2rem;
    transition: transform 0.3s ease;
    margin-bottom: 3rem;
}

.bn-contact-item:hover {
    transform: translateX(10px);
}

.bn-contact-icon {
    width: 64px;
    height: 64px;
    background: rgba(46, 125, 50, 0.1);
    border: 1px solid rgba(46, 125, 50, 0.2);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bn-contact-icon svg {
    width: 28px;
    height: 28px;
    fill: #2e7d32;
}

.bn-contact-details h3 {
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.bn-contact-details a,
.bn-contact-details p {
    opacity: 0.8;
    font-size: 1.125rem;
    font-weight: 300;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.bn-contact-details a:hover {
    color: #2e7d32;
    opacity: 1;
    text-decoration: none;
}

/* Contact Form 7 Styling */
.bn-contact-form {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    padding: 3rem;
}

.wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.wpcf7-form-control-wrap {
    position: relative;
    width: 100%;
}

.wpcf7-form-control {
    width: 100%;
    padding: 1rem 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-weight: 300;
    transition: all 0.3s ease;
    font-family: inherit;
    font-size: 1rem;
}

.wpcf7-form-control:focus {
    outline: none;
    border-bottom-color: #2e7d32;
}

.wpcf7-form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.wpcf7-textarea {
    resize: none;
    min-height: 120px;
}

.wpcf7-submit {
    width: 100%;
    background: #2e7d32 !important;
    color: white !important;
    padding: 1rem 2rem;
    border: none !important;
    border-radius: 2px;
    font-weight: 500;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    font-family: inherit;
    font-size: 1rem;
}

.wpcf7-submit:hover {
    background: #1b5e20 !important;
    transform: translateY(-2px);
}

.wpcf7-response-output {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 2px;
    color: white;
}

.wpcf7-mail-sent-ok {
    background: rgba(76, 175, 80, 0.2);
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.wpcf7-validation-errors,
.wpcf7-mail-sent-ng {
    background: rgba(244, 67, 54, 0.2);
    border: 1px solid rgba(244, 67, 54, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .bn-hero-actions {
        flex-direction: column;
    }

    .bn-about-grid,
    .bn-contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .bn-stats {
        justify-content: center;
        flex-wrap: wrap;
    }

    .bn-about-card {
        position: static;
        margin-top: 2rem;
    }

    .bn-nav-container {
        padding: 0 1rem;
    }

    .bn-container {
        padding: 0 1rem;
    }

    .bn-contact-form {
        padding: 2rem;
    }

    .bn-services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

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

/* WordPress Admin Bar Fix */
.admin-bar .bn-nav {
    top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar .bn-nav {
        top: 46px;
    }
}

