/* SUBPAGE-CLEAN-V2: einheitliche Unterseitenroutine fuer Printbuch + eBook */
:root{
  --sub-bg:#f4efdf;
  --sub-card:#fff;
  --sub-border:#d5cdc0;
  --sub-text:#222;
  --sub-muted:#333;
  --sub-accent:#168D5B;
  --sub-link:#003b78;
  --sub-radius:10px;
  --sub-shadow:0 9px 22px rgba(55,43,30,.13);
  --sub-button-shadow:0 6px 10px rgba(0,0,0,.2);
}
html,body{margin:0;padding:0;}
body{font-family:Georgia,serif;background:var(--sub-bg);color:var(--sub-text);}
a{color:var(--sub-link);}
.sub-header{position:relative;width:100%;min-height:300px;overflow:hidden;display:flex;align-items:flex-start;justify-content:center;}
.sub-header-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0;}
.sub-header-inner{position:relative;z-index:1;text-align:center;padding:34px 20px 24px;}
.sub-logo{width:110px;height:auto;display:block;margin:0 auto 6px;}
.sub-header h1{margin:0 0 4px;font-family:Georgia,serif;font-size:36px;line-height:1.1;font-weight:400;color:var(--sub-accent);}
.sub-tagline{margin:0 0 12px;font-size:20px;line-height:1.2;color:var(--sub-accent);}
.sub-main{max-width:980px;margin:40px auto 46px;padding:0 22px;box-sizing:border-box;}
.book-hero-card,.content-section{background:var(--sub-card);border:1px solid var(--sub-border);border-radius:var(--sub-radius);box-shadow:var(--sub-shadow);margin:0 auto 26px;padding:26px 34px;box-sizing:border-box;}
.book-hero-card{display:grid;grid-template-columns:260px minmax(0,1fr);gap:42px;align-items:stretch;}
.book-cover-wrap{background:var(--sub-card);border:1px solid var(--sub-border);border-radius:var(--sub-radius);box-shadow:var(--sub-shadow);padding:24px;display:flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:310px;}
.book-cover{display:block;width:200px;max-width:100%;height:auto;object-fit:contain;background:transparent;border-radius:0;box-shadow:none;}
.book-info{display:flex;flex-direction:column;min-height:100%;}
.book-info h2{margin:0 0 6px;font-family:Georgia,serif;font-size:34px;line-height:1.14;font-weight:400;color:#111;}
.ebook-label{white-space:nowrap;}
.book-subtitle{margin:0 0 14px;font-size:22px;line-height:1.25;color:var(--sub-text);}
.book-author{margin:0 0 16px;font-size:18px;line-height:1.35;color:var(--sub-muted);}
.book-meta{margin:18px 0 0;font-size:16px;line-height:1.45;color:var(--sub-muted);}
.book-info .sub-buttons{margin-top:auto;padding-top:22px;}
.content-section h2{margin:0 0 16px;font-family:Georgia,serif;color:var(--sub-accent);font-size:28px;line-height:1.2;font-weight:400;}
.content-section p,.content-section li{font-size:17px;line-height:1.62;}
.content-section p{margin:0 0 16px;}
.intro-line{font-weight:700;}
.toc-list{margin:0;padding-left:24px;}
.toc-list li{margin:0 0 16px;}
.sub-buttons{text-align:left;margin:30px 0 4px;}
.sub-btn,.buy-btn{display:inline-block;min-width:230px;padding:12px 24px;border-radius:8px;background:var(--sub-accent);color:#fff!important;font-family:Georgia,serif;font-size:16px;line-height:1.2;text-align:left;text-decoration:none!important;box-shadow:var(--sub-button-shadow);transition:background .18s ease, transform .18s ease;box-sizing:border-box;}
.sub-btn:hover,.buy-btn:hover{background:#126e49;transform:translateY(-1px);}
.author-section{display:none;}
body.has-author-section .author-section{display:block;}
.footer{text-align:center;padding:22px 14px 26px;background:#fff;color:#777;font-family:Georgia,serif;}
.footer .links,.footer .copyright,.footer .links a,.footer .links span{font-size:12px;color:#777!important;text-decoration:none;}
.footer .links span{margin:0 8px;}
@media(max-width:760px){
  .sub-header{min-height:250px;}
  .sub-header h1{font-size:29px;}
  .sub-tagline{font-size:18px;}
  .sub-main{margin-top:34px;padding:0 18px;}
  .book-hero-card{grid-template-columns:1fr;gap:18px;padding:24px 22px;}
  .book-cover-wrap{min-height:auto;}
  .book-cover{width:190px;}
  .book-info{text-align:center;}
  .book-info h2{font-size:28px;}
  .book-subtitle{font-size:20px;}
  .book-info .sub-buttons{margin-top:24px;padding-top:0;text-align:left;}
  .content-section{padding:23px 22px;}
  .sub-btn,.buy-btn{width:100%;min-width:0;text-align:center;}
}

/* SUBPAGE-CLEAN-V2: Print und eBook bekommen unterschiedliche Cover-Kacheln.
   Print braucht weniger Luft, weil kein eBook-Icon am Bild haengt. */
body.book-format-print .book-cover-wrap{
  padding:14px;
  min-height:280px;
}
body.book-format-print .book-cover{
  width:220px;
}
body.book-format-ebook .book-cover-wrap{
  padding:24px;
  min-height:310px;
}
body.book-format-ebook .book-cover{
  width:200px;
}
@media(max-width:760px){
  body.book-format-print .book-cover-wrap{padding:14px;min-height:auto;}
  body.book-format-print .book-cover{width:210px;}
  body.book-format-ebook .book-cover-wrap{padding:22px;min-height:auto;}
  body.book-format-ebook .book-cover{width:190px;}
}
