﻿@import url('https://googleapis.com');

:root {
  --bg: #f1f5f9;
  --white: #ffffff;
  --ink: #0f172a;
  --muted: #475569;
  --border: #e2e8f0;
  --brand: #059669;
  --brand-soft: #ecfdf5;
  --brand-dark: #064e3b;
}

* { box-sizing: border-box; }
body { margin: 0; font-family: 'Plus Jakarta Sans', system-ui, sans-serif; background: var(--bg); color: var(--ink); line-height: 1.6; }

.navbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.88); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226,232,240,0.9);
  padding: 0 24px; height: 68px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.logo { font-size: 20px; font-weight: 800; color: var(--ink); text-decoration: none; display: flex; align-items: center; gap: 10px; letter-spacing: -0.4px; }
.logo span { background: linear-gradient(135deg, #10b981, #059669); color: #fff; padding: 4px 10px; border-radius: 99px; font-size: 12px; font-weight: 700; }

.nav-links { display: flex; gap: 6px; overflow-x: auto; padding: 4px 0; }
.nav-link { padding: 8px 14px; border-radius: 99px; text-decoration: none; color: var(--muted); font-size: 13px; font-weight: 700; white-space: nowrap; transition: all 0.18s ease; }
.nav-link:hover { background: #e2e8f0; color: var(--ink); }
.nav-link.active { background: #0f172a; color: #fff; box-shadow: 0 4px 12px rgba(15,23,42,0.18); }

.wrap { max-width: 1160px; margin: 0 auto; padding: 30px 20px 50px; }

.hero-card {
  background: radial-gradient(circle at 85% 20%, #065f46 0%, #0f172a 65%);
  color: #fff; border-radius: 28px; padding: 36px; margin-bottom: 34px;
  box-shadow: 0 24px 48px rgba(15,23,42,0.16);
  border: 1px solid rgba(255,255,255,0.12);
}
.hero-pill { display: inline-block; background: rgba(16,185,129,0.2); border: 1px solid rgba(52,211,153,0.4); color: #6ee7b7; padding: 5px 14px; border-radius: 99px; font-size: 12px; font-weight: 700; margin-bottom: 12px; }
.hero-card h1 { margin: 0 0 8px; font-size: 32px; letter-spacing: -0.6px; }
.hero-card p { margin: 0 0 16px; color: #cbd5e1; font-size: 15px; }

.btn-primary { background: linear-gradient(135deg, #10b981, #059669); color: #fff; font-weight: 800; padding: 11px 18px; border-radius: 12px; text-decoration: none; font-size: 13.5px; box-shadow: 0 6px 18px rgba(16,185,129,0.3); transition: transform .15s; }
.btn-primary:hover { transform: translateY(-2px); }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); gap: 20px; margin-bottom: 32px; }
.card {
  background: var(--white); border: 1px solid var(--border); border-radius: 22px; padding: 24px;
  box-shadow: 0 6px 24px rgba(15,23,42,0.04); transition: all 0.22s ease; text-decoration: none; color: inherit;
  display: flex; flex-direction: column; justify-content: space-between;
}
.card:hover { transform: translateY(-4px); border-color: #10b981; box-shadow: 0 16px 34px rgba(5,150,105,0.12); }
.tag { display: inline-block; font-size: 11.5px; font-weight: 800; padding: 5px 11px; border-radius: 99px; background: var(--brand-soft); color: var(--brand); width: fit-content; margin-bottom: 10px; }

.calc-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.box { background: var(--white); border: 1px solid var(--border); border-radius: 24px; padding: 28px; box-shadow: 0 8px 28px rgba(15,23,42,0.04); }
.field { margin-bottom: 16px; }
label { display: block; font-size: 13.5px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
label small { font-weight: 500; color: var(--muted); display: block; font-size: 12px; }
input, select {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1.5px solid #cbd5e1;
  background: #f8fafc; color: var(--ink); font-size: 15px; font-weight: 700; font-family: inherit; transition: 0.15s;
}
input:focus, select:focus { outline: none; border-color: #10b981; background: #fff; box-shadow: 0 0 0 4px rgba(16,185,129,0.12); }

.result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.res-tile { background: #f8fafc; border: 1px solid var(--border); border-radius: 16px; padding: 16px; }
.res-tile.main-res { background: linear-gradient(135deg, #ecfdf5, #d1fae5); border-color: #6ee7b7; grid-column: span 2; }
.res-tile span { font-size: 12px; color: var(--muted); font-weight: 700; display: block; margin-bottom: 2px; }
.res-tile strong { font-size: 22px; color: var(--ink); font-weight: 800; }
.res-tile.main-res strong { color: var(--brand-dark); font-size: 26px; }

.ampel { padding: 15px 18px; border-radius: 14px; font-size: 13.5px; font-weight: 600; margin-top: 14px; }
.ampel.green { background: #ecfdf5; color: #064e3b; border: 1px solid #a7f3d0; }
.ampel.yellow { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }
.ampel.red { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

.cta-card { margin-top: 18px; background: linear-gradient(135deg, #fffbeb, #fef3c7); border: 1.5px solid #f59e0b; border-radius: 16px; padding: 18px; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.cta-link { background: #d97706; color: #fff; font-weight: 800; padding: 11px 18px; border-radius: 12px; text-decoration: none; font-size: 13.5px; }
.checklist-item { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 12px; background: #f8fafc; border: 1px solid var(--border); margin-bottom: 8px; cursor: pointer; font-size: 14px; font-weight: 600; }
.checklist-item input { width: 18px; height: 18px; accent-color: var(--brand); }
.risk-note { margin-top: 32px; padding: 16px 20px; background: #fff; border: 1px solid var(--border); border-left: 4px solid #dc2626; border-radius: 14px; font-size: 12px; color: var(--muted); }

@media (max-width: 820px) {
  .navbar { height: auto; padding: 12px 14px; flex-direction: column; align-items: flex-start; gap: 10px; }
  .nav-links { width: 100%; }
  .hero-card { grid-template-columns: 1fr !important; padding: 24px 18px !important; }
  .calc-layout, .result-grid { grid-template-columns: 1fr !important; }
  .res-tile.main-res { grid-column: span 1 !important; }
}

@keyframes pageSmoothIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
main.wrap { animation: pageSmoothIn 0.38s cubic-bezier(.22,1,.36,1) both; }

