/* kirschblute — minimalist serif theme
   white background, black text, blue highlight */

:root {
  --bg: #ffffff;
  --fg: #111111;
  --muted: #555555;
  --accent: #1d4ed8;      /* blue highlight */
  --accent-soft: #dbeafe;
  --border: #e5e5e5;
  --serif: "Times New Roman", "Times", "Liberation Serif", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --maxw: 68rem;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

img { max-width: 100%; height: auto; display: block; }

/* ---------- header ---------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1.5rem 1.5rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--fg);
  font-size: 1.35rem;
  letter-spacing: 0.01em;
}
.brand:hover { text-decoration: none; }

.brand-mark { width: 1.5rem; height: 1.5rem; }

.brand-name { font-weight: 600; }

.site-nav { display: flex; gap: 1.5rem; }

.nav-link {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.nav-link:hover { color: var(--fg); }
.nav-link.is-active { color: var(--accent); }

/* ---------- main ---------- */
main { max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; flex: 1 0 auto; width: 100%; }

/* ---------- hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  padding: 5rem 0 4rem;
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.05;
  font-weight: 500;
  margin: 0 0 1.25rem;
  letter-spacing: -0.01em;
}

.hero-sub {
  font-size: 1.25rem;
  color: var(--muted);
  max-width: 34rem;
  margin: 0 0 2rem;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  padding: 0.7rem 1.4rem;
  border: 1px solid var(--fg);
  border-radius: 2px;
  transition: background 0.15s ease, color 0.15s ease;
}
.btn:hover { text-decoration: none; }

.btn-primary { background: var(--fg); color: var(--bg); }
.btn-primary:hover { background: var(--accent); border-color: var(--accent); }

.btn-ghost { background: transparent; color: var(--fg); }
.btn-ghost:hover { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }

.hero-art { display: flex; justify-content: center; }
.hero-img { width: 100%; max-width: 22rem; }

/* ---------- strip ---------- */
.strip { border-top: 1px solid var(--border); padding: 3rem 0; }
.strip-inner { max-width: 40rem; }
.strip-title { font-size: 1.6rem; font-weight: 500; margin: 0 0 0.75rem; }
.strip-body { color: var(--muted); margin: 0; }

/* ---------- page ---------- */
.page { padding: 4rem 0 5rem; }
.page-header { border-bottom: 1px solid var(--border); margin-bottom: 2rem; }
.page-title { font-size: 2.4rem; font-weight: 500; margin: 0 0 0.5rem; }
.page-body { max-width: 42rem; }
.page-body h2 { font-size: 1.4rem; font-weight: 500; margin: 2.25rem 0 0.75rem; }
.page-body p { margin: 0 0 1.25rem; }
.page-body ul { padding-left: 1.25rem; margin: 0 0 1.5rem; }
.page-body li { margin-bottom: 0.5rem; }

/* ---------- services grid ---------- */
/* Let the services grid span the full content width instead of the
   narrower prose measure, so the cards fill the space evenly. */
.page-body:has(.services) { max-width: var(--maxw); }
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1.5rem; margin-top: 1.5rem; }
.service {
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}
.service h3 { margin: 0 0 0.5rem; font-size: 1.15rem; font-weight: 600; }
.service p { margin: 0; color: var(--muted); font-size: 0.98rem; }

/* ---------- contact ---------- */
.contact-line { margin: 0 0 0.75rem; }
.contact-line a { font-family: var(--sans); }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--border); margin-top: 2rem; }
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--muted);
}
.footer-brand { color: var(--fg); font-family: var(--serif); font-size: 1rem; }
.footer-mail { color: var(--muted); }
.footer-mail:hover { color: var(--accent); }

/* ---------- responsive ---------- */
@media (max-width: 720px) {
  .hero { grid-template-columns: 1fr; gap: 2rem; padding: 3rem 0 2.5rem; }
  .hero-art { order: -1; }
  .hero-img { max-width: 14rem; }
  .site-header { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
}
