/* ==============================
   Basis & Reset
============================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html { font-size: 16px; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont,
               "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #243333;
  background-color: #f6f8f7;
}

/* ==============================
   Variablen
============================== */

:root {
  --primary: #2f6f6b;
  --primary-dark: #245956;
  --text: #243333;
  --muted: #5f6f6d;
  --card: #ffffff;
  --border: #dde5e3;
  --radius: 16px;
}

/* ==============================
   Layout
============================== */

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px;
}

.section {
  padding: 48px 0;
}

/* ==============================
   Header & Navigation
============================== */

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 64px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

.brand-mark {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.nav a {
  text-decoration: none;
  color: var(--text);
}

.nav a[aria-current="page"] {
  color: var(--primary);
  font-weight: 700;
}

/* ==============================
   Hero-Bild oben
============================== */

.hero-image {
  width: 100%;
  height: 420px;
  background-image: url("../img/sha.jpg");
  background-position: center 35%;
  background-size: cover;
  background-repeat: no-repeat;
}

@media (max-width: 720px) {
  .hero-image {
    height: 260px;
    background-position: center 30%;
  }
}

/* ==============================
   GROSSE HEADLINE unter dem Bild
============================== */

.intro-line {
  margin: 26px 0 22px;  /* 👈 mehr Luft nach unten */
  font-size: 1.8rem;    /* gleich wie h1 */
  line-height: 1.25;
  font-weight: 700;
  color: var(--primary-dark);
  text-align: center;
}

/* Mobil etwas kompakter */
@media (max-width: 720px) {
  .intro-line {
    margin: 18px 0 18px;
    font-size: 1.4rem;
    line-height: 1.25;
  }
}

/* ==============================
   Card & Text
============================== */

.card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 24px;
  margin-top: -32px; /* 👈 etwas weniger Überlappung = ruhiger */
}

h1, h2, h3 {
  color: var(--primary-dark);
  line-height: 1.3;
}

h1 {
  margin-top: 18px;
  font-size: 1.8rem;
}

.lead {
  color: var(--muted);
  font-size: 1.05rem;
}

/* ==============================
   Quote
============================== */

.quote {
  border-left: 5px solid rgba(47,111,107,.45);
  background: rgba(47,111,107,.06);
  padding: 14px 16px;
  border-radius: 14px;
  margin-bottom: 14px;
}

/* ==============================
   Button
============================== */

.btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

/* ==============================
   Netzwerk – Kacheln
============================== */

.people-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.person {
  text-align: center;
}

.person-img {
  width: 100%;
  border-radius: 14px;
  margin-bottom: 12px;
  object-fit: cover;
}

.person .name {
  font-weight: 700;
}

.person .role {
  font-size: 0.95rem;
  color: var(--muted);
}

.pill {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(47,111,107,.1);
  color: var(--primary-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

/* ==============================
   Footer
============================== */

.site-footer {
  border-top: 1px solid var(--border);
  background: #fff;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 64px;
  font-size: 0.9rem;
  gap: 10px;
}

/* ==============================
   Responsive Footer/Header
============================== */

@media (max-width: 720px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-row {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 0;
  }
}
