/* =========================================================================
   Österreichische Frauenföderation für Weltfrieden
   Design system — green + gold, Cormorant Garamond + Raleway
   Hand-coded, no framework. Mobile-first, responsive.
   ========================================================================= */

/* ---------- Self-hosted fonts (GDPR: no Google Fonts CDN) ---------- */
@font-face { font-family:"Raleway"; font-style:normal; font-weight:300; font-display:swap;
  src:url("../fonts/raleway-v37-latin-300.woff2") format("woff2"); }
@font-face { font-family:"Raleway"; font-style:normal; font-weight:400; font-display:swap;
  src:url("../fonts/raleway-v37-latin-regular.woff2") format("woff2"); }
@font-face { font-family:"Raleway"; font-style:normal; font-weight:500; font-display:swap;
  src:url("../fonts/raleway-v37-latin-500.woff2") format("woff2"); }
@font-face { font-family:"Raleway"; font-style:normal; font-weight:600; font-display:swap;
  src:url("../fonts/raleway-v37-latin-600.woff2") format("woff2"); }
@font-face { font-family:"Raleway"; font-style:normal; font-weight:700; font-display:swap;
  src:url("../fonts/raleway-v37-latin-700.woff2") format("woff2"); }
@font-face { font-family:"Cormorant Garamond"; font-style:normal; font-weight:400; font-display:swap;
  src:url("../fonts/cormorant-garamond-v21-latin-regular.woff2") format("woff2"); }
@font-face { font-family:"Cormorant Garamond"; font-style:normal; font-weight:500; font-display:swap;
  src:url("../fonts/cormorant-garamond-v21-latin-500.woff2") format("woff2"); }
@font-face { font-family:"Cormorant Garamond"; font-style:italic; font-weight:500; font-display:swap;
  src:url("../fonts/cormorant-garamond-v21-latin-500italic.woff2") format("woff2"); }
@font-face { font-family:"Cormorant Garamond"; font-style:normal; font-weight:600; font-display:swap;
  src:url("../fonts/cormorant-garamond-v21-latin-600.woff2") format("woff2"); }
@font-face { font-family:"Cormorant Garamond"; font-style:normal; font-weight:700; font-display:swap;
  src:url("../fonts/cormorant-garamond-v21-latin-700.woff2") format("woff2"); }

