/* ========================================
   RESET & BASE
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

h1, h2, h3 {
    line-height: 1.2;
    font-weight: 700;
}

h1 {
    font-size: 2.5rem;
    color: #0066b3; /* Blau aus Logo */
    margin-bottom: 1rem;
}

h2 {
    font-size: 2rem;
    color: #0066b3;
    margin-bottom: 1rem;
    text-align: center;
}

h3 {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: #0066b3;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* ========================================
   LAYOUT
   ======================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

/* ========================================
   HEADER (sticky)
   ======================================== */

.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 120px;
    width: auto;
}

.header-nav {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
    text-decoration: none;
}

.btn:hover {
    text-decoration: none;
    transform: translateY(-2px);
}

.btn:focus {
    outline: 3px solid rgba(0, 102, 179, 0.3);
    outline-offset: 2px;
}

.btn-primary {
    background-color: #f39200; /* Orange aus Logo */
    color: #fff;
}

.btn-primary:hover {
    background-color: #d67e00;
}

.btn-secondary {
    background-color: #fff;
    color: #0066b3;
    border: 2px solid #0066b3;
}

.btn-secondary:hover {
    background-color: #0066b3;
    color: #fff;
}

.btn-whatsapp {
    background-color: #25d366;
    color: #fff;
}

.btn-whatsapp:hover {
    background-color: #1fb855;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* ========================================
   HERO
   ======================================== */

.hero {
    background: linear-gradient(135deg, #f5f5f5 0%, #e8f4f8 100%);
    padding: 100px 0;
    text-align: center;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 2rem;
}

.hero-benefits {
    list-style: none;
    margin: 2rem 0;
    font-size: 1.1rem;
    color: #333;
}

.hero-benefits li {
    margin-bottom: 0.8rem;
}

/* ========================================
   SERVICES
   ======================================== */

.services {
    background-color: #fff;
}

.section-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.service-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Farben aus Logo */
.service-orange {
    border-top: 4px solid #f39200;
}

.service-red {
    border-top: 4px solid #e52e2e;
}

.service-green {
    border-top: 4px solid #39b54a;
}

.service-blue {
    border-top: 4px solid #0066b3;
}

/* ========================================
   PROCESS
   ======================================== */

.process {
    background-color: #f9f9f9;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 3rem;
}

.process-step {
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: #0066b3;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

/* ========================================
   TRUST
   ======================================== */

.trust {
    background-color: #fff;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.trust-item {
    text-align: center;
}

.trust-icon {
    width: 60px;
    height: 60px;
    background-color: #39b54a;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

/* Referenzen */
.references {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid #e8e8e8;
    text-align: center;
}

.references h3 {
    font-size: 1.6rem;
    margin-bottom: 2rem;
    color: #0066b3;
}

.references-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 2rem;
}

.reference-item {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #f39200;
}

.reference-item strong {
    display: block;
    color: #0066b3;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.reference-item p {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
}

/* ========================================
   CONTACT
   ======================================== */

.contact {
    background-color: #f9f9f9;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 3rem;
}

.contact-info h3 {
    color: #0066b3;
    margin-bottom: 1rem;
}

.contact-methods {
    margin: 2rem 0;
}

.contact-method {
    margin-bottom: 1.5rem;
}

.contact-method strong {
    color: #0066b3;
}

.contact-method a {
    font-size: 1.1rem;
}

.service-area {
    margin-top: 2rem;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    border-left: 4px solid #0066b3;
}

/* Formular */
.contact-form-wrapper h3 {
    color: #0066b3;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0066b3;
}

.form-notice {
    margin-top: 1rem;
    color: #666;
    font-size: 0.9rem;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background-color: #333;
    color: #fff;
    padding: 30px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-nav {
    display: flex;
    gap: 20px;
}

.footer-nav a {
    color: #fff;
}

.footer-nav a:hover {
    color: #f39200;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .header-nav {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .btn {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
    
    .logo-img {
        height: 70px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    section {
        padding: 50px 0;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.6rem;
    }
    
    .header-nav {
        width: 100%;
        justify-content: center;
    }
    
    .btn {
        font-size: 0.85rem;
        padding: 8px 14px;
    }
    
    .services-grid,
    .process-steps,
    .trust-grid {
        grid-template-columns: 1fr;
    }
}
/* ========================================
   LEGAL PAGES (Impressum, Datenschutz)
   ======================================== */

.legal-page {
    padding: 100px 0 80px;
    background-color: #fff;
}

.legal-page h1 {
    margin-bottom: 2rem;
}

.legal-page h2 {
    font-size: 1.6rem;
    color: #0066b3;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    text-align: left;
}

.legal-page h3 {
    font-size: 1.3rem;
    color: #333;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}

.legal-page h4 {
    font-size: 1.1rem;
    color: #666;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.legal-page p,
.legal-page ul {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.legal-page ul {
    padding-left: 2rem;
}

.legal-page li {
    margin-bottom: 0.5rem;
}

.back-link {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #e8e8e8;
}

.back-link a {
    font-size: 1.1rem;
    font-weight: 600;
}

/* ========================================
   FORMULAR-STATUSMELDUNG
   ======================================== */

.form-message {
    padding: 15px 20px;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.form-message-success {
    background-color: #d4edda;
    color: #155724;
    border: 2px solid #39b54a;
}

.form-message-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 2px solid #e52e2e;
}

/* ========================================
   SPAM-SCHUTZ: Honeypot-Feld verstecken
   ======================================== */

.honeypot-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
    opacity: 0;
    pointer-events: none;
}

/* ========================================
   NEWS-SEITE
   ======================================== */

.news-list {
    margin-top: 2rem;
}

.news-item {
    background-color: #f9f9f9;
    border-left: 4px solid #f39200;
    border-radius: 8px;
    padding: 25px 30px;
    margin-bottom: 2rem;
}

.news-date {
    font-size: 0.9rem;
    color: #666;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-item h2 {
    text-align: left;
    margin-top: 0;
    margin-bottom: 1rem;
}

/* ========================================
   HINWEIS-BANNER
   ======================================== */

.notice-banner {
    background-color: #fff3cd;
    border-bottom: 2px solid #f39200;
    padding: 12px 0;
    text-align: center;
}

.notice-banner p {
    margin: 0;
    font-size: 0.95rem;
    color: #664d03;
}

.notice-banner a {
    color: #664d03;
    font-weight: 700;
    text-decoration: underline;
}