* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0a0a0a;
    --secondary-color: #ffffff;
    --accent-color: #2c2c2c;
    --accent-hover: #1a1a1a;
    --text-gray: #b8b8b8;
    --text-light: #e0e0e0;
    --bg-dark: #0f0f0f;
    --bg-section: #141414;
    --bg-card: #1a1a1a;
    --border-color: rgba(255, 255, 255, 0.08);
    --shadow-color: rgba(0, 0, 0, 0.5);
    --glow: rgba(255, 255, 255, 0.03);
    --transition-smooth: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
    --transition-medium: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    --transition-fast: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    background: var(--bg-dark);
    overflow-x: hidden;
    min-height: 100vh;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    z-index: 1000;
    box-shadow: 0 1px 0 var(--border-color);
    transition: var(--transition-smooth);
    border-bottom: 1px solid var(--border-color);
}

header.scrolled {
    background: rgba(10, 10, 10, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    transition: var(--transition-medium);
}

.logo:hover {
    transform: translateY(-2px);
}

.logo-icon {
    width: 50px;
    height: 50px;
    transition: var(--transition-medium);
    filter: brightness(0.9);
}

.logo-icon path,
.logo-icon rect {
    stroke: var(--text-light);
    fill: var(--text-light);
}

.logo:hover .logo-icon {
    transform: rotate(5deg) scale(1.05);
    filter: brightness(1.1);
}

.logo-text {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.logo-text .ensa {
    font-size: 2rem;
    font-weight: 500;
    color: var(--text-light);
    letter-spacing: 0.5px;
    transition: var(--transition-medium);
}

.logo-text .subtitle {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-gray);
    letter-spacing: 1px;
    transition: var(--transition-medium);
}

.logo:hover .ensa {
    color: var(--secondary-color);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-links a {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.95rem;
    letter-spacing: 0px;
    position: relative;
    transition: var(--transition-fast);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--text-light), transparent);
    transition: var(--transition-medium);
}

.nav-links a:hover {
    color: var(--text-light);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    transform: translateX(-50%) scaleX(1);
}

.hero {
    margin-top: 70px;
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.6)), 
                url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?w=1920&h=1080&fit=crop') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.3) 100%);
    pointer-events: none;
}

.hero-content {
    max-width: 1000px;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 400;
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
    animation: fadeInUp 1s ease;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero .tagline {
    font-size: 2.5rem;
    font-weight: 400;
    letter-spacing: 1.5px;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease 0.2s both;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    color: #ffffff;
    text-transform: uppercase;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: #4a4a4a;
    color: white;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.5px;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-medium);
    animation: fadeInUp 1s ease 0.4s both;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.7);
}

.about {
    padding: 100px 5%;
    background: var(--bg-section);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    margin-bottom: 4rem;
    position: relative;
    color: var(--text-light);
    text-transform: uppercase;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--text-light), transparent);
    transition: var(--transition-medium);
}

.section-title:hover::after {
    width: 100px;
}

.about-text {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.about-text:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 30px rgba(0,0,0,0.5);
    border-color: rgba(255, 255, 255, 0.1);
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-weight: 400;
    transition: var(--transition-medium);
}

.about-text:hover p {
    color: var(--text-light);
}

.about-text p:first-of-type {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-light);
}

.services {
    padding: 100px 5%;
    background: var(--bg-dark);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.services-container {
    max-width: 1400px;
    margin: 0 auto;
}

.coverage-area-section {
    margin-bottom: 4rem;
}

.coverage-title {
    font-size: 2rem;
    font-weight: 400;
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: 0.5px;
    color: var(--text-light);
}

.region-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

.region-button {
    background: var(--bg-card);
    padding: 2.5rem 3rem;
    border-radius: 12px;
    min-width: 280px;
    text-align: center;
    transition: var(--transition-smooth);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.region-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(255,255,255,0.03));
    opacity: 0;
    transition: opacity 0.6s ease;
}

.region-button:hover::before {
    opacity: 1;
}

.region-button:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
    background: linear-gradient(135deg, var(--bg-card), rgba(255,255,255,0.05));
    border-color: rgba(255,255,255,0.15);
}

.region-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    font-weight: 500;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.region-button:hover .region-icon {
    transform: scale(1.15) rotate(10deg);
    background: linear-gradient(135deg, var(--accent-hover), var(--primary-color));
    box-shadow: 0 6px 25px rgba(0,0,0,0.6);
}

.region-name {
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--text-light);
    margin-bottom: 15px;
    transition: var(--transition-medium);
    letter-spacing: 0.5px;
}

.region-button:hover .region-name {
    transform: scale(1.05);
    color: #ffffff;
}

.region-cities {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    transition: var(--transition-medium);
}

.region-button:hover .region-cities {
    color: var(--text-light);
}

.competence-section {
    margin-bottom: 4rem;
}

