/* Präsentationsseite des Prototyps (nicht Teil des Widgets) */
@font-face { font-family: "Young Serif"; src: url("../fonts/young-serif-latin.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible Next"; src: url("../fonts/atkinson-next-latin.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
:root { --font-display: "Young Serif", Georgia, serif; --font-body: "Atkinson Hyperlegible Next", system-ui, sans-serif; --font-tool: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; --tinte: #1C2C52; --rot: #C62839; --blau: #30588C; --ease-out: cubic-bezier(.2,.75,.2,1); }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: #0E1630; font-family: var(--font-body); }
.proto__link { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 12px; border-radius: 8px; background: #1F2937; color: #fff; font-weight: 600; text-decoration: none; }
.proto__link:hover { background: #111827; }
dialog { padding: 0; border: 0; }
dialog::backdrop { background: rgba(6, 10, 24, .74); backdrop-filter: blur(3px); }
.dd__close { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(28,44,82,.08); color: var(--tinte); cursor: pointer; }
.dd__close svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
@keyframes ddIn { from { opacity: 0; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: none; } }
:focus-visible { outline: 3px solid #F2B544; outline-offset: 3px; }
/* --------------------------------------------------------------------------
   Prototyp-Leiste (bewusst neutral: gehört nicht zum Kalender)
   -------------------------------------------------------------------------- */
.proto {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #FFFFFF;
  color: #1F2937;
  font-family: var(--font-tool);
  font-size: 14px;
  line-height: 1.3;
  border-bottom: 1px solid #E5E7EB;
  box-shadow: 0 1px 8px rgba(0, 0, 0, .25);
}
.proto__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 16px;
}
.proto__badge {
  padding: 3px 8px;
  border-radius: 999px;
  background: #1F2937;
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.proto__date { display: flex; align-items: center; gap: 6px; }
.proto__label { color: #4B5563; }
.proto__date select {
  min-height: 36px;
  padding: 4px 8px;
  border: 1px solid #D1D5DB;
  border-radius: 8px;
  background: #F9FAFB;
  color: #111827;
  font-weight: 600;
}
.proto__step {
  width: 36px; height: 36px;
  border: 1px solid #D1D5DB;
  border-radius: 8px;
  background: #F9FAFB;
  color: #111827;
  font-size: 20px;
  line-height: 1;
}
.proto__step:hover, .proto__btn:hover { background: #F3F4F6; }
.proto__actions { display: flex; flex-wrap: wrap; gap: 6px; margin-left: auto; }
.proto__btn {
  min-height: 36px;
  padding: 6px 12px;
  border: 1px solid #D1D5DB;
  border-radius: 8px;
  background: #FFFFFF;
  color: #111827;
  font-weight: 600;
}
.proto__btn--quiet { border-color: transparent; color: #4B5563; font-weight: 500; }
.proto :focus-visible { outline-color: #2563EB; }

@media (max-width: 720px) {
  .proto__inner { gap: 6px 8px; padding: 6px 12px; }
  .proto__label { display: none; }
  .proto__date { flex: 1 1 0; min-width: 0; }
  .proto__date select { flex: 1 1 auto; min-width: 0; width: 100%; }
  .proto__actions { margin-left: 0; width: 100%; flex-wrap: nowrap; }
  .proto__btn { flex: 1 1 auto; min-width: 0; padding: 6px 8px; font-size: 12.5px; }
  .proto__btn--quiet { flex: 0 0 auto; }
}

/* --------------------------------------------------------------------------
   Prototyp-Dialoge (Funktionen, Statistik)
   -------------------------------------------------------------------------- */
.pd {
  width: min(760px, calc(100vw - 24px));
  max-height: calc(100dvh - 24px);
  margin: auto;
  border-radius: 18px;
  background: #FFFFFF;
  color: #1F2937;
  font-family: var(--font-body);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}
.pd--wide { width: min(1000px, calc(100vw - 24px)); }
.pd[open] { display: flex; animation: ddIn .35s var(--ease-out); }
.pd__sheet { display: flex; flex-direction: column; width: 100%; min-height: 0; }
.pd__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 16px 12px 24px; border-bottom: 1px solid #E5E7EB; }
.pd__head h2 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.25rem, 3vw, 1.625rem); color: var(--tinte); }
.pd__body { overflow-y: auto; padding: 20px 24px 28px; }
.pd__body h3 { margin: 22px 0 8px; font-size: 1rem; color: var(--tinte); }
.pd__body h3:first-child { margin-top: 0; }
.pd__body ul { margin: 0; padding-left: 1.1em; }
.pd__body li { margin-bottom: 6px; }
.pd__intro { margin: 0 0 16px; color: #4B5563; }
.feat { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.feat section { padding: 16px 18px; border-radius: 14px; background: #F7F7F5; border: 1px solid #ECEAE4; }
.feat h3 { margin: 0 0 8px !important; display: flex; align-items: center; gap: 8px; }
.feat h3 i { width: 10px; height: 10px; border-radius: 50%; background: var(--rot); }
.feat ul { font-size: .9375rem; }
.try { margin-top: 18px; padding: 14px 18px; border-radius: 14px; background: #FFF6E0; border: 1px solid #F3DEA6; font-size: .9375rem; }
.try ul { margin-top: 6px; }
.try button { padding: 0; border: 0; background: none; color: #1D4ED8; text-decoration: underline; font-weight: 700; }


