/* HeidelFriends – modernes Erscheinungsbild (legt sich ueber template.css, Texte bleiben unveraendert) */
:root {
  --hf-brand: #1a5bbf;
  --hf-brand-dark: #0d3a80;
  --hf-sky: #b6e3f7;
  --hf-sky-soft: #e8f5fc;
  --hf-bg: #f3f6fb;
  --hf-card: #ffffff;
  --hf-text: #1f2937;
  --hf-muted: #6b7280;
  --hf-line: #e3e8f1;
  --hf-radius: 14px;
  --hf-shadow: 0 1px 2px rgba(16, 42, 92, .06), 0 8px 24px rgba(16, 42, 92, .06);
  --hf-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

html { -webkit-text-size-adjust: 100%; }
body { min-width: 0 !important; background: var(--hf-bg) !important; color: var(--hf-text); }

#art-main {
  background: transparent !important;
  font-family: var(--hf-font) !important;
  font-size: 16px !important;
  line-height: 1.65;
  color: var(--hf-text);
  overflow: visible !important;
}

/* ---------- Navigation ---------- */
.art-nav {
  position: sticky !important;
  top: 0;
  background: rgba(255, 255, 255, .92) !important;
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--hf-line);
  box-shadow: 0 2px 12px rgba(16, 42, 92, .05);
  text-align: center !important;
  width: auto !important;
  min-width: 0 !important;
  padding: 0 16px;
}
.art-nav:before, .art-nav:after { display: none !important; }
ul.art-hmenu {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  float: none !important;
  margin: 0 auto !important;
  padding: 10px 0 !important;
  max-width: 1100px;
}
ul.art-hmenu > li { float: none !important; position: relative; }
ul.art-hmenu > li:before, ul.art-hmenu > li:after { display: none !important; }
ul.art-hmenu > li > a,
ul.art-hmenu > li > a.active,
ul.art-hmenu > li > a:hover,
.desktop ul.art-hmenu > li:hover > a {
  height: auto !important;
  line-height: 1.2 !important;
  padding: 10px 18px !important;
  border-radius: 999px;
  font-family: var(--hf-font) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--hf-text) !important;
  background: transparent !important;
  transition: background .2s, color .2s;
}
ul.art-hmenu > li > a:hover,
ul.art-hmenu > li:hover > a { background: var(--hf-sky-soft) !important; color: var(--hf-brand-dark) !important; }
ul.art-hmenu > li > a.active { background: var(--hf-brand) !important; color: #fff !important; }

/* Untermenues */
ul.art-hmenu ul {
  border-radius: 12px;
  background: #fff !important;
  box-shadow: 0 12px 32px rgba(16, 42, 92, .14) !important;
  border: 1px solid var(--hf-line) !important;
  padding: 6px !important;
  text-align: left;
  top: 100% !important;
  margin-top: 0 !important;
  min-width: 210px;
}
ul.art-hmenu ul:before { display: none !important; }
ul.art-hmenu ul li { float: none !important; display: block; margin: 0 !important; }
ul.art-hmenu ul li a,
ul.art-hmenu ul a:link, ul.art-hmenu ul a:visited, ul.art-hmenu ul a.active, ul.art-hmenu ul a:hover {
  height: auto !important;
  line-height: 1.3 !important;
  padding: 9px 14px !important;
  border-radius: 8px;
  font-family: var(--hf-font) !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  text-transform: none;
  color: var(--hf-text) !important;
  background: transparent !important;
  text-align: left !important;
  white-space: nowrap;
}
ul.art-hmenu ul li a:hover,
.desktop ul.art-hmenu ul li:hover > a { background: var(--hf-sky-soft) !important; color: var(--hf-brand-dark) !important; }

/* ---------- Kopfbereich mit Logo ---------- */
.art-header {
  background: none !important;
  height: auto !important;
  width: auto !important;
  min-width: 0 !important;
  padding: 36px 16px 28px;
}
.art-shapes { position: static !important; overflow: visible !important; }
.art-object1753638066 {
  position: static !important;
  margin: 0 auto !important;
  left: auto !important;
  width: min(600px, 100%) !important;
  height: auto !important;
  aspect-ratio: 773 / 112;
  background-size: contain !important;
  background-position: center !important;
}

/* ---------- Inhaltsbereich ---------- */
.art-sheet {
  width: auto !important;
  min-width: 0 !important;
  max-width: 1100px !important;
  margin: 0 auto 0 !important;
  padding: 0 16px;
  background: transparent !important;
}
.art-layout-wrapper,
.art-content-layout,
.art-content-layout-row,
.art-layout-cell.art-content { display: block !important; width: auto !important; }
.art-layout-cell.art-content {
  background: var(--hf-card) !important;
  border-radius: var(--hf-radius);
  box-shadow: var(--hf-shadow);
  border: 1px solid var(--hf-line);
  padding: 40px 48px !important;
}
.art-post { padding: 0 !important; margin: 0 !important; }
.art-messages { display: none; }
.art-postcontent, .art-article,
.art-postcontent p, .art-article p, .art-article li, .art-article td {
  font-family: var(--hf-font) !important;
  color: var(--hf-text);
  font-size: 16px !important;
  line-height: 1.7 !important;
}
.art-postcontent p { margin: 0 0 1em; }

/* Ueberschriften */
.art-article h1, .art-article h2, .art-article h3, .art-article h4,
.art-postcontent h1, .art-postcontent h2, .art-postcontent h3, .art-postcontent h4 {
  font-family: var(--hf-font) !important;
  color: var(--hf-brand-dark) !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  letter-spacing: -.01em;
  margin: 1.6em 0 .6em !important;
}
.art-article h2, .art-postcontent h2 { font-size: 30px !important; }
.art-article h3, .art-postcontent h3 { font-size: 22px !important; }
.art-article h2 span, .art-article h3 span, .art-postcontent h2 span, .art-postcontent h3 span { color: inherit !important; font-size: inherit !important; }
.art-article > h2:first-child, .art-article > h3:first-child, .art-article > :first-child h2:first-child { margin-top: 0 !important; }

/* Inline-Schriftgroessen aus dem alten Editor vereinheitlichen */
.art-article [style*="font-size: 10pt"], .art-article [style*="font-size: 11pt"], .art-article [style*="font-size: 12pt"],
.art-article [style*="font-size: 13pt"], .art-article [style*="font-size:12px"] { font-size: 16px !important; }
.art-article [style*="font-size: 14pt"], .art-article [style*="font-size: 15pt"] { font-size: 18px !important; }
.art-article [style*="font-size: 16pt"], .art-article [style*="font-size: 18pt"] { font-size: 21px !important; }
.art-article [style*="color: #c0c0c0"] {
  color: var(--hf-muted) !important;
  font-size: 13px !important;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.art-article [style*="color: #184cd1"], .art-article [style*="color: #3893c7"], .art-article [style*="color: #3893C7"] { color: var(--hf-brand) !important; }
.art-article [style*="text-align: justify"] { text-align: left !important; }
.art-article strong { font-weight: 650; }

/* Links */
.art-postcontent a, .art-postcontent a:link, .art-postcontent a:visited, .art-article a {
  color: var(--hf-brand) !important;
  text-decoration: none !important;
  font-weight: 600;
  border-bottom: 1px solid rgba(26, 91, 191, .25);
  transition: color .15s, border-color .15s;
}
.art-postcontent a:hover, .art-article a:hover { color: var(--hf-brand-dark) !important; border-bottom-color: currentColor; }
.art-article a span { color: inherit !important; }
.art-article a:has(img), .art-article .sigFreeLink { border-bottom: 0 !important; }

/* Tabellen (alte Layout-Tabellen) */
.art-article table, table.art-article {
  width: 100% !important;
  border: 0 !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  margin: 0 0 8px !important;
}
.art-article td, .art-article th {
  border: 0 !important;
  vertical-align: top;
  padding: 12px !important;
}
.art-article td[bgcolor] {
  background: var(--hf-sky-soft) !important;
  border-radius: 12px;
  padding: 24px !important;
}

/* Bilder */
.art-article img, .art-postcontent img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: none !important;
  border: 0 !important;
}
.art-article img[src*="iziglogo"], .art-article img[src*="facebook"] { border-radius: 0; }

/* Bildergalerie (Vorschaubilder) */
ul.sigFreeContainer { margin: 0 !important; padding: 0 !important; }
ul.sigFreeClassic li.sigFreeThumb { margin: 0 !important; }
ul.sigFreeClassic li.sigFreeThumb a.sigFreeLink {
  margin: 0 !important; padding: 0 !important;
  border: 0 !important;
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 4px 14px rgba(16, 42, 92, .14) !important;
  background: none !important;
  transition: transform .2s, box-shadow .2s;
}
ul.sigFreeClassic li.sigFreeThumb a.sigFreeLink:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(16, 42, 92, .2) !important; }
ul.sigFreeClassic li.sigFreeThumb a.sigFreeLink img.sigFreeImg { border-radius: 12px; background-size: cover !important; background-position: center !important; padding: 0 !important; }
.sigFreeLinkOuterWrapper, .sigFreeLinkWrapper { border: 0 !important; background: none !important; padding: 0 !important; }

