/* Global app css (handwritten). Tailwind is loaded via CDN in templates. */

/* Ambos CI Webfonts (self-hosted) */
@font-face {
  font-family: "Work Sans";
  src: url("/static/ci/ambos-ci-essentials-2026-04-08/04-Typografie/Webfonts/WOFF2/ambos-webfont-worksans-variable-standard.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Work Sans";
  src: url("/static/ci/ambos-ci-essentials-2026-04-08/04-Typografie/Webfonts/WOFF2/ambos-webfont-worksans-italic-variable-standard.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Merriweather";
  src: url("/static/ci/ambos-ci-essentials-2026-04-08/04-Typografie/Webfonts/WOFF2/ambos-webfont-merriweather-regular-standard.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Merriweather";
  src: url("/static/ci/ambos-ci-essentials-2026-04-08/04-Typografie/Webfonts/WOFF2/ambos-webfont-merriweather-700-standard.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ambos-bg: #f8fafc; /* fallback slate-50 */
  --ambos-card: #ffffff;
  --ambos-text: #0f172a;
  --ambos-muted: #475569;
  --ambos-border: #e2e8f0;
  --ambos-accent: var(--ambos-color-brand-magenta, #e1007e);
  --ambos-accent-2: var(--ambos-color-brand-blue, #1a4b7e);
}

body {
  font-family: "Work Sans", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
}

/* Existing badges (used across the app) */
.ampel{display:inline-block;font-size:12px;font-weight:700;padding:2px 10px;border-radius:999px;border:1px solid #e2e8f0;letter-spacing:.02em}
.ampel-green{background:#dcfce7;color:#14532d}
.ampel-yellow{background:#fef9c3;color:#713f12}
.ampel-red{background:#fee2e2;color:#7f1d1d}
.ampel-na{background:#f1f5f9;color:#334155}

/* PSCheck-specific helpers */
.pscheck-shell {
  max-width: 880px;
  margin: 0 auto;
}

.pscheck-hero {
  background: radial-gradient(1200px 600px at 20% -10%, rgba(225, 0, 126, 0.12), transparent 60%),
              radial-gradient(900px 500px at 110% 20%, rgba(26, 75, 126, 0.10), transparent 60%);
  border: 1px solid var(--ambos-border);
  border-radius: 18px;
}

.pscheck-h1 {
  font-family: "Merriweather", ui-serif, Georgia, serif;
  letter-spacing: -0.02em;
}

.pscheck-card {
  background: var(--ambos-card);
  border: 1px solid rgba(225, 0, 126, 0.22);
  border-radius: 14px;
}

.pscheck-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.05s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.pscheck-btn:active { transform: translateY(1px); }

.pscheck-btn-primary {
  background: var(--ambos-accent);
  color: white;
  box-shadow: 0 10px 22px rgba(225, 0, 126, 0.18);
}
.pscheck-btn-primary:hover { background: #c8006f; box-shadow: 0 12px 26px rgba(225, 0, 126, 0.22); }

.pscheck-btn-secondary {
  background: white;
  border-color: var(--ambos-border);
  color: var(--ambos-text);
}
.pscheck-btn-secondary:hover { background: #f8fafc; }

.pscheck-input {
  width: 100%;
  border: 1px solid rgba(225, 0, 126, 0.22);
  border-radius: 12px;
  padding: 0.7rem 0.85rem;
  background: white;
}
.pscheck-input:focus {
  outline: none;
  border-color: rgba(225, 0, 126, 0.7);
  box-shadow: 0 0 0 4px rgba(225, 0, 126, 0.12);
}
