/* ==============================================
   VR DEMO POPUP STYLES
   ============================================== */

/* VR Demo Popup Overlay */
.vr-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* VR Popup Container */
.vr-popup-container {
    position: relative;
    width: 95%;
    height: 90%;
    max-width: 1400px;
    max-height: 900px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    animation: slideIn 0.4s ease-out;
}

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

/* VR Popup Close Button */
.vr-popup-close {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    color: #2e608b;
    cursor: pointer;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.vr-popup-close:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    color: #1e4a6f;
}

.vr-popup-close:active {
    transform: scale(0.95);
}

/* VR Demo Iframe */
#vr-demo-iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 20px;
}

/* Responsive Design für VR Popup */
@media (max-width: 768px) {
    .vr-popup-overlay {
        padding: 10px;
    }
    
    .vr-popup-container {
        width: 98%;
        height: 85%;
        border-radius: 15px;
    }
    
    .vr-popup-close {
        top: 10px;
        left: 10px;
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    #vr-demo-iframe {
        border-radius: 15px;
    }
}

@media (max-width: 480px) {
    .vr-popup-container {
        width: 100%;
        height: 80%;
        border-radius: 10px;
    }
    
    .vr-popup-close {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    
    #vr-demo-iframe {
        border-radius: 10px;
    }
}

/* ==============================================
   HEADER & BANNER STYLES
   ============================================== */

/* Top Banner */
.top-banner {
    background: linear-gradient(135deg, #2e608b 0%, #4a7ba8 50%, #1e4a6f 100%);
    color: white;
    text-align: center;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 500;
    position: relative;
    z-index: 999;
}

.banner-content {
    max-width: 1200px;
    margin: 0 auto;
}

.banner-content a {
    color: white;
    text-decoration: none;
    font-weight: 600;
}

.banner-content a:hover {
    text-decoration: underline;
}

/* Navbar Styles für Header und Footer */
.navbar {
    background-color: #fff;
    padding: 12px 0;
    box-shadow:
        0 2px 8px 0 rgba(46, 96, 139, 0.18), /* CI Azurblau */
        0 6px 24px 0 rgba(30, 74, 111, 0.12), /* CI Dunkelblau */
        0 1.5px 0 0 #4a7ba8; /* CI Zwischenfarbe als Glow */
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Container für alle Seiten */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar.footer-navbar {
    margin-top: auto;
    box-shadow: 0 -2px 4px rgba(46, 96, 139, 0.15);
    position: static;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

/* logo container with text next to image */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    /* allow height to grow so text doesn't drop */
    height: auto;
    white-space: nowrap;      /* keep text on one line */
}

/* ensure the entire nav aligns items in center */
.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center; /* vertical centering for links and logo/text */
    flex-wrap: wrap;
    gap: 20px;
}

.nav-logo a {
    display: block;
    line-height: 0;
}

.nav-logo-img {
    height: 70px; /* larger logo */
    width: auto;
    /* margin handled in flex gap */
    z-index: 1100;
    transition: transform 0.3s ease;
    /* Logo behält seine Originalfarben */
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center; /* vertical center relative to logo */
    line-height: 0.7;
}

.company-name,
.logo-slogan {
    font-family: 'Eurostile', 'Arial', sans-serif;
    color: #2e608b;
}

.company-name {
    font-size: 1.2rem;
    font-weight: 700;
}

.logo-slogan {
    font-size: 0.85rem;
    font-weight: 400;
    opacity: 0.8;
}

.nav-logo-img:hover {
    transform: scale(1.05);
}

/* ensure links move right to clear logo and text */
.navbar .nav-links {
    margin-left: 0; /* reset previous left margin */
}

.nav-logo-img:hover {
    transform: scale(1.05);
}

.navbar .nav-links {
    display: flex;
    gap: 6px;
    align-items: center;
    list-style: none !important;
    margin: 0;
    padding: 0;
}

.navbar .nav-links li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.navbar .nav-link {
    color: #2e608b !important;
    text-decoration: none !important;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    padding: 12px 18px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: block;
    position: relative;
    white-space: nowrap;
    border: 2px solid transparent;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(46, 96, 139, 0.08);
}

.navbar .nav-link:hover {
    background-color: rgba(46, 96, 139, 0.1) !important;
    color: #1e4a6f !important;
    transform: translateY(-2px);
    border-color: rgba(46, 96, 139, 0.3);
    box-shadow: 0 4px 12px rgba(46, 96, 139, 0.15);
    text-decoration: none !important;
}

.navbar .nav-link.active {
    background-color: #2e608b !important;
    color: white !important;
    font-weight: 700;
    border-color: #2e608b;
    box-shadow: 0 4px 12px rgba(46, 96, 139, 0.25);
}

.navbar .nav-link.active:hover {
    background-color: #1e4a6f !important;
    border-color: #1e4a6f;
    transform: translateY(-2px);
    color: white !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .navbar .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
    }
    
    .navbar .nav-link {
        font-size: 14px !important;
        padding: 10px 16px !important;
    }
    
    .navbar {
        padding: 16px 0;
    }
}

