
:root{
  --brand-50:#e6f5ec; --brand-100:#c3e8d3; --brand-400:#2bb374; --brand-500:#1f9d5c; --brand-600:#137c46; --brand-700:#0f6236; --brand-900:#0a3d22;
  --gold-100:#faedc8; --gold-500:#f0b93c; --gold-600:#d1941c;
  --red-500:#e2432b; --red-600:#c1301c;
  --afg-black:#000000; --afg-red:#d32011; --afg-green:#007a3d;
  --ger-black:#000000; --ger-red:#dd0000; --ger-gold:#ffce00;
  --ink-900:#150f0a; --ink-700:#3c3327; --ink-500:#7d6f5b; --ink-100:#efe6d3; --border:#e3d7bd; --surface:#fffcf6; --bg:#f8f2e4;
  --radius-lg:14px; --radius-md:10px; --radius-sm:8px;
  --shadow:0 10px 26px rgba(31,23,12,.09);
  --font-display:'Fraunces', Georgia, serif;
  --font-latin:'Figtree', -apple-system, 'Segoe UI', sans-serif;
  --font-arabic:'Vazirmatn', -apple-system, 'Segoe UI', sans-serif;
}
*{box-sizing:border-box;}
@keyframes iconspin{to{transform:rotate(360deg);}}
i.icon-spin svg{animation:iconspin .8s linear infinite; transform-origin:50% 50%;}
@media (prefers-reduced-motion: reduce){i.icon-spin svg{animation:none;}}
body{margin:0; background:var(--bg); color:var(--ink-900); font-family:var(--font-latin); line-height:1.65; -webkit-font-smoothing:antialiased;}
html[lang="fa"] body, html[lang="ps"] body{font-family:var(--font-arabic); line-height:1.9;}
img{max-width:100%;}
a{color:inherit;}
.container{max-width:1120px; margin:0 auto; padding:0 24px;}
h1,h2,h3{margin:0; font-weight:600; letter-spacing:-.01em; font-family:var(--font-display); text-wrap:balance;}
html[lang="fa"] h1, html[lang="fa"] h2, html[lang="fa"] h3, html[lang="ps"] h1, html[lang="ps"] h2, html[lang="ps"] h3{font-family:var(--font-arabic); font-weight:700; letter-spacing:0;}
p{margin:0;}

