* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none;
}

a:visited {
    color: inherit;
  }

html {
}

img {
  display: block;
}

/* Some variables are “borrowed” from getkirby.com */

:root {
  --max-content-width: 1400px;
  --gutter: 40px;
  --spacing-s: 16px;
  --spacing-m: 24px;
  --spacing-l: 42px;

  --color-offwhite: #c1c1c1;

  --color-page: #ffffff;
  --color-text: #000000;

  --border-width: 16px;
  --border-color: #000000;

  --color-accent: #ff5132;
}

@media screen and (max-width: 1079px) {

:root {
    --gutter: 24px
}
  }

@media screen and (max-width: 719px) {

:root {
    --gutter: 16px
}
  }

/*
 * Typography
 * Base typography styles
 */

/* Font Face Declarations */

@font-face {
    font-family: "1797";
    src: url("../fonts/1797-ITALIC_V2.otf") format("opentype");
    font-weight: 200;
    font-style: normal;
    font-display: fallback;
}

@font-face {
    font-family: "Brix";
    src: url("../fonts/Brix.otf") format("opentype");
    font-weight: 200;
    font-style: normal;
    font-display: fallback;
}

@font-face {
    font-family: "Zaio";
    src: url("../fonts/Zaio.woff2") format("opentype");
    font-weight: 400;
    font-style: normal;
    font-display: fallback;
}

