.contact-section {
--contact-radius: 1.25rem;
--contact-shadow-light: 0 14px 36px rgba(15, 23, 42, 0.06);
--contact-shadow-dark: 0 14px 36px rgba(0, 0, 0, 0.22);
--contact-border-light: rgba(15, 23, 42, 0.08);
--contact-border-dark: rgba(255, 255, 255, 0.08);
--contact-transition: 0.22s ease;
  position: relative;
  overflow: hidden;
}

.contact-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: end;
  padding: clamp(2.75rem, 5vw, 4rem) 0 clamp(5.25rem, 6vw, 6rem);
  color: #fff;
  isolation: isolate;
}

.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center bottom;
  z-index: -2;
}

.contact-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-content {
  max-width: 760px;
}

.contact-kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
  opacity: 0.92;
}

.contact-title {
  font-size: clamp(1.85rem, 4vw, 3.25rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.9rem;
  max-width: 12ch;
}

.contact-subtitle {
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
  line-height: 1.65;
  max-width: 58ch;
  margin-bottom: 0;
}

.contact-overlap {
  position: relative;
  z-index: 2;
  margin-top: clamp(-3.25rem, -4vw, -2rem);
  padding-bottom: clamp(3rem, 5vw, 5rem);
}

.contact-card {
  border-radius: var(--contact-radius);
  transition: transform var(--contact-transition), box-shadow var(--contact-transition), border-color var(--contact-transition);
  height: 100%;
}

.contact-card:hover {
  transform: translateY(-2px);
}

.contact-card-main {
  border-radius: 1.5rem;
  position: relative;
  isolation: isolate;
}

.contact-card-main::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.section-label {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.9rem;
}

.section-text {
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 44ch;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.info-item {
  border-radius: 1rem;
  padding: 1rem 1rem 0.95rem;
  height: 100%;
}

.info-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.45rem;
}

.info-link {
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  word-break: break-word;
}

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

.privacy-list {
  display: grid;
  gap: 0.85rem;
}

.privacy-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.95rem 1rem;
  border-radius: 1rem;
}

.privacy-check {
  font-weight: 700;
  flex-shrink: 0;
  line-height: 1.2;
}

.map-wrap {
  min-height: clamp(230px, 30vw, 100%);
  height: 100%;
}

/* LIGHT MODE */
[data-bs-theme="light"] .contact-section {
  background: #ffffff;
  color: #1e293b;
}

[data-bs-theme="light"] .contact-hero::before {
  background-image: url("../images/1920/0900/rheden-001-001.jpg");
}

[data-bs-theme="light"] .contact-hero::after {
  background: linear-gradient(
  90deg,
  rgba(15, 23, 42, 0.74) 0%,
  rgba(15, 23, 42, 0.42) 55%,
  rgba(15, 23, 42, 0.14) 100%
);
}

[data-bs-theme="light"] .contact-card {
  background: #ffffff;
  border: 1px solid var(--contact-border-light);
  box-shadow: var(--contact-shadow-light);
}

[data-bs-theme="light"] .contact-card-main::before {
background:
  radial-gradient(circle at top left, rgba(13, 110, 253, 0.14) 0%, rgba(13, 110, 253, 0.08) 22%, rgba(13, 110, 253, 0.03) 42%, transparent 68%),
  linear-gradient(135deg, rgba(13, 110, 253, 0.045) 0%, rgba(13, 110, 253, 0.01) 48%, rgba(255, 255, 255, 0) 100%);
}

[data-bs-theme="light"] .section-label,
[data-bs-theme="light"] .info-label {
  color: #64748b;
}

[data-bs-theme="light"] .info-item,
[data-bs-theme="light"] .privacy-item {
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.05);
}

[data-bs-theme="light"] .info-link {
  color: #0d6efd;
}

[data-bs-theme="light"] .privacy-check {
  color: #0f172a;
}

/* DARK MODE */
[data-bs-theme="dark"] .contact-section {
  background: #0b1220;
  color: #e5edf7;
}

[data-bs-theme="dark"] .contact-hero::before {
  background-image: url("../images/1920/0900/rheden-001-001.jpg");
}