@media (max-width: 480px) {
    .navbar .nav-links {
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }
    
    .navbar .nav-link {
        font-size: 14px !important;
        padding: 12px 20px !important;
        width: 100%;
        text-align: center;
        max-width: 220px;
        margin: 0 auto;
    }
    
    .nav-logo-img {
        height: 32px;
    }
    
    .nav-content {
        gap: 15px;
    }
}

/* ==============================================
   STARTSEITE STYLES
   ============================================== */

/* Grundlegende Body Styles */
body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #2b2b2b; /* CI Dunkelgrau für Fließtext */
    background-color: #ffffff;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #2e608b 0%, #4a7ba8 25%, #1e4a6f 75%, #2e608b 100%);
    color: white;
    text-align: center;
    padding: 100px 20px;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Hero Farbblasen */
.hero::before {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 50%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 20px;
    right: 100px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(46, 96, 139, 0.2) 0%, rgba(30, 74, 111, 0.1) 50%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.05);
    }
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Zusätzliche Farbblasen für mehr Dynamik */
.hero-content::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -80px;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite;
}

.hero-content::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: -60px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(46, 96, 139, 0.15) 0%, rgba(30, 74, 111, 0.08) 60%, transparent 80%);
    border-radius: 50%;
    animation: float 12s ease-in-out infinite reverse;
}

.hero h1 {
    font-family: 'Eurostile', 'Arial', sans-serif;
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}


.hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1), 0 8px 32px rgba(46, 96, 139, 0.3);
    font-family: 'Eurostile', 'Arial', sans-serif;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(15px);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.cta-button:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(255, 255, 255, 0.15), 0 12px 40px rgba(46, 96, 139, 0.4);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Trust Indicators */
.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 18px;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.trust-item:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.trust-item i {
    font-size: 1.4rem;
    color: #ffffff;
    min-width: 24px;
}

.trust-item span {
    font-weight: 600;
    font-size: 0.95rem;
    color: #ffffff;
}

/* Services Section */
.services {
    padding: 100px 20px;
    background-color: #f8f9fa;
}

.services h2 {
    font-family: 'Eurostile', 'Arial', sans-serif;
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #2e608b; /* CI Azurblau */
    font-weight: 600;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(46, 96, 139, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2e608b, #1e4a6f);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(46, 96, 139, 0.15);
}

.service-card i {
    font-size: 3.5rem;
    color: #2e608b; /* CI Azurblau */
    margin-bottom: 25px;
    display: block;
}

.service-card h3 {
    font-family: 'Eurostile', 'Arial', sans-serif; /* CI Schriftart für Subheadlines */
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #2e608b; /* CI Azurblau */
    font-weight: 600;
}

.service-card p {
    color: #2b2b2b; /* CI Dunkelgrau für Fließtext */
    line-height: 1.6;
    font-family: 'Montserrat', sans-serif;
}

/* Services CTA */
.services-cta {
    text-align: center;
    margin-top: 60px;
    padding: 40px 30px;
    background: linear-gradient(135deg, rgba(46, 96, 139, 0.95) 0%, rgba(30, 74, 111, 0.95) 100%), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.03)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.03)"/><circle cx="50" cy="10" r="1" fill="rgba(255,255,255,0.02)"/><circle cx="10" cy="90" r="1" fill="rgba(255,255,255,0.02)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    border-radius: 20px;
    color: white;
    max-width: 1200px;
    margin: 60px auto 0;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 15px 35px rgba(46, 96, 139, 0.2), 0 5px 15px rgba(0, 0, 0, 0.1);
}

.services-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.8s ease;
}

.services-cta:hover::before {
    left: 100%;
}

.services-cta h3 {
    font-family: 'Eurostile', 'Arial', sans-serif;
    font-size: 2rem;
    margin-bottom: 15px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
}

.services-cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.services-cta-button {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 18px 40px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1), 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    font-size: 1.1rem;
    position: relative;
    z-index: 2;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.services-cta-button:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 255, 255, 0.15), 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

/* About Section */
.about {
    padding: 100px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f1f3f5 100%);
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.about h2 {
    font-family: 'Eurostile', 'Arial', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #2e608b;
    font-weight: 600;
}

.about p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: #2b2b2b;
    line-height: 1.8;
    font-family: 'Montserrat', sans-serif;
}

