/* ===== Hero Block ===== */
.hero-block {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
  box-sizing: border-box;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  color: var(--text-color, #000000);
  text-align: center;
  margin-top: 0;
}

/* ✅ Min marge boven */
.hero-block.has-min-margin {
  margin-top: -80px;
}

/* ✅ Extra marge boven/onder (ruimte) */
.hero-block.has-margin {
  margin-top: 60px;
  margin-bottom: 60px;
}

/* ===== Inner content ===== */
.hero-inner-container {
  max-width: 672px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.hero-inner-container.align-left {
  align-items: flex-start;
  text-align: left;
}

.hero-inner-container.align-center {
  align-items: center;
  text-align: center;
}

.hero-inner-container.align-right {
  align-items: flex-end;
  text-align: right;
}

/* ===== Titel ===== */
.hero-title {
  font-family: var(--hero-h1-font-family, 'Grenze Gotisch');
  font-size: var(--hero-h1-font-size, 72px);
  font-weight: var(--hero-h1-font-weight, 350);
  text-transform: var(--hero-h1-text-transform, none);
  line-height: var(--hero-h1-line-height, 80%);
  color: var(--white-color, #f4b32d);
  margin-bottom: 20px;
}

/* ===== Beschrijving ===== */
.hero-description {
  font-family: var(--hero-description-font-family, 'Lora');
  font-size: var(--hero-description-font-size, 20px);
  font-weight: var(--hero-description-font-weight, 400);
  color: var(--white-color, #000000);
  margin-bottom: 30px;
}

/* ===== Knoppen ===== */
.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-primary {
  background-color: var(--button-1-background-color, #000);
  color: var(--button-1-color, #fff);
  padding: var(--button-padding, 12px 24px);
  border-radius: var(--button-border-radius, 4px);
  font-family: var(--button-font-family, 'Lora');
  font-size: var(--button-font-size, 16px);
  font-weight: var(--button-font-weight, 700);
  text-transform: var(--button-text-transform, uppercase);
  text-decoration: none;
  transition: 0.3s ease;
}

.btn-secondary {
  background-color: var(--button-3-background-color, transparent);
  color: var(--button-3-color, #000);
  padding: var(--button-padding, 12px 24px);
  border-radius: var(--button-border-radius, 4px);
  font-family: var(--button-font-family, 'Lora');
  font-size: var(--button-font-size, 16px);
  font-weight: var(--button-font-weight, 700);
  text-transform: var(--button-text-transform, uppercase);
  text-decoration: none;
  transition: 0.3s ease;
}

/* ===== Responsive ===== */
@media screen and (max-width: 768px) {
  .hero-block {
    padding: 0;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 640px !important; /* overschrijft dynamische hoogte voor mobiel */
  }

  .hero-inner-container {
    flex: 1;
    flex-direction: column;
    justify-content: space-between;
  }

  .hero-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px 20px;
    text-align: center;
  }

  .hero-title,
  .hero-description {
    padding: 10px 20px;
  }

  .hero-title {
    font-size: 40px;
  }

  .hero-description {
    font-size: 18px;
  }

  .hero-buttons {
    flex-wrap: nowrap;
    width: 100%;
    gap: 0;
  }

  .hero-buttons a {
    flex: 1 1 50%;
    text-align: center;
    border-radius: 0;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    border-radius: 0;
  }
}
