:root {
    --primary: #023f52;
    --secondary: #e39a31;
    --text-dark: #333;
    --text-light: #f4f4f4;
    --bg-light: #ffffff;
    --bg-gray: #f9f9f9;
    --transition: all 0.3s ease;
}

/* Local Fonts */
@font-face {
    font-family: 'Noto Sans';
    src: url('Fonts/noto-sans-400.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Noto Sans';
    src: url('Fonts/noto-sans-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Noto Sans';
    src: url('Fonts/noto-sans-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Noto Sans';
    src: url('Fonts/noto-sans-800.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2 {
    text-transform: uppercase;
    letter-spacing: 1px;
}

h3 {
    text-transform: none;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--secondary);
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(2, 63, 82, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.logo {
    background-color: #ffffff;
    padding: 8px 30px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
    transition: var(--transition);
    height: 110px;
}

.logo img {
    height: 90px;
    width: auto;
    display: block;
}

.header-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 0 2rem;
}

.header-contact a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.header-contact a i {
    color: var(--secondary);
    margin-right: 0.8rem;
    width: 20px;
    text-align: center;
}

.header-contact a:hover {
    color: var(--secondary);
}

nav ul {
    display: flex;
    list-style: none;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1100;
}

.menu-toggle .bar {
    width: 30px;
    height: 3px;
    background-color: white;
    border-radius: 3px;
    transition: var(--transition);
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    transition: var(--transition);
}

nav ul li a:hover::after {
    width: 100%;
}

nav ul li a:hover {
    color: var(--secondary);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    color: white;
    overflow: hidden;
    background: url('Images/road-construction-concept-orange-warning-light-b-2024-12-07-15-34-19-utc-scaled.jpg') center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(2, 63, 82, 0.8) 0%, rgba(2, 63, 82, 0.5) 100%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 95%;
    width: 900px;
    padding: 2rem 1.5rem;
    overflow-wrap: break-word;
    word-break: break-word;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 0.5rem;
    font-weight: 800;
    line-height: 1.1;
    hyphens: auto;
    overflow-wrap: break-word;
}

.logo-text-inline {
    display: inline-block;
}

.hero-tagline {
    font-size: 1.5rem;
    color: var(--secondary);
    display: block;
    margin-top: 0.5rem;
    text-transform: none;
    font-weight: 600;
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    background-color: var(--secondary);
    color: white;
    text-decoration: none;
    font-weight: 800;
    border-radius: 5px;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn:hover {
    background-color: #c98425;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

/* Hardening Utility Classes */
.contact-info-centered {
    grid-column: 1 / -1;
    text-align: center;
}

.contact-items-container {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 2rem;
}

.contact-button-wrapper {
    margin-top: 3rem;
}

.service-areas-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 5%;
    text-align: center;
}

/* Sections */
section {
    padding: 6rem 10%;
}

.services {
    background-color: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

@media (max-width: 1100px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
    transition: var(--transition);
    border-bottom: 6px solid var(--secondary);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.service-card i {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1.2rem;
    color: var(--primary);
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.2;
    padding: 0 5px;
    display: block;
    text-transform: none;
}

/* Full-Service Section */
.full-service {
    background-color: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4rem;
}

.full-service-content {
    flex: 1;
}

.full-service-media {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    min-width: 300px;
}

.full-service-media video, 
.full-service-media img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    object-fit: cover;
}

.full-service-media video {
    height: 300px;
}

.full-service-media img {
    height: 200px;
}

.full-service h2 {
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.full-service ul {
    list-style: none;
    margin-top: 1.5rem;
}

.full-service ul li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
}

.full-service ul li::before {
    content: '✔';
    color: var(--secondary);
    margin-right: 1rem;
    font-weight: bold;
}

/* Regions Section */
.region {
    background-color: var(--bg-gray);
    text-align: center;
}

/* Contact Section */
.contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
}

.contact-info h3 {
    margin-bottom: 1.5rem;
    color: var(--primary);
    font-size: 1.5rem;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.info-item i {
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 1.5rem;
}

/* Footer */
footer {
    padding: 4rem 10%;
    background-color: #0b0b0b;
    color: white;
    text-align: center;
}

.footer-links {
    margin-bottom: 2rem;
}

.footer-links a {
    color: #bbb;
    text-decoration: none;
    margin: 0 1.5rem;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary);
}

/* Cookie Banner Default */
.cookie-banner {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    z-index: 2000;
    display: none;
    border: 1px solid rgba(0,0,0,0.05);
}

.cookie-banner-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
}

.cookie-banner h4 {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.cookie-icon i {
    font-size: 2rem;
    color: var(--secondary);
}

.cookie-banner p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #666;
}

.cookie-banner-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.cookie-banner-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.cookie-banner-link:hover {
    color: var(--secondary);
    text-decoration: underline;
}

.cookie-btn {
    padding: 0.8rem 2rem;
    border-radius: 5px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 0.8rem;
    border: none;
}

.cookie-btn-accept {
    background-color: var(--secondary);
    color: white;
}

.cookie-btn-accept:hover {
    background-color: #c98425;
}

.cookie-btn-necessary {
    background-color: #eee;
    color: #333;
}

.cookie-btn-necessary:hover {
    background-color: #ddd;
}

/* Service Areas / GEO SEO */
.service-areas {
    background-color: #f9f9f9;
    border-top: 1px solid #eee;
    border-bottom: 2px solid var(--secondary);
    padding: 2rem 0;
}

.area-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    text-align: left;
    margin-top: 2rem;
}

.area-col ul {
    list-style: none;
    padding: 0;
}

.area-col li {
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
    color: #444;
    display: flex;
    align-items: center;
}

.area-col li i {
    color: var(--secondary);
    margin-right: 10px;
    font-size: 0.9rem;
    width: 20px;
    text-align: center;
}

/* Legal Content Global Styles */
.legal-content {
    padding-top: 180px;
    max-width: 900px;
    margin: 0 auto;
    padding-left: 5%;
    padding-right: 5%;
    padding-bottom: 5rem;
}

@media (max-width: 768px) {
    .legal-content { padding-top: 140px; }
}

@media (max-width: 480px) {
    .legal-content { padding-top: 120px; }
}

.legal-content h1 {
    color: var(--primary);
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--secondary);
    padding-bottom: 1rem;
    font-size: 2.4rem;
    hyphens: auto;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

@media (max-width: 480px) {
    .legal-content h1 { font-size: 1.8rem; }
}

.legal-content h2 {
    color: var(--primary);
    margin-top: 2.5rem;
    margin-bottom: 1.2rem;
    font-size: 1.5rem;
    border-left: 4px solid var(--secondary);
    padding-left: 15px;
}

.legal-content h3 {
    color: var(--primary);
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.legal-content p,
.legal-content ul,
.legal-content li {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: #444;
}

.legal-content ul {
    padding-left: 2rem;
    list-style-type: disc;
}

.legal-link {
    color: var(--primary);
    text-decoration: underline;
    transition: var(--transition);
}

.legal-notice-box {
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 8px;
}

.legal-link:hover {
    color: var(--secondary);
}

/* ============================================================ */
/* MEDIA QUERIES - ALL AT THE END FOR CORRECT CASCADE          */
/* ============================================================ */

/* Animations for Cookie Banner */
@keyframes fadeInUp {
    from { opacity: 0; transform: translate(-50%, 50px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

@keyframes fadeOutDown {
    from { opacity: 1; transform: translate(-50%, 0); }
    to { opacity: 0; transform: translate(-50%, 50px); }
}

@media (max-width: 992px) {
    .contact { grid-template-columns: 1fr; }
    .logo { height: 90px; padding: 5px 20px; }
    .logo img { height: 75px; }
    .header-contact { display: none; }
    header { padding: 1.2rem 5%; }
    .area-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-list {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: rgba(2, 63, 82, 0.98) !important; /* Force BG */
        backdrop-filter: blur(15px);
        flex-direction: column !important; /* Force Column */
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        z-index: 1050;
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
        display: flex;
    }

    .nav-list.active {
        right: 0;
    }

    .nav-list li {
        margin: 1.5rem 0;
        margin-left: 0; /* Reset desktop margin */
    }

    .nav-list li a {
        font-size: 1.3rem;
    }

    /* Animation für Hamburger */
    #mobile-menu.active .bar:nth-child(2) { opacity: 0; }
    #mobile-menu.active .bar:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    #mobile-menu.active .bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

    .hero h1 { font-size: 2.8rem; }
    .hero-slogan { font-size: 1.1rem; letter-spacing: 2px; }
    .hero p { font-size: 1.1rem; }
    section { padding: 4rem 6%; }
    
    .full-service { gap: 2rem; }
    .full-service-media { min-width: 100%; }

    .cookie-banner {
        bottom: 15px;
        padding: 1.5rem;
    }
    .cookie-banner-buttons {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .area-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .area-col li {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 1.5rem 1rem;
    }
    .hero h1 { font-size: 1.8rem; }
    .hero p { font-size: 0.95rem; line-height: 1.5; }
    .btn { padding: 1rem 1.5rem; width: 100%; text-align: center; font-size: 0.9rem; }
    .logo { height: 75px; padding: 5px 15px; }
    .logo img { height: 55px; }
    .section-title { font-size: 1.6rem; margin-bottom: 2rem; }
    .service-card { padding: 1.5rem 1rem; }
}

@media (max-width: 360px) {
    .hero h1 { font-size: 0.9rem; line-height: 1.2; } 
    .hero-tagline { font-size: 0.8rem; }
    .hero p { font-size: 0.8rem; }
    .hero-content { padding: 1rem 0.5rem; }
    .logo { height: 60px; padding: 5px 10px; }
    .logo img { height: 40px; }
    .section-title { font-size: 1.4rem; }
}
