/* ==========================================
   A4Z BAU - Modern Construction Website Styles
   ========================================== */

/* ==========================================
   CSS Variables & Base Setup
   ========================================== */
:root {
    /* Colors - A4Z BAU Rot-Grau Theme */
    --primary-color: #C1272D;
    --primary-dark: #A01F24;
    --primary-light: #D94349;
    --secondary-color: #333333;
    --text-dark: #1A1A1A;
    --text-gray: #666666;
    --text-light: #999999;
    --bg-white: #FFFFFF;
    --bg-light: #F8F9FA;
    --bg-gray: #E9ECEF;
    --bg-dark: #333333;
    --bg-darker: #1a1a1a;
    --border-color: #DEE2E6;
    --success-color: #28A745;
    --warning-color: #FFC107;
    
    /* Neue Farben für Sektionen */
    --section-light-1: #f8f9fa;
    --section-light-2: #ffffff;
    --section-accent: #fff5f5;
    --section-gradient-start: #fff8f8;
    --section-gradient-end: #ffffff;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    
    /* Spacing */
    --container-width: 1200px;
    --section-padding: 100px;
    --header-height: 80px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.1);
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

/* ==========================================
   Reset & Base Styles
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-regular);
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* ==========================================
   Utility Classes
   ========================================== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.highlight {
    color: var(--primary-color);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    display: inline-block;
    font-size: 14px;
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.section-title {
    font-size: 42px;
    font-weight: var(--font-weight-bold);
    color: var(--text-dark);
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-description {
    font-size: 18px;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: var(--font-weight-semibold);
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--bg-white);
    box-shadow: 0 8px 20px rgba(193, 39, 45, 0.35);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(193, 39, 45, 0.45);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--bg-white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--bg-white);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--text-dark);
}

.btn-outline:hover {
    background: var(--text-dark);
    color: var(--bg-white);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* ==========================================
   Header & Navigation
   ========================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition-normal);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-image {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo-highlight {
    color: var(--primary-color);
}

.nav__list {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav__link {
    font-size: 15px;
    font-weight: var(--font-weight-medium);
    color: var(--text-dark);
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition-normal);
}

.nav__link:hover::after,
.nav__link.active::after {
    width: 100%;
}

.nav__link.nav__cta {
    padding: 10px 24px;
    background: var(--primary-color);
    color: var(--bg-white);
    border-radius: var(--radius-sm);
}

.nav__link.nav__cta::after {
    display: none;
}

.nav__link.nav__cta:hover {
    background: var(--primary-dark);
}

.nav__actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav__phone {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: var(--font-weight-semibold);
    color: var(--text-dark);
}

.nav__phone i {
    color: var(--primary-color);
    font-size: 18px;
}

.nav__toggle {
    display: none;
    font-size: 24px;
    color: var(--text-dark);
    cursor: pointer;
}

/* ==========================================
   WhatsApp Floating Button
   ========================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: var(--transition-normal);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
}

/* ==========================================
   Hero Section
   ========================================== */
.hero {
    padding: 0;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero__background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero__background-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}







.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.25);
    z-index: 1;
}

.hero__background-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.hero__container {
    position: relative;
    z-index: 3;
    width: 100%;
    text-align: center;
}

.hero__content {
    animation: fadeInUp 1s ease;
    max-width: 900px;
    margin: 0 auto;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, rgba(193, 39, 45, 0.9) 0%, rgba(160, 31, 36, 0.9) 100%);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 14px;
    font-weight: var(--font-weight-semibold);
    color: var(--bg-white);
    margin-bottom: 30px;
    box-shadow: 0 8px 20px rgba(193, 39, 45, 0.3);
}

.hero__badge i {
    font-size: 18px;
    color: var(--bg-white);
}
}

.hero__subtitle {
    display: none;
}

.hero__title {
    font-size: 64px;
    font-weight: var(--font-weight-extrabold);
    line-height: 1.1;
    color: var(--bg-white);
    margin-bottom: 30px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero__title .highlight {
    color: var(--bg-white);
}

.hero__description {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 50px;
    line-height: 1.8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero__buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 0;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-large {
    padding: 20px 40px;
    font-size: 18px;
    min-width: 220px;
}

/* Remove old trust badges */
.hero__trust-badges,
.trust-badge {
    display: none;
}

/* Services Section wird hier folgen */

/* ==========================================
   Stats + USPs Section
   ========================================== */
.stats-usps {
    padding: 100px 0;
    background: linear-gradient(180deg, #f0f7ff 0%, #e3f2fd 100%);
    position: relative;
    overflow: hidden;
}

.stats-usps::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(193, 39, 45, 0.3), transparent);
}

.stats-usps__content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.stats-usps__text {
    margin-top: 40px;
    text-align: left;
}

.lead-text {
    font-size: 20px;
    font-weight: var(--font-weight-medium);
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 30px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(193, 39, 45, 0.08);
}

.body-text {
    font-size: 17px;
    color: var(--text-gray);
    line-height: 1.9;
    margin-bottom: 25px;
    padding: 25px 30px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px);
    border-radius: var(--radius-md);
}

.body-text:last-child {
    margin-bottom: 50px;
}

