/* Seite „Neues" (/de/neues/) — erzeugt von scripts/blog.mjs. Baut auf
   styles.css (Tokens, Kopf, Fuß) und rechtsseite.css (.legal, .legal-eyebrow). */

.neues [hidden] { display: none !important; }
.neues-shell { max-width: 1080px; }
.topnav a[aria-current="page"] { color: var(--text); font-weight: 700; }

/* Versionsnummer als Rollenzählwerk — Farben wie das Logo, in jedem Theme gleich */
.odo { display: inline-flex; align-items: center; gap: 3px; padding: 4px; border-radius: 8px; background: #1B1B1D; border: 1px solid var(--line2); vertical-align: middle; }
.odo b { font-family: 'Oswald', 'Arial Narrow', sans-serif; font-weight: 500; font-size: 18px; line-height: 1; min-width: 22px; padding-inline: 4px; height: 30px; display: grid; place-items: center; border-radius: 4px; background: linear-gradient(#F7F4EC, #D6D0C2); color: #17171A; }
.odo b.rot { background: linear-gradient(#EF4437, #D02318); color: #FFFFFF; }
.odo i { width: 3px; height: 3px; border-radius: 50%; background: #F4EFE4; align-self: flex-end; margin-bottom: 5px; }
.odo-gross { padding: 6px; gap: 4px; border-radius: 11px; }
.odo-gross b { font-size: 26px; min-width: 32px; height: 44px; border-radius: 6px; }
.odo-gross i { width: 4px; height: 4px; margin-bottom: 7px; }

.marke { display: inline-flex; align-items: center; font-family: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.marke-version { background: var(--tag-strom); color: var(--strom-text); }
.marke-erklaert { background: var(--tag-wasser); color: var(--wasser); }
.kopfzeile { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.kopfzeile .legal-eyebrow { margin: 0; }

/* Übersicht */
.neues-kopf { display: grid; gap: var(--s16); margin-bottom: var(--s32); }
.neues-kopf .display, .neues-kopf .legal-eyebrow { margin: 0; }
.neues-lede { color: var(--text2); max-width: 60ch; margin: 0; }
.filter { display: flex; flex-wrap: wrap; gap: var(--s8); }
.filter button { font: inherit; font-size: 15px; font-weight: 600; color: var(--text2); background: none; border: 1px solid var(--line2); border-radius: 999px; padding: 7px 16px; min-height: 40px; cursor: pointer; }
.filter button[aria-pressed="true"] { background: var(--acc); color: var(--accink); border-color: var(--acc); }
.feed-link { font-size: 14px; color: var(--text3); margin: 0; }
.feed-link a, .beitrag a, .hinweis a { text-decoration: underline; text-underline-offset: 3px; }

.aufmacher { background: var(--surface); border-radius: var(--r); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); overflow: hidden; }
.aufmacher-ohne-bild { grid-template-columns: minmax(0, 1fr); }
.aufmacher-text { padding: var(--s40); display: grid; gap: var(--s16); align-content: center; min-width: 0; }
.aufmacher h2 { font-size: clamp(26px, 3vw, 34px); line-height: 1.2; text-wrap: balance; }
.aufmacher p { color: var(--text2); margin: 0; }
.weiter { font-weight: 700; justify-self: start; text-decoration: underline; text-decoration-color: var(--rot); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.aufmacher-bild { background: var(--surface2); display: grid; place-items: end center; padding: var(--s32) var(--s24) 0; }
.phone-oben { width: min(250px, 100%); aspect-ratio: 600 / 900; overflow: hidden; border: 7px solid var(--phone); border-bottom: 0; border-radius: 30px 30px 0 0; background: var(--phone); }
.phone-oben img { width: 100%; height: auto; }

.liste { list-style: none; margin: var(--s24) 0 0; padding: 0; }
.liste li { border-top: 1px solid var(--line2); }
.liste li:last-child { border-bottom: 1px solid var(--line2); }
.zeile { display: grid; grid-template-columns: 150px minmax(0, 1fr) 84px; gap: var(--s24); padding-block: var(--s24); align-items: start; }
.zeile-ohne-bild { grid-template-columns: 150px minmax(0, 1fr); }
.zeile time { font-family: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; color: var(--text3); padding-top: 6px; }
.zeile h3 { font-size: 21px; margin: 10px 0 6px; text-wrap: balance; }
.zeile p { color: var(--text2); font-size: 16px; margin: 0; }
.zeile:hover h3, .aufmacher h2 a:hover { text-decoration: underline; text-decoration-color: var(--rot); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.daumen { width: 84px; height: 108px; border-radius: 12px; overflow: hidden; background: var(--surface2); border: 1px solid var(--line); }
.daumen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* Beitrag */
.zurueck { display: inline-block; font-size: 15px; font-weight: 600; color: var(--text2); margin-bottom: var(--s24); }
.beitrag-kopf { display: grid; gap: var(--s16); margin-bottom: var(--s32); }
.beitrag-titel { font-size: clamp(30px, 4.6vw, 46px); line-height: 1.2; text-wrap: balance; }
.beitrag-lede { font-size: 19px; color: var(--text2); margin: 0; }
.daten { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; font-family: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; color: var(--text3); }

.beitrag { display: grid; gap: var(--s16); }
.beitrag > * { margin: 0; min-width: 0; }
.beitrag p, .beitrag ul, .beitrag ol { max-width: 66ch; }
.beitrag h2 { font-family: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--text3); margin-top: var(--s24); padding-bottom: 10px; border-bottom: 1px solid var(--line2); }
.beitrag h2:first-child { margin-top: 0; }
.beitrag h3 { font-size: 23px; margin-top: var(--s8); }
.beitrag ul, .beitrag ol { padding-left: 22px; display: grid; gap: 10px; }
.beitrag code { font-family: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; background: var(--surface2); padding: 1px 6px; border-radius: 6px; overflow-wrap: anywhere; }

.medien { background: var(--surface); border-radius: var(--r); padding: var(--s32); display: grid; gap: var(--s24); justify-items: center; }
.medien-paar { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.medien figure { margin: 0; min-width: 0; }
.geraet { width: min(250px, 100%); }
.geraet .rahmen { border: 6px solid var(--phone); border-radius: 26px; overflow: hidden; background: var(--phone); }
.geraet img { width: 100%; height: auto; }
.clip { width: 100%; }
.clip video { display: block; width: 100%; height: auto; max-height: 70vh; border-radius: 16px; background: var(--phone); }
.medien figcaption { font-size: 14px; line-height: 1.4; color: var(--text3); margin-top: 10px; text-align: center; }

.hinweis { background: var(--surface); border-radius: var(--r); padding: var(--s24) var(--s32); display: grid; gap: 6px; margin-top: var(--s16); }
.hinweis b { font-size: 18px; }
.hinweis p { color: var(--text2); font-size: 16px; margin: 0; max-width: none; }

.nachbarn { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--s16); margin-top: var(--s48); }
.nachbarn a { border: 1px solid var(--line2); border-radius: 18px; padding: 18px 20px; display: grid; gap: 4px; min-width: 0; }
.nachbarn .legal-eyebrow { margin: 0; }
.nachbarn .rechts { text-align: right; }
.nachbarn strong { font-size: 17px; line-height: 1.3; }

@media (max-width: 760px) {
  .aufmacher { grid-template-columns: minmax(0, 1fr); }
  .aufmacher-text { padding: var(--s32) var(--s24); }
  .zeile, .zeile-ohne-bild { grid-template-columns: minmax(0, 1fr) 72px; gap: var(--s8) var(--s16); }
  .zeile-ohne-bild { grid-template-columns: minmax(0, 1fr); }
  .zeile time { grid-column: 1 / -1; padding-top: 0; }
  .daumen { width: 72px; height: 94px; }
  .medien { padding: var(--s24) var(--s16); }
  .hinweis { padding: var(--s24); }
}
