/* Kacheldesign (Vorlage: helles Nachrichtenportal mit Bildkacheln von Pinterest, gemeinsame Vorlage seit 19.11.2026).
   Original: entwuerfe/magazin-designs/_kacheldesign/startseite.css. Nicht im Magazin bearbeiten:
   einrichten.py baut die Datei aus dieser Vorlage plus den Farben aus scripts/design.json neu.
   Gilt für body.kc-seite (Startseite) und body.kc-unterseite. */
.kc-seite {
  /* Grundwerte; jedes Magazin überschreibt sie am Dateiende */
  --kc-dunkel: #1f2329; --kc-akzent: #e2402b; --kc-akzent-text: #c0301c; --kc-auf-akzent: #fff;
  --kc-tinte: #16181c; --kc-tinte-2: #3a3f47; --kc-grau: #5f656e; --kc-linie: #e3e5e8; --kc-flaeche: #f4f5f7;
  --kc-titel-schrift: var(--anzeige); --kc-titel-gewicht: 700; --kc-ui: var(--lauf); --kc-logo-hoehe: 60px;
  background: #fff; color: var(--kc-tinte);
}
.kc-bahn { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; }

/* Kleinteile */
.kc-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-family: var(--kc-ui); font-size: 12.5px; color: var(--kc-grau); line-height: 1.4; }
.kc-meta span { font-weight: 700; }
.kc-datum { font-family: var(--kc-ui); font-size: 12.5px; color: var(--kc-grau); }
.kc-rubrik { display: inline-block; font-family: var(--kc-ui); font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--kc-akzent-text); }
.kc-knopf { display: inline-flex; align-items: center; justify-content: center; background: var(--kc-akzent); color: var(--kc-auf-akzent) !important; font-family: var(--kc-ui);
  font-size: 13.5px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; line-height: 1.2; padding: 10px 16px; border-radius: 3px; text-decoration: none; white-space: nowrap; }
.kc-knopf:hover { filter: brightness(1.08); }
.kc-knopf--gross { font-size: 15px; padding: 14px 24px; }

