/* Scoped Cologne master. Inherit the active theme font; use evb.online class names and known palette. */
.evbrf-layout.evb-wrap{--evb-primary:#1a3c6e;--evb-accent:#f0f4ff;--evb-border:#d0d8f0;--evb-text-muted:#555e6c;--evb-orange:#c44500;--evb-green:#11753d;box-sizing:border-box;max-width:1050px;width:100%;margin-inline:auto;color:#24334b;line-height:1.55;overflow-wrap:anywhere}
.evbrf-layout *, .evbrf-layout *::before,.evbrf-layout *::after{box-sizing:border-box}
.evbrf-layout .evbrf-layout-quick{display:grid;gap:16px;margin-bottom:16px;grid-template-columns:minmax(0,1fr);align-items:start}
.evbrf-layout .evb-hero{background:linear-gradient(135deg,#1a3c6e,#244f84);border-radius:14px;padding:clamp(18px,3vw,28px);color:#fff;margin:0;display:flex;flex-direction:column;align-items:stretch;min-width:0;text-align:left}
.evbrf-layout h2.evb-h2{font:inherit;font-weight:750;font-size:clamp(20px,2.5vw,26px);line-height:1.23;letter-spacing:normal;margin:0 0 12px;color:var(--evb-primary)}
.evbrf-layout .evb-hero h2,.evbrf-layout .evb-hero p{color:#fff}
.evbrf-layout .evb-hero-lead{font-size:16px;line-height:1.45;margin:0 0 14px}
.evbrf-layout .evb-hero .evb-btn{margin-top:0}
.evbrf-layout .evb-btn{display:flex;align-items:center;justify-content:center;min-height:46px;padding:11px 12px;font-weight:700;line-height:1.35;text-align:center;text-decoration:none!important;border-radius:8px;font-size:16px;white-space:normal}
.evbrf-layout .evb-btn--primary{background:var(--evb-orange);color:#fff!important;border:1px solid transparent}
.evbrf-layout .evb-btn--green{background:var(--evb-green);color:#fff!important;border:1px solid transparent;cursor:pointer}
.evbrf-layout .evb-btn--secondary{background:white;color:var(--evb-primary)!important;border:1px solid var(--evb-primary)}
.evbrf-layout .evb-trust{display:flex;flex-wrap:wrap;gap:5px 12px;color:#fff;font-size:12px;line-height:1.4;margin:12px 0 0}
.evbrf-layout .evb-trust span::before{content:'✓ ';}
.evbrf-layout .evb-section--white,.evbrf-layout .evb-section--bg,.evbrf-layout .evbrf-seo-summary,.evbrf-layout .evbrf-editorial-local{padding:clamp(14px,2.2vw,20px);border:1px solid var(--evb-border);border-radius:12px;margin:0 0 16px;background:#fff;min-width:0}
.evbrf-layout .evbrf-layout-quick .evb-section--white{margin:0}
.evbrf-layout .evb-section--bg{background:var(--evb-accent)}
.evbrf-layout .evb-grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.evbrf-layout .evb-card{display:block;background:#fff;border:1px solid var(--evb-border);border-radius:10px;padding:12px;text-decoration:none!important;color:#24334b!important;min-width:0}
.evbrf-layout .evb-card--accent{border-inline-start:3px solid var(--evb-primary)}
.evbrf-layout .evb-card strong{display:block;color:var(--evb-primary);font-size:16px;line-height:1.3}
.evbrf-layout .evb-card span{display:block;font-size:13px;line-height:1.4;margin-top:4px}
.evbrf-layout .evbrf-layout-note{font-size:13px;line-height:1.45;color:var(--evb-text-muted);margin:8px 0 0}
.evbrf-layout .evbrf-layout-tools{margin:12px 0 0;font-size:14px}
.evbrf-layout .evbrf-layout-wish p{margin:0 0 8px;line-height:1.4}
.evbrf-layout .evbrf-layout-wish .evbrf-layout-note{margin:8px 0 0}
.evbrf-layout .evbrf-plate{display:flex;align-items:center;gap:5px;height:clamp(56px,12vw,78px);max-width:410px;margin:12px auto;padding:3px;border:3px solid #111;border-radius:9px;background:#fff;color:#111;font-family:Arial,sans-serif;box-shadow:0 2px 4px #0003;overflow:hidden}
.evbrf-layout .evbrf-plate-eu{align-self:stretch;flex:0 0 13%;max-width:45px;background:#0759ad;color:#fff;display:flex;flex-direction:column;justify-content:center;align-items:center;font-weight:800;font-size:16px;line-height:1.1;border-radius:3px 0 0 3px}
.evbrf-layout .evbrf-plate-stars{position:relative;display:block;width:25px;height:25px;color:#ffda44}.evbrf-layout .evbrf-plate-stars span{position:absolute;transform:translate(-50%,-50%);font-size:6px;line-height:1}
.evbrf-layout .evbrf-plate-prefix,.evbrf-layout .evbrf-plate-placeholder{height:84%;display:flex;align-items:center;justify-content:center;border:2px solid #a8a8a8;border-radius:5px;line-height:1;font-weight:800;font-size:clamp(19px,4.5vw,38px);min-width:0;padding:0 4px;overflow:hidden}
.evbrf-layout .evbrf-plate-prefix{flex:1.15;color:#111}.evbrf-layout .evbrf-plate-placeholder{flex:1;color:#999}.evbrf-layout .evbrf-plate-number{flex:1.55}
.evbrf-layout .evbrf-prefix-choices{margin:8px 0}.evbrf-layout .evbrf-prefix-choices summary{list-style:none}.evbrf-layout .evbrf-prefix-choices summary::-webkit-details-marker{display:none}.evbrf-layout .evbrf-prefix-choices summary::after{content:' ▾';margin-inline-start:.4em}.evbrf-layout .evbrf-prefix-choices[open] summary::after{content:' ▴'}
.evbrf-layout .evbrf-prefix-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:8px}
.evbrf-layout .evbrf-layout-editorial h2{color:var(--evb-primary);scroll-margin-top:6rem;font-size:clamp(20px,2.5vw,26px);line-height:1.3}
.evbrf-layout .evbrf-layout-editorial details{margin:10px 0;border:1px solid var(--evb-border);border-radius:8px;padding:10px 12px;max-width:100%;min-width:0}
.evbrf-layout .evbrf-layout-editorial details summary,.evbrf-layout .evbrf-seo-summary summary{cursor:pointer;font-weight:700;color:var(--evb-primary)}
.evbrf-layout .evbrf-seo-breadcrumb ol{font-size:13px;margin-bottom:12px;color:var(--evb-text-muted)}
.evbrf-layout a:focus-visible,.evbrf-layout summary:focus-visible,.evbrf-layout button:focus-visible,.evbrf-layout select:focus-visible{outline:3px solid #a63e00;outline-offset:3px}
.evbrf-layout .evb-hero a:focus-visible{outline-color:#fff}
.evbrf-layout .evbrf-layout-registration,.evbrf-layout #evbrf-local-authority{scroll-margin-top:6rem}
@media(min-width:760px){.evbrf-layout .evbrf-layout-quick:not(.evbrf-layout-single){grid-template-columns:1.1fr 1fr}.evbrf-layout .evbrf-layout-actions .evb-grid-2{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:359px){.evbrf-layout .evb-grid-2{grid-template-columns:1fr}}

.evbrf-layout .evbrf-layout-secondary-links{margin:12px 0 0;line-height:1.7}.evbrf-layout .evbrf-layout-secondary-links a{display:inline-block}.evbrf-layout #evbrf-layout-abmeldung{scroll-margin-top:6rem}
@media(max-width:759px){.evbrf-layout .evbrf-layout-quick{gap:12px}.evbrf-layout .evb-hero{padding:16px}.evbrf-layout .evbrf-layout-wish{padding:14px}.evbrf-layout .evb-trust{gap:4px 9px}.evbrf-layout .evb-hero-lead{font-size:15px}.evbrf-layout .evbrf-layout-note{font-size:12px}}

/* Keep action cards usable in narrow theme content columns, not only narrow viewports. */
.evbrf-layout .evbrf-layout-actions .evb-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.evbrf-layout .evb-card{min-height:44px}
.evbrf-layout .evbrf-prefix-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,7rem),1fr))}
.evbrf-layout .evbrf-layout-secondary-links a{min-height:44px;display:inline-flex;align-items:center}
.evbrf-layout .evbrf-layout-editorial h2[id],.evbrf-layout [id].evbrf-layout-tools{scroll-margin-top:6rem}

.evbrf-layout .evbrf-layout-region-switch{font-size:14px;margin:0 0 12px;display:flex;align-items:center;flex-wrap:wrap;gap:4px 8px;color:var(--evb-primary)}
.evbrf-layout .evbrf-layout-region-switch a{display:inline-flex;align-items:center;min-height:44px;text-decoration:underline}

/* Use actual content width, including narrow Astra columns and sidebars.
   Existing viewport-based rules remain as fallback for older browsers. */
@supports (container-type: inline-size){
 .evbrf-layout.evb-wrap{container-type:inline-size;container-name:evbrf-content}
 .evbrf-layout .evbrf-layout-quick:not(.evbrf-layout-single){grid-template-columns:minmax(0,1fr)}
 @container evbrf-content (min-width:740px){
  .evbrf-layout .evbrf-layout-quick:not(.evbrf-layout-single){grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)}
 }
 @container evbrf-content (max-width:399px){
  .evbrf-layout .evb-grid-2{grid-template-columns:minmax(0,1fr)}
  .evbrf-layout .evbrf-layout-quick{gap:12px}
  .evbrf-layout .evb-hero{padding:16px}
  .evbrf-layout .evbrf-layout-wish{padding:14px}
  .evbrf-layout .evbrf-plate-prefix,.evbrf-layout .evbrf-plate-placeholder{font-size:clamp(16px,7cqi,26px);padding-inline:2px}
 }
}

/* 0.3.181: compact, decorative service icons; text remains the accessible link name. */
.evbrf-layout .evbrf-card-icon{display:block;width:22px;height:22px;margin:0 0 7px;color:#4779b3;flex:none}
.evbrf-layout .evbrf-layout-actions .evb-card{overflow-wrap:anywhere}

/* Optional background topics: native disclosures, no JavaScript required. */
.evbrf-layout .evbrf-background-disclosure>summary{min-height:44px;padding-block:8px;line-height:1.5}
.evbrf-layout .evbrf-background-disclosure>summary>h2{display:inline;font-size:clamp(18px,2vw,22px);margin:0;color:var(--evb-primary)}
.evbrf-layout .evbrf-background-body{padding-top:12px}
.evbrf-layout .evbrf-background-body>:last-child{margin-bottom:0}

/* 0.3.185: bounded card grid and compact hero; scoped to verified regional pages. */
.evbrf-layout .evbrf-layout-actions .evb-card strong{font-size:16px;font-weight:700;line-height:1.35}
.evbrf-layout .evbrf-layout-actions .evb-card span{font-size:14px;line-height:1.45;color:#42536a}
.evbrf-layout .evbrf-layout-actions .evb-card{padding:14px}
.evbrf-layout .evb-trust{font-size:13px}
.evbrf-layout .evbrf-layout-wish>p:not(.evbrf-layout-note){font-size:15px}
@media(min-width:760px){.evbrf-layout .evbrf-layout-actions .evb-grid-2{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:359px){.evbrf-layout .evbrf-layout-actions .evb-grid-2{grid-template-columns:minmax(0,1fr)}}
@supports (container-type:inline-size){
 .evbrf-layout .evbrf-layout-actions .evb-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}
 @container evbrf-content (min-width:640px){.evbrf-layout .evbrf-layout-actions .evb-grid-2{grid-template-columns:repeat(3,minmax(0,1fr))}}
 @container evbrf-content (max-width:399px){.evbrf-layout .evbrf-layout-actions .evb-grid-2{grid-template-columns:minmax(0,1fr)}}
}

/* 0.3.186: balanced first row; meaningful content rather than a pushed-down CTA. */
.evbrf-layout .evbrf-layout-quick{align-items:stretch;gap:16px}
.evbrf-layout .evbrf-layout-quick>section{padding:20px;min-width:0}
.evbrf-layout .evbrf-layout-hero h2,.evbrf-layout .evbrf-layout-wish h2{font-size:24px;line-height:1.25;margin:0 0 10px}
.evbrf-layout .evb-hero-lead{font-size:17px;line-height:1.5;margin-bottom:16px}
.evbrf-layout .evb-hero .evb-btn{font-size:18px;min-height:52px;margin-top:0}
.evbrf-layout .evb-trust{font-size:14px;gap:8px 14px}
.evbrf-layout .evbrf-hero-next{border-top:1px solid #ffffff55;margin:18px 0 0;padding-top:14px;font-size:15px;line-height:1.5}
.evbrf-layout .evbrf-layout-wish .evbrf-layout-note{font-size:13px;line-height:1.45}
.evbrf-layout .evbrf-plate{width:100%;max-width:440px;height:74px;margin:10px auto}
.evbrf-layout .evbrf-layout-actions .evb-card{padding:16px;min-height:116px}
.evbrf-layout .evbrf-layout-actions .evbrf-card-icon{width:28px;height:28px;margin-bottom:9px}
.evbrf-layout .evbrf-layout-actions .evb-card strong{font-size:18px;line-height:1.35}
.evbrf-layout .evbrf-layout-actions .evb-card span{font-size:15px;line-height:1.45}
@container evbrf-content (max-width:399px){
 .evbrf-layout .evbrf-layout-quick>section{padding:15px}
 .evbrf-layout .evbrf-layout-hero h2,.evbrf-layout .evbrf-layout-wish h2{font-size:21px}
 .evbrf-layout .evbrf-plate{height:60px}
 .evbrf-layout .evbrf-layout-actions .evb-card{min-height:0}
}

/* Compact wish entry: explicit prefix links, no default selection on shared districts. */
.evbrf-layout .evbrf-prefix-direct{margin:10px 0;grid-template-columns:repeat(auto-fit,minmax(min(100%,8rem),1fr))}
.evbrf-layout .evbrf-wish-disclosure{margin:8px 0 4px;font-size:13px}
.evbrf-layout .evbrf-wish-info{margin:4px 0 0;font-size:13px;color:var(--evb-primary)}
.evbrf-layout .evbrf-wish-info summary{cursor:pointer;min-height:28px;padding:4px 0;text-decoration:underline;line-height:1.4}
.evbrf-layout .evbrf-wish-info p{margin:6px 0 0;font-size:13px;line-height:1.5}