.competence-title {
    font-size: 1.8rem;
    font-weight: 400;
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: 0.5px;
    color: var(--text-light);
}

.competence-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
    margin-bottom: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.competence-item {
    background: var(--bg-card);
    padding: 1.5rem 1rem;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition-smooth);
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
    min-height: 80px;
}

.competence-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    transition: width 0.8s cubic-bezier(0.23, 1, 0.320, 1), 
                height 0.8s cubic-bezier(0.23, 1, 0.320, 1);
    transform: translate(-50%, -50%);
    border-radius: 50%;
}

.competence-item:hover::before {
    width: 300%;
    height: 300%;
}

.competence-item h4 {
    position: relative;
    z-index: 1;
    transition: var(--transition-medium);
    color: var(--text-gray);
    font-weight: 400;
    font-size: 0.9rem;
}

.competence-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 35px rgba(0,0,0,0.5);
    border-color: rgba(255, 255, 255, 0.15);
    background: linear-gradient(135deg, var(--bg-card), rgba(255,255,255,0.02));
}

.competence-item:hover h4 {
    color: var(--text-light);
    transform: scale(1.05);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 3rem;
}

.service-card {
    background: var(--bg-card);
    padding: 2rem 1.5rem;
    border-radius: 12px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    cursor: pointer;
    border: 1px solid var(--border-color);
    min-height: 350px;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--text-light));
    transform: scaleX(0);
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.320, 1);
    transform-origin: left;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.03));
    opacity: 0;
    transition: opacity 0.6s ease;
}

.service-card:hover::after {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    background: linear-gradient(135deg, var(--bg-card), rgba(255,255,255,0.02));
    border-color: rgba(255, 255, 255, 0.15);
}

.service-title {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
    letter-spacing: 0px;
    color: var(--text-light);
    transition: var(--transition-medium);
    text-align: left;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.service-card:hover .service-title {
    color: #ffffff;
}

.service-text {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.8;
    font-weight: 400;
}

.service-text p {
    margin-bottom: 0.8rem;
    transition: var(--transition-fast);
    position: relative;
    padding-left: 0;
}

.service-text p:last-child {
    margin-bottom: 0;
}

.service-card:hover .service-text p {
    color: var(--text-light);
    transform: translateX(3px);
}

.special-expertise-section {
    margin-top: 5rem;
    padding: 3rem 0;
    position: relative;
}

.expertise-showcase {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding: 3rem 2rem;
    background: radial-gradient(circle at center, rgba(255,255,255,0.02), transparent 70%);
    border-radius: 20px;
}

.expertise-center {
    text-align: center;
    margin-bottom: 4rem;
}

.expertise-icon-main {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    animation: pulse 3s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.9; }
}

.expertise-center h4 {
    color: var(--text-light);
    font-size: 1.8rem;
    font-weight: 400;
    letter-spacing: 1px;
}

.expertise-items {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

.expertise-item {
    background: var(--bg-card);
    padding: 25px 15px;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition-smooth);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    width: 180px;
    height: 150px;
}

.expertise-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    transition: width 0.6s ease, height 0.6s ease;
    transform: translate(-50%, -50%);
}

.expertise-item:hover::before {
    width: 200%;
    height: 200%;
}

.expertise-item:hover {
    transform: translateY(-10px) scale(1.05);
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    border-color: transparent;
}

.expertise-icon {
    font-size: 40px;
    margin-bottom: 15px;
    margin-top: 20px;
    transition: var(--transition-medium);
    filter: grayscale(0);
    line-height: 1;
    height: 40px;
    display: block;
    text-align: center;
}

.expertise-item:hover .expertise-icon {
    transform: scale(1.2) rotate(10deg);
    filter: grayscale(0) brightness(1.2);
}

.expertise-text {
    color: var(--text-gray);
    font-size: 0.9rem;
    font-weight: 400;
    transition: var(--transition-fast);
    line-height: 1.3;
    text-align: center;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.expertise-item:hover .expertise-text {
    color: #ffffff;
    font-weight: 500;
}

.impressum-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.impressum-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

.impressum-content {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 12px;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9);
    animation: slideUp 0.3s ease forwards;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    border: 1px solid var(--border-color);
}

@keyframes slideUp {
    to { transform: scale(1); }
}

.impressum-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-gray);
    transition: var(--transition-fast);
}

.impressum-close:hover {
    color: var(--text-light);
    transform: rotate(90deg);
}

.impressum-content h2 {
    margin-bottom: 2rem;
    color: var(--text-light);
}

.impressum-content h3 {
    font-size: 1.3rem;
    margin: 2rem 0 1rem;
    color: var(--text-light);
    font-weight: 500;
}

.impressum-content p {
    margin-bottom: 1rem;
    color: var(--text-gray);
    line-height: 1.8;
    font-weight: 400;
}