/* Leiste oben, Kopf, Menüleiste */
.kc-topbar { background: var(--kc-dunkel); color: rgba(255,255,255,.82); font-family: var(--kc-ui); font-size: 12px; }
.kc-topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 32px; }
.kc-topbar__text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kc-topbar__links { display: flex; gap: 18px; flex: none; }
.kc-topbar__links a { color: rgba(255,255,255,.9); text-decoration: none; }
.kc-topbar__links a:hover { color: #fff; text-decoration: underline; }
.kc-kopf { background: #fff; position: relative; z-index: 60; }
.kc-kopf__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 20px; padding-bottom: 18px; }
.kc-logo { margin: 0; line-height: 0; }
.kc-logo a { display: inline-block; }
.kc-logo img { display: block; height: var(--kc-logo-hoehe); width: auto; max-width: 100%; }
.kc-kopf__knopf { display: none; width: 46px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; margin-left: auto; }
.kc-kopf__knopf span { display: block; width: 24px; height: 2px; background: var(--kc-tinte); margin: 5px auto; transition: transform .25s, opacity .2s; }
.kc-kopf__knopf[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.kc-kopf__knopf[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.kc-kopf__knopf[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.kc-mobil { display: none; }
.kc-navleiste { border-top: 1px solid var(--kc-linie); border-bottom: 1px solid var(--kc-linie); background: #fff; }
.kc-navleiste__in { display: flex; align-items: stretch; justify-content: space-between; gap: 16px; }
.kc-nav { display: flex; flex-wrap: wrap; }
.kc-nav__link { position: relative; display: flex; align-items: center; min-height: 48px; padding: 0 15px; font-family: var(--kc-ui); font-size: 13.5px; font-weight: 800;
  letter-spacing: .05em; text-transform: uppercase; color: var(--kc-tinte); text-decoration: none; }
.kc-nav__link:first-child { padding-left: 0; }
.kc-nav__link::after { content: ""; position: absolute; left: 15px; right: 15px; bottom: -1px; height: 3px; background: transparent; }
.kc-nav__link:first-child::after { left: 0; }
.kc-nav__link:hover, .kc-nav__link[aria-current="page"] { color: var(--kc-akzent-text); }
.kc-nav__link[aria-current="page"]::after { background: var(--kc-akzent); }
.kc-navleiste__suche { display: flex; align-items: center; justify-content: center; width: 44px; color: var(--kc-tinte); }
.kc-navleiste__suche:hover { color: var(--kc-akzent-text); }

/* Werbeflächen */
.kc-werbung { display: flex; flex-direction: column; align-items: center; gap: 5px; min-width: 0; }
.kc-werbung__hinweis { font-family: var(--kc-ui); font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--kc-grau); line-height: 1.4; }
.kc-werbung__link { display: block; max-width: 100%; transition: opacity .2s; }
.kc-werbung__link:hover { opacity: .92; }
.kc-werbung img { display: block; width: 100%; height: auto; }
.kc-werbung--breit { margin: 8px 0 44px; }
.kc-werbung--breit .kc-werbung__link { width: 970px; }
.kc-werbung--quadrat .kc-werbung__link { width: 300px; }
.kc-werbung--im-text { margin: 28px 0 32px; }
.kc-werbung--im-text .kc-werbung__link { width: 100%; }

/* Bühne: großer Beitrag links, zwei rechts, Titel auf dem Bild */
.kc-buehne { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 6px; padding-top: 18px; padding-bottom: 40px; }
.kc-buehne--allein { grid-template-columns: minmax(0, 1fr); }
.kc-buehne__rechts { display: grid; grid-template-rows: 1fr 1fr; gap: 6px; min-width: 0; }
.kc-kachel { position: relative; overflow: hidden; background: #111; min-width: 0; margin: 0; }
.kc-kachel__bild { display: block; width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .6s ease; }
.kc-kachel:hover .kc-kachel__bild { transform: scale(1.03); }
.kc-kachel__text { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: flex; flex-direction: column; gap: 6px; padding: 46px 16px 13px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0, rgba(0,0,0,.62) 34px, rgba(0,0,0,.86) 100%); }
.kc-kachel--gross .kc-kachel__text { padding: 80px 24px 20px; gap: 10px; }
.kc-kachel__titel { font-family: var(--kc-titel-schrift); font-weight: var(--kc-titel-gewicht); font-size: 17px; line-height: 1.22; color: #fff; margin: 0; text-transform: none;
  text-shadow: 0 1px 2px rgba(0,0,0,.5); overflow-wrap: break-word; hyphens: auto; hyphenate-limit-chars: 13 5 5;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.kc-kachel--gross .kc-kachel__titel { font-size: clamp(22px, 2.6vw, 32px); line-height: 1.16; -webkit-line-clamp: 4; }
.kc-kachel__titel a { color: #fff; text-decoration: none; }
.kc-kachel__titel a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.kc-kachel .kc-meta, .kc-kachel .kc-datum { color: rgba(255,255,255,.86); }

/* Abschnitte mit roter Überschrift und Pfeil */
.kc-abschnitt { padding-bottom: 30px; }
.kc-abschnitt__kopf { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.kc-rubrikkopf { font-family: var(--kc-titel-schrift); font-size: 21px; font-weight: 700; line-height: 1.2; color: var(--kc-akzent-text); margin: 0; scroll-margin-top: 20px; text-transform: none; }
.kc-rubrikkopf a { color: inherit; text-decoration: none; }
.kc-raster { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 20px; }
.kc-suche { margin: 0; }
.kc-suche input { width: 250px; max-width: 100%; box-sizing: border-box; font-family: var(--kc-ui); font-size: 14px; color: var(--kc-tinte); background: #fff;
  border: 1px solid #c9ccd2; border-radius: 3px; padding: 8px 12px; }
.kc-suche input::placeholder { color: var(--kc-grau); }
.kc-suche input:focus { outline: 2px solid var(--kc-akzent); outline-offset: 1px; }
.kc-raster [hidden] { display: none !important; }

/* Karten */
.kc-karte { display: flex; flex-direction: column; min-width: 0; }
.kc-seite .kc-karte { padding: 0; border: 0; margin: 0; background: none; border-radius: 0; box-shadow: none; transform: none; }
.kc-seite .kc-karte.eintrag { display: flex; flex-direction: column; text-align: left; gap: 0; grid-template-columns: none; align-items: stretch; }
.kc-seite .kc-karte.eintrag + .kc-karte.eintrag, .kc-seite .kc-karte.eintrag:first-child { border-top: 0; padding-top: 0; }
.kc-seite .kc-karte.eintrag > a { order: 0; display: block; padding: 0; background: none; border-radius: 0; grid-template-columns: none; transform: none; transition: none; }
.kc-seite .kc-karte img { margin: 0; }
.kc-karte__bildlink { display: block; margin-bottom: 10px; overflow: hidden; }
.kc-karte__bild { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .5s ease; }
.kc-karte:hover .kc-karte__bild { transform: scale(1.03); }
.kc-karte__text { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.kc-seite .kc-karte h3 { font-family: var(--kc-titel-schrift); font-weight: var(--kc-titel-gewicht); font-size: 16px; line-height: 1.28; margin: 0; letter-spacing: 0;
  overflow-wrap: break-word; hyphens: auto; hyphenate-limit-chars: 13 5 5; text-transform: none; }
.kc-seite .kc-karte h3 a { color: var(--kc-tinte); text-decoration: none; }
.kc-seite .kc-karte h3 a:hover { color: var(--kc-akzent-text); }
.kc-karte__anriss { font-family: var(--lauf); font-size: 14.5px; line-height: 1.5; color: var(--kc-tinte-2); margin: 2px 0 0;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Rubrikspalten: Kachel + kleine Liste, daneben Anzeige */
.kc-spalten { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 300px; gap: 28px; padding-bottom: 46px; align-items: start; }
.kc-spalte { min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.kc-spalte .kc-rubrikkopf { margin-bottom: 4px; }
.kc-spalte--werbung { padding-top: 6px; }
.kc-zeilen { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.kc-zeilen li { border-bottom: 1px solid var(--kc-linie); }
.kc-zeilen a { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px 0; text-decoration: none; }
.kc-zeilen img { display: block; width: 96px; aspect-ratio: 16 / 9; object-fit: cover; }
.kc-zeile__titel { font-family: var(--kc-titel-schrift); font-weight: var(--kc-titel-gewicht); font-size: 14px; line-height: 1.3; color: var(--kc-akzent-text);
  overflow-wrap: break-word; hyphens: auto; hyphenate-limit-chars: 13 5 5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.kc-zeilen a:hover .kc-zeile__titel { text-decoration: underline; }

/* Seitenkästen auf Beitragsseiten */
.kc-kasten { min-width: 0; }
.kc-kasten__kopf { font-family: var(--kc-titel-schrift); font-size: 19px; font-weight: 700; color: var(--kc-akzent-text); margin: 0 0 8px; padding-bottom: 8px; border-bottom: 2px solid var(--kc-akzent); text-transform: none; }
.kc-neu { list-style: none; margin: 0; padding: 0; }
.kc-neu li { border-bottom: 1px solid var(--kc-linie); }
.kc-neu a { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; align-items: start; padding: 10px 0; text-decoration: none; }
.kc-neu img { display: block; width: 96px; aspect-ratio: 16 / 9; object-fit: cover; }
.kc-neu__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.kc-neu__titel { font-family: var(--kc-titel-schrift); font-weight: var(--kc-titel-gewicht); font-size: 14px; line-height: 1.3; color: var(--kc-tinte);
  overflow-wrap: break-word; hyphens: auto; hyphenate-limit-chars: 13 5 5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.kc-neu a:hover .kc-neu__titel { color: var(--kc-akzent-text); }
.kc-kasten--aufruf { background: var(--kc-flaeche); border-top: 3px solid var(--kc-akzent); padding: 20px; }
.kc-kasten__titel { font-family: var(--kc-titel-schrift); font-weight: 700; font-size: 20px; line-height: 1.22; color: var(--kc-tinte); margin: 8px 0 10px; text-transform: none; }
.kc-kasten--aufruf p { font-family: var(--lauf); font-size: 15px; line-height: 1.55; color: var(--kc-tinte-2); margin: 0 0 14px; }

/* Aufruf */
.kc-aufruf { background: var(--kc-flaeche); border-top: 1px solid var(--kc-linie); border-bottom: 1px solid var(--kc-linie); }
.kc-aufruf__in { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-top: 38px; padding-bottom: 38px; }
.kc-aufruf__label { display: block; font-family: var(--kc-ui); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--kc-akzent-text); }
.kc-aufruf__titel { font-family: var(--kc-titel-schrift); font-weight: 700; font-size: clamp(23px, 2.5vw, 30px); line-height: 1.2; color: var(--kc-tinte); margin: 6px 0 8px; text-transform: none; }
.kc-aufruf p { font-family: var(--lauf); font-size: 16px; line-height: 1.6; color: var(--kc-tinte-2); margin: 0; max-width: 62ch; }

/* Alte Teile aus styles.css angleichen */
.kc-seite .eintrag:first-child { border-top: 0; }
.kc-haupt .kc-aufruf + .brief { border-top: 0; background: #fff; }
.kc-seite .brief .marke { color: var(--kc-akzent-text); }
.kc-seite .brief .knopf { background: var(--kc-akzent); border-color: var(--kc-akzent); color: var(--kc-auf-akzent); }
.kc-seite .fuss { background: var(--kc-dunkel); color: rgba(255,255,255,.82); border-top: 3px solid var(--kc-akzent); }
.kc-seite .fuss a, .kc-seite .fuss ul a { color: rgba(255,255,255,.88); }
.kc-seite .fuss a:hover { color: #fff; }
.kc-seite .fuss h4, .kc-seite .fuss p, .kc-seite .fuss__sockel { color: rgba(255,255,255,.75); }
.kc-seite .fuss__sockel { border-top-color: rgba(255,255,255,.16); }
.kc-seite .fuss__logo img, .kc-seite .fuss .logo img { background: #fff; padding: 8px 12px; box-sizing: content-box; border-radius: 2px; }

/* Unterseiten */
.kc-unterseite main#inhalt { box-sizing: border-box; }
.kc-unterseite .beitragskopf .marke, .kc-unterseite .beitragskopf .pille { display: inline-block; background: var(--kc-akzent); color: var(--kc-auf-akzent); padding: 3px 9px 2px;
  font-family: var(--kc-ui); font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; border-radius: 2px; margin-bottom: 14px; }
.kc-unterseite .beitragskopf h1 { font-family: var(--kc-titel-schrift); text-transform: none; }
.kc-unterseite .beitragskopf { max-width: none; }
.kc-unterseite .spalte { position: static; display: flex; flex-direction: column; gap: 26px; }
.kc-unterseite .kc-unten { margin: 40px 0 10px; }
.kc-unterseite .kc-unten .kc-abschnitt { padding-bottom: 10px; }
.kc-unterseite .kc-unten .kc-gross { font-family: var(--kc-titel-schrift); font-size: 21px; font-weight: 700; color: var(--kc-akzent-text); margin: 0; text-transform: none; }
.kc-unterseite .kc-unten .kc-abschnitt__kopf { border-bottom: 2px solid var(--kc-akzent); padding-bottom: 8px; }
@media (min-width: 941px) { .kc-unterseite .koerper { grid-template-columns: minmax(0, 1fr) 300px; } }

/* Breiten */
@media (max-width: 1099px) {
  .kc-raster { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kc-spalten { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .kc-spalte--werbung { grid-column: 1 / -1; align-items: center; }
}
@media (max-width: 899px) {
  .kc-navleiste, .kc-kopf__aktion, .kc-topbar__text { display: none; }
  .kc-topbar__in { justify-content: flex-end; }
  .kc-kopf { position: sticky; top: 0; border-bottom: 3px solid var(--kc-akzent); }
  .kc-kopf__in { padding-top: 10px; padding-bottom: 10px; }
  .kc-logo img { height: calc(var(--kc-logo-hoehe) * .75); }
  .kc-kopf__knopf { display: block; }
  .kc-mobil.offen { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 3px solid var(--kc-akzent);
    box-shadow: 0 12px 24px -12px rgba(0,0,0,.25); padding: 6px 24px 14px; }
  .kc-mobil a { padding: 13px 0; border-bottom: 1px solid var(--kc-linie); font-family: var(--kc-ui); font-size: 15px; font-weight: 800; letter-spacing: .04em;
    text-transform: uppercase; color: var(--kc-tinte); text-decoration: none; }
  .kc-mobil a:last-child { border-bottom: 0; color: var(--kc-akzent-text); }
  .kc-mobil a[aria-current="page"] { color: var(--kc-akzent-text); }
  .kc-buehne { grid-template-columns: minmax(0, 1fr); }
  .kc-buehne__rechts { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: none; }
  .kc-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kc-aufruf__in { flex-direction: column; align-items: flex-start; gap: 18px; }
}
@media (max-width: 639px) {
  .kc-bahn { padding: 0 16px; }
  .kc-mobil.offen { padding: 6px 16px 14px; }
  .kc-buehne { padding-top: 0; padding-left: 0; padding-right: 0; }
  .kc-buehne__rechts { grid-template-columns: minmax(0, 1fr); }
  .kc-kachel--gross .kc-kachel__text { padding: 60px 16px 14px; }
  .kc-kachel--gross .kc-kachel__titel { font-size: 21px; }
  .kc-raster { gap: 22px 14px; }
  .kc-seite .kc-karte h3 { font-size: 15px; }
  .kc-spalten { grid-template-columns: minmax(0, 1fr); }
  .kc-abschnitt__kopf { align-items: stretch; flex-direction: column; }
  .kc-suche input { width: 100%; }
  .kc-werbung--breit .kc-werbung__link { width: 300px; }
}
@media (max-width: 419px) {
  .kc-raster { grid-template-columns: minmax(0, 1fr); }
}

/* Datum und Lesezeit im Beitragskopf mit genug Kontrast (alte Farben waren teils zu hell) */
.kc-unterseite .beitragskopf__meta, .kc-unterseite .beitragskopf__meta *, .kc-unterseite .beitrag-kopf__meta, .kc-unterseite .beitrag-kopf__meta * { color: var(--kc-grau); }
.kc-unterseite figure figcaption { color: var(--kc-grau); }


/* Farben und Schrift dieses Magazins (aus scripts/design.json) */
.kc-seite {
  --kc-dunkel: #1c1c1c;
  --kc-akzent: #d52b1e;
  --kc-akzent-text: #a81f15;
  --kc-auf-akzent: #ffffff;
  --kc-tinte: #1c1c1c;
  --kc-tinte-2: #424242;
  --kc-grau: #5e5e5e;
  --kc-linie: #e4e2df;
  --kc-flaeche: #f6f5f2;
  --kc-titel-schrift: var(--lauf);
  --kc-ui: var(--lauf);
  --kc-logo-hoehe: 62px;
}
/* Knopf in Landingpage-Bausteinen behält seine eigene Schriftfarbe (19.11.2026) */
.kc-seite main a.lp-taste { color: #a02016 !important; }
