/*
Theme Name: FSG Kaisten – Zusammen im Ziel · Foto
Theme URI: https://fsgkaisten.ch/
Author: FSG Kaisten
Template: twentytwentyfour
Description: Klarer, redaktioneller Webauftritt der Feldschützengesellschaft Kaisten.
Version: 1.3.0
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 7.4
Text Domain: fsg-kaisten-pilot
*/

:root{--ink:#172634;--blue:#173e5b;--red:#a93138;--fsg-blue:#2788df;--fsg-yellow:#d2bd16;--paper:#f7f7f4;--white:#fff;--muted:#606b72;--line:#d9dddf;--max:1240px}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:24px}
body{margin:0;background:var(--paper);color:var(--ink);font-family:system-ui,-apple-system,"Segoe UI",sans-serif;font-size:17px;line-height:1.65;letter-spacing:0;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration-thickness:1px;text-underline-offset:4px}
a:hover{color:var(--red)}
a:focus-visible,button:focus-visible{outline:3px solid var(--red);outline-offset:4px}
h1,h2,h3,p{margin-top:0}
.site-header{background:var(--white);border-bottom:1px solid var(--line)}
.header-inner{max-width:var(--max);margin:auto;padding:17px 30px;display:flex;align-items:center;justify-content:space-between;gap:32px}
.brand{display:flex;align-items:center;gap:13px;color:var(--ink);text-decoration:none;min-width:max-content}
.brand-mark{width:54px;height:54px;flex:0 0 54px;display:block;background-color:transparent;background-image:url("assets/fsg-kaisten-emblem.jpg");background-size:100% 100%;background-position:center;background-repeat:no-repeat}
.brand-name{font-size:17px;line-height:1.25;font-weight:720}
.brand-name small{display:block;margin-top:4px;color:var(--muted);font-size:11px;font-weight:500;letter-spacing:.025em}
.main-nav{display:flex;align-items:center;justify-content:flex-end;gap:clamp(12px,2vw,26px);flex-wrap:wrap}
.main-nav a{color:#33414a;font-size:14px;font-weight:560;text-decoration:none;white-space:nowrap}
.main-nav a:hover{color:var(--red)}
.hero{position:relative;isolation:isolate;min-height:650px;height:min(760px,76vw);overflow:hidden;background:#142735;color:#fff}
.hero-photo{position:absolute;inset:0;margin:0;z-index:-2;background:#263842}
.hero-photo img{display:block;width:108%;max-width:none;height:100%;object-fit:cover;object-position:right 46%}
.hero-photo figcaption{position:absolute;right:max(30px,calc((100% - var(--max))/2 + 30px));bottom:28px;display:flex;justify-content:space-between;gap:15px;background:rgba(255,255,255,.94);padding:11px 14px;color:var(--ink);font-size:11px;line-height:1.4}
.hero-photo figcaption span:first-child{font-weight:700}
.hero-photo figcaption span:last-child{color:var(--muted)}
.hero-shade{position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#172634 0%,rgba(23,38,52,.96) 23%,rgba(23,38,52,.76) 43%,rgba(23,38,52,.28) 64%,rgba(23,38,52,0) 84%),linear-gradient(0deg,rgba(15,29,40,.42) 0%,transparent 38%)}
.hero-content{max-width:var(--max);height:100%;margin:auto;padding:60px 30px 94px;display:flex;align-items:center}
.hero-copy{max-width:620px;padding:20px 0}
.hero-copy:before{content:"";display:block;width:58px;height:4px;margin:0 0 24px;background:linear-gradient(90deg,var(--fsg-blue) 0 33%,var(--fsg-yellow) 33% 66%,var(--red) 66%)}
.hero .eyebrow{color:rgba(255,255,255,.92)}
.eyebrow{display:flex;align-items:center;gap:9px;color:var(--red);font-size:12px;line-height:1.4;letter-spacing:.11em;text-transform:uppercase;font-weight:720}
.eyebrow span{color:#a9afb2}
h1{max-width:700px;margin:22px 0 21px;font-size:clamp(68px,7vw,100px);line-height:.99;letter-spacing:-.055em;font-weight:690}
.hero h1{color:#fff}
.hero-copy p{max-width:520px;color:rgba(255,255,255,.94);font-size:19px;line-height:1.7;margin:0 0 25px}
.hero .text-cta{color:#fff;border-color:rgba(255,255,255,.65)}
.hero .text-cta span{color:var(--fsg-yellow)}
.text-cta{display:inline-flex;align-items:center;gap:13px;color:var(--blue);font-size:15px;font-weight:700;text-decoration:none;border-bottom:1px solid #9ca9b0;padding:0 0 7px}
.text-cta span,.arrow-link span{color:var(--red);font-size:18px;transition:transform .16s ease}
.text-cta:hover,.arrow-link:hover{color:var(--red)}
.text-cta:hover span,.arrow-link:hover span{transform:translate(2px,-2px)}
.hero-rule{position:absolute;left:50%;bottom:24px;transform:translateX(-50%);width:min(var(--max),100%);margin:0;padding:0 30px;display:flex;align-items:center;gap:14px;color:rgba(255,255,255,.88);font-size:11px;font-weight:600;letter-spacing:.1em;text-transform:uppercase}
.hero-rule i{width:5px;height:5px;background:var(--fsg-blue);border-radius:50%}
.hero-rule i:nth-of-type(2){background:var(--fsg-yellow)}.hero-rule i:nth-of-type(3){background:var(--red)}
.section{max-width:var(--max);margin:auto;padding:92px 30px}
.section-heading{max-width:620px;margin-bottom:38px}
.section-heading h2,.house-inner h2,.calendar-section h2,.join-inner h2{margin:11px 0 13px;font-size:clamp(32px,3.5vw,44px);line-height:1.13;letter-spacing:-.035em;font-weight:660}
.section-heading p{max-width:540px;color:var(--muted);font-size:17px;margin:0}
.news-section{background:var(--paper)}
.news-feature{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:32px;padding:23px 0 25px;border-top:1px solid var(--line)}
.news-feature:last-child{border-bottom:1px solid var(--line)}
.small-label{color:var(--red);font-size:11px;font-weight:720;letter-spacing:.1em;text-transform:uppercase}
.news-feature h3{margin:7px 0 4px;font-size:22px;line-height:1.3;letter-spacing:-.02em;font-weight:650}
.news-feature p{margin:0;color:var(--muted);font-size:15px}
.arrow-link{display:inline-flex;align-items:center;gap:10px;color:var(--blue);font-size:14px;font-weight:680;text-decoration:none;white-space:nowrap}
.shooting-section{background:var(--white)}
.link-list{border-top:1px solid var(--line)}
.link-list>a{display:grid;grid-template-columns:58px minmax(230px,1fr) minmax(180px,.6fr) 24px;align-items:center;gap:16px;padding:17px 3px;border-bottom:1px solid var(--line);text-decoration:none;transition:padding .18s ease,color .18s ease}
.link-list>a:hover{padding-left:9px;padding-right:0;color:var(--red)}
.list-index{color:#8a9499;font-size:12px;font-variant-numeric:tabular-nums}
.list-title{color:var(--ink);font-size:18px;font-weight:620;letter-spacing:-.01em}
.list-note{color:var(--muted);font-size:14px}
.list-arrow{justify-self:end;color:var(--red);font-size:18px}
.society-section{background:#fff;padding:84px max(30px,calc((100% - var(--max))/2 + 30px)) 94px}
.society-heading{max-width:600px;margin:0 0 32px}
.society-heading h2{margin:11px 0 11px;font-size:clamp(32px,3.5vw,44px);line-height:1.12;letter-spacing:-.035em;font-weight:660}
.society-heading p{max-width:550px;margin:0;color:var(--muted);font-size:16px}
.society-gallery{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr);gap:20px;align-items:end}
.society-photo{height:390px;position:relative;overflow:hidden;margin:0;background:#e4e7e7}
.society-photo-main{height:450px}
.society-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.society-photo-side img{object-position:center 42%}
.society-photo figcaption{position:absolute;left:14px;right:14px;bottom:14px;display:flex;justify-content:space-between;gap:14px;background:rgba(255,255,255,.96);padding:12px 14px;color:var(--ink);font-size:12px;line-height:1.4}
.society-photo figcaption strong{font-weight:700}.society-photo figcaption span{color:var(--muted)}
.join-section{background:#e9eef1;color:var(--ink);border-top:4px solid var(--fsg-yellow);padding:74px max(30px,calc((100% - var(--max))/2 + 30px));display:grid;grid-template-columns:minmax(0,1fr) minmax(230px,.4fr);align-items:end;gap:70px}
.join-inner{max-width:660px}
.join-section .eyebrow{color:var(--red)}
.join-inner h2{max-width:650px;margin-top:14px;font-size:clamp(36px,4.3vw,54px);letter-spacing:-.04em}
.join-inner p{max-width:650px;margin:0 0 25px;color:#33434d;font-size:17px}
.join-aside{display:flex;align-items:flex-start;gap:14px;border-left:1px solid #adb9c0;padding:2px 0 3px 20px;color:#33434d;font-size:14px;line-height:1.6}
.join-number{color:var(--red);font-size:12px;font-weight:700}
.club-section{display:grid;grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr);gap:76px;align-items:start;background:var(--paper)}
.club-section .section-heading{margin:0}
.compact-list>a{grid-template-columns:minmax(170px,.9fr) minmax(130px,1fr) 24px;padding:14px 3px}
.compact-list .list-title{font-size:16px}
.compact-list .list-note{font-size:13px}
.house-section{background:#ecefed}
.house-inner{max-width:var(--max);margin:auto;padding:54px 30px;display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center}
.house-inner h2{max-width:490px;margin-bottom:0}
.house-inner p{max-width:530px;margin:0 0 16px;color:#4e5d64;font-size:16px}
.calendar-section{max-width:var(--max);margin:auto;padding:76px 30px;display:flex;justify-content:space-between;align-items:center;gap:30px;background:var(--white)}
.calendar-section h2{margin-bottom:0}
.calendar-section .text-cta{margin-top:22px}
.footer{background:#132532;color:#fff}
.footer-inner{max-width:var(--max);margin:auto;padding:34px 30px;display:flex;align-items:center;justify-content:space-between;gap:25px}
.footer-brand{color:#fff;font-size:15px;font-weight:660;text-decoration:none}
.footer-brand span{display:block;margin-top:4px;color:#bdc9ce;font-size:12px;font-weight:400}
.footer-links{display:flex;align-items:center;gap:20px;color:#c7d1d5;font-size:12px}
.footer-links a{color:#fff;text-decoration:none}
.wp-block-post-title,.wp-block-post-content{max-width:900px;margin-inline:auto;padding-inline:24px}
body.home .sharemypost-floating-bar{display:none!important}
@media(max-width:1040px){.header-inner{align-items:flex-start;flex-direction:column;gap:12px}.main-nav{justify-content:flex-start}.hero-content{padding-inline:30px}.club-section{gap:42px}}
@media(max-width:720px){body{font-size:16px}.header-inner{padding:14px 21px}.brand{min-width:0;max-width:100%;gap:10px}.brand-mark{flex:0 0 48px;width:48px;height:48px}.brand-name{min-width:0;font-size:15px;white-space:normal;overflow-wrap:anywhere}.brand-name small{font-size:10px}.main-nav{gap:9px 17px}.main-nav a{font-size:13px}.hero{height:min(760px,82svh);min-height:620px}.hero-content{padding:45px 21px 108px;align-items:flex-end}.hero-copy{max-width:560px;padding:20px 0}.hero-copy:before{margin-bottom:19px}.eyebrow{font-size:10px;letter-spacing:.1em}.hero h1{font-size:clamp(54px,14vw,76px);margin:16px 0}.hero-copy p{font-size:16px;max-width:490px;margin-bottom:19px}.hero-photo{height:auto;min-height:0}.hero-photo img{width:116%;object-position:right center}.hero-shade{background:linear-gradient(90deg,#172634 0%,rgba(23,38,52,.96) 34%,rgba(23,38,52,.75) 62%,rgba(23,38,52,.08) 100%),linear-gradient(0deg,rgba(15,29,40,.62) 0%,rgba(15,29,40,.1) 70%)}.hero-photo figcaption{right:21px;bottom:66px;max-width:calc(100% - 42px);font-size:10px;padding:9px 11px}.hero-rule{left:0;transform:none;bottom:25px;width:100%;padding:0 21px;gap:10px;font-size:9px}.section{padding:65px 21px}.section-heading{margin-bottom:27px}.section-heading h2,.society-heading h2,.house-inner h2,.calendar-section h2,.join-inner h2{font-size:32px}.news-feature{grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:18px 0}.news-feature h3{font-size:18px}.news-feature p{font-size:14px}.news-feature .arrow-link{font-size:0;gap:0}.news-feature .arrow-link span{font-size:18px}.link-list>a{grid-template-columns:34px minmax(0,1fr) 22px;gap:10px;padding:14px 0}.link-list .list-note{grid-column:2;grid-row:2;margin-top:-8px;font-size:12px}.link-list .list-title{font-size:16px}.link-list .list-arrow{grid-column:3;grid-row:1/3}.society-section{padding:62px 21px 68px}.society-heading{margin-bottom:25px}.society-gallery{grid-template-columns:1fr;gap:14px}.society-photo,.society-photo-main{height:clamp(260px,72vw,390px)}.society-photo-side{height:300px}.society-photo figcaption{left:10px;right:10px;bottom:10px;padding:10px 11px;font-size:11px}.join-section{padding:55px 21px;grid-template-columns:1fr;gap:32px}.join-aside{max-width:350px}.club-section{grid-template-columns:1fr;gap:32px}.compact-list>a{grid-template-columns:minmax(0,1fr) 22px;gap:8px;padding:13px 0}.compact-list .list-note{grid-column:1;grid-row:2;margin-top:-6px}.compact-list .list-arrow{grid-column:2;grid-row:1/3}.house-inner{grid-template-columns:1fr;gap:17px;padding:42px 21px}.calendar-section{padding:54px 21px;align-items:flex-start;flex-direction:column;gap:22px}.calendar-section .text-cta{margin-top:0}.footer-inner{padding:28px 21px;align-items:flex-start;flex-direction:column}.footer-links{gap:15px;flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important}}



/* Hero: etwas flacher, mit mehr sichtbarer Bildfläche */
.hero{min-height:620px !important;height:min(720px,76vw) !important}
.hero-photo img{width:100% !important;object-position:right 46% !important}
@media(max-width:720px){.hero{height:min(680px,78svh) !important;min-height:560px !important}.hero-photo img{width:100% !important;object-position:right center !important}}
