/* =========================
   Denovation.css
   Production stylesheet for denovation.ch
   ========================= */

/* Design tokens */
:root{
  --bg:#ffffff;
  --ink:#111827;          /* Near-black for legibility */
  --muted:#4b5563;        /* Neutral-600 */
  --accent:#1d4ed8;       /* Blue-700 */
  --accent-2:#10b981;     /* Emerald-500 */
  --line:#e5e7eb;         /* Gray-200 */
  --panel:#ffffff;
  --panel-2:#f9fafb;      /* Subtle gray card */
  --shadow:0 8px 24px rgba(17,24,39,.06);
  --radius:14px;
  --radius-sm:10px;
  --maxw:1100px;
}

/* Reset / base */
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img{max-width:100%; height:auto}
a{color: var(--accent); text-decoration:none; transition: color .2s}
a:hover{color:#153e9f}

/* Layout helpers */
.container{ max-width: var(--maxw); margin: 0 auto; padding-inline: 20px }

/* Header */
header.site-header{
  position: sticky; top:0; z-index: 999;
  background:#fff;
  border-bottom:1px solid var(--line);
  box-shadow: 0 4px 14px rgba(17,24,39,.04);
}
.nav{
  max-width: var(--maxw); margin: 0 auto;
  display:flex; align-items:center; justify-content:space-between;
  padding: 14px 20px;
}
.brand{display:flex; align-items:center; gap:10px; font-weight:700; letter-spacing:.2px}
.brand-badge{
  width:26px; height:26px; border-radius:6px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 0 2px rgba(17,24,39,.06) inset;
}
nav.primary a{
  color: var(--muted); font-weight:500; margin-left:16px; padding:6px 10px; border-radius:8px
}
nav.primary a:hover{ background: rgba(29,78,216,.08); color: var(--accent)}
nav.primary a:focus-visible{ outline: 2px solid var(--accent); outline-offset: 2px}

/* Hero */
.hero{
  max-width: var(--maxw); margin: 42px auto 24px; padding: 0 20px 8px;
  display:grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: center;
}
.hero h1{
  font-size: clamp(2rem, 2.4rem + 1vw, 3.1rem);
  line-height:1.1; margin: 6px 0 10px; letter-spacing:.2px;
}
.hero p{ color: var(--muted); font-size: 1.125rem; margin: 0 0 16px}
.cta-row{ display:flex; gap: 12px; flex-wrap: wrap; margin-top: 8px}
.btn{
  background: var(--accent); color:#fff; font-weight:700; letter-spacing:.3px;
  border: 1px solid var(--accent); padding: 12px 18px; border-radius: 999px; cursor: pointer;
  box-shadow: 0 6px 20px rgba(29,78,216,.22);
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  display:inline-block;
}
.btn:hover{ transform: translateY(-1px); box-shadow: 0 10px 26px rgba(29,78,216,.3)}
.btn.alt{ background: #fff; color: var(--accent); }
.btn.alt:hover{ background: #f0f5ff}

/* Hero card */
.hero-card{
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 18px;
  box-shadow: var(--shadow);
}
.hero-list{ margin:0; padding-left: 20px; color: var(--muted)}
.hero-list li{ margin: 8px 0}

/* Main */
main{ max-width: var(--maxw); margin: 10px auto 60px; padding: 0 20px}
section{ margin: 28px 0}
.card{
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--shadow);
}
h2{ font-size: clamp(1.3rem, 1.1rem + 1vw, 1.9rem); margin: 0 0 10px}
.muted{ color: var(--muted)}

/* Lists inside cards */
ul{margin: 8px 0 0; padding-left: 18px}
li+li{margin-top:6px}

/* Table */
table{
  width: 100%; border-collapse: collapse; margin: 14px 0 4px;
  background: #fff; border-radius: var(--radius-sm); overflow: hidden; border:1px solid var(--line);
}
th,td{ padding: 12px 10px; border-bottom: 1px solid var(--line)}
th{ text-align: left; color:#111827; background: #f5f7fa; font-weight:600}
tr:hover td{ background: #f9fafb}

/* Quote */
.quote{
  border-left: 4px solid var(--accent);
  padding: 18px 18px;
  background: #eff6ff;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: #0f265c;
  box-shadow: inset 0 3px 8px rgba(29,78,216,.06);
  margin-top:14px;
}

/* Footer */
footer.site-footer{
  border-top: 1px solid var(--line);
  background: #fafafa;
  color: var(--muted);
  text-align: center; padding: 28px 14px;
  font-size: .95rem;
}

/* Reveal on scroll */
.reveal{ opacity: 0; transform: translateY(10px); transition: opacity .6s ease, transform .6s ease}
.reveal.show{ opacity:1; transform: translateY(0)}
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity:1!important; transform:none!important; transition: none!important}
  .btn{ transition: none!important}
}

/* Accessible Modal */
.overlay{
  position: fixed; inset: 0;
  background: rgba(17,24,39,.48);
  display: none;
  align-items: center; justify-content: center;
  padding: 20px;
}
.overlay.open{ display:flex }
.modal{
  width: min(820px, 96vw);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(17,24,39,.18);
  max-height: 92vh; overflow: auto;
  transform: translateY(6px); opacity: 0;
  transition: transform .25s ease, opacity .25s ease;
}
.overlay.open .modal{ transform: translateY(0); opacity: 1}
@media (prefers-reduced-motion: reduce){
  .modal{ transition: none; transform: none; opacity: 1}
}
.modal header{
  position: sticky; top:0; background:#fff; border-bottom:1px solid var(--line);
  padding: 14px 18px; border-top-left-radius: var(--radius); border-top-right-radius: var(--radius);
}
.modal header h3{ margin:0; font-size: 1.2rem}
.modal .content{ padding: 18px}
.modal .close{
  margin-left: auto; background: #fff; color: var(--ink);
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; cursor: pointer;
}
.modal .close:hover{ background:#f3f6ff}

/* Layout utilities */
.grid-2{ display: grid; grid-template-columns: 1fr 1fr; gap: 16px}
@media (max-width: 700px){ .grid-2{ grid-template-columns: 1fr} }
.badge{
  display:inline-block; padding:4px 10px; border-radius: 999px; background:#eff6ff; color:#0f265c; font-weight:600; border:1px solid var(--line)
}
.list-tight li{ margin: 6px 0 }

/* Responsive */
@media (max-width: 900px){
  .hero{ grid-template-columns: 1fr; gap: 16px}
  /* Optional: hide full nav on small screens; replace with menu button if needed
     nav.primary{ display:none }
  */
}

Sources
