/* ============================================================
   DAPORO ACADEMY — Stylesheet
   Brand: Navy #0E3A5C · Grün #3FA53A · Montserrat / Inter
   ============================================================ */

@import url("fonts.css");

/* ---------- Tokens ---------- */
:root {
  --navy:        #0E3A5C;
  --navy-700:    #0B2E49;
  --navy-900:    #081f33;
  --navy-soft:   #15466e;
  --green:       #3FA53A;
  --green-600:   #34892f;
  --green-700:   #2c7427;
  --ink:         #1c2733;
  --ink-soft:    #4a5765;
  --muted:       #6b7783;
  --paper:       #f5f7fa;
  --paper-2:     #eef2f7;
  --line:        #e1e7ee;
  --white:       #ffffff;

  --radius:      18px;
  --radius-sm:   12px;
  --shadow-sm:   0 2px 10px rgba(14, 58, 92, .06);
  --shadow:      0 14px 40px rgba(14, 58, 92, .12);
  --shadow-lg:   0 30px 70px rgba(8, 31, 51, .28);

  --container:   1180px;
  --gutter:      clamp(20px, 5vw, 48px);

  --ff-head: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ff-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 4px; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--paper { background: var(--paper); }
.section--navy { background: var(--navy); color: #dce7f0; }

.eyebrow {
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--green-600);
  display: inline-flex;
  align-items: center;
  gap: .6em;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--green); display: inline-block; }
.section--navy .eyebrow { color: #6fd06a; }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }

h1, h2, h3, h4 { font-family: var(--ff-head); font-weight: 800; line-height: 1.12; color: var(--navy); letter-spacing: -.01em; }
.section--navy h1, .section--navy h2, .section--navy h3 { color: #fff; }

h2.title { font-size: clamp(1.9rem, 4.2vw, 2.85rem); margin: .35em 0 .4em; }
.lead { font-size: clamp(1.05rem, 1.8vw, 1.22rem); color: var(--ink-soft); }
.section--navy .lead { color: #b9cbdb; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--green);
  --fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: .98rem;
  letter-spacing: .01em;
  padding: .92em 1.7em;
  border: 2px solid transparent;
  border-radius: 999px;
  background: var(--bg);
  color: var(--fg);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s;
  box-shadow: 0 10px 24px rgba(63,165,58,.28);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(63,165,58,.36); }
.btn:active { transform: translateY(-1px); }
.btn--ghost { --bg: transparent; --fg: #fff; border-color: rgba(255,255,255,.5); box-shadow: none; }
.btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; box-shadow: none; }
.btn--navy { --bg: var(--navy); --fg: #fff; box-shadow: 0 10px 24px rgba(14,58,92,.25); }
.btn--navy:hover { box-shadow: 0 16px 32px rgba(14,58,92,.32); }
.btn--lg { font-size: 1.05rem; padding: 1.05em 2.1em; }

.arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: box-shadow .3s var(--ease), padding .3s var(--ease);
  padding: 14px 0;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(140%) blur(12px);
  box-shadow: 0 2px 18px rgba(14,58,92,.07);
}
.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(14,58,92,.12);
  padding: 8px 0;
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

/* Brand / wordmark */
.brand { display: flex; align-items: center; gap: 13px; }
.brand__shield { width: 46px; height: 46px; object-fit: contain; flex: none; transition: width .3s var(--ease), height .3s var(--ease); }
.site-header.scrolled .brand__shield { width: 40px; height: 40px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--ff-head); font-weight: 800; font-size: 1.5rem;
  letter-spacing: .06em; color: var(--navy);
}
.brand__sub {
  font-family: var(--ff-head); font-weight: 700; font-size: .62rem;
  letter-spacing: .42em; color: var(--green); margin-top: 4px; padding-left: 2px;
}

/* Nav links */
.nav__links { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav__links a {
  font-family: var(--ff-head); font-weight: 600; font-size: .95rem;
  color: var(--ink-soft); padding: 8px 14px; border-radius: 8px;
  transition: color .2s, background .2s; position: relative;
}
.nav__links a:hover { color: var(--navy); background: var(--paper-2); }
.nav__cta { margin-left: 6px; }

/* Burger */
.nav__toggle {
  display: none; width: 46px; height: 46px; border: none; background: transparent;
  position: relative; border-radius: 10px; z-index: 110;
}
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  content: ""; position: absolute; left: 11px; width: 24px; height: 2.5px; border-radius: 3px;
  background: var(--navy); transition: transform .3s var(--ease), opacity .2s, background .3s;
}
.nav__toggle span { top: 22px; }
.nav__toggle span::before { top: -7px; }
.nav__toggle span::after { top: 7px; }
body.nav-open .nav__toggle span { background: transparent; }
body.nav-open .nav__toggle span::before { transform: translateY(7px) rotate(45deg); background: var(--navy); }
body.nav-open .nav__toggle span::after { transform: translateY(-7px) rotate(-45deg); background: var(--navy); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; color: #fff; isolation: isolate;
  padding: clamp(130px, 18vw, 200px) 0 clamp(70px, 10vw, 120px);
  background:
    linear-gradient(125deg, rgba(8,31,51,.96) 0%, rgba(14,58,92,.86) 48%, rgba(11,46,73,.78) 100%);
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(120deg, var(--navy-900), var(--navy) 60%, var(--navy-soft));
}
.hero__glow {
  position: absolute; z-index: -1; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px;
  right: -12vw; top: -16vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(63,165,58,.30), transparent 62%);
  filter: blur(8px); pointer-events: none;
}
.hero__grid-deco {
  position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image:
    radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
          mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}

