
.bs-fenster { position:fixed; inset:0; height:fit-content; margin:auto; width:min(600px,calc(100% - 32px)); max-width:none; max-height:calc(100dvh - 32px); padding:0; border:1px solid var(--line); border-radius:28px;
  background:radial-gradient(520px 220px at 85% -10%,rgba(201,164,92,.22),transparent 70%),var(--surface,var(--bg)); color:var(--text);
  box-shadow:0 40px 120px -30px rgba(43,36,24,.45); overflow:auto; overscroll-behavior:contain; }
.bs-fenster::backdrop { background:rgba(30,25,17,.42); -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px); }
.bs-fenster-innen { position:relative; padding:40px 44px 28px; text-align:center; outline:none; }
.bs-fenster-zu { position:absolute; top:12px; right:12px; display:grid; place-items:center; width:44px; height:44px; padding:0; border:0; border-radius:50%; background:transparent; color:var(--muted); cursor:pointer; }
.bs-fenster-zu svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; }
.bs-fenster-zu:hover { background:var(--surface-2); color:var(--text); }
.bs-fenster-marke { display:inline-flex; align-items:center; gap:12px; margin-bottom:22px; }
.bs-fenster-marke span { font-size:13px; font-weight:600; letter-spacing:.24em; line-height:1.35; text-align:left; color:var(--text); }
.bs-fenster h2 { margin:0 auto 16px; max-width:20ch; font-size:clamp(26px,5vw,32px); line-height:1.15; letter-spacing:-.02em; font-weight:600; text-wrap:balance; color:var(--text); }
.bs-fenster p { margin:0 auto 14px; max-width:42ch; font-size:17px; line-height:1.55; color:var(--muted); text-wrap:pretty; }
.bs-fenster .bs-fenster-saeulen { margin:4px auto 18px; font-size:17px; font-weight:600; letter-spacing:.01em; color:var(--gold); text-wrap:balance; }
.bs-fenster-knoepfe { display:flex; flex-wrap:wrap; justify-content:center; gap:12px; margin-top:24px; }
.bs-fenster-knoepfe .button { min-height:52px; padding-inline:26px; font-size:16px; }
.bs-fenster-spaeter { margin-top:14px; min-height:44px; padding:0 16px; border:0; background:none; color:var(--muted); font:inherit; font-size:15px; cursor:pointer; text-decoration:underline; text-underline-offset:3px; text-decoration-color:var(--line); }
.bs-fenster-spaeter:hover { color:var(--text); }
.bs-fenster :focus-visible { outline:2px solid var(--gold); outline-offset:3px; }
@media (max-width:640px) {
  .bs-fenster { width:100%; max-width:100%; margin:auto 0 0; border-radius:28px 28px 0 0; border-bottom:0; max-height:92dvh; }
  .bs-fenster-innen { padding:28px 22px calc(16px + env(safe-area-inset-bottom)); }
  .bs-fenster-marke { margin-bottom:16px; } .bs-fenster-marke img { width:32px; height:auto; }
  .bs-fenster h2 { font-size:25px; margin-bottom:12px; }
  .bs-fenster p { margin-bottom:10px; }
  .bs-fenster-knoepfe { margin-top:18px; gap:10px; }
  .bs-fenster-spaeter { margin-top:6px; }
  .bs-fenster-knoepfe { flex-direction:column; }
  .bs-fenster-knoepfe .button { width:100%; justify-content:center; }
}
@media (prefers-reduced-motion:no-preference) {
  .bs-fenster[open] { animation:bs-fenster-rein .42s cubic-bezier(.23,1,.32,1); }
  .bs-fenster[open]::backdrop { animation:bs-fenster-schleier .3s ease-out; }
  @media (max-width:640px) { .bs-fenster[open] { animation-name:bs-fenster-hoch; } }
}
@keyframes bs-fenster-rein { from { opacity:0; transform:translateY(12px) scale(.97); } }
@keyframes bs-fenster-hoch { from { transform:translateY(100%); } }
@keyframes bs-fenster-schleier { from { opacity:0; } }
@media print { .bs-fenster { display:none !important; } }
