:root {
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --ink: #0f172a;
  --ink-soft: #475569;
  --muted: #64748b;
  --accent: #b8141a;
  --accent-ink: #ffffff;
  --border: #e2e8f0;
  --radius: 10px;
  --max-width: 1100px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

a {
  color: var(--ink);
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

h1, h2, h3 {
  margin-top: 0;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700;
  margin-bottom: 1.25rem;
}

h2 {
  font-size: 1.875rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.brand-text {
  font-size: 0.95rem;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.75rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 500;
}

/* Hero */
.hero {
  padding: 6rem 0 5rem;
  background:
    radial-gradient(ellipse at 80% 0%, rgba(184, 20, 26, 0.08), transparent 60%),
    linear-gradient(180deg, #fbfcfe 0%, #ffffff 100%);
  border-bottom: 1px solid var(--border);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 1rem;
}

.lead {
  font-size: 1.2rem;
  color: var(--ink-soft);
  max-width: 640px;
  margin-bottom: 2rem;
}

.cta-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.05s ease, background 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: var(--ink);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent);
  color: var(--accent-ink);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}

.btn-ghost:hover {
  border-color: var(--ink);
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-lead {
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0 0 2.5rem;
}

/* Cards */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.card:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.card p {
  color: var(--ink-soft);
  margin: 0;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: start;
}

.about-grid p {
  color: var(--ink-soft);
}

.about-facts {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.about-facts dl {
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.about-facts dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-weight: 600;
}

.about-facts dd {
  margin: 0 0 0.5rem 0;
  font-weight: 500;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.85rem;
}

.contact-list li {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 1rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border);
}

.contact-list strong {
  color: var(--ink);
  font-weight: 600;
}

.contact-form {
  display: grid;
  gap: 1rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.contact-form input,
.contact-form textarea {
  font: inherit;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  width: 100%;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.08);
}

.contact-form button {
  justify-self: start;
}

.contact-form button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Honeypot — visually and semantically hidden from real users */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.form-status {
  margin: 0.25rem 0 0;
  font-size: 0.9rem;
  min-height: 1.25rem;
}

.form-status--ok {
  color: #047857;
}

.form-status--err {
  color: #b8141a;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: #cbd5e1;
  padding: 3rem 0 2rem;
  margin-top: 2rem;
}

.site-footer a {
  color: #cbd5e1;
}

.site-footer a:hover {
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #1e293b;
}

.footer-brand {
  font-weight: 600;
  color: #fff;
  margin: 0 0 0.25rem;
}

.muted {
  color: #94a3b8;
  margin: 0.25rem 0;
  font-size: 0.9rem;
}

.small {
  font-size: 0.8rem;
}

.imprint {
  padding-top: 2rem;
  color: #cbd5e1;
}

.imprint h2 {
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.imprint p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0 0 1rem;
}

/* Responsive */
@media (max-width: 720px) {
  .nav-links {
    gap: 1rem;
  }
  .brand-text {
    display: none;
  }
  .hero {
    padding: 4rem 0 3rem;
  }
  .section {
    padding: 3.5rem 0;
  }
  .about-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
