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

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
               "Helvetica Neue", Arial, sans-serif;
}

.page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

/* Kaart */
.card {
  position: relative;
  max-width: 960px;
  width: 100%;
  background-color: #7bc4dd;
  color: #ffffff;
  padding: 40px 56px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  border-radius: 0;
}

/* Paard in achtergrond */
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/assets/img/achtergrond.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 95%;
  opacity: 0.25;
  pointer-events: none;
}

/* Zorg dat content boven de achtergrond ligt */
.card > * {
  position: relative;
  z-index: 1;
}

/* Header */
.card-header {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 32px;
}

.logo { width: 80px; height: auto; }

/* Titel */
:root {
  /* één schaal voor het hele blok */
  --brand-scale: clamp(2rem, 3vw, 3.4rem);
}

.brand-name {
  margin: 0;
  font-size: var(--brand-scale);
}

.brand-subtitle {
  margin: 4px 0 0;
  font-size: calc(var(--brand-scale) * 0.47);  /* verhouding ondertitel */
  line-height: 1.2;
}

/* Middenstuk */
.card-body {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 40px;
  font-size: 1.05rem;
}

.left {
  max-width: 40%;
}

.right {
  font-style: normal;
  max-width: 50%;
  color: #111111;
}

.right address {
  font-style: normal;
  margin: 0 0 1rem;
  line-height: 1.4;
}

.name {
  margin: 0 0 4px;
  font-size: 1.4rem;
  font-weight: 600;
}

.role {
  margin: 0;
  font-size: 1.1rem;
}

a {
  color: inherit;
  text-decoration: underline;
}

/* Footer */
.card-footer .slogan {
  margin: 0;
  font-size: 1.5rem;
}

/* Responsive */
@media (max-width: 720px) {
  .card {
    padding: 32px 20px;
  }

  .card-body {
    flex-direction: column;
    gap: 24px;
  }

  .left, .right {
    max-width: 100%;
  }

  .logo {
    width: 64px;
  }
}