/* Grüezi mitänand — Stylesheet, Jahrgang 1997 */

body {
  margin: 0;
  padding: 14px 8px 30px;
  background: #ece1c4 url("img/papier.gif");
  color: #1a1008;
  font-family: "Times New Roman", Times, serif;
  font-size: 16px;
}

a:link    { color: #0000ee; }
a:visited { color: #551a8b; }
a:hover   { color: #ff0000; }
a:active  { color: #ff0000; }

h1.titel { margin: 0; line-height: 0; }
h1.titel img { max-width: 100%; height: auto; }

.untertitel {
  font-size: 19px;
  color: #400000;
  margin: 2px 0 8px;
  letter-spacing: 1px;
}
.regenbogen, .trenner { max-width: 100%; height: auto; display: inline-block; }

/* Laufschrift */
.laufband {
  margin: 8px auto 10px;
  background: #000;
  color: #ffff00;
  border: 3px ridge #c0c0c0;
}
.laufband marquee { display: block; padding: 4px 0; font-size: 15px; }

/* Haupttabelle */
.haupt {
  border: 3px outset #c0c0c0;
  background: #fffff0;
  text-align: left;
}

/* Linke Spalte */
.links {
  background: #000080;
  color: #ffffff;
  padding: 12px 10px 14px;
  border-right: 3px ridge #c0c0c0;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 13px;
}
.links a:link    { color: #ffff00; }
.links a:visited { color: #ffcc66; }
.links a:hover   { color: #ff99ff; }

.kasten-titel {
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  font-size: 15px;
  letter-spacing: 3px;
  color: #ffff00;
  margin-bottom: 10px;
}
.toc td { padding: 3px 0 5px; vertical-align: top; line-height: 1.3; }
.toc img { margin-top: 1px; }
img.neu { vertical-align: middle; }
.nav-hr { border: 0; border-top: 1px solid #000040; border-bottom: 1px solid #4040c0; margin: 14px 0; }
.klein { font-size: 11px; }
.mitte { text-align: center; }
.zaehler { display: inline-block; margin-top: 5px; border: 2px inset #808080; line-height: 0; }
.zaehler img { display: inline-block; }
#heute b { color: #ffff99; font-size: 12px; }
.knoepfe img { margin: 3px 0; }
.aktualisiert { margin-top: 14px; color: #c0c0ff; }

/* Rechte Spalte */
.rechts { padding: 14px 26px 20px; }

.willkommen { text-align: center; margin: 4px 0 6px; }
.willkommen p { font-size: 17px; line-height: 1.45; margin: 8px 20px 4px; font-style: italic; }

.geschichte { margin: 18px 0 10px; }
.geschichte h2 {
  font-family: "Times New Roman", Times, serif;
  font-size: 28px;
  color: #800000;
  margin: 0 0 4px;
  font-weight: bold;
}
.meta { font-size: 12px; color: #505050; margin-bottom: 16px; }
.text { font-size: 17px; line-height: 1.5; text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.text p { margin: 0 0 0.9em; }
.text p + p { text-indent: 1.5em; }
.text p.szene, .text p.szene + p { text-indent: 0; }
.text p.szene { text-align: center; margin: 1.2em 0; }
.nachoben { text-align: right; font-size: 13px; margin-top: 10px; font-family: Arial, Helvetica, sans-serif; }

.weiterlesen {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: bold;
  margin: 4px 0 0;
}
.zu { display: none; }

.leer { text-align: center; padding: 30px 10px 40px; font-size: 17px; }

/* Fusszeile */
.fuss { margin-top: 16px; font-size: 14px; line-height: 1.6; }
.webring { font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin-bottom: 8px; }

/* Glitzerspur hinter der Maus */
.glitzer {
  position: absolute;
  pointer-events: none;
  font-size: 14px;
  line-height: 1;
  z-index: 999;
  transition: opacity 0.8s linear, transform 0.8s ease-out;
}

/* Blinken wie <blink> */
@keyframes blinken { 50% { visibility: hidden; } }
.blink { animation: blinken 1s step-start infinite; }

/* Für Handys: 1997 gab es die nicht, heute schon */
@media (max-width: 780px) {
  body { padding: 8px 4px 20px; }
  .laufband, .haupt { width: 100% !important; }
  .haupt, .haupt > tbody, .haupt > tbody > tr, .haupt > tbody > tr > td { display: block; width: auto !important; }
  .links { border-right: 0; border-bottom: 3px ridge #c0c0c0; }
  .nur-gross { display: none !important; }
  .aktualisiert { margin-top: 10px; }
  .rechts { padding: 12px 14px 16px; }
  .text { text-align: left; }
  .willkommen p { margin: 8px 0 4px; }
  .win input[type="text"], .win input[type="email"], .win textarea { font-size: 16px; } /* kein Auto-Zoom auf dem iPhone */
}

@media print {
  body { background: #fff; }
  .links, .laufband, .fuss, .nachoben, .regenbogen, .weiterlesen { display: none !important; }
  .zu { display: block !important; }
  .haupt { border: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .blink { animation: none; }
}

/* ---------- Fenster im Stil von Windows 95 (Kontakt), wie die Login-Seite ---------- */
.kontakt-hintergrund {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1000;
  background: url("img/raster.gif");
  padding: 12px;
  overflow-y: auto;
  box-sizing: border-box;
}
html:not(.js) .kontakt-hintergrund:target,
.kontakt-hintergrund.offen { display: flex; }
.kontakt-fenster { margin: auto; }

.win {
  width: 100%;
  max-width: 560px;
  box-sizing: border-box;
  background: #c0c0c0;
  border: 2px solid;
  border-color: #dfdfdf #000 #000 #dfdfdf;
  box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 #808080, 5px 5px 0 rgba(0, 0, 0, 0.4);
  padding: 3px;
  font-family: "MS Sans Serif", "Microsoft Sans Serif", Tahoma, Arial, sans-serif;
  font-size: 14px;
  color: #000;
  text-align: left;
}
.win-titel {
  background: linear-gradient(90deg, #000080, #1084d0);
  color: #fff;
  font-weight: bold;
  padding: 3px 3px 3px 5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}
.kontakt-fenster .win-titel { cursor: move; }
.win-titelicon { width: 16px; height: 16px; vertical-align: -3px; image-rendering: pixelated; }
.win-knoepfe { display: flex; gap: 2px; }
.win-kn {
  display: inline-block;
  width: 16px; height: 14px;
  line-height: 12px;
  text-align: center;
  background: #c0c0c0;
  color: #000;
  font-size: 11px;
  font-weight: bold;
  text-decoration: none;
  border: 1px solid;
  border-color: #fff #000 #000 #fff;
  box-shadow: inset -1px -1px 0 #808080;
  cursor: default;
}
a.win-kn { cursor: pointer; }
a.win-kn:link, a.win-kn:visited { color: #000; }
.win-inhalt { padding: 12px 14px 6px; }
.win-dialog { width: 100%; border-collapse: collapse; }
.win-dialog td { vertical-align: top; }
.win-ikon { width: 46px; padding-top: 2px; }
.win-oben { margin: 0 0 6px; }
.win label { display: block; margin: 9px 0 3px; }
.win input[type="text"], .win input[type="email"], .win textarea {
  width: 100%;
  box-sizing: border-box;
  font: inherit;
  color: #000;
  background: #fff;
  border: 2px solid;
  border-color: #808080 #fff #fff #808080;
  box-shadow: inset 1px 1px 0 #000;
  padding: 3px 4px;
  border-radius: 0;
}
.win textarea { font-family: "Courier New", Courier, monospace; resize: vertical; line-height: 1.4; }
.win input:focus, .win textarea:focus { outline: 1px dotted #000; outline-offset: 1px; }
.win-knopf {
  display: inline-block;
  font: inherit;
  color: #000;
  background: #c0c0c0;
  padding: 4px 14px;
  min-width: 80px;
  text-align: center;
  text-decoration: none;
  border: 2px solid;
  border-color: #fff #000 #000 #fff;
  box-shadow: inset -1px -1px 0 #808080, inset 1px 1px 0 #dfdfdf;
  cursor: pointer;
  box-sizing: border-box;
  border-radius: 0;
}
a.win-knopf:link, a.win-knopf:visited, a.win-knopf:hover { color: #000; }
.win-knopf:active { border-color: #000 #fff #fff #000; box-shadow: inset 1px 1px 0 #808080; padding: 5px 13px 3px 15px; }
.win-knopf[disabled] { color: #808080; text-shadow: 1px 1px 0 #fff; cursor: wait; }
.win-standard { outline: 1px solid #000; outline-offset: -1px; }
.win-rechts { text-align: right; margin: 14px 0 6px; }
.win-fehler { color: #a00000; font-weight: bold; margin: 10px 0 0; }
.win-fehler:empty { display: none; }
.win-status {
  margin-top: 2px;
  padding: 2px 6px;
  font-size: 13px;
  border: 1px solid;
  border-color: #808080 #fff #fff #808080;
}
.win-info {
  display: inline-block;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: #fff;
  color: #000080;
  border: 2px solid #000080;
  font: bold italic 22px/30px "Times New Roman", Times, serif;
  text-align: center;
}
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.versteckt { display: none !important; }
body.warten, body.warten * { cursor: wait !important; }
.kontakt-knopf img { display: inline-block; }

/* Antwortseite ohne JavaScript */
body.win-seite {
  background: #008080;
  min-height: 100vh;
  margin: 0;
  padding: 12px;
  box-sizing: border-box;
  display: flex;
}
body.win-seite .win { margin: auto; }

/* === Breites Layout (nur auf grossen Bildschirmen) === */
@media (min-width: 781px) {
  .untertitel { font-size: 30px; margin: 6px 0 12px; }
  .laufband, .haupt { width: 94% !important; max-width: none; }
  .links { width: 280px; font-size: 15px; }
  .rechts { padding: 24px 56px 30px; }
  .willkommen, .geschichte, .leer { max-width: 840px; margin-left: auto; margin-right: auto; }
  .text { font-size: 25px; }
  .willkommen p { font-size: 22px; }
  .geschichte h2 { font-size: 40px; }
  .meta { font-size: 15px; }
  .links .klein { font-size: 14px; }
  #heute b { font-size: 17px; }
  .kasten-titel { font-size: 18px; }
  .knoepfe img { margin: 5px 0; }
}
