/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-primary: #2c6e63;
  --color-primary-dark: #1e4d45;
  --color-primary-light: #e8f4f1;
  --color-accent: #c0885a;
  --color-accent-light: #f5ece3;
  --color-text: #2d3436;
  --color-text-light: #636e72;
  --color-bg: #fafaf8;
  --color-white: #ffffff;
  --color-border: #e0ddd8;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --container-max: 1140px;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 2px 16px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.1);
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-align: center;
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.btn--primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn--outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn--white {
  background: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
}

.btn--white:hover {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
  transform: translateY(-2px);
}

.btn--outline-white {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}

.btn--outline-white:hover {
  background: var(--color-white);
  color: var(--color-primary);
  transform: translateY(-2px);
}

.btn--header {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 10px 24px;
  font-size: 0.875rem;
  border-color: var(--color-primary);
}

.btn--header:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250, 250, 248, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
}

.header.scrolled {
  border-bottom-color: var(--color-border);
  box-shadow: 0 1px 8px rgba(0,0,0,0.04);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.header__logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.logo-het {
  color: var(--color-text-light);
  font-weight: 400;
  font-size: 1.1rem;
}

.logo-palett {
  color: var(--color-primary);
}

.header__nav > ul {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header__nav a {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.925rem;
  font-weight: 450;
  color: var(--color-text-light);
  transition: all var(--transition);
}

.header__nav a:hover,
.header__nav a.active {
  color: var(--color-primary);
  background: var(--color-primary-light);
}

.has-dropdown {
  position: relative;
}

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--color-white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  padding: 8px 0;
  flex-direction: column;
  z-index: 100;
}

.has-dropdown.open .dropdown {
  display: flex;
}

.dropdown a {
  padding: 10px 20px;
  border-radius: 0;
  font-size: 0.875rem;
}

.dropdown a:hover {
  background: var(--color-primary-light);
}

.header__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.header__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ===== HERO ===== */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, var(--color-bg) 0%, var(--color-primary-light) 100%);
  position: relative;
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text);
  margin-bottom: 20px;
}

.hero__subtitle {
  font-size: 1.15rem;
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero__cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__image {
  width: 100%;
  max-width: 520px;
  height: 400px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

.hero__credit {
  margin-top: 8px;
  font-size: 0.75rem;
  color: var(--color-text-light);
  text-align: right;
}

.hero__credit a {
  color: inherit;
}

.about-photo {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
  margin-bottom: 28px;
}

.info-card__photo {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 14px;
}

.location-photo {
  margin: 28px 0 0;
}

.location-photo img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.location-photo figcaption {
  margin-top: 8px;
  font-size: 0.75rem;
  color: var(--color-text-light);
}

.location-photo figcaption a {
  color: inherit;
}

/* ===== SECTIONS ===== */
.section-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 12px;
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-light);
  font-size: 1.1rem;
  margin-bottom: 48px;
}

/* ===== DIENSTEN ===== */
.diensten {
  padding: 100px 0;
  background: var(--color-white);
}

.diensten__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.diensten__grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.why-students {
  padding: 100px 0;
  background: var(--color-white);
}

.dienst-card {
  display: flex;
  flex-direction: column;
  padding: 36px 28px;
  border-radius: var(--radius);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}

.dienst-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}

.dienst-card__icon {
  width: 48px;
  height: 48px;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.dienst-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--color-text);
}

.dienst-card p {
  font-size: 0.925rem;
  color: var(--color-text-light);
  line-height: 1.7;
  flex: 1;
}

.dienst-card__link {
  display: inline-block;
  margin-top: 20px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-primary);
  transition: all var(--transition);
}

.dienst-card:hover .dienst-card__link {
  transform: translateX(4px);
}

/* ===== OVER KORT ===== */
.over-kort {
  padding: 100px 0;
  background: var(--color-bg);
}

.over-kort__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.over-kort__content h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 20px;
}

.over-kort__content p {
  color: var(--color-text-light);
  margin-bottom: 16px;
  line-height: 1.8;
}

.over-kort__content .btn {
  margin-top: 12px;
}

.info-card {
  background: var(--color-white);
  padding: 40px;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow);
}

.info-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.info-card__role {
  color: var(--color-primary);
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 20px;
}

.info-card__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.info-card__list li {
  padding-left: 24px;
  position: relative;
  color: var(--color-text-light);
  font-size: 0.925rem;
}

.info-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
}

/* ===== CTA SECTION ===== */
.cta-section {
  padding: 80px 0;
  background: var(--color-primary);
  color: var(--color-white);
}

.cta-section__inner {
  text-align: center;
}

