:root {
      --bg-color: #ffffff;
      --light-bg-color: #f8f9fa;
      --text-color: #5a6169;
      --heading-color: #212529;
      --primary-color: #007bff;
      --border-color: #dee2e6;
      --shadow-color: rgba(0, 0, 0, 0.05);
    }
    
    * { margin: 0; padding: 0; box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    
    body {
      font-family: 'Manrope', sans-serif;
      background-color: var(--bg-color);
      color: var(--text-color);
      line-height: 1.7;
    }
    
    .container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
    

    #loader-wrapper {
        position: fixed;
        top: 0; left: 0;
        width: 100%; height: 100%;
        background-color: var(--bg-color);
        z-index: 9999;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: opacity 0.5s ease;
    }
    #loader-wrapper.hidden {
        opacity: 0;
        pointer-events: none;
    }
    .loader-logo {
        font-size: 2rem;
        font-weight: 800;
        color: var(--heading-color);
        margin-bottom: 20px;
    }
    #progress-bar-container {
        width: 250px;
        height: 6px;
        background-color: var(--border-color);
        border-radius: 3px;
        overflow: hidden;
    }
    #progress-bar {
        width: 0%;
        height: 100%;
        background-color: var(--primary-color);
        border-radius: 3px;
        transition: width 0.3s ease;
    }

    /* 🍪 Cookie- / Privacy-Hinweis */
    #privacy-notice {
      position: fixed;
      bottom: 0; left: 0;
      width: 100%;
      background-color: var(--heading-color);
      color: #e2e8f0;
      padding: 20px;
      z-index: 9998;
      display: none; /* Wird per JS auf 'flex' gesetzt */
      justify-content: center;
      align-items: center;
      gap: 25px;
      box-shadow: 0 -5px 15px rgba(0,0,0,0.2);
      text-align: center;
      flex-wrap: wrap;
    }
    #privacy-notice p {
      margin: 0;
     flex-grow: 1;
    }
    #privacy-notice a {
      color: white;
      text-decoration: underline;
      font-weight: 700;
    }
    #privacy-accept-btn {
      padding: 10px 25px;
      flex-shrink: 0;
    }

    /* 🔝 NAVIGATION */
    .main-nav {
      position: sticky; top: 0;
      background: rgba(255, 255, 255, 0.85);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid var(--border-color);
      padding: 20px 0;
      z-index: 1000;
    }
    .main-nav .container { 
      display: flex; 
      justify-content: space-between; 
      align-items: center; 
    }
    .nav-logo { 
      font-weight: 800; 
      font-size: 1.5rem; 
      color: var(--heading-color); 
      text-decoration: none; 
    }

    /* --- Stil für normale Navigations-Links --- */
    .nav-links a:not(.btn) {
      margin-left: 30px;
      text-decoration: none;
      color: var(--text-color);
      font-weight: 700;
      font-size: 0.9rem;
      position: relative;
      padding-bottom: 5px; /* Gilt jetzt nur für Text-Links */
      transition: color 0.3s ease;
    }

    /* Hover-Effekt nur für Links, die KEIN Button sind */
    .nav-links a:not(.btn):hover {
      color: var(--primary-color);
    }

    /* Unterstrich-Animation für Links, die KEIN Button sind */
    .nav-links a:not(.btn)::after {
      content: '';
      position: absolute;
      width: 0;
      height: 2px;
      bottom: 0;
      left: 0;
      background-color: var(--primary-color);
      transition: width 0.3s ease;
    }

    .nav-links a:not(.btn):hover::after {
      width: 100%;
    }

    .social-media-links {
      display: flex;
      align-items: center;
      margin-left: 40px; /* Abstand zu den Navigationslinks */
    }

    .social-media-links a {
      color: var(--primary-color); /* Lila Farbe aus Ihren Variablen */
      font-size: 2.6rem; /* Etwas größere Icons */
      margin-left: 20px; /* Abstand zwischen den Icons */
      transition: transform 0.2s;
    }

    .social-media-links a:hover {
      transform: translateY(-2px); /* Gleicher Hover-Effekt wie bei den Buttons */
    }

    /* Der Button-Link in der Navigation braucht nur den Abstand */
    .nav-links a.btn {
      margin-left: 30px;
    }
    /* --- Allgemeiner Button-Stil (bleibt getrennt) --- */

    .btn {
      display: inline-block;
      text-decoration: none;
      background: var(--primary-color);
      color: white !important; /* !important beibehalten für Konsistenz */
      padding: 12px 28px;
      border-radius: 8px;
      font-weight: 700;
      transition: transform 0.2s, box-shadow 0.2s;
    }

    .btn:hover {
      transform: translateY(-2px);
    }


    /* 🌟 HERO SEKTION */
    .hero {
      padding: 100px 0;
    /* Die Grid-Eigenschaften werden von hier entfernt. */
    }

    .hero .container { /* <-- NEUER SELEKTOR */
      display: grid;
      grid-template-columns: 1fr 1fr;
      align-items: center;
      gap: 60px; /* Optional auf 60px wie auf der Hauptseite */
    }

    .hero-content h1 {
      font-size: 3.5rem; color: var(--heading-color);
      font-weight: 800; line-height: 1.2; margin-bottom: 20px;
    }
