/*
Theme Name: Praxis Hille
Author: Novupix
Description: Individuelles Full-Site-Editing-Theme für die kinder- und jugendpsychiatrische Praxis von Dr. med. univ. Ann-Kristin Hille.
Requires at least: 6.5
Requires PHP: 7.4
Version: 1.5.1
Text Domain: praxis-hille
*/

:root {
  --ph-bg: #fbfaf7;
  --ph-surface: #ffffff;
  --ph-ink: #252b29;
  --ph-muted: #626a66;
  --ph-sage: #9caf9d;
  --ph-sage-light: #e8eee6;
  --ph-sage-deep: #344943;
  --ph-apricot: #eea890;
  --ph-apricot-light: #f8e7df;
  --ph-blue: #8eb9ca;
  --ph-line: #d9ded8;
  --ph-serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --ph-sans: Aptos, Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ph-shadow: 0 24px 70px rgba(37, 43, 41, 0.12);
  --ph-radius-sm: 14px;
  --ph-radius-md: 28px;
  --ph-radius-lg: 48px;
  --ph-content: 1180px;
  --ph-gutter: clamp(1.25rem, 4vw, 3.5rem);
  --ph-section: clamp(5rem, 10vw, 9rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--ph-bg);
  color: var(--ph-ink);
  font-family: var(--ph-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

section[id] {
  scroll-margin-top: 6rem;
}

body.admin-bar .site-header {
  top: 32px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-underline-offset: 0.22em;
  text-decoration-thickness: 0.08em;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--ph-blue);
  outline-offset: 4px;
}

h1,
h2,
h3,
h4 {
  margin-top: 0;
  color: var(--ph-ink);
  font-family: var(--ph-serif);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

p {
  margin-top: 0;
}

.wp-site-blocks {
  overflow: clip;
}

.section-shell,
.site-header__inner,
.site-footer__inner {
  width: min(100% - (2 * var(--ph-gutter)), var(--ph-content));
  max-width: var(--ph-content) !important;
  margin-inline: auto;
}

.section-pad {
  padding-block: var(--ph-section);
}

.section-title {
  max-width: 900px;
  margin-bottom: clamp(2rem, 5vw, 4.5rem);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
}

.section-intro {
  max-width: 760px;
  margin-top: -2rem;
  margin-bottom: clamp(3rem, 6vw, 5.5rem);
  color: var(--ph-muted);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.65;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  border-bottom: 1px solid currentColor;
  color: var(--ph-sage-deep);
  font-size: 0.97rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.text-link::after {
  content: "↗";
  font-size: 0.9em;
  transition: transform 180ms ease;
}

.text-link:hover::after {
  transform: translate(0.15rem, -0.15rem);
}

.ph-button .wp-block-button__link,
.ph-button-link,
.wp-element-button {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ph-ink);
  border-radius: 999px;
  background: var(--ph-ink);
  color: #fff;
  font-family: var(--ph-sans);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
  padding: 0.9rem 1.4rem;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.ph-button .wp-block-button__link:hover,
.ph-button-link:hover,
.wp-element-button:hover {
  background: transparent;
  color: var(--ph-ink);
  transform: translateY(-2px);
}

.ph-button--light .wp-block-button__link {
  border-color: #fff;
  background: #fff;
  color: var(--ph-ink);
}

.ph-button-link--light {
  border-color: #fff;
  background: #fff;
  color: var(--ph-ink);
}

.ph-button-link--light:hover {
  background: transparent;
  color: #fff;
}

.ph-button--light .wp-block-button__link:hover {
  background: transparent;
  color: #fff;
}

/* Header */
.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(37, 43, 41, 0.08);
  background: rgba(251, 250, 247, 0.94);
  backdrop-filter: blur(16px);
}

.site-header__inner {
  display: flex;
  min-height: 5.75rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand-lockup {
  flex-shrink: 0;
}

.brand-lockup a {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-lockup__mark {
  width: 4.2rem;
  height: 3.15rem;
  object-fit: contain;
}

.brand-lockup__name {
  display: block;
  font-family: var(--ph-serif);
  font-size: 1.35rem;
  letter-spacing: -0.025em;
  line-height: 1;
}

.brand-lockup__subline {
  display: block;
  margin-top: 0.28rem;
  color: var(--ph-muted);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.site-header .wp-block-navigation {
  font-size: 0.93rem;
  font-weight: 650;
}

.site-header .wp-block-navigation-item__content {
  padding-block: 0.6rem;
  text-decoration: none;
}

.site-header .wp-block-navigation-item__content:hover {
  color: var(--ph-sage-deep);
}

.site-header .wp-block-navigation__responsive-container-open,
.site-header .wp-block-navigation__responsive-container-close {
  border: 1px solid var(--ph-line);
  border-radius: 999px;
  padding: 0.65rem;
}

.site-header .wp-block-navigation__responsive-container.is-menu-open {
  background: var(--ph-bg);
  padding: 2rem var(--ph-gutter);
}

.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
  align-items: flex-start;
  font-family: var(--ph-serif);
  font-size: 2rem;
}

.nav-contact-mobile {
  display: none !important;
}

.site-header .wp-block-navigation__responsive-container.is-menu-open .nav-contact-mobile {
  display: block !important;
  margin-top: 1rem;
}

.site-header .wp-block-navigation__responsive-container.is-menu-open .nav-contact-mobile a {
  display: inline-flex;
  border: 1px solid var(--ph-ink);
  border-radius: 999px;
  background: var(--ph-ink);
  color: #fff;
  font-family: var(--ph-sans);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.9rem 1.35rem;
}

.preview-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 2vw, 1.8rem);
  font-size: 0.93rem;
  font-weight: 650;
}

.preview-nav a {
  text-decoration: none;
}

.preview-nav a:hover {
  color: var(--ph-sage-deep);
}

.preview-nav__cta {
  display: none;
}

.preview-menu-toggle {
  display: none;
  width: 2.85rem;
  height: 2.85rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ph-line);
  border-radius: 999px;
  background: transparent;
  color: var(--ph-ink);
  cursor: pointer;
}

.preview-menu-toggle svg {
  width: 1.3rem;
}

.header-contact {
  flex-shrink: 0;
}

/* Hero */
.hero {
  position: relative;
  overflow: clip;
  min-height: calc(100svh - 5.75rem);
  background:
    radial-gradient(circle at 85% 18%, rgba(142, 185, 202, 0.13), transparent 24rem),
    var(--ph-bg);
  padding-block: clamp(3rem, 6vw, 6.5rem) 3.5rem;
}

.hero::after {
  position: absolute;
  right: clamp(-7rem, -3vw, -2rem);
  bottom: 2rem;
  width: clamp(14rem, 26vw, 26rem);
  height: clamp(8rem, 15vw, 15rem);
  border: 1px solid rgba(52, 73, 67, 0.18);
  border-radius: 50%;
  content: "";
  transform: rotate(-9deg);
}

.hero__inner {
  display: grid;
  align-items: center;
  gap: clamp(3rem, 5vw, 5rem);
  grid-template-columns: minmax(0, 1.24fr) minmax(330px, 0.76fr);
}

.hero__copy {
  position: relative;
  z-index: 2;
}

.hero__title {
  max-width: 790px;
  margin-bottom: 1.8rem;
  font-size: clamp(3.5rem, 5.4vw, 5.1rem);
}

.hero__lede {
  max-width: 640px;
  margin-bottom: 2.25rem;
  color: var(--ph-muted);
  font-size: clamp(1.12rem, 2vw, 1.4rem);
  line-height: 1.55;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.2rem 1.6rem;
}

.hero__visual {
  position: relative;
  z-index: 2;
  min-height: 34rem;
}

.hero__photo-wrap {
  position: absolute;
  inset: 0 0 auto auto;
  width: min(100%, 30rem);
  overflow: hidden;
  border-radius: 49% 49% 46% 46% / 28% 28% 58% 58%;
  box-shadow: var(--ph-shadow);
}

.hero__photo-wrap::before {
  display: block;
  padding-top: 116%;
  content: "";
}

.hero__photo-wrap img,
.hero__photo-wrap .wp-block-image,
.hero__photo-wrap .wp-block-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  object-position: 52% center;
}

