/* Impressum, Datenschutz, AGB — simple readable pages in the site's style */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: #fbfaf8; color: #1d1d1f;
  font-family: "Geist", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased;
}
a { color: #c40000; text-decoration: none; }
a:hover { color: #8f0000; text-decoration: underline; }
:focus-visible { outline: 3px solid #dd0000; outline-offset: 3px; border-radius: 6px; }

.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bg span { position: absolute; border-radius: 50%; filter: blur(90px); }
.bg .g { width: 520px; height: 520px; top: -160px; right: -140px; background: #ffce00; opacity: .45; }
.bg .r { width: 440px; height: 440px; top: 120px; left: -180px; background: #dd0000; opacity: .18; }
.bg .b { width: 420px; height: 420px; bottom: -160px; right: 20%; background: #000; opacity: .10; }

header {
  position: sticky; top: 16px; z-index: 10; max-width: 1100px; margin: 16px auto 0; padding: 0 16px;
}
.bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  height: 60px; padding: 0 12px 0 20px; border-radius: 980px;
  background: linear-gradient(135deg, rgba(255,255,255,.72), rgba(255,255,255,.42));
  -webkit-backdrop-filter: blur(30px) saturate(190%); backdrop-filter: blur(30px) saturate(190%);
  border: 1px solid rgba(255,255,255,.8);
  box-shadow: inset 0 1.5px 0 rgba(255,255,255,.95), 0 12px 40px rgba(40,30,20,.12);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -.02em; color: #13213f; }
.brand:hover { text-decoration: none; color: #13213f; }
.brand img { height: 38px; width: auto; }
.home { display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border-radius: 980px; background: #1d1d1f; color: #fff; font-size: 14px; font-weight: 500; white-space: nowrap; }
.home:hover { background: #000; color: #fff; text-decoration: none; }

main { max-width: 820px; margin: 0 auto; padding: 64px 20px 40px; }
.flag { display: flex; width: 54px; height: 5px; border-radius: 3px; overflow: hidden; margin-bottom: 18px; }
.flag i { flex: 1; } .flag i:nth-child(1) { background: #000; } .flag i:nth-child(2) { background: #dd0000; } .flag i:nth-child(3) { background: #ffce00; }
h1 { margin: 0 0 10px; font-size: clamp(38px, 7vw, 60px); line-height: 1.04; letter-spacing: -.035em; }
.lead { margin: 0 0 32px; color: #6e6e73; font-size: 18px; }
.en { font-size: 14px; color: #6e6e73; margin: -18px 0 32px; }
.card {
  border-radius: 28px; padding: clamp(22px, 4vw, 40px); margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(255,255,255,.72), rgba(255,255,255,.5));
  border: 1px solid rgba(255,255,255,.85);
  box-shadow: inset 0 1.5px 0 rgba(255,255,255,.95), 0 12px 40px rgba(40,30,20,.08);
}
h2 { margin: 36px 0 10px; font-size: 22px; letter-spacing: -.02em; line-height: 1.25; }
.card > h2:first-child { margin-top: 0; }
h3 { margin: 24px 0 6px; font-size: 18px; letter-spacing: -.01em; }
p, li { color: #3a3a3c; }
ul, ol { padding-left: 1.3em; }
address { font-style: normal; }
.ph {
  background: rgba(255,206,0,.35); color: #5a4700; border-radius: 6px; padding: 1px 6px;
  font-weight: 600; font-size: .95em; white-space: normal;
}
.note {
  border-radius: 18px; padding: 16px 20px; margin-bottom: 20px;
  background: rgba(255,206,0,.2); border: 1px solid rgba(224,168,0,.35); color: #5a4700; font-size: 15px;
}
.toc { columns: 2; column-gap: 32px; margin: 0; padding-left: 1.2em; font-size: 15px; }
@media (max-width: 600px) { .toc { columns: 1; } }
.muster { border-left: 4px solid #ffce00; padding: 4px 0 4px 18px; margin: 12px 0; }

footer { max-width: 820px; margin: 0 auto; padding: 24px 20px 48px; font-size: 14px; color: #6e6e73; display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between; }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer a { color: #3a3a3c; }
footer a[aria-current="page"] { color: #c40000; font-weight: 600; }

@media (max-width: 480px) {
  .brand span { display: none; }
  body { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