.impressum-content strong {
    color: var(--text-light);
}

footer {
    background: #3a3a3a;
    color: #d0d0d0;
    padding: 60px 5% 30px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    border-top: 1px solid #4a4a4a;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    font-size: 1.1rem;
    color: #ffffff;
}

.footer-section p,
.footer-section ul {
    color: #b0b0b0;
    line-height: 1.6;
    font-weight: 400;
    font-size: 0.95rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
    transition: var(--transition-fast);
}

.footer-section ul li:hover {
    transform: translateX(5px);
}

.footer-section a {
    color: #b0b0b0;
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-section a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid #4a4a4a;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-legal {
    display: flex;
    gap: 30px;
}

.footer-legal a {
    color: #b0b0b0;
    text-decoration: none;
    transition: var(--transition-fast);
    font-size: 0.9rem;
    position: relative;
}

.footer-legal a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background: #ffffff;
    transition: width 0.4s ease;
}

.footer-legal a:hover::after {
    width: 100%;
}

.footer-legal a:hover {
    color: #ffffff;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-smooth);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f0f0f0;
}

::-webkit-scrollbar-thumb {
    background: #b0b0b0;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #8a8a8a;
}

@media (max-width: 1200px) {
    nav {
        padding: 1rem 4%;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .competence-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .region-buttons {
        gap: 20px;
    }

    .region-button {
        min-width: 240px;
        padding: 2rem 2.5rem;
    }
}

@media (max-width: 968px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero .tagline {
        font-size: 2rem;
    }

    .region-buttons {
        flex-direction: column;
        align-items: center;
    }

    .region-button {
        width: 100%;
        max-width: 400px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    transition: var(--transition-fast);
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background: var(--text-light);
    border-radius: 2px;
    transition: var(--transition-fast);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

@media (max-width: 768px) {
    nav {
        padding: 0.8rem 5%;
    }

    .logo {
        gap: 10px;
        z-index: 1001;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
    }

    .logo-text {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    .logo-text .ensa {
        font-size: 1.5rem;
    }

    .logo-text .subtitle {
        font-size: 0.75rem;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 80px 30px 30px;
        gap: 0;
        transition: right 0.4s cubic-bezier(0.23, 1, 0.320, 1);
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
        border-left: 1px solid var(--border-color);
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
        margin-bottom: 0;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links a {
        display: block;
        padding: 1.2rem 0;
        font-size: 1.1rem;
        width: 100%;
        color: var(--text-light);
    }

    .nav-links a::after {
        display: none;
    }

    .nav-links a:hover,
    .nav-links a.active {
        color: #ffffff;
        background: rgba(255, 255, 255, 0.05);
        padding-left: 10px;
    }

    .hero {
        margin-top: 60px;
        min-height: 100vh;
        height: auto;
        padding: 60px 20px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero .tagline {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 0.9rem;
    }

    .about {
        padding: 60px 5%;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2.5rem;
    }

    .about-text {
        padding: 2rem 1.5rem;
    }

    .about-text p {
        font-size: 1rem;
    }

    .services {
        padding: 60px 5%;
    }

    .coverage-title,
    .competence-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .service-card {
        padding: 1.5rem 1.2rem;
        min-height: auto;
    }

    .competence-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .competence-item {
        padding: 1.2rem 0.8rem;
        min-height: 70px;
    }
    
    .competence-item h4 {
        font-size: 0.85rem;
    }

    .expertise-icon-main {
        width: 80px;
        height: 80px;
        font-size: 35px;
    }

    .expertise-center h4 {
        font-size: 1.4rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .footer-legal {
        flex-direction: column;
        gap: 1rem;
    }

    .impressum-content {
        padding: 2rem 1.5rem;
        max-width: 90%;
        max-height: 85vh;
    }

    .impressum-close {
        top: 15px;
        right: 15px;
        font-size: 1.8rem;
    }
}

@media (max-width: 1199px) and (min-width: 768px) {
    .expertise-items {
        gap: 15px;
    }
    
    .expertise-item {
        width: 160px;
    }
}

@media (max-width: 767px) {
    .expertise-items {
        gap: 15px;
    }

    .expertise-item {
        width: 150px;
        height: 140px;
        padding: 20px 10px;
    }

    .expertise-icon {
        font-size: 35px;
        margin-bottom: 12px;
    }

    .expertise-item span {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .logo-text .ensa {
        font-size: 1.3rem;
    }

    .logo-text .subtitle {
        font-size: 0.7rem;
    }

    .nav-links {
        width: 100%;
        right: -100%;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .hero .tagline {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .competence-grid {
        grid-template-columns: 1fr;
    }

    .expertise-items {
        flex-direction: column;
        align-items: center;
    }

    .expertise-item {
        width: 100%;
        max-width: 250px;
    }
}