/*
Theme Name: Youthwork Theme
Author: Youthwork Project
Description: Schlankes Theme für die Youthwork Methodendatenbank.
Version: 4.3
Requires PHP: 8.0
*/
:root{--yw-blue:#0073aa;--yw-deep:#174f6c;--yw-bg:#f4f6f8;--yw-border:#dce5eb;--yw-radius:12px;--yw-font:system-ui,-apple-system,"Segoe UI",sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--yw-bg);color:#23333c;font-family:var(--yw-font);line-height:1.65}a{color:var(--yw-blue)}.yw-container{width:min(1100px,calc(100% - 34px));margin:0 auto}.yw-header{background:#fff;border-bottom:1px solid var(--yw-border)}.yw-header-inner{display:flex;align-items:center;justify-content:space-between;min-height:78px;gap:20px}.yw-brand{font-size:1.5rem;font-weight:800;text-decoration:none;color:var(--yw-deep)}.yw-nav{display:flex;gap:20px;flex-wrap:wrap}.yw-main{padding:45px 0}.yw-method{padding-top:35px;padding-bottom:60px}.yw-method h1{font-size:clamp(2rem,4vw,3rem);line-height:1.18;margin:25px 0 15px;color:var(--yw-deep)}.yw-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}.yw-tool-actions{display:flex;align-items:center;gap:12px}.yw-languages{display:flex;background:#fff;border:1px solid var(--yw-border);border-radius:9px;overflow:hidden}.yw-languages a{padding:7px 10px;text-decoration:none;font-weight:700}.yw-languages .active{background:var(--yw-blue);color:white}.yw-print,.yw-filter button{background:var(--yw-blue);border:0;color:#fff;padding:10px 15px;border-radius:8px;font-weight:700;cursor:pointer}.yw-category-tags{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:25px}.yw-category-tags span{font-size:.83rem;border-radius:20px;background:#e3f1fa;color:#075c8e;padding:4px 11px}.yw-section{background:white;border:1px solid var(--yw-border);border-radius:var(--yw-radius);overflow:hidden;margin:0 0 20px;box-shadow:0 2px 7px #102e4010;break-inside:avoid-page}.yw-section>h2{margin:0;padding:16px 23px;background:#eaf2f6;color:var(--yw-deep);font-size:1.2rem;border-bottom:1px solid var(--yw-border)}.yw-section-body{padding:21px 23px}.yw-field+.yw-field{margin-top:20px;padding-top:16px;border-top:1px solid #edf1f4}.yw-field h3{margin:0 0 6px;font-size:1rem;color:var(--yw-deep)}.yw-value{white-space:normal;overflow-wrap:anywhere}.yw-catalog{display:grid;grid-template-columns:295px 1fr;gap:28px}.yw-filter{background:#fff;border:1px solid var(--yw-border);padding:20px;border-radius:12px;align-self:start}.yw-filter input[type=search]{padding:9px;width:100%;border:1px solid #b8cbd5;border-radius:6px}.yw-filter h3{margin:20px 0 10px}.yw-check{display:block;padding:8px 0;border-bottom:1px solid #eef2f4;color:var(--yw-deep);font-weight:600;font-size:.9rem}.yw-filter button{margin-top:18px}.yw-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:15px}.yw-result{background:#fff;padding:20px;border:1px solid var(--yw-border);border-radius:12px;text-decoration:none}.yw-result h3{margin:0;color:var(--yw-blue)}.yw-result p{margin-bottom:0;color:#52636d}.yw-footer{border-top:1px solid var(--yw-border);background:#fff;padding:24px 0;font-size:.88rem;color:#567}@media(max-width:700px){.yw-catalog{grid-template-columns:1fr}.yw-header-inner{align-items:start;flex-direction:column;padding:15px 0}.yw-toolbar{align-items:start}.yw-section-body{padding:16px}}@media print{@page{size:A4;margin:14mm}body{background:#fff;color:#000;font-size:10pt}.yw-header,.yw-footer,.yw-toolbar,.yw-print,.yw-category-tags{display:none!important}.yw-method{width:100%;padding:0;margin:0}.yw-method h1{color:#000;font-size:19pt;margin:0 0 6mm}.yw-section{border:1px solid #aaa;box-shadow:none;margin-bottom:4mm;border-radius:0;break-inside:avoid-page}.yw-section>h2{background:#eee!important;color:#000;padding:3mm 4mm;font-size:12pt;-webkit-print-color-adjust:exact;print-color-adjust:exact}.yw-section-body{padding:4mm}.yw-field+.yw-field{margin-top:3mm;padding-top:2mm}}

.yw-range-fields{display:grid;gap:10px;margin-top:20px}.yw-range-fields label,.yw-public-form label{display:grid;gap:5px;font-weight:600;font-size:.9rem}.yw-range-fields input,.yw-public-form input:not([type=checkbox]),.yw-public-form textarea{width:100%;padding:11px;border:1px solid #b7c8d2;border-radius:7px;background:white;font:inherit}.yw-pagination{margin:24px 0}.yw-pagination .page-numbers{padding:7px 12px;background:#fff;border:1px solid var(--yw-border);border-radius:6px;text-decoration:none}.yw-pagination .current{background:var(--yw-blue);color:white}.yw-public-form{max-width:680px;background:white;padding:28px;border:1px solid var(--yw-border);border-radius:12px;display:grid;gap:17px}.yw-public-form button{background:var(--yw-blue);color:white;border:0;padding:12px 24px;border-radius:8px;cursor:pointer}.yw-public-form .yw-consent{display:flex;gap:10px;align-items:start}.yw-hp{position:absolute;left:-9999px}.yw-print-furniture{display:none}
@media print{.yw-print-furniture{display:block}.yw-print-art{position:fixed;inset:0;pointer-events:none;z-index:1}.yw-print-art-item{position:absolute;height:auto;max-width:none}.yw-stamp{position:fixed;z-index:2;font-size:9pt;font-weight:700;letter-spacing:.06em;padding:2mm 4mm;background:white}.yw-stamp-top-left{top:0;left:0}.yw-stamp-top-right{top:0;right:0}.yw-stamp-bottom-left{bottom:0;left:0}.yw-stamp-bottom-right{bottom:0;right:0}.yw-section{break-inside:auto}.yw-section>h2,.yw-field h3{break-after:avoid}.yw-section-body{break-inside:auto}.yw-field{break-inside:avoid}}
.yw-hero{background:linear-gradient(125deg,#eaf5f9 5%,#f9fbfd 60%);padding:80px 0 95px}.yw-hero-inner{display:grid;grid-template-columns:1.4fr 1fr;align-items:center;gap:50px}.yw-eyebrow{font-weight:800;letter-spacing:.16em;color:#0679ad;font-size:.75rem;text-transform:uppercase}.yw-hero h1{font-size:clamp(2.7rem,5vw,5.5rem);line-height:1.08;letter-spacing:-.045em;color:#143d53;margin:16px 0 28px}.yw-hero p:not(.yw-eyebrow){font-size:1.12rem;max-width:650px}.yw-cta{display:inline-flex;margin-top:20px;padding:14px 26px;background:var(--yw-blue);color:#fff;text-decoration:none;border-radius:9px;font-weight:750}.yw-hero-art{min-height:390px;border-radius:40% 16% 45% 12%;background:linear-gradient(145deg,#0073aa,#36acb0);position:relative;overflow:hidden;display:grid;place-items:center;box-shadow:0 24px 60px #0073aa33}.yw-hero-orb{font-size:14rem;color:#fff8;line-height:1}.yw-hero-small{position:absolute;bottom:25px;right:28px;color:white;font-weight:800;letter-spacing:.2em;text-align:right}.yw-home-section{padding-top:75px;padding-bottom:80px}.yw-home-section h2{font-size:clamp(1.9rem,3vw,3rem);color:var(--yw-deep)}.yw-steps{display:grid;grid-template-columns:repeat(5,1fr);gap:14px;margin-top:32px}.yw-step{background:#fff;border-radius:13px;padding:22px;border:1px solid var(--yw-border)}.yw-step strong{color:var(--yw-blue);font-size:1.7rem}.yw-step h3{font-size:1.02rem}.yw-home-contribute{background:#e8f1f5}.yw-contribute-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.yw-contribute-card>.yw-public-form{padding:16px}.yw-contribute-card>h3{font-size:1.28rem;color:var(--yw-deep)}.yw-contribute-card .yw-public-form h2{display:none}.yw-contribute-card .yw-public-form{height:100%}@media(max-width:950px){.yw-steps{grid-template-columns:repeat(3,1fr)}.yw-contribute-grid{grid-template-columns:1fr}.yw-hero-inner{grid-template-columns:1fr}.yw-hero-art{min-height:240px}}@media(max-width:580px){.yw-steps{grid-template-columns:1fr 1fr}.yw-hero{padding:45px 0}.yw-hero h1{font-size:2.65rem}}@media print{.yw-hero,.yw-home-section{display:none}}

/* v2: theme-wide design system, editable via Appearance > Customize */
body{background:var(--yw-bg);color:var(--yw-text);font-size:var(--yw-font-size)}h1,h2,h3,h4{font-family:var(--yw-font-head);color:var(--yw-deep)}.yw-container{width:min(var(--yw-width),calc(100% - 40px))}.yw-header{background:var(--yw-header-bg);z-index:999;border-color:var(--yw-border)}.yw-header-sticky{position:sticky;top:0}.admin-bar .yw-header-sticky{top:32px}.yw-header-inner{min-height:82px}.yw-brand{display:inline-flex;align-items:center;max-width:230px;color:var(--yw-header-text)}.yw-header-logo{max-width:210px;max-height:68px;width:auto;height:auto;object-fit:contain}.yw-nav{align-items:center}.yw-nav a{color:var(--yw-header-text);font-weight:700;text-decoration:none;padding:8px 9px;border-radius:6px}.yw-nav a:hover,.yw-nav a.current{color:var(--yw-blue);background:var(--yw-step-bg)}.yw-languages{flex-shrink:0}.yw-skip{position:absolute;left:-9999px;top:auto}.yw-skip:focus{left:1rem;top:1rem;z-index:99999;background:#fff;padding:12px}.yw-hero{background:var(--yw-hero-bg)}.yw-hero h1{font-family:var(--yw-font-head);font-size:clamp(2.6rem,5.3vw,var(--yw-heading-size));color:var(--yw-deep)}.yw-hero-art-image{background:none;border-radius:24px;box-shadow:none;min-height:0}.yw-hero-art-image img{width:100%;height:auto;max-height:480px;object-fit:cover;border-radius:24px}.yw-cta,.yw-print,.yw-filter button,.yw-public-form button{background:var(--yw-blue);color:var(--yw-button-text);border-radius:var(--yw-radius);transition:background .15s}.yw-cta:hover,.yw-print:hover,.yw-public-form button:hover,.yw-filter button:hover{background:var(--yw-blue-hover);color:var(--yw-button-text)}.yw-eyebrow,.yw-step strong{color:var(--yw-blue);font-family:var(--yw-font-small)}.yw-steps-section{background:var(--yw-steps-bg)}.yw-home-section.yw-steps-section{padding:74px 0}.yw-steps{grid-template-columns:repeat(5,minmax(0,1fr))}.yw-step{background:var(--yw-step-bg);min-width:0}.yw-step p{color:var(--yw-muted);font-size:.92rem;line-height:1.5}.yw-home-contribute{background:var(--yw-contribute-bg)}.yw-contribute-inner{display:grid;grid-template-columns:1fr 1.15fr;gap:55px;align-items:start}.yw-contribute-form{min-width:0}.yw-contribute-form .yw-public-form{max-width:100%;height:auto}.yw-initiative{background:var(--yw-initiative-bg)}.yw-initiative-grid{display:grid;grid-template-columns:1fr 1fr;gap:45px;align-items:center}.yw-initiative-grid>div:only-child{grid-column:1/-1;max-width:900px}.yw-initiative-image img{width:100%;height:auto;max-height:370px;object-fit:cover;border-radius:20px}.yw-partners-section{background:var(--yw-partners-bg);overflow:hidden}.yw-partners-overflow{margin-top:30px}.yw-partners-track{display:flex;gap:24px;align-items:center}.yw-partners-static .yw-partners-track{flex-wrap:wrap;justify-content:center}.yw-partner-item{background:var(--yw-card-bg);display:flex;justify-content:center;align-items:center;width:190px;height:110px;flex-shrink:0;border:1px solid var(--yw-border);border-radius:14px;padding:20px}.yw-partner-item img{object-fit:contain;max-height:76px;max-width:148px;width:auto;height:auto}.yw-partners-marquee .yw-partners-track{width:max-content;animation:yw-logo-scroll 32s linear infinite}.yw-partners-marquee:hover .yw-partners-track{animation-play-state:paused}.yw-partners-repeat{display:flex;gap:24px}@keyframes yw-logo-scroll{to{transform:translateX(-50%)}}@media(prefers-reduced-motion:reduce){.yw-partners-marquee .yw-partners-track{animation:none;flex-wrap:wrap;width:auto;justify-content:center}.yw-partners-repeat{display:none}}.yw-footer{background:var(--yw-footer-bg);color:var(--yw-footer-text);padding:56px 0 22px;border:0}.yw-footer-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:55px}.yw-footer h2,.yw-footer a,.yw-footer strong{color:var(--yw-footer-text)}.yw-footer h2{font-size:1.1rem}.yw-footer a{text-decoration:underline;text-underline-offset:4px}.yw-footer address{font-style:normal;white-space:normal}.yw-footer img{max-width:220px;max-height:85px;width:auto;height:auto}.yw-footer-bottom{border-top:1px solid #ffffff40;margin-top:40px;padding-top:20px;font-size:.82rem}.yw-page-extra{margin-top:28px}.yw-public-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin-top:30px}.yw-public-grid>section{min-width:0}.yw-public-grid .yw-public-form{max-width:none}.yw-public-grid>section:last-child{grid-column:1/-1}.yw-main h1{font-size:clamp(2rem,4vw,3.2rem)}.yw-lead{font-size:1.1rem;max-width:750px}.yw-section{background:var(--yw-card-bg);border-color:var(--yw-border)}.yw-section>h2{background:var(--yw-section-head-bg)}.yw-field+.yw-field{border-color:var(--yw-border)}.yw-filter,.yw-result{background:var(--yw-card-bg);border-color:var(--yw-border)}.yw-result h3{color:var(--yw-blue)}.yw-result:hover{border-color:var(--yw-blue);transform:translateY(-2px);transition:all .15s}.yw-languages a.active{background:var(--yw-blue);color:var(--yw-button-text)}@media(max-width:950px){.yw-contribute-inner,.yw-initiative-grid{grid-template-columns:1fr}.yw-steps{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:750px){.yw-header-inner{flex-wrap:wrap;flex-direction:row;align-items:center;justify-content:space-between}.yw-nav{width:100%;order:3;justify-content:center;gap:3px}.yw-nav a{font-size:.92rem}.yw-languages{margin-left:auto}.yw-footer-grid{grid-template-columns:1fr 1fr}.yw-public-grid{grid-template-columns:1fr}.yw-public-grid>section:last-child{grid-column:auto}}@media(max-width:580px){.yw-steps{grid-template-columns:1fr}.yw-footer-grid{grid-template-columns:1fr}.yw-hero-art{display:none}.yw-header-logo{max-width:150px}.yw-home-section{padding:50px 0}.yw-header-inner{gap:8px}}@media(max-width:782px){.admin-bar .yw-header-sticky{top:46px}}@media print{.yw-header,.yw-footer,.yw-partners-section,.yw-home-contribute{display:none!important}}
/* The sole language selector is in the sticky site header. */
.yw-method .yw-toolbar .yw-languages{display:none!important}

/* v2.1: centrally configurable header logo and spacing */
.yw-header-inner{gap:var(--yw-header-gap,20px);padding-top:var(--yw-header-padding,10px);padding-bottom:var(--yw-header-padding,10px)}
.yw-brand{max-width:var(--yw-header-logo-width,210px);flex-shrink:0}
.yw-header-logo{display:block;width:auto;height:auto;max-width:var(--yw-header-logo-width,210px);max-height:var(--yw-header-logo-height,68px);object-fit:contain}
@media(max-width:580px){.yw-brand{max-width:var(--yw-header-logo-mobile-width,150px)}.yw-header-logo{max-width:var(--yw-header-logo-mobile-width,150px);max-height:var(--yw-header-logo-mobile-height,56px)}}
@media print{.yw-header{display:none!important}}

/* Version 2.2: Four-column footer with responsive wrapping. */
.yw-footer-grid{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) minmax(0,1fr) minmax(0,.85fr);gap:clamp(20px,3vw,42px);align-items:start}
.yw-footer-col{min-width:0;overflow-wrap:anywhere}
.yw-footer-col h2{margin:0 0 16px;font-size:1.08rem}
.yw-footer-col p{margin:0 0 10px}
.yw-footer-links ul{list-style:none;margin:0;padding:0}
.yw-footer-links li{margin:0 0 10px}
.yw-footer-meta-label{font-weight:700}
@media(max-width:1000px){.yw-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:34px}}
@media(max-width:580px){.yw-footer-grid{grid-template-columns:1fr;gap:30px}}

/* Youthwork method catalogue cards v2.3 */
.yw-cards{grid-template-columns:repeat(auto-fill,minmax(min(100%,265px),1fr));gap:20px;align-items:stretch}
.yw-result-modern{display:flex;flex-direction:column;gap:22px;min-height:208px;padding:24px;border-radius:16px;border:1px solid var(--yw-border);box-shadow:0 5px 22px rgba(23,79,108,.07);text-decoration:none;color:var(--yw-text,#24333d);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.yw-result-modern:hover{transform:translateY(-3px);box-shadow:0 10px 27px rgba(23,79,108,.14);border-color:var(--yw-blue)}
.yw-result-modern:focus-visible{outline:3px solid var(--yw-blue);outline-offset:4px}
.yw-result-modern .yw-card-title{font-family:var(--yw-font-head,inherit);font-size:clamp(1.17rem,1.5vw,1.38rem);line-height:1.3;letter-spacing:-.01em;margin:0;color:var(--yw-deep);overflow-wrap:anywhere}
.yw-card-facts{display:flex;flex-wrap:wrap;gap:9px;margin-top:auto}
.yw-card-fact{display:flex;flex-direction:column;gap:2px;padding:8px 12px;background:var(--yw-step-bg,#edf4f8);border:1px solid var(--yw-border);border-radius:10px;min-width:0;max-width:100%}
.yw-card-fact-label{font-size:.68rem;line-height:1.2;letter-spacing:.065em;text-transform:uppercase;font-weight:750;color:var(--yw-muted,#52636d)}
.yw-card-fact-value{font-size:.9rem;line-height:1.35;font-weight:700;color:var(--yw-deep);overflow-wrap:anywhere}
@media(max-width:580px){.yw-cards{grid-template-columns:1fr}.yw-result-modern{min-height:0;padding:19px}}
@media(prefers-reduced-motion:reduce){.yw-result-modern{transition:none}.yw-result-modern:hover{transform:none}}

/* Youthwork full-width method result list v2.4 */
.yw-cards{display:flex;flex-direction:column;gap:13px}
.yw-result-modern{display:flex;flex-direction:row;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:14px 24px;min-height:0;padding:19px 23px;width:100%;transform:none}
.yw-result-modern .yw-card-title{flex:1 1 280px;margin:0;font-size:clamp(1.12rem,1.6vw,1.45rem);line-height:1.35}
.yw-card-facts{display:flex;flex:0 1 auto;justify-content:flex-end;align-items:center;gap:8px;margin:0}
.yw-card-fact{min-width:105px;max-width:220px;padding:7px 12px}
.yw-result-modern:hover{transform:none}
@media(max-width:720px){.yw-result-modern{padding:16px;gap:11px}.yw-result-modern .yw-card-title{flex:1 1 100%}.yw-card-facts{justify-content:flex-start;flex-wrap:wrap;width:100%;gap:6px}.yw-card-fact{min-width:0;flex:1 1 90px}}
/* Persistent actions below the sticky global header */
.yw-method-actionbar{position:sticky;top:var(--yw-actionbar-offset,82px);z-index:995;background:var(--yw-card-bg,#fff);border-bottom:1px solid var(--yw-border,#dde5eb);box-shadow:0 5px 13px rgba(0,0,0,.07)}
.yw-method-actionbar-inner{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:66px;padding-top:9px;padding-bottom:9px}
.yw-method-back{font-weight:750;color:var(--yw-deep);text-decoration:none;border:1px solid var(--yw-border);border-radius:9px;padding:10px 15px;background:var(--yw-card-bg,#fff)}
.yw-method-back:hover{border-color:var(--yw-blue);color:var(--yw-blue)}
.yw-method-print{white-space:nowrap}.yw-method{padding-top:16px}
@media(max-width:750px){.yw-method-actionbar-inner{min-height:56px;padding-top:7px;padding-bottom:7px}.yw-method-back,.yw-method-print{font-size:.86rem;padding:9px 11px}}
@media print{.yw-method-actionbar{display:none!important}.yw-method{padding-top:0}}

.yw-method-actionbar{top:var(--yw-measured-header-height,82px)}
@media(max-width:750px){.yw-result-modern .yw-card-title{overflow-wrap:anywhere}}

.yw-public-form select{width:100%;padding:11px;border:1px solid #b7c8d2;border-radius:7px;background:#fff;font:inherit}.yw-public-form textarea{min-height:70px}.yw-public-form input:focus-visible,.yw-public-form select:focus-visible,.yw-public-form textarea:focus-visible{outline:2px solid var(--yw-blue,#0073aa);outline-offset:2px}

/* Contact map and social cards */
.yw-contact-details{margin:42px 0;display:grid;grid-template-columns:minmax(0,1.5fr) minmax(240px,1fr);gap:28px;align-items:start}
.yw-contact-details section{padding:26px;background:var(--yw-card-bg,#fff);border:1px solid var(--yw-border,#ddd);border-radius:16px;min-width:0}
.yw-contact-details h2{font-size:1.35rem;margin:0 0 14px}.yw-contact-details address{font-style:normal;margin-bottom:16px;color:var(--yw-muted,#555)}
.yw-map-placeholder{min-height:300px;position:relative;border-radius:14px;overflow:hidden;background:linear-gradient(145deg,#d7e9e2,#dceaf4 65%,#f3e4ce);border:1px solid var(--yw-border,#ddd);display:grid;place-items:center}
.yw-map-placeholder-content{text-align:center;padding:24px;max-width:340px}.yw-map-placeholder-content>span{font-size:3rem}.yw-map-placeholder iframe{width:100%;height:330px;border:0;display:block}
.yw-load-map,.yw-directions-link{background:var(--yw-blue,#096f96);color:#fff;border:0;padding:12px 18px;border-radius:10px;display:inline-block;font:inherit;font-weight:700;text-decoration:none;cursor:pointer}
.yw-directions-link{margin-top:14px}.yw-social-links{display:grid;gap:12px}.yw-social-links a{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--yw-deep,#174f6c);background:var(--yw-bg,#f5f7f9);border:1px solid var(--yw-border,#ddd);border-radius:12px;padding:14px 18px;font-weight:700}
.yw-social-links a span:first-child{width:27px;font-size:1.5rem;text-align:center}.yw-social-links a span:last-child{margin-left:auto}
@media(max-width:760px){.yw-contact-details{grid-template-columns:1fr}.yw-contact-details section{padding:18px}}@media print{.yw-contact-details{display:none}}

/* v2.7 – Kontaktformular links, Karte + Social Media rechts */
.yw-contact-layout{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);gap:30px;align-items:start;margin-top:28px}
.yw-contact-form-column,.yw-contact-details{min-width:0}
.yw-contact-form-column .yw-public-form{max-width:none;width:100%;margin:0}
.yw-contact-details{display:flex;flex-direction:column;gap:20px;margin:0}
.yw-contact-details section{width:100%;padding:24px}
.yw-contact-details .yw-map-placeholder{min-height:270px}
.yw-contact-details .yw-map-placeholder iframe{height:300px}
@media(max-width:850px){.yw-contact-layout{grid-template-columns:1fr;gap:24px}.yw-contact-details{gap:18px}}
@media print{.yw-contact-layout{display:none}}

/* v3.1 – Homepage contribution CTA; the form remains on /mitwirken/. */
.yw-home-contribute .yw-contribute-inner{align-items:center}
.yw-contribute-action{position:relative;isolation:isolate;overflow:hidden;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:15px;min-height:310px;padding:clamp(28px,4vw,48px);border:2px solid color-mix(in srgb,var(--yw-blue) 28%,transparent);border-radius:30px;background:linear-gradient(145deg,var(--yw-card-bg,#fff),color-mix(in srgb,var(--yw-blue) 8%,#fff));box-shadow:0 18px 45px rgba(22,62,82,.10)}
.yw-contribute-action-kicker{z-index:1;margin:0;color:var(--yw-blue);font-weight:800;font-size:.73rem;letter-spacing:.14em}
.yw-contribute-action h3{z-index:1;font-size:clamp(1.5rem,3vw,2.25rem);margin:0 0 8px;line-height:1.2}
.yw-contribute-action-art{position:absolute;inset:0;pointer-events:none;z-index:-1}
.yw-contribute-action-art span{position:absolute;color:var(--yw-blue);opacity:.12;font-size:5.5rem;font-weight:900}.yw-contribute-action-art span:nth-child(1){right:4%;top:-10%}.yw-contribute-action-art span:nth-child(2){right:14%;bottom:-8%;transform:rotate(-13deg)}.yw-contribute-action-art span:nth-child(3){left:5%;bottom:-17%;font-size:7rem}
.yw-contribute-special-button{display:inline-flex;align-items:center;justify-content:space-between;gap:16px;max-width:100%;min-height:66px;padding:12px 14px 12px 22px;color:var(--yw-button-text,#fff);background:var(--yw-blue);text-decoration:none;border-radius:999px;font-weight:850;font-size:clamp(1rem,2vw,1.19rem);box-shadow:0 10px 0 color-mix(in srgb,var(--yw-blue) 38%,#182c3b);transition:transform .22s ease,box-shadow .22s ease,background .22s ease}
.yw-contribute-special-button:hover{color:var(--yw-button-text,#fff);background:var(--yw-blue-hover);transform:translateY(-4px) rotate(-1deg);box-shadow:0 14px 0 color-mix(in srgb,var(--yw-blue) 38%,#182c3b)}
.yw-contribute-special-button:focus-visible{outline:3px solid var(--yw-deep);outline-offset:6px}
.yw-contribute-button-icon{font-size:1.6rem}.yw-contribute-button-arrow{display:grid;place-items:center;width:43px;height:43px;flex-shrink:0;border-radius:50%;background:rgba(255,255,255,.23);font-size:1.5rem;transition:transform .22s ease}.yw-contribute-special-button:hover .yw-contribute-button-arrow{transform:translate(3px,-3px)}
@media(max-width:580px){.yw-contribute-action{min-height:250px;padding:25px 21px}.yw-contribute-special-button{width:100%;gap:10px}}
@media(prefers-reduced-motion:reduce){.yw-contribute-special-button,.yw-contribute-button-arrow{transition:none}.yw-contribute-special-button:hover{transform:none}}

/* v3.2: navigation and editor accessibility */
.yw-nav a:focus-visible,.yw-languages a:focus-visible,.yw-cta:focus-visible,.yw-contribute-special-button:focus-visible{outline:3px solid #1b6a95;outline-offset:3px}.yw-nav{column-gap:10px;row-gap:6px}@media(max-width:850px){.yw-header-inner{min-height:unset}.yw-nav{width:100%;justify-content:center}.yw-nav a{min-height:44px;display:inline-flex;align-items:center}.yw-languages a{min-height:44px;min-width:42px;display:grid;place-items:center}}

/* v3.4 - more compact catalogue titles */
.yw-method-list-row .yw-result-modern .yw-card-title{font-size:clamp(1rem,1.25vw,1.18rem);line-height:1.3}

/* v3.5 – Single-row mobile header and accessible collapsible navigation */
.yw-menu-toggle{display:none}
@media (max-width:900px){
 .yw-header-inner{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:space-between;min-height:68px;gap:10px;position:relative;padding-top:8px;padding-bottom:8px}
 .yw-header .yw-brand{flex:0 1 auto;min-width:0;max-width:min(35vw,var(--yw-header-logo-mobile-width,150px))}
 .yw-header .yw-header-logo{max-width:100%;max-height:var(--yw-header-logo-mobile-height,56px)}
 .yw-menu-toggle{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--yw-border);border-radius:9px;padding:9px 11px;background:var(--yw-header-bg);color:var(--yw-header-text);font:inherit;font-size:.91rem;font-weight:700;cursor:pointer;flex:0 0 auto;min-height:44px}
 .yw-menu-toggle:focus-visible{outline:3px solid var(--yw-blue);outline-offset:2px}
 .yw-menu-bars{display:grid;gap:4px}
 .yw-menu-bars span{display:block;width:20px;height:2px;background:currentColor;border-radius:3px}
 .yw-header .yw-top-languages{flex:0 0 auto;margin:0;min-width:0}
 .yw-header .yw-top-languages a{padding:8px 7px;font-size:.8rem}
 .yw-header .yw-nav{display:none;position:absolute;left:0;right:0;top:100%;z-index:1100;width:100%;background:var(--yw-header-bg);border:1px solid var(--yw-border);border-top:0;border-radius:0 0 13px 13px;box-shadow:0 12px 20px rgba(0,0,0,.12);padding:10px;order:initial;margin:0;flex-direction:column;align-items:stretch;gap:2px}
 .yw-header.yw-menu-open .yw-nav{display:flex}
 .yw-header .yw-nav a{display:block;padding:11px 13px;min-height:44px}
}
@media(max-width:390px){.yw-header-inner{gap:5px}.yw-menu-toggle{gap:5px;padding:8px;font-size:.82rem}.yw-header .yw-top-languages a{padding:7px 5px;font-size:.75rem}.yw-header .yw-brand{max-width:30vw}}
@media print{.yw-menu-toggle{display:none!important}}

/* v3.6: remove duplicated section titles and keep catalogue count subtle */
.yw-results-count{font-size:.83rem;color:var(--yw-muted,#5b6973);margin:0 0 12px;font-weight:500}
.yw-contribute-action .yw-contribute-special-button{width:100%;text-align:center}

/* Keep one heading above each public form; contact page already has its page title. */
.yw-public-grid .yw-public-form>h2,.yw-contact-form-column .yw-public-form>h2{display:none}

/* v3.7: Mitwirken – two equal-height-start columns on desktop, stacked on mobile.
   Overrides legacy rule where the final form spanned all grid columns. */
.yw-participate-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(20px,3vw,34px);align-items:start}
.yw-participate-grid>section,.yw-participate-grid>section:last-child{grid-column:auto;min-width:0}
.yw-participate-grid>section>h2{margin-top:0;margin-bottom:15px}
.yw-participate-grid .yw-public-form{width:100%;max-width:none;min-width:0;box-sizing:border-box}
@media(max-width:750px){.yw-participate-grid{grid-template-columns:minmax(0,1fr);gap:28px}.yw-participate-grid>section,.yw-participate-grid>section:last-child{grid-column:1}}

/* v3.9: editable step illustrations, kept within the original five-card layout */
.yw-step-image{width:100%;height:clamp(105px,12vw,158px);display:flex;align-items:center;justify-content:center;margin:12px 0 16px;overflow:hidden}
.yw-step-image .yw-step-illustration{display:block;width:100%;max-width:180px;max-height:100%;height:100%;object-fit:contain;object-position:center}
.yw-step h3{margin-top:10px}
@media(max-width:950px){.yw-step-image{height:135px}}
@media(max-width:580px){.yw-step-image{height:154px}.yw-step-image .yw-step-illustration{max-width:200px}}
@media print{.yw-step-image{display:none}}

/* v4.0: handbook link in navigation */
@media(min-width:901px) and (max-width:1180px){.yw-nav{gap:5px}.yw-nav a{font-size:.9rem;padding:7px 5px}}

/* v4.1 Handbuch-Einstieg, vor dem Initiativenbereich */
.yw-handbook-feature{background:linear-gradient(125deg,#e9f4f7,#f7fbfd);overflow:hidden}
.yw-handbook-feature-inner{display:grid;grid-template-columns:minmax(130px,0.42fr) minmax(0,1fr);align-items:center;gap:clamp(20px,5vw,75px)}
.yw-handbook-feature-graphic{position:relative;display:grid;place-items:center;min-height:210px;border-radius:30px;background:linear-gradient(155deg,#e0edf5,#fdf6e7);color:var(--yw-blue,#096f96)}
.yw-handbook-feature-book{font-size:clamp(7rem,15vw,12rem);line-height:1;transform:rotate(-8deg)}
.yw-handbook-feature-spark{position:absolute;top:15px;right:16%;font-size:3rem;color:#e9a941}
.yw-handbook-feature-copy h2{margin:0 0 12px;font-size:clamp(1.65rem,3vw,2.65rem);line-height:1.18}
.yw-handbook-feature-copy p:not(.yw-eyebrow){max-width:610px;margin:0 0 22px}
.yw-handbook-feature-button{display:inline-flex;gap:24px;align-items:center;justify-content:space-between;background:var(--yw-blue,#096f96);color:var(--yw-button-text,#fff)!important;text-decoration:none;font-weight:750;border-radius:999px;padding:13px 19px;min-height:52px}
.yw-handbook-feature-button:hover{background:var(--yw-blue-hover,#064e6b)}
.yw-handbook-feature-button:focus-visible{outline:3px solid #d2a321;outline-offset:3px}
@media(max-width:650px){.yw-handbook-feature-inner{grid-template-columns:1fr}.yw-handbook-feature-graphic{min-height:125px}.yw-handbook-feature-book{font-size:7rem}}

/* v4.2: white handbook section and compact single-line description */
.yw-home-section.yw-handbook-feature{background:#fff}
.yw-handbook-feature-copy p:not(.yw-eyebrow){max-width:none;white-space:nowrap;margin-bottom:18px;font-size:clamp(.84rem,1.14vw,1rem)}
@media(max-width:950px){.yw-handbook-feature-copy p:not(.yw-eyebrow){white-space:normal}}

/* v4.3: editable handbook feature colors, illustration and copy */
.yw-home-section.yw-handbook-feature{background:var(--yw-hb-bg,#fff)}
.yw-handbook-feature .yw-handbook-feature-graphic{background:var(--yw-hb-graphic-bg,#e0edf5);overflow:hidden}
.yw-handbook-feature .yw-handbook-feature-image{display:block;width:100%;height:auto;max-height:310px;object-fit:contain}
.yw-handbook-feature .yw-handbook-feature-copy .yw-eyebrow{color:var(--yw-hb-eyebrow,#096f96)}
.yw-handbook-feature .yw-handbook-feature-copy h2{color:var(--yw-hb-heading,#174f6c)}
.yw-handbook-feature .yw-handbook-feature-copy .yw-handbook-feature-description{color:var(--yw-hb-text,#20323d)}
.yw-handbook-feature .yw-handbook-feature-button{background:var(--yw-hb-button-bg,#096f96);color:var(--yw-hb-button-text,#fff)!important}
.yw-handbook-feature .yw-handbook-feature-button:hover,.yw-handbook-feature .yw-handbook-feature-button:focus-visible{background:var(--yw-hb-button-hover,#064e6b);color:var(--yw-hb-button-text,#fff)!important}
.yw-handbook-feature-inner.yw-handbook-feature-no-graphic{grid-template-columns:minmax(0,1fr)}
@media(max-width:650px){.yw-handbook-feature .yw-handbook-feature-image{max-height:200px}}
