/* Sistahood – Stylesheet
   Farben aus der PowerPoint-Vorlage abgeleitet (Hellgrün / Salbeigrün) */
:root {
  --bg-header: #d9f3d0;
  --bg: #b4e5a3;
  --bg-soft: #c9edbc;
  --card: #f4fbf1;
  --sage: #6b8f6a;
  --sage-dark: #3f5f3e;
  --ink: #1f2a1e;
  --muted: #45563f;
  --line: rgba(31, 42, 30, .14);
  --radius: 14px;
  --shadow: 0 6px 22px rgba(31, 42, 30, .12);
  --max: 1180px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--sage-dark); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .6em; color: var(--sage-dark); }
h1 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- Header / Navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg-header);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; gap: 24px;
  min-height: 84px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--sage-dark); }
.brand img:first-child { width: 60px; height: 60px; object-fit: contain; }
.brand .wordmark { width: 190px; height: auto; }
@media (max-width: 420px) { .brand .wordmark { width: 140px; } }
.nav { margin-left: auto; }
.nav ul { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; flex-wrap: wrap; }
.nav a {
  display: block; padding: 8px 12px; border-radius: 999px;
  text-decoration: none; color: var(--ink); font-size: .95rem; white-space: nowrap;
}
.nav a:hover { background: rgba(107, 143, 106, .15); }
.nav a.active { font-weight: 700; background: rgba(107, 143, 106, .22); }
.insta { display: flex; color: var(--ink); padding: 6px; border-radius: 10px; }
.insta:hover { background: rgba(107, 143, 106, .15); }
.insta svg { width: 34px; height: 34px; }
.menu-toggle {
  display: none; margin-left: auto; background: none; border: 1px solid var(--line);
  border-radius: 10px; padding: 8px 10px; cursor: pointer; color: var(--ink);
}
.menu-toggle svg { width: 24px; height: 24px; display: block; }

@media (max-width: 1020px) {
  .menu-toggle { display: block; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg-header);
         border-bottom: 1px solid var(--line); display: none; margin: 0; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; padding: 8px 16px 16px; gap: 2px; }
  .nav a { border-radius: 10px; padding: 12px 14px; }
  .insta { order: 2; }
  .site-header .wrap { min-height: 72px; }
  .brand img:first-child { width: 48px; height: 48px; }
}

/* ---------- Sections ---------- */
section { padding: 72px 0; }
section.alt { background: var(--bg-soft); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--sage); margin-bottom: .5em; }
.lead { font-size: 1.12rem; color: var(--muted); }

