/* =============================================
   AKRINA – Stylesheet
   Farben: #344e41 (dunkelgrün), #a8af92 (hellgrün),
           #dbd8d0 (beige/creme), #e26088 (akzent pink)
   Schrift: Century Gothic
   ============================================= */

@font-face {
  font-family: 'Century Gothic';
  src: url('fonts/centurygothic.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Century Gothic';
  src: url('fonts/centurygothic_bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --green-dark:   #344e41;
  --green-mid:    #4a6b59;
  --green-light:  #a8af92;
  --beige:        #dbd8d0;
  --beige-light:  #f0ede8;
  --beige-dark:   #c4bfb5;
  --accent:       #e26088;
  --accent-dark:  #c94d73;
  --white:        #ffffff;
  --text-dark:    #1e2d26;
  --text-mid:     #3d5247;
  --text-light:   #7a8c7e;

  --font-body: 'Century Gothic', 'CenturyGothic', 'AppleGothic', Futura, 'Trebuchet MS', sans-serif;
  --font-serif: 'Century Gothic', 'CenturyGothic', 'AppleGothic', Futura, 'Trebuchet MS', sans-serif;

  /* Akrina Design: alle Elemente eckig */
  --radius-sm: 0;
  --radius-md: 0;
  --radius-lg: 0;

  --shadow-sm: 0 2px 12px rgba(52, 78, 65, 0.08);
  --shadow-md: 0 4px 24px rgba(52, 78, 65, 0.12);

  --nav-height: 72px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--white);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  line-height: 1.25;
  color: var(--green-dark);
  overflow-wrap: break-word;
}

p, li {
  overflow-wrap: break-word;
}

/* Silbentrennung nur auf kleinen Bildschirmen,
   dort brauchen lange Wörter wie Finanzierungsinformationssystem
   die Trennung, auf grossen Bildschirmen soll nichts getrennt werden */
@media (max-width: 640px) {
  h1, h2, h3, h4, p, li { hyphens: auto; }
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 400; letter-spacing: 0.01em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 400; }
h3 { font-size: 1.2rem; font-weight: 700; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ---- SECTION LABELS ---- */
.section-label {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 0.75rem;
}
.section-label.light { color: var(--beige); }

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  border-radius: var(--radius-sm);
  transition: background 0.2s ease, transform 0.15s ease;
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); }

.btn-outline {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border: 1.5px solid var(--green-dark);
  color: var(--green-dark);
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  border-radius: var(--radius-sm);
  transition: background 0.2s ease, color 0.2s ease;
}
.btn-outline:hover { background: var(--green-dark); color: var(--white); }

.btn-outline-light {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border: 1.5px solid var(--beige);
  color: var(--beige);
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  border-radius: var(--radius-sm);
  transition: background 0.2s ease, color 0.2s ease;
}
.btn-outline-light:hover { background: var(--beige); color: var(--green-dark); }

/* ---- NAVBAR ---- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-height);
  background: var(--green-dark);
  transition: box-shadow 0.3s ease;
}
.navbar.scrolled { box-shadow: var(--shadow-md); }

.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img { height: 56px; width: auto; }
.logo-fallback {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--white);
  letter-spacing: 0.12em;
}
.footer-logo-fallback {
  font-size: 1.5rem;
  color: var(--beige);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--beige);
  transition: color 0.2s ease;
  position: relative;
  padding-bottom: 4px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1.5px;
  background: var(--accent);
  transition: width 0.25s ease;
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--beige);
  transition: all 0.25s ease;
}

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 55vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(52,78,65,0.88) 0%, rgba(52,78,65,0.6) 60%, rgba(52,78,65,0.3) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1140px;
  margin: 0 auto;
  padding: 4rem 2rem;
  max-width: 700px;
  margin-left: 10%;
}
.hero-eyebrow {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 1.25rem;
}
.hero-content h1 {
  color: var(--white);
  margin-bottom: 2rem;
}
.hero-content .btn-primary { margin-top: 0.5rem; }

/* ---- ABOUT SECTION ---- */
.section-about {
  padding: 6rem 0;
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-text .section-label { margin-bottom: 1rem; }
.about-text h2 { margin-bottom: 1.5rem; }
.about-text p { color: var(--text-mid); margin-bottom: 1rem; font-size: 0.95rem; }
.about-text .btn-outline { margin-top: 1.5rem; }

.about-stats {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.stat-card {
  background: var(--beige-light);
  border-left: 3px solid var(--green-light);
  padding: 1.5rem 1.75rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.stat-card:hover { border-color: var(--accent); transform: translateX(4px); }

.stat-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--green-dark);
  line-height: 1.2;
}
.stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 0.25rem;
  letter-spacing: 0.03em;
}

