/* Allgemeines Layout */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    background-color: #f4f4f4;
    color: #333;
  }
  
  /* Logo */
  .logo {
    position: relative;
    top: 0;
    left: 0;
    max-height: 100px; /* Standardgröße */
    height: auto;
    width: auto;
    z-index: 10;
  }
  
  /* von 601px bis 1000px (Tablets, kleine Laptops) 
  @media (max-width: 1360px) {
    .logo {
      max-height: 90px;
    }
  }
  */
  /* Titel */
  .site-title {
    position: relative;
    margin: 0;
    font-size: 2.5rem;
    text-align: center;
    flex: 1;
    color: #ff9c00;
    padding: 10px 20px;        /* Abstand innen, damit es schöner aussieht */
    border-radius: 8px;        /* abgerundete Ecken */
    display: inline-block;     /* passt den Hintergrund genau an den Text an */
    -webkit-text-stroke: 1px white;
    text-shadow: 
     -1px -1px 0 white,  
      1px -1px 0 white,
     -1px  1px 0 white,
      1px  1px 0 white;
  }

  /* Navbar Container */
  .navbar {
    background-color: darkgray;
    color: #00aaff;
    padding: 0.5rem 1rem;
  }
  
  .nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .nav-center {
    display: flex;
    margin-bottom: 10px;
    justify-content: center; /* zentriert in neuer Zeile */
  }
  
  /* Menü rechts */
  .nav-right {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;  /* Standard: rechtsbündig */
  }

  .nav-menu {
    list-style: none;
    display: flex;
    color: white;
    gap: 2rem;
    margin: 0;
    padding: 0;
    flex-wrap: wrap; 
  }
  
  .nav-menu li a {
    color: white;
    font-size: large;
    text-decoration: none;
    font-weight: bold;
    padding: 0.5rem;
    transition: background 0.3s;
  }
  
  .nav-menu li a:hover {
    background-color: #ff9c00;
    border-radius: 4px;
  }

  
  @media (max-width: 1198px) {
    .nav-container {
      justify-content: space-between;
    }
  
    .nav-right {
      width: 100%;             /* volle Breite */
      justify-content: center; /* zentriert in neuer Zeile */
      margin-top: 8px;
    }
    .nav-center{
      justify-content: center;
      padding-right: 17%;
    }
  }

  @media (max-width: 900px) {
  
    .nav-right {
      width: 100%;             /* volle Breite */
      justify-content: center; /* zentriert in neuer Zeile */
      margin-top: 4px;
    }
    .nav-center{
      padding-right: 10%;
    }

    .logo {
      max-height: 80px;
    }

    .site-title{
      font-size: 2rem;
      padding: 5px 10px;
      -webkit-text-stroke: 0.5px white;
      text-shadow: 
     -0.5px -0.5px 0 white,  
      0.5px -0.5px 0 white,
     -0.5px  0.5px 0 white,
      0.5px  0.5px 0 white;
    }
  }
  @media (max-width: 630px) {
    .nav-center{
      padding-right: 1%;
    }
  }
  @media (max-width: 569px) {
    .nav-menu li a{
      font-size: medium;
    }

    .nav-menu{
      gap: 1rem;
    }

    .logo{
      max-height: 70px;
    }
    .site-title{
      font-size: 1.65rem;

    }
  }
  @media (max-width: 471px) {
    .nav-menu{
      gap: 0.7rem;
    }

    .nav-menu li a{
      font-size: small;
    }
    .nav-center{
      padding-right: 0;
    }
    .site-title{
      font-size: 1.3rem;
    }
    .logo{
      max-height: 60px;
    }
  }
  @media (max-width: 378px) {
    .nav-menu{
      gap: 0.2rem;
    }
    .navbar{
      padding: 0.5rem 0.4rem;

    }
    .site-title{
      font-size: 1rem;
    }
    .logo{
      max-height: 50px;
    }
  }
  @media (max-width: 327px) {
    .nav-menu{
      gap: 0.07rem;
    }
    .navbar{
      padding: 0.5rem 0.3rem;

    }
    .site-title{
      font-size: rem;
    }
    .logo{
      max-height: 40px;
    }
    .nav-menu li a{
      font-size: 12px;
    }
  }
  @media (max-width: 297px) {
    .navbar{
      padding: 0.5rem 0.1rem;
    }
    .nav-menu li a{
      font-size: 11px;
    }
  }
  @media (max-width: 277px) {
    .navbar{
      padding: 0.5rem 0.025rem;
    }
    .nav-menu{
      gap: 0.05rem;
    }
    .nav-menu li a{
      font-size: 11px;
    }
  }
  
  /* Header */
  header {
    background-color: #00aaff;
    color: white;
    padding: 2px;
    text-align: center;
  }
  
  /* Hauptbereich */
  main {
    padding: 2rem;
  }
  
  section {
    background-color: white;
    padding: 1rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  }

  .section-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    justify-content: center;
    align-items: center;
  }

  .text-block {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;     /* vertikal zentrieren */
    align-items: center;     /* Inhalt linksbündig platzieren */
    text-align: left;            /* Text links ausrichten */
  }

  .request-block{
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .map-block {
    flex: 1;
    max-width: 600px;
    height: 500px;
  }

  .map-block iframe {
    width: 100%;
    height: 80%;
    border: 0;
    border-radius: 8px;
  }

  @media (max-width: 768px) {
    .section-wrapper {
      flex-direction: column;
    }
  }

  .map{
    margin-top: 0;
  }

  form {
    max-width: 500px;
    margin: 0 auto;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  }
  
  label {
    font-weight: 600;
    display: block;
    color: #333;
  }
  
  input[type="email"],
  input[type="text"],
  textarea {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 5px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #f9f9f9;
    font-size: 1rem;
    transition: border 0.3s ease, box-shadow 0.3s ease;
  }
  
  input:focus,
  textarea:focus {
    border-color: #3b82f6; /* schönes Blau */
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
  }
  
  button{
    background-color: #ff9c00;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  button:hover {
    background-color: #00aaff;
  }
  
  .danke-text{
    text-align: center;
  }

  a {
    color: #ff9c00;
  }
  
  /* Footer */
  footer {
    text-align: center;
    padding: 1rem;
    background-color: #222;
    color: white;
  }
  