/* ───────── Schriften (lokal im Theme, kein Google-Fonts-Aufruf) ───────── */

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("fonts/space-grotesk-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("fonts/space-grotesk-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("fonts/jetbrains-mono-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("fonts/jetbrains-mono-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ───────── SCHMITTY — scroll-driven, Apple-style chapters ───────── */

.sch {
  --sch-bg: #0b0a0a;
  --sch-ember: #ff6a2b;
  --sch-ember-deep: #c2410c;
  --sch-text: #f5efe6;
  --sch-muted: #a89e93;
  --sch-line: rgba(245, 239, 230, 0.12);
  --sch-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --sch-pad: clamp(1.25rem, 4vw, 2.5rem);

  position: relative;
  background: var(--sch-bg);
  color: var(--sch-text);
  --font-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  font-family: var(--font-display);
  min-height: 100dvh;
  /* clip statt hidden: verhindert horizontales Scrollen, ohne einen Scroll-Container zu bauen */
  overflow-x: clip;
}

.sch a {
  color: inherit;
  text-decoration: none;
}

.sch ::selection {
  background: var(--sch-ember);
  color: var(--sch-bg);
}

.sch :focus-visible {
  outline: 2px solid var(--sch-ember);
  outline-offset: 4px;
}

.sch-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.sch-wrap {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--sch-pad);
}

.sch-label {
  font-family: var(--font-mono), monospace;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sch-muted);
  margin: 0;
}

.sch-nowrap {
  white-space: nowrap;
}

.sch-heart {
  color: var(--sch-ember);
  display: inline-block;
  animation: sch-beat 2.2s ease-in-out infinite;
}

.sch-dot-inline {
  color: var(--sch-ember);
}

/* ───────── Nav ───────── */

.sch-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: 64px;
  display: flex;
  align-items: center;
}

.sch-nav-bg {
  position: absolute;
  inset: 0;
  background: var(--sch-bg);
  border-bottom: 1px solid var(--sch-line);
}

.sch-nav-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sch-logo {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  padding: 0.5rem 0;
}

.sch-logo i {
  color: var(--sch-ember);
  font-style: normal;
}

.sch-nav-links,
.sch-footer-links {
  display: flex;
  gap: 1.5rem;
}

.sch-link {
  position: relative;
  display: inline-block;
  padding: 0.7rem 0;
  font-family: var(--font-mono), monospace;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sch-muted);
  transition: color 0.3s ease;
}

.sch-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.45rem;
  height: 1px;
  background: var(--sch-ember);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--sch-ease);
}

.sch-link:hover,
.sch-link:focus-visible {
  color: var(--sch-text);
}

.sch-link:hover::after,
.sch-link:focus-visible::after {
  transform: scaleX(1);
}

@media (max-width: 599px) {
  .sch-link-opt {
    display: none;
  }
}

.sch-fuse-top {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--sch-ember);
  transform-origin: left;
  box-shadow: 0 0 12px rgba(255, 106, 43, 0.7);
}

/* ───────── Hero: compact, embers + wordmark, no background image ───────── */

.sch-hero {
  position: relative;
  overflow: hidden;
  background: var(--sch-bg);
  padding: 6.2rem 0 3.4rem;
}

