/* Editorial illustrations and the municipal map appear only on local service pages. */
.cityarticle.with-local-media {
  max-width: 1010px;
}
.with-local-media > section > h2 { max-width: 32ch; }
.with-local-media > section:not(.case-section) { max-width: 760px; }
.with-local-media > section > p { max-width: 68ch; }
.case-section .case-copy { min-width: 0; }
.case-picture { margin: 1.15rem 0 0; }
#stadtkarte, #abholbeispiel { scroll-margin-top: 110px; }
.case-picture img {
  display: block; width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: cover;
  border-radius: 14px; background: var(--soft);
}
.case-picture figcaption { margin-top: .55rem; color: var(--muted); font: inherit; font-size: .94rem; line-height: 1.44; }
.case-picture .image-origin { color: var(--ink); font-family: var(--body); font-weight: 650; }
@media (min-width: 820px) {
  .with-local-media > .case-section {
    display: grid; grid-template-columns: minmax(0, 1.36fr) minmax(0, 1fr);
    grid-template-rows: auto 1fr; gap: 0 clamp(22px, 3.5vw, 52px); align-content: start; align-items: start;
  }
  .case-section > h2 { grid-column: 1; grid-row: 1; min-width: 0; }
  .case-section .case-copy { grid-column: 1; grid-row: 2; }
  .case-section .case-picture { grid-column: 2; grid-row: 1 / span 2; margin: .2rem 0 0; }
}
.city-atlas {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .8fr);
  align-items: center; gap: clamp(18px, 3vw, 40px);
  margin: clamp(27px, 4vw, 54px) 0 0; padding: clamp(12px, 2.15vw, 25px);
  background: var(--paper); color: var(--ink); border: 1px solid var(--rule); border-radius: 19px;
}
.city-atlas > figcaption { grid-column: 2; grid-row: 1; min-width: 0; }
.atlas-heading { display: block; font-size: clamp(1.3rem, 2.2vw, 1.85rem); font-weight: 700; line-height: 1.13; letter-spacing: -.025em; }
.city-atlas p.atlas-description { margin: .6rem 0 0; line-height: 1.45; color: var(--muted); font-size: .96rem; }
.atlas-stage {
  grid-column: 1; grid-row: 1; position: relative; align-self: center;
  overflow: hidden; border-radius: 12px; background: var(--dark-panel);
}
.atlas-stage img { width: 100%; display: block; height: auto; }
.atlas-pin {
  position: absolute; width: 5.2%; aspect-ratio: 1; border: 3px solid white;
  border-radius: 100%; transform: translate(-50%, -50%); pointer-events: none;
  background: transparent; box-shadow: 0 0 0 2px var(--strip), 0 0 0 4px var(--accent);
}
.atlas-picker { margin: .9rem 0 .45rem; }
.atlas-picker label { display: block; font-weight: 650; font-size: .94rem; margin-bottom: .28rem; }
.atlas-picker select {
  display: block; color: var(--ink); cursor: pointer; font: inherit; font-size: 1rem;
  width: 100%; max-width: 25rem; min-height: 44px; padding: .5rem 2rem .5rem .65rem;
  appearance: none; border: 1px solid color-mix(in srgb,var(--muted) 55%,white); border-radius: 9px;
  background-color: var(--paper);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10'%3E%3Cpath d='m2 2 5 5 5-5' fill='none' stroke='%23344143' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: right .72rem center; background-size: 14px 10px; background-repeat: no-repeat;
}
.atlas-link { display: inline-flex; align-items: center; gap: .35rem; padding: .35rem 0; min-height: 36px; font-size: .95rem; font-weight: 600; }
.atlas-credit { margin-top: .35rem; color: var(--muted); font-size: .82rem; line-height: 1.46; }
.atlas-credit summary { width: fit-content; cursor: pointer; text-decoration: underline; text-underline-offset: .15em; }
.atlas-credit p { margin: .5rem 0; }
.atlas-credit a { overflow-wrap: anywhere; }
@media(max-width: 700px) {
  .city-atlas { display: flex; flex-direction: column; align-items: stretch; gap: 13px; padding: 14px; }
  .city-atlas > figcaption { display: contents; }
  .atlas-title { order: 0; }
  .atlas-stage { order: 1; width: 100%; align-self: stretch; }
  .atlas-tools { order: 2; }
  .atlas-picker { margin: 0; }
  .atlas-picker select { max-width: none; }
  .atlas-link { min-height: 40px; }
  .atlas-credit { margin-top: 0; }
}
@media print {
  .atlas-picker, .atlas-link, .atlas-pin, .atlas-credit summary { display: none; }
  .city-atlas, .case-picture { break-inside: avoid; }
}

