/*
Theme Name: GERMIS Verlag
Theme URI: https://www.germis.eu/
Author: GERMIS Verlag
Description: Schnelles, responsives Verlagstheme für Bücher, Autor:innen und Themenwelten.
Version: 2.4.0
Text Domain: germis-verlag-theme
*/
:root{--ink:#171512;--paper:#fffdfa;--muted:#6b665f;--line:#ded8cf;--accent:#7b3028;--soft:#f5f0e8;--max:1200px;--reading:760px;--radius:2px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.62;font-size:17px;text-rendering:optimizeLegibility}a{color:inherit;text-underline-offset:.2em}img{max-width:100%;height:auto;display:block}.site-shell{width:min(calc(100% - 64px),var(--max));margin-inline:auto}.site-header{position:relative;border-bottom:1px solid var(--line);background:rgba(255,253,250,.97)}.header-inner{min-height:88px;display:flex;align-items:center;justify-content:space-between;gap:36px}.brand{text-decoration:none;font-family:Georgia,"Times New Roman",serif;font-weight:700;letter-spacing:.13em;font-size:1.12rem}.brand small{display:block;margin-top:3px;font-family:system-ui,sans-serif;font-size:.62rem;font-weight:650;letter-spacing:.18em;color:var(--muted);text-transform:uppercase}.menu{display:flex;align-items:center;gap:28px;list-style:none;margin:0;padding:0}.menu a{text-decoration:none;font-size:.94rem;font-weight:700}.menu a:hover,.menu a:focus{text-decoration:underline}.hero{padding:clamp(64px,9vw,128px) 0}.hero-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(280px,.75fr);gap:clamp(44px,8vw,110px);align-items:center}.eyebrow{text-transform:uppercase;letter-spacing:.18em;font-size:.73rem;font-weight:850;color:var(--accent);margin:0 0 12px}h1,h2{font-family:Georgia,"Times New Roman",serif;letter-spacing:-.03em}h1{font-size:clamp(3rem,6.2vw,6rem);line-height:.96;margin:0 0 26px;max-width:900px}h2{font-size:clamp(2.15rem,4vw,3.8rem);line-height:1.04;margin:0 0 18px}h3{font-size:1.22rem;line-height:1.25}.lead{font-size:clamp(1.08rem,1.8vw,1.34rem);max-width:650px;color:#3d3934;margin-bottom:30px}.button-row{display:flex;flex-wrap:wrap;gap:10px}.germis-button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;text-decoration:none;border:1px solid var(--ink);padding:11px 19px;font-weight:780;background:var(--ink);color:#fff}.germis-button-secondary{background:transparent;color:var(--ink)}.section{padding:clamp(56px,7vw,96px) 0;border-top:1px solid var(--line)}.section-soft{background:var(--soft)}.section-head{max-width:760px;margin-bottom:38px}.section-head p:last-child{color:#49443e;font-size:1.05rem}.germis-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}.germis-card{min-width:0}.germis-card-image{display:block;overflow:hidden;background:#ebe5dc;text-decoration:none;aspect-ratio:4/3}.germis-card-book .germis-card-image{aspect-ratio:2/3;background:transparent}.germis-card-image img{width:100%;height:100%;object-fit:cover;transition:transform .25s ease}.germis-card:hover .germis-card-image img{transform:scale(1.015)}.germis-card-body{padding:20px 0 4px}.germis-card h3{margin:0 0 8px}.germis-card h3 a{text-decoration:none}.germis-card p{color:var(--muted);margin:.4em 0 .9em}.germis-card-subtitle{font-family:Georgia,"Times New Roman",serif;font-style:italic}.germis-text-link{font-weight:800;text-decoration:none}.germis-placeholder{display:grid;place-items:center;height:100%;font-family:Georgia,serif;letter-spacing:.14em;color:var(--muted)}.feature-book{display:grid;grid-template-columns:minmax(240px,380px) minmax(0,1fr);gap:clamp(40px,7vw,90px);align-items:center}.feature-book-cover img{width:100%;box-shadow:0 18px 45px rgba(34,27,20,.12)}.book-meta{display:flex;flex-wrap:wrap;gap:8px 16px;color:var(--muted);font-size:.92rem;margin:16px 0 24px}.entry-shell{width:min(calc(100% - 64px),var(--max));margin:auto}.entry{max-width:var(--reading);padding:64px 0 96px}.entry-wide{max-width:100%}.entry-header{margin-bottom:34px}.entry-title{font-family:Georgia,"Times New Roman",serif;font-size:clamp(2.6rem,6vw,5rem);line-height:1;margin:0 0 16px}.entry-content>*{max-width:100%}.entry-content p{margin:0 0 1.35em}.entry-content h2{font-size:clamp(1.8rem,3vw,2.6rem);margin-top:1.5em}.detail-grid{display:grid;grid-template-columns:minmax(220px,360px) minmax(0,1fr);gap:clamp(38px,7vw,90px);align-items:start}.detail-cover img{width:100%}.facts{display:grid;grid-template-columns:max-content 1fr;gap:8px 20px;margin:24px 0}.facts dt{font-weight:800}.facts dd{margin:0;color:var(--muted)}.related{margin-top:60px;padding-top:45px;border-top:1px solid var(--line)}.site-footer{border-top:1px solid var(--line);padding:44px 0 52px;color:var(--muted);font-size:.92rem}.footer-inner{display:flex;justify-content:space-between;gap:30px;flex-wrap:wrap}.footer-menu{display:flex;gap:18px;list-style:none;margin:0;padding:0}.skip-link{position:absolute;left:-9999px}.skip-link:focus{left:20px;top:20px;background:#fff;padding:10px;z-index:99}.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:860px){body{font-size:16px}.site-shell,.entry-shell{width:calc(100% - 44px)}.header-inner{min-height:74px;align-items:flex-start;padding:18px 0;flex-direction:column;gap:14px}.menu{gap:10px 18px;flex-wrap:wrap;font-size:.88rem}.hero{padding:54px 0 62px}.hero-grid,.feature-book,.detail-grid{grid-template-columns:1fr;gap:34px}.hero-grid>*:last-child{order:-1}.hero-grid img{max-height:340px;width:100%;object-fit:cover}.germis-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 18px}.section{padding:54px 0}.entry{padding:46px 0 72px}.button-row .germis-button{flex:1 1 210px}.feature-book-cover{max-width:330px}.facts{grid-template-columns:1fr;gap:2px}.facts dd{margin-bottom:10px}}
@media(max-width:560px){.site-shell,.entry-shell{width:calc(100% - 40px)}h1{font-size:clamp(2.65rem,14vw,4.2rem)}.germis-grid{grid-template-columns:1fr}.germis-card-book{display:grid;grid-template-columns:112px 1fr;gap:18px}.germis-card-book .germis-card-image{aspect-ratio:2/3}.germis-card-book .germis-card-body{padding-top:2px}.hero-grid img{max-height:300px}.footer-inner,.footer-menu{flex-direction:column}.footer-menu{gap:9px}}
@media(max-width:360px){.site-shell,.entry-shell{width:calc(100% - 32px)}}
/* GERMIS 1.2 — experiential layer */
:root{--accent:#8b2f2a;--deep:#11100e;--world-accent:var(--accent)}
.brand{display:flex;align-items:baseline;gap:.45rem}.brand>span{font-family:Georgia,"Times New Roman",serif;font-size:1.28rem;letter-spacing:.16em}.brand small{display:inline;font-size:.58rem;letter-spacing:.24em}.brand-logo{max-height:52px;width:auto}
.home-intro{min-height:72vh;display:grid;align-items:center;padding:clamp(70px,10vw,150px) 0;overflow:hidden}.home-intro-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,.58fr);gap:clamp(50px,10vw,140px);align-items:center}.home-intro h1{font-size:clamp(4rem,8vw,8rem);max-width:none}.home-intro h1 em{font-weight:400;color:var(--accent)}.home-intro .button-row{align-items:center;gap:20px}.portal-mark{aspect-ratio:1;position:relative;border:1px solid var(--line);border-radius:50%;display:grid;place-items:center;max-width:460px;width:100%;justify-self:end}.portal-mark:before,.portal-mark:after{content:"";position:absolute;border:1px solid var(--line);border-radius:50%;inset:9%}.portal-mark:after{inset:19%}.portal-mark span{font-family:Georgia,serif;font-size:clamp(7rem,14vw,12rem);line-height:1;z-index:1}.portal-mark i{position:absolute;width:1px;height:130%;background:var(--line);transform:rotate(38deg)}.portal-mark small{position:absolute;bottom:12%;font-size:.58rem;letter-spacing:.28em;font-weight:800}.feature-stage{background:var(--deep);color:#fff}.feature-stage .eyebrow{color:#dca39b}.feature-stage .feature-subtitle,.feature-stage .byline,.feature-stage p{color:#d9d3cc}.feature-stage .germis-button{background:#fff;color:var(--deep);border-color:#fff}.feature-copy{max-width:620px}.feature-copy h2{font-size:clamp(3rem,6vw,6rem)}.feature-subtitle{font-family:Georgia,"Times New Roman",serif;font-size:clamp(1.3rem,2.4vw,1.8rem);font-style:italic;color:#49443e}.byline{font-size:.95rem;color:var(--muted)}.worlds-stage .germis-card-world{position:relative}.worlds-stage .germis-card-world:nth-child(even){margin-top:46px}.worlds-stage .germis-card-world .germis-card-image{aspect-ratio:5/4}.worlds-stage .germis-card-world h3{font-family:Georgia,serif;font-size:1.65rem}.split-head{max-width:none;display:flex;justify-content:space-between;align-items:end;gap:30px}.manifesto{background:var(--soft)}.manifesto-grid{display:grid;grid-template-columns:.35fr 1.4fr .75fr;gap:clamp(30px,6vw,80px);align-items:start}.manifesto blockquote{font-family:Georgia,serif;font-size:clamp(2.2rem,4.6vw,4.5rem);line-height:1.06;margin:0}.manifesto blockquote em{color:var(--accent);font-weight:400}.world-hero{padding:clamp(70px,10vw,150px) 0;background:color-mix(in srgb,var(--world-accent) 8%,var(--paper));border-bottom:1px solid var(--line)}.world-hero .eyebrow{color:var(--world-accent)}.world-hero-grid{display:grid;grid-template-columns:1fr .8fr;gap:clamp(45px,9vw,120px);align-items:center}.world-hero h1,.book-page h1,.author-page h1{font-family:Georgia,serif;font-size:clamp(3.5rem,8vw,7.5rem);line-height:.94;margin:.08em 0 .2em}.world-claim{font-family:Georgia,serif;font-size:clamp(1.5rem,3vw,2.4rem);font-style:italic}.world-invite{max-width:620px;font-size:1.08rem}.world-image img{width:100%;max-height:650px;object-fit:cover}.world-body{padding:clamp(60px,8vw,110px) 0}.world-story{max-width:800px;font-size:1.08rem}.book-hero,.author-hero{display:grid;grid-template-columns:minmax(240px,420px) minmax(0,1fr);gap:clamp(45px,9vw,120px);padding:clamp(65px,9vw,130px) 0;align-items:center}.book-page .detail-cover img{box-shadow:0 25px 65px rgba(30,24,18,.15)}.book-excerpt{font-size:1.1rem;max-width:660px}.facts{margin-top:36px;border-top:1px solid var(--line);padding-top:20px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.facts>div{display:block}.facts dt{text-transform:uppercase;font-size:.66rem;letter-spacing:.12em}.facts dd{margin:4px 0 0}.book-content{display:grid;grid-template-columns:minmax(0,760px) minmax(260px,1fr);gap:clamp(50px,9vw,120px);padding-bottom:clamp(70px,10vw,140px)}.world-return{border-top:1px solid var(--line);padding-top:24px}.author-photo img{width:100%;aspect-ratio:4/5;object-fit:cover}.author-page>.related{padding-bottom:100px}
@media(max-width:860px){.home-intro{min-height:auto}.home-intro-grid,.world-hero-grid,.manifesto-grid,.book-hero,.author-hero,.book-content{grid-template-columns:1fr}.portal-mark{max-width:300px;justify-self:start;order:-1}.home-intro h1{font-size:clamp(3.6rem,16vw,6rem)}.manifesto-grid{gap:24px}.worlds-stage .germis-card-world:nth-child(even){margin-top:0}.split-head{align-items:start;flex-direction:column}.facts{grid-template-columns:repeat(2,minmax(0,1fr))}.world-image{order:-1}.world-image img{max-height:380px}.book-hero,.author-hero{padding-top:48px}.book-page .detail-cover,.author-photo{max-width:360px}}
@media(max-width:560px){.site-shell,.entry-shell{width:calc(100% - 44px)}.home-intro{padding:42px 0 70px}.portal-mark{max-width:220px}.home-intro .lead{font-size:1.05rem}.feature-stage .feature-book{gap:42px}.feature-book-cover{max-width:245px}.feature-copy h2{font-size:2.75rem}.germis-card-book{grid-template-columns:96px 1fr}.worlds-stage .germis-card-world{display:block}.worlds-stage .germis-card-world .germis-card-image{aspect-ratio:4/3}.facts{grid-template-columns:1fr 1fr}.world-hero{padding:40px 0 70px}.world-hero h1,.book-page h1,.author-page h1{font-size:clamp(3rem,15vw,4.6rem)}.book-hero,.author-hero{gap:34px}.book-content{gap:55px}.manifesto blockquote{font-size:2.55rem}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.germis-card-image img{transition:none}}

/* GERMIS 1.3 — Weltentor navigation */
.site-header{position:sticky;top:0;z-index:80;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.header-inner{min-height:78px}.portal-toggle,.portal-close{appearance:none;border:0;background:transparent;color:var(--ink);font:inherit;cursor:pointer}.portal-toggle{display:flex;align-items:center;gap:14px;font-size:.72rem;font-weight:850;letter-spacing:.15em}.portal-toggle-mark{width:36px;height:36px;border:1px solid var(--ink);border-radius:50%;display:grid;place-items:center;position:relative;transition:transform .3s ease,background .3s ease}.portal-toggle-mark i{position:absolute;width:14px;height:1px;background:currentColor}.portal-toggle-mark i:first-child{transform:translateY(-3px)}.portal-toggle-mark i:last-child{transform:translateY(3px)}.portal-toggle:hover .portal-toggle-mark{transform:rotate(18deg);background:var(--ink);color:#fff}
.germis-portal{position:fixed;inset:0;z-index:200;background:rgba(17,16,14,.98);color:#f8f3eb;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .28s ease,visibility .28s ease;overflow:auto}.germis-portal.is-open{opacity:1;visibility:visible;pointer-events:auto}.portal-open{overflow:hidden}.portal-shell{min-height:100dvh;display:flex;flex-direction:column;padding-top:30px;padding-bottom:30px;position:relative;z-index:2}.portal-top,.portal-foot{display:flex;justify-content:space-between;gap:20px;align-items:center}.portal-top{padding-bottom:clamp(34px,6vh,70px)}.germis-portal .eyebrow{color:#c89a91;margin:0}.portal-close{color:#f8f3eb;text-transform:uppercase;letter-spacing:.12em;font-size:.72rem;font-weight:800}.portal-close span{font-size:1.4rem;margin-left:8px;vertical-align:-.1em}.portal-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);gap:clamp(50px,10vw,150px);align-items:start;flex:1}.portal-caption{text-transform:uppercase;letter-spacing:.18em;font-size:.67rem;color:#9e978e;margin:0 0 18px}.portal-routes{list-style:none;margin:0;padding:0}.portal-routes li{display:grid;grid-template-columns:42px 1fr;align-items:baseline;border-top:1px solid #393631;padding:8px 0}.portal-routes li:last-child{border-bottom:1px solid #393631}.portal-routes span{font-size:.64rem;color:#8d867e;letter-spacing:.12em}.portal-routes a{font-family:Georgia,"Times New Roman",serif;text-decoration:none;font-size:clamp(2.35rem,5.1vw,5.3rem);line-height:1.04;letter-spacing:-.035em;transition:padding-left .2s ease,color .2s ease}.portal-routes a:hover,.portal-routes a:focus{padding-left:14px;color:#d5a39a;outline:none}.portal-world-list{border-top:1px solid #393631}.portal-world{--door-accent:#b4766c;display:grid;grid-template-columns:12px 1fr 22px;gap:16px;align-items:center;padding:18px 0;border-bottom:1px solid #393631;text-decoration:none}.portal-world-dot{width:9px;height:9px;border:1px solid var(--door-accent);border-radius:50%;transition:background .2s ease,transform .2s ease}.portal-world strong{display:block;font-size:1rem;letter-spacing:.04em}.portal-world small{display:block;color:#9e978e;margin-top:2px}.portal-world b{font-weight:400;color:#777}.portal-world:hover .portal-world-dot,.portal-world:focus .portal-world-dot{background:var(--door-accent);transform:scale(1.35)}.portal-world:hover strong,.portal-world:focus strong{color:var(--door-accent)}.portal-empty{color:#9e978e}.portal-foot{padding-top:clamp(35px,7vh,75px);font-size:.67rem;letter-spacing:.14em;text-transform:uppercase;color:#8e877f}.portal-backdrop{position:fixed;inset:0;pointer-events:none;overflow:hidden}.portal-backdrop span{position:absolute;border:1px solid rgba(255,255,255,.055);border-radius:50%;width:min(68vw,900px);aspect-ratio:1;right:-17vw;top:6vh}.portal-backdrop span:nth-child(2){transform:scale(.72)}.portal-backdrop span:nth-child(3){transform:scale(.44)}
@media(max-width:860px){.header-inner{min-height:68px;flex-direction:row;align-items:center;padding:0;gap:18px}.portal-toggle-label{display:none}.portal-layout{grid-template-columns:1fr;gap:45px}.portal-routes a{font-size:clamp(2.5rem,11vw,4.3rem)}.portal-worlds{padding-bottom:30px}.portal-foot{align-items:flex-start;flex-direction:column;gap:6px}.portal-shell{padding-top:20px;padding-bottom:22px}}
@media(max-width:560px){.brand>span{font-size:1.08rem}.brand small{font-size:.5rem}.portal-routes li{grid-template-columns:34px 1fr}.portal-routes a{font-size:clamp(2.2rem,12vw,3.5rem)}.portal-top{padding-bottom:28px}.portal-layout{gap:36px}.portal-world{padding:14px 0}.portal-foot{padding-top:34px}}
@media(prefers-reduced-motion:reduce){.germis-portal,.portal-toggle-mark,.portal-routes a,.portal-world-dot{transition:none}}

/* GERMIS 1.4 — publisher house, independent worlds */
.world-external-cta{margin-top:28px;display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.world-external-cta .germis-button{background:var(--world-accent,#8b2f2a);border-color:var(--world-accent,#8b2f2a);color:#fff}
.world-external-note{font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.portal-world.is-external b{transform:translate(0,0);transition:transform .2s ease}
.portal-world.is-external:hover b,.portal-world.is-external:focus b{transform:translate(3px,-3px)}


/* GERMIS 1.5 — INDEX: navigation as a living publisher index */
.portal-toggle-mark{overflow:hidden}.portal-toggle-mark:before,.portal-toggle-mark:after{content:"";position:absolute;border:1px solid currentColor;border-radius:50%;inset:7px;opacity:0;transform:scale(.55);transition:transform .35s ease,opacity .35s ease}.portal-toggle-mark:after{inset:12px}.portal-toggle:hover .portal-toggle-mark:before,.portal-toggle:focus-visible .portal-toggle-mark:before{opacity:.55;transform:scale(1.65)}.portal-toggle:hover .portal-toggle-mark:after,.portal-toggle:focus-visible .portal-toggle-mark:after{opacity:.35;transform:scale(2.15)}
.portal-index-stage{position:relative;min-height:420px}.portal-preview{position:absolute;inset:0;opacity:0;transform:translateY(14px);pointer-events:none;transition:opacity .28s ease,transform .35s cubic-bezier(.2,.75,.2,1)}.portal-preview.is-active{opacity:1;transform:none;pointer-events:auto}.portal-preview-kicker{font-size:.64rem;letter-spacing:.17em;text-transform:uppercase;color:#a29b92;margin:0 0 18px}.portal-preview h3{font-family:Georgia,"Times New Roman",serif;font-size:clamp(2.4rem,4vw,4.8rem);line-height:.98;letter-spacing:-.035em;margin:.05em 0 .25em}.portal-preview p{color:#aaa39a;max-width:510px}.portal-preview-link{display:inline-flex;gap:10px;align-items:center;margin-top:18px;text-decoration:none;text-transform:uppercase;font-size:.68rem;letter-spacing:.13em;border-bottom:1px solid #615d57;padding-bottom:7px}.portal-preview-card{display:grid;grid-template-columns:88px 1fr;gap:20px;align-items:center;margin-top:26px;max-width:520px}.portal-preview-card img{width:88px;aspect-ratio:2/3;object-fit:cover}.portal-preview-card strong{font-family:Georgia,serif;font-size:1.35rem;display:block}.portal-preview-card small{color:#918a82;display:block;margin-top:6px}.portal-routes li{position:relative}.portal-routes li:after{content:"";position:absolute;left:42px;right:0;bottom:-1px;height:1px;background:#d5a39a;transform:scaleX(0);transform-origin:left;transition:transform .35s ease}.portal-routes li.is-index-active:after{transform:scaleX(1)}.portal-routes li.is-index-active a{padding-left:14px;color:#d5a39a}.portal-routes a{position:relative;z-index:1}
.portal-backdrop span{transition:transform .7s cubic-bezier(.2,.75,.2,1),border-color .4s ease,opacity .4s ease}.germis-portal.is-open .portal-backdrop span:first-child{transform:scale(1.03)}.germis-portal.is-open .portal-backdrop span:nth-child(2){transform:scale(.76)}.germis-portal.is-open .portal-backdrop span:nth-child(3){transform:scale(.48)}.germis-portal[data-index="worlds"] .portal-backdrop span{border-color:color-mix(in srgb,var(--index-accent,#d5a39a) 30%,transparent)}
.portal-world{position:relative}.portal-world:before{content:"";position:absolute;inset:0 -18px;background:var(--door-accent);opacity:0;transform:scaleX(.96);transition:opacity .25s ease,transform .3s ease;z-index:-1}.portal-world:hover:before,.portal-world:focus:before{opacity:.08;transform:scaleX(1)}
.portal-world-preview{margin-top:30px;min-height:160px;border-top:1px solid #393631;padding-top:22px}.portal-world-preview .world-name{font-family:Georgia,serif;font-size:clamp(2.1rem,3.5vw,4rem);line-height:1;margin:0 0 10px;color:var(--index-accent,#f8f3eb)}.portal-world-preview .world-claim{font-size:1rem;font-style:normal;color:#aaa39a;margin:0;max-width:480px}.portal-world-preview .world-domain{display:inline-block;margin-top:18px;font-size:.65rem;letter-spacing:.14em;text-transform:uppercase;color:#c6beb4}
@media(max-width:860px){.portal-index-stage{min-height:auto}.portal-preview{position:relative;display:none}.portal-preview.is-active{display:block}.portal-world-preview{display:none}.portal-routes li:after{left:34px}.portal-layout{gap:34px}.portal-preview h3{font-size:2.4rem}.portal-preview-card{grid-template-columns:64px 1fr}.portal-preview-card img{width:64px}}
@media(prefers-reduced-motion:reduce){.portal-preview,.portal-backdrop span,.portal-routes li:after,.portal-toggle-mark:before,.portal-toggle-mark:after,.portal-world:before{transition:none}}


/* =========================================================
   GERMIS INDEX 1.5.1 — one viewport, no menu scrolling
   The catalogue room is a state, not a scrollable page.
   ========================================================= */
html.germis-portal-open,
body.germis-portal-open {
    overflow: hidden !important;
    height: 100%;
}

.germis-portal {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    overflow: hidden !important;
}

.admin-bar .germis-portal {
    top: 32px !important;
    height: calc(100dvh - 32px) !important;
    max-height: calc(100dvh - 32px) !important;
}

.germis-portal-inner,
.portal-index-shell,
.portal-layout {
    height: 100% !important;
    min-height: 0 !important;
    max-height: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box;
}

/* The left index always fits in the available viewport. */
.portal-routes {
    display: grid !important;
    grid-template-rows: repeat(6, minmax(0, 1fr)) !important;
    height: min(66vh, 610px) !important;
    max-height: calc(100dvh - 250px) !important;
    min-height: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
}

.admin-bar .portal-routes {
    max-height: calc(100dvh - 282px) !important;
}

.portal-routes li {
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: 42px minmax(0,1fr) !important;
    align-items: center !important;
}

.portal-routes li a {
    font-size: clamp(2.55rem, min(5.15vw, 7.3vh), 5.2rem) !important;
    line-height: .91 !important;
    padding: clamp(5px, .65vh, 10px) 0 !important;
    white-space: nowrap !important;
}

.portal-routes li > span {
    align-self: center !important;
}

/* Right-hand editorial preview may scroll internally only if its own content
   genuinely exceeds the available space. The whole overlay never moves. */
.portal-preview,
.portal-detail,
.portal-panel,
.portal-stage {
    min-height: 0 !important;
    max-height: 100% !important;
}

.portal-preview {
    overflow: auto !important;
    overscroll-behavior: contain;
    scrollbar-width: thin;
}

/* Short-height desktops / laptops. */
@media (min-width: 901px) and (max-height: 820px) {
    .germis-portal-inner,
    .portal-index-shell {
        padding-top: 20px !important;
        padding-bottom: 20px !important;
    }
    .portal-routes {
        height: calc(100dvh - 210px) !important;
        max-height: calc(100dvh - 210px) !important;
    }
    .admin-bar .portal-routes {
        height: calc(100dvh - 242px) !important;
        max-height: calc(100dvh - 242px) !important;
    }
    .portal-routes li a {
        font-size: clamp(2.35rem, 6.4vh, 4.35rem) !important;
        line-height: .88 !important;
    }
}

@media (min-width: 901px) and (max-height: 700px) {
    .portal-routes {
        height: calc(100dvh - 170px) !important;
        max-height: calc(100dvh - 170px) !important;
    }
    .admin-bar .portal-routes {
        height: calc(100dvh - 202px) !important;
        max-height: calc(100dvh - 202px) !important;
    }
    .portal-routes li a {
        font-size: clamp(2rem, 5.8vh, 3.6rem) !important;
    }
}

/* Mobile: still one viewport; compact index, preview becomes secondary. */
@media (max-width: 900px) {
    .admin-bar .germis-portal {
        top: 46px !important;
        height: calc(100dvh - 46px) !important;
        max-height: calc(100dvh - 46px) !important;
    }
    .portal-routes {
        height: auto !important;
        max-height: none !important;
        grid-template-rows: repeat(6, auto) !important;
    }
    .portal-routes li a {
        font-size: clamp(2rem, 9vw, 3.5rem) !important;
        line-height: .94 !important;
        white-space: normal !important;
    }
}

/* =========================================================
   GERMIS 1.6 — publisher seal + exact viewport catalogue
   ========================================================= */
:root{
  --germis-gold:#b58a45;
  --germis-gold-light:#d9bd78;
  --germis-gold-dark:#7d5c27;
}

/* The portal shell itself owns the viewport. The middle row flexes;
   header and footer are always visible. */
.germis-portal .portal-shell{
  height:100% !important;
  min-height:0 !important;
  max-height:100% !important;
  display:grid !important;
  grid-template-rows:auto minmax(0,1fr) auto !important;
  padding-top:clamp(18px,2.6vh,30px) !important;
  padding-bottom:clamp(14px,2.2vh,24px) !important;
  overflow:hidden !important;
}
.germis-portal .portal-top{
  padding-bottom:clamp(16px,2.7vh,30px) !important;
}
.germis-portal .portal-layout{
  height:auto !important;
  min-height:0 !important;
  max-height:none !important;
  align-self:stretch !important;
  overflow:hidden !important;
}
.germis-portal .portal-foot{
  position:relative !important;
  z-index:4 !important;
  padding-top:clamp(10px,1.7vh,18px) !important;
  min-height:24px !important;
  line-height:1.25 !important;
  background:linear-gradient(180deg,rgba(17,16,14,0),rgba(17,16,14,.98) 36%) !important;
}
.germis-portal .portal-routes{
  height:100% !important;
  max-height:100% !important;
}

/* The G is the publisher seal: gold, while red remains editorial accent. */
.portal-mark span{
  color:var(--germis-gold);
  background:linear-gradient(135deg,var(--germis-gold-light) 0%,var(--germis-gold) 48%,var(--germis-gold-dark) 100%);
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
}
.portal-mark,
.portal-mark:before,
.portal-mark:after{border-color:color-mix(in srgb,var(--germis-gold) 28%,transparent)}
.portal-mark i{background:color-mix(in srgb,var(--germis-gold) 32%,transparent)}
.portal-mark small{color:var(--germis-gold-dark)}
.germis-portal .portal-backdrop:after{
  content:"G";
  position:absolute;
  right:9vw;
  top:50%;
  transform:translateY(-44%);
  font-family:Georgia,"Times New Roman",serif;
  font-size:min(24vw,340px);
  line-height:1;
  color:var(--germis-gold);
  opacity:.055;
}
.germis-portal .portal-backdrop span{
  border-color:color-mix(in srgb,var(--germis-gold) 14%,transparent);
}
.germis-portal .portal-foot span:first-child{color:var(--germis-gold)}

/* Homepage editorial additions */
.home-author,.home-news{border-top:1px solid var(--line)}
.home-author-grid{display:grid;grid-template-columns:minmax(220px,.48fr) minmax(0,1fr);gap:clamp(38px,8vw,110px);align-items:center}
.home-author-photo img{width:100%;aspect-ratio:4/5;object-fit:cover}
.home-author-copy h2{font-size:clamp(2.8rem,5.8vw,5.8rem)}
.home-news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
.home-news-card{border-top:1px solid var(--line);padding-top:18px}
.home-news-card time{font-size:.67rem;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.home-news-card h3{font-family:Georgia,"Times New Roman",serif;font-size:1.55rem;line-height:1.08;margin:.5em 0}
@media(max-width:860px){
  .home-author-grid,.home-news-grid{grid-template-columns:1fr}
  .home-author-photo{max-width:320px}
}


/* =========================================================
   GERMIS 1.6.1 — fixed publisher bar + tighter opening scene
   ========================================================= */
:root{--germis-header-h:78px}

/* GERMIS VERLAG + ENTDECKEN remain visible throughout the site. */
.site-header{
  position:fixed !important;
  top:0;
  left:0;
  right:0;
  width:100%;
  z-index:900;
  background:rgba(255,253,250,.94);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
}
body{padding-top:var(--germis-header-h)}
.admin-bar .site-header{top:32px}

/* Remove the oversized empty band below the header.
   Keep editorial breathing room, but start the story sooner. */
.home-intro{
  min-height:calc(100svh - var(--germis-header-h));
  padding-top:clamp(52px,5.4vh,78px) !important;
  padding-bottom:clamp(58px,7vh,96px) !important;
  align-items:center;
}

/* When the catalogue opens, it starts below WP admin bar only; the
   site header is intentionally covered by the immersive overlay. */
.germis-portal{z-index:1200 !important}

@media(max-width:782px){
  .admin-bar .site-header{top:46px}
}
@media(max-width:860px){
  :root{--germis-header-h:68px}
  .home-intro{
    min-height:auto;
    padding-top:clamp(34px,5vh,54px) !important;
    padding-bottom:62px !important;
  }
}
@media(max-width:560px){
  .home-intro{padding-top:32px !important}
}

/* =========================================================
   GERMIS 2.0 — editorial CMS
   ========================================================= */
.germis-section.is-paper{background:#f8f4ed}.germis-section.is-ink{background:#151310;color:#f8f4ed}.germis-section.is-soft{background:#f2eee7}
.germis-editorial{padding:clamp(70px,10vw,150px) 0}.germis-editorial-grid{display:grid;grid-template-columns:.72fr 1.28fr;gap:clamp(40px,8vw,130px);align-items:start}
.germis-editorial h2{font-size:clamp(3rem,7vw,7.4rem);line-height:.9}.germis-editorial-copy{font-size:clamp(1.1rem,1.55vw,1.45rem);max-width:720px}
.germis-quote{text-align:center;padding:clamp(90px,13vw,190px) 0}.germis-quote blockquote{font-family:Georgia,"Times New Roman",serif;font-size:clamp(2.8rem,6vw,6.5rem);line-height:.98;margin:0 auto;max-width:1100px}.germis-quote blockquote em{color:#9b332b;font-weight:400}
.germis-door{padding:clamp(80px,11vw,160px) 0;border-top:1px solid var(--line)}.germis-door-inner{display:grid;grid-template-columns:1fr auto;gap:40px;align-items:end}.germis-door h2{font-size:clamp(3.1rem,7vw,7rem);max-width:950px}
.site-footer{padding:64px 0 34px}.footer-main{display:grid;grid-template-columns:1.2fr .8fr .8fr;gap:48px}.footer-claim{font-family:Georgia,"Times New Roman",serif;font-size:clamp(1.7rem,3vw,3rem);line-height:1.02;margin:.45em 0}.footer-links{display:flex;flex-direction:column;gap:10px}.footer-bottom{margin-top:52px;padding-top:20px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:25px;flex-wrap:wrap;font-size:.75rem;letter-spacing:.06em;text-transform:uppercase}
@media(max-width:800px){.germis-editorial-grid,.germis-door-inner,.footer-main{grid-template-columns:1fr}.germis-door-inner{align-items:start}.footer-main{gap:30px}}

.germis-header-static .site-header{position:absolute!important}.germis-header-static{padding-top:var(--germis-header-h)}.mobile-title{display:none}@media(max-width:700px){.desktop-title:has(+ .mobile-title){display:none}.mobile-title{display:inline}}\n

/* GERMIS 2.0.1 — viewport-fit hero + adjustable catalogue split */
.germis-portal .portal-layout{
  grid-template-columns:minmax(0,var(--germis-portal-left,42%)) minmax(0,1fr) !important;
  gap:clamp(34px,4.2vw,76px) !important;
}
.germis-portal .portal-primary,.germis-portal .portal-worlds,
.germis-portal .portal-index-stage,.germis-portal .portal-preview{
  min-width:0 !important;max-width:100% !important;
}
.germis-portal .portal-worlds{overflow:hidden !important}
.germis-portal .portal-preview{
  overflow-x:hidden !important;overflow-y:auto !important;scrollbar-gutter:stable;
}
.germis-portal .portal-preview h3,.germis-portal .portal-preview p,
.germis-portal .portal-preview-card,.germis-portal .portal-preview-link{
  max-width:100% !important;overflow-wrap:break-word;
}

@media (min-width:861px){
  body.germis-hero-fit .home-intro{
    box-sizing:border-box;
    height:calc(100dvh - var(--germis-header-h));
    min-height:0 !important;max-height:calc(100dvh - var(--germis-header-h));
    padding-top:clamp(26px,4.2vh,58px) !important;
    padding-bottom:clamp(26px,4.2vh,58px) !important;
    overflow:hidden;
  }
  body.germis-hero-fit .home-intro-grid{height:100%;min-height:0}
  body.germis-hero-fit .home-intro h1{
    font-size:clamp(3.8rem,min(7.25vw,11.2vh),7.35rem);
    line-height:.90;margin-bottom:clamp(16px,2.2vh,26px);
  }
  body.germis-hero-fit .home-intro .lead{
    font-size:clamp(1rem,min(1.55vw,2.6vh),1.3rem);
    line-height:1.5;margin-bottom:clamp(16px,2.3vh,28px);
  }
  body.germis-hero-fit .home-intro .portal-mark{
    width:min(100%,min(29vw,58vh));max-width:none;max-height:58vh;
  }
}
@media (min-width:861px) and (max-height:820px){
  body.germis-hero-fit .home-intro{padding-top:24px !important;padding-bottom:24px !important}
  body.germis-hero-fit .home-intro h1{
    font-size:clamp(3.45rem,min(6.5vw,9.5vh),6.25rem);margin-bottom:14px;
  }
  body.germis-hero-fit .home-intro .lead{
    font-size:clamp(.98rem,2.25vh,1.15rem);line-height:1.42;margin-bottom:14px;
  }
  body.germis-hero-fit .home-intro .eyebrow{margin-bottom:8px}
  body.germis-hero-fit .home-intro .portal-mark{width:min(25vw,49vh);max-height:49vh}
  body.germis-hero-fit .home-intro .germis-button{min-height:42px;padding:8px 16px}
}
@media (max-width:860px){
  .germis-portal .portal-layout{grid-template-columns:1fr !important}
  body.germis-hero-fit .home-intro{height:auto;max-height:none;overflow:visible}
}


/* GERMIS 2.0.2 — corrected catalogue proportions:
   navigation deliberately narrower, editorial preview deliberately wider. */
@media (min-width:861px){
  .germis-portal .portal-layout{
    grid-template-columns:minmax(0,var(--germis-portal-left,42%)) minmax(0,1fr) !important;
    gap:clamp(42px,5vw,92px) !important;
  }
  .germis-portal .portal-preview-inner,
  .germis-portal .portal-preview-content{
    width:100% !important;
    max-width:none !important;
  }
  .germis-portal .portal-preview h3{
    max-width:11ch !important;
  }
}


/* =========================================================
   GERMIS 2.0.3 — reliable site-wide fixed publisher header
   ========================================================= */

/* The theme setting adds .germis-header-fixed to <body>.
   Use a body-scoped rule so archive, single, page and home templates
   all behave identically. */
body.germis-header-fixed .site-header{
  position:fixed !important;
  top:0 !important;
  left:0 !important;
  right:0 !important;
  width:100% !important;
  z-index:1100 !important;
  transform:none !important;
  margin:0 !important;
  background:rgba(255,253,250,.96) !important;
  -webkit-backdrop-filter:blur(14px);
  backdrop-filter:blur(14px);
}

/* WordPress admin bar sits above the publisher header. */
body.admin-bar.germis-header-fixed .site-header{
  top:32px !important;
}

/* Reserve the header height on every public template so content never
   jumps underneath the fixed bar. */
body.germis-header-fixed{
  padding-top:var(--germis-header-h,78px) !important;
}

/* The immersive catalogue intentionally remains above the fixed header. */
body.germis-header-fixed .germis-portal{
  z-index:1400 !important;
}

@media (max-width:782px){
  body.admin-bar.germis-header-fixed .site-header{
    top:46px !important;
  }
}

@media (max-width:860px){
  body.germis-header-fixed{
    padding-top:var(--germis-header-h,68px) !important;
  }
}


/* =========================================================
   GERMIS 2.1 — editorial polish
   ========================================================= */

/* 1. Header: fixed means fixed, on every public template.
   Do not rely solely on a template-specific body class. */
.site-header{
  position:fixed !important;
  top:0 !important;
  left:0 !important;
  right:0 !important;
  width:100% !important;
  z-index:1200 !important;
  transform:translateZ(0) !important;
  background:rgba(255,255,253,.965) !important;
  -webkit-backdrop-filter:blur(14px) saturate(115%);
  backdrop-filter:blur(14px) saturate(115%);
}
body{padding-top:var(--germis-header-h,78px) !important}
body.admin-bar .site-header{top:32px !important}
.germis-portal{z-index:1500 !important}

/* 2. Blog/article links inside the catalogue preview:
   never collapse into a word-per-line column. */
.germis-portal .portal-preview,
.germis-portal .portal-preview-inner,
.germis-portal .portal-preview-content{
  min-width:0 !important;
  width:100% !important;
}
.germis-portal .portal-preview a,
.germis-portal .portal-preview-card a,
.germis-portal .portal-preview-link{
  display:block !important;
  width:min(100%,34rem) !important;
  max-width:34rem !important;
  min-width:min(22rem,100%) !important;
  white-space:normal !important;
  word-break:normal !important;
  overflow-wrap:normal !important;
  hyphens:none !important;
}
.germis-portal .portal-preview-card,
.germis-portal .portal-post,
.germis-portal .portal-news{
  width:min(100%,38rem) !important;
  max-width:38rem !important;
}
.germis-portal .portal-preview-card h4,
.germis-portal .portal-post h4,
.germis-portal .portal-news h4{
  font-size:clamp(1.25rem,1.65vw,1.8rem) !important;
  line-height:1.12 !important;
  max-width:22ch !important;
  word-break:normal !important;
  overflow-wrap:normal !important;
  hyphens:auto !important;
}

/* 3. Editorial paper rhythm.
   Pure white + warm ivory + neutral paper: subtle, modern, not beige-on-beige. */
body.germis-paper-editorial{
  --paper-a:#fffefd;
  --paper-b:#f7f5f0;
  --paper-c:#fbfaf7;
  background:var(--paper-a) !important;
}
body.germis-paper-editorial main > section:nth-of-type(3n+1){background:var(--paper-a)}
body.germis-paper-editorial main > section:nth-of-type(3n+2){background:var(--paper-b)}
body.germis-paper-editorial main > section:nth-of-type(3n){background:var(--paper-c)}
body.germis-paper-quiet main > section:nth-of-type(odd){background:#fffefd}
body.germis-paper-quiet main > section:nth-of-type(even){background:#f8f7f3}
body.germis-paper-white main > section{background:#fff !important}

/* Remove the generic full-width rules between homepage chapters.
   Separation becomes a publishing device rather than a website divider. */
.home main > section,
.home .home-section{
  border-top:0 !important;
  position:relative;
}

/* WORD MARKER — default: looks like folio/collation marks from a book. */
body.germis-separator-words .home main > section + section::before,
body.germis-separator-words .home .home-section + .home-section::before{
  content:"LESEN   ·   ENTDECKEN   ·   WEITER";
  position:absolute;
  top:0;
  left:50%;
  transform:translate(-50%,-50%);
  padding:0 18px;
  background:inherit;
  color:rgba(128,42,33,.72);
  font:700 .63rem/1.2 Arial,sans-serif;
  letter-spacing:.22em;
  white-space:nowrap;
  z-index:2;
}

/* QUOTE MARK — oversized editorial quotation glyph. */
body.germis-separator-quote .home main > section + section::before,
body.germis-separator-quote .home .home-section + .home-section::before{
  content:"“";
  position:absolute;
  top:0;left:50%;
  transform:translate(-50%,-54%);
  padding:0 18px;
  background:inherit;
  color:rgba(181,138,69,.65);
  font-family:Georgia,serif;
  font-size:3rem;
  line-height:.7;
}

/* WAVE — lightweight CSS/SVG-free hand-drawn publishing line. */
body.germis-separator-wave .home main > section + section::before,
body.germis-separator-wave .home .home-section + .home-section::before{
  content:"";
  position:absolute;
  top:0;left:50%;
  width:min(220px,30vw);
  height:16px;
  transform:translate(-50%,-50%);
  background:
    radial-gradient(34px 10px at 17px 16px,transparent 96%,rgba(181,138,69,.55) 100%) 0 -8px/68px 16px repeat-x;
}

/* Classic line remains available, but deliberately short. */
body.germis-separator-line .home main > section + section::before,
body.germis-separator-line .home .home-section + .home-section::before{
  content:"";
  position:absolute;
  top:0;left:50%;
  width:min(180px,25vw);
  height:1px;
  transform:translateX(-50%);
  background:rgba(181,138,69,.55);
}

@media(max-width:782px){
  body.admin-bar .site-header{top:46px !important}
}
@media(max-width:860px){
  body{padding-top:var(--germis-header-h,68px) !important}
  .germis-portal .portal-preview a,
  .germis-portal .portal-preview-card a,
  .germis-portal .portal-preview-link{
    min-width:0 !important;
    width:100% !important;
  }
  body.germis-separator-words .home main > section + section::before,
  body.germis-separator-words .home .home-section + .home-section::before{
    content:"LESEN  ·  WEITER";
    font-size:.56rem;
    letter-spacing:.16em;
  }
}


/* =========================================================
   GERMIS 2.1.1 — catalogue without browser-like scrollbars
   ========================================================= */

/* The catalogue is a stage, not a scroll container. */
.germis-portal,
.germis-portal .portal-shell,
.germis-portal .portal-layout,
.germis-portal .portal-worlds,
.germis-portal .portal-preview,
.germis-portal .portal-preview-inner,
.germis-portal .portal-preview-content{
  scrollbar-width:none !important;
  -ms-overflow-style:none !important;
}
.germis-portal::-webkit-scrollbar,
.germis-portal .portal-shell::-webkit-scrollbar,
.germis-portal .portal-layout::-webkit-scrollbar,
.germis-portal .portal-worlds::-webkit-scrollbar,
.germis-portal .portal-preview::-webkit-scrollbar,
.germis-portal .portal-preview-inner::-webkit-scrollbar,
.germis-portal .portal-preview-content::-webkit-scrollbar{
  width:0 !important;
  height:0 !important;
  display:none !important;
}

/* Desktop: use the available height first. Overflow remains keyboard/mouse-wheel
   accessible if a future preview is genuinely longer, but no native white bar
   is painted into the composition. */
@media (min-width:861px){
  .germis-portal .portal-preview{
    overflow-x:hidden !important;
    overflow-y:auto !important;
    scrollbar-gutter:auto !important;
    padding-right:clamp(6px,.8vw,14px);
  }

  /* Short screens: compress preview typography and rhythm before scrolling. */
  @media (max-height:820px){
    .germis-portal .portal-preview h3{
      font-size:calc(clamp(2.15rem,4vw,4.3rem)*var(--germis-preview-scale)) !important;
      line-height:.93 !important;
      margin-bottom:clamp(14px,2vh,24px) !important;
    }
    .germis-portal .portal-preview p{
      font-size:clamp(.92rem,1.55vh,1.05rem) !important;
      line-height:1.45 !important;
      margin-bottom:clamp(12px,1.8vh,20px) !important;
    }
    .germis-portal .portal-preview-card,
    .germis-portal .portal-post,
    .germis-portal .portal-news{
      margin-top:clamp(12px,1.8vh,22px) !important;
    }
    .germis-portal .portal-preview-card h4,
    .germis-portal .portal-post h4,
    .germis-portal .portal-news h4{
      font-size:clamp(1.08rem,2.2vh,1.5rem) !important;
      line-height:1.12 !important;
      margin:.25em 0 !important;
    }
  }

  @media (max-height:700px){
    .germis-portal .portal-preview h3{
      font-size:calc(clamp(1.9rem,3.4vw,3.5rem)*var(--germis-preview-scale)) !important;
    }
    .germis-portal .portal-preview p{
      font-size:.9rem !important;
      line-height:1.38 !important;
    }
  }
}

/* A subtle editorial cue replaces the scrollbar only when the preview area
   can scroll. It does not consume layout width. */
.germis-portal .portal-preview::after{
  content:"↕";
  position:sticky;
  float:right;
  bottom:2px;
  margin-right:-2px;
  color:rgba(217,189,120,.38);
  font:400 .8rem/1 Georgia,serif;
  pointer-events:none;
  opacity:.55;
}

/* On touch layouts natural page/section scrolling remains available. */
@media (max-width:860px){
  .germis-portal .portal-preview::after{display:none}
}


/* =========================================================
   GERMIS 2.2 — consolidated controls
   ========================================================= */
html{font-size:calc(100% * var(--germis-base-scale,1))}
.wrap,.site-inner,.home-intro-grid,.home-section-inner,.footer-inner{max-width:var(--germis-content,1360px)}
.eyebrow,.kicker{color:var(--germis-red,#8b2f27)}
.portal-mark,.germis-gold{color:var(--germis-gold,#b58a45)}
body.germis-paper-editorial{--paper-a:var(--germis-paper,#fffefd);--paper-b:var(--germis-paper-alt,#f7f5f0);--paper-c:#fbfaf7;background:var(--paper-a)!important}
body.germis-paper-quiet main>section:nth-of-type(odd){background:var(--germis-paper,#fffefd)}
body.germis-paper-quiet main>section:nth-of-type(even){background:var(--germis-paper-alt,#f7f5f0)}
body.germis-header-solid .site-header{background:var(--germis-paper,#fffefd)!important;backdrop-filter:none!important}
body.germis-header-transparent .site-header{background:rgba(255,255,255,.08)!important;backdrop-filter:none!important}
body.germis-header-glass .site-header{background:color-mix(in srgb,var(--germis-paper,#fffefd) 94%,transparent)!important}
.site-header{height:var(--germis-header-h,78px)!important}
body{padding-top:var(--germis-header-h,78px)!important}

/* Three footer compositions */
body.germis-footer-compact .site-footer .footer-inner{display:flex;align-items:center;justify-content:space-between;gap:24px}
body.germis-footer-columns .site-footer .footer-inner{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:clamp(24px,5vw,72px)}
body.germis-footer-editorial .site-footer .footer-inner{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(220px,.7fr);gap:clamp(32px,7vw,100px)}

/* 404 */
.germis-404{min-height:calc(100dvh - var(--germis-header-h));display:grid;place-items:center;background:var(--germis-paper,#fffefd);padding:clamp(40px,8vw,120px)}
.germis-404-inner{width:min(100%,920px)}
.germis-404 h1{font:700 clamp(3.4rem,8vw,8rem)/.9 Georgia,serif;max-width:11ch;margin:.2em 0 .28em}
.germis-404-inner>p:not(.eyebrow){max-width:48rem;font-size:clamp(1.05rem,1.5vw,1.35rem);line-height:1.55}
.germis-404-actions{display:flex;align-items:center;gap:24px;margin-top:34px}

/* Optional section images chosen in the editor */
.germis-section-media{overflow:hidden}
.germis-section-media img{display:block;width:100%;height:auto;object-fit:cover}
@media(max-width:860px){
 body.germis-footer-compact .site-footer .footer-inner,
 body.germis-footer-columns .site-footer .footer-inner,
 body.germis-footer-editorial .site-footer .footer-inner{display:block}
}


/* =========================================================
   GERMIS 2.3 — book series / cover wall
   ========================================================= */
.germis-series-gallery{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:clamp(18px,2.8vw,46px);
  align-items:start;
}
.germis-series-book{min-width:0}
.germis-series-cover{
  display:block;
  aspect-ratio:17/22;
  overflow:hidden;
  background:#eeeae2;
  text-decoration:none;
  box-shadow:0 18px 44px rgba(21,19,16,.10);
  transition:transform .28s ease,box-shadow .28s ease;
}
.germis-series-cover:hover{transform:translateY(-6px);box-shadow:0 25px 56px rgba(21,19,16,.16)}
.germis-series-cover img{display:block;width:100%;height:100%;object-fit:cover}
.germis-cover-placeholder{
  width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;
  padding:22px;text-align:center;border:1px solid rgba(21,19,16,.10);
  background:linear-gradient(145deg,var(--germis-paper-alt,#f7f5f0),var(--germis-paper,#fffefd));
}
.germis-cover-placeholder b{font:700 .72rem/1 Arial,sans-serif;letter-spacing:.2em;color:var(--germis-red,#8b2f27)}
.germis-cover-placeholder i{margin-top:auto;padding-bottom:12%;font:italic 1rem/1.25 Georgia,serif;color:rgba(21,19,16,.58)}
.germis-series-meta{padding-top:16px}
.germis-series-meta>span{font:700 .66rem/1 Arial,sans-serif;letter-spacing:.18em;color:var(--germis-red,#8b2f27)}
.germis-series-meta h3{margin:.45rem 0 .35rem;font:700 clamp(1.15rem,1.55vw,1.6rem)/1.05 Georgia,serif}
.germis-series-meta h3 a{color:inherit;text-decoration:none}
.germis-series-meta small{display:block;margin-top:4px;color:rgba(21,19,16,.58)}
@media(max-width:980px){.germis-series-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){
 .germis-series-gallery{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:18px;margin-right:-20px;padding-right:20px;scrollbar-width:none}
 .germis-series-gallery::-webkit-scrollbar{display:none}
 .germis-series-book{flex:0 0:min(76vw,290px);scroll-snap-align:start}
}
@media(prefers-reduced-motion:reduce){.germis-series-cover{transition:none}.germis-series-cover:hover{transform:none}}


/* =========================================================
   GERMIS 2.4 — readability correction + editorial templates
   ========================================================= */
.feature-stage{background:var(--germis-paper-alt,#f7f5f0)!important;color:#171512!important}
.feature-stage .feature-copy,.feature-stage .feature-copy h2,.feature-stage .feature-copy p,.feature-stage .feature-copy a{color:#171512!important}
.feature-stage .feature-copy .eyebrow{color:var(--germis-red,#8b2f27)!important}
.feature-stage .feature-copy h2{font-size:clamp(2.5rem,5vw,5.6rem)!important;line-height:.94!important;max-width:14ch!important}
.feature-stage .feature-copy>p:not(.eyebrow):not(.byline){font-size:clamp(1rem,1.25vw,1.18rem)!important;line-height:1.55!important;max-width:42rem}
.feature-stage .byline{opacity:.72}
.section-head h2{font-size:clamp(2.4rem,4.6vw,5.2rem)!important;line-height:.96!important}
.home-author-copy h2{font-size:clamp(2.3rem,4vw,4.8rem)!important;line-height:.96!important}

.germis-paperback-mockup{
 aspect-ratio:17/22;width:100%;min-height:320px;padding:clamp(22px,3vw,42px);
 box-sizing:border-box;display:flex;flex-direction:column;
 background:linear-gradient(145deg,#f5f0e7,#fffefd);color:#171512;
 border:1px solid rgba(21,19,16,.12);box-shadow:0 24px 60px rgba(21,19,16,.14);
}
.germis-paperback-mockup .mock-kicker{font:700 .68rem/1 Arial,sans-serif;letter-spacing:.2em;color:var(--germis-red,#8b2f27)}
.germis-paperback-mockup strong{margin:auto 0;font:700 clamp(1.7rem,3vw,3.5rem)/.95 Georgia,serif;max-width:11ch}
.germis-paperback-mockup small{font:700 .7rem/1 Arial,sans-serif;letter-spacing:.16em;opacity:.55}
.germis-author-placeholder{aspect-ratio:4/5;display:grid;place-items:center;background:var(--germis-paper-alt,#f7f5f0);font:700 .72rem/1 Arial,sans-serif;letter-spacing:.2em;color:var(--germis-red,#8b2f27)}

.germis-profile-page,.germis-book-page,.germis-edition-page,.germis-world-page{background:var(--germis-paper,#fffefd)}
.germis-detail-hero{padding:clamp(70px,10vw,150px) 0}
.germis-detail-grid{display:grid;grid-template-columns:minmax(260px,.75fr) minmax(0,1.25fr);gap:clamp(42px,8vw,120px);align-items:start}
.germis-detail-copy h1{font:700 clamp(3rem,6vw,6.8rem)/.91 Georgia,serif;margin:.15em 0 .3em;max-width:12ch}
.germis-detail-copy .lead{font-size:clamp(1.08rem,1.45vw,1.32rem);line-height:1.55;max-width:48rem}
.germis-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;margin:34px 0;border-top:1px solid rgba(21,19,16,.14)}
.germis-fact{padding:14px 0;border-bottom:1px solid rgba(21,19,16,.14)}
.germis-fact b{display:block;font:700 .64rem/1 Arial,sans-serif;letter-spacing:.16em;color:var(--germis-red,#8b2f27);margin-bottom:7px}
.germis-body-copy{max-width:780px;font-size:1.08rem;line-height:1.75}
@media(max-width:760px){.germis-detail-grid{grid-template-columns:1fr}.germis-detail-media{max-width:420px}.germis-facts{grid-template-columns:1fr}}
