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

/* Honeypot-Felder: Für Menschen komplett unsichtbar, Bots sehen sie */
.hp-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

:root {
    --primary: #1e3a8a;
    --primary-dark: #1e40af;
    --secondary: #f59e0b;
    --text: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --white: #ffffff;
    --border: #e5e7eb;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
}

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

/* Navigation */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-brand .logo {
    height: 80px;
    width: auto;
}

.nav-brand h2 {
    color: var(--primary);
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--primary);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

/* Buttons */
.btn-primary {
    background: var(--primary);
    color: white !important;
    padding: 0.7rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: white !important;
}

.btn-hero {
    display: inline-block;
    background: var(--secondary);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 2rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.3);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.hero-badge {
    position: absolute;
    top: 50%;
    right: 175px;
    transform: translateY(-50%) rotate(25deg);
    width: 320px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s;
    z-index: 10;
}

.hero-badge:hover {
    transform: translateY(-50%) rotate(20deg) scale(1.05);
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 5;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    color: rgba(255,255,255,0.9);
}

.hero-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    color: rgba(255,255,255,0.95);
}

/* Sections */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
    text-align: center;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Services */
.services {
    padding: 5rem 0;
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

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

.service-card ul {
    list-style: none;
    color: var(--text-light);
}

.service-card li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.service-card li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--secondary);
}

/* Additional Services */
.additional-services {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    margin-top: 2rem;
}

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

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.checkmark {
    color: var(--secondary);
    font-size: 1.5rem;
    font-weight: bold;
}

/* Referenzen / Gallery */
.referenzen {
    padding: 5rem 0;
    background: var(--white);
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.gallery-caption {
    background: rgba(30, 58, 138, 0.9);
    color: white;
    padding: 1rem;
    text-align: center;
    font-weight: 500;
}

.gallery-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--secondary);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.9);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 8px;
    object-fit: contain;
}

.lightbox-info {
    background: rgba(0,0,0,0.6);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    margin-top: 1rem;
    text-align: center;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    background: rgba(255,255,255,0.1);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    border: none;
    line-height: 1;
}

.lightbox-close:hover {
    background: rgba(255,255,255,0.2);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    color: white;
    border: none;
    font-size: 4rem;
    width: 60px;
    height: 80px;
    cursor: pointer;
    transition: background 0.3s;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255,255,255,0.3);
}

/* Neubau & Sanierung */
.neubau-sanierung {
    padding: 5rem 0;
    background: var(--white);
}

.neubau-sanierung h2 {
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.neubau-sanierung p {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.einsatzbereiche {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
}

.bereich {
    background: var(--primary);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
}

.highlight-text {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text);
    margin-top: 2rem;
}

/* Badsanierung Highlight */
.badsanierung-highlight {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    color: white;
    padding: 4rem 0;
}

.bad-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.bad-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* About */
.about {
    padding: 5rem 0;
    background: var(--bg-light);
}

.about-intro {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.about-intro h3 {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.about-intro p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.2rem;
    color: var(--text);
}

.about-intro p:last-child {
    margin-bottom: 0;
}

.about-text {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin: 2rem 0;
}

.strengths {
    margin: 3rem 0;
}

.strengths h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.strength-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.strength-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.why-us {
    margin-top: 3rem;
}

.why-us h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.why-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--white);
    border-radius: 8px;
}

.check {
    color: var(--secondary);
    font-size: 1.5rem;
    font-weight: bold;
}

/* Philosophy */
.philosophy {
    background: var(--primary);
    color: white;
    padding: 4rem 0;
}

.philosophy h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.quote {
    font-size: 1.3rem;
    line-height: 1.8;
    text-align: center;
    font-style: italic;
    max-width: 900px;
    margin: 0 auto;
}

/* Karriere */
.karriere {
    padding: 5rem 0;
    background: var(--bg-light);
}

.intro-text {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto 3rem;
}

.job-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.job-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

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

.job-section {
    margin-bottom: 1.5rem;
}

.job-section h4 {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}

.job-section ul {
    list-style: none;
    color: var(--text-light);
}

.job-section li {
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.job-section li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
}

.btn-apply {
    display: inline-block;
    background: var(--secondary);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 1rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-apply:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.3);
}

/* Contact */
.contact {
    padding: 5rem 0;
    background: var(--white);
}

.contact-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}

.contact-left {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

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

.company-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.company-image img {
    width: 100%;
    height: auto;
    display: block;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item .icon {
    font-size: 1.5rem;
}

.contact-item a {
    color: var(--primary);
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 2px solid var(--border);
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.btn-submit {
    width: 100%;
    background: var(--primary);
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-submit:hover {
    background: var(--primary-dark);
}

/* Alert Messages */
.alert {
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.6;
}

.alert strong {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.alert-success {
    background: #d4edda;
    border: 2px solid #28a745;
    color: #155724;
}

.alert-error {
    background: #f8d7da;
    border: 2px solid #dc3545;
    color: #721c24;
}

/* Partner Section */
.partners {
    padding: 4rem 0;
    background: var(--white);
    border-top: 1px solid var(--border);
}

.partner-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 3rem;
    align-items: center;
    justify-items: center;
}

.partner-logo {
    width: 100%;
    max-width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.partner-logo img {
    width: 100%;
    height: auto;
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.6);
    transition: filter 0.3s, transform 0.3s;
}

.partner-logo img:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.15);
}

@media (max-width: 768px) {
    .partner-logos {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-with-logo {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.footer-logo {
    height: 100px;
    width: auto;
    flex-shrink: 0;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--secondary);
}

.footer-section p {
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
}

.footer-section:not(.footer-with-logo) {
    text-align: center;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255,255,255,0.6);
}

.footer-bottom a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
}

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

/* Mobile */
@media (max-width: 768px) {
    .hero-badge {
        width: 50px;
        right: 15px;
    }
    
    .mobile-toggle {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        display: flex;
    }

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

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .services-grid,
    .job-cards {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-left {
        gap: 1.5rem;
    }

    .strength-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }

    .einsatzbereiche {
        flex-direction: column;
        align-items: stretch;
    }
}

/* Legal Pages */
.legal-page {
    padding: 5rem 0;
    background: var(--bg-light);
}

.legal-page h1 {
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.legal-page h2 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-page p {
    line-height: 1.8;
    margin-bottom: 1rem;
    color: var(--text);
}

.legal-page a {
    color: var(--primary);
    text-decoration: none;
}

.legal-page a:hover {
    text-decoration: underline;
}

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

.legal-page h4 {
    color: var(--text);
    font-size: 1.1rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.legal-page ul {
    margin-left: 2rem;
    line-height: 1.8;
}

.legal-page li {
    margin-bottom: 0.5rem;
}

.legal-note {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Section Padding */
section {
    scroll-margin-top: 80px;
}
