/* Striem B.V. — livedienst.nl light theme
   Colors from livedienst brand: bg #f8fafc, text #0f172a, brand #2563eb */

:root {
  --page-bg: #f8fafc;
  --page-text: #0f172a;
  --brand: #2563eb;
  --brand-rgb: 37 99 235;
  --surface: #ffffff;
  --surface-muted: #f1f5f9;
  --border: #e2e8f0;
  --text-muted: #64748b;
  --text-subtle: #475569;
  --header-height: 4.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'DM Sans', sans-serif;
  background-color: var(--page-bg);
  color: var(--page-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: 72rem; /* max-w-6xl */
  margin-inline: auto;
  padding-inline: 1rem;
}

@media (min-width: 640px) {
  .container {
    padding-inline: 1.5rem;
  }
}

/* Header — fixed nav like livedienst */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: var(--surface);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  padding-block: 0.75rem;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  height: 2rem;
  width: auto;
}

@media (min-width: 640px) {
  .brand-logo {
    height: 2.25rem;
  }
}

/* Main */
.site-main {
  flex: 1;
  padding-top: var(--header-height);
}

/* Hero */
.hero {
  padding: 4rem 0 2.5rem;
}

@media (min-width: 768px) {
  .hero {
    padding: 5rem 0 3rem;
  }
}

.hero-title {
  margin: 0 0 1rem;
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--page-text);
}

.hero-subtitle {
  margin: 0;
  max-width: 42rem;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-subtle);
}

/* Content */
.content-section {
  padding: 1.5rem 0 4rem;
}

.content-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .content-grid {
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: start;
  }
}

.card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.5rem;
}

@media (min-width: 640px) {
  .card {
    padding: 2rem;
  }
}

.card-title {
  margin: 0 0 1rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--page-text);
}

.card-body {
  margin: 0;
  color: var(--text-subtle);
  font-size: 1rem;
}

.link {
  color: var(--brand);
  text-decoration: none;
  font-weight: 500;
}

.link:hover {
  text-decoration: underline;
}

/* Company details */
.details-list {
  margin: 0;
}

.details-row {
  margin-bottom: 1.25rem;
}

.details-row:last-child {
  margin-bottom: 0;
}

.details-row dt {
  margin: 0 0 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.details-row dd {
  margin: 0;
  font-size: 1rem;
  color: var(--page-text);
}

/* Footer — livedienst pattern */
.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
  background-color: var(--page-bg);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding-block: 1.5rem;
}

@media (min-width: 640px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    gap: 1rem;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.footer-logo {
  height: 1.5rem;
  width: auto;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.footer-brand:hover .footer-logo {
  opacity: 1;
}

.footer-copy {
  margin: 0;
  font-size: 0.75rem;
  color: var(--text-muted);
  opacity: 0.8;
  order: 3;
}

@media (min-width: 640px) {
  .footer-copy {
    order: 0;
  }
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.footer-link {
  font-size: 0.875rem;
  color: var(--text-subtle);
  text-decoration: none;
  opacity: 0.65;
  transition: color 0.2s, opacity 0.2s;
}

.footer-link:hover {
  color: var(--brand);
  opacity: 1;
}
