/*
Theme Name: VT Praxis
Theme URI: https://www.vt-psychotherapeut.de/
Author: Praxis Silvana Polotzek
Description: Hybrides WordPress-Theme für die Praxis für Psychotherapie. Gutenberg-editierbare Inhalte bei festem, responsive Praxisdesign.
Version: 2.1.5
Requires at least: 6.5
Requires PHP: 7.4
Text Domain: vt-praxis
*/

:root {
  --vt-green:#416b3a; --vt-green-logo:#659d47; --vt-brown:#4e3729;
  --vt-text:#2e3130; --vt-muted:#5d625f; --vt-bg:#f7f7f4;
  --vt-panel:#eef2ea; --vt-panel-hover:#e4ebe0; --vt-border:#dadfd8;
  --vt-focus:#8bb779; --vt-wide:1380px; --vt-content-wide:1180px;
  --vt-reading:820px; --vt-reading-wide:940px;
}
*{box-sizing:border-box} html{scroll-behavior:smooth} body{margin:0;background:var(--vt-bg);color:var(--vt-text);font-family:"Segoe UI","Helvetica Neue",Arial,sans-serif;font-size:18px;line-height:1.62;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility} img{max-width:100%;height:auto} a{color:var(--vt-green)}

/* Header – visually based on 1.5.4, but classic WordPress markup. */
.vt-header{background:rgba(250,250,247,.98);border-bottom:1px solid var(--vt-border);position:relative;z-index:20}
.vt-header__inner{min-height:118px;max-width:var(--vt-wide);margin:0 auto;padding:16px 26px;display:flex;align-items:center;justify-content:space-between;gap:28px}
.vt-logo{display:block;line-height:0;flex:0 1 auto}.vt-logo img{width:clamp(285px,27vw,385px);height:auto;display:block}
.vt-nav{margin-left:auto}.vt-menu-toggle{display:none}.vt-primary-menu{display:flex;align-items:center;gap:32px;list-style:none;margin:0;padding:0}.vt-primary-menu li{margin:0}.vt-primary-menu a{display:block;text-decoration:none;color:var(--vt-text);padding:13px 0 10px;white-space:nowrap;font-size:17px;font-weight:500}.vt-primary-menu .current-menu-item>a,.vt-primary-menu .current_page_item>a,.vt-primary-menu a:hover{color:var(--vt-green)}.vt-primary-menu .current-menu-item>a::after,.vt-primary-menu .current_page_item>a::after{content:"";display:block;height:2px;background:var(--vt-green);margin-top:8px}

