/* NOVYON Engineering - Additional Styles */

/* Skip to Content Link for Accessibility */
.skip-to-content {
    position: absolute;
    top: 0;
    left: 0;
    transform: translateY(-120%);
    background: var(--primary-color);
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    font-weight: 600;
    z-index: 10000;
    transition: transform 0.2s ease;
}

.skip-to-content:focus {
    transform: translateY(0);
}

/* Language Toggle */
.language-toggle {
    display: flex;
    gap: 0.5rem;
    margin-right: 2rem;
    align-items: center;
}

.lang-btn {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: var(--primary-color);
    color: white;
}

.lang-btn.active {
    background: var(--primary-color);
    color: white;
}

/* Services Grid with 3 columns */
.services-grid-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Services Grid with 4 columns */
.services-grid-4 {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.service-card-featured {
    background: white;
    border-radius: 12px;
    padding: 3rem 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    text-align: center;
}

.service-card-featured:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-card-featured .service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), #1a5490);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card-featured .service-icon svg {
    width: 40px;
    height: 40px;
    color: white;
}

.service-card-featured h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card-featured p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-light);
}

/* Trust Section */
.trust-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 6rem 0;
}

.trust-badges {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.trust-badge {
    background: white;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.trust-badge:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.trust-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), #1a5490);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trust-icon svg {
    width: 35px;
    height: 35px;
    color: white;
}

.trust-badge h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
    font-weight: 600;
}

.trust-badge p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-light);
}

/* Expertise Section */
.expertise {
    padding: 6rem 0;
    background: white;
}

.expertise-grid {
    margin-top: 4rem;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.expertise-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.expertise-item-reverse {
    direction: ltr;
}

.expertise-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.expertise-list {
    list-style: none;
    padding: 0;
}

.expertise-list li {
    padding: 1rem 0;
    padding-left: 2rem;
    font-size: 1.1rem;
    color: var(--text-light);
    position: relative;
}

.expertise-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.3rem;
}

.expertise-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.expertise-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.expertise-item:hover .expertise-image img {
    transform: scale(1.05);
}

/* Industries Section */
.industries {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.industry-card {
    background: white;
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.industry-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.industry-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), #1a5490);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.industry-icon svg {
    width: 40px;
    height: 40px;
    color: white;
}

.industry-card h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    font-weight: 600;
}

/* File Upload Styling */
.file-upload-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-upload-label:hover {
    border-color: var(--primary-color);
    background: #e9ecef;
}

.file-upload-label svg {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
}

.file-hint {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-left: auto;
}

input[type="file"] {
    display: none;
}

