/* =========================================================
   geborgen.tirol – Gemeinschaftsraum MaMa, Steinach am Brenner
   Elisabeth Saxer · Barbara Stoll · Katharina Egg · Maria Penz
   ========================================================= */

:root {
  --cream:      #FBF7F3;
  --sand:       #F4EBE3;
  --sand-deep:  #EADCD0;
  --ink:        #38312C;
  --muted:      #7B7069;
  --rose:       #C98B7E;
  --rose-dark:  #A96A5D;
  --clay:       #B5795E;
  --sage:       #9AAB94;
  --sage-dark:  #75886F;
  --white:      #ffffff;
  --radius:     18px;
  --radius-sm:  12px;
  --shadow:     0 18px 50px -22px rgba(56, 49, 44, .35);
  --shadow-sm:  0 8px 24px -14px rgba(56, 49, 44, .35);
  --maxw:       1160px;
  --heading:    "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:       "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  font-size: 18px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--rose-dark); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--rose); }

h1, h2, h3, h4 { font-family: var(--heading); font-weight: 600; line-height: 1.15; color: var(--ink); margin: 0 0 .4em; letter-spacing: -.005em; }
h2 { font-size: clamp(2.1rem, 4vw, 3.1rem); }
h3 { font-size: clamp(1.6rem, 2.7vw, 2.1rem); }
h4 { font-size: 1.35rem; font-weight: 600; }

p { margin: 0 0 1.1em; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 820px; }

/* ---------- Eyebrow / Lead ---------- */
.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .74rem;
  font-weight: 700;
  color: var(--rose);
  margin: 0 0 .9em;
  display: inline-block;
}