.hero__orbit {
  position: absolute;
  z-index: -1;
  top: 8%;
  right: -6%;
  width: 86%;
  aspect-ratio: 1;
  border: 1px solid rgba(52, 73, 67, 0.32);
  border-radius: 50%;
}

.hero__bird {
  position: absolute;
  z-index: 3;
  top: 6%;
  left: -8%;
  width: 5.5rem;
  color: var(--ph-sage-deep);
}

.hero__bird path {
  transform-box: fill-box;
  transform-origin: 50% 58%;
  animation: phBirdWing 3.2s ease-in-out infinite;
}

.hero-concept-profile,
.hero-concept-sketch,
.hero-concept-birds,
.hero-concept-leaves,
.hero-concept-wave,
.audience-section {
  display: none;
}

.hero__continuation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--ph-line);
  padding-top: 1.35rem;
  color: var(--ph-muted);
  font-size: 0.88rem;
}

/* Preferred concept version */
.ph-style-concept {
  --ph-bg: #fdfbf7;
  --ph-surface: #fffefd;
  --ph-sage: #8fa58d;
  --ph-sage-light: #edf1e9;
  --ph-sage-deep: #647e62;
  --ph-apricot: #f39778;
  --ph-apricot-light: #fff0e9;
  --ph-blue: #b8d5df;
  --ph-content: 1320px;
}

.ph-style-concept .site-header {
  border-bottom: 0;
  background: rgba(253, 251, 247, 0.96);
}

.ph-style-concept .site-header__inner {
  min-height: 7.2rem;
}

.ph-style-concept .brand-lockup__mark {
  width: 5.4rem;
  height: 4.4rem;
}

.ph-style-concept .brand-lockup__name {
  font-size: 1.8rem;
}

.ph-style-concept .brand-lockup__subline {
  display: none;
}

.ph-style-concept .site-header .wp-block-navigation-item:first-child .wp-block-navigation-item__content,
.ph-style-concept .preview-nav a:first-child {
  position: relative;
  color: var(--ph-sage-deep);
}

.ph-style-concept .site-header .wp-block-navigation-item:first-child .wp-block-navigation-item__content::after,
.ph-style-concept .preview-nav a:first-child::after {
  position: absolute;
  right: 0;
  bottom: 0.2rem;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
}

.ph-style-concept .header-contact .wp-block-button__link,
.ph-style-concept .header-contact.ph-button-link {
  border-color: var(--ph-apricot);
  border-radius: 8px;
  background: var(--ph-apricot);
  padding-inline: 2rem;
}

.ph-style-concept .header-contact .wp-block-button__link:hover,
.ph-style-concept .header-contact.ph-button-link:hover {
  background: transparent;
  color: var(--ph-ink);
}

.ph-style-concept .hero {
  min-height: 0;
  overflow: visible;
  background: var(--ph-bg);
  padding-block: clamp(2rem, 3vw, 3rem) clamp(2.4rem, 3vw, 3.2rem);
}

.ph-style-concept .hero::after,
.ph-style-concept .hero__orbit {
  display: none;
}

.ph-style-concept .hero__inner {
  position: relative;
  gap: clamp(2rem, 4vw, 4.5rem);
  grid-template-columns: minmax(0, 1.15fr) minmax(490px, 0.85fr);
}

.ph-style-concept .hero__copy {
  padding-bottom: 1.5rem;
}

.ph-style-concept .hero__title {
  max-width: 740px;
  margin-bottom: 2.15rem;
  font-size: clamp(4rem, 5vw, 4.8rem);
  line-height: 1.01;
}

.ph-style-concept .hero__lede {
  max-width: 540px;
  color: #59605d;
  font-size: clamp(1.08rem, 1.5vw, 1.35rem);
}

.ph-style-concept .hero__actions {
  gap: 1.5rem 3.5rem;
}

.ph-style-concept .hero__actions .wp-block-button__link,
.ph-style-concept .hero__actions .ph-button-link {
  min-width: 13.5rem;
  min-height: 4.25rem;
  border-color: var(--ph-sage);
  border-radius: 8px;
  background: var(--ph-sage);
  font-size: 1rem;
  padding-inline: 1.8rem;
}