/* City service links and native FAQ use the existing domain palettes. */
.subhero .local-call,.subhero .local-call:hover{color:#131c27;background:var(--accent);border-radius:999px;display:inline-flex;align-items:center;gap:.55rem;font:650 1rem var(--body);padding:.68rem 1.12rem;margin:.9rem 0 0;min-height:44px;width:fit-content;text-decoration:none}
.subhero .local-call .ico{width:18px;height:18px;color:inherit}
.subhero h1,.with-local-media :is(h2,summary,a,p),.subhero .crumb,.subhero .hero-intro{overflow-wrap:anywhere;hyphens:auto}
.subhero .city-anchors{display:flex;flex-wrap:wrap;gap:.5rem 1.1rem;margin:1.2rem 0 0;align-items:center}
.city-anchors a{color:inherit;text-decoration:underline;text-underline-offset:4px;font-size:.95rem}
.subhero h1 .city-service{hyphens:none}
.with-local-media .cityfaq{margin-top:3.6rem;max-width:760px}
.cityarticle :is(.cityfaq,#kosten,#ablauf){scroll-margin-top:120px}
.cityarticle .cityfaq details{margin:.7rem 0;padding:0;color:var(--ink);background:var(--soft);border:1px solid var(--rule);border-radius:14px}
.cityarticle .cityfaq summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1.1rem;text-align:left;line-height:1.35;font-family:var(--body);font-size:1.06rem;font-weight:650;color:inherit}
.cityarticle .cityfaq summary::-webkit-details-marker{display:none}
.cityarticle .cityfaq summary::after{content:"+";display:grid;place-items:center;flex:0 0 30px;height:30px;background:var(--accent);color:#101b27;border-radius:50%;font:500 1.22rem/1 system-ui}
.cityarticle .cityfaq details[open] summary::after{content:"−"}
.cityarticle summary:focus-visible{outline:3px solid currentColor;outline-offset:1px;border-radius:12px}
.cityarticle .cityfaq details p{padding:0 1.1rem 1rem;margin:0;max-width:64ch}
.cityarticle .citynext{margin:1.5rem 0 2.5rem;max-width:760px}
.citynext h2{font-size:clamp(1.38rem,3vw,1.85rem)}
.citynext ul{display:flex;flex-wrap:wrap;padding:0;list-style:none;gap:.6rem;margin:0}
.citynext li{margin:0!important;max-width:100%}
.citynext li a{border:1px solid var(--rule);border-radius:12px;padding:.65rem .82rem;font-weight:600;line-height:1.35;display:inline-flex;align-items:center;min-height:44px;text-decoration:none;background:var(--soft);color:var(--ink);font-size:.96rem}
.citynext li a:hover,.citynext li a:focus-visible{color:#131c27;background:var(--accent)}
@media(max-width:760px){.subhero .local-call{grid-row:5}.subhero .city-anchors{grid-row:6}.subhero h1:has(.city-service){font-size:clamp(1.55rem,7.45vw,3rem)}.cityarticle .cityfaq summary{font-size:1rem}}
@media(min-width:761px){.subhero h1:has(.city-service){font-size:clamp(2rem,4vw,3.55rem)}}
@media(max-width:760px){.subhero .local-call{justify-self:center}.cityfaq summary{scroll-margin-top:115px}}
@media(max-width:355px){.navbar a.brand{font-size:.84rem}.menubtn span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.js .menubtn{min-height:44px;min-width:40px;justify-content:center}}
