/*
Theme Name: Stadtwalk Child – Basis
Theme URI: https://stadtwalk.de/
Update URI: https://stadtwalk.de/themes/stadtwalk-child-basis/
Description: Reduzierte, updatefeste Stadtwalk-Grundlage auf Basis von Twenty Twenty-Four.
Author: Stadtwalk
Version: 0.23.5
Template: twentytwentyfour
Text Domain: stadtwalk-child-basis
Requires at least: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
*/

:root {
    --sw-ink: #11110f;
    --sw-muted: #5d5d57;
    --sw-line: #d8d8d1;
    --sw-soft-line: #e8e8e2;
    --sw-paper: #fbfbf8;
    --sw-panel: #ffffff;
    --sw-soft: #f4f4ef;
    --sw-accent: #11110f;
    --sw-serif: "Iowan Old Style", "Palatino Linotype", Palatino, Baskerville, Georgia, serif;
    --sw-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --sw-radius: 3px;
    --sw-shadow: 0 1px 0 rgba(0, 0, 0, 0.035);
    --sw-max: 1180px;
  }

html,
body {
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--sw-paper);
  color: var(--sw-ink);
  font-family: var(--sw-sans);
}

.wp-site-blocks {
  padding-top: 0;
  padding-bottom: 0;
}

.sw-header,
.sw-footer {
  color: var(--sw-ink);
  font-family: var(--sw-sans);
  line-height: 1.55;
}

.sw-header *,
.sw-footer * {
  box-sizing: border-box;
}

.sw-header a,
.sw-footer a {
  color: inherit;
  text-decoration: none;
}

.sw-header a:focus-visible,
.sw-footer a:focus-visible {
  outline: 2px solid var(--sw-ink);
  outline-offset: 4px;
}

