/* Grundstil der Schmiede im mayermayer-Design (Vorbild: mayermayer.at).
   Schriften liegen auf dem eigenen Server (SIL Open Font License), nichts wird von Google nachgeladen. */
@font-face {
  font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url(/gemeinsam/plus-jakarta-sans.woff2) format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap;
  src: url(/gemeinsam/ibm-plex-mono-500.woff2) format('woff2');
}
:root {
  --papier: #f5f6f2; --karte: #ffffff; --tinte: #1f2830; --schiefer: #46535f; --schiefer-dunkel: #34404a; --auf-schiefer: #ffffff;
  --text-2: #3a4651; --grau: #5b6670; --linie: #e1e5df; --linie-2: #d7dce4; --feld: #f5f6f2;
  --gruen: #8db33a; --gruen-text: #4f6b1c; --gruen-hell: #eef4e0;
  --gelb-text: #7a5c00; --gelb-hell: #fbf3d9; --rot: #c8322a; --rot-hell: #fbe9e7; --orange-text: #9a4a10; --orange-hell: #fdeee2;
  --kopf-bg: rgba(245, 246, 242, .94); --fazit: #46535f; --logo-grund: transparent;
  --m1: #eef4e0; --m2: #f8f0d2; --m3: #fbe2cc; --m4: #f6d2ce;
  color-scheme: light;
}
/* Dunkelmodus: folgt dem Gerät; der Knopf „Dunkel/Hell“ (gemeinsam/thema.js) kann es für diesen Browser festlegen. */
@media (prefers-color-scheme: dark) {
  :root:not([data-thema="hell"]) {
    --papier: #151b20; --karte: #1f272e; --tinte: #e9ece6; --schiefer: #c3cbd0; --schiefer-dunkel: #dde2e5; --auf-schiefer: #1f2830;
    --text-2: #c3cbd0; --grau: #98a3ab; --linie: #313c45; --linie-2: #43505b; --feld: #262f37;
    --gruen-text: #b9d779; --gruen-hell: rgba(141, 179, 58, .16); --gelb-text: #f0cf6b; --gelb-hell: rgba(232, 184, 48, .16);
    --rot: #f08a82; --rot-hell: rgba(200, 50, 42, .22); --orange-text: #f6a76b; --orange-hell: rgba(249, 115, 22, .16);
    --kopf-bg: rgba(21, 27, 32, .92); --fazit: #2b3640; --logo-grund: #f5f6f2;
    --m1: rgba(141, 179, 58, .14); --m2: rgba(232, 184, 48, .16); --m3: rgba(249, 115, 22, .2); --m4: rgba(200, 50, 42, .28);
    color-scheme: dark;
  }
}
:root[data-thema="dunkel"] {
  --papier: #151b20; --karte: #1f272e; --tinte: #e9ece6; --schiefer: #c3cbd0; --schiefer-dunkel: #dde2e5; --auf-schiefer: #1f2830;
  --text-2: #c3cbd0; --grau: #98a3ab; --linie: #313c45; --linie-2: #43505b; --feld: #262f37;
  --gruen-text: #b9d779; --gruen-hell: rgba(141, 179, 58, .16); --gelb-text: #f0cf6b; --gelb-hell: rgba(232, 184, 48, .16);
  --rot: #f08a82; --rot-hell: rgba(200, 50, 42, .22); --orange-text: #f6a76b; --orange-hell: rgba(249, 115, 22, .16);
  --kopf-bg: rgba(21, 27, 32, .92); --fazit: #2b3640; --logo-grund: #f5f6f2;
  --m1: rgba(141, 179, 58, .14); --m2: rgba(232, 184, 48, .16); --m3: rgba(249, 115, 22, .2); --m4: rgba(200, 50, 42, .28);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--papier); color: var(--tinte); -webkit-font-smoothing: antialiased;
  font: 15px/1.55 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
a { color: var(--schiefer); }
a:hover { color: var(--tinte); }
h1, h2, h3 { margin: 0 0 .6em; color: var(--tinte); }
h1 { font-size: clamp(26px, 3vw, 34px); line-height: 1.1; font-weight: 300; letter-spacing: -0.03em; }
h2 { font-size: 20px; line-height: 1.2; font-weight: 600; letter-spacing: -0.015em; }
h3 { font-size: 15px; font-weight: 600; }
button, input, select, textarea { font: inherit; color: inherit; }
button, a.knopf {
  cursor: pointer; display: inline-block; text-decoration: none; color: var(--tinte); font-weight: 500;
  border: 1px solid var(--linie-2); background: var(--karte); padding: 8px 16px; border-radius: 999px;
}
button:hover, a.knopf:hover { border-color: var(--schiefer); }
button.haupt { background: var(--schiefer); border-color: var(--schiefer); color: var(--auf-schiefer); font-weight: 600; }
button.thema { font-size: 13px; padding: 5px 12px; }
button.haupt:hover { background: var(--schiefer-dunkel); }
button.warnung { border-color: var(--rot); color: var(--rot); }
button:disabled { opacity: .55; cursor: default; }
input, select, textarea {
  border: 1px solid var(--linie-2); background: var(--karte); padding: 8px 12px; border-radius: 10px; max-width: 100%;
}
:focus-visible { outline: 3px solid var(--schiefer); outline-offset: 2px; }
label { display: block; font-size: 13px; color: var(--grau); margin-bottom: 12px; }
label > input, label > select, label > textarea { display: block; margin-top: 4px; width: 100%; }
label > input[type="checkbox"] { display: inline-block; width: auto; margin: 0 8px 0 0; vertical-align: middle; accent-color: var(--schiefer); }
label.ankreuzen { color: var(--tinte); font-size: 14px; margin: 0; }
[hidden] { display: none !important; }
.karte { background: var(--karte); border: 1px solid var(--linie); border-radius: 24px; padding: 24px 26px; margin-bottom: 18px; }
.leise { color: var(--grau); font-size: 13px; }
.meldung { padding: 10px 14px; border-radius: 12px; margin: 10px 0; }
.meldung.fehler { background: var(--rot-hell); color: var(--rot); }
.meldung.ok { background: var(--gruen-hell); color: var(--gruen-text); }
.mono { font-family: 'IBM Plex Mono', ui-monospace, Consolas, monospace; font-weight: 500; overflow-wrap: anywhere; }
@media (max-width: 600px) { .karte { padding: 18px 16px; border-radius: 18px; } }
