/* FreiDeCa Veranstaltungen rund um den Grüntensee 2.0 – gemeinsames FreiDeCa-Design */
.fdc-ev{--t:#14231b;--t2:#1f3328;--moos:#637f45;--moos-h:#a9c08a;--salbei:#e4e9da;--kalk:#f2efe8;--linie:#cdd5c0;--text:#17231c;--mute:#56645b;--gelb:#f2c230;color:var(--text);font-size:1rem;line-height:1.5;margin:clamp(28px,5vw,56px) 0}
.fdc-ev *,.fdc-ev *::before,.fdc-ev *::after{box-sizing:border-box}
.fdc-ev [hidden]{display:none!important}
.fdc-ev p{margin:0}
.fdc-ev .fdc-ev-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.fdc-ev button{font:inherit}

/* Kopf */
.fdc-ev-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px 28px;flex-wrap:wrap;margin-bottom:18px}
.fdc-ev .fdc-ev-title{margin:0;font-size:clamp(2rem,5.4vw,3.6rem);line-height:.98;font-weight:900;text-transform:uppercase;color:var(--t)}
.fdc-ev-title span{display:block}.fdc-ev-title span+span{color:var(--moos)}
.fdc-ev-head p{margin-top:10px;color:var(--mute);max-width:48em}
.fdc-ev-weather{display:flex;align-items:center;gap:12px;background:var(--t);color:#fff;border-radius:16px;padding:12px 16px}
.fdc-ev-weather__t{font-size:1.8rem;font-weight:900;line-height:1}
.fdc-ev-weather__l{display:flex;flex-direction:column;font-weight:700;line-height:1.2}
.fdc-ev-weather__l small{font-size:.72rem;color:var(--moos-h);font-weight:800;letter-spacing:.04em;text-transform:uppercase}

/* Neuigkeiten */
.fdc-ev-news{background:var(--salbei);border-radius:18px;padding:16px 18px;margin-bottom:16px}
.fdc-ev .fdc-ev-news__title{margin:0 0 8px;font-size:.8rem;letter-spacing:.06em;text-transform:uppercase;color:var(--moos);font-weight:900}
.fdc-ev-news__list{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:10px}
.fdc-ev-news__item{background:#fff;border-radius:12px;padding:12px 14px}
.fdc-ev-news__item.is-own{border-left:4px solid var(--moos)}
.fdc-ev-news__meta{font-size:.75rem;color:var(--mute);font-weight:700}
.fdc-ev .fdc-ev-news__item h3,.fdc-ev .fdc-ev-news__item h4{margin:2px 0 0;font-size:1rem;line-height:1.3;color:var(--t)}
.fdc-ev-news__item a{color:var(--t);text-decoration:underline;text-underline-offset:3px}
.fdc-ev-news__item p{margin-top:4px;font-size:.9rem;color:var(--mute)}

/* Werkzeuge */
.fdc-ev-tools{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,220px) auto;gap:10px;align-items:center;background:var(--kalk);border-radius:18px;padding:12px}
.fdc-ev-search{position:relative;display:block;margin:0}
.fdc-ev-search svg{position:absolute;left:14px;top:50%;width:18px;height:18px;margin-top:-9px;fill:none;stroke:var(--mute);stroke-width:2.2;stroke-linecap:round}
.fdc-ev input[type=search],.fdc-ev select,.fdc-ev-f input,.fdc-ev-f textarea{width:100%;min-height:48px;margin:0;padding:10px 12px;font:inherit;font-size:1rem;color:var(--text);background:#fff;border:1.5px solid var(--linie);border-radius:12px;box-shadow:none}
.fdc-ev input[type=search]{padding-left:42px}
.fdc-ev input:focus,.fdc-ev select:focus,.fdc-ev textarea:focus{outline:none;border-color:var(--moos);box-shadow:0 0 0 3px rgba(99,127,69,.2)}
.fdc-ev-cat{margin:0}
.fdc-ev-view{display:flex;background:#fff;border:1.5px solid var(--linie);border-radius:12px;padding:3px}
.fdc-ev .fdc-ev-view button{border:0;background:transparent;border-radius:9px;padding:9px 16px;font-weight:800;color:var(--t);cursor:pointer}
.fdc-ev .fdc-ev-view button[aria-pressed=true]{background:var(--t);color:#fff}
.fdc-ev-refresh{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.fdc-ev .fdc-ev-refresh__button{border:0;border-radius:10px;padding:9px 13px;background:var(--moos);color:#fff;font-weight:800;cursor:pointer}
.fdc-ev .fdc-ev-refresh__button:hover{background:#56713a;color:#fff}
.fdc-ev .fdc-ev-refresh__button:disabled{opacity:.65;cursor:wait}
.fdc-ev-refresh [data-manual-sync-status]{font-size:.85rem;color:var(--t)}
.fdc-ev-refresh--prominent{margin:10px 0 16px;padding:12px 14px;background:var(--kalk);border-radius:14px}
.fdc-ev .fdc-ev-refresh--prominent .fdc-ev-refresh__button{min-height:48px;padding:11px 18px;font-size:1rem}
.fdc-ev-chips{display:flex;gap:6px;overflow-x:auto;padding:10px 2px 2px;scrollbar-width:thin}
.fdc-ev .fdc-ev-chips button{flex:none;border:1.5px solid var(--linie);background:#fff;color:var(--t);border-radius:999px;padding:7px 14px;font-weight:700;font-size:.9rem;cursor:pointer;white-space:nowrap}
.fdc-ev .fdc-ev-chips button:hover{border-color:var(--moos)}
.fdc-ev .fdc-ev-chips button[aria-pressed=true]{background:var(--t);border-color:var(--t);color:#fff}
.fdc-ev-chips small{display:inline-block;min-width:20px;margin-left:4px;padding:0 6px;border-radius:999px;background:var(--salbei);color:var(--t);font-weight:800;font-size:.75rem;text-align:center}
.fdc-ev-chips button[aria-pressed=true] small{background:var(--moos-h)}
.fdc-ev-summary{margin:14px 2px 4px;font-weight:800;color:var(--t)}

/* Liste */
.fdc-ev .fdc-ev-day{margin:20px 0 8px;font-size:.85rem;letter-spacing:.05em;text-transform:uppercase;color:var(--moos);font-weight:900}
.fdc-ev-card{background:#fff;border:1.5px solid var(--linie);border-radius:16px;margin-bottom:8px;overflow:hidden;transition:border-color .15s}
.fdc-ev-card:hover{border-color:var(--moos)}
.fdc-ev-card.is-featured{border-color:var(--gelb);box-shadow:inset 4px 0 0 var(--gelb)}
.fdc-ev-card.is-flash{animation:fdcEvFlash 1.6s ease}
@keyframes fdcEvFlash{0%,40%{box-shadow:0 0 0 4px var(--moos-h)}100%{box-shadow:none}}
.fdc-ev .fdc-ev-card__head{display:grid;grid-template-columns:auto 1fr auto;gap:14px;align-items:center;width:100%;padding:12px 14px;border:0;background:transparent;text-align:left;cursor:pointer;color:var(--text)}
.fdc-ev-date{display:flex;flex-direction:column;align-items:center;justify-content:center;width:58px;height:58px;border-radius:12px;background:var(--t);color:#fff;line-height:1}
.fdc-ev-date b{font-size:1.5rem;font-weight:900}.fdc-ev-date span{font-size:.72rem;font-weight:800;text-transform:uppercase;color:var(--gelb);margin-top:3px}
.fdc-ev-card__main strong{display:block;font-size:1.05rem;line-height:1.25;color:var(--t)}
.fdc-ev-card__main small{display:block;margin-top:2px;color:var(--mute);font-size:.9rem}
.fdc-ev-tags{display:flex;flex-wrap:wrap;gap:5px;margin-top:6px}
.fdc-ev-tags i{font-style:normal;font-size:.75rem;font-weight:700;padding:2px 8px;border-radius:999px;background:var(--salbei);color:var(--t)}
.fdc-ev-tags i.is-dist{background:var(--kalk);color:var(--mute)}
.fdc-ev-card__img{width:84px;height:62px;object-fit:cover;border-radius:10px}
.fdc-ev-card__body{padding:0 14px 14px 86px}
.fdc-ev-card__body p{color:var(--text);white-space:pre-line}
.fdc-ev-card__body dl{display:grid;grid-template-columns:auto 1fr;gap:4px 12px;margin:10px 0 0;font-size:.92rem}
.fdc-ev-card__body dt{color:var(--mute)}.fdc-ev-card__body dd{margin:0;font-weight:700}
.fdc-ev-links{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}
.fdc-ev .fdc-ev-link{display:inline-flex;align-items:center;min-height:38px;padding:6px 14px;border-radius:10px;border:1.5px solid var(--linie);color:var(--t);font-weight:800;font-size:.9rem;text-decoration:none;background:#fff}
.fdc-ev .fdc-ev-link:hover{border-color:var(--t);color:var(--t)}
.fdc-ev .fdc-ev-link.is-primary{background:var(--moos);border-color:var(--moos);color:#fff}
.fdc-ev-near{margin-top:12px;padding-top:10px;border-top:1px dashed var(--linie);display:flex;flex-wrap:wrap;gap:6px;align-items:center;font-size:.85rem}
.fdc-ev-near span{width:100%;font-weight:800;color:var(--mute)}
.fdc-ev-near em{font-style:normal;background:var(--kalk);border-radius:999px;padding:3px 10px}
.fdc-ev-empty{padding:18px;border-radius:14px;background:var(--kalk);color:var(--mute)}
.fdc-ev-empty a{color:var(--t);font-weight:800}

/* Karte */
.fdc-ev-mapwrap{position:relative;height:560px;border-radius:20px;overflow:hidden;background:var(--t);margin-top:12px}
.fdc-ev-map{position:absolute;inset:0}
.fdc-ev-consent{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:8px;max-width:420px;margin:auto;padding:22px;color:#fff}
.fdc-ev-consent strong{font-size:1.2rem}.fdc-ev-consent p{color:rgba(255,255,255,.8);font-size:.92rem}
.fdc-ev .fdc-ev-consent button{min-height:48px;padding:10px 20px;border:0;border-radius:12px;background:var(--moos);color:#fff;font-weight:800;cursor:pointer}
.fdc-ev-consent label{display:flex;gap:8px;align-items:center;font-size:.85rem;color:rgba(255,255,255,.8)}
.fdc-ev-pin{width:30px;height:30px;border-radius:50% 50% 50% 0;transform:rotate(-45deg);display:grid;place-items:center;background:var(--moos,#637f45);border:3px solid #fff;box-shadow:0 3px 8px rgba(0,0,0,.35)}
.fdc-ev-pin span{transform:rotate(45deg);color:#fff;font:900 12px/1 system-ui,sans-serif}
.fdc-ev-pin.is-center{background:#14231b;width:34px;height:34px}

/* Veranstaltung melden */
.fdc-ev-submit{margin-top:22px;border:1.5px solid var(--linie);border-radius:18px;background:#fff}
.fdc-ev-submit summary{list-style:none;cursor:pointer;padding:16px 18px;display:flex;flex-direction:column;gap:2px}
.fdc-ev-submit summary::-webkit-details-marker{display:none}
.fdc-ev-submit summary span{font-weight:900;font-size:1.1rem;color:var(--t)}
.fdc-ev-submit summary span::after{content:" +";color:var(--moos)}
.fdc-ev-submit[open] summary span::after{content:" –"}
.fdc-ev-submit summary small{color:var(--mute)}
.fdc-ev-submit form{padding:0 18px 18px}
.fdc-ev-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 12px}
.fdc-ev-f{display:flex;flex-direction:column;gap:4px;font-weight:800;font-size:.85rem;color:var(--t);margin:0}
.fdc-ev-f--wide{grid-column:1/-1}
.fdc-ev-f em,.fdc-ev-check em{font-style:normal;color:#a8321f;font-size:.8rem}
.fdc-ev-f.has-error input,.fdc-ev-f.has-error select{border-color:#a8321f}
.fdc-ev-check{display:flex;gap:8px;align-items:flex-start;margin:14px 0 0;font-size:.9rem;flex-wrap:wrap}
.fdc-ev-check input{width:20px;height:20px;accent-color:var(--moos);margin:0}
.fdc-ev-check span{flex:1}
.fdc-ev-hp{position:absolute!important;left:-9999px}
.fdc-ev .fdc-ev-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:50px;margin-top:14px;padding:10px 20px;border:0;border-radius:12px;background:var(--moos);color:#fff;font-weight:800;text-decoration:none;cursor:pointer}
.fdc-ev .fdc-ev-btn:hover{background:#56713a;color:#fff}
.fdc-ev-status{margin-top:10px!important;font-weight:700}
.fdc-ev-contact{padding:0 18px 16px;color:var(--mute);font-size:.9rem}
.fdc-ev-contact a{color:var(--t);font-weight:800}
.fdc-ev-foot{margin-top:14px!important;font-size:.8rem;color:var(--mute)}

/* Startseiten-Hinweis */
.fdc-ev-teaser{background:var(--kalk);border-radius:24px;padding:clamp(18px,4vw,32px)}
.fdc-ev-teaser__head{display:flex;justify-content:space-between;align-items:flex-end;gap:12px 24px;flex-wrap:wrap}
.fdc-ev .fdc-ev-teaser__kicker{font-size:.8rem;font-weight:900;letter-spacing:.06em;text-transform:uppercase;color:var(--moos)}
.fdc-ev .fdc-ev-teaser h2{margin:2px 0 0;font-size:clamp(1.5rem,3.4vw,2.2rem);line-height:1.12;font-weight:800;color:var(--t)}
.fdc-ev .fdc-ev-teaser__welcome{max-width:58em;margin-top:8px;color:var(--mute);font-size:.98rem}
.fdc-ev-teaser__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:10px;margin-top:16px}
.fdc-ev .fdc-ev-tcard{display:grid;grid-template-columns:auto 1fr;gap:12px;align-items:center;padding:12px;background:#fff;border:1.5px solid var(--linie);border-radius:16px;color:var(--text);text-decoration:none;transition:border-color .15s,transform .15s}
.fdc-ev .fdc-ev-tcard:hover{border-color:var(--moos);transform:translateY(-2px);color:var(--text)}
.fdc-ev-tcard__body strong{display:block;line-height:1.25;color:var(--t)}
.fdc-ev-tcard__body small{display:block;color:var(--mute);font-size:.86rem;margin-top:2px}
.fdc-ev-news--teaser{margin:0;padding:12px 14px}
.fdc-ev-teaser__more{margin-top:16px}

@media(max-width:760px){
 .fdc-ev-tools{grid-template-columns:1fr auto}
 .fdc-ev-search{grid-column:1/-1}
 .fdc-ev-grid{grid-template-columns:1fr 1fr}
 .fdc-ev-card__body{padding:0 14px 14px}
 .fdc-ev .fdc-ev-card__head{grid-template-columns:auto 1fr}
 .fdc-ev-mapwrap{height:60vh;min-height:340px}
}
@media(max-width:480px){.fdc-ev-grid{grid-template-columns:1fr}.fdc-ev-weather{width:100%}}
@media(prefers-reduced-motion:reduce){.fdc-ev *{animation:none!important;transition:none!important}}
@media(min-width:761px){.fdc-ev-chips{flex-wrap:wrap;overflow:visible}}

/* 2.1: Bilder bzw. Motive, Startseiten-Karten mit Bild */
.fdc-ev-ph{position:relative;display:block;overflow:hidden;background:linear-gradient(160deg,#1f3328 0%,#14231b 100%)}
.fdc-ev-ph__hills{position:absolute;left:0;right:0;bottom:0;width:100%;height:55%}
.fdc-ev-ph__hills path{fill:#2b4435}.fdc-ev-ph__hills path+path{fill:#34503f}
.fdc-ev-ph__icon{position:absolute;left:50%;top:44%;width:34%;max-width:64px;aspect-ratio:1;transform:translate(-50%,-50%);fill:none;stroke:#a9c08a;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.fdc-ev-ph--markt{background:linear-gradient(160deg,#637f45,#3d5429)}
.fdc-ev-ph--musik{background:linear-gradient(160deg,#2f4f5f,#1b2f39)}
.fdc-ev-ph--brauch{background:linear-gradient(160deg,#7a5a2f,#4a3519)}
.fdc-ev-ph--advent{background:linear-gradient(160deg,#6b2b2b,#3f1717)}
.fdc-ev-ph--fest{background:linear-gradient(160deg,#8a6d1f,#5a4510)}
.fdc-ev-ph--advent .fdc-ev-ph__icon,.fdc-ev-ph--fest .fdc-ev-ph__icon{stroke:#f2c230}
.fdc-ev-card__img{display:block;width:84px;height:62px;border-radius:10px;overflow:hidden}
.fdc-ev-card__img img{width:100%;height:100%;object-fit:cover;display:block}
.fdc-ev-teaser__cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:16px}
.fdc-ev-teaser.fdc-ev .fdc-ev-tcard{position:relative;display:flex;flex-direction:column;align-items:stretch;gap:0;padding:0;overflow:hidden}
.fdc-ev-tcard__img{display:block;aspect-ratio:16/9;width:100%}
.fdc-ev-tcard__img img{width:100%;height:100%;object-fit:cover;display:block}
.fdc-ev-teaser .fdc-ev-tcard .fdc-ev-date{position:absolute;left:12px;top:12px;width:52px;height:52px;box-shadow:0 4px 12px rgba(0,0,0,.25)}
.fdc-ev-teaser .fdc-ev-tcard__body{padding:12px 14px 14px}
.fdc-ev-teaser .fdc-ev-news--teaser{margin-top:12px}
@media(max-width:900px){.fdc-ev-teaser__cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){
 .fdc-ev-teaser__cards{grid-template-columns:1fr;gap:8px}
 .fdc-ev-teaser.fdc-ev .fdc-ev-tcard{flex-direction:row;align-items:center}
 .fdc-ev-teaser .fdc-ev-tcard__img{width:96px;min-width:96px;aspect-ratio:1;align-self:stretch}
 .fdc-ev-teaser .fdc-ev-tcard .fdc-ev-date{left:8px;top:8px;width:40px;height:40px}
 .fdc-ev-teaser .fdc-ev-tcard .fdc-ev-date b{font-size:1.1rem}
 .fdc-ev-teaser .fdc-ev-tcard__img .fdc-ev-ph__icon{display:none}
 .fdc-ev-teaser .fdc-ev-tcard .fdc-ev-date{left:50%;top:50%;transform:translate(-50%,-50%)}
 .fdc-ev-card__img{display:block!important;width:64px;height:64px}
 .fdc-ev .fdc-ev-card__head{grid-template-columns:auto 1fr auto}
}

/* 2.2: Originalfotos */
.has-photo{position:relative;overflow:hidden;background:#1f3328}
.has-photo img{transition:transform .5s ease}
a:hover .has-photo img,.fdc-ev-card__head:hover .has-photo img{transform:scale(1.04)}
.fdc-ev-credit{position:absolute;right:6px;bottom:6px;max-width:90%;padding:2px 7px;border-radius:6px;background:rgba(20,35,27,.72);color:#fff;font-size:.66rem;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fdc-ev-card__img.has-photo .fdc-ev-credit{display:none}
@media(min-width:761px){
 .fdc-ev .fdc-ev-card__head{grid-template-columns:auto 1fr auto}
 .fdc-ev-card__img.has-photo{width:168px;height:112px;border-radius:12px}
 .fdc-ev-card__img.has-photo .fdc-ev-credit{display:block}
}
/* Startseite: Highlight mit Foto */
.fdc-ev-teaser.fdc-ev .fdc-ev-tcard.is-hero{grid-column:span 2;grid-row:span 2}
.fdc-ev-teaser .fdc-ev-tcard.is-hero .fdc-ev-tcard__img{aspect-ratio:auto;flex:1;min-height:260px}
.fdc-ev-teaser .fdc-ev-tcard.is-hero .fdc-ev-tcard__body strong{font-size:1.35rem}
.fdc-ev-tcard__tip{display:inline-block;margin-bottom:4px;padding:2px 9px;border-radius:999px;background:#f2c230;color:#14231b;font-style:normal;font-weight:900;font-size:.72rem;letter-spacing:.05em;text-transform:uppercase}
.fdc-ev-tcard__teaser{display:block;margin-top:6px;color:#56645b;font-size:.92rem}
@media(max-width:900px){.fdc-ev-teaser.fdc-ev .fdc-ev-tcard.is-hero{grid-column:1/-1;grid-row:auto}}
@media(max-width:560px){
 .fdc-ev-teaser.fdc-ev .fdc-ev-tcard.is-hero{flex-direction:column}
 .fdc-ev-teaser .fdc-ev-tcard.is-hero .fdc-ev-tcard__img{width:100%;min-height:0;aspect-ratio:16/9}
 .fdc-ev-teaser .fdc-ev-tcard.is-hero .fdc-ev-date{left:12px;top:12px;transform:none}
}
