:root {
  --paper: #fbfaf6;
  --parchment: #f4f0e7;
  --forest: #26483b;
  --deep: #18372d;
  --terra: #b66e52;
  --sage: #aab6a3;
  --ink: #292b28;
  --line: #d9d7ce;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); line-height: 1.65; }
a { color: inherit; text-decoration: none; }

.site-header { position: relative; z-index: 20; border-bottom: 1px solid #26483b18; background: #fbfaf6f7; }
.header-inner { width: min(1500px, calc(100% - 64px)); min-height: 116px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 34px; }
.brand { flex: 0 0 auto; display: flex; flex-direction: column; color: var(--forest); }
.brand-name { font: 400 clamp(1.9rem, 2.6vw, 3rem)/1.05 var(--serif); }
.brand-line { margin-top: 8px; color: #555851; font-size: .72rem; }
.desktop-nav { display: flex; align-items: center; justify-content: flex-end; gap: 3px; font-size: .86rem; font-weight: 500; }
.desktop-nav > a, .nav-group > button { min-height: 45px; padding: 12px 10px; border: 0; border-bottom: 2px solid transparent; background: none; cursor: pointer; font: inherit; white-space: nowrap; }
.desktop-nav > a:hover, .desktop-nav > a:focus-visible, .nav-group:hover > button, .nav-group:focus-within > button { color: var(--terra); border-bottom-color: var(--terra); }
.nav-group { position: relative; }
.nav-group button span { margin-left: 5px; }
.nav-dropdown { position: absolute; top: calc(100% - 2px); left: 0; width: 300px; padding: 10px; border: 1px solid var(--line); background: var(--paper); box-shadow: 0 18px 45px #1e2a231f; opacity: 0; visibility: hidden; transform: translateY(8px); transition: 160ms ease; }
.nav-group:hover .nav-dropdown, .nav-group:focus-within .nav-dropdown { opacity: 1; visibility: visible; transform: none; }
.nav-dropdown a { display: block; padding: 9px 12px; border-left: 2px solid transparent; }
.nav-dropdown a:hover, .nav-dropdown a:focus-visible { border-left-color: var(--terra); background: var(--parchment); color: var(--forest); }
.mobile-nav { display: none; }

.home-hero { min-height: 700px; display: grid; grid-template-columns: minmax(430px, .9fr) minmax(520px, 1.35fr); overflow: hidden; background: var(--parchment); }
.hero-copy { z-index: 2; align-self: center; padding: 80px max(5.8vw, 52px); }
.eyebrow { margin: 0; color: var(--terra); font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.hero-copy h1, .page-hero h1 { margin: 18px 0 22px; color: var(--forest); font: 400 clamp(3.2rem, 5vw, 5.2rem)/1.06 var(--serif); letter-spacing: -.025em; }
.accent-line { display: block; width: 52px; height: 2px; margin: 26px 0; background: var(--terra); }
.hero-lead { max-width: 610px; margin-bottom: 32px; font-size: clamp(1.05rem, 1.5vw, 1.28rem); }
.button { min-width: 245px; display: inline-flex; align-items: center; justify-content: space-between; padding: 16px 22px; border-radius: 5px; background: var(--forest); color: white; font-weight: 600; transition: 160ms ease; }
.button span { margin-left: 24px; color: #e5a184; }
.button:hover { background: var(--deep); }
.button:hover span { transform: translateX(4px); }
.hero-image { min-height: 700px; border-radius: 48% 0 0 45% / 18% 0 0 18%; background: url("/images/benesch-hero-landscape.png") center/cover no-repeat; }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); }
.service-grid > a { min-height: 150px; padding: 34px clamp(26px, 4vw, 64px); display: flex; align-items: center; gap: 22px; border-right: 1px solid var(--line); transition: background 160ms; }
.service-grid > a:hover { background: #f0eee6; }
.service-grid > a > span { width: 58px; height: 58px; flex: 0 0 58px; display: grid; place-items: center; border-radius: 50%; background: #aab6a380; color: var(--forest); font: 2rem var(--serif); }
.service-grid h2 { margin: 0; color: var(--forest); font: 400 clamp(1.35rem, 2vw, 2rem)/1.2 var(--serif); }
.service-grid p { margin: 5px 0 0; color: #666961; font-size: .9rem; }

.home-content, .content-layout, .footer-inner { width: min(1260px, calc(100% - 48px)); margin-inline: auto; }
.home-content { padding: 110px 0; display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(50px, 8vw, 120px); }
.home-content h2 { margin: 12px 0; color: var(--forest); font: 400 3.3rem/1.1 var(--serif); }
.home-copy-with-portrait { display: grid; grid-template-columns: minmax(0, 1fr) 180px; gap: 38px; align-items: start; }
.home-portrait { margin: 4px 0 0; }
.home-portrait img { display: block; width: 180px; height: auto; padding: 7px; border: 1px solid var(--line); background: white; box-shadow: 0 14px 36px #1d2e2519; }
.page-hero { padding: 84px max(5vw, 32px); background: radial-gradient(circle at 85% 20%, #aab6a352, transparent 26%), var(--parchment); }
.page-hero > * { max-width: 1260px; margin-left: auto; margin-right: auto; }
.page-hero h1 { max-width: 1100px; font-size: clamp(2.8rem, 4.5vw, 4.6rem); }
.content-layout { padding: 86px 0 120px; display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: clamp(50px, 7vw, 100px); align-items: start; }

.wordpress-content { min-width: 0; font-size: 1.05rem; }
.wordpress-content h1, .wordpress-content h2, .wordpress-content h3, .wordpress-content h4 { color: var(--forest); font-family: var(--serif); font-weight: 400; line-height: 1.18; }
.wordpress-content h1 { margin: 0 0 28px; font-size: 2.6rem; }
.wordpress-content h2 { margin: 46px 0 18px; font-size: 2.05rem; }
.wordpress-content h3 { margin: 34px 0 12px; font-size: 1.55rem; }
.wordpress-content p { margin: 0 0 1.15em; }
.wordpress-content a { color: var(--forest); text-decoration: underline; text-decoration-color: var(--terra); text-underline-offset: 4px; }
.wordpress-content img { display: block; width: auto; max-width: 100%; height: auto; margin: 32px auto; padding: 8px; border: 1px solid var(--line); background: white; box-shadow: 0 14px 36px #1d2e2519; }
.wordpress-content ul, .wordpress-content ol { padding-left: 1.35rem; }
.wordpress-content blockquote { margin: 34px 0; padding: 5px 0 5px 28px; border-left: 3px solid var(--terra); color: #50554f; font: 1.3rem var(--serif); }
.wordpress-content iframe { width: 100%; max-width: 100%; border: 0; }

.page-hypnose-wissenschaftlich .wordpress-content h2 { color: #1769aa; }
.page-hypnose-wissenschaftlich .wordpress-content h3 {
  color: #2f7d32;
  font-size: 2.05rem;
  font-weight: 700;
}
.page-psychologische-diagnostik-2 .wordpress-content ul + p { margin-top: 3rem; }
.page-forschung-zu-guetekriterien .wordpress-content figure { margin-bottom: 3.5rem; }
.page-ueber-mich .wordpress-content > ul { margin-top: 2.5rem; margin-bottom: 3.5rem; }

.contact-form-section { margin-top: 58px; padding-top: 44px; border-top: 1px solid var(--line); }
.contact-form-section h2 { margin: 0 0 26px; color: var(--forest); font: 400 2.35rem/1.15 var(--serif); }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.contact-form label { display: grid; gap: 7px; color: var(--forest); font-weight: 600; }
.contact-form label > span { color: #696d67; font-size: .88rem; font-weight: 400; }
.contact-form input, .contact-form textarea { width: 100%; padding: 13px 14px; border: 1px solid #bfc4bc; border-radius: 4px; background: white; color: var(--ink); font: inherit; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid #b66e5266; border-color: var(--terra); }
.contact-form label:has(textarea), .consent-row, .form-note, .form-status { grid-column: 1 / -1; }
.contact-form .consent-row { display: flex; align-items: flex-start; gap: 11px; color: var(--ink); font-weight: 400; }
.contact-form .consent-row input { width: 18px; height: 18px; margin-top: 4px; flex: 0 0 auto; }
.form-submit { border: 0; cursor: pointer; font: 600 1rem var(--sans); }
.form-note, .form-status { margin: 0; color: #656962; font-size: .9rem; }
.form-status { color: var(--forest); font-weight: 600; }

.contact-card { position: sticky; top: 28px; padding: 34px; border-radius: 6px; background: var(--forest); color: white; }
.contact-card small { color: #e5a184; font-weight: 700; letter-spacing: .13em; }
.contact-card h2 { margin: 12px 0; font: 400 2rem var(--serif); }
.contact-card .button { min-width: 100%; margin-top: 16px; border: 1px solid #ffffff4d; background: #ffffff14; }

.site-footer { background: var(--deep); color: #eff2ed; }
.footer-inner { padding: 70px 0 55px; display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 70px; }
.footer-inner strong { font: 400 2rem var(--serif); }
.footer-inner b { display: block; margin-bottom: 10px; color: #dca58f; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; }
.footer-inner a { display: block; margin: 6px 0; }
.footer-inner a:hover { color: #dca58f; }
.footer-bottom { padding: 18px 24px; border-top: 1px solid #ffffff1f; text-align: center; color: #ffffff9e; font-size: .8rem; }

@media (max-width: 1180px) {
  .desktop-nav { display: none; }
  .mobile-nav { position: relative; display: block; }
  .mobile-nav > summary { padding: 10px 16px; border: 1px solid var(--forest); border-radius: 4px; color: var(--forest); cursor: pointer; list-style: none; font-weight: 600; }
  .mobile-nav > nav { position: absolute; top: 52px; right: 0; width: min(380px, calc(100vw - 32px)); max-height: 75vh; padding: 16px; overflow: auto; border: 1px solid var(--line); background: var(--paper); box-shadow: 0 20px 50px #14261e33; }
  .mobile-nav nav > a, .mobile-nav details summary, .mobile-nav details a { display: block; padding: 9px 8px; }
  .mobile-nav details div { padding-left: 14px; border-left: 2px solid var(--sage); }
  .home-hero { grid-template-columns: 1fr 1.1fr; }
}

@media (max-width: 820px) {
  .header-inner { width: calc(100% - 32px); min-height: 92px; }
  .brand-name { font-size: 1.75rem; }
  .brand-line { display: none; }
  .home-hero { min-height: 0; display: flex; flex-direction: column; }
  .hero-copy { padding: 70px 28px 55px; }
  .hero-copy h1 { font-size: clamp(2.75rem, 12vw, 4rem); }
  .hero-image { min-height: 410px; border-radius: 38% 0 0 0 / 12% 0 0 0; }
  .service-grid, .home-content, .content-layout, .footer-inner { grid-template-columns: 1fr; }
  .service-grid > a { min-height: 125px; border-right: 0; border-bottom: 1px solid var(--line); }
  .home-content { padding: 78px 0; }
  .home-copy-with-portrait { grid-template-columns: 1fr; }
  .home-portrait { order: -1; }
  .home-portrait img { width: 145px; }
  .page-hero { padding: 64px 24px; }
  .content-layout { padding: 58px 0 90px; }
  .contact-card { position: static; }
  .footer-inner { gap: 35px; }
  .contact-form { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

.contact-form .full { grid-column: 1 / -1; }