.file-name {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Mobile Responsive - Language Toggle */
@media (max-width: 768px) {
    .language-toggle {
        position: absolute;
        top: 1rem;
        right: 5rem;
        margin-right: 0;
    }

    .lang-btn {
        padding: 0.3rem 0.6rem;
        font-size: 0.8rem;
    }

    /* Trust Section Mobile */
    .trust-badges {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Services Grid Mobile */
    .services-grid-3 {
        grid-template-columns: 1fr;
    }

    .services-grid-4 {
        grid-template-columns: 1fr;
    }

    /* Expertise Section Mobile */
    .expertise-item,
    .expertise-item-reverse {
        grid-template-columns: 1fr;
        gap: 2rem;
        overflow: hidden;
    }

    .expertise-content {
        order: 1;
        padding: 0;
        max-width: 100%;
        overflow-wrap: break-word;
    }

    .expertise-content h3 {
        font-size: 1.5rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }

    .expertise-list {
        padding-right: 0;
    }

    .expertise-list li {
        font-size: 1rem;
        padding-right: 0;
        padding-left: 2rem;
        word-wrap: break-word;
    }

    .expertise-image {
        order: 2;
        width: 100%;
    }

    .expertise-image img {
        height: 250px;
    }

    /* Industries Mobile */
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* Tablet Responsive */
@media (max-width: 1024px) and (min-width: 769px) {
    .services-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-badges {
        grid-template-columns: repeat(2, 1fr);
    }

    .expertise-item {
        gap: 2rem;
    }

    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .language-toggle {
        right: 4rem;
    }

    .industries-grid {
        grid-template-columns: 1fr;
    }

    .service-card-featured {
        padding: 2rem 1.5rem;
    }

    .trust-badge {
        padding: 2rem 1.5rem;
    }

    .industry-card {
        padding: 2rem 1.5rem;
    }
}

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26, 84, 144, 0.98);
    color: white;
    padding: 1.5rem 0;
    z-index: 9999;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-text {
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.cookie-text a {
    color: #ffffff;
    text-decoration: underline;
    font-weight: 600;
}

.cookie-text a:hover {
    opacity: 0.8;
}

.cookie-accept {
    background: white;
    color: var(--primary-color);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cookie-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-accept {
        width: 100%;
    }
}

/* ===================================
   V-Model Design Refresh Overrides
   =================================== */
:root {
    --vmodel-slate: #0f2740;
    --vmodel-steel: #224a73;
    --vmodel-cyan: #3e92cc;
    --vmodel-amber: #f0a035;
    --vmodel-mist: #eef4fa;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(115deg, rgba(9, 24, 38, 0.78) 5%, rgba(14, 43, 70, 0.58) 55%, rgba(33, 73, 110, 0.35) 100%),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0, rgba(255, 255, 255, 0.04) 1px, transparent 1px, transparent 80px);
    z-index: 1;
}

.hero-content .container {
    max-width: 1020px;
}

.hero-title {
    font-size: clamp(2rem, 4.2vw, 3.4rem);
    line-height: 1.16;
    letter-spacing: 0.6px;
    text-transform: none;
    text-wrap: balance;
    margin-bottom: 1.2rem;
}

.hero-subtitle {
    max-width: 960px;
    margin: 0 auto 1.8rem;
    font-size: clamp(1rem, 1.8vw, 1.32rem);
    line-height: 1.7;
    font-weight: 400;
    text-wrap: pretty;
    background: rgba(7, 27, 46, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 1rem 1.2rem;
    backdrop-filter: blur(2px);
}

.hero-buttons .btn {
    border-radius: 10px;
    letter-spacing: 0.2px;
}

.section-label {
    background: linear-gradient(90deg, rgba(26, 84, 144, 0.12), rgba(62, 146, 204, 0.16));
    border: 1px solid rgba(26, 84, 144, 0.22);
    border-radius: 999px;
    padding: 0.34rem 0.85rem;
    letter-spacing: 1.2px;
}

.section-title {
    text-wrap: balance;
}

.service-card-featured {
    background: linear-gradient(180deg, #ffffff 0%, #f9fcff 100%);
    box-shadow: 0 10px 30px rgba(15, 39, 64, 0.11);
    border: 1px solid #dbe8f5;
    position: relative;
    overflow: hidden;
}

.service-card-featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--vmodel-steel), var(--vmodel-cyan));
}

.services-grid-4 .service-card-featured:nth-child(3)::before {
    background: linear-gradient(90deg, #2c6a9f, #3f97cf);
}

.services-grid-4 .service-card-featured:nth-child(4)::before {
    background: linear-gradient(90deg, #2f5d8f, var(--vmodel-cyan));
}

.service-card-featured:hover {
    box-shadow: 0 20px 44px rgba(15, 39, 64, 0.2);
}

.services-subtitle {
    margin: 0 0 1.2rem;
    font-size: 1.45rem;
    color: var(--vmodel-slate);
}

.services-track {
    margin-top: 2rem;
    background: #ffffff;
    border: 1px solid #d4e5f6;
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(15, 39, 64, 0.1);
    padding: 1.6rem 1.8rem;
    position: relative;
    overflow: hidden;
}

.services-track::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--vmodel-steel), var(--vmodel-cyan));
}

.services-track-desc {
    margin: 0.3rem 0 1rem;
    color: #4b647c;
    line-height: 1.65;
}

.services-track-cta {
    display: inline-block;
}

.services-track-cta.btn-secondary {
    color: var(--vmodel-steel);
    border-color: var(--vmodel-steel);
    background: #ffffff;
}

.services-track-cta.btn-secondary:hover {
    background: var(--vmodel-steel);
    color: #ffffff;
    border-color: var(--vmodel-steel);
}

.trust-section {
    background:
        linear-gradient(180deg, #f3f8fd 0%, #ecf3fb 100%),
        repeating-linear-gradient(90deg, rgba(26, 84, 144, 0.03) 0, rgba(26, 84, 144, 0.03) 1px, transparent 1px, transparent 90px);
}

.trust-badge {
    box-shadow: 0 5px 20px rgba(15, 39, 64, 0.08);
    border: 1px solid #dbe8f5;
}

.expertise {
    background: var(--vmodel-mist);
}

.expertise-grid {
    gap: 2.2rem;
}

.expertise-item {
    gap: 2.4rem;
    background: #ffffff;
    border: 1px solid #d4e5f6;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(15, 39, 64, 0.08);
    padding: 1.4rem;
}

.expertise-content h3 {
    position: relative;
    padding-top: 2rem;
}

.expertise-content h3::before {
    content: "V-MODELL";
    position: absolute;
    top: 0;
    left: 0;
    font-size: 0.72rem;
    letter-spacing: 1.6px;
    font-weight: 700;
    color: var(--vmodel-steel);
    background: rgba(34, 74, 115, 0.12);
    border-radius: 999px;
    padding: 0.28rem 0.6rem;
}

.expertise-grid .expertise-item:nth-child(1) .expertise-content h3::before {
    content: "LINKE SEITE";
}

.expertise-grid .expertise-item:nth-child(2) .expertise-content h3::before {
    content: "MITTE";
}

.expertise-grid .expertise-item:nth-child(3) .expertise-content h3::before {
    content: "RECHTE SEITE";
}

.expertise-grid .expertise-item:nth-child(4) .expertise-content h3::before {
    content: "QUERFUNKTION";
}

.expertise-list li {
    padding: 0.68rem 0;
    padding-left: 2rem;
    font-size: 1.02rem;
    color: #46607a;
}

.expertise-image {
    box-shadow: 0 10px 26px rgba(15, 39, 64, 0.14);
}

.expertise-image img {
    height: 310px;
}

.permits-focus {
    background: linear-gradient(165deg, #f2f8ff 0%, #e7f1fb 100%);
    padding: 6rem 0;
}

.permits-card {
    max-width: 980px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid #d4e5f6;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(15, 39, 64, 0.09);
    padding: 2rem 2.2rem;
    position: relative;
    overflow: hidden;
}

.permits-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--vmodel-steel), var(--vmodel-cyan));
}

