/* =====================================================================
   SHOOTIFY – Design-System v1.1 · THE CREATOR JOURNAL (Blog + Artikel)
   Alles Visuelle steht in den Variablen direkt hier. Änderung = eine Zeile.
   Gescoped auf Blog/Artikel, damit Landingpages und Funnel unberührt bleiben.
   ===================================================================== */

/* ---------- Schriften (selbst gehostet, siehe README) ---------- */
@font-face{font-family:"Inter Tight";font-weight:500;font-style:normal;font-display:swap;src:url("../fonts/InterTight-500.woff2") format("woff2")}
@font-face{font-family:"Inter Tight";font-weight:600;font-style:normal;font-display:swap;src:url("../fonts/InterTight-600.woff2") format("woff2")}
@font-face{font-family:"Inter";font-weight:400;font-style:normal;font-display:swap;src:url("../fonts/Inter-400.woff2") format("woff2")}

/* ---------- Variablen ---------- */
:root{
  --sh-d0:#061F1D;          /* Hintergrund */
  --sh-d1:#082421;          /* Lesebereich (leicht abgesetzt) */
  --sh-mint:#50F2B3;        /* Akzent */
  --sh-white:#F3F9F6;       /* Überschriften */
  --sh-text:#DCE8E4;        /* Fließtext */
  --sh-muted:#9DB8B1;       /* Nebentext */
  --sh-hair:rgba(220,232,228,.14);
  --sh-head:"Inter Tight",sans-serif;
  --sh-body:"Inter",sans-serif;
  --sh-ls:0;                /* Letter-Spacing der Startseiten-Headline: noch zu ermitteln */
  --sh-r:16px;
  --sh-measure:680px;       /* Textspalte */
  --sh-fs:1.125rem;         /* Fließtext 18 px */
  --sh-lh:1.75;
}

