/*
Theme Name: mitvielfalt
Description: Website für Julian Jott Knop mit Angeboten, Projekten und Materialien.
Version: 0.32.0
Requires at least: 6.6
Requires PHP: 7.4
Text Domain: mitvielfalt
License: GPL-2.0-or-later
*/
/* mitvielfalt: current layout, quiet view, responsive rules and motion. */

@font-face {
  font-family: Noto;
  src: url("assets/NotoSans-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Noto;
  src: url("assets/NotoSans-Bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --ink: #00120b;
  --pink: #a83f7b;
  --bright: #ff7fc7;
  --paper: #fff;
  --quiet: #efefef;
  --muted: #46534b;
  --line: #d7ded9;
  --measure: 1240px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Noto, Arial, sans-serif;
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.7;
}

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

a {
  color: var(--pink);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
}

a:hover {
  text-decoration-thickness: 2px;
}

button {
  font: inherit;
  cursor: pointer;
}

a,
button,
summary {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 6px;
}

h1,
h2,
h3,
p,
figure {
  margin: 0;
}

h1,
h2,
h3 {
  line-height: 1.14;
  font-weight: 700;
  letter-spacing: -0.035em;
}

p + p {
  margin-top: 1rem;
}

h2 {
  font-size: clamp(2rem, 3.4vw, 3.2rem);
}

h3 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
}

[hidden] {
  display: none !important;
}

.wrap {
  width: min(var(--measure), calc(100% - 6rem));
  margin-inline: auto;
}

.skip-link {
  top: 1rem;
  left: 1rem;
  background: white;
  padding: 0.6rem 1rem;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

.site-header {
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-block: 2rem 1.5rem;
}

.brand {
  display: block;
  flex-shrink: 0;
}

.brand img {
  width: 145px;
  height: auto;
}

.site-nav {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  padding: 0.5rem 0;
}

.site-nav a:hover {
  text-decoration: underline;
  text-decoration-color: var(--pink);
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--ink);
  padding: 0.6rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.04fr 1fr;
  gap: 4rem;
  align-items: center;
  padding-block: 2.5rem 6rem;
}

.eyebrow {
  font-size: 0.875rem;
  letter-spacing: 0.09em;
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 4.1vw, 3.8rem);
  line-height: 1.1;
  hyphens: none;
  overflow-wrap: normal;
  text-wrap: balance;
}

.question-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border: 0;
  background: transparent;
  color: var(--pink);
  padding: 0.6rem 0;
  margin-top: 0.5rem;
  font-size: 0.9375rem;
  text-decoration: underline;
  text-underline-offset: 0.3em;
}

.question-toggle span {
  font-size: 1.25em;
}

.intro {
  margin-top: 2.1rem;
  max-width: 36rem;
  font-size: 1.125rem;
  line-height: 1.65;
}

.actions {
  display: flex;
  gap: 1.6rem;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 1.75rem;
}

.primary {
  display: inline-block;
  color: white;
  background: var(--pink);
  padding: 0.8rem 1.3rem;
  text-decoration: none;
  border: 1px solid var(--pink);
}

.primary:hover {
  background: #8c3066;
  color: white;
  text-decoration: underline;
}

.text-link {
  display: inline-block;
  padding: 0.4rem 0;
}

.hero-photo {
  position: relative;
  margin: 0;
}

.hero-photo img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: 26% center;
}

.hero-photo:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 12%;
  height: 5.5%;
  background: white;
  pointer-events: none;
}

.section {
  padding-block: 4.5rem;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 3rem;
}

.section-heading h2 {
  max-width: 24ch;
}

.drawn-arrow {
  width: 95px;
  height: auto;
  transform: rotate(-9deg);
  opacity: 0.85;
  flex-shrink: 0;
}

.services-top {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 5.5rem;
  margin-bottom: 3.7rem;
}

.service p {
  margin-top: 1.15rem;
  max-width: 40rem;
}

.service .text-link {
  margin-top: 0.8rem;
}

.services-bottom {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
}

.services-bottom h3 {
  font-size: 1.6rem;
}

.service-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.project-area {
  padding-bottom: 5rem;
}

.project-meta {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--muted);
  margin-top: 1rem;
  max-width: 26rem;
}

.project p {
  max-width: 42rem;
}

.project details {
  margin-top: 1rem;
}

.project summary {
  color: var(--pink);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.3em;
  padding: 0.4rem 0;
  list-style-position: outside;
  margin-left: 1.15rem;
}

