/* TAK-Textilveredelung Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #f8f9fa;
    color: #333;
    overflow-x: hidden;
}

/* CSS Variables */
:root {
    --primary-color: #000;
    --secondary-color: #fff;
    --accent-color: #e63946;
    --accent-color-2: #4361ee;
    --text-color: #333;
    --light-gray: #f1f2f6;
    --dark-gray: #222;
    --mid-gray: #888;
}

/* ============================================
   CSS Scroll Animations (ersetzt GSAP)
   ============================================ */

/* Basis-Zustand: Elemente sind unsichtbar und versetzt */
.service-item,
.service-card-overlap,
.about-img,
.about-content,
.before-after-item,
.video-item,
.franco-text,
.franco-video,
.section-title,
.slider-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    transition-delay: var(--animation-delay, 0s);
}

/* Spezielle Richtungen für About-Section */
.about-img {
    transform: translateX(-60px);
}

.about-content {
    transform: translateX(60px);
}

/* Animierter Zustand: Elemente werden sichtbar */
.service-item.animate-in,
.service-card-overlap.animate-in,
.about-img.animate-in,
.about-content.animate-in,
.before-after-item.animate-in,
.video-item.animate-in,
.franco-text.animate-in,
.franco-video.animate-in,
.section-title.animate-in,
.slider-section.animate-in {
    opacity: 1;
    transform: translateY(0) translateX(0);
}

/* Hover-Effekte für interaktive Elemente */
.service-card-overlap {
    transition: opacity 0.8s ease, transform 0.8s ease, box-shadow 0.3s ease;
}

/* ============================================ */

/* Navigation */
nav {
    background-color: rgba(0, 0, 0, 0.9);
    position: fixed;
    width: 100%;
    padding: 1.2rem 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

nav.scrolled {
    padding: 0.8rem 0;
    background-color: rgba(0, 0, 0, 0.95);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
}

.logo img {
    height: 50px;
    width: auto;
    margin-right: 10px;
}

.logo-text {
    margin-left: 0.5rem;
}

.logo-accent {
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 1.1rem;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-color-2);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    pointer-events: none; /* Verhindert jede Benutzerinteraktion */
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
    z-index: 2;
    position: relative;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    animation: fadeIn 1s ease;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    animation: fadeIn 1.5s ease;
}

.hero-btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 0;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeIn 2s ease;
}

.hero-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(230, 57, 70, 0.3);
}

.scroll-down {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-down svg {
    width: 30px;
    height: 30px;
    fill: white;
}

/* Franco Video Section */
.franco-video-section {
    padding: 6rem 2rem;
    background-color: var(--secondary-color);
}

.franco-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 4rem;
}

.franco-text {
    flex: 1;
}

.franco-text h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.franco-text p {
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.6;
}

.franco-video {
    flex: 0 0 300px;
}

.youtube-placeholder-short {
    width: 300px;
    height: 533px; /* 9:16 Aspect Ratio für Shorts */
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.youtube-placeholder-short:hover {
    transform: scale(1.02);
}

.video-placeholder-short {
    text-align: center;
    color: white;
    padding: 2rem;
}

.reference-img2 {
    background: #ffffff;
    border-radius: 10px;
    padding: 0.9rem 0.9rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0,0,0,0.06);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 170px;
    width: 100%;
    max-width: 260px;
    margin: 0 auto;
}

.youtube-placeholder-short:hover .play-button-short {
    transform: scale(1.2);
}

.video-placeholder-short p {
    font-size: 1rem;
    line-height: 1.4;
}

.video-placeholder-short small {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Slider Section */
.slider-section {
    padding: 8rem 2rem;
    background-color: var(--secondary-color);
    position: relative;
}

.slider-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 4px;
    background: var(--accent-color);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.slider-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    padding: 0 1rem;
    opacity: 0.7;
    transition: opacity 0.5s ease;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    background-color: white;
    border-radius: 0px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 400px;
    position: relative;
}

.slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 2rem;
    color: white;
}

.slide-overlay h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.slide-overlay p {
    font-size: 1rem;
}

