/*
Theme Name: AfD-Fraktion Jesteburg V8
Theme URI: https://afd-fraktion-jesteburg.de/
Author: AfD-Fraktion Jesteburg
Description: Eigenes responsives WordPress-Theme für die AfD-Fraktionen in Gemeinde und Samtgemeinde Jesteburg.
Version: 8.0
Text Domain: afd-fraktion-jesteburg
*/
:root{--blue:#009ee0;--blue-dark:#006a9f;--navy:#003b62;--red:#e30613;--ink:#17212b;--muted:#5c6975;--line:#dce4ea;--soft:#f4f8fb;--white:#fff;--max:1180px}
*{box-sizing:border-box}html{scroll-behavior:smooth;max-width:100%;overflow-x:hidden}body{margin:0;max-width:100%;overflow-x:hidden;color:var(--ink);background:#fff;font-family:Arial,Helvetica,sans-serif;line-height:1.58}a{color:var(--blue-dark)}img{max-width:100%;height:auto}.wrap{width:min(var(--max),calc(100% - 40px));max-width:100%;margin:auto}.site-header{background:linear-gradient(105deg,#003b62,#006a9f);position:sticky;top:0;z-index:50;box-shadow:0 4px 18px rgba(0,30,50,.18)}.site-header:after{content:"";display:block;height:4px;background:url('assets/images/deutschlandstreifen.png') center/100% 100% no-repeat}.header-inner{height:74px;display:flex;min-width:0;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;min-width:0;align-items:center;gap:12px;text-decoration:none;color:#fff}.brand img{width:54px;height:54px;border-radius:50%;border:1px solid rgba(255,255,255,.7)}.brand span{display:flex;min-width:0;flex-direction:column;line-height:1}.brand b{font-size:16px;letter-spacing:.03em}.brand small{font-size:18px;font-weight:800;letter-spacing:.08em;margin-top:4px}.menu{display:flex;gap:6px;align-items:center}.menu a{text-decoration:none;color:#fff;font-weight:700;font-size:14px;padding:11px 12px;border-radius:4px}.menu a:hover,.menu a:focus{background:rgba(255,255,255,.13)}.menu-contact{border:1px solid rgba(255,255,255,.65)}.menu-toggle{display:none;background:transparent;border:1px solid rgba(255,255,255,.55);border-radius:4px;width:44px;height:42px;padding:9px;cursor:pointer}.menu-toggle span{display:block;height:2px;background:#fff;margin:5px 0;width:100%}section[id]{scroll-margin-top:92px}
.hero{position:relative;min-height:650px;display:flex;align-items:flex-end;background:url('assets/images/hero-jesteburg.jpg') center 46%/cover no-repeat;color:#fff}.hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,38,66,.88) 0%,rgba(0,60,95,.63) 42%,rgba(0,0,0,.12) 75%)}.hero-inner{position:relative;padding:86px 0 72px;max-width:760px}.hero-logo{width:min(610px,90%);margin-bottom:26px}.kicker{text-transform:uppercase;letter-spacing:.18em;font-weight:800;font-size:13px}.hero h1{font-size:clamp(40px,6vw,72px);line-height:1.02;margin:10px 0 18px}.hero p{font-size:clamp(19px,2.3vw,25px);max-width:720px;margin:0 0 28px}.actions{display:flex;gap:12px;flex-wrap:wrap}.btn{display:inline-block;padding:13px 19px;border-radius:4px;text-decoration:none;font-weight:800}.btn-primary{background:#fff;color:var(--navy)}.btn-outline{border:2px solid rgba(255,255,255,.9);color:#fff}.stripe{height:6px;background:url('assets/images/deutschlandstreifen.png') center/cover no-repeat}
section{padding:72px 0}h2{font-size:clamp(30px,4vw,46px);line-height:1.12;margin:0 0 18px;color:var(--navy)}h3{font-size:24px;margin:12px 0 8px;color:var(--navy)}.lead{font-size:20px;color:var(--muted);max-width:840px}.cards{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:26px;margin-top:36px}.card{border:1px solid var(--line);background:#fff;padding:28px;border-radius:7px;box-shadow:0 12px 32px rgba(0,50,80,.06)}.card-top{display:flex;align-items:center;gap:20px}.card-logo{width:112px;height:112px;border-radius:50%;flex:none}.card p{color:var(--muted)}.local{background:var(--soft)}.photo-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;grid-template-rows:260px 260px;gap:12px;margin-top:32px}.photo-grid img{width:100%;height:100%;object-fit:cover;border-radius:5px}.photo-grid img:first-child{grid-row:1/3}.photo-grid img:nth-child(4){grid-column:2/4}.people{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:50px;align-items:start}.facts{border-top:4px solid var(--blue);background:var(--soft);padding:26px}.facts div{padding:13px 0;border-bottom:1px solid var(--line)}.facts div:last-child{border:0}.facts strong{display:block;color:var(--navy)}.links{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px}.links a{padding:10px 14px;border:1px solid var(--line);background:#fff;text-decoration:none;font-weight:700}.contact{background:linear-gradient(120deg,var(--navy),var(--blue-dark));color:#fff}.contact h2{color:#fff}.contact .mail{font-size:clamp(20px,4vw,38px);font-weight:800;overflow-wrap:anywhere;word-break:break-word;max-width:100%}.contact a{color:#fff}.site-footer{background:#101820;color:#cdd6dc;padding:34px 0 0}.footer-grid{display:flex;justify-content:space-between;gap:30px;align-items:flex-start}.site-footer a{color:#fff}.footer-links{display:flex;gap:18px;flex-wrap:wrap}.footer-stripe{height:7px;margin-top:30px;background:url('assets/images/deutschlandstreifen.png') center/cover no-repeat}.content{padding:58px 0}.content article{max-width:850px}.content h1{color:var(--navy);font-size:44px}.content h2{font-size:28px;margin-top:36px}.notice{background:#fff8e8;border-left:4px solid #f0b400;padding:14px 18px;margin:24px 0;color:#4a3c13}
@media(max-width:820px){.header-inner{height:68px}.brand img{width:48px;height:48px}.brand b{font-size:13px}.brand small{font-size:16px}.menu-toggle{display:block}.menu{display:none;position:absolute;left:0;right:0;top:68px;background:#003b62;padding:10px 20px 18px;box-shadow:0 10px 20px rgba(0,30,50,.2);flex-direction:column;align-items:stretch;gap:2px}.menu.is-open{display:flex}.menu a{font-size:16px;padding:12px 10px}.menu-contact{margin-top:4px;text-align:center}.hero{min-height:590px}.hero-inner{padding:70px 0 54px}.cards,.people{grid-template-columns:1fr}.photo-grid{grid-template-columns:1fr 1fr;grid-template-rows:220px 220px 220px}.photo-grid img:first-child{grid-column:1/3;grid-row:auto}.photo-grid img:nth-child(4){grid-column:1/3}.footer-grid{display:block}.footer-links{margin-top:20px}section[id]{scroll-margin-top:82px}}
@media(max-width:520px){.wrap{width:calc(100% - 28px);max-width:100%}.header-inner{gap:10px}.brand{gap:8px;max-width:calc(100% - 54px)}.brand img{width:44px;height:44px;flex:0 0 44px}.brand b{font-size:11px;white-space:nowrap}.brand small{font-size:14px;letter-spacing:.05em;white-space:nowrap}.menu-toggle{flex:0 0 44px}.menu{width:100%;max-width:100vw;overflow-x:hidden}.site-header{position:sticky}.brand span{display:flex}.hero{min-height:560px}.hero h1{font-size:42px}.hero-logo{width:100%;margin-bottom:20px}.card-top{align-items:flex-start}.card-logo{width:82px;height:82px}.photo-grid{display:block}.photo-grid img{height:230px;margin-bottom:10px}section{padding:54px 0}.content h1{font-size:36px}}

.contact-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}.contact-mail-btn{display:inline-block;background:#fff;color:var(--navy)!important;text-decoration:none;font-weight:800;padding:13px 18px;border-radius:4px}.contact-mail-btn:hover,.contact-mail-btn:focus{transform:translateY(-1px)}

/* V6 mobile overflow hardening */
main,section,article,.hero,.hero-inner,.card,.card-top,.facts,.contact,.site-footer,.footer-grid{min-width:0;max-width:100%}.actions,.links,.contact-actions{max-width:100%}.btn,.links a,.contact-mail-btn{max-width:100%;white-space:normal;overflow-wrap:anywhere}.photo-grid{max-width:100%;overflow:hidden}