.ph-style-concept .hero__actions .wp-block-button__link::after,
.ph-style-concept .hero__actions .ph-button-link::after {
  margin-left: auto;
  content: "→";
  font-size: 1.35rem;
  font-weight: 400;
}

.ph-style-concept .hero__actions .wp-block-button__link:hover,
.ph-style-concept .hero__actions .ph-button-link:hover {
  background: transparent;
  color: var(--ph-sage-deep);
}

.ph-style-concept .hero__actions .text-link {
  color: var(--ph-sage-deep);
  font-size: 1.02rem;
}

.ph-style-concept .hero__actions .text-link::after {
  content: "→";
  font-size: 1.2rem;
}

.ph-style-concept .hero__visual {
  min-height: clamp(29rem, 34vw, 32rem);
}

.ph-style-concept .hero__photo-wrap {
  top: 0;
  right: 0;
  width: min(83%, 32rem);
  border: 5px solid #fff;
  border-radius: 48% 48% 44% 44% / 22% 22% 62% 62%;
  box-shadow: 0 28px 80px rgba(75, 69, 60, 0.12);
}

.ph-style-concept .hero__photo-wrap::before {
  padding-top: 108%;
}

.ph-style-concept .hero__photo-wrap img,
.ph-style-concept .hero__photo-wrap .wp-block-image img {
  object-position: 54% center;
}

.ph-style-concept .hero__bird {
  display: none;
}

.ph-style-concept .hero-concept-profile,
.ph-style-concept .hero-concept-sketch,
.ph-style-concept .hero-concept-birds,
.ph-style-concept .hero-concept-leaves,
.ph-style-concept .hero-concept-wave {
  display: block;
  pointer-events: none;
}

.ph-style-concept .hero-concept-profile {
  position: absolute;
  z-index: 1;
  bottom: -3%;
  left: -14%;
  width: 58%;
  color: var(--ph-sage-deep);
}

.ph-style-concept .hero-concept-sketch {
  position: absolute;
  z-index: 1;
  bottom: -8%;
  left: -23%;
  width: min(94%, 40rem);
  max-width: none;
  opacity: 0.44;
  filter: none;
  mix-blend-mode: multiply;
}

.ph-style-concept .hero-concept-birds {
  position: absolute;
  z-index: 4;
  top: 1%;
  left: 0;
  width: 42%;
  color: var(--ph-sage-deep);
  opacity: 0.86;
  animation: phBirdDrift 9s ease-in-out infinite;
}

.hero-concept-birds .hero-birdline {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
  transform-box: fill-box;
  transform-origin: 50% 58%;
  animation: phBirdWing 2.9s ease-in-out infinite;
}

.hero-concept-birds .hero-birdline--one {
  stroke-width: 2.25;
  animation-duration: 2.55s;
}

.hero-concept-birds .hero-birdline--two {
  opacity: 0.78;
  stroke-width: 2.05;
  animation-duration: 3.1s;
  animation-delay: -2.5s;
}

.hero-concept-birds .hero-birdline--three {
  opacity: 0.66;
  stroke-width: 1.85;
  animation-duration: 3.45s;
  animation-delay: -4s;
}

.hero-concept-birds .hero-birdline--four {
  opacity: 0.58;
  stroke-width: 1.75;
  animation-duration: 2.85s;
  animation-delay: -1.2s;
}

.hero-concept-birds .hero-birdline--five {
  opacity: 0.48;
  stroke-width: 1.6;
  animation-duration: 3.65s;
  animation-delay: -2.1s;
}

.ph-style-concept .hero-concept-leaves {
  position: absolute;
  z-index: 4;
  right: -8%;
  bottom: -5%;
  width: 31%;
  color: var(--ph-sage-deep);
}

.ph-style-concept .hero-concept-wave {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: -2.5rem;
  left: 0;
  width: 100%;
  height: 12rem;
  color: var(--ph-sage-deep);
  overflow: visible;
  animation: phWaveFloat 9s ease-in-out infinite;
}

.ph-style-concept .hero-concept-wave path {
  stroke-linecap: round;
  transform-box: fill-box;
  transform-origin: 50% 50%;
  animation: phWaveLine 6.8s ease-in-out infinite;
}

.ph-style-concept .hero__continuation {
  display: none;
}

