:root {
  --blue-950: #062752;
  --blue-900: #08386f;
  --blue-800: #0c4f96;
  --blue-700: #1d6ab9;
  --blue-100: #e8f1fa;
  --blue-050: #f4f8fc;
  --silver-050: #f7f9fb;
  --silver-100: #eef3f7;
  --silver-200: #d8e1ea;
  --silver-300: #c3cfdb;
  --ink: #12263f;
  --muted: #5d7188;
  --white: #ffffff;
  --success: #0d7a53;
  --danger: #b63f4a;
  --shadow: 0 18px 40px rgba(8, 56, 111, 0.11);
  --shadow-lg: 0 28px 60px rgba(8, 56, 111, 0.18);
  --radius-xl: 18px;
  --radius-lg: 14px;
  --radius-md: 10px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(29, 106, 185, 0.07), transparent 26%),
    linear-gradient(180deg, #f7fafc 0%, #edf3f8 100%);
}

img {
  display: block;
  max-width: 100%;
}

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

main {
  padding-bottom: 72px;
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(18, 38, 63, 0.08);
  box-shadow: 0 14px 32px rgba(7, 39, 80, 0.08);
}

.header-inner {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 250px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.nav a {
  padding: 12px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  color: var(--blue-950);
  transition: 0.2s ease;
  border: 1px solid transparent;
}

.nav a:hover,
.nav a.is-active {
  background: var(--blue-050);
  border-color: rgba(12, 79, 150, 0.12);
}

.nav .cta {
  background: linear-gradient(135deg, var(--blue-950), var(--blue-800));
  color: var(--white);
  box-shadow: 0 12px 24px rgba(8, 56, 111, 0.16);
}

.nav .cta:hover,
.nav .cta.is-active {
  background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
  color: var(--white);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid rgba(18, 38, 63, 0.1);
  background: var(--white);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  margin: 5px 0;
  border-radius: 99px;
  background: var(--blue-950);
}

.section {
  margin-top: 32px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.section-heading h2,
.content-card h2,
.contact-card h2,
.detail-copy-card h2,
.contact-page-card h2 {
  font-size: clamp(28px, 4.5vw, 42px);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.section-heading h2 {
  margin: 0;
}

.content-card h2,
.contact-card h2,
.detail-copy-card h2,
.contact-page-card h2 {
  margin: 0 0 18px;
}

.section-link {
  color: var(--blue-900);
  font-weight: 700;
}

.page-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 8px 12px;
  margin-bottom: 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue-900);
  background: var(--blue-050);
}

.content-card,
.project-card,
.contact-card,
.detail-visual-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(18, 38, 63, 0.08);
  box-shadow: var(--shadow);
}

.content-card {
  border-radius: var(--radius-xl);
  padding: 34px;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 26px;
  align-items: start;
}

.intro-copy p,
.diensten-card p,
.contact-copy p,
.detail-copy-card p,
.contact-page-card p,
.gallery-empty p,
.not-found-card p {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.78;
  font-size: 17px;
}

.service-stack {
  display: grid;
  gap: 14px;
  margin-top: 6px;
}

.service-card {
  padding: 22px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #ffffff 0%, #f6f9fc 100%);
  border: 1px solid rgba(18, 38, 63, 0.08);
}

.service-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.service-card span {
  color: var(--muted);
  line-height: 1.7;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.projects-grid .project-card {
  grid-column: span 4;
}

.projects-grid .project-card.large {
  grid-column: span 6;
}

.projects-grid.is-full .project-card {
  grid-column: span 4;
}

.project-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 44px rgba(8, 56, 111, 0.16);
}

.project-link-block {
  display: block;
  height: 100%;
}

.project-visual {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue-950), var(--blue-700));
}

.project-visual img,
.detail-visual-card img,
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-body {
  padding: 22px;
}

.project-tag {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--blue-050);
  color: var(--blue-900);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-title {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.project-body p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.72;
}

.project-link {
  font-weight: 700;
  color: var(--blue-900);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 700;
  transition: 0.2s ease;
}

.button.primary {
  background: var(--white);
  color: var(--blue-900);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.18);
}

.page-button {
  background: var(--blue-050);
  color: var(--blue-900);
  border-color: rgba(12, 79, 150, 0.1);
}

.button.is-inline {
  width: 100%;
}

.diensten-layout {
  display: grid;
  gap: 20px;
}

.diensten-card-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(270px, 0.9fr);
  gap: 28px;
  align-items: start;
}

.diensten-intro {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink) !important;
}

.diensten-list-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--blue-050) 0%, #ffffff 100%);
  border: 1px solid rgba(18, 38, 63, 0.08);
}