.sw-home,
  .sw-home * {
    box-sizing: border-box;
  }

  .sw-home {
    position: relative;
    width: 100%;
    max-width: none;
    margin: 0;
    overflow: hidden;
    background: var(--sw-paper);
    color: var(--sw-ink);
    font-family: var(--sw-sans);
    font-size: 16px;
    line-height: 1.55;
  }

  .sw-home a {
    color: inherit;
    text-decoration: none;
  }

  .sw-home a:focus-visible,
  .sw-home button:focus-visible {
    outline: 2px solid var(--sw-ink);
    outline-offset: 4px;
  }

  .sw-wrap {
    width: min(calc(100% - 40px), var(--sw-max));
    margin-inline: auto;
  }

  .sw-header {
    border-bottom: 1px solid var(--sw-line);
    background: rgba(251, 251, 248, 0.98);
  }

  .sw-header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
  }

  .sw-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-width: max-content;
    font-weight: 670;
    letter-spacing: -0.02em;
  }

  .sw-brand-mark {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.45;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .sw-brand-mark--house {
    display: block;
    background: url("assets/stadtwalk-hauszeichen.png") center / contain no-repeat;
  }

  .sw-brand-mark--arch {
    display: none;
  }

  .sw-brand-arch .sw-brand-mark--house {
    display: none;
  }

  .sw-brand-arch .sw-brand-mark--arch {
    display: block;
  }

  .sw-header-tools {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    margin: 0;
  }

  .sw-nav.wp-block-navigation {
    margin: 0;
    font-size: 14px;
  }

  .sw-nav .wp-block-navigation__container {
    gap: clamp(18px, 2.6vw, 38px);
  }

  .sw-nav .wp-block-navigation-item__content {
    padding-block: 10px;
    border-bottom: 1px solid transparent;
  }

  .sw-nav .wp-block-navigation-item__content:hover,
  .sw-nav .current-menu-item > .wp-block-navigation-item__content {
    border-bottom-color: var(--sw-ink);
  }

  .sw-header-search {
    width: 34px;
    margin: 0;
  }

  .sw-header-search .wp-block-search__inside-wrapper {
    width: 34px;
    min-width: 34px;
    padding: 0;
    border: 0;
  }

  .sw-header-search .wp-block-search__button {
    width: 34px;
    height: 34px;
    min-width: 34px;
    margin: 0;
    padding: 5px;
    border: 0;
    background: transparent;
    color: var(--sw-ink);
  }

  .sw-header-search .wp-block-search__button:hover {
    background: rgba(0, 0, 0, 0.035);
  }

  .sw-header-search .wp-block-search__button svg {
    width: 23px;
    height: 23px;
  }

  .sw-hero {
    padding: clamp(58px, 8vw, 104px) 0 38px;
    text-align: center;
  }

  .sw-hero h1 {
    max-width: 960px;
    margin: 0 auto 16px;
    font-family: var(--sw-serif);
    font-size: clamp(48px, 6vw, 72px);
    font-weight: 400;
    line-height: 0.98;
    letter-spacing: -0.045em;
  }

  .sw-hero p {
    max-width: 680px;
    margin: 0 auto;
    color: #2f2f2b;
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.55;
  }

  .sw-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 32px;
  }

  .sw-button {
    min-width: 210px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 12px 24px;
    border: 1px solid var(--sw-ink);
    border-radius: 2px;
    font-weight: 650;
    transition: 160ms ease;
  }

  .sw-button--dark {
    background: var(--sw-ink);
    color: #fff !important;
  }

  .sw-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.09);
  }

  .sw-divider {
    position: relative;
    height: 34px;
    margin-top: 20px;
  }

  .sw-divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    border-top: 1px solid var(--sw-line);
  }

  .sw-divider::after {
    content: "◇";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 0 12px;
    background: var(--sw-paper);
    color: #b9b9b1;
    font-size: 16px;
  }

  .sw-section {
    padding: 0 0 34px;
  }

  .sw-section-head {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin-bottom: 18px;
  }

  .sw-section-head h2 {
    margin: 0;
    font-family: var(--sw-serif);
    font-size: clamp(30px, 3vw, 40px);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.025em;
  }

  .sw-section-head p {
    margin: 0;
    color: var(--sw-muted);
    font-size: 14px;
  }

  .sw-grid {
    display: grid;
    gap: 12px;
  }

  .sw-service-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .sw-card {
    background: var(--sw-panel);
    border: 1px solid var(--sw-line);
    border-radius: var(--sw-radius);
    box-shadow: var(--sw-shadow);
  }

  .sw-service-card {
    min-height: 177px;
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 14px;
    padding: 20px 18px 17px;
  }

  .sw-service-icon,
  .sw-dossier-icon,
  .sw-method-icon {
    width: 42px;
    height: 42px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .sw-service-card h3,
  .sw-discover-card h3,
  .sw-product-card h3,
  .sw-side-story h3 {
    margin: 0;
    font-family: var(--sw-serif);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.015em;
  }

  .sw-service-card h3 {
    font-size: 21px;
  }

  .sw-service-card p {
    margin: 9px 0 0;
    color: #383833;
    font-size: 13px;
    line-height: 1.45;
  }

  .sw-meta {
    color: var(--sw-muted) !important;
  }

  .sw-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    font-size: 13px;
    font-weight: 670;
  }

  .sw-more::after {
    content: "→";
    transition: transform 150ms ease;
  }

  .sw-more:hover::after {
    transform: translateX(3px);
  }

  .sw-ad {
    position: relative;
    display: grid;
    grid-template-columns: 260px 1fr auto;
    align-items: center;
    gap: 28px;
    min-height: 128px;
    margin: 0 auto 26px;
    padding: 20px 28px;
    border: 1px solid #8a8a84;
    border-radius: var(--sw-radius);
    background: linear-gradient(135deg, #fbfbf8 0%, #f4f4ef 100%);
  }

  .sw-ad-label {
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    padding: 1px 12px;
    background: var(--sw-paper);
    color: var(--sw-muted);
    font-size: 11px;
  }

  .sw-ad-illustration {
    min-height: 84px;
    display: grid;
    place-items: center;
    border-right: 1px solid var(--sw-soft-line);
  }

  .sw-ad-illustration svg {
    width: 230px;
    max-width: 100%;
    height: 76px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.2;
  }

  .sw-ad h3 {
    margin: 0 0 4px;
    font-family: var(--sw-serif);
    font-size: clamp(25px, 3vw, 34px);
    font-weight: 400;
  }

  .sw-ad p {
    margin: 0;
    color: var(--sw-muted);
    font-size: 13px;
  }

  .sw-ad .sw-button {
    min-width: 170px;
    min-height: 44px;
  }

  .sw-discover-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .sw-discover-card,
  .sw-product-card {
    overflow: hidden;
  }

  .sw-media {
    --sw-bg: none;
    position: relative;
    min-height: 170px;
    background-color: #d7d7d0;
    background-image:
      linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.18)),
      var(--sw-bg);
    background-size: cover;
    background-position: center;
    overflow: hidden;
  }

  .sw-media::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
      linear-gradient(135deg, transparent 0 36%, rgba(255,255,255,.18) 37% 38%, transparent 39%),
      linear-gradient(25deg, rgba(0,0,0,.07), transparent 58%);
    pointer-events: none;
  }

  .sw-media::after {
    content: attr(data-label);
    position: absolute;
    left: 14px;
    bottom: 12px;
    padding: 5px 8px;
    background: rgba(255,255,255,.88);
    color: #2f2f2b;
    border: 1px solid rgba(0,0,0,.08);
    font-size: 11px;
    letter-spacing: .02em;
  }

  .sw-card-body {
    padding: 17px 17px 18px;
  }

  .sw-discover-card h3 {
    font-size: 23px;
  }

  .sw-discover-card p,
  .sw-product-card p {
    margin: 8px 0 0;
    color: #40403b;
    font-size: 13px;
    line-height: 1.45;
  }

  .sw-research-grid {
    grid-template-columns: minmax(0, 1.8fr) minmax(300px, .95fr);
    align-items: stretch;
  }

  .sw-lead-story {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    min-height: 340px;
    overflow: hidden;
  }

  .sw-lead-story .sw-media {
    min-height: 100%;
  }

  .sw-lead-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(24px, 4vw, 42px);
  }

  .sw-lead-copy h3 {
    margin: 0;
    font-family: var(--sw-serif);
    font-size: clamp(31px, 4vw, 48px);
    font-weight: 400;
    line-height: 1.02;
    letter-spacing: -0.035em;
  }

  .sw-lead-copy p {
    margin: 18px 0 0;
    color: #363631;
    font-size: 14px;
  }

  .sw-side-stack {
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    gap: 12px;
  }

  .sw-side-story {
    display: grid;
    grid-template-columns: 145px 1fr;
    overflow: hidden;
  }

  .sw-side-story .sw-media {
    min-height: 164px;
  }

  .sw-side-story .sw-card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 15px;
  }

  .sw-side-story h3 {
    font-size: 19px;
  }

  .sw-side-story p {
    margin: 7px 0 0;
    color: var(--sw-muted);
    font-size: 12px;
    line-height: 1.4;
  }

  .sw-dossier-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .sw-dossier-card {
    min-height: 148px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 18px 12px;
    text-align: center;
  }

  .sw-dossier-card h3 {
    margin: 12px 0 0;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
  }

  .sw-product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .sw-product-card {
    display: grid;
    grid-template-columns: 108px 1fr;
    min-height: 180px;
  }

  .sw-product-card .sw-media {
    min-height: 100%;
  }

  .sw-product-card .sw-media::after {
    display: none;
  }

  .sw-product-card h3 {
    font-size: 19px;
  }

  .sw-price {
    display: block;
    margin-top: 9px;
    font-weight: 750;
    font-size: 14px;
  }

  .sw-methods {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(110px, .45fr));
    align-items: center;
    gap: 22px;
    padding: 10px 0 34px;
  }

  .sw-method-copy h2 {
    margin: 0 0 8px;
    font-family: var(--sw-serif);
    font-size: clamp(29px, 3vw, 38px);
    font-weight: 400;
  }

  .sw-method-copy p {
    margin: 0;
    color: var(--sw-muted);
    font-size: 13px;
  }

  .sw-method-link {
    min-height: 116px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-left: 1px solid var(--sw-soft-line);
    text-align: center;
    font-size: 12px;
    font-weight: 650;
  }

  .sw-method-link:hover {
    background: rgba(0, 0, 0, .018);
  }

  .sw-footer {
    border-top: 1px solid var(--sw-line);
    background: #f8f8f4;
  }

  .sw-footer-grid {
    display: grid;
    grid-template-columns: 1.6fr repeat(4, 1fr);
    gap: 28px;
    padding: 34px 0 40px;
    font-size: 12px;
  }

  .sw-footer h3 {
    margin: 0 0 5px;
    font-size: 13px;
  }

  .sw-footer p,
  .sw-footer a {
    margin: 0;
    color: var(--sw-muted);
  }

  .sw-footer a:hover {
    color: var(--sw-ink);
    text-decoration: underline;
  }

  .sw-footer-brand {
    display: flex;
    align-items: flex-start;
    gap: 12px;
  }

  .sw-footer-brand .sw-brand-mark {
    width: 42px;
    height: 42px;
  }

  @media (max-width: 1040px) {
    .sw-service-grid,
    .sw-discover-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sw-dossier-grid {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .sw-product-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sw-ad {
      grid-template-columns: 200px 1fr;
    }

    .sw-ad .sw-button {
      grid-column: 2;
      justify-self: start;
    }

    .sw-methods {
      grid-template-columns: repeat(4, 1fr);
    }

    .sw-method-copy {
      grid-column: 1 / -1;
    }

    .sw-method-link:first-of-type {
      border-left: 0;
    }
  }

  @media (max-width: 860px) {
    .sw-header-inner {
      flex-wrap: nowrap;
      padding: 12px 0;
    }

    .sw-header-tools {
      margin-left: auto;
      gap: 10px;
    }

    .sw-nav.wp-block-navigation {
      width: auto;
    }

    .sw-nav .wp-block-navigation__responsive-container-open,
    .sw-nav .wp-block-navigation__responsive-container-close {
      color: var(--sw-ink);
    }

    .sw-research-grid {
      grid-template-columns: 1fr;
    }

    .sw-side-stack {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      grid-template-rows: none;
    }

    .sw-side-story {
      grid-template-columns: 120px 1fr;
    }

    .sw-footer-grid {
      grid-template-columns: repeat(2, 1fr);
    }

    .sw-footer-brand {
      grid-column: 1 / -1;
    }
  }

  @media (max-width: 680px) {
    .sw-wrap {
      width: min(calc(100% - 24px), var(--sw-max));
    }

    .sw-hero {
      padding-top: 54px;
    }

    .sw-hero h1 {
      font-size: clamp(43px, 14vw, 62px);
    }

    .sw-button {
      width: 100%;
    }

    .sw-service-grid,
    .sw-discover-grid,
    .sw-product-grid,
    .sw-side-stack,
    .sw-footer-grid {
      grid-template-columns: 1fr;
    }

    .sw-service-card {
      min-height: auto;
    }

    .sw-ad {
      grid-template-columns: 1fr;
      padding: 26px 20px 20px;
      text-align: center;
    }

    .sw-ad-illustration {
      border-right: 0;
      border-bottom: 1px solid var(--sw-soft-line);
      padding-bottom: 14px;
    }

    .sw-ad .sw-button {
      grid-column: auto;
      justify-self: stretch;
    }

    .sw-lead-story {
      grid-template-columns: 1fr;
    }

    .sw-lead-story .sw-media {
      min-height: 230px;
    }

    .sw-side-story {
      grid-template-columns: 120px 1fr;
    }

    .sw-dossier-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sw-product-card {
      grid-template-columns: 104px 1fr;
    }

    .sw-methods {
      grid-template-columns: repeat(2, 1fr);
    }

    .sw-method-link:nth-of-type(odd) {
      border-left: 0;
    }
  }

  @media (max-width: 430px) {
    .sw-brand span {
      max-width: 230px;
      white-space: normal;
      line-height: 1.2;
    }

    .sw-service-card {
      grid-template-columns: 45px 1fr;
    }

    .sw-side-story,
    .sw-product-card {
      grid-template-columns: 1fr;
    }

    .sw-side-story .sw-media,
    .sw-product-card .sw-media {
      min-height: 170px;
    }
  }

/* Innen- und Beitragsseiten */
.sw-content-shell {
  width: min(calc(100% - 40px), 860px);
  margin-inline: auto;
  padding: clamp(48px, 7vw, 88px) 0 72px;
}

.sw-content-shell--wide {
  width: min(calc(100% - 40px), var(--sw-max));
}

.sw-entry-title,
.sw-archive-title {
  margin: 0 0 24px;
  font-family: var(--sw-serif);
  font-size: clamp(42px, 6vw, 68px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.sw-entry-meta {
  margin-bottom: 28px;
  color: var(--sw-muted);
  font-size: 14px;
}

.sw-content-shell .wp-block-post-content,
.sw-content-shell .entry-content {
  font-size: 18px;
  line-height: 1.75;
}

.sw-content-shell .wp-block-post-content > * {
  margin-block-start: 0;
  margin-block-end: 1.35em;
}

.sw-content-shell .wp-block-post-content h2,
.sw-content-shell .wp-block-post-content h3 {
  margin-top: 1.8em;
  font-family: var(--sw-serif);
  font-weight: 400;
  line-height: 1.15;
}

.sw-content-shell .wp-block-post-content a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.sw-content-shell .wp-block-post-featured-image img {
  border-radius: var(--sw-radius);
}

.sw-post-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 0;
}

.sw-post-list > li {
  overflow: hidden;
  border: 1px solid var(--sw-line);
  border-radius: var(--sw-radius);
  background: var(--sw-panel);
  list-style: none;
}

.sw-post-list .wp-block-post-featured-image {
  margin: 0;
}

.sw-post-list .wp-block-post-featured-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.sw-post-card-copy {
  padding: 18px;
}

.sw-post-card-copy .wp-block-post-title {
  margin: 0 0 10px;
  font-family: var(--sw-serif);
  font-size: 25px;
  font-weight: 400;
  line-height: 1.14;
}

.sw-post-card-copy .wp-block-post-excerpt {
  color: #40403b;
  font-size: 14px;
}

.sw-pagination {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--sw-line);
}

.sw-search-form {
  margin: 30px 0;
}

@media (max-width: 860px) {
  .sw-post-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .sw-content-shell,
  .sw-content-shell--wide {
    width: min(calc(100% - 24px), var(--sw-max));
  }

  .sw-post-list {
    grid-template-columns: 1fr;
  }
}

/* Redaktionelle Grundseiten */
.sw-page-intro {
  margin-bottom: 1.55em !important;
  color: var(--sw-ink);
  font-family: var(--sw-serif);
  font-size: clamp(27px, 4vw, 38px);
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.sw-page-grid {
  gap: 16px;
  margin: 2rem 0 2.5rem;
  align-items: stretch !important;
}

.sw-page-grid--two {
  flex-wrap: wrap !important;
}

.sw-page-grid .sw-page-card {
  min-width: min(100%, 245px);
  padding: 22px;
  border: 1px solid var(--sw-line);
  border-radius: var(--sw-radius);
  background: var(--sw-panel);
}

.sw-page-card h3 {
  margin-top: 0 !important;
  margin-bottom: 12px;
  font-size: 25px;
}

.sw-page-card p:last-child {
  margin-bottom: 0;
}

.sw-page-kicker {
  margin-bottom: 8px !important;
  color: #874138;
  font-family: var(--sw-sans);
  font-size: 12px;
  font-weight: 760;
  line-height: 1.3;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.sw-page-note,
.sw-editor-note {
  margin-top: 2.5rem !important;
  padding: 24px 26px;
  border-left: 4px solid #874138;
  background: #f4ede2;
}

.sw-page-note h3,
.sw-editor-note h3 {
  margin-top: 0 !important;
}

.sw-page-note p:last-child,
.sw-editor-note p:last-child {
  margin-bottom: 0;
}

.sw-editor-note {
  border-left-color: #b7791f;
  background: #fff4d6;
}

.sw-page-steps {
  padding-left: 0;
  counter-reset: sw-step;
  list-style: none;
}

.sw-page-steps li {
  position: relative;
  min-height: 50px;
  margin-bottom: 12px;
  padding: 11px 0 12px 58px;
  border-bottom: 1px solid var(--sw-soft-line);
  counter-increment: sw-step;
}

.sw-page-steps li::before {
  content: counter(sw-step, decimal-leading-zero);
  position: absolute;
  top: 8px;
  left: 0;
  color: #874138;
  font-family: var(--sw-serif);
  font-size: 25px;
}

.sw-page-button .wp-block-button__link {
  border: 1px solid var(--sw-ink);
  border-radius: 2px;
  background: var(--sw-ink);
  color: var(--sw-paper);
  font-size: 14px;
  font-weight: 700;
}

.sw-content-shell .wp-block-post-content .sw-page-button .wp-block-button__link,
body.page .sw-content-shell .wp-block-post-content .sw-page-button .wp-block-button__link {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-color: #102d50;
  background: #102d50;
  color: #ffffff !important;
  text-decoration: none;
}

.sw-content-shell .wp-block-post-content .sw-page-button .wp-block-button__link:hover,
body.page .sw-content-shell .wp-block-post-content .sw-page-button .wp-block-button__link:hover {
  border-color: #874138;
  background: #874138;
  color: #ffffff !important;
}

.sw-page-meta {
  margin-top: 2.5rem !important;
  padding-top: 18px;
  border-top: 1px solid var(--sw-line);
  color: var(--sw-muted);
  font-size: 14px;
}

@media (max-width: 780px) {
  .sw-page-grid {
    flex-direction: column;
  }

  .sw-page-grid .sw-page-card {
    min-width: 100%;
  }
}


/* Dynamische Kacheln „Heute in Emden“ */
.sw-service-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.sw-service-description {
  margin-bottom: 0 !important;
}

.sw-service-status {
  margin: 12px 0 0 !important;
  color: var(--sw-ink) !important;
  font-size: 13px !important;
  font-weight: 680;
  line-height: 1.42 !important;
}

.sw-service-meta {
  margin: 5px 0 0 !important;
  color: var(--sw-muted) !important;
  font-size: 11px !important;
  line-height: 1.4 !important;
}

.sw-service-copy .sw-more {
  margin-top: auto;
  padding-top: 12px;
}

.sw-service-state-delayed,
.sw-service-state-stale {
  position: relative;
}

.sw-service-state-delayed::after,
.sw-service-state-stale::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: currentColor;
  opacity: .32;
}

.sw-service-state-missing .sw-service-status {
  color: var(--sw-muted) !important;
  font-weight: 560;
}


/* Version 1.2: bearbeitbare Gutenberg-Startseite. */
.sw-front-content,
.sw-front-content > .wp-block-post-content {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.sw-home > * {
  margin-block-start: 0;
  margin-block-end: 0;
}

.sw-home .wp-block-group,
.sw-home .wp-block-cover,
.sw-home .wp-block-buttons,
.sw-home .wp-block-button,
.sw-home p,
.sw-home h1,
.sw-home h2,
.sw-home h3 {
  margin-block-start: 0;
  margin-block-end: 0;
}

.sw-home .wp-block-button.sw-button {
  min-width: 210px;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.sw-home .wp-block-button.sw-button .wp-block-button__link {
  width: 100%;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: 1px solid var(--sw-ink);
  border-radius: 2px;
  background: transparent;
  color: var(--sw-ink);
  font-weight: 650;
  text-decoration: none;
}

.sw-home .wp-block-button.sw-button--dark .wp-block-button__link {
  background: var(--sw-ink);
  color: #fff;
}

.sw-home .sw-divider {
  width: 100%;
  max-width: none;
  border: 0 !important;
  background: transparent !important;
}

.sw-ad > .wp-block-buttons {
  margin: 0;
  justify-self: end;
}

.sw-ad > .wp-block-buttons .wp-block-button {
  margin: 0;
}

.sw-ad-copy {
  min-width: 0;
}

.sw-media.wp-block-cover {
  padding: 0;
  background-color: #d7d7d0;
  background-image:
    linear-gradient(135deg, transparent 0 36%, rgba(255,255,255,.18) 37% 38%, transparent 39%),
    linear-gradient(25deg, rgba(0,0,0,.07), transparent 58%);
}

.sw-media.wp-block-cover::after {
  display: none;
}

.sw-media.wp-block-cover .wp-block-cover__background {
  background: transparent !important;
}

.sw-media .wp-block-cover__inner-container {
  position: static;
  width: 100%;
  height: 100%;
}

.sw-media .sw-media-label {
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 2;
  width: auto;
  padding: 5px 8px;
  background: rgba(255,255,255,.88);
  color: #2f2f2b;
  border: 1px solid rgba(0,0,0,.08);
  font-family: var(--sw-sans);
  font-size: 11px;
  line-height: 1.25;
  letter-spacing: .02em;
}

.sw-card-body > p:last-child,
.sw-lead-copy > p:last-child,
.sw-dossier-card > p:last-child,
.sw-method-link > p:last-child {
  margin-top: 12px;
}

.sw-dossier-card > .wp-block-html,
.sw-method-link > .wp-block-html {
  line-height: 0;
}

.sw-dossier-card .sw-more {
  margin-top: 0;
}

.sw-price.wp-block-paragraph {
  display: block;
  margin-top: 9px;
}

.sw-method-link p {
  margin: 0;
}

.sw-method-link a {
  color: inherit;
  text-decoration: none;
}

@media (max-width: 1040px) {
  .sw-ad > .wp-block-buttons {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 680px) {
  .sw-ad > .wp-block-buttons {
    grid-column: auto;
    justify-self: stretch;
    width: 100%;
  }

  .sw-ad > .wp-block-buttons .wp-block-button {
    width: 100%;
  }
}

/* Im Blockeditor bleiben die Abschnitte als echte, erkennbare Layoutteile sichtbar. */
.editor-styles-wrapper .sw-home {
  width: 100%;
  max-width: none;
}

.editor-styles-wrapper .sw-symbol-library {
  display: none;
}


/* Grundlage 0.2.0: reduzierte Startseite und robuste SVG-Begrenzung */
.sw-symbol-library {
  position: absolute !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  pointer-events: none;
}

.sw-service-icon,
.sw-dossier-icon,
.sw-method-icon,
.sw-brand-mark {
  max-width: 100%;
  flex: 0 0 auto;
}

.sw-discover-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sw-dossier-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sw-card--future {
  background: #f7f6f1;
  border-style: dashed;
}

.sw-status {
  display: inline-block;
  margin: 0 0 10px;
  padding: 4px 8px;
  border: 1px solid var(--sw-line);
  border-radius: 999px;
  color: var(--sw-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.sw-research-grid > .wp-block-query,
.sw-research-grid .wp-block-post-template,
.sw-research-grid .wp-block-post {
  min-width: 0;
  margin: 0;
  padding: 0;
}

.sw-research-grid .wp-block-post-template {
  list-style: none;
}

.sw-lead-query .wp-block-post-template,
.sw-side-query .wp-block-post-template {
  height: 100%;
}

.sw-side-query .wp-block-post-template {
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.sw-research-grid .wp-block-post-featured-image {
  margin: 0;
  overflow: hidden;
  background: #d7d7d0;
}

.sw-research-grid .wp-block-post-featured-image a,
.sw-research-grid .wp-block-post-featured-image img {
  display: block;
  width: 100%;
  height: 100%;
}

.sw-research-grid .wp-block-post-featured-image img {
  object-fit: cover;
}

.sw-lead-story .wp-block-post-featured-image {
  min-height: 340px;
}

.sw-side-story .wp-block-post-featured-image {
  min-height: 164px;
}

.sw-research-grid .wp-block-post-title a {
  color: inherit;
  text-decoration: none;
}

.sw-research-grid .wp-block-post-title a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sw-research-grid .wp-block-post-excerpt {
  margin: 14px 0 0;
}

.sw-research-grid .wp-block-post-excerpt__more-link {
  display: inline-flex;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 670;
}

.sw-research-grid .wp-block-post-excerpt__more-link::after {
  content: " →";
}

@media (max-width: 1040px) {
  .sw-discover-grid--three,
  .sw-dossier-grid--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .sw-discover-grid--three {
    grid-template-columns: 1fr;
  }

  .sw-dossier-grid--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sw-side-query .wp-block-post-template {
    grid-template-rows: none;
  }
}


/* Grundlage 0.2.1: ruhigerer vertikaler Rhythmus der Startseite. */
:root {
  --sw-section-gap: clamp(56px, 6vw, 82px);
  --sw-section-gap-after-service: clamp(44px, 5vw, 64px);
  --sw-section-gap-mobile: 42px;
}

/* Der Servicebereich bleibt nahe am Einstieg; danach bekommt jeder Themenblock Luft. */
.sw-home > #service {
  padding-bottom: 0;
  margin-bottom: var(--sw-section-gap-after-service);
}

.sw-home > .sw-ad {
  margin-bottom: 0;
}

.sw-home > .sw-ad + .sw-section {
  margin-top: clamp(48px, 5vw, 68px);
}

.sw-home > .sw-section + .sw-section,
.sw-home > .sw-section + .sw-methods,
.sw-home > .sw-methods {
  margin-top: var(--sw-section-gap);
}

.sw-home > .sw-section {
  padding-bottom: 0;
}

.sw-home .sw-section-head {
  margin-bottom: clamp(22px, 2.5vw, 30px);
}

.sw-home > .sw-methods {
  padding-top: 0;
  padding-bottom: clamp(52px, 6vw, 78px);
}

@media (max-width: 680px) {
  .sw-home > #service {
    margin-bottom: 38px;
  }

  .sw-home > .sw-ad + .sw-section,
  .sw-home > .sw-section + .sw-section,
  .sw-home > .sw-section + .sw-methods,
  .sw-home > .sw-methods {
    margin-top: var(--sw-section-gap-mobile);
  }

  .sw-home .sw-section-head {
    margin-bottom: 20px;
  }
}


/* Grundlage 0.2.2: klare Trennung zwischen „Heute in Emden“ und Anzeige. */
/*
 * Der Shortcode-Block kann je nach WordPress-Version ohne oder mit einem
 * zusätzlichen Block-Wrapper ausgegeben werden. Darum liegt der Abstand nun
 * direkt auf der Anzeigenfläche und nicht nur auf dem vorherigen Abschnitt.
 */
.sw-home #service {
  margin-bottom: 0 !important;
}

.sw-home .sw-ad {
  margin-top: clamp(58px, 6vw, 82px) !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

@media (max-width: 680px) {
  .sw-home .sw-ad {
    margin-top: 44px !important;
  }
}

/* Grundlage 0.2.3: Bilder in den Entdecken-Karten ohne Verzerrung. */
/*
 * Die Medienfläche erhält ein festes Seitenverhältnis. Das Bild wird darin
 * proportional skaliert und bei Bedarf nur beschnitten, niemals gestreckt.
 * Die Regeln greifen sowohl für Cover-Blöcke als auch für normale Bildblöcke.
 */
.sw-discover-card > .sw-media.wp-block-cover,
.sw-discover-card > .sw-media.wp-block-image {
  width: 100%;
  min-height: 0 !important;
  height: auto !important;
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
}

.sw-discover-card .sw-media.wp-block-cover > img.wp-block-cover__image-background,
.sw-discover-card .sw-media.wp-block-cover > video.wp-block-cover__video-background,
.sw-discover-card .sw-media.wp-block-image > img,
.sw-discover-card .sw-media > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center center;
}

@media (max-width: 680px) {
  .sw-discover-card > .sw-media.wp-block-cover,
  .sw-discover-card > .sw-media.wp-block-image {
    aspect-ratio: 16 / 10;
  }
}

/* Pilot 0.3.0: Service, Produkte und ausgewählte Dossiers. */
:root {
  --sw-pilot-navy: #102b4c;
  --sw-pilot-red: #b63a2c;
  --sw-pilot-paper: #f7f2e8;
  --sw-pilot-line: #d5c9b8;
}

.sw-home {
  --sw-ink: var(--sw-pilot-navy);
  --sw-muted: #405064;
  --sw-line: var(--sw-pilot-line);
  --sw-soft-line: #e5dccf;
  --sw-paper: var(--sw-pilot-paper);
  --sw-panel: #fffdf8;
  --sw-soft: #eee5d6;
  --sw-accent: var(--sw-pilot-red);
}

.sw-pilot-kicker {
  margin-bottom: 10px !important;
  color: var(--sw-pilot-red);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.sw-hero .sw-hero-title {
  max-width: 780px;
  font-size: clamp(48px, 7vw, 92px);
  line-height: .94;
  letter-spacing: -.045em;
}

.sw-product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sw-product-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  border-top: 3px solid var(--sw-pilot-navy);
  background: var(--sw-panel);
  padding: clamp(22px, 3vw, 32px);
}

.sw-product-card .sw-product-type {
  color: var(--sw-pilot-red);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.sw-product-card h3 {
  margin-top: 14px;
  font-size: clamp(25px, 2.6vw, 35px);
  line-height: 1.08;
}

.sw-product-card .sw-product-meta {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--sw-line);
  color: var(--sw-muted);
  font-size: 13px;
}

.sw-product-card .sw-status {
  width: fit-content;
  margin-top: 18px;
  border-color: var(--sw-pilot-red);
  color: var(--sw-pilot-red);
}

.sw-product-priority {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 20px;
  margin-top: 18px !important;
  border-top: 1px solid var(--sw-line);
  padding-top: 18px;
  color: var(--sw-muted);
  font-size: 14px;
}

.sw-product-priority strong {
  color: var(--sw-ink);
}

.sw-dossier-list {
  display: block;
  border-top: 1px solid var(--sw-line);
}

.sw-dossier-row {
  display: grid;
  grid-template-columns: 70px minmax(0, 1.25fr) minmax(250px, .75fr);
  gap: 28px;
  align-items: start;
  border-bottom: 1px solid var(--sw-line);
  padding: 28px 0;
}

.sw-dossier-number {
  color: var(--sw-pilot-red);
  font-family: var(--sw-serif);
  font-size: 40px;
  line-height: 1;
}

.sw-dossier-row h3 {
  margin-bottom: 10px !important;
  font-size: clamp(25px, 2.4vw, 34px);
}

.sw-dossier-topic,
.sw-dossier-state {
  color: var(--sw-pilot-red);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.sw-dossier-next {
  border-left: 1px solid var(--sw-line);
  padding-left: 24px;
  color: var(--sw-muted);
  font-size: 14px;
}

.sw-dossier-next .sw-dossier-state {
  display: block;
  margin-bottom: 8px !important;
}

.sw-ad--secondary {
  margin-top: clamp(52px, 6vw, 76px) !important;
  grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
}

.sw-weekly {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px;
  align-items: center;
  border-block: 1px solid var(--sw-line);
  padding: clamp(28px, 4vw, 46px) 0;
}

.sw-weekly h2 {
  margin-bottom: 10px !important;
}

.sw-weekly p:last-child {
  max-width: 740px;
  color: var(--sw-muted);
}

@media (max-width: 900px) {
  .sw-product-grid {
    grid-template-columns: 1fr;
  }

  .sw-product-card {
    min-height: 250px;
  }

  .sw-dossier-row {
    grid-template-columns: 52px 1fr;
  }

  .sw-dossier-next {
    grid-column: 2;
  }
}

@media (max-width: 680px) {
  .sw-product-priority,
  .sw-weekly,
  .sw-ad--secondary {
    grid-template-columns: 1fr;
  }

  .sw-dossier-row {
    grid-template-columns: 40px 1fr;
    gap: 14px;
  }

  .sw-dossier-next {
    grid-column: 1 / -1;
    margin-left: 54px;
  }
}

/* Pilot 0.5.0: gemeinsame, lesbare Bühne für normale Seiten. */
.sw-content-shell--page,
body.page .sw-content-shell {
  width: min(calc(100% - 48px), 1120px);
  padding-top: clamp(56px, 7vw, 96px);
  padding-bottom: clamp(72px, 9vw, 120px);
}

.sw-page-heading,
body.page .sw-content-shell > .sw-entry-title {
  width: min(100%, 760px);
  margin-right: auto;
  margin-left: auto;
}

.sw-page-heading {
  position: relative;
  margin-bottom: clamp(36px, 5vw, 58px);
  padding-top: 18px;
}

.sw-page-heading::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 58px;
  height: 3px;
  background: #874138;
}

.sw-content-shell--page .sw-entry-title,
body.page .sw-content-shell > .sw-entry-title {
  margin-bottom: 0;
  color: #102d50;
  font-size: clamp(48px, 7vw, 76px);
  line-height: .98;
}

.sw-page-content,
body.page .sw-content-shell .wp-block-post-content {
  width: 100%;
  max-width: none;
  color: #252520;
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.72;
}

.sw-page-content > *,
body.page .sw-content-shell .wp-block-post-content > * {
  width: min(100%, 760px);
  max-width: 760px !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

.sw-page-content > .sw-page-intro,
body.page .sw-content-shell .wp-block-post-content > .sw-page-intro {
  margin-bottom: clamp(34px, 5vw, 52px) !important;
  color: #102d50;
  font-size: clamp(31px, 4vw, 43px);
  line-height: 1.16;
}

.sw-page-content h2,
body.page .sw-content-shell .wp-block-post-content h2 {
  margin-top: clamp(48px, 7vw, 72px);
  margin-bottom: 18px;
  color: #102d50;
  font-size: clamp(31px, 4vw, 42px);
  line-height: 1.08;
  letter-spacing: -.025em;
}

.sw-page-content h3,
body.page .sw-content-shell .wp-block-post-content h3 {
  color: #102d50;
}

.sw-page-content > .sw-page-grid,
body.page .sw-content-shell .wp-block-post-content > .sw-page-grid {
  width: 100%;
  max-width: 1040px !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px !important;
  margin-bottom: 48px !important;
}

.sw-page-content > .sw-page-grid--two,
body.page .sw-content-shell .wp-block-post-content > .sw-page-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sw-page-grid .sw-page-card {
  min-width: 0;
  margin: 0 !important;
  padding: clamp(23px, 3vw, 32px);
  border-color: #cfc6b9;
  background: rgba(255, 255, 255, .72);
}

.sw-page-card h3 {
  margin-bottom: 14px !important;
  font-size: clamp(24px, 2.4vw, 30px) !important;
  line-height: 1.08 !important;
}

.sw-page-card p {
  font-size: 16px;
  line-height: 1.58;
}

.sw-page-kicker {
  font-size: 11px !important;
}

.sw-page-note,
.sw-editor-note {
  margin-top: clamp(42px, 6vw, 64px) !important;
  padding: clamp(26px, 4vw, 38px);
}

.sw-page-note h3,
.sw-editor-note h3 {
  margin-bottom: 12px !important;
  font-size: clamp(25px, 3vw, 32px) !important;
}

.sw-page-steps li {
  padding-top: 14px;
  padding-bottom: 16px;
}

@media (max-width: 760px) {
  .sw-content-shell--page,
  body.page .sw-content-shell {
    width: min(calc(100% - 28px), 1120px);
    padding-top: 48px;
  }

  .sw-page-content > .sw-page-grid,
  body.page .sw-content-shell .wp-block-post-content > .sw-page-grid,
  .sw-page-content > .sw-page-grid--two,
  body.page .sw-content-shell .wp-block-post-content > .sw-page-grid--two {
    grid-template-columns: 1fr;
  }

  .sw-page-grid .sw-page-card {
    padding: 22px;
  }
}

/* Pilot 0.6.0: gemeinsame Vorlage für journalistische Beiträge. */
.sw-article-shell {
  width: min(calc(100% - 48px), 1120px);
  padding-top: clamp(64px, 8vw, 112px);
  padding-bottom: clamp(76px, 9vw, 124px);
}

.sw-article-header,
.sw-article-body,
.sw-article-footer {
  width: min(100%, 760px);
  margin-right: auto;
  margin-left: auto;
}

.sw-article-header {
  position: relative;
  margin-bottom: clamp(38px, 5vw, 58px);
  padding-top: 20px;
}

.sw-article-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 58px;
  height: 3px;
  background: #874138;
}

.sw-article-kicker {
  margin: 0 0 18px;
  color: #874138;
  font-size: 12px;
  font-weight: 760;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.sw-article-kicker a {
  color: inherit;
  text-decoration: none;
}

.sw-article-title {
  margin: 0;
  color: #102d50;
  font-size: clamp(48px, 7vw, 78px);
  line-height: .98;
  letter-spacing: -.045em;
}

.sw-article-deck {
  margin: clamp(28px, 4vw, 42px) 0 0;
  color: #273d55;
  font-family: var(--sw-serif);
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.24;
}

.sw-article-deck .wp-block-post-excerpt__excerpt {
  margin: 0;
}

.sw-article-deck .wp-block-post-excerpt__more-link {
  display: none;
}

.sw-article-meta {
  gap: 9px 18px;
  margin: 24px 0 0;
  color: var(--sw-muted);
  font-size: 13px;
}

.sw-article-meta .wp-block-post-author-name::before {
  content: "Von ";
}

.sw-article-image {
  width: min(100%, 940px);
  margin: 0 auto clamp(42px, 6vw, 68px) !important;
}

.sw-article-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--sw-radius);
}

.sw-article-body {
  color: #252520;
  font-size: clamp(17px, 1.35vw, 19px);
  line-height: 1.76;
}

.sw-article-body .wp-block-post-content {
  width: 100%;
  max-width: none;
}

.sw-article-body .wp-block-post-content > * {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
}

.sw-article-body .wp-block-post-content > p {
  margin-top: 0;
  margin-bottom: 1.45em;
}

.sw-article-body .wp-block-post-content h2 {
  margin-top: clamp(48px, 7vw, 72px);
  margin-bottom: 18px;
  color: #102d50;
  font-family: var(--sw-serif);
  font-size: clamp(31px, 4vw, 43px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.025em;
}

.sw-article-body .wp-block-post-content h3 {
  margin-top: 42px;
  color: #102d50;
  font-family: var(--sw-serif);
  font-size: clamp(25px, 3vw, 32px);
  font-weight: 400;
  line-height: 1.12;
}

.sw-article-body .wp-block-post-content blockquote {
  margin: clamp(38px, 6vw, 58px) auto;
  padding: 24px 0 24px 28px;
  border-left: 4px solid #874138;
  color: #102d50;
  font-family: var(--sw-serif);
  font-size: clamp(26px, 3.5vw, 38px);
  font-style: normal;
  line-height: 1.18;
}

.sw-article-body .wp-block-post-content blockquote p {
  margin: 0;
}

.sw-article-footer {
  margin-top: clamp(64px, 8vw, 96px);
  padding: clamp(28px, 4vw, 38px);
  border-top: 3px solid #102d50;
  background: #f4ede2;
}

.sw-article-footer h2 {
  margin: 8px 0 14px;
  color: #102d50;
  font-family: var(--sw-serif);
  font-size: clamp(27px, 3vw, 34px);
  font-weight: 400;
  line-height: 1.12;
}

.sw-article-footer > p:not(.sw-page-kicker) {
  margin: 0;
  line-height: 1.65;
}

.sw-article-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 22px !important;
  padding-top: 18px;
  border-top: 1px solid #cfc6b9;
}

.sw-article-footer-links a {
  color: #102d50;
  font-size: 14px;
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

@media (max-width: 760px) {
  .sw-article-shell {
    width: min(calc(100% - 28px), 1120px);
    padding-top: 48px;
  }

  .sw-article-footer {
    padding: 24px 20px;
  }
}

/* Version 0.7.0: fortlaufende Dossierseiten. */
.sw-page-content > .sw-dossier-status,
body.page .sw-content-shell .wp-block-post-content > .sw-dossier-status {
  width: min(100%, 1040px);
  max-width: 1040px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 42px;
  margin-bottom: 58px;
  border: 1px solid #d8d0c4;
  background: #fff;
}

.sw-dossier-status-item {
  min-width: 0;
  padding: 20px 22px;
  border-right: 1px solid #d8d0c4;
}

.sw-dossier-status-item:last-child {
  border-right: 0;
}

.sw-dossier-status-item p {
  margin: 0;
}

.sw-dossier-status-item .sw-page-kicker {
  margin-bottom: 7px;
}

.sw-dossier-timeline {
  padding: 0;
  list-style: none;
}

.sw-dossier-timeline li {
  position: relative;
  margin: 0;
  padding: 0 0 30px 42px;
  border-left: 1px solid #b9afa2;
}

.sw-dossier-timeline li::before {
  content: "";
  position: absolute;
  top: 5px;
  left: -6px;
  width: 11px;
  height: 11px;
  border: 2px solid #874138;
  border-radius: 50%;
  background: var(--sw-paper);
}

.sw-dossier-timeline li:last-child {
  padding-bottom: 0;
  border-left-color: transparent;
}

.sw-dossier-questions .sw-page-card {
  border-top: 3px solid #102d50;
}

.sw-dossier-questions ul {
  margin-bottom: 0;
  padding-left: 1.2em;
}

.sw-dossier-questions li + li {
  margin-top: 8px;
}

.sw-page-content > .sw-dossier-story,
body.page .sw-content-shell .wp-block-post-content > .sw-dossier-story {
  width: min(100%, 820px);
  max-width: 820px;
  margin-top: 26px;
  padding: clamp(25px, 4vw, 36px);
  border: 1px solid #d8d0c4;
  border-top: 3px solid #102d50;
  background: #fff;
}

.sw-dossier-story h3 {
  margin: 6px 0 14px !important;
  font-size: clamp(28px, 3.7vw, 39px) !important;
}

.sw-dossier-story h3 a {
  color: inherit;
  text-decoration: none;
}

.sw-dossier-story h3 a:hover {
  color: #874138;
}

.sw-dossier-story p:last-child {
  margin-bottom: 0;
}

.sw-dossier-story p:last-child a {
  color: #102d50;
  font-weight: 700;
  text-underline-offset: 4px;
}

.sw-dossier-contact {
  margin-top: 54px !important;
}

.sw-dossier-authority {
  border-left-color: #102d50;
}

.sw-dossier-press-list {
  padding-left: 1.25em;
}

.sw-dossier-press-list li {
  margin-bottom: 14px;
}

@media (max-width: 820px) {
  .sw-page-content > .sw-dossier-status,
  body.page .sw-content-shell .wp-block-post-content > .sw-dossier-status {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sw-dossier-status-item:nth-child(2) {
    border-right: 0;
  }

  .sw-dossier-status-item:nth-child(-n+2) {
    border-bottom: 1px solid #d8d0c4;
  }
}

@media (max-width: 520px) {
  .sw-page-content > .sw-dossier-status,
  body.page .sw-content-shell .wp-block-post-content > .sw-dossier-status {
    grid-template-columns: 1fr;
  }

  .sw-dossier-status-item,
  .sw-dossier-status-item:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid #d8d0c4;
  }

  .sw-dossier-status-item:last-child {
    border-bottom: 0;
  }
}

/* Version 0.8.2: gemeinsame Bühne für Service-Unterseiten. */
.sw-page-content > .sw-service-live,
body.page .sw-content-shell .wp-block-post-content > .sw-service-live {
  width: min(100%, 1040px);
  max-width: 1040px;
  margin-top: 46px;
  margin-bottom: 62px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid #d8d0c4;
  border-top: 3px solid #2d7754;
  background: #ffffff;
}

.sw-service-live > .sw-page-kicker {
  margin-bottom: 18px;
}

.sw-service-live > .wp-block-shortcode {
  margin: 0;
}

.sw-service-live .swt-wrap {
  width: 100%;
  max-width: none;
  margin: 0;
}

.sw-service-live .swba-wrap {
  width: 100%;
  max-width: none;
  margin: 0;
}

.sw-service-live .sws-wrap {
  width: 100%;
  max-width: none;
  margin: 0;
}

.sw-service-live .swp-wrap {
  width: 100%;
  max-width: none;
  margin: 0;
}

.sw-service-live .swv-wrap {
  width: 100%;
  max-width: none;
  margin: 0;
}

.sw-service-live .swve-wrap {
  width: 100%;
  max-width: none;
  margin: 0;
}

.sw-service-live--bathing {
  width: min(100%, 1120px) !important;
  max-width: 1120px !important;
}

.sw-service-live--ships {
  width: min(100%, 1120px) !important;
  max-width: 1120px !important;
}

.sw-service-live--pause {
  width: min(100%, 1120px) !important;
  max-width: 1120px !important;
}

.sw-service-live--traffic {
  width: min(100%, 1120px) !important;
  max-width: 1120px !important;
}

.sw-service-live--events {
  width: min(100%, 1120px) !important;
  max-width: 1120px !important;
}

.sw-service-live--pause .swp-action-primary,
.sw-service-live--pause .swp-action-primary:visited,
.sw-service-live--pause .swp-action-primary:hover,
.sw-service-live--pause .swp-action-primary:focus-visible {
  color: #ffffff !important;
}

.sw-service-live--traffic .swv-action-primary,
.sw-service-live--traffic .swv-action-primary:visited,
.sw-service-live--traffic .swv-action-primary:hover,
.sw-service-live--traffic .swv-action-primary:focus-visible,
.sw-service-live--traffic .swv-filter.is-active {
  color: #ffffff !important;
}

.sw-service-live--single-card .swh-wrap,
.sw-service-live--single-card .swh-grid {
  width: 100%;
  max-width: none;
}

.sw-service-live--single-card .swh-grid {
  grid-template-columns: minmax(0, 1fr);
}

.sw-service-live--single-card .swh-more {
  display: none;
}

.sw-page-content > .sw-service-feature,
body.page .sw-content-shell .wp-block-post-content > .sw-service-feature {
  width: min(100%, 820px);
  max-width: 820px;
  margin-top: 24px;
  padding: clamp(25px, 4vw, 36px);
  border: 1px solid #d8d0c4;
  border-top: 3px solid #2d7754;
  background: #ffffff;
}

.sw-service-feature h3 {
  margin: 6px 0 14px !important;
  font-size: clamp(29px, 3.7vw, 40px) !important;
}

.sw-service-feature h3 a {
  color: inherit;
  text-decoration: none;
}

.sw-service-feature h3 a:hover {
  color: #2d7754;
}

.sw-service-feature p:last-child {
  margin-bottom: 0;
}

.sw-service-feature p:last-child a {
  color: #102d50;
  font-weight: 700;
  text-underline-offset: 4px;
}

.sw-page-content > .sw-warning-levels,
body.page .sw-content-shell .wp-block-post-content > .sw-warning-levels {
  width: min(100%, 1040px);
  max-width: 1040px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 25px;
  margin-bottom: 28px;
}

.sw-warning-level {
  min-width: 0;
  padding: 20px;
  border: 1px solid #d8d0c4;
  border-top-width: 5px;
  background: #ffffff;
}

.sw-warning-level--one {
  border-top-color: #c9a227;
}

.sw-warning-level--two {
  border-top-color: #c56b24;
}

.sw-warning-level--three {
  border-top-color: #a63732;
}

.sw-warning-level--four {
  border-top-color: #6f2348;
}

.sw-warning-level h3 {
  margin: 8px 0 0 !important;
  font-size: clamp(21px, 2.4vw, 27px) !important;
}

.sw-page-content > .sw-bathing-levels,
body.page .sw-content-shell .wp-block-post-content > .sw-bathing-levels {
  width: min(100%, 1040px);
  max-width: 1040px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 25px;
  margin-bottom: 28px;
}

.sw-bathing-level {
  min-width: 0;
  padding: 20px;
  border: 1px solid #d8d0c4;
  border-top-width: 5px;
  background: #ffffff;
}

.sw-bathing-level--green {
  border-top-color: #267447;
}

.sw-bathing-level--yellow {
  border-top-color: #986000;
}

.sw-bathing-level--red {
  border-top-color: #b42318;
}

.sw-bathing-level--gray {
  border-top-color: #667085;
}

.sw-bathing-level h3 {
  margin: 8px 0 12px !important;
  font-size: clamp(21px, 2.4vw, 27px) !important;
}

.sw-bathing-level p:last-child {
  margin-bottom: 0;
  font-size: 15px;
  line-height: 1.5;
}

@media (max-width: 820px) {
  .sw-page-content > .sw-warning-levels,
  body.page .sw-content-shell .wp-block-post-content > .sw-warning-levels,
  .sw-page-content > .sw-bathing-levels,
  body.page .sw-content-shell .wp-block-post-content > .sw-bathing-levels {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .sw-page-content > .sw-warning-levels,
  body.page .sw-content-shell .wp-block-post-content > .sw-warning-levels,
  .sw-page-content > .sw-bathing-levels,
  body.page .sw-content-shell .wp-block-post-content > .sw-bathing-levels {
    grid-template-columns: 1fr;
  }
}

/* Pilot 0.4.0: klare Startseiten-Dramaturgie und vier Erlöspfade. */
/* Pilot 0.4.1: Wahlspecial eingebunden, Leserbindung kompakter. */
.sw-home .sw-hero .sw-hero-title {
  max-width: 820px;
  font-size: clamp(48px, 6.4vw, 78px);
  line-height: .98;
  letter-spacing: -.042em;
}

.sw-home > .sw-section + .sw-follow,
.sw-home > .sw-follow + .sw-section,
.sw-home > .sw-section + .sw-election,
.sw-home > .sw-election + .sw-support,
.sw-home > .sw-support + .sw-methods {
  margin-top: var(--sw-section-gap);
}

.sw-follow,
.sw-support {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px;
  align-items: center;
  padding: clamp(28px, 4vw, 42px) 0;
  border-block: 1px solid var(--sw-line);
}

.sw-follow h2,
.sw-support h2 {
  margin: 0 0 9px;
  font-family: var(--sw-serif);
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -.025em;
}

.sw-follow p,
.sw-support p {
  max-width: 760px;
  margin: 0;
  color: var(--sw-muted);
  font-size: 14px;
  line-height: 1.55;
}

.sw-follow .sw-follow-kicker,
.sw-support .sw-support-kicker,
.sw-election .sw-election-kicker,
.sw-product-tag {
  margin: 0 0 8px !important;
  color: var(--sw-pilot-red) !important;
  font-size: 11px !important;
  font-weight: 750;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.sw-discover-grid--compact .sw-discover-card {
  min-height: 0;
  display: flex;
}

.sw-discover-grid--compact .sw-card-body {
  width: 100%;
  min-height: 170px;
  display: flex;
  flex-direction: column;
  padding: 20px 20px 18px;
}

.sw-discover-grid--compact .sw-card-body > p:last-child {
  margin-top: auto;
  padding-top: 14px;
}

.sw-discover-grid--compact .sw-discover-card h3 {
  font-size: 24px;
}

.sw-election {
  width: min(calc(100% - 40px), var(--sw-max));
  margin-inline: auto;
  border: 1px solid var(--sw-line);
  border-top: 2px solid var(--sw-pilot-red);
  background: #fffdf8;
}

.sw-election .sw-election-inner {
  width: auto;
  max-width: none;
  margin-inline: 0;
  padding: clamp(26px, 3.4vw, 40px);
}

.sw-election h2 {
  max-width: 900px;
  margin: 0 0 10px;
  font-family: var(--sw-serif);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.025em;
}

.sw-election p {
  max-width: 860px;
  margin: 0 0 9px;
  color: var(--sw-muted);
  font-size: 14px;
}

.sw-election .sw-election-meta {
  color: var(--sw-ink);
  font-size: 13px;
}

.sw-election .wp-block-buttons {
  margin-top: 18px;
}

.sw-home > .sw-section + .sw-follow,
.sw-home > .sw-follow + .sw-section {
  margin-top: clamp(34px, 4vw, 48px);
}

.sw-follow {
  gap: 24px;
  padding: 18px 0 20px;
}

.sw-follow h2 {
  margin-bottom: 6px;
  font-size: clamp(28px, 2.7vw, 34px);
}

.sw-follow .sw-follow-kicker {
  margin-bottom: 5px !important;
}

.sw-support {
  border-top-width: 2px;
  border-top-color: var(--sw-ink);
}

.sw-support .sw-button,
.sw-follow .sw-button {
  min-width: 190px;
}

@media (max-width: 680px) {
  .sw-home > .sw-section + .sw-follow,
  .sw-home > .sw-follow + .sw-section,
  .sw-home > .sw-section + .sw-election,
  .sw-home > .sw-election + .sw-support,
  .sw-home > .sw-support + .sw-methods {
    margin-top: var(--sw-section-gap-mobile);
  }

  .sw-follow,
  .sw-support {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .sw-home > .sw-section + .sw-follow,
  .sw-home > .sw-follow + .sw-section {
    margin-top: 30px;
  }

  .sw-follow {
    gap: 15px;
    padding: 16px 0 18px;
  }

  .sw-follow .sw-button,
  .sw-support .sw-button {
    width: 100%;
    min-width: 0;
  }

  .sw-election {
    width: min(calc(100% - 28px), var(--sw-max));
  }

  .sw-election .sw-election-inner {
    padding: 24px 20px 26px;
  }
}


/* Pilot 0.14.3: erste kleine Erlösseite „Werben auf Stadtwalk“. */
.sw-page-content > .sw-ad-offer,
body.page .sw-content-shell .wp-block-post-content > .sw-ad-offer {
  width: 100%;
  max-width: 1040px !important;
  margin-top: clamp(38px, 5vw, 56px) !important;
  margin-bottom: clamp(42px, 6vw, 68px) !important;
  padding: clamp(26px, 4vw, 40px);
  border: 1px solid #cfc6b9;
  border-top: 3px solid #102d50;
  background: rgba(255, 255, 255, .76);
}

.sw-ad-offer .sw-page-kicker {
  margin: 0 0 12px !important;
  color: #874138;
  font-weight: 750;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.sw-ad-offer .sw-ad-offer-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 260px);
  gap: clamp(28px, 5vw, 64px);
  align-items: end;
  margin: 0 !important;
}

.sw-ad-offer .sw-ad-offer-grid > .wp-block-column {
  margin: 0 !important;
}

.sw-ad-offer h2 {
  margin: 0 0 14px !important;
}

.sw-ad-offer p {
  margin-top: 0;
}

.sw-ad-price {
  padding-left: clamp(22px, 3vw, 34px);
  border-left: 1px solid #cfc6b9;
}

.sw-ad-price p:first-child {
  margin-bottom: 10px;
  color: #102d50;
  font-size: 17px;
  line-height: 1.3;
}

.sw-ad-price p:first-child strong {
  display: inline-block;
  margin-bottom: 5px;
  font-family: var(--sw-serif);
  font-size: clamp(42px, 5vw, 58px);
  font-weight: 400;
  line-height: .95;
  letter-spacing: -.035em;
}

.sw-ad-price p:last-child {
  margin-bottom: 0;
  color: var(--sw-muted);
  font-size: 14px;
}

.sw-ad-offer > .sw-page-meta {
  max-width: none !important;
  margin-top: 24px !important;
  margin-bottom: 0 !important;
  padding-top: 18px;
  border-top: 1px solid var(--sw-soft-line);
}

.sw-page-content > .sw-ad-checklist,
body.page .sw-content-shell .wp-block-post-content > .sw-ad-checklist {
  padding-left: 1.25em;
}

.sw-ad-checklist li {
  margin-bottom: 12px;
  padding-left: 4px;
}

@media (max-width: 760px) {
  .sw-ad-offer .sw-ad-offer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .sw-ad-price {
    padding-top: 20px;
    padding-left: 0;
    border-top: 1px solid #cfc6b9;
    border-left: 0;
  }
}

/* Pilot 0.14.5: freiwillige Unterstützung – klein, transparent, anbieterneutral. */
.sw-page-content > .sw-support-page-offer,
body.page .sw-content-shell .wp-block-post-content > .sw-support-page-offer {
  width: 100%;
  max-width: 1040px !important;
  margin-top: clamp(38px, 5vw, 56px) !important;
  margin-bottom: clamp(42px, 6vw, 68px) !important;
  padding: clamp(26px, 4vw, 40px);
  border: 1px solid #cfc6b9;
  border-top: 3px solid #102d50;
  background: rgba(255, 255, 255, .76);
}

.sw-support-page-offer .sw-page-kicker {
  margin: 0 0 10px !important;
  color: #874138;
  font-weight: 750;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.sw-support-page-offer > h2 {
  margin-top: 0 !important;
}

.sw-support-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0 18px;
}

.sw-support-option {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 22px 20px 20px;
  border: 1px solid #d8d0c4;
  background: #fff;
}

.sw-support-amount {
  margin: 0 0 14px !important;
  color: #102d50 !important;
}

.sw-support-amount strong {
  display: block;
  font-family: var(--sw-serif);
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 400;
  line-height: 1;
}

.sw-support-amount span {
  display: block;
  margin-top: 7px;
  color: var(--sw-muted);
  font-size: 13px;
}

.sw-support-option > p:not(.sw-support-amount) {
  flex: 1;
  margin: 0 0 18px !important;
  color: var(--sw-muted);
  font-size: 14px;
  line-height: 1.5;
}

.sw-support-pay-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 10px 13px;
  border: 1px solid #102d50;
  background: #102d50;
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none !important;
}

.sw-support-pay-button--missing {
  border-color: #cfc6b9;
  background: #f4f1eb;
  color: #77716a !important;
  cursor: default;
}

.sw-support-once {
  display: flex;
  gap: 10px 18px;
  align-items: baseline;
  justify-content: flex-end;
  padding-top: 15px;
  border-top: 1px solid #ded7cc;
  color: var(--sw-muted);
  font-size: 14px;
}

.sw-support-once a {
  color: #102d50;
  font-weight: 700;
  text-underline-offset: 3px;
}

.sw-support-editor-note {
  margin: 18px 0 0 !important;
  padding: 12px 14px;
  border-left: 3px solid #b63a2c;
  background: #fff8e8;
  color: #5d5142 !important;
  font-size: 13px !important;
}

.sw-support-use-list {
  margin-bottom: 26px !important;
}

@media (max-width: 760px) {
  .sw-support-options {
    grid-template-columns: 1fr;
  }

  .sw-support-option {
    padding: 20px 18px;
  }

  .sw-support-once {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

/* Pilot 0.14.7: Newsletter – anbieterneutral, kein eigener Adressspeicher im Theme. */
.sw-page-content > .sw-newsletter-page-offer,
body.page .sw-content-shell .wp-block-post-content > .sw-newsletter-page-offer {
  width: 100%;
  max-width: 1040px !important;
  margin-top: clamp(38px, 5vw, 56px) !important;
  margin-bottom: clamp(42px, 6vw, 68px) !important;
  padding: clamp(26px, 4vw, 40px);
  border: 1px solid #cfc6b9;
  border-top: 3px solid #102d50;
  background: rgba(255, 255, 255, .76);
}

.sw-newsletter-page-offer .sw-page-kicker {
  margin: 0 0 10px !important;
  color: #874138;
  font-weight: 750;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.sw-newsletter-page-offer > h2 {
  margin-top: 0 !important;
}

.sw-newsletter-list {
  margin-bottom: 28px !important;
}

.sw-newsletter-signup {
  display: flex;
  gap: 14px 22px;
  align-items: center;
  justify-content: space-between;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid #ded7cc;
}

.sw-newsletter-signup > p {
  flex: 1;
  margin: 0 !important;
  color: var(--sw-muted);
  font-size: 13px;
  line-height: 1.5;
}

.sw-newsletter-signup-button {
  display: inline-flex;
  min-height: 46px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border: 1px solid #102d50;
  background: #102d50;
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none !important;
}

.sw-newsletter-signup-button:hover {
  border-color: #874138;
  background: #874138;
}

.sw-newsletter-signup--embedded {
  display: block;
}

.sw-newsletter-editor-note {
  margin: 22px 0 0 !important;
  padding: 12px 14px;
  border-left: 3px solid #b63a2c;
  background: #fff8e8;
  color: #5d5142 !important;
  font-size: 13px !important;
}

@media (max-width: 760px) {
  .sw-newsletter-signup {
    align-items: stretch;
    flex-direction: column;
  }

  .sw-newsletter-signup-button {
    width: 100%;
  }
}

/* Pilot 0.14.8: erster kleiner Stadtführer / Produktseite. */
.sw-page-content > .sw-product-page-offer,
body.page .sw-content-shell .wp-block-post-content > .sw-product-page-offer {
  width: 100%;
  max-width: 1040px !important;
  margin-top: clamp(34px, 5vw, 54px) !important;
  margin-bottom: clamp(42px, 6vw, 68px) !important;
  padding: clamp(26px, 4vw, 40px);
  border: 1px solid #cfc6b9;
  border-top: 3px solid #102d50;
  background: rgba(255, 255, 255, .76);
}

.sw-product-page-offer .sw-page-kicker {
  margin: 0 0 10px !important;
  color: #874138;
  font-weight: 750;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.sw-product-page-offer > h2 {
  margin-top: 0 !important;
}

.sw-product-feature-list {
  margin-bottom: 26px !important;
}

.sw-product-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px 36px;
  align-items: end;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #ded7cc;
}

.sw-product-card-main {
  min-width: 0;
}

.sw-product-meta {
  display: flex;
  gap: 8px 16px;
  flex-wrap: wrap;
  margin-bottom: 10px;
  color: var(--sw-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.sw-product-price {
  margin: 0 0 8px !important;
  color: #102d50 !important;
  font-family: var(--sw-serif);
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1;
}

.sw-product-status {
  margin: 0 0 8px !important;
  color: #874138 !important;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.sw-product-card--ready .sw-product-status {
  color: #1d6b42 !important;
}

.sw-product-delivery {
  max-width: 620px;
  margin: 0 !important;
  color: var(--sw-muted);
  font-size: 14px;
  line-height: 1.5;
}

.sw-product-actions {
  display: flex;
  min-width: 220px;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
}

.sw-product-buy-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border: 1px solid #102d50;
  background: #102d50;
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  text-decoration: none !important;
}

.sw-product-buy-button--disabled {
  border-color: #cfc6b9;
  background: #f4f1eb;
  color: #77716a !important;
  cursor: default;
}

.sw-product-secondary-link {
  color: #102d50 !important;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sw-product-editor-note {
  margin: 18px 0 0 !important;
  padding: 12px 14px;
  border-left: 3px solid #b63a2c;
  background: #fff8e8;
  color: #5d5142 !important;
  font-size: 13px !important;
}

@media (max-width: 760px) {
  .sw-product-card {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .sw-product-actions {
    min-width: 0;
  }
}

/* 0.14.9: skalierbare kleine Produktbibliothek / mehrere PDFs. */
.sw-pdf-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  width: 100%;
  margin: clamp(28px, 4vw, 44px) 0 clamp(42px, 6vw, 68px);
}

.sw-pdf-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #cfc6b9;
  border-top: 3px solid #102d50;
  background: rgba(255, 255, 255, .78);
}

.sw-pdf-card-media {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #eeeae2;
}

.sw-pdf-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sw-pdf-card-body {
  display: flex;
  min-height: 100%;
  flex: 1;
  flex-direction: column;
  padding: clamp(22px, 3vw, 30px);
}

.sw-pdf-meta {
  display: flex;
  gap: 7px 14px;
  flex-wrap: wrap;
  margin: 0 0 9px;
  color: var(--sw-muted);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.sw-pdf-card h2 {
  margin: 0 0 12px !important;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.06;
}

.sw-pdf-card h2 a {
  color: #102d50;
  text-decoration: none;
}

.sw-pdf-card h2 a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.sw-pdf-card-body > p {
  margin: 0 0 22px !important;
  color: var(--sw-muted);
  font-size: 15px;
  line-height: 1.55;
}

.sw-pdf-card-footer {
  display: flex;
  gap: 18px;
  align-items: end;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid #ded7cc;
}

.sw-pdf-card-footer > div {
  display: flex;
  gap: 5px;
  flex-direction: column;
}

.sw-pdf-card-price {
  color: #102d50;
  font-family: var(--sw-serif);
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
}

.sw-pdf-card-status,
.sw-pdf-status {
  color: #874138;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.sw-pdf-card-status--available,
.sw-pdf-status--available {
  color: #1d6b42;
}

.sw-pdf-card-status--planned,
.sw-pdf-status--planned {
  color: var(--sw-muted);
}

.sw-pdf-card-link,
.sw-pdf-text-link {
  color: #102d50 !important;
  font-size: 13px;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sw-pdf-empty {
  margin: clamp(28px, 4vw, 44px) 0 clamp(42px, 6vw, 68px);
  padding: 24px 26px;
  border: 1px solid #d8d0c5;
  background: rgba(255, 255, 255, .65);
}

.sw-pdf-empty p {
  margin: 0 0 8px !important;
}

.sw-pdf-purchase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, auto);
  gap: 24px 36px;
  align-items: end;
  width: 100%;
  margin: clamp(30px, 5vw, 52px) 0 clamp(38px, 6vw, 62px);
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid #cfc6b9;
  border-top: 3px solid #102d50;
  background: rgba(255, 255, 255, .78);
}

.sw-pdf-purchase-main {
  min-width: 0;
}

.sw-pdf-price {
  margin: 2px 0 9px !important;
  color: #102d50 !important;
  font-family: var(--sw-serif);
  font-size: clamp(38px, 5vw, 54px);
  line-height: 1;
}

.sw-pdf-status {
  margin: 0 0 9px !important;
}

.sw-pdf-delivery {
  max-width: 620px;
  margin: 0 !important;
  color: var(--sw-muted);
  font-size: 14px;
  line-height: 1.5;
}

.sw-pdf-actions {
  display: flex;
  min-width: 210px;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
}

.sw-pdf-buy-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border: 1px solid #102d50;
  background: #102d50;
  color: #fff !important;
  font-size: 14px;
  font-weight: 750;
  text-align: center;
  text-decoration: none !important;
}

.sw-pdf-buy-button--disabled {
  border-color: #cfc6b9;
  background: #f4f1eb;
  color: #77716a !important;
  cursor: default;
}

.sw-pdf-secondary-link {
  color: #102d50 !important;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 760px) {
  .sw-pdf-grid,
  .sw-pdf-purchase {
    grid-template-columns: 1fr;
  }

  .sw-pdf-actions {
    min-width: 0;
  }

  .sw-pdf-card-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}


/* 0.15.0 – Templates für Stadtwalk Core */
.sw-dossier-shell .sw-article-kicker,
.sw-entdecken-shell .sw-article-kicker,
.sw-card-kicker {
  margin: 0 0 0.5rem;
  color: var(--sw-muted);
  font-family: var(--sw-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sw-front-content--core {
  width: 100%;
  max-width: none;
  margin: 0;
}


/* =========================================================
   0.15.1 – Startseiten-Hotfix: Hero + Heute in Emden
   Darstellung gehört ins Theme, nicht in die Datenlogik.
   ========================================================= */

.sw-front-content--core .sw-home-top {
  align-items: start !important;
}

/* Ohne Beitragsbild darf der Leitartikel nicht auf die Höhe
   der Service-Spalte mitwachsen. */
.sw-front-content--core .sw-home-hero,
.sw-front-content--core .sw-home-hero article {
  height: auto !important;
}

.sw-front-content--core .sw-home-hero article.no-image {
  min-height: 470px !important;
}

/* "Heute in Emden": stabile kompakte Zeilen.
   Titel links, aktuelle Kerndaten rechts. */
.sw-front-content--core .sw-home-today .swh-compact-row {
  display: grid !important;
  grid-template-columns: 30px minmax(0, 1fr) 14px !important;
  align-items: center !important;
  gap: 10px !important;
  min-height: 0 !important;
  padding: 11px 4px 11px 10px !important;
}

.sw-front-content--core .sw-home-today .swh-compact-copy {
  display: grid !important;
  grid-template-columns: minmax(105px, .9fr) minmax(0, 1.25fr) !important;
  grid-template-rows: auto auto !important;
  column-gap: 10px !important;
  row-gap: 2px !important;
  align-items: start !important;
  width: 100% !important;
  min-width: 0 !important;
}

.sw-front-content--core .sw-home-today .swh-compact-title {
  grid-column: 1 !important;
  grid-row: 1 / span 2 !important;
  margin: 0 !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
}

.sw-front-content--core .sw-home-today .swh-compact-primary {
  grid-column: 2 !important;
  grid-row: 1 !important;
  margin: 0 !important;
  min-width: 0 !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
}

.sw-front-content--core .sw-home-today .swh-compact-secondary {
  grid-column: 2 !important;
  grid-row: 2 !important;
  margin: 0 !important;
  min-width: 0 !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
}

.sw-front-content--core .sw-home-today .swh-compact-arrow {
  align-self: center !important;
  justify-self: end !important;
}

@media (max-width: 820px) {
  .sw-front-content--core .sw-home-top {
    grid-template-columns: 1fr !important;
  }

  .sw-front-content--core .sw-home-hero article.no-image {
    min-height: 360px !important;
  }

  .sw-front-content--core .sw-home-today .swh-compact-copy {
    grid-template-columns: minmax(120px, .8fr) minmax(0, 1.2fr) !important;
  }
}

@media (max-width: 520px) {
  .sw-front-content--core .sw-home-today .swh-compact-copy {
    display: block !important;
  }

  .sw-front-content--core .sw-home-today .swh-compact-primary,
  .sw-front-content--core .sw-home-today .swh-compact-secondary {
    margin-top: 3px !important;
  }
}


/* =========================================================
   0.15.2 – Korrektur der kompakten Service-Spalte
   0.15.1 teilte den Textbereich nochmals in zwei Spalten.
   Das war bei ca. 300–330 px Seitenbreite zu eng und führte
   zu extremem Umbruch. Jetzt wieder: Titel + Daten gestapelt.
   ========================================================= */

.sw-front-content--core .sw-home-today .swh-compact-row {
  display: grid !important;
  grid-template-columns: 30px minmax(0, 1fr) 14px !important;
  align-items: center !important;
  gap: 10px !important;
  min-height: 0 !important;
  padding: 10px 4px 10px 10px !important;
}

.sw-front-content--core .sw-home-today .swh-compact-copy {
  display: block !important;
  width: auto !important;
  min-width: 0 !important;
}

.sw-front-content--core .sw-home-today .swh-compact-title,
.sw-front-content--core .sw-home-today .swh-compact-primary,
.sw-front-content--core .sw-home-today .swh-compact-secondary {
  display: block !important;
  width: auto !important;
  min-width: 0 !important;
  grid-column: auto !important;
  grid-row: auto !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
  hyphens: auto !important;
}

.sw-front-content--core .sw-home-today .swh-compact-title {
  margin: 0 !important;
  font-size: .9rem !important;
  line-height: 1.15 !important;
  hyphens: none !important;
}

.sw-front-content--core .sw-home-today .swh-compact-primary {
  margin-top: 3px !important;
  font-size: .74rem !important;
  line-height: 1.25 !important;
}

.sw-front-content--core .sw-home-today .swh-compact-secondary {
  margin-top: 2px !important;
  font-size: .67rem !important;
  line-height: 1.25 !important;
}

.sw-front-content--core .sw-home-today .swh-compact-arrow {
  align-self: center !important;
  justify-self: end !important;
}

/* Hero und Serviceblock sollen in etwa dieselbe visuelle Höhe haben,
   ohne dass einer den anderen künstlich streckt. */
.sw-front-content--core .sw-home-top {
  align-items: start !important;
}

.sw-front-content--core .sw-home-hero article.no-image {
  min-height: 455px !important;
}

@media (max-width: 820px) {
  .sw-front-content--core .sw-home-hero article.no-image {
    min-height: 340px !important;
  }
}


/* =========================================================
   0.15.3 – Lead-Bereich nach der ursprünglichen Homepage-Idee
   Hero links oben, Formatkarten direkt darunter,
   "Heute in Emden" rechts über beide Reihen.
   ========================================================= */

.sw-front-content--core .sw-home-lead-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1.85fr) minmax(300px, .95fr) !important;
  grid-template-areas:
    "hero today"
    "formats today";
  gap: 14px 16px !important;
  align-items: start !important;
  margin-bottom: 34px !important;
}

.sw-front-content--core .sw-home-lead-layout > .sw-home-hero {
  grid-area: hero;
  min-width: 0;
}

.sw-front-content--core .sw-home-lead-layout > .sw-home-today {
  grid-area: today;
  min-width: 0;
  align-self: start;
}

.sw-front-content--core .sw-home-lead-layout > .sw-home-formats {
  grid-area: formats;
  min-width: 0;
  margin: 0 !important;
}

/* Der Hero darf ohne Foto nicht zu klein geraten.
   Mit Foto bestimmt das Bild die Höhe. */
.sw-front-content--core .sw-home-hero article.no-image {
  min-height: 320px !important;
}

/* Zwei oder drei aktuelle Formate unter dem Hero. */
.sw-front-content--core .sw-home-formats {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

.sw-front-content--core .sw-home-formats .sw-home-card {
  height: 100%;
}

/* "Heute in Emden" deutlich kompakter:
   Details bleiben in den Serviceseiten. */
.sw-front-content--core .sw-home-today {
  padding: 14px 14px 10px !important;
}

.sw-front-content--core .sw-home-today-head {
  margin-bottom: 2px !important;
  padding-bottom: 10px !important;
}

.sw-front-content--core .sw-home-today-head h2 {
  font-size: clamp(1.85rem, 2.5vw, 2.35rem) !important;
}

.sw-front-content--core .sw-home-today-head p {
  font-size: .72rem !important;
  line-height: 1.35 !important;
}

.sw-front-content--core .sw-home-today .swh-home-row {
  min-height: 0 !important;
  padding: 8px 3px 8px 8px !important;
}

.sw-front-content--core .sw-home-today .swh-home-icon {
  flex-basis: 28px !important;
  width: 28px !important;
  height: 28px !important;
}

.sw-front-content--core .sw-home-today .swh-home-icon svg {
  width: 22px !important;
  height: 22px !important;
}

.sw-front-content--core .sw-home-today .swh-home-title {
  font-size: .82rem !important;
  line-height: 1.12 !important;
}

.sw-front-content--core .sw-home-today .swh-home-primary {
  margin-top: 2px !important;
  font-size: .69rem !important;
  line-height: 1.22 !important;
}

.sw-front-content--core .sw-home-today .swh-home-secondary {
  margin-top: 1px !important;
  font-size: .61rem !important;
  line-height: 1.18 !important;
}

.sw-front-content--core .sw-home-today .swh-home-arrow {
  flex-basis: 12px !important;
  width: 12px !important;
  font-size: .78rem !important;
}

/* Etwas dichterer Anschluss der nächsten Module. */
.sw-front-content--core .sw-home-lead-layout + section {
  margin-top: 0 !important;
}

@media (max-width: 900px) {
  .sw-front-content--core .sw-home-lead-layout {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "hero"
      "today"
      "formats";
  }

  .sw-front-content--core .sw-home-formats {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 600px) {
  .sw-front-content--core .sw-home-hero article.no-image {
    min-height: 280px !important;
  }

  .sw-front-content--core .sw-home-formats {
    grid-template-columns: 1fr !important;
  }
}


/* =========================================================
   0.15.4 – fester Anzeigenplatz wie im Homepage-Zielbild
   Hero      | Heute in Emden
   Teaser    | Anzeige
   ========================================================= */

.sw-front-content--core .sw-home-lead-layout {
  grid-template-areas:
    "hero today"
    "formats ad" !important;
}

.sw-front-content--core .sw-home-lead-layout > .sw-home-ad-slot {
  grid-area: ad;
  min-width: 0;
  align-self: start;
}

/* Wenn keine Anzeige aktiv ist, bleibt kein künstlicher Kasten stehen. */
.sw-front-content--core .sw-home-ad-slot {
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  border: 1px solid rgba(18, 51, 74, .16) !important;
  background: #f7f4ee !important;
}

.sw-front-content--core .sw-home-ad-label {
  margin: 0 !important;
  padding: 7px 10px 5px !important;
  text-align: right;
  color: #6b6f72 !important;
  font-family: var(--sw-sans);
  font-size: .64rem !important;
  font-weight: 600;
  letter-spacing: .05em !important;
  text-transform: none !important;
}

.sw-front-content--core .sw-home-ad-image-link {
  display: block;
  text-decoration: none;
}

.sw-front-content--core .sw-home-ad-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.sw-front-content--core .sw-home-ad-copy {
  padding: 10px 12px 12px;
}

.sw-front-content--core .sw-home-ad-copy h2 {
  margin: 0 0 5px !important;
  color: #12334a;
  font-size: 1.32rem !important;
  font-weight: 400;
  line-height: 1.08;
}

.sw-front-content--core .sw-home-ad-copy > p:not(.sw-home-ad-more) {
  margin: 0;
  color: #454b4e;
  font-size: .78rem;
  line-height: 1.42;
}

.sw-front-content--core .sw-home-ad-more {
  margin: 8px 0 0 !important;
}

.sw-front-content--core .sw-home-ad-more a {
  color: #12334a;
  font-size: .76rem;
  font-weight: 700;
  text-decoration: none;
}

.sw-front-content--core .sw-home-ad-more a:hover,
.sw-front-content--core .sw-home-ad-more a:focus-visible {
  text-decoration: underline;
  text-underline-offset: .15em;
}

@media (max-width: 900px) {
  .sw-front-content--core .sw-home-lead-layout {
    grid-template-areas:
      "hero"
      "today"
      "formats"
      "ad" !important;
  }
}

/* =========================================================
   0.16.0 – Dossiers, Datenblick und Entdecken
   Beitragsbild setzen; die Startseite erledigt den Rest.
   ========================================================= */

.sw-front-content--core .sw-home-section {
  margin-top: 34px;
}

.sw-front-content--core .sw-home-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 12px;
}

.sw-front-content--core .sw-home-section-head h2 {
  margin: 0 !important;
  color: #12334a;
  font-size: clamp(1.85rem, 3vw, 2.55rem);
  font-weight: 400;
  line-height: 1.05;
}

.sw-front-content--core .sw-home-section-head > a {
  flex: 0 0 auto;
  color: #12334a;
  font-size: .74rem;
  font-weight: 650;
  text-decoration: none;
}

.sw-front-content--core .sw-home-section-head > a:hover,
.sw-front-content--core .sw-home-section-head > a:focus-visible {
  text-decoration: underline;
  text-underline-offset: .15em;
}

/* Gemeinsame Bildlogik */
.sw-front-content--core .sw-home-card-media {
  display: block;
  overflow: hidden;
  background: #edf0ef;
  text-decoration: none;
}

.sw-front-content--core .sw-home-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
}

.sw-front-content--core .sw-home-card-more {
  margin: 10px 0 0 !important;
}

.sw-front-content--core .sw-home-card-more a {
  color: #12334a;
  font-size: .72rem;
  font-weight: 700;
  text-decoration: none;
}

.sw-front-content--core .sw-home-card-more a:hover,
.sw-front-content--core .sw-home-card-more a:focus-visible {
  text-decoration: underline;
  text-underline-offset: .15em;
}

/* Dossiers: feste Dreierreihe */
.sw-front-content--core .sw-home-dossiers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.sw-front-content--core .sw-home-card--dossier {
  min-width: 0;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(18,51,74,.16);
  background: #fff;
}

.sw-front-content--core .sw-home-card--dossier .sw-home-card-media {
  aspect-ratio: 16 / 9;
}

.sw-front-content--core .sw-home-card--dossier.no-image {
  min-height: 190px;
  background: #f6f1e8;
}

.sw-front-content--core .sw-home-card--dossier .sw-home-card-body {
  padding: 12px 13px 14px;
}

.sw-front-content--core .sw-home-card--dossier h3 {
  margin: 4px 0 5px;
  font-size: 1.28rem;
  line-height: 1.08;
}

/* Datenblick und Entdecken teilen sich die Zeile */
.sw-front-content--core .sw-home-data-discover {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.65fr);
  gap: 16px;
  align-items: start;
  margin-top: 34px;
}

.sw-front-content--core .sw-home-data-pane,
.sw-front-content--core .sw-home-discover-pane {
  min-width: 0;
}

.sw-front-content--core .sw-home-discover-pane--wide {
  grid-column: 1 / -1;
}

/* Datenblick: Grafik oder Foto prominent */
.sw-front-content--core .sw-home-card--data {
  overflow: hidden;
  border: 1px solid rgba(18,51,74,.16);
  background: #fff;
}

.sw-front-content--core .sw-home-card--data .sw-home-card-media {
  aspect-ratio: 4 / 3;
}

.sw-front-content--core .sw-home-card--data.no-image {
  min-height: 270px;
  display: flex;
  align-items: flex-end;
  background:
    linear-gradient(180deg, rgba(18,51,74,.025), rgba(18,51,74,.06)),
    #f3f6f7;
}

.sw-front-content--core .sw-home-card--data .sw-home-card-body {
  padding: 14px 15px 16px;
}

.sw-front-content--core .sw-home-card--data h3 {
  margin: 4px 0 7px;
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  line-height: 1.05;
}

/* Stadt entdecken: drei schlanke Bildkarten */
.sw-front-content--core .sw-home-discover-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.sw-front-content--core .sw-home-card--discover {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(18,51,74,.16);
  background: #fff;
}

.sw-front-content--core .sw-home-card--discover .sw-home-card-media {
  aspect-ratio: 16 / 10;
}

.sw-front-content--core .sw-home-card--discover.no-image {
  min-height: 225px;
  background: #fafafa;
}

.sw-front-content--core .sw-home-card--discover .sw-home-card-body {
  padding: 11px 12px 13px;
}

.sw-front-content--core .sw-home-card--discover h3 {
  margin: 4px 0 5px;
  font-size: 1.18rem;
  line-height: 1.06;
}

.sw-front-content--core .sw-home-card--discover p:not(.sw-home-card-more) {
  font-size: .76rem;
  line-height: 1.4;
}

/* Auch die kleinen aktuellen Artikel bekommen eine feste Bildfläche */
.sw-front-content--core .sw-home-card--editorial .sw-home-card-media {
  aspect-ratio: 16 / 9;
}

@media (max-width: 980px) {
  .sw-front-content--core .sw-home-data-discover {
    grid-template-columns: 1fr;
  }

  .sw-front-content--core .sw-home-discover-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .sw-front-content--core .sw-home-dossiers-grid,
  .sw-front-content--core .sw-home-discover-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sw-front-content--core .sw-home-section-head {
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .sw-front-content--core .sw-home-dossiers-grid,
  .sw-front-content--core .sw-home-discover-grid {
    grid-template-columns: 1fr;
  }

  .sw-front-content--core .sw-home-section-head {
    display: block;
  }

  .sw-front-content--core .sw-home-section-head > a {
    display: inline-block;
    margin-top: 5px;
  }
}

/* =========================================================
   0.17.0 – Community, Unterstützung, Newsletter, Archiv
   Fester ruhiger Abschluss der Homepage.
   ========================================================= */

.sw-front-content--core .sw-home-community-strip {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: 24px;
  margin-top: 34px;
  padding: 18px 20px;
  border-top: 2px solid #12334a;
  border-bottom: 1px solid rgba(18,51,74,.16);
  background: #f6f1e8;
}

.sw-front-content--core .sw-home-community-strip-copy h2 {
  margin: 3px 0 5px;
  color: #12334a;
  font-size: clamp(1.45rem,2.6vw,1.95rem);
  font-weight: 400;
  line-height: 1.05;
}

.sw-front-content--core .sw-home-community-strip-copy > p:last-child {
  margin: 0;
  max-width: 58rem;
  color: #4a4e50;
  font-size: .84rem;
  line-height: 1.45;
}

.sw-front-content--core .sw-home-community-strip-action {
  margin: 0;
}

.sw-front-content--core .sw-home-bottom-row {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1.12fr);
  gap: 14px;
  margin-top: 14px;
}

.sw-front-content--core .sw-home-support,
.sw-front-content--core .sw-home-newsletter {
  min-width: 0;
  padding: 22px 24px;
}

.sw-front-content--core .sw-home-support {
  background: #0f3a4b;
  color: #fff;
}

.sw-front-content--core .sw-home-support .sw-home-label {
  color: #f09a72;
}

.sw-front-content--core .sw-home-support h2,
.sw-front-content--core .sw-home-newsletter h2 {
  margin: 4px 0 8px;
  font-size: clamp(1.65rem,2.9vw,2.15rem);
  font-weight: 400;
  line-height: 1.04;
}

.sw-front-content--core .sw-home-support h2 {
  color: #fff;
}

.sw-front-content--core .sw-home-support > p:not(.sw-home-label) {
  max-width: 42rem;
  margin: 0;
  color: rgba(255,255,255,.88);
  font-size: .84rem;
  line-height: 1.48;
}

.sw-front-content--core .sw-home-support > p:last-child {
  margin-top: 14px;
}

.sw-front-content--core .sw-home-support-button {
  display: inline-block;
  padding: 9px 13px;
  border: 1px solid rgba(255,255,255,.75);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  text-decoration: none;
}

.sw-front-content--core .sw-home-support-button:hover,
.sw-front-content--core .sw-home-support-button:focus-visible {
  background: #fff;
  color: #0f3a4b;
}

.sw-front-content--core .sw-home-newsletter {
  border: 1px solid rgba(18,51,74,.16);
  background: #f3f6f7;
}

.sw-front-content--core .sw-home-newsletter h2 {
  color: #12334a;
}

.sw-front-content--core .sw-home-newsletter > p:not(.sw-home-label) {
  max-width: 44rem;
  margin: 0;
  color: #454b4e;
  font-size: .84rem;
  line-height: 1.48;
}

.sw-front-content--core .sw-home-newsletter-signup {
  margin-top: 14px;
}

.sw-front-content--core .sw-home-newsletter-signup .sw-newsletter-signup {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
}

.sw-front-content--core .sw-home-newsletter-signup .sw-newsletter-signup > p {
  margin: 0;
  color: #687178;
  font-size: .67rem;
  line-height: 1.35;
}

.sw-front-content--core .sw-home-newsletter-signup-button,
.sw-front-content--core .sw-home-newsletter-button {
  display: inline-block;
  padding: 9px 13px;
  border: 1px solid #12334a;
  background: #12334a;
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  text-decoration: none;
}

.sw-front-content--core .sw-home-newsletter-signup-button:hover,
.sw-front-content--core .sw-home-newsletter-button:hover,
.sw-front-content--core .sw-home-newsletter-signup-button:focus-visible,
.sw-front-content--core .sw-home-newsletter-button:focus-visible {
  background: #fff;
  color: #12334a;
}

.sw-front-content--core .sw-home-newsletter-signup .sw-newsletter-signup--embedded {
  display: block;
}

.sw-front-content--core .sw-home-archive-link {
  margin: 12px 0 0;
  text-align: right;
  font-size: .72rem;
}

.sw-front-content--core .sw-home-archive-link a {
  color: #12334a;
  text-decoration: none;
}

.sw-front-content--core .sw-home-archive-link a:hover,
.sw-front-content--core .sw-home-archive-link a:focus-visible {
  text-decoration: underline;
  text-underline-offset: .15em;
}

@media (max-width: 760px) {
  .sw-front-content--core .sw-home-community-strip,
  .sw-front-content--core .sw-home-bottom-row {
    grid-template-columns: 1fr;
  }

  .sw-front-content--core .sw-home-community-strip-action {
    justify-self: start;
  }
}


/* =========================================================
   0.17.1 – Header-Navigation und saubere Zentrierung
   ========================================================= */

/* Die alte Breakout-Technik verschob die bereits zentrierte
   Startseite nochmals nach rechts. Die Frontpage ist ohnehin
   full width; deshalb genügt ein normal zentrierter Container. */
.sw-front-content--core .stadtwalk-home-breakout {
  width: min(1180px, calc(100vw - 40px)) !important;
  max-width: none !important;
  margin-inline: auto !important;
  position: static !important;
  left: auto !important;
  transform: none !important;
}

/* Header wie im Zielentwurf: oben Marke + Werkzeuge,
   darunter eine stabile, redaktionell nicht zu pflegende Navigation. */
.sw-header-brandrow {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.sw-header-instagram {
  font-size: 13px;
}

.sw-primary-nav-wrap {
  border-top: 1px solid rgba(18,51,74,.08);
  border-bottom: 1px solid rgba(18,51,74,.16);
  background: rgba(251,251,248,.98);
}

.sw-primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.2vw, 34px);
  min-height: 46px;
  overflow-x: auto;
  scrollbar-width: none;
}

.sw-primary-nav::-webkit-scrollbar {
  display: none;
}

.sw-primary-nav a {
  flex: 0 0 auto;
  padding: 13px 0 11px;
  border-bottom: 2px solid transparent;
  color: #12334a;
  font-family: var(--sw-serif);
  font-size: 15px;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.sw-primary-nav a:hover,
.sw-primary-nav a:focus-visible {
  border-bottom-color: #12334a;
}

/* Alte leere Navigation des früheren Header-Aufbaus spielt
   in der neuen Template-Datei keine Rolle mehr. */
.sw-nav {
  display: none !important;
}

@media (max-width: 760px) {
  .sw-front-content--core .stadtwalk-home-breakout {
    width: min(100% - 24px, 1180px) !important;
  }

  .sw-header-brandrow {
    min-height: 58px;
  }

  .sw-brand {
    gap: 9px;
    font-size: 13px;
  }

  .sw-brand-mark {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .sw-primary-nav {
    justify-content: flex-start;
    gap: 22px;
  }

  .sw-primary-nav a {
    font-size: 14px;
  }
}


/* =========================================================
   0.17.2 – Hero/Service-Spalten wirklich unabhängig
   ========================================================= */

.sw-front-content--core .sw-home-lead-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1.85fr) minmax(300px, .95fr) !important;
  grid-template-areas: none !important;
  gap: 16px !important;
  align-items: start !important;
  margin-bottom: 34px !important;
}

.sw-front-content--core .sw-home-lead-main,
.sw-front-content--core .sw-home-lead-side {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sw-front-content--core .sw-home-lead-layout > .sw-home-lead-main,
.sw-front-content--core .sw-home-lead-layout > .sw-home-lead-side,
.sw-front-content--core .sw-home-lead-main > .sw-home-hero,
.sw-front-content--core .sw-home-lead-main > .sw-home-formats,
.sw-front-content--core .sw-home-lead-side > .sw-home-today,
.sw-front-content--core .sw-home-lead-side > .sw-home-ad-slot {
  grid-area: auto !important;
}

.sw-front-content--core .sw-home-lead-main > .sw-home-formats {
  margin: 0 !important;
}

.sw-front-content--core .sw-home-lead-side > .sw-home-ad-slot {
  margin: 0 !important;
}

/* Zwei redaktionelle Karten schließen direkt an den Aufmacher an. */
.sw-front-content--core .sw-home-lead-main .sw-home-formats {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

/* Alte Mindesthöhe aus der Übergangsphase ist nicht mehr nötig. */
.sw-front-content--core .sw-home-hero article.no-image {
  min-height: 0 !important;
}

@media (max-width: 900px) {
  .sw-front-content--core .sw-home-lead-layout {
    grid-template-columns: 1fr !important;
  }

  .sw-front-content--core .sw-home-lead-main,
  .sw-front-content--core .sw-home-lead-side {
    gap: 12px;
  }
}

@media (max-width: 600px) {
  .sw-front-content--core .sw-home-lead-main .sw-home-formats {
    grid-template-columns: 1fr !important;
  }
}


/* =========================================================
   0.18.0 – fünf feste Startseitenbereiche
   Der Screenshot ist jetzt Architektur, nicht nur Inspiration.
   ========================================================= */

.sw-front-content--core .stadtwalk-home {
  --sw-home-gap: 16px;
}

/* Gemeinsamer Rhythmus */
.sw-front-content--core .sw-home-band {
  width: 100%;
  margin: 0 0 22px;
}

.sw-front-content--core .sw-home-section-head {
  margin-bottom: 10px !important;
}

/* ---------------------------------------------------------
   1. AUFMACHER + HEUTE IN EMDEN
   --------------------------------------------------------- */
.sw-front-content--core .sw-home-band--top {
  display: grid;
  grid-template-columns: minmax(0, 2.05fr) minmax(300px, .95fr);
  gap: var(--sw-home-gap);
  align-items: stretch;
}

.sw-front-content--core .sw-home-band--top .sw-home-hero,
.sw-front-content--core .sw-home-band--top .sw-home-today {
  min-width: 0;
}

.sw-front-content--core .sw-home-band--top .sw-home-hero article {
  position: relative;
  height: 100%;
  min-height: 430px;
  overflow: hidden;
  background: #0f3547;
}

.sw-front-content--core .sw-home-band--top .sw-home-hero article.has-image .sw-home-hero-image {
  position: absolute;
  inset: 0;
  display: block;
}

.sw-front-content--core .sw-home-band--top .sw-home-hero article.has-image .sw-home-hero-image img {
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
}

.sw-front-content--core .sw-home-band--top .sw-home-hero article.has-image::after {
  content: "";
  position: absolute;
  inset: 28% 0 0;
  background: linear-gradient(180deg, rgba(7,29,41,0), rgba(7,29,41,.94) 70%);
  pointer-events: none;
}

.sw-front-content--core .sw-home-band--top .sw-home-hero-copy {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 24px 28px 22px;
  color: #fff;
  background: linear-gradient(180deg, rgba(7,29,41,0), rgba(7,29,41,.94) 35%);
}

.sw-front-content--core .sw-home-band--top .sw-home-hero-copy h1 {
  max-width: 90%;
  margin: 3px 0 7px;
  color: #fff;
  font-size: clamp(2rem, 4.4vw, 3.35rem);
  font-weight: 400;
  line-height: .98;
}

.sw-front-content--core .sw-home-band--top .sw-home-hero-copy h1 a,
.sw-front-content--core .sw-home-band--top .sw-home-hero-copy p,
.sw-front-content--core .sw-home-band--top .sw-home-hero-more a {
  color: #fff;
}

.sw-front-content--core .sw-home-band--top .sw-home-hero-copy > p:not(.sw-home-hero-more) {
  max-width: 90%;
  margin: 0;
  font-size: .88rem;
  line-height: 1.42;
}

.sw-front-content--core .sw-home-band--top .sw-home-hero-more {
  margin: 10px 0 0 !important;
}

/* Serviceblock auf dieselbe visuelle Höhe bringen. */
.sw-front-content--core .sw-home-band--top .sw-home-today {
  height: 100%;
  min-height: 430px;
  padding: 13px 14px 10px !important;
  box-sizing: border-box;
}

.sw-front-content--core .sw-home-band--top .sw-home-today-head {
  padding-bottom: 8px !important;
}

.sw-front-content--core .sw-home-band--top .sw-home-today .swh-home-row {
  padding-top: 7px !important;
  padding-bottom: 7px !important;
}

.sw-front-content--core .sw-home-band--top .sw-home-today .swh-home-title {
  font-size: .78rem !important;
}

.sw-front-content--core .sw-home-band--top .sw-home-today .swh-home-primary {
  font-size: .66rem !important;
}

.sw-front-content--core .sw-home-band--top .sw-home-today .swh-home-secondary {
  font-size: .58rem !important;
}

/* ---------------------------------------------------------
   2. BEOBACHTET + STADTFRAGE + ANZEIGE
   --------------------------------------------------------- */
.sw-front-content--core .sw-home-band--editorial {
  display: grid;
  grid-template-columns: minmax(0, 2.05fr) minmax(300px, .95fr);
  gap: var(--sw-home-gap);
  align-items: stretch;
}

.sw-front-content--core .sw-home-editorial-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
  min-width: 0;
}

.sw-front-content--core .sw-home-band--editorial .sw-home-card--editorial,
.sw-front-content--core .sw-home-band--editorial .sw-home-slot-empty {
  height: 100%;
  min-height: 250px;
  border: 1px solid rgba(18,51,74,.15);
  background: #fff;
}

.sw-front-content--core .sw-home-band--editorial .sw-home-card--editorial .sw-home-card-media {
  aspect-ratio: 16 / 7.8;
}

.sw-front-content--core .sw-home-band--editorial .sw-home-card-body,
.sw-front-content--core .sw-home-band--editorial .sw-home-slot-empty {
  padding: 11px 13px 13px;
}

.sw-front-content--core .sw-home-band--editorial .sw-home-card--editorial h3 {
  font-size: 1.3rem;
  line-height: 1.05;
}

.sw-front-content--core .sw-home-band--editorial .sw-home-ad-slot {
  height: 100%;
  margin: 0 !important;
  border: 1px solid rgba(18,51,74,.15) !important;
}

.sw-front-content--core .sw-home-band--editorial .sw-home-ad-image {
  aspect-ratio: 16 / 8;
}

.sw-front-content--core .sw-home-ad-reserved {
  min-height: 250px;
}

/* ---------------------------------------------------------
   3. DOSSIERS + ZITAT
   --------------------------------------------------------- */
.sw-front-content--core .sw-home-band--dossiers {
  display: grid;
  grid-template-columns: minmax(0, 3.15fr) minmax(230px, .85fr);
  gap: var(--sw-home-gap);
  align-items: stretch;
}

.sw-front-content--core .sw-home-dossier-main {
  min-width: 0;
}

.sw-front-content--core .sw-home-dossier-slots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
}

.sw-front-content--core .sw-home-dossier-slots .sw-home-card--dossier {
  min-height: 250px;
}

.sw-front-content--core .sw-home-quote {
  min-width: 0;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(180deg,#edf5f7,#deedf1);
  color: #31576b;
}

.sw-front-content--core .sw-home-quote-mark {
  margin-bottom: 8px;
  font-family: Georgia, serif;
  font-size: 4.1rem;
  line-height: .65;
  color: #4f91aa;
}

.sw-front-content--core .sw-home-quote blockquote {
  margin: 0;
  font-family: var(--sw-serif);
  font-style: italic;
  font-size: 1.18rem;
  line-height: 1.35;
}

.sw-front-content--core .sw-home-quote-brand {
  margin: 18px 0 0;
  font-family: var(--sw-serif);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* ---------------------------------------------------------
   4. DATENBLICK + STADT ENTDECKEN
   --------------------------------------------------------- */
.sw-front-content--core .sw-home-band--data-discover {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.35fr);
  gap: var(--sw-home-gap);
  align-items: start;
}

.sw-front-content--core .sw-home-data-pane,
.sw-front-content--core .sw-home-discover-pane {
  min-width: 0;
}

.sw-front-content--core .sw-home-data-feature {
  display: grid;
  grid-template-columns: minmax(0,1.08fr) minmax(0,.92fr);
  min-height: 275px;
  overflow: hidden;
  border: 1px solid rgba(18,51,74,.15);
  background: #fff;
}

.sw-front-content--core .sw-home-data-feature.no-image {
  grid-template-columns: 1fr;
}

.sw-front-content--core .sw-home-data-feature-media {
  min-width: 0;
  background: #eef4f6;
}

.sw-front-content--core .sw-home-data-feature-media img {
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
}

.sw-front-content--core .sw-home-data-feature-copy {
  padding: 15px 16px;
}

.sw-front-content--core .sw-home-data-feature-copy h3 {
  margin: 5px 0 8px;
  font-size: 1.55rem;
  line-height: 1.06;
}

.sw-front-content--core .sw-home-discover-three {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 10px;
}

.sw-front-content--core .sw-home-discover-three .sw-home-card--discover,
.sw-front-content--core .sw-home-discover-three .sw-home-slot-empty {
  min-height: 275px;
  border: 1px solid rgba(18,51,74,.15);
  background: #fff;
}

.sw-front-content--core .sw-home-discover-three .sw-home-card--discover .sw-home-card-media {
  aspect-ratio: 16 / 9.5;
}

.sw-front-content--core .sw-home-discover-three .sw-home-card-body,
.sw-front-content--core .sw-home-discover-three .sw-home-slot-empty {
  padding: 10px 11px 12px;
}

.sw-front-content--core .sw-home-discover-three .sw-home-card--discover h3 {
  font-size: 1.08rem;
}

/* ---------------------------------------------------------
   5. UNTERSTÜTZEN + NEWSLETTER + ABSCHLUSSBILD
   --------------------------------------------------------- */
.sw-front-content--core .sw-home-band--closing {
  display: grid;
  grid-template-columns: minmax(0,1.25fr) minmax(0,1.05fr) minmax(210px,.78fr);
  gap: 0;
  margin-bottom: 0;
  min-height: 210px;
}

.sw-front-content--core .sw-home-band--closing .sw-home-support,
.sw-front-content--core .sw-home-band--closing .sw-home-newsletter,
.sw-front-content--core .sw-home-closer {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #dcebed;
}

.sw-front-content--core .sw-home-closer-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
}

.sw-front-content--core .sw-home-closer-cover-link {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: block;
}

.sw-front-content--core .sw-home-closer.is-linked:focus-within {
  outline: 3px solid rgba(18,51,74,.34);
  outline-offset: -3px;
}

.sw-front-content--core .sw-home-closer-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  min-height: 210px;
  box-sizing: border-box;
  padding: 22px 22px 20px;
}

.sw-front-content--core .sw-home-closer-label {
  margin: 0 0 8px;
  font-size: .64rem;
  line-height: 1.2;
  font-weight: 750;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.sw-front-content--core .sw-home-closer-content h2 {
  margin: 0;
  font-family: var(--sw-serif);
  font-size: clamp(1.24rem,2vw,1.6rem);
  line-height: 1.04;
  font-weight: 500;
}

.sw-front-content--core .sw-home-closer-text {
  margin: 9px 0 0;
  font-size: .75rem;
  line-height: 1.43;
}

.sw-front-content--core .sw-home-closer-more {
  margin: 12px 0 0;
  font-size: .72rem;
  font-weight: 700;
}

/* Bildmodus: das Motiv darf vollständig für sich stehen. Sobald Text gepflegt
   wird, erhält er nur eine leichte Lesekante statt eines schweren Kastens. */
.sw-front-content--core .sw-home-closer--image.has-image.has-copy::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg,rgba(8,28,38,.02) 25%,rgba(8,28,38,.58) 100%);
  pointer-events: none;
}

.sw-front-content--core .sw-home-closer--image.has-image.has-copy .sw-home-closer-content {
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,.34);
}

.sw-front-content--core .sw-home-closer--image.no-image {
  background:
    linear-gradient(180deg,rgba(237,245,246,.25),rgba(221,235,237,.95)),
    #dcebed;
}

/* Eigener Hinweis / Eigenwerbung */
.sw-front-content--core .sw-home-closer--notice {
  background: #e4f0f1;
  color: #12334a;
}

.sw-front-content--core .sw-home-closer--notice.has-image::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg,rgba(238,247,247,.12),rgba(226,240,241,.92));
  pointer-events: none;
}

.sw-front-content--core .sw-home-closer--notice .sw-home-closer-label {
  color: #a85337;
}

/* Kommerzieller Platz: bewusst ähnlich ruhig wie das obere Anzeigenbanner,
   aber mit klarer Kennzeichnung und eigenständigem Abschlusscharakter. */
.sw-front-content--core .sw-home-closer--ad {
  background: #f3eee4;
  color: #12334a;
}

.sw-front-content--core .sw-home-closer--ad.has-image::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg,rgba(248,244,237,.08),rgba(243,238,228,.94));
  pointer-events: none;
}

