
  @font-face {
    font-family: "Material Symbols Rounded";
    font-style: normal;
    font-weight: 100 700;
    src: url("../fonts/MaterialSymbolsRounded.woff2") format("woff2");
    font-display: swap;
  }

  @font-face {
    font-family: "BAUHS93";
    font-style: normal;
    font-weight: 400;
    src: url("../fonts/bauhs93.ttf") format("truetype");
    font-display: swap;
  }

  :root {
    --headline-font: "BAUHS93", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --brand-orange: #FF6600;
    --brand-cyan: #00ADBC;
    --brand-gradient: linear-gradient(135deg, #FF6600 0%, #FFFFFF 50%, #00ADBC 100%);
    --text: #000000;
    --max-width: 1120px;
    --transition-fast: 0.18s ease-out;
  }

  * { box-sizing: border-box; }

  html, body {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    max-width: 100%;
    overflow-x: hidden;
    background: #ffffff;
  }

  body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #ffffff;
    color: var(--text);
    -webkit-font-smoothing: antialiased;
  }

  .mi {
    font-family: "Material Symbols Rounded";
    font-weight: 650;
    font-style: normal;
    font-size: 20px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    font-variation-settings: "FILL" 0, "wght" 650, "GRAD" 0, "opsz" 24;
    user-select: none;
  }

  a { color: inherit; text-decoration: none; }

  .page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    transition: transform 0.6s ease;
  }

  .container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 16px;
  }

  /* =========================
     HEADER 1:1 AUS VORLAGE
     ========================= */
  header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    transition: background 0.4s ease, border-color 0.4s ease;
    background: transparent !important;
  }

  .nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    gap: 16px;
    position: relative;
  }

  .brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    min-width: 0;
  }

  .brand-logo{
    height: 42px;
    width: auto;
    display: block;
    flex-shrink: 0;
    filter: drop-shadow(0 10px 25px rgba(15, 23, 42, 0.25));
  }

  .nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
  }

  .nav-item {
    position: relative;
    font-size: 14px;
    font-weight: 500;
    color: #020617;
  }

  .nav-link-main {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    border-radius: 999px;
    transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
    white-space: nowrap;
  }

  .nav-item:hover .nav-link-main {
    background: rgba(15, 23, 42, 0.9);
    color: #e5e7eb;
    transform: translateY(-1px);
  }

  .nav-cta {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.55);
    background: linear-gradient(90deg, rgba(255,102,0,0.82) 0%, rgba(0,173,188,0.82) 100%);
    color: #020617;
    box-shadow: 0 18px 52px rgba(15, 23, 42, 0.18);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), filter var(--transition-fast);
  }

  .nav-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
      radial-gradient(circle at 20% 0%, rgba(255,255,255,0.60) 0%, transparent 55%),
      radial-gradient(circle at 85% 120%, rgba(255,255,255,0.28) 0%, transparent 58%);
    opacity: 1;
    pointer-events: none;
    mix-blend-mode: screen;
  }

  .nav-cta::after {
    content: "";
    position: absolute;
    left: 10%;
    right: 10%;
    top: 9%;
    height: 42%;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255,255,255,0.38), transparent);
    opacity: 0.95;
    pointer-events: none;
  }

  .nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 950;
    letter-spacing: 0.01em;
    cursor: pointer;
    flex-shrink: 0;
  }

  .nav-cta .mi { font-size: 18px; position: relative; z-index: 1; }
  .nav-cta span:not(.mi) { position: relative; z-index: 1; }

  .nav-cta:hover {
    transform: translateY(-1px);
    filter: brightness(1.04);
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.22);
  }

  .nav-cta:active {
    transform: translateY(0px) scale(0.985);
    filter: brightness(0.99);
    box-shadow: 0 16px 46px rgba(15, 23, 42, 0.20);
  }

  .nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    flex-shrink: 0;
    background: transparent;
    border: 0;
  }

  .nav-toggle span {
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: #020617;
    transition: transform var(--transition-fast), opacity var(--transition-fast);
  }

  .nav-mobile-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-mobile-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-mobile-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  /* =========================
     CONTENT
     ========================= */
  main {
    flex: 1 0 auto;
    background: #ffffff;
  }

  .legal-page {
    padding: 60px 0 48px;
    color: #000000;
  }

  .legal-wrap {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 16px;
  }

  .legal-title {
    font-family: var(--headline-font);
    font-size: 44px;
    line-height: 1.08;
    margin: 0 0 10px;
    color: #000000;
  }

  .legal-subline {
    margin: 0 0 28px;
    font-size: 16px;
    line-height: 1.7;
    color: #111827;
  }

  .legal-section {
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 20px;
    margin-bottom: 20px;
  }

  .legal-section:last-child {
    margin-bottom: 0;
  }

  .legal-section h2 {
    font-family: Inter, Arial, sans-serif;
    font-size: 22px;
    line-height: 1.3;
    margin: 0 0 10px;
    color: #000000;
  }

  .legal-section p {
    margin: 0 0 10px;
    font-size: 16px;
    line-height: 1.8;
    color: #111827;
  }

  .legal-section a {
    text-decoration: underline;
    text-underline-offset: 3px;
    word-break: break-word;
  }

  /* =========================
     FOOTER 1:1 AUS VORLAGE
     ========================= */
  footer {
    border-top: 1px solid rgba(2, 6, 23, 0.18);
    padding: 12px 0 16px;
    background: var(--brand-gradient);
    margin-top: 18px;
    color: #020617;
  }

  .footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    color: #020617;
    flex-wrap: wrap;
  }

  .footer-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
  }

  .footer-links a {
    color: #020617;
    font-size: 11px;
    font-weight: 500;
  }

  /* =========================
     RESPONSIVE
     ========================= */
  @media (max-width: 960px) {
    .nav-toggle {
      display: flex;
      padding: 10px 10px;
      border-radius: 999px;
      background: rgba(255,255,255,0.96);
      border: 1px solid rgba(2, 6, 23, 0.12);
      box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
    }

    .nav-links {
      position: absolute;
      left: 16px;
      right: 16px;
      top: calc(100% + 10px);
      background: rgba(255,255,255,0.98);
      border: 1px solid rgba(2, 6, 23, 0.08);
      border-radius: 20px;
      padding: 12px;
      box-shadow: 0 25px 60px rgba(15, 23, 42, 0.16);
      display: none;
      flex-direction: column;
      align-items: stretch;
      gap: 8px;
    }

    .nav-mobile-open .nav-links {
      display: flex;
    }

    .nav-item {
      width: 100%;
    }

    .nav-link-main {
      width: 100%;
      padding: 12px 14px;
      border: 1px solid rgba(2, 6, 23, 0.08);
      background: #ffffff;
      border-radius: 14px;
    }

    .nav-cta {
      display: none;
    }

    .legal-page {
      padding: 48px 0 36px;
    }

    .legal-title {
      font-size: 34px;
    }

    .legal-section h2 {
      font-size: 20px;
    }

    .legal-section p {
      font-size: 15px;
      line-height: 1.75;
    }
  }
  
  
  /* Der html-Hintergrund füllt die Statusleiste - Farbe = linker Startpunkt des Header-Gradients */

  /* Header-Gradient startet höher oben (inkl. safe-area) für nahtlosen Übergang */
  header {
    padding-top: env(safe-area-inset-top);
    /* Gradient auf den vollen Bereich inkl. safe-area ausdehnen */
    background: transparent !important;
    background-attachment: local;
  }

  /* Body safe-area padding entfernen - header übernimmt das */

  /* ── iOS Safe Area ── */
  html { background: #00ADBC; }
  header {
    padding-top: env(safe-area-inset-top);
    background: transparent !important;
  }
