/* =====================================================================
   ENTWURF-WASSERZEICHEN
   Entfernen: in index.html und impressum.html die zwei markierten
   Zeilen (entwurf.css + entwurf.js) löschen und den Ordner /entwurf
   löschen. Sonst muss nichts geändert werden.
   ===================================================================== */

/* Kachel-Wasserzeichen über der ganzen Seite */
html::after {
  content: "";
  position: fixed; inset: -50%;
  z-index: 2147483000;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='520' height='300'%3E%3Ctext x='260' y='170' text-anchor='middle' transform='rotate(-24 260 150)' font-family='Arial Black,Arial,Helvetica,sans-serif' font-weight='900' font-size='64' letter-spacing='6' fill='%23888' fill-opacity='.30'%3EENTWURF%3C/text%3E%3C/svg%3E");
  background-size: 520px 300px;
}

/* Großes ENTWURF in der Bildschirmmitte */
body::before {
  content: "ENTWURF";
  position: fixed; left: 50%; top: 50%;
  z-index: 2147483001;
  pointer-events: none;
  transform: translate(-50%, -50%) rotate(-24deg);
  font: 900 clamp(90px, 21vw, 360px)/1 "Arial Black", Arial, Helvetica, sans-serif;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .2);
  mix-blend-mode: difference;
  white-space: nowrap;
}

/* Hinweisleiste */
.entwurf-bar {
  position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%);
  z-index: 2147483002;
  display: flex; align-items: center; gap: 10px;
  max-width: calc(100vw - 32px);
  padding: 10px 18px; border-radius: 999px;
  background: #111; color: #fff; border: 1px solid rgba(255,255,255,.2);
  font: 600 13px/1.3 Arial, Helvetica, sans-serif; letter-spacing: .02em;
  box-shadow: 0 10px 30px rgba(0,0,0,.4);
}
.entwurf-bar b { background: #f5c400; color: #111; padding: 3px 8px; border-radius: 4px; letter-spacing: .12em; flex: none; }
.entwurf-bar .s { display: none; }
@media (max-width: 640px) { .entwurf-bar { white-space: nowrap; } .entwurf-bar .l { display: none; } .entwurf-bar .s { display: inline; } }
.entwurf-toast {
  position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%);
  z-index: 2147483003; background: #111; color: #fff; padding: 18px 26px; border-radius: 10px;
  font: 600 15px/1.4 Arial, Helvetica, sans-serif; text-align: center; max-width: calc(100vw - 32px);
  border: 1px solid rgba(255,255,255,.2); box-shadow: 0 20px 50px rgba(0,0,0,.5);
  opacity: 0; transition: opacity .25s; pointer-events: none;
}
.entwurf-toast.on { opacity: 1; }

/* Kopieren / Speichern erschweren */
html.entwurf body { -webkit-user-select: none; user-select: none; }
html.entwurf img { -webkit-user-drag: none; user-drag: none; pointer-events: auto; }

/* Drucken verhindern */
@media print {
  body > * { display: none !important; }
  body::after { content: "ENTWURF – nicht zur Verwendung freigegeben"; display: block; font: 700 28px Arial; padding: 40px; }
}
