  * {
    margin: 0;
    padding: 0;
  }

  .logo {
    position: absolute;
    top: 50px;
    left: 40px;
    width: 80px;
    height: auto;
    z-index: 7px;
  }

  .logo:hover {
    transform: scale(1.08);
  }

  #bild {
    background-image: url("/images/Heder\ foto.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 600px;
  }


  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(51, 51, 51, 0.6);
    /* 0.6 = 60% Deckkraft */
    color: #fff;
    z-index: 500px;
    /* Damit die Leiste über anderen Inhalten liegt */
    height: 60px;
    /* Beispielhöhe */
    line-height: 60px;
    /* Vertikale Zentrierung des Texts */
  }

  .logo {
    font-size: 1.5em;
    color: #fff;
    text-decoration: none;
  }

  .nav-menu {
    position: absolute;
    top: -20px;
    left: 400px;
    display: flex;
    gap: 30px;
    list-style: none;
  }

  .nav-menu li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.15em;
    letter-spacing: 0.08em;
  }

  .nav-toggle {
    display: none;
  }

  .nav-toggle-label {
    display: none;
    flex-direction: column;
    cursor: pointer;
    height: 32px;
    justify-content: center;
  }

  .nav-toggle-label span {
    display: block;
    width: 28px;
    height: 4px;
    margin: 4px 0;
    background: #fff;
    border-radius: 2px;
    transition: 0.3s;
  }

  /* Responsive: Menü für kleine Bildschirme */
  @media (max-width: 700px) {
    .nav-menu {
      display: none;
      flex-direction: column;
      background: rgba(83, 81, 81, 0.6);
      color: #fff;
      position: absolute;
      top: 60px;
      left: 0px;
      width: 100%;
      padding: 24px 0;
      z-index: 10;
    }

    .nav-menu li {
      text-align: center;
      margin: 20px;
    }

    .nav-toggle:checked+.nav-toggle-label+.nav-menu {
      display: flex;
    }

    .nav-toggle-label {
      display: flex;
      position: absolute;
      top: 15px;
      left: 20px;
    }
      .social-icons2 {
    display: flex;
    gap: 18px;
    position: absolute;
    top: 20px;
    left: 600px;
  }

  }

  #login{
  display: inline-block;         /* Passt den Rahmen an die Textbreite an */
  padding: 6px 20px;            /* Innenabstand für mehr Luft */
  border: 3px solid #2a7ae2;     /* Farbe und Dicke des Rahmens */
  border-radius: 18px;           /* Abgerundete Ecken (optional) */
  background: #22334d; 
  color: #fff;                   /* Textfarbe */
  font-size: 1em;              /* Schriftgröße */
  font-family: 'Segoe UI', Arial, sans-serif;
  letter-spacing: 0.08em;        /* Etwas mehr Abstand zwischen Buchstaben */
  box-shadow: 0 4px 16px rgba(0,0,0,0.09); /* Leichter Schatten, optional */
}


  .social-icons2 {
    display: flex;
    gap: 18px;
    position: absolute;
    top: 20px;
    left: 600px;
  }


  #submen li {
    margin: 1em;
    /*text-transform: uppercase;*/
    font-family: "Open Sans", sans-serif;
    letter-spacing: 2px;
    font-size: 1.3em;
    color: rgb(218, 207, 200);
  }

  #seitennav {
    position: relative;
    padding: 15px 0 15px 5px;
    margin: 0 20px 20px 30px;
    width: 170px;
    border-style: solid;
    border-color: black;
    border-width: 1px;
    float: right;
  }

  li {
    display: inline;
    margin: 1em;
    /*text-transform: uppercase;*/
    font-family: "Open Sans", sans-serif;
    letter-spacing: 2px;
    font-size: 1.5em;
    color: rgb(218, 207, 200);
  }

  a {
    color: rgb(233, 17, 28);
  }

  li a {
    color: rgb(218, 207, 200);
    text-decoration: none;
  }

  a:hover {
    color: black;
  }

  h1 {
    font-family: "Open Sans", sans-serif;
    font-size: 2em;
    margin: 0 0 -8px 0;
    color: rgb(124, 124, 124);
    text-transform: uppercase;
  }

  h2,
  h3,
  h4 {
    color: white;
  }

  p {
    font-family: "Open Sans", sans-serif;
    font-size: 1em;
    line-height: 15px;
    color: rgb(18, 18, 18);
    transition: color 1.52s linear;
    margin: 10px 0;
    text-align: justify;
  }

  .block1 {
    width: 90%;
    margin: 40px 50px;
  }

  p:hover {
    color: rgba(128, 128, 128, 0);
  }

  .generell {
    width: 49%;
    height: 100px;
    margin: 0 0 3px 3px;
    float: left;
  }

  #herum {
    display: flex;
    justify-content: flex-end;
    /* Alle Boxen nach rechts schieben */
    gap: 16px;
    /* Abstand zwischen den Boxen */
    margin: 40px 0;
    background: #2a7ae2;
    color: #fff;
    padding: 24px 32px;
    border-radius: 10px;
    font-size: 1.1em;
    min-width: 80px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  }

  #blau {
    background-color: blue;
  }

  #rot {
    background-color: rgb(255, 0, 0);
  }

  #gruen {
    background-color: rgb(2, 114, 7);
  }

  #gelb {
    background-color: rgb(252, 230, 32);
  }

  figure img,
  figcaption {
    position: relative;
    z-index: -1;
    width: 300px;
    margin: -120px 0 0 50px;
    color: aliceblue;
    font-size: 20px;
  }

  #contact {
    max-width: 500px;
    margin: 40px auto;
    padding: 30px 25px;
    background: #f9f9f9;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.09);
    font-family: "Open Sans", sans-serif;
  }

  #contact h2 {
    text-align: center;
    color: #2a7ae2;
    margin-bottom: 10px;
  }

  #contact p {
    text-align: center;
    color: #333;
    margin-bottom: 25px;
  }

  .contact-info ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
  }

  .contact-info li {
    margin-bottom: 8px;
    color: #444;
    font-size: 1.04em;
  }

  .contact-info a {
    color: #2a7ae2;
    text-decoration: none;
  }

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

  .contact-form label {
    display: block;
    margin-bottom: 6px;
    color: #2a7ae2;
    font-weight: 500;
  }

  .contact-form input,
  .contact-form textarea {
    width: 100%;
    padding: 8px 10px;
    margin-bottom: 18px;
    border: 1px solid #cfd8dc;
    border-radius: 6px;
    font-size: 1em;
    background: #fff;
    box-sizing: border-box;
    transition: border-color 0.2s;
  }

  .contact-form input:focus,
  .contact-form textarea:focus {
    border-color: #2a7ae2;
    outline: none;
  }

  .contact-form button {
    background: #2a7ae2;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 10px 22px;
    font-size: 1em;
    cursor: pointer;
    transition: background 0.2s;
  }

  .contact-form button:hover {
    background: #1761a0;
  }

  .custom-footer {
    background: #232323;
    color: #eee;
    padding: 40px 20px 20px 20px;
    font-family: 'Segoe UI', Arial, sans-serif;
  }

  .footer-main {
    display: fixed;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1100px;
    margin: 0 auto;
  }

  .footer-left {
    flex: 1 1 320px;
    margin-right: 40px;
    min-width: 260px;
  }

  .footer-left h2 {
    font-size: 1.6em;
    margin-bottom: 12px;
    color: #fff;
  }

  .footer-left p {
    font-size: 1.08em;
    margin-bottom: 18px;
    color: #ccc;
  }

  .footer-logo {
    margin-top: 20px;

  }

  .footer-links {
    text-decoration-line: none;
    color: blue;
    flex: 2 1 400px;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
  }

  .social-icons {
    display: flex;
    gap: 18px;
    /* Abstand zwischen den Icons */
    margin-top: 40px;
    margin-right: 40px;
  }

  .icon {
    width: 40px;
    /* oder deine Wunschgröße */
    height: 40px;
    border-radius: 12px;
    /* optional: abgerundete Ecken */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    /* optional: leichter Schatten */
    transition: transform 0.2s;
  }

  .icon:hover {
    transform: scale(1.08);
  }


  .footer-link-block {
    display: flex;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    padding: 12px 16px;
    min-width: 210px;
    max-width: 320px;
    flex: 1 1 210px;
    margin-bottom: 8px;
  }

  .footer-link-icon {
    font-size: 2em;
    margin-right: 16px;
    margin-top: 2px;
  }

  .footer-link-block strong {
    color: #fff;
    font-size: 1.1em;
  }

  .footer-link-block p {
    margin: 3px 0 0 0;
    color: #bbb;
    font-size: 0.98em;
  }

  .footer-bottom {
    border-top: 1px solid #333;
    margin-top: 28px;
    padding-top: 12px;
    text-align: right;
  }

  .footer-bottom a {
    color: #b3d4fc;
    text-decoration: underline;
    margin-left: 24px;
    font-size: 1em;
    transition: color 0.2s;
  }

  .footer-bottom a:hover {
    color: #fff;
  }

  @media (max-width: 900px) {
    .footer-main {
      flex-direction: column;
      gap: 28px;
    }

    .footer-links {
      justify-content: flex-start;

    }

    .footer-bottom {
      text-align: center;
      margin-top: 32px;
    }
  }