/* USPs Grid */
.usps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.usp-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    animation: float 6s ease-in-out infinite;
}

/* Different floating speeds for each card */
.usp-card:nth-child(1) {
    animation-delay: 0s;
}

.usp-card:nth-child(2) {
    animation-delay: 2s;
}

.usp-card:nth-child(3) {
    animation-delay: 4s;
}

/* Floating Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

.usp-card.animated {
    animation: fadeInUp 0.6s ease forwards, float 6s ease-in-out infinite;
}

.usp-card:nth-child(1).animated {
    animation-delay: 0.5s, 0s;
}

.usp-card:nth-child(2).animated {
    animation-delay: 0.6s, 2s;
}

.usp-card:nth-child(3).animated {
    animation-delay: 0.7s, 4s;
}

.usp-card:nth-child(4) {
    animation-delay: 0.8s, 6s;
}

.usp-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-normal);
}

.usp-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(193, 39, 45, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.usp-card:hover {
    transform: translateY(-20px) scale(1.05);
    border-color: var(--primary-color);
    box-shadow: 0 20px 50px rgba(193, 39, 45, 0.2);
    animation-play-state: paused;
}

.usp-card:hover::before {
    transform: scaleX(1);
}

.usp-card:hover::after {
    opacity: 1;
}

.usp-card__icon-wrapper {
    margin-bottom: 25px;
    perspective: 1000px;
}

.usp-card__icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(193, 39, 45, 0.1), rgba(217, 67, 73, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 36px;
    color: var(--primary-color);
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
}

.usp-card__icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.usp-card__icon i {
    position: relative;
    z-index: 1;
    transition: transform 0.6s ease;
}

.usp-card:hover .usp-card__icon {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--bg-white);
    transform: scale(1.2) rotate(360deg);
    box-shadow: 0 10px 30px rgba(193, 39, 45, 0.4);
}

.usp-card:hover .usp-card__icon i {
    transform: scale(1.1);
}

.usp-card__title {
    font-size: 20px;
    font-weight: var(--font-weight-bold);
    color: var(--text-dark);
    margin-bottom: 15px;
}

.usp-card__description {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.7;
}

/* Services Section wird hier folgen */

/* ==========================================
   Services Section
   ========================================== */
.services {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, var(--section-gradient-start) 0%, var(--section-gradient-end) 100%);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--bg-white);
    border: 1px solid rgba(193, 39, 45, 0.1);
    border-radius: var(--radius-lg);
    padding: 28px 22px;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    contain: layout style paint;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, var(--primary-color), var(--primary-light));
    transition: var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(193, 39, 45, 0.12);
    border-color: var(--primary-color);
}

.service-card:hover::before {
    height: 100%;
}

.service-card__icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    font-size: 26px;
    margin-bottom: 18px;
}

.service-card__title {
    font-size: 19px;
    font-weight: var(--font-weight-bold);
    color: var(--text-dark);
    margin-bottom: 12px;
}

.service-card__description {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 18px;
}

.service-card__features {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-card__features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-dark);
}

.service-card__features i {
    color: var(--success-color);
    font-size: 14px;
}

.service-card__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
    padding: 12px 18px;
    background: linear-gradient(135deg, #c1272d, #a01f24);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(193, 39, 45, 0.25);
    transition: 0.25s ease;
}

.service-card__link::after {
    content: "→";
    font-weight: 800;
    transition: transform 0.25s ease;
}

.service-card__link:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(193, 39, 45, 0.35);
}

.service-card__link:hover::after {
    transform: translateX(4px);
}

/* ==========================================
   Projects Section
   ========================================== */
.projects {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, #f0f7ff 0%, #e3f2fd 100%);
    position: relative;
}

.projects__filter {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 28px;
    font-size: 15px;
    font-weight: var(--font-weight-medium);
    background: var(--bg-white);
    color: var(--text-dark);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: var(--bg-white);
    border-color: var(--primary-color);
}

.projects__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.project-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: var(--transition-normal);
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
    contain: layout style paint;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(193, 39, 45, 0.12);
    border-color: rgba(193, 39, 45, 0.15);
}

.project-card__image {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 280px;
    background: var(--bg-gray);
}

.project-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
}

.project-card:hover .project-card__image img {
    transform: scale(1.05);
}

.project-placeholder {
    width: 100%;
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, var(--bg-gray) 0%, var(--border-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 60px;
}

.project-card__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, transparent 100%);
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 20px;
}

.project-category {
    padding: 6px 14px;
    background: var(--primary-color);
    color: var(--bg-white);
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.3px;
}

.project-card__content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.project-card__title {
    font-size: 19px;
    font-weight: var(--font-weight-bold);
    color: var(--text-dark);
    margin-bottom: 10px;
}

.project-card__description {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.project-card__meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: var(--text-light);
}

.project-card__meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.project-card__meta i {
    color: var(--primary-color);
    margin-right: 6px;
}

/* ==========================================
   Projects Slideshow
   ========================================== */