.ph-style-concept .audience-section {
  position: relative;
  display: block;
  background: linear-gradient(180deg, rgba(251, 247, 242, 0.88), #fffefd);
  padding-block: clamp(3rem, 5vw, 5.25rem) clamp(4rem, 7vw, 6.75rem);
}

.ph-style-concept .audience-section::before {
  position: absolute;
  top: -2.4rem;
  right: 0;
  left: 0;
  height: 5rem;
  border-radius: 50% 50% 0 0 / 70% 70% 0 0;
  background: rgba(251, 247, 242, 0.88);
  content: "";
}

.audience-section__inner {
  position: relative;
  z-index: 2;
}

.audience-section__title {
  margin-bottom: 0.8rem;
  font-size: clamp(2rem, 3.3vw, 3.1rem);
  text-align: center;
}

.audience-section__intro {
  max-width: 700px;
  margin-inline: auto;
  color: var(--ph-muted);
  font-size: 1.05rem;
  text-align: center;
}

.audience-grid {
  display: grid;
  gap: 2.5rem;
  margin-top: clamp(2.5rem, 5vw, 4.25rem);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.audience-item {
  display: grid;
  align-items: center;
  gap: 1rem;
  grid-template-columns: 4.8rem 1fr;
}

.audience-item__icon {
  display: grid;
  width: 4.8rem;
  height: 4.8rem;
  place-items: center;
  border-radius: 50%;
  color: var(--ph-ink);
}

.audience-item__icon svg {
  width: 3.4rem;
}

.audience-item__icon--sage {
  background: #e2e8de;
}

.audience-item__icon--apricot {
  background: #fee0d2;
}

.audience-item__icon--blue {
  background: #dfecf1;
}

.audience-item__icon--neutral {
  background: #ebebe4;
}

.audience-item strong,
.audience-item small {
  display: block;
}

.audience-item strong {
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.audience-item small {
  color: var(--ph-muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.ph-style-editorial .audience-section {
  display: none;
}

.ph-style-editorial {
  --ph-bg: #f2f0eb;
  --ph-surface: #faf9f6;
  --ph-ink: #202725;
  --ph-muted: #68706c;
  --ph-sage-deep: #45564f;
}

.ph-style-editorial .site-header {
  border-bottom-color: rgba(32, 39, 37, 0.12);
  background: rgba(242, 240, 235, 0.95);
}

.ph-style-editorial .hero {
  background:
    linear-gradient(112deg, #f2f0eb 0 57%, #e7ebe7 57% 100%);
}

.ph-style-editorial .hero__inner {
  gap: clamp(3rem, 7vw, 7rem);
  grid-template-columns: minmax(0, 0.92fr) minmax(380px, 1.08fr);
}

.ph-style-editorial .hero__title {
  max-width: 690px;
  font-size: clamp(3.7rem, 5.2vw, 5rem);
  line-height: 0.98;
}

.ph-style-editorial .hero__lede {
  max-width: 500px;
}

.ph-style-editorial .hero__visual {
  min-height: 37rem;
}

.ph-style-editorial .hero__photo-wrap {
  top: 1.4rem;
  width: min(100%, 35rem);
  border-radius: 0;
  box-shadow: 0 24px 70px rgba(32, 39, 37, 0.14);
  clip-path: polygon(10% 0, 100% 0, 100% 92%, 0 100%, 0 9%);
}

.ph-style-editorial .hero__photo-wrap::before {
  padding-top: 110%;
}

.ph-style-editorial .hero__photo-wrap img,
.ph-style-editorial .hero__photo-wrap .wp-block-image img {
  object-position: 52% center;
}

.ph-style-editorial .hero__bird {
  display: none;
}

.ph-style-editorial .ph-button .wp-block-button__link,
.ph-style-editorial .ph-button-link {
  border-radius: 2px;
  background: var(--ph-sage-deep);
}

.ph-style-editorial .hero__continuation {
  border-top-color: rgba(32, 39, 37, 0.25);
}

.ph-style-classic {
  --ph-bg: #ffffff;
  --ph-surface: #ffffff;
  --ph-ink: #252b29;
  --ph-muted: #626a66;
}

.ph-style-classic .audience-section {
  display: none;
}

.ph-style-classic .site-header {
  background: rgba(255, 255, 255, 0.96);
}

.ph-style-classic .hero {
  background:
    radial-gradient(circle at 82% 18%, rgba(142, 185, 202, 0.11), transparent 24rem),
    #ffffff;
}

.ph-style-classic .hero__title {
  font-size: clamp(3.5rem, 5.4vw, 5.1rem);
}

.ph-style-classic .hero__photo-wrap {
  width: min(100%, 30rem);
}

.ph-style-classic .ph-button .wp-block-button__link,
.ph-style-classic .ph-button-link {
  border-radius: 999px;
  background: var(--ph-ink);
}

/* Local/agency demo version switcher */
.demo-variants {
  position: fixed;
  z-index: 100;
  right: 1.25rem;
  bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  border: 1px solid rgba(37, 43, 41, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 38px rgba(37, 43, 41, 0.14);
  padding: 0.35rem;
  backdrop-filter: blur(12px);
}

.demo-variants__label {
  padding-inline: 0.65rem 0.45rem;
  color: var(--ph-muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.demo-variants a {
  border-radius: 999px;
  color: var(--ph-ink);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.55rem 0.8rem;
  text-decoration: none;
}

.demo-variants a[aria-current="true"] {
  background: var(--ph-ink);
  color: #fff;
}

.hero__continuation strong {
  color: var(--ph-ink);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Offer */
.offer-section {
  background: var(--ph-surface);
}

.service-list {
  margin-block: 0 clamp(3.5rem, 7vw, 6rem);
  border-top: 1px solid var(--ph-line);
}

.service-row {
  display: grid;
  align-items: start;
  gap: 1.25rem 2.5rem;
  border-bottom: 1px solid var(--ph-line);
  padding-block: clamp(1.8rem, 4vw, 3.1rem);
  grid-template-columns: 4.5rem minmax(210px, 0.7fr) minmax(0, 1.3fr);
  transition: background 180ms ease, padding 180ms ease;
}

.service-row:hover {
  background: linear-gradient(90deg, rgba(232, 238, 230, 0.72), transparent);
  padding-inline: 1rem;
}

.service-row__index {
  color: var(--ph-apricot);
  font-family: var(--ph-serif);
  font-size: 2.25rem;
  line-height: 1;
}

.service-row h3 {
  margin-bottom: 0;
  font-size: clamp(1.65rem, 3vw, 2.45rem);
}

.service-row p {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--ph-muted);
}

.focus-layout {
  display: grid;
  align-items: start;
  gap: clamp(2.5rem, 7vw, 6rem);
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
}

.focus-intro {
  position: sticky;
  top: 8.5rem;
}

.focus-intro h3 {
  margin-bottom: 1.2rem;
  font-size: clamp(2.4rem, 4vw, 4.1rem);
}

.focus-intro p {
  color: var(--ph-muted);
}

.focus-list {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
}

.focus-list li {
  position: relative;
  min-height: 5.25rem;
  border-bottom: 1px solid rgba(52, 73, 67, 0.18);
  padding: 1.45rem 2.4rem 1.45rem 1.85rem;
  font-size: 1.02rem;
  font-weight: 700;
}

.focus-list li::before {
  position: absolute;
  top: 2rem;
  left: 0;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--ph-sage);
  content: "";
}

.focus-list li:first-child {
  color: var(--ph-sage-deep);
  font-family: var(--ph-serif);
  font-size: 1.45rem;
  font-weight: 400;
}

.focus-list li:first-child::before {
  background: var(--ph-apricot);
}

/* About */
.about-section {
  position: relative;
  overflow: clip;
  background: var(--ph-sage-light);
}

.about-section::after {
  position: absolute;
  top: 12%;
  right: -8rem;
  width: 21rem;
  height: 21rem;
  border: 1px solid rgba(52, 73, 67, 0.16);
  border-radius: 48% 52% 58% 42%;
  content: "";
  transform: rotate(18deg);
}

.about-layout {
  position: relative;
  z-index: 2;
  display: grid;
  align-items: center;
  gap: clamp(3rem, 8vw, 7rem);
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
}

.about-photo {
  position: relative;
}

.about-photo img,
.about-photo .wp-block-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 47% 47% var(--ph-radius-md) var(--ph-radius-md);
  box-shadow: 0 18px 50px rgba(52, 73, 67, 0.14);
  object-fit: cover;
  object-position: 50% center;
}

.about-photo--rudi {
  animation: phRudiFloat 7.5s ease-in-out infinite;
  padding-bottom: clamp(4.25rem, 8vw, 5.8rem);
  transform-origin: 50% 80%;
}

.about-photo--rudi::after {
  position: absolute;
  z-index: -1;
  inset: 7% -5% -5% 6%;
  border: 1px solid rgba(52, 73, 67, 0.14);
  border-radius: 49% 47% var(--ph-radius-md) var(--ph-radius-md);
  content: "";
  transform: rotate(-4deg);
}

.about-photo--rudi img,
.about-photo--rudi .wp-block-image img {
  object-position: 52% 48%;
}

.rudi-speech {
  position: absolute;
  z-index: 4;
  right: clamp(-1.15rem, -2vw, -0.45rem);
  bottom: clamp(-1.35rem, -2.5vw, -0.65rem);
  width: min(92%, 20.5rem);
  border: 1px solid rgba(52, 73, 67, 0.14);
  border-radius: 26px 26px 8px 26px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 20px 50px rgba(37, 43, 41, 0.14);
  color: var(--ph-sage-deep);
  font-size: clamp(0.92rem, 1.6vw, 1.06rem);
  font-weight: 650;
  line-height: 1.45;
  padding: 1.05rem 1.15rem 1.12rem;
}

.rudi-speech span {
  display: block;
  margin-bottom: 0.22rem;
  color: var(--ph-ink);
  font-family: var(--ph-serif);
  font-size: 1.25em;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.rudi-speech::before {
  position: absolute;
  top: -0.55rem;
  right: 2.35rem;
  width: 1.2rem;
  height: 1.2rem;
  border-top: 1px solid rgba(52, 73, 67, 0.14);
  border-left: 1px solid rgba(52, 73, 67, 0.14);
  background: rgba(255, 255, 255, 0.96);
  content: "";
  transform: rotate(45deg);
}

.rudi-speech::after {
  position: absolute;
  right: 1rem;
  bottom: 0.65rem;
  color: rgba(238, 168, 144, 0.5);
  content: "Rudi";
  font-family: var(--ph-serif);
  font-size: 1.15rem;
}

.about-copy h2 {
  margin-bottom: 1.8rem;
  font-size: clamp(3rem, 6vw, 5.9rem);
}

.about-copy > p {
  max-width: 720px;
  color: #49534f;
}

.about-quote {
  max-width: 680px;
  margin-block: 2rem;
  border-left: 2px solid var(--ph-apricot);
  color: var(--ph-ink) !important;
  font-family: var(--ph-serif);
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  line-height: 1.35;
  padding-left: 1.5rem;
}

.rudi-note {
  position: relative;
  display: grid;
  max-width: 720px;
  align-items: center;
  gap: 1.05rem;
  margin-block: 2rem;
  grid-template-columns: minmax(10rem, 16rem) 1fr;
  overflow: hidden;
  border: 1px solid rgba(52, 73, 67, 0.13);
  border-radius: 24px;
  background: rgba(255, 254, 253, 0.58);
  color: #4d5f57;
  font-weight: 700;
  padding: 1rem 1.1rem;
}

.rudi-note::after {
  position: absolute;
  right: 1rem;
  bottom: 0.55rem;
  color: rgba(52, 73, 67, 0.2);
  content: "Rudi";
  font-family: var(--ph-serif);
  font-size: 1.9rem;
  line-height: 1;
}

.rudi-note img {
  width: 100%;
  max-height: 10.5rem;
  border-radius: 18px;
  object-fit: cover;
  opacity: 0.94;
}

.rudi-note span {
  position: relative;
  z-index: 2;
  line-height: 1.5;
}

/* School */
.school-section {
  background: var(--ph-apricot-light);
}

.school-layout {
  display: grid;
  align-items: center;
  gap: clamp(2.5rem, 8vw, 7rem);
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
}

.school-copy h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(3rem, 6vw, 5.7rem);
}

.school-copy p {
  max-width: 700px;
  color: #5c5852;
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}

.school-illustration {
  position: relative;
  min-height: 19rem;
}

.school-illustration__circle {
  position: absolute;
  inset: 2% 0;
  border: 1px solid rgba(52, 73, 67, 0.16);
  border-radius: 50%;
  background: radial-gradient(circle at 42% 45%, rgba(255,255,255,0.52), rgba(255,255,255,0) 62%);
  transform: rotate(-4deg);
}

.school-illustration svg {
  position: absolute;
  inset: 12% 5% auto auto;
  width: 88%;
  color: var(--ph-sage-deep);
}

.school-illustration .school-line {
  stroke: currentColor;
  stroke-width: 2;
}

.school-illustration .school-students {
  color: var(--ph-sage-deep);
  opacity: 0.86;
}

.school-illustration .school-student-line {
  stroke: currentColor;
  stroke-linejoin: round;
  stroke-width: 2;
}

.school-illustration .school-line--soft {
  opacity: 0.58;
}

.school-illustration .school-accent {
  fill: var(--ph-apricot);
  opacity: 0.62;
}

@keyframes phBirdDrift {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0.55rem, -0.35rem, 0);
  }
}

@keyframes phBirdWing {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scaleY(1) rotate(0deg);
  }
  42% {
    transform: translate3d(0, -0.08rem, 0) scaleY(0.7) rotate(-1.4deg);
  }
  68% {
    transform: translate3d(0, 0.04rem, 0) scaleY(1.12) rotate(0.7deg);
  }
}

@keyframes phWaveFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(-0.8rem, -0.28rem, 0);
  }
}

@keyframes phWaveLine {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scaleY(1);
  }
  35% {
    transform: translate3d(0.7rem, 0.18rem, 0) scaleY(1.08);
  }
  70% {
    transform: translate3d(-0.55rem, -0.12rem, 0) scaleY(0.94);
  }
}

@keyframes phRudiFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-0.2deg);
  }
  50% {
    transform: translate3d(0, -0.45rem, 0) rotate(0.8deg);
  }
}

