/*
Theme Name: Vorsee Modern
Theme URI: https://www.vorsee.de/
Author: Martinsgemeinde Vorsee e.V.
Description: Modernes, responsives WordPress-Theme für Vorsee. Beiträge, Seiten und Menüs werden aus WordPress übernommen.
Version: 0.3.15
Text Domain: vorsee-modern
*/
:root{--green:#1f5b45;--green2:#eaf2ed;--ink:#17231e;--muted:#65716b;--paper:#fff;--line:#dfe7e2;--radius:22px;--max:1160px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:#f7f9f7;line-height:1.6}a{color:var(--green)}img{max-width:100%;height:auto}.wrap{width:min(calc(100% - 32px),var(--max));margin:auto}.site-header{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.94);backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}.header-inner{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{text-decoration:none;color:var(--ink);display:flex;align-items:center;gap:12px}.brand-mark{width:42px;height:42px;border-radius:14px;background:var(--green);color:#fff;display:grid;place-items:center;font-weight:800}.brand strong{display:block;font-size:1.08rem}.brand small{display:block;color:var(--muted)}.nav ul{display:flex;gap:24px;list-style:none;margin:0;padding:0}.nav a{text-decoration:none;color:var(--ink);font-weight:650}.hero{padding:72px 0 46px}.hero-card{min-height:480px;border-radius:32px;overflow:hidden;display:grid;align-items:end;padding:48px;color:#fff;background:linear-gradient(115deg,rgba(15,50,37,.88),rgba(15,50,37,.22)),linear-gradient(160deg,#5e856e,#bfd0c3)}.hero-copy{max-width:680px}.eyebrow{text-transform:uppercase;letter-spacing:.14em;font-size:.78rem;font-weight:800}.hero h1{font-size:clamp(2.7rem,7vw,5.7rem);line-height:.95;margin:.12em 0 .25em}.hero p{font-size:1.15rem;max-width:610px}.button{display:inline-block;padding:13px 20px;border-radius:999px;background:#fff;color:var(--green);text-decoration:none;font-weight:800;margin-top:10px}.section{padding:42px 0}.section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:22px}.section h2{font-size:clamp(2rem,4vw,3rem);margin:0}.section-head p{color:var(--muted);max-width:550px}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.card{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:26px;box-shadow:0 12px 35px rgba(31,91,69,.06)}.card h3{margin-top:0}.meta{font-size:.88rem;color:var(--muted);font-weight:700}.post-card a{text-decoration:none;color:inherit}.post-card .more{color:var(--green);font-weight:800}.event{display:grid;grid-template-columns:68px 1fr;gap:16px;align-items:start}.datebox{border-radius:16px;background:var(--green2);text-align:center;padding:9px}.datebox b{display:block;font-size:1.55rem;line-height:1}.datebox span{font-size:.75rem;text-transform:uppercase;font-weight:800}.feature{background:var(--green);color:#fff}.feature a{color:#fff}.content{background:#fff;border-radius:var(--radius);padding:32px;border:1px solid var(--line)}.site-footer{margin-top:54px;background:#173d30;color:#dbe7e0;padding:48px 0}.footer-grid{display:grid;grid-template-columns:2fr 1fr;gap:30px}.site-footer a{color:#fff}.site-footer h3{color:#fff}.menu-toggle{display:none}.notice{padding:14px 18px;background:#fff7dc;border:1px solid #ead99b;border-radius:14px;margin:20px 0}.wp-caption-text,.gallery-caption{color:var(--muted)}@media(max-width:800px){.menu-toggle{display:block;border:0;background:var(--green2);padding:10px 13px;border-radius:12px;font-weight:800}.nav{display:none;position:absolute;top:76px;left:0;right:0;background:#fff;border-bottom:1px solid var(--line);padding:20px 16px}.nav.open{display:block}.nav ul{display:grid;gap:12px}.hero{padding-top:28px}.hero-card{min-height:430px;padding:28px}.grid,.footer-grid{grid-template-columns:1fr}.section-head{display:block}}

.brand-logo{width:46px;height:46px;object-fit:contain;border-radius:12px}.hero-card{background-size:cover;background-position:center}.card-image{display:block;margin:-26px -26px 20px;overflow:hidden;border-radius:22px 22px 0 0}.card-image img{width:100%;height:210px;object-fit:cover;display:block}.event-link{text-decoration:none;color:inherit;transition:transform .18s ease,box-shadow .18s ease}.event-link:hover{transform:translateY(-3px);box-shadow:0 18px 40px rgba(31,91,69,.12)}.photo-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.photo-grid figure{margin:0;border-radius:18px;overflow:hidden;aspect-ratio:4/3;background:var(--green2)}.photo-grid img{width:100%;height:100%;object-fit:cover;display:block}.site-footer ul{list-style:none;margin:0;padding:0}.site-footer .menu{display:grid;gap:6px}@media(max-width:800px){.photo-grid{grid-template-columns:repeat(2,1fr)}}

/* v0.3 */
.section-actions{display:flex;align-items:center;gap:12px}.button-secondary{display:inline-block;padding:11px 17px;border:1px solid var(--line);border-radius:999px;background:#fff;text-decoration:none;font-weight:800}.post-card{display:flex;flex-direction:column}.post-card .more{margin-top:auto;padding-top:10px}.post-card h3{font-size:1.28rem;line-height:1.25;margin:.45rem 0}.festival{position:relative;overflow:hidden;padding:38px;background:linear-gradient(120deg,#173d30,#2d6c52);color:#fff}.festival:after{content:"";position:absolute;width:260px;height:260px;border-radius:50%;right:-80px;top:-120px;background:rgba(255,255,255,.08)}.festival-grid{display:grid;grid-template-columns:1.5fr .8fr;gap:28px;align-items:center}.festival .eyebrow,.festival a{color:#fff}.festival h2{margin:.15em 0;font-size:clamp(2rem,4vw,3.4rem)}.festival-date{position:relative;z-index:1;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.22);border-radius:20px;padding:22px;text-align:center}.festival-date strong{font-size:2.3rem;display:block;line-height:1.1}.gallery-link figure{transition:transform .18s ease}.gallery-link:hover figure{transform:translateY(-3px)}.event h3{margin-bottom:.25rem}.event p{margin:0;color:var(--muted)}.site-footer{padding-bottom:28px}.footer-bottom{border-top:1px solid rgba(255,255,255,.12);margin-top:30px;padding-top:20px;font-size:.9rem;color:#bcd0c5}@media(max-width:800px){.festival-grid{grid-template-columns:1fr}.festival{padding:28px}.section-actions{margin-top:14px}.card-image img{height:190px}}@media(max-width:520px){.photo-grid{grid-template-columns:1fr}.hero-card{min-height:390px}.hero h1{font-size:2.7rem}.section{padding:32px 0}}

/* v0.3.1 Vorsee-Logo */
.brand-logo-fallback{background:transparent;border-radius:0}

/* v0.3.2: default Vorsee rainbow hero image; Customizer image still overrides it. */
.hero-card{background-size:cover;background-position:center center;background-repeat:no-repeat}
@media(max-width:800px){.hero-card{background-position:center center}}

/* v0.3.4: Anfahrt */
.anfahrt-map{margin-top:28px;border-radius:22px;overflow:hidden;border:1px solid var(--line);background:var(--green2);box-shadow:0 12px 35px rgba(31,91,69,.08)}
.anfahrt-map iframe{display:block;width:100%;min-height:480px}
.anfahrt-actions{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:20px;padding:20px 22px;border-radius:18px;background:var(--green2)}
.anfahrt-actions p{margin:0}.route-button{margin:0;background:var(--green);color:#fff;white-space:nowrap}
@media(max-width:700px){.anfahrt-map iframe{min-height:380px;height:380px}.anfahrt-actions{display:block}.route-button{margin-top:12px}}

/* v0.3.7: compact preview images in Aktuelles */
.post-card .preview-image{display:block;margin:-26px -26px 18px;overflow:hidden;border-radius:22px 22px 0 0;aspect-ratio:16/9;background:var(--green2)}
.post-card .preview-image img{width:100%;height:100%;object-fit:cover;display:block}
@media(max-width:800px){.post-card .preview-image{aspect-ratio:16/8}}

/* v0.3.9: Leaflet-Anfahrt und Footer-Login */
#vorsee-map{width:100%;height:480px;min-height:480px;background:var(--green2)}
.footer-legal{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center}
.footer-legal a{white-space:nowrap}
@media(max-width:700px){#vorsee-map{height:380px;min-height:380px}}

/* v0.3.14: Imagely/NextGEN-Vorschau */
.vorsee-nextgen-preview .ngg-galleryoverview,
.vorsee-nextgen-preview .ngg-gallery-thumbnail-box,
.vorsee-nextgen-preview .ngg-gallery-thumbnail{margin:0!important}
.vorsee-nextgen-preview .ngg-galleryoverview{display:grid!important;grid-template-columns:repeat(3,1fr);gap:14px}
.vorsee-nextgen-preview .ngg-gallery-thumbnail-box{float:none!important;width:auto!important}
.vorsee-nextgen-preview .ngg-gallery-thumbnail{width:100%!important}
.vorsee-nextgen-preview .ngg-gallery-thumbnail img{width:100%!important;height:220px!important;object-fit:cover;border:0!important;padding:0!important;border-radius:18px}
@media(max-width:800px){.vorsee-nextgen-preview .ngg-galleryoverview{grid-template-columns:repeat(2,1fr)}}
@media(max-width:520px){.vorsee-nextgen-preview .ngg-galleryoverview{grid-template-columns:1fr}}
