/* ============================================================
   NEW LEAD — Stylesheet v2
   Alle Design-Variablen zentral hier anpassen.
   ============================================================ */

/* ------------------------------------------------------------
   0. FONTS — lokal gehostet, kein Google-Server-Aufruf
   Variable Font: eine Datei deckt alle Schnitte 200–800 ab.
   ------------------------------------------------------------ */
@font-face {
  font-family: 'Manrope';
  src: url('fonts/manrope-variable.ttf') format('truetype-variations'),
       url('fonts/manrope-variable.ttf') format('truetype');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

/* ------------------------------------------------------------
   1. FARBEN
   ------------------------------------------------------------ */
:root {
  --color-paper:    #FAFAF8;   /* Seitenhintergrund, fast weiß */
  --color-surface:  #F2F1EE;   /* helle Flächen: Cards, "Wer wir sind", Kontakt */
  --color-ink:      #14161B;   /* Haupttext, dunkle Flächen */
  --color-stone:    #6E6E73;   /* Subtext */
  --color-accent:   #FF5A1F;   /* Akzent: Orange */
  --color-line:     #E4E2DC;   /* Trennlinien, Rahmen */
  --color-btn-text: #FAFAF8;
}

/* ------------------------------------------------------------
   2. TYPOGRAFIE
   ------------------------------------------------------------ */
:root {
  --font-body: 'Manrope', sans-serif;

  --fw-light: 300; --fw-regular: 400; --fw-medium: 500;
  --fw-bold: 700; --fw-heavy: 800;

  --text-hero: clamp(2.75rem, 6.5vw, 5.25rem);
  --text-h2:   clamp(1.9rem, 3.5vw, 2.65rem);
  --text-h3:   1.15rem;
  --text-body: 0.92rem;
  --text-label: 0.8rem;

  --line-height: 1.6;
}

/* ------------------------------------------------------------
   3. ABSTÄNDE & LAYOUT
   ------------------------------------------------------------ */
:root {
  --section-py: 5.5rem;
  --section-px: 1.5rem;
  --section-px-lg: 3rem;
  --max-width: 68rem;
  --card-padding: 2rem;
  --radius: 20px;
  --radius-lg: 28px;
}

:root { --transition: 0.2s ease; }

/* ============================================================
   BASE
   ============================================================ */
html { scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  font-weight: var(--fw-regular);
  color: var(--color-ink);
  background: var(--color-paper);
  line-height: var(--line-height);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

.mark {
  background: linear-gradient(104deg, rgba(255,90,31,0) 0.9%, rgba(255,90,31,.38) 4%, rgba(255,90,31,.38) 92%, rgba(255,90,31,0) 95%);
  padding: 0 0.15rem;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,250,248,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-line);
  padding: 1.4rem var(--section-px-lg);
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo-name { font-weight: var(--fw-heavy); font-size: 1.35rem; letter-spacing: -0.01em; display: block; line-height: 1; }
.nav-logo-sub { font-size: 0.62rem; font-weight: var(--fw-medium); color: var(--color-stone); margin-top: 4px; display: block; }
.nav-links { list-style: none; display: flex; gap: 2.25rem; }
.nav-links a { font-size: 0.85rem; font-weight: var(--fw-medium); color: var(--color-ink); opacity: 0.7; transition: opacity var(--transition); }
.nav-links a:hover { opacity: 1; }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--color-ink); border-radius: 2px; }

.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 40;
  background: var(--color-paper);
  flex-direction: column; align-items: center; justify-content: center; gap: 2.25rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 1.1rem; font-weight: var(--fw-medium); color: var(--color-ink); }
.mobile-close { position: absolute; top: 1.25rem; right: 1.5rem; background: none; border: none; font-size: 1.75rem; color: var(--color-ink); cursor: pointer; line-height: 1; }

