/* DR-Techniek B.V. — statische visitekaartpagina
   Sober industrieel: koel staalgrijs, één blauwe accentkleur. */

:root {
  --bg:          #e9edf0;
  --bg-grid:     #dde3e8;
  --surface:     #ffffff;
  --ink:         #1b1f24;
  --muted:       #5c636c;
  --line:        #dde1e5;
  --steel:       #205a83;
  --steel-dark:  #17456a;

  --radius: 4px;
  --maxw: 460px;

  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
  color: var(--ink);
  background-color: #ffffff;
  line-height: 1.5;
}

/* --- Kaart / labelplaatje --- */
.card {
  position: relative;
  width: 100%;
  max-width: var(--maxw);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 40px -24px rgba(23, 69, 106, 0.45);
  overflow: hidden;
  animation: rise 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.card__accent {
  height: 6px;
  background: linear-gradient(90deg, var(--steel-dark), var(--steel));
}

.card__body {
  padding: 44px 44px 40px;
}

/* --- Logo --- */
.logo {
  display: block;
  height: auto;
  max-width: 360px;
  width: 100%;
  margin-bottom: 34px;
}

/* --- Bedrijfsnaam --- */
.bedrijfsnaam {
  margin: 0;
  font-size: clamp(1.55rem, 4.5vw, 1.95rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.rule {
  display: block;
  width: 48px;
  height: 3px;
  margin: 14px 0 26px;
  background: var(--steel);
}

/* --- Gegevens --- */
.gegevens {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 12px 16px;
  margin: 0;
}

.gegevens dt {
  font-size: 0.8rem;
  color: var(--muted);
  padding-top: 1px;
}

.gegevens dd {
  margin: 0;
  display: flex;
  flex-direction: column;
  font-size: 0.98rem;
}

.gegevens a {
  color: var(--steel-dark);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease;
  width: fit-content;
}

.gegevens a:hover { border-bottom-color: var(--steel); }

.gegevens a:focus-visible {
  outline: 2px solid var(--steel);
  outline-offset: 3px;
  border-radius: 2px;
}

/* --- Metaalunie-lidmaatschap --- */
.lidmaatschap {
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.lidmaatschap img {
  display: block;
  height: auto;
  max-width: 200px;
  width: 50%;
}

/* --- Motion --- */
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .card { animation: none; }
  .gegevens a { transition: none; }
}

/* --- Klein scherm --- */
@media (max-width: 420px) {
  .card__body { padding: 34px 26px 30px; }
  .gegevens { grid-template-columns: 72px 1fr; }
}

/* --- 404 --- */
.msg {
  margin: 0 0 6px;
  color: var(--muted);
}

.terug {
  color: var(--steel-dark);
  text-decoration: none;
  border-bottom: 1px solid var(--steel);
}

.terug:focus-visible {
  outline: 2px solid var(--steel);
  outline-offset: 3px;
}
