:root {
  --navy:       #1a3868;
  --teal:       #1faa9a;
  --teal-dim:   #187f74;
  --teal-bg:    #edf7f6;

  --bg:         #fafafa;
  --bg-surface: #f4f6f9;
  --bg-subtle:  #edf0f5;
  --text:       #1a3868;
  --text-muted: #6a7a90;
  --text-faint: #c8d0dc;
  --border:     #dde3ed;
  --max-w:      1160px;
  --gap:        clamp(72px, 10vw, 128px);
  --r:          3px;
}

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


body {
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Utility ───────────────────── */

.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 60px);
}

.label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 1.375rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: var(--r);
  border: 1px solid transparent;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
}
.btn--primary { background: var(--teal); color: #fff; border-color: var(--teal); }
.btn--primary:hover { background: var(--teal-dim); border-color: var(--teal-dim); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--teal); color: var(--teal); }

/* Brand inline */
.brand { font-style: normal; font-weight: 600; color: var(--navy); }

/* Image placeholders */
.img-placeholder {
  position: relative;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.img-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(var(--text-faint) 1px, transparent 1px),
    linear-gradient(90deg, var(--text-faint) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.35;
}
.img-placeholder span {
  position: relative;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  user-select: none;
}
.img-placeholder--hero     { aspect-ratio: 16 / 7; width: 100%; }
.img-placeholder--wide     { aspect-ratio: 16 / 6; width: 100%; }
.img-placeholder--square   { aspect-ratio: 1 / 1;  width: 100%; }
.img-placeholder--portrait { aspect-ratio: 3 / 4;  width: 100%; border-radius: 6px; }

/* ── Header ────────────────────── */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 252, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
}
.header__logo img { height: 26px; width: auto; display: block; }
.header__nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.header__nav > a {
  font-size: 0.8125rem;
  line-height: 1;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.18s;
}
.header__nav > a:hover { color: var(--teal); }
.header__nav > a.header__nav-active { color: var(--teal); font-weight: 500; }
.header__nav .btn { padding: 0.45rem 1rem; margin-left: 0.25rem; }

/* Language switch */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-inline: 0.25rem;
  line-height: 1;
}
.lang-switch__sep  { color: var(--text-faint); font-size: 0.75rem; line-height: 1; }
.lang-switch__active {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--teal);
  line-height: 1;
}
.lang-switch__link {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.18s;
  line-height: 1;
}
.lang-switch__link:hover { color: var(--navy); }

/* ── Hero ──────────────────────── */

.hero {
  padding-block: clamp(72px, 12vw, 140px) clamp(64px, 10vw, 112px);
  border-bottom: 1px solid var(--border);
}
.hero__inner { max-width: 680px; margin-bottom: clamp(48px, 7vw, 88px); }
.hero__title {
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.hero__sub {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 2.25rem;
  line-height: 1.65;
}
.hero__actions { display: flex; gap: 0.625rem; flex-wrap: wrap; }

/* ── Section base ──────────────── */

.section { padding-block: var(--gap); border-bottom: 1px solid var(--border); }
.section__header { max-width: 600px; margin-bottom: clamp(40px, 6vw, 72px); }
.section__header h2 {
  font-size: clamp(1.625rem, 3vw, 2.375rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.section__intro { color: var(--text-muted); font-size: 0.9375rem; line-height: 1.7; }

/* ── About ─────────────────────── */

.about__image { margin-bottom: clamp(40px, 5vw, 64px); }
.about__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
}
.card { background: var(--bg); padding: clamp(28px, 3.5vw, 48px); transition: background 0.18s; }
.card:hover { background: var(--bg-subtle); }
.card__number {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.25rem;
}
.card h3 {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}
.card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; }

/* ── How ───────────────────────── */

.how { background: var(--teal-bg); }
.how__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.how__list-wrap { display: flex; flex-direction: column; }
.how__brand {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--navy);
  margin-bottom: 0;
}
.how__list { list-style: none; }
.how__list li {
  display: flex;
  gap: 1.25rem;
  align-items: baseline;
  padding-block: 1.0625rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.18s;
}
.how__list li:first-child { border-top: 1px solid var(--border); }
.how__list li:hover { color: var(--text); }
.how__num {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--text-faint);
  min-width: 22px;
  flex-shrink: 0;
}
.how__closing {
  font-size: 0.9375rem;
  color: var(--navy);
  font-style: italic;
  font-weight: 500;
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
  margin-top: 0;
}

/* ── Approach ──────────────────── */

.approach { background: var(--bg); }

.approach__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: stretch;
}

.approach__layout .img-placeholder {
  aspect-ratio: unset;
  height: 100%;
  min-height: 300px;
}

.approach__list-wrap { display: flex; flex-direction: column; }

.approach__brand {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--navy);
}

.approach__list { list-style: none; }

.approach__list li {
  display: flex;
  gap: 1.25rem;
  align-items: baseline;
  padding-block: 1.0625rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
  transition: color 0.18s;
}
.approach__list li:first-child { border-top: 1px solid var(--border); }
.approach__list li:hover { color: var(--text); }

.approach__item-num {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  min-width: 22px;
  flex-shrink: 0;
  font-weight: 600;
}

.approach__closing-text {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.55;
  padding-top: 1.125rem;
  border-top: 1px solid var(--border);
}

/* ── Contact ───────────────────── */

.contact { background: var(--bg-surface); }
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.contact__info h2 {
  font-size: clamp(1.625rem, 3vw, 2.375rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group label {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--navy);
}
.form-group input,
.form-group textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  color: var(--text);
  font-family: inherit;
  transition: border-color 0.18s, box-shadow 0.18s;
  outline: none;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(31, 170, 154, 0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-faint); }
