/*
 * HOME — startblok, technologiekaarten en de gele afsluitende strook
 *
 * Gewone CSS: pas een waarde aan, sla op en vernieuw de pagina.
 * Regels binnen @media gelden voor de genoemde schermbreedte.
 */

.hero a:focus-visible {
  outline-color: #272727;
}

/* STARTBLOK — de grote oranje introductie met het logo. */
.hero {
  margin-top: 30px;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 365px;
  min-height: 365px;
  border-radius: 210px;
  background: var(--orange);
  color: var(--ink);
  isolation: isolate;
}

.hero-copy {
  padding: 64px 0 62px 78px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(50px,5vw,70px);
  line-height: 1.05;
  white-space: nowrap;
}

.hero .eyebrow {
  margin-bottom: 20px;
}

.hero-copy > p:last-child {
  font-family: var(--hand);
  font-size: 21px;
  line-height: 1.55;
  max-width: 495px;
  margin-top: 24px;
}

.hero-emblem {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  width: 365px;
  height: 365px;
  background: var(--bright);
  position: relative;
}

.hero-emblem img {
  width: 244px;
  height: 244px;
  border-radius: 50%;
  transition: transform .5s;
}

.hero-emblem:hover img {
  transform: rotate(-7deg);
}

.hero-under {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding: 30px 26px 0;
}

.hero-note {
  font-size: 13px;
  color: #bfbcb4;
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0;
}

.hero-note:before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--bright);
}

/* TECHNOLOGIEKAARTEN — de drie actieve technieken op home. */
.home-tech {
  margin-top: 70px;
}

.home-tech .section-head {
  align-items: center;
}

.home-tech .section-head h2 {
  max-width: 500px;
}

.home-tech .section-head p {
  color: #62625b;
  max-width: 290px;
}

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

.tech-card {
  background: var(--charcoal);
  color: var(--panel);
  border-radius: 25px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform .25s;
}

.tech-card:hover {
  transform: translateY(-5px);
}

.tech-card .photo-wrap {
  margin: 12px 12px 0;
  border-radius: 17px;
  overflow: hidden;
  aspect-ratio: 1.42;
}

.tech-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s;
}

.tech-card:hover img {
  transform: scale(1.045);
}

.tech-card .card-content {
  padding: 23px 26px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-index {
  font-size: 11px;
  color: var(--bright);
  font-weight: 700;
  letter-spacing: .16em;
  margin-bottom: 12px;
}

.tech-card h3 {
  font-size: 30px;
}

.tech-card p {
  color: #c6c3bc;
  font-size: 14px;
  line-height: 1.7;
  margin: 13px 0 23px;
}

.tech-card .text-link {
  margin-top: auto;
}

.quiet-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid #cccac3;
  margin-top: 31px;
  padding-top: 25px;
  font-size: 13px;
}

.quiet-row p {
  margin: 0;
  color: #55564f;
}

.quiet-links {
  display: flex;
  gap: 23px;
  white-space: nowrap;
}

.quiet-links a {
  font-weight: 700;
  text-decoration: none;
}

.quiet-links a:hover {
  text-decoration: underline;
}

/* AFSLUITING — gele strook met de link naar Over ons. */
.about-ribbon {
  background: var(--bright);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 46px 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.about-ribbon h2 {
  font-size: 36px;
  max-width: 700px;
}

.about-ribbon .text-link {
  white-space: nowrap;
}

.motion-ready .hero {
  animation: arrive .7s ease both;
}

@keyframes arrive {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr 300px;
    min-height: 300px;
  }

  .hero-emblem {
    width: 300px;
    height: 300px;
  }

  .hero-emblem img {
    width: 200px;
    height: 200px;
  }

  .hero-copy {
    padding: 45px 0 45px 55px;
  }

  .hero h1 {
    font-size: 56px;
  }

  .hero-copy > p:last-child {
    font-size: 18px;
    max-width: 390px;
    margin-top: 20px;
  }

  .hero-under {
    padding-inline: 8px;
  }

  .tech-card .card-content {
    padding: 20px;
  }

  .tech-card h3 {
    font-size: 26px;
  }

  .tech-card p {
    font-size: 13px;
  }
}