/* ---------- Geltungsbereich: nur Blogübersicht, Kategorien, Einzelartikel ---------- */
body.single-post,body.blog,body.category{background:var(--sh-d0);color:var(--sh-text);font-family:var(--sh-body);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
body.single-post ::selection,body.blog ::selection,body.category ::selection{background:var(--sh-mint);color:var(--sh-d0)}

/* Titel (Elementor: Beitragstitel) */
body.single-post .elementor-widget-theme-post-title .elementor-heading-title{font-family:var(--sh-head);font-weight:600;color:var(--sh-white);letter-spacing:var(--sh-ls);line-height:1.02;font-size:clamp(2.4rem,7.4vw,6rem);text-wrap:balance}
body.single-post .elementor-widget-theme-post-featured-image img{border-radius:var(--sh-r);display:block;width:100%;height:auto}

/* ---------- Artikeltext (Elementor: Beitragsinhalt) ----------
   :where() = niedrige Spezifität, eigene Elementor-Widgets behalten ihr Aussehen */
body.single-post .elementor-widget-theme-post-content{max-width:var(--sh-measure)}
body.single-post .elementor-widget-theme-post-content :where(p,ul,ol){font:400 var(--sh-fs)/var(--sh-lh) var(--sh-body);color:var(--sh-text);margin-bottom:1.5em}
body.single-post .elementor-widget-theme-post-content :where(h2,h3,h4){font-family:var(--sh-head);color:var(--sh-white);letter-spacing:var(--sh-ls)}
body.single-post .elementor-widget-theme-post-content :where(h2){font-weight:600;font-size:clamp(1.95rem,3.6vw,2.8rem);line-height:1.1;margin:3.2em 0 .8em;padding-top:1.4em;border-top:1px solid var(--sh-hair);text-wrap:balance}
body.single-post .elementor-widget-theme-post-content :where(h3){font-weight:600;font-size:1.4rem;line-height:1.25;margin:2em 0 .5em}
body.single-post .elementor-widget-theme-post-content :where(a){color:var(--sh-mint);text-underline-offset:4px;text-decoration-thickness:1px}
body.single-post .elementor-widget-theme-post-content :where(a):hover{text-decoration-thickness:2px}
body.single-post .elementor-widget-theme-post-content :where(li)::marker{color:var(--sh-mint)}
body.single-post .elementor-widget-theme-post-content :where(img){border-radius:var(--sh-r);height:auto}
@media (max-width:640px){body.single-post .elementor-widget-theme-post-content :where(p,ul,ol){font-size:1.0625rem}}

/* ---------- Inhaltsverzeichnis (Elementor Pro: Inhaltsverzeichnis) ---------- */
body.single-post .elementor-widget-table-of-contents .elementor-toc__header-title{font-family:var(--sh-head);font-weight:500;color:var(--sh-muted);font-size:.85rem}
body.single-post .elementor-widget-table-of-contents .elementor-toc__list-item-text{font-family:var(--sh-head);font-weight:500;color:var(--sh-muted);font-size:.92rem;line-height:1.4}
body.single-post .elementor-widget-table-of-contents .elementor-toc__list-item-text:hover{color:var(--sh-text)}
body.single-post .elementor-widget-table-of-contents .elementor-toc__list-item-text.elementor-item-active{color:var(--sh-white)}

/* ---------- Komponenten: als CSS-Klasse an einen Elementor-Container hängen ---------- */
/* Infobox: Klasse  sh-info  */
.sh-info{padding:20px 0!important;border-block:1px solid var(--sh-hair);background:none}
.sh-info :where(h2,h3,h4,.elementor-heading-title){font-family:var(--sh-head);font-weight:500;font-size:.85rem;color:var(--sh-mint)}
.sh-info :where(p){font-size:1.05rem;line-height:1.65;margin:0;color:var(--sh-text)}

/* Vergleich: Klasse  sh-compare  (Container mit zwei Unter-Containern) */
.sh-compare,.sh-compare>.e-con-inner{display:grid!important;grid-template-columns:1fr 1fr;border-top:1px solid var(--sh-hair);gap:0}
.sh-compare>.e-con+.e-con,.sh-compare>.e-con-inner>.e-con+.e-con{border-left:1px solid var(--sh-hair);padding-left:clamp(20px,4vw,48px)}
.sh-compare :where(h4,.elementor-heading-title){font-family:var(--sh-head);font-weight:600;color:var(--sh-white)}
.sh-compare :where(li){border-top:1px solid var(--sh-hair);padding:12px 0;list-style:none;margin:0}
@media (max-width:640px){.sh-compare,.sh-compare>.e-con-inner{grid-template-columns:1fr}.sh-compare>.e-con+.e-con,.sh-compare>.e-con-inner>.e-con+.e-con{border-left:0;border-top:1px solid var(--sh-hair);padding-left:0}}

/* Statistiken: Klasse  sh-stats  (Container mit drei Unter-Containern) */
.sh-stats,.sh-stats>.e-con-inner{display:grid!important;grid-template-columns:repeat(3,1fr);border-block:1px solid var(--sh-hair)}
.sh-stats :where(.elementor-heading-title){font-family:var(--sh-head);font-weight:600;color:var(--sh-white);font-size:clamp(2.4rem,5vw,4rem);line-height:1}
@media (max-width:640px){.sh-stats,.sh-stats>.e-con-inner{grid-template-columns:1fr}}

/* Zitat: Klasse  sh-quote  (an Zitat-Block oder Container) */
.sh-quote{padding:0!important;border:0!important}
.sh-quote::before{content:"";display:block;width:48px;height:2px;background:var(--sh-mint);margin-bottom:30px}
.sh-quote :where(p,blockquote,.elementor-heading-title){font-family:var(--sh-head);font-weight:500;font-size:clamp(1.7rem,3.5vw,2.5rem);line-height:1.25;color:var(--sh-white);letter-spacing:var(--sh-ls)}

/* CTA: Klasse  sh-cta  (Container mit Überschrift, Text, Button) */
.sh-cta{border-top:1px solid var(--sh-hair)!important;padding-top:clamp(32px,5vw,56px)!important;background:none}
.sh-cta :where(.elementor-heading-title){font-family:var(--sh-head);font-weight:600;color:var(--sh-white);font-size:clamp(1.8rem,3.6vw,2.6rem);line-height:1.1}
.sh-cta .elementor-button{background:var(--sh-mint)!important;color:var(--sh-d0)!important;font-family:var(--sh-head);font-weight:500;border-radius:999px;transition:transform .3s}
.sh-cta .elementor-button:hover{transform:translateY(-2px)}

/* Checkliste: Klasse  sh-check  (an Icon-Liste) */
.sh-check .elementor-icon-list-item{border-top:1px solid var(--sh-hair);padding:14px 0}
.sh-check .elementor-icon-list-icon i,.sh-check .elementor-icon-list-icon svg{color:var(--sh-mint);fill:var(--sh-mint)}

/* ---------- Blogübersicht (Elementor: Loop Grid) ---------- */
body.blog .e-loop-item,body.category .e-loop-item{background:none;border:0}
body.blog .e-loop-item img,body.category .e-loop-item img{border-radius:var(--sh-r);display:block;width:100%;height:auto}
body.blog .e-loop-item :where(h2,h3,.elementor-heading-title),body.category .e-loop-item :where(h2,h3,.elementor-heading-title){font-family:var(--sh-head);font-weight:600;color:var(--sh-white);line-height:1.2;letter-spacing:var(--sh-ls)}
body.blog .e-loop-item :where(p),body.category .e-loop-item :where(p){color:var(--sh-muted);font-size:.95rem;line-height:1.65}

/* ---------- Bewegung reduzieren ---------- */
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}