.sw-front-content--core .sw-home-closer--ad .sw-home-closer-label {
  color: #7a5a46;
}

.sw-front-content--core .sw-home-closer.is-linked:hover h2,
.sw-front-content--core .sw-home-closer.is-linked:focus-within h2 {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .14em;
}

/* Sicherer Fallback für noch nicht gepflegte bzw. leere Anzeigenmodi. */
.sw-front-content--core .sw-home-closer--fallback,
.sw-front-content--core .sw-home-closer-fallback {
  background:
    linear-gradient(180deg,rgba(237,245,246,.25),rgba(221,235,237,.95)),
    #dcebed;
}

.sw-front-content--core .sw-home-closer-fallback {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 18px 20px;
  box-sizing: border-box;
  text-align: center;
}

.sw-front-content--core .sw-home-closer-fallback p {
  margin: 0;
  color: #31576b;
  font-family: var(--sw-serif);
  font-style: italic;
  font-size: 1.45rem;
  line-height: 1.12;
  transform: rotate(-5deg);
}

/* Leere feste Pools sollen die Architektur zeigen, aber nicht schreien. */
.sw-front-content--core .sw-home-slot-empty {
  box-sizing: border-box;
  color: #7a8285;
}

.sw-front-content--core .sw-home-slot-empty p {
  margin: 8px 0 0;
  font-size: .78rem;
  line-height: 1.42;
}

