/*
<!--<!DOCTYPE html>
<html lang="de">
<head>
  <meta charset="UTF-8">
  <title>𝗥𝗘𝗟𝗢𝗢𝗧 – Desktop</title>
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  
  <script src="https://unpkg.com/leaflet@1.9.4/dist/leaflet.js"></script>
  <script src="https://cdnjs.cloudflare.com/ajax/libs/pdf.js/2.12.313/pdf.min.js"></script>
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css" crossorigin="anonymous" referrerpolicy="no-referrer">  
  <link rel="icon" type="image/png" href="fav.png">
  <link rel="apple-touch-icon" sizes="180x180" href="fav.png">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
  <meta name="theme-color" content="#ffffff"> 
  <link rel="stylesheet" href="https://unpkg.com/leaflet@1.9.4/dist/leaflet.css"/>  
  <link href="https://fonts.googleapis.com/css2?family=Ubuntu+Condensed&display=swap" rel="stylesheet">
  <link rel="stylesheet" href="desktop.css">
</head>
<body>
  <header>
    <div class="logo">𝗥𝗘𝗟𝗢𝗢𝗧</div>
    <nav>
      <ul>
        <li><a href="#" id="accountButton">Mein Konto</a></li>
        <li><a href="#" id="nav-business">Geschäft</a></li>
        <li><a href="#" id="searchMyLocation"><i class="fas fa-crosshairs"></i></a></li>
      </ul>
    </nav>
  </header>

  <div class="container">
    <aside>
      <section id="location-details">
        <div style="padding:20px;">
        <h2>Standortdetails</h2>
        <div id="locationContent">
          <p>Klicke auf einen Standort auf der Karte, um mehr zu sehen.</p>
        </div>
         </div>
      </section>
    </aside>
    
    <main>
      <div id="map"></div>
    </main>
  </div>

  <div id="accountOverlay" class="modal-overlay">
    <div class="modal-content">
      <button id="closeaccountOverlay" class="close-btn">&times;</button>
      <h2>Mein Konto</h2>
      <div id="accountForm">
        <input type="text" id="username" placeholder="E-Mail oder Benutzername">
        <input type="password" id="password" placeholder="Passwort">
        <button id="loginBtn">Einloggen</button>
        <button id="registerBtn">Registrieren</button>
      </div>
      <button id="logoutBtn">Abmelden</button>
    </div>
  </div>

  <div id="couponOverlay" class="modal-overlay">
    <div class="modal-content">
      <button id="closeCouponOverlay" class="close-btn">&times;</button>
      <div id="couponOverlayContent">
        <div id="couponTitle"></div>
        <div id="couponTerms"></div>
        <div id="slider">
          <div id="slider-bg"></div>
          <div id="slider-text">Wischen zum Einlösen</div>
          <div id="slider-thumb">➔</div>
          <input type="range" id="couponRange" min="0" max="100" value="0" style="display:none;">
        </div>
      </div>
    </div>
  </div>

  <div id="infoOverlay" class="modal-overlay">
    <div class="modal-content">
      <button id="closeInfoOverlay" class="close-btn">&times;</button>
      <div class="overlay-header">
        <h2 id="overlayTitle"></h2>
        <img id="locationImage" src="" alt="Location">
      </div>
      <div id="additional-info"></div>
    </div>
  </div>

  <div id="businessOverlay" class="modal-overlay">
    <div class="modal-content">
      <button id="closeBusinessOverlay" class="close-btn">&times;</button>
      <h2>Geschäft</h2>
    </div>
  </div>

  <script src="desktop.js"></script>
</body>
</html>-->
*/

    * {
      cursor: none !important;
        user-select: none;
        -webkit-user-select: none; /* Für Safari */
        -moz-user-select: none; /* Für Firefox */
        -ms-user-select: none; /* Für ältere IE-Versionen */
      }
      