@font-face {
    font-family: "Farro";
    src: url("../fonts/Farro-Medium.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: fallback;
}

@font-face {
    font-family: "HankenGrotesk";
    src: url("../fonts/HankenGrotesk-VariableFont_wght.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: fallback;
}

:root {
    --font-headlines: "Zaio", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-copy: "HankenGrotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-family-mono: SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

html {
    font-size: 62.5%;
}

@media screen and (max-width: 1079px) {

html {
        font-size: 50%
}
    }

@media screen and (max-width: 719px) {

html {
        font-size: 50%
}
    }

body {
    font-family: var(--font-copy);
    font-size: 1.8rem;
    line-height: 1.6;
    color: var(--color-text);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headlines);
    margin-top: 0em;
    margin-bottom: 0.5em;
    line-height: 1.1;
    font-weight: 200;
    text-transform: uppercase;
    font-variation-settings: "wght" 200;

    letter-spacing: 0.04em;
}

h1 strong, h2 strong, h3 strong, h4 strong, h5 strong, h6 strong {
        font-variation-settings: "wght" 400;
    }

h1 {
    margin-top: 0.5em;
    font-size: 4rem;
}

h2 {
    font-size: 3rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 2rem;
}

p {
    margin-bottom: 0.4em;
    line-height: 1.4em;
    font-size: 2rem;
    font-weight: 400;
    font-variation-settings: "wght" 300;
    max-width: 720px;
}

p a {
        text-decoration: underline;
    }

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

a:hover {
}

strong, b {
    font-weight: 600;
}

em, i {
    font-style: italic;
}

blockquote {
    margin: var(--space-6) 0;
    padding: var(--space-4) var(--space-6);
    border-left: 4px solid var(--color-gray);

    line-height: 1.2em;
    opacity: 0.8;
    font-size: 3rem;
    margin: 1em auto;
    text-align: center;

    padding: 0 1em;
}

blockquote em {
        font-size: 1.6rem;
    }

code {
    font-family: var(--font-family-mono);
    font-size: var(--font-size-sm);
    background-color: var(--color-gray-light);
    padding: var(--space-1) var(--space-2);
    border-radius: var(--border-radius);
}

pre {
    font-family: var(--font-family-mono);
    font-size: var(--font-size-sm);
    background-color: var(--color-gray-light);
    padding: var(--space-4);
    margin: var(--space-4) 0;
    border-radius: var(--border-radius);
    overflow-x: auto;
}

pre code {
    padding: 0;
    background-color: transparent;
}

hr {
    border: 0;
    height: 1px;
    background-color: var(--color-gray);
    margin: var(--space-6) 0;
}

/* Lists */

ul, ol {
    margin: var(--space-4) 0;
    padding-left: var(--space-6);
}

ul {
    list-style-type: disc;
}

ol {
    list-style-type: decimal;
}

li {
    margin-bottom: var(--space-2);
}

figcaption {
    font-size: 1.6rem;
}

.credits {
    font-size: 1.2rem;
    text-align: right;
    opacity: 0.5;
    display: block;
}

hr {
    border-bottom: 1px solid var(--color-text);
    margin: 10px 0 var(--gutter) 0;
    opacity: 0.2;
}

/* COMPONENTS */

.outline {
    position: relative;
}

/*

     background-color: var(--border-color);
     */

.outline:after {
        content: "";

        /* filter: url(#scribble); */

        position: absolute;

        border: 4px solid var(--border-color);

        left: 0px;
        top: 0px;
        right: 0px;
        bottom: 0px;

        z-index: 99;
    }

/* 
 * Navigation
 * Navigation component styles
 */

nav ul {
    display: flex;
    list-style-type: none;
}

.menu-toggle {
    padding: var(--gutter);
    position: relative;
    z-index: 140;
    display: none;
}

.menu-toggle i {
        pointer-events: none;
        width: 52px;
        height: 52px;
        display: flex;
    }

.menu-toggle i.close {
        display: none;
    }

.menu-toggle i.burger {
        display: flex;
    }

.menu-toggle svg path, .menu-toggle svg rect, .menu-toggle svg circle {
            fill: var(--color-text);
        }

@media screen and (max-width: 1079px) {

.menu-toggle {
        position: absolute;
        top: 0px;
        right: 0px;
        bottom: 0px;
        display: flex;
        align-items: center;
        justify-content: center
}
    }

.menu-toggle[aria-expanded="true"] i.close {
            display: flex;
        }

.menu-toggle[aria-expanded="true"] i.burger {
            display: none;
        }

nav.menu {
    font-family: var(--font-headlines);

    width: 100%;

    z-index: 200;

    flex: 1;

    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    gap: 40px;
}

@media screen and (max-width: 1079px) {

nav.menu {
        flex-direction: column;
        display: none;

        z-index: 50;

        min-height: 100dvh;
        flex-direction: column;

        justify-content: center;
        position: absolute;
        top: 0px;
        left: 0;
        right: 0;

        padding: var(--gutter);

        z-index: 100;

        background-color: var(--color-page)
}

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

ul.primary-nav {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 40px;
}

@media screen and (max-width: 1079px) {

ul.primary-nav {
        align-items: flex-start;

        justify-content: center;
        flex-direction: column;
        flex: 1;
        gap: 10px
}
    }

ul.primary-nav li {
        display: flex;
    }

ul.primary-nav a {
        position: relative;

        font-size: 3rem;
        letter-spacing: 0.02em;

        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 2px;
    }

@media screen and (max-width: 1079px) {

ul.primary-nav a {
            padding: 0;
            font-size: 8vw
    }
        }

ul.primary-nav a svg {
            width: 52px;
            height: 52px;
        }

ul.primary-nav a svg path {
                fill: var(--color-text);
            }

@media screen and (max-width: 1079px) {

ul.primary-nav a svg {
                width: 64px;
                height: 64px
        }
            }

ul.primary-nav a span {
            text-transform: uppercase;
        }

ul.primary-nav a[aria-current="page"], ul.primary-nav a[aria-current="sibling"] {
        color: var(--color-accent);
    }

ul.primary-nav a[aria-current="page"] svg path, ul.primary-nav a[aria-current="sibling"] svg path {
                fill: var(--color-accent);
            }

ul.secondary-nav {
    flex-direction: row;

    flex-direction: column;
    gap: 0.2em;
}

ul.secondary-nav li a {
            display: block;
            font-size: 1.6rem;
            text-transform: none;
            line-height: 100%;
            font-weight: bold;
            letter-spacing: 0.04em;
        }

ul.secondary-nav a[aria-current="page"] {
        color: var(--color-accent);
    }

@media screen and (max-width: 1079px) {

ul.secondary-nav {
        flex-direction: row;
        gap: 20px
}
            ul.secondary-nav li a {
                font-size: 6vw;
            }
    }

ul.tertiary-nav {
    flex-direction: row;

    flex-direction: column;
    gap: 0.2em;
}

ul.tertiary-nav li a {
            display: block;
            font-size: 1.6rem;
            text-transform: none;
            line-height: 100%;
            font-weight: bold;
            letter-spacing: 0.04em;
        }

ul.tertiary-nav a[aria-current="page"] {
        color: var(--color-accent);
    }

@media screen and (max-width: 1079px) {

ul.tertiary-nav {
        flex-direction: row;
        gap: 20px
}
            ul.tertiary-nav li a {
                font-size: 6vw;
            }
    }

.languages {
    list-style-type: none;
    display: flex;
    flex-direction: row;
    gap: 5px;
}

.languages li {
        text-transform: uppercase;
        font-size: 1.4rem;
        font-weight: 400;
        opacity: 0.4;
    }

.languages li.active {
            opacity: 1;
        }

@media screen and (max-width: 1079px) {

.languages {
        order: 3
}
    }

.cart-block {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
}

span.cart-label {
  font-family: var(--font-headlines);
  text-transform: uppercase;
  font-size: 3rem;
  color: var(--color-accent);
}

.details-cart, .link-cart {
  position: relative;
  z-index: 1;

  position: relative;

  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
}

@media screen and (max-width: 719px) {

.details-cart, .link-cart {
    padding: 0
}
  }

.details-cart svg, .link-cart svg {
    width: 52px;
    height: 52px;
  }

.details-cart svg path, .link-cart svg path {
      fill: var(--color-accent);
    }

@media screen and (max-width: 719px) {

.details-cart svg, .link-cart svg {
      width: 64px;
      height: 64px
  }
    }

.details-cart span.cart-count, .link-cart span.cart-count {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    z-index: 100;
    color: #fff;
    font-size: 2rem;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    font-family: var(--font-headlines);
  }

.details-cart summary {
  list-style: none;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  text-align: right;
}

.details-cart summary:focus {
  outline: 0;
}

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

/* Mocks .details-cart summary */

.link-cart {
}

.cart {
  min-width: 25rem;
}

.cart[data-theme="dark"] {
  padding: var(--spacing-m);
  color: var(--color-page);
  background-color: var(--color-text);
}

.details-cart .cart {
  position: absolute;
  top: 64px;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: end;
}

.cart table {
  width: 100%;
}

.cart a {
  text-decoration: none;
}

.cart img {
  width: 3rem;
}

.cart table {
  margin-bottom: var(--spacing-m);
}

.cart tr {
  vertical-align: top;
}

.cart th, .cart td {
  padding: var(--spacing-s);
}

.cart th {
  text-align: left;
  font-weight: 600;
}

.cart thead {
  font-weight: 600;
}

.cart tbody th {
  font-weight: 400;
}

.cart tbody a {
  display: grid;
  grid-template-columns: 3rem auto;
  grid-template-rows: auto auto;
  column-gap: var(--spacing-m);
  padding: 0;
}

.cart tbody th img {
  grid-row-end: span 2;
}

.cart tbody th strong, .cart tbody th small {
  grid-column-start: 2;
}

.cart tbody th small {
  font-size: inherit;
  color: var(--color-gray-500);
}

.cart tbody th strong {
  display: block;
  min-width: 6rem;
}

.cart td:nth-last-child(1), .cart td:nth-last-child(2) {
  text-align: end;
}

.cart tfoot th, .cart tfoot td {
  padding-top: var(--spacing-s);
  padding-bottom: var(--spacing-s);
}

.cart tfoot th {
  text-align: end;
}

.cart button[data-action="remove"]:where(:focus-visible, :hover) {
  text-decoration: underline;
}

.cart .button-white {
  margin-inline-start: auto;
}

.cart-info {
  padding: var(--spacing-l);
  text-align: center;
}

.cart-quantity {
  display: grid;
  justify-items: start;
  /* grid-auto-flow: row; */
  row-gap: var(--spacing-s);
}

.field label {
  display: block;
  font-weight: 600;
}

.field label abbr {
  color: var(--color-gray-500);
}

.field input[type="text"], .field input[type="email"], .field input[type="textarea"], .field .StripeElement {
  margin-top: var(--spacing-s);
  box-sizing: border-box;
  width: 100%;
  padding: var(--spacing-s);
  border: 1px solid var(--color-gray-400);
  font-size: inherit;
  font-family: inherit;
  line-height: inherit;
  background-color: var(--color-page);
}

.field[data-type="radio"], .field[data-type="checkbox"] {
  display: flex;
  align-items: start;
}

.field[data-type="radio"] label, .field[data-type="checkbox"] label {
  font-weight: 400;
}

.field[data-type="radio"] input, .field[data-type="checkbox"] input {
  height: calc(1rem * var(--line-height));
  margin-right: var(--spacing-s);
  flex-shrink: 0;
}

.field[data-type="radio"] input:disabled + label, .field[data-type="checkbox"] input:disabled + label {
  color: var(--color-gray-600);
}

.field .error {
  margin-top: var(--spacing-s);
  font-size: var(--text-s);
}

.footer {
  /* @extend %scribble; */
  margin-top: auto;
  padding: var(--gutter);
  padding-top: 80px;

  font-family: var(--font-headlines);

  background-color: var(--page-color);
  color: var(--color-text);

  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.footer nav {
    font-family: var(--font-headlines);
  }

.footer nav ul {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: flex-end;
      gap: 10px;
    }

.footer nav ul a {
        letter-spacing: 0.08em;
      }

.footer .languages {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }

.footer .languages .lang-de, .footer .languages .lang-en {
      font-family: var(--font-headlines);
      color: var(--color-text);
      font-size: 3rem;
      letter-spacing: 0.02em;
    }

.footer .languages .lang-de.active, .footer .languages .lang-en.active {
        text-decoration: underline;
      }

.footer .languages .lang-de {
      order: 3;
    }

.footer .languages .lang-en {
      order: 1;
    }

.footer .languages .goblin {
      order: 2;
    }

.footer .languages .goblin svg {
        width: 120px;
        height: 120px;
      }

.footer .languages .goblin svg path {
          fill: var(--color-text);
        }

.footer .legal-links ul {
      list-style-type: none;
      justify-content: center;
      align-items: flex-start;
    }

.footer .legal-links ul li a {
          text-decoration: none;
          color: var(--color-text);
        }

.footer .legal-links ul li a:hover {
            text-decoration: underline;
          }

.layout {
}

h1, .text, .block {
  max-width: var(--max-content-width);
  margin-left: auto;
  margin-right: auto;
}

main {
  padding: 0 var(--gutter);
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
  row-gap: var(--border-width);
}

@media screen and (max-width: 1079px) {
  }

@media screen and (max-width: 719px) {

.grid {
    grid-template-columns: 1fr;
    gap: 0;
    row-gap: var(--gutter)
}
  }

.grid .grid-item {
    display: block;
  }

.columns-1 .grid-item {
  grid-column-start: span 12;
}

.columns-2 .grid-item {
  grid-column-start: span 6;
}

.columns-3 .grid-item {
  grid-column-start: span 4;
}

.columns-4 .grid-item {
  grid-column-start: span 3;
}

.column {
  grid-column-start: span var(--span);
}

.full-width, .carousel-block {
  max-width: none !important;
  margin-left: calc(var(--gutter) * -1) !important;
  margin-right: calc(var(--gutter) * -1) !important;
}

.flexgrid, .packery.vertical, .article-grid {
  --grid-gutter: 24px;

  display: flex;
  flex-direction: row;
  width: 100%;
  gap: var(--grid-gutter);
}

@media screen and (max-width: 719px) {

.flexgrid, .packery.vertical, .article-grid {
    --grid-gutter: 16px
}
  }

.flexgrid.columns-4, .packery.vertical.columns-4, .article-grid.columns-4 {
    --item-width: calc(25% - var(--grid-gutter) + var(--grid-gutter) / 4);
  }

@media screen and (max-width: 719px) {

.flexgrid.columns-4, .packery.vertical.columns-4, .article-grid.columns-4 {
      --item-width: calc(50% - var(--grid-gutter) + var(--grid-gutter) / 2)
  }
    }

.flexgrid.columns-3, .packery.vertical.columns-3, .article-grid.columns-3 {
    --item-width: calc(33% - var(--grid-gutter) + var(--grid-gutter) / 3);
  }

.flexgrid.columns-2, .packery.vertical.columns-2, .article-grid.columns-2 {
    --item-width: calc(50% - var(--grid-gutter) + var(--grid-gutter) / 2);
  }

.flexgrid.columns-1, .packery.vertical.columns-1, .article-grid.columns-1 {
    --item-width: 100%;
    --grid-gutter: 0px;
  }

.header {
  padding: var(--gutter);
  width: 100%;
  position: relative;
}

.header .wrapper {
    max-width: var(--max-content-width);
    margin: 0 auto;

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

@media screen and (max-width: 719px) {

.header .wrapper {
      justify-content: center
  }
    }

a.logo {
  position: relative;
  z-index: 150;

  font-size: 0;
  display: block;
  width: 300px;
  height: 80px;

  background-image: url("../icons/logo_oneline.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: left center;
}

@media screen and (max-width: 1319px) {

a.logo {
    background-image: url("../icons/logo_twoline.svg")
}
  }

@media screen and (max-width: 1079px) {

a.logo {
    width: 200px;
    height: 50px;
    background-position: center;
    background-image: url("../icons/logo_oneline.svg")
}
  }

.shop-header {
  padding: 0 var(--gutter);
}

.shop-header h1 {
    margin: 0;
  }

.shop-header {
  width: 100%;
}

.shop-header .wrapper {
    max-width: var(--max-content-width);
    margin: 0 auto;

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

@media screen and (max-width: 719px) {

.shop-header .wrapper {
      justify-content: center
  }
    }

.notice {
  padding: var(--spacing-m);
  background-color: var(--color-gray-300);
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-l);
}

.product-grid-item {
  position: relative;
}

.product-grid-item a {
  text-decoration: none;
}

.product-grid-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  display: flex;
  justify-content: space-between;
  padding-top: var(--spacing-s);
}

.product-grid-item figcaption em {
  font-style: normal;
  color: var(--color-gray-700);
}

@media (min-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(12, 1fr);
  }

  .product-grid .product-grid-item {
    grid-column-end: span 3;
  }
  .product-grid .product-grid-item:first-child {
    grid-column-end: span 6;
    grid-row-end: span 2;
  }
}

:root {
    --page-count: 20;
    --page-scroll: 25;
    --underline: rgba(64, 64, 64, 0.4);
    --spine: #000;
    --cover: #1a1a1a;
    --bg: #4d4d4d;
    --insert: #d9d9d9;
    --page: #e6e6e6;
    --radius: 2px;
}

.book-block {
    position: relative;
    border: 1px solid rgb(214, 214, 214);

    margin: 40px 0;
}

.book-block img {
        width: 100%;
        height: auto;

        z-index: 2;
    }

.page {
    height: auto; /* Höhe wird durch Inhalt bestimmt */
    width: 100%;
    position: relative;
    transform-style: preserve-3d;
}

.page .page__number {
    position: absolute;
    color: #808080;
    bottom: 1rem;
    font-size: 1vmin;
}

.page__half--front .page__number {
    right: 1rem;
}

.page__half--back .page__number {
    left: 1rem;
}

.page__half {
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto; /* Höhe wird durch Inhalt bestimmt */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transform: rotateY(calc(var(--rotation) * 1deg)) translate3d(0, 0, calc((0.5 * var(--coefficient)) * 1px));
}

.page__half--front {
    --rotation: 0;
    --coefficient: 0;
    backface-visibility: hidden;
    border-radius: 0 var(--radius) var(--radius) 0;
}

.page__half--back {
    --rotation: 180;
    --coefficient: 2;
    border-radius: var(--radius) 0 0 var(--radius);
}

.book {
    position: absolute;
    width: 100%;
    height: 100%;
    min-width: 300px;

    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Zentriert */
    transform-style: preserve-3d;
    perspective: 3000px;
    display: flex; /* Flexbox für nebeneinander liegende Seiten */
}

.ghost__page {
    display: flex;
    flex-direction: row;
    visibility: hidden;
}

.ghost__page img {
        width: 50%;
    }

.first__page {
    top: 0;
    left: 0;
    width: 50%; /* Linke Hälfte des Buches */
    transform-origin: right center; /* Drehpunkt rechte Mitte */
    position: absolute;
    z-index: 0;
    border-radius: var(--radius) 0 0 var(--radius); /* Abgerundete Ecken links */
}

.final__page {
    top: 0;
    left: 50%; /* Rechte Hälfte des Buches */
    width: 50%; /* Halbe Breite des Buches */
    position: absolute;
    z-index: 0;
    border-radius: 0 var(--radius) var(--radius) 0; /* Abgerundete Ecken rechts */
}

.book__page {
    position: absolute;
    left: 50%; /* Beginnt in der Mitte des Buches */
    top: 0;
    border-radius: 0 var(--radius) var(--radius) 0; /* Abgerundete Ecken rechts */
    height: auto; /* Höhe wird durch Inhalt bestimmt */
    width: 50%; /* Halbe Breite des Buches */
    transform-origin: left center; /* Drehpunkt linke Mitte */
    backface-visibility: visible; /* Rückseite sichtbar machen */
    /* Wir lassen die Z-Indizes von JavaScript verwalten */
}

.book__page:not(.book__cover) .page__half {
    background:
        repeating-linear-gradient(
                0deg,
                transparent 0 1rem,
                var(--underline) 1rem calc(1rem + 1px),
                transparent calc(1rem + 1px)
            )
            0 1rem/100% 100% no-repeat,
        var(--page);
}

.carousel-block {
    /* @extend %scribble; */

    background-color: var(--border-color);
    padding: var(--border-width) 0;
}

.carousel-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.control-zone {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 25%;
    z-index: 10;
    cursor: pointer;

    pointer-events: none;
}

@media (hover: hover) {
    .control-zone {
        pointer-events: auto;
    }
}

.control-zone.left {
    left: 0;
}

.control-zone.right {
    right: 0;
}

.control-zone:hover {
}

.control-zone.left:hover {
}

.control-zone.right:hover {
}

.control-zone::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.control-zone.left::after {
    left: 40px;
}

.control-zone.right::after {
    right: 40px;
}

.control-zone:hover::after {
    opacity: 1;
}

.carousel-container {
    overflow-x: scroll;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000;
    will-change: scroll-position;
}

.carousel-container::-webkit-scrollbar {
    display: none;
}

.carousel-container:active {
    cursor: grabbing;
}

.carousel-track {
    display: flex;
    flex-direction: row;
    gap: 20px;
    will-change: transform, scroll-position;
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000;
}

.blocks .text {
        margin-bottom: var(--gutter);
    }

.block {

    margin-bottom: var(--gutter);
}

.packery.horizontal {
    width: 100%;
    height: 40vh;
}

.packery.horizontal .grid-item {
        display: block;
    }

.packery.horizontal .grid-item.size-single {
            height: calc(50% - 8px);
            width: auto;
        }

.packery.horizontal .grid-item.size-double {
            height: 100%;
            width: auto;
        }

.packery.horizontal .grid-item figure {
            width: auto;
            height: 100%;
        }

.packery.horizontal .grid-item figure figcaption {
                display: none;
            }

.packery.horizontal .grid-item img {
            height: 100%;
            width: auto;
            display: block;
        }

.packery.vertical .gutter-sizer {
        width: var(--grid-gutter);
    }

.packery.vertical .grid-item {
        display: block;
        width: var(--item-width);
    }

.packery.vertical .grid-item figure {
            width: auto;
            height: auto;
        }

.packery.vertical .grid-item figure figcaption {
                display: none;
            }

.packery.vertical .grid-item img {
            height: auto;
            width: 100%;
            display: block;
        }

.works-block {
    max-width: var(--max-content-width);
    margin: 0 auto;
}

.article-grid .article {
        width: var(--item-width);
        background-color: #fff;
        padding: 20px;
        gap: 24px;
    }

figure.gallery {
    margin-bottom: var(--gutter);
}

figure.gallery ul {
        list-style-type: none;

        display: grid;
        grid-template-columns: repeat(12, 1fr);
        gap: var(--gutter);
        row-gap: var(--border-width);
    }

figure.gallery ul li {
            max-height: 95vh;
        }

figure.gallery img {
        width: 100%;
        height: 100%;

        object-fit: contain;
        object-position: var(--focus);
    }

figure.image-block {
    margin-bottom: var(--gutter);
    width: 100%;
    height: 100%;
    max-height: 95vh;
}

figure.image-block img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: var(--focus);
    }

figure figcaption.image-caption {
        position: absolute;
        transform: translateY(100%);
        bottom: 0px;
        left: 0px;
        width: 100%;
        text-align: right;

        padding: 3px 10px;

        font-style: italic;
    }

/* 
 * Work Navigation
 * Navigation zwischen Work-Seiten derselben Kategorie
 */

.prev-link svg, .next-link svg {
        width: 32px;
        height: 32px;
    }

.work-navigation {
    width: 100%;
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.prev-next-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-headlines);
}

/* TEMPLATES */

main {
}

@media screen and (max-width: 719px) {

h1 {
        text-align: center
}
    }

article {
    max-width: var(--max-content-width);
    margin: 0 auto;
}

article.article {
    display: flex;
    flex-direction: row;
    gap: var(--gutter);
}

header.opener {
    width: 100vw;
    height: 60vh;
    min-height: 600px;

    /*  @extend %scribble; */
    /* margin-bottom: 40px; */

    border-top: var(--border-width) solid var(--border-color);
    border-bottom: var(--border-width) solid var(--border-color);
    background-color: var(--border-color);
}

@media screen and (max-width: 719px) {

header.opener {
        margin-bottom: 0px
}
    }

header.opener figure {
        width: 100%;
        height: 100%;
    }

header.opener figure img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: var(--focus);
        }

article section.layout {
        /* padding-top: 40px; */
    }

.order .cart {
  background-color: var(--color-page);
  padding: var(--spacing-l);
}

@keyframes rotate {
  from {
    transform: rotate(0turn);
  }
  to {
    transform: rotate(1turn);
  }
}

.checkout {
  display: grid;
  row-gap: 2rem;
  column-gap: 4rem;
}

.checkout .error {
  grid-column-start: span 12;
}

.checkout.is-loading {
  color: var(--color-gray-700);
}

.checkout button[type="submit"] {
  display: flex;
  align-items: center;
}

.checkout button[type="submit"]::after {
  content: "";
  display: none;
  width: 0.7rem;
  height: 0.7rem;
  margin-inline-start: var(--spacing-s);
  border-radius: 50%;
  border: 2px solid var(--color-page);
  border-bottom-color: transparent;
  animation: 1.5s rotate linear infinite;
}

.checkout.is-loading button[type="submit"]::after {
  display: block;
}

@media (min-width: 1024px) {
  .checkout {
    grid-template-columns: 1fr auto;
    grid-auto-flow: dense;
    align-items: start;
  }

  .checkout .cart {
    position: sticky;
    top: var(--spacing-m);
    grid-row-end: span 2;
  }
}

.products-block .product-grid {
  }

.products-block .grid-item figure {
      width: 100%;
    }

.products-block .grid-item figure img {
        object-fit: contain;
        width: 100%;
        height: 100%;
      }

.product .price {
  font-size: 1.2em;
  font-weight: 700;
}

.product label {
  display: block;
}

body {
    min-height: 100vh;
    background-color: var(--color-page);
    display: flex;
    flex-direction: column;
}
