/* === GRUNDEINSTELLUNGEN & CI-FARBEN === */
:root {
    --tech-blau: #005E8C;
    --anthrazit: #1F1F1F;
    --weiss: #F4F4F4;
    --akzent: #00C2CB; /* Optionales Akzent-Blau */
    --anthrazit-hell: #2a2a2a; /* Für Hover-Effekte */
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px; /* Lässt 110px Platz für den sticky Header */
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--anthrazit);
    color: var(--weiss);
    line-height: 1.6;
}

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

h1, h2, h3 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 15px;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.2rem; color: var(--tech-blau); }
h3 { font-size: 1.2rem; color: var(--weiss); text-transform: uppercase; letter-spacing: 1px;}
p { margin-bottom: 20px; }
a { color: var(--tech-blau); text-decoration: none; }

/* === HEADER & NAVIGATION === */
.navbar {
    background-color: var(--anthrazit-hell);
    padding: 20px 0;
    border-bottom: 2px solid var(--tech-blau);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.navbar .logo img {
    height: 100px; /* Extremer Testwert */
    width: auto;
}

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

.navbar nav li {
    margin-left: 25px;
}

.navbar nav a {
    color: var(--weiss);
    font-weight: 600;
    transition: color 0.3s ease;
}

.navbar nav a:hover,
.navbar nav a.nav-button {
    color: var(--tech-blau);
}

.navbar nav a.nav-button {
    background-color: var(--tech-blau);
    color: var(--weiss);
    padding: 8px 16px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.navbar nav a.nav-button:hover {
    background-color: var(--akzent);
    color: var(--weiss);
}

.mobile-nav-toggle { display: none; } /* Für Mobile */

/* === HERO SEKTION === */
.hero {
    padding: 100px 0;
    text-align: center;
    background-color: var(--anthrazit); /* Evtl. später mit dezentem Hintergrundbild */
}

.hero h1 {
    color: var(--weiss);
    font-weight: 700;
}

.hero .subtitle {
    font-size: 1.2rem;
    color: #ccc;
    max-width: 600px;
    margin: 0 auto 30px auto;
}

.cta-button {
    background-color: var(--tech-blau);
    color: var(--weiss);
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 5px;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: var(--akzent);
}

/* === LEISTUNGEN === */
.services {
    padding: 80px 0;
    background-color: var(--anthrazit-hell);
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.service-box {
    background-color: var(--anthrazit);
    padding: 30px;
    border-radius: 8px;
    border-top: 4px solid var(--tech-blau);
}

.service-box .icon {
    font-size: 2.5rem;
    color: var(--tech-blau);
    margin-bottom: 15px;
    float: right;
    opacity: 0.5;
}

.service-box h2 {
    margin-bottom: 20px;
}

.service-box h2 .fa-check {
    color: var(--akzent); /* Akzentfarbe für die Haken */
    font-size: 1.8rem;
    margin-right: 10px;
}

.service-box ul {
    list-style: none;
    margin-left: 5px;
}

.service-box ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.service-box ul li::before {
    content: '\f00c'; /* Font Awesome Check */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--tech-blau);
    position: absolute;
    left: 0;
    top: 2px;
}

/* === USP SEKTION === */
.usp-section {
    padding: 80px 0;
    text-align: center;
    background-color: var(--anthrazit);
}

.usp-section h2 {
    color: var(--weiss);
    font-size: 2.5rem;
}

.usp-section p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: #ccc;
}

/* === KONTAKT === */
.contact {
    padding: 80px 0;
    text-align: center;
    background-color: var(--anthrazit-hell);
}

.contact-options {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-button {
    background-color: var(--anthrazit);
    color: var(--weiss);
    padding: 15px 25px;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid var(--tech-blau);
}

.contact-button i {
    margin-right: 10px;
}

.contact-button:hover {
    background-color: var(--tech-blau);
    color: var(--weiss);
}

.contact-button.whatsapp {
    border-color: #25D366;
}
.contact-button.whatsapp:hover {
    background-color: #25D366;
}

/* === FOOTER === */
footer {
    padding: 30px 0;
    background-color: #111;
    color: #888;
    text-align: center;
}

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

footer .footer-links a {
    color: #888;
    margin-left: 20px;
}

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

/* === RESPONSIVE (MOBILE OPTIMIERT) === */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 1.8rem; }

    .grid-2 {
        grid-template-columns: 1fr; /* Spalten untereinander stapeln */
    }

    .navbar .container {
        flex-wrap: wrap;
    }

    .navbar nav {
        display: none; /* Menü standardmäßig ausblenden */
        flex-direction: column;
        width: 100%;
        background-color: var(--anthrazit-hell);
        padding-bottom: 20px;
        margin-top: 20px;
    }
    
    .navbar nav.open {
        display: flex; /* Menü einblenden, wenn JS Klasse hinzufügt */
    }

    .navbar nav ul {
        flex-direction: column;
        width: 100%;
    }

    .navbar nav li {
        margin: 10px 0;
        text-align: center;
    }

    .mobile-nav-toggle {
        display: block; /* Hamburger-Icon anzeigen */
        background: none;
        border: none;
        color: var(--weiss);
        font-size: 2rem;
        cursor: pointer;
    }

    .contact-options {
        flex-direction: column;
    }
    
    footer .container {
        flex-direction: column;
        gap: 15px;
    }
}
/* === NEU: ABSTAND FÜR FONT AWESOME ICONS IN H2/H3 === */