.projects__slideshow {
    max-width: 1100px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.projects__slides {
    display: flex;
    width: 700%; /* 7 Slides = 700% */
    animation: slideShow 28s infinite; /* 4 Sekunden pro Bild */
}

.project-slide {
    width: 14.2857%; /* 100% / 7 */
    height: 500px;
    display: flex;
    overflow: hidden;
}

.project-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Spezielles Bild 6 (Pool fertig) - zeige komplettes Bild */
.project-slide:nth-child(6) img {
    object-fit: cover;
    object-position: center center;
}

@keyframes slideShow {
    0% { transform: translateX(0); }
    14.28% { transform: translateX(-14.2857%); }
    28.56% { transform: translateX(-28.5714%); }
    42.84% { transform: translateX(-42.8571%); }
    57.12% { transform: translateX(-57.1428%); }
    71.4% { transform: translateX(-71.4285%); }
    85.68% { transform: translateX(-85.7142%); }
    100% { transform: translateX(0); }
}

.projects__seo-text {
    max-width: 900px;
    margin: 60px auto 0;
    padding: 40px;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

.projects__seo-text h3 {
    font-size: 28px;
    font-weight: var(--font-weight-bold);
    color: var(--text-dark);
    margin-bottom: 20px;
}

.projects__seo-text h4 {
    font-size: 20px;
    font-weight: var(--font-weight-semibold);
    color: var(--text-dark);
    margin: 30px 0 15px;
}

.projects__seo-text p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-gray);
    margin-bottom: 16px;
}

.projects__seo-text ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.projects__seo-text ul li {
    font-size: 16px;
    line-height: 2;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 12px;
}

.projects__seo-text ul li i {
    color: var(--primary-color);
    font-size: 18px;
}

.projects__cta {
    margin-top: 30px;
    padding: 30px;
    background: linear-gradient(135deg, var(--section-accent) 0%, var(--bg-white) 100%);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-color);
    text-align: center;
}

.projects__cta p {
    margin-bottom: 12px;
}

.projects__cta .btn {
    margin-top: 20px;
}

/* ==========================================
   Reviews Section
   ========================================== */
.reviews {
    padding: var(--section-padding) 0;
    background: var(--section-light-2);
    position: relative;
}

.reviews__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.review-card {
    background: linear-gradient(135deg, #ffffff 0%, #fefefe 100%);
    border: 1px solid rgba(193, 39, 45, 0.08);
    border-radius: var(--radius-lg);
    padding: 35px;
    transition: var(--transition-normal);
    position: relative;
}

.review-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 80px;
    font-weight: var(--font-weight-bold);
    color: rgba(193, 39, 45, 0.05);
    line-height: 1;
    font-family: Georgia, serif;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(193, 39, 45, 0.1);
    border-color: rgba(193, 39, 45, 0.15);
}

.review-card__header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.review-card__avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    font-size: 24px;
}

.review-card__name {
    font-size: 18px;
    font-weight: var(--font-weight-semibold);
    color: var(--text-dark);
    margin-bottom: 6px;
}

.review-card__rating {
    display: flex;
    gap: 4px;
    color: var(--warning-color);
    font-size: 14px;
}

.review-card__text {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
}

.review-card__project {
    font-size: 13px;
    font-weight: var(--font-weight-semibold);
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.reviews__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 50px;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
}

.reviews__rating-box {
    text-align: center;
}

.rating-score {
    font-size: 64px;
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 12px;
}

.rating-stars {
    display: flex;
    gap: 6px;
    justify-content: center;
    color: var(--warning-color);
    font-size: 24px;
    margin-bottom: 12px;
}

.reviews__rating-box p {
    font-size: 14px;
    color: var(--text-gray);
}

/* ==========================================
   About Section
   ========================================== */
.about {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, #f0f7ff 0%, #e3f2fd 100%);
    position: relative;
}

.about__content {
    display: block;
    max-width: 1000px;
    margin: 0 auto;
}

.about__text {
    width: 100%;
}

.about__intro {
    margin-bottom: 40px;
}

.about__description {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 24px;
}

.about__description strong {
    color: var(--text-dark);
    font-weight: var(--font-weight-semibold);
}

.about__section-title {
    font-size: 26px;
    font-weight: var(--font-weight-bold);
    color: var(--text-dark);
    margin: 50px 0 30px;
    position: relative;
    padding-bottom: 15px;
}

.about__section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

/* Four Pillars */
.about__pillars {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin: 40px 0 50px;
}

.pillar-card {
    background: var(--bg-white);
    border: 2px solid rgba(59, 130, 246, 0.1);
    border-radius: var(--radius-lg);
    padding: 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
    will-change: transform, opacity;
}

.pillar-card:nth-child(1) { animation-delay: 0.1s; }
.pillar-card:nth-child(2) { animation-delay: 0.2s; }
.pillar-card:nth-child(3) { animation-delay: 0.3s; }
.pillar-card:nth-child(4) { animation-delay: 0.4s; }

.pillar-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.pillar-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transition: width 0.5s ease;
}

.pillar-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.2);
}

.pillar-card:hover::before {
    opacity: 1;
}

.pillar-card:hover::after {
    width: 100%;
}

.pillar-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: var(--font-weight-bold);
    margin-bottom: 20px;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.pillar-card:hover .pillar-number {
    transform: rotate(360deg) scale(1.15);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5);
}

