/* artikel.css – Artikelseiten, Übersicht und Artikeltext (auch in der Editor-Vorschau) */

/* ── Artikeltext ── */
.art-text { font-size: 1.06rem; line-height: 1.75; color: #22374b; }
.art-text p { margin: 0 0 1.1em; }
.art-text h2 { margin: 1.6em 0 .5em; font-size: 1.4rem; line-height: 1.3; color: #1f3347; letter-spacing: -.01em; }
.art-text h3 { margin: 1.4em 0 .4em; font-size: 1.15rem; color: #1f3347; }
.art-text h4 { margin: 1.2em 0 .3em; font-size: 1rem; color: #1f3347; }
.art-text a { color: #2d5a78; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.art-text ul, .art-text ol { margin: 0 0 1.1em; padding-left: 1.4em; }
.art-text li { margin: .25em 0; }
.art-text blockquote { margin: 1.4em 0; padding: .4em 0 .4em 1.1em; border-left: 3px solid #5a8bb3; color: #3d5670; font-style: italic; }
.art-text blockquote p { margin: 0; }
.art-text hr { border: 0; border-top: 1px solid rgba(67,112,148,.25); margin: 2em 0; }
.art-text figure { margin: 1.6em 0; }
.art-text figure img { width: 100%; height: auto; border-radius: 14px; display: block; box-shadow: 0 14px 34px -20px rgba(31,58,92,.55); }
.art-text figcaption { margin-top: 8px; font-size: .84rem; color: #5b7189; text-align: center; }

/* ── Einzelner Artikel ── */
.ar { max-width: 760px; margin: 0 auto; }
.ar-vorschau { background: #fff3dc; color: #8a5a14; padding: 8px 14px; border-radius: 10px; font-weight: 600; }
.ar-brot { display: flex; flex-wrap: wrap; gap: 6px; font-size: .8rem; color: var(--g-muted); margin-bottom: 18px; }
.ar-brot a { color: var(--g-muted); text-decoration: none; } .ar-brot a:hover { color: var(--g-blau); }
.ar-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.ar-tags a, .ar-karte .tg span { font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; text-decoration: none;
  color: var(--g-blau-tief); background: rgba(67,112,148,.1); padding: 3px 10px; border-radius: 999px; }
.ar-kopf h1 { margin: 12px 0 10px; font-size: clamp(1.8rem, 1.3rem + 2vw, 2.7rem); line-height: 1.15; letter-spacing: -.02em; color: var(--g-text); }
.ar-meta { margin: 0; font-size: .86rem; color: var(--g-muted); }
.ar-lead { margin: 18px 0 0; font-size: 1.2rem; line-height: 1.6; color: #3d5670; }
.ar-titelbild { margin: 26px -40px 30px; }
.ar-titelbild img { width: 100%; height: auto; display: block; border-radius: 20px; box-shadow: 0 24px 50px -28px rgba(31,58,92,.6); }
.ar-quelle a { color: var(--g-blau-tief); }
.ar-quelle { font-size: .86rem; color: var(--g-muted); border-top: 1px solid var(--g-linie); padding-top: 14px; }
.ar-teilen { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 22px 0 10px; font-size: .86rem; color: var(--g-muted); }
.ar-teilen a, .ar-teilen button { padding: 7px 13px; border-radius: 999px; border: 1px solid rgba(67,112,148,.22); background: rgba(255,255,255,.75);
  color: var(--g-blau-tief); text-decoration: none; font: 600 .82rem inherit; cursor: pointer; }
.ar-teilen a:hover, .ar-teilen button:hover { background: #fff; }
.ar-weitere { max-width: 1100px; margin: 40px auto 0; }
.ar-weitere > h2 { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--g-muted); }

/* ── Übersicht ── */
.ar-liste-kopf { margin-bottom: 14px; }
.ar-liste-kopf h1 { margin: 2px 0 6px; font-size: clamp(1.7rem, 1.2rem + 1.4vw, 2.4rem); font-weight: 750; letter-spacing: -.02em; color: var(--g-blau-tief); }
.ar-liste-kopf p { margin: 0; color: var(--g-text2); }
.ar-ueber { font-size: .74rem !important; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--g-muted) !important; }
.ar-themen { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.ar-themen a { padding: 7px 14px; border-radius: 999px; text-decoration: none; font-weight: 650; font-size: .86rem; color: var(--g-blau-tief);
  background: rgba(255,255,255,.7); border: 1px solid rgba(67,112,148,.2); }
.ar-themen a small { font-weight: 500; opacity: .65; margin-left: 2px; }
.ar-themen a.an { background: var(--g-blau-tief); color: #fff; border-color: transparent; }

.ar-karten { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; }
.ar-karte { display: flex; flex-direction: column; text-decoration: none; color: inherit; border-radius: var(--g-radius); overflow: hidden;
  background: var(--g-bg); border: 1px solid rgba(255,255,255,.85); box-shadow: var(--schatten), var(--kante); transition: transform .2s, box-shadow .2s;
  -webkit-backdrop-filter: var(--g-blur); backdrop-filter: var(--g-blur); }
.ar-karte:hover { transform: translateY(-3px); box-shadow: var(--schatten-h), var(--kante); }
.ar-karte .b { aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(135deg, #cfe0ee, #9fbdd6); }
.ar-karte .b img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.ar-karte:hover .b img { transform: scale(1.04); }
.ar-ohne { display: block; width: 100%; height: 100%; background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.5), transparent 60%); }
.ar-karte .t { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.ar-karte .tg { display: flex; flex-wrap: wrap; gap: 6px; }
.ar-karte .tg .pin { background: #f4e7cf; color: #8a5a14; }
.ar-karte h2 { margin: 0; font-size: 1.12rem; line-height: 1.3; color: var(--g-text); letter-spacing: -.01em; }
.ar-karte p { margin: 0; font-size: .9rem; line-height: 1.5; color: var(--g-text2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ar-karte time { margin-top: auto; font-size: .78rem; color: var(--g-muted); }
.ar-karte.gross { grid-column: 1 / -1; flex-direction: row; }
.ar-karte.gross .b { flex: 0 0 55%; aspect-ratio: auto; min-height: 320px; }
.ar-karte.gross .t { padding: 26px 30px; justify-content: center; }
.ar-karte.gross h2 { font-size: 1.6rem; }
.ar-karte.gross p { -webkit-line-clamp: 5; font-size: 1rem; }
.ar-karten.klein { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

.ar-seiten { display: flex; justify-content: center; align-items: center; gap: 18px; margin: 26px 0 0; font-size: .9rem; color: var(--g-muted); }
.ar-seiten a { font-weight: 650; color: var(--g-blau-tief); text-decoration: none; padding: 8px 14px; border-radius: 10px; background: rgba(255,255,255,.7); }
.ar-leer { padding: 30px 0; color: var(--g-text2); }

@media (max-width: 900px) {
  .ar-titelbild { margin: 22px 0 24px; }
  .ar-karte.gross { flex-direction: column; }
  .ar-karte.gross .b { min-height: 0; aspect-ratio: 16 / 9; }
  .ar-karte.gross .t { padding: 16px 18px 18px; }
  .ar-karte.gross h2 { font-size: 1.25rem; }
}

/* ── Startseiten-Kachel „Neuigkeiten“ ── */
.nk { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 18px; }
.nk-gross { display: grid; grid-template-rows: auto 1fr; text-decoration: none; color: inherit; border-radius: 16px; overflow: hidden; background: rgba(255,255,255,.55); }
.nk-gross .b { aspect-ratio: 16 / 8; overflow: hidden; background: linear-gradient(135deg, #cfe0ee, #9fbdd6); }
.nk-gross .b img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.nk-gross:hover .b img { transform: scale(1.03); }
.nk-gross .t { padding: 14px 16px 16px; }
.nk-gross h3 { margin: 6px 0 6px; font-size: 1.3rem; line-height: 1.25; color: var(--g-text); }
.nk-gross p { margin: 0; color: var(--g-text2); font-size: .92rem; line-height: 1.5; }
.nk-liste { display: flex; flex-direction: column; }
.nk-e { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px; padding: 10px 4px; text-decoration: none; color: inherit; border-top: 1px solid var(--g-linie); }
.nk-e:first-child { border-top: 0; padding-top: 0; }
.nk-e .b { width: 92px; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: linear-gradient(135deg, #cfe0ee, #9fbdd6); }
.nk-e .b img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nk-e h3 { margin: 2px 0 2px; font-size: .96rem; line-height: 1.3; color: var(--g-text); }
.nk-e:hover h3, .nk-gross:hover h3 { color: var(--g-blau-tief); }
.nk-tg { font-size: .66rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--g-blau); }
.nk-d { font-size: .76rem; color: var(--g-muted); }
.nk-alle { margin-top: auto; padding-top: 10px; }
@media (max-width: 900px) { .nk { grid-template-columns: 1fr; } }

/* HTML-Artikel */
.art-rahmen { margin: 10px -40px 24px; }
.art-rahmen iframe { border-radius: 16px; background: #fff; }
.art-html img { max-width: 100%; height: auto; }
.art-html table { border-collapse: collapse; width: 100%; }
.art-html th, .art-html td { padding: 6px 8px; border-bottom: 1px solid rgba(67,112,148,.15); text-align: left; }
@media (max-width: 900px) { .art-rahmen { margin: 10px 0 24px; } }

.ar-kopf ~ .art-text { margin-top: 22px; }