/* Die alten Zwischenmodule gehören nicht mehr zur neuen Fünf-Band-Startseite. */
.sw-front-content--core .sw-home-community-strip,
.sw-front-content--core .sw-home-bottom-row,
.sw-front-content--core .sw-home-archive-link,
.sw-front-content--core .sw-home-lead-layout,
.sw-front-content--core .sw-home-data-discover {
  /* alte Klassen werden vom neuen Markup nicht mehr verwendet */
}

/* Responsive */
@media (max-width: 980px) {
  .sw-front-content--core .sw-home-band--top,
  .sw-front-content--core .sw-home-band--editorial,
  .sw-front-content--core .sw-home-band--dossiers,
  .sw-front-content--core .sw-home-band--data-discover {
    grid-template-columns: 1fr;
  }

  .sw-front-content--core .sw-home-ad-reserved {
    display: none;
  }

  .sw-front-content--core .sw-home-band--top .sw-home-hero article,
  .sw-front-content--core .sw-home-band--top .sw-home-today {
    min-height: 0;
  }

  .sw-front-content--core .sw-home-band--closing {
    grid-template-columns: 1fr 1fr;
  }

  .sw-front-content--core .sw-home-closer {
    grid-column: 1 / -1;
    min-height: 180px;
  }
}

@media (max-width: 760px) {
  .sw-front-content--core .sw-home-editorial-two,
  .sw-front-content--core .sw-home-dossier-slots,
  .sw-front-content--core .sw-home-discover-three,
  .sw-front-content--core .sw-home-data-feature,
  .sw-front-content--core .sw-home-band--closing {
    grid-template-columns: 1fr;
  }

  .sw-front-content--core .sw-home-band--top .sw-home-hero article {
    min-height: 390px;
  }

  .sw-front-content--core .sw-home-dossier-slots {
    gap: 12px;
  }

  .sw-front-content--core .sw-home-band--closing .sw-home-support,
  .sw-front-content--core .sw-home-band--closing .sw-home-newsletter,
  .sw-front-content--core .sw-home-closer {
    min-height: 0;
  }

  .sw-front-content--core .sw-home-closer {
    min-height: 170px;
  }
}