.project details[open] summary {
  margin-bottom: 1rem;
}

.project ul {
  padding-left: 1.3rem;
  margin: 0;
}

.project li + li {
  margin-top: 0.55rem;
}

.about-section {
  background: var(--quiet);
  padding-block: 5rem;
  margin-top: 1.5rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 5rem;
  align-items: start;
}

.about-copy p {
  margin-top: 1.3rem;
}

.about-copy .text-link {
  margin-top: 1rem;
}

.about-copy details {
  margin-top: 1.4rem;
}

.about-copy summary {
  color: var(--pink);
  padding: 0.5rem 0;
  cursor: pointer;
}

.contact {
  padding-block: 6rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 4rem;
}

.contact-copy p {
  max-width: 40rem;
}

.email {
  display: inline-block;
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  font-weight: 400;
  overflow-wrap: anywhere;
  margin-top: 1.7rem;
}

.location {
  font-size: 0.9375rem;
  margin-top: 1rem;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 1.8rem 2.5rem;
  font-size: 0.875rem;
}

.footer-line {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-legal {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.legal-placeholder {
  max-width: 40rem;
  margin-top: 1rem;
}

.legal-placeholder summary {
  cursor: pointer;
  color: var(--pink);
}

.legal-placeholder p {
  margin-top: 0.7rem;
  color: var(--muted);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 1500px) {
  .hero {
    gap: 5rem;
  }
  .hero h1 {
    font-size: 4rem;
  }
}

@media (max-width: 1000px) {
  .wrap {
    width: calc(100% - 3.5rem);
  }
  .site-nav {
    gap: 1.2rem;
  }
  .hero {
    gap: 2.5rem;
  }
  .hero h1 {
    font-size: 2.7rem;
  }
  .hero-photo img {
    aspect-ratio: 3/4;
  }
  .services-top {
    gap: 3rem;
  }
  .services-bottom {
    gap: 2rem;
  }
  .about-grid {
    gap: 3rem;
  }
  .contact-grid {
    gap: 2.5rem;
  }
}

@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 2.5rem);
  }
  .site-header {
    flex-wrap: wrap;
    padding-block: 1.4rem;
  }
  .brand img {
    width: 120px;
  }
  .site-nav {
    width: 100%;
    gap: 0.4rem 1.5rem;
  }
  .js .menu-toggle {
    display: block;
  }
  .js .site-nav {
    display: none;
  }
  .js .site-nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 1rem;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 2.6rem;
    padding-block: 1.5rem 3rem;
  }
  .hero h1 {
    font-size: clamp(2.2rem, 7.8vw, 3.2rem);
    max-width: 19ch;
  }
  .eyebrow {
    font-size: 0.8125rem;
    letter-spacing: 0.06em;
    max-width: 35ch;
  }
  .intro {
    margin-top: 1.4rem;
    font-size: 1.0625rem;
  }
  .actions {
    gap: 0.7rem 1.3rem;
    margin-top: 1.3rem;
  }
  .hero-photo {
    max-width: 600px;
  }
  .hero-photo img {
    aspect-ratio: 5/4;
    object-position: 26% 32%;
  }
  .section {
    padding-block: 3rem;
  }
  .section-heading {
    gap: 1.2rem;
    margin-bottom: 2.3rem;
  }
  .drawn-arrow {
    width: 65px;
  }
  .services-top,
  .services-bottom {
    grid-template-columns: 1fr;
    gap: 2.6rem;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.6rem;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .services-top {
    margin-bottom: 2.5rem;
  }
  .services-bottom {
    padding-top: 2.5rem;
  }
  .services-bottom h3 {
    font-size: 1.8rem;
  }
  .project {
    padding-block: 2rem;
  }
  .project-meta {
    margin-top: 0.7rem;
  }
  .about-section {
    padding-block: 3rem;
  }
  .about-copy p:first-child {
    margin-top: 0;
  }
  .contact {
    padding-block: 3.5rem;
  }
  .contact-grid {
    gap: 1.5rem;
  }
  .email {
    margin-top: 1.1rem;
  }
  .footer-line,
  .footer-legal {
    gap: 1.5rem;
  }
}

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

.question-toggle {
  min-height: 44px;
}

body[data-style="locker"] .primary {
  border-radius: 1.5rem;
}

body[data-style="locker"] .question-toggle {
  line-height: 1.2;
  transform-origin: left center;
}

body[data-style="locker"] .text-link:after {
  content: " ↗";
  display: inline-block;
  margin-left: 0.2em;
  color: var(--pink);
}

