:root {
            --indent-right: 60px; 
            --gap: 24px;
            --font: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
            --allbreite: 1400px; /* Maximale Breite des Hauptcontainers */
            --allhohe: 500px; /* Höhe des Hauptsliders */
            --allbreit-redui: 600px; /* Reduzierte Breite für mittlere Bildschirme */
            --banerbreite: 200px; /* Höhe der Banner auf Unterseiten */
            --hauptfarbe: #063c75; /* Dunkelblau */
            --akzentfarbe: #40D3DC; /* Türkis/Cyan */
            --hintergrund-hell: #76a9df; /* Helles Blau für Verläufe */
            --text-hell: white;
            --text-dunkel: #ffffff; /* Dunkle Textfarbe für helle Bereiche */
            --primary:#ffffff;
            --card:rgba(255,255,255,0.95);
            --radius:12px;
              }

        * {
            box-sizing: border-box;
        }
        
        body {
            font-family: var(--font);
            background-color: #063c75; /* Hintergrundfarbe für Seitenränder */
            margin: 0;
            padding: 0;
            line-height: 1.6;
            padding-top: 110px; /* Platzhalter für fixierten Header */
            display: flex;
            flex-direction: column;
            min-height: 100vh;
        }

         /* ==================================================== */
        /* 2. HEADER & NAVIGATION (Fixiert) */
        /* ==================================================== */
        header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 110px;
            background-color: var(--hauptfarbe);
            color: var(--text-hell);
            box-shadow: 0 2px 5px rgba(0,0,0,0.2);
            z-index: 10;
            display: flex; 
            justify-content: center;
        }
          /* Menü rechts ausrichten */
  .menuoben 
    {
      top: 70px;
      width: var(--allbreite);
      gap: var(--gap); /* Abstande zwischen menu */
      list-style: none;
      margin: 0 0 8px 0; 
      padding: 0;
      justify-content: flex-end; 
      display: flex;
      z-index: 10px;
    }

         nav {
      position: absolute;
      top: 100px;
      /* optional: maximale Breite */
      padding: 12px 0;
      padding-right: var(--indent-right); /* hier steuert man die "Eingerücktheit" */
  }

 nav a {
    color: #fff;
    margin: 5px; /* espance entre deux menu */
    text-decoration: none;
    font-weight: bold;
  }
  nav a:hover {
        text-decoration: underline;
        color: #40D3DC
    }

        main {
            padding: 0;
            background: linear-gradient(to bottom, var(--hauptfarbe), var(--hintergrund-hell));
            flex-grow: 1; 
        }

        /* Allgemeine Container für Seiteninhalte */
        .content-page-container {
            max-width: var(--allbreite);
            margin: 0px auto 0 auto;
            padding: 0; /* Slider übernimmt das interne Padding */
            /*border-radius: 12px;*/
            border-top-left-radius: 10px;
            border-top-right-radius: 10px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
            color: var(--text-dunkel);
            background: linear-gradient(to bottom, #10559e, #063c75);
        }
        .content-page-container h1, .content-page-container h2 {
            color: var(--hauptfarbe);
        }
        .content-page-container p {
            color: var(--text-dunkel);
            margin-bottom: 1em;
        }
        .content-page-container ul {
            margin-left: 20px;
        }
        .content-page-container li {
            margin-bottom: 0.5em;
        }

       

        /* ==================================================== */
        /* 3. SEITEN-BANNER (Referenzen) */
        /* ==================================================== */
        .banerreference 
    {
      height: var(--banerbreite);
      background: url("img/maps.png") no-repeat center/cover;
      margin-top: 0px; /* Verschiebung nach unten */
      z-index: -1px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .banerreference h1 
    {
      color: var(--text-hell);
      font-size: 48px;
      padding: 10px 30px;
      border-radius: 8px;
    }
        /* ==================================================== */
        /* 4. REFERENZ-SLIDER (Basierend auf Benutzer-CSS und Projekt-Stil) */
        /* ==================================================== */
        .slider-container {
            /* Ersetzt die feste Breite durch die Variable für Konsistenz */
            max-width: var(--allbreite); 
            overflow: hidden;
            border-radius: 12px;
            /* Box-Shadow mit Akzentfarbe (wie in style.css) */
            box-shadow: 0 4px 10px rgba(75, 73, 73, 0.1);
            position: relative;

            margin: 0 auto;
        }
        .slider {
            display: flex;
            /* width wird dynamisch berechnet, da 4 Slides vorhanden sind. */
            transition: transform 0.8s ease-in-out; 
        }
        .slide {
            min-width: 100%; /* Wichtig für Flexbox */
            padding: 40px;
            box-sizing: border-box;
            display: flex; /* Für Flex-Layout innerhalb der Slide */
            flex-direction: column;
            position: relative;
        }

        /* Textstyling in den Slides */
        .slide h1, .slide h2 { color: #ffffff; margin-top: 0; }
        .StronRef { color: #ffffff; margin-top: 15px; display: block; font-size: 22px;}
        .UlREf { 
            color: var(--text-dunkel); 
            margin-bottom: 20px;
            padding-left: 20px;
        }
        .UlREf li {
            color: var(--text-dunkel);
        }
        .slide a { color: var(--akzentfarbe); text-decoration: none; font-weight: bold; }
        .slide a:hover { text-decoration: underline; }

        /* Bild-Container und Text-Container für Desktop-Layout */
        .text-content {
            max-width: 100%; 
            position: relative;
            z-index: 2;
        }
  
        .project-imageRef {
            position: absolute; 
            top: 30%; 
            right: 0; 
            width: 55%; 
            object-fit: cover;
            z-index: 1; 
            border-radius: 8px;

        }

        /* Navigations-Buttons */
        .nav-buttons {
            position: absolute;
            top: 50%;
            width: 100%;
            display: flex;
            justify-content: space-between;
            transform: translateY(-50%);
            z-index: 10;
            padding: 0 10px;
        }
        .nav-buttons button {
            background-color: rgba(0, 0, 0, 0.04);
            border: none;
            color: #07e7f3;
            font-size: 24px;
            cursor: pointer;
            padding: 10px 20px;
            border-radius: 6px;
            transition: background 0.3s, transform 0.3s;
        }
        .nav-buttons button:hover {
            background-color: var(--hauptfarbe);
            transform: scale(1.1);
        }
        .dots {
            position: absolute;
            bottom: 10px;
            left: 0;
            right: 0;
            display: flex;
            justify-content: center;
            gap: 10px;
            z-index: 10;
        }
        .dot {
            width: 15px;
            height: 15px;
            background-color: rgba(0, 0, 0, 0.2);
            border-radius: 50%;
            cursor: pointer;
            transition: background-color 0.3s;
            display: inline-block;
        }
        .dot.active {
            background-color: var(--akzentfarbe);
        }
        .dot:hover {
            background-color: #063c75;
        }

/* extrass */

.logbogesamt
  {
    width:100%;
    Max-width: var(--allbreite);
    height: 110px; 
    display: flex;
    align-items: center; 
    justify-content: space-between; 
    padding: 0 20px;
  }
.logo { height: 100px; width: 400px; z-index: 1; margin-top: 0px; }
.logo-teyt { margin-top: -20px; margin-left: -20px; height: 70px; width: 4000px; }


    .containervisitenkarte
  {
    width: 100%;
    width: var(--allbreite);
    margin: 0 auto;   /* Zentriert horizontal */
    display: flex;
    padding: 0;/* distance de test entre kanten */
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    color: white;
    font-size: 20px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 20px; 
  }

  .divider 
  { 
    display: flex;
    width: 2px; 
    height: 260px; 

    right: 0;
  }

.menuunter {
      width: 40%;
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding-left: 40px;
      font-size: 22px;
      line-height: 2;
    }

    .menuunter a
    {
      text-decoration: none;
      text-align: left;
      color: white
    }

    .menuunter a:hover {
        text-decoration: underline;
        color: #40D3DC
    }
    .socialunter
    {
      display: flex;
      margin-top: 5%;
      width: 5%;
      flex-direction: column;
    }

    .iconfuss
    {
      width: 40px;
    }

    .iconfuss:hover {
        transform: scale(2);   /* leicht vergrößern */
    }

    footer {
      flex-direction: column;
      position: relative;
      width: 100%;
      display: flex;
      justify-content: center;
      background: #063c75;
      text-align: center;
      border-top-left-radius: 10px;
      border-top-right-radius: 10px;
      /*margin-top: 50px; /* Abstand zum Slider */
      padding: 20px 0;
    }
    .form-namefirma
    {
      display: flex;
      column-gap: 10px;
    }
    form  
    {
      width: 510px;
      height: 580px;
      margin-left: 20px; /* distance entre les deux case */
      padding:0 10px; /* espace entre cadre interieur et bordur interieur*/
      border: 1px solid #ddd;
      border-radius:20px;
      background: #7ba0c7;
      color: white;
      margin-top: 0px;
    }

    .colortitre-formular{
      text-decoration-color: #0b72ff;
    }
    label {
      display: block;
      margin-top: 10px;
      font-size: 14px;
    }

    input[type="text"],
    input[type="email"],
    textarea {
      width: 100%;
      padding: 10px;
      margin-top: 5px;
      border: 1px solid #ccc;
      border-radius: 4px;
      font-size: 14px;
    }

    textarea {
      resize: vertical;
      min-height: 100px;
    }

    .checkbox-container {
      display: flex;
      align-items: flex-start;
      margin-top: 15px;
      font-size: 13px;
    }

    .checkbox-container input {
      margin-right: 10px;
      margin-top: 3px;
    }

    .recaptcha {
      margin-top: 15px;
      display: flex;
    }

    button {
      margin-top: 15px;
      background-color: #40D3DC;
      color: #fff;
      border: none;
      padding: 12px 18px;
      border-radius: 5px;
      font-size: 15px;
      cursor: pointer;
    }
    button:hover {
      background-color: #07e7f3;
    }
    .movedd{
      position: absolute;
      margin-top: -10px;
      margin-left: 26px;
      width: 380px;
      height: 60px;
    }
  
    .color-A{
      color: #07e7f3;
      text-decoration: none;
    }
    .color-A:hover{
      color: white;
      text-decoration: underline;
    }
    ul {
      padding-left: 20px;
    }
    .unterschrieben{
      text-decoration: underline;
    }
    .titree{
      position: absolute;
      margin-top: 0;
      left: 0;
      right: 0;
      display: flex;
      justify-content: center;
    }
    /* Social Icons Container */
    .social-row {
      margin-top: 15px;
      display: flex;
      justify-content: flex-end;
      align-items: center;
      gap: 15px;
      width: var(--allbreite);
      margin: 0 auto;
      max-width: 100%;
      z-index: 999;
      position: absolute; /* wichtig für absolut positioniertes Panel */
    }
    .icon-btn img {
      width: 28px;
      height: 28px;
      cursor: pointer;
      display: block;
      transition: transform 0.2s ease, opacity 0.2s ease;
    }
    .icon-btn:hover img {
  transform: scale(2);   /* leicht vergrößern */
  opacity: 0.8;            /* etwas durchsichtig */
}
.lang-panel {
      position: absolute;
      top: 40px; /* direkt unter Globus */
      right: 0;
      width: 200px;
      background: #7ba0c7;
      border-radius: 10px;
      box-shadow: 0 8px 24px rgba(0,0,0,0.15);
      display: flex;
      flex-direction: column;
      padding: 10px;
      z-index: -100;
      opacity: 0;
      transform: translateY(-10px);
      pointer-events: none;
      transition: opacity 0.3s ease, transform 0.3s ease;

    }
    .lang-panel.open {
      opacity: 1;
      transform: translateY(0);
      pointer-events: auto;
    }

    .lang-panel button {
      background: none;
      border: none;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 18px;
    }

    .lang-panel button:hover 
    {
      color: #063c75; /* helle Akzentfarbe beim Hover */
      transform: translateX(4px); /* sanftes Verschieben nach rechts */
    }

    .lang-panel img {
      width: 24px;
      height: 16px;
      border: 1px solid #ccc;
    }
    
    .infoleft 
    { 
      width: 35%; 
      min-width: 300px; 
      display: flex; 
      flex-direction: column; 
      text-align: left; 
      padding: 0 30px; 
      font-size: 16px; 
    }

    
    *{box-sizing:border-box}
    body{font-family:Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial; margin:0; background:var(--bg); color:var(--text);}
    .popup-overlay{position:fixed;top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;z-index:999;}
    .popup{background:var(--card);border-radius:var(--radius);padding:28px;max-width:480px;box-shadow:0 8px 30px rgba(0,0,0,0.3);text-align:center;position:relative;}
    .popup h2{font-size:28px;margin-top:0}
    .popup .offer-badge{display:inline-block;padding:8px 14px;border-radius:999px;background:linear-gradient(90deg,var(--primary),#2ca0ff);color:#fff;font-weight:700;margin-bottom:16px}
    .popup p{color:var(--muted);margin:12px 0}
    .btn{background:var(--primary);color:white;padding:12px 18px;border-radius:10px;border:none;cursor:pointer;font-weight:700;margin-top:14px}
    .btn.secondary{background:transparent;color:var(--primary);border:2px solid rgba(11,114,255,0.12)}
    .close-btn{position:absolute;top:10px;right:10px;background:transparent;border:none;font-size:20px;cursor:pointer;color:var(--muted)}
        /* ==================================================== */
        /* 6. RESPONSIVE ANPASSUNGEN */
        /* ==================================================== */

         /*  bilschir zwischen min und Max Anfange*/
    @media (min-width: 615px) and (max-width: 1400px)
  {
    .menuoben 
    {
      width: 100%;
      font-size: 15px;
    }
     }
    /*  bilschir zwischen min und Max Ende*/
    
        /* Tablet & Kleinere Desktops (bis 1000px) */
        @media (max-width: 1000px) {
            /* Header */

            body { padding-top: 140px; }
            

            nav { padding-right: 10px; }
            
            
            /* Referenz Slider - Layout ändert sich (Bild unter Text) */
            .slide {
                flex-direction: column; 
            }
            .text-content {
                max-width: 100%;
            }
            .project-imageRef {
                position: static; 
                width: 100%; 
                margin-top: 20px;
                max-height: 300px;
                object-fit: cover;
            }

            /* Footer */
            .divider { width: 80%; height: 1px; background-color: var(--akzentfarbe); margin: 20px 0; }
        /* Mobile (bis 615px) */
        @media (max-width: 615px) {
            /* Slider */
            .slide { padding: 20px; }
            .banerreference h1 { font-size: 30px; }
        } 
         .containervisitenkarte
        {
            max-width: 600px;
            flex-direction: column;
            align-items: left;
        }

        .banerreference 
        {
            height: 100px;
        }
  
    }

    @media (max-width: 1200px) 
  {
    .menuunter {
      width: 35%;
      display: flex;
      padding-left: 20px;
      font-size: 22px;
      line-height: 2;
    }
    .socialunter
    {
      margin-top: 0%;
      width: 50%;
      flex-direction: row;
    }
  }
  
  /* Hamburger Button */
.hamburger {
    position: relative;
    display: none; /* wird nur auf kleinen Screens sichtbar */
    top: 50px;
    right: 50px;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 9999;
}

.hamburger span {
    display: block;
    width: 30px;
    height: 3px;
    background: white;
    transition: 0.3s;
}

/* Animation für X */
.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}


/* Navigation mobil verstecken */
@media (max-width: 615px) {

    .hamburger {
        display: flex;
    }

    .menuoben {
        position: fixed;
        top: 70px;
        right: 0;
        background-color: #063c75;
        width: 200px;
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        display: none;
        z-index: 999;
    }

    .menuoben.open {
        display: flex;
    }

    .menuoben a {
        color: white;
        text-decoration: none;
        font-size: 18px;
        padding: 8px 0;
    }
	
    .menuoben ul 
    {
      flex-direction: column;
      align-items: flex-start;
    }
  
    .menuoben a 
    {
      display: block;
      width: 100%;
      padding: 15px 20px;
      border-bottom: 1px solid rgba(255,255,255,0.1);
      gap: 11px;
    }
  
  .divider 
    { 
      width: 60%; 
    }
}

@media (min-width: 800px) and (max-width: 1000px) /* tabletteforma*/
{
    .banerreference 
    {
      margin-top: -25px; /* Verschiebung nach unten */
    }
}


/* --- MOBILE OPTIMIERUNG (DER FIX) --- */
@media screen and (max-width: 500px) {
      .logo { 
        height: 80px; 
        width: 250px;
        display: block;
        margin-left: -10px;
      }
  	.hamburger 
    {
      margin-right: -50px;
    }
	.menuoben {
      right: 270px;
      padding: 0px;
    }
  header 
  	{
    width: 64%;     /* Volle Breite */
  	}
}