/* Startseite: hellblauer Kasten als ein zusammenhaengender Block */
.art-article tr:first-child > td[bgcolor] { border-radius: 12px 12px 0 0; padding-bottom: 8px !important; }
.art-article tr:nth-child(2) > td[bgcolor] { border-radius: 0 0 12px 12px; padding-top: 8px !important; }

/* Startseite: Ankuendigungen mit Trennlinien */
.art-article tr:has(> td[colspan="4"][style*="text-align: justify"]) > td { border-top: 1px solid var(--hf-line) !important; padding-top: 22px !important; padding-bottom: 22px !important; }
.art-article td[colspan="4"][style*="text-align: justify"] [style*="font-size: 13pt"] > strong:first-child { display: inline; font-size: 19px; color: var(--hf-brand-dark); line-height: 1.35; }

/* Startseite: Foto fliesst rechts in die Ankuendigung */
.hf-news-thumb { float: right; width: 168px; margin: 4px 0 12px 28px; font-size: 11px; line-height: 1.35; color: var(--hf-muted); text-align: right; }
.hf-news-thumb ul.sigFreeContainer { float: none !important; display: block; }
.hf-news-thumb li.sigFreeThumb { float: none !important; display: block; }
.hf-news-thumb li.sigFreeClear { display: none !important; }
.hf-news-thumb .sigFreeLink { display: block !important; width: 168px !important; height: 126px !important; margin: 0 0 6px auto !important; }
.hf-news-thumb .sigFreeImg { width: 100% !important; height: 100% !important; }
.art-article td[colspan="4"][style*="text-align: justify"]::after { content: ""; display: block; clear: both; }