.about-section h2 .fa-solid,
.about-section h3 .fa-solid {
    margin-right: 15px;
    color: var(--tech-blau); /* Gibt den Icons die CI-Farbe */
    font-size: 0.9em; /* Macht das Icon minimal kleiner als der Text */
}

/* Speziell H2-Icon-Farbe auf Blau setzen */
.about-section h2 .fa-solid {
    color: var(--tech-blau);
}

/* === NEU: TUNING FÜR MEHR ABSTAND (Luft) === */

/* Vergrößert den Abstand der gesamten "Über Uns"-Sektion zum Hero-Block darüber */
.about-section {
    padding-top: 100px; /* War 80px */
}

/* Vergrößert den Abstand zwischen den Sektions-Blöcken (z.B. zwischen Highlights und Leistungen) */
.about-block {
    margin-bottom: 70px; /* War 50px */
}

/* Vergrößert den Abstand zwischen der "Leistungen"-Überschrift und den Boxen darunter */
.about-section .services-grid {
    margin-top: 50px; /* War 30px */
}

/* Macht den Intro-Text etwas größer und gibt ihm mehr Zeilenabstand */
.about-intro {
    font-size: 1.2rem; /* War 1.15rem */
    line-height: 1.8;  /* War 1.7 */
}

/* Gibt den H2-Überschriften (z.B. "Was uns auszeichnet") mehr Luft nach oben */
.about-section h2 {
    margin-top: 40px;
}

/* Stellt sicher, dass die Listenpunkte etwas mehr Platz haben */
.about-list li {
    padding-top: 18px;
    padding-bottom: 18px;
}
/* === NEU: STYLING FÜR EINFACHE TEXTSEITEN === */
.simple-page {
    padding: 80px 0;
    background-color: var(--anthrazit-hell);
    min-height: 60vh; /* Sorgt dafür, dass die Seite nicht zu kurz ist */
}

.simple-page h1 {
    color: var(--tech-blau);
    margin-bottom: 30px;
}

.simple-page p, .simple-page li {
    color: #ccc;
    margin-bottom: 15px;
}

.simple-page a {
    color: var(--akzent);
}

/* === SPEZIAL LEISTUNGEN STYLING === */
.special-services {
    padding: 100px 0;
    background-color: var(--anthrazit-hell);
}

