/* Mitbestimmungs-Kompass im Design von HR Firefighters. Keine externen Ressourcen. */
/* Schrift Inter (SIL OFL 1.1), vom eigenen Server ausgeliefert */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/inter-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 800; font-display: swap; src: url("fonts/inter-latin-800-normal.woff2") format("woff2"); }

/* Farben wie hr-firefighters.de */
:root {
  --bg: #fcf9f7;
  --surface: #ffffff;
  --ink: #0d121b;
  --muted: #5d636f;
  --line: #e2e5ea;
  --accent: #c9302d;
  --accent-glow: #e94024;
  --accent-ink: #ffffff;
  --accent-soft: #fff0e4;
  --orange: #f3821d;
  --dark: #0d121b;
  --gradient-fire: linear-gradient(135deg, #c9302d, #f3821d);
  --gradient-soft: linear-gradient(180deg, #ffffff, #fff2e9);
  --ok: #2f6b3a;
  --ok-soft: #e6f1e7;
  --warn: #8a5a00;
  --warn-soft: #fbf1dc;
  --info: #2c4f73;
  --info-soft: #e5edf5;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(13,18,27,.04), 0 8px 24px rgba(13,18,27,.06);
  --shadow-elegant: 0 10px 30px -10px rgba(201,48,45,.3);
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 var(--font); }
a { color: var(--accent); }
a:hover { text-decoration-thickness: 2px; }
h1 { font-size: 1.55rem; line-height: 1.25; margin: 0 0 .6rem; letter-spacing: -.01em; }
h2 { font-size: 1.2rem; margin: 1.2rem 0 .5rem; }
h3 { font-size: 1.02rem; margin: 1rem 0 .4rem; }
p { margin: 0 0 .8rem; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.hint { display: block; color: var(--muted); font-size: .85rem; margin-top: .25rem; }

/* Kopfzeile */
.topbar { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; min-height: 60px; gap: 12px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; }
.brand-mark { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: var(--accent); color: var(--accent-ink); font-size: 1.1rem; }
.nav-toggle { display: none; }
.mainnav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.mainnav a, .linklike { color: var(--ink); text-decoration: none; padding: 8px 10px; border-radius: 8px; font: inherit; font-size: .95rem; background: none; border: 0; cursor: pointer; }
.mainnav a:hover, .linklike:hover { background: var(--bg); }
form.inline { display: inline; margin: 0; }
@media (max-width: 760px) {
  .nav-toggle { display: inline-block; font: inherit; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); }
  .mainnav { display: none; width: 100%; flex-direction: column; align-items: stretch; padding-bottom: 10px; }
  .mainnav.open { display: flex; }
  .mainnav a, .linklike { padding: 12px; text-align: left; width: 100%; }
}

.main { padding-top: 24px; padding-bottom: 48px; min-height: 70vh; }
.footer { border-top: 1px solid var(--line); background: var(--surface); font-size: .85rem; color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 16px; padding-bottom: 16px; }
.footer nav { display: flex; gap: 14px; flex-wrap: wrap; }
.footer a { color: var(--muted); }

/* Karten */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 18px; box-shadow: var(--shadow); }
.card.narrow { max-width: 460px; margin-left: auto; margin-right: auto; }
.card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.card-head h1, .card-head h2 { margin: 0 0 .6rem; }
.hero { padding: 8px 0 18px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tile h3 { margin-top: 0; }
.tile p { color: var(--muted); margin: 0; }
@media (max-width: 760px) { .grid3 { grid-template-columns: 1fr; } .card { padding: 18px; } }
.danger-zone { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.prose { max-width: 780px; }
.prose h3 { margin-top: 1.4rem; }

/* Formulare */
.form { display: grid; gap: 14px; }
.grid2 { grid-template-columns: 1fr 1fr; column-gap: 18px; }
.grid4 { grid-template-columns: repeat(4, 1fr); column-gap: 14px; }
.span2 { grid-column: span 2; }
.grid4 .span2 { grid-column: span 2; }
.align-end { display: flex; align-items: flex-end; }
@media (max-width: 760px) { .grid2, .grid4 { grid-template-columns: 1fr; } .span2, .grid4 .span2 { grid-column: auto; } }
label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .92rem; }
.label { display: block; font-weight: 600; font-size: .92rem; margin: 14px 0 6px; }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=date], select, textarea {
  font: inherit; font-weight: 400; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 11px 12px; width: 100%; min-height: 46px;
}
textarea { min-height: 110px; resize: vertical; line-height: 1.45; }
#wz-text { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9rem; min-height: 420px; }
input:focus, select:focus, textarea:focus, button:focus-visible, a:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 45%, transparent); outline-offset: 1px; border-color: var(--accent); }
label.check { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; }
label.check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--accent); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
form h2, form h3 { margin: 10px 0 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font: inherit; font-weight: 600; font-size: .95rem; padding: 10px 16px; min-height: 44px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; cursor: pointer; }
.btn:hover { border-color: var(--muted); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn-primary:hover { filter: brightness(1.08); border-color: var(--accent); }
.btn-danger { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); }
.btn-ghost { background: transparent; border-color: transparent; color: var(--muted); }
.btn-lg { padding: 14px 22px; font-size: 1.05rem; }
.btn-sm { min-height: 34px; padding: 6px 10px; font-size: .85rem; }
.btnrow { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 0; }
.links { margin-top: 14px; font-size: .92rem; }

