/* ---------------------------------------------------------------
   SmartSearch - gemeinsames Stylesheet aller Seiten.

   Farbwelt: Archiv statt Cloud. Papierkuehles Weiss, Tinte als
   Dunkelton, ein gedecktes Aktengruen als einziger Akzent. Die
   Neutraltoene haben einen leichten Gruenstich, damit sie gewaehlt
   wirken und nicht wie ein Standardgrau.
   --------------------------------------------------------------- */

:root {
  --papier:      #f7f7f6;
  --flaeche:     #ffffff;
  --flaeche-alt: #eeeeec;
  --tinte:       #14181f;
  --text:        #2c3340;
  --gedaempft:   #6b7280;
  --linie:       #dddcd7;
  --akzent:      #c1361f;
  --akzent-hell: #d4472e;
  --akzent-weich:#f7e7e3;
  --schatten:    0 1px 2px rgba(20,24,31,.05), 0 8px 24px rgba(20,24,31,.07);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --papier:      #14161a;
    --flaeche:     #1c1f25;
    --flaeche-alt: #23272e;
    --tinte:       #f2f3f5;
    --text:        #d2d6dd;
    --gedaempft:   #8b929e;
    --linie:       #2d323a;
    --akzent:      #e8674c;
    --akzent-hell: #f18a72;
    --akzent-weich:#2e1d18;
    --schatten:    0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.4);
  }
}
:root[data-theme="dark"] {
  --papier:      #14161a;
  --flaeche:     #1c1f25;
  --flaeche-alt: #23272e;
  --tinte:       #f2f3f5;
  --text:        #d2d6dd;
  --gedaempft:   #8b929e;
  --linie:       #2d323a;
  --akzent:      #e8674c;
  --akzent-hell: #f18a72;
  --akzent-weich:#2e1d18;
  --schatten:    0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.4);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--papier);
  color: var(--text);
  font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.bahn { max-width: 1040px; margin: 0 auto; padding: 0 28px; }

/* Sprungmarke fuer Tastaturbedienung - erste Station beim Tabben. */
.springen {
  position: absolute; left: -9999px;
  background: var(--akzent); color: #fff;
  padding: 12px 20px; border-radius: 0 0 8px 0; z-index: 100;
  text-decoration: none; font-weight: 600;
}
.springen:focus { left: 0; top: 0; }

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--akzent); outline-offset: 3px; border-radius: 3px;
}