/* =========================================================
   0.18.1 – Startseite aus automatisch sortierten Pools
   Oben zwei unabhängige Spalten: keine künstlichen Leerräume.
   ========================================================= */

.sw-front-content--core .sw-home-upper {
  display: grid;
  grid-template-columns: minmax(0, 2.05fr) minmax(300px, .95fr);
  gap: 16px;
  align-items: start;
  margin-bottom: 24px;
}

.sw-front-content--core .sw-home-upper-main,
.sw-front-content--core .sw-home-upper-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

/* Hero wieder eigenständig; die Höhe von "Heute in Emden" zieht ihn nicht mehr auf. */
.sw-front-content--core .sw-home-upper .sw-home-hero article {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  background: #0f3547;
}

.sw-front-content--core .sw-home-upper .sw-home-hero article.has-image .sw-home-hero-image {
  position: absolute;
  inset: 0;
  display: block;
}

.sw-front-content--core .sw-home-upper .sw-home-hero article.has-image .sw-home-hero-image img {
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
}

.sw-front-content--core .sw-home-upper .sw-home-hero article.has-image::after {
  content: "";
  position: absolute;
  inset: 28% 0 0;
  background: linear-gradient(180deg, rgba(7,29,41,0), rgba(7,29,41,.94) 70%);
  pointer-events: none;
}

.sw-front-content--core .sw-home-upper .sw-home-hero-copy {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 24px 28px 22px;
  color: #fff;
  background: linear-gradient(180deg, rgba(7,29,41,0), rgba(7,29,41,.94) 35%);
}

.sw-front-content--core .sw-home-upper .sw-home-hero-copy h1 {
  max-width: 90%;
  margin: 3px 0 7px;
  color: #fff;
  font-size: clamp(2rem, 4.4vw, 3.35rem);
  font-weight: 400;
  line-height: .98;
}

.sw-front-content--core .sw-home-upper .sw-home-hero-copy h1 a,
.sw-front-content--core .sw-home-upper .sw-home-hero-copy p,
.sw-front-content--core .sw-home-upper .sw-home-hero-more a {
  color: #fff;
}

.sw-front-content--core .sw-home-upper .sw-home-hero-copy > p:not(.sw-home-hero-more) {
  max-width: 90%;
  margin: 0;
  font-size: .88rem;
  line-height: 1.42;
}

/* Zwei jeweils nächste Beiträge – unabhängig von ihrem Format. */
.sw-front-content--core .sw-home-upper-main .sw-home-editorial-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
}

.sw-front-content--core .sw-home-upper-main .sw-home-card--editorial {
  min-height: 0;
  height: 100%;
}

.sw-front-content--core .sw-home-upper-main .sw-home-card--editorial .sw-home-card-media {
  aspect-ratio: 16 / 8.2;
}

/* Service und Anzeige bilden die rechte Spalte. */
.sw-front-content--core .sw-home-upper-side .sw-home-today {
  min-height: 0;
  height: auto;
}

.sw-front-content--core .sw-home-upper-side .sw-home-ad-slot {
  margin: 0 !important;
}


/* Datenblick fehlt? Dann erhält Entdecken die ganze Breite. */
.sw-front-content--core .sw-home-band--data-discover.without-data {
  grid-template-columns: 1fr;
}

.sw-front-content--core .sw-home-band--data-discover.without-data .sw-home-discover-pane {
  width: 100%;
}

/* Entdecken: 1–3 aktuelle Inhalte, ohne leere Dummykarte. */
.sw-front-content--core .sw-home-discover-three {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

@media (max-width: 900px) {
  .sw-front-content--core .sw-home-upper {
    grid-template-columns: 1fr;
  }

  .sw-front-content--core .sw-home-upper-main,
  .sw-front-content--core .sw-home-upper-side {
    gap: 12px;
  }
}

@media (max-width: 600px) {
  .sw-front-content--core .sw-home-upper-main .sw-home-editorial-two {
    grid-template-columns: 1fr;
  }

  .sw-front-content--core .sw-home-upper .sw-home-hero article {
    min-height: 390px;
  }
}


/* =========================================================
   0.18.2 – Werbebanner unter den beiden aktuellen Artikeln
   Die Anzeige schließt die Lücke zur längeren Service-Spalte,
   bleibt aber klar von den redaktionellen Karten getrennt.
   ========================================================= */

.sw-front-content--core .sw-home-upper-main > .sw-home-ad-banner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(120px, 168px) minmax(0, 1fr);
  min-height: 108px;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  border: 1px solid rgba(18, 51, 74, .16) !important;
  background: #f7f4ee !important;
}

.sw-front-content--core .sw-home-upper-main > .sw-home-ad-banner.no-image {
  grid-template-columns: 1fr;
}

.sw-front-content--core .sw-home-upper-main > .sw-home-ad-banner .sw-home-ad-label {
  position: absolute;
  z-index: 2;
  top: 7px;
  right: 10px;
  margin: 0 !important;
  padding: 0 !important;
  color: #6b6f72 !important;
  font-family: var(--sw-sans);
  font-size: .62rem !important;
  font-weight: 600;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
}

.sw-front-content--core .sw-home-upper-main > .sw-home-ad-banner .sw-home-ad-media {
  position: relative;
  min-width: 0;
  min-height: 108px;
  overflow: hidden;
  background: #fff;
}

.sw-front-content--core .sw-home-upper-main > .sw-home-ad-banner .sw-home-ad-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  object-fit: cover;
  object-position: center;
}

.sw-front-content--core .sw-home-upper-main > .sw-home-ad-banner .sw-home-ad-copy {
  align-self: center;
  padding: 18px 78px 15px 18px;
}

.sw-front-content--core .sw-home-upper-main > .sw-home-ad-banner.no-image .sw-home-ad-copy {
  padding-left: 18px;
}

.sw-front-content--core .sw-home-upper-main > .sw-home-ad-banner .sw-home-ad-copy h2 {
  margin: 0 0 4px !important;
  color: #12334a;
  font-size: 1.22rem !important;
  font-weight: 400;
  line-height: 1.05;
}

.sw-front-content--core .sw-home-upper-main > .sw-home-ad-banner .sw-home-ad-copy > p:not(.sw-home-ad-more) {
  margin: 0;
  color: #454b4e;
  font-size: .78rem;
  line-height: 1.4;
}

.sw-front-content--core .sw-home-upper-main > .sw-home-ad-banner .sw-home-ad-more {
  margin: 7px 0 0 !important;
  font-size: .72rem;
  font-weight: 700;
}

.sw-front-content--core .sw-home-upper-main > .sw-home-ad-banner .sw-home-ad-more a {
  text-decoration: none;
}

.sw-front-content--core .sw-home-upper-main > .sw-home-ad-banner .sw-home-ad-more a:hover,
.sw-front-content--core .sw-home-upper-main > .sw-home-ad-banner .sw-home-ad-more a:focus-visible {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .sw-front-content--core .sw-home-upper-main > .sw-home-ad-banner {
    grid-template-columns: 1fr;
  }

  .sw-front-content--core .sw-home-upper-main > .sw-home-ad-banner.has-image .sw-home-ad-media {
    min-height: 150px;
    max-height: 180px;
  }

  .sw-front-content--core .sw-home-upper-main > .sw-home-ad-banner .sw-home-ad-copy {
    padding: 15px 16px 14px;
  }
}


/* =========================================================
   0.18.3 – komplette Anzeigenfläche als Link
   Der unsichtbare Link liegt über dem Banner. Es gibt keine
   verschachtelten Links; Fokus und Hover bleiben erkennbar.
   ========================================================= */

.sw-front-content--core .sw-home-upper-main > .sw-home-ad-banner.is-linked {
  cursor: pointer;
}

.sw-front-content--core .sw-home-upper-main > .sw-home-ad-banner .sw-home-ad-cover-link {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: block;
  border-radius: inherit;
}