/* ===== Language switcher ===== */
.lang-switch{display:flex; gap:4px; background:var(--ink-900); padding:5px; border-radius:999px; flex-shrink:0;}
.lang-switch button{border:none; background:transparent; color:#d9cdb3; font-family:var(--font-latin); font-weight:700; font-size:12px; padding:6px 11px; border-radius:999px; cursor:pointer; transition:.15s; white-space:nowrap;}
.lang-switch button.active{background:var(--brand-500); color:#fff;}
.lang-switch button:hover:not(.active){color:#fff;}
.nav-right{display:flex; align-items:center; gap:14px; flex-shrink:0;}

/* ===== Header / hero ===== */
.hero{position:relative; overflow:hidden; background:radial-gradient(1100px 620px at 12% -10%, rgba(240,185,60,.32), transparent 55%), radial-gradient(1000px 560px at 100% 0%, rgba(31,157,92,.4), transparent 50%), radial-gradient(900px 520px at 55% 105%, rgba(226,67,43,.28), transparent 55%), var(--ink-900); color:#fff; padding:96px 0 90px;}

/* ---- Real flags pushed all the way out to the true edges of the hero (full-bleed, viewport-safe at any width),
   far from the fixed center logo. Each flag is sliced into thin vertical strips that ripple out of phase with
   each other, plus a diagonal light/shadow sheen sweeping across the surface, for a realistic waving-cloth look —
   no filters/darkening on the flag colors themselves. ---- */
.hero-flags-row{position:relative; display:flex; direction:ltr; align-items:center; justify-content:space-between; width:100vw; margin-top:0; margin-right:calc(-50vw + 50%); margin-bottom:30px; margin-left:calc(-50vw + 50%); min-height:130px; padding:0 18px; box-sizing:border-box;}
.flag-fly{position:relative; overflow:hidden; flex-shrink:0; width:132px; border-radius:6px; box-shadow:0 16px 30px rgba(0,0,0,.5);}
.flag-fly-afg{aspect-ratio:3/2; background-size:cover;}
.flag-fly-ger{aspect-ratio:360/217; background-size:cover;}
.flag-strip{position:absolute; top:-8%; height:116%; width:13%; background-image:inherit; background-repeat:no-repeat; background-size:800% 100%; animation:flagStripWave 2.8s ease-in-out infinite;}
.flag-strip:nth-child(1){left:0%;    background-position-x:0%;      animation-delay:0s;}
.flag-strip:nth-child(2){left:12.5%; background-position-x:14.2857%; animation-delay:.1s;}
.flag-strip:nth-child(3){left:25%;   background-position-x:28.5714%; animation-delay:.2s;}
.flag-strip:nth-child(4){left:37.5%; background-position-x:42.8571%; animation-delay:.3s;}
.flag-strip:nth-child(5){left:50%;   background-position-x:57.1428%; animation-delay:.4s;}
.flag-strip:nth-child(6){left:62.5%; background-position-x:71.4285%; animation-delay:.5s;}
.flag-strip:nth-child(7){left:75%;   background-position-x:85.7142%; animation-delay:.6s;}
.flag-strip:nth-child(8){left:87.5%; background-position-x:100%;     animation-delay:.7s;}
.flag-fly::after{content:''; position:absolute; inset:0; z-index:3; pointer-events:none; mix-blend-mode:overlay;
  background:repeating-linear-gradient(115deg,
    rgba(255,255,255,.55) 0%, rgba(255,255,255,.55) 4%,
    rgba(0,0,0,.28) 4%, rgba(0,0,0,.28) 9%,
    transparent 9%, transparent 17%,
    rgba(255,255,255,.4) 17%, rgba(255,255,255,.4) 20%,
    rgba(0,0,0,.32) 20%, rgba(0,0,0,.32) 26%,
    transparent 26%, transparent 36%);
  background-size:230% 230%;
  animation:flagFoldSheen 3.4s linear infinite;
}

.hero-logo-fixed{position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); width:112px; height:112px; border-radius:50%; box-shadow:0 0 0 6px rgba(16,185,129,.16), 0 16px 36px rgba(0,0,0,.55); border:3px solid rgba(255,255,255,.85); z-index:2;}

@keyframes flagStripWave{
  0%,100%{transform:translateY(0) skewY(0deg);}
  25%{transform:translateY(-6%) skewY(-2.5deg);}
  50%{transform:translateY(3%) skewY(1.5deg);}
  75%{transform:translateY(-5%) skewY(-1.5deg);}
}
@keyframes flagFoldSheen{
  0%{background-position:0% 0%;}
  100%{background-position:-120% 0%;}
}

@media (prefers-reduced-motion: reduce){
  .flag-strip, .flag-fly::after{animation:none;}
}
@media (max-width:640px){
  .hero{padding:74px 0 78px;}
  .hero-flags-row{min-height:90px; margin-bottom:22px; padding:0 10px;}
  .flag-fly{width:80px;}
  .hero-logo-fixed{width:76px; height:76px;}
}

.hero-logo{width:96px; height:96px; border-radius:50%; box-shadow:0 12px 30px rgba(0,0,0,.4); flex-shrink:0;}
.hero-title{text-align:center; font-size:clamp(24px,4vw,38px); max-width:820px; margin:0 auto 14px;}
.hero-tagline{text-align:center; max-width:640px; margin:0 auto 34px; color:#e7ddc9; font-size:16px;}
.hero-ctas{display:flex; justify-content:center; gap:14px; flex-wrap:wrap;}
.btn{display:inline-flex; align-items:center; gap:9px; padding:14px 26px; border-radius:999px; font-weight:700; font-size:14.5px; cursor:pointer; border:none; text-decoration:none; transition:.15s;}
.btn-primary{background:linear-gradient(90deg, var(--gold-500), var(--red-500)); color:#17110b; box-shadow:0 10px 24px rgba(226,67,43,.4);}
.btn-primary:hover{transform:translateY(-2px); box-shadow:0 14px 30px rgba(226,67,43,.5);}
.btn-ghost{background:rgba(255,255,255,.08); color:#fff; border:1.5px solid rgba(255,255,255,.25);}
.btn-ghost:hover{background:rgba(255,255,255,.16);}

/* ===== Nav ===== */
.topnav{position:sticky; top:0; z-index:150; background:rgba(255,255,255,.9); backdrop-filter:blur(14px); border-bottom:1px solid var(--border);}
.topnav::before{content:''; display:block; height:4px; background:linear-gradient(90deg, var(--brand-500) 0%, var(--gold-500) 50%, var(--red-500) 100%);}
.topnav .container{display:flex; align-items:center; justify-content:space-between; height:64px;}
.nav-brand{display:flex; align-items:center; gap:10px; font-weight:800; font-size:14.5px; min-width:0;}
.nav-brand img{width:32px; height:32px; border-radius:50%; flex-shrink:0;}
.nav-brand span{overflow:hidden; text-overflow:ellipsis; white-space:nowrap;}
@media (max-width:480px){ .lang-switch button{padding:6px 8px; font-size:11px;} }
.nav-links{display:flex; gap:6px; list-style:none; margin:0; padding:0;}
.nav-links button{background:none; border:none; font-family:inherit; font-size:13.5px; font-weight:700; color:var(--ink-700); padding:9px 14px; border-radius:999px; cursor:pointer; transition:.15s;}
.nav-links button:hover{background:var(--ink-100);}
.nav-links button.active{background:var(--brand-50); color:var(--brand-700);}
.nav-toggle{display:none; align-items:center; justify-content:center; width:34px; height:34px; flex-shrink:0; background:none; border:none; font-size:20px; color:var(--ink-700); cursor:pointer; padding:0;}
@media (max-width:820px){
  .nav-links{position:fixed; inset:64px 0 auto 0; background:#fff; flex-direction:column; padding:10px 20px 18px; border-bottom:1px solid var(--border); box-shadow:var(--shadow); display:none;}
  .nav-links.open{display:flex;}
  .nav-links button{text-align:start; width:100%; padding:12px 14px;}
  .nav-toggle{display:flex;}
}

/* ===== Sections ===== */
section{padding:76px 0;}
.section-head{text-align:start; max-width:640px; margin:0 0 46px;}
.section-head h2{font-size:clamp(24px,3.2vw,34px); margin-bottom:10px;}
.section-head p{color:var(--ink-500); font-size:15.5px; max-width:54ch;}
.eyebrow{display:flex; align-items:center; gap:10px; font-family:var(--font-latin); font-size:11.5px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--brand-600); background:none; padding:0; border-radius:0; margin-bottom:14px;}
.eyebrow::before{content:''; width:24px; height:2px; background:var(--gold-500); flex-shrink:0;}
html[lang="fa"] .eyebrow, html[lang="ps"] .eyebrow{font-family:var(--font-arabic); letter-spacing:0;}

/* ---- Scroll reveal: sections/cards fade + rise into place as they enter the viewport ---- */
.reveal{opacity:0; transform:translateY(26px); transition:opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);}
.reveal.is-visible{opacity:1; transform:translateY(0);}
.reveal-stagger.is-visible{transition-delay:calc(var(--reveal-i, 0) * .09s);}
@media (prefers-reduced-motion: reduce){
  .reveal{opacity:1; transform:none; transition:none;}
}

/* ---- Stats strip: quick trust bar under the hero ---- */
#stats{background:var(--ink-900); color:#fff; padding:44px 0;}
.stats-row{display:grid; grid-template-columns:repeat(4,1fr); gap:24px; text-align:center;}
.stat-item .stat-num{font-size:clamp(22px,3vw,32px); font-weight:700; font-family:var(--font-display); color:var(--gold-500); margin-bottom:4px;}
.stat-item .stat-label{font-size:13px; color:#d9cdb3;}
@media (max-width:720px){
  .stats-row{grid-template-columns:repeat(2,1fr); gap:28px 16px;}
}

/* ---- Floating WhatsApp button ---- */
.whatsapp-float{position:fixed; bottom:22px; right:22px; z-index:50; width:58px; height:58px; border-radius:50%; background:#25D366; color:#fff; display:flex; align-items:center; justify-content:center; font-size:28px; box-shadow:0 10px 26px rgba(0,0,0,.35); text-decoration:none; animation:waPulse 2.6s ease-in-out infinite;}
.whatsapp-float:hover{transform:scale(1.06);}
@keyframes waPulse{0%,100%{box-shadow:0 10px 26px rgba(0,0,0,.35), 0 0 0 0 rgba(37,211,102,.5);} 50%{box-shadow:0 10px 26px rgba(0,0,0,.35), 0 0 0 10px rgba(37,211,102,0);}}
@media (prefers-reduced-motion: reduce){.whatsapp-float{animation:none;}}
@media (max-width:640px){.whatsapp-float{bottom:16px; right:16px; width:52px; height:52px; font-size:25px;}}

/* ---- Footer social icons + legal links ---- */
.footer-social{display:flex; justify-content:center; gap:14px; margin-bottom:16px;}
.footer-social a{width:36px; height:36px; border-radius:50%; background:rgba(255,255,255,.08); color:#cbd5e1; display:flex; align-items:center; justify-content:center; font-size:15px; text-decoration:none; transition:.15s;}
.footer-social a:hover{background:var(--brand-500); color:#fff;}
.footer-legal{margin-top:10px; display:flex; justify-content:center; gap:16px; flex-wrap:wrap;}
.footer-legal a{color:#a99c85; text-decoration:none; font-size:12px;}
.footer-legal a:hover{color:#fff; text-decoration:underline;}

.about-layout{display:grid; grid-template-columns:240px 1fr; gap:12px 56px; align-items:start;}
@media (max-width:780px){.about-layout{grid-template-columns:1fr; gap:20px;}}
.about-grid{display:block;}
.about-card{background:none; border:none; box-shadow:none; border-inline-start:3px solid var(--brand-500); padding-inline-start:28px; font-size:18.5px; line-height:1.75; color:var(--ink-700);}

.activities-grid{display:grid; grid-template-columns:1fr 1fr; gap:0 52px;}
@media (max-width:720px){.activities-grid{grid-template-columns:1fr;}}
.activity-card{display:flex; gap:18px; align-items:flex-start; background:none; border:none; border-top:1px solid var(--border); border-radius:0; padding:26px 0; box-shadow:none; transition:none;}
.activity-card:hover{transform:none; box-shadow:none;}
.activity-body{min-width:0;}
.activity-icon{width:44px; height:44px; border-radius:50%; background:linear-gradient(135deg, var(--gold-500), var(--red-500)); color:#17110b; display:flex; align-items:center; justify-content:center; font-size:18px; margin-bottom:0; flex-shrink:0; box-shadow:0 6px 14px rgba(226,67,43,.3);}
.activity-card h3{font-size:16.5px; margin-bottom:6px;}
.activity-card p{color:var(--ink-500); font-size:14.5px;}
.activities-grid .reveal:nth-child(1){transition-delay:0s;}
.activities-grid .reveal:nth-child(2){transition-delay:.08s;}
.activities-grid .reveal:nth-child(3){transition-delay:.16s;}
.activities-grid .reveal:nth-child(4){transition-delay:.24s;}
.activities-grid .reveal:nth-child(5){transition-delay:.32s;}
.activities-grid .activity-card:nth-child(5){grid-column:1 / -1; border-top:1px solid var(--border);}

/* ---- Photo gallery: a wide feature image on top, two portraits below, elegant hover zoom ---- */
.gallery-grid{display:grid; grid-template-columns:1fr 1fr; gap:18px;}
.gallery-grid .reveal:nth-child(2){transition-delay:.1s;}
.gallery-grid .reveal:nth-child(3){transition-delay:.2s;}
.gallery-item{position:relative; overflow:hidden; border-radius:var(--radius-lg); box-shadow:var(--shadow); background:#111; cursor:pointer;}
.gallery-item img{width:100%; height:100%; object-fit:cover; display:block; transition:transform .6s cubic-bezier(.2,.8,.2,1);}
.gallery-item:hover img{transform:scale(1.07);}
.gallery-item::after{content:''; position:absolute; inset:0; background:linear-gradient(180deg, transparent 55%, rgba(0,0,0,.32) 100%); pointer-events:none;}
.gallery-item-wide{grid-column:1 / -1; aspect-ratio:16/7.5;}
.gallery-item:not(.gallery-item-wide){aspect-ratio:3/4;}
.gallery-zoom-hint{position:absolute; top:14px; right:14px; width:34px; height:34px; border-radius:50%; background:rgba(15,23,42,.55); color:#fff; display:flex; align-items:center; justify-content:center; font-size:14px; opacity:0; transition:opacity .25s; z-index:2; pointer-events:none;}
.gallery-item:hover .gallery-zoom-hint{opacity:1;}
.gallery-item .cap{position:absolute; inset-inline-start:14px; bottom:12px; z-index:2; color:#fff; font-size:12.5px; font-weight:700; text-shadow:0 2px 8px rgba(0,0,0,.55); pointer-events:none;}
@media (max-width:720px){
  .gallery-grid{grid-template-columns:1fr;}
  .gallery-item-wide{aspect-ratio:4/3;}
  .gallery-item:not(.gallery-item-wide){aspect-ratio:4/3;}
}

/* ---- Gallery lightbox ---- */
.lightbox-overlay{position:fixed; inset:0; background:rgba(6,10,20,.94); display:none; align-items:center; justify-content:center; z-index:300; padding:40px 24px;}
.lightbox-overlay.open{display:flex;}
.lightbox-overlay img{max-width:92vw; max-height:86vh; border-radius:12px; box-shadow:0 24px 70px rgba(0,0,0,.6); animation:lightboxIn .25s ease;}
.lightbox-close{position:absolute; top:20px; right:24px; width:42px; height:42px; border-radius:50%; background:rgba(255,255,255,.1); color:#fff; border:none; font-size:22px; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:.15s;}
.lightbox-close:hover{background:rgba(255,255,255,.2);}
@keyframes lightboxIn{from{opacity:0; transform:scale(.96);} to{opacity:1; transform:scale(1);}}
@media (prefers-reduced-motion: reduce){.lightbox-overlay img{animation:none;}}

.membership-wrap{background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-lg); box-shadow:var(--shadow); max-width:640px; margin:0 auto; padding:40px;}
.form-row{display:flex; gap:14px; margin-bottom:16px;}
@media (max-width:600px){.form-row{flex-wrap:wrap;}}
.form-group{flex:1; min-width:0; display:flex; flex-direction:column; gap:6px; margin-bottom:16px;}
.form-row .form-group{margin-bottom:0;}
.form-group label{font-size:12px; font-weight:700; color:var(--ink-700);}
.form-group input, .form-group textarea{border:1.5px solid var(--border); border-radius:var(--radius-sm); padding:12px 14px; font-family:inherit; font-size:14.5px; outline:none; transition:.15s; background:#fff; color:var(--ink-900);}
.form-group input:focus, .form-group textarea:focus{border-color:var(--brand-500); box-shadow:0 0 0 4px var(--brand-50);}
.consent-row{display:flex; align-items:flex-start; gap:10px; font-size:13px; color:var(--ink-500); margin:6px 0 22px;}
.consent-row input{margin-top:3px;}
.membership-submit{width:100%; justify-content:center; padding:15px;}
.form-msg{display:none; font-size:13px; font-weight:700; padding:10px 14px; border-radius:var(--radius-sm); margin-bottom:16px; background:#fef2f2; color:#b91c1c; border:1px solid #fecaca;}
.membership-success{display:none; text-align:center; padding:20px 10px;}
.membership-success i{font-size:44px; color:var(--brand-500); margin-bottom:16px;}
.membership-success h3{font-size:19px; margin-bottom:10px;}
.membership-success p{color:var(--ink-500);}

.contact-grid{display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:20px; max-width:900px; margin:0 auto;}
.contact-grid .reveal:nth-child(1){transition-delay:0s;}
.contact-grid .reveal:nth-child(2){transition-delay:.08s;}
.contact-grid .reveal:nth-child(3){transition-delay:.16s;}
.contact-card{background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-lg); padding:26px 20px; box-shadow:var(--shadow); text-align:center; display:flex; flex-direction:column; align-items:center;}
.contact-card i{font-size:22px; color:var(--brand-600); margin-bottom:12px;}
.contact-card .label{font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:.05em; color:var(--ink-500); margin-bottom:6px;}
.contact-card .value{font-size:14.5px; font-weight:600; line-height:1.55; overflow-wrap:anywhere; word-break:normal; max-width:100%;}
.contact-card .value a{overflow-wrap:anywhere;}

footer{background:var(--ink-900); color:#b3a688; text-align:center; padding:34px 0; font-size:12.5px;}
footer strong{color:#fff;}

[dir="rtl"] .form-group label, [dir="rtl"] .about-card, [dir="rtl"] .activity-card p{text-align:right;}


/* ===================================================================
   Multi-page additions (sub-page hero banner, nav-as-links, timeline,
   value grid, activity detail cards, gallery masonry + empty state,
   map embed, chairman quote block)
   =================================================================== */

/* nav links are now real <a> tags (not buttons) so cross-page navigation
   works as plain HTML - same visual treatment as before */
.nav-links a{background:none; border:none; font-family:inherit; font-size:13.5px; font-weight:700; color:var(--ink-700); padding:9px 14px; border-radius:999px; cursor:pointer; transition:.15s; text-decoration:none; display:inline-block;}
.nav-links a:hover{background:var(--ink-100);}
.nav-links a.active{background:var(--brand-50); color:var(--brand-700);}

/* ---- Sub-page hero banner (Über uns / Aktivitäten / Galerie / Mitgliedschaft / Kontakt) ---- */
.page-hero{position:relative; overflow:hidden; background:radial-gradient(900px 480px at 15% -20%, rgba(240,185,60,.28), transparent 55%), radial-gradient(820px 460px at 100% 10%, rgba(31,157,92,.36), transparent 50%), radial-gradient(760px 420px at 50% 120%, rgba(226,67,43,.26), transparent 55%), var(--ink-900); color:#fff; padding:64px 0 58px; text-align:center;}
.page-hero .eyebrow{justify-content:center; color:var(--gold-500);}
.page-hero .eyebrow::before{background:var(--gold-500);}
.page-hero h1{font-size:clamp(26px,4vw,42px); color:#fff; max-width:760px; margin:0 auto 14px;}
.page-hero p{color:#e7ddc9; max-width:560px; margin:0 auto; font-size:15.5px;}
.breadcrumb{display:flex; justify-content:center; gap:8px; font-size:12.5px; color:#c8bb9e; margin-bottom:16px;}
.breadcrumb a{color:#e7ddc9; text-decoration:none;}
.breadcrumb a:hover{text-decoration:underline;}

/* ---- Story timeline (Über uns) ---- */
.timeline{position:relative; max-width:760px; margin:0 auto; padding-inline-start:28px; border-inline-start:2px solid var(--border);}
[dir="rtl"] .timeline{padding-inline-start:0; padding-inline-end:28px; border-inline-start:none; border-inline-end:2px solid var(--border);}
.timeline-item{position:relative; padding-bottom:36px;}
.timeline-item:last-child{padding-bottom:0;}
.timeline-item::before{content:''; position:absolute; inset-inline-start:-34px; top:4px; width:12px; height:12px; border-radius:50%; background:linear-gradient(135deg, var(--gold-500), var(--red-500)); box-shadow:0 0 0 4px var(--surface), 0 0 0 5px var(--border);}
.timeline-item .year{font-family:var(--font-display); font-size:14px; font-weight:700; color:var(--brand-600); margin-bottom:4px;}
.timeline-item h3{font-size:17px; margin-bottom:6px;}
.timeline-item p{color:var(--ink-500); font-size:14.5px;}

/* ---- Values grid (Über uns) ---- */
.value-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:22px;}
@media (max-width:780px){.value-grid{grid-template-columns:1fr 1fr;}}
@media (max-width:520px){.value-grid{grid-template-columns:1fr;}}
.value-card{text-align:center; padding:28px 20px; background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-lg); box-shadow:var(--shadow);}
.value-card .value-icon{width:50px; height:50px; margin:0 auto 14px; border-radius:50%; background:linear-gradient(135deg, var(--gold-500), var(--red-500)); color:#17110b; display:flex; align-items:center; justify-content:center; font-size:20px; box-shadow:0 6px 14px rgba(226,67,43,.3);}
.value-card h3{font-size:15.5px; margin-bottom:8px;}
.value-card p{color:var(--ink-500); font-size:13.5px;}

/* ---- Chairman quote block (Über uns) ---- */
.chairman-block{display:grid; grid-template-columns:220px 1fr; gap:36px; align-items:center; background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-lg); box-shadow:var(--shadow); padding:36px;}
@media (max-width:680px){.chairman-block{grid-template-columns:1fr; text-align:center;}}
.chairman-block img{width:100%; aspect-ratio:1; object-fit:cover; border-radius:50%; box-shadow:0 10px 26px rgba(31,23,12,.2);}
.chairman-block blockquote{margin:0 0 16px; font-family:var(--font-display); font-size:19px; line-height:1.5; color:var(--ink-900); font-style:italic;}
html[lang="fa"] .chairman-block blockquote, html[lang="ps"] .chairman-block blockquote{font-family:var(--font-arabic); font-style:normal;}
.chairman-block .name{font-weight:800; font-size:14.5px;}
.chairman-block .role{color:var(--ink-500); font-size:13px;}

/* ---- Activity detail cards (Aktivitäten page) ---- */
.activity-detail-list{display:flex; flex-direction:column; gap:0;}
.activity-detail-card{display:grid; grid-template-columns:76px 1fr; gap:24px; padding:32px 0; border-top:1px solid var(--border);}
.activity-detail-list .activity-detail-card:first-child{border-top:none;}
@media (max-width:600px){.activity-detail-card{grid-template-columns:56px 1fr; gap:16px;}}
.activity-detail-card .activity-icon{width:76px; height:76px; font-size:28px;}
@media (max-width:600px){.activity-detail-card .activity-icon{width:56px; height:56px; font-size:21px;}}
.activity-detail-card h3{font-size:19px; margin-bottom:8px;}
.activity-detail-card p{color:var(--ink-500); font-size:15px; max-width:64ch;}

/* ---- Gallery masonry (extensible - see /assets/app.js GALLERY_PHOTOS array) ---- */
.gallery-masonry{display:grid; grid-template-columns:repeat(3,1fr); gap:18px;}
@media (max-width:820px){.gallery-masonry{grid-template-columns:1fr 1fr;}}
@media (max-width:520px){.gallery-masonry{grid-template-columns:1fr;}}
.gallery-masonry .gallery-item-wide{grid-column:1 / -1; aspect-ratio:21/9;}
@media (max-width:820px){.gallery-masonry .gallery-item-wide{grid-column:1 / -1; aspect-ratio:16/8;}}
.gallery-empty-card{display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px; aspect-ratio:3/4; border:2px dashed var(--border); border-radius:var(--radius-lg); color:var(--ink-500); text-align:center; padding:20px;}
.gallery-empty-card i{font-size:26px; color:var(--gold-600);}
.gallery-empty-card span{font-size:13px; font-weight:600; max-width:20ch;}

/* ---- Map embed (Kontakt page) ---- */
.map-embed{border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow); border:1px solid var(--border); max-width:820px; margin:36px auto 0; background:var(--ink-100);}
.map-embed iframe{display:block; width:100%; height:320px; border:0;}

/* ---- Membership benefits (Mitgliedschaft page) ---- */
.benefits-row{display:grid; grid-template-columns:repeat(4,1fr); gap:18px; max-width:920px; margin:0 auto 52px;}
@media (max-width:820px){.benefits-row{grid-template-columns:1fr 1fr;}}
@media (max-width:480px){.benefits-row{grid-template-columns:1fr;}}
.benefit-tile{text-align:center; padding:22px 16px; background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-lg);}
.benefit-tile .activity-icon{margin:0 auto 12px;}
.benefit-tile p{font-size:13.5px; font-weight:700; color:var(--ink-700);}

/* ---- Home page: compact section teasers linking out to full pages ---- */
.teaser-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:22px;}
@media (max-width:820px){.teaser-grid{grid-template-columns:1fr 1fr;}}
@media (max-width:560px){.teaser-grid{grid-template-columns:1fr;}}
.teaser-card{display:block; text-decoration:none; color:inherit; background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-lg); box-shadow:var(--shadow); padding:28px 24px; transition:.2s;}
.teaser-card:hover{transform:translateY(-4px); box-shadow:0 16px 34px rgba(31,23,12,.14);}
.teaser-card .activity-icon{margin-bottom:16px;}
.teaser-card h3{font-size:16.5px; margin-bottom:8px;}
.teaser-card p{color:var(--ink-500); font-size:13.5px; margin-bottom:14px;}
.teaser-card .teaser-link{font-size:12.5px; font-weight:800; color:var(--brand-600); display:flex; align-items:center; gap:6px;}

/* Plain-text arrow glyph, not a Font Awesome icon, so it always renders even
   though only a curated subset of FA icons is embedded in fa-fonts.css. */
.icon-arrow{display:inline-block; line-height:1; font-weight:400;}
[dir="rtl"] .icon-arrow{transform:scaleX(-1);}

.section-cta{text-align:center; margin-top:44px;}

/* ---- Home hero photo teaser (links to Galerie) ---- */
.home-gallery-teaser{display:grid; grid-template-columns:1.3fr 1fr 1fr; gap:16px;}
@media (max-width:720px){.home-gallery-teaser{grid-template-columns:1fr; }}
.home-gallery-teaser .gallery-item{aspect-ratio:4/3;}

[dir="rtl"] .value-card, [dir="rtl"] .benefit-tile{text-align:center;}
[dir="rtl"] .activity-detail-card p, [dir="rtl"] .timeline-item p{text-align:right;}

/* ---- Small utility classes used to compose new page layouts ---- */
.section-head.center{margin-left:auto; margin-right:auto; text-align:center;}
.eyebrow.center{justify-content:center;}
.btn-outline{background:none; color:var(--brand-700); box-shadow:none; border:1.5px solid var(--brand-500);}
.btn-outline:hover{background:var(--brand-50); transform:translateY(-2px); box-shadow:none;}
.on-dark-title{color:#fff;}
.on-dark-body{color:#e7ddc9;}
.section-tight{padding-top:0;}

/* ---- Legal pages (Impressum / Datenschutz): simple content card ---- */
.legal-main{padding:64px 0 90px;}
.legal-card{background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-lg); box-shadow:var(--shadow); padding:40px; max-width:820px; margin:0 auto;}
.legal-card h1{font-size:clamp(24px,4vw,32px); margin-bottom:8px;}
.legal-updated{color:var(--ink-500); font-size:13px; margin-bottom:28px;}
.legal-card h2{font-size:17px; margin:30px 0 10px; font-weight:700; color:var(--ink-900);}
.legal-card p, .legal-card li{color:var(--ink-700); font-size:14.5px; line-height:1.75;}
.legal-card ul{padding-inline-start:20px;}
.legal-card li{margin-bottom:5px;}
.legal-todo{background:var(--gold-100); border:1px solid var(--gold-500); border-radius:var(--radius-sm); padding:14px 18px; margin:20px 0; font-size:13.5px; color:#6b4a0e;}
.legal-todo strong{display:block; margin-bottom:4px;}
.legal-placeholder{background:var(--gold-100); color:#6b4a0e; padding:1px 6px; border-radius:5px; font-weight:700;}

/* ---- Chairman avatar: neutral icon badge (no unverified photo) ---- */
.chairman-avatar{width:100%; aspect-ratio:1; border-radius:50%; background:linear-gradient(135deg, var(--gold-100), var(--brand-50)); display:flex; align-items:center; justify-content:center; box-shadow:0 10px 26px rgba(31,23,12,.15); border:1px solid var(--border); overflow:hidden;}
.chairman-avatar i{font-size:56px; color:var(--brand-600);}
.chairman-avatar img{width:100%; height:100%; object-fit:cover; display:block;}
@media (max-width:680px){.chairman-avatar{max-width:180px; margin:0 auto;}}

/* ---- Aktuelles / News (rendered dynamically from galerie-verwaltung.html) ---- */
.news-empty{display:flex; flex-direction:column; align-items:center; gap:12px; text-align:center; padding:60px 20px; border:2px dashed var(--border); border-radius:var(--radius-lg); color:var(--ink-500);}
.news-empty p{max-width:38ch; font-size:14.5px;}
.news-card{background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-lg); box-shadow:var(--shadow); padding:26px; margin-bottom:18px;}
.news-card .news-date{display:inline-block; font-family:var(--font-latin); font-size:11.5px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:var(--brand-700); background:var(--brand-50); padding:4px 11px; border-radius:20px; margin-bottom:12px;}
.news-card h3{font-size:18px; margin-bottom:10px;}
.news-card .news-body{color:var(--ink-700); font-size:14.5px; line-height:1.75; white-space:pre-line;}
.news-card img{width:100%; max-height:320px; object-fit:cover; border-radius:var(--radius-sm); margin-top:14px;}

/* ---- Spenden (donation) card on kontakt.html ---- */
.donate-card{max-width:560px; margin:0 auto; background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-lg); box-shadow:var(--shadow); padding:8px 26px;}
.donate-row{display:flex; align-items:center; justify-content:space-between; gap:16px; padding:14px 0; border-bottom:1px solid var(--border); flex-wrap:wrap;}
.donate-row:last-child{border-bottom:none;}
.donate-label{font-size:12.5px; font-weight:700; color:var(--ink-500); text-transform:uppercase; letter-spacing:.04em; flex-shrink:0;}
.donate-value{font-size:14.5px; font-weight:700; color:var(--ink-900); text-align:end; overflow-wrap:anywhere;}