.diensten-list-card strong {
  display: block;
  margin-bottom: 14px;
  font-size: 19px;
}

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
  color: var(--muted);
  line-height: 1.6;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: var(--blue-700);
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 24px;
  align-items: stretch;
  border-radius: var(--radius-xl);
  padding: 34px;
}

.contact-box {
  height: 100%;
  padding: 26px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--blue-950), var(--blue-700));
  color: var(--white);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.contact-label {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-box strong {
  display: block;
  font-size: 24px;
  margin-bottom: 14px;
}

.contact-box a {
  display: block;
  margin-bottom: 10px;
}

.contact-box.is-badges {
  display: grid;
  align-content: start;
}

.contact-badge-stack {
  display: grid;
  gap: 12px;
}

.contact-badge {
  display: flex !important;
  align-items: center;
  gap: 14px;
  min-height: 78px;
  padding: 14px 16px;
  margin-bottom: 0 !important;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--white);
}

.contact-badge img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  flex: 0 0 46px;
}

.contact-badge span {
  display: block;
  font-weight: 700;
  line-height: 1.4;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: 20px;
}

.detail-visual-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 100%;
}

.detail-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.detail-meta-grid.is-single {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.detail-meta-item {
  padding: 18px;
  border-radius: var(--radius-lg);
  background: var(--silver-050);
  border: 1px solid rgba(18, 38, 63, 0.08);
}

.detail-meta-item span {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.detail-meta-item strong {
  display: block;
  font-size: 18px;
  line-height: 1.4;
}

.detail-meta-item strong.no-break,
.no-break {
  white-space: nowrap;
}

.detail-link-row {
  margin-top: 24px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.gallery-item {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(18, 38, 63, 0.08);
  box-shadow: var(--shadow);
  aspect-ratio: 5 / 4;
  background: var(--white);
}

.gallery-item img,
.gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-item video {
  background: var(--blue-950);
}

.contact-page-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.contact-page-card.is-muted {
  background: linear-gradient(180deg, #ffffff 0%, var(--blue-050) 100%);
}

.contact-detail-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.contact-person-layout {
  display: block;
}

.contact-person-layout.has-photo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 200px;
  gap: 22px;
  align-items: start;
}

.contact-person-photo-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(18, 38, 63, 0.08);
  box-shadow: var(--shadow);
  background: var(--white);
}

.contact-person-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.contact-detail-list a,
.contact-detail-list div {
  color: var(--muted);
  font-size: 18px;
}

.site-footer {
  background: linear-gradient(135deg, var(--blue-950), var(--blue-800));
  color: var(--white);
  box-shadow: 0 -24px 46px rgba(8, 56, 111, 0.2);
}

.footer-inner {
  padding: 44px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr 0.8fr;
  gap: 28px;
}

.footer-brand img {
  width: 220px;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(255,255,255,0.94);
  margin-bottom: 18px;
}

.footer-brand h3 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.15;
}

.footer-brand p,
.footer-meta div,
.footer-meta a {
  color: rgba(255,255,255,0.82);
  line-height: 1.74;
}

.footer-title {
  margin: 0 0 14px;
  font-size: 17px;
  letter-spacing: 0.02em;
}

.footer-badges {
  display: grid;
  gap: 14px;
}

.badge {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.06);
}

.badge img {
  width: 64px;
  height: 64px;
  object-fit: cover;
}

.badge span {
  font-weight: 700;
}

.badge,
.contact-badge {
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.72);
  font-size: 14px;
}

@media (max-width: 1080px) {
  .projects-grid .project-card,
  .projects-grid .project-card.large,
  .projects-grid.is-full .project-card {
    grid-column: span 6;
  }

  .footer-grid,
  .detail-layout,
  .contact-page-grid,
  .intro-grid,
  .diensten-card-grid,
  .contact-card,
  .contact-person-layout.has-photo {
    grid-template-columns: 1fr;
  }

  .detail-meta-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .header-inner {
    min-height: 78px;
  }

  .brand img {
    width: 210px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 16px;
    width: min(320px, calc(100% - 32px));
    padding: 14px;
    border-radius: 18px;
    background: rgba(255,255,255,0.98);
    border: 1px solid rgba(18, 38, 63, 0.08);
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    align-items: stretch;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    border-radius: 12px;
  }

  .projects-grid .project-card,
  .projects-grid .project-card.large,
  .projects-grid.is-full .project-card,
  .gallery-grid,
  .detail-meta-grid,
  .detail-meta-grid.is-single {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    display: grid;
  }

  .projects-grid .project-card,
  .projects-grid .project-card.large,
  .projects-grid.is-full .project-card {
    grid-column: span 12;
  }

  .content-card,
  .contact-card {
    padding: 24px;
  }
}

@media (max-width: 640px) {
  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .footer-brand img {
    width: 180px;
  }
}