/* =====================================================================
   v1.1 · CREATOR JOURNAL
   Drei feste Kanten tragen die Seite: linker Rand · Beginn Spalte 4
   (Bildkante = Textspalte = Untertitel) · rechter Viewport-Rand (Bild).
   Elementor-Container bekommen diese CSS-Klassen (Erweitert > CSS-Klassen):
     sh-hero   Container um Titel + Kolophon + Bild (Hintergrund #061F1D)
     sh-colo   Kolophon: Beitragsinfos (Autor, Datum, Kategorie), linke Spalte
     sh-plate  Beitragsbild, rechts bis zum Rand
     sh-read   Lesebereich-Container (eigener Ton #082421, Haarlinie oben)
     sh-toc    Inhaltsverzeichnis, linke Spalte, sticky
   ===================================================================== */

/* Titel: große erste Zeile, ruhiger Rest */
body.single-post .elementor-widget-theme-post-title .elementor-heading-title{font-size:clamp(2.5rem,7.6vw,6.4rem);line-height:.98}

/* Hero */
.sh-hero{background:var(--sh-d0)}
.sh-colo{border-top:1px solid var(--sh-hair)}
.sh-colo :where(.elementor-icon-list-item,.elementor-post-info__item){padding:14px 0;border-bottom:1px solid var(--sh-hair);font:500 1.05rem/1.35 var(--sh-head);color:var(--sh-white)}
.sh-colo a{color:var(--sh-mint);text-decoration:none}
.sh-colo a:hover{text-decoration:underline;text-underline-offset:4px}

/* Bild: links gerundet, rechts bündig zum Viewport-Rand, keine Veränderung am Bild */
.sh-plate img{border-radius:var(--sh-r) 0 0 var(--sh-r);display:block;width:100%;height:auto}
@media (min-width:961px){.sh-plate{margin-right:calc(-1*max(20px,(100vw - 1200px)/2 + 64px))}}
@media (max-width:960px){.sh-plate img{border-radius:0}}

/* Lesebereich: eigener Ton, Haarlinie als Übergang */
.sh-read{background:var(--sh-d1)!important;border-top:1px solid var(--sh-hair)}