.hero__inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 64px); align-items: center; }

.hero__tagline {
  font-family: var(--ff-head); font-weight: 800; font-size: clamp(.78rem, 1.4vw, .95rem);
  letter-spacing: .22em; text-transform: uppercase; margin-bottom: 22px;
  display: flex; gap: .9em; flex-wrap: wrap; align-items: center;
}
.hero__tagline span:nth-child(2) { color: var(--green); }
.hero__tagline .dot { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.4); }

.hero h1 {
  font-size: clamp(2.3rem, 5.6vw, 4rem); line-height: 1.05; color: #fff;
  letter-spacing: -.02em;
}
.hero h1 .accent { color: var(--green); }
.hero__sub { font-size: clamp(1.08rem, 1.9vw, 1.3rem); color: #c2d3e2; max-width: 46ch; margin: 24px 0 36px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero__badges { display: flex; gap: 26px; margin-top: 46px; flex-wrap: wrap; }
.hero__badge { display: flex; align-items: center; gap: 12px; font-size: .92rem; color: #cddcea; }
.hero__badge svg { width: 26px; height: 26px; flex: none; color: var(--green); }

/* Hero figure (owner) */
.hero__figure { position: relative; justify-self: center; }
.hero__photo {
  width: clamp(260px, 32vw, 400px); aspect-ratio: 4/5; object-fit: cover;
  border-radius: 26px; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.12);
}
.hero__photo-fallback {
  width: clamp(260px, 32vw, 400px); aspect-ratio: 4/5; border-radius: 26px;
  background: linear-gradient(160deg, var(--navy-soft), var(--navy-900));
  border: 1px dashed rgba(255,255,255,.25);
  display: grid; place-content: center; text-align: center; gap: 10px; padding: 24px;
  color: rgba(255,255,255,.6); box-shadow: var(--shadow-lg);
}
.hero__photo-fallback svg { width: 64px; height: 64px; margin-inline: auto; opacity: .55; }
.hero__namecard {
  position: absolute; left: -18px; bottom: 26px;
  background: #fff; color: var(--navy); border-radius: 14px; padding: 14px 20px;
  box-shadow: var(--shadow); border-left: 4px solid var(--green);
}
.hero__namecard strong { font-family: var(--ff-head); font-weight: 800; font-size: 1.05rem; display: block; }
.hero__namecard span { font-size: .82rem; color: var(--muted); }

/* ============================================================
   STATS BAR
   ============================================================ */
.stats { background: var(--white); margin-top: -1px; }
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); background: #fff; transform: translateY(-50%);
}
.stat { padding: 30px 26px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: none; }
.stat__num { font-family: var(--ff-head); font-weight: 800; font-size: clamp(1.9rem, 3.4vw, 2.6rem); color: var(--navy); line-height: 1; }
.stat__num .plus { color: var(--green); }
.stat__label { font-size: .9rem; color: var(--muted); margin-top: 8px; }

/* pull following content up since stats overlaps */
.stats + .section { padding-top: 0; }

/* ============================================================
   PILLARS (zwei Säulen)
   ============================================================ */
