
    @font-face {
        font-family: BebasNeue;
        src: url('fonts/Bebas_Neue/BebasNeue-Regular.ttf') format('truetype'),
    }

    @font-face {
        font-family: Roboto;
        font-weight: 100 900;
        font-style: normal;
        src: url('fonts/Roboto/Roboto-VariableFont_wdth,wght.ttf') format('truetype'),
    }

    .info-wrapper:hover .popup-hover {
      visibility: visible;
      opacity: 1;
    }

     .info-wrapper {
      position: relative;
      }

    .popup-hover {
      visibility: hidden;
      opacity: 0;
      width: 220px;
      background-color: #f9f9f9;
      color: #333;
      text-align: left;
      border-radius: 5px;
      padding: 10px;
      position: absolute;
      z-index: 1;
      bottom: 125%;
      box-shadow: 0 2px 8px rgba(0,0,0,0.15);
      transition: opacity 0.3s ease;
    }

    .main-button {
      background-color: #4CAF50;
      border: 1px solid #4CAF50;
      color: rgb(248, 248, 248);
      padding: 8px;
      border-radius: 8px;
    }
    body {
      font-family: Roboto;
      max-width: 1200px;
      margin: 0 auto;
    }

    .spacer-column {
      flex-basis: 25%;
    }

    .content-column {
      flex-basis: 50%;
    }

    a {
      color: #007acc;
      text-decoration: none;
    }

    a:hover {
      text-decoration: underline;
    }

    .section {
      margin-bottom: 0px;
    }

    .section-header {
        font-size: 1.0rem;
        background-color: rgb(33, 150, 243);
        color: rgb(248, 248, 248);
        text-align: center;
        font-family: BebasNeue;
        height: 4em;
        display: flex;
        justify-content: center;
        align-items: center;
      }

    @media (min-width:600px)
    {
      .section-header {
        font-size: 2.5rem;
      }
    }

    .container {
      max-width: 800px;
      margin: auto;
      background: #fff;
      padding: 2rem;
      border-radius: 8px;
      box-shadow: 0 0 10px rgba(0,0,0,0.05);
    }
  

    .section-subheader {
        background-image: linear-gradient(rgba(21, 21, 21, 0.6), rgba(21, 21, 21, 0.6)), url("images/florian-wehde-1uWanmgkd5g-unsplash.jpg");
        background-size: cover;
        background-repeat: no-repeat;
        background-color: rgb(21, 21, 21);
        background-position: 50% 50%;
        background-attachment: scroll;
        min-height: 70vh;
        display: flex;
        justify-content: center;
        align-items: center;
        color: #f8f8f8;
    }

    .content-text
    {
      font-size: 1.2em;
      font-family: Roboto;
      line-height: 1.7;
    }

    h1 {
      font-size: 3em;
      color: #2196F3;
      font-family: Roboto;
      font-weight: 100;
    }

    strong {
      font-weight: bold;
      font-weight: 600;
    }

    #grade {
      text-align: center;
      font-weight: bold;
    }

    #analyze-button {
      display: flex;
      justify-content: center;
      margin-bottom: 1em;
      margin-top: 1em;
    }

    #radius {
      text-align: center;
      margin-top: 1em;
      margin-bottom: 1em;
    }

    #container-Main {
      display: flex;
      flex-direction: column;
      height: auto;

      align-items: stretch;
      margin: 0 auto;
      width: 100%;
    }

    @media only screen and (min-width: 600px) {
      #container-Main {
        flex-direction: row;
      }
    }

  .envelope {
    border: #3498db;
    border-style: solid;
    border-width: 2px;
    border-radius: 5px;
  }

  .container-Item {
    flex:1;    
  }
    
  .footer {
    margin:auto;
    width: fit-content;
    padding: 1em;
  }

  .advertisement-mobile {
    display: none;
  }

  .advertisement {
    padding-top: 1em;
    text-align: center;
    overflow: hidden;
  }

  @media only screen and (max-width: 970px) {
    .advertisement-mobile {
      display: block;
      margin: auto;
      width: fit-content;
      padding: 1em;
      text-align: center;
    }

    .advertisement {
        display: none;
    }
  }

    .popup-overlay {
      display: none;

      position: fixed;
      top: 0; left: 0;
      width: 100vw;
      height: 100vh;
      background-color: rgba(0, 0, 0, 0.5);
      justify-content: center;
      align-items: center;
      z-index: 1000;
    }

    .popup button {
      margin-top: 15px;
      padding: 8px 12px;
      border: none;
      background-color: #007BFF;
      color: white;
      border-radius: 5px;
      cursor: pointer;
    }

    /* Popup-Box */
    .popup {
       background: #fff;
      padding: 25px 20px;
      border-radius: 10px;
      box-shadow: 0 0 20px rgba(0,0,0,0.4);
      text-align: center;
      z-index: 1001;
    }

   #map {
    height: 50vh;
    width: 100%;

    @media only screen and (min-width: 600px) {
      height: 100%;
    }
  }


    .indicator-container {
      display: flex;
      flex-direction: column;
      max-width: 100%;
      margin: auto;
      padding: 20px;
      border: 1px solid #ccc;
      border-radius: 5px;
      background-color: #f9f9f9;
    }

    .indicator-row { 
      margin-bottom:0.6em;
      justify-content: center;
      align-items: center;
    }

    td {
      text-align: center;
    }

    .indicator-label {
      margin-right: 1em;
      min-width: 7em;
      text-align: center;
    }

    .indicator-rating {
      display: flex;
      width: fit-content;
      margin: auto;
    }

    .indicator-range {
      width: 8em;
      height: 1.8em;
    }

    .weight-label {
      text-align: center;
      font-size: 0.8em;
    }

    .dummy-row {
      height: 1em;
    }

    .indicator-overall {
      text-align: center;
    }

    #overall {
      display: flex;
      justify-content: center;
      font-weight: bold;
      margin-top: 1em;
      margin-bottom: 1em;
    }

    .indicator {
      display: block;
      width: 1.3em;
      height: 1.3em;
      border-radius: 50%;
      margin: 0 0.2em;
      background-color: #ccc;
    }

    #loading-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.5); /* halbtransparentes Schwarz */
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 9999;
      display: none; /* Standardmäßig versteckt */
    }

    @keyframes spin {
      0% { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
    }

    .spinner {
      width: 60px;
      height: 60px;
      border: 6px solid #ffffff;
      border-top: 6px solid #3498db; /* Blau hervorgehoben */
      border-radius: 50%;
      animation: spin 1s linear infinite;
      opacity: 0.9;
    }

    .anzeigekennung {
      font-size: 0.8em;
      color: #555;
      text-align: center;
    }