    :root{
      --accent:#f6cd48;
      --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 für Screenreader & Tastatur */
    .skip-link {
      position:absolute;
      top:-40px;
      left:10px;
      background:#f6cd48;
      color:#111;
      padding:8px 12px;
      border-radius:6px;
      z-index:9999;
      transition:top 0.2s;
    }
    .skip-link:focus-visible {top: 10px;}

    /* Chrome-Bereiche */
    .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 als große Pille (wie Startseite) ===== */
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;

  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.chrome.scrolled {
  background: linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0.06));
  -webkit-backdrop-filter: blur(26px) saturate(180%);
  backdrop-filter: blur(26px) saturate(180%);
}

    .logo{
  display:flex;
  align-items:center;
  text-decoration:none;
}

.logo .pv-logo{
  height:32px;
  width:auto;
  display:block;
}

    .page-wrap{
      max-width:1100px;
      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;
      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,.45),
        0 30px 70px rgba(15,23,42,.28);
    transform:translateY(-2px);
    }

    .legal-card h1{
      margin:0 0 12px;
      font-size:clamp(28px,4vw,40px);
      font-weight:800;
    }
    .legal-card p,.legal-card li{line-height:1.6; color:#2a2a2a;}
    .legal-card h2{margin-top:24px; font-size:20px;}

    :focus-visible{
      outline:3px solid #f6cd48;
      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:var(--text)!important;
      text-decoration:none!important;
    }
    footer .footer-links a:hover{
      color:var(--text)!important;
      text-decoration:underline!important;
      text-underline-offset:3px;
    }
    footer .divider{
      display:inline-block;
      margin-inline:12px;
      opacity:.4;
      line-height:1;
    }

    @media(max-width:640px){
      .page-wrap{padding:56px 16px;}
      footer .footer-links{flex-direction:column; gap:6px;}
    }

    /* 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;}
    }

    /* 📱 Handy-Footer identisch zur Hauptseite */
@media (max-width: 480px) {
  footer.chrome {
    padding: 18px 10px;   /* gleiche Innenabstände */
    font-size: 14px;      /* kleinere Schrift wie im Formular */
  }

  footer .footer-links {
    flex-direction: column !important;  /* Links untereinander */
    align-items: center;
    justify-content: center;
    gap: 6px;                           /* gleichmäßiger Abstand */
  }

  footer .divider {
    display: none !important;           /* senkrechte Striche ausblenden */
  }
}

        @media (max-width: 480px) {
  footer .footer-links a[href*="impressum"] { order: 1 }
  footer .footer-links a[href*="datenschutz"] { order: 2; }
  footer .footer-links a[href*="leistungen"]  { order: 3; }
  footer .footer-links a[href^="mailto:"]     { order: 4; }

  footer .footer-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
  }

  footer .divider {
    display: none !important;
  }
}

    /* Footer-Links ausgegraut, beim Hover schwarz */
footer .footer-links a {
  color: #b9b9b9 !important;   /* hellgrau wie im Screenshot */
  text-decoration: none !important;
  transition: color 0.2s ease;
}

footer .footer-links a:hover {
  color: #000 !important;       /* beim Hover schwarz */
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

/* Trenner auch grau */
footer .footer-links .divider {
  color: #b9b9b9;
  opacity: 1;                   /* damit es genauso wirkt wie im Screenshot */
}

    /* Blockschrift für Überschriften */
.legal-card h1,
.legal-card h2,
.legal-card h3 {
    text-transform: uppercase;
}

/* 1,5-facher Zeilenabstand */
.legal-card p,
.legal-card li {
    line-height: 1.5;
}

    header.chrome {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

/* Container rechts im Header */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Suchfeld */
.agb-search input[type="search"] {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.08);
  font-size: 14px;
  min-width: 180px;
  background: rgba(255,255,255,0.7);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

/* Button Drucken */
.print-btn {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.08);
  background: #fff;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
}

.print-btn:hover {
  background: #f3f4f6;
  box-shadow: 0 2px 6px rgba(15,23,42,0.18);
  transform: translateY(-1px);
}

.print-btn:active {
  transform: translateY(0);
  box-shadow: none;
}

/* Screenreader-Only-Label */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Mobile: Suche & Drucken untereinander */
@media (max-width: 640px) {
  .header-actions {
    gap: 8px;
  }

  .agb-search input[type="search"] {
    min-width: 140px;
  }
}

/* Druckansicht: nur AGB-Text, keine Navigation/Chrome */
@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;
  }
}

    /* Hervorhebung für Suchtreffer */
.agb-highlight {
  background: #ffeaa7;
  padding: 0 1px;
  border-radius: 3px;
}

  .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;
}

/* ===== Header Suche sichtbar fix ===== */

/* Input etwas breiter + Text nicht abgeschnitten */
.agb-search input[type="search"],
.dsgvo-search input[type="search"],
.leistungsbeschreibung-search input[type="search"]{
  width: 200px;          /* vorher 180 */
  min-width: 200px;
  padding: 6px 14px;     /* mehr Innenabstand */
}

/* Header rechts etwas mehr Platz geben */
.header-actions{
  gap: 12px;
}

/* Mobile: sauber sichtbar, nichts abgeschnitten */
@media (max-width: 640px){

  .agb-search input[type="search"],
  .dsgvo-search input[type="search"],
  .leistungsbeschreibung-search input[type="search"]{
    width: 160px;
    min-width: 160px;
  }

}

/* 📱 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) */
  }
}