/* Inhaltsverzeichnis: Haarlinie + aktive Mint-Kante, ohne Box */
.sh-toc{position:sticky;top:32px;align-self:flex-start}
.sh-toc .elementor-toc__body{border-left:1px solid var(--sh-hair)}
.sh-toc .elementor-toc__list-item-text-wrapper{padding:8px 0 8px 18px;margin-left:-1px;border-left:2px solid transparent}
.sh-toc .elementor-toc__list-item-text-wrapper:has(.elementor-item-active){border-left-color:var(--sh-mint)}
@media (max-width:960px){.sh-toc{position:static}}

/* Infobox im Journal-Stil: Mint-Kicker statt Box (überschreibt v1.0) */
.sh-info{margin:2.8em 0}

/* =====================================================================
   v1.2 · LESBARKEIT-FIX
   Grund: Elementor-Globalfarben (schwarz) und Roboto überschrieben die Theme-Werte.
   Diese Regeln sind bewusst stärker (Spezifität + !important) und gelten NUR für
   Blogübersicht, Kategorien und Einzelartikel.
   ===================================================================== */
:root{
  --sh-head:"Inter Tight","Inter",system-ui,-apple-system,"Segoe UI",Helvetica,Arial,sans-serif;
  --sh-body:"Inter",system-ui,-apple-system,"Segoe UI",Helvetica,Arial,sans-serif;
}

/* Seitenhintergrund bis in jeden Elementor-Container */
body.single-post,body.blog,body.category,body.archive{background:var(--sh-d0)!important;color:var(--sh-text)}
body.single-post .elementor-location-single,body.blog .elementor-location-archive,body.category .elementor-location-archive,body.archive .elementor-location-archive,
body.single-post [data-elementor-type="single-post"],body.blog [data-elementor-type="archive"],body.category [data-elementor-type="archive"]{background:transparent}

/* ---------- Header + Menü ---------- */
body.single-post .elementor-location-header,body.blog .elementor-location-header,body.category .elementor-location-header,body.archive .elementor-location-header,
body.single-post header#site-header,body.blog header#site-header,body.category header#site-header{background:var(--sh-d0)!important}
body.single-post .elementor-location-header .e-con,body.blog .elementor-location-header .e-con,body.category .elementor-location-header .e-con,body.archive .elementor-location-header .e-con{background-color:transparent!important;border-color:var(--sh-hair)!important}
:is(body.single-post,body.blog,body.category,body.archive) .elementor-location-header .elementor-nav-menu a.elementor-item,
:is(body.single-post,body.blog,body.category,body.archive) .elementor-location-header .elementor-nav-menu--main a{font-family:var(--sh-head)!important;font-weight:500!important;font-size:.95rem!important;color:var(--sh-text)!important;opacity:1!important}
:is(body.single-post,body.blog,body.category,body.archive) .elementor-location-header .elementor-nav-menu a.elementor-item:hover,
:is(body.single-post,body.blog,body.category,body.archive) .elementor-location-header .elementor-nav-menu a.elementor-item.elementor-item-active{color:var(--sh-mint)!important}
:is(body.single-post,body.blog,body.category,body.archive) .elementor-location-header .elementor-nav-menu--dropdown{background:var(--sh-d1)!important}
:is(body.single-post,body.blog,body.category,body.archive) .elementor-menu-toggle{color:var(--sh-white)!important}

/* ---------- Artikel: Titel ---------- */
body.single-post .elementor-widget-theme-post-title .elementor-heading-title,
body.single-post h1.elementor-heading-title,body.single-post h1.entry-title{font-family:var(--sh-head)!important;font-weight:600!important;color:var(--sh-white)!important;line-height:1.05!important;letter-spacing:var(--sh-ls)!important;font-size:clamp(2.1rem,5.6vw,4.6rem)!important;text-wrap:balance}

