:root {
      --bg: #1a1512;
      --bg-soft: #211a16;
      --panel: #241d18;
      --panel-2: #2b231d;
      --panel-3: #342a22;

      --text: #f2ead9;
      --text-soft: #c9bfa9;
      --text-faint: #978a78;

      --line: rgba(255,255,255,.09);
      --line-strong: rgba(255,255,255,.17);

      --accent: #b5591c;
      --accent-bright: #e8894a;
      --accent-soft: rgba(181,89,28,.14);
      --accent-line: rgba(181,89,28,.48);

      --green: #8eb99a;
      --blue: #9bb5cc;

      --sidebar: 280px;
      --site-header-height: calc(clamp(1.5rem, 4vw, 2.125rem) + 44px);
      --content: 900px;

      --radius: 8px;
      --radius-small: 6px;

      --shadow:
        0 18px 60px rgba(0,0,0,.2),
        inset 0 1px 0 rgba(255,255,255,.025);
    }

    html {
      scroll-padding-top: calc(var(--site-header-height) + 16px);
    }

    body {
      background:
        radial-gradient(circle at 60% -10%, rgba(181,89,28,.07), transparent 34%),
        linear-gradient(180deg, #211a16 0%, #1a1512 100%);
      font-weight: 300;
      line-height: 1.7;
    }

    ::selection {
      background: var(--accent);
      color: var(--text);
    }

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

    /* Interne Textlinks im Inhalt (nicht Sidebar/Header) */
    /* Das Pfeil-Icon ist Hintergrund im linken Innenabstand (Farbe = --accent):
       so bleibt es beim Zeilenumbruch immer am Linktext und wird nicht
       unterstrichen */
    main a[href^="#"],
    .marker-tip a[href^="#"] {
      padding-left: 1.05em;
      background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b5591c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h16M13 5l7 7-7 7'/%3E%3C/svg%3E") left center / .75em .75em no-repeat;
      text-decoration: underline;
      text-underline-offset: 3px;
    }

    button {
      font: inherit;
    }

    code {
      font-family:
        "SFMono-Regular",
        Consolas,
        "Liberation Mono",
        monospace;
    }

    /* ------------------------------------------------------------
       Sidebar
    ------------------------------------------------------------ */

    .sidebar {
      position: fixed;
      inset: var(--site-header-height) auto 0 0;
      width: var(--sidebar);
      border-right: 1px solid var(--line);
      background: rgba(26,21,18,.96);
      backdrop-filter: blur(18px);
      z-index: 50;
      overflow-y: auto;
    }

    .brand {
      padding: 18px 28px;
      border-bottom: 1px solid var(--line);
    }

    .brand-title {
      font-family: "Josefin Sans", sans-serif;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: .08em;
      line-height: 1.15;
      font-size: 13px;
    }

    /* ------------------------------------------------------------
       Suche
    ------------------------------------------------------------ */

    .search {
      padding: 14px 16px 0;
    }

    .search input {
      width: 100%;
      padding: 9px 12px;
      border: 1px solid var(--line-strong);
      border-radius: 8px;
      background: var(--bg-soft);
      color: var(--text);
      font: inherit;
      font-size: 13px;
    }

    .search input::placeholder {
      color: var(--text-faint);
    }

    .search input:focus {
      outline: none;
      border-color: var(--accent);
    }

    .search-results {
      margin-top: 10px;
      padding-bottom: 40px;
    }

    .search-results a {
      display: block;
      margin-bottom: 4px;
      padding: 8px 12px;
      border-radius: 8px;
      color: var(--text-soft);
      font-size: 12.5px;
      line-height: 1.45;
    }

    .search-results a:hover,
    .search-results a:focus-visible {
      background: rgba(255,255,255,.055);
      color: var(--text);
      outline: none;
    }

    .search-results b {
      display: block;
      margin-bottom: 2px;
      color: #d58b56;
      font-size: 10px;
      font-weight: 800;
      letter-spacing: .14em;
      text-transform: uppercase;
    }

    .search-results mark {
      border-radius: 3px;
      background: rgba(213,139,86,.32);
      color: inherit;
    }

    /* Treffer im Text: nur ein leiser Schimmer, der von selbst ausblendet */
    .search-hit {
      border-radius: 4px;
      box-shadow: 0 0 0 5px rgba(213,139,86,.2);
      background: rgba(213,139,86,.2);
      animation: search-hit-fade 2.5s ease-out forwards;
    }

    @keyframes search-hit-fade {
      0%, 55% { background-color: rgba(213,139,86,.2); box-shadow: 0 0 0 5px rgba(213,139,86,.2); }
      100% { background-color: transparent; box-shadow: 0 0 0 5px transparent; }
    }

    .search {
      position: relative;
    }

    .search input {
      padding-right: 34px;
    }

    .search input::-webkit-search-cancel-button {
      display: none;
    }

    .search-clear {
      position: absolute;
      top: 14px;
      right: 16px;
      width: 36px;
      height: 36px;
      border: 0;
      background: none;
      color: var(--text-faint);
      font-size: 18px;
      line-height: 1;
      cursor: pointer;
    }

    .search-clear:hover,
    .search-clear:focus-visible {
      color: var(--text);
      outline: none;
    }

    .search-clear[hidden] {
      display: none;
    }

    .search-empty {
      padding: 8px 12px;
      color: var(--text-faint);
      font-size: 13px;
    }

    /* weniger Luft zwischen Suchfeld und erster Gruppe */
    .search + .sidebar-nav {
      padding-top: 0;
      margin-top: -6px;
    }

    body.searching .sidebar-nav {
      display: none;
    }

    .sidebar-site-links {
      display: none;
    }

    .sidebar-nav {
      padding: 24px 16px 50px;
    }

    .nav-group-title {
      margin: 19px 12px 8px;
      color: #d58b56;
      font-size: 10px;
      font-weight: 800;
      letter-spacing: .18em;
      text-transform: uppercase;
    }

    .nav-group-title:not(:first-child) {
      margin-top: 25px;
    }

    .nav-link {
      display: block;
      margin-bottom: 4px;
      padding: 6px 12px;
      border-radius: 8px;
      color: var(--text-soft);
      font-size: 13px;
      transition:
        background .16s ease,
        color .16s ease;
    }

    .nav-link:hover,
    .nav-link.active {
      background: rgba(255,255,255,.055);
      color: var(--text);
    }

    /* gerader Akzentbalken statt Inset-Schatten, der den runden Ecken folgt */
    .nav-link.active {
      position: relative;
      font-weight: 600;
    }

    .nav-link.active::before {
      content: "";
      position: absolute;
      left: 0;
      top: 7px;
      bottom: 7px;
      width: 3px;
      border-radius: 2px;
      background: var(--accent);
    }

    /* Unterabschnitte der gerade aktiven Section */
    .nav-sub {
      display: none;
      margin: -2px 0 6px 18px;
      padding-left: 10px;
      border-left: 1px solid var(--line);
    }

    .nav-sub.open {
      display: block;
    }

    .nav-sublink {
      display: block;
      margin-bottom: 1px;
      padding: 4px 10px;
      border-radius: 6px;
      color: var(--text-faint);
      font-size: 12px;
      transition:
        background .16s ease,
        color .16s ease;
    }

    .nav-sublink:hover,
    .nav-sublink.active {
      background: rgba(255,255,255,.04);
      color: var(--text);
    }

    .nav-sublink.active {
      color: #d58b56;
    }

    /* ------------------------------------------------------------
       Mobile navigation
    ------------------------------------------------------------ */

    .site-header {
      position: fixed;
      inset: 0 0 auto;
      z-index: 110;
      height: var(--site-header-height);
      padding: 0 2rem 0 1.25rem;
      border-bottom: 1px solid var(--line);
      background: linear-gradient(90deg, rgba(26,21,18,.98) 0 var(--sidebar), rgba(26,21,18,.74) var(--sidebar) 100%);
      backdrop-filter: blur(18px);
    }

    .site-brand {
      display: block;
      flex: 0 0 auto;
      width: auto;
      transform: translateY(-2px);
    }

    .site-logo {
      display: block;
      width: auto;
      height: clamp(1.5rem, 4vw, 2.125rem);
    }

    .site-header nav {
      flex: 1;
      justify-content: flex-end;
      padding: 0;
    }

    .menu-button {
      display: none;
      border: 1px solid var(--line-strong);
      background: var(--panel);
      color: var(--text);
      border-radius: 6px;
      padding: 7px 12px;
      font-family: "Josefin Sans", sans-serif;
      font-size: 12px;
      font-weight: 700;
      letter-spacing: .06em;
      text-transform: uppercase;
      cursor: pointer;
    }

    .menu-button:hover,
    .menu-button:focus-visible {
      border-color: var(--accent);
    }

    a:focus-visible,
    button:focus-visible,
    summary:focus-visible {
      outline: 2px solid var(--accent);
      outline-offset: 3px;
    }

    /* ------------------------------------------------------------
       Main layout
    ------------------------------------------------------------ */

    main {
      margin-left: var(--sidebar);
      overflow-x: clip;
    }

    .page {
      width: min(var(--content), calc(100% - 64px));
      margin: 0 auto;
      padding: 0 0 120px;
    }

    section {
      padding: 88px 0 0;
    }

    section + section {
      border-top: 1px solid var(--line);
      margin-top: 88px;
    }

    #welcome + section {
      border-top: 0;
      margin-top: 24px;
      padding-top: 48px;
    }

    /* ------------------------------------------------------------
       Typography
    ------------------------------------------------------------ */

    .eyebrow {
      color: var(--accent);
      font-size: 11px;
      font-weight: 760;
      letter-spacing: .18em;
      text-transform: uppercase;
    }

    .eyebrow + h2 {
      margin-top: 8px;
    }

    h1,
    h2,
    h3,
    h4 {
      margin-top: 0;
      line-height: 1.1;
    }

    h1 {
      max-width: none;
      margin-bottom: 25px;
      font-family: "Josefin Sans", sans-serif;
      text-transform: uppercase;
      font-size: clamp(2.25rem, 4.5vw, 4rem);
      letter-spacing: .02em;
      font-weight: 900;
      text-align: left;
    }

    .hero h1 .prefix {
      font-weight: 300;
    }

    h2 {
      margin-bottom: 22px;
      font-family: "Josefin Sans", sans-serif;
      font-size: clamp(31px, 4vw, 46px);
      letter-spacing: .025em;
      font-weight: 700;
      text-align: left;
      text-indent: -.09em;
    }

    h3 {
      margin: 46px 0 14px;
      font-family: "Josefin Sans", sans-serif;
      font-size: 23px;
      letter-spacing: .02em;
      font-weight: 700;
    }

    /* Unterabschnitte: feine Linie mit kurzem Akzentstrich als Trenner */
    section > h3 {
      margin: 72px 0 16px;
      padding-top: 34px;
      background:
        linear-gradient(var(--accent), var(--accent)) top left / 44px 2px no-repeat,
        linear-gradient(var(--line), var(--line)) top left / 100% 1px no-repeat;
    }

    section > h2 + h3 {
      margin-top: 46px;
      padding-top: 0;
      background: none;
    }

    h4 {
      margin: 0 0 8px;
      font-size: 16px;
    }

    p {
      margin: 0 0 19px;
      color: var(--text-soft);
    }

    .facts {
      margin: 0 0 19px;
      padding-left: 22px;
      color: var(--text-soft);
    }

    .facts li {
      margin-bottom: 6px;
    }

    .facts a {
      text-decoration: underline;
      text-underline-offset: 3px;
    }

    .facts strong {
      color: var(--text);
    }

    /* Absatz, der nach einer Liste neu ansetzt */
    .facts + p {
      margin-top: 28px;
    }

    /* Signalfluss als Diagramm: vier Schritte, darunter der Send-Zweig */
    .flow {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 34px 36px;
      max-width: 900px;
      margin: 32px 0 36px;
    }

    .flow-step {
      position: relative;
      padding: 12px 10px;
      border: 1px solid var(--line-strong);
      border-radius: 8px;
      background: var(--bg-soft);
      color: var(--text);
      font-size: 14px;
      font-weight: 600;
      text-align: center;
    }

    .flow-step small {
      display: block;
      margin-top: 3px;
      color: var(--text-faint);
      font-size: 12px;
      font-weight: 300;
    }

    .flow-branch {
      border-style: dashed;
    }

    .flow-sends {
      grid-column: 3;
      grid-row: 2;
    }

    .flow-returns {
      grid-column: 4;
      grid-row: 2;
    }

    /* Pfeile: Linie mit Spitze als Maske, gefaerbt mit der Akzentfarbe */
    .flow-right::after,
    .flow-down::before,
    .flow-returns::before {
      content: "";
      position: absolute;
      width: 28px;
      height: 12px;
      background: var(--accent);
      -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 12' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 6h23M20 1.5 25 6l-5 4.5'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
      mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 12' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 6h23M20 1.5 25 6l-5 4.5'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
    }

    .flow-right::after {
      top: calc(50% - 6px);
      right: -32px;
    }

    .flow-down::before {
      top: calc(100% + 11px);
      left: calc(50% - 14px);
      transform: rotate(90deg);
    }

    .flow-returns::before {
      top: -23px;
      left: calc(50% - 14px);
      transform: rotate(-90deg);
    }

    /* Send-Zweig ist optional: gepunktete Linie, leiser */
    .flow-down::before,
    .flow-sends.flow-right::after,
    .flow-returns::before {
      opacity: 0.7;
      -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 12' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 6h20' stroke-dasharray='0.1 4'/%3E%3Cpath d='M20 1.5 25 6l-5 4.5'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
      mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 12' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 6h20' stroke-dasharray='0.1 4'/%3E%3Cpath d='M20 1.5 25 6l-5 4.5'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
    }

    /* Mobil: Hauptkette links untereinander, Send-Zweig rechts daneben */
    @media (max-width: 720px) {
      .flow {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 34px 32px;
      }

      .flow-step {
        padding: 10px 8px;
        font-size: 13px;
      }

      .flow-step small {
        font-size: 11px;
      }

      .flow > .flow-step:nth-child(1) { grid-column: 1; grid-row: 1; }
      .flow > .flow-step:nth-child(2) { grid-column: 1; grid-row: 2; }
      .flow > .flow-step:nth-child(3) { grid-column: 1; grid-row: 3; }
      .flow > .flow-step:nth-child(4) { grid-column: 1; grid-row: 4; }
      .flow > .flow-sends { grid-column: 2; grid-row: 3; }
      .flow > .flow-returns { grid-column: 2; grid-row: 4; }

      /* durchgezogene Pfeile nach unten */
      .flow > .flow-step:nth-child(1)::after,
      .flow > .flow-step:nth-child(2)::after,
      .flow > .flow-step:nth-child(3)::after,
      .flow > .flow-sends::after {
        top: calc(100% + 11px);
        right: auto;
        left: calc(50% - 14px);
        transform: rotate(90deg);
      }

      /* Send-Zweig: SIGNAL nach rechts zu FX Sends */
      .flow > .flow-down::before {
        top: calc(50% - 6px);
        left: calc(100% + 2px);
        transform: none;
      }

      /* Rueckweg: Reverb · Delay nach links zu Master Out */
      .flow > .flow-returns::before {
        top: calc(50% - 6px);
        left: -30px;
        transform: rotate(180deg);
      }
    }

    .lead {
      max-width: none;
      font-size: clamp(19px, 2.3vw, 24px);
      line-height: 1.55;
      color: #e4dac6;
    }

    strong {
      color: var(--text);
    }

    .muted {
      color: var(--text-faint);
    }

    /* ------------------------------------------------------------
       Hero
    ------------------------------------------------------------ */

    .hero {
      min-height: min(100svh, 900px);
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding-top: 60px;
      padding-bottom: 56px;
      position: relative;
      isolation: isolate;
    }

    .hero::before {
      content: "";
      position: absolute;
      z-index: -1;
      inset-block: 0;
      left: 50%;
      width: calc(100vw - var(--sidebar));
      transform: translateX(-50%);
      background:
        linear-gradient(90deg, rgba(26,21,18,.88), rgba(26,21,18,.45)),
        url("../assets/workbench_bg.webp") center / cover no-repeat;
      opacity: .82;
    }

    .hero::after {
      content: "";
      position: absolute;
      z-index: -1;
      inset-block: 0;
      bottom: -1px;
      left: 50%;
      width: calc(100vw - var(--sidebar));
      transform: translateX(-50%);
      background: linear-gradient(0deg, var(--bg), transparent 44%);
      pointer-events: none;
    }

    .hero-copy {
      position: relative;
      max-width: 820px;
      text-align: left;
    }

    .hero-copy .lead,
    .hero-description {
      margin-left: 0;
      margin-right: 0;
    }

    .hero-glow {
      position: absolute;
      width: 460px;
      height: 460px;
      right: 2%;
      top: -90px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(181,89,28,.1), transparent 65%);
      filter: blur(10px);
      pointer-events: none;
    }

    .hero-tagline {
      color: var(--accent);
      font-family: "Josefin Sans", sans-serif;
      font-size: clamp(18px, 2vw, 23px);
      font-weight: 700;
      letter-spacing: .015em;
      margin-bottom: 14px;
    }

    .hero-description {
      max-width: 720px;
      margin-top: 30px;
      color: var(--text-soft);
      font-size: 18px;
    }

    .hero-copy .eyebrow {
      margin: 30px 0 4px;
    }

    .hero-copy .eyebrow + .hero-description {
      margin-top: 0;
    }

    /* ------------------------------------------------------------
       Cards
    ------------------------------------------------------------ */

    .grid {
      display: grid;
      gap: 18px;
    }

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

    .grid-3 {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .card {
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background:
        linear-gradient(180deg, rgba(255,255,255,.028), rgba(255,255,255,.01));
      padding: 24px;
      box-shadow: var(--shadow);
    }

    .card p:last-child {
      margin-bottom: 0;
    }

    .card-number {
      display: inline-grid;
      place-items: center;
      width: 30px;
      height: 30px;
      margin-bottom: 15px;
      border-radius: 8px;
      background: var(--accent-soft);
      border: 1px solid var(--accent-line);
      color: var(--accent);
      font-size: 12px;
      font-weight: 800;
    }

    .feature-title {
      margin-bottom: 6px;
      color: var(--text);
      font-size: 15px;
      font-weight: 730;
    }

    .feature-text {
      font-size: 14px;
      line-height: 1.6;
      color: var(--text-soft);
    }

    /* ------------------------------------------------------------
       Sample Groups
    ------------------------------------------------------------ */

    .sample-groups {
      display: grid;
      grid-template-columns: repeat(7, minmax(0, 1fr));
      gap: 10px;
      margin-top: 25px;
    }

    .sample-group {
      padding: 18px 10px;
      text-align: center;
      border: 1px solid var(--line);
      border-radius: 10px;
      background: rgba(255,255,255,.025);
      color: var(--text);
      font-size: 12px;
      font-weight: 730;
      letter-spacing: .05em;
      text-transform: uppercase;
    }

    .set-diagram {
      margin: 28px 0;
      padding: 24px;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: var(--panel);
    }

    .set-level {
      display: flex;
      align-items: center;
      gap: 14px;
      flex-wrap: wrap;
    }

    .set-node {
      padding: 10px 14px;
      border-radius: 9px;
      border: 1px solid var(--line-strong);
      background: var(--panel-2);
      color: var(--text);
      font-size: 13px;
      font-weight: 680;
    }

    .set-node.accent {
      border-color: var(--accent-line);
      background: var(--accent-soft);
      color: var(--accent);
    }

    .set-arrow {
      color: var(--text-faint);
    }

    /* ------------------------------------------------------------
       Product screenshots
    ------------------------------------------------------------ */

    /* Rahmen derzeit unsichtbar (Probe): zurueck mit padding: 8px, border,
       border-radius, background: var(--bg-soft) und dem box-shadow */
    .screenshot {
      margin: 36px 0;
      padding: 0;
      border: 0;
      background: none;
      overflow: hidden;
    }

    .screenshot img {
      display: block;
      width: 100%;
      height: auto;
      border-radius: 4px;
    }

    .screenshot figcaption {
      padding: 12px 0 5px;
      color: var(--text-faint);
      font-size: 12px;
    }

    .screenshot figcaption strong {
      color: var(--accent);
      font-family: "Josefin Sans", sans-serif;
      font-size: 11px;
      letter-spacing: .09em;
      text-transform: uppercase;
    }

    .playback-screenshot-crop {
      position: relative;
      aspect-ratio: 900 / 226;
      overflow: hidden;
      border-radius: 4px;
    }

    .playback-screenshot-crop img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: top center;
    }

    /* ganzes Plugin-Fenster (900x690) mit Markern */
    .playback-screenshot-crop--full {
      aspect-ratio: 900 / 690;
    }

    /* Sample View mit eingeblendeter Macro-Zeile: 900x765 */
    .playback-screenshot-crop--macros {
      aspect-ratio: 900 / 765;
    }

    /* Ausschnitt aus dem vollen Plugin-Screenshot (900x690): --cw/--ch Groesse,
       --cx/--cy Ursprung in Plugin-Pixeln */
    .screenshot-plugin {
      width: fit-content;
      max-width: 100%;
    }

    /* mindestens 520px, bei breiten Ausschnitten so breit wie das Bild */
    .screenshot-plugin figcaption {
      max-width: max(520px, calc(var(--cw) * 1px));
    }

    .plugin-crop {
      position: relative;
      width: calc(var(--cw) * 1px);
      max-width: 100%;
      aspect-ratio: var(--cw) / var(--ch);
      overflow: hidden;
      border-radius: 4px;
    }

    .plugin-crop img {
      display: block;
      width: calc(900 / var(--cw) * 100%);
      max-width: none;
      margin-left: calc(var(--cx) / var(--cw) * -100%);
      margin-top: calc(var(--cy) / var(--cw) * -100%);
    }

    /* Insert Effects: Ausschnitt links, Erklaerung und Zahlenliste rechts */
    .fx-detail {
      display: grid;
      grid-template-columns: auto 1fr;
      grid-template-rows: auto 1fr;
      column-gap: 32px;
      align-items: start;
      margin: 14px 0 40px;
    }

    .fx-detail figure {
      grid-row: 1 / span 2;
      margin: 0;
    }

    .fx-detail > p,
    .fx-detail > ol {
      grid-column: 2;
    }

    .fx-detail > p {
      margin: 0;
    }

    .fx-detail > ol {
      align-self: start;
      margin: 18px 0 0;
    }

    @media (max-width: 640px) {
      .fx-detail {
        grid-template-columns: 1fr;
      }

      .fx-detail figure,
      .fx-detail > p,
      .fx-detail > ol {
        grid-column: 1;
        grid-row: auto;
      }

      .fx-detail > p {
        margin-top: 16px;
      }
    }

    .playback-marker,
    .playback-notes > li::before {
      display: grid;
      box-sizing: border-box;
      width: 28px;
      height: 28px;
      place-items: center;
      padding: 0;
      font-family: "Inter", sans-serif;
      font-variant-numeric: lining-nums;
      text-align: center;
      border: 2px solid var(--accent);
      border-radius: 50%;
      background: rgba(17, 19, 24, .96);
      color: var(--text);
      font-size: 11px;
      font-weight: 700;
      line-height: 1;
      letter-spacing: 0;
      box-shadow: 0 0 14px rgba(253, 114, 38, .45);
      /* Minimale Drehung: der Text rastet sonst auf ganze Pixel ein, der Kreis
         aber nicht, und die Ziffer sitzt bis zu 1px neben der Mitte */
      transform: rotate(.01deg);
    }

    /* Das ganze Plugin-Fenster ist Container fuer die schmale Variante */
    .playback-screenshot-crop {
      container: shot / inline-size;
    }

    .playback-marker {
      --mk: 22px;
      position: absolute;
      z-index: 1;
      width: var(--mk);
      height: var(--mk);
      transform: translate(-50%, -50%) rotate(.01deg);
      pointer-events: none;
    }

    /* Schmale Bilder (Handy): eigene Kreis-Koordinaten (--mx/--my am Marker, in %)
       und kleinere Kreise. Ohne --mx/--my bleibt die Desktop-Position (left/top).
       Grenze (Bildbreite) auch in manual.js (MOBILE_MAX) anpassen. */
    @container shot (max-width: 520px) {
      .playback-marker {
        --mk: 18px;
        font-size: 10px;
      }

      .playback-marker[style*="--mx"] {
        left: var(--mx) !important;
        top: var(--my) !important;
      }
    }

    /* Ausschnitte (.marker-host, .plugin-crop) sind keine Container, ihre Breite sagt nichts
       ueber das Handy: hier gilt die Viewport-Breite (520px Bild + 38px Seitenrand).
       Grenze auch in manual.js (MOBILE_VIEWPORT_MAX) anpassen. */
    @media (max-width: 558px) {
      .marker-host .playback-marker,
      .plugin-crop .playback-marker {
        --mk: 18px;
        font-size: 10px;
      }

      .marker-host .playback-marker[style*="--mx"],
      .plugin-crop .playback-marker[style*="--mx"] {
        left: var(--mx) !important;
        top: var(--my) !important;
      }
    }

    /* per JS klickbar (Tooltip mit dem Listentext) */
    .playback-marker[role="button"] {
      pointer-events: auto;
      cursor: pointer;
      -webkit-tap-highlight-color: transparent;
      user-select: none;
    }

    /* groessere unsichtbare Tippflaeche */
    .playback-marker[role="button"]::after {
      content: "";
      position: absolute;
      inset: -10px;
      border-radius: 50%;
    }

    .playback-marker.is-active,
    .playback-marker[role="button"]:focus-visible {
      background: var(--accent);
      color: #111318;
      outline: none;
    }

    .marker-tip {
      position: absolute;
      z-index: 50;
      box-sizing: border-box;
      width: max-content;
      max-width: min(340px, calc(100vw - 32px));
      padding: 12px 14px;
      border: 1px solid var(--accent);
      border-radius: 8px;
      background: rgba(17, 19, 24, .97);
      color: var(--text-soft);
      font-size: 14px;
      line-height: 1.5;
      box-shadow: 0 8px 28px rgba(0, 0, 0, .45);
    }

    .marker-tip[hidden] {
      display: none;
    }

    .marker-tip strong {
      color: var(--text);
    }

    /* erstes strong = Titel des Eintrags, steht in eigener Zeile */
    .marker-tip > strong:first-child {
      display: block;
    }

    .playback-notes {
      column-count: 2;
      column-gap: 26px;
      margin: 24px 0 36px;
      padding: 0;
      list-style: none;
      counter-reset: playback-step;
    }

    .playback-notes--single {
      column-count: 1;
    }

    .playback-notes > li {
      position: relative;
      /* mindestens so hoch wie der Zahlenkreis, sonst schneidet die Spalte ihn ab */
      min-height: 28px;
      padding-left: 42px;
      color: var(--text-soft);
      counter-increment: playback-step;
      margin-bottom: 18px;
      break-inside: avoid;
    }

    .playback-notes > li::before {
      position: absolute;
      top: 0;
      left: 0;
      content: counter(playback-step);
    }

    .playback-notes strong {
      color: var(--text);
    }

    /* erstes strong = Bezeichnung des Eintrags, alle weiteren sind Hervorhebungen im Text */
    .playback-notes > li > strong:first-child {
      color: var(--accent-bright);
      font-family: "Josefin Sans", sans-serif;
      font-size: 12px;
      letter-spacing: .09em;
      text-transform: uppercase;
    }

    /* Aufzaehlung innerhalb eines Eintrags (auch im Marker-Tooltip) */
    .note-list {
      margin: 6px 0 0;
      padding-left: 20px;
      list-style: disc;
    }

    .note-list li {
      margin-bottom: 4px;
    }

    .screenshot-pad img {
      max-width: 900px;
      margin: 0 auto;
    }

    /* Ausschnitte: Bild in natuerlicher Groesse (width-Attribut), linksbuendig */
    .screenshot-crop {
      width: fit-content;
      max-width: 100%;
      margin: 28px 0;
    }

    .screenshot-crop img {
      width: var(--w);
      max-width: 100%;
      margin: 0;
    }

    /* Ausschnitt mit Nummernkreisen: Kreise in % des Bildes */
    .marker-host {
      position: relative;
      width: var(--w);
      max-width: 100%;
    }

    .screenshot-crop .marker-host img {
      width: 100%;
    }

    .screenshot-crop figcaption {
      max-width: 520px;
    }

    .shot-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 16px;
      margin: 28px 0;
    }

    @media (max-width: 558px) {
      .shot-grid {
        grid-template-columns: 1fr;
      }
    }

    .shot-grid .screenshot {
      margin: 0;
    }

    /* ------------------------------------------------------------
       Callouts
    ------------------------------------------------------------ */

    .callout {
      margin: 28px 0;
      border-left: 3px solid var(--accent);
      border-radius: 0 var(--radius-small) var(--radius-small) 0;
      background: var(--accent-soft);
      padding: 20px 22px;
    }

    .callout-title {
      color: var(--accent);
      font-size: 12px;
      font-weight: 790;
      letter-spacing: .11em;
      text-transform: uppercase;
      margin-bottom: 8px;
    }

    .callout p {
      margin: 0;
      color: #d9c2a4;
    }

    .callout p + p {
      margin-top: 10px;
    }

    /* Externer Link in einer eigenen Zeile am Ende der Box */
    .callout p.callout-link {
      margin-top: 16px;
    }

    .callout-link a {
      text-decoration: underline;
      text-underline-offset: 3px;
    }

    .info {
      border-left-color: var(--blue);
      background: rgba(130,183,255,.08);
    }

    .info .callout-title {
      color: var(--blue);
    }

    .info p {
      color: #bdcde3;
    }

    .success {
      border-left-color: var(--green);
      background: rgba(127,207,156,.08);
    }

    .success .callout-title {
      color: var(--green);
    }

    .success p {
      color: #bdd9c7;
    }

    /* Tipps in Grün, damit sie sich von den blauen Info-Boxen abheben */
    .tip {
      border-left-color: var(--green);
      background: rgba(127,207,156,.08);
    }

    .tip .callout-title {
      color: var(--green);
    }

    .tip p {
      color: #bdd9c7;
    }

    /* ------------------------------------------------------------
       Control rows
    ------------------------------------------------------------ */

    .control-list {
      margin-top: 28px;
      border-top: 1px solid var(--line);
    }

    .control-row {
      display: grid;
      grid-template-columns: 190px 1fr;
      gap: 26px;
      padding: 22px 0;
      border-bottom: 1px solid var(--line);
    }

    .control-name {
      font-weight: 710;
      color: var(--text);
    }

    .control-description {
      color: var(--text-soft);
    }

    /* ------------------------------------------------------------
       Signal flow
    ------------------------------------------------------------ */

    /* ------------------------------------------------------------
       Steps
    ------------------------------------------------------------ */

    .steps {
      counter-reset: step;
      margin-top: 28px;
    }

    .step {
      position: relative;
      padding: 8px 0 30px 58px;
    }

    .step::before {
      counter-increment: step;
      content: counter(step);
      position: absolute;
      left: 0;
      top: 3px;
      width: 34px;
      height: 34px;
      display: grid;
      place-items: center;
      border-radius: 6px;
      border: 1px solid var(--accent-line);
      background: var(--accent-soft);
      color: var(--accent);
      font-weight: 800;
      font-size: 12px;
    }

    .step:not(:last-child)::after {
      content: "";
      position: absolute;
      left: 17px;
      top: 41px;
      width: 1px;
      height: calc(100% - 34px);
      background: var(--line);
    }

    .step h4 {
      margin-top: 2px;
    }

    .step p {
      font-size: 14px;
    }

    /* ------------------------------------------------------------
       Table
    ------------------------------------------------------------ */

    .table-wrap {
      overflow-x: auto;
      margin: 28px 0;
      border: 1px solid var(--line);
      border-radius: var(--radius-small);
    }

    table {
      width: 100%;
      border-collapse: collapse;
      min-width: 600px;
    }

    th,
    td {
      padding: 14px 16px;
      text-align: left;
      border-bottom: 1px solid var(--line);
      vertical-align: top;
    }

    th {
      color: var(--text);
      font-size: 12px;
      letter-spacing: .06em;
      text-transform: uppercase;
      background: rgba(255,255,255,.025);
    }

    td {
      color: var(--text-soft);
      font-size: 14px;
    }

    /* Matrix: je Regler eine Zelle, schmale Zeilen */
    .table-matrix {
      min-width: 640px;
    }

    .table-matrix th,
    .table-matrix td {
      padding: 9px 14px;
    }

    .table-matrix td + td,
    .table-matrix th + th {
      border-left: 1px solid var(--line);
    }

    .table-matrix td:first-child {
      color: var(--text);
      font-weight: 600;
    }

    tr:last-child td {
      border-bottom: 0;
    }

    /* Auswahl-Matrix: farbige Chips statt Fließtext */
    .selection-matrix {
      min-width: 500px;
    }

    .selection-matrix th:first-child {
      width: 34%;
    }

    .selection-matrix th {
      font-size: 11px;
    }

    .selection-matrix td:first-child {
      font-weight: 400;
    }

    .selection-matrix td {
      font-size: 13px;
      padding: 7px 12px;
      vertical-align: middle;
    }

    .chip {
      display: inline-block;
      padding: 2px 9px;
      border-radius: 999px;
      border: 1px solid transparent;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: .02em;
      white-space: nowrap;
    }

    .chip--select {
      color: var(--green);
      background: rgba(127,207,156,.12);
      border-color: rgba(127,207,156,.4);
    }

    .chip--pin {
      color: var(--blue);
      background: rgba(130,183,255,.12);
      border-color: rgba(130,183,255,.4);
    }

    .chip--view {
      color: var(--accent-bright);
      background: var(--accent-soft);
      border-color: var(--accent-line);
    }

    .src {
      display: inline-block;
      min-width: 46px;
      margin-right: 10px;
      padding: 1px 6px;
      border-radius: 4px;
      font-size: 10px;
      font-weight: 800;
      letter-spacing: .08em;
      text-align: center;
      text-transform: uppercase;
    }

    .src--click {
      color: var(--accent-bright);
      background: var(--accent-soft);
      border: 1px solid var(--accent-line);
    }

    .src--midi {
      color: #c3b0ea;
      background: rgba(160,130,220,.14);
      border: 1px solid rgba(160,130,220,.45);
    }

    .row-click td:first-child {
      box-shadow: inset 3px 0 0 var(--accent-line);
    }

    .row-midi td:first-child {
      box-shadow: inset 3px 0 0 rgba(160,130,220,.45);
    }

    .chip-stack {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 6px;
    }

    .chip--none {
      color: var(--text-faint);
      background: rgba(255,255,255,.03);
      border-color: var(--line);
    }

    .legend {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 8px 10px;
      font-size: 14px;
      color: var(--text-soft);
    }

    .legend .chip:not(:first-child) {
      margin-left: 14px;
    }

    .matrix-title {
      margin: 28px 0 -14px;
      color: var(--text);
      font-size: 12px;
      font-weight: 790;
      letter-spacing: .11em;
      text-transform: uppercase;
    }

    .rule-list {
      counter-reset: rule;
      list-style: none;
      padding: 0;
      margin: 20px 0;
    }

    .rule-list li {
      position: relative;
      padding: 6px 0 6px 40px;
      color: var(--text-soft);
    }

    .rule-list li::before {
      counter-increment: rule;
      content: counter(rule);
      position: absolute;
      left: 0;
      top: 5px;
      width: 26px;
      height: 26px;
      display: grid;
      place-items: center;
      border-radius: 6px;
      border: 1px solid rgba(155,181,204,.45);
      background: rgba(155,181,204,.12);
      color: var(--blue);
      font-weight: 800;
      font-size: 12px;
    }

    .rule-list strong {
      color: var(--text);
    }

    /* ------------------------------------------------------------
       FAQ
    ------------------------------------------------------------ */

    details {
      border-bottom: 1px solid var(--line);
    }

    details:first-of-type {
      border-top: 1px solid var(--line);
    }

    #faq details:last-of-type {
      border-bottom: 0;
    }

    summary {
      cursor: pointer;
      padding: 20px 2px;
      color: var(--text);
      font-weight: 680;
      list-style: none;
    }

    summary::-webkit-details-marker {
      display: none;
    }

    summary::after {
      content: "+";
      float: right;
      color: var(--accent);
      font-size: 19px;
      font-weight: 400;
    }

    details[open] summary::after {
      content: "−";
    }

    .faq-answer {
      padding: 0 30px 21px 0;
      max-width: 800px;
    }

    /* ------------------------------------------------------------
       Responsive
    ------------------------------------------------------------ */

    @media (max-width: 960px) {
      .sidebar {
        display: none;
      }

      .site-header {
        padding: 0 2rem 0 1.25rem;
        background: rgba(26,21,18,.96);
      }

      .site-header nav {
        display: none;
      }

      .menu-button {
        display: inline-flex;
      }

      body.nav-open .sidebar {
        display: block;
        width: min(84vw, 310px);
        top: var(--site-header-height);
      }

      .sidebar-site-links {
        display: block;
      }

      main {
        margin-left: 0;
      }

      .page {
        width: min(var(--content), calc(100% - 38px));
      }

      .hero {
        min-height: min(100svh, 900px);
        padding: 90px 0 64px;
      }

      .hero::before,
      .hero::after {
        width: 100vw;
      }

      .sample-groups {
        grid-template-columns: repeat(4, minmax(0, 1fr));
      }
    }

    @media (max-width: 40rem) {
      :root {
        --site-header-height: 85px;
      }

      .site-header {
        align-items: flex-start;
        padding: 16px;
      }

      .site-logo {
        height: 1.25rem;
      }

      .site-brand {
        transform: none;
      }
    }

    @media (max-width: 720px) {
      .hero h1 {
        font-size: clamp(1.8rem, 7vw, 2.25rem);
      }

      .grid-2,
      .grid-3 {
        grid-template-columns: 1fr;
      }

      .playback-notes {
        column-count: 1;
      }

      .control-row {
        grid-template-columns: 1fr;
        gap: 8px;
      }

      .sample-groups {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      section {
        padding-top: 65px;
      }

      section + section {
        margin-top: 65px;
      }

    }

    /* ------------------------------------------------------------
       Print / PDF
    ------------------------------------------------------------ */

    @media print {
      :root {
        --text: #111;
        --text-soft: #333;
        --text-faint: #666;
        --line: #ddd;
        --line-strong: #ccc;
        --panel: #f7f7f7;
        --panel-2: #f0f0f0;
        --accent: #b65c00;
        --accent-bright: #b65c00;
        --accent-soft: #fff3e6;
      }

      body {
        background: white;
        color: black;
      }

      .sidebar,
      .site-header {
        display: none !important;
      }

      main {
        margin-left: 0;
      }

      .page {
        width: 100%;
        max-width: none;
        padding: 0;
      }

      .hero {
        min-height: 0;
        padding-top: 30mm;
      }

      .hero-glow {
        display: none;
      }

      section {
        break-before: page;
        padding-top: 0;
      }

      section.hero {
        break-before: auto;
      }

      .card,
      .callout,
      .set-diagram {
        box-shadow: none;
        break-inside: avoid;
      }

      a {
        color: inherit;
      }

    }