@media (max-width: 768px) {
  nav { padding: 1.1rem var(--section-px); }
  .nav-links { display: none; }
  .hamburger { display: flex; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero { padding: 8rem var(--section-px-lg) 6rem; max-width: var(--max-width); margin: 0 auto; }
.hero__inner { max-width: 58rem; }
.hero__headline {
  font-weight: var(--fw-heavy); font-size: var(--text-hero);
  line-height: 1.02; letter-spacing: -0.03em; margin-bottom: 2rem;
}
.traits { list-style: none; display: flex; gap: 1.75rem; flex-wrap: wrap; margin-bottom: 2.75rem; }
.traits li { font-size: 1.05rem; font-weight: var(--fw-bold); }
.traits li:not(:last-child)::after { content: '·'; margin-left: 1.75rem; color: var(--color-stone); font-weight: var(--fw-regular); }

@media (max-width: 768px) { .hero { padding: 6.5rem var(--section-px) 4rem; } }

/* ============================================================
   BUTTON
   ============================================================ */
.btn-primary {
  display: inline-block; background: var(--color-ink); color: var(--color-btn-text);
  font-weight: var(--fw-bold); font-size: 0.92rem;
  padding: 0.95rem 1.9rem; border-radius: 100px; border: none; cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.btn-primary:hover { background: var(--color-accent); transform: translateY(-1px); }
.btn-primary--accent { background: var(--color-accent); }
.btn-primary--accent:hover { background: var(--color-ink); }

/* ============================================================
   SECTIONS — SHARED
   ============================================================ */
.section { padding: var(--section-py) var(--section-px-lg); max-width: var(--max-width); margin: 0 auto; }
.section--surface { background: var(--color-surface); border-radius: var(--radius-lg); margin: 0 var(--section-px-lg); max-width: none; padding: 5rem var(--section-px-lg); }
.section__headline { font-weight: var(--fw-heavy); font-size: var(--text-h2); letter-spacing: -0.02em; margin-bottom: 3rem; max-width: 34rem; }

@media (max-width: 768px) {
  .section { padding: 3.5rem var(--section-px); }
  .section--surface { margin: 0 1rem; padding: 3rem var(--section-px); border-radius: var(--radius); }
}

/* ============================================================
   LEISTUNGEN
   ============================================================ */
.cards-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.card { background: var(--color-surface); border-radius: var(--radius); padding: var(--card-padding); }
.card__title { font-weight: var(--fw-bold); font-size: var(--text-h3); margin-bottom: 0.6rem; }
.card__body { font-size: var(--text-body); color: var(--color-stone); }

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

/* ============================================================
   WER WIR SIND
   ============================================================ */
.wir-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 4rem; }
.wir-grid .section__body { margin-bottom: 1.25rem; font-size: var(--text-body); }
.wir-grid h3 { font-size: 0.85rem; font-weight: var(--fw-bold); color: var(--color-stone); margin-bottom: 1.25rem; }
.accent-list { display: flex; flex-direction: column; list-style: none; }
.accent-item { position: relative; padding-left: 1.5rem; margin-bottom: 1.5rem; font-size: var(--text-body); }
.accent-item::before { content: ''; position: absolute; left: 0; top: 0.5rem; width: 6px; height: 6px; border-radius: 50%; background: var(--color-accent); }

@media (max-width: 768px) { .wir-grid { grid-template-columns: 1fr; gap: 2.5rem; } }

/* ============================================================
   TEAM
   ============================================================ */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem 1.75rem; }
.team-member { display: flex; flex-direction: column; }
.team-member__photo {
  position: relative; width: 100%; aspect-ratio: 4 / 5;
  border-radius: 14px; overflow: hidden; margin-bottom: 1rem;
  background: var(--color-surface);
}
.team-member__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); display: block; }
.team-member__photo::before, .team-member__photo::after {
  content: ''; position: absolute; width: 22px; height: 22px;
  border: 2.5px solid var(--color-accent); z-index: 2;
}
.team-member__photo::before { top: 10px; left: 10px; border-right: none; border-bottom: none; }
.team-member__photo::after  { bottom: 10px; right: 10px; border-left: none; border-top: none; }
.team-member__name { font-weight: var(--fw-bold); font-size: 1rem; margin-bottom: 0.1rem; }
.team-member__role { font-size: 0.75rem; color: var(--color-accent); font-weight: var(--fw-bold); margin-bottom: 0.5rem; display: block; }
.team-member__bio { font-size: 0.85rem; color: var(--color-stone); }

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

/* ============================================================
   KONTAKT
   ============================================================ */
.kontakt-inner { text-align: center; max-width: none; }
.kontakt-inner .section__headline { margin: 0 auto 1.25rem; max-width: none; }
.kontakt-inner .section__body { color: var(--color-stone); max-width: 28rem; margin: 0 auto 2.25rem; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  padding: 2.5rem var(--section-px-lg);
  max-width: var(--max-width); margin: 0 auto;
  font-size: var(--text-label); color: var(--color-stone);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.75rem;
}
.footer-links a { transition: color var(--transition); }
.footer-links a:hover { color: var(--color-ink); }

@media (max-width: 768px) { footer { padding: 1.75rem var(--section-px); } }
