/* ========================================
   GENERAL STYLES
   ======================================== */

:root {
    --primary-color: #525252;
    --secondary-color: #91C622;
    --accent-color: #91C622;
    --dark-color: #000000;
    --light-color: #EEEEEE;
    --spacing-xs: 1rem;
    --spacing-sm: 2rem;
    --spacing-md: 4rem;
    --spacing-lg: 6rem;
    --spacing-xl: 8rem;
}

.nopadding {
    padding:0 !important;
}

.nopaddingtop {
    padding-top:0 !important;
}

.nopaddingbottom {
    padding-bottom:0 !important;
}

/* Accessibility: Respect user preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.8;
    color: #333;
    overflow-x: hidden;
    font-size: 16px;
    letter-spacing: 0.2px;
}

/* Skip to main content link for accessibility */
.skip-to-main {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--secondary-color);
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    z-index: 100;
    font-weight: 600;
}

.skip-to-main:focus {
    top: 0;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Focus styles for accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 3px solid var(--secondary-color);
    outline-offset: 2px;
}

/* Remove focus outline for mouse users */
a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
    outline: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* ========================================
   NAVIGATION
   ======================================== */

.navbar {
    padding: 2rem 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.navbar-brand {
    font-size: 1.75rem;
    letter-spacing: 3px;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.navbar-brand img {
    height: 60px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled .navbar-brand img {
    height: 50px;
}

.navbar.scrolled {
    padding: 1.25rem 0;
    background: rgba(18, 18, 18, 0.98);
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}

.navbar-nav .nav-link {
    margin: 0 1.5rem;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 1.5px;
    position: relative;
    padding: 1rem 0;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

/* ========================================
   Padding
   ======================================== */
.hero-section {
    padding-top:0;
}

/* ========================================
   HERO SECTION & SLIDER
   ======================================== */

.hero-section {
    height: 100vh;
    position: relative;
    margin-top: 0;
    z-index: 1;
}

.heroSwiper {
    height: 100%;
}

.heroSwiper .swiper-slide {
    position: relative;
    overflow: hidden;
}

.heroSwiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: scale(1);
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 14, 39, 0.75) 0%, rgba(0, 212, 255, 0.3) 100%);
    z-index: 1;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 2;
    text-align: center;
}

.heroSwiper .swiper-button-next,
.heroSwiper .swiper-button-prev {
    color: white;
    background: rgba(0, 212, 255, 0.3);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.heroSwiper .swiper-button-next:hover,
.heroSwiper .swiper-button-prev:hover {
    background: rgba(0, 212, 255, 0.6);
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
}

.heroSwiper .swiper-button-next::after,
.heroSwiper .swiper-button-prev::after {
    font-size: 24px;
}

.heroSwiper .swiper-pagination-bullet {
    width: 14px;
    height: 14px;
    background: white;
    opacity: 0.4;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.heroSwiper .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--secondary-color);
    width: 40px;
    border-radius: 7px;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.6);
}

/* ========================================
   BUTTONS
   ======================================== */

.btn-primary {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #0099cc 100%);
    border: none;
    padding: 1.2rem 3rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.95rem;
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0099cc 0%, var(--secondary-color) 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 212, 255, 0.5);
}

.btn-lg {
    padding: 1.3rem 3.5rem;
    font-size: 1rem;
}

.btn-outline-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.3);
}

/* ========================================
   PROJECT SLIDER
   ======================================== */

.projectSwiper {
    padding: 3rem 0;
}

.project-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0,0,0,0.08);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 70px rgba(0, 212, 255, 0.25);
}

.project-image {
    position: relative;
    overflow: hidden;
    height: 450px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover .project-image img {
    transform: scale(1.15) rotate(2deg);
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    transform: translateY(0);
    transition: all 0.3s ease;
}

.project-card:hover .project-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 100%);
}

.projectSwiper .swiper-pagination-bullet {
    width: 14px;
    height: 14px;
    background: var(--primary-color);
    opacity: 0.25;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.projectSwiper .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--secondary-color);
    width: 40px;
    border-radius: 7px;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
}