/* Novupix PageBuilder widgets */
.novupix-section-soft {
  background: linear-gradient(180deg, rgba(251, 247, 242, 0.92), rgba(255, 254, 253, 0.98));
}

.novupix-widget-card,
.novupix-appointment-box,
.novupix-rudi-box,
.novupix-feature-list,
.novupix-timeline,
.novupix-logo-cloud,
.novupix-seo-copy {
  border: 1px solid rgba(52, 73, 67, 0.13);
  border-radius: var(--ph-radius-md);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 44px rgba(52, 73, 67, 0.08);
  padding: clamp(1.2rem, 3vw, 2rem);
}

.novupix-widget-card__icon {
  display: inline-grid;
  min-width: 2.5rem;
  min-height: 2.5rem;
  place-items: center;
  border-radius: 999px;
  background: rgba(117, 141, 111, 0.13);
  color: var(--ph-sage-deep);
  font-weight: 750;
}

.novupix-widget-card h3,
.novupix-appointment-box h3,
.novupix-rudi-box h3 {
  margin-top: 0.75rem;
  margin-bottom: 0.45rem;
}

.novupix-card-grid,
.novupix-stats,
.novupix-image-text,
.novupix-hero-split {
  align-items: stretch;
}

.novupix-stats h3 {
  color: var(--ph-sage-deep);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}

