/*
Theme Name: Praxis Malterer
Theme URI: https://praxis-malterer.de/
Author: Praxis Malterer
Description: Eigenständige WordPress-Umsetzung der Website der Praxis Malterer.
Version: 1.0.24
Text Domain: praxis-malterer
*/

@font-face { font-family: "Poppins"; src: url("assets/fonts/poppins-400.ttf") format("truetype"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("assets/fonts/poppins-600.ttf") format("truetype"); font-style: normal; font-weight: 600; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("assets/fonts/poppins-700.ttf") format("truetype"); font-style: normal; font-weight: 700; font-display: swap; }
@font-face { font-family: "Urbanist"; src: url("assets/fonts/urbanist-400.ttf") format("truetype"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "Urbanist"; src: url("assets/fonts/urbanist-600.ttf") format("truetype"); font-style: normal; font-weight: 600; font-display: swap; }
@font-face { font-family: "Urbanist"; src: url("assets/fonts/urbanist-700.ttf") format("truetype"); font-style: normal; font-weight: 700; font-display: swap; }

:root {
  --header-height: 149.5416717529297px;
  --pm-cream: #f5efed;
  --pm-wine: #96374d;
  --pm-wine-dark: #7f2940;
  --pm-blue: #284d7d;
  --pm-pale-blue: #e4f0f4;
  --pm-rose: #ad8780;
  --pm-white: #ffffff;
  --pm-shadow: 0 18px 50px rgba(40, 77, 125, 0.12);
}

html { scroll-behavior: smooth; }
body.pm-site {
  margin: 0;
  background: var(--pm-cream);
  color: var(--pm-blue);
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.pm-site * { box-sizing: border-box; }
body.pm-site h1,
body.pm-site h2,
body.pm-site h3,
body.pm-site h4,
body.pm-site h5,
body.pm-site h6 {
  font-family: "Urbanist", "Trebuchet MS", sans-serif;
}

.pm-skip-link {
  position: fixed;
  z-index: 10000;
  left: 1rem;
  top: -6rem;
  padding: .8rem 1rem;
  background: var(--pm-white);
  color: var(--pm-blue);
}
.pm-skip-link:focus { top: 1rem; }

.pm-site-header {
  position: relative;
  z-index: 900;
  width: 100%;
  background: var(--pm-cream);
}
.home .pm-site-header {
  position: absolute;
  left: 0;
  top: 0;
  background: transparent;
}
.pm-header-inner {
  width: min(1400px, 100%);
  min-height: var(--header-height);
  height: var(--header-height);
  margin: 0 auto;
  padding: 0 4vw;
  display: flex;
  align-items: center;
}
.pm-logo {
  display: inline-flex;
  flex: 0 0 172px;
  width: 172px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--pm-wine);
  box-shadow: 0 8px 22px rgba(127, 41, 64, .2);
}
.pm-logo img { display: block; width: 100%; height: auto; }

/* Teamfoto neben „Fachlich stark“: das Originalbild in einer sanften Bogenform. */
#block-f03832b4b0d98fef627c .fluid-image-container {
  overflow: hidden;
  border-radius: 48% 48% 26px 26px / 36% 36% 26px 26px !important;
  -webkit-clip-path: none !important;
  clip-path: none !important;
}

#block-f03832b4b0d98fef627c .js-content-mode-element,
#block-f03832b4b0d98fef627c .js-content-mode-element-wrapper,
#block-f03832b4b0d98fef627c img {
  -webkit-clip-path: none !important;
  clip-path: none !important;
}

#block-f03832b4b0d98fef627c svg[data-image-mask-id] {
  display: none !important;
}
.pm-main-nav { display: flex; align-items: center; gap: 15.1354px; margin-left: 37.5px; }
.pm-main-nav a {
  display: flex;
  color: var(--pm-wine);
  font-size: 1rem;
  line-height: 24px;
  padding: 1.6px 0;
  text-decoration: none;
  white-space: nowrap;
}
.pm-main-nav a:hover,
.pm-main-nav a:focus,
.pm-main-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: .35em; }
.pm-header-cta { margin-left: auto; }
.pm-main-nav .pm-mobile-contact-link { display: none; }
.pm-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .9rem 1.8rem;
  border: 2px solid var(--pm-wine);
  border-radius: 999px;
  background: var(--pm-wine);
  color: var(--pm-white) !important;
  font-size: .88rem;
  font-weight: 600;
  line-height: 1.15;
  text-align: center;
  text-decoration: none !important;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.pm-button:hover,
.pm-button:focus { background: var(--pm-wine-dark); transform: translateY(-1px); }
.pm-button--outline { background: transparent; color: var(--pm-wine) !important; }
.pm-button--outline:hover,
.pm-button--outline:focus { background: var(--pm-wine); color: var(--pm-white) !important; }