/* ========================================
   SERVICE CARDS
   ======================================== */

.service-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    background: white;
    padding: 3rem 2.5rem !important;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.15) !important;
    border-color: var(--secondary-color);
    background: linear-gradient(135deg, #ffffff 0%, #f8fdff 100%);
}

.service-icon {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 2rem !important;
}

.service-card:hover .service-icon i {
    transform: scale(1.15) rotate(5deg);
    color: var(--secondary-color) !important;
}

.service-card h4 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.service-card p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #666;
}

/* ========================================
   GALLERY
   ======================================== */

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1 / 1; /* Quadratisches Format */
}

.gallery-item img {
    transition: all 0.5s ease;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Bild füllt den Container aus und behält Proportionen */
    object-position: center; /* Bild zentriert ausschneiden */
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.9) 0%, rgba(10, 14, 39, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.15);
}

/* ========================================
   CONTACT FORM
   ======================================== */

.contact-form .form-control {
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.15);
    color: white;
    padding: 1.3rem 1.5rem;
    border-radius: 12px;
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

.contact-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.contact-form .form-control:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--secondary-color);
    color: white;
    box-shadow: 0 0 0 0.25rem rgba(0, 212, 255, 0.25);
}

.social-links .btn {
    width: 60px;
    height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-links .btn:hover {
    transform: translateY(-5px) scale(1.1);
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 992px) {
    :root {
        --spacing-md: 3rem;
        --spacing-lg: 4rem;
        --spacing-xl: 5rem;
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-sm: 1.5rem;
        --spacing-md: 2.5rem;
        --spacing-lg: 3.5rem;
        --spacing-xl: 4rem;
    }
    
    .hero-section {
        height: 70vh;
    }
    
    .slide-content h1 {
        font-size: 2.5rem !important;
    }
    
    .slide-content p {
        font-size: 1.1rem !important;
    }
    
    .heroSwiper .swiper-button-next,
    .heroSwiper .swiper-button-prev {
        width: 45px;
        height: 45px;
    }
    
    .heroSwiper .swiper-button-next::after,
    .heroSwiper .swiper-button-prev::after {
        font-size: 18px;
    }
    
    .project-image {
        height: 300px;
    }
   
     section {
        padding-top: var(--spacing-md);
        padding-bottom: var(--spacing-md);
    }
    

    /* section .container,
    section .container-fluid {
        padding-top: var(--spacing-md);
        padding-bottom: var(--spacing-md);
    } */
    
    .navbar-nav .nav-link {
        margin: 0.5rem 0;
        padding: 0.75rem 1rem;
    }
    
    .btn-primary, .btn-lg {
        padding: 1rem 2rem;
        font-size: 0.9rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem !important;
        margin-bottom: 2rem;
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes kenBurns {
    0% {
        transform: scale(1) translate(0, 0);
    }
    100% {
        transform: scale(1.1) translate(-20px, -10px);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Ken Burns effect for hero images */
.heroSwiper .swiper-slide-active img {
    animation: kenBurns 8s ease-out forwards;
}

/* Smooth transitions for slide content */
.slide-content > * {
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.heroSwiper .swiper-slide-active .slide-content h1 {
    animation-delay: 0.3s;
}

.heroSwiper .swiper-slide-active .slide-content p {
    animation-delay: 0.5s;
}

.heroSwiper .swiper-slide-active .slide-content a {
    animation-delay: 0.7s;
}

/* ========================================
   UTILITIES
   ======================================== */

.text-shadow {
    text-shadow: 2px 4px 8px rgba(0,0,0,0.4);
}

.bg-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

/* Content width constraints */
.content-wrapper {
    max-width: 1400px;
    margin: 0 auto;
}

/* Icon styling */
.bi {
    vertical-align: middle;
}

/* Footer styling */
footer {
    padding: 3rem 0 !important;
    background: #000 !important;
}

footer a:hover {
    color: var(--secondary-color) !important;
    transform: translateY(-2px);
    display: inline-block;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Stats/Numbers styling */
.stats-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--secondary-color);
    line-height: 1;
}

/* Hover effects for images */
img {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.rounded {
    border-radius: 20px !important;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Swiper 3D Coverflow specific styles */
.projectSwiper .swiper-slide {
    background-position: center;
    background-size: cover;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.projectSwiper .swiper-slide-shadow-left,
.projectSwiper .swiper-slide-shadow-right {
    background-image: linear-gradient(to right, rgba(0, 212, 255, 0.5), transparent);
}

/* Enhanced project card animations */
.project-card {
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 20px;
    z-index: 1;
}

.project-card:hover::before {
    opacity: 1;
}

/* Slide content animations */
.slide-content {
    animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Gallery hover enhancement */
.gallery-item {
    transform-style: preserve-3d;
    perspective: 1000px;
}

.gallery-item:hover {
    z-index: 10;
}

/* Loading animation for images */
img {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Section spacing */
section {
    scroll-margin-top: 70px;
    position: relative;
    z-index: 10;
    background: inherit;
}
 section {
        padding-top: var(--spacing-lg);
        padding-bottom: var(--spacing-lg);
    }
/* section .container,
section .container-fluid {
    padding-top: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
} */

section .container,
section .container-fluid {
    padding-top: 0;
    padding-bottom: 0;
} 
/* Enhanced Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

.display-3 {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 800;
    letter-spacing: -1px;
}

.display-5 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.5px;
}

.lead {
    font-size: 1.35rem;
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

p {
    margin-bottom: 1.75rem;
    font-size: 1.05rem;
}

/* Enhanced spacing utilities */
.mb-5 {
    margin-bottom: 4rem !important;
}

.mb-4 {
    margin-bottom: 3rem !important;
}

.py-5 {
    padding-top: var(--spacing-lg) !important;
    padding-bottom: var(--spacing-lg) !important;
}

/* Modern card shadows */
.shadow-sm {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important;
}

.shadow {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12) !important;
}

/* Modern backgrounds */
.bg-light {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%) !important;
    position: relative;
    z-index: 10;
}

.bg-dark {
    background: linear-gradient(135deg, var(--dark-color) 0%, #1a1f3a 100%) !important;
    position: relative;
    z-index: 10;
}

#main-content section.breadcrumb.sticky-top {
    position: sticky !important;
    top: 96px;
    z-index: 99;
    margin: 0 !important;
    -webkit-box-shadow: 0 0 15px 0 rgba(0,0,0,0.1);
    box-shadow: 0 0 15px 0 rgba(0,0,0,0.1);
}

#main-content section.breadcrumb_module {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    background: #f9f9f9;
}

#main-content section.breadcrumb_module .breadcrumb {
    margin: 0;
    padding: 15px 0 15px 0;
    list-style-type: none;
    font-size: 0.85em;
}

#main-content section.breadcrumb_module .breadcrumb li {
    margin: 0;
    padding: 0;
    display: inline-block;
}

#main-content section.breadcrumb_module .breadcrumb li:before {
    all: unset;
}

#main-content section.breadcrumb_module .breadcrumb li:not(:last-child):after {
    content: " > ";
}

#main-content section.breadcrumb_module .breadcrumb li a {
    color: #000;
    text-decoration: none;
}
.navbar.sticky-top {
    position: -webkit-sticky;
    position: sticky !important;
    top: 0;
    z-index: 1020;
}

#main-content section.breadcrumb_module {
    top:94px;
}

.btneditable {
    position:fixed;
    bottom:20px;
    right:20px;
    z-index: 1020;
}

div.privacy-msg {
    width: 100% !important;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%) !important;
}

div.privacy-msg p {
    width: 400px;
    border: 1px solid #ced4da;
    padding: 15px;
    text-align: center;
    position: relative;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    background: #fff;
    -webkit-box-shadow: 0 10px 6px -6px #777;
    box-shadow: 0 10px 6px -6px #777
}