/* ... der Rest bleibt gleich ... */
    
    .hero-content .highlight { color: var(--primary-color); }
    .hero-content p { font-size: 1.2rem; margin-bottom: 30px; }
    .hero-image img { width: 100%; }

    /* 📖 SEKTIONEN ALLGEMEIN */
    section { padding: 100px 0; }
    

    .section-title {
      text-align: center;
      margin-bottom: 60px;
    }

    .section-title span {
      display: inline-block;
      background: #f3e6ff; /* Heller Lila-Ton für den Hintergrund */
      color: var(--primary-color);
      padding: 5px 15px;
      border-radius: 20px;
      font-weight: 700;
      font-size: 0.9rem;
      text-transform: uppercase; /* Wichtig für den Look */
    }

    .section-title h2 {
      font-size: 2.8rem;
      color: var(--heading-color);
      margin-top: 15px;
    }

    /* ÜBER UNS & KUNDENSTIMMEN */
    .about-section { background-color: var(--light-bg-color); border-top: 1px solid var(--border-color); }
    .about-grid { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; max-width: 900px; margin: 0 auto; }
    .about-grid img { width: 200px; height: 200px; border-radius: 50%; object-fit: cover; }
    .about-grid h3 { color: var(--heading-color); margin-bottom: 10px; }
    .about-grid strong { color: var(--heading-color); }
    .testimonial { max-width: 700px; margin: 80px auto 0; text-align: center; }
    .testimonial blockquote { font-size: 1.4rem; color: var(--heading-color); font-weight: 500; margin-bottom: 20px; }

    /* ✨ SHOWCASE PROJEKTE */
    .showcase-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 30px;
    }
    .showcase-card {
      text-decoration: none; border-radius: 12px;
      overflow: hidden; position: relative;
      border: 1px solid var(--border-color);
      box-shadow: 0 5px 15px var(--shadow-color);
      transition: transform 0.3s, box-shadow 0.3s;
    }
    .showcase-card:hover { transform: translateY(-5px); box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08); }
    .showcase-card img { display: block; width: 100%; height: auto; }
    .card-content { padding: 25px; background: white; }
    .card-content h3 { color: var(--heading-color); margin: 0; }
    .card-content p { color: var(--text-color); margin-top: 5px; }

    /* 📬 KONTAKT */
    .contact-section { background-color: var(--light-bg-color); border-top: 1px solid var(--border-color); }
    .contact-form-container { max-width: 700px; margin: 0 auto; background: white; padding: 40px; border: 1px solid var(--border-color); border-radius: 12px; }
    .contact-form label { display: block; margin-bottom: 5px; font-weight: 700; color: var(--heading-color); }
    .contact-form input, .contact-form textarea {
        width: 100%; padding: 12px; margin-bottom: 20px;
        border: 1px solid var(--border-color); border-radius: 8px; font-family: 'Manrope', sans-serif; font-size: 1rem;
    }
    .contact-form input[type="submit"] { background: var(--primary-color); color: white; font-weight: 700; font-size: 1rem; border: none; cursor: pointer; }
    
    /* 📄 FOOTER */
    footer { background: var(--heading-color); color: #a0aec0; padding: 40px 20px; text-align: center; }
    footer a { color: white; }
    .footer-impressum { font-size: 0.8rem; margin-top: 20px; opacity: 0.7; }

    /* 💨 ANIMATIONEN */
    .animate-on-scroll { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
    .animate-on-scroll.is-visible { opacity: 1; transform: translateY(0); }
    
    /* 📱 RESPONSIVE */
@media (max-width: 992px) { /* Tablet-Ansicht */
    .showcase-grid { grid-template-columns: 1fr 1fr; }
    
    .hero .container { 
      grid-template-columns: 1fr; /* Spalten auf eine reduzieren */
      text-align: center; 
    }
    .hero-content { text-align: center; }

    /* --- Logo auf mobil sichtbar machen & positionieren --- */
    .hero-image { 
        order: -1; /* Schiebt das Logo vor den Text */
        margin-bottom: 40px; /* Schafft Abstand zum Text darunter */
    }
    .hero-image img {
        max-width: 300px; /* Optimale Größe für Tablets */
        margin: 0 auto; /* Zentriert das Logo */
        transform: none; /* Setzt Desktop-Verschiebung zurück */
    }
    /* --------------------------------------------------- */
}

@media (max-width: 768px) { /* Smartphone-Ansicht */
    .hero-content h1 { font-size: 2.5rem; }
    .section-title h2 { font-size: 2.2rem; }
    .social-media-links a {
      font-size: 1.3rem; /* Zurück zur normalen Größe auf Mobilgeräten */}
    .about-grid { grid-template-columns: 1fr; text-align: center; }
    .showcase-grid { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .hero-image img {
        max-width: 200px; /* Kleinere Logo-Größe für Smartphones */
    }
}