.permits-note {
    margin: 0 0 1.2rem;
    padding: 0.95rem 1rem;
    background: rgba(34, 74, 115, 0.08);
    border-left: 4px solid var(--vmodel-steel);
    border-radius: 8px;
    color: #304b63;
    line-height: 1.6;
    font-size: 1rem;
}

.permits-card h3 {
    margin-bottom: 1rem;
    color: var(--vmodel-slate);
    font-size: 1.4rem;
}

.permits-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.9rem;
}

.permits-list li {
    position: relative;
    padding: 0.75rem 0.75rem 0.75rem 2rem;
    border: 1px solid #e1edf9;
    border-radius: 9px;
    color: #3f5a73;
    background: #fbfdff;
}

.permits-list li::before {
    content: '';
    position: absolute;
    top: 1rem;
    left: 0.85rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--vmodel-steel);
}

.industries {
    background: linear-gradient(160deg, #f7fbff 0%, #e8f1fa 100%);
}

.industry-card {
    box-shadow: 0 5px 20px rgba(15, 39, 64, 0.08);
    border: 1px solid #dbe8f5;
}

@media (max-width: 768px) {
    .hero-title {
        letter-spacing: 0.2px;
    }

    .hero-subtitle {
        padding: 0.95rem 0.9rem;
        line-height: 1.55;
    }

    .expertise-content h3 {
        padding-top: 1.8rem;
    }

    .expertise-item {
        padding: 1rem;
    }

    .services-subtitle {
        font-size: 1.2rem;
    }

    .services-track {
        padding: 1.1rem;
    }

    .services-track-cta.btn-secondary {
        width: 100%;
        text-align: center;
    }

    .permits-card {
        padding: 1.2rem;
    }

    .permits-note {
        font-size: 0.95rem;
        padding: 0.8rem;
    }
}
