/* TG Vault v149 — Contrast & Flow Audit Patch
   Ziel: Lesbarkeit, weichere Farbuebergaenge, 404-CSS abfangen. Keine Dateien werden geloescht. */
:root{
  --tgv149-bordeaux:#5B1E2D;
  --tgv149-bordeaux-2:#7A3146;
  --tgv149-deep:#161311;
  --tgv149-espresso:#24130f;
  --tgv149-cream:#F4EBDD;
  --tgv149-paper:#FFF8ED;
  --tgv149-gold:#D4B06A;
  --tgv149-text:#2D1A16;
  --tgv149-muted:#604A3F;
}

/* Grundhintergrund: keine harten Streifen zwischen Creme, Bordeaux und Footer. */
html body.premium-theme{
  background-color:var(--tgv149-deep)!important;
}
html body.premium-theme:not(.vault-page){
  background-image:
    radial-gradient(circle at 12% 8%,rgba(212,176,106,.13),transparent 30%),
    radial-gradient(circle at 92% 20%,rgba(91,30,45,.14),transparent 38%),
    linear-gradient(180deg,#F8F0E4 0%,#F4EBDD 38%,#E7D2C2 58%,#A85F72 76%,#5B1E2D 88%,#161311 100%)!important;
  background-attachment:fixed!important;
}
html body.home-page{
  background-image:
    radial-gradient(circle at 48% 0%,rgba(212,176,106,.16),transparent 24%),
    radial-gradient(circle at 18% 18%,rgba(91,30,45,.34),transparent 38%),
    linear-gradient(180deg,#270A12 0%,#3A101B 44%,#6F3042 72%,#5B1E2D 86%,#161311 100%)!important;
}

/* Startseite: Hero und darunterliegende Karten sollen nicht wie getrennte harte Bloecke wirken. */
body.home-page .tgv5-hero{
  min-height:clamp(680px,92vh,860px)!important;
  padding-top:clamp(118px,14vh,164px)!important;
  padding-bottom:clamp(74px,10vh,120px)!important;
  background:
    linear-gradient(180deg,rgba(31,9,16,.78) 0%,rgba(49,14,24,.70) 48%,rgba(55,16,27,.92) 100%),
    url('/assets/header-japan-v11.webp') center top/cover no-repeat!important;
}
body.home-page .tgv5-hero::after,
body.home-page .tgv5-signature-strip::before{
  content:""!important;
  position:absolute!important;
  left:0!important;right:0!important;bottom:-1px!important;height:180px!important;
  pointer-events:none!important;
  background:linear-gradient(180deg,rgba(55,16,27,0),rgba(55,16,27,.70) 55%,rgba(55,16,27,.96) 100%)!important;
  z-index:0!important;
}
body.home-page .tgv5-hero-inner,
body.home-page .tgv5-signature-item{position:relative!important;z-index:2!important;}
body.home-page .tgv5-signature-strip{
  position:relative!important;
  margin-top:-42px!important;
  padding-top:22px!important;
  background:transparent!important;
  border:0!important;
}
body.home-page .tgv5-signature-item{
  color:#2B1913!important;
  background:linear-gradient(155deg,rgba(255,248,237,.96),rgba(236,219,195,.91))!important;
  border:1px solid rgba(91,30,45,.14)!important;
  box-shadow:0 20px 54px rgba(22,10,10,.14)!important;
}
body.home-page .tgv5-signature-item strong{color:#2B1913!important;}
body.home-page .tgv5-signature-item p{color:#5D463A!important;font-weight:650!important;}

/* Helle Contentkarten: Text immer dunkel genug. */
body.premium-theme .subpage-content,
body.premium-theme .custom-intro,
body.premium-theme .custom-notice,
body.premium-theme .custom-feat,
body.premium-theme .custom-for-tag,
body.premium-theme .custom-cta-box,
body.home-page .tgv5-boutique-intro,
body.home-page .tgv7-editorial-grid,
body.home-page .vault-legal-box,
body.home-page #about-section,
body.home-page .home-blog-showcase,
body.blog-page .blog-card,
body.blog-page .post-card,
body.faq-page .faq-category,
body.faq-page .faq-item{
  color:var(--tgv149-text)!important;
}
body.premium-theme .subpage-content p,
body.premium-theme .subpage-content li,
body.premium-theme .custom-intro p,
body.premium-theme .custom-notice li,
body.premium-theme .custom-feat-desc,
body.premium-theme .custom-for-tag,
body.premium-theme .custom-cta-box p,
body.home-page .tgv5-boutique-intro p,
body.home-page .tgv7-editorial-grid p,
body.home-page .vault-legal-box p{
  color:var(--tgv149-muted)!important;
  font-weight:650!important;
}
body.premium-theme .subpage-content strong,
body.premium-theme .custom-intro strong,
body.premium-theme .custom-cta-box strong,
body.home-page .vault-legal-box strong{
  color:#1D0E0B!important;
  font-weight:950!important;
}

/* Custom-Cards-Seite: genau die dunklen Boxen aus den Screenshots wieder lesbar machen. */
body.premium-theme .tgv-vaultdrops-inline-cta,
body.premium-theme .blog-vaultdrops-cta{
  background:
    radial-gradient(circle at 14% 0%,rgba(212,176,106,.16),transparent 30%),
    linear-gradient(135deg,rgba(91,30,45,.98),rgba(35,10,18,.96) 68%,rgba(22,19,17,.98))!important;
  border:1px solid rgba(212,176,106,.30)!important;
  box-shadow:0 26px 72px rgba(35,10,18,.22), inset 0 1px 0 rgba(255,255,255,.08)!important;
}
body.premium-theme .tgv-vaultdrops-inline-cta strong,
body.premium-theme .blog-vaultdrops-cta strong{
  color:#FFF7E8!important;
  text-shadow:0 1px 0 rgba(0,0,0,.22)!important;
}
body.premium-theme .tgv-vaultdrops-inline-cta p,
body.premium-theme .blog-vaultdrops-cta p{
  color:#F0DDBF!important;
  font-weight:650!important;
}
body.premium-theme .custom-why{
  background:
    radial-gradient(circle at 14% 8%,rgba(212,176,106,.16),transparent 30%),
    linear-gradient(135deg,#120B0A 0%,#251018 56%,#391523 100%)!important;
  border:1px solid rgba(212,176,106,.26)!important;
  box-shadow:0 24px 72px rgba(22,8,12,.24)!important;
  color:#F4EBDD!important;
}
body.premium-theme .custom-why h3{color:#FFF4DF!important;}
body.premium-theme .custom-why h3 span{color:var(--tgv149-gold)!important;}
body.premium-theme .custom-why li,
body.premium-theme .custom-why-list li{
  color:#EEDABD!important;
  font-weight:800!important;
}
body.premium-theme .custom-why-list li::before{color:var(--tgv149-gold)!important;}
body.premium-theme .custom-notice h3{color:#7B2034!important;}
body.premium-theme .custom-notice-list li{color:#24150F!important;font-weight:900!important;}
body.premium-theme .custom-cta-box{
  background:linear-gradient(145deg,rgba(255,248,237,.97),rgba(238,222,199,.94))!important;
  border:1px solid rgba(91,30,45,.15)!important;
  box-shadow:0 22px 54px rgba(22,10,10,.10)!important;
}
body.premium-theme .custom-cta-box .btn-primary,
body.premium-theme .tgv-vaultdrops-inline-cta a{
  background:linear-gradient(135deg,#7B2034,#A93A58)!important;
  color:#FFF8ED!important;
  border:1px solid rgba(212,176,106,.22)!important;
}

/* Vault Drops: fehlende v110/v114-Regeln werden durch diese Datei ebenfalls abgefedert. */
body.vault-page{
  background:
    radial-gradient(circle at 16% 9%,rgba(212,176,106,.14),transparent 30%),
    radial-gradient(circle at 90% 18%,rgba(91,30,45,.08),transparent 34%),
    linear-gradient(180deg,#F8F0E4 0%,#F4EBDD 64%,#EAD8C8 84%,#6F3042 100%)!important;
}
body.vault-page .vault-hero,
body.vault-page .vault-toolbar,
body.vault-page .vault-filter-panel{
  color:#2D1A16!important;
}
body.vault-page .vault-hero p,
body.vault-page .vault-group-head p,
body.vault-page .vault-subgroup-title small{
  color:#604A3F!important;
  font-weight:650!important;
}
body.vault-page #vault-products .vault-card-body h3{color:#FFF8E8!important;}
body.vault-page #vault-products .vault-sub,
body.vault-page #vault-products .vault-card-body p{color:rgba(255,244,223,.72)!important;}

/* Footer: weicher Uebergang statt harter Balken. */
body.premium-theme .tgv-footer-v72{
  overflow:visible!important;
  position:relative!important;
  isolation:isolate!important;
  margin-top:0!important;
  background:
    radial-gradient(circle at 18% 0%,rgba(212,176,106,.14),transparent 32%),
    radial-gradient(circle at 86% 16%,rgba(141,58,76,.25),transparent 38%),
    linear-gradient(180deg,#5B1E2D 0%,#3E2029 38%,#211819 72%,#161311 100%)!important;
  border-top:1px solid rgba(212,176,106,.14)!important;
}
body.premium-theme .tgv-footer-v72::before{
  content:""!important;
  position:absolute!important;
  left:0!important;right:0!important;top:-150px!important;height:150px!important;
  display:block!important;
  pointer-events:none!important;
  z-index:-1!important;
  background:linear-gradient(180deg,rgba(91,30,45,0) 0%,rgba(91,30,45,.38) 45%,rgba(91,30,45,.95) 100%)!important;
}
body.premium-theme .tgv-footer-v72 a,
body.premium-theme .tgv-footer-v72 p,
body.premium-theme .tgv-footer-v72 li,
body.premium-theme .tgv-footer-v72 .footer-copy,
body.premium-theme .tgv-footer-v72 .footer-disclaimer{
  color:#EEDDC5!important;
}
body.premium-theme .tgv-footer-v72 h3,
body.premium-theme .tgv-footer-v72 .footer-links-title{
  color:#F2D891!important;
}
body.premium-theme .tgv-footer-v72 a:hover{color:#FFF8ED!important;}

/* Kleine Screens: weniger Abstand, weniger harte Flaechen. */
@media(max-width:760px){
  body.home-page .tgv5-hero{min-height:auto!important;padding-top:126px!important;padding-bottom:70px!important;}
  body.home-page .tgv5-signature-strip{margin-top:-18px!important;padding-left:14px!important;padding-right:14px!important;}
  body.premium-theme .subpage-content{margin-left:14px!important;margin-right:14px!important;}
  body.premium-theme .tgv-vaultdrops-inline-cta{padding:18px!important;border-radius:22px!important;}
}