:root {
  /* Brand palette (from WFWP logo: forest green + gold) */
  --green-900: #053d24;
  --green-800: #0a5132;
  --green-700: #0d6b40;
  --green-600: #138a52;
  --green-100: #e7f1ea;
  --gold-600:  #c79a2e;
  --gold-500:  #e0b53d;
  --gold-400:  #f1c84b;
  --gold-100:  #faf1d8;

  /* Neutrals */
  --ink:       #1c2620;
  --ink-soft:  #45514a;
  --cream:     #fbf8f1;
  --cream-2:   #f4eede;
  --white:     #ffffff;
  --line:      #e3ddcd;

  /* Semantic */
  --bg:        var(--cream);
  --text:      var(--ink);
  --text-soft: var(--ink-soft);
  --primary:   var(--green-700);
  --primary-dark: var(--green-900);
  --accent:    var(--gold-500);

  /* Type */
  --font-head: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Raleway", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Layout */
  --maxw: 1140px;
  --gap: clamp(1rem, 3vw, 2rem);
  --radius: 10px;
  --shadow: 0 8px 30px rgba(5, 61, 36, 0.10);
  --shadow-sm: 0 3px 12px rgba(5, 61, 36, 0.08);
  --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, picture, svg { max-width: 100%; display: block; height: auto; }
a { color: var(--primary); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--gold-600); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.12; color: var(--primary-dark); }
h1 { font-size: clamp(2.4rem, 6vw, 4rem); letter-spacing: .5px; }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); }
p { margin: 0 0 1rem; }
.lead { font-size: clamp(1.1rem, 2.2vw, 1.35rem); color: var(--text-soft); font-weight: 300; }
.eyebrow {
  font-family: var(--font-body); font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; font-size: .78rem; color: var(--gold-600);
  display: inline-block; margin-bottom: .75rem;
}

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gap); }
.section { padding-block: clamp(3rem, 8vw, 6rem); }
.section--tight { padding-block: clamp(2rem, 5vw, 3.5rem); }
.section--cream2 { background: var(--cream-2); }
.section--green { background: var(--primary-dark); color: var(--cream); }
.section--green h1, .section--green h2, .section--green h3 { color: var(--white); }
.section--green p, .section--green .lead { color: var(--white); }
.center { text-align: center; }
.measure { max-width: 70ch; }
.measure.center { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-body); font-weight: 600; font-size: .95rem;
  letter-spacing: .02em; padding: .8rem 1.6rem; border-radius: 50px;
  border: 2px solid transparent; cursor: pointer; transition: all .2s ease;
  text-align: center;
}
.btn--primary { background: var(--primary); color: var(--white); }
.btn--primary:hover { background: var(--primary-dark); color: var(--white); transform: translateY(-2px); }
.btn--gold { background: var(--accent); color: var(--green-900); }
.btn--gold:hover { background: var(--gold-600); color: var(--green-900); transform: translateY(-2px); }
.btn--ghost { background: transparent; border-color: currentColor; color: var(--primary); }
.btn--ghost:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }
.hero .btn--ghost { color: #fff; border-color: rgba(255,255,255,.7); }
.hero .btn--ghost:hover { background: #fff; color: var(--green-900); border-color: #fff; }
.section--green .btn--ghost { color: var(--cream); }
.section--green .btn--ghost:hover { background: var(--accent); color: var(--green-900); border-color: var(--accent); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 248, 241, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: .7rem; }
.brand img { height: 46px; width: auto; }
.brand__text { font-family: var(--font-head); font-weight: 600; line-height: 1.05; color: var(--primary-dark); }
.brand__text small { display: block; font-family: var(--font-body); font-weight: 500;
  font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-600); }
.brand__text b { font-size: 1.15rem; font-weight: 600; }

.nav__links { display: flex; align-items: center; gap: .3rem; list-style: none; padding: 0; }
.nav__links > li { position: relative; }
.nav__links a {
  display: block; padding: .55rem .7rem; color: var(--ink); font-weight: 500;
  font-size: .92rem; border-radius: 6px; white-space: nowrap;
}
.nav__links a:hover, .nav__links a.is-active { color: var(--primary); background: var(--green-100); }
.nav__links a.is-active { font-weight: 600; }

/* dropdown */
.has-sub > .submenu {
  position: absolute; top: 100%; left: 0; min-width: 220px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: .4rem; list-style: none; margin: .3rem 0 0;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .18s ease;
}
.has-sub:hover > .submenu, .has-sub:focus-within > .submenu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.has-sub > a::after { content: "▾"; font-size: .7em; margin-left: .25rem; opacity: .7; }
.submenu a { font-size: .9rem; padding: .55rem .8rem; border-radius: 6px; }

.nav__cta { display: flex; align-items: center; gap: .6rem; }
.nav__toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: .4rem;
  width: 44px; height: 44px;
}
.nav__toggle span { display: block; width: 26px; height: 2px; background: var(--primary-dark);
  margin: 5px auto; transition: all .25s ease; }
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: var(--cream);
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 75% 30%, rgba(241,200,75,.16), transparent 55%);
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; padding-block: clamp(3.5rem, 10vw, 7rem); max-width: 760px; }
.hero h1 { color: var(--white); }
.hero .lead { color: rgba(255,255,255,.9); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.8rem; }

/* ---------- Cards / grid ---------- */
.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__media { aspect-ratio: 16/10; overflow: hidden; background: var(--cream-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card__media img { transform: scale(1.04); }
.card__body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.card__cat { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  font-weight: 700; color: var(--gold-600); }
.card__title { font-size: 1.3rem; }
.card__title a { color: var(--primary-dark); }
.card__title a:hover { color: var(--primary); }
.card__meta { font-size: .82rem; color: var(--text-soft); margin-top: auto; }
.card__excerpt { color: var(--text-soft); font-size: .95rem; }

/* ---------- Feature split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
/* compact portrait column for bio pages (Gründerin/Präsidentin) */
.split--bio { grid-template-columns: 300px 1fr; align-items: start; }
.split--rev .split__media { order: 2; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-900); color: rgba(255,255,255,.82); padding-block: 3rem 1.5rem; }
.site-footer a { color: rgba(255,255,255,.82); }
.site-footer a:hover { color: var(--accent); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.footer__grid h4 { color: var(--white); font-family: var(--font-body); font-size: .9rem;
  letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1rem; font-weight: 700; }
.footer__brand { display: flex; align-items: center; gap: .7rem; margin-bottom: 1rem; }
.footer__brand img { height: 52px; width: auto; background: var(--cream); border-radius: 10px; padding: 5px 8px; }
.footer__brand span { font-family: var(--font-head); font-size: 1.25rem; color: var(--white); line-height: 1.1; }
.footer__links { list-style: none; padding: 0; display: flex; flex-direction: column; gap: .6rem; }
.footer__social { display: flex; gap: .8rem; margin-top: 1rem; }
.footer__social a { display: grid; place-items: center; width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,.25); border-radius: 50%; }
.footer__social a:hover { background: var(--accent); border-color: var(--accent); color: var(--green-900); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.15); padding-top: 1.2rem;
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between;
  font-size: .85rem; }

