/* CPM Website „Stufe 1“ – alte Seiten im neuen Rahmen. Baut auf /site-2026/v1/css/basis.css und d2.css auf (Variablen, Schriften,
   Kopf, Menü, Fuß). Quelle: tools/website_stufe1_seiten.css, ausgeliefert als /site-2026/v2/css/seiten.css. Kein Dunkelmodus. */

/* ---------------------------------------------------------------- Grundgerüst */
.seite { padding-block: clamp(36px, 5vw, 72px) 0; }
.s1-bereich { margin-bottom: 14px; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--rot); }
.s1-bereich a:hover { text-decoration: underline; text-underline-offset: 3px; }
.s1-inhalt { max-width: 760px; font-size: 17.5px; line-height: 1.7; color: var(--tinte); overflow-wrap: anywhere; }
.seite-news-liste .s1-inhalt, .seite-projekt-liste .s1-inhalt, .seite-text-about .s1-inhalt, .seite-text-network .s1-inhalt,
.seite-text-contact .s1-inhalt, [class*="seite-archiv-"] .s1-inhalt { max-width: none; }

/* alte Raster ohne Bootstrap: einfach untereinander */
.s1-inhalt .container, .s1-inhalt .row, .s1-inhalt [class*="col-"] { display: block; width: auto; max-width: none; margin: 0; padding: 0; float: none; }
.s1-inhalt .container + .container, .s1-inhalt .gradient_background, .s1-inhalt .blue_full_width { margin-top: clamp(28px, 4vw, 48px); }

/* Text */
.s1-inhalt p, .s1-inhalt ul, .s1-inhalt ol, .s1-inhalt table, .s1-inhalt figure, .s1-inhalt blockquote, .s1-inhalt details { margin: 0 0 1em; }
.s1-inhalt ul { padding-left: 1.3em; list-style: disc; }
.s1-inhalt ol { padding-left: 1.4em; list-style: decimal; }
.s1-inhalt li { margin-bottom: .35em; }
.s1-inhalt li::marker { color: var(--rot); }
.s1-inhalt h1, .s1-inhalt h2, .s1-inhalt h3, .s1-inhalt h4, .s1-inhalt h5, .s1-inhalt h6 { margin: 1.4em 0 .5em; font-family: var(--serif); font-weight: 500; line-height: 1.2; color: var(--tinte); }
.s1-inhalt h2 { font-size: clamp(26px, 2.6vw, 32px); }
.s1-inhalt h3 { font-size: clamp(22px, 2.2vw, 27px); }
.s1-inhalt h4 { font-size: 21px; }
.s1-inhalt h5 { font-size: 19px; }
.s1-inhalt h6 { font-size: 17.5px; font-family: var(--sans); font-weight: 600; }
.s1-inhalt h3.redcolor, .s1-inhalt .redcolor { color: var(--rot); }
.s1-inhalt a[href] { color: var(--rot); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: var(--rot-zart); transition: text-decoration-color .2s; }
.s1-inhalt a[href]:hover { text-decoration-color: var(--rot); }
.s1-inhalt strong, .s1-inhalt b { font-weight: 600; }
.s1-inhalt hr { margin: 2em 0; border: 0; border-top: 1px solid var(--linie); }
.s1-inhalt img { height: auto; border-radius: var(--rund-bild, 10px); }
.s1-inhalt table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; font-size: 15.5px; }
.s1-inhalt td, .s1-inhalt th { padding: 8px 12px; border-bottom: 1px solid var(--linie); text-align: left; vertical-align: top; }

/* Seitentitel: erste Überschrift (Ebene bleibt wie im alten Inhalt) */
.s1-inhalt .s1-titel { margin: 0 0 .55em; font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 4.2vw, 3.4rem); line-height: 1.12; letter-spacing: -.01em; color: var(--tinte); }
.s1-inhalt .s1-titel a { color: inherit; text-decoration: none; }
.s1-inhalt .fs24_4_brake p, .s1-inhalt .portfolio_style p, .s1-inhalt .hero_subtitle p { font-size: clamp(19px, 1.8vw, 22px); line-height: 1.55; color: var(--text-2); max-width: 760px; }