.sw-front-content--core .sw-home-upper-main > .sw-home-ad-banner .sw-home-ad-cover-link:focus-visible {
  outline: 2px solid #12334a;
  outline-offset: 3px;
}

.sw-front-content--core .sw-home-upper-main > .sw-home-ad-banner.is-linked:hover .sw-home-ad-copy h2,
.sw-front-content--core .sw-home-upper-main > .sw-home-ad-banner.is-linked:focus-within .sw-home-ad-copy h2 {
  text-decoration: underline;
  text-decoration-thickness: .06em;
  text-underline-offset: .12em;
}

.sw-front-content--core .sw-home-upper-main > .sw-home-ad-banner .sw-home-ad-more span {
  text-decoration: none;
}


/* =========================================================
   0.18.5 – Anzeigenbilder layoutfest
   Das Bild liegt absolut in einem begrenzten Medienfenster.
   Hochformat- oder sehr große Uploads können dadurch die
   Bannerhöhe und das Startseiten-Grid nicht mehr aufziehen.
   ========================================================= */

/* =========================================================
   0.18.6 – Anzeigenbild oben, Text als Fließtext darunter
   Die Anzeige bleibt ein kompaktes horizontales Modul. Das
   Bild nutzt die volle Breite; Titel, Beschreibung und CTA
   stehen darunter statt in einer schmalen Seitenspalte.
   ========================================================= */

.sw-front-content--core .sw-home-upper-main > .sw-home-ad-banner.has-image {
  grid-template-columns: 1fr;
  grid-template-rows: 138px auto;
}

.sw-front-content--core .sw-home-upper-main > .sw-home-ad-banner.has-image .sw-home-ad-media {
  min-height: 0;
  height: 138px;
  max-height: 138px;
}

.sw-front-content--core .sw-home-upper-main > .sw-home-ad-banner.has-image .sw-home-ad-copy {
  align-self: stretch;
  padding: 14px 78px 15px 18px;
}

.sw-front-content--core .sw-home-upper-main > .sw-home-ad-banner.has-image .sw-home-ad-copy h2 {
  margin-bottom: 5px !important;
}

.sw-front-content--core .sw-home-upper-main > .sw-home-ad-banner.has-image .sw-home-ad-copy > p:not(.sw-home-ad-more) {
  max-width: none;
}

@media (max-width: 600px) {
  .sw-front-content--core .sw-home-upper-main > .sw-home-ad-banner.has-image {
    grid-template-rows: 150px auto;
  }

  .sw-front-content--core .sw-home-upper-main > .sw-home-ad-banner.has-image .sw-home-ad-media {
    min-height: 0;
    height: 150px;
    max-height: 150px;
  }

  .sw-front-content--core .sw-home-upper-main > .sw-home-ad-banner.has-image .sw-home-ad-copy {
    padding: 14px 16px 15px;
  }
}

/* =========================================================
   0.18.7 – Leerraum über Anzeigenbild entfernt
   Der Bildbanner nutzt bewusst kein Grid mehr. Bild und Text
   folgen im normalen Dokumentfluss direkt aufeinander; damit
   kann kein unbesetzter Grid-Track mehr oberhalb des Bildes
   entstehen.
   ========================================================= */

.sw-front-content--core .sw-home-upper-main > .sw-home-ad-banner.has-image {
  display: block !important;
  grid-template-columns: none !important;
  grid-template-rows: none !important;
  min-height: 0 !important;
  height: auto !important;
}

.sw-front-content--core .sw-home-upper-main > .sw-home-ad-banner.has-image .sw-home-ad-media {
  display: block !important;
  width: 100% !important;
  height: 138px !important;
  min-height: 0 !important;
  max-height: 138px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.sw-front-content--core .sw-home-upper-main > .sw-home-ad-banner.has-image .sw-home-ad-copy {
  display: block !important;
  margin: 0 !important;
  padding: 14px 78px 15px 18px !important;
}

@media (max-width: 600px) {
  .sw-front-content--core .sw-home-upper-main > .sw-home-ad-banner.has-image .sw-home-ad-media {
    height: 150px !important;
    max-height: 150px !important;
  }

  .sw-front-content--core .sw-home-upper-main > .sw-home-ad-banner.has-image .sw-home-ad-copy {
    padding: 14px 16px 15px !important;
  }
}


/* =========================================================
   0.19.0 – visueller Startbereich nach Kartenprinzip
   Zeile 1: Aufmacher + kompakter Tagesdienst.
   Zeile 2: zwei aktuelle Bildkarten + Anzeige.
   Header und Footer bleiben unberührt.
   ========================================================= */

@media (min-width: 901px) {
  .sw-front-content--core .sw-home-upper {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    grid-template-areas:
      "hero today"
      "editorial ad";
    column-gap: 14px;
    row-gap: 12px;
    align-items: stretch;
    margin-bottom: 24px;
  }

  .sw-front-content--core .sw-home-upper-main,
  .sw-front-content--core .sw-home-upper-side {
    display: contents;
  }

  .sw-front-content--core .sw-home-upper .sw-home-hero {
    grid-area: hero;
    min-width: 0;
  }

  .sw-front-content--core .sw-home-upper .sw-home-today {
    grid-area: today;
    min-width: 0;
  }

  .sw-front-content--core .sw-home-upper .sw-home-editorial-two {
    grid-area: editorial;
    min-width: 0;
  }

  .sw-front-content--core .sw-home-upper .sw-home-ad-banner {
    grid-area: ad;
    min-width: 0;
  }

  .sw-front-content--core .sw-home-upper.no-ad .sw-home-editorial-two {
    grid-column: 1 / -1;
  }
}

/* Aufmacher und Tagesdienst bekommen auf Desktop dieselbe kompakte Höhe. */
.sw-front-content--core .sw-home-upper .sw-home-hero article {
  min-height: 0;
  height: 360px;
}

.sw-front-content--core .sw-home-upper .sw-home-hero-copy {
  padding: 18px 22px 17px;
}

.sw-front-content--core .sw-home-upper .sw-home-hero-copy h1 {
  margin: 2px 0 6px;
  font-size: clamp(2rem, 3.7vw, 3rem);
  line-height: .98;
}

.sw-front-content--core .sw-home-upper .sw-home-hero-copy > p:not(.sw-home-hero-more) {
  max-width: 92%;
  font-size: .82rem;
  line-height: 1.36;
}

.sw-front-content--core .sw-home-upper .sw-home-hero-more {
  margin-top: 8px !important;
}

.sw-front-content--core .sw-home-upper .sw-home-today {
  height: 360px !important;
  min-height: 0 !important;
  overflow: hidden;
  padding: 9px 11px 7px !important;
}

.sw-front-content--core .sw-home-upper .sw-home-today-head {
  margin: 0 !important;
  padding: 0 0 6px !important;
}

.sw-front-content--core .sw-home-upper .sw-home-today-head h2 {
  margin: 0 !important;
  font-size: clamp(1.65rem, 2.15vw, 2.15rem) !important;
  line-height: 1 !important;
}

.sw-front-content--core .sw-home-upper .sw-home-today-head p {
  margin: 4px 0 0 !important;
  font-size: .62rem !important;
  line-height: 1.2 !important;
}

.sw-front-content--core .sw-home-upper .sw-home-today .swh-home-list {
  height: calc(100% - 56px);
  display: flex;
  flex-direction: column;
}

.sw-front-content--core .sw-home-upper .sw-home-today .swh-home-row {
  flex: 1 1 0;
  min-height: 0 !important;
  gap: 7px !important;
  padding: 5px 2px 5px 6px !important;
}

.sw-front-content--core .sw-home-upper .sw-home-today .swh-home-icon {
  flex-basis: 24px !important;
  width: 24px !important;
  height: 24px !important;
}

.sw-front-content--core .sw-home-upper .sw-home-today .swh-home-icon svg {
  width: 18px !important;
  height: 18px !important;
}

.sw-front-content--core .sw-home-upper .sw-home-today .swh-home-title {
  font-size: .70rem !important;
  line-height: 1.05 !important;
}

.sw-front-content--core .sw-home-upper .sw-home-today .swh-home-primary {
  margin-top: 1px !important;
  font-size: .60rem !important;
  line-height: 1.12 !important;
}

.sw-front-content--core .sw-home-upper .sw-home-today .swh-home-secondary {
  margin-top: 1px !important;
  font-size: .53rem !important;
  line-height: 1.12 !important;
}

.sw-front-content--core .sw-home-upper .sw-home-today .swh-home-arrow {
  flex-basis: 10px !important;
  width: 10px !important;
  font-size: .68rem !important;
}

/* Zweite Zeile: drei gleichwertige visuelle Karten. */
.sw-front-content--core .sw-home-upper-main .sw-home-editorial-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.sw-front-content--core .sw-home-upper-main .sw-home-card--editorial,
.sw-front-content--core .sw-home-upper-main > .sw-home-ad-banner {
  min-height: 0;
  height: auto;
  overflow: hidden;
  border: 1px solid rgba(18, 51, 74, .16);
  background: #fff;
}

.sw-front-content--core .sw-home-upper-main .sw-home-card--editorial .sw-home-card-media,
.sw-front-content--core .sw-home-upper-main > .sw-home-ad-banner.has-image .sw-home-ad-media {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 7.4;
  overflow: hidden;
  background: #e8f0f2;
}

.sw-front-content--core .sw-home-upper-main .sw-home-card--editorial .sw-home-card-media img,
.sw-front-content--core .sw-home-upper-main > .sw-home-ad-banner.has-image .sw-home-ad-media img {
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
}

.sw-front-content--core .sw-home-upper-main .sw-home-card--editorial .sw-home-card-body {
  padding: 9px 11px 10px;
}

.sw-front-content--core .sw-home-upper-main .sw-home-card--editorial .sw-home-label,
.sw-front-content--core .sw-home-upper-main > .sw-home-ad-banner .sw-home-ad-label {
  font-size: .56rem;
  letter-spacing: .065em;
}

.sw-front-content--core .sw-home-upper-main .sw-home-card--editorial h3 {
  margin: 2px 0 4px;
  font-size: 1.05rem;
  line-height: 1.02;
}

.sw-front-content--core .sw-home-upper-main .sw-home-card--editorial p:not(.sw-home-card-more) {
  margin: 0;
  font-size: .66rem;
  line-height: 1.32;
}

.sw-front-content--core .sw-home-upper-main .sw-home-card--editorial .sw-home-card-more {
  margin-top: 6px !important;
}

/* Neutrale Illustration, bis ein echtes Beitragsbild gesetzt ist. */
.sw-front-content--core .sw-home-upper-main .sw-home-card--editorial.has-fallback-visual .sw-home-card-media img {
  object-fit: cover;
}

/* Anzeige als dritte Karte statt breitem Banner. */
.sw-front-content--core .sw-home-upper-main > .sw-home-ad-banner {
  display: flex;
  flex-direction: column;
  margin: 0 !important;
}

.sw-front-content--core .sw-home-upper-main > .sw-home-ad-banner .sw-home-ad-label {
  top: 5px;
  right: 7px;
}

.sw-front-content--core .sw-home-upper-main > .sw-home-ad-banner.has-image .sw-home-ad-media {
  flex: 0 0 auto;
}

.sw-front-content--core .sw-home-upper-main > .sw-home-ad-banner .sw-home-ad-copy {
  padding: 9px 11px 10px !important;
}

.sw-front-content--core .sw-home-upper-main > .sw-home-ad-banner .sw-home-ad-copy h2 {
  margin: 0 0 3px !important;
  font-size: 1.02rem !important;
  line-height: 1.02 !important;
}

.sw-front-content--core .sw-home-upper-main > .sw-home-ad-banner .sw-home-ad-copy > p:not(.sw-home-ad-more) {
  margin: 0 !important;
  font-size: .64rem !important;
  line-height: 1.28 !important;
}

.sw-front-content--core .sw-home-upper-main > .sw-home-ad-banner .sw-home-ad-more {
  margin-top: 6px !important;
  font-size: .66rem !important;
}

@media (max-width: 900px) {
  .sw-front-content--core .sw-home-upper {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .sw-front-content--core .sw-home-upper-main,
  .sw-front-content--core .sw-home-upper-side {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .sw-front-content--core .sw-home-upper .sw-home-hero article,
  .sw-front-content--core .sw-home-upper .sw-home-today {
    height: auto !important;
  }

  .sw-front-content--core .sw-home-upper .sw-home-hero article {
    min-height: 390px;
  }

  .sw-front-content--core .sw-home-upper .sw-home-today .swh-home-list {
    height: auto;
  }

  .sw-front-content--core .sw-home-upper .sw-home-today .swh-home-row {
    flex: none;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }
}

@media (max-width: 600px) {
  .sw-front-content--core .sw-home-upper-main .sw-home-editorial-two {
    grid-template-columns: 1fr;
  }

  .sw-front-content--core .sw-home-upper .sw-home-hero article {
    min-height: 360px;
  }

  .sw-front-content--core .sw-home-upper .sw-home-hero-copy {
    padding: 18px 18px 16px;
  }
}


/* =========================================================
   0.19.1 – Hotfix oberer Startbereich
   Heute in Emden bleibt innerhalb der gemeinsamen 360-px-Zeile
   und verteilt die fünf Serviceeinträge gleichmäßig. Dadurch
   überlappen die Texte nicht mehr und es entsteht links keine
   künstliche Leerzone vor der zweiten Kartenreihe.
   ========================================================= */

@media (min-width: 901px) {
  .sw-front-content--core .sw-home-upper {
    align-items: stretch !important;
  }

  .sw-front-content--core .sw-home-upper .sw-home-hero,
  .sw-front-content--core .sw-home-upper .sw-home-hero article,
  .sw-front-content--core .sw-home-upper .sw-home-today {
    box-sizing: border-box;
    height: 360px !important;
    min-height: 360px !important;
    max-height: 360px !important;
  }

  .sw-front-content--core .sw-home-upper .sw-home-today {
    display: grid !important;
    grid-template-rows: auto minmax(0, 1fr) !important;
    overflow: hidden !important;
    padding: 9px 11px 8px !important;
  }

  .sw-front-content--core .sw-home-upper .sw-home-today-head {
    min-height: 0;
    margin: 0 !important;
    padding: 0 0 7px !important;
  }

  .sw-front-content--core .sw-home-upper .sw-home-today-head h2 {
    font-size: clamp(1.75rem, 2.1vw, 2.15rem) !important;
    line-height: 1 !important;
  }

  .sw-front-content--core .sw-home-upper .sw-home-today-head p {
    margin-top: 4px !important;
    font-size: .62rem !important;
    line-height: 1.2 !important;
  }

  .sw-front-content--core .sw-home-upper .sw-home-today > .swh-wrap,
  .sw-front-content--core .sw-home-upper .sw-home-today .swh-layout-home,
  .sw-front-content--core .sw-home-upper .sw-home-today .swh-home-list {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
  }

  .sw-front-content--core .sw-home-upper .sw-home-today .swh-home-list {
    display: grid !important;
    grid-template-rows: repeat(5, minmax(0, 1fr)) !important;
  }

  .sw-front-content--core .sw-home-upper .sw-home-today .swh-home-row {
    display: flex !important;
    align-items: center !important;
    gap: 7px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    overflow: hidden !important;
    padding: 4px 2px 4px 6px !important;
  }

  .sw-front-content--core .sw-home-upper .sw-home-today .swh-home-icon {
    flex: 0 0 22px !important;
    width: 22px !important;
    height: 22px !important;
  }

  .sw-front-content--core .sw-home-upper .sw-home-today .swh-home-icon svg {
    width: 17px !important;
    height: 17px !important;
  }

  .sw-front-content--core .sw-home-upper .sw-home-today .swh-home-text {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }

  .sw-front-content--core .sw-home-upper .sw-home-today .swh-home-title,
  .sw-front-content--core .sw-home-upper .sw-home-today .swh-home-primary,
  .sw-front-content--core .sw-home-upper .sw-home-today .swh-home-secondary {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
  }

  .sw-front-content--core .sw-home-upper .sw-home-today .swh-home-title {
    font-size: .69rem !important;
    line-height: 1.05 !important;
  }

  .sw-front-content--core .sw-home-upper .sw-home-today .swh-home-primary {
    margin-top: 2px !important;
    font-size: .60rem !important;
    line-height: 1.08 !important;
  }

  .sw-front-content--core .sw-home-upper .sw-home-today .swh-home-secondary {
    margin-top: 1px !important;
    font-size: .52rem !important;
    line-height: 1.08 !important;
  }

  .sw-front-content--core .sw-home-upper .sw-home-today .swh-home-arrow {
    flex: 0 0 10px !important;
    width: 10px !important;
    font-size: .66rem !important;
  }
}

@media (max-width: 900px) {
  .sw-front-content--core .sw-home-upper .sw-home-today .swh-home-title,
  .sw-front-content--core .sw-home-upper .sw-home-today .swh-home-primary,
  .sw-front-content--core .sw-home-upper .sw-home-today .swh-home-secondary {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
  }
}


/* =========================================================
   0.19.2 – „Heute in Emden“ als kompakte Tagesliste
   Orientierung an der redaktionellen Referenz: kleiner Kopf
   mit Datum, fünf klar getrennte Zeilen und ein Abschlusslink.
   ========================================================= */

@media (min-width: 901px) {
  .sw-front-content--core .sw-home-upper .sw-home-today {
    display: grid !important;
    grid-template-rows: auto minmax(0, 1fr) auto !important;
    box-sizing: border-box;
    height: 360px !important;
    min-height: 360px !important;
    max-height: 360px !important;
    padding: 10px 12px 8px !important;
    overflow: hidden !important;
    background: #f2f7f8 !important;
  }

  .sw-front-content--core .sw-home-upper .sw-home-today-head {
    margin: 0 !important;
    padding: 0 0 8px !important;
    border-bottom: 1px solid rgba(18, 51, 74, .18) !important;
  }

  .sw-front-content--core .sw-home-upper .sw-home-today-heading-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    min-width: 0;
  }

  .sw-front-content--core .sw-home-upper .sw-home-today-head h2 {
    flex: 0 1 auto;
    margin: 0 !important;
    font-size: 1.28rem !important;
    line-height: 1.05 !important;
    white-space: nowrap;
  }

  .sw-front-content--core .sw-home-upper .sw-home-today-date {
    flex: 0 1 auto;
    color: #6d777b;
    font-family: var(--sw-sans);
    font-size: .56rem;
    line-height: 1.2;
    text-align: right;
    white-space: nowrap;
  }

  .sw-front-content--core .sw-home-upper .sw-home-today > .swh-wrap,
  .sw-front-content--core .sw-home-upper .sw-home-today .swh-layout-home,
  .sw-front-content--core .sw-home-upper .sw-home-today .swh-home-list {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
  }

  .sw-front-content--core .sw-home-upper .sw-home-today .swh-home-list {
    display: grid !important;
    grid-template-rows: repeat(5, minmax(0, 1fr)) !important;
  }

  .sw-front-content--core .sw-home-upper .sw-home-today .swh-home-row {
    display: flex !important;
    align-items: center !important;
    gap: 7px !important;
    box-sizing: border-box;
    min-width: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 6px 2px !important;
    overflow: hidden !important;
    border-left: 0 !important;
    border-bottom: 1px solid rgba(18, 51, 74, .13) !important;
    background: transparent !important;
  }

  .sw-front-content--core .sw-home-upper .sw-home-today .swh-home-row:last-child {
    border-bottom: 0 !important;
  }

  .sw-front-content--core .sw-home-upper .sw-home-today .swh-home-icon {
    flex: 0 0 24px !important;
    width: 24px !important;
    height: 24px !important;
    color: #2d7896;
  }

  .sw-front-content--core .sw-home-upper .sw-home-today .swh-home-icon svg {
    width: 20px !important;
    height: 20px !important;
    stroke-width: 1.5 !important;
  }

  .sw-front-content--core .sw-home-upper .sw-home-today .swh-home-text {
    display: grid !important;
    grid-template-columns: minmax(78px, .9fr) minmax(0, 1.75fr) !important;
    grid-template-rows: auto auto !important;
    column-gap: 8px !important;
    row-gap: 1px !important;
    align-items: center !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }

  .sw-front-content--core .sw-home-upper .sw-home-today .swh-home-title,
  .sw-front-content--core .sw-home-upper .sw-home-today .swh-home-primary,
  .sw-front-content--core .sw-home-upper .sw-home-today .swh-home-secondary {
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    white-space: normal !important;
    overflow: hidden !important;
    text-overflow: clip !important;
  }

  .sw-front-content--core .sw-home-upper .sw-home-today .swh-home-title {
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: center;
    font-size: .68rem !important;
    line-height: 1.12 !important;
  }

  .sw-front-content--core .sw-home-upper .sw-home-today .swh-home-primary {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
    font-size: .59rem !important;
    line-height: 1.18 !important;
    font-weight: 600 !important;
  }

  .sw-front-content--core .sw-home-upper .sw-home-today .swh-home-secondary {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    margin-top: 1px !important;
    color: #6d777b !important;
    font-size: .50rem !important;
    line-height: 1.15 !important;
  }

  .sw-front-content--core .sw-home-upper .sw-home-today .swh-home-arrow {
    flex: 0 0 11px !important;
    width: 11px !important;
    font-size: .65rem !important;
  }

  .sw-front-content--core .sw-home-upper .sw-home-today-more {
    margin: 5px 0 0 !important;
    padding-top: 5px;
    border-top: 1px solid rgba(18, 51, 74, .16);
    font-family: var(--sw-sans);
    font-size: .54rem;
    line-height: 1.2;
    text-align: right;
  }

  .sw-front-content--core .sw-home-upper .sw-home-today-more a {
    color: var(--sw-ink);
    font-weight: 600;
    text-decoration: none;
  }

  .sw-front-content--core .sw-home-upper .sw-home-today-more a:hover,
  .sw-front-content--core .sw-home-upper .sw-home-today-more a:focus-visible {
    text-decoration: underline;
    text-underline-offset: .15em;
  }
}

@media (max-width: 900px) {
  .sw-front-content--core .sw-home-upper .sw-home-today-heading-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
  }

  .sw-front-content--core .sw-home-upper .sw-home-today-date {
    color: var(--sw-muted);
    font-family: var(--sw-sans);
    font-size: .68rem;
    text-align: right;
  }

  .sw-front-content--core .sw-home-upper .sw-home-today-more {
    margin: 8px 0 0 !important;
    text-align: right;
    font-size: .68rem;
  }
}


/* =========================================================
   0.20.0 – Aktuelle Dossiers als echte Bildkarten
   Ziel: drei gleich breite Dossierkarten + Zitatspalte.
   Auch bei nur einem Dossier bleibt dessen Kartenbreite stabil;
   freie Plätze werden nicht mit Dummy-Inhalten gefüllt.
   ========================================================= */
.sw-front-content--core .sw-home-band--dossiers {
  grid-template-columns: minmax(0, 3.4fr) minmax(220px, .9fr) !important;
  gap: 14px !important;
  align-items: stretch !important;
}

.sw-front-content--core .sw-home-dossier-main {
  min-width: 0;
}

.sw-front-content--core .sw-home-dossier-main .sw-home-section-head {
  margin-bottom: 10px !important;
}

.sw-front-content--core .sw-home-dossier-main .sw-home-section-head h2 {
  font-size: clamp(1.9rem, 3vw, 2.45rem) !important;
}

.sw-front-content--core .sw-home-dossier-slots {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 10px !important;
  align-items: stretch !important;
}

.sw-front-content--core .sw-home-dossier-slots .sw-home-card--dossier {
  min-width: 0;
  min-height: 0 !important;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(18, 51, 74, .15) !important;
  background: #fff !important;
}

.sw-front-content--core .sw-home-card--dossier .sw-home-card-media {
  display: block;
  aspect-ratio: 16 / 8.4 !important;
  overflow: hidden;
  background: #dfe9ec;
}

.sw-front-content--core .sw-home-card--dossier .sw-home-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sw-front-content--core .sw-home-card--dossier .sw-home-card-media--fallback img {
  object-fit: cover;
  opacity: .92;
}

.sw-front-content--core .sw-home-card--dossier .sw-home-card-body {
  padding: 9px 10px 11px !important;
}

.sw-front-content--core .sw-home-card--dossier .sw-home-label {
  margin-bottom: 2px;
  font-size: .62rem !important;
  line-height: 1.1;
}

.sw-front-content--core .sw-home-card--dossier h3 {
  margin: 2px 0 4px !important;
  font-size: 1.06rem !important;
  line-height: 1.05 !important;
}

.sw-front-content--core .sw-home-card--dossier p:not(.sw-home-card-more) {
  margin: 0 !important;
  color: #50565a;
  font-size: .68rem !important;
  line-height: 1.34 !important;
}

.sw-front-content--core .sw-home-card--dossier .sw-home-card-more {
  margin-top: 7px !important;
}

.sw-front-content--core .sw-home-card--dossier .sw-home-card-more a {
  font-size: .67rem !important;
}

.sw-front-content--core .sw-home-quote {
  min-height: 0 !important;
  padding: 18px 17px !important;
}

.sw-front-content--core .sw-home-quote-mark {
  margin-bottom: 5px !important;
  font-size: 3.6rem !important;
}

.sw-front-content--core .sw-home-quote blockquote {
  font-size: 1rem !important;
  line-height: 1.32 !important;
}

.sw-front-content--core .sw-home-quote-brand {
  margin-top: 14px !important;
  font-size: .78rem;
}

@media (max-width: 900px) {
  .sw-front-content--core .sw-home-band--dossiers {
    grid-template-columns: 1fr !important;
  }

  .sw-front-content--core .sw-home-dossier-slots {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .sw-front-content--core .sw-home-quote {
    min-height: 180px !important;
  }
}

@media (max-width: 700px) {
  .sw-front-content--core .sw-home-dossier-slots {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 480px) {
  .sw-front-content--core .sw-home-dossier-slots {
    grid-template-columns: 1fr !important;
  }
}


/* =========================================================
   0.21.0 – Datenblick + Stadt entdecken als visuelle Karten
   Ziel: kompakter Datenblick aus Grafik + Textkarte sowie
   konsequent bebilderte Entdecken-Karten. Header/Footer unberührt.
   ========================================================= */
.sw-front-content--core .sw-home-band--data-discover {
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.35fr) !important;
  gap: 14px !important;
  align-items: start !important;
}

.sw-front-content--core .sw-home-band--data-discover .sw-home-section-head {
  margin-bottom: 9px !important;
}

.sw-front-content--core .sw-home-band--data-discover .sw-home-section-head h2 {
  font-size: clamp(1.75rem, 2.6vw, 2.25rem) !important;
}

/* Datenblick: Visual und Text bewusst als zwei getrennte Karten. */
.sw-front-content--core .sw-home-data-feature {
  display: grid !important;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr) !important;
  gap: 10px !important;
  min-height: 0 !important;
  overflow: visible !important;
  border: 0 !important;
  background: transparent !important;
}

.sw-front-content--core .sw-home-data-feature.no-image {
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr) !important;
}

