    :root{
      --accent:#2f6cf6;
      --text:#1a1a1a;
      --muted:#555;
      --glass-card:rgba(255,255,255,.20);
      --glass-chrome-start:rgba(255,255,255,.55);
      --glass-chrome-end:rgba(255,255,255,.28);
      --glass-border:rgba(255,255,255,.45);
    }

    *{box-sizing:border-box;}

    body{
      margin:0;
      font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
      color:var(--text);
      background:
        radial-gradient(circle at 50% 0%, rgba(255,255,255,.8) 0%, rgba(245,247,255,.9) 40%, transparent 80%),
        linear-gradient(180deg,#f6f7fb 0%,#e9ecf5 100%);
      background-attachment:fixed;
      min-height:100vh;
      display:flex;
      flex-direction:column;
      letter-spacing:.2px;
    }

    a{color:var(--text); text-decoration:none;}
    a:hover{color:var(--text); text-decoration:underline; text-underline-offset:3px;}

    .skip-link {
      position:absolute;
      top:-40px;
      left:10px;
      background:#3776ab;
      color:#fff;
      padding:8px 12px;
      border-radius:6px;
      z-index:9999;
      transition:top 0.2s;
    }
    .skip-link:focus-visible {top: 10px;}

    .chrome{
      position:relative;
      isolation:isolate;
      background:linear-gradient(180deg,var(--glass-chrome-start),var(--glass-chrome-end));
      -webkit-backdrop-filter:blur(18px) saturate(160%);
      backdrop-filter:blur(18px) saturate(160%);
    }
    .chrome::after{
      content:"";
      position:absolute;
      inset:0;
      pointer-events:none;
      background:radial-gradient(140% 80% at 50% -40%, rgba(255,255,255,.35), transparent 60%);
      mix-blend-mode:screen;
    }

    header.chrome {
      position: sticky;
      top: 16px;
      z-index: 1000;
      overflow: visible !important;

      width: min(1280px, 100% - 48px);
      margin: 16px auto;
      border-radius: 999px;

      padding: 14px 40px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;

      border: 1px solid rgba(255,255,255,0.35);
      box-shadow: 0 18px 40px rgba(15,23,42,0.12);

      background: linear-gradient(180deg, rgba(255,255,255,0.55), rgba(255,255,255,0.28));
      -webkit-backdrop-filter: blur(18px) saturate(160%);
      backdrop-filter: blur(18px) saturate(160%);
      transition: background .25s, box-shadow .25s, border-color .25s, padding .25s;
    }

        /* Header-Logo: SVG statt Text */
.logo{
  display: flex;
  align-items: center;
  text-decoration: none;
}

/* SVG im Header */
.logo .pv-logo{
  height: 32px;   /* <- Größe im Header (ändern wenn nötig) */
  width: auto;
  display: block;
}

    .header-actions {
      display:flex;
      align-items:center;
      gap:12px;
      font-size:14px;
    }
    .header-actions a {
      padding:6px 10px;
      border-radius:999px;
      border:1px solid transparent;
      text-decoration:none!important;
    }
    .header-actions a:hover {
      border-color:rgba(0,0,0,0.06);
      background:rgba(255,255,255,0.7);
    }

    .page-wrap{
      max-width:800px;
      margin:0 auto;
      width:100%;
      padding:80px 20px;
    }

    .legal-card{
      background:linear-gradient(180deg, rgba(255,255,255,.28), rgba(255,255,255,.12));
      -webkit-backdrop-filter:blur(18px) saturate(140%);
      backdrop-filter:blur(18px) saturate(140%);
      border:1px solid rgba(255,255,255,.35);
      border-radius:22px;
      box-shadow:0 18px 40px rgba(15,23,42,.10);
      padding:32px 26px;
    }
    .legal-card h1{
      margin:0 0 12px;
      font-size:clamp(28px,4vw,40px);
      font-weight:800;
    }
    .legal-card p{line-height:1.5; color:#2a2a2a;}

    .legal-card{
  transition: border-color .25s ease, box-shadow .25s ease, transform .18s ease;
}

.legal-card:hover,
.legal-card:focus-within{
  border-color:#f6cd48 !important;
  box-shadow:
    0 0 0 3px rgba(246,205,72,.35),
    0 30px 70px rgba(15,23,42,.28);
  transform:translateY(-2px);
}

    .highlight-box{
      margin-top:18px;
      padding:14px 16px;
      border-radius:14px;
      background:rgba(47,108,246,0.06);
      border:1px dashed rgba(47,108,246,0.35);
      font-size:14px;
      color:var(--muted);
    }

    .id-display{
      display:inline-block;
      margin-top:8px;
      padding:8px 12px;
      border-radius:999px;
      background:#111827;
      color:#f9fafb;
      font-family:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
      font-size:14px;
      letter-spacing:.5px;
      word-break:break-all;
    }

    .form-group{
      margin-top:24px;
      display:flex;
      flex-direction:column;
      gap:8px;
    }



    input[type="text"]{
      padding:10px 14px;
      border-radius:999px;
      border:1px solid rgba(148,163,184,0.7);
      font-size:15px;
      background:rgba(255,255,255,0.9);
      -webkit-backdrop-filter:blur(8px);
      backdrop-filter:blur(8px);
      outline:none;
      width:100%;
    }
    input[type="text"]:focus-visible{
      border-color:var(--accent);
      box-shadow:0 0 0 1px rgba(47,108,246,.6);
    }

    .input-hint{
      font-size:13px;
      color:var(--muted);
    }

    .actions{
      margin-top:24px;
      display:flex;
      flex-wrap:wrap;
      gap:12px;
      align-items:center;
    }

    .primary-btn{
      border:none;
      border-radius:999px;
      padding:10px 20px;
      font-size:15px;
      font-weight:600;
      cursor:pointer;
      background:linear-gradient(90deg,#2f6cf6,#4f46e5);
      color:#fff;
      box-shadow:0 14px 30px rgba(37,99,235,0.45);
      transition:transform .08s ease, box-shadow .08s ease, filter .12s ease;
    }
    .primary-btn:hover{
      filter:brightness(1.02);
      box-shadow:0 18px 40px rgba(37,99,235,0.6);
      transform:translateY(-1px);
    }
    .primary-btn:active{
      transform:translateY(0);
      box-shadow:0 8px 18px rgba(37,99,235,0.4);
    }

    .secondary-link{
      font-size:13px;
      color:var(--muted);
    }

    :focus-visible{
      outline:3px solid #3776ab;
      outline-offset:2px;
    }

    footer.chrome{
      margin-top:auto;
      text-align:center;
      padding:14px 40px;
      border-top:1px solid var(--glass-border);
      box-shadow:0 -2px 18px rgba(15,23,42,.08);
      font-size:15px;
    }
    footer .footer-links{
      display:inline-flex;
      flex-wrap:wrap;
      align-items:center;
      justify-content:center;
      gap:0;
    }
    footer .footer-links a{
      padding-inline:12px;
      color:#b9b9b9!important;
      text-decoration:none!important;
      transition:color 0.2s ease;
    }
    footer .footer-links a:hover{
      color:#000!important;
      text-decoration:underline!important;
      text-underline-offset:3px;
    }
    footer .divider{
      display:inline-block;
      margin-inline:12px;
      opacity:1;
      color:#b9b9b9;
      line-height:1;
    }

    @media(max-width:640px){
      .page-wrap{padding:56px 16px;}
      footer .footer-links{flex-direction:column; gap:6px;}
      footer .divider{display:none!important;}
      header.chrome{
        padding-inline:20px;
      }
    }

    /* Dark Mode */
    @media(prefers-color-scheme:dark){
      :root{
        --text:#eee;
        --muted:#c9c9c9;
        --glass-chrome-start:rgba(32,32,36,.62);
        --glass-chrome-end:rgba(28,28,32,.36);
        --glass-border:rgba(255,255,255,.18);
      }
      body{
        color:var(--text);
        background:
          radial-gradient(circle at 50% 0%, rgba(255,255,255,.06) 0%, rgba(40,40,44,.25) 40%, transparent 80%),
          linear-gradient(180deg,#16171a 0%, #0f1114 100%);
      }
      .legal-card{
        background:linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
        border:1px solid rgba(255,255,255,.16);
        box-shadow:0 18px 40px rgba(0,0,0,.35);
      }
      a{color:#eaeaea;}
      a:hover{color:#ffffff; text-decoration:underline; text-underline-offset:3px;}
      footer .footer-links a{color:#eaeaea!important;}
      footer .footer-links a:hover{color:#ffffff!important;}
      footer .divider{opacity:.5;}
      .highlight-box{background:rgba(37,99,235,0.12);}
      input[type="text"]{
        background:rgba(15,23,42,0.9);
        border-color:rgba(148,163,184,0.8);
        color:#e5e7eb;
      }
    }

    @media print {
      header.chrome,
      footer.chrome,
      .skip-link {
        display:none !important;
      }
      body { background:#ffffff !important; }
      .page-wrap { padding:0; }
      .legal-card {
        box-shadow:none!important;
        border:none!important;
        background:#ffffff!important;
      }
    }

    .char-help{
  display:block;
  margin-top:4px;
  font-size:11px;
  color:#6b7280;
}

    .pv-legal{
  margin-top:24px;
  padding:18px 20px;
  border-radius:18px;
  background:linear-gradient(135deg, rgba(255,255,255,.90), rgba(244,246,252,.95));
  box-shadow:0 18px 40px rgba(15,23,42,.10);
  border:1px solid rgba(148,163,184,.25);
  text-align:left;
}

.pv-legal-title{
  margin:0 0 6px;
  font-size:20px;
  font-weight:700;
}

.pv-legal-text{
  margin:0 0 14px;
  font-size:14px;
  color:#4b5563;
}

.pv-check{
  position:relative;
  display:grid;
  grid-template-columns:auto 1fr;
  align-items:flex-start;
  column-gap:10px;
  row-gap:4px;
  padding:10px 10px;
  border-radius:12px;
  cursor:pointer;
  user-select:none;
  transition:background .2s ease, box-shadow .2s ease, transform .15s ease;
}

.pv-check:hover{
  background:rgba(15,23,42,.02);
  box-shadow:0 6px 16px rgba(15,23,42,.08);
  transform:translateY(-1px);
}

.pv-check input[type="checkbox"]{
  position:absolute;
  opacity:0;
  pointer-events:none;
}

.pv-check-box{
  width:20px;
  height:20px;
  border-radius:8px;
  border:2px solid #cbd5f5;
  background:#f9fafb;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.7);
  transition:all .2s ease;
}

.pv-check-box::after{
  content:"";
  width:10px;
  height:10px;
  border-radius:4px;
  background:transparent;
  transition:background .18s ease, transform .18s ease;
  transform:scale(.6);
}

.pv-check input:checked + .pv-check-box{
  border-color:#2563eb;
  background:linear-gradient(135deg, #2563eb, #4f46e5);
  box-shadow:
    0 4px 10px rgba(37,99,235,.45),
    inset 0 1px 0 rgba(255,255,255,.4);
}

.pv-check input:checked + .pv-check-box::after{
  background:#ffffff;
  transform:scale(.9);
}

    .pv-legal-error{
  display:none;
  margin-bottom:10px;
  padding:8px 10px;
  border-radius:10px;
  font-size:13px;
  background:#fee2e2;   /* rot */
  color:#b91c1c;
  border:1px solid #fecaca;
}
.pv-legal-error.visible{
  display:block;
}
.pv-legal-error.ok{
  background:#dcfce7;   /* grün */
  color:#166534;
  border-color:#bbf7d0;
}

    /* Text */
.pv-check-label{
  font-size:14px;
  color:#111827;
  line-height:1.4;
}
.pv-check-label a{
  color:#2563eb;
  font-weight:600;
  text-decoration:none;
}
.pv-check-label a:hover{
  text-decoration:underline;
}

      .footer-copy {
  margin-top: 20px;
  font-size: 11.5px;
  color: rgba(0,0,0,0.55);
  text-align: center;
}

    .footer-copy {
  letter-spacing: 0.2px;
}
        .errorbox{
      margin-top:14px;
      padding:10px 12px;
      border-radius:12px;
      font-size:13px;
      display:none;
      border:1px solid #fecaca;
      background:#fee2e2;
      color:#b91c1c;
    }
    .errorbox.visible{
      display:block;
    }

    /* 📱 Mobile Header – Logo näher an den Rand */
@media (max-width: 640px){

  header.chrome{
    padding: 12px 12px;     /* vorher ~14px 16–40px → weniger Innenrand */
  }

  /* Logo minimal optisch ausbalancieren */
  .logo{
    margin-left: 0;         /* falls irgendwo Margin sitzt → weg */
  }

  .logo .pv-logo{
    margin-left: -2px;      /* Optical alignment (Logo wirkt mittiger) */
  }
}