body[data-style="klar"] .drawn-arrow {
  visibility: hidden;
}

@media (prefers-reduced-motion: no-preference) {
  body[data-style="locker"]:not(.reduce-motion) .question-toggle {
    transition: transform 0.2s;
  }
  body[data-style="locker"]:not(.reduce-motion) .question-toggle:hover {
    transform: scale(1.045);
  }
  body[data-style="locker"]:not(.reduce-motion) .text-link:after {
    transition: transform 0.2s;
  }
  body[data-style="locker"]:not(.reduce-motion) .text-link:hover:after {
    transform: translate(3px, -3px);
  }
  body[data-style="locker"]:not(.reduce-motion) .reveal-pending {
    opacity: 0;
    transform: translateX(var(--entry, 18px));
  }
  body[data-style="locker"]:not(.reduce-motion) .reveal {
    transition:
      opacity 0.55s,
      transform 0.55s;
  }
  body[data-style="locker"]:not(.reduce-motion) .project.project-enter {
    animation: project-in 0.3s ease-out;
  }
  @keyframes project-in {
    from {
      opacity: 0.4;
      transform: translateX(12px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}

.reduce-motion *,
.reduce-motion *:after {
  animation: none !important;
  transition: none !important;
}

.reduce-motion .reveal {
  opacity: 1 !important;
  transform: none !important;
}

main {
  position: relative;
  isolation: isolate;
}

.page-path {
  position: absolute;
  inset: 0 auto 0 50%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

body[data-style="klar"] .page-path {
  display: none;
}

body[data-style="locker"] .hero-photo {
  isolation: isolate;
}

body[data-style="locker"] .hero-photo:before {
  content: "";
  position: absolute;
  inset: 1rem -1rem -1rem 1rem;
  background: var(--bright);
  border-radius: 3.5rem 0.5rem 3.5rem 0.5rem;
  z-index: -1;
}

body[data-style="locker"] .hero-photo:after {
  display: none;
}

body[data-style="locker"] .hero-photo img {
  border-radius: 3.5rem 0.5rem 3.5rem 0.5rem;
}

body[data-style="locker"] .question-toggle {
  gap: 1rem;
  margin-top: 0.7rem;
  text-align: left;
}

body[data-style="locker"] .question-toggle span {
  font-family: Noto, Arial, sans-serif;
  font-size: 1.5rem;
}

body[data-style="locker"] .service h3 {
  line-height: 1.15;
}

.about-collage {
  position: relative;
  margin-top: 2rem;
  isolation: isolate;
}

body[data-style="locker"] .about-section {
  background: white;
}

body[data-style="locker"] .about-collage:before {
  content: "";
  position: absolute;
  inset: 1rem 1rem -1rem -1rem;
  background: var(--bright);
  border-radius: 0.5rem 3.5rem 0.5rem 3.5rem;
  z-index: -1;
}

body[data-style="locker"] .contact {
  position: relative;
  margin-block: 2rem 3rem;
  isolation: isolate;
}

body[data-style="locker"] .contact:before {
  content: "";
  position: absolute;
  inset: 0 -1.5rem;
  border-radius: 4rem 0.5rem 4rem 0.5rem;
  z-index: -1;
}

body[data-style="locker"] .contact h2 {
  font-size: clamp(3.3rem, 5.4vw, 5rem);
  line-height: 1.05;
}

body[data-style="klar"] .contact :focus-visible {
  outline-color: var(--pink);
}

@media (prefers-reduced-motion: no-preference) {
  body[data-style="locker"]:not(.reduce-motion) .question-change-enter {
    animation: question-arrival 0.35s ease-out;
  }
  @keyframes question-arrival {
    from {
      opacity: 0.5;
      transform: translateY(8px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}

@media (max-width: 760px) {
  .page-path {
    display: none;
  }
  body[data-style="locker"] .hero-photo:before {
    inset: 0.65rem -0.65rem -0.65rem 0.65rem;
  }
  body[data-style="locker"] .contact:before {
    inset: 0 -0.65rem;
    border-radius: 2.5rem 0.5rem 2.5rem 0.5rem;
  }
  body[data-style="locker"] .question-toggle {
    font-size: 1.95rem;
  }
  .about-collage {
    margin-bottom: 1rem;
  }
}

@media print {
  .page-path {
    display: none !important;
  }
  .project[hidden] {
    display: block !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  body[data-style="locker"] .contact:before {
    background: white;
  }
  body[data-style="locker"] .contact h2,
  body[data-style="locker"] .contact-copy,
  body[data-style="locker"] .contact .location,
  body[data-style="locker"] .contact .email {
    color: var(--ink);
  }
}

body[data-style="locker"] .hero h1 {
  color: var(--ink);
}

body[data-style="locker"] .service h3 {
  font-family: Noto, Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

body[data-style="locker"] .question-toggle {
  font-family: Noto, Arial, sans-serif;
  letter-spacing: -0.02em;
}

body[data-style="locker"] .access-rider h4 {
  font-family: Noto, Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

body[data-style="locker"] .service h3 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
}

body[data-style="locker"] .question-toggle {
  font-size: 1rem;
  font-weight: 400;
  min-height: 48px;
  border-bottom: 0;
  text-decoration: underline;
  padding: 0.6rem 0;
  transform: none !important;
}

.curved-arrow {
  color: var(--pink);
  width: 80px;
  height: 100px;
  transform: none;
  transform-origin: top center;
}

.section-heading:hover .curved-arrow,
.section-heading:focus-within .curved-arrow {
  transform: scale(1.08);
}

@media (prefers-reduced-motion: no-preference) {
  body[data-style="locker"]:not(.reduce-motion) .curved-arrow {
    transition: transform 0.2s ease;
  }
}

body.reduce-motion .curved-arrow {
  transform: none !important;
}

body[data-style="locker"] .contact:before {
  background: var(--quiet);
}

body[data-style="locker"] .contact h2,
body[data-style="locker"] .contact-copy,
body[data-style="locker"] .contact .location {
  color: var(--ink);
}

body[data-style="locker"] .contact .email {
  color: var(--pink);
}

body[data-style="locker"] .contact :focus-visible {
  outline-color: var(--pink);
}

.gallery-figure {
  margin: 0;
}

.gallery-figure img {
  width: 100%;
  height: auto;
  max-height: 580px;
  object-fit: contain;
  background: var(--quiet);
}

body[data-style="locker"] .gallery-figure img {
  border-radius: 3rem 0.5rem 3rem 0.5rem;
  box-shadow: 10px 10px 0 var(--bright);
}

.gallery-figure figcaption {
  font-size: 0.875rem;
  color: var(--muted);
  padding-top: 1.2rem;
}

.gallery-controls {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.gallery-controls button {
  font: inherit;
  font-size: 0.875rem;
  padding: 0.6rem 1rem;
  min-height: 44px;
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  max-width: 100%;
  overflow-wrap: anywhere;
}

.gallery-controls button[aria-pressed="true"] {
  background: var(--pink);
  color: white;
  border-color: var(--pink);
}

body[data-style="locker"] .gallery-controls button {
  border-radius: 1.5rem;
}

.gallery-figure + .gallery-figure {
  margin-top: 1.5rem;
}

.about-copy .access-rider {
  border-block: 1px solid var(--line);
  padding-block: 1rem;
  margin-top: 2rem;
}

.access-rider h4 {
  font-size: 1.3rem;
  margin-top: 1.8rem;
  font-family: Noto, Arial, sans-serif;
}

.fee-list {
  margin-block: 1rem;
}

.fee-list div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding-block: 0.8rem;
}

.fee-list dt {
  font-size: 0.9375rem;
}

.fee-list dd {
  margin: 0;
  white-space: nowrap;
  font-weight: 400;
}

@media (max-width: 760px) {
  .curved-arrow {
    width: 58px;
    height: 80px;
  }
  .gallery-figure img {
    max-height: 420px;
  }
  body[data-style="locker"] .gallery-figure img {
    border-radius: 2rem 0.4rem 2rem 0.4rem;
    box-shadow: 6px 6px 0 var(--bright);
  }
  .fee-list div {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .curved-arrow {
    transform: none !important;
  }
}

.project-meta {
  background: var(--quiet);
  padding: 0.8rem 1rem;
}

body[data-style="locker"] .project-meta {
  border-radius: 0.8rem 0.2rem 0.8rem 0.2rem;
}

body[data-style="klar"] .hero h1 {
  display: block;
}

.page-path {
  width: 48%;
  left: 46%;
}

.page-path path {
  stroke-width: 2.6;
  stroke-dasharray: 5 10 18 12;
}

.about-copy .conversation-starters {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  margin-top: 1rem;
}

.about-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.collage-portrait,
.collage-event {
  display: block;
  width: 100%;
}

body[data-style="locker"] .collage-portrait {
  border-radius: 2rem 0.4rem 2rem 0.4rem;
}

body[data-style="locker"] .collage-event {
  border-radius: 0.4rem 2rem 0.4rem 2rem;
}

.gallery-figure .project-slide {
  object-fit: contain;
  background: white;
}

@media (max-width: 760px) {
  .collage-portrait,
  .collage-event {
    aspect-ratio: 4/5;
  }
}

@font-face {
  font-family: Kalam;
  src: url("assets/Kalam-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

.page-path {
  opacity: 1;
  color: var(--pink);
}

.route-background {
  opacity: 0.13;
  stroke-dasharray: none !important;
}

.route-progress {
  opacity: 0.55;
  stroke-linecap: round;
}

.route-dot {
  opacity: 0.8;
}

.about-collage {
  gap: 1.2rem;
  align-items: stretch;
}

.collage-main {
  grid-column: 1/-1;
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: center;
}

.collage-portrait,
.collage-event {
  height: auto;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center;
}

body[data-style="locker"] .collage-main {
  border-radius: 0.4rem 3rem 0.4rem 3rem;
}

body[data-style="locker"] .collage-portrait {
  transform: translateY(var(--collage-drift, 0px));
}

body[data-style="locker"] .collage-event {
  transform: translateY(calc(var(--collage-drift, 0px) * -1));
}

@media (prefers-reduced-motion: reduce) {
  .collage-portrait,
  .collage-event {
    transform: none !important;
  }
}

body.reduce-motion .collage-portrait,
body.reduce-motion .collage-event {
  transform: none !important;
}

@media (max-width: 760px) {
  .about-collage {
    gap: 0.8rem;
  }
}

body[data-style="locker"] .hero h1,
body[data-style="locker"] .section-heading h2,
body[data-style="locker"] #about-title,
body[data-style="locker"] #contact-title {
  font-family: Kalam, Noto, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.18;
  text-shadow: 2px 3px 0 var(--bright);
}

body[data-style="locker"] .hero h1 {
  font-size: clamp(2.8rem, 4.5vw, 4.2rem);
}

body[data-style="locker"] .section-heading h2,
body[data-style="locker"] #about-title {
  font-size: clamp(2.7rem, 4.2vw, 3.9rem);
}

body[data-style="locker"] #contact-title {
  font-size: clamp(3rem, 4.8vw, 4.4rem);
}

body[data-style="klar"] h1,
body[data-style="klar"] h2 {
  text-shadow: none;
}

.palette-definitions {
  position: absolute;
  overflow: hidden;
  pointer-events: none;
}

.service-story {
  height: 150px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  pointer-events: none;
}

.service-icon {
  width: 160px;
  height: 150px;
  object-fit: contain;
  filter: url(#icon-palette);
  transform: translate(var(--story-x, 0px), var(--story-y, 0px))
    rotate(var(--story-angle, 0deg));
  transform-origin: center;
}

.services-bottom .service-icon {
  width: 145px;
}

body[data-style="klar"] .service-story {
  display: none;
}

body.reduce-motion .service-icon {
  transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .service-icon {
    transform: none !important;
  }
}

@media (max-width: 760px) {
  body[data-style="locker"] .hero h1 {
    font-size: clamp(2.3rem, 8.8vw, 3.3rem);
  }
  body[data-style="locker"] .section-heading h2,
  body[data-style="locker"] #about-title {
    font-size: clamp(2.4rem, 8vw, 3.2rem);
  }
  body[data-style="locker"] #contact-title {
    font-size: clamp(2.6rem, 8.5vw, 3.5rem);
  }
  .service-story {
    height: 120px;
    margin-bottom: 1rem;
  }
  .service-icon,
  .services-bottom .service-icon {
    width: 135px;
    height: 120px;
  }
}

@media print {
  .service-icon {
    transform: none !important;
  }
  h1,
  h2 {
    text-shadow: none !important;
  }
}

.service-icon-consulting {
  filter: url(#icon-palette-clean);
}

.service-icon-learning {
  filter: url(#icon-palette-learning);
}

@media (prefers-reduced-motion: no-preference) {
  body[data-style="locker"]:not(.reduce-motion) .story-entrance {
    transition:
      opacity 0.7s ease-out,
      transform 0.75s cubic-bezier(0.2, 0.7, 0.2, 1);
  }
  body[data-style="locker"]:not(.reduce-motion) .story-waiting {
    opacity: 0;
    transform: translate(var(--arrival-x, 0px), var(--arrival-y, 0px))
      rotate(var(--arrival-angle, 0deg));
  }
}

.reduce-motion .story-entrance {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

body[data-style="klar"] .story-entrance {
  opacity: 1 !important;
  transform: none !important;
}

@media print {
  .story-entrance {
    opacity: 1 !important;
    transform: none !important;
  }
}

:root {
  --header-offset: 110px;
}

html {
  scroll-padding-top: var(--header-offset);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  width: 100%;
  margin: 0;
  display: block;
  background: white;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.site-header .brand img {
  width: 105px;
}

.site-header .site-nav {
  gap: 1.4rem;
  margin-left: auto;
}

.quiet-toggle {
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  padding: 0.5rem 0.8rem;
  font-size: 0.875rem;
  min-height: 44px;
  white-space: nowrap;
  border-radius: 1.5rem;
}

.quiet-toggle[aria-pressed="true"] {
  background: var(--pink);
  border-color: var(--pink);
  color: white;
}

.quiet-toggle:hover {
  border-color: var(--pink);
}

.section,
#ueber-mich,
#kontakt,
#veroeffentlichungen,
#impressum,
#datenschutz {
  scroll-margin-top: 0;
}

.skip-link {
  position: fixed;
  z-index: 40;
}

@media (max-width: 1000px) {
  .site-header .site-nav {
    gap: 1rem;
  }
  .header-inner {
    gap: 0.8rem;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 0.4rem 0;
  }
  .site-header .brand img {
    width: 85px;
  }
  .site-header .brand {
    order: 0;
    margin-right: auto;
  }
  .menu-toggle {
    order: 1;
    padding: 0.4rem;
  }
  .quiet-toggle {
    order: 2;
    font-size: 0.8125rem;
    padding: 0.4rem 0.65rem;
  }
  .site-header .site-nav {
    order: 3;
    margin-left: 0;
    width: 100%;
  }
  .site-header .site-nav.is-open {
    max-height: 60vh;
    overflow: auto;
    padding-bottom: 0.6rem;
  }
  .header-inner {
    gap: 0.5rem;
  }
}

@media print {
  .site-header {
    position: static;
  }
  .quiet-toggle {
    display: none !important;
  }
}

.project-gallery {
  margin-bottom: 0;
  min-width: 0;
}

.project .gallery-figure img {
  height: clamp(260px, 30vw, 400px);
  max-height: 400px;
  object-fit: contain;
}

.project .project-meta {
  max-width: 100%;
}

@media (max-width: 900px) {
  .project .gallery-figure img {
    height: auto;
    max-height: 360px;
  }
}

@media print {
  .project {
    display: grid !important;
    break-inside: avoid;
  }
  .project .gallery-figure img {
    height: auto;
    max-height: 240px;
  }
}

.about-copy .professional-background {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  margin-top: 1.4rem;
}

.professional-background h4 {
  font-family: Noto, Arial, sans-serif;
  font-size: 1.15rem;
  letter-spacing: 0;
  margin-top: 1.2rem;
}

.professional-background ul {
  padding-left: 1.2rem;
  margin-block: 0.8rem 1.2rem;
}

.professional-background li + li {
  margin-top: 0.65rem;
}

.professional-background a {
  overflow-wrap: anywhere;
}

#veroeffentlichungen {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  margin-top: 1rem !important;
}

.professional-background .qualification-note {
  margin-top: 0.3rem;
  font-size: 0.9375rem;
  line-height: 1.65;
}

.professional-background li:has(.qualification-note) + li {
  margin-top: 1.2rem;
}

/* WordPress toolbar: keep navigation and anchor destinations visible while signed in. */
body.admin-bar .site-header {
  top: 32px;
}
@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}
@media (max-width: 600px) {
  body.admin-bar .site-header {
    top: 0;
  }
}

/* Readable, static content pages under the shared fixed header. */
.legal-page {
  padding-top: calc(var(--header-offset, 120px) + 3rem);
  padding-bottom: 4rem;
}
.legal-page article {
  max-width: 48rem;
  margin-inline: auto;
}
.legal-page h1 {
  font-family: "Kalam", cursive;
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: 2rem;
}
.legal-content h2 {
  font-size: 1.35rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.legal-content p {
  margin-bottom: 1rem;
}
.legal-content a {
  overflow-wrap: anywhere;
  text-decoration: underline;
}
.legal-back {
  margin-top: 2.5rem;
}

/* Material: concise homepage invitation and a separate download library. */
.material-teaser {
  border: 0;
}
.material-teaser-body {
  display: grid;
  grid-template-columns: minmax(180px, 0.6fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}
.material-story {
  height: 220px;
  margin: 0;
}
.material-icon {
  width: 220px;
  height: 220px;
}
body[data-style="klar"] .material-teaser-body {
  grid-template-columns: 1fr;
}
.material-teaser .section-heading {
  margin-bottom: 2.5rem;
}
.material-teaser-copy {
  max-width: 36rem;
}
.material-teaser-copy p {
  margin-bottom: 1.5rem;
}
.material-page {
  padding-block: 3rem 5rem;
}
.material-intro {
  max-width: 45rem;
  margin-bottom: 3rem;
}
.material-intro h1 {
  font-family: Kalam, Noto, sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-block: 1rem 1.5rem;
  text-shadow: 2px 2px #ff7fc7;
}
.material-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3.5rem 3rem;
}
.material-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.material-preview {
  background: #ff7fc7;
  border-radius: 3rem 0.5rem 2.5rem 0.5rem;
  padding: 1rem;
  height: 210px;
  aspect-ratio: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
.material-preview-1,
.material-preview-3 {
  background: #efefef;
  border-radius: 0.5rem 3rem 0.5rem 2.5rem;
}
.material-preview img {
  height: 100%;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  transform: rotate(-3deg);
}
.material-preview-1 img,
.material-preview-3 img {
  transform: rotate(3deg);
}
.material-card h2 {
  font-family: Noto, sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  line-height: 1.25;
}
.material-meta {
  font-size: 0.875rem;
  margin-top: auto;
}
.material-download {
  align-self: flex-start;
  min-height: 44px;
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}
.material-invitation {
  margin-top: 4rem;
  padding: 2rem;
  background: #efefef;
  border-radius: 0.5rem 2rem 0.5rem 1.5rem;
}
.material-invitation h2 {
  font-family: Kalam, Noto, sans-serif;
  font-size: 2rem;
  margin-bottom: 1rem;
}
.material-invitation p {
  margin-bottom: 1rem;
  max-width: 45rem;
}
.material-back {
  margin-top: 2.5rem;
}
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
body[data-style="klar"] .material-intro h1 {
  text-shadow: none;
}
body[data-style="klar"] .material-preview,
body[data-style="klar"] .material-invitation {
  border-radius: 0;
}
body[data-style="klar"] .material-preview img {
  transform: none;
}
@media (max-width: 760px) {
  .material-grid,
  .material-teaser-body {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .material-preview {
    height: 180px;
  }
  .material-page {
    padding-top: 2rem;
  }
  .material-teaser .section-heading {
    margin-bottom: 1.75rem;
  }
  .material-story {
    height: 170px;
  }
  .material-icon {
    width: 170px;
    height: 170px;
  }
  .material-invitation {
    padding: 1.5rem;
  }
}

/* Native disclosures remain keyboard-operable, with headings for navigation. */
.about-copy summary .disclosure-heading {
  display: inline;
  margin: 0;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-shadow: none;
}

/* Material downloads use their explicit downward arrow only. */
body[data-style="locker"] .material-download::after {
  content: none;
}
body[data-style="locker"] .material-invitation h2 {
  text-shadow: 2px 2px #ff7fc7;
}
.material-teaser-copy .primary {
  display: inline-block;
}

/* Keep linked disclosures visible below the fixed header. */
.about-copy details[id] {
  scroll-margin-top: var(--header-offset, 110px);
}

/* Interaction details and narrow-screen reflow. */
.hero h1 {
  word-break: normal;
}
.section,
#ueber-mich,
#kontakt {
  scroll-margin-top: var(--header-offset, 110px);
}
.email {
  user-select: text;
}
.email-help {
  font-size: 0.95rem;
}
.term-trigger {
  display: inline;
  border: 0;
  background: none;
  color: inherit;
  padding: 0;
  font: inherit;
  text-decoration: underline dotted;
  text-underline-offset: 0.2em;
  cursor: help;
}
.term-tooltip {
  position: fixed;
  z-index: 50;
  width: max-content;
  max-width: min(24rem, calc(100vw - 2rem));
  padding: 0.75rem 1rem;
  background: var(--quiet);
  color: var(--ink);
  border: 1px solid var(--pink);
  border-radius: 0.5rem;
  font:
    1rem/1.5 Noto,
    Arial,
    sans-serif;
  box-shadow: 0 3px 12px #00120b22;
}
@media (max-width: 400px) {
  .hero h1 {
    font-size: 2rem;
  }
  .header-inner {
    gap: 0.3rem;
  }
  .quiet-toggle {
    white-space: normal;
    max-width: 8rem;
  }
  .fee-list div {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
  .contact .email {
    font-size: clamp(1.25rem, 7vw, 2rem);
  }
}
.hero > *,
.service,
.about-grid > *,
.contact-grid > * {
  min-width: 0;
}
.primary,
.term-trigger {
  max-width: 100%;
  white-space: normal;
}
.term-trigger {
  text-align: left;
}
@media (max-width: 760px) {
  .hero,
  .services-top,
  .services-bottom,
  .about-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  h1,
  h2,
  h3,
  .primary,
  .term-trigger {
    overflow-wrap: break-word;
  }
  .section-heading h2 {
    min-width: 0;
  }
}
@media (max-width: 400px) {
  .section-heading .curved-arrow {
    display: none;
  }
}
.text-link {
  max-width: 100%;
  overflow-wrap: break-word;
}
.material-teaser-copy {
  min-width: 0;
  max-width: 100%;
}
@media (max-width: 760px) {
  .material-teaser-body {
    grid-template-columns: minmax(0, 1fr);
  }
  main,
  .hero h1 {
    overflow-wrap: break-word;
  }
}

.about-copy summary,
.project summary,
h4 {
  font-weight: 700;
}

/* Project overview: one visible project, with the complete selection beside it. */
.project-browser,
.project-panels,
.project-controls,
.project-card-copy {
  min-width: 0;
}
.js .project-browser {
  display: grid;
  grid-template-columns: minmax(10rem, 0.65fr) minmax(0, 3fr);
  gap: 2.25rem;
  align-items: start;
}
.project-controls {
  position: sticky;
  top: calc(var(--header-offset, 110px) + 1.5rem);
}
.project-pagination {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.project-pagination button {
  display: flex;
  gap: 0.65rem;
  align-items: baseline;
  min-height: 44px;
  padding: 0.7rem 0.65rem;
  border: 0;
  border-left: 3px solid transparent;
  text-align: left;
  background: transparent;
  color: var(--ink);
  font-size: 0.9375rem;
  line-height: 1.45;
  overflow-wrap: break-word;
}
.project-pagination button[aria-pressed="true"] {
  border-left-color: var(--pink);
  background: var(--quiet);
  color: var(--pink);
  font-weight: 700;
}
body[data-style="locker"] .project-pagination button[aria-pressed="true"] {
  background: #ffedf7;
  border-radius: 0 1rem 0.2rem 0;
}
.project-number {
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}
.project {
  padding: 2.5rem 0;
  border-top: 1px solid var(--line);
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
  scroll-margin-top: calc(var(--header-offset, 110px) + 1rem);
}
.js .project {
  padding: 0;
  border-top: 0;
}
.project-card-copy {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}
.project-card-copy h3 {
  font-size: clamp(1.4rem, 2vw, 1.9rem);
}
.project-small-photo img {
  width: auto;
  max-width: 100%;
  margin-inline: auto;
}
.project .project-small-photo img {
  height: auto;
  max-height: 360px;
}
.video-player:empty {
  display: none;
}
.video-player iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  border: 0;
}
.video-poster {
  position: relative;
}
.video-play-mark {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--pink);
  color: white;
  font-size: 1.6rem;
}
.project .video-poster img {
  height: auto;
}
.video-load,
.video-unload {
  margin-top: 1rem;
}
.video-unload {
  padding: 0.65rem 1rem;
  background: white;
  border: 1px solid var(--pink);
  color: var(--pink);
  min-height: 44px;
}
.video-notice {
  margin-top: 0.8rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--muted);
}
@media (max-width: 1100px) {
  .js .project-browser {
    gap: 1.5rem;
  }
  .project {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 760px) {
  .js .project-browser {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.75rem;
  }
  .project-controls {
    position: static;
  }
  .project-pagination {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.25rem 0.5rem;
  }
  .project-pagination button {
    padding: 0.65rem 0.45rem;
  }
  .project .gallery-figure img {
    max-height: 360px;
  }
}
@media (max-width: 420px) {
  .project-number {
    display: none;
  }
}
@media print {
  .project-controls,
  .video-load,
  .video-unload,
  .video-player {
    display: none !important;
  }
  .js .project-browser {
    display: block;
  }
  .js .project {
    padding-block: 1.5rem;
  }
}
.project-pagination button > span:last-child {
  min-width: 0;
  overflow-wrap: anywhere;
}