/* Startseite: Diashow */
.showplus { border-radius: 14px; overflow: hidden; box-shadow: var(--hf-shadow); }
.showplus-images span { left: 0 !important; top: 0 !important; width: 100% !important; height: 100% !important; background-size: cover !important; background-position: center !important; background-color: transparent !important; }

/* Formulare */
.art-article input[type="text"], .art-article input[type="email"], .art-article input[type="tel"],
.art-article textarea, .art-article select, .art-postcontent input[type="text"], .art-postcontent input[type="email"], .art-postcontent textarea {
  font: inherit; font-size: 15px;
  padding: 10px 12px !important;
  border: 1px solid #cfd8e6 !important;
  border-radius: 10px !important;
  background: #fff !important;
  max-width: 100%;
  box-sizing: border-box;
}
.art-article input:focus, .art-article textarea:focus { outline: 2px solid rgba(26, 91, 191, .35); border-color: var(--hf-brand) !important; }
.art-article input[type="submit"], .art-article button, .art-postcontent input[type="submit"], .art-button {
  font: inherit !important; font-weight: 600 !important;
  background: var(--hf-brand) !important; color: #fff !important;
  border: 0 !important; border-radius: 999px !important;
  padding: 10px 22px !important; cursor: pointer;
  height: auto !important; line-height: 1.3 !important;
}
.art-article input[type="submit"]:hover, .art-article button:hover { background: var(--hf-brand-dark) !important; }

/* Zitate */
.art-article blockquote { border-left: 4px solid var(--hf-sky); background: var(--hf-sky-soft); border-radius: 0 12px 12px 0; padding: 16px 20px; margin: 1em 0; }

