@font-face {
  font-family: "AmpleSoft";
  src: url("../fonts/amplesoft-light.woff2") format("woff2");
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "AmpleSoft";
  src: url("../fonts/amplesoft-bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --turquoise: #00a09a;
  --turquoise-dark: #007a75; /* voldoende contrast voor tekst op wit */
  --ink: #1c2b2a;
  --muted: #4d5f5e;
  --surface: #f2f7f7;
  --display: "AmpleSoft", system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--ink);
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 1rem;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  color: var(--turquoise-dark);
}

h3 { font-size: 1.35rem; }

p { margin: 0 0 1rem; }

a { color: var(--turquoise-dark); }

.container {
  max-width: 68rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.narrow { max-width: 46rem; }

section { padding: clamp(3.5rem, 8vw, 6rem) 0; }

/* Hero: verloop zoals op het visitekaartje, donker genoeg voor witte tekst */
.hero {
  background: linear-gradient(160deg, #00978f, #006e69);
  color: #fff;
  padding: clamp(3rem, 10vw, 7rem) 0;
}

.hero-logo {
  display: block;
  width: min(16rem, 60vw);
  height: auto;
  margin-bottom: clamp(2.5rem, 7vw, 4.5rem);
}

.hero h1 {
  font-size: clamp(2rem, 5.5vw, 3.5rem);
  max-width: 20ch;
}

/* Terminal rechts in de hero, alleen op brede schermen */
.terminal { display: none; }

@media (min-width: 60rem) {
  .hero-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: start;
    gap: 3rem;
  }

  .terminal {
    display: block;
    margin-top: 0.4rem; /* bovenkant gelijk met de letters van de h1 */
    background: rgba(0, 0, 0, 0.3);
    border-radius: 0.6rem;
    box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.2);
    overflow: hidden;
  }
}

.terminal-bar {
  display: flex;
  gap: 0.4rem;
  padding: 0.7rem 0.9rem;
  background: rgba(0, 0, 0, 0.2);
}

.terminal-bar span {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
}

.terminal pre {
  margin: 0;
  padding: 1.1rem 1.4rem 1.3rem;
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

.terminal .prompt { color: #7ee8e2; }
.terminal .ok { color: #9ff5a8; }

.terminal .cursor {
  display: inline-block;
  width: 0.55em;
  height: 1.1em;
  vertical-align: text-bottom;
  background: rgba(255, 255, 255, 0.8);
  animation: blink 1s steps(1) infinite;
}

@keyframes blink { 50% { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .terminal .cursor { animation: none; }
}

.lead {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(1.2rem, 2.5vw, 1.45rem);
  max-width: 38rem;
  margin-bottom: 2rem;
}

.button {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  border-radius: 0.4rem;
  background: #fff;
  color: var(--turquoise-dark);
  font-family: var(--display);
  font-weight: 700;
  text-decoration: none;
}

.button:hover { background: var(--surface); }

.intro p {
  font-size: 1.25rem;
  color: var(--muted);
}

.services { background: var(--surface); }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.card {
  background: #fff;
  border-top: 4px solid var(--turquoise);
  border-radius: 0.4rem;
  padding: 1.75rem;
}

.card p { margin: 0; color: var(--muted); }

.approach p { padding-left: 1.25rem; border-left: 3px solid var(--turquoise); margin-bottom: 1.5rem; }

.approach strong { display: block; color: var(--ink); }

.approach + .about { padding-top: 0; }

.about-photo {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 0.4rem;
  margin: 1.5rem 0;
}

.about + .clients { padding-top: 0; }

.client-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem 2.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.client-list img {
  display: block;
  width: auto;
  height: 2.5rem;
}

.contact { background: var(--surface); }

.contact-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.contact-list li { padding: 0.5rem 0; }

.contact-list span {
  display: inline-block;
  min-width: 6rem;
  color: var(--muted);
}

footer {
  background: var(--ink);
  color: #c9d6d5;
  font-size: 0.9rem;
  padding: 2rem 0;
}

footer p { margin: 0.25rem 0; }

footer a { color: inherit; }
