/* J.P. Hartmann – native Elementor-Bausteine für die Subvera-Seite (Version 1.3.0)
   Ersetzt die beiden HTML-Blöcke "Welt & Figuren" und "Leseproben".
   Alle Texte sind normale Elementor-Widgets und im Editor direkt bearbeitbar. */

/* ---------- Grundlage: Elementor-Container neutralisieren ---------- */
body .elementor .e-con.jph-c{
  --padding-top:0px;--padding-right:0px;--padding-bottom:0px;--padding-left:0px;
  --gap:0px;--row-gap:0px;--column-gap:0px;
  --container-widget-width:100%;--container-widget-flex-grow:0;
  gap:0;padding:0;min-width:0;width:100%;max-width:none;box-sizing:border-box
}
body .elementor .jph-c > .elementor-widget{margin:0;width:100%;max-width:100%}
body .elementor .jph-c .elementor-widget-container{margin:0;padding:0}
body .elementor .jph-c p{margin:0}
body .elementor .jph-c .elementor-heading-title{margin:0;padding:0}

/* ---------- Gemeinsam: Abschnittsrahmen und Überschriftenzeile ---------- */
body .elementor .jph-world,body .elementor .jph-samples{--accent:#d2b78a;--gold:#d2b78a;--text:#ece9e2;--muted:#a2adb9}
body .elementor .e-con.jph-world{background:#0a1019}
body .elementor .e-con.jph-shell{width:min(1120px,88%);max-width:1120px;margin-left:auto;margin-right:auto}
body .elementor .e-con.jph-head{display:flex;flex-direction:row;align-items:flex-end;justify-content:space-between;gap:30px;margin-bottom:37px}
body .elementor .e-con.jph-head-main{flex:1 1 auto;width:auto}
body .elementor .jph-c > .jph-eyebrow{margin-bottom:17px}
body .elementor .jph-eyebrow p{font-family:Arial,Helvetica,sans-serif;font-size:11px;letter-spacing:2.2px;line-height:1.4;text-transform:uppercase;color:#d2b78a}
body .elementor .jph-h2 .elementor-heading-title{font:400 41px/1.25 Georgia,'Times New Roman',serif!important;letter-spacing:-.8px;color:#ece9e2!important}
body .elementor .jph-h2 em{font-style:italic;color:#d2b78a}
body .elementor .jph-c > .jph-intro{width:auto;flex:0 0 auto;max-width:360px;margin-bottom:3px}
body .elementor .jph-intro p{font-family:Arial,Helvetica,sans-serif;font-size:11px;line-height:1.9;color:#a2adb9}

/* ---------- Tabs (gemeinsam): Umschalten übernimmt native-tabs.js ---------- */
body .elementor .jph-tab{cursor:pointer}
body .elementor .jph-tab:focus-visible{outline:2px solid #d2b78a;outline-offset:-2px}
body .elementor .jph-panel[hidden]{display:none!important}

/* ---------- Baustein 1: Welt & Figuren ---------- */
body .elementor .e-con.jph-world{padding:77px 0 73px;background:#0a1019}
body .elementor .e-con.jph-world-layout{display:grid;grid-template-columns:.8fr 1.2fr;gap:74px;align-items:center}

/* Plakat */
body .elementor .e-con.jph-poster{position:relative;display:flex;flex-direction:column;align-items:stretch;text-align:center;
  border:1px solid #82734d;background:linear-gradient(130deg,#2c302b,#18202a);padding:24px 27px 23px;min-height:322px}
body .elementor .jph-poster::before{content:'';position:absolute;inset:8px;border:1px solid #a08b5b35;pointer-events:none}
body .elementor .jph-poster p{font-family:Arial,Helvetica,sans-serif;text-align:center}
body .elementor .jph-poster-auth p{font-size:8px;letter-spacing:1.4px;text-transform:uppercase;color:#c6b88f}
body .elementor .jph-poster-seal p{font-size:46px;line-height:1.4;color:#b8a479;margin:9px 0 5px}
body .elementor .jph-poster-title .elementor-heading-title{font:400 19px/1.65 Arial,Helvetica,sans-serif!important;letter-spacing:1px;text-transform:uppercase;color:#d1c6a5!important;text-align:center}
body .elementor .jph-poster-title::after{content:'';display:block;width:65px;height:1px;background:#8b7c54;margin:18px auto 14px}
body .elementor .jph-poster-body p{font-family:Georgia,'Times New Roman',serif;font-size:16px;color:#bfb89f;margin:0 0 21px}
body .elementor .jph-poster-note p{font-size:7px;letter-spacing:1px;text-transform:uppercase;color:#8c998e}

/* Reiterleiste */
body .elementor .e-con.jph-tab-list{display:flex;flex-direction:row;gap:31px;border-bottom:1px solid #3c4752}
body .elementor .e-con.jph-world-tab{width:auto;flex:0 0 auto;padding-bottom:14px;border-bottom:2px solid transparent}
body .elementor .jph-world-tab p{font-family:Arial,Helvetica,sans-serif;font-size:11px;letter-spacing:.5px;line-height:1.4;color:#a8b3bd}
body .elementor .e-con.jph-world-tab:hover p{color:#e7dfd0}
body .elementor .e-con.jph-world-tab[aria-selected=true]{border-bottom-color:#d2b78a}
body .elementor .e-con.jph-world-tab[aria-selected=true] p{color:#d2b78a}

/* Reiterinhalt */
body .elementor .e-con.jph-world-panel{padding-top:27px;min-height:292px}
body .elementor .jph-micro p{font-family:Arial,Helvetica,sans-serif;font-size:8px;letter-spacing:1.3px;text-transform:uppercase;color:#9daaba}
body .elementor .jph-world-title .elementor-heading-title{font:400 31px/1.25 Georgia,'Times New Roman',serif!important;letter-spacing:-.5px;color:#ece9e2!important}
body .elementor .jph-c > .jph-world-title{margin:12px 0 17px}
body .elementor .jph-world-text p{font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:1.9;color:#aab5c1;margin:0 0 15px}
body .elementor .jph-world-text p:last-child{margin-bottom:0}

/* Stichwort-Etiketten: ein Widget pro Etikett. Punktfarbe über die CSS-Klasse jph-dot-blue / jph-dot-red / jph-dot-gold */
body .elementor .e-con.jph-chips{display:flex;flex-direction:row;flex-wrap:wrap;gap:9px;margin-top:24px}
body .elementor .jph-c > .jph-chip{display:inline-flex;align-items:center;gap:6px;width:auto;flex:0 0 auto;border:1px solid #384756;padding:3px 8px}
body .elementor .jph-chip p{font-family:Arial,Helvetica,sans-serif;font-size:9px;letter-spacing:.4px;line-height:1.4;color:#b1bdc7}
body .elementor .jph-chip[class*="jph-dot-"]::before{content:'';width:5px;height:5px;border-radius:50%;background:var(--jph-dot,transparent);flex-shrink:0}
body .elementor .jph-dot-blue{--jph-dot:#79afce}
body .elementor .jph-dot-red{--jph-dot:#ce8b8d}
body .elementor .jph-dot-gold{--jph-dot:#d2b78a}

/* ---------- Baustein 2: Leseproben ---------- */
body .elementor .e-con.jph-samples{background:#121b27;padding:67px 0 70px;border-top:1px solid #34404d}
body .elementor .jph-samples .e-con.jph-head{margin-bottom:30px}

body .elementor .e-con.jph-sample-tabs{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);
  border:1px solid #3e4a59;border-bottom:0;background:#162231}
body .elementor .e-con.jph-sample-tab{display:grid;grid-template-columns:24px 1fr;gap:1px 7px;align-items:center;
  padding:18px 21px;border-right:1px solid #3e4a59;border-bottom:2px solid transparent;text-align:left}
body .elementor .e-con.jph-sample-tab:last-child{border-right:0}
body .elementor .jph-sample-tab p{font-family:Arial,Helvetica,sans-serif;margin:0}
body .elementor .jph-c > .jph-sample-num{grid-row:1/3;width:auto}
body .elementor .jph-sample-num p{font-size:8px;color:#95a6b9}
body .elementor .jph-c > .jph-sample-name{grid-column:2;width:auto}
body .elementor .jph-sample-name p{font-size:12px;letter-spacing:.2px;color:#a8b3bd}
body .elementor .jph-c > .jph-sample-sub{grid-column:2;width:auto}
body .elementor .jph-sample-sub p{font-size:8px;color:#99a7b4}
body .elementor .e-con.jph-sample-tab:hover .jph-sample-name p{color:#e7dfd0}
body .elementor .e-con.jph-sample-tab[aria-selected=true]{background:#25303a;border-bottom-color:#d2b78a}
body .elementor .e-con.jph-sample-tab[aria-selected=true] .jph-sample-name p{color:#d2b78a}

body .elementor .e-con.jph-reader{background:#eee8dc;border:1px solid #cac1b1;color:#2c3030;color-scheme:light}
body .elementor .e-con.jph-reader-bar{height:56px;flex-direction:row;align-items:center;justify-content:flex-start;padding:0 27px;border-bottom:1px solid #ccc4b4}
body .elementor .jph-reader-bar p{font-family:Arial,Helvetica,sans-serif;font-size:8px;letter-spacing:1.5px;text-transform:uppercase;color:#6f706a}

body .elementor .e-con.jph-excerpt{width:100%;max-width:820px;margin-left:auto;margin-right:auto;padding:37px 65px 25px}
body .elementor .jph-excerpt-label p{font-family:Arial,Helvetica,sans-serif;font-size:8px;text-align:center;letter-spacing:2.2px;text-transform:uppercase;color:#89764e;margin:0 0 11px}
body .elementor .jph-excerpt-title .elementor-heading-title{font:400 29px/1.3 Georgia,'Times New Roman',serif!important;letter-spacing:-.5px;text-align:center;color:#2c3030!important}
body .elementor .jph-c > .jph-excerpt-title{margin-bottom:30px}
body .elementor .jph-excerpt-text p{font-family:Georgia,'Times New Roman',serif;font-size:17px;line-height:1.95;color:#40443e;margin:0 0 19px}
body .elementor .jph-excerpt-text p:last-child{margin-bottom:0}
body .elementor .jph-excerpt-text.jph-dropcap p:first-child::first-letter{float:left;font-size:62px;line-height:1;padding:5px 10px 0 0;color:#90764d}
body .elementor .e-con.jph-excerpt-end{flex-direction:row;align-items:center;justify-content:center;gap:14px;margin:31px 0 14px}
body .elementor .e-con.jph-excerpt-end::before,body .elementor .e-con.jph-excerpt-end::after{content:'';height:1px;width:34px;background:#b8a984}
body .elementor .jph-c > .jph-excerpt-end .elementor-widget{width:auto}
body .elementor .jph-excerpt-end p{font-family:Arial,Helvetica,sans-serif;font-size:14px;color:#9a8151;text-align:center}
body .elementor .jph-excerpt-note p{font-family:Arial,Helvetica,sans-serif;font-size:9px;text-align:center;color:#7a776c}

body .elementor .jph-book-status p{display:flex;align-items:flex-start;gap:8px;font-family:Arial,Helvetica,sans-serif;font-size:10px;line-height:1.6;color:#9faeba;margin:22px 0 0}
body .elementor .jph-book-status p::before{content:'';width:5px;height:5px;border:1px solid #d2b78a;transform:rotate(45deg);flex-shrink:0;margin-top:6px}

/* ---------- Bearbeitungsansicht: alle Reiter untereinander, klar getrennt ---------- */
body.elementor-editor-active .elementor .jph-panel{outline:1px dashed rgba(210,183,138,.35);outline-offset:-1px}
body.elementor-editor-active .elementor .jph-reader .jph-panel{outline-color:rgba(117,97,60,.35)}
body.elementor-editor-active .elementor .jph-tab{cursor:default}
body.elementor-editor-active .elementor .e-con.jph-world-layout{align-items:start}
body.elementor-editor-active .elementor .e-con.jph-world-tab:first-child{border-bottom-color:var(--gold,#d2b78a)}
body.elementor-editor-active .elementor .e-con.jph-world-tab:first-child p{color:var(--gold,#d2b78a)}
body.elementor-editor-active .elementor .e-con.jph-sample-tab:first-child{background:#25303a;border-bottom-color:var(--gold,#d2b78a)}
body.elementor-editor-active .elementor .e-con.jph-sample-tab:first-child .jph-sample-name p{color:var(--gold,#d2b78a)}
body.elementor-editor-active .elementor .e-con.jph-world-layout{align-items:start}
body.elementor-editor-active .elementor .e-con.jph-world-tab:first-child{border-bottom-color:#d2b78a}
body.elementor-editor-active .elementor .e-con.jph-world-tab:first-child p{color:#d2b78a}
body.elementor-editor-active .elementor .e-con.jph-sample-tab:first-child{background:#25303a;border-bottom-color:#d2b78a}
body.elementor-editor-active .elementor .e-con.jph-sample-tab:first-child .jph-sample-name p{color:#d2b78a}

/* ---------- Anpassung an kleinere Bildschirme ---------- */
@media(max-width:1100px){
  body .elementor .e-con.jph-world-layout{gap:45px;grid-template-columns:.9fr 1.1fr}
  body .elementor .jph-h2 .elementor-heading-title{font-size:36px!important}
  body .elementor .jph-world-title .elementor-heading-title{font-size:28px!important}
  body .elementor .e-con.jph-sample-tab{padding:17px}
  body .elementor .e-con.jph-excerpt{padding:35px 50px 24px}
}
@media(max-width:780px){
  body .elementor .e-con.jph-shell{width:90%}
  body .elementor .e-con.jph-head{display:block;margin-bottom:25px}
  body .elementor .jph-c > .jph-intro{margin-top:17px}
  body .elementor .jph-h2 .elementor-heading-title{font-size:31px!important}
  body .elementor .e-con.jph-world{padding:45px 0}
  body .elementor .e-con.jph-world-layout{grid-template-columns:1fr;gap:29px}
  body .elementor .e-con.jph-poster{min-height:300px;padding:23px 21px}
  body .elementor .jph-poster-title .elementor-heading-title{font-size:19px!important}
  body .elementor .e-con.jph-world-panel{min-height:0;padding-top:22px}
  body .elementor .jph-world-title .elementor-heading-title{font-size:27px!important}
  body .elementor .e-con.jph-samples{padding:43px 0}
  body .elementor .jph-samples .e-con.jph-head{margin-bottom:24px}
  body .elementor .e-con.jph-sample-tab{display:flex;flex-direction:column;align-items:center;gap:5px;padding:13px 8px;text-align:center}
  body .elementor .jph-sample-sub{display:none}
  body .elementor .jph-sample-name p{font-size:10px;line-height:1.4}
  body .elementor .e-con.jph-reader-bar{height:50px;padding:0 13px}
  body .elementor .e-con.jph-excerpt{padding:27px 21px 22px}
  body .elementor .jph-excerpt-title .elementor-heading-title{font-size:24px!important}
  body .elementor .jph-excerpt-text p{font-size:16px;line-height:1.9}
  body .elementor .jph-excerpt-text.jph-dropcap p:first-child::first-letter{font-size:52px;padding-right:7px}
}
@media(prefers-reduced-motion:no-preference){
  body .elementor .e-con.jph-world-tab,body .elementor .e-con.jph-sample-tab{transition:background-color .15s,border-color .15s}
}