/* ---------- Page header (interior pages) ---------- */
.page-head { background: linear-gradient(135deg, var(--green-800), var(--green-600));
  color: var(--cream); padding-block: clamp(2.5rem, 7vw, 4.5rem); text-align: center; }
.page-head h1 { color: var(--white); }
.page-head p { color: rgba(255,255,255,.9); max-width: 60ch; margin-inline: auto; }
.breadcrumbs { font-size: .82rem; color: rgba(255,255,255,.75); margin-bottom: .6rem; }
.breadcrumbs a { color: rgba(255,255,255,.75); }
.breadcrumbs a:hover { color: var(--white); }

/* ---------- Prose (article body) ---------- */
.prose { font-size: 1.08rem; color: var(--ink); }
.prose > * + * { margin-top: 1.1rem; }
.prose h2 { margin-top: 2.2rem; }
.prose h3 { margin-top: 1.8rem; }
.prose img { border-radius: var(--radius); box-shadow: var(--shadow-sm); margin-block: 1.5rem; }
/* floated images / figures (marker "|rechts" / "|links" in the image description) */
.prose .img-right, .prose .img-left { max-width: 46%; margin-top: .4rem; margin-bottom: 1rem; }
.prose .img-right { float: right; margin-left: 1.6rem; }
.prose .img-left  { float: left;  margin-right: 1.6rem; }
/* image with caption (Title field) */
.prose figure { margin-block: 1.5rem; }
.prose figure img { display: block; width: 100%; margin: 0; }
.prose figcaption { font-size: .85rem; font-style: italic; color: var(--text-soft);
  text-align: center; margin-top: .5rem; line-height: 1.4; }
.prose::after { content: ""; display: block; clear: both; } /* contain floats */
@media (max-width: 620px) {
  .prose .img-right, .prose .img-left { float: none; max-width: 100%; margin-left: 0; margin-right: 0; }
}
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose li { margin-bottom: .4rem; }
.prose blockquote { border-left: 4px solid var(--accent); padding: .4rem 1.2rem; margin-block: 1.5rem;
  font-family: var(--font-head); font-size: 1.4rem; font-style: italic; color: var(--primary-dark); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Forms ---------- */
.form { display: flex; flex-direction: column; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field label { font-size: .85rem; font-weight: 600; color: var(--primary-dark); letter-spacing: .02em; }
.field input, .field textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  background: var(--white); border: 1px solid var(--line); border-radius: 8px;
  padding: .8rem 1rem; width: 100%; transition: border-color .18s ease, box-shadow .18s ease;
}
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--green-100);
}
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { font-size: .95rem; padding: .85rem 1rem; border-radius: 8px; display: none; }
.form__status.is-ok { display: block; background: var(--green-100); color: var(--green-800); border: 1px solid var(--green-600); }
.form__status.is-err { display: block; background: #fdecec; color: #a33; border: 1px solid #e0a0a0; }

/* membership choice (radio cards) */
.choice { display: flex; flex-direction: column; gap: .6rem; }
.choice__option { display: flex; align-items: center; gap: .85rem; cursor: pointer;
  border: 1px solid var(--line); border-radius: 8px; padding: .85rem 1rem; background: var(--white);
  transition: border-color .15s ease, background .15s ease; }
.choice__option:hover { border-color: var(--primary); }
.choice__option input { width: 1.15rem; height: 1.15rem; accent-color: var(--primary); flex: 0 0 auto; }
.choice__option:has(input:checked) { border-color: var(--primary); background: var(--green-100); }
.choice__price { margin-left: auto; font-weight: 700; color: var(--primary-dark); white-space: nowrap; }

/* info box (bank details etc.) */
.info-box { background: var(--gold-100); border: 1px solid var(--gold-500); border-radius: var(--radius);
  padding: 1rem 1.2rem; font-size: .95rem; line-height: 1.7; }

.contact-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-info h3 { font-size: 1.3rem; margin-bottom: .3rem; }
.contact-info p { color: var(--text-soft); }
.contact-info .block + .block { margin-top: 1.6rem; }
.contact-info a { font-weight: 600; }
.contact-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: .6rem; }
.contact-list li { display: flex; flex-direction: column; }
.contact-list strong { color: var(--primary-dark); font-family: var(--font-body); }