/* ---------- Kopfzeile ---------- */
header {
  border-bottom: 1px solid var(--linie);
  position: sticky; top: 0; z-index: 10;
  background: var(--papier);
}
@supports (backdrop-filter: blur(12px)) {
  header { background: color-mix(in srgb, var(--papier) 86%, transparent);
           backdrop-filter: saturate(180%) blur(12px); }
}
.kopf { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.marke {
  font-family: 'IBM Plex Serif', Georgia, serif;
  font-weight: 600; font-size: 18px; color: var(--tinte);
  letter-spacing: -.01em; text-decoration: none;
}
.marke span { color: var(--akzent); }
.kopf nav { display: flex; gap: 26px; align-items: center; }
.kopf nav a { font-size: 14px; color: var(--gedaempft); text-decoration: none; transition: color .15s; }
.kopf nav a:hover { color: var(--tinte); }
@media (max-width: 720px) {
  .kopf nav { gap: 18px; }
  .kopf nav a { font-size: 13px; }
}
@media (max-width: 560px) {
  /* Auf schmalen Bildschirmen reichte der Platz nicht: die Navigation
     ueberlappte den Markennamen und lief rechts aus dem Bild. Dort bleibt
     nur der Verweis zum Herunterladen stehen - der einzige, den man auf
     dem Telefon wirklich braucht. Die uebrigen Ziele sind ohnehin
     Sprungmarken auf derselben Seite. */
  .kopf nav a { display: none; }
  .kopf nav a[href$="#laden"], .kopf nav a[href="index.html#laden"] {
    display: inline; font-weight: 500; color: var(--akzent);
  }
  .bahn { padding: 0 20px; }
}

/* ---------- Typografie ---------- */
h1 {
  font-family: 'IBM Plex Serif', Georgia, serif;
  font-size: clamp(32px, 5.4vw, 55px);
  line-height: 1.1; font-weight: 600; color: var(--tinte);
  letter-spacing: -.02em; text-wrap: balance; margin-bottom: 22px;
}
h1 em { font-style: normal; color: var(--akzent); }
h2 {
  font-family: 'IBM Plex Serif', Georgia, serif;
  font-size: 27px; font-weight: 600; color: var(--tinte);
  letter-spacing: -.015em; margin-bottom: 14px; text-wrap: balance;
}
h3 { font-size: 16px; font-weight: 600; color: var(--tinte); }
.marker {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 11.5px; letter-spacing: .13em; text-transform: uppercase;
  color: var(--akzent); margin-bottom: 22px;
}
.vorspann { font-size: 18.5px; line-height: 1.62; color: var(--gedaempft); max-width: 560px; margin-bottom: 40px; }
.einleitung { color: var(--gedaempft); max-width: 580px; margin-bottom: 40px; }

/* ---------- Vorfuehrung im Auftakt ---------- */
.auftakt { padding: 96px 0 72px; }
@media (max-width: 640px) { .auftakt { padding: 60px 0 48px; } }

.buehne {
  background: var(--flaeche); border: 1px solid var(--linie);
  border-radius: 12px; box-shadow: var(--schatten);
  overflow: hidden; max-width: 720px;
}
.buehne-leiste {
  display: flex; align-items: center; gap: 7px;
  padding: 12px 16px; border-bottom: 1px solid var(--linie);
  background: var(--flaeche-alt);
}
.punkt { width: 10px; height: 10px; border-radius: 50%; background: var(--linie); }
.buehne-titel { margin-left: 8px; font-size: 12px; color: var(--gedaempft);
  font-family: 'IBM Plex Mono', ui-monospace, monospace; }
.eingabe { padding: 22px 24px 20px; border-bottom: 1px solid var(--linie);
  display: flex; align-items: center; gap: 12px; }
.lupe { width: 17px; height: 17px; flex-shrink: 0; color: var(--gedaempft); }
.getippt { font-size: 18px; color: var(--tinte); font-weight: 500; min-height: 27px; }
.caret { display: inline-block; width: 1.5px; height: 19px; background: var(--akzent);
  vertical-align: -3px; margin-left: 2px; animation: blinken 1.05s step-end infinite; }
@keyframes blinken { 50% { opacity: 0; } }

.treffer { padding: 6px 0 10px; }
.zeile { display: flex; align-items: baseline; gap: 14px; padding: 13px 24px;
  opacity: 0; transform: translateY(6px); animation: auftauchen .45s ease forwards; }
@keyframes auftauchen { to { opacity: 1; transform: none; } }
.wert { font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 11.5px;
  color: var(--akzent); background: var(--akzent-weich); padding: 2px 7px;
  border-radius: 4px; font-variant-numeric: tabular-nums; flex-shrink: 0; }
.datei { min-width: 0; }
.dateiname { font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 13.5px;
  color: var(--tinte); font-weight: 500; overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap; }
.ausschnitt { font-size: 12.5px; color: var(--gedaempft); margin-top: 3px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ausschnitt mark { background: var(--akzent-weich); color: var(--akzent-hell);
  padding: 0 2px; border-radius: 2px; }
.fussnote { padding: 12px 24px 16px; border-top: 1px solid var(--linie);
  font-size: 12.5px; color: var(--gedaempft); }

@media (prefers-reduced-motion: reduce) {
  .zeile { opacity: 1; transform: none; animation: none; }
  .caret { animation: none; }
  * { scroll-behavior: auto !important; }
}

/* ---------- Laden ---------- */
.laden { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 44px; }
.knopf {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--akzent); color: #fff; font-size: 15.5px; font-weight: 600;
  padding: 14px 26px; border-radius: 8px; text-decoration: none;
  transition: background .15s, transform .15s;
}
.knopf:hover { background: var(--akzent-hell); }
.knopf:active { transform: translateY(1px); }
.knopf svg { width: 17px; height: 17px; }
.dabei { font-size: 13.5px; color: var(--gedaempft); line-height: 1.5; }
.dabei b { color: var(--text); font-weight: 500; }

/* ---------- Abschnitte ---------- */
section { padding: 76px 0; border-top: 1px solid var(--linie); }
@media (max-width: 640px) { section { padding: 52px 0; } }
.schutz { background: var(--flaeche); }

.gegen { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 720px) { .gegen { grid-template-columns: 1fr; } }
.karte { background: var(--flaeche); border: 1px solid var(--linie);
  border-radius: 10px; padding: 26px; }
.karte h3 { font-size: 13px; font-weight: 600; color: var(--gedaempft);
  text-transform: uppercase; letter-spacing: .07em; margin-bottom: 16px; }
.karte.hervor { border-color: var(--akzent); }
.karte.hervor h3 { color: var(--akzent); }
.frage { font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 13.5px;
  color: var(--tinte); margin-bottom: 12px; }
.karte p { font-size: 14.5px; color: var(--gedaempft); }

.raster { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 30px; }
@media (max-width: 860px) { .raster { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .raster { grid-template-columns: 1fr; } }
.gruppe h3 { font-size: 14.5px; margin-bottom: 10px; padding-bottom: 9px;
  border-bottom: 1px solid var(--linie); }
.gruppe ul { list-style: none; }
.gruppe li { font-size: 14px; color: var(--gedaempft); padding: 4px 0; line-height: 1.5; }

.punkte { display: grid; gap: 22px; max-width: 620px; }
.punkte > div { display: grid; grid-template-columns: 22px 1fr; gap: 14px; align-items: start; }
.haken { width: 20px; height: 20px; color: var(--akzent); margin-top: 2px; }
.punkte strong { display: block; color: var(--tinte); font-weight: 600; font-size: 15px; margin-bottom: 2px; }
.punkte span { font-size: 14.5px; color: var(--gedaempft); }

.hinweis { background: var(--flaeche-alt); border-left: 2px solid var(--akzent);
  border-radius: 0 8px 8px 0; padding: 20px 24px; margin-top: 34px; max-width: 620px; }
.hinweis h3 { font-size: 14.5px; margin-bottom: 7px; }
.hinweis p { font-size: 14px; color: var(--gedaempft); }
.hinweis ol { margin: 10px 0 0 18px; font-size: 14px; color: var(--gedaempft); }
.hinweis li { padding: 2px 0; }

/* ---------- Fragen und Antworten ---------- */
.fragen { max-width: 720px; }
.fragen details {
  border-bottom: 1px solid var(--linie); padding: 4px 0;
}
.fragen summary {
  font-size: 15.5px; font-weight: 500; color: var(--tinte);
  padding: 16px 30px 16px 0; cursor: pointer; list-style: none;
  position: relative;
}
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after {
  content: ""; position: absolute; right: 6px; top: 50%;
  width: 8px; height: 8px; margin-top: -6px;
  border-right: 1.5px solid var(--gedaempft); border-bottom: 1.5px solid var(--gedaempft);
  transform: rotate(45deg); transition: transform .18s;
}
.fragen details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.fragen summary:hover { color: var(--akzent); }
.fragen .antwort { font-size: 14.5px; color: var(--gedaempft); padding: 0 0 18px; max-width: 620px; }
.fragen .antwort p + p { margin-top: 10px; }

/* ---------- Rechtstexte ---------- */
.rechtstext { padding: 56px 0 80px; max-width: 720px; }
.rechtstext h1 { font-size: 34px; margin-bottom: 8px; }
.rechtstext .stand { font-size: 13px; color: var(--gedaempft);
  font-family: 'IBM Plex Mono', ui-monospace, monospace; margin-bottom: 40px; }
.rechtstext h2 { font-size: 20px; margin: 38px 0 12px; }
.rechtstext h3 { font-size: 16px; margin: 24px 0 8px; }
.rechtstext p { font-size: 15px; color: var(--text); margin-bottom: 14px; }
.rechtstext ul, .rechtstext ol { margin: 0 0 16px 22px; font-size: 15px; color: var(--text); }
.rechtstext li { padding: 3px 0; }
.rechtstext a { color: var(--akzent); }
.rechtstext strong { color: var(--tinte); }

/* Deutlich sichtbare Markierung fuer alles, was noch einzusetzen ist. */
.platzhalter {
  font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 13px;
  color: #7a5a12; background: #fbf3dc; padding: 1px 7px; border-radius: 3px;
  border: 1px dashed #cbb066;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .platzhalter {
    color: #ddc07a; background: #2a2417; border-color: #5f5330;
  }
}

/* ---------- Fehlerseite ---------- */
.fehlerseite { padding: 120px 0; text-align: center; }
.fehlerseite .zahl {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 72px; font-weight: 500; color: var(--akzent); line-height: 1;
  margin-bottom: 20px;
}
.fehlerseite p { color: var(--gedaempft); max-width: 420px; margin: 0 auto 32px; }
.fehlerseite .laden { justify-content: center; }

/* ---------- Fuss ---------- */
footer { border-top: 1px solid var(--linie); padding: 44px 0 60px; }
.fuss { display: flex; flex-wrap: wrap; gap: 30px; justify-content: space-between; }
.fuss p { font-size: 13px; color: var(--gedaempft); max-width: 380px; }
.fuss nav { display: flex; gap: 22px; align-items: flex-start; flex-wrap: wrap; }
.fuss nav a { font-size: 13px; color: var(--gedaempft); text-decoration: none; }
.fuss nav a:hover { color: var(--tinte); text-decoration: underline; }

/* ---------- Schaustueck: das Fenster der Anwendung ----------
   Kein nachgebautes Fenster in HTML, sondern eine Aufnahme der echten
   Oberflaeche. Sie traegt die Seite - deshalb randabfallend und ohne
   Rahmen, damit sie nicht wie ein eingeklebtes Bildchen wirkt. */
.schaustueck { margin: 0 0 12px; padding: 0 0 70px; }
.schaustueck img {
  width: 100%; height: auto; display: block;
  border-radius: 10px; box-shadow: 0 18px 50px rgba(23,29,28,.16);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .schaustueck img {
    box-shadow: 0 18px 50px rgba(0,0,0,.5);
  }
}
.schaustueck figcaption {
  margin-top: 16px; font-size: 13.5px; color: var(--gedaempft);
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
}

/* ---------- Fliesstext statt Kacheln ----------
   Die vorige Fassung stapelte Karten und Haekchenlisten - das Muster,
   das jede zweite Produktseite benutzt. Hier steht stattdessen Text in
   Lesebreite, wie in einem Bericht. */
/* Textspalte in Lesebreite, aber am selben linken Raster wie die
   uebrigen Abschnitte. Ein einfaches max-width auf dem Container haette
   den ganzen Block mittig gesetzt - die Kante waere gegenueber den
   anderen Ueberschriften eingerueckt gewesen. */
.bahn.spalte { max-width: 1040px; }
.bahn.spalte > * { max-width: 660px; }
.fliess { font-size: 16.5px; line-height: 1.72; color: var(--text); margin-bottom: 20px; }
.fliess strong { color: var(--tinte); font-weight: 600; }
.fliess code {
  font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 14px;
  background: var(--flaeche-alt); padding: 1px 5px; border-radius: 3px;
}
.einschraenkung {
  border-left: 2px solid var(--linie); padding-left: 20px;
  font-size: 15.5px; color: var(--gedaempft); margin-top: 28px;
}

/* Gegenueberstellung von Eingabe und Dokumentinhalt */
.beleg {
  border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie);
  padding: 20px 0; margin: 28px 0;
}
.beleg-zeile {
  display: grid; grid-template-columns: 150px 1fr; gap: 16px;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 14px; color: var(--tinte); padding: 5px 0;
}
.beleg-zeile span {
  font-family: 'IBM Plex Sans', sans-serif; font-size: 12px;
  text-transform: uppercase; letter-spacing: .07em; color: var(--gedaempft);
  padding-top: 2px;
}
@media (max-width: 560px) {
  .beleg-zeile { grid-template-columns: 1fr; gap: 2px; }
}

/* ---------- Umfang als Definitionsliste ---------- */
.umfang { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 46px; }
@media (max-width: 780px) { .umfang { grid-template-columns: 1fr; gap: 26px; } }
.umfang dt {
  font-family: 'IBM Plex Serif', Georgia, serif;
  font-size: 17px; font-weight: 600; color: var(--tinte);
  margin-bottom: 7px;
}
.umfang dd { font-size: 14.5px; line-height: 1.62; color: var(--gedaempft); }

.unterpunkt { font-size: 17px; margin: 40px 0 12px; }
.schritte { margin: 0 0 20px 20px; font-size: 15.5px; color: var(--text); line-height: 1.7; }
.schritte li { padding: 3px 0; }
