/*
Theme Name: Al-Baraka Projekt 24/7
Theme URI: https://www.al-baraka.de/
Author: Al-Baraka Projekt
Description: Vereinswebsite in Schwarz-Rot-Gold mit sechs Aktivitätsseiten, Spenden und Kontaktformular.
Version: 4.1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: albaraka-projekt
License: GPL-2.0-or-later
*/
:root{--red:#dc0812;--gold:#f5bf17;--ink:#15191d;--muted:#475569;--paper:#fff;--light:#f5f7fa}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif;color:var(--ink);background:#fff;line-height:1.52}a{color:inherit;text-decoration:none}img{max-width:100%;display:block}button,input,textarea{font:inherit}.wrap{max-width:1280px;margin:auto;padding:0 22px}.site-head{background:white;box-shadow:0 2px 14px #1111;position:sticky;top:0;z-index:30}.head-inner{display:flex;align-items:center;justify-content:space-between;gap:25px;min-height:99px}.brand{display:flex;align-items:center;gap:10px;min-width:265px}.brand img.verein{height:61px;width:61px;object-fit:contain;border-radius:50%}.brand-text{font-weight:900;font-size:23px;line-height:1.03;letter-spacing:-.7px}.brand img.mark{width:95px;height:60px;object-fit:contain;mix-blend-mode:multiply}.mainnav{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.mainnav a{padding:12px 15px;border-radius:13px;font-weight:700;font-size:14px}.mainnav a:hover,.mainnav a[aria-current=page]{background:var(--red);color:white}.menu-toggle{display:none;background:var(--red);color:white;border:0;padding:12px;border-radius:9px}.flagwave{height:12px;background:linear-gradient(to bottom,#151515 0 33%,#d40000 33% 66%,#ffce00 66% 100%)}.hero{background:#fff;overflow:hidden}.hero-grid{display:grid;grid-template-columns:42% 58%;align-items:stretch;min-height:390px}.hero-left{padding:48px 16px 36px 0;position:relative;z-index:1}.hero h1{font-size:clamp(32px,4vw,58px);line-height:1.09;letter-spacing:-1.7px;margin:0 0 16px;font-weight:900}.hero h1 span,.accent{color:var(--red)}.hero p{color:#394153;font-size:18px;max-width:510px}.hero-image{height:390px;width:100%;object-fit:cover;object-position:center}.pill{display:inline-block;margin-top:10px;background:var(--red);color:#fff;border:0;border-radius:50px;padding:13px 23px;font-weight:800;cursor:pointer}.pill:hover{background:#a70000}.hero-photo{position:relative}.age-circle{position:absolute;right:14px;top:16px;border:4px solid white;border-radius:50%;background:var(--red);color:#fff;text-align:center;width:144px;height:144px;display:grid;align-content:center;font-weight:800;line-height:1.2;box-shadow:0 5px 20px #0004;transform:rotate(5deg)}.age-circle strong{font-size:27px}.section{padding:48px 0}.section h2{font-size:clamp(29px,3.3vw,42px);margin:0 0 5px;letter-spacing:-1.2px;line-height:1.15}.center{text-align:center}.subline{color:var(--muted);margin:0 0 26px}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px}.activity{background:white;border:1px solid #e2e7ed;box-shadow:0 5px 17px #0a173214;border-radius:15px;overflow:hidden;transition:transform .16s,box-shadow .16s;display:block}.activity:hover{transform:translateY(-4px);box-shadow:0 12px 25px #0a173224}.activity img{height:179px;width:100%;object-fit:cover}.activity-body{padding:18px 17px 23px;min-height:144px}.activity h3{font-size:19px;line-height:1.18;margin:0 0 9px;color:#071332}.activity p{color:var(--muted);margin:0}.label-link{display:inline-block;margin-top:10px;font-weight:800;color:var(--red)}.soft{background:#f7f9fc}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:28px}.panel{border-radius:17px;overflow:hidden;background:#fff;border:1px solid #e7ebef;padding:25px;box-shadow:0 4px 14px #08182f0d}.panel img.wide{width:100%;height:210px;object-fit:cover;border-radius:12px;margin-bottom:18px}.panel p{color:var(--muted)}.donate{background:#fffaf3}.donation-address{font-size:22px;font-weight:800;color:#0755a3;overflow-wrap:anywhere}.info-list{line-height:1.9}.subhero{background:#f6f7f9;padding:38px 0 0}.subhero-grid{display:grid;grid-template-columns:44% 56%;align-items:center}.subhero h1{font-size:clamp(32px,4.1vw,58px);line-height:1.08;margin:7px 0 14px;letter-spacing:-1.5px}.subhero img{height:340px;width:100%;object-fit:cover;border-radius:17px 17px 0 0}.breadcrumbs{font-size:13px;color:#637082}.breadcrumbs a{text-decoration:underline}.intro{font-size:18px;max-width:950px;color:var(--muted)}.features{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:25px}.feature{padding:22px;border:1px solid #e5e7eb;border-radius:14px;background:#fff}.feature h3{margin:0 0 7px;font-size:21px}.feature p{margin:0;color:#4a5565}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.form-grid label{display:block;font-weight:700}.form-grid input,.form-grid textarea{display:block;width:100%;border:1px solid #cbd5e1;border-radius:9px;padding:12px;margin-top:5px}.form-grid .full{grid-column:1/-1}.form-grid textarea{min-height:140px}.notice{padding:13px 15px;border-radius:10px;background:#eff8ee}.footer{background:#15191c;color:#fff;padding:38px 0 20px}.footer-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:22px}.footer a{color:#fff}.footer small{color:#ccd1d8}.footer h3{margin:0 0 12px}.legal{color:#9eaab4;margin-top:22px;font-size:13px}.legal a{text-decoration:underline}.site-note{font-size:13px;color:#536175}.brand-title{font-weight:900;font-size:23px}.donate-card{padding:25px;border-radius:15px;border:1px solid #ebdfca;background:white}.sr-only{position:absolute;left:-9999px}@media(max-width:940px){.hero-grid,.subhero-grid{grid-template-columns:1fr}.hero-image{height:300px}.hero-left{padding:35px 0 20px}.subhero img{height:290px}.cards{grid-template-columns:repeat(2,1fr)}.head-inner{flex-wrap:wrap;padding-top:12px;padding-bottom:12px}.mainnav{width:100%;justify-content:center}}@media(max-width:610px){.brand{min-width:0}.brand-text{font-size:18px}.brand img.verein{height:49px;width:49px}.brand img.mark{width:65px;height:48px}.menu-toggle{display:block}.mainnav{display:none;flex-direction:column;align-items:stretch}.mainnav.open{display:flex}.mainnav a{padding:10px 14px}.cards,.two-col,.features,.footer-grid,.form-grid{grid-template-columns:1fr}.form-grid .full{grid-column:1}.hero-image{height:230px}.age-circle{width:110px;height:110px;font-size:12px}.age-circle strong{font-size:21px}.section{padding:35px 0}}
/* Uniform type scale and image rendering; replaces legacy repeated overrides. */
:root{--type:system-ui,-apple-system,"Segoe UI",Arial,sans-serif;--red:#dc0812;--gold:#f3c513}
body,button,input,textarea,.mainnav,.brand-text,h1,h2,h3{font-family:var(--type)}
body{font-size:16px;line-height:1.65}p{line-height:1.65}
h1,h2,h3{font-weight:800;line-height:1.18;letter-spacing:-.025em}
.section h1{font-size:clamp(32px,3.1vw,46px);margin:0 0 21px}
.section h2{font-size:clamp(27px,2.5vw,36px);margin-bottom:15px}
.section h3,.activity h3,.feature h3{font-size:20px;line-height:1.3}
.hero h1,.subhero h1{font-size:clamp(34px,3.65vw,54px);line-height:1.12}
.hero p,.intro{font-size:18px;line-height:1.65}
.head-inner{min-height:100px;gap:12px}.brand{justify-content:center;gap:10px;flex-shrink:0}
.brand-text{font-size:21px;text-align:center;letter-spacing:-.02em}
.brand img.verein{height:64px;width:64px;object-fit:contain}
.brand img.mark{height:58px;width:95px;object-fit:contain}
.mainnav a{font-size:14px;padding:11px 10px}
.hero-grid{grid-template-columns:44% 56%;align-items:center}
.hero-photo{overflow:hidden;background:#f3f6f8;border-radius:10px}
.hero-image{width:100%;height:430px;object-fit:cover;object-position:center}
.panel img.wide{height:265px;object-fit:cover;object-position:center}
.activity img{height:220px;width:100%;object-fit:cover;object-position:center}
.subhero img{height:340px;object-fit:cover;object-position:center}
.prayer-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:24px 0}
.prayer-time{padding:22px;border:1px solid #e5e7eb;border-radius:14px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.prayer-time strong{font-size:18px}.prayer-time span{font-size:23px;color:var(--red);font-weight:800}
.prayer-scroll{overflow-x:auto}.prayer-table{border-collapse:collapse;width:100%;min-width:650px}
.prayer-table td,.prayer-table th{padding:10px;border-bottom:1px solid #e5e7eb;text-align:left}
.prayer-table th{background:#222;color:white}
.legal-page{max-width:960px}.site-note{font-size:14px}
@media(max-width:1000px){.hero-grid,.subhero-grid{grid-template-columns:1fr}.hero-left{padding:32px 0}.hero-image{height:350px}.head-inner{flex-wrap:wrap;padding-top:12px;padding-bottom:12px}.mainnav{width:100%;justify-content:center}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:610px){.brand{min-width:0;gap:5px}.brand img.verein{width:50px;height:50px}.brand img.mark{width:70px;height:50px}.brand-text{font-size:16px}.menu-toggle{display:block}.mainnav{display:none;flex-direction:column;align-items:stretch}.mainnav.open{display:flex}.cards,.two-col,.features,.footer-grid,.form-grid,.prayer-grid{grid-template-columns:1fr}.form-grid .full{grid-column:1}.hero-image{height:250px}.section{padding:36px 0}.activity img{height:200px}.panel img.wide{height:220px}}