.map-embed { width: 100%; aspect-ratio: 16/7; border: 0; display: block; }
.map-consent {
  width: 100%; aspect-ratio: 16/7; display: grid; place-content: center; gap: 1rem; text-align: center;
  background: var(--cream-2); color: var(--text-soft); padding: 2rem;
}
@media (max-width: 760px) {
  .contact-layout { grid-template-columns: 1fr; }
  .field--row { grid-template-columns: 1fr; }
  .map-embed, .map-consent { aspect-ratio: 4/3; }
}

/* ---------- Misc ---------- */
.tag-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.tag { font-size: .8rem; padding: .35rem .9rem; border-radius: 50px; background: var(--green-100);
  color: var(--primary); font-weight: 600; border: 1px solid transparent; }
.tag:hover, .tag.is-active { background: var(--primary); color: var(--white); }
.empty-state { text-align: center; color: var(--text-soft); padding: 3rem 1rem; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--accent); color: var(--green-900);
  padding: .6rem 1rem; z-index: 1000; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }

/* ---------- Timeline ---------- */
.timeline { position: relative; max-width: 760px; margin-inline: auto; padding-left: 2rem; }
.timeline::before { content: ""; position: absolute; left: 7px; top: .5rem; bottom: .5rem;
  width: 2px; background: linear-gradient(var(--green-600), var(--gold-500)); }
.timeline__item { position: relative; padding-bottom: 2rem; }
.timeline__item::before { content: ""; position: absolute; left: -2rem; top: .35rem;
  width: 16px; height: 16px; border-radius: 50%; background: var(--gold-500);
  border: 3px solid var(--cream); box-shadow: 0 0 0 2px var(--green-600); }
.timeline__year { font-family: var(--font-head); font-size: 1.5rem; font-weight: 700;
  color: var(--primary); line-height: 1; margin-bottom: .3rem; }
.timeline__item p { color: var(--text-soft); margin: 0; }