.lead { font-size: 1.2rem; font-weight: 600; color: var(--sage-dark); line-height: 1.6; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  background: var(--rose); color: var(--white);
  padding: .85em 1.8em; border-radius: 999px;
  font-weight: 700; font-size: .98rem; letter-spacing: .02em;
  box-shadow: var(--shadow-sm); transition: transform .2s ease, background .2s ease;
  border: 0; cursor: pointer; font-family: var(--sans);
}
.btn:hover { background: var(--rose-dark); color: var(--white); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--sand-deep); box-shadow: none; }
.btn--ghost:hover { background: var(--sand); color: var(--ink); border-color: var(--rose); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 247, 243, .9);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(56,49,44,.07);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 74px; }
.nav__logo { display: flex; flex-direction: column; line-height: 1; }
.nav__logo .wordmark { font-family: var(--heading); font-size: 1.75rem; font-weight: 600; letter-spacing: .01em; color: var(--ink); }
.nav__logo .tagline { font-size: .62rem; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-top: 2px; }
.nav__menu { display: flex; align-items: center; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav__menu a { color: var(--ink); font-weight: 600; font-size: .94rem; position: relative; }
.nav__menu a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--rose); transition: width .25s ease; }
.nav__menu a:hover::after { width: 100%; }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { display: block; width: 26px; height: 2px; background: var(--ink); margin: 5px 0; transition: .3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: min(88vh, 980px); display: flex; align-items: center;
  background-size: cover; background-position: 35% 60%;
  background-image: var(--hero-klein);
  color: var(--white);
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(40,33,28,.82) 0%, rgba(40,33,28,.62) 42%, rgba(40,33,28,.34) 72%, rgba(40,33,28,.26) 100%),
    linear-gradient(to top, rgba(40,33,28,.42) 0%, rgba(40,33,28,0) 45%);
}
.hero::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(90px, 16vh, 190px);
  z-index: 3; pointer-events: none;
  background: linear-gradient(to bottom, rgba(251,247,243,0) 0%, rgba(251,247,243,.55) 45%, var(--cream) 100%);
}
.hero__inner { position: relative; z-index: 4; max-width: 660px; padding: 120px 0 150px; }
.hero .eyebrow { color: #F0D3C9; }
.hero h1 { color: var(--white); font-weight: 600; font-size: clamp(3.2rem, 8vw, 6rem); margin-bottom: .12em; letter-spacing: .01em; text-shadow: 0 2px 30px rgba(30,24,20,.45); }
.hero__tag { font-family: var(--heading); font-weight: 400; font-style: italic; font-size: clamp(1.35rem, 2.8vw, 1.9rem); color: #F8EFE9; margin-bottom: 1.2em; line-height: 1.4; text-shadow: 0 2px 24px rgba(30,24,20,.5); }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__actions .btn--ghost { color: var(--white); border-color: rgba(255,255,255,.6); }
.hero__actions .btn--ghost:hover { background: rgba(255,255,255,.14); border-color: var(--white); }

@media (min-width: 700px)  { .hero { background-image: var(--hero-mittel); } }
@media (min-width: 1200px) { .hero { background-image: var(--hero-gross); } }

/* ---------- Section base ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--sand { background: var(--sand); }
.section--deep { background: var(--sand-deep); }
.section__head { max-width: 760px; margin: 0 auto clamp(40px, 6vw, 72px); text-align: center; }
.section__head p { color: var(--muted); }

/* ---------- Split (Text + Bild) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split--rev .split__media { order: 2; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.split__media--wide img { aspect-ratio: 3/2; }
.split__body h2 { margin-bottom: .25em; }

.tags { list-style: none; margin: 1.2em 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.tags li { background: var(--white); border: 1px solid var(--sand-deep); color: var(--ink); padding: .4em 1em; border-radius: 999px; font-size: .9rem; font-weight: 600; }
.section--sand .tags li, .section--deep .tags li { background: var(--cream); }

/* ---------- Personen-Abschnitte ---------- */
.person { padding: clamp(64px, 9vw, 120px) 0; scroll-margin-top: 80px; }
.person__role { font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 700; color: var(--rose); display: block; margin-bottom: .7em; }
.person__name { font-size: clamp(2.1rem, 4vw, 3.1rem); margin-bottom: .35em; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 30px; }
.card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card__img { aspect-ratio: 3/2; overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card__img img { transform: scale(1.05); }
.card__body { padding: 26px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.card__body h3 { font-size: 1.45rem; margin-bottom: .25em; }
.card__meta { margin-top: auto; padding-top: 16px; font-weight: 700; color: var(--rose-dark); font-size: .95rem; }
.card__sub { color: var(--sage-dark); font-style: italic; font-weight: 600; font-size: 1rem; margin: -.1em 0 .8em; }

/* ---------- Checklist ---------- */
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { position: relative; padding-left: 2rem; margin-bottom: .7em; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .6em; width: 11px; height: 11px;
  border-radius: 50%; background: var(--sage); box-shadow: 0 0 0 4px rgba(154,171,148,.25);
}

/* ---------- Galerie ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr; } }
.gallery img { border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); width: 100%; aspect-ratio: 3/2; object-fit: cover; transition: transform .4s ease; }
.gallery a:hover img, .gallery figure:hover img { transform: scale(1.03); }
.gallery--tall img { aspect-ratio: 4/5; }

/* ---------- Team-Kacheln ---------- */
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 26px; }
.team__member { background: var(--cream); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--sand-deep); display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; }
.team__member:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.team__member img { aspect-ratio: 4/5; object-fit: cover; object-position: center 18%; width: 100%; }
.team__member .team__body { padding: 22px 24px 26px; }
.team__member h4 { color: var(--ink); font-size: 1.35rem; margin-bottom: .15em; }
.team__member .role { font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--rose); font-weight: 700; }

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.contact__card { background: var(--white); border-radius: var(--radius); padding: clamp(32px, 4vw, 52px); box-shadow: var(--shadow); }
.contact__row { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.3em; }
.contact__row:last-child { margin-bottom: 0; }
.contact__ico { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--sand); display: grid; place-items: center; color: var(--rose-dark); }
.contact__ico svg { width: 22px; height: 22px; }
.contact__row strong { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 700; }
.contact__row span, .contact__row a { font-size: 1.12rem; font-weight: 600; color: var(--ink); }
.contact__aside { color: var(--muted); }
.contact__aside .lead { color: var(--ink); }

/* Kontaktbox je Person */
.person__contact { display: flex; flex-wrap: wrap; gap: 1.4rem 2.2rem; margin-top: 1.6em; padding-top: 1.4em; border-top: 1px solid var(--sand-deep); }
.person__contact div strong { display: block; font-size: .74rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-weight: 700; }
.person__contact a, .person__contact span { font-weight: 600; color: var(--ink); }
.person__contact a:hover { color: var(--rose); }