@media (max-width: 800px) {
  .hero {
    margin-top: 22px;
    grid-template-columns: 1fr 240px;
    min-height: 300px;
  }

  .hero-emblem {
    width: 240px;
    height: 240px;
    align-self: center;
    margin-right: 12px;
  }

  .hero-emblem img {
    width: 163px;
    height: 163px;
  }

  .hero-copy {
    padding: 43px 0 43px 35px;
  }

  .hero h1 {
    font-size: 44px;
    white-space: normal;
    max-width: 270px;
  }

  .hero .eyebrow {
    font-size: 9px;
    letter-spacing: .1em;
  }

  .hero-copy > p:last-child {
    font-size: 17px;
    max-width: 285px;
    margin-top: 19px;
  }

  .hero-under {
    display: block;
    text-align: center;
  }

  .hero-under .actions {
    justify-content: center;
  }

  .hero-note {
    justify-content: center;
    margin-top: 18px;
  }

  .home-tech {
    margin-top: 50px;
  }

  .tech-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .tech-card {
    display: grid;
    grid-template-columns: 43% 1fr;
    align-items: stretch;
  }

  .tech-card .photo-wrap {
    margin: 12px 0 12px 12px;
    aspect-ratio: auto;
    min-height: 220px;
  }

  .tech-card .card-content {
    padding: 27px;
  }

  .tech-card h3 {
    font-size: 28px;
  }

  .tech-card p {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .home-tech .section-head {
    display: block;
  }

  .home-tech .section-head p {
    max-width: 100%;
    margin-top: 17px;
  }

  .quiet-row {
    flex-wrap: wrap;
    gap: 17px;
  }

  .about-ribbon {
    padding: 33px 37px;
    gap: 23px;
  }

  .about-ribbon h2 {
    font-size: 30px;
  }

  .about-ribbon .text-link {
    font-size: 12px;
  }
}

@media (max-width: 600px) {
  .hero {
    display: flex;
    flex-direction: column-reverse;
    border-radius: 170px 170px 38px 38px;
    min-height: 0;
    align-items: center;
    margin-top: 12px;
  }

  .hero-emblem {
    width: 216px;
    height: 216px;
    align-self: auto;
    margin: 21px 0 0;
  }

  .hero-emblem img {
    width: 150px;
    height: 150px;
  }

  .hero-copy {
    padding: 31px 25px 34px;
    text-align: center;
    align-items: center;
    width: 100%;
  }

  .hero .eyebrow {
    margin-bottom: 14px;
    font-size: 9px;
    letter-spacing: .15em;
  }

  .hero h1 {
    font-size: 41px;
    white-space: nowrap;
    max-width: none;
  }

  .hero-copy > p:last-child {
    font-size: 18px;
    max-width: 290px;
    margin-top: 17px;
  }

  .hero-under {
    padding: 24px 0 0;
  }

  .hero-under .actions {
    gap: 10px;
  }

  .hero-note {
    font-size: 11px;
    margin-top: 20px;
    gap: 8px;
  }

  .hero-note:before {
    width: 5px;
    height: 5px;
  }

  .home-tech {
    margin-top: 46px;
  }

  .home-tech .section-head h2 {
    font-size: 35px;
  }

  .home-tech .section-head p {
    font-size: 14px;
  }

  .tech-grid {
    gap: 23px;
  }

  .tech-card {
    display: flex;
    border-radius: 22px;
  }

  .tech-card .photo-wrap {
    aspect-ratio: 1.6;
    min-height: 0;
    margin: 10px 10px 0;
    border-radius: 15px;
  }

  .tech-card .card-content {
    padding: 23px;
  }

  .tech-card h3 {
    font-size: 29px;
  }

  .card-index {
    font-size: 10px;
    margin-bottom: 9px;
  }

  .tech-card p {
    margin: 12px 0 20px;
    font-size: 13px;
  }

  .tech-card .text-link {
    font-size: 12px;
  }

  .quiet-row {
    margin-top: 25px;
    padding-top: 24px;
    font-size: 12px;
    gap: 16px;
  }

  .quiet-links {
    gap: 22px;
  }

  .about-ribbon {
    padding: 31px 27px;
    border-radius: 29px;
    display: block;
  }

  .about-ribbon h2 {
    font-size: 30px;
  }

  .about-ribbon .text-link {
    margin-top: 25px;
    font-size: 13px;
  }
}

@media (max-width: 355px) {
  .hero h1 {
    font-size: 36px;
  }

  .hero .eyebrow {
    font-size: 8px;
  }

  .hero-copy {
    padding-inline: 19px;
  }

  .hero-emblem {
    width: 198px;
    height: 198px;
  }

  .hero-emblem img {
    width: 137px;
    height: 137px;
  }

  .hero-note {
    font-size: 10px;
  }

  .hero-under .button {
    padding-inline: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-emblem:hover img,
  .tech-card:hover,
  .tech-card:hover img {
    transform: none!important;
  }
}

.card-index {
  font-size: 12px;
}

.quiet-row {
  font-size: 14px;
}

.hero-note {
  font-size: 12px;
}

@media (max-width: 600px) {
  .hero .eyebrow {
    font-size: 12px;
    letter-spacing: .06em;
  }

  .hero h1 {
    font-size: clamp(32px,10.5vw,41px);
    white-space: normal;
  }

  .hero-note {
    font-size: 12px;
    flex-wrap: wrap;
  }

  .tech-card p {
    font-size: 16px;
  }

  .quiet-row {
    font-size: 14px;
  }

  .tech-card .text-link {
    font-size: 14px;
  }

  .quiet-links a {
    min-height: 44px;
    align-items: center;
    display: inline-flex;
    padding-block: 7px;
  }
}