/* ---- SERVICES PREVIEW ---- */
.section-services-preview {
  padding: 6rem 0;
  background: var(--green-dark);
  color: var(--beige-light);
}
.section-services-preview h2 { color: var(--white); margin-bottom: 0.5rem; }
.section-services-preview .section-label { margin-bottom: 0.75rem; }

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

.service-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(168,175,146,0.2);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.service-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(168,175,146,0.4);
}

.service-icon {
  width: 44px;
  height: 44px;
  color: var(--green-light);
  margin-bottom: 1.25rem;
}
.service-icon svg { width: 100%; height: 100%; }

.service-card h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}
.service-card p {
  font-size: 0.88rem;
  color: rgba(219,216,208,0.8);
  line-height: 1.65;
}

.services-cta { text-align: center; margin-top: 3rem; }

/* ---- TEAM PREVIEW ---- */
.section-team-preview {
  padding: 6rem 0;
  background: var(--beige-light);
}
.section-team-preview h2 { margin-bottom: 0.5rem; }
.section-intro {
  color: var(--text-light);
  font-size: 1rem;
  margin-bottom: 3rem;
}

.team-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 700px;
}

.team-preview-card {
  display: block;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.team-preview-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }

.team-img-wrap {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--beige);
}
.team-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.team-preview-card:hover .team-img-wrap img { transform: scale(1.04); }

.img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--green-light);
  background: var(--beige);
}

.team-preview-info {
  padding: 1.25rem 1.5rem;
}
.team-role {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
}
.team-preview-info h3 {
  font-size: 1.1rem;
  margin-top: 0.25rem;
}

/* ---- FOOTER ---- */
.footer {
  background: var(--text-dark);
  color: var(--beige);
  padding: 4rem 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(168,175,146,0.15);
}

.footer-logo { height: 40px; margin-bottom: 1.25rem; }
.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.45;
  color: rgba(219,216,208,0.7);
  margin-bottom: 0.5rem;
}
.footer-brand a {
  font-size: 0.85rem;
  color: var(--accent);
  transition: opacity 0.2s;
}
.footer-brand a:hover { opacity: 0.8; }

.footer-nav h4 {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green-light);
  font-weight: 400;
  margin-bottom: 1.25rem;
}
.footer-nav ul { list-style: none; }
.footer-nav li { margin-bottom: 0.6rem; }
.footer-nav a {
  font-size: 0.88rem;
  color: rgba(219,216,208,0.7);
  transition: color 0.2s ease;
}
.footer-nav a:hover { color: var(--beige); }

.footer-bottom {
  padding: 1.5rem 2rem;
  text-align: center;
}
.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(219,216,208,0.4);
}

/* ---- PAGE HERO (inner pages) ---- */
.page-hero {
  background: var(--green-dark);
  padding: calc(var(--nav-height) + 3rem) 0 3.5rem;
  color: var(--white);
}
.page-hero h1 { color: var(--white); font-size: clamp(1.8rem, 4vw, 3rem); }
.page-hero p {
  color: var(--green-light);
  font-size: 1rem;
  margin-top: 0.75rem;
}