.novupix-cta {
  border-radius: var(--ph-radius-lg);
  background: linear-gradient(135deg, rgba(52, 73, 67, 0.96), rgba(77, 105, 95, 0.94));
  color: #fff;
  padding: clamp(2rem, 5vw, 4rem);
}

.novupix-cta p {
  color: rgba(255, 255, 255, 0.82);
}

.novupix-accordion details {
  border-bottom: 1px solid rgba(52, 73, 67, 0.14);
  padding: 1rem 0;
}

.novupix-accordion summary {
  cursor: pointer;
  color: var(--ph-ink);
  font-weight: 750;
}

.novupix-map-embed {
  overflow: hidden;
  border-radius: var(--ph-radius-md);
  box-shadow: var(--ph-shadow);
}

.novupix-map-embed iframe {
  display: block;
  width: 100%;
  min-height: 24rem;
  border: 0;
}

.novupix-ai-placeholder {
  border-left: 4px solid var(--ph-apricot);
  background: rgba(238, 168, 144, 0.12);
  padding: 1rem 1.2rem;
}

/* Location */
.location-section {
  background: var(--ph-surface);
}

.location-layout {
  display: grid;
  align-items: stretch;
  gap: clamp(2.5rem, 7vw, 6rem);
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.95fr);
}

.location-copy h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(3rem, 6vw, 5.8rem);
}

.address {
  margin-bottom: 2.3rem;
  font-family: var(--ph-serif);
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  line-height: 1.35;
}

.arrival-list {
  display: grid;
  margin: 0 0 2.5rem;
  padding: 0;
  gap: 0;
  list-style: none;
}

.arrival-list li {
  display: grid;
  gap: 0.4rem 1rem;
  border-top: 1px solid var(--ph-line);
  padding-block: 1rem;
  grid-template-columns: 5rem 1fr;
}

.arrival-list strong {
  color: var(--ph-sage-deep);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.map-card {
  position: relative;
  min-height: 32rem;
  overflow: hidden;
  border-radius: var(--ph-radius-lg);
  background:
    linear-gradient(28deg, transparent 46%, rgba(255,255,255,0.92) 47% 50%, transparent 51%),
    linear-gradient(112deg, transparent 48%, rgba(255,255,255,0.8) 49% 52%, transparent 53%),
    repeating-linear-gradient(25deg, rgba(52,73,67,0.07) 0 1px, transparent 1px 58px),
    var(--ph-sage-light);
}

.map-card::before,
.map-card::after {
  position: absolute;
  border: 2px solid rgba(52, 73, 67, 0.15);
  border-radius: 50%;
  content: "";
}

.map-card::before {
  top: 7%;
  left: 12%;
  width: 18rem;
  height: 18rem;
}

.map-card::after {
  right: 8%;
  bottom: 4%;
  width: 12rem;
  height: 12rem;
}

.map-card__pin {
  position: absolute;
  z-index: 2;
  top: 43%;
  left: 48%;
  width: 2.15rem;
  height: 2.15rem;
  border: 0.65rem solid var(--ph-apricot);
  border-radius: 50% 50% 50% 0;
  background: #fff;
  box-shadow: 0 8px 20px rgba(37,43,41,0.18);
  transform: rotate(-45deg);
}

.map-card__label {
  position: absolute;
  z-index: 3;
  top: 54%;
  left: 42%;
  width: min(76%, 16rem);
  border-radius: var(--ph-radius-sm);
  background: rgba(255,255,255,0.94);
  box-shadow: 0 16px 40px rgba(37,43,41,0.12);
  padding: 1rem 1.2rem;
}

.map-card__label strong,
.map-card__label span {
  display: block;
}

.map-card__label span {
  margin-top: 0.15rem;
  color: var(--ph-muted);
  font-size: 0.82rem;
}

/* Contact */
.contact-section {
  background: var(--ph-sage-deep);
  color: #fff;
}

.contact-layout {
  display: grid;
  align-items: end;
  gap: clamp(2.5rem, 7vw, 7rem);
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
}

.contact-section h2 {
  max-width: 900px;
  margin-bottom: 1.5rem;
  color: #fff;
  font-size: clamp(3rem, 7vw, 6.7rem);
}

.contact-section p {
  max-width: 760px;
  color: rgba(255,255,255,0.75);
}

.contact-email {
  display: inline-block;
  margin-top: 0.65rem;
  color: #fff;
  font-family: var(--ph-serif);
  font-size: clamp(1.35rem, 3vw, 2.3rem);
  line-height: 1.3;
  text-decoration: none;
}

.contact-meta {
  border-left: 1px solid rgba(255,255,255,0.24);
  padding-left: clamp(1.5rem, 4vw, 3rem);
}

.contact-meta strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--ph-apricot);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-meta p {
  margin-bottom: 1.6rem;
  color: #fff;
}