@media (min-width: 981px) {
  .pm-header-cta {
    min-height: 0;
    padding: 24px 40.08px;
    border: 0;
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
  }
}

.home .page-section:first-of-type .sqs-block-button-element {
  display: flex;
  width: 100%;
  height: 100%;
  min-height: 53.77083587646485px;
  align-items: center;
  justify-content: center;
  padding: 0 40.08px;
  border-radius: 300px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
  text-decoration: none;
}
.home .page-section:first-of-type .sqs-button-element--primary {
  border: 0;
  background: rgb(150, 55, 75);
  color: #fff;
}
.home .page-section:first-of-type .sqs-button-element--secondary {
  border: 2.66667px solid rgb(150, 55, 75);
  background: transparent;
  color: rgb(150, 55, 75);
}
.pm-menu-toggle {
  display: none;
  justify-self: end;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--pm-wine);
  color: white;
  font-size: 1.35rem;
}

#page.container { max-width: none; padding: 0; }
.page-regions { width: 100%; }
.page-section { overflow: hidden; }
.page-section img { max-width: 100%; }
.pm-content-override {
  width: min(1100px, calc(100% - 8vw));
  margin: 0 auto;
  padding: clamp(5rem, 10vw, 9rem) 0;
}
.pm-content-override > h1 {
  margin: 0 0 2.5rem;
  color: var(--pm-wine);
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 500;
}
.pm-service-copy { max-width: 800px; font-size: 1.05rem; line-height: 1.75; }
.pm-service-copy h2 { color: var(--pm-wine); font-size: clamp(2rem, 4vw, 3.3rem); }
.pm-service-copy img {
  width: min(100%, 820px);
  max-height: 560px;
  margin: 2rem 0;
  border-radius: 1.2rem;
  object-fit: cover;
  box-shadow: var(--pm-shadow);
}
.pm-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 7vw, 7rem);
  align-items: start;
}
.pm-contact-details h1,
.pm-contact-location h2 { margin-top: 0; color: var(--pm-wine); }
.pm-contact-details a { color: var(--pm-blue); }
.pm-socials { display: flex; gap: .75rem; margin-top: 1.5rem; }
.pm-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: var(--pm-wine);
  font-weight: 700;
  text-decoration: none;
}
.pm-socials .pm-instagram-icon {
  display: block;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
.pm-socials .pm-instagram-dot { fill: currentColor; stroke: none; }

/* Accessible single-open FAQ accordion, matching the Squarespace interaction. */
body.pm-site .pm-accordion-enhanced .accordion-item__click-target {
  cursor: pointer;
  padding: 30px 0;
}

body.pm-site .pm-accordion-enhanced .accordion-divider { height: 1px; }

body.pm-site .pm-accordion-enhanced .accordion-item__title { padding-right: 14px; }

body.pm-site .pm-accordion-enhanced .accordion-icon-container {
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
}

body.pm-site .pm-accordion-enhanced .plus__horizontal-line,
body.pm-site .pm-accordion-enhanced .plus__vertical-line { height: 1px; }

body.pm-site .pm-accordion-enhanced .accordion-item__click-target:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

body.pm-site .pm-accordion-enhanced .accordion-item__dropdown {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows .28s ease, opacity .22s ease;
}

body.pm-site .pm-accordion-enhanced .accordion-item__dropdown > .accordion-item__description {
  min-height: 0;
  overflow: hidden;
  padding: 0;
  line-height: 1.5;
}

body.pm-site .pm-accordion-enhanced .accordion-item__dropdown--open {
  grid-template-rows: 1fr;
  opacity: 1;
}

body.pm-site .pm-accordion-enhanced .accordion-item__dropdown--open > .accordion-item__description {
  padding-bottom: 30px;
}
.pm-contact-form { margin-top: clamp(2.5rem, 5vw, 4.5rem); }
.pm-name-fields { min-width: 0; margin: 0; padding: 0; border: 0; }
.pm-name-fields legend { margin-bottom: .35rem; padding: 0; font-size: .9rem; }
.pm-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.pm-field { margin-bottom: 1rem; }
.pm-field label { display: block; margin-bottom: .35rem; font-size: .9rem; }
.pm-field input,
.pm-field textarea {
  width: 100%;
  padding: .9rem 1rem;
  border: 1px solid rgba(40, 77, 125, .42);
  border-radius: 5px;
  background: rgba(255,255,255,.5);
  color: var(--pm-blue);
  font: inherit;
}
.pm-field textarea { min-height: 180px; resize: vertical; }
.pm-field input:disabled,
.pm-field textarea:disabled,
.pm-button:disabled { cursor: not-allowed; opacity: .58; }
.pm-honeypot { position: absolute !important; left: -10000px !important; }
.pm-notice { margin-bottom: 1.25rem; padding: 1rem; border-radius: .4rem; background: var(--pm-pale-blue); }
.pm-notice--error { background: #f8dce3; }
.pm-form-privacy { margin: .35rem 0 1.25rem; font-size: .82rem; line-height: 1.55; }
.pm-preview-form-notice { margin-top: 1rem; font-size: .85rem; line-height: 1.5; }
.pm-preview-form-notice[hidden] { display: none; }
.pm-contact-preview {
  width: min(1200px, calc(100% - 8vw));
  margin: 0 auto;
  padding: clamp(5rem, 8vw, 8rem) 0;
}
.pm-contact-location .pm-contact-map-frame {
  width: 100%;
  height: clamp(480px, 52vw, 650px);
  overflow: hidden;
  background: #ddd;
}
.pm-contact-location .pm-contact-map-frame .pm-map-embed { min-height: 100%; }

.pm-external-consent {
  display: grid;
  width: 100%;
  min-height: 320px;
  place-items: center;
  padding: clamp(1.5rem, 5vw, 3.5rem);
  background: linear-gradient(145deg, var(--pm-pale-blue), rgba(255,255,255,.7));
  color: var(--pm-blue);
  text-align: center;
}
.pm-map-consent { height: 100%; }
.pm-youtube-consent { min-height: 0; aspect-ratio: 16 / 9; }
.pm-external-consent__inner { max-width: 560px; }
.pm-external-consent__inner p { margin: 0 0 1rem; line-height: 1.6; }
.pm-external-link { display: block; margin-top: 1rem; color: var(--pm-blue); font-size: .82rem; }
.pm-map-embed,
.pm-youtube-embed { display: block; width: 100%; height: 100%; border: 0; }

.pm-legal { max-width: 900px; font-size: 1rem; line-height: 1.75; }
.pm-content-override.pm-legal > h1 { margin-bottom: 2rem; font-size: clamp(3rem, 6vw, 5rem); }
.pm-legal h2 { margin: 3rem 0 1rem; color: var(--pm-wine); font-size: clamp(1.5rem, 3vw, 2.15rem); }
.pm-legal h3 { margin: 2rem 0 .75rem; color: var(--pm-blue); font-size: 1.2rem; }
.pm-legal p,
.pm-legal ul { margin: 0 0 1rem; }
.pm-legal a { color: var(--pm-wine-dark); text-underline-offset: .2em; overflow-wrap: anywhere; }
.pm-legal-note { padding: 1rem 1.25rem; border-left: 4px solid var(--pm-wine); background: rgba(255,255,255,.52); }

.pm-site-footer {
  padding: clamp(3rem, 6vw, 5.5rem) 4vw;
  background: var(--pm-cream);
  color: var(--pm-blue);
}
.pm-footer-inner {
  width: min(1200px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
}
.pm-site-footer p { margin: 0 0 .4rem; }
.pm-site-footer a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.pm-footer-links { display: grid; align-content: start; gap: .55rem; }
.pm-footer-bottom {
  width: min(1200px, 100%);
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(40, 77, 125, .18);
  font-size: .78rem;
}

@media (max-width: 980px) {
  :root { --header-height: 90px; }
  .pm-header-inner { min-height: 90px; grid-template-columns: 1fr auto; }
  .pm-logo { flex-basis: auto; width: 155px; }
  .pm-menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .pm-main-nav,
  .pm-header-cta { display: none; }
  .pm-main-nav.is-open {
    display: flex;
    position: absolute;
    left: 0;
    right: 0;
    top: 90px;
    padding: 1.5rem 4vw 2rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.1rem;
    margin-left: 0;
    background: var(--pm-cream);
    box-shadow: var(--pm-shadow);
  }
  .pm-main-nav.is-open a { font-size: 1rem; }
  .pm-main-nav.is-open .pm-mobile-contact-link {
    display: inline-flex;
    margin-top: .35rem;
    padding: .7rem 1.25rem;
    color: var(--pm-white);
    text-decoration: none;
  }
  .pm-contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .pm-header-inner { padding-inline: 6vw; }
  .pm-logo { width: 138px; }
  .pm-form-row { grid-template-columns: 1fr; gap: 0; }
  .pm-footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .home .page-section:first-of-type .fe-block-yui_3_17_2_1_1754816667914_6383 {
    grid-area: 12 / 2 / 14 / 10 !important;
  }
  .home .page-section:first-of-type .fe-block-fc0cd95799dca282da4b {
    grid-area: 14 / 2 / 16 / 10 !important;
  }
  .home .page-section:first-of-type .sqs-button-element--primary,
  .home .page-section:first-of-type .sqs-button-element--secondary {
    width: 100%;
    min-height: 50px;
  }
}

/* Squarespace fluid-image component fallback for the standalone theme. */
.sqs-block[data-definition-name="website.components.imageFluid"] .sqs-block-content,
.sqs-block[data-definition-name="website.components.imageFluid"] .image-block-outer-wrapper,
.sqs-block[data-definition-name="website.components.imageFluid"] .sqs-image {
  width: 100%;
  height: 100%;
}

.sqs-block[data-definition-name="website.components.imageFluid"] .sqs-image-content {
  position: relative;
  width: var(--image-component-container-width, 100%);
  height: var(--image-component-container-height, 100%);
}

.sqs-block[data-definition-name="website.components.imageFluid"] .design-layout-fluid img {
  width: 100%;
  height: 100%;
  position: absolute;
}

.sqs-block[data-definition-name="website.components.imageFluid"] .design-layout-fluid .sqs-image {
  display: flex;
}

.sqs-block[data-definition-name="website.components.imageFluid"] .design-layout-fluid.image-position-left .sqs-image {
  justify-content: flex-start;
}

.sqs-block[data-definition-name="website.components.imageFluid"] .design-layout-fluid.image-position-center .sqs-image {
  justify-content: center;
}

.sqs-block[data-definition-name="website.components.imageFluid"] .design-layout-fluid.image-position-right .sqs-image {
  justify-content: flex-end;
}

.sqs-block[data-definition-name="website.components.imageFluid"] .fluidImageOverlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  mix-blend-mode: var(--image-component-overlay-blend-mode);
  opacity: var(--image-component-overlay-opacity);
  background-color: var(--image-block-overlay-color);
}

.sqs-block[data-definition-name="website.components.imageFluid"] .design-layout-fluid .fluid-image-container .content-fill,
.sqs-block[data-definition-name="website.components.imageFluid"] .design-layout-fluid .fluid-image-container .content-fill img {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

/* Squarespace button component sizing. */
.sqs-block[data-definition-name="website.components.button"] .sqs-block-content {
  flex: var(--sqs-block-content-flex, 0);
}

.sqs-block[data-definition-name="website.components.button"] .sqs-stretched {
  display: flex;
  flex: 1;
  height: 100%;
}

.sqs-block[data-definition-name="website.components.button"] .sqs-stretched .sqs-block-button-element {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding-inline: 40.08px;
  box-sizing: border-box;
}

.sqs-block[data-definition-name="website.components.button"] .sqs-block-button-container--left { justify-content: flex-start; }
.sqs-block[data-definition-name="website.components.button"] .sqs-block-button-container--center { justify-content: center; }
.sqs-block[data-definition-name="website.components.button"] .sqs-block-button-container--right { justify-content: flex-end; }

/* Gentle Squarespace-style reveal as content enters the viewport. */
html.pm-reveal-ready .pm-reveal {
  opacity: 0;
  transition: opacity .9s ease var(--pm-reveal-delay, 0s);
}

html.pm-reveal-ready .pm-reveal.pm-reveal-visible {
  opacity: 1;
}

/* Transparent header over the red, curved hero on the team page. */
body.pm-curved-hero .pm-site-header {
  position: absolute;
  inset: 0 0 auto;
  background: transparent;
}

body.pm-curved-hero .pm-main-nav a { color: var(--pm-white); }

body.pm-curved-hero .pm-header-cta {
  border-color: var(--pm-white);
  background: var(--pm-white);
  color: var(--pm-wine) !important;
}

body.pm-curved-hero .pm-header-cta:hover,
body.pm-curved-hero .pm-header-cta:focus {
  background: var(--pm-cream);
}

body.pm-curved-hero .pm-menu-toggle {
  background: var(--pm-white);
  color: var(--pm-wine);
}

/* Background-effect images stay visible without Squarespace's runtime. */
body.pm-site .section-background img.background-image-fx {
  visibility: visible !important;
}

/* Standalone interactive map replacing the Squarespace map runtime. */
body.pm-site .map-block .sqs-block-content,
body.pm-site .map-block [data-context] {
  width: 100%;
  height: 100%;
}

body.pm-site .pm-map-embed {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 200px;
  border: 0;
}

/* Keep an outer gutter beside the job image on wider screens. */
@media (min-width: 768px) {
  body.pm-page-home .fe-block-f8556a19dc6c6ae56961 {
    margin-right: 4vw;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.pm-reveal-ready .pm-reveal {
    opacity: 1;
    transition: none;
  }
  body.pm-site .pm-accordion-enhanced .accordion-item__dropdown { transition: none; }
}