.sw-front-content--core .sw-home-data-feature-media {
  display: block !important;
  min-width: 0;
  aspect-ratio: 1.15 / 1;
  overflow: hidden;
  border: 1px solid rgba(18, 51, 74, .15);
  background: #eef4f6 !important;
}

.sw-front-content--core .sw-home-data-feature-media img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  object-fit: cover !important;
}

.sw-front-content--core .sw-home-data-feature-media--fallback img {
  object-fit: cover !important;
}

.sw-front-content--core .sw-home-data-feature-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  padding: 9px 10px 11px !important;
  border: 1px solid rgba(18, 51, 74, .15);
  background: #fff;
}

.sw-front-content--core .sw-home-data-feature-copy .sw-home-label {
  margin-bottom: 2px;
  font-size: .62rem !important;
  line-height: 1.1;
}

.sw-front-content--core .sw-home-data-feature-copy h3 {
  margin: 2px 0 5px !important;
  font-size: 1.08rem !important;
  line-height: 1.07 !important;
}

.sw-front-content--core .sw-home-data-feature-copy > p:not(.sw-home-card-more) {
  margin: 0 !important;
  color: #50565a;
  font-size: .68rem !important;
  line-height: 1.36 !important;
}

.sw-front-content--core .sw-home-data-feature-copy .sw-home-card-more {
  margin-top: auto !important;
  padding-top: 8px;
}

/* Stadt entdecken: Bild immer oben, darunter kompakter redaktioneller Text. */
.sw-front-content--core .sw-home-discover-three {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important;
  gap: 10px !important;
  align-items: stretch !important;
}

.sw-front-content--core .sw-home-discover-three .sw-home-card--discover {
  min-width: 0;
  min-height: 0 !important;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(18, 51, 74, .15) !important;
  background: #fff !important;
}

.sw-front-content--core .sw-home-discover-three .sw-home-card--discover .sw-home-card-media {
  display: block;
  aspect-ratio: 16 / 9 !important;
  overflow: hidden;
  background: #dfe9ec;
}

.sw-front-content--core .sw-home-discover-three .sw-home-card--discover .sw-home-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sw-front-content--core .sw-home-discover-three .sw-home-card--discover .sw-home-card-media--fallback img {
  object-fit: cover;
  opacity: .92;
}

.sw-front-content--core .sw-home-discover-three .sw-home-card-body {
  padding: 8px 9px 10px !important;
}

.sw-front-content--core .sw-home-discover-three .sw-home-label {
  margin-bottom: 2px;
  font-size: .59rem !important;
  line-height: 1.08;
}

.sw-front-content--core .sw-home-discover-three .sw-home-card--discover h3 {
  margin: 2px 0 4px !important;
  font-size: .98rem !important;
  line-height: 1.06 !important;
}

.sw-front-content--core .sw-home-discover-three .sw-home-card--discover p:not(.sw-home-card-more) {
  margin: 0 !important;
  color: #50565a;
  font-size: .64rem !important;
  line-height: 1.33 !important;
}

.sw-front-content--core .sw-home-discover-three .sw-home-card-more {
  margin-top: 7px !important;
}

.sw-front-content--core .sw-home-discover-three .sw-home-card-more a {
  font-size: .65rem !important;
}

@media (max-width: 980px) {
  .sw-front-content--core .sw-home-band--data-discover {
    grid-template-columns: 1fr !important;
  }

  .sw-front-content--core .sw-home-data-feature {
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr) !important;
  }
}

@media (max-width: 620px) {
  .sw-front-content--core .sw-home-data-feature,
  .sw-front-content--core .sw-home-data-feature.no-image {
    grid-template-columns: 1fr !important;
  }

  .sw-front-content--core .sw-home-data-feature-media {
    aspect-ratio: 16 / 9;
  }

  .sw-front-content--core .sw-home-discover-three {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 420px) {
  .sw-front-content--core .sw-home-discover-three {
    grid-template-columns: 1fr !important;
  }
}


/* =========================================================
   0.21.1 – Datenblick + Stadt entdecken näher an Referenz 2
   Ziel: zwei gleichgewichtete Hälften; Datenblick horizontal
   aus Visual + Textkarte; Entdecken bleibt in drei schlanken
   Spalten, auch wenn erst zwei Inhalte vorhanden sind.
   Header/Footer unberührt.
   ========================================================= */
@media (min-width: 981px) {
  .sw-front-content--core .sw-home-band--data-discover {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 14px !important;
    align-items: start !important;
  }

  .sw-front-content--core .sw-home-data-pane,
  .sw-front-content--core .sw-home-discover-pane {
    width: 100% !important;
    min-width: 0 !important;
  }

  .sw-front-content--core .sw-home-band--data-discover .sw-home-section-head {
    display: flex !important;
    align-items: baseline !important;
    justify-content: space-between !important;
    gap: 10px !important;
    margin-bottom: 8px !important;
  }

  .sw-front-content--core .sw-home-band--data-discover .sw-home-section-head h2 {
    margin: 0 !important;
    font-size: clamp(1.35rem, 1.8vw, 1.65rem) !important;
    line-height: 1 !important;
  }

  .sw-front-content--core .sw-home-band--data-discover .sw-home-section-head > a {
    font-size: .72rem !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
  }

  /* Datenblick: Referenz 2 – Grafik links, Text rechts. */
  .sw-front-content--core .sw-home-data-feature,
  .sw-front-content--core .sw-home-data-feature.no-image {
    display: grid !important;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr) !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 218px !important;
    min-height: 218px !important;
    gap: 8px !important;
    align-items: stretch !important;
  }

  .sw-front-content--core .sw-home-data-feature-media {
    width: 100% !important;
    min-width: 0 !important;
    height: 218px !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
  }

  .sw-front-content--core .sw-home-data-feature-copy {
    width: 100% !important;
    min-width: 0 !important;
    height: 218px !important;
    min-height: 0 !important;
    overflow: hidden !important;
    padding: 9px 10px 10px !important;
  }

  .sw-front-content--core .sw-home-data-feature-copy h3 {
    margin: 2px 0 5px !important;
    font-size: 1rem !important;
    line-height: 1.05 !important;
  }

  .sw-front-content--core .sw-home-data-feature-copy > p:not(.sw-home-card-more) {
    font-size: .63rem !important;
    line-height: 1.32 !important;
  }

  .sw-front-content--core .sw-home-data-feature-copy .sw-home-card-more a {
    font-size: .66rem !important;
  }

  /* Stadt entdecken: immer drei Kartenbreiten wie in Referenz 2.
     Bei nur zwei Inhalten bleibt die dritte Spalte leer statt die
     vorhandenen Karten unnötig auf 50 % aufzublasen. */
  .sw-front-content--core .sw-home-discover-three {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .sw-front-content--core .sw-home-discover-three .sw-home-card--discover {
    min-height: 218px !important;
    height: 218px !important;
  }

  .sw-front-content--core .sw-home-discover-three .sw-home-card--discover .sw-home-card-media {
    height: 94px !important;
    aspect-ratio: auto !important;
  }

  .sw-front-content--core .sw-home-discover-three .sw-home-card-body {
    height: calc(218px - 94px) !important;
    overflow: hidden !important;
    padding: 7px 8px 8px !important;
  }

  .sw-front-content--core .sw-home-discover-three .sw-home-card--discover h3 {
    margin: 2px 0 4px !important;
    font-size: .86rem !important;
    line-height: 1.04 !important;
  }

  .sw-front-content--core .sw-home-discover-three .sw-home-card--discover p:not(.sw-home-card-more) {
    font-size: .59rem !important;
    line-height: 1.28 !important;
  }

  .sw-front-content--core .sw-home-discover-three .sw-home-card-more {
    margin-top: 6px !important;
  }

  .sw-front-content--core .sw-home-discover-three .sw-home-card-more a {
    font-size: .62rem !important;
  }
}


/* =========================================================
   0.21.2 – Datenblick/Entdecken robust wie Referenz 2
   Wichtig: auch der Fallback-Datenblick (kein Beitragsbild)
   bleibt auf Desktop horizontal. Entdecken nutzt die
   vorhandene Zahl an Karten und lässt keine künstliche Lücke.
   Header/Footer unberührt.
   ========================================================= */
.sw-front-content--core .sw-home-data-feature,
.sw-front-content--core .sw-home-data-feature.no-image {
  display: grid !important;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr) !important;
  gap: 8px !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 218px !important;
  min-height: 218px !important;
  border: 0 !important;
  background: transparent !important;
  overflow: visible !important;
  align-items: stretch !important;
}

.sw-front-content--core .sw-home-data-feature-media,
.sw-front-content--core .sw-home-data-feature-copy {
  width: 100% !important;
  min-width: 0 !important;
  height: 218px !important;
  min-height: 0 !important;
  box-sizing: border-box !important;
}

.sw-front-content--core .sw-home-data-feature-media {
  aspect-ratio: auto !important;
  overflow: hidden !important;
}

.sw-front-content--core .sw-home-data-feature-copy {
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
}

/* Zwei vorhandene Entdecken-Inhalte füllen die rechte Hälfte;
   sobald drei vorhanden sind, werden daraus automatisch drei
   gleich breite Karten wie in der Referenz. */
.sw-front-content--core .sw-home-discover-three {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)) !important;
  gap: 8px !important;
  width: 100% !important;
  align-items: stretch !important;
}

.sw-front-content--core .sw-home-discover-three .sw-home-card--discover {
  width: auto !important;
  min-width: 0 !important;
  height: 218px !important;
  min-height: 218px !important;
}

.sw-front-content--core .sw-home-discover-three .sw-home-card--discover .sw-home-card-media {
  height: 96px !important;
  aspect-ratio: auto !important;
}