.pillar-card h4 {
    font-size: 19px;
    font-weight: var(--font-weight-semibold);
    color: var(--text-dark);
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.pillar-card:hover h4 {
    color: var(--primary-color);
}

.pillar-card p {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.6;
}

/* Materials Section */
.about__materials {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 30px 0 40px;
}

.material-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 22px;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary-color);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    animation: slideInLeft 0.6s ease-out forwards;
    opacity: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    will-change: transform, opacity;
}

.material-item:nth-child(1) { animation-delay: 0.1s; }
.material-item:nth-child(2) { animation-delay: 0.2s; }
.material-item:nth-child(3) { animation-delay: 0.3s; }
.material-item:nth-child(4) { animation-delay: 0.4s; }
.material-item:nth-child(5) { animation-delay: 0.5s; }

.material-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, var(--primary-light), var(--primary-color));
    transition: height 0.4s ease;
    z-index: 1;
}

.material-item:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.15);
    border-left-width: 6px;
}

.material-item:hover::before {
    height: 100%;
}

.material-item i {
    font-size: 32px;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 4px;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.material-item:hover i {
    transform: scale(1.2) rotate(10deg);
    color: var(--primary-dark);
}

.material-item h4 {
    font-size: 17px;
    font-weight: var(--font-weight-semibold);
    color: var(--text-dark);
    margin-bottom: 6px;
    transition: color 0.3s ease;
}

.material-item:hover h4 {
    color: var(--primary-color);
}

.material-item p {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.6;
}

/* Advantages Grid */
.about__advantages {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.advantage-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 24px;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    border: 2px solid rgba(59, 130, 246, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    animation: scaleIn 0.5s ease-out forwards;
    opacity: 0;
    will-change: transform, opacity;
}

.advantage-item:nth-child(1) { animation-delay: 0.1s; }
.advantage-item:nth-child(2) { animation-delay: 0.2s; }
.advantage-item:nth-child(3) { animation-delay: 0.3s; }
.advantage-item:nth-child(4) { animation-delay: 0.4s; }

.advantage-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.05), transparent);
    transition: left 0.6s ease;
}

.advantage-item:hover::before {
    left: 100%;
}

.advantage-item:hover {
    transform: translateY(-8px) scale(1.03);
    border-color: var(--primary-color);
    box-shadow: 0 12px 35px rgba(59, 130, 246, 0.2);
}

.advantage-item i {
    font-size: 28px;
    color: var(--success-color);
    flex-shrink: 0;
    transition: all 0.5s ease;
}

.advantage-item:hover i {
    transform: scale(1.3) rotate(360deg);
    filter: drop-shadow(0 4px 10px rgba(34, 197, 94, 0.4));
}

.advantage-item h4 {
    font-size: 17px;
    font-weight: var(--font-weight-semibold);
    color: var(--text-dark);
    margin-bottom: 4px;
    transition: color 0.3s ease;
}

.advantage-item:hover h4 {
    color: var(--primary-color);
}

.advantage-item p {
    font-size: 14px;
    color: var(--text-gray);
}

/* CTA Box */
.about__cta-box {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--bg-white);
    padding: 40px;
    border-radius: var(--radius-xl);
    text-align: center;
    margin: 50px 0 40px;
    box-shadow: 0 15px 50px rgba(59, 130, 246, 0.4);
    position: relative;
    overflow: hidden;
    animation: pulse 3s ease-in-out infinite;
}

.about__cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.about__cta-box::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    padding: 2px;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: borderGlow 3s linear infinite;
}

.about__cta-box h4 {
    font-size: 24px;
    font-weight: var(--font-weight-bold);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.about__cta-box h4 i {
    font-size: 28px;
    animation: ring 2s ease-in-out infinite;
}

.about__cta-box p {
    font-size: 16px;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 15px 50px rgba(59, 130, 246, 0.4);
    }
    50% {
        box-shadow: 0 20px 60px rgba(59, 130, 246, 0.6);
    }
}

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

@keyframes ring {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    25% {
        transform: rotate(-15deg) scale(1.1);
    }
    75% {
        transform: rotate(15deg) scale(1.1);
    }
}

@keyframes borderGlow {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.8;
    }
}

/* Closing Section */
.about__closing {
    margin-top: 60px;
    text-align: center;
    padding-top: 50px;
    border-top: 2px solid var(--border-color);
}

.about__signature {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 30px;
}

.about__signature strong {
    font-size: 20px;
}

.about__contact-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--primary-color);
    color: var(--bg-white);
    border-radius: var(--radius-lg);
    font-size: 17px;
    font-weight: var(--font-weight-semibold);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.contact-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.contact-link:hover::before {
    width: 300px;
    height: 300px;
}

.contact-link:hover {
    background: var(--primary-dark);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgba(193, 39, 45, 0.4);
}

.contact-link i {
    font-size: 20px;
    transition: transform 0.4s ease;
    position: relative;
    z-index: 1;
}

.contact-link:hover i {
    transform: rotate(360deg);
}



/* ==========================================
   Contact Section
   ========================================== */
.contact {
    padding: var(--section-padding) 0;
    background: var(--section-light-2);
}

.contact__content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.contact__info h3 {
    font-size: 28px;
    font-weight: var(--font-weight-bold);
    color: var(--text-dark);
    margin-bottom: 16px;
}

