/* ============================================================
   WHG Technik GmbH & Co. KG – Stylesheet v2
   Design-System: Barlow Condensed + Inter, Grün/Anthrazit
   ============================================================ */

/* --- 1. CSS CUSTOM PROPERTIES ----------------------------- */
:root {
  --color-dark:        #1E2922;
  --color-dark-2:      #2C3830;
  --color-green:       #4A8C5C;
  --color-green-light: #6BAF80;
  --color-white:       #FFFFFF;
  --color-off-white:   #F7F8F6;
  --color-gray-light:  #EEF1ED;
  --color-gray-mid:    #7A9080;
  --color-text:        #1A221D;
  --color-text-muted:  #4A5C52;

  --font-display: 'Barlow Condensed', sans-serif;
  --font-body:    'Inter', sans-serif;

  --radius:    4px;
  --radius-lg: 8px;
  --transition: 0.2s ease;

  --container-max: 1200px;
  --container-pad: 1.5rem;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* --- 3. LAYOUT UTILITIES ---------------------------------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

.section { padding: 80px 0; }
.section--dark { background: var(--color-dark); color: var(--color-white); }
.section--off-white { background: var(--color-off-white); }

.section__label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-green);
  margin-bottom: 0.75rem;
  display: block;
}

.section__title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
}

.section__sub {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 560px;
  margin-bottom: 3rem;
}

.section--dark .section__sub { color: var(--color-gray-mid); }
.section--dark .section__title { color: var(--color-white); }

/* Amber accent line - signature element */
.amber-rule {
  display: block;
  width: 48px;
  height: 3px;
  background: var(--color-green);
  margin-bottom: 1.5rem;
}

/* --- 4. BUTTONS ------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: var(--transition);
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.btn--primary {
  background: var(--color-green);
  color: var(--color-white);
}
.btn--primary:hover { background: var(--color-green-light); }

.btn--outline {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255,255,255,0.4);
}
.btn--outline:hover {
  border-color: var(--color-white);
  background: rgba(255,255,255,0.08);
}

.btn--outline-dark {
  background: transparent;
  color: var(--color-dark);
  border: 2px solid var(--color-dark);
}
.btn--outline-dark:hover {
  background: var(--color-dark);
  color: var(--color-white);
}

/* --- 5. NAVIGATION --------------------------------------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 0.5px solid rgba(42,80,55,0.18);
  transition: background var(--transition);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 2rem;
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-dark);
  flex-shrink: 0;
}

.nav__logo span { color: var(--color-green); }

.nav__logo-img {
  height: 180px;
  width: auto;
  display: block;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color var(--transition);
  position: relative;
  padding-bottom: 2px;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-green);
  transition: width var(--transition);
}

.nav__links a:hover,
.nav__links a.nav__link--active { color: var(--color-dark); }
.nav__links a:hover::after,
.nav__links a.nav__link--active::after { width: 100%; }

.nav__actions { display: flex; align-items: center; gap: 1rem; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-dark);
  transition: var(--transition);
}

/* Mobile nav */
.nav__mobile {
  display: none;
  flex-direction: column;
  background: var(--color-white);
  border-top: 0.5px solid rgba(42,80,55,0.15);
  padding: 1.5rem var(--container-pad);
  gap: 1rem;
}

.nav__mobile.is-open { display: flex; }
.nav__mobile a {
  color: var(--color-text-muted);
  font-size: 1rem;
  font-weight: 500;
  padding: 0.5rem 0;
  border-bottom: 0.5px solid rgba(42,80,55,0.1);
}

/* --- 6. HERO --------------------------------------------- */
.hero {
  min-height: 100vh;
  background: var(--color-off-white);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 64px;
  border-bottom: 0.5px solid rgba(42,80,55,0.18);
}

/* Subtle dot texture overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(42,80,55,0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem 0;
}

.hero__content { position: relative; z-index: 1; }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-green);
  margin-bottom: 1.5rem;
}

.hero__eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--color-green);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  font-weight: 800;
  line-height: 1.0;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--color-dark);
  margin-bottom: 1.5rem;
}

.hero__title em {
  color: var(--color-green);
  font-style: normal;
}

.hero__sub {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  max-width: 480px;
  margin-bottom: 2.5rem;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Hero visual side */
.hero__visual {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__image-box {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--color-white);
  border: 0.5px solid rgba(42,80,55,0.18);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gray-mid);
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  overflow: hidden;
  position: relative;
}