/* Meldungen */
.flash { border-radius: 8px; padding: 12px 14px; margin-bottom: 16px; border: 1px solid transparent; }
.flash ul { margin: 0; padding-left: 18px; }
.flash-ok { background: var(--ok-soft); color: var(--ok); }
.flash-error { background: var(--accent-soft); color: var(--accent); }
.flash-info { background: var(--info-soft); color: var(--info); }
.disclaimer { background: var(--warn-soft); color: var(--warn); border-radius: 8px; padding: 10px 12px; font-size: .9rem; margin: 10px 0; }

/* Tabellen */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.table th, .table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { color: var(--muted); font-weight: 600; font-size: .82rem; text-transform: uppercase; letter-spacing: .03em; }
.table tr.dim td { color: var(--muted); }
.table td.over, .over { color: var(--accent); font-weight: 600; }
.table .actions { white-space: nowrap; text-align: right; }
@media (max-width: 640px) {
  .table thead { display: none; }
  .table, .table tbody, .table tr, .table td { display: block; width: 100%; }
  .table tr { border: 1px solid var(--line); border-radius: 8px; margin-bottom: 10px; padding: 6px 10px; }
  .table td { border: 0; padding: 4px 0; }
  .table td[data-label]::before { content: attr(data-label) ": "; color: var(--muted); font-size: .82rem; }
  .table .actions { text-align: left; }
}
.dl { display: grid; grid-template-columns: 220px 1fr; gap: 8px 16px; margin: 0 0 8px; }
.dl dt { color: var(--muted); }
.dl dd { margin: 0; }
@media (max-width: 640px) { .dl { grid-template-columns: 1fr; } .dl dd { margin-bottom: 8px; } }
.badge { display: inline-block; font-size: .75rem; padding: 2px 8px; border-radius: 99px; background: var(--bg); border: 1px solid var(--line); color: var(--muted); }
.status { font-size: .82rem; font-weight: 600; padding: 3px 9px; border-radius: 99px; }
.status-pending { background: var(--warn-soft); color: var(--warn); }
.status-active { background: var(--ok-soft); color: var(--ok); }
.status-locked { background: var(--accent-soft); color: var(--accent); }
.status-unverified { background: var(--bg); color: var(--muted); }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 6px 0 16px; }
.tabs a { padding: 6px 12px; border-radius: 99px; text-decoration: none; color: var(--ink); border: 1px solid var(--line); font-size: .88rem; }
.tabs a.active { background: var(--ink); color: var(--surface); border-color: var(--ink); }

/* Vorgänge Übersicht */
.caselist { list-style: none; margin: 0; padding: 0; }
.caselist li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.caselist li:last-child { border-bottom: 0; }
.case-title { font-weight: 600; flex: 1 1 220px; }
.deadline { font-size: .88rem; color: var(--muted); }
.deadline.soon { color: var(--warn); font-weight: 600; }
.deadline.over { color: var(--accent); }