/* ---------- Einbettung (Hebammio o. Ä.) ---------- */
.embed { background: var(--white); border: 1px solid var(--sand-deep); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow-sm); margin-top: 1.8em; }
.embed__title { font-family: var(--heading); font-size: 1.5rem; margin: 0 0 .3em; }
.embed__hint { color: var(--muted); font-size: .95rem; margin: 0 0 1.2em; }
.embed iframe { width: 100%; border: 0; display: block; border-radius: var(--radius-sm); height: 1180px; background: var(--cream); }
@media (max-width: 860px) { .embed iframe { height: 1620px; } }
@media (max-width: 520px) { .embed iframe { height: 1900px; } }

/* Kontaktzeile je Person: eigene Kachel */
.kontakt-flag {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px;
  background: var(--white); border: 1px solid var(--sand-deep); border-radius: var(--radius);
  padding: 20px 22px; box-shadow: var(--shadow-sm); margin-top: 1.6em;
}
.section--sand .kontakt-flag, .section--deep .kontakt-flag { background: var(--cream); }
.kontakt-flag__zeile { display: flex; gap: 12px; align-items: center; }
.kontakt-flag__ico { flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--sand); display: grid; place-items: center; color: var(--rose-dark); }
.kontakt-flag__ico svg { width: 18px; height: 18px; }
.kontakt-flag strong { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-weight: 700; }
.kontakt-flag a, .kontakt-flag span.wert { font-weight: 700; color: var(--ink); font-size: 1.02rem; overflow-wrap: anywhere; }
.kontakt-flag a:hover { color: var(--rose); }
.kontakt-flag .offen { font-weight: 600; color: var(--muted); font-style: italic; font-size: .95rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #D8CEC6; padding: 64px 0 32px; }
.site-footer a { color: #EAD9CD; }
.footer__grid { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; align-items: flex-start; }
.footer__brand { font-family: var(--heading); font-weight: 600; font-size: 1.7rem; color: var(--white); margin-bottom: .15em; }
.footer__nav { list-style: none; display: flex; flex-wrap: wrap; gap: 1.2rem; padding: 0; margin: 0; }
.footer__nav a { color: #D8CEC6; font-weight: 600; }
.footer__nav a:hover { color: var(--white); }
.footer__bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: .88rem; color: #A69A90; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- Rechtliche Unterseiten ---------- */
.page-head { background: var(--sand); padding: clamp(52px, 8vw, 96px) 0 clamp(30px, 5vw, 52px); border-bottom: 1px solid rgba(56,49,44,.06); }
.page-head h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin: 0; }
.page-head p.sub { color: var(--muted); margin: .6em 0 0; font-size: 1.1rem; }

.prose { font-size: 1.05rem; color: var(--ink); }
.prose h2 { margin: 1.9em 0 .5em; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 1.4em 0 .4em; font-size: 1.3rem; }
.prose p, .prose ul { margin: 0 0 1.1em; }
.prose ul { padding-left: 1.3em; }
.prose li { margin-bottom: .45em; }
.prose a { color: var(--rose-dark); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--rose); }
.prose strong { font-weight: 700; }

.address-card { background: var(--white); border: 1px solid var(--sand-deep); border-radius: var(--radius); padding: clamp(22px, 3vw, 30px); box-shadow: var(--shadow-sm); margin: 0 0 1.6em; }
.address-card p { margin: 0; line-height: 1.9; }

.legal-note { background: var(--cream); border: 1px solid var(--sand-deep); border-left: 4px solid var(--rose); border-radius: var(--radius-sm); padding: 16px 20px; font-size: .9rem; color: var(--muted); margin: 1.6em 0; }

/* Umsetzung der Website */
.credits { margin-top: clamp(44px, 6vw, 72px); padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--sand-deep); }
.credit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 22px; margin-top: 1.4em; }
.credit-card { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; background: var(--white); border: 1px solid var(--sand-deep); border-radius: var(--radius); padding: 30px 24px; box-shadow: var(--shadow-sm); color: var(--ink); transition: transform .2s ease, box-shadow .2s ease; }
.credit-card, .credit-card:hover { text-decoration: none; }
.credit-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink); }
.credit-logo { height: 60px; display: grid; place-items: center; }
.credit-logo img { max-height: 60px; width: auto; object-fit: contain; }
.credit-name { font-family: var(--heading); font-weight: 600; font-size: 1.2rem; }
.credit-role { font-size: .82rem; color: var(--muted); margin-top: -8px; }

