/* ------------------------------
   GLOBAL
--------------------------------*/
body {
    margin: 0;
    padding: 0;
    background-color: #1f1f1f;
    color: #e5e5e5;
    font-family: 'Poppins', sans-serif;
}

h1, h2, h3, h4 {
    font-weight: 600;
    letter-spacing: 1px;
}

a {
    color: #4da3ff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ------------------------------
   STICKY HEADER / NAVIGATION
--------------------------------*/
.nav-wrapper {
    background-color: #1a1a1a;
    border-bottom: 1px solid #333;
    position: sticky;
    top: 0;
    z-index: 999;
}

.navbar {
    padding: 14px 25px;
}

.navbar .container-fluid {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo-group {
    display: flex;
    align-items: center;
    gap: 18px;
    white-space: nowrap;
}

.nav-logo {
    height: 110px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(0,123,255,0.5));
    transition: transform 0.2s ease;
}

.nav-logo:hover {
    transform: scale(1.05);
}

.nav-company-name {
    font-size: 2.2rem;
    font-weight: 600;
    color: #e5e5e5;
    text-shadow: 0 0 6px rgba(0,123,255,0.4);
}

.nav-link {
    color: #e5e5e5 !important;
    font-weight: 500;
    margin-left: 26px;
    font-size: 1.22rem;
    position: relative;
    padding-bottom: 4px;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0%;
    height: 2px;
    background-color: #4da3ff;
    transition: width 0.25s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: #4da3ff !important;
}

@media (max-width: 992px) {
    .nav-logo {
        height: 80px;
    }

    .nav-company-name {
        font-size: 1.4rem;
    }

    .nav-link {
        font-size: 1.05rem;
        margin-left: 0;
    }
}

/* ------------------------------
   MOBILE HEADER FIX
--------------------------------*/
@media (max-width: 480px) {
    .nav-logo {
        height: 32px;
    }

    .nav-company-name {
        font-size: 14px;
        font-weight: 600;
    }

    .navbar {
        padding: 8px 12px;
    }
}

/* ------------------------------
   HERO SECTION
--------------------------------*/
.hero-tech {
    position: relative;
    width: 100%;
    height: 60vh;
    background: url("../images/hero.png") center center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    text-align: center;
}

.animate-fadein {
    opacity: 0;
    animation: fadeIn 1.5s ease-in-out forwards;
}

@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(12px); }
    100% { opacity: 1; transform: translateY(0); }
}

.hero-content h1 {
    font-size: 3rem;
    text-shadow: 0 0 12px rgba(0,123,255,0.5);
}

@media (max-width: 768px) {
    .hero-tech {
        height: 320px;
    }

    .hero-content h1 {
        font-size: 1.9rem;
        padding: 0 10px;
    }
}

/* ------------------------------
   INFO SECTION
--------------------------------*/
@keyframes infoGlow {
    0% { box-shadow: 0 0 20px rgba(0,123,255,0.15); }
    50% { box-shadow: 0 0 35px rgba(0,123,255,0.25); }
    100% { box-shadow: 0 0 20px rgba(0,123,255,0.15); }
}

.info-tech {
    background: linear-gradient(135deg, #262626, #1e1e1e);
    padding: 50px 40px;
    text-align: center;
    border: 1px solid #3a3a3a;
    border-radius: 12px;
    max-width: 1200px;
    margin: 60px auto;
    animation: infoGlow 4s infinite ease-in-out;
}

.info-tech h2 {
    color: #4da3ff;
    font-size: 2rem;
    margin-bottom: 20px;
}

.info-tech p {
    font-size: 1.25rem;
    line-height: 1.7;
    max-width: 1000px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .info-tech {
        padding: 30px 20px;
        margin: 30px 15px;
    }

    .info-tech p {
        font-size: 1.05rem;
    }
}

/* ------------------------------
   LEISTUNGEN HEADER
--------------------------------*/
.leistungen-title {
    background-color: #1f1f1f;
    padding: 40px 0;
    text-align: center;
}

.leistungen-title h2 {
    color: #4da3ff;
    font-size: 2.4rem;
}

/* ------------------------------
   SERVICE GRID
--------------------------------*/
.service-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    max-width: 1300px;
    margin: 40px auto;
}

.service-card {
    background: #ffffff;
    color: #333;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
    transition: 0.35s ease;
}

.service-card:hover {
    transform: translateY(-8px);
}

.service-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.card-header-box {
    background-color: #007BFF;
    color: white;
    padding: 15px;
    text-align: center;
}

.service-card ul {
    list-style: none;
    padding: 20px;
}

.btn-custom {
    display: block;
    background: #007BFF;
    color: white;
    padding: 12px;
    margin: 20px;
    border-radius: 6px;
    text-align: center;
    font-weight: bold;
}

@media (max-width: 992px) {
    .service-grid-3 {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }
}

/* ------------------------------
   KONTAKT
--------------------------------*/
.kontakt-section {
    background-color: #262626;
    padding: 60px 20px;
    border-top: 1px solid #333;
}

.kontakt-container {
    max-width: 700px;
    margin: auto;
}

.kontakt-headline {
    text-align: center;
    color: #4da3ff;
    font-size: 1.8rem;
}

.kontakt-sub {
    text-align: center;
    margin-bottom: 25px;
}

.kontakt-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.kontakt-form input,
.kontakt-form textarea {
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #555;
    background-color: #1a1a1a;
    color: white;
}

.checkbox-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.kontakt-button {
    background-color: #007BFF;
    padding: 15px;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    color: white;
}

@media (max-width: 768px) {
    .kontakt-section {
        padding: 40px 15px;
    }
}

/* ------------------------------
   FOOTER
--------------------------------*/
.footer {
    background-color: #1a1a1a;
    padding: 40px 20px;
    color: #ccc;
    border-top: 1px solid #333;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-column h4 {
    color: #4da3ff;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    border-top: 1px solid #333;
    padding-top: 15px;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }
}

/* ------------------------------
   CONTENT PAGES
--------------------------------*/
.page-header {
    text-align: center;
    padding: 60px 0 30px 0;
}

.page-header h1 {
    font-size: 2.6rem;
    color: #4da3ff;
}

.content-box {
    max-width: 1100px;
    margin: 0 auto 60px auto;
    padding: 40px;
    background: #262626;
    border-radius: 12px;
    border: 1px solid #333;
}

.cad-flex {
    display: flex;
    gap: 30px;
    margin: 30px 0;
}

.cad-flex img {
    width: 380px;
    border-radius: 12px;
}

@media (max-width: 992px) {
    .cad-flex {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .cad-flex img {
        width: 100%;
        max-width: 350px;
    }
}

/* ------------------------------
   MOBILE PAGE HEADER FIX
--------------------------------*/
@media (max-width: 480px) {
    .page-header {
        padding-top: 50px;
    }
}
