/*
Theme Name: Praxis Purohit
Theme URI: https://praxis-purohit.de
Author: Serversites
Version: 1.0
Description: Custom theme for Dr. Preeti Purohit – Culture Sensitive Counseling
License: Proprietary
Text Domain: praxis-purohit
*/

/* Reset WP default margins */
.wp-site-blocks, .entry-content { all: unset; }


:root{
  --navy:#264674;
  --yellow:#F4D35D;
  --orange:#F29021;
  --cream:#FDF3DD;
  --green:#99BC2B;
  --olive:#5B7629;
  --text:#1b1f23;

  --radius:18px;
  --shadow:0 12px 28px rgba(0,0,0,.10);
  --shadow-soft:0 10px 24px rgba(0,0,0,.08);
  --max:1120px;
}
*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
html, body{ overflow-x:hidden; }
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:#fff;
  line-height:1.55;
  position:relative;
}

body::before{
  content:"";
  position:fixed;
  inset:-120px;
  z-index:-1;
  pointer-events:none;
  background:
    radial-gradient(620px 520px at 14% 10%, rgba(244,211,93,.78), rgba(244,211,93,0) 70%),
    radial-gradient(760px 600px at 90% 6%, rgba(153,188,43,.35), rgba(153,188,43,0) 68%),
    radial-gradient(760px 620px at 92% 34%, rgba(242,144,33,.22), rgba(242,144,33,0) 72%),
    radial-gradient(740px 620px at 18% 38%, rgba(253,243,221,.95), rgba(253,243,221,0) 70%),
    radial-gradient(900px 760px at 60% 74%, rgba(38,70,116,.10), rgba(38,70,116,0) 72%),
    radial-gradient(760px 620px at 8% 86%, rgba(242,144,33,.12), rgba(242,144,33,0) 72%);
  filter: blur(10px);
}
a{ color:inherit; text-decoration:none; }
a:hover{ color:var(--navy); }
.container{ max-width:var(--max); margin:0 auto; padding:0 20px; }