/* Wizard */
.wz-top { margin-bottom: 8px; }
.wz-path { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 6px; }
.wz-path li { display: flex; align-items: center; }
.wz-path li + li::before { content: "›"; color: var(--muted); margin-right: 6px; }
.crumb { font: inherit; font-size: .8rem; color: var(--muted); background: var(--bg); border: 1px solid var(--line); border-radius: 99px; padding: 3px 10px; cursor: pointer; max-width: 260px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.crumb:hover { color: var(--ink); }
.wz-q { font-size: 1.35rem; }
.wz-help { color: var(--muted); font-size: .94rem; }
.wz-options { display: grid; gap: 10px; margin-top: 14px; }
.wz-option { text-align: left; font: inherit; font-size: 1rem; padding: 14px 16px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; min-height: 52px; transition: border-color .12s, background .12s; }
.wz-option:hover { border-color: var(--accent); background: var(--accent-soft); }
.wz-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 20px; border-top: 1px solid var(--line); padding-top: 14px; }
.badge-type { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; padding: 4px 10px; border-radius: 6px; margin-bottom: 10px; }
.type-zustimmung, .type-mitbestimmung { background: var(--accent-soft); color: var(--accent); }
.type-anhoerung { background: var(--warn-soft); color: var(--warn); }
.type-unterrichtung, .type-mitteilung { background: var(--info-soft); color: var(--info); }
.type-keine { background: var(--ok-soft); color: var(--ok); }
.type-pruefen { background: var(--bg); color: var(--ink); border: 1px solid var(--line); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.chip { font-size: .8rem; padding: 3px 9px; border-radius: 6px; background: var(--bg); border: 1px solid var(--line); }
.wz-section { border-top: 1px solid var(--line); margin-top: 16px; padding-top: 6px; }
.wz-section ol, .wz-section ul { padding-left: 20px; margin: 0; }
.wz-section li { margin-bottom: 6px; }
.cases li { margin-bottom: 10px; }
.deadline-box { background: var(--bg); border-radius: 8px; padding: 12px 14px; margin: 10px 0; }
.deadline-box h4 { margin: 0 0 8px; font-size: .92rem; }
.deadline-box label { max-width: 280px; }
.deadline-out p { margin: 8px 0 0; }
.deadline-out .warn { color: var(--warn); }
.wz-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

/* Druck */
.print-only { display: none; }
@media print {
  body { background: #fff; color: #000; font-size: 11pt; }
  .topbar, .footer, .wizard, .flash { display: none !important; }
  .main { padding: 0; }
  .print-only { display: block !important; }
  .print-note { border: 1px solid #999; padding: 6pt; font-size: 8.5pt; color: #444; margin-bottom: 14pt; }
  .print-text { white-space: pre-wrap; font-family: Arial, Helvetica, sans-serif; font-size: 11pt; line-height: 1.4; margin: 0; }
  @page { size: A4; margin: 20mm 20mm 20mm 25mm; }
}

/* Startseite und Briefkopf */
.eyebrow { color: var(--accent); font-weight: 700; font-size: .9rem; margin: 0 0 4px; }
.display { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 640px; }
.lh-box { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 4px; display: grid; gap: 10px; }
.lh-box h3 { margin-bottom: 2px; }
.lh-box label { max-width: 520px; }
.span4 { grid-column: 1 / -1; }
.lh-card h2 { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
code { background: var(--bg); border: 1px solid var(--line); border-radius: 4px; padding: 0 4px; font-size: .88em; }
@media (max-width: 760px) { .mainnav.mainnav-public { display: flex; flex-direction: row; width: auto; padding: 0; } .mainnav-public a { width: auto; } }

/* ---------- Branding HR Firefighters ---------- */
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, h4 { letter-spacing: -.02em; }
.topbar { background: rgba(255,255,255,.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgba(226,229,234,.7); }
.topbar-inner { min-height: 64px; }
.brand { gap: 12px; }
.brand-logo { height: 38px; width: auto; display: block; }
.footer-logo-img { height: 96px; width: auto; display: block; }
.brand-flame { width: 34px; height: 34px; flex: 0 0 auto; }
.brand-words { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-weight: 800; font-size: 1.02rem; color: var(--ink); }
.brand-name b { color: var(--accent); font-weight: 800; }
.brand-app { font-size: .78rem; font-weight: 600; color: var(--muted); }
.brand-sep { width: 1px; height: 28px; background: var(--line); }
.mainnav a:hover, .linklike:hover { background: #f4f6f9; color: var(--ink); }
.btn { border-radius: 10px; }
.btn-primary { background: var(--accent); border-color: var(--accent); box-shadow: var(--shadow-elegant); }
.btn-primary:hover { background: var(--accent-glow); border-color: var(--accent-glow); filter: none; }
.slogan-pill { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(201,48,45,.2); background: rgba(255,255,255,.75); color: var(--accent); border-radius: 99px; padding: 6px 14px; font-size: .78rem; font-weight: 600; margin: 0 0 14px; }
.slogan-pill img { width: 16px; height: 16px; }
.text-fire { background-image: var(--gradient-fire); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero { position: relative; }
.hero-brand { background: var(--gradient-soft); border-radius: 20px; padding: 40px 28px; margin: 18px 0 22px; overflow: hidden; border: 1px solid var(--line); }
.hero-brand::before, .hero-brand::after { content: ""; position: absolute; border-radius: 50%; background: var(--gradient-fire); filter: blur(60px); pointer-events: none; }
.hero-brand::before { width: 340px; height: 340px; top: -160px; right: -120px; opacity: .25; }
.hero-brand::after { width: 280px; height: 280px; bottom: -170px; left: -120px; opacity: .15; }
.hero-brand > * { position: relative; }
.footer { margin-top: 48px; background: var(--dark); color: rgba(255,255,255,.72); border-top: 0; }
.footer a { color: rgba(255,255,255,.72); }
.footer a:hover { color: #fff; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; padding-top: 36px; padding-bottom: 24px; }
.footer-logo { display: inline-flex; align-items: center; gap: 10px; background: #fff; border-radius: 10px; padding: 10px 14px; }
.footer-logo .brand-name { color: var(--ink); }
.footer-slogan { margin: 12px 0 6px; color: #fff; font-weight: 600; }
.footer-addr { font-size: .85rem; line-height: 1.6; }
.footer h4 { color: #fff; margin: 0 0 10px; font-size: .95rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: .9rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 16px; padding-bottom: 20px; font-size: .78rem; color: rgba(255,255,255,.5); }
@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr; } .brand-sep, .brand-app { display: none; } .brand-logo { height: 26px; } .hero-brand { padding: 28px 18px; } }

/* Pakete */
.hero-small { text-align: center; }
.hero-small .lead { margin-left: auto; margin-right: auto; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 18px; align-items: stretch; }
.plan { display: flex; flex-direction: column; gap: 6px; position: relative; }
.plan .btn { margin-top: auto; }
.plan-featured { border: 2px solid var(--accent); box-shadow: var(--shadow-elegant); }
.plan-badge { position: absolute; top: -12px; left: 22px; background: var(--gradient-fire); color: #fff; font-size: .75rem; font-weight: 700; padding: 3px 12px; border-radius: 99px; }
.price { font-size: 1.9rem; font-weight: 800; margin: 4px 0 0; letter-spacing: -.02em; }
.price span { display: block; font-size: .85rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan-features { list-style: none; padding: 0; margin: 12px 0 18px; display: grid; gap: 8px; font-size: .92rem; }
.plan-features li { padding-left: 26px; position: relative; }
.plan-features li::before { position: absolute; left: 0; top: 0; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: .7rem; font-weight: 800; }
.plan-features li.on::before { content: "✓"; background: var(--accent-soft); color: var(--accent); }
.plan-features li.off { color: #9aa0aa; }
.plan-features li.off::before { content: "–"; background: #f4f6f9; color: #9aa0aa; }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } }
.plan-pick { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; display: grid; gap: 10px; margin: 0; }
.plan-pick legend { font-weight: 700; font-size: .92rem; padding: 0 6px; }
.plan-opt { flex-direction: row; align-items: flex-start; gap: 10px; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; cursor: pointer; }
.plan-opt span { display: flex; flex-direction: column; gap: 2px; }
.plan-opt:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.upsell { background: var(--accent-soft); border-radius: 10px; padding: 10px 14px; }
.upsell-card { background: var(--gradient-soft); border-color: rgba(201,48,45,.25); }
.span3 { grid-column: 1 / -1; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.print-powered { margin-top: 18pt; font-size: 8pt; color: #777; }
