/* Gold Clean - Strict Corporate Industrial Design (Koetter Style) */
:root {
    --primary-blue: #002b45;
    /* Darker, cooler Navy */
    --primary-light: #004e7a;
    --accent-yellow: #ffcc00;
    /* KÖTTER Yellow */
    --text-dark: #111111;
    --text-gray: #4a4a4a;
    --text-light: #ffffff;
    --bg-light: #f4f5f7;
    --bg-white: #ffffff;

    /* Typography - Industrial & Strong */
    --font-heading: 'Roboto Condensed', 'Arial Narrow', sans-serif;
    --font-body: 'Roboto', 'Arial', sans-serif;

    --container-width: 1400px;
    /* Wider container for modern look */
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@400;700;900&family=Roboto:wght@300;400;500;700&display=swap');

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

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
}

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

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

ul {
    list-style: none;
}

/* ====================
   Header Structure
   ==================== */
.top-bar {
    background-color: #f0f0f0;
    font-size: 0.85rem;
    padding: 8px 0;
    color: #666;
    border-bottom: 1px solid #e0e0e0;
}

.top-bar .container {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}

.top-bar a:hover {
    color: var(--primary-blue);
}

.main-header {
    background: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 2.2rem;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: -1px;
    display: flex;
    align-items: center;
}

.logo span {
    color: var(--accent-yellow);
    margin-left: 2px;
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-menu a {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--accent-yellow);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

/* ====================
   Hero Section (Overlay Style)
   ==================== */
.hero {
    position: relative;
    height: 80vh;
    min-height: 600px;
    background: url('https://images.unsplash.com/photo-1577412647305-991150c7d163?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') center/cover no-repeat;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-content {
    position: absolute;
    left: 10%;
    /* Specific positioning like corporate sites often have */
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    padding: 50px;
    max-width: 600px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    border-left: 5px solid var(--accent-yellow);
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary-blue);
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 30px;
}

/* Search Widget embedded in Hero Text */
.service-finder {
    display: flex;
    gap: 0;
}

.service-finder input {
    flex: 1;
    padding: 15px;
    border: 1px solid #ccc;
    background: white;
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
}

.service-finder button {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 0 25px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    transition: var(--transition);
}

.service-finder button:hover {
    background: var(--accent-yellow);
    color: var(--primary-blue);
}

/* ====================
   Services Grid (Tiles)
   ==================== */
.services-section {
    padding: 0;
    /* Full edge to edge feel if wanted, or standard padding */
    margin: 0;
}

.tiles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* Strict 3 column */
}

.service-tile {
    position: relative;
    height: 500px;
    /* Tall */
    overflow: hidden;
    cursor: pointer;
}

.service-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-tile:hover img {
    transform: scale(1.1);
}

.tile-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 43, 69, 0.9) 0%, rgba(0, 43, 69, 0.4) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    transition: all 0.3s;
}

.tile-overlay h3 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: white;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-weight: 900;
    transform: translateY(20px);
    transition: var(--transition);
}

.tile-overlay p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
    max-width: 90%;
}

.service-tile:hover h3 {
    transform: translateY(0);
    color: var(--accent-yellow);
}

.service-tile:hover p {
    opacity: 1;
    transform: translateY(0);
}

/* ====================
   News / Highlights Section
   ==================== */
.news-section {
    background: var(--bg-light);
    padding: 100px 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--primary-blue);
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 60px;
    font-weight: 900;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.news-card {
    background: white;
    display: flex;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.news-content {
    padding: 30px;
    flex: 1;
}

.news-date {
    font-size: 0.9rem;
    color: #999;
    font-weight: 700;
    margin-bottom: 10px;
    display: block;
}

.news-card h4 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-blue);
}

.news-link {
    color: var(--primary-blue);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    border-bottom: 2px solid var(--accent-yellow);
}

/* ====================
   Stats Bar
   ==================== */
.stats-section {
    background: var(--primary-blue);
    padding: 80px 0;
    color: white;
    text-align: center;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: 1200px;
    margin: 0 auto;
}

.stat-item h2 {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: var(--accent-yellow);
    line-height: 1;
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

/* ====================
   Footer
   ==================== */
.footer {
    background: #001a2b;
    /* Even darker for footer */
    color: white;
    padding: 100px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 80px;
}

.footer h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--accent-yellow);
    margin-bottom: 25px;
    text-transform: uppercase;
}

.footer ul li {
    margin-bottom: 15px;
}

.footer ul li a {
    opacity: 0.7;
    font-size: 1rem;
}

.footer ul li a:hover {
    opacity: 1;
    color: var(--accent-yellow);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 30px;
}

/* Responsive */
@media (max-width: 1024px) {
    .tiles-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero h1 {
        font-size: 2.8rem;
    }
}

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

    .hero-content {
        left: 0;
        width: 100%;
        padding: 30px;
        margin: 20px;
    }

    .stats-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .nav-menu {
        display: none;
    }

    .top-bar {
        display: none;
    }
}

/* ====================
   Industries (Branchen) Grid
   ==================== */
.industries-section {
    padding: 80px 0;
    background: white;
    border-top: 1px solid #eee;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    /* Increased gap for cleaner separation */
    max-width: 1200px;
    margin: 0 auto;
}

.industry-card {
    background: white;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.industry-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.industry-card img {
    width: 100%;
    height: 180px;
    /* Fixed height for image part */
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.industry-overlay {
    /* Renamed conceptually to 'Body' but kept class to minimize HTML edits if possible, 
       but simplified: standard block flow below image */
    position: relative;
    padding: 20px;
    background: white;
    border-bottom: 3px solid transparent;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.industry-overlay span {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary-blue);
    text-transform: uppercase;
    transition: color 0.3s;
}

.industry-card:hover .industry-overlay {
    border-bottom-color: var(--accent-yellow);
}

.industry-card:hover .industry-overlay span {
    color: var(--primary-light);
    /* Or keep blue, maybe just border highlight is enough corporate style */
}

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

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