/* kaizen.digital — minimal site styles */

:root {
  --ink: #0a0a0a;
  --paper: #ffffff;
  --paper-alt: #f6f6f4;
  --muted: #6b6b6b;
  --line: #e6e6e6;
  --maxw: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }
html, body { height: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 16px;
  z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; text-decoration: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { height: 40px; width: auto; display: block; }
.brand-name {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink);
}
.brand:hover { text-decoration: none; }

.site-nav {
  display: flex;
  gap: 28px;
  font-size: 15px;
  letter-spacing: 0.02em;
}
.site-nav a { color: var(--muted); }
.site-nav a:hover { color: var(--ink); text-decoration: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 15px;
  letter-spacing: 0.02em;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: #262626; border-color: #262626; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }

/* ---------- Hero ---------- */
.hero { padding: clamp(72px, 14vw, 150px) 0 clamp(64px, 10vw, 120px); }
.eyebrow {
  margin: 0 0 24px;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-title {
  margin: 0 0 28px;
  font-weight: 300;
  font-size: clamp(38px, 8vw, 84px);
  line-height: 1.04;
  letter-spacing: -0.02em;
}
.muted-title { color: var(--muted); }
.hero-lead {
  max-width: 620px;
  margin: 0 0 40px;
  font-size: clamp(18px, 2.4vw, 22px);
  color: #333;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 10vw, 120px) 0; }
.section-alt { background: var(--paper-alt); }

.section-head { max-width: 640px; margin: 0 0 56px; }
.section-kicker {
  margin: 0 0 14px;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.section-title {
  margin: 0;
  font-weight: 300;
  font-size: clamp(28px, 5vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.section-lead {
  margin: 20px 0 0;
  font-size: clamp(17px, 2vw, 20px);
  color: #333;
}

/* ---------- Services ---------- */
.services, .steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.services { grid-template-columns: repeat(3, 1fr); }
.steps { grid-template-columns: repeat(3, 1fr); }

.service, .step {
  background: var(--paper);
  padding: 36px;
}
.section-alt .step { background: var(--paper-alt); }

.service-no, .step-no {
  display: block;
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 18px;
}
.service h3, .step h3 {
  margin: 0 0 10px;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.service p, .step p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

/* ---------- Contact ---------- */
.contact { text-align: center; }
.contact .section-kicker { text-align: center; }
.contact-title {
  margin: 0 auto 18px;
  max-width: 760px;
  font-weight: 300;
  font-size: clamp(30px, 6vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.contact-lead {
  margin: 0 auto 40px;
  max-width: 520px;
  color: var(--muted);
  font-size: 19px;
}
.contact-mail {
  display: inline-block;
  font-size: clamp(22px, 4vw, 34px);
  font-weight: 300;
  letter-spacing: -0.01em;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
}
.contact-mail:hover { text-decoration: none; color: var(--muted); border-color: var(--muted); }
.contact-address {
  display: block;
  margin-top: 32px;
  font-style: normal;
  font-size: 15px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0; }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-mark { height: 40px; width: auto; }
.footer-nav { font-size: 14px; letter-spacing: 0.04em; }
.footer-nav a { color: var(--muted); }
.footer-nav a:hover { color: var(--ink); }
.footer-copy { margin: 0; font-size: 14px; color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  .services, .steps { grid-template-columns: 1fr; }
  .site-nav { gap: 18px; font-size: 14px; }
  .brand-mark { height: 34px; }
  .brand-name { font-size: 17px; }
  .service, .step { padding: 28px 24px; }
}

@media (max-width: 420px) {
  .site-nav a:nth-child(1) { display: none; } /* keep header from crowding */
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* ---------- Legal (Impressum) ---------- */
.legal-header {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.legal-header .brand img { height: 34px; width: auto; display: block; }

.legal { padding: 56px 0 80px; }
.legal .back { color: var(--muted); font-size: 14px; letter-spacing: 0.04em; }
.legal h1 { font-weight: 300; font-size: clamp(28px, 5vw, 40px); margin: 12px 0 24px; }
.legal h2 { font-size: 18px; font-weight: 600; margin: 36px 0 6px; }
.legal p { margin: 0 0 4px; }
.legal .muted { color: var(--muted); }
.legal .todo {
  background: #fff8e1;
  border: 1px solid #f0e0a0;
  color: #6b5900;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 14px;
}
