/* ============================================================
   flurcheck.de – Static Page Styles (Bundesland-Landingpages)
   ============================================================ */

:root {
  --primary:       #2563EB;
  --primary-dark:  #1D4ED8;
  --primary-light: #EFF6FF;
  --accent:        #2563EB;
  --text:          #1E293B;
  --text-muted:    #64748B;
  --surface:       #FFFFFF;
  --surface-2:     #F8FAFC;
  --border:        #E2E8F0;
  --radius-sm:     8px;
  --radius-md:     12px;
  --radius-pill:   99px;
  --shadow-sm:     0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:     0 4px 12px rgba(0,0,0,.08);
  --max-w:         760px;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

.sp-body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--surface-2);
  -webkit-font-smoothing: antialiased;
}

/* ── Header ── */
.sp-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.sp-header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.sp-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  color: var(--primary);
  letter-spacing: -0.3px;
}

.sp-logo img { display: block; }

.sp-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.sp-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color .15s;
}

.sp-nav a:hover { color: var(--primary); }

/* ── Main ── */
.sp-main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 28px 20px 60px;
}

.sp-main h1 {
  font-size: clamp(22px, 4vw, 30px);
  font-weight: 800;
  color: var(--text);
  line-height: 1.25;
  letter-spacing: -0.5px;
  margin-top: 18px;
  margin-bottom: 16px;
}

.sp-main h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  margin-top: 0;
}

/* ── Breadcrumb ── */
.sp-breadcrumb {
  font-size: 13px;
  color: var(--text-muted);
}

.sp-breadcrumb a {
  color: var(--primary);
  text-decoration: none;
}

.sp-breadcrumb a:hover { text-decoration: underline; }

.sp-breadcrumb span { color: var(--text-muted); }

/* ── Badges ── */
.sp-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.sp-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.sp-badge-ok {
  background: #F0FDF4;
  color: #15803D;
  border: 1px solid #BBF7D0;
}

.sp-badge-no {
  background: #FEF2F2;
  color: #B91C1C;
  border: 1px solid #FECACA;
}

.sp-badge-warn {
  background: #FFFBEB;
  color: #B45309;
  border: 1px solid #FDE68A;
}

/* ── Intro ── */
.sp-intro {
  font-size: 15.5px;
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.75;
}

.sp-intro strong { color: var(--primary); }

/* ── Hinweis (Warning box) ── */
.sp-hinweis {
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  border-left: 4px solid #F59E0B;
  color: #92400E;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* ── CTA ── */
.sp-cta {
  background: var(--primary-light);
  border: 1px solid #BFDBFE;
  border-radius: var(--radius-md);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 28px;
}

.sp-cta-grey {
  background: var(--surface-2);
  border-color: var(--border);
}

.sp-cta-btn {
  display: inline-flex;
  align-items: center;
  background: var(--primary);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: background .15s, transform .1s;
  box-shadow: var(--shadow-sm);
}

.sp-cta-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.sp-cta-btn-grey {
  background: #64748B;
}

.sp-cta-btn-grey:hover { background: #475569; }

.sp-cta-note {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

/* ── Sections ── */
.sp-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}

/* ── Table ── */
.sp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.sp-table tr {
  border-bottom: 1px solid var(--border);
}

.sp-table tr:last-child { border-bottom: none; }

.sp-table td {
  padding: 9px 6px;
  vertical-align: top;
}

.sp-table td:first-child {
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  padding-right: 16px;
  width: 150px;
}

.sp-table td a {
  color: var(--primary);
  text-decoration: none;
  word-break: break-word;
}

.sp-table td a:hover { text-decoration: underline; }

/* ── Lists ── */
.sp-list, .sp-links {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14.5px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.sp-list li::before {
  content: '✓ ';
  color: #16A34A;
  font-weight: 700;
}

.sp-links li::before {
  content: '→ ';
  color: var(--primary);
  font-weight: 600;
}

.sp-links a {
  color: var(--primary);
  text-decoration: none;
}

.sp-links a:hover { text-decoration: underline; }

/* ── FAQ ── */
.sp-faq {
  font-size: 14.5px;
}

.sp-faq dt {
  font-weight: 700;
  color: var(--text);
  margin-top: 14px;
  margin-bottom: 4px;
}

.sp-faq dt:first-child { margin-top: 0; }

.sp-faq dd {
  color: var(--text-muted);
  margin: 0;
  line-height: 1.65;
}

/* ── States grid ── */
.sp-states {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sp-state-link {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--primary);
  text-decoration: none;
  transition: background .15s, border-color .15s;
}

.sp-state-link:hover {
  background: var(--primary-light);
  border-color: #93C5FD;
}

.sp-state-link-grey {
  color: var(--text-muted);
}

.sp-state-link-grey:hover {
  background: #F1F5F9;
  border-color: #CBD5E1;
}

/* ── Footer ── */
.sp-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 24px 20px;
  margin-top: 40px;
  font-size: 13px;
  color: var(--text-muted);
}

.sp-footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.sp-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.sp-footer a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color .15s;
}

.sp-footer a:hover { color: var(--primary); }

/* ── Responsive ── */
@media (max-width: 520px) {
  .sp-header-inner { padding: 10px 14px; }
  .sp-main { padding: 20px 14px 50px; }
  .sp-section { padding: 16px 14px; }
  .sp-table td:first-child { width: 120px; font-size: 13px; }
  .sp-cta { padding: 16px 14px; }
  .sp-nav { gap: 12px; }
}