/* Footer */
.site-footer {
  background: #202523;
  color: rgba(255,255,255,0.72);
}

.site-footer__inner {
  display: grid;
  align-items: end;
  gap: 2rem;
  padding-block: 3.5rem;
  grid-template-columns: 1fr auto;
}

.site-footer__name {
  margin-bottom: 0.35rem;
  color: #fff;
  font-family: var(--ph-serif);
  font-size: 1.35rem;
}

.site-footer p {
  margin-bottom: 0;
  font-size: 0.88rem;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1rem 1.5rem;
  font-size: 0.86rem;
}

.site-footer__links a:hover {
  color: #fff;
}

/* Generic pages */
.page-hero {
  padding-block: clamp(4rem, 9vw, 8rem) clamp(2rem, 4vw, 4rem);
}

.page-hero h1 {
  max-width: 960px;
  font-size: clamp(3.2rem, 7vw, 6.8rem);
}

.page-content {
  padding-bottom: var(--ph-section);
}

.page-content > * {
  max-width: 780px;
  margin-right: auto;
  margin-left: auto;
}

.page-content > .alignwide {
  max-width: var(--ph-content);
}

/* Legal pages */
.legal-content {
  display: grid;
  gap: 1.2rem;
}

.legal-card {
  border: 1px solid rgba(52, 73, 67, 0.12);
  border-radius: var(--ph-radius-md);
  background: rgba(255,255,255,0.68);
  box-shadow: 0 20px 50px rgba(37, 43, 41, 0.05);
  padding: clamp(1.35rem, 3vw, 2.4rem);
}

.legal-card h2 {
  margin-bottom: 0.85rem;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
}

.legal-card ul {
  margin: 0;
  padding-left: 1.2rem;
}

.legal-card li + li {
  margin-top: 0.45rem;
}

.legal-card--notice {
  border-color: rgba(238, 168, 144, 0.36);
  background: rgba(248, 231, 223, 0.58);
}

/* 404 */
.not-found-section {
  min-height: clamp(38rem, 72vh, 54rem);
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 80% 22%, rgba(232,238,230,0.9), transparent 30rem),
    linear-gradient(180deg, rgba(251,250,247,1), rgba(255,255,255,0.82));
}

.not-found-layout {
  display: grid;
  align-items: center;
  gap: clamp(2.5rem, 7vw, 6rem);
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.78fr);
}

.not-found-code {
  margin-bottom: 0.7rem;
  color: var(--ph-apricot);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.not-found-copy h1 {
  max-width: 760px;
  margin-bottom: 1.5rem;
  font-size: clamp(3.2rem, 7vw, 6.4rem);
}

.not-found-copy p:not(.not-found-code) {
  max-width: 620px;
  color: var(--ph-muted);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.not-found-rudi {
  position: relative;
  margin: 0;
}

.not-found-rudi::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 9% -6% -7% 8%;
  border: 1px solid rgba(52, 73, 67, 0.18);
  border-radius: 44% 56% 48% 52%;
  transform: rotate(-5deg);
}

.not-found-rudi img {
  width: min(100%, 460px);
  border-radius: 44% 56% 48% 52%;
  box-shadow: var(--ph-shadow);
}

.not-found-rudi figcaption {
  max-width: 22rem;
  margin-top: 1rem;
  color: var(--ph-muted);
  font-size: 0.94rem;
}

/* Motion */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1080px) {
  .site-header__inner {
    gap: 1rem;
  }

  .brand-lockup__subline {
    display: none;
  }

  .hero__inner {
    gap: 3rem;
    grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.72fr);
  }

  .hero__title {
    font-size: clamp(3.3rem, 6.2vw, 5rem);
  }

  .site-header .wp-block-navigation__container {
    gap: 1rem;
  }

  .ph-style-concept .hero__inner {
    grid-template-columns: minmax(0, 0.95fr) minmax(430px, 1.05fr);
  }

  .ph-style-concept .hero__title {
    font-size: clamp(3.8rem, 6.3vw, 5.25rem);
  }

  .audience-grid {
    gap: 1.5rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  body.admin-bar .site-header {
    top: 46px;
  }

  .site-header__inner {
    min-height: 5rem;
  }

  .header-contact {
    display: none !important;
  }

  .preview-menu-toggle {
    display: inline-flex;
  }

  .preview-nav {
    position: fixed;
    z-index: 60;
    top: 5rem;
    right: 0;
    left: 0;
    display: none;
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--ph-line);
    background: var(--ph-bg);
    box-shadow: 0 18px 40px rgba(37, 43, 41, 0.09);
    min-height: calc(100svh - 5rem);
    padding: 1.4rem var(--ph-gutter) 2rem;
    font-family: var(--ph-serif);
    font-size: 1.8rem;
  }

  .preview-nav.is-open {
    display: flex;
  }

  .preview-nav a {
    width: 100%;
    border-bottom: 1px solid var(--ph-line);
    padding-block: 0.8rem;
  }

  .preview-nav__cta {
    display: inline-flex !important;
    width: auto !important;
    min-height: 3.2rem;
    align-items: center;
    justify-content: center;
    margin-top: 1.25rem;
    border: 1px solid var(--ph-ink) !important;
    border-radius: 999px;
    background: var(--ph-ink);
    color: #fff;
    font-family: var(--ph-sans);
    font-size: 0.95rem;
    font-weight: 700;
    padding: 0.8rem 1.3rem !important;
  }

  .hero {
    min-height: auto;
  }

  .hero__inner,
  .about-layout,
  .school-layout,
  .location-layout,
  .contact-layout,
  .not-found-layout {
    grid-template-columns: 1fr;
  }

  .hero__copy {
    max-width: 760px;
  }

  .ph-style-concept .site-header__inner {
    min-height: 5.3rem;
  }

  .ph-style-concept .brand-lockup__mark {
    width: 4rem;
    height: 3.2rem;
  }

  .ph-style-concept .brand-lockup__name {
    font-size: 1.35rem;
  }

  .ph-style-concept .hero {
    overflow: clip;
    padding-top: 3rem;
  }

  .ph-style-concept .hero__inner {
    grid-template-columns: 1fr;
  }

  .ph-style-concept .hero__copy {
    max-width: 700px;
  }

  .ph-style-concept .hero__visual {
    width: min(100%, 40rem);
    min-height: 39rem;
  }

  .ph-style-concept .hero__photo-wrap {
    right: 2%;
    width: 82%;
  }

  .ph-style-concept .hero-concept-profile {
    left: -5%;
    width: 52%;
  }

  .ph-style-concept .hero-concept-sketch {
    left: -18%;
    width: 82%;
  }

  .ph-style-concept .hero-concept-birds {
    width: 38%;
  }

  .ph-style-concept .hero-concept-leaves {
    right: -3%;
  }

  .hero__visual {
    width: min(100%, 36rem);
    min-height: 39rem;
    margin-inline: auto;
  }

  .hero__bird {
    left: -1rem;
  }

  .service-row {
    grid-template-columns: 3rem 1fr;
  }

  .service-row p {
    grid-column: 2;
  }

  .focus-layout {
    grid-template-columns: 1fr;
  }

  .focus-intro {
    position: static;
  }

  .about-photo {
    width: min(100%, 33rem);
    margin-inline: auto;
  }

  .about-photo--rudi {
    padding-bottom: 4.75rem;
  }

  .rudi-speech {
    right: 0.35rem;
    bottom: -0.9rem;
    width: min(90%, 20rem);
  }

  .school-illustration {
    width: min(100%, 30rem);
    margin-inline: auto;
  }

  .not-found-rudi {
    width: min(100%, 31rem);
    margin-inline: auto;
  }

  .location-copy {
    max-width: 760px;
  }

  .contact-meta {
    border-top: 1px solid rgba(255,255,255,0.24);
    border-left: 0;
    padding-top: 2rem;
    padding-left: 0;
  }
}