/* ---------- Cookie-Banner ---------- */
.cookie-consent {
  position: fixed; left: 24px; bottom: 24px; right: auto; z-index: 200;
  width: min(440px, calc(100vw - 48px));
  background: var(--cream); color: var(--ink);
  border: 1px solid var(--sand-deep);
  border-radius: var(--radius);
  box-shadow: 0 28px 70px -28px rgba(56,49,44,.5);
  padding: 0; overflow: hidden;
  transform: translateY(140%); opacity: 0;
  transition: transform .5s cubic-bezier(.2,.85,.25,1), opacity .4s ease;
}
.cookie-consent.is-visible { transform: translateY(0); opacity: 1; }
.cookie-consent__bar { height: 5px; background: linear-gradient(90deg, var(--rose) 0%, var(--clay) 55%, var(--sage) 100%); }
.cookie-consent__inner { padding: 24px 26px 26px; }
.cookie-consent__head { display: flex; align-items: center; gap: 12px; margin-bottom: .5em; }
.cookie-consent__ico { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--sand); display: grid; place-items: center; color: var(--rose-dark); }
.cookie-consent__ico svg { width: 21px; height: 21px; }
.cookie-consent__title { font-family: var(--heading); font-weight: 600; font-size: 1.4rem; margin: 0; line-height: 1.2; }
.cookie-consent__text { font-size: .92rem; line-height: 1.65; color: var(--muted); margin: 0 0 1.3em; }
.cookie-consent__text a { color: var(--rose-dark); text-decoration: underline; text-underline-offset: 2px; }
.cookie-consent__text a:hover { color: var(--rose); }
.cookie-consent__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-consent .btn { padding: .72em 1.5em; font-size: .92rem; flex: 1 1 auto; justify-content: center; }
.cookie-consent .btn--ghost { border-color: var(--sand-deep); background: var(--white); }
@media (max-width: 560px) {
  .cookie-consent { left: 12px; right: 12px; bottom: 12px; width: auto; }
  .cookie-consent__inner { padding: 20px 20px 22px; }
  .cookie-consent__title { font-size: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  .cookie-consent { transition: opacity .3s ease; transform: none; }
}

/* ---------- Reveal on scroll ---------- */
.has-js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.has-js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .has-js .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav__menu { gap: 1.1rem; }
  .nav__menu a { font-size: .88rem; }
}
@media (max-width: 860px) {
  body { font-size: 17px; }
  .nav__menu {
    position: fixed; inset: 74px 0 auto 0; flex-direction: column; align-items: stretch;
    background: var(--cream); padding: 16px 24px 28px; gap: 0; border-bottom: 1px solid rgba(56,49,44,.1);
    transform: translateY(-140%); transition: transform .35s ease; box-shadow: var(--shadow);
    max-height: calc(100vh - 74px); overflow: auto;
  }
  .nav__menu.is-open { transform: translateY(0); }
  .nav__menu li { border-bottom: 1px solid var(--sand-deep); }
  .nav__menu a { display: block; padding: 14px 4px; font-size: 1rem; }
  .nav__menu a::after { display: none; }
  .nav__toggle { display: block; }
  .split, .contact { grid-template-columns: 1fr; }
  .split--rev .split__media { order: 0; }
  .split__media img { aspect-ratio: 3/2; }
}


/* ---------- Einblicke-Band (weicher Übergang vom Hero) ---------- */
.peek { padding: 0 0 clamp(48px, 7vw, 88px); margin-top: clamp(-70px, -6vw, -30px); position: relative; z-index: 5; }
.peek__head { text-align: center; margin: 0 auto clamp(24px, 3vw, 38px); max-width: 640px; }
.peek__head h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: .25em; }
.peek__head p { color: var(--muted); font-size: 1rem; margin: 0; }
.peek__strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.peek__strip button {
  padding: 0; border: 0; background: none; cursor: zoom-in; display: block;
  border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-sm);
}
.peek__strip img { width: 100%; aspect-ratio: 1/1; object-fit: cover; transition: transform .5s ease; }
.peek__strip button:hover img { transform: scale(1.05); }
.peek__more { text-align: center; margin-top: clamp(22px, 3vw, 34px); }
@media (max-width: 760px) {
  .peek__strip { grid-template-columns: repeat(2, 1fr); }
  .peek { margin-top: -20px; }
}