/* ---------- Numbered principles ---------- */
.principles { list-style: none; counter-reset: p; padding: 0; display: grid;
  grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.principles li { counter-increment: p; position: relative; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.4rem 1.4rem 3.6rem;
  box-shadow: var(--shadow-sm); }
.principles li::before { content: counter(p); position: absolute; left: 1.1rem; top: 1.25rem;
  width: 1.8rem; height: 1.8rem; display: grid; place-content: center; border-radius: 50%;
  background: var(--green-100); color: var(--primary); font-weight: 700; font-size: .95rem;
  font-family: var(--font-body); }
.principles h3 { font-size: 1.15rem; margin-bottom: .25rem; }
.principles p { margin: 0; color: var(--text-soft); font-size: .95rem; }

/* ---------- Team members ---------- */
.member { display: grid; grid-template-columns: 200px 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.member + .member { margin-top: clamp(2rem, 5vw, 3.5rem); padding-top: clamp(2rem, 5vw, 3.5rem); border-top: 1px solid var(--line); }
.member--rev { grid-template-columns: 1fr 200px; }
.member--rev .member__photo { order: 2; }
.member__photo { width: 200px; height: 200px; border-radius: 50%; object-fit: cover;
  box-shadow: var(--shadow); background: var(--cream-2); }
.member__role { color: var(--gold-600); font-weight: 700; font-size: .78rem;
  letter-spacing: .12em; text-transform: uppercase; }
.member__name { font-size: 1.7rem; margin: .15rem 0 .7rem; }
.member__body p { color: var(--text-soft); margin: 0; }
@media (max-width: 700px) {
  .member, .member--rev { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 1.1rem; }
  .member--rev .member__photo { order: 0; }
}

/* ---------- Events ---------- */
.events { display: flex; flex-direction: column; gap: 1.2rem; max-width: 820px; margin-inline: auto; }
.event { display: grid; grid-template-columns: 92px 1fr; gap: 1.5rem; align-items: start;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 1.3rem 1.5rem; transition: box-shadow .2s ease, transform .2s ease; }
.event:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.event__date { text-align: center; background: var(--green-100); border-radius: 8px; padding: .65rem .3rem; }
.event__day { font-family: var(--font-head); font-size: 1.9rem; font-weight: 700; color: var(--primary-dark); line-height: 1; }
.event__month { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--primary); font-weight: 700; }
.event__year { font-size: .7rem; color: var(--text-soft); }
.event__title { font-size: 1.35rem; margin-bottom: .35rem; }
.event__meta { display: flex; flex-wrap: wrap; gap: .25rem 1.3rem; font-size: .9rem; color: var(--text-soft); margin-bottom: .55rem; }
.event__meta span { display: inline-flex; align-items: center; gap: .4rem; }
.event__meta svg { width: 15px; height: 15px; flex: 0 0 auto; color: var(--gold-600); }
.event__desc { color: var(--text-soft); }
.event__desc p { margin: 0 0 .5rem; }
@media (max-width: 560px) {
  .event { grid-template-columns: 60px 1fr; gap: 1rem; padding: 1rem; }
  .event__day { font-size: 1.5rem; }
}

/* ---------- Partner grid ---------- */
.partners { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.partner { display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: .4rem; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem;
  box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.partner:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
/* fixed-height, centered box → every logo is the same size & position */
.partner__logo { height: 64px; width: 100%; object-fit: contain; object-position: center;
  margin-bottom: .6rem; }
.partner__name { font-family: var(--font-head); font-size: 1.3rem; color: var(--primary-dark); font-weight: 600; }
.partner__link { font-size: .85rem; font-weight: 600; margin-top: auto; }
.partner__link::after { content: " ↗"; }

/* ---------- Local partners / networks (name cards) ---------- */
.localnet__head { text-align: center; max-width: 640px; margin: 0 auto 2.2rem; }
.localnet__head h2 { margin: 0 0 .6rem; }
.localnet__head p { color: var(--text-soft); margin: 0; }
.localnet { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.localnet__item { display: flex; align-items: center; gap: 1rem;
  background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--accent);
  border-radius: var(--radius); padding: 1.1rem 1.25rem; box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease; }
.localnet__item:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.localnet__mark { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; background: var(--green-100); color: var(--primary); }
.localnet__mark svg { width: 19px; height: 19px; }
.localnet__body { display: flex; flex-direction: column; gap: .1rem; }
.localnet__name { font-weight: 600; color: var(--text); line-height: 1.35; }
.localnet__item--link { text-decoration: none; color: inherit; cursor: pointer; height: 100%; }
.localnet__item--link .localnet__name { display: inline-flex; align-items: center; gap: .4rem; }
.localnet__item--link .localnet__name::after { content: "→"; color: var(--gold-600); transition: transform .18s ease; }
.localnet__item--link:hover .localnet__name::after { transform: translateX(3px); }
.localnet__sub { font-size: .85rem; color: var(--text-soft); line-height: 1.35; }

/* ---------- Marquee gallery (auto-sliding, infinite) ---------- */
.marquee { overflow: hidden; width: 100%;
  -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee__track { display: flex; width: max-content; will-change: transform; }
/* per-item right margin (not flex gap) so the duplicated set tiles exactly → seamless loop */
.marquee__item { flex: 0 0 auto; width: clamp(240px, 30vw, 360px); aspect-ratio: 4/3;
  margin-right: 1.1rem;
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); background: var(--cream-2); }
.marquee__item img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; }
}

/* ---------- Article body wrap ---------- */
.content-narrow { max-width: 760px; margin-inline: auto; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .partners { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split--rev .split__media { order: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }

  .nav__toggle { display: block; }
  .nav__links {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); padding: .5rem;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    transform: translateY(-120%); transition: transform .28s ease; visibility: hidden;
  }
  .nav__links.is-open { transform: translateY(0); visibility: visible; }
  .nav__links a { padding: .85rem 1rem; font-size: 1rem; }
  .has-sub > .submenu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-left: 2px solid var(--green-100);
    margin: 0 0 .3rem 1rem; min-width: 0;
  }
  .has-sub > a::after { content: ""; }
}
@media (max-width: 560px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .principles, .partners { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .brand__text b { font-size: 1rem; }
}

/* "Nach oben" button — fixed bottom-right, appears after scrolling down */
.to-top {
  position: fixed;
  right: 1.4rem;
  bottom: calc(1.4rem + 68px); /* sits above the chat bubble */
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s, background-color .2s;
  z-index: 900;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--accent); color: var(--green-900); }