.pillars__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 32px); }
.pillar {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(30px, 4vw, 46px); overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.pillar::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 5px;
  background: linear-gradient(90deg, var(--green), var(--navy));
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.pillar:hover::before { transform: scaleX(1); }
.pillar__icon {
  width: 70px; height: 70px; border-radius: 18px; display: grid; place-content: center;
  background: var(--paper); color: var(--navy); margin-bottom: 24px;
  border: 1px solid var(--line); transition: background .3s, color .3s;
}
.pillar:hover .pillar__icon { background: var(--navy); color: #fff; }
.pillar__icon svg { width: 34px; height: 34px; }
.pillar h3 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); margin-bottom: 6px; }
.pillar__tag { color: var(--green-600); font-weight: 700; font-family: var(--ff-head); font-size: .9rem; letter-spacing: .02em; }
.pillar p { color: var(--ink-soft); margin-top: 14px; }
.pillar__list { list-style: none; margin-top: 20px; display: grid; gap: 10px; }
.pillar__list li { display: flex; gap: 10px; align-items: flex-start; font-size: .98rem; color: var(--ink); }
.pillar__list svg { width: 20px; height: 20px; color: var(--green); flex: none; margin-top: 2px; }
.pillar__soon {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--green-700); background: rgba(63,165,58,.12);
  padding: 4px 10px; border-radius: 999px; margin-left: 8px; vertical-align: middle;
}

/* ============================================================
   LEISTUNGEN (services grid)
   ============================================================ */
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 30px 28px; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  display: flex; flex-direction: column; gap: 12px;
}
.service:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.service__ico {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-content: center;
  background: linear-gradient(140deg, var(--navy), var(--navy-soft)); color: #fff;
}
.service__ico svg { width: 26px; height: 26px; }
.service h4 { font-size: 1.16rem; }
.service p { color: var(--ink-soft); font-size: .97rem; }
.service__cat { font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green-600); }

/* ============================================================
   ABOUT / TEAM
   ============================================================ */
