/* Reset und Basis Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --fac-blue: #1E4A6B;          /* FAC Hauptblau */
    --fac-green: #8BC34A;         /* FAC Hauptgrün */
    --fac-light-green: #A5D866;   /* Helles Grün für Akzente */
    --fac-dark-blue: #163A57;     /* Dunkleres Blau */
    --text-color: #333;
    --text-light: #666;
    --white: #ffffff;
    --light-bg: #f8fffe;
    --dark-bg: #1a1a1a;
    --border-color: #e0e0e0;
    --shadow: 0 4px 20px rgba(104,159,56,0.25);
    --shadow-hover: 0 8px 30px rgba(104,159,56,0.35);
    --gradient-primary: linear-gradient(135deg, var(--fac-blue), var(--fac-green));
    --gradient-secondary: linear-gradient(45deg, var(--fac-green), var(--fac-light-green));
    --gradient-hero: linear-gradient(135deg, rgba(30,74,107,0.9), rgba(139,195,74,0.8));
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: rotate(-45deg) translate(0, 0);
    }
    40% {
        transform: rotate(-45deg) translate(-15px, 15px);
    }
    60% {
        transform: rotate(-45deg) translate(-7px, 7px);
    }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s ease;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s ease;
}

.fade-in-up.visible,
.fade-in-left.visible,
.fade-in-right.visible {
    opacity: 1;
    transform: translate(0);
}

/* Lazy Loading */
.lazy-load {
    opacity: 0;
    transition: opacity 0.3s;
}

.lazy-load.loaded {
    opacity: 1;
}

/* Header */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--border-color);
    transition: all 0.3s ease;
}

/* Scrollspy Progress Bar */
.scrollspy-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--fac-green), var(--fac-light-green));
    box-shadow: var(--shadow);
    transition: width 0.1s ease, opacity 0.3s ease, transform 0.3s ease;
    z-index: 1002;
    width: var(--scroll-progress, 0%);
    pointer-events: none;
    opacity: 0;
    transform: translateY(-100%);
}

.scrollspy-progress.show {
    opacity: 1;
    transform: translateY(0);
}

.header::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--fac-green), var(--fac-light-green));
    transition: width 0.1s ease;
    z-index: 1001;
    width: var(--scroll-progress, 0%);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo-img {
    height: 100px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: var(--fac-blue);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--fac-blue);
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    padding: 2rem;
}

.contact-info a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-info a:hover {
    color: var(--fac-blue);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--fac-blue);
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    animation: lightboxZoom 0.3s ease;
}