/* Home stage: same visual composition as 1.5.4. */
.vt-home-stage{width:100%;max-width:var(--vt-wide);margin:0 auto;background:#fbfbf8;overflow:hidden;position:relative}
.vt-hero{position:relative;background:#fbfbf8;overflow:hidden;padding:0;margin:0}.vt-hero__inner{width:100%;min-height:610px;display:grid;grid-template-columns:minmax(0,58%) minmax(0,42%);align-items:stretch;gap:0;margin:0}.vt-hero__copy{align-self:center;width:100%;max-width:820px;padding:66px 42px 70px 26px;position:relative;z-index:2}.vt-eyebrow{letter-spacing:.30em;text-transform:uppercase;margin:0 0 22px;color:var(--vt-green);font-size:15px;font-weight:500}.vt-hero h1{margin:0 0 26px;text-wrap:balance;max-width:720px;font-size:clamp(3.2rem,5vw,5.15rem);line-height:.98;letter-spacing:-.025em;font-weight:400}.vt-hero__tagline{max-width:730px;margin:0 0 22px;font-size:30px;line-height:1.3}.vt-hero__lead{max-width:720px;margin:0;color:#454b48;font-size:20px;line-height:1.55}.vt-quote{border-left:3px solid var(--vt-green);padding:.25rem 0 .3rem 1.6rem;max-width:620px;margin-top:38px}.vt-quote p{margin:0;font-size:20px;font-style:italic}.vt-quote cite{display:block;margin-top:.65rem;font-style:normal;letter-spacing:.18em;font-size:.78rem}.vt-hero__visual{min-height:610px;position:relative}.vt-hero__slogan{position:absolute;left:4%;bottom:12%;width:225px;color:#6d7d68;font-family:"Segoe Print","Bradley Hand","Comic Sans MS",cursive;font-size:clamp(2rem,2.5vw,2.65rem);line-height:1.18;font-weight:400;transform:rotate(-4deg);text-shadow:0 1px 0 rgba(255,255,255,.45);margin:0}.vt-hero__slogan::after{content:"";display:block;width:90px;height:2px;margin:12px 0 0 28px;background:var(--vt-green);transform:rotate(-8deg)}

@media (min-width:1021px){
 .vt-home-stage{background-color:#fbfbf8;background-image:linear-gradient(90deg,#fbfbf8 0%,#fbfbf8 43%,rgba(251,251,248,.96) 49%,rgba(251,251,248,.72) 58%,rgba(251,251,248,.24) 72%,rgba(251,251,248,.03) 100%),url('assets/images/hero-botanical.webp');background-repeat:no-repeat;background-size:auto,49% auto;background-position:left top,right 48%}
 .vt-home-stage .vt-hero,.vt-home-stage .vt-hero__inner,.vt-home-stage .vt-info-strip,.vt-home-stage .vt-hero__visual{background:transparent!important}
 .vt-home-stage::after{content:"";position:absolute;left:0;right:0;bottom:0;height:150px;z-index:1;pointer-events:none;background:linear-gradient(to bottom,rgba(247,247,244,0) 0%,rgba(247,247,244,.18) 34%,rgba(247,247,244,.62) 72%,#f7f7f4 100%)}
 .vt-home-stage>.vt-hero,.vt-home-stage>.vt-info-strip{position:relative;z-index:2}
}

/* Editable quick links. The normal Button link is stretched over the full card. */
.vt-info-strip{position:relative;z-index:6;margin:0;padding:0 26px 28px;background:#fbfbf8}.vt-info-strip__inner{width:100%;display:grid;grid-template-columns:repeat(3,1fr);background:rgba(238,242,234,.92);border:1px solid rgba(218,223,216,.66);border-radius:11px;box-shadow:0 8px 24px rgba(51,62,48,.035);overflow:hidden;margin:0}.vt-info-card{min-width:0;min-height:104px;padding:18px 28px 18px 106px;color:var(--vt-text);background:transparent;position:relative;display:flex;flex-direction:column;justify-content:center;transition:background-color .18s ease,transform .18s ease;margin:0}.vt-info-card+.vt-info-card::after{content:"";position:absolute;left:0;top:23px;bottom:23px;width:1px;background:#d5dbd2}.vt-info-card:hover{background:rgba(228,235,224,.72)}.vt-info-card:active{transform:translateY(1px)}.vt-info-card::before{content:"";position:absolute;left:28px;top:50%;width:50px;height:50px;transform:translateY(-50%);background-repeat:no-repeat;background-position:center;background-size:44px 44px;opacity:.96}.vt-info-card--calendar::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23416b3a' stroke-width='2.4' stroke-linecap='round'%3E%3Crect x='8' y='11' width='32' height='29' rx='3'/%3E%3Cpath d='M15 7v8M33 7v8M8 19h32M15 25h4M23 25h4M31 25h3M15 32h4M23 32h4'/%3E%3C/svg%3E")}.vt-info-card--video::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23416b3a' stroke-width='2.4' stroke-linecap='round'%3E%3Crect x='6' y='8' width='36' height='25' rx='3'/%3E%3Cpath d='M18 40h12M24 33v7'/%3E%3C/svg%3E")}.vt-info-card--location::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23416b3a' stroke-width='2.4'%3E%3Cpath d='M24 43s13-12.7 13-24A13 13 0 1 0 11 19c0 11.3 13 24 13 24Z'/%3E%3Ccircle cx='24' cy='19' r='4.5'/%3E%3C/svg%3E")}.vt-info-card{text-decoration:none}.vt-info-card h3{margin:0 0 7px;color:#1f2421;font-size:21px;line-height:1.15;font-weight:600}.vt-info-card p{margin:0;color:var(--vt-muted);font-size:16px;line-height:1.35}.vt-info-card::after{content:"";position:absolute;right:27px;top:50%;width:11px;height:11px;border-top:2px solid var(--vt-green);border-right:2px solid var(--vt-green);transform:translateY(-50%) rotate(45deg);opacity:0;transition:opacity .18s ease,transform .18s ease}.vt-info-card:hover::after,.vt-info-card:focus-visible::after{opacity:1}.vt-info-card:focus-visible{outline:3px solid var(--vt-focus);outline-offset:-3px}.vt-info-card>*{position:relative;z-index:1}

/* Normal pages */
.vt-content-shell{padding:clamp(3.5rem,7vw,6rem) 26px}.vt-page-inner{width:100%;max-width:var(--vt-content-wide);margin:0 auto}.vt-page-title{max-width:var(--vt-reading);font-size:clamp(2.45rem,4vw,3.55rem);line-height:1.06;letter-spacing:-.018em;text-wrap:balance;font-weight:400;margin:0 0 2.8rem}.vt-page-content>*{max-width:var(--vt-reading);margin-left:0;margin-right:0}.vt-page-content>:is(ul,ol,figure,.wp-block-image,.wp-block-gallery,.wp-block-table,.wp-block-columns,.wp-block-group){max-width:var(--vt-reading-wide)}.vt-page-content>.alignwide{max-width:var(--vt-content-wide)}.vt-page-content>.alignfull{max-width:none}.vt-page-content h2{font-size:clamp(1.8rem,2.5vw,2.2rem);line-height:1.16;text-wrap:balance;margin-top:3.2rem;margin-bottom:1.05rem;font-weight:400}.vt-page-content h3{font-size:clamp(1.3rem,1.8vw,1.55rem);line-height:1.24;text-wrap:balance;margin-top:2.5rem;margin-bottom:.85rem}.vt-page-content p{margin-top:0;margin-bottom:1.15rem}.vt-page-content ul,.vt-page-content ol{padding-left:1.35rem;margin-top:.7rem;margin-bottom:1.5rem}.vt-page-content li+li{margin-top:.62rem}.vt-page-content figure,.vt-page-content .wp-block-image,.vt-page-content .wp-block-table,.vt-page-content .wp-block-embed{margin-top:2rem;margin-bottom:2.2rem}.vt-page-content iframe{max-width:100%;width:100%}

/* Footer */
.vt-footer{border-top:1px solid var(--vt-border);background:var(--vt-panel);margin:0;padding:42px 26px}.vt-footer__inner{max-width:var(--vt-content-wide);margin:0 auto;display:grid;grid-template-columns:1fr auto;gap:40px}.vt-footer p{margin:.25rem 0;color:var(--vt-muted)}.vt-footer strong{color:var(--vt-text);font-size:20px}.vt-footer-menu{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:7px}.vt-footer-menu a{color:var(--vt-text)}

@media(max-width:1180px){.vt-header__inner{min-height:104px}.vt-primary-menu{gap:21px}.vt-primary-menu a{font-size:16px}.vt-hero__copy{padding-left:32px}.vt-info-card{padding-left:94px;padding-right:22px}.vt-info-card::before{left:22px}}
@media(max-width:1020px){
 .vt-header__inner{min-height:90px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:16px;padding:10px 22px}.vt-logo{min-width:0;width:100%}.vt-logo img{width:min(315px,100%)}.vt-nav{margin:0;justify-self:end;position:relative}.vt-menu-toggle{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:86px;min-height:46px;padding:8px 0;border:0;background:transparent;color:var(--vt-text);font:inherit;font-size:15px;font-weight:500;cursor:pointer}.vt-menu-toggle__icon{width:28px;height:22px;display:flex;flex-direction:column;justify-content:space-between}.vt-menu-toggle__icon span{display:block;height:2px;background:var(--vt-green);border-radius:2px}.vt-primary-menu{display:none;position:fixed;z-index:9999;inset:0;background:var(--vt-bg);padding:90px 30px 38px;flex-direction:column;align-items:stretch;gap:0;overflow:auto}.vt-nav.is-open .vt-primary-menu{display:flex}.vt-nav.is-open .vt-menu-toggle{position:fixed;top:22px;right:22px;z-index:10000}.vt-nav.is-open .vt-menu-toggle__icon span:nth-child(1){transform:translateY(10px) rotate(45deg)}.vt-nav.is-open .vt-menu-toggle__icon span:nth-child(2){opacity:0}.vt-nav.is-open .vt-menu-toggle__icon span:nth-child(3){transform:translateY(-10px) rotate(-45deg)}.vt-primary-menu li{width:100%;font-size:1.18rem}.vt-primary-menu a{width:100%;padding:13px 0;border-bottom:1px solid var(--vt-border)}
 .vt-home-stage{max-width:none}.vt-hero__inner{min-height:0;grid-template-columns:1fr}.vt-hero__copy{max-width:none;padding:48px 32px 54px}.vt-hero__visual{position:absolute;inset:0 0 0 58%;min-height:0;z-index:0;opacity:.55;background-image:linear-gradient(90deg,#fbfbf8 0%,rgba(251,251,248,.80) 20%,rgba(251,251,248,.20) 76%),url('assets/images/hero-botanical.webp');background-repeat:no-repeat;background-size:cover;background-position:center right}.vt-hero__slogan{display:none}.vt-info-strip{padding:0 22px 24px}.vt-info-strip__inner{grid-template-columns:1fr;background:transparent;border:0;box-shadow:none;gap:8px;overflow:visible}.vt-info-card{background:rgba(238,242,234,.98);border:1px solid rgba(218,223,216,.75);border-radius:9px;min-height:94px;padding-left:90px}.vt-info-card+.vt-info-card::after{display:none}.vt-info-card::after{opacity:1}.vt-footer__inner{grid-template-columns:1fr}
}
@media(max-width:600px){.vt-header__inner{min-height:82px;padding:9px 18px;column-gap:10px}.vt-logo img{width:min(255px,100%)}.vt-menu-toggle{min-width:78px;min-height:44px;gap:5px;font-size:14px}.vt-menu-toggle__icon{width:26px;height:20px}.vt-nav.is-open .vt-menu-toggle{top:19px;right:18px}.vt-primary-menu{padding:80px 24px 30px}.vt-hero__copy{padding:42px 20px 46px}.vt-hero__visual{inset:0 -45% 0 51%;opacity:.50;background-position:48% center}.vt-eyebrow{font-size:.76rem;letter-spacing:.26em}.vt-hero h1{font-size:clamp(2.08rem,9vw,2.65rem);line-height:1.04;letter-spacing:-.02em;max-width:100%;text-wrap:balance}.vt-hero__tagline{font-size:clamp(1.2rem,5.2vw,1.4rem);line-height:1.34;text-wrap:balance}.vt-hero__lead{font-size:1.04rem;line-height:1.55;max-width:96%}.vt-quote{padding-left:1.1rem;margin-top:26px;max-width:94%}.vt-quote p{font-size:1.04rem}.vt-info-strip{padding:0 18px 20px}.vt-info-card{min-height:90px;padding:16px 18px 16px 78px}.vt-info-card::before{left:18px;width:44px;height:44px;background-size:38px 38px}.vt-info-card h3{font-size:19px}.vt-info-card p{font-size:15px}.vt-content-shell{padding:3rem 20px 3.5rem}.vt-page-title{font-size:clamp(2rem,9vw,2.5rem);line-height:1.08;margin-bottom:2rem}.vt-page-content h2{font-size:clamp(1.55rem,7vw,1.9rem);margin-top:2.65rem}.vt-page-content h3{font-size:clamp(1.22rem,5.8vw,1.48rem);margin-top:2.1rem}.vt-page-content ul,.vt-page-content ol{padding-left:1.15rem}.vt-footer{padding:34px 20px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}

/* 2.1.5 – authoritative quick-link layout and interaction. */
.vt-info-strip__inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.vt-info-card {
  position: relative;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  cursor: pointer;
}
.vt-info-card + .vt-info-card {
  border-left: 1px solid #d5dbd2;
}
/* The Gutenberg link remains in the document for editing/SEO, but card interaction is handled on the card itself. */
body:not(.block-editor-page) .vt-info-card .wp-block-buttons {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}
body:not(.block-editor-page) .vt-info-card .wp-block-button,
body:not(.block-editor-page) .vt-info-card .wp-block-button__link {
  position: static !important;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.vt-info-card:focus-visible {
  outline: 3px solid var(--vt-focus);
  outline-offset: -3px;
}
.vt-info-card h3,
.vt-info-card p,
.vt-info-card::before {
  pointer-events: none;
}
/* Desktop deliberately has no directional glyph; separators are simple borders. */
@media (min-width: 1021px) {
  .vt-info-card::after {
    display: none !important;
    content: none !important;
  }
}

@media (max-width: 1020px) {
  .vt-info-strip__inner {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 8px !important;
    background: transparent;
    border: 0;
    box-shadow: none;
    overflow: visible;
  }
  .vt-info-card {
    display: flex !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    min-height: 94px;
    margin: 0 !important;
    padding: 16px 54px 16px 90px;
    background: rgba(238,242,234,.98);
    border: 1px solid rgba(218,223,216,.75) !important;
    border-radius: 9px;
  }
  .vt-info-card + .vt-info-card {
    border-left: 1px solid rgba(218,223,216,.75) !important;
  }
  .vt-info-card::before {
    left: 22px;
  }
  /* Mobile directional cue. */
  .vt-info-card::after {
    content: "" !important;
    display: block !important;
    position: absolute;
    z-index: 5;
    right: 26px;
    top: 50%;
    width: 10px;
    height: 10px;
    border: 0;
    border-top: 2px solid var(--vt-green);
    border-right: 2px solid var(--vt-green);
    background: transparent;
    transform: translateY(-50%) rotate(45deg);
    opacity: .9;
    pointer-events: none;
  }
  .vt-info-card h3,
  .vt-info-card p {
    padding-right: 0;
  }
}

@media (max-width: 600px) {
  .vt-info-card {
    min-height: 96px;
    padding: 16px 50px 16px 78px;
  }
  .vt-info-card::before {
    left: 18px;
    width: 44px;
    height: 44px;
    background-size: 38px 38px;
  }
  .vt-info-card::after {
    right: 22px;
  }
  .vt-info-card h3 {
    margin-bottom: 5px;
    font-size: 19px;
    line-height: 1.18;
  }
  .vt-info-card p {
    font-size: 15px;
    line-height: 1.32;
  }
}


/* 2.1.5: no directional glyphs on quick-link cards at any viewport size. */
.vt-info-card::after{display:none!important;content:none!important;border:0!important;width:0!important;height:0!important;opacity:0!important;}
@media (max-width:1020px){.vt-info-card{padding-right:24px!important;}.vt-info-card h3,.vt-info-card p{padding-right:0!important;}}
@media (max-width:600px){.vt-info-card{padding-right:22px!important;}}
