/* Source Sans Pro — bundled locally (self-hosted, no external requests) */
@font-face {
  font-family: 'SourceSansPro';
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/SourceSansPro-Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'SourceSansPro';
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/SourceSansPro-SemiBold.woff2') format('woff2');
}
@font-face {
  font-family: 'SourceSansPro';
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/SourceSansPro-Bold.woff2') format('woff2');
}

:root {
  --thuenen-blue: #008cd2;
  --thuenen-blue-dark: #0078b8;
  --thuenen-ink: #151819;
  --thuenen-dark: #37464b;
  --muted: #6c757d;
  --border: #d9dfe6;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "SourceSansPro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--thuenen-ink);
  background-color: #fff;
}

a { color: var(--thuenen-blue); }

/* ---------- Navbar ---------- */
.navbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  border-bottom: 1px solid var(--border);
  background: #fff;
}

.navbar-brand {
  display: inline-block;
  margin-right: 2rem;
  line-height: inherit;
  white-space: nowrap;
}

.brand-logo {
  display: block;
  height: 46px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  font-size: 1.125rem;
}

.nav-links a {
  color: var(--thuenen-ink);
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--thuenen-blue);
}

/* ---------- Content ---------- */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
}

h1 {
  font-size: 3rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
}

.lead {
  font-size: 1.5625rem;
  font-weight: 300;
  color: var(--muted);
  max-width: 720px;
  margin: 0 0 2rem;
}

.row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
  margin-bottom: 2.5rem;
}

.col { min-width: 0; }

/* ---------- Teaser cards ---------- */
.card {
  border: none;
  position: relative;
  transition: 0.3s linear box-shadow;
  border-top: 4px solid var(--thuenen-blue);
  background: #fff;
}

.card-catalog { border-top-color: var(--thuenen-blue); }

.card:hover {
  box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.3);
}

.card-media {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 140px;
  background: #eaf6fd;
  padding: 16px;
}

.card-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.card-body {
  flex: 1 1 auto;
  min-height: 1px;
  padding: 1rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
}

.card-title {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
  font-weight: 600;
}

.card-body p { margin: 0 0 0.9rem; color: var(--thuenen-ink); }

.card-body .when {
  font-size: 1rem;
  color: var(--muted);
  background: #f6f8f9;
  border-left: 3px solid var(--thuenen-blue);
  padding: 0.5rem 0.75rem;
}

/* ---------- Buttons ---------- */
.btn {
  margin-top: auto;
  align-self: flex-start;
  display: inline-block;
  padding: 0.3rem 3rem;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  border: 1px solid var(--thuenen-blue);
  border-radius: 0;
  background-color: var(--thuenen-blue);
  color: #fff;
}

.btn:hover {
  background-color: var(--thuenen-blue-dark);
  border-color: var(--thuenen-blue-dark);
}

/* ---------- About ---------- */
.about h2 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
}

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

.about a { color: var(--thuenen-blue); }

/* ---------- Footer ---------- */
.footer-dark {
  background-color: #37464b;
  color: #f8f9fa;
  padding: 1.5rem 0 1.75rem;
  font-size: 1.05rem;
}

.footer-dark .container {
  padding: 0 1.5rem;
  margin: 0 auto;
  max-width: 1140px;
}

.footer-dark p { margin: 0.2rem 0; }

.footer-dark a {
  color: rgba(248, 249, 250, 0.85);
  text-decoration: none;
}

.footer-dark a:hover { color: #fff; text-decoration: underline; }

@media (max-width: 600px) {
  h1 { font-size: 2.25rem; }
  .navbar { padding: 0.75rem 1rem; }
  .brand-logo { height: 36px; }
}