.to-top:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
@media (max-width: 620px) {
  .to-top { right: 1rem; bottom: calc(1rem + 62px); width: 44px; height: 44px; }
}

/* ---------- Chat assistant widget ---------- */
.cbot { position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 1000; }
.cbot__fab { position: relative; width: 58px; height: 58px; border-radius: 50%; border: none;
  cursor: pointer; background: var(--primary); color: #fff; display: grid; place-items: center;
  box-shadow: var(--shadow); transition: background .2s ease, transform .2s ease; }
.cbot__fab:hover { background: var(--green-900); transform: translateY(-2px); }
.cbot__fab:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.cbot__fab .cbot__ico-close { display: none; }
.cbot__fab.is-open .cbot__ico-chat { display: none; }
.cbot__fab.is-open .cbot__ico-close { display: block; }
/* the class rules below set display, so [hidden] needs higher specificity to win */
.cbot__panel[hidden], .cbot__body[hidden], .cbot__input[hidden], .cbot__lead[hidden],
.cbot__foot[hidden], .cbot__teaser[hidden] { display: none; }

/* attention teaser bubble — sits to the left of the chat circle */
.cbot__teaser { position: fixed; right: calc(1.4rem + 58px + .7rem); bottom: 1.7rem;
  width: 220px; z-index: 1000;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 10px 30px rgba(5,61,36,.20);
  padding: .7rem 1.9rem .7rem .85rem; font-size: .85rem; line-height: 1.4; color: var(--text);
  cursor: pointer; animation: cbot-teaser-in .3s ease; }
.cbot__teaser:hover { border-color: var(--primary); box-shadow: 0 12px 34px rgba(5,61,36,.26); }
.cbot__teaser b { color: var(--primary); }
@keyframes cbot-teaser-in {
  from { opacity: 0; transform: translateX(10px); }
  to   { opacity: 1; transform: translateX(0); }
}
.cbot__teaser__x { position: absolute; top: 4px; right: 5px; width: 20px; height: 20px;
  border: none; background: none; padding: 0; cursor: pointer; color: var(--text-soft);
  display: grid; place-items: center; border-radius: 50%; }
.cbot__teaser__x:hover { background: var(--cream-2); color: var(--text); }
@media (max-width: 620px) {
  .cbot__teaser { right: calc(1rem + 58px + .6rem); bottom: 1.3rem; width: min(200px, calc(100vw - 5.5rem)); }
}

.cbot__panel { position: absolute; right: 0; bottom: calc(58px + .8rem);
  width: min(390px, calc(100vw - 2.8rem)); height: min(80vh, 640px);
  background: var(--white); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 18px 50px rgba(5,61,36,.22); display: flex; flex-direction: column;
  overflow: hidden; animation: cbot-in .18s ease; }
@keyframes cbot-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.cbot__head { background: linear-gradient(135deg, var(--green-900), var(--green-700)); color: #fff;
  padding: .8rem 1rem; display: flex; align-items: center; justify-content: space-between; }