.sw-front-content--core .sw-home-discover-three .sw-home-card-body {
  height: 122px !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

@media (max-width: 720px) {
  .sw-front-content--core .sw-home-data-feature,
  .sw-front-content--core .sw-home-data-feature.no-image {
    grid-template-columns: 1fr !important;
    height: auto !important;
    min-height: 0 !important;
  }

  .sw-front-content--core .sw-home-data-feature-media {
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
  }

  .sw-front-content--core .sw-home-data-feature-copy {
    height: auto !important;
    min-height: 170px !important;
  }

  .sw-front-content--core .sw-home-discover-three {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important;
  }
}


/* =========================================================
   0.22.0 – Dossierband wie Referenz-Mockup
   Drei kompakte Bildkarten im Hauptbereich + Zitatspalte.
   Die Dossier-Kennzeichnung liegt als Badge im Bild.
   Es werden weiterhin nur tatsächlich veröffentlichte Dossiers
   ausgegeben; leere Plätze werden nicht erfunden.
   Header/Footer unberührt.
   ========================================================= */
.sw-front-content--core .sw-home-band--dossiers {
  grid-template-columns: minmax(0, 3.65fr) minmax(210px, .9fr) !important;
  gap: 16px !important;
  align-items: stretch !important;
}

.sw-front-content--core .sw-home-dossier-main {
  min-width: 0 !important;
}

.sw-front-content--core .sw-home-dossier-main .sw-home-section-head {
  margin: 0 0 12px !important;
  align-items: baseline !important;
}

.sw-front-content--core .sw-home-dossier-main .sw-home-section-head h2 {
  margin: 0 !important;
  font-size: clamp(2rem, 3vw, 2.7rem) !important;
  line-height: 1 !important;
}

.sw-front-content--core .sw-home-dossier-main .sw-home-section-head > a {
  font-size: .9rem !important;
  white-space: nowrap !important;
}

.sw-front-content--core .sw-home-dossier-slots {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 14px !important;
  align-items: stretch !important;
}

.sw-front-content--core .sw-home-dossier-slots .sw-home-card--dossier {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
  min-height: 315px !important;
  height: 100% !important;
  overflow: hidden !important;
  background: #fff !important;
  border: 1px solid rgba(18, 51, 74, .16) !important;
  box-shadow: none !important;
}

.sw-front-content--core .sw-home-card--dossier .sw-home-card-media {
  display: block !important;
  width: 100% !important;
  height: 152px !important;
  min-height: 152px !important;
  aspect-ratio: auto !important;
  overflow: hidden !important;
  background: #dfe9ec !important;
}

.sw-front-content--core .sw-home-card--dossier .sw-home-card-media img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.sw-front-content--core .sw-home-card--dossier .sw-home-card-body {
  position: static !important;
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  min-height: 0 !important;
  padding: 14px 15px 14px !important;
}

/* Das Label kommt aus dem bestehenden Core-Markup. Für die
   Referenzdarstellung wird es optisch in das Bild gezogen. */
.sw-front-content--core .sw-home-card--dossier .sw-home-label {
  position: absolute !important;
  z-index: 2 !important;
  top: 14px !important;
  left: 14px !important;
  margin: 0 !important;
  padding: 7px 12px 6px !important;
  background: rgba(28, 76, 94, .92) !important;
  color: #fff !important;
  font-family: var(--sw-sans) !important;
  font-size: .68rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: .04em !important;
  text-transform: uppercase !important;
}

.sw-front-content--core .sw-home-card--dossier h3 {
  margin: 0 0 7px !important;
  font-size: clamp(1.12rem, 1.35vw, 1.38rem) !important;
  line-height: 1.08 !important;
}

.sw-front-content--core .sw-home-card--dossier h3 a {
  color: #12334a !important;
  text-decoration: none !important;
}

.sw-front-content--core .sw-home-card--dossier p:not(.sw-home-card-more) {
  margin: 0 !important;
  color: #59636a !important;
  font-size: .76rem !important;
  line-height: 1.42 !important;
}

.sw-front-content--core .sw-home-card--dossier .sw-home-card-more {
  margin: auto 0 0 !important;
  padding-top: 12px !important;
}

.sw-front-content--core .sw-home-card--dossier .sw-home-card-more a {
  color: #12334a !important;
  font-size: .75rem !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

.sw-front-content--core .sw-home-quote {
  display: flex !important;
  flex-direction: column !important;
  min-height: 0 !important;
  height: 100% !important;
  padding: 28px 22px 24px !important;
  background: #e3f0f4 !important;
}

.sw-front-content--core .sw-home-quote-mark {
  margin: 0 0 18px !important;
  color: #4c9ab3 !important;
  font-size: 4rem !important;
  line-height: .8 !important;
}

.sw-front-content--core .sw-home-quote blockquote {
  margin: 0 !important;
  color: #315c70 !important;
  font-family: var(--sw-serif) !important;
  font-size: 1rem !important;
  font-style: italic !important;
  line-height: 1.38 !important;
}

.sw-front-content--core .sw-home-quote-brand {
  margin: auto 0 0 !important;
  padding-top: 22px !important;
  color: #315c70 !important;
  font-family: var(--sw-serif) !important;
  font-size: .82rem !important;
  font-weight: 700 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
}

@media (max-width: 1000px) {
  .sw-front-content--core .sw-home-band--dossiers {
    grid-template-columns: 1fr !important;
  }

  .sw-front-content--core .sw-home-quote {
    min-height: 190px !important;
  }
}

@media (max-width: 760px) {
  .sw-front-content--core .sw-home-dossier-slots {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 520px) {
  .sw-front-content--core .sw-home-dossier-main .sw-home-section-head {
    align-items: flex-end !important;
  }

  .sw-front-content--core .sw-home-dossier-slots {
    grid-template-columns: 1fr !important;
  }

  .sw-front-content--core .sw-home-dossier-slots .sw-home-card--dossier {
    min-height: 0 !important;
  }

  .sw-front-content--core .sw-home-card--dossier .sw-home-card-media {
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 16 / 8.6 !important;
  }
}


/* =========================================================
   0.22.1 – Dossierband nach finalem Mockup
   Drei Karten bleiben das Zielbild. Bei nur einem oder zwei
   veröffentlichten Dossiers wird die vorhandene Fläche sinnvoll
   genutzt, ohne Inhalte zu erfinden.
   ========================================================= */
.sw-front-content--core .sw-home-band--dossiers {
  grid-template-columns: minmax(0, 3.6fr) minmax(240px, .95fr) !important;
  gap: 18px !important;
  align-items: stretch !important;
}

.sw-front-content--core .sw-home-dossier-main .sw-home-section-head {
  margin-bottom: 14px !important;
}

.sw-front-content--core .sw-home-dossier-main .sw-home-section-head h2 {
  font-size: clamp(2.15rem, 3vw, 2.8rem) !important;
  line-height: .98 !important;
  letter-spacing: -.02em !important;
}

.sw-front-content--core .sw-home-dossier-main .sw-home-section-head > a {
  font-size: .95rem !important;
}

/* 6er-Raster: 3 Dossiers = je 2 Spalten. So kann der Bereich
   auch mit 1 oder 2 echten Dossiers ausgewogen reagieren. */
.sw-front-content--core .sw-home-dossier-slots {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: 14px !important;
  align-items: stretch !important;
}

.sw-front-content--core .sw-home-dossier-slots > .sw-home-card--dossier {
  grid-column: span 2 !important;
  min-height: 0 !important;
  height: auto !important;
  background: #fff !important;
}

/* Nur ein veröffentlichtes Dossier: nicht als winzige Karte ganz links
   stehen lassen, sondern zwei Drittel des Kartenbereichs nutzen. */
.sw-front-content--core .sw-home-dossier-slots:has(> .sw-home-card--dossier:only-child) > .sw-home-card--dossier {
  grid-column: span 4 !important;
}

/* Zwei Dossiers: je die Hälfte der Kartenfläche. */
.sw-front-content--core .sw-home-dossier-slots:has(> .sw-home-card--dossier:nth-child(2):last-child) > .sw-home-card--dossier {
  grid-column: span 3 !important;
}

.sw-front-content--core .sw-home-card--dossier .sw-home-card-media {
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 16 / 7.2 !important;
  background: #dce9ed !important;
}

.sw-front-content--core .sw-home-card--dossier .sw-home-card-media img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.sw-front-content--core .sw-home-card--dossier .sw-home-card-body {
  padding: 13px 15px 14px !important;
}

.sw-front-content--core .sw-home-card--dossier .sw-home-label {
  top: 12px !important;
  left: 12px !important;
  padding: 6px 11px 5px !important;
  background: rgba(32, 80, 96, .94) !important;
  font-size: .66rem !important;
}

.sw-front-content--core .sw-home-card--dossier h3 {
  margin-bottom: 6px !important;
  font-size: clamp(1.18rem, 1.4vw, 1.45rem) !important;
  line-height: 1.06 !important;
}

.sw-front-content--core .sw-home-card--dossier p:not(.sw-home-card-more) {
  font-size: .77rem !important;
  line-height: 1.38 !important;
}

.sw-front-content--core .sw-home-card--dossier .sw-home-card-more {
  padding-top: 11px !important;
}

.sw-front-content--core .sw-home-quote {
  padding: 24px 21px 22px !important;
  background: #e5f1f4 !important;
}

.sw-front-content--core .sw-home-quote-mark {
  margin-bottom: 16px !important;
  font-size: 3.6rem !important;
}

.sw-front-content--core .sw-home-quote blockquote {
  font-size: clamp(.95rem, 1.1vw, 1.08rem) !important;
  line-height: 1.38 !important;
}

.sw-front-content--core .sw-home-quote-brand {
  padding-top: 18px !important;
  font-size: .78rem !important;
}

@media (max-width: 1000px) {
  .sw-front-content--core .sw-home-band--dossiers {
    grid-template-columns: 1fr !important;
  }

  .sw-front-content--core .sw-home-dossier-slots {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .sw-front-content--core .sw-home-dossier-slots > .sw-home-card--dossier,
  .sw-front-content--core .sw-home-dossier-slots:has(> .sw-home-card--dossier:only-child) > .sw-home-card--dossier,
  .sw-front-content--core .sw-home-dossier-slots:has(> .sw-home-card--dossier:nth-child(2):last-child) > .sw-home-card--dossier {
    grid-column: auto !important;
  }

  .sw-front-content--core .sw-home-quote {
    min-height: 170px !important;
  }
}

@media (max-width: 620px) {
  .sw-front-content--core .sw-home-dossier-slots {
    grid-template-columns: 1fr !important;
  }

  .sw-front-content--core .sw-home-card--dossier .sw-home-card-media {
    aspect-ratio: 16 / 8.5 !important;
  }
}

/* =========================================================
   0.23.0 – Untere Startseitenarchitektur nach Referenz
   Dossiers: 3 Karten + Zitat. Datenblick: 2 Spalten.
   Stadt entdecken: 3 Karten. Abschluss: 3 gleichwertige Spalten.
   Header, Navigation und oberer Startseitenbereich unberührt.
   ========================================================= */
@media (min-width: 981px) {
  /* BEREICH 3 – Aktuelle Dossiers: drei feste Kartenplätze + Zitat. */
  .sw-front-content--core .sw-home-band--dossiers {
    display: grid !important;
    grid-template-columns: minmax(0, 3fr) minmax(220px, 1fr) !important;
    gap: 14px !important;
    align-items: stretch !important;
    margin-top: 24px !important;
  }

  .sw-front-content--core .sw-home-dossier-main {
    min-width: 0 !important;
  }

  .sw-front-content--core .sw-home-dossier-main .sw-home-section-head {
    margin: 0 0 10px !important;
  }

  .sw-front-content--core .sw-home-dossier-main .sw-home-section-head h2 {
    font-size: clamp(1.75rem, 2.35vw, 2.35rem) !important;
    line-height: 1 !important;
  }

  .sw-front-content--core .sw-home-dossier-main .sw-home-section-head > a {
    font-size: .74rem !important;
  }

  .sw-front-content--core .sw-home-dossier-slots,
  .sw-front-content--core .sw-home-dossiers-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px !important;
    align-items: stretch !important;
  }

  /* Frühere :has()-Sonderregeln bewusst neutralisieren: eine Karte bleibt
     eine Drittelkarte; zwei Karten bleiben zwei Drittelkarten. */
  .sw-front-content--core .sw-home-dossier-slots > .sw-home-card--dossier,
  .sw-front-content--core .sw-home-dossier-slots:has(> .sw-home-card--dossier:only-child) > .sw-home-card--dossier,
  .sw-front-content--core .sw-home-dossier-slots:has(> .sw-home-card--dossier:nth-child(2):last-child) > .sw-home-card--dossier {
    grid-column: auto !important;
    width: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    height: 100% !important;
  }

  .sw-front-content--core .sw-home-card--dossier .sw-home-card-media {
    height: 122px !important;
    min-height: 122px !important;
    aspect-ratio: auto !important;
  }

  .sw-front-content--core .sw-home-card--dossier .sw-home-card-body {
    padding: 9px 10px 10px !important;
  }

  .sw-front-content--core .sw-home-card--dossier .sw-home-label {
    top: 8px !important;
    left: 8px !important;
    padding: 5px 8px 4px !important;
    font-size: .56rem !important;
  }

  .sw-front-content--core .sw-home-card--dossier h3 {
    margin: 0 0 4px !important;
    font-size: 1rem !important;
    line-height: 1.05 !important;
  }

  .sw-front-content--core .sw-home-card--dossier p:not(.sw-home-card-more) {
    font-size: .64rem !important;
    line-height: 1.3 !important;
  }

  .sw-front-content--core .sw-home-card--dossier .sw-home-card-more {
    padding-top: 7px !important;
    margin-top: auto !important;
  }

  .sw-front-content--core .sw-home-card--dossier .sw-home-card-more a {
    font-size: .64rem !important;
  }

  .sw-front-content--core .sw-home-quote {
    min-height: 0 !important;
    height: auto !important;
    padding: 18px 16px 16px !important;
  }

  .sw-front-content--core .sw-home-quote-mark {
    margin: 0 0 10px !important;
    font-size: 3rem !important;
  }

  .sw-front-content--core .sw-home-quote blockquote {
    font-size: .82rem !important;
    line-height: 1.36 !important;
  }

  .sw-front-content--core .sw-home-quote-brand {
    padding-top: 12px !important;
    font-size: .67rem !important;
  }

  /* BEREICH 4 – fünfteilige Zeile: Datenblick 2/5, Entdecken 3/5. */
  .sw-front-content--core .sw-home-band--data-discover {
    display: grid !important;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr) !important;
    gap: 12px !important;
    align-items: start !important;
    margin-top: 22px !important;
  }

  .sw-front-content--core .sw-home-data-pane,
  .sw-front-content--core .sw-home-discover-pane {
    width: 100% !important;
    min-width: 0 !important;
  }

  .sw-front-content--core .sw-home-band--data-discover .sw-home-section-head {
    margin: 0 0 8px !important;
  }

  .sw-front-content--core .sw-home-band--data-discover .sw-home-section-head h2 {
    font-size: 1.45rem !important;
    line-height: 1 !important;
  }

  .sw-front-content--core .sw-home-band--data-discover .sw-home-section-head > a {
    font-size: .66rem !important;
  }

  /* Datenblick innerhalb seiner zwei Spalten: Visual + Textartikel. */
  .sw-front-content--core .sw-home-data-feature,
  .sw-front-content--core .sw-home-data-feature.no-image {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    height: 214px !important;
    min-height: 214px !important;
    border: 0 !important;
    background: transparent !important;
    overflow: visible !important;
  }

  .sw-front-content--core .sw-home-data-feature-media,
  .sw-front-content--core .sw-home-data-feature-copy {
    width: 100% !important;
    min-width: 0 !important;
    height: 214px !important;
    box-sizing: border-box !important;
    border: 1px solid rgba(18,51,74,.15) !important;
    background: #fff !important;
  }

  .sw-front-content--core .sw-home-data-feature-media {
    overflow: hidden !important;
  }

  .sw-front-content--core .sw-home-data-feature-media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  .sw-front-content--core .sw-home-data-feature-copy {
    display: flex !important;
    flex-direction: column !important;
    padding: 9px 10px 10px !important;
    overflow: hidden !important;
  }

  .sw-front-content--core .sw-home-data-feature-copy .sw-home-label {
    font-size: .56rem !important;
  }

  .sw-front-content--core .sw-home-data-feature-copy h3 {
    margin: 3px 0 5px !important;
    font-size: 1rem !important;
    line-height: 1.05 !important;
  }

  .sw-front-content--core .sw-home-data-feature-copy > p:not(.sw-home-card-more) {
    font-size: .62rem !important;
    line-height: 1.3 !important;
  }

  .sw-front-content--core .sw-home-data-feature-copy .sw-home-card-more {
    margin-top: auto !important;
  }

  .sw-front-content--core .sw-home-data-feature-copy .sw-home-card-more a {
    font-size: .63rem !important;
  }

  /* Stadt entdecken: immer drei kleine Kartenspalten. Bei weniger als drei
     echten Inhalten bleiben die freien Slots optisch frei. */
  .sw-front-content--core .sw-home-discover-three {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
    align-items: stretch !important;
  }

  .sw-front-content--core .sw-home-discover-three .sw-home-card--discover {
    width: auto !important;
    min-width: 0 !important;
    height: 214px !important;
    min-height: 214px !important;
  }

  .sw-front-content--core .sw-home-discover-three .sw-home-card--discover .sw-home-card-media {
    height: 91px !important;
    min-height: 91px !important;
    aspect-ratio: auto !important;
  }

  .sw-front-content--core .sw-home-discover-three .sw-home-card-body {
    height: 123px !important;
    padding: 7px 8px 8px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .sw-front-content--core .sw-home-discover-three .sw-home-label {
    font-size: .54rem !important;
  }

  .sw-front-content--core .sw-home-discover-three .sw-home-card--discover h3 {
    margin: 2px 0 4px !important;
    font-size: .82rem !important;
    line-height: 1.03 !important;
  }

  .sw-front-content--core .sw-home-discover-three .sw-home-card--discover p:not(.sw-home-card-more) {
    font-size: .56rem !important;
    line-height: 1.26 !important;
  }

  .sw-front-content--core .sw-home-discover-three .sw-home-card-more {
    margin-top: 5px !important;
  }

  .sw-front-content--core .sw-home-discover-three .sw-home-card-more a {
    font-size: .59rem !important;
  }

  /* BEREICH 5 – exakt drei gleichwertige Spalten. */
  .sw-front-content--core .sw-home-band--closing {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0 !important;
    min-height: 176px !important;
    margin-top: 18px !important;
    margin-bottom: 0 !important;
  }

  .sw-front-content--core .sw-home-band--closing .sw-home-support,
  .sw-front-content--core .sw-home-band--closing .sw-home-newsletter,
  .sw-front-content--core .sw-home-band--closing .sw-home-closer {
    min-width: 0 !important;
    min-height: 176px !important;
    height: 176px !important;
    box-sizing: border-box !important;
  }

  .sw-front-content--core .sw-home-band--closing .sw-home-support,
  .sw-front-content--core .sw-home-band--closing .sw-home-newsletter {
    padding: 15px 17px !important;
  }

  .sw-front-content--core .sw-home-band--closing .sw-home-support h2,
  .sw-front-content--core .sw-home-band--closing .sw-home-newsletter h2 {
    margin: 3px 0 6px !important;
    font-size: 1.5rem !important;
    line-height: 1.02 !important;
  }

  .sw-front-content--core .sw-home-band--closing .sw-home-support > p:not(.sw-home-label),
  .sw-front-content--core .sw-home-band--closing .sw-home-newsletter > p:not(.sw-home-label) {
    font-size: .67rem !important;
    line-height: 1.34 !important;
  }

  .sw-front-content--core .sw-home-band--closing .sw-home-closer-content {
    min-height: 176px !important;
    padding: 15px 17px !important;
  }

  .sw-front-content--core .sw-home-band--closing .sw-home-closer-fallback {
    padding-bottom: 16px !important;
  }

  .sw-front-content--core .sw-home-band--closing .sw-home-closer-fallback p {
    font-size: 1.15rem !important;
  }
}

@media (max-width: 980px) {
  .sw-front-content--core .sw-home-band--dossiers,
  .sw-front-content--core .sw-home-band--data-discover {
    grid-template-columns: 1fr !important;
  }

  .sw-front-content--core .sw-home-dossier-slots,
  .sw-front-content--core .sw-home-dossiers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .sw-front-content--core .sw-home-band--closing {
    grid-template-columns: 1fr 1fr !important;
  }

  .sw-front-content--core .sw-home-closer {
    grid-column: 1 / -1 !important;
  }
}

@media (max-width: 620px) {
  .sw-front-content--core .sw-home-dossier-slots,
  .sw-front-content--core .sw-home-dossiers-grid,
  .sw-front-content--core .sw-home-data-feature,
  .sw-front-content--core .sw-home-data-feature.no-image,
  .sw-front-content--core .sw-home-discover-three,
  .sw-front-content--core .sw-home-band--closing {
    grid-template-columns: 1fr !important;
  }

  .sw-front-content--core .sw-home-data-feature,
  .sw-front-content--core .sw-home-data-feature.no-image,
  .sw-front-content--core .sw-home-data-feature-media,
  .sw-front-content--core .sw-home-data-feature-copy,
  .sw-front-content--core .sw-home-discover-three .sw-home-card--discover,
  .sw-front-content--core .sw-home-discover-three .sw-home-card-body,
  .sw-front-content--core .sw-home-band--closing .sw-home-support,
  .sw-front-content--core .sw-home-band--closing .sw-home-newsletter,
  .sw-front-content--core .sw-home-band--closing .sw-home-closer {
    height: auto !important;
    min-height: 0 !important;
  }

  .sw-front-content--core .sw-home-data-feature-media,
  .sw-front-content--core .sw-home-discover-three .sw-home-card--discover .sw-home-card-media {
    aspect-ratio: 16 / 9 !important;
  }
}


/* =========================================================
   0.23.1 – Hotfix Datenblick, Entdecken-Links, Support-Kontrast
   1) Datenblick auf Desktop sicher nebeneinander via Flexbox.
   2) Entdecken-Karten mit gleich hoch ausgerichtetem CTA.
   3) Unterstützen-Kachel wieder dunkel mit hohem Kontrast.
   Header/Footer und obere Startseitenbereiche unberührt.
   ========================================================= */
@media (min-width: 981px) {
  /* Datenblick: Visual links, Textkarte rechts – robust gegen ältere Grid-Regeln. */
  .sw-front-content--core .sw-home-data-feature,
  .sw-front-content--core .sw-home-data-feature.no-image {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
    gap: 8px !important;
    width: 100% !important;
    height: 214px !important;
    min-height: 214px !important;
  }

  .sw-front-content--core .sw-home-data-feature > .sw-home-data-feature-media,
  .sw-front-content--core .sw-home-data-feature > .sw-home-data-feature-copy {
    flex: 1 1 0 !important;
    width: 0 !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 214px !important;
    margin: 0 !important;
    float: none !important;
    clear: none !important;
  }

  /* Entdecken: alle Karten gleich hoch, CTA sitzt immer unten. */
  .sw-front-content--core .sw-home-discover-three .sw-home-card--discover {
    display: flex !important;
    flex-direction: column !important;
    height: 214px !important;
    min-height: 214px !important;
  }

  .sw-front-content--core .sw-home-discover-three .sw-home-card--discover .sw-home-card-media {
    flex: 0 0 91px !important;
    height: 91px !important;
    min-height: 91px !important;
  }

  .sw-front-content--core .sw-home-discover-three .sw-home-card-body {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    height: 123px !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }

  .sw-front-content--core .sw-home-discover-three .sw-home-card--discover h3 {
    display: -webkit-box !important;
    overflow: hidden !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 3 !important;
  }

  .sw-front-content--core .sw-home-discover-three .sw-home-card--discover .sw-home-card-body > p:not(.sw-home-card-more) {
    display: -webkit-box !important;
    overflow: hidden !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 3 !important;
  }

  .sw-front-content--core .sw-home-discover-three .sw-home-card-more {
    flex: 0 0 auto !important;
    margin: auto 0 0 !important;
    padding-top: 5px !important;
  }

  /* Unterstützen: dunkler redaktioneller Kontrast statt hell auf hell. */
  .sw-front-content--core .sw-home-band--closing .sw-home-support {
    background: #0f3a4b !important;
    color: #fff !important;
  }

  .sw-front-content--core .sw-home-band--closing .sw-home-support .sw-home-label {
    color: #f09a72 !important;
  }

  .sw-front-content--core .sw-home-band--closing .sw-home-support h2 {
    color: #fff !important;
  }

  .sw-front-content--core .sw-home-band--closing .sw-home-support > p:not(.sw-home-label) {
    color: rgba(255,255,255,.9) !important;
  }

  .sw-front-content--core .sw-home-band--closing .sw-home-support-button {
    border-color: rgba(255,255,255,.8) !important;
    color: #fff !important;
  }

  .sw-front-content--core .sw-home-band--closing .sw-home-support-button:hover,
  .sw-front-content--core .sw-home-band--closing .sw-home-support-button:focus-visible {
    background: #fff !important;
    color: #0f3a4b !important;
  }
}


/* =========================================================
   0.23.2 – Feinschliff Datenblick / Entdecken / Abschluss
   1) Datenblick und Stadt entdecken optisch behutsam getrennt.
   2) Datenblick-Visual + Text als eine zusammengehörige Karte.
   3) Entdecken-Texte bekommen mehr Raum, CTA bleibt unten sichtbar.
   4) Unterstützen- und Newsletter-CTA vollständig sichtbar.
   ========================================================= */
@media (min-width: 981px) {
  /* Die beiden redaktionellen Teilbereiche bleiben Teil einer Zeile,
     werden aber durch Luft + eine feine Linie lesbar getrennt. */
  .sw-front-content--core .sw-home-band--data-discover {
    gap: 18px !important;
  }

  .sw-front-content--core .sw-home-data-pane {
    padding-right: 16px !important;
    border-right: 1px solid rgba(18,51,74,.13) !important;
    box-sizing: border-box !important;
  }

  .sw-front-content--core .sw-home-data-pane .sw-home-section-head,
  .sw-front-content--core .sw-home-discover-pane .sw-home-section-head {
    min-height: 30px !important;
    padding-bottom: 7px !important;
    border-bottom: 1px solid rgba(18,51,74,.11) !important;
    box-sizing: border-box !important;
  }

  /* Datenblick: Visual und Text bilden sichtbar EIN Modul. */
  .sw-front-content--core .sw-home-data-feature,
  .sw-front-content--core .sw-home-data-feature.no-image {
    gap: 0 !important;
    height: 232px !important;
    min-height: 232px !important;
    overflow: hidden !important;
    border: 1px solid rgba(18,51,74,.16) !important;
    background: #fff !important;
  }

  .sw-front-content--core .sw-home-data-feature > .sw-home-data-feature-media,
  .sw-front-content--core .sw-home-data-feature > .sw-home-data-feature-copy {
    height: 230px !important;
    border: 0 !important;
    background: #fff !important;
  }

  .sw-front-content--core .sw-home-data-feature > .sw-home-data-feature-copy {
    border-left: 1px solid rgba(18,51,74,.14) !important;
    padding: 10px 11px 11px !important;
  }

  /* Entdecken: mehr Raum für längere Titel/Teaser; Link sitzt stabil unten. */
  .sw-front-content--core .sw-home-discover-three .sw-home-card--discover {
    height: 232px !important;
    min-height: 232px !important;
  }

  .sw-front-content--core .sw-home-discover-three .sw-home-card--discover .sw-home-card-media {
    flex: 0 0 84px !important;
    height: 84px !important;
    min-height: 84px !important;
  }

  .sw-front-content--core .sw-home-discover-three .sw-home-card-body {
    height: 148px !important;
    padding: 8px 9px 9px !important;
  }

  .sw-front-content--core .sw-home-discover-three .sw-home-card--discover h3 {
    -webkit-line-clamp: 3 !important;
    margin-bottom: 5px !important;
  }

  .sw-front-content--core .sw-home-discover-three .sw-home-card--discover .sw-home-card-body > p:not(.sw-home-card-more) {
    -webkit-line-clamp: 5 !important;
    margin-bottom: 0 !important;
  }

  .sw-front-content--core .sw-home-discover-three .sw-home-card-more {
    margin-top: auto !important;
    padding-top: 7px !important;
  }

  /* Abschlusszeile: keine abgeschnittenen CTA-Elemente mehr. */
  .sw-front-content--core .sw-home-band--closing {
    min-height: 210px !important;
  }

  .sw-front-content--core .sw-home-band--closing .sw-home-support,
  .sw-front-content--core .sw-home-band--closing .sw-home-newsletter,
  .sw-front-content--core .sw-home-band--closing .sw-home-closer {
    min-height: 210px !important;
    height: 210px !important;
  }

  .sw-front-content--core .sw-home-band--closing .sw-home-support,
  .sw-front-content--core .sw-home-band--closing .sw-home-newsletter {
    display: flex !important;
    flex-direction: column !important;
    overflow: visible !important;
    padding: 16px 18px !important;
  }

  .sw-front-content--core .sw-home-band--closing .sw-home-support > p:last-child {
    margin-top: auto !important;
    margin-bottom: 0 !important;
    padding-top: 10px !important;
  }

  .sw-front-content--core .sw-home-band--closing .sw-home-newsletter-signup {
    margin-top: auto !important;
    padding-top: 10px !important;
  }

  .sw-front-content--core .sw-home-band--closing .sw-home-newsletter-signup .sw-newsletter-signup {
    margin: 0 !important;
    padding: 0 !important;
    align-items: center !important;
  }

  .sw-front-content--core .sw-home-band--closing .sw-home-support-button,
  .sw-front-content--core .sw-home-band--closing .sw-newsletter-signup-button,
  .sw-front-content--core .sw-home-band--closing .sw-home-newsletter-button {
    min-height: 34px !important;
    box-sizing: border-box !important;
    padding: 8px 12px !important;
    white-space: nowrap !important;
  }

  .sw-front-content--core .sw-home-band--closing .sw-home-closer-content {
    min-height: 210px !important;
  }
}


/* =========================================================
   0.23.3 – Newsletter-Hinweis sauber im Abschlusskasten
   Der Sicherheitshinweis steht unter dem CTA und bleibt
   vollständig innerhalb der mittleren Abschluss-Spalte.
   ========================================================= */
.sw-front-content--core .sw-home-band--closing .sw-home-newsletter-signup .sw-newsletter-signup:not(.sw-newsletter-signup--embedded) {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 6px !important;
  width: 100% !important;
}

.sw-front-content--core .sw-home-band--closing .sw-home-newsletter-signup .sw-newsletter-signup:not(.sw-newsletter-signup--embedded) > p {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  color: #667078 !important;
  font-size: .61rem !important;
  line-height: 1.3 !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

@media (min-width: 981px) {
  .sw-front-content--core .sw-home-band--closing .sw-home-newsletter-signup {
    padding-top: 7px !important;
  }
}


/* =========================================================
   0.23.4 – Stadtwalk-Zitat: besser lesbar
   ========================================================= */
@media (min-width: 900px) {
  .sw-front-content--core .sw-home-quote blockquote {
    font-size: 1.125rem !important;
    line-height: 1.42 !important;
    letter-spacing: -0.01em !important;
  }

  .sw-front-content--core .sw-home-quote-brand {
    font-size: .76rem !important;
    letter-spacing: .08em !important;
  }
}

@media (max-width: 899px) {
  .sw-front-content--core .sw-home-quote blockquote {
    font-size: 1rem !important;
    line-height: 1.42 !important;
  }
}


/* =========================================================
   0.23.5 – Support-Kontrast auf allen Viewports
   Die Farbgebung der Unterstützen-Kachel ist unabhängig vom
   responsiven Layout: mobil wie Desktop dunkel mit heller Schrift.
   ========================================================= */
.sw-front-content--core .sw-home-band--closing .sw-home-support {
  background: #0f3a4b !important;
  color: #fff !important;
}

.sw-front-content--core .sw-home-band--closing .sw-home-support .sw-home-label {
  color: #f09a72 !important;
}

.sw-front-content--core .sw-home-band--closing .sw-home-support h2 {
  color: #fff !important;
}

.sw-front-content--core .sw-home-band--closing .sw-home-support > p:not(.sw-home-label) {
  color: rgba(255,255,255,.9) !important;
}

.sw-front-content--core .sw-home-band--closing .sw-home-support-button {
  border-color: rgba(255,255,255,.82) !important;
  color: #fff !important;
  background: transparent !important;
}

.sw-front-content--core .sw-home-band--closing .sw-home-support-button:hover,
.sw-front-content--core .sw-home-band--closing .sw-home-support-button:focus-visible {
  background: #fff !important;
  color: #0f3a4b !important;
}

/* ---------------------------------------------------------
   KI-Bildkennzeichnung
   --------------------------------------------------------- */

/* Beitragsbild kann Badge bzw. Bildunterschrift aufnehmen */
.sw-ai-featured {
	position: relative;
}

/* Kennzeichnung unter dem großen Beitragsbild */
.sw-ai-caption {
	display: block;
	margin-top: 7px;
	color: var(--sw-muted);
	font-family: var(--sw-sans);
	font-size: 12px;
	font-style: normal;
	font-weight: 400;
	line-height: 1.4;
	letter-spacing: 0.01em;
}

/* Kleines Label auf Beitragsbildern in Listen und Karten */
.sw-ai-badge {
	position: absolute;
	left: 12px;
	bottom: 12px;
	z-index: 3;

	display: inline-block;
	padding: 5px 7px;

	border: 1px solid rgba(255, 255, 255, 0.32);
	border-radius: 2px;
	background: rgba(16, 45, 80, 0.88);
	color: #fff;

	font-family: var(--sw-sans);
	font-size: 9px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.08em;
	text-transform: uppercase;

	pointer-events: none;
}

/* Auf kleinen Displays etwas kompakter */
@media (max-width: 680px) {
	.sw-ai-caption {
		font-size: 11px;
	}

	.sw-ai-badge {
		left: 8px;
		bottom: 8px;
		padding: 4px 6px;
		font-size: 8px;
	}
}

/* Bildflächen auf der Stadtwalk-Startseite als Bezugspunkt
   für das KI-Label verwenden. */
.stadtwalk-home .sw-home-hero-image,
.stadtwalk-home .sw-home-card-media,
.stadtwalk-home .sw-home-data-feature-media {
	position: relative;
	display: block;
}
