/* Pokolm Fernhilfe, hilfe.pokolm.com (Pokolm-IT, 14.10.2026).
   Farben, Form und Schrift aus dem Pokolm Corporate Design, übernommen aus dem
   Schnittdatenrechner (app/src/stil/theme.css). Rot ist Akzent, nie Fläche.
   Die Pokolm-Form: zwei gegenüberliegende Ecken rund, zwei eckig. Gleichmäßig
   runde Ecken gibt es im Pokolm-Design nicht. */

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/static/dm-sans-400.woff2") format("woff2");
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/static/dm-sans-600.woff2") format("woff2");
}

:root {
  --f-grund: #eae7e5;
  --f-karte: #ffffff;
  --f-schrift: #000000;
  --f-leise: #4a4a4a;
  --f-still: #767676;
  --f-akzent: #861037;
  --f-akzent-dunkel: #6c0d2c;
  --f-akzent-schrift: #ffffff;
  --f-gedaempft: #f6f5f4;
  --f-feldrand: #c9c3be;
  --f-warnung: #6d4a06;
  --f-warnung-flaeche: #f7f2e8;
  --f-warnung-rand: #8c7237;
  --f-fehler: #8c1c13;
  --f-fehler-flaeche: #f9eeed;
  --f-fehler-rand: #b8756e;
  --radius-pokolm: 1.5rem 0 1.5rem 0;
  --radius-pokolm-klein: 0.75rem 0 0.75rem 0;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 100%;
  background: var(--f-grund);
  color: var(--f-schrift);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  line-height: 1.55;
}

.karte {
  width: 100%;
  max-width: 32rem;
  background: var(--f-karte);
  border-radius: var(--radius-pokolm);
  padding: 2.5rem 2.25rem 2.25rem;
}

.logo { display: block; height: 2.25rem; width: auto; margin: 0 0 2.25rem; }

h1 { font-size: 1.75rem; font-weight: 600; line-height: 1.2; margin: 0 0 0.5rem; }

p { margin: 0 0 1rem; }
.unter { color: var(--f-leise); margin-bottom: 1.75rem; }

label { display: block; font-weight: 600; font-size: 0.9375rem; margin: 0 0 0.5rem; }

input[type="text"] {
  display: block;
  width: 100%;
  font: inherit;
  font-size: 1.375rem;
  letter-spacing: 0.06em;
  color: var(--f-schrift);
  background: var(--f-gedaempft);
  border: 1px solid var(--f-feldrand);
  border-radius: var(--radius-pokolm-klein);
  padding: 0.75rem 1rem;
}
input[type="text"]:focus { outline: none; border-color: var(--f-akzent); box-shadow: 0 0 0 2px var(--f-akzent); background: var(--f-karte); }

.knopf {
  display: inline-block;
  width: 100%;
  margin-top: 1rem;
  font: inherit;
  font-weight: 600;
  font-size: 1.0625rem;
  text-align: center;
  text-decoration: none;
  color: var(--f-akzent-schrift);
  background: var(--f-akzent);
  border: 0;
  border-radius: var(--radius-pokolm-klein);
  padding: 0.9375rem 1.5rem;
  cursor: pointer;
}
.knopf:hover { background: var(--f-akzent-dunkel); }
.knopf:focus-visible { outline: 2px solid var(--f-akzent); outline-offset: 3px; }
.knopf:disabled { opacity: 0.6; cursor: progress; }

.meldung {
  margin: 1.25rem 0 0;
  padding: 0.75rem 1rem;
  color: var(--f-fehler);
  background: var(--f-fehler-flaeche);
  border: 1px solid var(--f-fehler-rand);
  border-radius: var(--radius-pokolm-klein);
}

.hinweis {
  margin: 1.75rem 0 0;
  padding: 0.875rem 1rem;
  font-size: 0.9375rem;
  color: var(--f-warnung);
  background: var(--f-warnung-flaeche);
  border: 1px solid var(--f-warnung-rand);
  border-radius: var(--radius-pokolm-klein);
}

.klein { color: var(--f-still); font-size: 0.875rem; margin: 1.25rem 0 0; }

ol.schritte { margin: 2rem 0 0; padding: 0; list-style: none; counter-reset: schritt; }
ol.schritte li { position: relative; padding: 0 0 0 2.5rem; margin: 0 0 1rem; counter-increment: schritt; }
ol.schritte li::before {
  content: counter(schritt);
  position: absolute;
  left: 0;
  top: 0;
  width: 1.75rem;
  height: 1.75rem;
  line-height: 1.75rem;
  text-align: center;
  font-weight: 600;
  font-size: 0.9375rem;
  background: var(--f-grund);
  border-radius: var(--radius-pokolm-klein);
}

[hidden] { display: none !important; }

footer {
  margin-top: 1.5rem;
  font-size: 0.8125rem;
  color: var(--f-leise);
  text-align: center;
}
footer a { color: inherit; }
footer a:hover { color: var(--f-akzent); }

@media (max-width: 30rem) {
  body { padding: 1rem 0.75rem; justify-content: flex-start; }
  .karte { padding: 2rem 1.25rem 1.5rem; }
  .logo { margin-bottom: 1.75rem; }
}
