#themen {scroll-margin-top:106px}
#themen .themen-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(12px,1.6vw,22px);list-style:none;margin:0;padding:0}
#themen .themen-grid>li{min-width:0;grid-column:auto;margin:0}
#themen .themen-grid>li[hidden]{display:none}

#themen .ownx-tile--ots{padding-right:clamp(18px,2vw,27px)}
#themen .ownx-tile--ots:has(.ownx-sheet) .ownx-title{max-width:88%}
#themen .ownx-tile--ots:has(.ownx-sheet) .ownx-foot{max-width:62%;margin-top:auto}
#themen .ownx-tile--ots:has(.ownx-sheet) .ownx-rest{max-width:23ch;display:block}
#themen .ownx-tile--ots:has(.ownx-sheet) .ownx-sheet{height:170px;bottom:-54px}
#themen .ownx-lead{font-size:clamp(1.65rem,2.45vw,2.5rem)}
#themen .ownx-rest{font-size:1.06rem}
#themen .ownx-sheet{max-width:37%}
#themen .themen-foot{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem 1.5rem;margin-top:1.3rem}
#themen .themen-foot a{min-height:44px;display:inline-flex;align-items:center}
#themen .more-button{font:inherit;font-weight:700;color:#12485b;background:transparent;border:1px solid #829d97;border-radius:4px;padding:.7rem 1rem;min-height:48px;cursor:pointer}
#themen .more-button:focus-visible{outline:3px solid #155469;outline-offset:3px}
#themen .more-button span{font-size:.88em}
#themen .more-button[hidden]{display:none}
@media(max-width:960px){#themen .themen-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){#themen{scroll-margin-top:78px}#themen .themen-grid{grid-template-columns:minmax(0,1fr)}#themen .themen-grid>li{width:auto}#themen .themen-foot{align-items:flex-start;flex-direction:column}}
/* Primary reading action, using the public site's button geometry. */
#neuigkeiten a.leseaktion {
  display:inline-flex; align-items:center; justify-content:center; gap:.55em;
  width:fit-content; max-width:100%; min-height:48px; padding:.68em 1em;
  box-sizing:border-box; border:2px solid transparent; border-radius:6px;
  background:#b6dc66; color:#102f2b; text-decoration:none;
  font-weight:750; line-height:1.25; white-space:normal;
}
#neuigkeiten .ownx-tile--letter a.leseaktion {border:2px solid #173a35!important}
#neuigkeiten a.leseaktion:hover {background:#c9e988;color:#102f2b}
#neuigkeiten a.leseaktion:focus-visible {outline:3px solid #fff;box-shadow:0 0 0 6px #123647;outline-offset:1px}
#themen .themen-grid a.leseaktion {
 width:min(100%,17rem)!important; min-height:52px!important; padding:10px 12px!important;
 font-size:1rem!important; line-height:1.25!important; box-sizing:border-box;
}

#themen .ownx-tile--letter {padding:0!important;display:flex;flex-direction:column;overflow:hidden}
#themen .ownx-tile--letter > :not(.ownx-foot) {margin-inline:clamp(18px,2vw,27px)}
#themen .ownx-tile--letter > .ownx-meta {margin-top:22px}
#themen .ownx-tile--letter > .ownx-foot {background:#0b3045; margin: auto 0 0; padding:16px clamp(18px,2vw,27px); width:100%;box-sizing:border-box}
#themen .ownx-tile--letter a.leseaktion {border:2px solid transparent!important}