@keyframes lightboxZoom {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    background: white;
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.lightbox-image-clickable {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.lightbox-image-clickable:hover {
    transform: scale(1.02);
}

/* Mobile Navigation Overlay */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-header {
    padding: 2rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-nav-header .logo img {
    height: 50px;
}

.mobile-nav-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-list li {
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav-list a {
    display: block;
    padding: 1.5rem 2rem;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.mobile-nav-list a:hover,
.mobile-nav-list a.active {
    background: var(--light-bg);
    color: var(--fac-blue);
    transform: translateX(10px);
}

.mobile-nav-contact {
    padding: 2rem;
    background: var(--light-bg);
    margin-top: auto;
}

.mobile-nav-contact h4 {
    margin-bottom: 1rem;
    color: var(--fac-blue);
}

.mobile-nav-contact .contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.mobile-nav-contact .contact-item i {
    color: var(--fac-green);
    width: 16px;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: white;
    max-width: 700px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.highlight {
    color: var(--fac-light-green);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 4rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border: 4px solid white;
    border-top: none;
    border-right: none;
    animation: bounce 2s infinite;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--fac-blue);
    color: white;
    border-color: var(--fac-blue);
}

.btn-primary:hover {
    background: var(--fac-dark-blue);
    border-color: var(--fac-dark-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-outline {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-outline:hover {
    background: white;
    color: var(--fac-blue);
}

.btn-secondary {
    background: var(--fac-green);
    color: white;
    border-color: var(--fac-green);
}

.btn-secondary:hover {
    background: var(--fac-light-green);
    border-color: var(--fac-light-green);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Stats Section */
.stats-section {
    padding: 4rem 0;
    background: var(--light-bg);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: var(--fac-blue);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-light);
    font-weight: 500;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--fac-blue);
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
}

.service-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border-top: 4px solid var(--fac-green);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.service-image {
    height: 250px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: 2rem;
}

.service-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-secondary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.service-content h3 {
    font-size: 1.5rem;
    color: var(--fac-blue);
    margin: 0;
    font-weight: 600;
}

.service-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-content ul {
    list-style: none;
}

.service-content li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

.service-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--fac-green);
    font-weight: bold;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: var(--gradient-primary);
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    line-height: 1.7;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.cta-section .btn-primary {
    background: white;
    color: var(--fac-blue);
    border-color: white;
}

.cta-section .btn-primary:hover {
    background: var(--light-bg);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.cta-section .btn-outline {
    background: transparent;
    color: white;
    border-color: white;
}

.cta-section .btn-outline:hover {
    background: white;
    color: var(--fac-blue);
    transform: translateY(-3px);
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    opacity: 0.9;
}

.cta-feature i {
    font-size: 1.2rem;
    color: var(--fac-light-green);
}

.cta-feature span {
    font-weight: 500;
}

/* Rental Section */
.rental {
    padding: 6rem 0;
    background: var(--light-bg);
}

.rental-categories {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.rental-category {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 3rem;
    align-items: start;
    background: white;
    border-radius: 16px;
    padding: 3rem;
    /*box-shadow: var(--shadow);*/
    transition: transform 0.3s ease;
}

.rental-category:hover {
    transform: translateY(-5px);
}

.category-content h3 {
    font-size: 2rem;
    color: var(--fac-blue);
    margin-bottom: 1rem;
}

.category-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.category-content ul {
    list-style: none;
}

.category-content li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

.category-content li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--fac-green);
    font-weight: bold;
    font-size: 1.2rem;
}

.category-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.category-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-image:hover img {
    transform: scale(1.05);
}

/* Product Carousel */
.product-carousel {
    grid-column: 1 / -1;
    margin: 2rem 0 0 0;
    padding: 1.5rem;
    background: var(--light-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

/* Mobile Carousel Kompakt-Version */
@media (max-width: 768px) {
    .product-carousel {
        margin: 1rem 0 0 0;
        padding: 1rem;
        border-radius: 8px;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }
}

@media (max-width: 480px) {
    .product-carousel {
        margin: 0.75rem 0 0 0;
        padding: 0.75rem 0.5rem; /* Reduziertes seitliches Padding */
        background: transparent;
        border: none;
        border-radius: 0;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }
}

.product-carousel h4 {
    display: none;
}

.carousel-container {
    position: relative;
    margin: 0 60px; /* Desktop: Platz für außenliegende Buttons */
    overflow: visible; /* Desktop: Buttons sichtbar außerhalb */
}

.carousel-track-wrapper {
    overflow: hidden; /* Desktop: versteckt overflow innerhalb */
}

.carousel-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.3s ease;
    padding: 1rem 0;
}

.product-card {
    min-width: 280px;
    background: var(--light-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Mobile Product Card - erhöhte Bildhöhen */
@media (max-width: 640px) {
    .product-card img {
        height: 160px; /* Erhöht von 140px */
    }
}

@media (max-width: 480px) {
    .product-card img {
        height: 130px; /* Erhöht von 100px */
    }
    
    .product-card {
        border-radius: 8px;
        box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    }
}

@media (max-width: 375px) {
    .product-card img {
        height: 110px; /* Erhöht von 80px */
    }
    
    /* Alternative: Scroll-Grid für sehr kleine Screens */
    .carousel-track-wrapper {
        overflow-x: auto;
        scrollbar-width: thin;
        -webkit-overflow-scrolling: touch;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .carousel-track-wrapper::-webkit-scrollbar {
        height: 3px;
    }
    
    .carousel-track-wrapper::-webkit-scrollbar-track {
        background: var(--border-color);
        border-radius: 3px;
    }
    
    .carousel-track-wrapper::-webkit-scrollbar-thumb {
        background: var(--fac-blue);
        border-radius: 3px;
    }
    
    /* Snap Scrolling für bessere UX */
    .carousel-track {
        scroll-snap-type: x mandatory;
        padding: 0.5rem 0;
    }
    
    .product-card {
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }
}

.product-card:hover img {
    transform: scale(1.05);
}

.product-info {
    padding: 1.5rem;
}

.product-info h5 {
    color: var(--fac-blue);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.product-info p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--fac-blue);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    opacity: 1; /* Desktop default */
}

.carousel-btn:hover {
    background: var(--fac-dark-blue);
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: -50px; /* Desktop position außerhalb */
}

.carousel-next {
    right: -50px; /* Desktop position außerhalb */
}

.carousel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: translateY(-50%) scale(0.9);
}

.carousel-btn:disabled:hover {
    background: var(--fac-blue);
    transform: translateY(-50%) scale(0.9);
}

/* About Section */
.about {
    padding: 6rem 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--fac-blue);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.about-text .lead {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.about-features {
    margin: 2rem 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature-item i {
    font-size: 1.5rem;
    color: var(--fac-green);
    margin-top: 0.25rem;
}

.feature-item h4 {
    color: var(--fac-blue);
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: var(--text-light);
    line-height: 1.6;
}

.about-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--gradient-primary);
    color: white;
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.about-image:hover .image-overlay {
    transform: translateY(0);
}

.overlay-content h3 {
    margin-bottom: 0.5rem;
}

/* Partners Section */
.partners-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--fac-dark-blue), var(--fac-blue));
    position: relative;
    overflow: hidden;
    color: white;
}

.partners-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><defs><pattern id="partner-grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(139,195,74,0.05)"/><circle cx="75" cy="75" r="1" fill="rgba(139,195,74,0.03)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23partner-grain)"/></svg>');
    pointer-events: none;
}

.partners-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.partners-content h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

.partners-content > p {
    font-size: 1.2rem;
    margin-bottom: 4rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    align-items: center;
}

.partner-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.partner-item img {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.partner-item:hover img {
    transform: scale(1.1);
}


/* About Additional Section */
.about-additional {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-color);
}

.about-bottom-content {
    max-width: 1000px;
    margin: 0 auto;
}

.about-bottom-content > p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 2rem;
    text-align: center;
}

.about-bottom-content .about-features {
    margin: 3rem 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    text-align: left;
}

.about-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.about-cta .btn {
    min-width: 200px;
}

.about-cta .btn-outline {
    background: transparent;
    color: var(--fac-blue);
    border-color: var(--fac-blue);
}

.about-cta .btn-outline:hover {
    background: var(--fac-blue);
    color: white;
    transform: translateY(-2px);
}

/* References Section */
.references {
    padding: 6rem 0;
    background: var(--light-bg);
}

.references-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.reference-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border-top: 4px solid var(--fac-green);
}

.reference-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.reference-image {
    height: 250px;
    overflow: hidden;
}

.reference-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.reference-card:hover .reference-image img {
    transform: scale(1.05);
}

.reference-content {
    padding: 2rem;
}


.reference-content h3 {
    font-size: 1.5rem;
    color: var(--fac-blue);
    margin-bottom: 1rem;
    font-weight: 600;
}

.reference-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.reference-content ul {
    list-style: none;
}

.reference-content li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

.reference-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--fac-green);
    font-weight: bold;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    color: var(--fac-blue);
    margin-bottom: 2rem;
    font-size: 1.8rem;
    margin-top: 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item i {
    font-size: 1.2rem;
    color: var(--fac-green);
    margin-top: 0.25rem;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    color: var(--fac-blue);
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: var(--text-light);
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--fac-blue);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--fac-green);
    transform: translateY(-2px);
}