.contact__intro {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 40px;
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    gap: 20px;
}

.contact-item__icon {
    width: 50px;
    height: 50px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 20px;
    flex-shrink: 0;
}

.contact-item__content h4 {
    font-size: 16px;
    font-weight: var(--font-weight-semibold);
    color: var(--text-dark);
    margin-bottom: 6px;
}

.contact-item__content p {
    font-size: 15px;
    color: var(--text-gray);
}

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

.contact-item__content a:hover {
    text-decoration: underline;
}

.contact__social h4 {
    font-size: 16px;
    font-weight: var(--font-weight-semibold);
    color: var(--text-dark);
    margin-bottom: 16px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 44px;
    height: 44px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    font-size: 18px;
    transition: var(--transition-normal);
}

.social-link:hover {
    background: var(--primary-color);
    color: var(--bg-white);
    transform: translateY(-3px);
}

.contact__form-wrapper {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.contact__form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: var(--font-weight-semibold);
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    font-size: 15px;
    font-family: inherit;
    color: var(--text-dark);
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    transition: var(--transition-normal);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-label {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 14px;
    color: var(--text-gray);
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-top: 4px;
    cursor: pointer;
}

.checkbox-label a {
    color: var(--primary-color);
}

.form-message {
    padding: 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    text-align: center;
    display: none;
}

.form-message.success {
    background: #D4EDDA;
    color: #155724;
    border: 1px solid #C3E6CB;
    display: block;
}

.form-message.error {
    background: #F8D7DA;
    color: #721C24;
    border: 1px solid #F5C6CB;
    display: block;
}

.contact__map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* ==========================================
   Footer
   ========================================== */
.footer {
    background: var(--secondary-color);
    color: var(--bg-white);
    padding: 80px 0 30px;
}

.footer__content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo-image {
    height: 120px;
    width: auto;
    object-fit: contain;
}

.footer__description {
    font-size: 15px;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    margin-bottom: 24px;
}

.footer__social {
    display: flex;
    gap: 12px;
}

.footer__title {
    font-size: 18px;
    font-weight: var(--font-weight-semibold);
    color: var(--bg-white);
    margin-bottom: 24px;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__links a {
    font-size: 15px;
    color: rgba(255,255,255,0.7);
    transition: var(--transition-normal);
}

.footer__links a:hover {
    color: var(--bg-white);
    padding-left: 5px;
}

.footer__contact {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer__contact li {
    display: flex;
    gap: 12px;
    font-size: 15px;
    color: rgba(255,255,255,0.7);
}

.footer__contact i {
    color: var(--primary-color);
    margin-top: 4px;
    flex-shrink: 0;
}

.footer__contact a {
    color: rgba(255,255,255,0.7);
    transition: var(--transition-normal);
}

.footer__contact a:hover {
    color: var(--bg-white);
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}

.footer__legal {
    display: flex;
    gap: 24px;
}

.footer__legal a {
    color: rgba(255,255,255,0.7);
    transition: var(--transition-normal);
}

.footer__legal a:hover {
    color: var(--bg-white);
}

.footer__credits {
    margin-bottom: 50px;
    padding-bottom: 40px;
    border-bottom: 2px solid rgba(255,255,255,0.15);
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.demo-notice {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-style: italic;
    font-weight: var(--font-weight-semibold);
    background: rgba(59, 130, 246, 0.15);
    padding: 16px 32px;
    border-radius: var(--radius-lg);
    border: 2px solid var(--primary-color);
    max-width: 400px;
    margin: 0 auto;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.demo-notice i {
    color: var(--primary-color);
    font-size: 22px;
    animation: pulse 2s ease-in-out infinite;
}

.created-by {
    font-size: 19px;
    color: rgba(255,255,255,0.85);
    font-weight: var(--font-weight-medium);
}

.created-by a {
    color: var(--primary-light);
    font-weight: var(--font-weight-bold);
    font-size: 21px;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    display: inline-block;
    padding: 8px 20px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: var(--radius-md);
    border: 2px solid transparent;
}

.created-by a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-light);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.created-by a:hover {
    color: var(--bg-white);
    background: var(--primary-color);
    border-color: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5);
}

.created-by a:hover::after {
    width: 80%;
}

/* ==========================================
   Scroll to Top Button
   ========================================== */
.scroll-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--text-dark);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: 998;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}

/* ==========================================
   Animations
   ========================================== */
@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 fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ==========================================
   Responsive Design
   ========================================== */
@media screen and (max-width: 1024px) {
    .hero {
        min-height: 80vh;
    }
    
    .stats-usps__content {
        max-width: 100%;
    }
    
    .usps-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .about__content {
        max-width: 100%;
    }
    
    .about__pillars {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .about__advantages {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .projects__grid,
    .reviews__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .project-card__image {
        height: 260px;
    }
    
    /* Projects Slideshow Tablet */
    .project-slide {
        height: 420px;
    }
    
    .footer__content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact__content {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    :root {
        --section-padding: 60px;
        --header-height: 70px;
    }
    
    .hero__overlay {
        background: rgba(0, 0, 0, 0.2);
    }
    
    .hero {
        min-height: 100vh;
        padding: 0 20px;
    }
    
    .hero__title {
        font-size: 36px;
    }
    
    .hero__description {
        font-size: 16px;
        margin-bottom: 40px;
    }

    .hero__description--extended {
        display: none;
    }
    
    .hero__buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center;
        justify-content: center;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .btn-large {
        width: auto;
        min-width: auto;
        padding: 14px 24px;
        font-size: 15px;
        white-space: nowrap;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    .btn-large i {
        font-size: 14px;
    }
    
    .hero__scroll {
        bottom: 20px;
    }
    
    .stats-usps {
        padding: 60px 0;
    }
    
    .stats-usps__text {
        margin-top: 30px;
    }
    
    .lead-text {
        font-size: 18px;
        padding: 25px 20px;
        margin-bottom: 25px;
    }
    
    .body-text {
        font-size: 16px;
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .usps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .usp-card {
        padding: 30px 25px;
    }
    
    .usp-card__icon {
        width: 70px;
        height: 70px;
        font-size: 32px;
    }
    
    .usp-card__title {
        font-size: 18px;
    }
    
    .usp-card__description {
        font-size: 14px;
    }
    
    .nav__menu {
        position: fixed;
        top: var(--header-height);
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: calc(100vh - var(--header-height));
        background: var(--bg-white);
        box-shadow: var(--shadow-xl);
        padding: 40px 30px;
        transition: var(--transition-normal);
        overflow-y: auto;
    }
    
    .nav__menu.show {
        right: 0;
    }
    
    .nav__list {
        flex-direction: column;
        gap: 24px;
        align-items: flex-start;
    }
    
    .nav__link {
        font-size: 18px;
    }
    
    .nav__toggle {
        display: block;
    }
    
    .phone-text {
        display: none;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .section-description {
        font-size: 16px;
    }
    
    .services__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        padding: 24px 20px;
    }
    
    .projects__grid,
    .reviews__grid {
        grid-template-columns: 1fr;
    }
    
    .project-card__image {
        height: 240px;
    }
    
    .project-card__content {
        padding: 20px;
    }
    
    /* Projects Slideshow Mobile */
    .project-slide {
        height: 350px;
    }
    
    .projects__seo-text {
        padding: 30px 20px;
        margin-top: 40px;
    }
    
    .projects__seo-text h3 {
        font-size: 22px;
    }
    
    .projects__seo-text h4 {
        font-size: 18px;
    }
    
    .projects__seo-text p {
        font-size: 15px;
    }
    
    .projects__cta {
        padding: 25px 20px;
    }
    
    .reviews__cta {
        flex-direction: column;
        padding: 30px;
    }
    
    .about__pillars {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .about__advantages {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    
    .about__section-title {
        font-size: 24px;
        margin: 40px 0 25px;
    }
    
    .about__cta-box {
        padding: 25px 20px;
    }
    
    .about__cta-box h4 {
        font-size: 18px;
        flex-direction: column;
        gap: 8px;
    }
    
    .about__contact-info {
        flex-direction: column;
        gap: 16px;
    }
    
    .contact-link {
        width: 100%;
        justify-content: center;
    }
    
    .pillar-card {
        padding: 25px;
    }
    
    .material-item {
        padding: 16px;
    }
    
    .material-item i {
        font-size: 24px;
    }
    
    .about__stats-card {
        position: static;
        margin-top: 30px;
        flex-direction: column;
        gap: 20px;
    }
    
    .footer__content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer__bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .footer__credits {
        margin-bottom: 40px;
        padding-bottom: 30px;
        gap: 14px;
    }
    
    .demo-notice {
        font-size: 16px;
        padding: 14px 24px;
        flex-direction: column;
        max-width: 90%;
    }
    
    .demo-notice i {
        font-size: 20px;
    }
    
    .created-by {
        font-size: 16px;
    }
    
    .created-by a {
        font-size: 18px;
        padding: 10px 16px;
        display: block;
        max-width: 90%;
        margin: 0 auto;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 26px;
        bottom: 20px;
        right: 20px;
    }
    
    .scroll-top {
        bottom: 85px;
        right: 20px;
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
}

@media screen and (max-width: 480px) {
    .hero__title {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .btn {
        padding: 14px 24px;
        font-size: 15px;
    }
    
    .service-card,
    .project-card,
    .review-card {
        padding: 25px;
    }
    
    .contact__form-wrapper {
        padding: 25px;
    }
}
/* ==========================================
   Modern Premium Upgrade
   ========================================== */

:root {
    --ease-premium: cubic-bezier(0.22, 1, 0.36, 1);
    --shadow-premium: 0 24px 70px rgba(15, 23, 42, 0.12);
    --glass-bg: rgba(255, 255, 255, 0.76);
}

/* Hochwertiger Grundlook */
section {
    position: relative;
    isolation: isolate;
}

.section-header {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    letter-spacing: -0.04em;
}

.section-description,
.body-text,
.about__description {
    text-wrap: pretty;
}

/* Moderner Header */
.header {
    backdrop-filter: blur(18px);
    background: rgba(255, 255, 255, 0.88);
    border-bottom: 1px solid rgba(193, 39, 45, 0.08);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

/* Hero Premium */
.hero__overlay {
    background:
        radial-gradient(circle at 20% 20%, rgba(193, 39, 45, 0.35), transparent 34%),
        linear-gradient(135deg, rgba(0,0,0,0.78), rgba(20,20,24,0.58), rgba(0,0,0,0.82));
}

.hero__title {
    letter-spacing: -0.055em;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.hero__description {
    text-wrap: balance;
}

.hero__content {
    animation: heroIntro 1.1s var(--ease-premium) both;
}

@keyframes heroIntro {
    from {
        opacity: 0;
        transform: translateY(36px) scale(0.98);
        filter: blur(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

/* Einheitliche Premium Cards */
.service-card,
.project-card,
.review-card,
.usp-card,
.pillar-card,
.advantage-item,
.material-item,
.projects__seo-text,
.contact__form-wrapper {
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    transition:
        transform 0.45s var(--ease-premium),
        box-shadow 0.45s var(--ease-premium),
        border-color 0.45s var(--ease-premium),
        background 0.45s var(--ease-premium);
}

.service-card:hover,
.project-card:hover,
.review-card:hover,
.usp-card:hover,
.pillar-card:hover,
.advantage-item:hover,
.material-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-premium);
}

/* Glanz-Effekt auf Cards */
.service-card::after,
.project-card::after,
.review-card::after,
.pillar-card::after,
.advantage-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        transparent 20%,
        rgba(255,255,255,0.55) 45%,
        transparent 70%
    );
    transform: translateX(-120%);
    transition: transform 0.75s var(--ease-premium);
    pointer-events: none;
}

.service-card:hover::after,
.project-card:hover::after,
.review-card:hover::after,
.pillar-card:hover::after,
.advantage-item:hover::after {
    transform: translateX(120%);
}

/* Buttons moderner */
.btn {
    position: relative;
    overflow: hidden;
    will-change: transform;
}

.btn::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.32), transparent);
    transform: translateX(-120%);
    transition: transform 0.7s var(--ease-premium);
}

.btn:hover::after {
    transform: translateX(120%);
}

.btn:hover {
    transform: translateY(-4px) scale(1.015);
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(42px);
    filter: blur(8px);
    transition:
        opacity 0.8s var(--ease-premium),
        transform 0.8s var(--ease-premium),
        filter 0.8s var(--ease-premium);
    will-change: opacity, transform, filter;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* Automatisches Staggering für Karten */
.services__grid .service-card,
.usps-grid .usp-card,
.about__pillars .pillar-card,
.about__advantages .advantage-item,
.reviews__grid .review-card {
    opacity: 0;
    transform: translateY(38px);
}

.services__grid .service-card.is-visible,
.usps-grid .usp-card.is-visible,
.about__pillars .pillar-card.is-visible,
.about__advantages .advantage-item.is-visible,
.reviews__grid .review-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.services__grid .service-card:nth-child(2),
.usps-grid .usp-card:nth-child(2),
.about__pillars .pillar-card:nth-child(2),
.about__advantages .advantage-item:nth-child(2),
.reviews__grid .review-card:nth-child(2) {
    transition-delay: 0.1s;
}

.services__grid .service-card:nth-child(3),
.usps-grid .usp-card:nth-child(3),
.about__pillars .pillar-card:nth-child(3),
.about__advantages .advantage-item:nth-child(3),
.reviews__grid .review-card:nth-child(3) {
    transition-delay: 0.2s;
}

.services__grid .service-card:nth-child(4),
.about__pillars .pillar-card:nth-child(4),
.about__advantages .advantage-item:nth-child(4) {
    transition-delay: 0.3s;
}

/* Bessere Sektionen */
.stats-usps,
.projects,
.about {
    background:
        radial-gradient(circle at top left, rgba(193, 39, 45, 0.08), transparent 32%),
        linear-gradient(180deg, #f5fbff 0%, #eaf6ff 100%);
}

.services,
.reviews,
.contact {
    background:
        radial-gradient(circle at top right, rgba(193, 39, 45, 0.06), transparent 30%),
        #ffffff;
}

/* Form moderner */
.form-group input,
.form-group select,
.form-group textarea {
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

/* Hero Overlay -10% nur auf Startseite (#home) und nur Mobil */
@media screen and (max-width: 768px) {
    .hero#home .hero__overlay {
        background:
            radial-gradient(circle at 20% 20%, rgba(193, 39, 45, 0.315), transparent 34%),
            linear-gradient(135deg, rgba(0, 0, 0, 0.702), rgba(20, 20, 24, 0.522), rgba(0, 0, 0, 0.738));
    }
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    box-shadow: 0 0 0 4px rgba(193, 39, 45, 0.12);
}

/* Weniger hektische Daueranimationen */
.usp-card,
.about__cta-box,
.hero__badge {
    animation: none;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
/* ==========================================
   Apple Style Scroll Reveal - FINAL
   ========================================== */

.apple-reveal {
    opacity: 0 !important;
    transform: translateY(110px) scale(0.94) !important;
    filter: blur(20px) !important;
    transition:
        opacity 1.25s cubic-bezier(0.16, 1, 0.3, 1),
        transform 1.25s cubic-bezier(0.16, 1, 0.3, 1),
        filter 1.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    will-change: opacity, transform, filter;
}

.apple-reveal.is-visible {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
    filter: blur(0) !important;
}

.hero__background-video video {
    transform: scale(1.08);
    will-change: transform;
}

.section-title,
.hero__title {
    letter-spacing: -0.055em;
    text-wrap: balance;
}

.usp-card,
.pillar-card,
.material-item,
.advantage-item {
    animation: none !important;
}
/* Desktop Dropdown */
.nav__dropdown {
    position: relative;
}

.nav__dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 320px;
    background: #ffffff;
    border-radius: 14px;
    padding: 12px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.14);
    list-style: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 9999;
}

.nav__dropdown:hover .nav__dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.nav__dropdown-menu li {
    margin: 0;
}

.nav__dropdown-menu a {
    display: block;
    padding: 12px 14px;
    border-radius: 10px;
    color: #222;
    text-decoration: none;
    font-weight: 600;
}

.nav__dropdown-menu a:hover {
    background: #f7fbff;
    color: #c1272d;
}
/* SEO Intro Image Section */
.seo-intro-image {
    padding: 60px 0 90px;
    background: #ffffff;
}

.seo-intro-image__wrapper {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 60px;
    align-items: center;
}

.seo-intro-image__figure {
    margin: 0;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
}

.seo-intro-image__figure img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.seo-intro-image__text .section-subtitle {
    display: inline-block;
    margin-bottom: 14px;
}

.seo-intro-image__title {
    font-size: clamp(1.6rem, 2.2vw, 2.2rem);
    line-height: 1.25;
    color: #1a1a1a;
    margin: 0 0 18px;
    font-weight: 700;
}

.seo-intro-image__lead {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #4a4a4a;
    margin: 0 0 28px;
}

.seo-intro-image__list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.seo-intro-image__list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.seo-intro-image__list i {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #fdecec;
    color: #c1272d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
}

.seo-intro-image__list strong {
    display: block;
    color: #1a1a1a;
    font-size: 1.02rem;
    margin-bottom: 4px;
}

.seo-intro-image__list span {
    display: block;
    color: #5a5a5a;
    font-size: 0.95rem;
    line-height: 1.55;
}

.seo-intro-image__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    background: #c1272d;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 12px;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 10px 24px rgba(193, 39, 45, 0.25);
}

.seo-intro-image__cta:hover {
    background: #a31e23;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(193, 39, 45, 0.32);
}

.seo-intro-image__cta i {
    transition: transform 0.25s ease;
}

.seo-intro-image__cta:hover i {
    transform: translateX(4px);
}

@media screen and (max-width: 992px) {
    .seo-intro-image__wrapper {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

@media screen and (max-width: 768px) {
    .seo-intro-image {
        padding: 30px 0 60px;
    }

    .seo-intro-image__figure {
        border-radius: 16px;
        box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
    }

    .seo-intro-image__title {
        font-size: 1.5rem;
    }

    .seo-intro-image__lead {
        font-size: 1rem;
    }
}

/* Finance Inline Image */
.service-text .finance-inline-image {
    display: block;
    margin: 36px 0 40px;
    width: 100%;
    max-width: 100%;
    clear: both;
}

.service-text .finance-inline-image__figure {
    display: block;
    margin: 0 0 16px;
    width: 100%;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
    background: #f5f5f5;
}

.service-text .finance-inline-image__figure img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: cover;
}

.service-text .finance-inline-image__text {
    display: block;
    width: 100%;
}

.service-text .finance-inline-image__caption {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #5a5a5a;
    font-style: italic;
    text-align: center;
    margin: 0;
    padding: 0 8px;
}

/* Desktop Layout: Bild links, Text rechts daneben */
@media screen and (min-width: 769px) {
    .service-text .finance-inline-image {
        display: grid;
        grid-template-columns: 1.1fr 1fr;
        gap: 32px;
        align-items: center;
    }

    .service-text .finance-inline-image__figure {
        margin: 0;
    }

    .service-text .finance-inline-image__caption {
        text-align: left;
        font-size: 1rem;
        line-height: 1.7;
        padding: 0;
        font-style: normal;
        color: #4a4a4a;
    }
}

@media screen and (max-width: 768px) {
    .service-text .finance-inline-image {
        margin: 28px 0 32px;
    }

    .service-text .finance-inline-image__figure {
        border-radius: 14px;
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    }

    .service-text .finance-inline-image__caption {
        font-size: 0.9rem;
    }
}

/* MOBILE DROPDOWN FIX */
@media screen and (max-width: 768px) {
    .nav__dropdown {
        width: 100%;
    }

    .nav__dropdown-toggle {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .nav__dropdown-menu {
        position: static;
        display: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        min-width: 100%;
        width: 100%;
        box-shadow: none;
        background: #f7fbff;
        border-radius: 14px;
        padding: 10px;
        margin-top: 12px;
    }

    .nav__dropdown.is-open .nav__dropdown-menu {
        display: block;
    }

    .nav__dropdown-menu a {
        display: block;
        padding: 13px 14px;
        font-size: 15px;
        border-radius: 10px;
    }

    .nav__dropdown-toggle i {
        transition: transform 0.25s ease;
    }

    .nav__dropdown.is-open .nav__dropdown-toggle i {
        transform: rotate(180deg);
    }
}