/* ===== OGV Wülflingen: Kopf, Beiträge, Karten, Details ===== */

/* Kopfzeile: Zeichen + Vereinsname lesbar */
.brand{gap:12px}
.brand .brand-logo{height:52px;width:auto}
.site-header.is-scrolled .brand .brand-logo{height:44px}
.brand-text{display:flex;flex-direction:column;line-height:1.15}
.brand-name{font-family:"Iowan Old Style","Palatino Linotype",Palatino,Georgia,serif;font-size:1.3rem;font-weight:700;color:#0f4a40;white-space:nowrap}
.brand .brand-sub{display:block;font-size:.76rem;color:#4c5a4e;letter-spacing:.02em;white-space:nowrap}
@media (max-width:360px){.brand .brand-sub{display:none}}
@media (max-width:620px){.brand .brand-logo{height:44px}.brand-name{font-size:1.15rem}}
@media (min-width:981px){.nav a:not(.btn){padding:9px 0}.nav li:not(:last-child) a::after{bottom:2px}}
.nav a.btn,.nav a.btn[aria-current="page"],.nav a.btn:hover{text-decoration:none}
@media (min-width:981px) and (max-width:1120px){.nav{gap:14px}.brand .brand-sub{display:none}.nav a{font-size:.95rem}}
@media (max-width:980px){.nav a[aria-current="page"]{text-decoration:none;color:#1d6b2c;font-weight:700;box-shadow:inset 4px 0 0 #4caf3a;padding-left:14px}.nav a.btn[aria-current="page"]{color:#fff;box-shadow:none;padding-left:18px}.nav.open{box-shadow:0 22px 40px rgba(10,48,42,.18);max-height:calc(100vh - 70px);overflow:auto}}

/* Seitenkopf: Obstbäume statt Tannen */
.page-head::after{width:460px;height:210px;right:-30px;bottom:-14px;opacity:.12;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 460 210'%3E%3Cg fill='%23fff'%3E%3Ccircle cx='70' cy='112' r='44'/%3E%3Crect x='64' y='145' width='12' height='65' rx='4'/%3E%3Ccircle cx='205' cy='74' r='68'/%3E%3Crect x='196' y='130' width='18' height='80' rx='6'/%3E%3Ccircle cx='345' cy='108' r='52'/%3E%3Crect x='338' y='148' width='14' height='62' rx='5'/%3E%3Ccircle cx='425' cy='140' r='32'/%3E%3Crect x='420' y='164' width='10' height='46' rx='4'/%3E%3C/g%3E%3Cg fill='%2314491f'%3E%3Ccircle cx='185' cy='58' r='8'/%3E%3Ccircle cx='232' cy='88' r='8'/%3E%3Ccircle cx='196' cy='102' r='8'/%3E%3Ccircle cx='55' cy='104' r='6'/%3E%3Ccircle cx='88' cy='122' r='6'/%3E%3Ccircle cx='330' cy='96' r='7'/%3E%3Ccircle cx='365' cy='122' r='7'/%3E%3C/g%3E%3C/svg%3E") no-repeat right bottom/contain}
.v-join::before{width:460px;height:210px;right:-20px;bottom:-10px;opacity:.08;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 460 210'%3E%3Cg fill='%23fff'%3E%3Ccircle cx='70' cy='112' r='44'/%3E%3Crect x='64' y='145' width='12' height='65' rx='4'/%3E%3Ccircle cx='205' cy='74' r='68'/%3E%3Crect x='196' y='130' width='18' height='80' rx='6'/%3E%3Ccircle cx='345' cy='108' r='52'/%3E%3Crect x='338' y='148' width='14' height='62' rx='5'/%3E%3C/g%3E%3C/svg%3E") no-repeat right bottom/contain}
@media (max-width:620px){.page-head::after{width:280px;height:128px;opacity:.1}}
.page-head h1{text-wrap:balance}
.page-head-wide .page-head-in{max-width:none}
@media (min-width:1152px){.page-head-wide .page-head-in{width:1120px}}

/* Kontrast */
.v-stats b small{color:#2a6f25}

/* Bilder in Texten: ohne graue Ränder, mittig */
.content .v-photo,.doc .v-photo{width:auto;max-width:100%;height:auto;max-height:76vh;margin-left:auto;margin-right:auto;background:transparent}
.content .ogv-strip .v-photo{width:100%;max-height:none}
.v-two .content .v-photo,.content .v-two .v-photo{max-height:70vh}

/* Vorstandschaft */
.content .v-people{gap:12px;grid-template-columns:repeat(auto-fill,minmax(230px,1fr))}
.content .v-people li{position:relative;background:#fff;border:1px solid #e3ebdd;border-radius:16px;padding:14px 16px 14px 66px;min-height:74px;box-shadow:0 6px 18px rgba(20,73,31,.07);line-height:1.45}
.content .v-people li::before{content:"";position:absolute;left:14px;top:50%;width:40px;height:40px;margin-top:-20px;border-radius:50%;background:#e6f1e2 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M20 30V19' stroke='%231d6b2c' stroke-width='2.6' stroke-linecap='round'/%3E%3Cpath d='M20 20c0-5-3-8-8-8 0 5 3 8 8 8zM20 20c0-5 3-8 8-8 0 5-3 8-8 8z' fill='%234caf3a'/%3E%3C/svg%3E") center/cover}

/* Beitragsübersicht */
.ogv-news-card{position:relative;padding:14px 14px 20px;transition:transform .25s,box-shadow .25s}
.ogv-news-card:hover{transform:translateY(-6px);box-shadow:0 20px 40px rgba(10,48,42,.17)}
.ogv-news-img{position:relative}
.ogv-news-card .ogv-news-img img{position:relative;transition:transform .5s}
.ogv-news-card .ogv-news-img img.ogv-bg{position:absolute;inset:-24px;width:calc(100% + 48px);height:calc(100% + 48px);max-width:none;object-fit:cover!important;filter:blur(18px) saturate(1.15) brightness(.96);opacity:.6}
.ogv-news-card:hover .ogv-news-img img:not(.ogv-bg){transform:scale(1.04)}
.ogv-news-card h2,.ogv-news-card p{padding:0 8px}
.ogv-news-card h2{text-wrap:balance}
.ogv-news-card .ogv-more{margin-top:auto;padding:12px 8px 0;color:#115b4e;font-weight:700;font-size:.94rem}
.ogv-news-card .ogv-more span{display:inline-block;transition:transform .25s}
.ogv-news-card:hover .ogv-more span{transform:translateX(5px)}
.ogv-news-ph{background:radial-gradient(circle at 78% 24%,rgba(224,184,77,.35) 0 34px,transparent 35px),linear-gradient(160deg,#e9f3e0,#dcebd2)}
.ogv-news-ph::after{content:"";position:absolute;left:0;right:0;bottom:0;height:34%;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 90' preserveAspectRatio='none'%3E%3Cpath d='M0 90V46C70 14 140 8 210 34s130 24 190-6V90z' fill='%234caf3a' fill-opacity='.28'/%3E%3Cpath d='M0 90V68c90-28 170-20 240-2s110 8 160-8v32z' fill='%231d6b2c' fill-opacity='.3'/%3E%3C/svg%3E") bottom/100% 100% no-repeat}
.ogv-news-card .ogv-news-ph img{z-index:1;width:104px;height:auto;opacity:1;filter:drop-shadow(0 6px 10px rgba(10,48,42,.18))}
.ogv-pager{display:flex;align-items:center;justify-content:center;gap:16px;flex-wrap:wrap;margin:36px 0 0}
.ogv-pager span{color:#4c5a4e;font-weight:600}

/* Einzelner Beitrag */
.post-doc{padding:40px 16px 72px;max-width:852px;width:100%;margin-inline:auto}
.post-featured{margin:0 0 24px}
.post-featured .v-photo{display:block}
.post-doc:has(.post-body img) .post-featured{display:none}
.post-body{max-width:none}
.post-body>p:first-child:has(>img){margin-top:0}
.post-nav{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:44px 0 24px;padding-top:28px;border-top:1px solid #dfe7d9}
.post-nav a{display:flex;flex-direction:column;gap:6px;padding:16px 18px;background:#fff;border:1px solid #e3ebdd;border-radius:16px;text-decoration:none;box-shadow:0 6px 18px rgba(20,73,31,.07);transition:transform .2s,box-shadow .2s,border-color .2s}
.post-nav a:hover{transform:translateY(-3px);border-color:#3a8a3d;box-shadow:0 14px 28px rgba(20,73,31,.14)}
.post-nav small{color:#2a6f25;font-weight:700;text-transform:uppercase;letter-spacing:.1em;font-size:.76rem}
.post-nav b{color:#14491f;line-height:1.35}
.post-nav a.is-newer{text-align:right;grid-column:2}
.post-actions{display:flex;flex-wrap:wrap;gap:12px}
@media (max-width:620px){.post-nav{grid-template-columns:1fr}.post-nav a.is-newer{grid-column:1;text-align:left}.post-actions .btn{width:100%;text-align:center}}

/* Kontaktformular */
.content .yjar-form{max-width:760px;background:#fff;border:1px solid #e3ebdd;border-radius:20px;padding:24px;box-shadow:0 12px 32px rgba(20,73,31,.09)}
.yjar-form .form-field--checkbox label{align-items:center}
.yjar-form .form-field--checkbox input{margin-top:0;width:24px;height:24px;min-height:24px}
.ogv-privacy{margin:0;font-size:.86rem;color:#4c5a4e}
@media (max-width:620px){.content .yjar-form{padding:18px 16px}.yjar-form [type=submit]{width:100%;justify-self:stretch}}

/* Startseite */
.v-card,.card{border-radius:18px}
.content a:not(.btn):not(.v-dl-a),.doc a:not(.btn):not(.v-dl-a){text-underline-offset:3px;text-decoration-thickness:1.5px}

/* Fußzeile */
.foot-links{display:flex;flex-wrap:wrap;gap:4px 18px;margin:0 0 22px;padding:0 0 20px;border-bottom:1px solid rgba(255,255,255,.14)}
.foot-links a{display:inline-block;padding:8px 0;text-decoration:none;font-weight:600;color:#e6f1e2!important}
.foot-links a:hover{color:#f0c987!important;text-decoration:underline;text-underline-offset:4px}
.foot-contact a,.foot-legal a{display:inline-block;padding:4px 0}
.site-footer .fine{color:#adc1a9;font-size:.86rem}

/* 404 */
.notfound .nf-mark{width:112px;height:auto}

@media (prefers-reduced-motion:reduce){.ogv-news-card,.ogv-news-card img,.post-nav a{transition:none!important;transform:none!important}}
@media print{.foot-links,.post-nav,.post-actions,.ogv-pager{display:none!important}}

/* Handy-Menü: Einträge über die volle Breite */
@media (max-width:980px){
  .nav ul{width:100%}
  .nav li a:not(.btn){display:block;padding:14px 6px;font-size:1.08rem;border-bottom:1px solid #e2eadd}
  .nav li a:not(.btn)::after{display:none}
  .nav li a.btn{display:block;margin-top:14px;padding:14px 18px;font-size:1.02rem;text-align:center;border-bottom:2px solid #115b4e}
}

/* Startseite: fünf Einstiege ohne Lücke */
@media (min-width:900px) and (max-width:1100px){.v-tiles{grid-template-columns:repeat(5,1fr)}.v-tile{padding-left:14px;padding-right:14px}}
@media (min-width:561px) and (max-width:899px){.v-tiles{grid-template-columns:repeat(6,1fr)}.v-tiles .v-tile{grid-column:span 2}.v-tiles .v-tile:nth-child(n+4){grid-column:span 3}}

/* Inhalt sofort zeigen (keine Einblendung der ganzen Seite) */
body{animation:none}