/* Contact Form */
.contact-form-container {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.contact-form h3 {
    color: var(--fac-blue);
    margin-bottom: 2rem;
    font-size: 1.8rem;
    margin-top: 0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--fac-blue);
    box-shadow: 0 0 0 3px rgba(30,74,107,0.1);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkbox-label a {
    color: var(--fac-blue);
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background: var(--fac-dark-blue);
    color: white;
    padding: 4rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    color: var(--fac-green);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.footer-logo img {
    height: 80px;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--fac-green);
}

.footer-social a:hover {
    color: var(--fac-blue) !important;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social .contact-info a:hover {
    color: var(--fac-blue);
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.footer-contact i {
    color: var(--fac-green);
    width: 16px;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-legal a:hover {
    color: var(--fac-green);
}

/* Responsive Design */

/* ===== TABLET BREAKPOINT ===== */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }
    
    /* References Grid Fix für Tablets */
    .references-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Contact Grid früher stacken */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* ===== MOBILE BREAKPOINT ===== */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    /* Header Mobile Optimierungen */
    .header-content {
        flex-wrap: wrap;
        gap: 1rem;
        padding: 0.75rem 0;
    }
    
    .logo-img {
        height: 60px; /* Reduziert von 100px */
    }

    .nav-list {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    /* Hero Section Mobile */
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    /* Services Mobile */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-card {
        min-width: auto;
    }

    /* Rental Section Mobile Fixes */
    .rental-category {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 2.5rem 2rem;
    }
    
    /* Product Carousel Mobile Fix */
    .product-card {
        min-width: 220px; /* Reduziert von 280px */
        flex-shrink: 0;
    }
    
    .carousel-container {
        margin: 0 10px; /* Weniger Margin für Buttons im Container */
    }
    
    .carousel-btn {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
        background: var(--fac-blue);
        border: 1px solid white;
        z-index: 10;
        opacity: 0.9;
    }
    
    .carousel-prev {
        left: 10px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .carousel-next {
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
    }

    /* About und Contact */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
    
    /* Form Mobile Optimierungen */
    .contact-form-container {
        padding: 0;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }

    /* Footer Mobile */
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    /* Stats Grid Mobile */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .stat-item {
        padding: 1.5rem 1rem;
    }

    /* CTA Section Mobile Improvements */
    .cta-content h2 {
        font-size: 2.2rem;
    }

    .cta-content p {
        font-size: 1.1rem;
        margin-bottom: 2.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .cta-features {
        gap: 1.5rem; /* Reduziert von 3rem */
        flex-direction: column;
        align-items: center;
    }
    
    .cta-feature {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    /* About Section Mobile */
    .about-bottom-content .about-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }

    .about-cta {
        flex-direction: column;
        align-items: center;
    }

    /* Partners Mobile */
    .partners-content h2 {
        font-size: 2.2rem;
    }

    .partners-content > p {
        font-size: 1.1rem;
        margin-bottom: 3rem;
    }

    .partners-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 2rem;
    }

    .partner-item {
        height: 120px;
        padding: 1.5rem;
    }

    .partner-item img {
        max-height: 60px;
    }
}

/* ===== SMALL MOBILE BREAKPOINT ===== */
@media (max-width: 640px) {
    
    /* Product Carousel weitere Anpassungen */
    .product-card {
        min-width: 180px;
    }
    
    .carousel-container {
        margin: 0 20px;
    }
    
    /* Hero weitere Anpassungen */
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    /* Button Touch-Optimierung */
    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
        min-height: 44px; /* Touch-Target Mindestgröße */
    }
    
    /* CTA weitere Komprimierung */
    .cta-content h2 {
        font-size: 1.9rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    
    /* Container weitere Reduzierung */
    .container {
        padding: 0 12px;
    }
    
    /* Header kompakter */
    .logo-img {
        height: 50px;
    }
    
    /* Product Carousel sehr kleine Screens */
    .product-card {
        min-width: 140px; /* Reduziert für bessere mobile Nutzung */
    }
    
    .carousel-container {
        margin: 0 10px; /* Weniger Margin */
    }
    
    .carousel-btn {
        width: 26px;
        height: 26px;
        font-size: 0.75rem;
        background: var(--fac-blue);
        border: 1px solid white;
        z-index: 10;
        opacity: 0.9;
    }
    
    .carousel-prev {
        left: 8px; /* Innerhalb Container */
        top: 50%;
        transform: translateY(-50%);
    }
    
    .carousel-next {
        right: 8px; /* Innerhalb Container */
        top: 50%;
        transform: translateY(-50%);
    }

    /* Typography Anpassungen */
    .hero-title {
        font-size: 1.8rem; /* Weiter reduziert */
    }

    .section-header h2 {
        font-size: 1.75rem; /* Kompakter */
    }

    /* Stats auf einzelne Spalte */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1.25rem 0.75rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }

    .rental-category {
        padding: 1.5rem; /* Kompakter */
    }
    
    /* Form iOS-Zoom-Prevention */
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px; /* Verhindert Zoom auf iOS */
        padding: 0.75rem;
    }
    
    .form-group label {
        font-size: 0.9rem;
    }
    
    /* CTA weitere Reduktion */
    .cta-content h2 {
        font-size: 1.6rem;
    }
    
    .btn-large {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
}

/* ===== FIX FÜR 375PX (iPhone SE, etc.) ===== */
@media (max-width: 375px) {
    
    /* Container noch kompakter */
    .container {
        padding: 0 10px;
    }
    
    /* Rental Category Fixes */
    .rental-category {
        padding: 1rem; /* Sehr kompakt */
        gap: 1.5rem;
    }
    
    /* Category Content sichtbar machen */
    .category-content h3 {
        font-size: 1.4rem; /* Kompakter */
        margin-bottom: 0.75rem;
    }
    
    .category-content p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
        line-height: 1.5;
    }
    
    .category-content ul {
        margin-bottom: 1rem;
    }
    
    .category-content li {
        font-size: 0.85rem;
        padding: 0.25rem 0;
    }
    
    /* Product Carousel 375px Fix - KOMPAKT */
    .product-carousel {
        margin: 0.5rem 0 0 0; /* Minimaler Abstand */
        padding: 0.5rem 0.25rem; /* Sehr wenig seitliches Padding */
        background: transparent;
        border: none;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        box-sizing: border-box;
    }
    
    .product-carousel h4 {
        display: none; /* Titel ausblenden für mehr Platz */
    }
    
    /* Carousel Container - minimalistisch */
    .carousel-container {
        margin: 0; /* Kein Margin */
        position: relative;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        box-sizing: border-box;
    }
    
    /* Product Cards für 375px - sehr kompakt */
    .product-card {
        min-width: 100px; /* Sehr klein */
        margin-right: 0.5rem;
        background: white;
        border: 1px solid var(--border-color);
    }
    
    .product-card img {
        height: 90px; /* Erhöht von 70px für bessere Sichtbarkeit */
    }
    
    .product-info {
        padding: 0.5rem;
    }
    
    .product-info h5 {
        font-size: 0.8rem;
        margin-bottom: 0.1rem;
        line-height: 1.1;
    }
    
    .product-info p {
        font-size: 0.7rem;
        line-height: 1.2;
        color: var(--text-light);
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    /* Carousel Buttons - sichtbar innerhalb Container */
    .carousel-btn {
        width: 24px;
        height: 24px;
        font-size: 0.7rem;
        background: var(--fac-blue);
        border: 1px solid white;
        border-radius: 50%;
        opacity: 0.9;
        z-index: 10;
        box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    }
    
    .carousel-prev {
        left: 5px; /* Innerhalb des Containers */
        top: 50%;
        transform: translateY(-50%);
    }
    
    .carousel-next {
        right: 5px; /* Innerhalb des Containers */
        top: 50%;
        transform: translateY(-50%);
    }
    
    /* Fallback: Swipe-Indikator */
    .carousel-container::after {
        content: "← Wischen →";
        position: absolute;
        bottom: -20px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 0.65rem;
        color: var(--text-light);
        z-index: 11;
    }
}

/* ===== SEHR KLEINE SMARTPHONES ===== */
@media (max-width: 360px) {
    
    /* Weitere Komprimierung für sehr kleine Screens */
    .rental-category {
        padding: 0.75rem;
    }
    
    .category-content h3 {
        font-size: 1.3rem;
    }
    
    .product-card {
        min-width: 110px;
    }
    
    .carousel-container {
        margin: 0 2px;
    }
    
    .carousel-btn {
        width: 22px;
        height: 22px;
        font-size: 0.6rem;
        background: var(--fac-blue);
        border: 1px solid white;
        z-index: 10;
        opacity: 0.9;
    }
    
    .carousel-prev {
        left: 3px; /* Innerhalb Container */
        top: 50%;
        transform: translateY(-50%);
    }
    
    .carousel-next {
        right: 3px; /* Innerhalb Container */
        top: 50%;
        transform: translateY(-50%);
    }
    
    .hero-title {
        font-size: 1.6rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
}

/* ===== TOUCH-OPTIMIERUNGEN ===== */
@media (hover: none) and (pointer: coarse) {
    
    /* Touch-Geräte spezifische Anpassungen */
    .service-card:hover,
    .reference-card:hover,
    .partner-item:hover {
        transform: none; /* Hover-Effekte deaktivieren */
    }
    
    /* Touch-Feedback für Buttons */
    .btn:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
    
    /* Carousel Touch-Verbesserungen */
    .carousel-track {
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .carousel-track::-webkit-scrollbar {
        display: none;
    }
    
    .product-card {
        scroll-snap-align: start;
    }
}

/* ===== LANDSCAPE TABLET FIXES ===== */
@media (max-width: 1024px) and (orientation: landscape) {
    .hero {
        min-height: 80vh;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
}