.special-services h1 {
    color: var(--tech-blau);
    text-align: center;
    margin-bottom: 20px;
}

.special-services .intro-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    font-size: 1.2rem;
    color: #ccc;
}

.services-grid-detailed h2 {
    color: var(--akzent);
    border-bottom: 2px solid var(--tech-blau);
    padding-bottom: 10px;
    margin-top: 50px;
    font-size: 1.8rem;
}

.services-grid-detailed ul {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.services-grid-detailed li {
    background: var(--anthrazit);
    padding: 20px;
    border-radius: 5px;
    border-left: 4px solid var(--tech-blau);
    color: var(--weiss);
}

.services-grid-detailed li strong {
    color: var(--tech-blau);
    display: block;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.cta-box {
    margin-top: 80px;
    background: linear-gradient(135deg, var(--anthrazit), #1a1a1a);
    padding: 40px;
    text-align: center;
    border-radius: 10px;
    border: 1px solid var(--tech-blau);
}

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

/* === STYLING FÜR DAS KONTAKTFORMULAR === */

/* Container für das Formular */
#contact-form {
    max-width: 700px;
    margin: 40px auto;
    background-color: var(--anthrazit);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #333;
}

/* Labels (Beschriftungen) */
#contact-form label {
    display: block;
    margin-bottom: 8px;
    color: var(--weiss);
    font-weight: 600;
    font-size: 0.95rem;
}

/* Eingabefelder (Input, Textarea) */
#contact-form input[type="text"],
#contact-form input[type="email"],
#contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    background-color: var(--anthrazit-hell); /* Dunkler Hintergrund */
    border: 1px solid #444;
    border-radius: 5px;
    color: var(--weiss); /* Heller Text */
    font-family: 'Montserrat', sans-serif;
}

/* Fokus-Effekt (wenn man reinklickt) */
#contact-form input:focus,
#contact-form textarea:focus {
    outline: none;
    border-color: var(--tech-blau);
    box-shadow: 0 0 5px rgba(0, 94, 140, 0.5);
}

/* Radio-Buttons (Auswahl) */
#contact-form .radio {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
    color: #ccc;
    cursor: pointer;
}

#contact-form input[type="radio"] {
    margin-right: 10px;
    accent-color: var(--tech-blau); /* Färbt den Punkt blau (moderne Browser) */
}

/* Submit Button anpassen */
#contact-form .buttons {
    text-align: center;
    margin-top: 20px;
}