.contact-form .btn { align-self: flex-start; }

/* ── Footer ────────────────────── */

.footer { background: var(--navy); color: #fff; }

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  padding-block: clamp(28px, 4vw, 44px);
}
.footer__logo {
  height: 24px;
  width: auto;
  display: block;
  margin-bottom: 1.25rem;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.footer__tagline {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.55;
  max-width: 240px;
  margin-bottom: 0.25rem;
}
.footer__slogan {
  font-size: 0.8rem;
  font-style: italic;
  color: rgba(255,255,255,0.28);
  line-height: 1.5;
  max-width: 240px;
}
.footer__col-title {
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1.125rem;
}
.footer__col nav { display: flex; flex-direction: column; gap: 0.625rem; }
.footer__col nav a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.18s;
}
.footer__col nav a:hover { color: var(--teal); }

.footer__bottom { border-top: 1px solid rgba(255,255,255,0.08); }
.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-block: 1.375rem;
}
.footer__copy { font-size: 0.8rem; color: rgba(255,255,255,0.3); }
.footer__legal { display: flex; gap: 1.5rem; }
.footer__legal a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  transition: color 0.18s;
}
.footer__legal a:hover { color: rgba(255,255,255,0.7); }

/* ── Subpage layout (impressum / datenschutz) ── */

.subpage { padding-block: clamp(48px, 8vw, 96px); }
.subpage h1 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 2.5rem;
}
.subpage h2 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-top: 2.25rem;
  margin-bottom: 0.75rem;
}
.subpage p { color: var(--text-muted); line-height: 1.75; margin-bottom: 1rem; }
.subpage a { color: var(--teal); text-decoration: none; }
.subpage a:hover { text-decoration: underline; }
.subpage .back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 2.5rem;
  transition: color 0.18s;
}
.subpage .back:hover { color: var(--teal); }

/* ── Team ──────────────────────── */

.team-page { background: var(--bg); }

.team-page__header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
  padding-bottom: clamp(32px, 5vw, 56px);
  border-bottom: 1px solid var(--border);
  margin-bottom: clamp(48px, 6vw, 72px);
}

.team-page__title {
  font-size: clamp(1.875rem, 3.5vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.team-page__intro {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.team__grid { margin-bottom: clamp(48px, 6vw, 80px); }

.team__member {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.team__member-photo { position: sticky; top: 80px; }

.team__member-meta {
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
}
.team__name {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 0.4rem;
}
.team__role { font-size: 0.875rem; color: var(--teal); font-weight: 500; letter-spacing: 0.01em; }

.team__member-body { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.75rem; }
.team__member-body p { font-size: 0.9375rem; color: var(--text-muted); line-height: 1.75; }

.team__tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}
.team__tags li {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--teal);
  background: var(--teal-bg);
  border: 1px solid rgba(31,170,154,0.2);
  border-radius: 100px;
  padding: 0.3rem 0.8rem;
}

.team__links { display: flex; gap: 0.75rem; }
.team__social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 0.5rem 0.875rem;
  transition: color 0.18s, border-color 0.18s;
}
.team__social-link:hover { color: var(--teal); border-color: var(--teal); }

.team__cta { border-top: 1px solid var(--border); padding-top: clamp(40px, 5vw, 64px); }
.team__cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(28px, 4vw, 52px);
  background: var(--teal-bg);
  border: 1px solid rgba(31,170,154,0.2);
  border-radius: 6px;
}
.team__cta h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
.team__cta p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.65; max-width: 440px; }

/* ── Hamburger ─────────────────── */

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.hamburger:hover span { background: var(--navy); }
.hamburger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--text-muted);
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.2s ease, background 0.18s;
  transform-origin: center;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); background: var(--navy); }
.hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); background: var(--navy); }

/* ── Nav backdrop ──────────────── */

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 199;
  background: rgba(26,56,104,0.18);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.nav-backdrop.is-visible { opacity: 1; pointer-events: all; }

/* ── Responsive ────────────────── */

@media (max-width: 960px) {
  .contact__grid { grid-template-columns: 1fr; }
  .footer__top   { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .about__cards        { grid-template-columns: 1fr; }
  .how__grid           { grid-template-columns: 1fr; }
  .approach__layout    { grid-template-columns: 1fr; }
  .approach__layout .img-placeholder { aspect-ratio: 16 / 7; height: auto; }
  .team-page__header   { grid-template-columns: 1fr; align-items: start; }
  .team__member        { grid-template-columns: 1fr; }
  .team__member-photo  { position: static; }
  .img-placeholder--square   { aspect-ratio: 16 / 7; }
  .img-placeholder--portrait { aspect-ratio: 3 / 2; }
}
@media (max-width: 640px) {
  .hamburger { display: flex; }
  .header.nav-open { z-index: 201; }

  .header__nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(280px, 84vw);
    z-index: 200;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    padding: 80px clamp(24px, 6vw, 40px) 40px;
    box-shadow: -12px 0 48px rgba(26,56,104,0.12);
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    opacity: 1;
  }
  .header__nav.is-open {
    transform: translateX(0);
    pointer-events: all;
  }
  .header__nav > a {
    font-size: 1rem;
    padding-block: 0.875rem;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    line-height: 1;
    font-weight: 400;
    letter-spacing: 0;
  }
  .lang-switch {
    padding-top: 0.875rem;
    margin-inline: 0;
  }

  .form-row             { grid-template-columns: 1fr; }
  .footer__top          { grid-template-columns: 1fr; }
  .footer__bottom-inner { flex-direction: column; align-items: flex-start; }
  .team__cta-inner      { flex-direction: column; align-items: flex-start; }
}