/* ---- TEAM PAGE ---- */
.section-team {
  padding: 5rem 0;
  background: var(--white);
}

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

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

.team-card {
  background: var(--beige-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.team-card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--beige);
}
.team-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.partner-card .team-card-img {
  aspect-ratio: 1/1;
}
.partner-card .team-card-img img {
  object-position: center top;
}

#img-maria-portrait { filter: brightness(1.045); }

.team-card-logo {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s ease;
}
.team-card-logo:hover { box-shadow: var(--shadow-md, 0 8px 24px rgba(0,0,0,0.08)); }
.team-card-img-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3.5rem;
}
.team-card-img-logo img {
  width: auto;
  height: auto;
  max-width: 60%;
  max-height: 60%;
  object-fit: contain;
}
.logo-card-link {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  color: var(--green-dark);
}

.team-card-body { padding: 2rem; }
.team-card-body .team-role {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 0.5rem;
}
.team-card-body h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.team-card-body p { font-size: 0.9rem; color: var(--text-mid); line-height: 1.7; }

.team-card-links { margin-top: 1.5rem; }
.linkedin-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  color: var(--green-dark);
  border: 1px solid var(--green-light);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-sm);
  transition: background 0.2s, color 0.2s;
}
.linkedin-link:hover { background: var(--green-dark); color: var(--white); }
.linkedin-link svg { width: 16px; height: 16px; }

/* ---- DIENSTLEISTUNGEN PAGE ---- */
.section-dl {
  padding: 5rem 0;
  background: var(--white);
}

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

.dl-card {
  border: 1px solid var(--beige-dark);
  border-radius: var(--radius-lg);
  padding: 2rem 2rem 2rem 2.25rem;
  border-left: 3px solid var(--green-light);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.dl-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}
.dl-card h3 { font-size: 1.2rem; margin-bottom: 0.75rem; color: var(--green-dark); }
.dl-card p { font-size: 0.9rem; color: var(--text-mid); }

/* ---- KONTAKT PAGE ---- */
.section-kontakt {
  padding: 5rem 0;
  background: var(--white);
}

.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  margin-top: 2rem;
}

.kontakt-info h3 { font-size: 1.3rem; margin-bottom: 1.25rem; }
.kontakt-info p { font-size: 0.9rem; color: var(--text-mid); line-height: 1.8; margin-bottom: 2rem; }

.kontakt-detail {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.kontakt-detail span {
  font-size: 0.85rem;
  color: var(--text-mid);
}
.kontakt-detail strong { color: var(--green-dark); font-weight: 500; }
.kontakt-detail a { color: var(--accent); }

.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--beige-dark);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--text-dark);
  outline: none;
  transition: border-color 0.2s ease;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--green-dark); }
.form-group textarea { resize: vertical; min-height: 120px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: var(--text-light);
}
.form-check input[type="checkbox"] {
  width: 16px; height: 16px;
  margin-top: 2px;
  accent-color: var(--green-dark);
  flex-shrink: 0;
}

/* ---- IMPRESSUM / DATENSCHUTZ ---- */
.section-legal {
  padding: 5rem 0;
  background: var(--white);
  max-width: 800px;
  margin: 0 auto;
}
.section-legal h2 { margin: 2rem 0 0.75rem; font-size: 1.3rem; }
.section-legal p { font-size: 0.92rem; color: var(--text-mid); margin-bottom: 1rem; line-height: 1.8; }
.section-legal a { color: var(--accent); }

/* ---- FORM STATUS ---- */
.form-status {
  display: none;
  padding: 1rem 1.25rem;
  font-size: 0.88rem;
}
.form-status.success {
  background: var(--beige-light);
  border-left: 3px solid var(--green-light);
  color: var(--green-dark);
}
.form-status.error {
  background: #f9e9ee;
  border-left: 3px solid var(--accent);
  color: var(--accent-dark);
}