#contact-form button.cta-button {
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    width: 100%;
    padding: 15px;
}
/* === CONTACT PAGE REDESIGN === */
.contact-hero {
    padding: 60px 0 40px;
    text-align: center;
    background: linear-gradient(135deg, var(--anthrazit) 0%, #0a2a3a 50%, var(--anthrazit) 100%);
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(0, 94, 140, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.contact-hero h1 {
    color: var(--weiss);
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.contact-hero h1 i {
    color: var(--tech-blau);
    margin-right: 12px;
}

.contact-subtitle {
    font-size: 1.15rem;
    color: #bbb;
    max-width: 500px;
    margin: 0 auto;
}

.contact-page {
    padding: 60px 0 80px;
    background-color: var(--anthrazit-hell);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 40px;
    align-items: start;
}

/* Info-Panel (linke Seite) */
.contact-info-panel {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-card {
    background: var(--anthrazit);
    border-radius: 8px;
    padding: 20px;
    border-left: 3px solid var(--tech-blau);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.info-card:hover {
    transform: translateX(4px);
    border-left-color: var(--akzent);
}

.info-card.whatsapp-card {
    border-left-color: #25D366;
}

.info-card.whatsapp-card:hover {
    border-left-color: #5dff7d;
}

.info-icon {
    font-size: 1.4rem;
    color: var(--tech-blau);
    margin-bottom: 8px;
}

.info-card.whatsapp-card .info-icon {
    color: #25D366;
}

.info-card h3 {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
    color: var(--weiss);
}

.info-card a {
    color: var(--tech-blau);
    font-weight: 600;
    transition: color 0.2s;
}

.info-card a:hover {
    color: var(--akzent);
}

.info-card.whatsapp-card a {
    color: #25D366;
}

.info-card p {
    color: #aaa;
    font-size: 0.92rem;
    margin-bottom: 0;
}

/* Trust-Badges */
.info-trust {
    background: var(--anthrazit);
    border-radius: 8px;
    padding: 18px;
    margin-top: 4px;
}

.info-trust p {
    color: #aaa;
    font-size: 0.88rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-trust p:last-child {
    margin-bottom: 0;
}

.info-trust i {
    color: var(--tech-blau);
    font-size: 0.95rem;
    width: 20px;
    text-align: center;
}

/* Formular-Panel (rechte Seite) */
.contact-form-panel {
    background: var(--anthrazit);
    border-radius: 10px;
    padding: 35px;
    border: 1px solid #333;
}

.contact-form-panel h2 {
    color: var(--tech-blau);
    font-size: 1.6rem;
    margin-bottom: 25px;
    padding-bottom: 12px;
    border-bottom: 2px solid #333;
}

/* Form innerhalb des neuen Panels */
.contact-form-panel #contact-form {
    max-width: 100%;
    margin: 0;
    background: transparent;
    padding: 0;
    border: none;
}

/* Select-Dropdown Dark Theme */
.contact-form-panel select,
#contact-form select {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    background-color: var(--anthrazit-hell);
    border: 1px solid #444;
    border-radius: 5px;
    color: var(--weiss);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23005E8C' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    cursor: pointer;
}

.contact-form-panel select:focus,
#contact-form select:focus {
    outline: none;
    border-color: var(--tech-blau);
    box-shadow: 0 0 5px rgba(0, 94, 140, 0.5);
}

.contact-form-panel select option {
    background-color: var(--anthrazit);
    color: var(--weiss);
}

/* === HERO SECTION VERBESSERUNGEN === */
.hero {
    background: linear-gradient(135deg, var(--anthrazit) 0%, #0a2a3a 50%, var(--anthrazit) 100%);
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 30%, rgba(0, 94, 140, 0.12) 0%, transparent 50%);
    pointer-events: none;
}

/* === SERVICE BOX HOVER-EFFEKT === */
.service-box {
    transition: transform 0.25s ease, border-top-color 0.25s ease;
}

.service-box:hover {
    transform: translateY(-4px);
    border-top-color: var(--akzent);
}

/* === ABOUT LISTE STYLING === */
.about-list {
    list-style: none;
    padding: 0;
}

.about-list li {
    position: relative;
    padding-left: 25px;
    color: #ccc;
}

.about-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--tech-blau);
    position: absolute;
    left: 0;
    top: 2px;
}

/* === SMALL-NOTE DISCLAIMER === */
.small-note {
    font-size: 0.85rem;
    color: #888;
    font-style: italic;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #333;
}

/* === SPEZIAL-LEISTUNGEN VERBESSERUNGEN === */
.services-grid-detailed li {
    transition: transform 0.2s ease, border-left-color 0.2s ease;
}

.services-grid-detailed li:hover {
    transform: translateY(-3px);
    border-left-color: var(--akzent);
}

/* === RESPONSIVE KONTAKTSEITE === */
@media (max-width: 900px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }
    
    .contact-info-panel {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    
    .info-trust {
        grid-column: span 2;
    }
}

@media (max-width: 600px) {
    .contact-hero h1 {
        font-size: 2rem;
    }
    
    .contact-info-panel {
        grid-template-columns: 1fr;
    }
    
    .info-trust {
        grid-column: span 1;
    }
    
    .contact-form-panel {
        padding: 20px;
    }
}