/* Header: separated */
header.site-header{
  position:sticky; top:0; z-index:30;
  background: linear-gradient(180deg, #f3f5f7, #ffffff);
  border-bottom:1px solid rgba(0,0,0,.08);
  box-shadow: 0 10px 22px rgba(0,0,0,.08);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 0; gap:14px;
}
.brand{ display:flex; align-items:center; gap:12px; min-width:260px; }
.brand img{ width:44px; height:44px; object-fit:contain; }
.brand .name{ display:flex; flex-direction:column; gap:2px; }
.brand .name strong{ font-size:15px; letter-spacing:.2px; }
.brand .name span{ font-size:12px; color:rgba(27,31,35,.72); }

/* Dropdown nav */
nav.main-nav{ display:flex; align-items:center; gap:10px; }
nav.main-nav > ul{ display:flex; align-items:center; gap:10px; margin:0; padding:0; list-style:none; }
nav.main-nav a{
  font-size:14px;
  padding:8px 10px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  gap:6px;
}
nav.main-nav a:hover{ background:rgba(38,70,116,.08); }
.nav-item{ position:relative; }
.nav-item .chev{ font-size:12px; opacity:.7; }
.submenu{
  position:absolute; top:42px; left:0;
  min-width:280px;
  background:#fff;
  border:1px solid rgba(0,0,0,.08);
  border-radius:18px;
  box-shadow: var(--shadow);
  padding:8px;
  display:none; z-index:40;
}
.submenu a{ display:block; border-radius:14px; padding:10px 10px; font-size:14px; }
.submenu a:hover{ background:rgba(253,243,221,.70); }
.nav-item:hover .submenu{ display:block; }

.lang-switch{
  display:flex; align-items:center; gap:6px;
  border:1px solid rgba(0,0,0,.12);
  border-radius:999px;
  padding:4px;
  background:#fff;
}
.lang-switch a{
  font-size:13px;
  padding:6px 10px;
  border-radius:999px;
  color:rgba(27,31,35,.75);
}
.lang-switch a.active{ background:var(--navy); color:#fff; }
.mobile-btn{ display:none; border:1px solid rgba(0,0,0,.12); background:#fff; border-radius:12px; padding:8px 10px; }

/* Hero with blobs */
.hero{
  position:relative;
  overflow:visible;
  background: linear-gradient(180deg, rgba(253,243,221,.78), rgba(255,255,255,1));
}
.hero::before{
  content:"";
  position:absolute;
  width:640px; height:440px;
  left:-170px; top:-140px;
  background: radial-gradient(circle at 30% 30%, rgba(244,211,93,.95), rgba(244,211,93,.0) 70%);
  filter: blur(10px);
  transform: rotate(-12deg);
}
.hero::after{
  content:"";
  position:absolute;
  width:680px; height:540px;
  right:-260px; top:-170px;
  background: radial-gradient(circle at 40% 40%, rgba(153,188,43,.44), rgba(153,188,43,0) 65%);
  transform: rotate(10deg);
}

/* Gentle repeats */
.soft-repeat{
  position:relative;
  overflow:visible;
  background: transparent;
}
.soft-repeat::before,
.soft-repeat::after{
  content:"";
  position:absolute;
  border-radius:999px;
  filter: blur(10px);
  pointer-events:none;
  opacity:.55;
}
.soft-repeat::before{
  width:560px; height:420px;
  left:-240px; top:20%;
  background: radial-gradient(circle at 45% 45%, rgba(242,144,33,.12), rgba(242,144,33,0) 70%);
}
.soft-repeat::after{
  width:620px; height:520px;
  right:-280px; top:35%;
  background: radial-gradient(circle at 40% 40%, rgba(38,70,116,.08), rgba(38,70,116,0) 72%);
}

.hero-inner{
  position:relative;
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:26px;
  padding:42px 0 34px;
  align-items:center;
}
.kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:8px 12px;
  background: rgba(38,70,116,.08);
  border:1px solid rgba(38,70,116,.14);
  border-radius:999px;
  font-size:13px;
  color:var(--navy);
}
.kicker .dot{ width:10px; height:10px; border-radius:50%; background:var(--orange); }

h1{
  margin:12px 0 10px;
  font-size:42px;
  line-height:1.15;
  color:var(--navy);
  letter-spacing:-.3px;
}
.lead p{ margin:0 0 12px; font-size:16px; }

.cta-row{ display:flex; gap:12px; flex-wrap:wrap; margin-top:16px; }
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:11px 16px;
  border-radius:999px;
  font-size:14px;
  border:1px solid rgba(0,0,0,.12);
  background:#fff;
}
.btn.primary{ background:var(--navy); color:#fff; border-color:transparent; }
.btn.primary:hover{ background:var(--orange); color:#fff; }
.btn.ghost:hover{ border-color:rgba(38,70,116,.35); background:rgba(38,70,116,.05); }

.hero-card{
  background:#fff;
  border-radius:24px;
  box-shadow:var(--shadow);
  overflow:visible;
}
.hero-card img{ width:100%; height:360px; object-fit:cover; display:block; }
.hero-card .cap{
  padding:14px 16px;
  background: linear-gradient(180deg, rgba(255,255,255,1), rgba(253,243,221,.55));
  font-size:13px;
  color: rgba(27,31,35,.75);
}

section{ padding:42px 0; position:relative; }
.section-title{ display:flex; align-items:flex-end; justify-content:space-between; gap:14px; margin-bottom:18px; }
.section-title h2{ margin:0; font-size:24px; color:var(--navy); }
.section-title p{ margin:0; color:rgba(27,31,35,.70); font-size:14px; }

.grid-4{ display:grid; grid-template-columns: repeat(4, 1fr); gap:16px; }
.card{
  background:#fff;
  border-radius:var(--radius);
  box-shadow:var(--shadow-soft);
  border:1px solid rgba(0,0,0,.06);
  padding:16px 16px 14px;
  display:flex; flex-direction:column;
  min-height:340px;
}
.badge{
  display:inline-flex; align-items:center; gap:8px;
  font-size:12px; padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.10);
  width:fit-content;
  color:rgba(27,31,35,.75);
  background:rgba(253,243,221,.55);
}
.badge .leaf{
  width:10px; height:10px;
  border-radius:3px 10px 3px 10px;
  background:var(--green);
  transform: rotate(20deg);
}
.card h3{ margin:12px 0 8px; font-size:16px; color:var(--navy); line-height:1.25; }
.clamp{
  color:rgba(27,31,35,.78);
  font-size:14px;
  display:-webkit-box;
  -webkit-line-clamp: 10;
  -webkit-box-orient: vertical;
  overflow:visible;
}
.card .spacer{ flex:1; }
.card .more{
  margin-top:12px;
  font-size:13px;
  color:var(--navy);
  display:inline-flex;
  align-items:center;
  gap:8px;
}
.card .more::after{ content:"→"; font-weight:700; }

.split{ display:grid; grid-template-columns: 1fr 1fr; gap:18px; align-items:start; }
.panel{
  background:rgba(253,243,221,.74);
  border:1px solid rgba(0,0,0,.06);
  border-radius:22px;
  padding:18px;
}
.panel strong{ color:var(--navy); }
.panel p{ margin:10px 0 0; }

.photo{ border-radius:22px; overflow:hidden; box-shadow:var(--shadow); }
.photo img{ width:100%; height:360px; object-fit:cover; display:block; }

.contact-wrap{ display:grid; grid-template-columns: 1.2fr .8fr; gap:16px; }
.contact-card{
  background:#fff;
  border-radius:22px;
  box-shadow:var(--shadow-soft);
  border:1px solid rgba(0,0,0,.06);
  padding:18px;
}
.contact-card h3{ margin:0 0 10px; color:var(--navy); font-size:16px; }
.contact-card p{ margin:0 0 10px; color:rgba(27,31,35,.78); }
.kv{ margin:0; padding:0; list-style:none; }
.kv li{ padding:8px 0; border-top:1px solid rgba(0,0,0,.06); font-size:14px; color:rgba(27,31,35,.80); }
.kv li:first-child{ border-top:none; }

footer{ padding:26px 0 34px; border-top:1px solid rgba(0,0,0,.06); background:rgba(253,243,221,.55); }
.footer-inner{ display:flex; align-items:flex-start; justify-content:space-between; gap:16px; flex-wrap:wrap; }
.footer-inner small{ color:rgba(27,31,35,.72); }
.footer-links{ display:flex; gap:12px; flex-wrap:wrap; }
.footer-links a{ font-size:13px; padding:8px 10px; border-radius:999px; }
.footer-links a:hover{ background:rgba(38,70,116,.08); }

.page-hero{
  position:relative;
  overflow:visible;
  padding:30px 0 14px;
  background: linear-gradient(180deg, rgba(253,243,221,.78), rgba(255,255,255,1));
}
.page-hero h1{ font-size:34px; margin:0; }

/* Offer pages */
.accent-yellow{ --accent: var(--yellow); }
.accent-green{ --accent: var(--green); }
.accent-orange{ --accent: var(--orange); }
.accent-olive{ --accent: var(--olive); }

.offer-hero{
  position:relative;
  overflow:visible;
  padding:34px 0 18px;
  background: linear-gradient(180deg, rgba(253,243,221,.70), rgba(255,255,255,1));
}
.offer-hero::before{
  content:"";
  position:absolute;
  width:620px; height:520px;
  left:-260px; top:-170px;
  background: radial-gradient(circle at 40% 40%, color-mix(in oklab, var(--accent) 55%, white 45%), rgba(255,255,255,0) 70%);
}
.offer-hero::after{
  content:"";
  position:absolute;
  width:640px; height:520px;
  right:-300px; top:-220px;
  background: radial-gradient(circle at 40% 40%, rgba(38,70,116,.10), rgba(38,70,116,0) 70%);
}
.offer-hero h1{ margin:0; font-size:34px; color:var(--navy); }
.offer-shell{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:18px;
  align-items:start;
  padding:18px 0 10px;
}
.offer-shell .panel{ background: color-mix(in oklab, var(--accent) 18%, white 82%); }

@media (max-width: 1020px){
  .grid-4{ grid-template-columns: repeat(2, 1fr); }
  .hero-inner{ grid-template-columns: 1fr; }
  .hero-card img{ height:320px; }
  .split{ grid-template-columns: 1fr; }
  .contact-wrap{ grid-template-columns: 1fr; }
  .offer-shell{ grid-template-columns: 1fr; }
}
@media (max-width: 560px){
  h1{ font-size:34px; }
  nav.main-nav{ display:none; }
  .mobile-btn{ display:inline-flex; }
  .grid-4{ grid-template-columns: 1fr; }
}

/* mobile drawer */
.mobile-drawer{
  display:none;
  position:fixed;
  inset:70px 12px 12px 12px;
  background:#fff;
  border-radius:22px;
  box-shadow:var(--shadow);
  padding:14px;
  z-index:60;
  overflow:auto;
}
.mobile-drawer.open{ display:block; }
.mobile-drawer a{ display:block; padding:12px 12px; border-radius:14px; font-size:15px; }
.mobile-drawer a:hover{ background:rgba(38,70,116,.08); }
.mobile-drawer .subhead{
  font-size:12px;
  padding:12px 12px 6px;
  color:rgba(27,31,35,.60);
  text-transform:uppercase;
  letter-spacing:.08em;
}

/* Angebotsseiten: kompaktere Textabstände (DE & EN konsistent) */
.offer-shell .panel p{ margin:0 0 10px; }
.offer-shell .panel p:last-child{ margin-bottom:0; }
.offer-shell .panel ul{ margin:8px 0 12px 18px; }
.offer-shell .panel li{ margin:0 0 6px; }

.footer-brand{
  display:flex;
  align-items:center;
  gap:10px;
}
.footer-brand img{
  width:34px;
  height:34px;
  object-fit:contain;
}

/* Extra weiche Fläche unter den 4 Angebotskarten (keine harten Kanten) */
.topwash{ position:relative; }
.topwash::before{
  content:"";
  position:absolute;
  inset:-40px -60px -40px -60px;
  z-index:0;
  pointer-events:none;
  background:
    radial-gradient(620px 460px at 10% 30%, rgba(253,243,221,.85), rgba(253,243,221,0) 70%),
    radial-gradient(760px 560px at 92% 32%, rgba(242,144,33,.18), rgba(242,144,33,0) 72%),
    radial-gradient(760px 560px at 96% 8%, rgba(153,188,43,.22), rgba(153,188,43,0) 70%);
  filter: blur(12px);
}
.topwash .container{ position:relative; z-index:1; }


/* ===== Pilot 5: Calm background variant (smooth gradient, no blobs/circles) ===== */
body{
  background: linear-gradient(135deg,
    rgba(253,233,215,1) 0%,
    rgba(253,243,221,1) 45%,
    rgba(232,245,219,1) 100%);
}

/* Disable decorative background shapes */
body::before{ content:none !important; display:none !important; }
.hero{ background: transparent !important; }
.hero::before, .hero::after{ content:none !important; display:none !important; }
.soft-repeat{ background: transparent !important; }
.soft-repeat::before, .soft-repeat::after{ content:none !important; display:none !important; }
.topwash::before{ content:none !important; display:none !important; }
.page-hero{ background: transparent !important; }
.offer-hero{ background: transparent !important; }
.offer-hero::before, .offer-hero::after{ content:none !important; display:none !important; }

/* Keep layout but no section tinting */
section{ background: transparent; }

/* Menu: slightly bigger + bolder */
nav.main-nav a{
  font-size:15.5px;
  font-weight:700;
}
.lang-switch a{
  font-size:13.5px;
  font-weight:600;
}
/* Nav hover a touch clearer */
nav.main-nav a:hover{ background: rgba(38,70,116,.10); }


/* ===== Pilot 9: Logo-tree watermark background ===== */
html, body{ overflow-x:hidden; }
body{ position:relative; }

/* Re-enable body::before as watermark (Pilot 5 disabled it) */
body::before{
  content:"" !important;
  display:block !important;
  position:fixed;
  inset:-12%;
  pointer-events:none;
  z-index:-1;
  background-image: url("assets/Artboard 150.png");
  background-repeat:no-repeat;
  background-position: 55% 35%;
  background-size: min(1180px, 110vmin) auto;
  opacity: .075;
  filter: grayscale(100%) contrast(.9);
  transform: rotate(-7deg);
}

/* Slightly smaller watermark on small screens */
@media (max-width: 720px){
  body::before{
    background-position: 50% 22%;
    background-size: min(860px, 130vmin) auto;
    opacity: .06;
  }
}


/* ===== Pilot 11: Real header/footer logos + sticky footer + watermark confined ===== */

/* Sticky footer */
html, body{ height:100%; }
body{
  min-height:100vh;
  display:flex;
  flex-direction:column;
}
main{ flex:1 0 auto; }
footer{ margin-top:auto; }

/* Header brand graphic */
.brand{ display:flex; align-items:center; gap:0; }
.brand .brand-logo{
  height:44px;
  width:auto;
  display:block;
}

/* Footer: same grey tone as header */
footer{
  background: linear-gradient(180deg, #f3f5f7, #ffffff);
  border-top: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 -10px 22px rgba(0,0,0,.08);
}

/* Footer logo size (signature) */
.footer-brand img{
  width:56px;
  height:auto;
}

/* Watermark only between header and footer (visual confinement)
   We keep it fixed for a calm watermark, but clip top/bottom via offsets.
*/
:root{
  --header-h: 84px;
  --footer-h: 150px;
}

body::before{
  content:"" !important;
  display:block !important;
  position:fixed !important;
  top: var(--header-h) !important;
  left:-12% !important;
  right:-12% !important;
  bottom: var(--footer-h) !important;
  pointer-events:none !important;
  z-index:-1 !important;

  background-image: url("assets/Artboard 150.png") !important;
  background-repeat:no-repeat !important;
  background-position: 55% 35% !important;
  background-size: min(1180px, 110vmin) auto !important;
  opacity: .075 !important;
  filter: grayscale(100%) contrast(.9) !important;
  transform: rotate(-7deg) !important;
}

/* Keep header/footer fully opaque so watermark never shows through */
.site-header, header{
  background: linear-gradient(180deg, #f3f5f7, #ffffff);
  border-bottom: 1px solid rgba(0,0,0,.08);
}

@media (max-width: 720px){
  :root{ --header-h: 96px; --footer-h: 170px; }
  .brand .brand-logo{ height:40px; }
}


/* ===== Pilot 12: Fix header logo banner sizing ===== */
.brand{ min-width: unset; }
.brand img.brand-logo{
  width:auto !important;
  height:44px !important;
  max-width: 520px;
  object-fit: contain;
}


/* ===== Pilot 14: Header uses footer logo + text ===== */
.brand{
  display:flex;
  align-items:center;
  gap:12px;
}
.brand .brand-mark{
  height:48px;
  width:auto;
  display:block;
}
.brand .brand-text{ line-height:1.05; }
.brand .brand-name{
  font-weight:700;
  font-size:18px;
}
.brand .brand-claim{
  font-style:italic;
  font-size:14px;
  opacity:.9;
}

@media (max-width: 720px){
  .brand{ gap:10px; }
  .brand .brand-mark{ height:44px; }
  .brand .brand-name{ font-size:16px; }
  .brand .brand-claim{ font-size:13px; }
}