/* ---------- Artikel: Fließtext (nur direkte Kinder, damit eigene Boxen unberührt bleiben) ---------- */
body.single-post .elementor-widget-theme-post-content .elementor-widget-container>:is(p,ul,ol),
body.single-post .elementor-widget-theme-post-content .elementor-widget-container>:is(ul,ol)>li,
body.single-post .elementor-widget-theme-post-content>.elementor-widget-container p{font-family:var(--sh-body)!important;font-size:var(--sh-fs)!important;line-height:var(--sh-lh)!important;color:var(--sh-text)!important;font-weight:400!important}
body.single-post .elementor-widget-theme-post-content .elementor-widget-container>:is(p,ul,ol){margin:0 0 1.5em!important}
body.single-post .elementor-widget-theme-post-content .elementor-widget-container>:is(h2,h3,h4,h5){font-family:var(--sh-head)!important;color:var(--sh-white)!important;font-weight:600!important;letter-spacing:var(--sh-ls)!important}
body.single-post .elementor-widget-theme-post-content .elementor-widget-container>h2{font-size:clamp(1.8rem,3.2vw,2.5rem)!important;line-height:1.12!important;margin:2.8em 0 .8em!important;padding-top:1.3em;border-top:1px solid var(--sh-hair)}
body.single-post .elementor-widget-theme-post-content .elementor-widget-container>h3{font-size:1.45rem!important;line-height:1.25!important;margin:2em 0 .5em!important}
body.single-post .elementor-widget-theme-post-content .elementor-widget-container>:is(p,ul,ol,li) a{color:var(--sh-mint)!important}
body.single-post .elementor-widget-theme-post-content ul>li::marker{color:var(--sh-mint)}
/* Auch Überschriften/Texte, die als eigene Elementor-Widgets im Artikel liegen */
body.single-post .elementor-widget-heading .elementor-heading-title{font-family:var(--sh-head)}
body.single-post .elementor-widget-text-editor{font-family:var(--sh-body)}

/* ---------- Eigene helle Boxen im Artikel (z. B. „Beispiel: Monatliches Content-Paket“) ----------
   Klasse  sh-card  an den Container setzen = dunkle Karte statt weißer Fläche.  */
.sh-card{background:var(--sh-d1)!important;border:1px solid var(--sh-hair)!important;border-radius:var(--sh-r)!important;padding:clamp(20px,3vw,36px)!important;box-shadow:none!important}
.sh-card :is(h1,h2,h3,h4,h5,.elementor-heading-title){color:var(--sh-white)!important;font-family:var(--sh-head)!important}
.sh-card :is(p,li,span,div,.elementor-widget-text-editor){color:var(--sh-text)!important}
.sh-card .e-con,.sh-card .elementor-widget-container{background-color:transparent!important}
.sh-card .e-con:not(.e-con-boxed),.sh-card [class*="stat"]{border-color:var(--sh-hair)!important}

/* ---------- Inhaltsverzeichnis ---------- */
body.single-post .elementor-widget-table-of-contents .elementor-toc__wrapper,
body.single-post .elementor-widget-table-of-contents .elementor-toc__header{background:transparent!important;border-color:var(--sh-hair)!important;color:var(--sh-text)!important}
body.single-post .elementor-widget-table-of-contents .elementor-toc__wrapper{border:1px solid var(--sh-hair)!important;border-radius:var(--sh-r)!important;background:var(--sh-d1)!important;overflow:hidden}
body.single-post .elementor-widget-table-of-contents .elementor-toc__header-title{font-family:var(--sh-head)!important;color:var(--sh-white)!important;font-weight:600!important}
body.single-post .elementor-widget-table-of-contents .elementor-toc__list-item-text,
body.single-post .elementor-widget-table-of-contents .elementor-toc__list-item-text a{font-family:var(--sh-head)!important;color:var(--sh-muted)!important;font-weight:500!important}
body.single-post .elementor-widget-table-of-contents .elementor-toc__list-item-text:hover,
body.single-post .elementor-widget-table-of-contents .elementor-toc__list-item-text.elementor-item-active{color:var(--sh-white)!important}
body.single-post .elementor-widget-table-of-contents .elementor-toc__list-item::marker,
body.single-post .elementor-widget-table-of-contents .elementor-toc__list-item-text-wrapper::before,
body.single-post .elementor-widget-table-of-contents .elementor-toc__list-item-text-wrapper i{color:var(--sh-mint)!important}
body.single-post .elementor-widget-table-of-contents .elementor-toc__toggle-button{color:var(--sh-mint)!important;fill:var(--sh-mint)!important}