/* ---- DIENSTLEISTUNGEN: HAUPT & ZUSATZ ---- */
.dl-main-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-top: 3rem;
}
.dl-feature {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  align-items: stretch;
  background: var(--beige-light);
  border-left: 3px solid var(--green-light);
  transition: border-color 0.2s ease;
}
.dl-feature:hover { border-color: var(--accent); }
.dl-feature-img {
  min-height: 300px;
  overflow: hidden;
}
.dl-feature-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.dl-feature-text {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.dl-feature-text h3 { font-size: 1.35rem; margin-bottom: 1rem; color: var(--green-dark); }
.dl-feature-text p { font-size: 0.95rem; color: var(--text-mid); line-height: 1.8; }

.dl-feature-text ul {
  list-style: none;
  margin-top: 1.25rem;
}
.dl-feature-text li {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.6;
  padding-left: 1.1rem;
  position: relative;
  margin-bottom: 0.65rem;
}
.dl-feature-text li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--green-light);
}
.dl-feature-text li strong {
  color: var(--green-dark);
  font-weight: 700;
}
.dl-feature.reverse .dl-feature-img { order: 2; }
.dl-feature.reverse { border-left: none; border-right: 3px solid var(--green-light); }

.dl-subtitle {
  margin-top: 4.5rem;
  font-size: 1.5rem;
  color: var(--green-dark);
}
.dl-subtitle-intro {
  color: var(--text-mid);
  font-size: 0.95rem;
  margin-top: 0.5rem;
  max-width: 680px;
}

/* ---- FIS SEKTION (Startseite) ---- */
.section-fis {
  padding: 6rem 0;
  background: var(--beige-light);
}
.fis-panel {
  background: var(--white);
  border-left: 3px solid var(--accent);
  padding: 3rem;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: center;
}
.fis-panel h2 { margin: 0.25rem 0 1rem; }
.fis-panel p { font-size: 0.95rem; color: var(--text-mid); line-height: 1.8; }
.fis-cta { text-align: right; }
@media (max-width: 900px) {
  .fis-panel { grid-template-columns: 1fr; padding: 2rem; }
  .fis-cta { text-align: left; }
}

/* ---- BILD-BAND (Startseite) ----
   Bild wird nie beschnitten: Es skaliert mit, aber nur bis zur
   Maximalbreite. Darüber füllt der weisse Hintergrund die Ränder. */
.image-band {
  background: var(--white);
}
.image-band img {
  display: block;
  width: 100%;
  max-width: 1400px;
  height: auto;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .dl-feature { grid-template-columns: 1fr; }
  .dl-feature-img { min-height: 0; height: 220px; }
  .dl-feature.reverse .dl-feature-img { order: 0; }
  .dl-feature.reverse { border-right: none; border-left: 3px solid var(--green-light); }
}

@media (max-width: 640px) {
  .dl-feature-text { padding: 1.75rem; }
}

/* ---- MOBILE OVERFLOW GUARDS ----
   Verhindert, dass lange Wörter oder Formularfelder die
   Spalten breiter als den Bildschirm drücken. */
.kontakt-grid > *,
.fis-panel > *,
.about-grid > *,
.services-grid > *,
.dl-feature > *,
.team-grid > *,
.footer-inner > * {
  min-width: 0;
}
.contact-form { min-width: 0; }

/* ---- ANIMATIONS ---- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-content { animation: fadeUp 0.8s ease both; }
.hero-eyebrow { animation: fadeUp 0.6s ease 0.1s both; }
.hero-content h1 { animation: fadeUp 0.7s ease 0.2s both; }
.hero-content .btn-primary { animation: fadeUp 0.7s ease 0.4s both; }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .about-grid,
  .services-grid,
  .team-grid,
  .dl-grid,
  .kontakt-grid { grid-template-columns: 1fr; }

  .team-preview-grid { max-width: 100%; }

  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: var(--green-dark);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }

  .hero { min-height: 65vh; }
  .hero-content { margin-left: 0; }

  .team-preview-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}