/* Company Intro */
.company-intro {
    margin-bottom: 60px;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 20px;
}

.intro-column {
    background: white;
    padding: 30px 25px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(46, 96, 139, 0.1);
    border: 2px solid rgba(46, 96, 139, 0.08);
    transition: all 0.3s ease;
}

.intro-column:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(46, 96, 139, 0.15);
    border-color: rgba(46, 96, 139, 0.15);
}

.intro-column h3 {
    color: #2e608b;
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
    font-family: 'Eurostile', 'Arial', sans-serif;
}

.intro-column p {
    color: #2b2b2b;
    line-height: 1.7;
    margin: 0;
    font-size: 1.05rem;
}

.company-tagline {
    font-size: 1.3rem !important;
    font-weight: 600 !important;
    color: #2e608b !important;
    margin-bottom: 30px !important;
}

/* Team Section */
.team-section {
    margin: 60px 0;
}

.team-section h3 {
    font-family: 'Eurostile', 'Arial', sans-serif;
    font-size: 2rem;
    color: #2e608b;
    margin-bottom: 40px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.team-member {
    background: white;
    padding: 30px 25px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(46, 96, 139, 0.1);
    transition: all 0.3s ease;
    border: 2px solid rgba(46, 96, 139, 0.1);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(46, 96, 139, 0.15);
    border-color: rgba(46, 96, 139, 0.2);
}

.member-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2e608b, #4a7ba8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.member-avatar i {
    font-size: 2rem;
    color: white;
}

.team-member h4 {
    font-size: 1.3rem;
    color: #2e608b;
    margin-bottom: 15px;
    font-weight: 600;
}

.member-role {
    color: #666;
    margin-bottom: 20px;
    font-style: italic;
}