[data-bs-theme="dark"] .contact-hero::after {
  background: linear-gradient(
  90deg,
  rgba(2, 6, 23, 0.88) 0%,
  rgba(2, 6, 23, 0.56) 55%,
  rgba(2, 6, 23, 0.22) 100%
);
}

[data-bs-theme="dark"] .contact-card {
  background: #111827;
  border: 1px solid var(--contact-border-dark);
  box-shadow: var(--contact-shadow-dark);
}

[data-bs-theme="dark"] .contact-card-main::before {
background:
  radial-gradient(circle at top left, rgba(125, 192, 255, 0.16) 0%, rgba(125, 192, 255, 0.08) 24%, rgba(125, 192, 255, 0.03) 42%, transparent 68%),
  linear-gradient(135deg, rgba(125, 192, 255, 0.035) 0%, rgba(125, 192, 255, 0.01) 50%, rgba(17, 24, 39, 0) 100%);
}

[data-bs-theme="dark"] .section-label,
[data-bs-theme="dark"] .info-label {
  color: #94a3b8;
}

[data-bs-theme="dark"] .info-item,
[data-bs-theme="dark"] .privacy-item {
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

[data-bs-theme="dark"] .info-link {
  color: #7cc0ff;
}

[data-bs-theme="dark"] .privacy-check {
  color: #cbd5e1;
}

/* RESPONSIVE */
@media (max-width: 991.98px) {
.contact-hero {
  min-height: 220px;
  padding-top: 2.5rem;
  padding-bottom: 5rem;
}

.contact-overlap {
  margin-top: -2.25rem;
}
}

@media (max-width: 767.98px) {
.contact-hero {
  min-height: 200px;
  padding-top: 2.25rem;
  padding-bottom: 4rem;
}

.contact-overlap {
  margin-top: -1.25rem;
  padding-bottom: 3rem;
}

.contact-card .card-body {
  padding: 1.5rem !important;
}

.info-grid {
  grid-template-columns: 1fr;
}

.map-wrap {
  min-height: 220px;
}
}

@media (max-width: 575.98px) {
.contact-title {
  max-width: 100%;
}

.contact-kicker {
  font-size: 0.72rem;
}

.info-link {
  font-size: 0.98rem;
}
}

/* contact values */

.contact-item {
  position: relative;
  padding-right: 3.25rem; /* ruimte voor iconen rechts */
}

.contact-main-link {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.contact-actions-absolute {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.2rem;
}

.contact-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 1px solid var(--bs-border-color);
  border-radius: 50%;
  background-color: var(--bs-body-bg);
  color: var(--bs-body-color);
  text-decoration: none;
  cursor: pointer;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.contact-action-btn:hover,
.contact-action-btn:focus-visible {
  color: var(--bs-primary);
  border-color: var(--bs-primary);
  background-color: rgba(var(--bs-primary-rgb), 0.08);
  outline: none;
}

.contact-action-btn:active {
  transform: scale(0.96);
}

.contact-action-btn i {
  font-size: 0.95rem;
  line-height: 1;
  pointer-events: none;
}

.contact-action-btn.is-copied {
  color: var(--bs-success);
  border-color: var(--bs-success);
  background-color: rgba(var(--bs-success-rgb), 0.12);
}

.contact-tooltip {
  --bs-tooltip-bg: var(--bs-emphasis-color);
  --bs-tooltip-color: var(--bs-body-bg);
  --bs-tooltip-opacity: 1;
  --bs-tooltip-padding-x: 0.6rem;
  --bs-tooltip-padding-y: 0.4rem;
  --bs-tooltip-font-size: 0.8rem;
  --bs-tooltip-border-radius: 0.5rem;
}

.article-callout {
  padding: 1.25rem 1.25rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--bs-border-color);
  border-radius: 1rem;
  background-color: var(--bs-tertiary-bg);
  color: var(--bs-body-color);
}

.article-callout-accent {
  border-left: 0.35rem solid var(--bs-primary);
  background:
    linear-gradient(
      90deg,
      rgba(var(--bs-primary-rgb), 0.10) 0,
      rgba(var(--bs-primary-rgb), 0.04) 2.5rem,
      var(--bs-tertiary-bg) 2.5rem
    );
}

.article-callout > :last-child,
.article-callout-accent > :last-child {
  margin-bottom: 0;
}