/* Datum, Länderzeile – klein und grau */
.s1-inhalt .date, .s1-inhalt .date p, .s1-inhalt .imgp_inline p, .s1-inhalt .entry-meta { margin: 0; font-size: 14px; color: var(--text-3); }
.s1-inhalt .date:empty, .s1-inhalt p:empty { display: none; }
.seite-news-artikel .s1-inhalt .date { margin: 8px 0 22px; }
.s1-inhalt .imgp_inline { display: flex; align-items: center; gap: 10px; }
.s1-inhalt .imgp_inline img, .s1-inhalt img.dotted_maps { width: 34px; height: auto; border-radius: 0; }

/* Knöpfe aus dem alten Inhalt */
.s1-inhalt .s1-knopf { display: inline-flex; align-items: center; height: 46px; padding: 0 22px; border-radius: 999px; background: var(--rot); color: #fff; font-size: 15px; font-weight: 600; letter-spacing: .02em; }
.s1-inhalt a[href]:has(> .s1-knopf) { text-decoration: none; }
.s1-inhalt a.btn_more { font-weight: 600; text-decoration: none; }

/* ---------------------------------------------------------------- Kartenraster (Projektliste, Archive) */
.s1-inhalt .s1-raster { display: grid; grid-template-columns: 1fr; gap: 20px; margin: 18px 0 8px; padding: 0; list-style: none; }
@media (min-width: 640px) { .s1-inhalt .s1-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .s1-inhalt .s1-raster { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.s1-raster > :not(.s1-karte) { grid-column: 1 / -1; }
.s1-inhalt .s1-karte { position: relative; display: flex; flex-direction: column; width: auto; margin: 0; padding: 0; border-radius: var(--rund, 16px); background: #fff; box-shadow: var(--schatten); overflow: hidden; transition: transform .35s var(--weich), box-shadow .35s; }
.s1-inhalt .s1-karte:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(20, 20, 30, .05), 0 26px 50px -26px rgba(20, 20, 30, .38); }
.s1-inhalt .s1-karte > a[href] { display: flex; flex-direction: column; flex: 1; color: var(--tinte); text-decoration: none; }
/* alte Hilfsklassen erzwingen keine Abstände oder Breiten mehr */
.s1-inhalt .s1-karte *, .s1-inhalt .s1-karte [class] { margin-left: 0; margin-right: 0; height: auto; min-height: 0; float: none; }
.s1-inhalt .s1-karte .box, .s1-inhalt .s1-karte .element, .s1-inhalt .s1-karte .element-top, .s1-inhalt .s1-karte .element-bottom,
.s1-inhalt .s1-karte [class*="height"], .s1-inhalt .s1-karte .pb40, .s1-inhalt .s1-karte .pb60, .s1-inhalt .s1-karte .pb80,
.s1-inhalt .s1-karte .pt40, .s1-inhalt .s1-karte .box_3_brakes { display: block; margin: 0; padding: 0; }
.s1-inhalt .s1-karte .box { display: flex; flex-direction: column; flex: 1; }
.s1-inhalt .s1-karte img.wp-post-image { display: block; width: 100%; max-width: 100%; aspect-ratio: 16 / 10; height: auto; object-fit: cover; border-radius: 0; transition: transform 1.2s var(--weich); }
.s1-inhalt .s1-karte:hover img.wp-post-image { transform: scale(1.04); }
.s1-inhalt .s1-karte > a.post-thumbnail, .s1-inhalt .s1-karte .post-thumbnail { order: -1; flex: none; display: block; overflow: hidden; text-decoration: none; }
.s1-inhalt .s1-karte { justify-content: flex-start; }
.s1-inhalt .s1-karte .element, .s1-inhalt .s1-karte [class*="middle"], .s1-inhalt .s1-karte [class*="bottom"] { vertical-align: top; justify-content: flex-start; align-items: stretch; }
.s1-inhalt .s1-karte .box > div:has(> img.wp-post-image) { overflow: hidden; }
.s1-inhalt .s1-karte .box > div:not(:has(> img.wp-post-image)) { padding: 18px 20px 20px; }
.s1-inhalt .s1-karte .entry-header, .s1-inhalt .s1-karte .entry-content { padding: 0 20px; }
.s1-inhalt .s1-karte .entry-header { padding-top: 18px; }
.s1-inhalt .s1-karte .entry-content { padding-bottom: 20px; }
.s1-inhalt .s1-karte h2, .s1-inhalt .s1-karte h5 { margin: 0 0 8px; font-family: var(--serif); font-weight: 500; font-size: 1.15rem; line-height: 1.3; color: var(--tinte); transition: color .25s; }
.s1-inhalt .s1-karte h2 a { color: inherit; text-decoration: none; }
.s1-inhalt .s1-karte h2 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.s1-inhalt .s1-karte:hover h2, .s1-inhalt .s1-karte:hover h5 { color: var(--rot); }
.s1-inhalt .s1-karte p, .s1-inhalt .s1-karte .entry-content { font-size: 15px; line-height: 1.55; color: var(--text-2); }
.s1-inhalt .s1-karte .news_articel_box { margin: 0 0 12px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.s1-inhalt .s1-karte h6 { margin: 0 0 8px; font-family: var(--sans); font-size: 15px; font-weight: 400; line-height: 1.5; color: var(--text-2); }
.s1-inhalt .s1-karte .imgp_inline { display: flex; align-items: center; gap: 8px; }
.s1-inhalt .s1-karte .imgp_inline img { width: 18px; height: auto; }
.s1-inhalt .s1-karte .imgp_inline p { margin: 0; font-size: 13.5px; color: var(--text-3); }
.s1-inhalt .s1-karte .entry-footer:empty { display: none; }
.s1-inhalt .s1-karte .news_p { margin: 0; }

/* ---------------------------------------------------------------- News-Liste: Zeilen in einem weißen Feld */
.s1-inhalt .s1-feld { margin: 18px 0 8px; border-radius: var(--rund, 16px); background: #fff; box-shadow: var(--schatten); overflow: hidden; }
.s1-inhalt .s1-zeile { display: block; width: auto; margin: 0; padding: 0; }
.s1-inhalt .s1-zeile + .s1-zeile { border-top: 1px solid var(--linie); }
.s1-inhalt .s1-zeile > a[href] { position: relative; display: block; padding: 18px 64px 18px 24px; color: var(--tinte); text-decoration: none; transition: background .25s; }
.s1-inhalt .s1-zeile > a[href]:hover { background: var(--rot-hauch); }
.s1-inhalt .s1-zeile > a[href]::after { content: ""; position: absolute; right: 24px; top: 50%; width: 18px; height: 18px; margin-top: -9px; background: var(--rot);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .3s var(--weich); }
.s1-inhalt .s1-zeile > a[href]:hover::after { transform: translateX(4px); }
.s1-inhalt .s1-zeile *, .s1-inhalt .s1-zeile [class] { display: block; height: auto; min-height: 0; margin: 0; padding: 0; float: none; }
.s1-inhalt .s1-zeile h5 { font-family: var(--serif); font-weight: 500; font-size: 1.15rem; line-height: 1.3; color: var(--tinte); transition: color .25s; }
.s1-inhalt .s1-zeile > a[href]:hover h5 { color: var(--rot); }
.s1-inhalt .s1-zeile .news_articel_box { margin-top: 4px; font-size: 15px; line-height: 1.55; color: var(--text-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.s1-inhalt .s1-zeile .date p { margin-top: 4px; font-size: 13.5px; color: var(--text-3); }
.s1-inhalt .s1-zeile .date:not(:has(p)) { display: none; }

/* Rückverweis unter Artikeln und Projekten */
.s1-zurueck { margin-top: clamp(32px, 4vw, 48px); }
.s1-zurueck .knopf { text-decoration: none; }

/* Filterverweise (Jahre, Länder) */
.s1-filter { margin: 8px 0 26px; display: grid; gap: 14px; }
.s1-filter-titel { margin: 0 0 8px; font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.s1-inhalt .s1-filter ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.s1-inhalt .s1-filter li { margin: 0; }
.s1-inhalt .s1-filter a { display: inline-flex; align-items: center; height: 36px; padding: 0 15px; border-radius: 999px; background: #fff; color: var(--tinte); font-size: 14.5px; font-weight: 500; text-decoration: none; box-shadow: inset 0 0 0 1px var(--linie); transition: color .25s, box-shadow .25s; }
.s1-inhalt .s1-filter a:hover { color: var(--rot); box-shadow: inset 0 0 0 1px var(--rot-zart), 0 6px 18px -10px rgba(20, 20, 30, .3); }

/* Blättern in Archiven */
.s1-inhalt .nav-links { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; }
.s1-inhalt .nav-links a { display: inline-flex; align-items: center; height: 42px; padding: 0 18px; border-radius: 999px; background: #fff; text-decoration: none; font-weight: 600; box-shadow: inset 0 0 0 1px var(--linie); }
.s1-inhalt .screen-reader-text { position: absolute !important; width: 1px; height: 1px; margin: 0; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

/* Zählband der Projektliste */
.s1-inhalt .count_container, .s1-inhalt .row .count_container { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.s1-inhalt .count_container .count { display: flex; align-items: baseline; gap: 14px; padding: 22px 28px; border-radius: var(--rund, 16px); background: #fff; box-shadow: var(--schatten); }
.s1-inhalt .count .mobile_border { display: flex; align-items: baseline; gap: 14px; }
.s1-inhalt .count span { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 3.4vw, 50px); line-height: 1; letter-spacing: -.02em; color: var(--rot); font-variant-numeric: lining-nums tabular-nums; }
.s1-inhalt .count p { margin: 0; font-size: 15px; color: var(--text-2); }

/* ---------------------------------------------------------------- Projektseite: Faktenkarten */
.s1-inhalt .row.project_bluesection { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin: 26px 0 34px; }
.s1-inhalt .project_txt { padding: 18px 20px; border-radius: var(--rund, 16px); background: #fff; box-shadow: var(--schatten); }
.s1-inhalt .project_txt h6 { margin: 0 0 8px; font-family: var(--sans); font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.s1-inhalt .project_txt p { margin: 0; font-size: 17.5px; font-weight: 600; line-height: 1.35; color: var(--tinte); }
.s1-inhalt .project_txt .row { display: flex; align-items: center; gap: 10px; }
.s1-inhalt .project_txt .row > div { width: auto; }
.seite-projekt .s1-inhalt h6.Headline { font-family: var(--serif); font-size: 22px; font-weight: 500; line-height: 1.35; color: var(--tinte); }

/* ---------------------------------------------------------------- Textseiten */
/* About: Kopfbild der alten Seite, Zeitleiste, Personen */
.s1-inhalt .about_gallery { display: grid; grid-template-columns: 1fr; gap: 16px; margin: 10px 0 18px; }
@media (min-width: 768px) { .s1-inhalt .about_gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .s1-inhalt .about_gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.s1-inhalt .about_gallery img { width: 100%; background: #fff; box-shadow: var(--schatten); }
.s1-inhalt .s1-person, .s1-inhalt .member_box { padding: 22px 22px 18px; border-radius: var(--rund, 16px); background: #fff; box-shadow: var(--schatten); }
.s1-inhalt .s1-person h4, .s1-inhalt .member_box h4 { margin: 0 0 4px; font-size: 22px; }
.s1-inhalt .s1-person p, .s1-inhalt .member_box p { margin: 0 0 10px; color: var(--text-2); }
.seite-text-about .s1-inhalt .row.mb50 { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 28px; align-items: start; margin-top: 26px; }
.seite-text-about .s1-inhalt .row.mb50 > .col-sm-8 { max-width: 640px; }
.s1-bio { margin: 6px 0 0; border-top: 1px solid var(--linie); padding-top: 10px; }
.s1-bio summary { cursor: pointer; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--rot); list-style: none; }
.s1-bio summary::-webkit-details-marker { display: none; }
.s1-bio summary::after { content: " +"; }
.s1-bio[open] summary::after { content: " –"; }
.s1-bio-inhalt { margin-top: 12px; font-size: 15.5px; line-height: 1.6; }
.s1-bio-inhalt img { max-width: 160px; margin-bottom: 12px; }
.s1-bio-inhalt .cv_label { margin: 0; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.s1-bio-inhalt h3 { margin: 0 0 2px; font-size: 22px; }
.s1-inhalt .s1-mail, .s1-inhalt a.linkedin_icon { display: inline-grid; place-items: center; width: 38px; height: 38px; margin-right: 6px; border-radius: 999px; background: var(--rot-hauch); color: var(--rot); text-decoration: none; vertical-align: middle; }
.s1-inhalt a.linkedin_icon::before { content: "in"; font-weight: 700; font-size: 15px; }
.s1-symbol { width: 18px; height: 18px; }
.s1-inhalt .s1-mail:hover, .s1-inhalt a.linkedin_icon:hover { background: var(--rot); color: #fff; }

/* Network: Logo-Kacheln wie .logos der Startseite */
.s1-inhalt .testimonials-grid { margin: 0; padding: 0; list-style: none; }
.s1-inhalt .s1-logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; margin: 16px 0 32px; padding: 0; list-style: none; }
.s1-inhalt .s1-logos > a[href], .s1-inhalt .s1-logos > li { display: block; height: 110px; margin: 0; padding: 0; border-radius: 12px; background: #fff; box-shadow: var(--schatten); text-decoration: none; transition: transform .35s var(--weich), box-shadow .35s; }
.s1-inhalt .s1-logos > a[href]:hover { transform: translateY(-3px); box-shadow: 0 1px 2px rgba(20, 20, 30, .05), 0 22px 44px -24px rgba(20, 20, 30, .35); }
.s1-inhalt .s1-logos li { display: grid; place-items: center; width: auto; height: 100%; margin: 0; padding: 12px; list-style: none; }
.s1-inhalt .s1-logos li > div { display: grid; place-items: center; width: 100%; height: 100%; }
.s1-inhalt .s1-logos img { width: auto; max-width: 80%; max-height: 60px; margin: 0 auto; border-radius: 0; object-fit: contain; }
.s1-inhalt h3.client { margin-top: 1.6em; }

/* Contact: Anschriften als Karten */
.seite-text-contact .s1-inhalt .s1-raster { grid-template-columns: 1fr; gap: 16px; max-width: 900px; }
@media (min-width: 768px) { .seite-text-contact .s1-inhalt .s1-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.seite-text-contact .s1-karte { padding: 22px 24px; }
.s1-inhalt .s1-karte > :last-child, .s1-inhalt .s1-karte p:last-child { margin-bottom: 0; }
.seite-text-contact .s1-karte h5 { margin-top: 0; font-size: 22px; }

/* ---------------------------------------------------------------- Handy und Tablet */
@media (max-width: 980px) {
  .seite-text-about .s1-inhalt .row.mb50 { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 640px) {
  .s1-inhalt { font-size: 17px; }
  .s1-inhalt .count_container { grid-template-columns: 1fr; }
}

/* Projektseite: Länder-Symbol in der Faktenkarte COUNTRY */
.s1-inhalt .project_txt img.dotted_maps { width: 44px; max-width: none; height: auto; }

/* Sortierzeile über der Hauptliste (/news/, /project-list/); ohne JavaScript verborgen */
.s1-inhalt .s1-sortieren { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 18px 0 14px; }
.s1-inhalt .s1-sortieren .s1-filter-titel { margin: 0; font-size: 14.5px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--text-2); }
.s1-sortieren-knoepfe { display: flex; gap: 8px; }
.s1-sortieren-knoepfe button { display: inline-flex; align-items: center; height: 36px; padding: 0 15px; border-radius: 999px; background: #fff; color: var(--tinte); font-size: 14.5px; font-weight: 500; box-shadow: inset 0 0 0 1px var(--linie); transition: color .25s, background .25s, box-shadow .25s; }
.s1-sortieren-knoepfe button:hover { color: var(--rot); box-shadow: inset 0 0 0 1px var(--rot-zart), 0 6px 18px -10px rgba(20, 20, 30, .3); }
.s1-sortieren-knoepfe button[aria-pressed="true"] { background: var(--rot); color: #fff; box-shadow: none; }