@media (max-width: 620px) {
  :root {
    --ph-gutter: 1.15rem;
    --ph-section: 4.5rem;
    --ph-radius-lg: 30px;
  }

  body {
    font-size: 1rem;
  }

  .brand-lockup__mark {
    width: 3.3rem;
    height: 2.6rem;
  }

  .brand-lockup__name {
    font-size: 1.12rem;
  }

  .hero {
    padding-top: 2.5rem;
  }

  .hero__title {
    font-size: clamp(2.95rem, 14vw, 4rem);
  }

  .ph-style-concept .hero__title {
    font-size: clamp(3rem, 14.5vw, 4.15rem);
  }

  .ph-style-concept .hero__actions {
    width: 100%;
  }

  .ph-style-concept .hero__actions .wp-block-button__link,
  .ph-style-concept .hero__actions .ph-button-link {
    min-width: 12rem;
    min-height: 3.65rem;
  }

  .ph-style-concept .hero__visual {
    min-height: 29rem;
  }

  .ph-style-concept .hero__photo-wrap {
    right: -8%;
    width: 94%;
  }

  .ph-style-concept .hero-concept-profile,
  .ph-style-concept .hero-concept-sketch {
    bottom: -1%;
    left: -15%;
    width: 78%;
  }

  .ph-style-concept .hero-concept-birds {
    top: 0;
    left: -2%;
    width: 45%;
  }

  .ph-style-concept .hero-concept-leaves {
    right: -14%;
    bottom: -3%;
    width: 38%;
  }

  .ph-style-concept .hero-concept-wave {
    bottom: -3.5rem;
    height: 9rem;
  }

  .audience-grid {
    grid-template-columns: 1fr;
  }

  .audience-item {
    grid-template-columns: 4.25rem 1fr;
  }

  .audience-item__icon {
    width: 4.25rem;
    height: 4.25rem;
  }

  .demo-variants {
    right: 0.6rem;
    bottom: 0.6rem;
    left: 0.6rem;
    justify-content: center;
  }

  .demo-variants__label {
    display: none;
  }

  .hero__actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero__visual {
    min-height: 30rem;
  }

  .hero__photo-wrap {
    width: 100%;
  }

  .hero__continuation {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-title,
  .about-copy h2,
  .school-copy h2,
  .location-copy h2,
  .contact-section h2 {
    font-size: clamp(2.75rem, 13vw, 4rem);
  }

  .section-intro {
    margin-top: -1rem;
  }

  .service-row {
    gap: 0.8rem 1rem;
    grid-template-columns: 2.2rem 1fr;
  }

  .service-row__index {
    font-size: 1.55rem;
  }

  .service-row p {
    grid-column: 1 / -1;
  }

  .focus-list {
    grid-template-columns: 1fr;
  }

  .about-layout {
    gap: 2.5rem;
  }

  .about-photo--rudi {
    padding-bottom: 0;
  }

  .rudi-speech {
    position: relative;
    right: auto;
    bottom: auto;
    top: auto;
    width: 100%;
    margin: 1rem auto 0;
    border-radius: 22px 22px 8px 22px;
    font-size: 0.96rem;
  }

  .rudi-speech::before {
    right: 2rem;
    top: -0.55rem;
    bottom: auto;
    border-top: 1px solid rgba(52, 73, 67, 0.14);
    border-left: 1px solid rgba(52, 73, 67, 0.14);
    border-right: 0;
    border-bottom: 0;
  }

  .about-photo img,
  .about-photo .wp-block-image img {
    aspect-ratio: 5 / 6;
  }

  .rudi-note {
    grid-template-columns: 1fr;
    padding: 1.1rem;
  }

  .rudi-note img {
    max-height: 10rem;
  }

  .arrival-list li {
    grid-template-columns: 1fr;
  }

  .map-card {
    min-height: 25rem;
  }

  .map-card__label {
    left: 12%;
  }

  .contact-email {
    overflow-wrap: anywhere;
  }

  .site-footer__inner {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .site-footer__links {
    justify-content: flex-start;
  }
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}