.hero__image-box::after {
  content: none;
}

.hero__image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero__badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1rem;
  background: var(--color-green);
  color: var(--color-white);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-lg);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.3;
  text-align: center;
}

/* --- 7. STATS -------------------------------------------- */
.stats {
  background: var(--color-white);
  border-top: 1px solid var(--color-gray-light);
  border-bottom: 1px solid var(--color-gray-light);
  padding: 40px 0;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stats__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-left: 1.25rem;
  border-left: 3px solid var(--color-green);
}

.stats__number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-dark);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stats__label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* --- 8. SERVICES ----------------------------------------- */
.services__header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: 3rem;
}

.services__header-right {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--color-green);
  transition: width 0.3s ease;
}

.service-card:hover { border-color: var(--color-green); box-shadow: 0 4px 24px rgba(0,0,0,0.06); }
.service-card:hover::before { width: 100%; }

.service-card--link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.service-card__icon {
  width: 44px;
  height: 44px;
  background: rgba(74,140,92,0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--color-green);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
}

.service-card__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--color-dark);
  margin-bottom: 0.75rem;
  line-height: 1.1;
}

.service-card__text {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* --- 9. ABOUT -------------------------------------------- */
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about__visual-box {
  aspect-ratio: 3/4;
  background: rgba(255,255,255,0.04);
  border: 0.5px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.about__visual-box::after {
  content: none;
}

.about__visual-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: var(--radius-lg);
}

.about__list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.5rem 0 2.5rem;
}

.about__list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
}

.about__list-item::before {
  content: '';
  display: block;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  background: var(--color-green);
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}

.about__certs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cert-badge {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.04em;
}

/* --- 10. PRODUCTS PREVIEW -------------------------------- */
.products__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.product-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-white);
  border: 1px solid var(--color-gray-light);
  transition: box-shadow var(--transition), transform var(--transition);
}

.product-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.1); transform: translateY(-3px); }

.product-card__image {
  aspect-ratio: 4/3;
  background: var(--color-off-white);
  overflow: hidden;
  position: relative;
}

.product-card__image--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gray-mid);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center;
  padding: 1rem;
}

.product-card__body {
  padding: 1rem 1.25rem 1.25rem;
}

.product-card__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--color-dark);
  margin-bottom: 0.25rem;
}

.product-card__sub {
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

.products__footer {
  text-align: center;
  margin-top: 2.5rem;
}

/* --- 11. CONTACT CTA ------------------------------------- */
.cta-section {
  background: var(--color-dark-2);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  color: var(--color-white);
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-green);
}

.cta-section__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
}

.cta-section__title {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--color-white);
  line-height: 1.05;
  margin-bottom: 0.75rem;
}

.cta-section__sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.55);
}

.cta-section__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
  flex-shrink: 0;
}

.cta-section__contact {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 0.5rem;
}

.cta-section__contact a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}

.cta-section__contact a:hover { color: var(--color-green); }

/* --- 12. FOOTER ------------------------------------------ */
.footer {
  background: #161D18;
  padding: 60px 0 32px;
  color: rgba(200,220,205,0.55);
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 0.5px solid rgba(255,255,255,0.07);
  margin-bottom: 2rem;
}

.footer__logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-white);
  margin-bottom: 0.75rem;
}

.footer__logo span { color: var(--color-green); }

.footer__logo-img {
  height: 48px;
  width: auto;
  display: block;
  margin-bottom: 0.75rem;
}