.cbot__title { font-family: var(--font-body); font-weight: 600; font-size: .95rem; }
.cbot__x { background: none; border: none; color: #fff; cursor: pointer; padding: .2rem; display: grid; opacity: .85; }
.cbot__x:hover { opacity: 1; }

.cbot__body { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .6rem; background: var(--cream); }
.cbot__msg { max-width: 85%; padding: .6rem .8rem; border-radius: 14px; font-size: .9rem; line-height: 1.5; word-wrap: break-word; }
.cbot__msg a { color: inherit; text-decoration: underline; }
.cbot__msg--bot { background: #fff; border: 1px solid var(--line); color: var(--text); align-self: flex-start; border-bottom-left-radius: 4px; }
.cbot__msg--user { background: var(--primary); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.cbot__msg--user a { color: #fff; }

.cbot__chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .1rem; }
.cbot__chip { background: #fff; border: 1px solid var(--green-100); color: var(--primary); border-radius: 999px;
  padding: .4rem .75rem; font-size: .82rem; font-weight: 600; cursor: pointer; text-align: left; }
.cbot__chip:hover { background: var(--green-100); }

.cbot__typing { display: inline-flex; gap: 4px; }
.cbot__typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-soft); animation: cbot-blink 1s infinite; }
.cbot__typing i:nth-child(2) { animation-delay: .2s; }
.cbot__typing i:nth-child(3) { animation-delay: .4s; }
@keyframes cbot-blink { 0%, 60%, 100% { opacity: .25; } 30% { opacity: .9; } }

.cbot__input { display: flex; gap: .5rem; padding: .6rem; border-top: 1px solid var(--line); background: #fff; align-items: flex-end; }
.cbot__input textarea { flex: 1; resize: none; border: 1px solid var(--line); border-radius: 12px; padding: .55rem .7rem;
  font-family: var(--font-body); font-size: .9rem; max-height: 120px; }
.cbot__input textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 2px var(--green-100); }
.cbot__send { flex: 0 0 auto; width: 40px; height: 40px; border: none; border-radius: 50%; background: var(--primary);
  color: #fff; cursor: pointer; display: grid; place-items: center; }
.cbot__send:hover { background: var(--green-900); }

.cbot__foot { display: flex; flex-direction: column; gap: .35rem; padding: .5rem .7rem .7rem; background: #fff; border-top: 1px solid var(--line); }
.cbot__leadbtn { align-self: flex-start; background: none; border: none; color: var(--primary); font-weight: 600; font-size: .82rem; cursor: pointer; padding: 0; }
.cbot__leadbtn:hover { text-decoration: underline; }
.cbot__consent { font-size: .68rem; color: var(--text-soft); line-height: 1.4; }
.cbot__consent a { color: var(--primary); }

.cbot__lead { flex: 1; overflow-y: auto; background: var(--cream); padding: 1rem; }
.cbot__leadform { display: flex; flex-direction: column; gap: .55rem; }
.cbot__leadintro { font-size: .88rem; color: var(--text); margin: 0 0 .2rem; }
.cbot__leadform input, .cbot__leadform textarea { border: 1px solid var(--line); border-radius: 10px; padding: .55rem .7rem;
  font-family: var(--font-body); font-size: .88rem; }
.cbot__leadform input:focus, .cbot__leadform textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 2px var(--green-100); }
.cbot__leadbtns { display: flex; gap: .5rem; justify-content: space-between; margin-top: .2rem; }
.cbot__leadback { background: none; border: 1px solid var(--line); border-radius: 999px; padding: .45rem 1rem; cursor: pointer; font-family: var(--font-body); font-size: .85rem; }
.cbot__leadsend { background: var(--primary); color: #fff; border: none; border-radius: 999px; padding: .45rem 1.3rem; cursor: pointer; font-family: var(--font-body); font-size: .85rem; font-weight: 600; }
.cbot__leadsend:disabled { opacity: .6; cursor: default; }
.cbot__leadstatus { font-size: .82rem; color: var(--text-soft); }
.cbot__leaddone { text-align: center; padding: 1.4rem 1rem; color: var(--primary); font-weight: 600; font-size: .95rem; line-height: 1.6; }
.cbot__leadback2 { margin-top: 1rem; background: var(--primary); color: #fff; border: none; border-radius: 999px; padding: .5rem 1.2rem; cursor: pointer; font-family: var(--font-body); }

@media (max-width: 620px) {
  .cbot { right: 1rem; bottom: 1rem; }
  .cbot__panel { width: calc(100vw - 2rem); bottom: calc(58px + .7rem); }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Partnership chip in the hero (links to partner page) ---------- */
.hero-partner {
  display: flex; width: fit-content; max-width: 100%;
  align-items: center; gap: .7rem; text-decoration: none;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  padding: .45rem .9rem .45rem .5rem; border-radius: 999px; margin-bottom: 1.5rem;
  transition: background .2s ease, transform .2s ease, border-color .2s ease;
}
.hero-partner:hover { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.38); transform: translateY(-1px); }
.hero-partner__logo { width: 40px; height: 40px; border-radius: 10px; display: block; flex: 0 0 auto;
  box-shadow: 0 3px 10px rgba(0,0,0,.28); }
.hero-partner__text { display: flex; flex-direction: column; line-height: 1.18; }
.hero-partner__text small { font-size: .66rem; text-transform: uppercase; letter-spacing: .15em; color: rgba(255,255,255,.72); }
.hero-partner__text b { font-size: .92rem; color: #fff; font-weight: 600; }

/* =========================================================================
   Partner page — Verein Filipina in Österreich (own maroon identity)
   Scoped under .vf-page so it never affects the main site.
   ========================================================================= */
.vf-page {
  --vf-deep: #4b0b31;
  --vf-maroon: #5f0f3e;
  --vf-plum: #7a1650;
  --vf-magenta: #911f5e;
  --vf-rose: #d074a2;
  --vf-rose-soft: #edc4da;
  --vf-paper: #fbeff6;
  --vf-ink: #3d0a28;
  background: var(--vf-deep);
  color: #fff;
}
.vf-wrap { max-width: 920px; margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2rem); }

.vf-topbar { background: var(--vf-deep); border-bottom: 1px solid rgba(255,255,255,.12); }
.vf-back { display: inline-flex; align-items: center; gap: .5rem; padding: .9rem 0;
  color: var(--vf-rose-soft); font-size: .9rem; font-weight: 600; text-decoration: none; }
.vf-back:hover { color: #fff; }

.vf-hero { text-align: center; padding-block: clamp(2.6rem, 7vw, 4.6rem);
  background: radial-gradient(circle at 70% 18%, var(--vf-magenta), var(--vf-maroon) 55%, var(--vf-deep)); }
.vf-hero__logo { width: clamp(140px, 26vw, 210px); height: auto; margin: 0 auto 1.5rem; display: block;
  border-radius: 22px; box-shadow: 0 18px 50px rgba(0,0,0,.4); }
.vf-eyebrow { text-transform: uppercase; letter-spacing: .34em; font-size: .8rem; font-weight: 700;
  color: var(--vf-rose); margin-bottom: .55rem; }
.vf-hero h1 { font-family: var(--font-head); color: #fff; font-size: clamp(2.2rem, 6vw, 3.4rem);
  line-height: 1.05; margin: 0 0 1.1rem; }
.vf-hero__member { color: var(--vf-rose-soft); font-weight: 600; max-width: 42ch; margin: 0 auto .9rem; }
.vf-hero__member em { font-style: italic; }
.vf-hero__tag { color: rgba(255,255,255,.82); max-width: 48ch; margin: 0 auto; line-height: 1.6; }
.vf-hero__meta { margin-top: 1.7rem; display: flex; gap: .5rem 1.4rem; justify-content: center; flex-wrap: wrap;
  font-size: .82rem; color: var(--vf-rose-soft); }
.vf-hero__meta span { display: inline-flex; align-items: center; gap: .45rem; }
.vf-hero__meta b { color: #fff; font-weight: 700; }

.vf-body { background: var(--vf-paper); color: var(--vf-ink); }
.vf-body .vf-wrap { padding-block: clamp(2.6rem, 7vw, 4.6rem); }
.vf-section + .vf-section { margin-top: 2.8rem; }
.vf-section h2 { font-family: var(--font-head); color: var(--vf-magenta);
  font-size: clamp(1.5rem, 3.4vw, 2rem); margin: 0 0 .9rem; }
.vf-section p { line-height: 1.75; margin: 0 0 1rem; color: var(--vf-ink); }
.vf-section p:last-child { margin-bottom: 0; }
.vf-aims { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.vf-aims li { position: relative; padding-left: 1.9rem; line-height: 1.65; }
.vf-aims li::before { content: ""; position: absolute; left: 0; top: .55em; width: .7rem; height: .7rem;
  border-radius: 50%; background: var(--vf-magenta); }
.vf-activities { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .2rem; }
.vf-chip { background: #fff; border: 1px solid var(--vf-rose-soft); color: var(--vf-plum);
  border-radius: 999px; padding: .42rem .95rem; font-size: .9rem; font-weight: 600; }

.vf-contact { background: var(--vf-deep); color: #fff; }
.vf-contact .vf-wrap { padding-block: clamp(2.2rem, 6vw, 3.6rem); }
.vf-contact h2 { color: #fff; font-family: var(--font-head); font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 0 0 1.3rem; }
.vf-contact__grid { display: grid; gap: 1.4rem 2.4rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.vf-contact .label { text-transform: uppercase; letter-spacing: .14em; font-size: .72rem;
  color: var(--vf-rose); font-weight: 700; margin-bottom: .4rem; }
.vf-contact p { margin: 0; line-height: 1.7; }
.vf-contact a { color: var(--vf-rose-soft); }
.vf-contact a:hover { color: #fff; }

.vf-foot { background: var(--vf-deep); border-top: 1px solid rgba(255,255,255,.12); text-align: center;
  padding-block: 1.7rem; font-size: .85rem; color: var(--vf-rose-soft); }
.vf-foot a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
