/* ============================================================
   COMPONENTS — buttons, cards, badges, trust bar, info strip
   ============================================================ */

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.15s;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

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

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

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

.btn-secondary:hover {
  background: var(--teal-light);
}

.btn-ghost {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.25);
  border-color: rgba(255,255,255,0.7);
}

.btn-download {
  background: var(--teal-light);
  color: var(--teal-dark);
  border-color: var(--teal-muted);
  font-size: 1rem;
  padding: 16px 32px;
}

.btn-download:hover {
  background: var(--teal-muted);
  box-shadow: var(--shadow);
}

/* --- Service Cards --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.services-grid::after {
  content: '';
  grid-column: span 1;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--teal-primary);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.25s, transform 0.25s;
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 80px;
  height: 80px;
  background: var(--teal-light);
  border-radius: 50% 0 0 0;
  opacity: 0.5;
  transition: opacity 0.25s;
}

.service-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.service-card:hover::after { opacity: 1; }

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--text-dark);
  margin-bottom: 10px;
  position: relative;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  position: relative;
}

/* --- Trust bar --- */
.trust-bar {
  background: var(--teal-primary);
  padding: 32px 0;
}

.trust-bar-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--white);
}

.trust-item-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.trust-item-text {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.4;
}

/* --- Why-us section --- */
.why-us-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.why-us-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  aspect-ratio: 4/3;
}

.why-us-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bullet-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 28px;
}

.bullet-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.bullet-check {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  background: var(--teal-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.bullet-check svg {
  width: 14px;
  height: 14px;
  stroke: white;
  stroke-width: 2.5;
  fill: none;
}

.bullet-item-text strong {
  display: block;
  color: var(--text-dark);
  font-family: var(--font-ui);
  font-weight: 600;
  margin-bottom: 2px;
}

.bullet-item-text span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* --- Info strip cards --- */
.info-strip {
  background: var(--off-white);
}

.info-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  text-align: center;
}

.info-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--teal-light);
  border-radius: 12px;
  margin: 0 auto 16px;
}

.info-card-icon svg {
  display: block;
  flex-shrink: 0;
}

.info-card h4 {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-primary);
  margin-bottom: 8px;
}

.info-card p, .info-card address {
  font-size: 0.9rem;
  color: var(--text-body);
  font-style: normal;
  line-height: 1.6;
}

.info-card a { color: var(--teal-primary); }
.info-card a:hover { text-decoration: underline; }

/* --- Info box (tarieven) --- */
.info-box {
  background: var(--teal-light);
  border: 1px solid var(--teal-muted);
  border-left: 4px solid var(--teal-primary);
  border-radius: var(--radius);
  padding: 24px 28px;
  font-size: 0.95rem;
  color: var(--text-dark);
  line-height: 1.7;
}

.info-box--warning {
  background: #FFF8E7;
  border-color: #F0C860;
  border-left-color: #E5A000;
}

/* --- Accordion --- */
.accordion { display: flex; flex-direction: column; gap: 2px; }

.accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--white);
}

.accordion-trigger {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  text-align: left;
  transition: background 0.2s;
  gap: 16px;
}

.accordion-trigger:hover { background: var(--off-white); }

.accordion-trigger[aria-expanded="true"] { background: var(--teal-light); color: var(--teal-dark); }

.accordion-chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  transition: transform 0.25s;
}

.accordion-trigger[aria-expanded="true"] .accordion-chevron { transform: rotate(180deg); }

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-panel.open { max-height: 600px; }

.accordion-body {
  padding: 4px 24px 24px;
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --- Opening hours table --- */
.hours-table {
  width: 100%;
  border-collapse: collapse;
}

.hours-table tr {
  border-bottom: 1px solid var(--border);
}

.hours-table tr:last-child { border-bottom: none; }

.hours-table td {
  padding: 10px 0;
  font-size: 0.925rem;
  color: var(--text-body);
}

.hours-table td:first-child {
  font-weight: 600;
  color: var(--text-dark);
  width: 120px;
  font-family: var(--font-ui);
}

/* --- Team cards --- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 640px;
}

.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
}

.team-card-initial {
  width: 56px;
  height: 56px;
  background: var(--teal-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 16px;
}

.team-card h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.team-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* --- Practice features --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
}

.feature-item .feature-icon { font-size: inherit; }

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--teal-light);
  border-radius: 8px;
}

.feature-icon svg {
  display: block;
}

/* --- Contact layout --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* --- Tarieven table --- */
.tarieven-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius, 8px);
  border: 1px solid var(--border);
}

.tarieven-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.925rem;
  color: var(--text-body);
  background: var(--white);
}

.tarieven-table thead th {
  background: var(--teal-primary);
  color: white;
  padding: 14px 20px;
  text-align: left;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.tarieven-table th.price-col,
.tarieven-table td.price-col {
  text-align: right;
  white-space: nowrap;
  width: 120px;
}

.tarieven-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}

.tarieven-table tbody tr:hover {
  background: var(--teal-light);
}

.tarieven-table tbody td {
  padding: 14px 20px;
  vertical-align: top;
}

.tarieven-table tbody tr:last-child {
  border-bottom: none;
}

.separator-row td.separator-label {
  background: var(--off-white);
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 20px;
}

.separator-row:hover td {
  background: var(--off-white) !important;
}

.tarief-code {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* --- Ticker words --- */
.ticker-words {
  display: inline;
}

.ticker-word {
  color: var(--teal-primary);
  font-weight: 600;
}

/* --- Responsive breakpoints --- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-us-grid { gap: 40px; }
}

@media (max-width: 768px) {
  .trust-bar-inner { grid-template-columns: 1fr; gap: 16px; }
  .services-grid { grid-template-columns: 1fr; }
  .why-us-grid { grid-template-columns: 1fr; }
  .why-us-image { display: none; }
  .info-cards { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; max-width: 100%; }
  .features-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .tarieven-table th.price-col,
  .tarieven-table td.price-col {
    width: 90px;
    padding-left: 8px;
    padding-right: 12px;
  }
  .tarieven-table tbody td,
  .tarieven-table thead th {
    padding: 12px 12px;
    font-size: 0.875rem;
  }
}