/* ---------- Beitragsbild ---------- */
body.single-post .elementor-widget-theme-post-featured-image img{border-radius:20px!important;box-shadow:0 30px 80px -30px rgba(0,0,0,.6)}

/* ---------- Blogübersicht: Überschrift ---------- */
:is(body.blog,body.category,body.archive) .elementor-widget-heading .elementor-heading-title,
:is(body.blog,body.category,body.archive) .elementor-widget-theme-archive-title .elementor-heading-title{font-family:var(--sh-head)!important;font-weight:600!important;color:var(--sh-white)!important;letter-spacing:var(--sh-ls)!important}
:is(body.blog,body.category,body.archive) .elementor-widget-breadcrumbs,:is(body.blog,body.category,body.archive) .elementor-widget-breadcrumbs a{color:var(--sh-muted)!important;font-family:var(--sh-body)!important}

/* ---------- Blogübersicht: Karten (Beiträge-Widget + Loop Grid) ---------- */
:is(body.blog,body.category,body.archive) .elementor-posts-container{row-gap:56px!important}
:is(body.blog,body.category,body.archive) .elementor-post__card,
:is(body.blog,body.category,body.archive) .elementor-post{background:transparent!important;border:0!important;box-shadow:none!important}
:is(body.blog,body.category,body.archive) .elementor-post__thumbnail{border-radius:20px;overflow:hidden;background:var(--sh-d1)}
:is(body.blog,body.category,body.archive) .elementor-post__text{padding:22px 2px 0!important;display:flex;flex-direction:column;gap:10px}
:is(body.blog,body.category,body.archive) .elementor-post__title,
:is(body.blog,body.category,body.archive) .elementor-post__title a{font-family:var(--sh-head)!important;font-weight:600!important;font-size:1.35rem!important;line-height:1.2!important;color:var(--sh-white)!important;letter-spacing:var(--sh-ls)!important;margin:0!important;text-wrap:balance}
:is(body.blog,body.category,body.archive) .elementor-post__title a:hover{color:var(--sh-mint)!important}
:is(body.blog,body.category,body.archive) .elementor-post__meta-data,
:is(body.blog,body.category,body.archive) .elementor-post__meta-data span{font-family:var(--sh-body)!important;font-size:.82rem!important;color:var(--sh-muted)!important;order:-1;margin:0!important}
:is(body.blog,body.category,body.archive) .elementor-post__excerpt,
:is(body.blog,body.category,body.archive) .elementor-post__excerpt p{font-family:var(--sh-body)!important;font-size:.98rem!important;line-height:1.6!important;color:var(--sh-text)!important;opacity:.82;margin:0!important;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
:is(body.blog,body.category,body.archive) .elementor-post__read-more{font-family:var(--sh-head)!important;font-weight:600!important;font-size:.9rem!important;color:var(--sh-mint)!important;margin-top:4px!important}
/* Loop Grid (falls verwendet) */
:is(body.blog,body.category,body.archive) .e-loop-item .elementor-heading-title{font-family:var(--sh-head)!important;color:var(--sh-white)!important}
:is(body.blog,body.category,body.archive) .e-loop-item :is(p,.elementor-widget-text-editor,.elementor-post-info__item){color:var(--sh-text)!important;font-family:var(--sh-body)!important}

/* ---------- Footer ---------- */
:is(body.single-post,body.blog,body.category,body.archive) .elementor-location-footer{background:var(--sh-d0)!important;color:var(--sh-muted)}
:is(body.single-post,body.blog,body.category,body.archive) .elementor-location-footer :is(a,p,span,.elementor-heading-title){color:var(--sh-muted)}
:is(body.single-post,body.blog,body.category,body.archive) .elementor-location-footer a:hover{color:var(--sh-mint)}

