/*
Theme Name: meinBoulevard Wahrsagen
Theme URI: https://meinboulevard.de/
Author: Bitkurier GmbH
Description: Responsives, vollständig editierbares Landingpage-Theme für meinBoulevard.
Version: 2.4.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: meinboulevard-wahrsagen
*/

:root{--cream:#fbf6ef;--cream2:#f8eee4;--ink:#17131b;--muted:#6b6265;--purple:#430d1b;--purple2:#701b2d;--gold:#d58a09;--gold2:#efb538;--green:#b70828;--green2:#ef2c46;--line:#ead9c8;--shadow:0 12px 36px rgba(61,31,68,.15)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:linear-gradient(180deg,#f3edf1,#faf8f5);color:var(--ink);font-family:"DM Sans",Arial,sans-serif}

.page-shell{width:min(100% - 28px,1280px);margin:6px auto 34px;background:var(--cream);border-radius:16px;overflow:hidden;box-shadow:var(--shadow)}
a{color:inherit;text-decoration:none}

.site-header{height:82px;padding:0 48px;display:flex;align-items:center;gap:36px;background:#fffaf4;border-bottom:1px solid #efe4d6}
.brand{display:flex;align-items:center;gap:10px;font-family:"Libre Baskerville",serif;font-size:26px;white-space:nowrap}
.brand strong{font-weight:700}.brand em{font-style:normal;color:#bd760b}
.brand-mark{font-size:38px;line-height:1;color:#cf8708}

.desktop-nav{margin-left:auto;display:flex;gap:42px;font-weight:700}
.desktop-nav a:hover{color:var(--green)}

.cta{display:inline-flex;align-items:center;justify-content:center;gap:9px;background:linear-gradient(180deg,var(--green2),var(--green));color:#fff;font-weight:700;border-radius:7px;padding:14px 25px;box-shadow:0 7px 16px rgba(4,128,92,.22)}
.cta:hover{filter:brightness(1.04)}
.cta-header{margin-left:20px}

.menu-toggle{display:none;margin-left:auto;background:none;border:0;font-size:28px}

.hero{position:relative;min-height:585px;padding:52px 48px 34px;display:block;color:#fff;background-color:#430d1b;background-image:url("assets/hero-wahrsagen.jpg"),radial-gradient(circle at 72% 38%,#651124 0,#420b18 47%,#28070f 100%);background-repeat:no-repeat,no-repeat;background-position:right center,center;background-size:auto 100%,cover;overflow:hidden}
/* A transparent overlay softly blends the crystal-ball image into the dark
   left-side hero background. It also works when a custom hero image is set. */
.hero::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  background:linear-gradient(90deg,
    #350713 0%,
    rgba(53,7,19,.99) 21%,
    rgba(53,7,19,.93) 30%,
    rgba(53,7,19,.77) 39%,
    rgba(53,7,19,.44) 51%,
    rgba(53,7,19,.12) 64%,
    rgba(53,7,19,0) 76%);
}
.hero-copy{position:relative;z-index:2;width:47%;max-width:545px}

.eyebrow,.section-kicker{color:var(--gold2);font-size:13px;font-weight:800;letter-spacing:.04em}

.hero h1{font-family:"Libre Baskerville",serif;font-size:48px;line-height:1.28;margin:24px 0 18px}

.hero h1 span{color:var(--gold2)}
.hero-text{max-width:470px;line-height:1.55; font-size: 17px}
.hero-action-row{display:flex;align-items:center;gap:24px;margin-top:30px}

.social-proof{display:flex;align-items:center;gap:14px;font-size:14px}

.avatar-stack{display:flex}
.avatar-stack img{width:42px;height:42px;border-radius:50%;object-fit:cover;border:3px solid #fff;margin-left:-10px}
.avatar-stack img:first-child{margin-left:0}

.hero-trust{display:flex;gap:42px;margin-top:34px;color:#f7f1fa;font-size:14px}
.hero-trust span::first-letter{color:#10bf89}

.section-pad{padding:22px 36px 30px}

.features{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;background:linear-gradient(180deg,#fffaf5,#fbf2e9)}
.feature-card{min-height:142px;border:1px solid var(--line);border-radius:8px;background:rgba(255,255,255,.44);display:flex;gap:16px;padding:22px;align-items:flex-start}
.feature-card h3{margin:3px 0 10px;font-size:16px}
.feature-card p{margin:0;color:#3c3438;line-height:1.55;font-size:15px}
.feature-icon{width:48px;height:48px;flex:0 0 auto;border-radius:50%;display:grid;place-items:center}
.feature-icon svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.feature-icon.green{background:#e2f3e9;color:#087b57}
.feature-icon.gold{background:#fbecd7;color:#d08408}

.steps{text-align:center;background:#fffaf5;padding-top:26px;padding-bottom:34px}
.steps h2,.section-title-row h2,.lined-title,.video-copy h2{font-family:"Libre Baskerville",serif}
.steps h2{font-size:30px;margin:8px 0 24px}.step-grid{display:grid;grid-template-columns:repeat(3,1fr);position:relative}
.step-grid:before{content:"";position:absolute;top:18px;left:15%;right:15%;height:1px;background:#d2a250}
.step-grid article{position:relative;z-index:2}
.step-grid article>span{display:grid;place-items:center;margin:0 auto 12px;width:38px;height:38px;border-radius:50%;background:var(--purple);color:#f6bb28;font-weight:800}
.step-grid h3{font-size:18px;margin:0 0 8px}
.step-grid p{font-size:16px;line-height:1.45;color:#443b40}
.center-cta{margin-top:24px}
.advisors{background:#fbf2e8}

.section-title-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.section-title-row h2{font-size:23px;margin:0}
.section-title-row small,.section-title-row>a{font-family:"DM Sans",sans-serif;color:#c77907;font-size:14px}
.advisor-carousel{position:relative}.advisor-viewport{overflow:hidden}
.advisor-grid{display:flex;gap:12px;transition:transform .45s cubic-bezier(.22,.61,.36,1);will-change:transform}
.advisor-card{flex:0 0 calc((100% - 36px)/4)}

.advisor-arrow{position:absolute;top:50%;z-index:5;width:40px;height:40px;border:0;border-radius:50%;background:#fffaf6;color:#8b001c;font-family:Arial,sans-serif;font-size:42px;line-height:36px;box-shadow:0 3px 12px rgba(45,22,29,.18);cursor:pointer;transform:translateY(-50%);display:grid;place-items:center;padding:0}
.advisor-prev{left:-30px}
.advisor-next{right:-30px}
.advisor-arrow:hover{background:#fff;color:#b10b2b}
.advisor-arrow:disabled{opacity:.3;cursor:default}
.carousel-dots{display:flex;justify-content:center;gap:4px;margin-top:14px}
.carousel-dots button{width:8px;height:8px;border:0;border-radius:50%;padding:0;background:#e2d1bd;cursor:pointer}
.carousel-dots button.active{background:#db8e0d}
.carousel-dots button:focus-visible,.advisor-arrow:focus-visible{outline:2px solid #0a8f67;outline-offset:3px}

.advisor-card{background:#fffaf6;border:1px solid var(--line);border-radius:8px;padding:14px}
.advisor-top{display:flex;gap:12px;align-items:center}
.advisor-top img{width:65px;height:65px;border-radius:50%;object-fit:cover}
.advisor-card h3{margin:0 0 6px;font-family:"Libre Baskerville",serif;font-size:16px}
.advisor-card p{margin:0;font-size:14px;line-height:1.9}

.rating-row{display:flex;justify-content:space-between;gap:8px;margin:16px 0 12px;font-size:12px}
.rating-row span{color:#2a2022}
.rating-row span:first-letter{color:#d98b0b}
.rating-row em{font-style:normal;color:#be720a}

.advisor-actions{display:flex;gap:10px}
.advisor-actions a{flex:1;text-align:center;border:1px solid var(--line);border-radius:5px;padding:8px 4px;font-size:13px;font-weight:700;background:#fff}
.advisor-actions .call{background:linear-gradient(#eba81b,#c98008);color:#fff;border-color:#c98008; font-size: 13px}

.advisor-bg{padding: 3px; background-color: #fbf2e8;}

.video-promo{display:grid;grid-template-columns:1.15fr 1.25fr auto;align-items:center;gap:30px;padding:18px 46px;background:linear-gradient(90deg,#f5e7dd,#f4e8f4)}
.video-image{position:relative}
.video-image img{width:100%;height:210px;object-fit:cover;border-radius:4px}
.new-badge{position:absolute;right:-18px;top:10px;width:58px;height:58px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(#efb72f,#d18b06);color:#fff;font-weight:800}.video-copy h2{font-size:22px;margin:0 0 10px}
.video-copy p,.video-copy li{font-size:15px}.video-copy ul{list-style:none;padding:0;margin:12px 0 0}.video-copy li:before{content:"✓";color:#d8880a;margin-right:8px;font-weight:900}.video-cta{align-self:end;margin-bottom:18px;white-space:nowrap}.trust,.reviews,.faq{background:#fffaf5}.lined-title{display:flex;align-items:center;gap:16px;font-size:21px;text-align:center;margin:0 0 24px}.lined-title:before,.lined-title:after{content:"";height:1px;background:#d6a95e;flex:1}.lined-title span{white-space:nowrap}.trust-grid{display:grid;grid-template-columns:repeat(4,1fr)}.trust-grid article{text-align:center;border-right:1px solid #eadfce}.trust-grid article:last-child{border-right:0}.trust-grid span{display:grid;place-items:center;margin:0 auto 8px;width:47px;height:47px;border-radius:50%;border:1px solid #ead7b8;color:#d48208;font-size:24px}

.trust-grid h3{font-size:16px;margin:0}
.trust-grid p{font-size:14px;margin:2px 0}.reviews{padding-top:4px;background:#fdf7f1}
.review-summary{text-align:center;margin:-6px 0 18px;font-size:16px}
.review-summary strong{font-size: 16px}
.review-summary span{color:#d78909;letter-spacing:3px;margin-left:8px}
.review-summary small{display:block;color:#4f4547;font-size:14px}
.review-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.review-grid article{background:#fffaf6;border:1px solid var(--line);border-radius:7px;padding:16px}

.stars{color:#d88608;letter-spacing:3px}
.review-grid p{font-size:14px;line-height:1.45;min-height:58px}
.reviewer{display:flex;align-items:center;gap:10px}.reviewer img{width:32px;height:32px;border-radius:50%;object-fit:cover}
.reviewer strong,.reviewer small{display:block;font-size:13px}
.faq{padding-top:4px}.faq-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px 18px}.faq details{border:1px solid var(--line);background:#fffaf6;border-radius:5px;padding:0 12px}

.faq summary{cursor:pointer;list-style:none;font-size:14px;font-weight:700;padding:8px 0}.faq summary::-webkit-details-marker{display:none}.faq summary:after{content:"⌄";float:right;color:#c77a08}
.faq details[open] summary:after{content:"⌃"}
.faq details p{font-size:14px;line-height:1.5;color:#554b50}.site-footer{min-height:72px;background:#28143c;color:#fff;display:flex;align-items:center;padding:0 46px;gap:38px}.footer-brand{font-size:19px;margin-right:auto}.footer-brand .brand-mark{font-size:28px}.site-footer nav{display:flex;gap:34px;font-size:12px}.socials{display:flex;gap:18px}.sticky-mobile-cta{display:none}.menu-toggle{color:#24133a}

@media(max-width:900px){.page-shell{width:100%;margin:0;border-radius:0}.site-header{height:70px;padding:0 18px;gap:16px}.brand{font-size:20px}.brand-mark{font-size:30px}.desktop-nav{display:none}.cta-header{display:none}.menu-toggle{display:block}.hero{padding:30px 20px 24px;min-height:650px;background-position:center 78px,center;background-size:auto 48%,cover}.hero h1{font-size:38px;line-height:1.2}.hero-copy{text-align:left;width:100%;max-width:none;padding-top:260px}.hero-action-row{flex-wrap:wrap}.hero-trust{gap:16px;justify-content:space-between}.features{grid-template-columns:repeat(2,1fr);padding:14px}.step-grid{gap:12px}.advisor-card{flex-basis:calc((100% - 12px)/2)}.advisor-prev{left:-10px}.advisor-next{right:-10px}.video-promo{grid-template-columns:1fr;padding:20px}.video-cta{justify-self:start}.trust-grid{grid-template-columns:repeat(2,1fr);gap:20px}.trust-grid article:nth-child(2){border-right:0}.review-grid{grid-template-columns:1fr}.faq-grid{grid-template-columns:1fr}.site-footer{flex-wrap:wrap;padding:24px 20px 110px}.site-footer nav{order:3;width:100%;flex-wrap:wrap}.sticky-mobile-cta{position:fixed;z-index:100;display:flex;left:10px;right:10px;bottom:calc(8px + env(safe-area-inset-bottom));min-height:64px;border-radius:13px;background:linear-gradient(180deg,#08a875,#057f5c);color:#fff;align-items:center;justify-content:center;gap:8px;font-size:18px;font-weight:800;box-shadow:0 10px 28px rgba(0,0,0,.28)}.sticky-mobile-cta small{display:block;position:absolute;bottom:5px;font-size:10px;font-weight:500}.sticky-mobile-cta{padding-bottom:14px}}
@media(max-width:560px){.hero{padding-top:22px;min-height:0;background-position:center 32px,center;background-size:auto 245px,cover}.hero-copy{padding-top:250px}.hero h1{font-size:31px}.eyebrow{font-size:11px}

  .hero-text{font-size:14px}.hero-action-row .cta{width:100%}.social-proof{width:100%}.hero-trust{display:grid;grid-template-columns:repeat(3,1fr);font-size:11px}.features{grid-template-columns:1fr}.feature-card{min-height:0}.steps{padding:24px 14px}.steps h2{font-size:24px}.step-grid{grid-template-columns:1fr}.step-grid:before{display:none}.step-grid article{margin-bottom:20px}.section-title-row{align-items:flex-start}.section-title-row h2{font-size:20px}.section-title-row>a{margin-top:4px}.advisor-card{flex-basis:100%}.advisor-arrow{width:36px;height:36px;font-size:36px}.advisor-prev{left:-8px}.advisor-next{right:-8px}.video-promo{padding:14px}.video-copy h2{font-size:20px}.trust{padding-inline:14px}.trust-grid{grid-template-columns:1fr 1fr}.reviews,.faq{padding-inline:14px}.lined-title{font-size:19px}.site-footer{gap:18px}.site-footer nav{gap:18px}.footer-brand{width:100%}}
@media(max-width:900px){.desktop-nav.mobile-open{display:flex;position:absolute;z-index:50;top:70px;left:0;right:0;padding:18px 22px;background:#fffaf4;flex-direction:column;gap:16px;border-bottom:1px solid var(--line);box-shadow:0 8px 20px rgba(0,0,0,.12)}}

/* v6: exact trust icons and mobile menu close control */
.trust-grid .trust-icon{font-size:0}
.trust-grid .trust-icon svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.menu-toggle{position:relative;width:44px;height:44px;padding:0;border:0;background:transparent;cursor:pointer;display:none;align-items:center;justify-content:center}
.menu-icon,.menu-icon::before,.menu-icon::after{display:block;position:absolute;width:25px;height:2px;border-radius:3px;background:#24133a;transition:transform .22s ease,top .22s ease,opacity .18s ease}
.menu-icon{top:21px}
.menu-icon::before,.menu-icon::after{content:"";left:0}
.menu-icon::before{top:-8px}
.menu-icon::after{top:8px}
.menu-toggle[aria-expanded="true"] .menu-icon{background:transparent}
.menu-toggle[aria-expanded="true"] .menu-icon::before{top:0;transform:rotate(45deg)}
.menu-toggle[aria-expanded="true"] .menu-icon::after{top:0;transform:rotate(-45deg)}
.menu-toggle[aria-expanded="true"]{border:1.5px solid #d78309;border-radius:0}
@media(max-width:900px){.menu-toggle{display:flex;z-index:70}.desktop-nav.mobile-open{z-index:60}}

/* v13: extended footer and delayed mobile sticky CTA */
.site-footer{
  min-height:0;
  display:block;
  padding:0;
  background:#2c2234;
  color:#d5cbd9;
}
.footer-main{
  display:grid;
  grid-template-columns:1.35fr 1fr .9fr;
  gap:54px;
  padding:44px 62px 38px;
}
.footer-about,.footer-contact,.footer-legal{min-width:0}
.footer-brand{
  display:inline-flex;
  margin:0 0 14px;
  color:#fff;
  font-size:20px;
}
.footer-brand em{color:#e7b641}
.footer-about p,
.footer-contact p{
  margin:0 0 8px;
  font-size:14px;
  line-height:1.55;
  color:#aa9eae;
}
.footer-contact h3,
.footer-legal h3{
  margin:0 0 12px;
  font:700 12px/1.2 "DM Sans",sans-serif;
  letter-spacing:.04em;
  color:#d8bd92;
}
.footer-contact strong{color:#fff}
.footer-contact span{color:#c4b8c7}
.site-footer .footer-legal nav{
  display:flex;
  flex-direction:column;
  gap:10px;
  font-size:14px;
}
.site-footer .footer-legal nav a{color:#c7bacb}
.site-footer .footer-legal nav a:hover{color:#fff}
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.09);
  padding:16px 24px 20px;
  text-align:center;
  font-size:12px;
  color:#827787;
}

@media(max-width:900px){
  .footer-main{
    grid-template-columns:1fr 1fr;
    gap:28px 34px;
    padding:32px 22px 110px;
  }
  .footer-about{grid-column:1/-1}
  .site-footer .footer-legal nav{width:auto;gap:9px}
  .sticky-mobile-cta{
    opacity:0;
    visibility:hidden;
    transform:translateY(calc(100% + 24px));
    pointer-events:none;
    transition:opacity .25s ease,transform .25s ease,visibility .25s ease;
  }
  .sticky-mobile-cta.is-visible{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
    pointer-events:auto;
  }
}
@media(max-width:560px){
  .footer-main{grid-template-columns:1fr;padding:30px 20px 106px}
  .footer-about{grid-column:auto}
}

/* v16: unified logo image in header and footer */
.brand-logo{
  display:block;
  width:auto;
  height:52px;
  max-width:100%;
  object-fit:contain;
}
.site-header .brand{
  gap:0;
  line-height:0;
}
.footer-brand{
  line-height:0;
}
.footer-logo{
  height:50px;
}
@media(max-width:900px){
  .brand-logo{height:38px}
  .footer-logo{height:36px}
}
@media(max-width:480px){
  .brand-logo{height:40px}
  .footer-logo{height:40px}
}

/* Wahrsagen palette: original layout retained */
:root{--green:#ad0927;--green2:#ea2946;--purple:#430d1b;--purple2:#731e32;--line:#eacdd0;--shadow:0 12px 36px rgba(78,13,29,.14)}
body{background:linear-gradient(180deg,#f8eef0,#fff9f4)}
.hero{background-color:#430d1b;background-position:right center,center}
.cta,.sticky-mobile-cta{background:linear-gradient(180deg,var(--green2),var(--green));box-shadow:0 8px 22px rgba(157,13,42,.23)}
.cta:hover,.sticky-mobile-cta:hover{filter:brightness(1.1)}
.feature-icon.green{background:#fde9ec;color:#bd1236}
.hero-trust span::first-letter{color:#f5c57c}
.site-footer{background:#330b1a}
.step-grid article>span{background:#571528}
@media(max-width:900px){.sticky-mobile-cta{background:linear-gradient(180deg,#e62c45,#a80829)}}

/* Wahrsagen v2.1: blend mobile hero picture vertically into the text area. */
@media (max-width:900px) {
  .hero::before {
    background:linear-gradient(180deg,
      rgba(53,7,19,0) 0px,
      rgba(53,7,19,0) 115px,
      rgba(53,7,19,.40) 215px,
      #430d1b 315px);
  }
  /* The mobile sticky CTA shares the red palette of all other CTA buttons. */
  .sticky-mobile-cta {
    background:linear-gradient(180deg,var(--green2),var(--green));
  }
}