.cta-section h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section__buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== FOOTER ===== */
.footer {
  background: #1a1f1e;
  color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer__logo {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  display: block;
  margin-bottom: 12px;
}

.footer__logo .logo-het {
  color: rgba(255,255,255,0.5);
}

.footer__logo .logo-palett {
  color: var(--color-white);
}

.footer__col p {
  font-size: 0.875rem;
  line-height: 1.6;
}

.footer__col h4 {
  color: var(--color-white);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__col li,
.footer__col a {
  font-size: 0.875rem;
}

.footer__col a:hover {
  color: var(--color-white);
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
}

.footer__bottom p {
  font-size: 0.8rem;
  text-align: center;
  opacity: 0.5;
}

/* ===== PAGE HEADER (for sub-pages) ===== */
.page-header {
  padding: 130px 0 60px;
  background: linear-gradient(135deg, var(--color-bg) 0%, var(--color-primary-light) 100%);
}

.page-header h1 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.page-header p {
  color: var(--color-text-light);
  font-size: 1.1rem;
  max-width: 600px;
}

/* ===== CONTENT SECTION ===== */
.content-section {
  padding: 80px 0;
}

.content-section--alt {
  background: var(--color-white);
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.content-grid h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.content-grid p {
  color: var(--color-text-light);
  margin-bottom: 12px;
  line-height: 1.8;
}

.content-grid ul {
  margin: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.content-grid ul li {
  padding-left: 24px;
  position: relative;
  color: var(--color-text-light);
}

.content-grid ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
}

.highlight-box {
  background: var(--color-accent-light);
  padding: 32px;
  border-radius: var(--radius);
  border-left: 4px solid var(--color-accent);
}

.highlight-box h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.highlight-box p {
  font-size: 0.925rem;
}

/* ===== CONTACT PAGE ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.contact-info p {
  color: var(--color-text-light);
  margin-bottom: 24px;
  line-height: 1.8;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-detail__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail__icon svg {
  width: 20px;
  height: 20px;
}

.contact-detail__text strong {
  display: block;
  font-size: 0.875rem;
  margin-bottom: 2px;
}

.contact-detail__text span,
.contact-detail__text a {
  font-size: 0.925rem;
  color: var(--color-text-light);
}

.contact-detail__text a:hover {
  color: var(--color-primary);
}

.credentials {
  background: var(--color-primary-light);
  padding: 24px;
  border-radius: var(--radius-sm);
}

.credentials h4 {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.credentials p {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-bottom: 4px;
}

.contact-form {
  background: var(--color-white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-form h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--color-text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.925rem;
  color: var(--color-text);
  background: var(--color-bg);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-light);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form .btn {
  width: 100%;
}

/* ===== PRIVACY PAGE ===== */
.privacy-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 80px 24px;
}

.privacy-content h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin: 40px 0 16px;
}

.privacy-content h3 {
  font-size: 1.1rem;
  margin: 24px 0 8px;
}

.privacy-content p {
  color: var(--color-text-light);
  margin-bottom: 12px;
  line-height: 1.8;
}

.privacy-content ul {
  margin: 12px 0 20px 20px;
}

.privacy-content ul li {
  color: var(--color-text-light);
  padding: 4px 0;
  list-style: disc;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__cta {
    justify-content: center;
  }

  .hero__visual {
    display: none;
  }

  .diensten__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .diensten__grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .over-kort__inner {
    grid-template-columns: 1fr;
  }

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

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

  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .header__inner {
    height: 64px;
  }

  .header__toggle {
    display: flex;
    z-index: 1001;
  }

  .header__nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--color-white);
    box-shadow: var(--shadow-lg);
    padding: 80px 24px 40px;
    transition: right var(--transition);
    z-index: 1000;
  }

  .header__nav.open {
    right: 0;
  }

  .header__nav > ul {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .header__nav a {
    display: block;
    padding: 12px 16px;
  }

  .dropdown {
    position: static;
    box-shadow: none;
    padding: 0 0 0 16px;
    display: none;
  }

  .has-dropdown.open .dropdown {
    display: flex;
  }

  .btn--header {
    display: none;
  }

  .hero {
    padding: 100px 0 60px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .diensten__grid,
  .diensten__grid--3 {
    grid-template-columns: 1fr;
  }

  .diensten {
    padding: 60px 0;
  }

  .over-kort {
    padding: 60px 0;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .page-header {
    padding: 100px 0 40px;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.7rem;
  }

  .hero__cta {
    flex-direction: column;
  }

  .hero__cta .btn {
    width: 100%;
  }

  .cta-section__buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-section__buttons .btn {
    width: 100%;
    max-width: 300px;
  }

  .contact-form {
    padding: 24px;
  }
}

/* ===== OVERLAY ===== */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.4);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.overlay.active {
  opacity: 1;
  pointer-events: all;
}