#themen .themen-grid .ownx-tile--ots:has(.ownx-sheet) {display:flex;flex-direction:column}
#themen .themen-grid .ownx-tile--ots .ownx-sheet {
 position:relative; inset:auto; order:1; align-self:flex-end; flex:none;
 width:min(172px,80%);max-width:none;height:auto;min-height:0;
 margin:20px 10px 20px auto;padding:14px;box-sizing:border-box;
 transform:rotate(3deg); transform-origin:center; overflow:visible;
}
#themen .ownx-sheet .ownx-tag {white-space:nowrap}
#themen .ownx-sheet .ownx-sheet-title {font-size:14px;line-height:1.2;display:block;overflow:visible}
#themen .themen-grid .ownx-tile--ots:has(.ownx-sheet) .ownx-foot {
 order:2;max-width:none;width:100%;min-height:0;margin:auto 0 0;padding:0
}
@media(max-width:350px){
 #themen .themen-grid a.leseaktion {width:min(100%,246px)!important;font-size:.9rem!important;padding-inline:6px!important;gap:.3em}
}

#themen .site-article-card{height:100%;min-width:0;display:flex;flex-direction:column;background:#fff;color:#0c3043;border:1px solid #c9d9d3;border-radius:4px;overflow:hidden}
#themen .site-article-card>img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
#themen .site-article-card>div{display:flex;flex:1;flex-direction:column;align-items:flex-start;padding:clamp(18px,2vw,27px)}
#themen .site-article-card h4{font:700 clamp(1.25rem,2vw,1.55rem)/1.18 'Outfit','Outfit Fallback',sans-serif;margin:.5rem 0}
#themen .site-article-card h4 a{color:inherit;text-decoration:none}
#themen .site-article-card .leseaktion{margin-top:auto}
#themen .site-article-card p{margin:.3rem 0 1.2rem}
#themen .themen-foot a,.topics-letter .topics-back{color:#155469;font-weight:700;text-underline-offset:.17em}
#neun-fragen{scroll-margin-block:28vh}
.topics-letter{max-width:52rem;margin:auto;padding:clamp(1.2rem,4vw,3.5rem) 1.2rem}
.topics-letter .topics-back{display:inline-block;padding-block:1rem}
.topics-letter h1{font-size:clamp(1.8rem,3vw,2.65rem)}
.topics-letter li{margin:.6rem 0}

/* Equal tracks grow with the longest visible card, including at enlarged text sizes. */
#themen .themen-grid {grid-auto-rows:1fr;align-items:stretch;--card-foot:18px}
#themen .themen-grid>.ownx-tile {display:flex;flex-direction:column;padding-bottom:var(--card-foot)}
#themen .themen-grid>.ownx-tile[hidden] {display:none}
#themen .themen-grid .ownx-foot {margin-top:auto;margin-bottom:0}
#themen .themen-grid>.ownx-tile--letter {padding-bottom:0}
#themen .themen-grid>.ownx-tile--letter>.ownx-foot {padding-bottom:var(--card-foot)}
#themen .themen-grid .ownx-tile--ots:has(.ownx-sheet) {position:relative;isolation:isolate}
#themen .themen-grid .ownx-tile--ots:has(.ownx-sheet) .ownx-sheet {
  position:relative;inset:auto;order:1;align-self:flex-end;
  margin:12px 4px -34px auto;width:min(174px,80%);padding:10px 12px 27px;
  transform:rotate(3deg);z-index:0;pointer-events:none
}
#themen .themen-grid .ownx-tile--ots .ownx-sheet-title {font-size:13px;line-height:1.16}
#themen .themen-grid .ownx-tile--ots .ownx-lines {height:14px;overflow:hidden}
#themen .themen-grid .ownx-tile--ots:has(.ownx-sheet) .ownx-foot {z-index:1;position:relative;order:2;margin-top:0}
#themen .themen-grid .ownx-tile--ots:has(.ownx-sheet) .ownx-title {margin-bottom:auto}
#themen .themen-grid .site-article-card {box-sizing:border-box}
#themen .themen-grid .site-article-card>div {padding-bottom:calc(var(--card-foot) - 1px)}
#themen .themen-grid .site-article-card>img {aspect-ratio:2.5}
#themen .themen-grid .ownx-foot {display:flex;align-items:flex-end}
#themen .themen-grid .ownx-tile--ots:not(:has(.ownx-sheet)) .ownx-foot {padding:0;min-height:0}