/* ---------- Fusszeile ---------- */
.art-footer {
  background: var(--hf-brand-dark) !important;
  color: #dbe7fb !important;
  border-radius: var(--hf-radius);
  margin: 28px 0 32px !important;
  padding: 36px 40px !important;
  font-family: var(--hf-font) !important;
}
.art-footer .art-content-layout, .art-footer .art-content-layout-row { display: flex !important; flex-wrap: wrap; gap: 24px; width: 100% !important; }
.art-footer .art-layout-cell { display: block !important; flex: 1 1 160px; width: auto !important; padding: 0 !important; }
.art-footer .art-layout-cell:last-child { flex: 1.4 1 220px; }
.art-footer p, .art-footer li, .art-footer td, .art-footer span { color: #dbe7fb !important; font-family: var(--hf-font) !important; font-size: 14px !important; margin: 0; }
.art-footer p b { color: #fff; font-size: 12px; letter-spacing: .12em; }
.art-footer br { line-height: .6; }
.art-footer ul { list-style: none !important; margin: 8px 0 0 !important; padding: 0 !important; }
.art-footer li { background: none !important; padding: 3px 0 !important; margin: 0 !important; }
.art-footer li:before { display: none !important; }
.art-footer a, .art-footer a:link, .art-footer a:visited { color: #fff !important; text-decoration: none !important; }
.art-footer a font, .art-footer font { color: inherit !important; }
.art-footer a:hover { color: var(--hf-sky) !important; }
.art-footer img { border-radius: 50%; width: 40px; height: 40px; }

/* ---------- Handy & Tablet ---------- */
@media (max-width: 820px) {
  .art-layout-cell.art-content { padding: 24px 18px !important; border-radius: 12px; }
  .art-sheet { padding: 0 12px; }
  .art-header { padding: 22px 12px 18px; }
  ul.art-hmenu { gap: 2px; padding: 8px 0 !important; }
  ul.art-hmenu > li > a, ul.art-hmenu > li > a.active, ul.art-hmenu > li > a:hover { padding: 8px 11px !important; font-size: 12.5px !important; letter-spacing: .02em; }
  .art-article h2, .art-postcontent h2 { font-size: 24px !important; }
  .art-article h3, .art-postcontent h3 { font-size: 19px !important; }
  /* Layout-Tabellen untereinander statt nebeneinander */
  .art-article table, .art-article tbody, .art-article tr, .art-article td, .art-article th { display: block !important; width: auto !important; }
  .art-article td { padding: 6px 0 !important; }
  .art-article td[bgcolor], .art-article tr:first-child > td[bgcolor], .art-article tr:nth-child(2) > td[bgcolor] { padding: 18px !important; margin-bottom: 12px; border-radius: 12px !important; }
  .art-article td:empty, .art-article td[width="5%"] { display: none !important; }
  .art-article img { float: none !important; }
  #showplus_images_pics_slidehome_neu, #showplus_images_pics_slidehome_neu .showplus, .showplus-images { width: 100% !important; max-width: 500px; height: auto !important; aspect-ratio: 500 / 274; }
  .art-article td[colspan="4"][style*="text-align: justify"] [style*="font-size: 13pt"] { font-size: 15px !important; line-height: 1.6 !important; }
  .art-article td[colspan="4"][style*="text-align: justify"] [style*="font-size: 13pt"] > strong:first-child { font-size: 17px !important; }
  .hf-news-thumb { width: 92px; margin: 4px 0 8px 14px; }
  .hf-news-thumb .sigFreeLink, .hf-news-thumb .sigFreeImg { width: 92px !important; height: 92px !important; }

  /* Startseite: Gruendungsgeschichte kompakt, Kasten zusammenhaengend, Logo klein daneben */
  .art-article table:has(td[bgcolor]) > tbody { display: flex !important; flex-direction: column; }
  .art-article table:has(td[bgcolor]) tr { display: contents !important; }
  .art-article table:has(td[bgcolor]) tr > td:not([bgcolor]):not(:has(*)) { display: none !important; }
  .art-article table:has(td[bgcolor]) tr:first-child > td[bgcolor] { order: 1; border-radius: 12px 12px 0 0 !important; margin: 0 !important; padding: 16px 18px 4px !important; }
  .art-article table:has(td[bgcolor]) tr:nth-child(2) > td[bgcolor] { order: 2; border-radius: 0 0 12px 12px !important; margin: 0 0 18px !important; padding: 4px 18px 16px !important;
    display: flex !important; align-items: center; justify-content: space-between; gap: 14px; }
  .art-article table:has(td[bgcolor]) tr:nth-child(2) > td[bgcolor] br { display: none; }
  .art-article table:has(td[bgcolor]) tr:nth-child(2) > td[bgcolor] a { flex: 0 0 auto; border: 0 !important; }
  .art-article table:has(td[bgcolor]) img[src*="iziglogo"] { width: 64px !important; height: auto !important; margin: 0 !important; }
  .art-article table:has(td[bgcolor]) tr:first-child > td[colspan] { order: 3; padding: 0 0 14px !important; }
  .art-article table:has(td[bgcolor]) td:has(.moduletable) { order: 4; padding: 0 0 22px !important; }
  .art-footer { padding: 26px 22px !important; margin: 20px 0 24px !important; }
  .art-footer .art-layout-cell:last-child p { text-align: left !important; }
}

/* leere Absaetze in der Fusszeile ausblenden */
.art-footer p:has(> br:only-child), .art-footer p:has(> a:empty) { display: none !important; }
@media (max-width: 820px) {
  .art-article td[colspan="4"][style*="text-align: justify"] > span[style*="color: #c0c0c0"] { letter-spacing: .02em; line-height: 1.5 !important; }
  .hf-news-thumb .sigFreeLink { margin: 0 !important; }
}

/* Social-Media-Symbole in der Fusszeile */
.art-footer a[href*="facebook.com"], .art-footer a.hf-insta { display: inline-flex; vertical-align: middle; margin-left: 10px; transition: transform .15s, opacity .15s; }
.art-footer a.hf-insta { width: 32px; height: 32px; margin-top: 4px; border-radius: 50%; align-items: center; justify-content: center;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.art-footer a[href*="facebook.com"]:hover, .art-footer a.hf-insta:hover { transform: translateY(-2px); opacity: .9; }

/* Ankuendigungs-Fotos: verschachtelte Floats des Galerie-Plugins neutralisieren (Safari/iPhone) */
.hf-news-thumb { display: flow-root; }
.hf-news-thumb ul.sigFreeContainer, .hf-news-thumb li.sigFreeThumb,
.hf-news-thumb span.sigFreeLinkOuterWrapper, .hf-news-thumb span.sigFreeLinkWrapper {
  float: none !important; display: block !important; margin: 0 !important; padding: 0 !important;
  width: auto !important; height: auto !important; overflow: visible !important; position: static !important;
  border: 0 !important; background: none !important; clear: none !important;
}
.hf-news-thumb a.sigFreeLink { float: none !important; position: relative !important; overflow: hidden !important; }
.hf-news-thumb .sigFreePrintMessage { display: none !important; }
@media (max-width: 820px) { .hf-news-thumb { margin-bottom: 10px; } }

/* Presse-Seite: Abschnitte, Texte und Links in den Kaertchen */
.art-article h3.hf-press-h { margin: 36px 0 4px !important; font-size: 21px !important; }
.art-article h3.hf-press-h + p { margin: 4px 0 0; color: var(--hf-muted); font-size: 14px !important; }
.hf-press-text { font-size: 14px !important; line-height: 1.5 !important; color: var(--hf-muted) !important; }
.hf-press-title { font-weight: 600; }
.hf-press-links { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 4px; }
.art-article a.hf-press-link { font-size: 13px !important; font-weight: 600; border-bottom: 0 !important; }
.art-article a.hf-press-link:after { content: " ↗"; font-weight: 400; }
.art-article a.hf-press-archive { color: var(--hf-muted) !important; font-weight: 500; }
.hf-press-awards .hf-press-date { background: linear-gradient(160deg, #f2b632, #d98a00) !important; }
.hf-press-awards .hf-press-day { font-size: 22px !important; }
.hf-press-body { flex: 1 1 auto; min-width: 0; }
.hf-press-source { white-space: normal !important; }
.hf-press-title, .hf-press-text { overflow-wrap: anywhere; }

/* Startseite: leere Zeilenumbrueche zwischen Text und IZiG-Logo entfernen */
.art-article table:has(td[bgcolor]) tr:nth-child(2) > td[bgcolor] br { display: none; }
.art-article table:has(td[bgcolor]) tr:nth-child(2) > td[bgcolor] a:has(img[src*="iziglogo"]) { display: block; margin-top: 20px; }
@media (max-width: 820px) { .art-article table:has(td[bgcolor]) tr:nth-child(2) > td[bgcolor] a:has(img[src*="iziglogo"]) { margin-top: 0; } }

/* Startseite: Buchcover in der Ankuendigung */
.hf-news-cover a { display: block; border: 0 !important; margin-bottom: 6px; }
.hf-news-cover img { width: 100% !important; height: auto !important; border-radius: 6px !important; box-shadow: 0 8px 22px rgba(16, 42, 92, .22) !important; transition: transform .2s; }
.hf-news-cover a:hover img { transform: translateY(-2px) rotate(-1deg); }

/* ================================================================
   Jugendlicher Look: Farben aus dem Buchcover, Schrift Nunito (lokal)
   ================================================================ */
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 200 1000; font-display: swap;
  src: url("../fonts/nunito-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 200 1000; font-display: swap;
  src: url("../fonts/nunito-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --hf-brand: #0054a3;
  --hf-brand-dark: #003a78;
  --hf-pink: #ec018a;
  --hf-cyan: #3fb8e6;
  --hf-orange: #fca522;
  --hf-sky-soft: #eaf7fd;
  --hf-font: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

body {
  background:
    radial-gradient(900px 500px at -10% -5%, rgba(63, 184, 230, .16), transparent 60%),
    radial-gradient(800px 600px at 110% 40%, rgba(236, 1, 138, .08), transparent 60%),
    radial-gradient(700px 500px at -5% 105%, rgba(252, 165, 34, .10), transparent 60%),
    #f6f8fc !important;
  background-attachment: fixed !important;
}

/* Logo mit kraeftigerem Hellblau */
.art-object1753638066 { background-image: url("../images/logo-kontrast.png") !important; }

/* Navigation: aktiver Punkt in Pink, Hover zart */
ul.art-hmenu > li > a, ul.art-hmenu ul li a { font-weight: 800 !important; letter-spacing: .05em; }
ul.art-hmenu > li > a:hover, ul.art-hmenu > li:hover > a { background: rgba(236, 1, 138, .08) !important; color: var(--hf-pink) !important; }
ul.art-hmenu > li > a.active { background: linear-gradient(135deg, var(--hf-pink), #ff4fa8) !important; color: #fff !important; box-shadow: 0 4px 14px rgba(236, 1, 138, .3); }
ul.art-hmenu ul li a:hover { background: rgba(236, 1, 138, .08) !important; color: var(--hf-pink) !important; }

/* Ueberschriften: kraeftig, mit farbigem Marker */
.art-article h2, .art-postcontent h2 { font-weight: 900 !important; display: table; letter-spacing: -.015em;
  background: linear-gradient(transparent 64%, rgba(63, 184, 230, .30) 64%, rgba(63, 184, 230, .30) 92%, transparent 92%); padding: 0 4px; margin-left: -4px !important; }
.art-article h3, .art-postcontent h3 { font-weight: 900 !important; }
.art-article h3.hf-press-h { display: table; background: linear-gradient(transparent 64%, rgba(236, 1, 138, .18) 64%, rgba(236, 1, 138, .18) 92%, transparent 92%); padding: 0 4px; margin-left: -4px !important; text-transform: none; }
.art-article [style*="font-size: 15pt; color: #3893c7"] { font-weight: 900; color: var(--hf-brand-dark) !important;
  background: linear-gradient(transparent 62%, rgba(252, 165, 34, .35) 62%, rgba(252, 165, 34, .35) 92%, transparent 92%); padding: 0 4px; }

/* Ankuendigungen */
.art-article td[colspan="4"][style*="text-align: justify"] > span[style*="color: #c0c0c0"] { color: var(--hf-pink) !important; font-weight: 800; }
.art-article td[colspan="4"][style*="text-align: justify"] [style*="font-size: 13pt"] > strong:first-child { font-weight: 900; color: var(--hf-brand-dark); }
.hf-news-thumb .sigFreeLink, .hf-news-cover img { transition: transform .2s, box-shadow .2s; }
.hf-news-thumb .sigFreeLink:hover { transform: rotate(-2deg) scale(1.03) !important; box-shadow: 0 10px 24px rgba(236, 1, 138, .25) !important; }

/* Links: Blau, beim Hover Pink */
.art-postcontent a:hover, .art-article a:hover { color: var(--hf-pink) !important; border-bottom-color: var(--hf-pink); }
.art-article [style*="color: #184cd1"] { color: var(--hf-brand) !important; }

/* Hellblauer Kasten (Gruendungsgeschichte) */
.art-article td[bgcolor] { background: linear-gradient(160deg, #e9f7fd, #fdf0f7) !important; }
.art-article td[bgcolor] [style*="text-decoration: underline"] { text-decoration: none !important; font-weight: 900; color: var(--hf-pink) !important; }

/* Inhaltskarte etwas weicher */
.art-layout-cell.art-content { border-radius: 22px; border-color: rgba(0, 84, 163, .08); box-shadow: 0 1px 2px rgba(16, 42, 92, .05), 0 18px 40px rgba(16, 42, 92, .07); }
.showplus { border-radius: 20px; }

/* Presse-Kaertchen */
.hf-press-card { border-radius: 14px; }
.hf-press-date { background: linear-gradient(160deg, var(--hf-brand), var(--hf-cyan)) !important; }
.hf-press-awards .hf-press-date { background: linear-gradient(160deg, var(--hf-orange), var(--hf-pink)) !important; }
.hf-press-source { color: var(--hf-pink) !important; }
.hf-press-day { font-weight: 900; }

/* Fusszeile mit Farbstreifen */
.art-footer { position: relative; overflow: hidden; border-radius: 22px; background: var(--hf-brand-dark) !important; }
.art-footer:before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: linear-gradient(90deg, var(--hf-pink), var(--hf-orange), var(--hf-cyan)); }
.art-footer p b { color: var(--hf-orange) !important; }
.art-footer a:hover { color: var(--hf-orange) !important; }
/* Nunito hat eine kleinere x-Hoehe: Lesetext etwas groesser */
.art-postcontent, .art-article, .art-postcontent p, .art-article p, .art-article li, .art-article td { font-size: 17px !important; }
.art-article [style*="font-size: 10pt"], .art-article [style*="font-size: 11pt"], .art-article [style*="font-size: 12pt"],
.art-article [style*="font-size: 13pt"], .art-article [style*="font-size:12px"] { font-size: 17px !important; }
.art-article td[colspan="4"][style*="text-align: justify"] [style*="font-size: 13pt"] > strong:first-child { font-size: 20px; }
.art-article [style*="font-size: 16pt"], .art-article [style*="font-size: 18pt"] { font-size: 22px !important; }
.art-article h2, .art-postcontent h2 { font-size: 32px !important; }
@media (max-width: 820px) {
  .art-article td[colspan="4"][style*="text-align: justify"] [style*="font-size: 13pt"] { font-size: 16px !important; }
  .art-article td[colspan="4"][style*="text-align: justify"] [style*="font-size: 13pt"] > strong:first-child { font-size: 18px !important; }
  .art-article h2, .art-postcontent h2 { font-size: 26px !important; }
}

/* Social-Symbole: gleiche Groesse, gleiche Hoehe, rechtsbuendig nebeneinander */
.art-footer p:has(> span > a.hf-social) { display: flex !important; justify-content: flex-end; }
.art-footer p:has(> span > a.hf-social) > span { display: inline-flex !important; gap: 10px; align-items: center; }
.art-footer a.hf-social { display: inline-flex !important; align-items: center; justify-content: center;
  width: 36px !important; height: 36px !important; margin: 0 !important; border-radius: 50%; vertical-align: middle; transition: transform .15s, opacity .15s; }
.art-footer a.hf-fb { background: #1877f2; }
.art-footer a.hf-insta { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.art-footer a.hf-social svg { width: 18px !important; height: 18px !important; border-radius: 0 !important; }
.art-footer a.hf-social:hover { transform: translateY(-2px); opacity: .9; }
@media (max-width: 820px) { .art-footer p:has(> span > a.hf-social) { justify-content: flex-start; } }
.art-footer p:has(> span > a.hf-social) { margin: 4px 0 10px !important; }

/* Untermenues auf Touch-Geraeten (iPhone/iPad): per Tippen statt Hover, siehe menu-touch.js */
@media (hover: none), (max-width: 820px) {
  .desktop-nav ul.art-hmenu li:hover > ul { visibility: hidden; }
  .desktop-nav ul.art-hmenu li.hf-open > ul { visibility: visible !important; top: 100% !important; }
  ul.art-hmenu > li.hf-open > a { background: var(--hf-sky-soft) !important; color: var(--hf-brand-dark) !important; }
  ul.art-hmenu > li.deeper > a:after { content: " \25BE"; font-size: .9em; }
}
@media (max-width: 820px) {
  .desktop-nav ul.art-hmenu > li > ul { padding: 6px !important; margin: 4px 0 0 !important; min-width: 190px; max-width: calc(100vw - 24px); }
  ul.art-hmenu ul li a { padding: 12px 14px !important; font-size: 15px !important; }
}

/* Verein-Seite: Bilder neben langem Text nicht zusammenquetschen lassen */
.art-article td:has(> img[src*="iziglogoschwarz"]),
.art-article td:has(> img[src*="torch_2011"]),
.art-article td:has(> img[src*="Anette-Huesmann"]) { width: 220px !important; text-align: center; font-size: 13px !important; color: var(--hf-muted); }
.art-article img[src*="iziglogoschwarz"] { width: 150px !important; max-width: none !important; height: auto !important; }
.art-article td[width="90%"]:has(+ td > img[src*="iziglogoschwarz"]) { width: auto !important; }
.art-article img[src*="torch_2011"], .art-article img[src*="Anette-Huesmann"] { width: 200px !important; height: auto !important; display: block; margin: 0 auto 6px; }
@media (max-width: 820px) {
  .art-article td:has(> img[src*="iziglogoschwarz"]),
  .art-article td:has(> img[src*="torch_2011"]),
  .art-article td:has(> img[src*="Anette-Huesmann"]) { width: auto !important; padding: 12px 0 !important; }
}
.art-article td:has(> img[src*="torch_2011"]) > br { display: none; }

/* Logo im Kopfbereich fuehrt zur Startseite */
a.hf-logo-link { display: block; width: min(600px, 100%); margin: 0 auto; border: 0 !important; -webkit-tap-highlight-color: transparent; }
a.hf-logo-link:hover { opacity: .9; }

/* Projektseite "Die neue Generation" */
.art-article .hf-ng-motto { margin: -.2em 0 1.2em; font-size: 15px !important; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--hf-muted) !important; }
.art-article blockquote.hf-ng-quote { margin: 1.6em 0; padding: 20px 24px; font-size: 21px !important; line-height: 1.45 !important; font-weight: 700; color: var(--hf-brand-dark); text-align: center; }
.art-article ul.hf-ng-felder, .art-article ul.hf-ng-fragen { margin: 0 0 1.2em; padding-left: 1.2em; }
.art-article ul.hf-ng-felder li, .art-article ul.hf-ng-fragen li { margin: .35em 0; }
@media (max-width: 820px) { .art-article blockquote.hf-ng-quote { font-size: 18px !important; padding: 16px 18px; } }
.hf-news-jazari img { border-radius: 10px !important; }

/* ---------- Startseite: zwei Generationen ---------- */
.hf-gen { border-radius: 18px; padding: 36px 40px; margin: 0 0 8px; }
.hf-gen-neu { background: linear-gradient(135deg, #fff0f7 0%, #e8f5fc 100%); border: 1px solid #f6d3e6; }
.hf-gen-alt { background: #f6f8fb; border: 1px solid var(--hf-line); }
.art-article .hf-gen-label { margin: 0 0 14px !important; font-size: 13px !important; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #e6007e !important; }
.art-article .hf-gen-alt .hf-gen-label { color: var(--hf-muted) !important; }
.art-article .hf-gen-slogan { margin: 0 0 10px !important; font-size: 30px !important; line-height: 1.25 !important; font-weight: 800; color: var(--hf-brand-dark) !important; letter-spacing: -.01em; }
.art-article .hf-gen-motto { margin: 0 0 18px !important; font-size: 15px !important; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--hf-brand) !important; }
.art-article .hf-gen-text { max-width: 640px; margin: 0 0 20px !important; }
.art-article .hf-gen-cta { margin: 0 0 8px !important; }
.art-article a.hf-gen-btn { display: inline-block; padding: 11px 24px; border-radius: 999px; background: var(--hf-brand); color: #fff !important; border: 0 !important; font-weight: 700; transition: background .2s, transform .2s; }
.art-article a.hf-gen-btn:after { content: " →"; }
.art-article a.hf-gen-btn:hover { background: var(--hf-brand-dark); color: #fff !important; transform: translateY(-1px); }
.art-article h3.hf-gen-h { margin: 30px 0 4px !important; font-size: 19px !important; }
.hf-gen table tr:first-child > td { border-top: 0 !important; }
.hf-gen-neu table td[colspan="4"] { background: rgba(255,255,255,.75) !important; border-radius: 14px; padding: 20px 22px !important; }

/* Bruecke zwischen den Generationen */
.hf-bridge { text-align: center; padding: 40px 12px 36px; }
.art-article blockquote.hf-bridge-quote { max-width: 620px; margin: 0 auto 28px !important; padding: 0 !important; border: 0 !important; background: none !important; font-size: 20px !important; line-height: 1.5 !important; font-style: italic; color: var(--hf-brand-dark); }
.hf-bridge-quote cite { display: block; margin-top: 10px; font-size: 13px; font-style: normal; letter-spacing: .06em; text-transform: uppercase; color: var(--hf-muted); }
.art-article ol.hf-timeline { list-style: none !important; display: flex; justify-content: space-between; max-width: 620px; margin: 0 auto !important; padding: 0 !important; position: relative; }
.art-article ol.hf-timeline:before { content: ""; position: absolute; left: 8%; right: 8%; top: 9px; height: 3px; background: linear-gradient(90deg, var(--hf-sky), #e6007e); border-radius: 3px; }
.art-article ol.hf-timeline li { flex: 1 1 0; position: relative; margin: 0 !important; padding: 30px 6px 0 !important; background: none !important; font-size: 14px !important; line-height: 1.35 !important; color: var(--hf-muted); }
.art-article ol.hf-timeline li:before { content: ""; position: absolute; top: 2px; left: 50%; width: 17px; height: 17px; margin-left: -9px; border-radius: 50%; background: #fff; border: 3px solid var(--hf-brand); box-sizing: border-box; }
.art-article ol.hf-timeline li.hf-now:before { background: #e6007e; border-color: #e6007e; }
.hf-timeline strong { display: block; font-size: 18px; color: var(--hf-brand-dark); }
.hf-timeline .hf-now strong { color: #e6007e; }

/* Archiv der ersten Generation */
details.hf-archiv { margin-top: 18px; }
details.hf-archiv > summary { display: inline-block; cursor: pointer; list-style: none; padding: 10px 20px; border-radius: 999px; border: 1px solid #cfd8e6; background: #fff; font-weight: 600; color: var(--hf-brand); }
details.hf-archiv > summary::-webkit-details-marker { display: none; }
details.hf-archiv > summary:after { content: " ▾"; }
details.hf-archiv[open] > summary:after { content: " ▴"; }
details.hf-archiv > summary:hover { background: var(--hf-sky-soft); }

@media (max-width: 820px) {
  .hf-gen { padding: 24px 18px; border-radius: 14px; }
  .art-article .hf-gen-slogan { font-size: 23px !important; }
  .art-article .hf-gen-motto { font-size: 13px !important; }
  .hf-gen-neu table td[colspan="4"] { padding: 16px !important; }
  .art-article blockquote.hf-bridge-quote { font-size: 17px !important; }
  .art-article ol.hf-timeline li { font-size: 12.5px !important; }
  .hf-timeline strong { font-size: 16px; }
}
.hf-nowrap { white-space: nowrap; }

/* Senkrechter Zeitstrahl zwischen den Generationen (oben neu, unten alt) */
.art-article ol.hf-vtimeline { list-style: none !important; max-width: 640px; margin: 0 auto !important; padding: 0 !important; position: relative; text-align: left; }
.art-article ol.hf-vtimeline:before { content: ""; position: absolute; left: 9px; top: 12px; bottom: 12px; width: 3px; border-radius: 3px; background: linear-gradient(180deg, #e6007e, var(--hf-sky)); }
.art-article ol.hf-vtimeline > li { position: relative; margin: 0 !important; padding: 0 0 34px 44px !important; background: none !important; }
.art-article ol.hf-vtimeline > li:last-child { padding-bottom: 0 !important; }
.art-article ol.hf-vtimeline > li:before { content: ""; position: absolute; left: 1px; top: 6px; width: 19px; height: 19px; border-radius: 50%; background: #fff; border: 3px solid var(--hf-brand); box-sizing: border-box; }
.art-article ol.hf-vtimeline > li.hf-now:before { background: #e6007e; border-color: #e6007e; box-shadow: 0 0 0 5px rgba(230, 0, 126, .15); }
.art-article .hf-vt-year { margin: 0 !important; font-size: 22px !important; line-height: 1.2 !important; font-weight: 800; color: var(--hf-brand-dark) !important; }
.art-article .hf-now .hf-vt-year { color: #e6007e !important; }
.art-article .hf-vt-title { margin: 2px 0 8px !important; font-weight: 700; }
.art-article .hf-vt-text { margin: 0 0 8px !important; color: var(--hf-muted) !important; }
.art-article blockquote.hf-vt-quote, .art-article blockquote.hf-vt-poem { margin: 6px 0 0 !important; padding: 16px 20px !important; border: 0 !important; border-left: 4px solid var(--hf-sky) !important; border-radius: 0 12px 12px 0; background: #fff !important; font-style: italic; color: var(--hf-brand-dark); box-shadow: 0 2px 10px rgba(16, 42, 92, .06); }
.art-article .hf-now blockquote.hf-vt-quote { border-left-color: #e6007e !important; font-size: 18px !important; line-height: 1.5 !important; }
.art-article blockquote.hf-vt-poem { font-size: 16px !important; line-height: 1.7 !important; }
.hf-vt-quote cite { display: block; margin-top: 8px; font-size: 12px; font-style: normal; letter-spacing: .06em; text-transform: uppercase; color: var(--hf-muted); }
.hf-bridge { padding: 40px 4px 40px; }
@media (max-width: 820px) {
  .art-article ol.hf-vtimeline > li { padding-left: 36px !important; }
  .art-article .hf-now blockquote.hf-vt-quote { font-size: 16px !important; }
  .art-article blockquote.hf-vt-poem { font-size: 14.5px !important; padding: 14px 16px !important; }
}
.hf-gen-alt table.hf-gen-news-alt + table { margin-top: 0 !important; } .hf-gen-alt table.hf-gen-news-alt + table tr:first-child > td { border-top: 1px solid var(--hf-line) !important; }

/* Kontaktformular (24.10.2026) */
.hf-kontakt { max-width: 640px; margin: 12px 0 24px; scroll-margin-top: 90px; }
.hf-kontakt-form label { display: block; margin: 14px 0 4px; font-weight: 600; }
.art-article .hf-kontakt-form input[type="text"], .art-article .hf-kontakt-form input[type="email"], .art-article .hf-kontakt-form textarea { width: 100% !important; box-sizing: border-box; }
.hf-kontakt-form label.hf-kontakt-check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 14px; margin: 18px 0; }
.hf-kontakt-check input { margin-top: 3px; flex: none; }
.hf-kontakt-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hf-kontakt-meldung { padding: 14px 18px; border-radius: var(--hf-radius); margin: 12px 0; font-weight: 600; }
.hf-kontakt-ok { background: #e7f6ec; border: 1px solid #9fd5b0; color: #14532d; }
.hf-kontakt-fehler { background: #fdecec; border: 1px solid #f2b3b3; color: #7f1d1d; }
#datenschutz { scroll-margin-top: 90px; }

/* Jazari's Legacy: Teamfoto (Startseite und Projektseite) */
.hf-news-thumb.hf-jazari-foto { width: 280px; text-align: left; }
.hf-jazari-foto picture, .hf-jazari-hero picture { display: block; }
.art-article figure.hf-jazari-hero { max-width: 760px; margin: 6px auto 28px; padding: 0; text-align: center; }
.hf-jazari-hero a { display: block; border: 0 !important; }
.hf-jazari-hero img { display: block; width: 100% !important; height: auto !important; border-radius: 12px !important; box-shadow: 0 10px 28px rgba(16, 42, 92, .22) !important; }
.hf-jazari-hero figcaption { margin-top: 10px; font-size: 13px; line-height: 1.4; color: var(--hf-muted); }
@media (max-width: 820px) {
  .art-article .hf-news-thumb.hf-jazari-foto { float: none !important; width: 100%; max-width: 480px; margin: 0 auto 16px; }
  .art-article figure.hf-jazari-hero { margin: 4px 0 22px; }
}