/* Hero */
.hero { padding: 64px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
.hero-figure { background: rgba(255,255,255,.35); border-radius: 50%; aspect-ratio: 1; display: grid; place-items: center; padding: 8%; }
.hero-figure img { max-height: 420px; width: auto; }
.hero p { hyphens: auto; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px;
  background: var(--sage-dark); color: #fff; text-decoration: none; font-weight: 600; border: 0; cursor: pointer;
  font-size: 1rem;
}
.btn:hover { background: var(--ink); color: #fff; }
.btn.ghost { background: transparent; color: var(--sage-dark); border: 2px solid var(--sage-dark); }
.btn.ghost:hover { background: var(--sage-dark); color: #fff; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-figure { width: min(300px, 100%); margin: 0 auto; order: -1; }
  .hero-figure img { max-height: 260px; }
}

/* Team */
.team { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 32px; }
.person {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 24px; display: grid; grid-template-columns: 150px 1fr; gap: 22px; align-items: start;
}
.person .photos { display: grid; gap: 10px; }
.person .photos img { width: 150px; height: 170px; object-fit: cover; border-radius: 10px; }
.person.duo .photos img { height: 125px; }
.person h3 { margin-bottom: .2em; }
.person .role { font-size: .9rem; color: var(--sage); font-weight: 600; margin-bottom: .8em; }
.person p { font-size: .97rem; hyphens: auto; }
@media (max-width: 900px) { .team { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .person { grid-template-columns: 1fr; }
  .person .photos { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
  .person .photos img { width: 100%; height: 200px; }
}

/* Projekte */
.project {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 32px; margin-top: 32px;
}
.project-head { display: grid; grid-template-columns: 1fr 260px; gap: 32px; align-items: start; }
.project-head.no-side { grid-template-columns: 1fr; }
.project-head .side img { max-height: 340px; margin: 0 auto; }
.project p { hyphens: auto; }
.tag { display: inline-block; font-size: .78rem; font-weight: 700; color: var(--sage-dark); background: var(--bg-header);
       border-radius: 999px; padding: 3px 12px; margin: 0 6px 12px 0; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; margin-top: 20px; }
.gallery.wide { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.gallery figure { margin: 0; }
.gallery button {
  all: unset; cursor: zoom-in; display: block; width: 100%; border-radius: 10px; overflow: hidden;
  background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.gallery button:focus-visible { outline: 3px solid var(--sage-dark); outline-offset: 2px; }
.gallery img { width: 100%; height: 230px; object-fit: cover; transition: transform .3s; }
.gallery img.contain { object-fit: contain; padding: 10px; background: #fff; }
.gallery button:hover img { transform: scale(1.03); }
.gallery figcaption { font-size: .85rem; color: var(--muted); margin-top: 6px; }
@media (max-width: 760px) {
  .project { padding: 22px; }
  .project-head { grid-template-columns: 1fr; }
}

/* Downloads */
.downloads { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.dl {
  display: flex; align-items: center; gap: 18px; padding: 18px 22px; background: var(--card);
  border-radius: var(--radius); box-shadow: var(--shadow); text-decoration: none; color: var(--ink);
  transition: transform .15s, box-shadow .15s;
}
.dl:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(31,42,30,.16); color: var(--ink); }
.dl .ico { flex: none; width: 52px; height: 52px; border-radius: 12px; background: var(--sage-dark); color: #fff;
           display: grid; place-items: center; font-weight: 800; font-size: .8rem; letter-spacing: .05em; }
.dl .txt { flex: 1; min-width: 0; }
.dl strong { display: block; font-size: 1.05rem; }
.dl small { color: var(--muted); }
.dl .arrow { flex: none; display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--sage-dark); font-size: .92rem; }
.dl .arrow svg { width: 22px; height: 22px; }
@media (max-width: 560px) { .dl .arrow span { display: none; } }
.note { margin-top: 28px; padding: 16px 20px; border-radius: var(--radius); background: rgba(255,255,255,.45); font-size: .95rem; }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.contact-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.contact-card h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; color: var(--sage); }
.contact-card a { font-weight: 600; word-break: break-word; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* Rechtstexte */
.legal { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(22px, 4vw, 48px); margin-top: 28px; }
.legal h2 { margin-top: 1.6em; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { margin-top: 1.5em; font-size: 1.08rem; }
.legal p { font-size: .96rem; }
.legal .sub { display: block; font-weight: 700; color: var(--ink); margin-top: .4em; }
.legal a { word-break: break-word; }
.toc { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }

/* Footer */
.site-footer { background: var(--sage-dark); color: #e7f5e1; padding: 40px 0; font-size: .92rem; }
.site-footer .wrap { display: flex; gap: 24px; justify-content: space-between; flex-wrap: wrap; align-items: center; }
.site-footer a { color: #fff; }
.site-footer ul { list-style: none; display: flex; gap: 18px; flex-wrap: wrap; margin: 0; padding: 0; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(15, 22, 14, .88); display: none; z-index: 100;
            align-items: center; justify-content: center; padding: 24px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 86vh; border-radius: 8px; background: #fff; }
.lightbox p { color: #fff; text-align: center; margin-top: 12px; }
.lightbox figure { margin: 0; }
.lightbox .close { position: absolute; top: 14px; right: 18px; background: none; border: 0; color: #fff; font-size: 2.4rem; cursor: pointer; line-height: 1; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 14px; z-index: 200; border-radius: 8px; }