/* ---------- Personen-Kacheln auf der Startseite ---------- */
.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.people__card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--sand-deep); display: flex; flex-direction: column;
  color: var(--ink); transition: transform .25s ease, box-shadow .25s ease;
}
.people__card:hover { transform: translateY(-6px); box-shadow: var(--shadow); color: var(--ink); }
.people__card img { aspect-ratio: 4/5; object-fit: cover; object-position: center 18%; width: 100%; }
.people__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.people__body .role { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--rose); font-weight: 700; }
.people__body h3 { font-size: 1.45rem; margin: .15em 0 .35em; }
.people__body p { font-size: .95rem; color: var(--muted); margin: 0 0 1em; }
.people__more { margin-top: auto; font-weight: 700; font-size: .92rem; color: var(--rose-dark); display: inline-flex; align-items: center; gap: .4em; }
.people__card:hover .people__more { color: var(--rose); }
.people__more svg { width: 16px; height: 16px; transition: transform .25s ease; }
.people__card:hover .people__more svg { transform: translateX(4px); }
@media (max-width: 1040px) { .people { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px)  { .people { grid-template-columns: 1fr; } }

/* ---------- Galerie: Zoom-Buttons ---------- */
.gallery button {
  padding: 0; border: 0; background: none; cursor: zoom-in; display: block; width: 100%;
  border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-sm); position: relative;
}
.gallery button::after {
  content: ""; position: absolute; inset: 0; background: rgba(56,49,44,0);
  transition: background .25s ease;
}
.gallery button:hover::after { background: rgba(56,49,44,.12); }
.gallery button:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; }

/* Anklickbare Bildflaeche (Portraits, Gruppenfoto) */
.zoom-flaeche {
  width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; display: block;
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); position: relative;
}
.zoom-flaeche::after { content: ""; position: absolute; inset: 0; background: rgba(56,49,44,0); transition: background .25s ease; }
.zoom-flaeche:hover::after { background: rgba(56,49,44,.1); }
.zoom-flaeche:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 300; display: grid; place-items: center;
  background: rgba(34,28,24,.93); padding: clamp(16px, 4vw, 48px);
  opacity: 0; transition: opacity .3s ease;
}
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox__figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; gap: 14px; align-items: center; }
.lightbox__img {
  max-width: 100%; max-height: calc(100vh - 170px); width: auto; height: auto;
  border-radius: var(--radius-sm); box-shadow: 0 30px 80px -30px rgba(0,0,0,.8);
}
.lightbox__caption { color: #E7DCD3; font-size: .95rem; text-align: center; margin: 0; max-width: 60ch; }
.lightbox__count { color: #9E9189; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }
.lightbox__btn {
  position: absolute; background: rgba(251,247,243,.14); border: 1px solid rgba(255,255,255,.22);
  color: #fff; width: 52px; height: 52px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; transition: background .2s ease, transform .2s ease;
}
.lightbox__btn:hover { background: rgba(251,247,243,.28); transform: scale(1.06); }
.lightbox__btn:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; }
.lightbox__btn svg { width: 22px; height: 22px; }
.lightbox__close { top: clamp(12px, 3vw, 28px); right: clamp(12px, 3vw, 28px); }
.lightbox__prev { left: clamp(10px, 2.5vw, 28px); top: 50%; transform: translateY(-50%); }
.lightbox__next { right: clamp(10px, 2.5vw, 28px); top: 50%; transform: translateY(-50%); }
.lightbox__prev:hover, .lightbox__next:hover { transform: translateY(-50%) scale(1.06); }
@media (max-width: 620px) {
  .lightbox__btn { width: 44px; height: 44px; }
  .lightbox__img { max-height: calc(100vh - 200px); }
}
@media (prefers-reduced-motion: reduce) {
  .lightbox, .lightbox__btn, .gallery button::after { transition: none; }
}

/* ---------- Seiten-Navigation zwischen den Frauen ---------- */
.sisters { border-top: 1px solid var(--sand-deep); padding-top: clamp(36px, 5vw, 56px); margin-top: clamp(48px, 6vw, 80px); }
.sisters h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); text-align: center; margin-bottom: 1em; }
.sisters__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sisters__card { display: flex; gap: 16px; align-items: center; background: var(--white); border: 1px solid var(--sand-deep); border-radius: var(--radius); padding: 16px 20px; color: var(--ink); transition: transform .2s ease, box-shadow .2s ease; }
.sisters__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); color: var(--ink); }
.sisters__card img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: center 18%; flex: none; }
.sisters__card .role { display: block; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--rose); font-weight: 700; }
.sisters__card .name { font-family: var(--heading); font-size: 1.2rem; font-weight: 600; }
@media (max-width: 860px) { .sisters__grid { grid-template-columns: 1fr; } }