.footer__tagline {
  font-size: 0.85rem;
  color: rgba(200,220,205,0.4);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.footer__col-title {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-green);
  margin-bottom: 1rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__links a {
  font-size: 0.85rem;
  color: rgba(200,220,205,0.55);
  transition: color var(--transition);
}

.footer__links a:hover { color: rgba(200,220,205,0.9); }

.footer__address {
  font-size: 0.82rem;
  line-height: 1.8;
  color: rgba(200,220,205,0.4);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer__copy {
  font-size: 0.78rem;
  color: rgba(200,220,205,0.25);
}

.footer__legal {
  display: flex;
  gap: 1.5rem;
}

.footer__legal a {
  font-size: 0.78rem;
  color: rgba(200,220,205,0.35);
  transition: color var(--transition);
}

.footer__legal a:hover { color: rgba(200,220,205,0.9); }

/* --- 13. RESPONSIVE -------------------------------------- */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero__visual { display: none; }
  .hero__sub { max-width: 100%; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .services__header { grid-template-columns: 1fr; }
  .services__header-right { justify-content: flex-start; }
  .about__inner { grid-template-columns: 1fr; gap: 3rem; }
  .about__visual-box { display: none; }
  .products__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .cta-section__inner { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__actions .btn { display: none; }
  .nav__burger { display: flex; }

  .section { padding: 56px 0; }
  .section__title { font-size: 2rem; }

  .hero { min-height: auto; padding: 80px 0 56px; }
  .hero__title { font-size: 2.6rem; }
  .hero__actions { flex-direction: column; width: 100%; }
  .hero__actions .btn { width: 100%; justify-content: center; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
  .services__grid { grid-template-columns: 1fr; }
  .products__grid { grid-template-columns: repeat(2, 1fr); }
  .cta-section__title { font-size: 2rem; }
  .footer__top { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  :root { --container-pad: 1rem; }
  .stats__grid { grid-template-columns: 1fr; }
  .products__grid { grid-template-columns: 1fr; }
  .hero__title { font-size: 2.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ============================================================
   LIGHTBOX GALERIE
   ============================================================ */

/* Foto-Zähler-Badge auf Produktkarte */

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.product-card__image:hover img {
  transform: scale(1.04);
}

.product-card__image--placeholder {
  cursor: default;
}

.gallery-badge {
  position: absolute;
  bottom: 0.6rem;
  right: 0.6rem;
  background: rgba(0,0,0,0.65);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  pointer-events: none;
}

.gallery-badge svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Lightbox Overlay */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.92);
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.lightbox.is-open {
  display: flex;
}

.lightbox__stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1100px;
  padding: 0 4rem;
  flex: 1;
}

.lightbox__img {
  max-height: 80vh;
  max-width: 100%;
  object-fit: contain;
  border-radius: 4px;
  user-select: none;
}

.lightbox__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.lightbox__btn:hover { background: rgba(255,255,255,0.25); }
.lightbox__btn--prev { left: 0.5rem; }
.lightbox__btn--next { right: 0.5rem; }
.lightbox__btn svg { width: 20px; height: 20px; stroke: #fff; stroke-width: 2.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }

.lightbox__close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: background 0.2s;
}
.lightbox__close:hover { background: rgba(255,255,255,0.25); }
.lightbox__close svg { width: 18px; height: 18px; stroke: #fff; stroke-width: 2.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* Thumbnails */
.lightbox__thumbs {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  overflow-x: auto;
  max-width: 1100px;
  width: 100%;
}

.lightbox__thumb {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  opacity: 0.5;
  border: 2px solid transparent;
  transition: opacity 0.2s, border-color 0.2s;
  flex-shrink: 0;
}

.lightbox__thumb.is-active,
.lightbox__thumb:hover {
  opacity: 1;
  border-color: var(--color-green);
}

/* Lightbox Mobile */
@media (max-width: 600px) {
  .lightbox__thumb { width: 44px; height: 44px; }
  .lightbox__btn { width: 2.25rem; height: 2.25rem; }
  .lightbox__img { max-height: 55vh; }
}

/* Zähler */
.lightbox__counter {
  color: rgba(255,255,255,0.5);
  font-family: var(--font-body);
  font-size: 0.8rem;
  padding-bottom: 0.75rem;
}

/* ============================================================
   TEAM / ANSPRECHPARTNER
   ============================================================ */

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.team-card {
  background: var(--color-off-white);
  border: 0.5px solid var(--color-gray-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.team-card__image {
  aspect-ratio: 3/4;
  background: var(--color-gray-light);
  overflow: hidden;
}

.team-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.team-card__body {
  padding: 1.5rem;
}

.team-card__name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 0.25rem;
}

.team-card__role {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-green);
  margin-bottom: 1rem;
}

.team-card__text {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0;
}

.team-card__contact {
  color: var(--color-green);
  font-size: 0.875rem;
}

/* Dark-Section-Overrides */
.section--dark .team-card {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.1);
}

.section--dark .team-card__name { color: var(--color-white); }
.section--dark .team-card__role { color: var(--color-amber); }
.section--dark .team-card__text { color: rgba(255,255,255,0.65); }
.section--dark .team-card__contact { color: var(--color-green-light); }

@media (max-width: 1024px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .team-grid { grid-template-columns: 1fr; }
}
