
  @font-face { font-family: "Outfit"; src: url("outfit.woff2") format("woff2"); font-weight: 100 900; }
  @font-face { font-family: "Open Sans"; src: url("opensans.woff2") format("woff2"); font-weight: 300 800; }
  @page { size: A4; margin: 0; }
  :root {
    --papier: #f6f1e4; --papier2: #efe7d3; --tinte: #23262a; --grau: #6b6f73;
    --blau: #004da8; --gruen: #009636; --gelb: #ffd200; --rot: #c8102e; --linie: #d9cfb7;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html, body { background: #888; }
  body { font-family: "Open Sans", sans-serif; color: var(--tinte); font-size: 10.5pt; line-height: 1.45;
         -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .seite { width: 210mm; height: 297mm; position: relative; overflow: hidden; background: var(--papier);
           page-break-after: always; break-after: page; margin: 0 auto; }
  .seite:last-child { page-break-after: auto; break-after: auto; }
  /* Aktenreiter am rechten Rand */
  .reiter { position: absolute; right: 0; top: 34mm; width: 12mm; height: 52mm; border-radius: 4mm 0 0 4mm;
            display: flex; align-items: center; justify-content: center; }
  .reiter span { transform: rotate(90deg); white-space: nowrap; font-family: "Outfit"; font-weight: 800; font-size: 13pt;
                 letter-spacing: .12em; color: #fff; }
  .w .reiter { background: var(--blau); } .p .reiter { background: var(--gelb); } .p .reiter span { color: var(--tinte); }
  .d .reiter { background: var(--gruen); }
  .innen { position: absolute; left: 16mm; right: 22mm; top: 14mm; bottom: 14mm; }
  .kopf { display: flex; justify-content: space-between; align-items: flex-end; border-bottom: 1.2pt solid var(--tinte);
          padding-bottom: 2.5mm; margin-bottom: 6mm; }
  .kopf .art { font-family: "Outfit"; font-weight: 700; font-size: 9pt; letter-spacing: .25em; color: var(--grau); }
  .kopf .nr { font-family: "Courier New", monospace; font-size: 9.5pt; color: var(--grau); }
  h1 { font-family: "Outfit"; font-weight: 800; font-size: 30pt; line-height: 1.02; letter-spacing: -.01em; }
  h1 small { display: block; font-size: 13pt; font-weight: 600; color: var(--grau); letter-spacing: 0; margin-top: 1.5mm; }
  h2 { font-family: "Outfit"; font-weight: 800; font-size: 14pt; margin: 6mm 0 2.5mm; }
  .w h2 { color: var(--blau); } .p h2 { color: #8a6a00; } .d h2 { color: var(--gruen); }
  p { margin-bottom: 2.4mm; }
  ul { margin: 0 0 2.4mm 4.5mm; } li { margin-bottom: 1.2mm; }
  .fuss { position: absolute; left: 16mm; right: 22mm; bottom: 8mm; display: flex; justify-content: space-between;
          font-family: "Outfit"; font-size: 8pt; color: var(--grau); border-top: .6pt solid var(--linie); padding-top: 2mm; }
  /* Stammdaten-Formular */
  .formular { width: 100%; border-collapse: collapse; font-size: 10pt; }
  .formular td { border-bottom: .6pt solid var(--linie); padding: 1.7mm 1.5mm; vertical-align: top; }
  .formular td:first-child { width: 33mm; font-family: "Outfit"; font-weight: 700; font-size: 8pt; letter-spacing: .12em;
                             text-transform: uppercase; color: var(--grau); padding-top: 2.2mm; }
  .formular td:last-child { font-family: "Courier New", monospace; font-size: 10.5pt; }
  /* Passbild mit Büroklammer */
  .passbild { position: absolute; right: 0; top: 0; width: 54mm; background: #fff; padding: 2.5mm 2.5mm 7mm;
              box-shadow: 0 1.2mm 3mm rgba(0,0,0,.18); transform: rotate(2.2deg); }
  .passbild img { width: 100%; display: block; }
  .passbild .unter { font-family: "Courier New", monospace; font-size: 8pt; text-align: center; margin-top: 1.5mm; color: var(--grau); }
  .klammer { position: absolute; top: -7mm; left: 9mm; width: 9mm; height: 26mm; }
  .stempel { position: absolute; font-family: "Outfit"; font-weight: 900; letter-spacing: .12em; border: 1.1mm solid;
             border-radius: 2.5mm; padding: 1.5mm 4mm; text-transform: uppercase; opacity: .82; }
  .stempel.rot { color: var(--rot); border-color: var(--rot); }
  .stempel.gruen { color: var(--gruen); border-color: var(--gruen); }
  .zwei { display: grid; grid-template-columns: 1fr 1fr; gap: 6mm; }
  .notiz { background: #fff8c4; padding: 3.5mm 4.5mm; box-shadow: 0 .8mm 2mm rgba(0,0,0,.12); transform: rotate(-.8deg);
           font-size: 10pt; margin: 3mm 0; }
  .zitat { font-family: "Outfit"; font-weight: 600; font-size: 11.5pt; padding: 2.4mm 4mm; margin-bottom: 2.4mm;
           border-radius: 4mm 4mm 4mm 0; display: inline-block; }
  .w .zitat { background: var(--blau); color: #fff; } .p .zitat { background: var(--gelb); border-radius: 4mm 4mm 0 4mm; }
  .zeitstrahl { border-left: 1mm solid var(--blau); margin-left: 2mm; padding-left: 5mm; }
  .zeitstrahl div { position: relative; margin-bottom: 2.6mm; display: grid; grid-template-columns: 19mm 1fr; }
  .zeitstrahl div::before { content: ""; position: absolute; left: -7.6mm; top: 1.6mm; width: 3.2mm; height: 3.2mm; border-radius: 50%;
                            background: var(--papier); border: .8mm solid var(--blau); }
  .zeitstrahl b { font-family: "Outfit"; }
  .p .zeitstrahl { border-color: #e0b800; } .p .zeitstrahl div::before { border-color: #e0b800; }
  .bild { background: #fff; padding: 2mm; box-shadow: 0 1mm 2.5mm rgba(0,0,0,.15); }
  .bild img { width: 100%; display: block; }
  .bild .unter { font-family: "Courier New", monospace; font-size: 8pt; color: var(--grau); margin-top: 1.2mm; }
  .drei { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4mm; }
  .drei .bild img { aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 30%; }
  .drei .bild:nth-child(1) { transform: rotate(-1.5deg); } .drei .bild:nth-child(3) { transform: rotate(1.4deg); }
  .quelle { font-size: 7.6pt; color: var(--grau); margin-top: 3mm; }
  /* Deckblatt */
  .deck { background: var(--papier2); }
  .deck .mappe { position: absolute; inset: 18mm 18mm 18mm 18mm; border: .8pt solid #c9bd9f; border-radius: 3mm; }
  .deck h1 { font-size: 48pt; text-align: center; margin-top: 30mm; }
  .deck .unterzeile { text-align: center; font-family: "Outfit"; font-weight: 600; font-size: 14pt; color: var(--grau); margin-top: 3mm; }
  .deck .foto { position: absolute; left: 50%; top: 92mm; width: 128mm; margin-left: -64mm; background: #fff; padding: 4mm 4mm 12mm;
                box-shadow: 0 2mm 5mm rgba(0,0,0,.2); transform: rotate(-1.6deg); }
  .deck .foto img { width: 100%; display: block; }
  .deck .foto .unter { font-family: "Courier New", monospace; font-size: 10pt; text-align: center; margin-top: 3mm; }
  .blasen { display: block; margin: 0 auto; width: 46mm; margin-top: 24mm; }
  .vergleich { width: 100%; border-collapse: collapse; font-size: 9.8pt; }
  .vergleich th { font-family: "Outfit"; font-weight: 800; font-size: 11pt; text-align: left; padding: 2mm; }
  .vergleich th:nth-child(2) { color: var(--blau); } .vergleich th:nth-child(3) { color: #8a6a00; }
  .vergleich td { border-top: .6pt solid var(--linie); padding: 1.8mm 2mm; vertical-align: top; }
  .vergleich td:first-child { font-family: "Outfit"; font-weight: 700; font-size: 8pt; letter-spacing: .12em; text-transform: uppercase; color: var(--grau); width: 26mm; }

/* ---------- Bildschirm (Webfassung) ---------- */
@media screen {
  html, body { background: #ddd5c2; }
  body { padding: 28px 0 10px; }
  .seite { height: auto; width: calc(100% - 24px); max-width: 820px; margin: 0 auto 30px; border-radius: 6px;
           box-shadow: 0 8px 28px rgba(0,0,0,.18); overflow: hidden; }
  .innen { position: relative; left: auto; right: auto; top: auto; bottom: auto; padding: 44px 74px 18px 44px; }
  .fuss { position: static; margin: 0 74px 0 44px; padding-bottom: 22px; }
  .deck { padding: 34px 0 10px; }
  .deck .mappe { display: none; }
  .deck .foto { position: relative; left: auto; top: auto; margin: 34px auto 0; width: min(128mm, 86%); }
  .deck .stempel { position: relative !important; left: auto !important; top: auto !important; display: table; margin: -26px 8% 30px auto; }
  .deck .fuss { margin: 0 44px; }
  .bild[style*="position:absolute"] { position: relative !important; left: auto !important; bottom: auto !important;
                                      display: inline-block; vertical-align: top; margin: 10px 18px 0 0; }
  .stempel[style*="right:"] { position: relative !important; right: auto !important; bottom: auto !important;
                              display: inline-block; vertical-align: middle; margin: 24px 0 0 10px; }
  .nav { max-width: 820px; width: calc(100% - 24px); margin: 0 auto 26px; display: flex; flex-wrap: wrap; gap: 10px 22px;
         justify-content: space-between; font-family: "Outfit"; font-size: 11pt; color: #3c3f42; }
  .nav a { color: #004da8; font-weight: 700; text-decoration: none; }
  .nav a:hover, .nav a:focus { text-decoration: underline; }
}
@media screen and (max-width: 720px) {
  .innen { padding: 26px 18px 10px; }
  .fuss { margin: 0 18px; }
  .reiter { display: none; }
  .zwei, .drei { grid-template-columns: 1fr; }
  .passbild { position: relative; right: auto; top: auto; width: 62%; margin: 18px auto 6px; }
  div[style*="width:105mm"] { width: auto !important; }
  .bild[style*="width:"] { width: 100% !important; }
  .bild[style*="position:absolute"] { width: 78% !important; display: block; margin: 14px auto 0; }
  h1 { font-size: 24pt; } .deck h1 { font-size: 32pt; }
  .formular td:first-child { width: 26mm; }
  .vergleich { font-size: 9pt; }
}
/* ---------- Kopfleiste (immer sichtbar) ---------- */
.leiste { position: sticky; top: 0; z-index: 50; background: rgba(246,241,228,.97); border-bottom: 1px solid #d9cfb7;
          box-shadow: 0 2px 10px rgba(0,0,0,.08); }
.leiste .innen2 { max-width: 980px; margin: 0 auto; height: 64px; display: grid; grid-template-columns: 1fr auto 1fr;
                  align-items: center; padding: 0 18px; font-family: "Outfit"; }
.leiste a { color: #23262a; text-decoration: none; font-weight: 700; font-size: 12pt; letter-spacing: .02em; }
.leiste a:hover, .leiste a:focus-visible, .leiste a[aria-current] { color: #004da8; }
.leiste .links { justify-self: end; margin-right: 34px; } .leiste .rechts { justify-self: start; margin-left: 34px; }
.leiste .marke { display: flex; align-items: center; gap: 10px; }
.leiste .marke svg { width: 58px; height: 32px; } .leiste .marke span { font-weight: 500; font-size: 13pt; }
.leiste details { display: none; }
@media (max-width: 720px) {
  .leiste .innen2 { grid-template-columns: 1fr auto; height: 56px; }
  .leiste .links, .leiste .rechts { display: none; }
  .leiste .marke { justify-self: start; }
  .leiste details { display: block; justify-self: end; position: relative; }
  .leiste summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; place-items: center; }
  .leiste summary::-webkit-details-marker { display: none; }
  .leiste summary span, .leiste summary span::before, .leiste summary span::after { display: block; width: 24px; height: 3px;
     background: #23262a; border-radius: 2px; position: relative; content: ""; }
  .leiste summary span::before { position: absolute; top: -8px; } .leiste summary span::after { position: absolute; top: 8px; }
  .leiste details[open] nav { position: absolute; right: 0; top: 50px; background: #f6f1e4; border: 1px solid #d9cfb7;
     border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.15); padding: 8px 0; min-width: 190px; }
  .leiste details nav a { display: block; padding: 12px 20px; }
}
@media screen { body { padding-top: 0; } .leiste + * { margin-top: 26px; } }
@media print { .leiste, .nav { display: none; } }
.mo-seite { max-width: 980px; margin: 0 auto; padding: 0 16px 30px; }
.mo-seite h1 { font-family: "Outfit"; font-size: 30pt; margin: 8px 0 4px; } .mo-intro { color: #6b6f73; margin-bottom: 10px; }
.mo h2 { font-family: "Outfit"; font-size: 20pt; margin: 26px 0 12px; }
.mo ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; counter-reset: s; }
.mo li { background: #fff; border-radius: 6px; box-shadow: 0 3px 12px rgba(0,0,0,.10); overflow: hidden; display: flex; flex-direction: column; counter-increment: s; }
.mo figure { margin: 0; background: #fff; height: 300px; display: flex; align-items: center; justify-content: center; padding: 14px; }
.mo figure img { max-width: 100%; max-height: 100%; object-fit: contain; }
.mo li div { padding: 12px 16px 16px; border-top: 1px solid #ece6d6; }
.mo li b { font-family: "Outfit"; font-size: 12.5pt; } .mo li b::before { content: counter(s) ". "; color: #6b6f73; }
.mo li p { margin: 4px 0 0; font-size: 10.5pt; color: #3c3f42; }
.galerie { max-width: 980px; margin: 0 auto; padding: 10px 16px 40px; columns: 3 280px; column-gap: 18px; }
.galerie figure { break-inside: avoid; margin: 0 0 18px; background: #fff; padding: 8px; box-shadow: 0 3px 10px rgba(0,0,0,.12); }
.galerie img { width: 100%; display: block; }
.text { max-width: 760px; margin: 0 auto; padding: 40px 24px 60px; font-size: 11pt; line-height: 1.6; }
.text h1 { font-size: 26pt; margin-bottom: 18px; } .text h2 { font-family: "Outfit"; margin: 22px 0 8px; font-size: 14pt; }
.text a { color: #004da8; }