.slider-nav {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.slider-btn {
    background: transparent;
    border: 2px solid var(--accent-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-btn:hover {
    background-color: var(--accent-color);
}

.slider-btn svg {
    width: 20px;
    height: 20px;
    fill: var(--accent-color);
    transition: fill 0.3s ease;
}

.slider-btn:hover svg {
    fill: white;
}

.slider-dots {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: #ddd;
    border-radius: 50%;
    margin: 0 0.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: var(--accent-color);
}

/* Services Section - Overlapping Card Design */
.services {
    padding: 6rem 2rem;
    background: transparent;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 5rem;
}

/* Overlapping card layout: image background + white card overlay */
.service-card-overlap {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

.card-image-bg {
    width: 55%;
    height: 380px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    position: relative;
    z-index: 1;
}

.card-image-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card-content-overlay {
    position: absolute;
    left: 42%;
    top: 50%;
    transform: translateY(-50%);
    width: 55%;
    height: 200px;
    background: white;
    border-radius: 14px;
    padding: 2.5rem 3rem;
    box-shadow: 0 20px 60px rgba(16,24,40,0.15);
    z-index: 2;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-content-overlay:hover {
    transform: translateY(calc(-50% - 8px));
    box-shadow: 0 30px 80px rgba(16,24,40,0.2);
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 1.5rem 0;
    line-height: 1.3;
}

/* Card-title-only Klasse nicht mehr nötig, alle gleich */
.card-title-only {
    /* Gleiche Höhe wie alle anderen */
}

.card-title-only .card-title {
    /* Gleiche Größe */
}
    margin-bottom: 1.5rem;
}

.card-desc {
    color: var(--mid-gray);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0 0 1.5rem 0;
}

.card-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-color);
    font-weight: 700;
    text-decoration: none;
    font-size: 1rem;
    transition: gap 0.2s ease;
}

.card-cta svg {
    width: 18px;
    height: 18px;
    fill: var(--accent-color);
    transition: transform 0.2s ease;
}

.card-content-overlay:hover .card-cta svg {
    transform: translateX(4px);
}

/* Arrow section below card */
.card-arrow-section {
    margin-top: 2.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding-left: 52%;
    position: relative;
}

.arrow-icon {
    width: 32px;
    height: 32px;
    color: var(--accent-color);
    flex-shrink: 0;
    stroke: var(--accent-color);
}

.arrow-text {
    color: var(--text-color);
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0;
    max-width: 450px;
    font-style: italic;
    padding-top: 0.25rem;
}

/* Mobile: stacked layout */
@media (max-width: 820px) {
    .services-grid { gap: 4rem; }
    
    .card-image-bg {
        width: 100%;
        height: 220px;
    }
    
    .card-content-overlay {
        position: static;
        transform: none;
        width: 100%;
        min-height: auto;
        margin-top: -40px;
        padding: 1.5rem;
    }
    
    .card-content-overlay:hover {
        transform: translateY(-8px);
    }
    
    .card-arrow-section {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding-left: 0;
        margin-top: 1.5rem;
    }
    
    .arrow-icon {
        width: 28px;
        height: 28px;
    }
    
    .arrow-text {
        font-size: 0.95rem;
        padding-top: 0;
    }
    
    .services { padding: 4rem 1rem; }
}

/* About Section */
.about {
    padding: 8rem 2rem;
    background-color: var(--dark-gray);
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4rem;
}

.about-img {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.about-img img {
    width: 100%;
    border-radius: 0;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.about-img::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 5px solid var(--accent-color);
    top: 20px;
    left: 20px;
    z-index: -1;
}

.about-content {
    flex: 1;
    min-width: 300px;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.about-content h2::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 4px;
    background: var(--accent-color);
    bottom: 0;
    left: 0;
}

.about-content p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 0;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-btn:hover {
    background-color: var(--primary-color);
}

/* Before-After Section */
.before-after {
    padding: 8rem 2rem;
    background-color: white;
}

.before-after-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.before-after-images {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.before-after-item {
    flex: 1;
    min-width: 300px;
    margin: 0 1rem 2rem;
    position: relative;
}

.before-after-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.before-after-label {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background-color: var(--accent-color);
    color: white;
    padding: 0.5rem 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   Referenzen Section
   ============================================ */
.references-section {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.references-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.references-section .section-title h2 {
    color: var(--primary-color);
}

.references-intro {
    font-size: 1.15rem;
    color: var(--mid-gray);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.references-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    justify-items: center;
    max-width: 1000px;
    margin: 0 auto;
}



.reference-item {
    background: white;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    min-width: 200px;
}

.reference-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.reference-item img {
    max-width: 140px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.9;
    transition: filter 0.22s ease, opacity 0.22s ease, transform 0.22s ease;
}

.reference-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.02);
}

/* fine-tune sizes for smaller screens */
@media (max-width: 768px) {
    .reference-item img {
        max-width: 140px;
        max-height: 80px;
    }
}

@media (max-width: 480px) {
    .reference-item img {
        max-width: 120px;
        max-height: 70px;
    }
}

/* Placeholder für Logos (bis echte Logos eingefügt werden) */
.reference-placeholder {
    width: 100%;
    height: 80px;
    background: linear-gradient(135deg, #f1f2f6 0%, #e0e0e0 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #ccc;
}

.reference-placeholder span {
    color: #999;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 992px) {
    .references-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .references-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .reference-item {
        padding: 1.5rem 1rem;
        min-height: 100px;
    }
    
    .references-section {
        padding: 3rem 1rem;
    }
}

@media (max-width: 480px) {
    .references-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
}

/* Footer */
footer {
    background-color: var(--dark-gray);
    color: white;
    padding: 4rem 2rem 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    display: inline-block;
}

.footer-logo-img {
    width: 150px;
    height: auto;
    margin-bottom: 1rem;
}

.footer-contact {
    margin-bottom: 2rem;
    min-width: 250px;
}

.footer-heading {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
    color: white;
}

.footer-heading::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 3px;
    background: var(--accent-color);
    bottom: 0;
    left: 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.contact-icon {
    margin-right: 1rem;
    min-width: 20px;
}

.contact-icon svg {
    width: 20px;
    height: 20px;
    fill: var(--accent-color);
}

.contact-text {
    color: var(--mid-gray);
}

.contact-text a {
    color: var(--mid-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-text a:hover {
    color: white;
}

/* Contact Highlight Animation */
.contact-item-pulse {
    animation: itemPulse 0.8s ease-in-out;
}

@keyframes itemPulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.4;
    }
    100% {
        opacity: 1;
    }
}

.contact-item-pulse .contact-icon svg {
    animation: iconGlow 0.8s ease-in-out;
}

@keyframes iconGlow {
    0%, 100% {
        fill: var(--accent-color);
    }
    50% {
        fill: white;
    }
}

.social-links {
    display: flex;
    margin-top: 2rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #333;
    border-radius: 0;
    margin-right: 1rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--accent-color);
}

.social-links svg {
    width: 18px;
    height: 18px;
    fill: white;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    margin-top: 4rem;
    border-top: 1px solid #333;
    color: var(--mid-gray);
    width: 100%;
}

.copyright a {
    color: var(--mid-gray);
    text-decoration: none;
}

.copyright a:hover {
    color: white;
}

/* Impressum & Datenschutz */
.impressum, .datenschutz {
    padding: 8rem 2rem;
    max-width: 800px;
    margin: 0 auto;
    min-height: 70vh;
}

.impressum h2, .datenschutz h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.impressum-content, .datenschutz-content {
    background-color: white;
    border-radius: 0;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.impressum-content h3, .datenschutz-content h3 {
    font-size: 1.5rem;
    margin: 1.5rem 0 1rem;
    color: var(--primary-color);
}

.impressum-content h3:first-child, .datenschutz-content h3:first-child {
    margin-top: 0;
}

.impressum-content p, .datenschutz-content p {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.impressum-content a, .datenschutz-content a {
    color: var(--accent-color);
    text-decoration: none;
}

.impressum-content a:hover, .datenschutz-content a:hover {
    text-decoration: underline;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-20px) translateX(-50%);
    }
    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

/* Lazy Loading */
img.lazy {
    opacity: 0;
    transition: opacity 0.3s;
}

img.lazy.loaded {
    opacity: 1;
}

/* Media Queries */
@media screen and (max-width: 768px) {
    .nav-links {
        position: absolute;
        right: 0;
        height: 100vh;
        top: 0;
        background-color: rgba(0, 0, 0, 0.95);
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 70%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        z-index: 1001;
        justify-content: center;
    }

    .nav-links li {
        margin: 1.5rem 0;
    }

    .burger {
        display: block;
        z-index: 1002;
    }

    .nav-active {
        transform: translateX(0%);
    }

    .toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
        background-color: white;
    }

    .toggle .line2 {
        opacity: 0;
    }

    .toggle .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
        background-color: white;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .service-item,
    .service-item:nth-child(even) {
        flex-direction: column;
    }

    .service-content,
    .service-item:nth-child(even) .service-content {
        margin-left: 0;
        margin-right: 0;
        margin-top: -50px;
    }

    .service-img {
        width: 100%;
    }

    .about-content h2 {
        font-size: 2rem;
    }

    .before-after-item {
        flex: 100%;
        margin-bottom: 2rem;
    }

    .video-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .video-item {
        min-width: auto;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        justify-content: center;
    }
}

@media screen and (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .service-content h3 {
        font-size: 1.5rem;
    }

    .about-content h2 {
        font-size: 1.8rem;
    }

    .cookie-modal-content {
        width: 95%;
        margin: 1rem;
    }

    .cookie-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
}