/* Eigener Cursor als Smiley */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none; /* Damit das Element nicht interagiert */
    font-size: 32px;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease-out;
  }      
  /* Burger-Emoji, das beim Klick animiert wird */
  .burger {
    position: fixed;
    pointer-events: none;
    font-size: 24px;
    z-index: 9998;
    opacity: 1;
    /* Damit die Animation an der Klickposition startet */
    transform: translate(-50%, -50%);
    animation: scatter 1.5s forwards ease-out;
  }
  @keyframes scatter {
    0% {
      transform: translate(0, 0);
      opacity: 1;
    }
    100% {
      /* Nutzt die per Inline-Style gesetzten CSS-Variablen --dx und --dy */
      transform: translate(var(--dx), var(--dy));
      opacity: 0;
    }
  }
    :root {
      --primary-color: #2574fc;
      --secondary-color: #6b11cb;
      --text-color: #333;
      --bg-color: #ffffff;
      --container-bg: #fff;
      --footer-bg: #f9f9f9;
    }
    /* Basis-Reset */
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
    html, body {
      height: 100vh;
      width: 100%;
      overflow: hidden; /* Kein Scrollen */
      cursor: none;

    }
    body {
      font-family: 'Montserrat', sans-serif;
      background: var(--bg-color);
      color: var(--text-color);
      display: flex;
      flex-direction: column;
        display: none;
    }
    /* Keyframe-Animationen */
    @keyframes fadeInUp {
      0% {
        opacity: 0;
        transform: translateY(20px);
      }
      100% {
        opacity: 1;
        transform: translateY(0);
      }
    }
    @keyframes pulse {
      0% {
        transform: scale(1);
      }
      50% {
        transform: scale(1.05);
      }
      100% {
        transform: scale(1);
      }
    }
    /* Container-Animation */
    .container,
    .footer {
      animation: fadeInUp 0.8s ease-out forwards;
    }
    /* Wrapper für den Hauptinhalt */
    .main {
      flex: 1;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 20px;
    }
    /* Container für die App-Präsentation */
    .container {
      width: 100%;
      max-width: 1200px;
      height: 100%;
      background: var(--container-bg);
      border-radius: 36px;
      box-shadow: 0 0 12px rgba(0,0,0,0.15);
      display: flex;
      flex-direction: column;
      padding: 20px;
      gap: 20px;
      opacity: 0; /* Startwert für Animation */
    }
    @media (min-width: 768px) {
      .container {
        flex-direction: row;
        padding: 30px;
      }
    }
    /* Bildbereich */
    .image-section {
      flex: 1;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 10px;
    }
    .smartphone-frame {
        position: relative;
        width: 300px;
        max-width: 90%;
        border: 7px solid #000;
        border-radius: 36px;
        box-shadow: 0 8px 16px rgba(0,0,0,0.3);
        overflow: hidden;
        background: #fff;
        opacity: 0;
        animation-delay: 0.3s;
        transform-origin: center center;
      }
      
      .smartphone-frame:hover {
        animation: pulse 1.5s infinite;
      }
    .smartphone-frame::before {
      content: "";
      position: absolute;
      top: -12px;
      left: 50%;
      transform: translateX(-50%);
      width: 60px;
      height: 6px;
      background: var(--primary-color);
      border-radius: 3px;
    }
    .smartphone-frame img {
      display: block;
      width: 100%;
      height: auto;
      border-radius: 36px;
      
    }
    /* Textbereich */
    .content-section {
      flex: 1;
      padding: 10px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      text-align: left;
    }
    @media (max-width: 767px) {
      .content-section {
        text-align: center;
      }
    }
    .header-row {
      display: flex;
      align-items: center;
      gap: 20px;
      margin-bottom: 30px;
    }
    .header-row img {
      transition: transform 0.3s ease;
    }
    .header-row img:hover {
      transform: scale(1.1);
    }
    .content-section h1 {
      font-size: 3em;
      margin: 0;
      background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }
    .content-section h2 {
      font-size: 2em;
      margin-bottom: 20px;
      color: var(--primary-color);
    }
    .content-section p {
      font-size: 1.2em;
      margin-bottom: 40px;
      line-height: 1.6;
      color: #555;
    }
    /* Store-Buttons */
    .store-buttons {
      display: flex;
      gap: 20px;
      flex-wrap: wrap;
      justify-content: flex-start;
    }
    .store-buttons a {
      display: flex;
      align-items: center;
      justify-content: center;
      height: 50px;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    .store-buttons a:hover {
      transform: translateY(-3px);
      box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    }
    .store-buttons a img {
      height: 100%;
      width: auto;
      object-fit: contain;
    }
    /* Footer */
    .footer {
      padding: 15px 20px;
      font-size: 0.9em;
      color: #888;
      opacity: 0;
      animation-delay: 0.5s;
    }
    .footer-content {
      display: flex;
      align-items: center;
      justify-content: center;
      flex-wrap: wrap;
      gap: 20px;
    }
    .footer-nav a {
      color: #888;
      text-decoration: none;
      transition: color 0.3s ease, background 0.3s ease;
      padding: 5px 10px;
      border-radius: 5px;
    }
    .footer-nav a:hover {
      color: var(--primary-color);
      background: rgba(37, 116, 252, 0.1);
    }
    .modal-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.6); /* Verdunkelung des Hintergrunds */
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 10000;
        visibility: hidden;
        opacity: 0;
        transition: opacity 0.3s ease, visibility 0.3s ease;
      }
      .modal-overlay.active {
        visibility: visible;
        opacity: 1;
      }
      /* Modal Content */
      .modal-content {
        background: #fff;
        padding: 50px;
        border-radius: 15px;
        width: auto;
        text-align: center;
        position: relative;
        height: auto;
        max-width: 90%;
        max-height: 90%;
        overflow-y: auto;
      }
      .modal-close {
        cursor: pointer;
        margin-top: 20px;
        display: inline-block;
        background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
        color: #fff;
        padding: 10px 20px;
        border-radius: 15px;
      }
      .modal-overlay, 
        .modal-overlay * {
        cursor: auto !important;
        }