.about__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 72px); align-items: center; }
.about__media { position: relative; }
.about__photo { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/5; object-fit: cover; }
.about__photo-fallback {
  width: 100%; aspect-ratio: 4/5; border-radius: var(--radius);
  background: linear-gradient(160deg, var(--paper-2), #dde6ef);
  display: grid; place-content: center; text-align: center; gap: 10px; padding: 24px;
  color: var(--muted); border: 1px dashed #c3d0dd;
}
.about__photo-fallback svg { width: 64px; height: 64px; margin-inline: auto; opacity: .5; }
.about__stat-card {
  position: absolute; right: -16px; bottom: -22px; background: var(--navy); color: #fff;
  padding: 20px 26px; border-radius: 14px; box-shadow: var(--shadow); text-align: center;
}
.about__stat-card strong { font-family: var(--ff-head); font-size: 1.9rem; display: block; }
.about__stat-card strong .plus { color: var(--green); }
.about__stat-card span { font-size: .8rem; color: #aebfcf; }

.about__text p { color: var(--ink-soft); margin-top: 16px; }
.about__sign { margin-top: 28px; display: flex; align-items: center; gap: 16px; }
.about__sign-name { font-family: var(--ff-head); font-weight: 800; color: var(--navy); font-size: 1.1rem; }
.about__sign-role { font-size: .9rem; color: var(--muted); }
.feature-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.feature-tags span {
  font-size: .85rem; font-weight: 600; color: var(--navy); background: var(--paper);
  border: 1px solid var(--line); padding: 8px 14px; border-radius: 999px;
}

/* ============================================================
   AUDIENCE (Für wen)
   ============================================================ */
.audience__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.aud-card {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-sm);
  padding: 30px 28px; transition: background .3s, transform .3s var(--ease);
}
.aud-card:hover { background: rgba(255,255,255,.08); transform: translateY(-4px); }
.aud-card svg { width: 38px; height: 38px; color: var(--green); margin-bottom: 16px; }
.aud-card h4 { color: #fff; font-size: 1.2rem; margin-bottom: 8px; }
.aud-card p { color: #aec0d1; font-size: .96rem; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 60px); align-items: start; }
.contact__info .lead { margin-bottom: 30px; }
.contact-list { list-style: none; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list .ci-ico {
  width: 48px; height: 48px; flex: none; border-radius: 12px; display: grid; place-content: center;
  background: var(--paper); border: 1px solid var(--line); color: var(--navy);
}
.contact-list .ci-ico svg { width: 22px; height: 22px; }
.contact-list .ci-label { display: block; font-size: .76rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; margin-bottom: 2px; }
.contact-list .ci-value { font-family: var(--ff-head); font-weight: 700; color: var(--navy); font-size: 1.08rem; }
.contact-list a.ci-value:hover { color: var(--green-600); }

/* Form */
.contact-form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field label { font-size: .88rem; font-weight: 600; color: var(--navy); font-family: var(--ff-head); }
.field label .req { color: var(--green-600); }
.field input, .field textarea, .field select {
  font: inherit; font-size: .98rem; color: var(--ink); background: var(--paper);
  border: 1.5px solid var(--line); border-radius: 11px; padding: 13px 15px;
  transition: border-color .2s, background .2s, box-shadow .2s; width: 100%;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--green); background: #fff; box-shadow: 0 0 0 4px rgba(63,165,58,.12);
}
.field .error-msg { color: #c0392b; font-size: .82rem; display: none; }
.field.invalid input, .field.invalid textarea { border-color: #c0392b; }
.field.invalid .error-msg { display: block; }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; color: var(--ink-soft); margin-bottom: 22px; }
.consent input { width: 20px; height: 20px; flex: none; margin-top: 2px; accent-color: var(--green); }
.consent a { color: var(--green-600); text-decoration: underline; }

.form-note { font-size: .82rem; color: var(--muted); margin-top: 14px; text-align: center; }
.form-status { padding: 14px 16px; border-radius: 11px; font-size: .94rem; margin-bottom: 18px; display: none; }
.form-status.show { display: block; }
.form-status.ok { background: rgba(63,165,58,.12); color: var(--green-700); border: 1px solid rgba(63,165,58,.3); }
.form-status.err { background: #fdecea; color: #c0392b; border: 1px solid #f5c6c0; }

/* honeypot */
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--navy-900); color: #9fb3c6; padding: clamp(56px, 7vw, 84px) 0 28px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer .brand__name { color: #fff; }
.footer .brand__shield { width: 52px; height: 52px; background: #fff; border-radius: 12px; padding: 7px; }
.footer__about { margin-top: 18px; max-width: 38ch; font-size: .95rem; line-height: 1.7; }
.footer__col h5 { color: #fff; font-family: var(--ff-head); font-size: 1rem; margin-bottom: 16px; }
.footer__col ul { list-style: none; display: grid; gap: 11px; }
.footer__col a { color: #9fb3c6; font-size: .95rem; transition: color .2s; }
.footer__col a:hover { color: var(--green); }
.footer__values { display: flex; gap: 26px; flex-wrap: wrap; margin: 36px 0 0; padding-top: 28px; }
.footer__value { display: flex; align-items: center; gap: 10px; font-family: var(--ff-head); font-weight: 700; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: #cfe0ef; }
.footer__value svg { width: 22px; height: 22px; color: var(--green); }
.footer__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 30px; font-size: .85rem; }
.footer__bar a:hover { color: var(--green); }

/* ============================================================
   PAGE HERO (Unterseiten, z. B. Team)
   ============================================================ */
.page-hero {
  position: relative; color: #fff; isolation: isolate; overflow: hidden;
  padding: clamp(130px, 17vw, 200px) 0 clamp(56px, 8vw, 96px);
  background: linear-gradient(120deg, var(--navy-900), var(--navy) 60%, var(--navy-soft));
}
.page-hero__glow {
  position: absolute; z-index: -1; width: 50vw; height: 50vw; max-width: 640px; max-height: 640px;
  right: -10vw; top: -14vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(63,165,58,.28), transparent 62%); pointer-events: none;
}
.page-hero__grid-deco {
  position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
          mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}
.page-hero .eyebrow { color: #6fd06a; }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 5vw, 3.4rem); margin: .35em 0 .4em; }
.page-hero__lead { font-size: clamp(1.05rem, 1.8vw, 1.25rem); color: #c2d3e2; max-width: 60ch; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: .85rem; color: #93aac0; margin-bottom: 22px; }
.breadcrumb a { color: #93aac0; transition: color .2s; }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb svg { width: 14px; height: 14px; }

/* ============================================================
   TEAM
   ============================================================ */
/* Lead / Inhaber-Feature */
.team-lead {
  display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 60px);
  align-items: center; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(24px, 3.5vw, 44px); box-shadow: var(--shadow-sm);
  position: relative; overflow: hidden;
}
.team-lead::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 5px;
  background: linear-gradient(90deg, var(--green), var(--navy));
}
.team-lead__media { position: relative; }
.team-lead__photo { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius-sm); box-shadow: var(--shadow); }
.team-lead__badge {
  position: absolute; left: -14px; bottom: 18px; background: var(--navy); color: #fff;
  padding: 12px 18px; border-radius: 12px; box-shadow: var(--shadow); border-left: 4px solid var(--green);
}
.team-lead__badge strong { font-family: var(--ff-head); font-weight: 800; display: block; font-size: 1rem; }
.team-lead__badge span { font-size: .78rem; color: #aebfcf; }
.team-lead__role { color: var(--green-600); font-weight: 700; font-family: var(--ff-head); font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
.team-lead h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 6px 0 14px; }
.team-lead p { color: var(--ink-soft); margin-top: 14px; }
.team-lead__tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.team-lead__tags span {
  font-size: .82rem; font-weight: 600; color: var(--navy); background: var(--paper);
  border: 1px solid var(--line); padding: 7px 13px; border-radius: 999px;
}

/* Mitglieder-Grid */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.team-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.team-card__media { position: relative; aspect-ratio: 1/1; overflow: hidden; }
.team-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.team-card__ph {
  width: 100%; height: 100%; display: grid; place-content: center;
  background: linear-gradient(160deg, var(--navy-soft), var(--navy-900)); color: rgba(255,255,255,.55);
}
.team-card__ph svg { width: 74px; height: 74px; }
.team-card__flag {
  position: absolute; top: 12px; right: 12px; font-size: .68rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: #8a6d12; background: #fff8e6;
  border: 1px solid #f3d98a; padding: 4px 9px; border-radius: 999px;
}
.team-card__body { padding: 22px 24px 26px; flex: 1; }
.team-card__name { font-family: var(--ff-head); font-weight: 800; color: var(--navy); font-size: 1.22rem; }
.team-card__role { color: var(--green-600); font-weight: 700; font-family: var(--ff-head); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; margin-top: 4px; }
.team-card__bio { color: var(--ink-soft); font-size: .96rem; margin-top: 13px; }

.team-note {
  display: flex; gap: 14px; align-items: flex-start; margin-top: 38px; padding: 20px 24px;
  background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--green);
  border-radius: var(--radius-sm); color: var(--ink-soft); font-size: .96rem;
}
.team-note svg { width: 24px; height: 24px; color: var(--green); flex: none; margin-top: 2px; }

/* CTA-Band */
.cta-band { background: var(--navy); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.cta-band p { color: #b9cbdb; max-width: 52ch; margin: 14px auto 30px; font-size: 1.08rem; }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__figure { display: none; }
  .about__grid, .contact__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 420px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); transform: translateY(-30%); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .services__grid, .audience__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .team-lead { grid-template-columns: 1fr; }
  .team-lead__media { max-width: 380px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Navigation: hamburger drawer (5 Menüpunkte brauchen Platz) */
@media (max-width: 900px) {
  .nav__links {
    position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px);
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 6px;
    background: #fff; padding: 100px 26px 40px; box-shadow: var(--shadow-lg);
    transform: translateX(100%); transition: transform .35s var(--ease); overflow-y: auto;
  }
  body.nav-open .nav__links { transform: translateX(0); }
  .nav__links a { color: var(--navy); font-size: 1.05rem; padding: 14px 12px; border-bottom: 1px solid var(--paper-2); }
  .nav__links .nav__cta { margin: 14px 0 0; }
  .nav__links .nav__cta a { color: #fff; background: var(--green); text-align: center; border-radius: 999px; border: none; }
  .nav__toggle { display: block; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(8,31,51,.5); opacity: 0; visibility: hidden; transition: opacity .3s; z-index: 90; }
  body.nav-open .nav-backdrop { opacity: 1; visibility: visible; }
}

@media (max-width: 760px) {
  .pillars__grid { grid-template-columns: 1fr; gap: 18px; }
  .form-row { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 540px) {
  body { font-size: 16px; }
  .stats__grid { grid-template-columns: 1fr; transform: translateY(-18%); }
  .stat { border-right: none; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: none; }
  .services__grid, .audience__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 30px; }
  .about__stat-card { right: 0; }
  .brand__sub { letter-spacing: .3em; }
}