.member-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.skill-tag {
    background: linear-gradient(135deg, #2e608b, #4a7ba8);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Values Section */
.values-section {
    /* match spacing above the main "Über uns" heading */
    margin-top: 100px;
}

.values-section h3 {
    font-family: 'Eurostile', 'Arial', sans-serif;
    font-size: 2rem;
    color: #2e608b;
    margin-bottom: 40px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.value-item {
    background: white;
    padding: 25px 20px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(46, 96, 139, 0.08);
    transition: all 0.3s ease;
}

.value-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(46, 96, 139, 0.15);
}

.value-item i {
    font-size: 2.5rem;
    color: #2e608b;
    margin-bottom: 15px;
}

.value-item h4 {
    font-size: 1.2rem;
    color: #2e608b;
    margin-bottom: 10px;
    font-weight: 600;
}

.value-item p {
    color: #666;
    margin: 0;
    font-size: 0.95rem;
}

/* Alternative Version Styles (currently commented out) */
.company-story {
    max-width: 1000px;
    margin: 0 auto;
}

.story-highlight {
    margin-bottom: 50px;
    padding: 40px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(46, 96, 139, 0.1);
}

.story-highlight h3 {
    font-family: 'Eurostile', 'Arial', sans-serif;
    font-size: 2rem;
    color: #2e608b;
    margin-bottom: 20px;
}

.highlight-text {
    font-size: 1.2rem !important;
    color: #2b2b2b !important;
    line-height: 1.8 !important;
    font-weight: 500 !important;
}

.expertise-areas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.expertise-column {
    background: white;
    padding: 30px 25px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(46, 96, 139, 0.1);
    text-align: left;
}

.expertise-column h4 {
    color: #2e608b;
    font-size: 1.3rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.expertise-column h4 i {
    font-size: 1.5rem;
}

.mission-statement {
    margin: 50px 0;
    padding: 40px;
    background: linear-gradient(135deg, #2e608b, #4a7ba8);
    border-radius: 15px;
    color: white;
}

.mission-statement blockquote {
    font-size: 1.2rem;
    line-height: 1.8;
    margin: 0;
    font-style: italic;
    text-align: center;
}

.company-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: #2e608b;
    font-family: 'Eurostile', 'Arial', sans-serif;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Contact Section */
.contact {
    padding: 100px 20px;
    background: linear-gradient(135deg, #f8fafb 0%, #e8f4f8 25%, #f1f7fb 75%, #f8fafb 100%);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(46, 96, 139, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.contact::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(74, 123, 168, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 15s ease-in-out infinite reverse;
}

.contact-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.contact h2 {
    font-family: 'Eurostile', 'Arial', sans-serif;
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: #2e608b;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(46, 96, 139, 0.1);
}

.contact-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 60px;
    font-family: 'Montserrat', sans-serif;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 50px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    background: white;
    padding: 25px 20px;
    border-radius: 15px;
    border: 1px solid rgba(46, 96, 139, 0.1);
    box-shadow: 0 8px 30px rgba(46, 96, 139, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #2e608b, #4a7ba8, #1e4a6f);
}

.contact-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(46, 96, 139, 0.15), 0 5px 15px rgba(0, 0, 0, 0.08);
    border-color: rgba(46, 96, 139, 0.2);
}

.contact-item-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #2e608b, #4a7ba8);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(46, 96, 139, 0.25);
}

.contact-icon i {
    font-size: 1.2rem;
    color: white;
}

.contact-item h3 {
    margin: 0;
    color: #2e608b;
    font-size: 1.4rem;
    font-family: 'Eurostile', 'Arial', sans-serif;
    font-weight: 600;
}

.contact-item p {
    margin: 0;
    color: #2b2b2b;
    line-height: 1.7;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
}

.contact-item p strong {
    color: #1e4a6f;
    font-weight: 600;
}

.contact-item a {
    color: #2e608b;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #1e4a6f;
    text-decoration: underline;
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 35px;
    border-radius: 20px;
    border: 1px solid rgba(46, 96, 139, 0.1);
    box-shadow: 0 10px 35px rgba(46, 96, 139, 0.12), 0 3px 10px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #2e608b, #4a7ba8, #1e4a6f);
}

.contact-form::after {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(46, 96, 139, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.contact-form h3 {
    margin-top: 0;
    margin-bottom: 30px;
    color: #2e608b;
    font-size: 1.6rem;
    font-family: 'Eurostile', 'Arial', sans-serif;
    font-weight: 600;
    text-align: center;
    position: relative;
    z-index: 2;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.form-half {
    flex: 1;
    margin-bottom: 0;
}

.form-group.has-icon {
    position: relative;
}

.form-group.has-icon input,
.form-group.has-icon textarea {
    padding-left: 50px;
}

.form-group.has-icon .form-icon {
    position: absolute;
    left: 18px;
    top: calc(50% + 14px);
    transform: translateY(-50%);
    color: #2e608b;
    font-size: 1.1rem;
    z-index: 3;
    pointer-events: none;
}

.form-group.has-icon label {
    margin-bottom: 8px;
}

.form-group.has-icon textarea + .form-icon {
    top: 45px;
    transform: translateY(0);
}

/* Phone input with country selector */
.phone-input-container {
    display: flex;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    background: #fafbfc;
    transition: all 0.3s ease;
    overflow: hidden;
}

.phone-input-container:focus-within {
    border-color: #2e608b;
    background: white;
    box-shadow: 0 0 0 3px rgba(46, 96, 139, 0.1);
    transform: translateY(-1px);
}

.country-selector {
    display: flex;
    align-items: center;
    padding: 15px 12px;
    background: white;
    border: none;
    border-right: 1px solid #e9ecef;
    cursor: pointer;
    min-width: 95px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: #2b2b2b;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 8px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 35px;
    font-feature-settings: "liga" off;
    -webkit-font-feature-settings: "liga" off;
}

.country-selector:focus {
    outline: none;
    background-color: #f8f9fa;
}

.country-selector option {
    padding: 8px 12px;
    font-size: 0.9rem;
    background: white;
    color: #2b2b2b;
    font-family: 'Montserrat', sans-serif;
    font-feature-settings: "liga" off;
    -webkit-font-feature-settings: "liga" off;
}

.flag-emoji {
    margin-right: 6px;
    font-size: 1.2rem;
    display: inline-block;
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Segoe UI Symbol", "Android Emoji", "EmojiSymbols";
}

.phone-input-container input[type="tel"] {
    flex: 1;
    border: none;
    padding: 15px;
    background: transparent;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
}

.phone-input-container input[type="tel"]:focus {
    outline: none;
    border: none;
    box-shadow: none;
    transform: none;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #2b2b2b;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    background: #fafbfc;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2e608b;
    background: white;
    box-shadow: 0 0 0 3px rgba(46, 96, 139, 0.1);
    transform: translateY(-1px);
}

.form-group textarea {
    height: 130px;
    resize: vertical;
    line-height: 1.6;
}

.form-submit {
    background: linear-gradient(135deg, #2e608b, #4a7ba8);
    color: white;
    padding: 18px 40px;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    font-family: 'Montserrat', sans-serif;
    box-shadow: 0 8px 25px rgba(46, 96, 139, 0.3);
    position: relative;
    overflow: hidden;
}

.form-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.form-submit:hover::before {
    left: 100%;
}

.form-submit:hover {
    background: linear-gradient(135deg, #1e4a6f, #2e608b);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(46, 96, 139, 0.4);
}

.form-submit:active {
    transform: translateY(-1px);
}

.form-message {
    padding: 18px 25px;
    border-radius: 12px;
    margin-bottom: 25px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    border: 2px solid;
    position: relative;
}

.form-message.success {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    color: #065f46;
    border-color: #10b981;
}

.form-message.success::before {
    content: '✓';
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    font-weight: bold;
}

.form-message.error {
    background: linear-gradient(135deg, #fee2e2, #fca5a5);
    color: #991b1b;
    border-color: #ef4444;
}

.form-message.error::before {
    content: '⚠';
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    font-weight: bold;
}

.form-message.success,
.form-message.error {
    padding-left: 50px;
}

/* Checkbox Styling */
.form-group input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
    transform: scale(1.2);
    accent-color: #2e608b;
}

.form-group label:has(input[type="checkbox"]) {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.form-group label:has(input[type="checkbox"]) input {
    margin: 0;
    margin-top: 2px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .trust-indicators {
        gap: 15px;
    }
    
    .trust-item span {
        font-size: 0.9rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .service-card {
        padding: 30px;
    }
    
    /* About Section Mobile */
    .about {
        padding: 60px 20px;
    }
    
    .about h2 {
        font-size: 2rem;
    }
    
    .intro-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .intro-column {
        padding: 25px 20px;
    }
    
    .intro-column h3 {
        font-size: 1.2rem;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .team-member {
        padding: 25px 20px;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .expertise-areas {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .company-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .story-highlight {
        padding: 25px;
    }
    
    .mission-statement {
        padding: 25px;
    }
    
    .mission-statement blockquote {
        font-size: 1.1rem;
    }
    
    .services-cta {
        padding: 30px 20px;
        margin: 40px auto 0;
    }
    
    .services-cta h3 {
        font-size: 1.6rem;
    }
    
    .services-cta p {
        font-size: 1.1rem;
        margin-bottom: 25px;
    }
    
    .services-cta-button {
        padding: 15px 30px;
        font-size: 1rem;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-form {
        padding: 30px;
    }
    
    .contact-item {
        padding: 20px;
    }
    
    /* Form responsive */
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-half {
        margin-bottom: 25px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 20px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .trust-indicators {
        gap: 12px;
        flex-direction: column;
    }
    
    .trust-item {
        flex-direction: row;
        gap: 12px;
        justify-content: center;
        padding: 8px 16px;
    }
    
    .trust-item i {
        font-size: 1.3rem;
    }
    
    .services,
    .about,
    .contact {
        padding: 60px 20px;
    }
    
    .services h2,
    .about h2,
    .contact h2 {
        font-size: 2rem;
    }
    
    .service-card {
        padding: 25px;
    }
    
    .contact-form {
        padding: 25px;
    }
}

/* Footer Styles - Gleiche wie Header */
.footer-navbar {
    background-color: #fff;
    padding: 12px 0;
    box-shadow:
        0 -2px 8px 0 rgba(46, 96, 139, 0.18), /* CI Azurblau */
        0 -6px 24px 0 rgba(30, 74, 111, 0.12), /* CI Dunkelblau */
        0 -1.5px 0 0 #4a7ba8; /* CI Zwischenfarbe als Glow */
    margin-top: auto;
    position: relative;
}

.footer-nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
}

.footer-logo-img {
    height: 40px;
    width: auto;
    margin-right: 16px;
    z-index: 1100;
    position: relative;
    /* Logo behält seine Originalfarben */
}

.footer-nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.footer-nav-link {
    color: #2e608b;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.footer-nav-link:hover {
    background-color: rgba(46, 96, 139, 0.08);
    color: #1e4a6f;
}

/* Footer Responsive Design */
@media (max-width: 768px) {
    .footer-nav-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-nav-links {
        flex-direction: row;
        gap: 20px;
    }
    
    .footer-navbar {
        padding: 16px 0;
    }
}

@media (max-width: 480px) {
    .footer-nav-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-nav-link {
        font-size: 13px;
        padding: 6px 12px;
    }
    
    .footer-logo-img {
        height: 28px;
    }
}

/* ==============================================
   LEGAL PAGES (IMPRESSUM & DATENSCHUTZ)
   ============================================== */

.legal-page {
    min-height: calc(100vh - 140px);
    background-color: #f8f9fa;
    padding: 80px 0 60px 0;
}

.legal-page .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.legal-content {
    background: white;
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(46, 96, 139, 0.08);
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

.legal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #2e608b, #4a7ba8, #1e4a6f);
}

.legal-content h1 {
    font-family: 'Eurostile', 'Arial', sans-serif;
    font-size: 2.8rem;
    color: #2e608b;
    margin-bottom: 40px;
    text-align: center;
    font-weight: 600;
    padding-bottom: 20px;
    border-bottom: 2px solid #e9ecef;
}

.legal-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #f1f3f5;
}

.legal-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.legal-section h2 {
    font-family: 'Eurostile', 'Arial', sans-serif;
    font-size: 1.6rem;
    color: #2e608b;
    margin-bottom: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.legal-section h2::before {
    content: '';
    width: 4px;
    height: 24px;
    background: linear-gradient(135deg, #2e608b, #4a7ba8);
    border-radius: 2px;
}

.legal-section h3 {
    font-family: 'Eurostile', 'Arial', sans-serif;
    font-size: 1.3rem;
    color: #1e4a6f;
    margin: 25px 0 15px 0;
    font-weight: 600;
}

.legal-section h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    color: #2b2b2b;
    margin: 20px 0 10px 0;
    font-weight: 600;
}

.legal-section p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: #2b2b2b;
    margin-bottom: 15px;
    text-align: justify;
}

.legal-section address {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: #2b2b2b;
    font-style: normal;
    background: rgba(46, 96, 139, 0.05);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #2e608b;
}

.legal-section a {
    color: #2e608b;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.legal-section a:hover {
    color: #1e4a6f;
    text-decoration: underline;
}

.legal-section strong {
    color: #1e4a6f;
    font-weight: 600;
}

.legal-footer {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #e9ecef;
    text-align: center;
}

.legal-footer p {
    font-size: 0.9rem;
    color: #6c757d;
    margin: 0;
    font-style: italic;
}

/* Contact Info Styling */
.contact-info-legal {
    background: rgba(46, 96, 139, 0.05);
    padding: 25px;
    border-radius: 15px;
    border-left: 5px solid #2e608b;
    margin: 20px 0;
}

.contact-info-legal p {
    margin: 8px 0;
    font-size: 1rem;
}

.contact-info-legal a {
    font-weight: 600;
    color: #2e608b;
}

/* Responsive Design für Legal Pages */
@media (max-width: 768px) {
    .legal-page {
        padding: 60px 0 40px 0;
    }
    
    .legal-content {
        padding: 40px 30px;
        border-radius: 15px;
    }
    
    .legal-content h1 {
        font-size: 2.2rem;
        margin-bottom: 30px;
    }
    
    .legal-section h2 {
        font-size: 1.4rem;
    }
    
    .legal-section h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .legal-page {
        padding: 40px 0 30px 0;
    }
    
    .legal-content {
        padding: 30px 20px;
        border-radius: 10px;
    }
    
    .legal-content h1 {
        font-size: 1.8rem;
        margin-bottom: 25px;
    }
    
    .legal-section {
        margin-bottom: 30px;
        padding-bottom: 20px;
    }
    
    .legal-section h2 {
        font-size: 1.2rem;
    }
    
    .legal-section h3 {
        font-size: 1.1rem;
    }
    
    .legal-section p {
        text-align: left;
        font-size: 0.95rem;
    }
    
    .legal-section address {
        padding: 15px;
    }
}

/* ==============================================
   PROJEKTE SEITEN STYLES
   ============================================== */

/* Projekte Übersichtsseite */
.projects-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8fafb 0%, #e8f4f8 100%);
}

.projects-hero {
    background: linear-gradient(135deg, #2e608b 0%, #1e4a6f 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.projects-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.projects-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.projects-hero-content h1 {
    font-family: 'Eurostile', 'Arial', sans-serif;
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.projects-hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.95;
}

/* ==============================================
   PROJEKT CARDS - NEUER AUFBAU
   ============================================== */

.projects-grid {
    padding: 80px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.project-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(46, 96, 139, 0.12);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid rgba(46, 96, 139, 0.08);
    text-decoration: none;
    color: inherit;
    display: block;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(46, 96, 139, 0.2);
    border-color: rgba(46, 96, 139, 0.15);
}

.project-image {
    position: relative;
    height: 160px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid rgba(46, 96, 139, 0.08);
}

.project-logo {
    max-height: 70px;
    max-width: 140px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.1));
    transition: transform 0.3s ease;
}

.project-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(46, 96, 139, 0.15);
    transition: all 0.3s ease;
    margin: auto;
}

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

.project-card:hover .project-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(46, 96, 139, 0.25);
    background: rgba(255, 255, 255, 1);
}

.project-overlay {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
}

.project-category {
    background: linear-gradient(135deg, rgba(46, 96, 139, 0.9), rgba(30, 74, 111, 0.9));
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 8px rgba(46, 96, 139, 0.3);
}

.project-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.project-title {
    font-family: 'Eurostile', 'Arial', sans-serif;
    font-size: 1.25rem;
    color: #2e608b;
    margin: 0;
    line-height: 1.3;
    font-weight: 600;
}

.project-description {
    color: #64748b;
    line-height: 1.6;
    margin: 0;
    font-size: 0.9rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
}

.tech-tag {
    background: rgba(46, 96, 139, 0.08);
    color: #2e608b;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 500;
    border: 1px solid rgba(46, 96, 139, 0.12);
    transition: all 0.2s ease;
}

.tech-tag:hover {
    background: rgba(46, 96, 139, 0.12);
    border-color: rgba(46, 96, 139, 0.2);
}

.project-open-icon {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 32px;
    height: 32px;
    background: #2e608b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(46, 96, 139, 0.2);
    opacity: 0.8;
}

.project-open-icon svg {
    width: 16px;
    height: 16px;
}

.project-card:hover .project-open-icon {
    background: #1e4a6f;
    transform: scale(1.1);
    box-shadow: 0 4px 16px rgba(46, 96, 139, 0.3);
    opacity: 1;
}



.projects-cta {
    background: linear-gradient(135deg, #2e608b 0%, #1e4a6f 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.projects-cta .cta-content h2 {
    font-family: 'Eurostile', 'Arial', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.projects-cta .cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

/* ==============================================
   PROJEKT DETAIL SEITEN - NEUES DESIGN
   ============================================== */

.project-detail-page {
    min-height: 100vh;
    background: #f8fafb;
}

/* Hero Section - Volle Breite */
.project-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

.project-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #2e608b 0%, #1e4a6f 50%, #0f2942 100%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.4;
}

.project-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.project-breadcrumb {
    margin-bottom: 40px;
}

.project-breadcrumb a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    padding: 10px 20px;
    border-radius: 25px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.project-breadcrumb a:hover {
    color: white;
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.3);
}

.hero-main {
    display: flex;
    align-items: center;
    min-height: 50vh;
}

.hero-text {
    position: relative;
    max-width: 800px;
}

.hero-text h1 {
    font-family: 'Eurostile', 'Arial', sans-serif;
    font-size: 4rem;
    margin-bottom: 25px;
    text-shadow: 0 4px 12px rgba(0,0,0,0.4);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 35px;
    opacity: 0.95;
    line-height: 1.6;
    max-width: 600px;
}

.project-meta-badges {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.meta-badge {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.3);
}

.meta-badge.status-live {
    background: rgba(34, 197, 94, 0.3);
    border-color: rgba(34, 197, 94, 0.5);
}

/* Demo Section */
.project-demo {
    margin-top: -100px;
    margin-bottom: 80px;
    position: relative;
    z-index: 3;
}

.demo-container {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(46, 96, 139, 0.2);
    background: white;
}

.demo-placeholder {
    background: linear-gradient(135deg, #f8fafb 0%, #e8f4f8 100%);
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.demo-content {
    text-align: center;
    z-index: 2;
}

.demo-icon {
    font-size: 5rem;
    margin-bottom: 25px;
    display: block;
}

.demo-content h3 {
    font-family: 'Eurostile', 'Arial', sans-serif;
    font-size: 2rem;
    color: #2e608b;
    margin-bottom: 15px;
}

.demo-content p {
    color: #64748b;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.demo-launch-btn {
    background: linear-gradient(135deg, #2e608b 0%, #1e4a6f 100%);
    color: white;
    border: none;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(46, 96, 139, 0.3);
}

.demo-launch-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(46, 96, 139, 0.4);
}

.project-overview {
    padding: 80px 0;
}

.overview-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.overview-content h2 {
    font-family: 'Eurostile', 'Arial', sans-serif;
    color: #2e608b;
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.overview-content h3 {
    color: #2e608b;
    font-size: 1.5rem;
    margin: 40px 0 20px;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: #666;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #2e608b;
    font-weight: bold;
    font-size: 1.2rem;
}

.tech-stack {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(46, 96, 139, 0.1);
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.tech-item:last-child {
    border-bottom: none;
}

.tech-icon {
    font-size: 2rem;
    width: 50px;
    text-align: center;
}

.tech-item strong {
    color: #2e608b;
    display: block;
    margin-bottom: 5px;
}

.tech-item p {
    color: #666;
    margin: 0;
    font-size: 0.9rem;
}

/* Gallery - 3er Grid Layout */
.project-gallery {
    padding: 80px 0;
    background: white;
}

.project-gallery h2 {
    font-family: 'Eurostile', 'Arial', sans-serif;
    color: #2e608b;
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 60px;
}

.gallery-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-card {
    background: linear-gradient(135deg, #f8fafb 0%, #e8f4f8 100%);
    border-radius: 20px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(46, 96, 139, 0.1);
    position: relative;
    overflow: hidden;
    min-height: 280px;
}

.gallery-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(46, 96, 139, 0.05) 0%, rgba(30, 74, 111, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.gallery-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(46, 96, 139, 0.15);
    border-color: rgba(46, 96, 139, 0.2);
}

.gallery-content {
    position: relative;
    z-index: 2;
}

.gallery-icon {
    font-size: 4rem;
    margin-bottom: 25px;
    display: block;
}

.gallery-content h4 {
    font-family: 'Eurostile', 'Arial', sans-serif;
    color: #2e608b;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.gallery-content p {
    color: #64748b;
    line-height: 1.6;
    font-size: 1rem;
}

.project-results {
    padding: 80px 0;
}

.project-results h2 {
    font-family: 'Eurostile', 'Arial', sans-serif;
    color: #2e608b;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.result-item {
    background: white;
    padding: 40px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(46, 96, 139, 0.1);
}

.result-number {
    font-family: 'Eurostile', 'Arial', sans-serif;
    font-size: 3rem;
    color: #2e608b;
    margin-bottom: 15px;
}

.result-text {
    color: #666;
    font-weight: 500;
}

.project-testimonial {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafb 0%, #e8f4f8 100%);
}

.testimonial-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-content blockquote {
    font-size: 1.3rem;
    font-style: italic;
    color: #2e608b;
    margin-bottom: 30px;
    line-height: 1.6;
    quotes: '"' '"';
}

.testimonial-content blockquote::before {
    content: open-quote;
}

.testimonial-content blockquote::after {
    content: close-quote;
}

.testimonial-author strong {
    display: block;
    color: #2e608b;
    margin-bottom: 5px;
}

.testimonial-author span {
    color: #666;
    font-size: 0.9rem;
}

/* Call to Action - Vollbreite */
.project-cta-fullwidth {
    position: relative;
    background: linear-gradient(135deg, #2e608b 0%, #1e4a6f 50%, #0f2942 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
    overflow: hidden;
}

.cta-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="cta-grid" width="8" height="8" patternUnits="userSpaceOnUse"><path d="M 8 0 L 0 0 0 8" fill="none" stroke="rgba(255,255,255,0.08)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23cta-grid)"/></svg>');
    opacity: 0.6;
}

.cta-content-wrapper {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.cta-content h2 {
    font-family: 'Eurostile', 'Arial', sans-serif;
    font-size: 3.2rem;
    margin-bottom: 25px;
    text-shadow: 0 4px 12px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.cta-content p {
    font-size: 1.4rem;
    margin-bottom: 50px;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    min-width: 200px;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button.primary {
    background: white;
    color: #2e608b;
    box-shadow: 0 8px 30px rgba(255,255,255,0.2);
}

.cta-button.primary:hover {
    background: #f0f8ff;
    color: #1e4a6f;
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(255,255,255,0.3);
}

.cta-button.secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.8);
    backdrop-filter: blur(10px);
}

.cta-button.secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255,255,255,0.15);
}

/* Responsive Design für Projekte */
@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .projects-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 60px 15px;
    }
    
    .project-card {
        border-radius: 12px;
    }
    
    .project-image {
        height: 140px;
    }
    
    .project-content {
        padding: 20px;
        gap: 14px;
    }
    
    .project-title {
        font-size: 1.1rem;
    }
    
    .project-description {
        font-size: 0.85rem;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }
    
    /* Projekt Detail Responsive */
    .project-hero {
        min-height: 60vh;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .project-breadcrumb a {
        font-size: 1rem;
        padding: 8px 16px;
    }
    
    .project-meta-badges {
        justify-content: center;
    }
    
    .meta-badge {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    .project-demo {
        margin-top: -60px;
        margin-bottom: 60px;
    }
    
    .demo-placeholder {
        height: 350px;
    }
    
    .demo-icon {
        font-size: 3.5rem;
    }
    
    .demo-content h3 {
        font-size: 1.5rem;
    }
    
    .gallery-grid-3 {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .gallery-card {
        min-height: 220px;
        padding: 30px 20px;
    }
    
    .gallery-icon {
        font-size: 3rem !important;
    }
    
    .gallery-content h4 {
        font-size: 1.3rem;
    }
    
    .overview-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    /* CTA Responsive */
    .project-cta-fullwidth {
        padding: 80px 0;
    }
    
    .cta-content h2 {
        font-size: 2.2rem;
    }
    
    .cta-content p {
        font-size: 1.1rem;
        margin-bottom: 40px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .cta-button {
        width: 100%;
        max-width: 300px;
        padding: 15px 30px;
        font-size: 1rem;
    }
}