.sch-embers {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.sch-hero-inner {
  position: relative;
  z-index: 1;
}

.sch-title {
  display: flex;
  align-items: baseline;
  margin: 0.9rem 0 0;
  font-size: clamp(2.6rem, 18.4vw, 17rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.055em;
  white-space: nowrap;
}

.sch-mask {
  display: inline-block;
  overflow: hidden;
  padding: 0.05em 0.005em 0.1em;
}

.sch-letter {
  display: inline-block;
  will-change: transform;
}

.sch-hero-copy {
  margin-top: clamp(1rem, 2.4vw, 1.8rem);
}

.sch-lead {
  max-width: 34rem;
  margin: 0;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.55;
  color: var(--sch-muted);
}

/* ───────── Cursor glow ───────── */

.sch-cursor {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 60;
  pointer-events: none;
  width: 0;
  height: 0;
}

.sch-cursor-dot {
  position: absolute;
  left: -6px;
  top: -6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--sch-ember);
  box-shadow: 0 0 22px 6px rgba(255, 106, 43, 0.45);
  mix-blend-mode: screen;
}

@media (hover: none), (pointer: coarse) {
  .sch-cursor {
    display: none;
  }
}

/* ───────── Statement ───────── */

.sch-statement {
  padding: clamp(3.5rem, 11vh, 6.5rem) 0;
}

.sch-statement-text {
  max-width: 17em;
  margin: 0;
  font-size: clamp(2.3rem, 6.6vw, 6.2rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.sch-word {
  display: inline-block;
  margin-right: 0.24em;
}

.sch-word-hot {
  color: var(--sch-ember);
}

.sch-statement-note {
  margin: 2rem 0 0;
  color: var(--sch-muted);
  font-size: 1.15rem;
}

/* ───────── Partners: offer + code first, picture as counterpart ───────── */

.sch-section-head {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.sch-section-head .sch-section-intro {
  margin: 0;
}

@media (min-width: 900px) {
  .sch-section-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.sch-partners {
  list-style: none;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--sch-line);
}

.sch-partner {
  position: relative;
  display: grid;
  gap: 1.3rem 3.5rem;
  padding: clamp(2.2rem, 5vw, 3.6rem) 0;
  border-top: 1px solid var(--sch-line);
  isolation: isolate;
}

/* soft light that follows the pointer along the row */
.sch-partner::before {
  content: "";
  position: absolute;
  inset: 0 -1.5rem;
  z-index: -1;
  background: radial-gradient(
    460px circle at var(--mx, 50%) var(--my, 50%),
    rgba(255, 106, 43, 0.1),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.sch-partner::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 1px;
  background: var(--sch-ember);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.9s var(--sch-ease);
}

.sch-partner:hover::before,
.sch-partner:focus-within::before {
  opacity: 1;
}

.sch-partner:hover::after,
.sch-partner:focus-within::after {
  transform: scaleX(1);
}

.sch-partner-head {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.sch-partner-name {
  margin: 0;
  font-size: clamp(2.2rem, 5.6vw, 4.8rem);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.045em;
}

.sch-mask-line {
  display: block;
  overflow: hidden;
  padding: 0.04em 0 0.1em;
}

.sch-partner-name-inner {
  display: block;
  transition:
    transform 0.8s var(--sch-ease),
    color 0.4s ease;
}

.sch-partner:hover .sch-partner-name-inner,
.sch-partner:focus-within .sch-partner-name-inner {
  transform: translateX(0.1em);
  color: var(--sch-ember);
}

.sch-partner-perk {
  margin: 0;
  font-size: clamp(1.3rem, 2.4vw, 1.85rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.sch-partner-blurb {
  margin: 0.6rem 0 0;
  max-width: 30rem;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--sch-muted);
}

.sch-partner-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 1.8rem;
  margin-top: 1.5rem;
}

/* the code is the point of the page — make it big */
.sch-partner .sch-code {
  min-height: 58px;
  padding: 0.7rem 1.3rem;
}

.sch-partner .sch-code-text {
  font-size: 1.3rem;
}

/* picture: smaller, supporting; full colour on touch, wakes up on hover where hover exists */
.sch-partner-media {
  position: relative;
  aspect-ratio: 1200 / 630;
  width: 100%;
  max-width: 560px;
  overflow: hidden;
  background: #151210;
}

.sch-partner-media-clip {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.sch-partner-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.7s var(--sch-ease);
  will-change: transform;
}

@media (hover: hover) {
  .sch-partner-img {
    filter: saturate(0.7) brightness(0.8);
  }

  .sch-partner:hover .sch-partner-img,
  .sch-partner:focus-within .sch-partner-img {
    filter: none;
  }
}

@media (min-width: 900px) {
  .sch-partner {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    grid-template-areas:
      "head media"
      "body media";
    align-items: center;
    row-gap: 1.4rem;
  }

  .sch-partner[data-flip="true"] {
    /* mirror the columns too, otherwise the picture lands in the wide one */
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    grid-template-areas:
      "media head"
      "media body";
  }

  .sch-partner-head {
    grid-area: head;
    align-self: end;
  }

  .sch-partner-body {
    grid-area: body;
    align-self: start;
  }

  .sch-partner-media {
    grid-area: media;
    justify-self: end;
  }

  .sch-partner[data-flip="true"] .sch-partner-media {
    justify-self: start;
  }
}

/* ───────── Code chip ───────── */

.sch-code-wrap {
  position: relative;
  display: inline-flex;
}

.sch-code {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  min-height: 48px;
  padding: 0.55rem 1.05rem;
  background: rgba(11, 10, 10, 0.72);
  color: var(--sch-text);
  border: 1px dashed rgba(245, 239, 230, 0.4);
  border-radius: 6px;
  cursor: pointer;
  font: inherit;
  transition:
    border-color 0.3s ease,
    background-color 0.3s ease,
    color 0.3s ease;
}

.sch-code-text {
  font-family: var(--font-mono), monospace;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--sch-ember);
}

.sch-code-hint {
  /* fixed width so "kopieren" -> "kopiert ✓" never reflows the row */
  display: inline-block;
  min-width: 7.4em;
  font-family: var(--font-mono), monospace;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sch-muted);
}

.sch-code:hover {
  border-style: solid;
  border-color: var(--sch-ember);
  background: rgba(255, 106, 43, 0.14);
}

.sch-code[data-state="copied"] {
  border-style: solid;
  border-color: var(--sch-ember);
  background: var(--sch-ember);
}

.sch-code[data-state="copied"] .sch-code-text,
.sch-code[data-state="copied"] .sch-code-hint {
  color: var(--sch-bg);
}

.sch-sparks {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  pointer-events: none;
}

.sch-spark {
  position: absolute;
  left: 0;
  top: 0;
  border-radius: 50%;
  background: var(--sch-ember);
  box-shadow: 0 0 10px 2px rgba(255, 106, 43, 0.8);
}

/* ───────── Shop link ───────── */

.sch-shop {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  font-family: var(--font-mono), monospace;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sch-text);
  background-image: linear-gradient(var(--sch-ember), var(--sch-ember));
  background-repeat: no-repeat;
  background-size: 0% 1px;
  background-position: 0 calc(100% - 0.7rem);
  transition: background-size 0.6s var(--sch-ease);
}

.sch-shop:hover,
.sch-shop:focus-visible {
  background-size: 100% 1px;
}

.sch-shop-arrow {
  color: var(--sch-ember);
  transition: transform 0.5s var(--sch-ease);
}

.sch-shop:hover .sch-shop-arrow {
  transform: translateX(6px);
}

/* ───────── Sections ───────── */

.sch-section {
  padding: clamp(5rem, 11vw, 9rem) 0;
}

.sch-h2 {
  margin: 1rem 0 0;
  font-size: clamp(2.6rem, 8vw, 6.5rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.sch-section-intro {
  max-width: 28rem;
  margin: 1.6rem 0 0;
  color: var(--sch-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* ───────── Steps ───────── */

.sch-steps {
  border-top: 1px solid var(--sch-line);
}

.sch-steps-grid {
  position: relative;
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
}

.sch-steps-list {
  list-style: none;
  margin: 0;
  padding: 0 0 0 1.8rem;
  display: grid;
  gap: 2.8rem;
}

.sch-step-n {
  display: block;
  font-size: clamp(3.4rem, 9vw, 6.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 106, 43, 0.75);
}

.sch-step-title {
  margin: 0.9rem 0 0;
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.sch-step-text {
  margin: 0.6rem 0 0;
  max-width: 22rem;
  color: var(--sch-muted);
  line-height: 1.6;
}

.sch-fuse {
  position: absolute;
  background: var(--sch-line);
}

.sch-fuse-burn {
  position: absolute;
  inset: 0;
  background: var(--sch-ember);
  box-shadow: 0 0 12px rgba(255, 106, 43, 0.7);
}

.sch-fuse-tip {
  position: absolute;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #ffd9a8;
  box-shadow:
    0 0 14px 5px rgba(255, 106, 43, 0.8),
    0 0 36px 12px rgba(255, 106, 43, 0.3);
  translate: -50% -50%;
}

.sch-fuse-v {
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
}

.sch-fuse-v .sch-fuse-burn {
  transform-origin: top;
}

.sch-fuse-v .sch-fuse-tip {
  left: 0.5px;
}

.sch-fuse-h {
  display: none;
}

@media (min-width: 900px) {
  .sch-steps-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    padding: 3.2rem 0 0;
  }

  .sch-fuse-v {
    display: none;
  }

  .sch-fuse-h {
    display: block;
    left: 0;
    right: 0;
    top: 0;
    height: 1px;
  }

  .sch-fuse-h .sch-fuse-burn {
    transform-origin: left;
  }

  .sch-fuse-h .sch-fuse-tip {
    top: 0.5px;
  }
}

/* ───────── Closing ───────── */

.sch-closing {
  border-top: 1px solid var(--sch-line);
  padding-bottom: clamp(4rem, 9vw, 7rem);
}

.sch-closing-title {
  margin: 0;
  font-size: clamp(2.6rem, 10.5vw, 9rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.055em;
}

.sch-closing-text {
  margin: 2rem 0 0;
  color: var(--sch-muted);
  font-size: 1.15rem;
}

.sch-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 2.4rem;
  min-height: 48px;
  padding: 0.5rem 0.6rem 0.5rem 1.4rem;
  border: 1px solid rgba(245, 239, 230, 0.28);
  border-radius: 999px;
  font-family: var(--font-mono), monospace;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition:
    border-color 0.4s ease,
    background-color 0.4s ease;
}

.sch-cta-arrow {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--sch-ember);
  color: var(--sch-bg);
  font-size: 1rem;
  transition: transform 0.5s var(--sch-ease);
}

.sch-cta:hover {
  border-color: var(--sch-ember);
  background: rgba(255, 106, 43, 0.08);
}

.sch-cta:hover .sch-cta-arrow {
  transform: translateY(-3px);
}

/* ───────── Footer ───────── */

.sch-footer {
  border-top: 1px solid var(--sch-line);
  padding: 1.8rem 0 2.2rem;
}

.sch-footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

@media (min-width: 700px) {
  .sch-footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* ───────── Keyframes ───────── */

@keyframes sch-beat {
  0%,
  100% {
    transform: scale(1);
  }
  12% {
    transform: scale(1.22);
  }
  24% {
    transform: scale(1);
  }
}

@keyframes sch-drop {
  from {
    transform: translateY(-110%);
  }
  to {
    transform: translateY(260%);
  }
}

/* ═════════════════════════════════════════════════════════════════
   WordPress-Theme-Ergänzungen (gegenüber dem Next.js-Prototyp)
   ═════════════════════════════════════════════════════════════════ */

/* Reset: im Prototyp hat Tailwind das erledigt, in WordPress muss das Theme es selbst tun.
   :where() hält die Spezifität bei 0, damit die Klassen-Regeln oben immer gewinnen. */
:where(.sch),
:where(.sch) *,
:where(.sch) *::before,
:where(.sch) *::after {
  box-sizing: border-box;
}

:where(.sch) :is(h1, h2, h3, h4, h5, h6, p, ol, ul, figure, blockquote) {
  margin: 0;
}

:where(.sch) :is(h1, h2, h3, h4, h5, h6) {
  font-size: inherit;
  font-weight: inherit;
}

:where(.sch) :is(ol, ul) {
  padding: 0;
  list-style: none;
}

:where(.sch) :is(img, video, canvas, svg) {
  display: block;
  max-width: 100%;
}

:where(.sch) :is(img, video) {
  height: auto;
}

:where(.sch) button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
}

html {
  background: #0b0a0a;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body.sch {
  margin: 0;
}

/* WordPress admin bar sits above the fixed header */
body.admin-bar .sch-nav {
  top: 32px;
}

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

.sch-skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  background: var(--sch-ember);
  color: var(--sch-bg);
  font-family: var(--font-mono), monospace;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.sch-skip:focus {
  top: 1rem;
}

.sch-nav-bg {
  opacity: 0;
}

/* without JS the header is simply solid */
html:not(.sch-js) .sch-nav-bg {
  opacity: 1;
}

.sch-fuse-top {
  transform: scaleX(0);
}

/* ───────── Hero entrance (CSS only — works before JS has loaded) ───────── */

@keyframes sch-rise {
  from {
    transform: translateY(120%) rotate(7deg);
  }
  to {
    transform: translateY(0) rotate(0deg);
  }
}

@keyframes sch-fade-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.sch-letter {
  animation: sch-rise 1.1s var(--sch-ease) backwards;
  animation-delay: calc(0.15s + var(--i, 0) * 0.055s);
}

.sch-hero .sch-label {
  animation: sch-fade-up 0.8s var(--sch-ease) backwards;
}

.sch-hero-copy {
  animation: sch-fade-up 0.9s var(--sch-ease) 0.75s backwards;
}

/* ───────── JS-gated start states (no JS = everything simply visible) ───────── */

.sch-js .sch-word {
  opacity: 0.14;
}

.sch-js .sch-statement-note {
  opacity: 0;
}

.sch-js .sch-partner-name-inner {
  translate: 0 108%;
  transition:
    translate 0.95s var(--sch-ease) 0.05s,
    transform 0.8s var(--sch-ease),
    color 0.4s ease;
}

.sch-js .sch-mask-line.is-in .sch-partner-name-inner {
  translate: 0 0;
}

.sch-js .sch-partner-media-clip {
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1.1s var(--sch-ease);
}

.sch-js .sch-partner-media.is-in .sch-partner-media-clip {
  clip-path: inset(0 0 0 0);
}

.sch-js .sch-partner-img {
  transform: scale(1.2);
}

.sch-js .sch-closing-title {
  overflow: hidden;
  padding-bottom: 0.14em;
}

.sch-js .sch-closing-title-inner {
  display: block;
  translate: 0 105%;
  transition: translate 1.2s var(--sch-ease);
}

.sch-js .sch-closing-title.is-in .sch-closing-title-inner {
  translate: 0 0;
}

.sch-cursor {
  display: none;
}

.sch-cursor-dot {
  transition:
    transform 0.35s var(--sch-ease),
    opacity 0.35s var(--sch-ease);
}

.sch-cursor.is-active .sch-cursor-dot {
  transform: scale(3.2);
  opacity: 0.55;
}

/* ───────── Normal pages (Impressum, Datenschutz, Beiträge …) ───────── */

.sch-page {
  padding: clamp(7rem, 14vw, 10rem) 0 clamp(4rem, 9vw, 7rem);
  min-height: 70vh;
}

.sch-page-title {
  margin: 0.8rem 0 0;
  font-size: clamp(2.4rem, 7vw, 5.4rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.045em;
  overflow-wrap: anywhere;
}

.sch-prose {
  max-width: 44rem;
  margin-top: clamp(2rem, 5vw, 3.5rem);
  font-size: 1.05rem;
  line-height: 1.7;
  color: #d9d2c8;
}

.sch-prose > * + * {
  margin-top: 1.1em;
}

.sch-prose h2,
.sch-prose h3,
.sch-prose h4 {
  margin-top: 2em;
  color: var(--sch-text);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.sch-prose h2 {
  font-size: 1.7rem;
}

.sch-prose h3 {
  font-size: 1.3rem;
}

.sch-prose h4 {
  font-size: 1.1rem;
}

.sch-prose a {
  color: var(--sch-ember);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.sch-prose a:hover {
  color: #ffb08a;
}

.sch-prose ul,
.sch-prose ol {
  padding-left: 1.4em;
}

.sch-prose ul {
  list-style: disc;
}

.sch-prose ol {
  list-style: decimal;
}

.sch-prose li + li {
  margin-top: 0.4em;
}

.sch-prose img,
.sch-prose video,
.sch-prose iframe {
  max-width: 100%;
  height: auto;
}

.sch-prose blockquote {
  margin-left: 0;
  padding-left: 1.2rem;
  border-left: 2px solid var(--sch-ember);
  color: var(--sch-text);
}

.sch-prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.sch-prose th,
.sch-prose td {
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--sch-line);
  text-align: left;
}

.sch-prose code,
.sch-prose pre {
  font-family: var(--font-mono), monospace;
  font-size: 0.9em;
  background: #151210;
}

.sch-prose pre {
  padding: 1rem;
  overflow-x: auto;
}

.sch-post-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  border-bottom: 1px solid var(--sch-line);
}

.sch-post-list li {
  border-top: 1px solid var(--sch-line);
}

.sch-post-list a {
  display: block;
  padding: 1.1rem 0;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.sch-post-list a:hover {
  color: var(--sch-ember);
}

/* ───────── Reduced motion ───────── */

@media (prefers-reduced-motion: reduce) {
  .sch-letter,
  .sch-hero .sch-label,
  .sch-hero-copy,
  .sch-heart {
    animation: none;
  }

  .sch-js .sch-word,
  .sch-js .sch-statement-note {
    opacity: 1;
  }

  .sch-js .sch-partner-name-inner,
  .sch-js .sch-closing-title-inner {
    translate: 0 0;
    transition: none;
  }

  .sch-js .sch-partner-media-clip {
    clip-path: none;
    transition: none;
  }

  .sch-js .sch-partner-img {
    transform: none;
  }

  html {
    scroll-behavior: auto;
  }
}
