/* Reset */

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  height: 100%;
  scroll-behavior: smooth;
  touch-action: manipulation;
}

body {
  width: 100%;
  height: 100%;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -webkit-hyphenate-character: "-";
  overflow-x: hidden;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

iframe {
  border: 0;
}

/* Fonts */

/* Headline */

@font-face {
  font-family: "Playfair Display";
  font-style: italic;
  font-weight: 800;
  src: local(""),
    url("../fonts/playfair-display-v25-latin-800italic.woff2") format("woff2"),
    url("../fonts/playfair-display-v25-latin-800italic.woff") format("woff");
  font-display: swap;
}

/* Sans Serif */

@font-face {
  font-family: "Fira Sans Condensed";
  font-style: normal;
  font-weight: 200;
  src: local(""),
    url("../fonts/fira-sans-condensed-v5-latin-200.woff2") format("woff2"),
    url("../fonts/fira-sans-condensed-v5-latin-200.woff") format("woff");
  font-display: swap;
}

@font-face {
  font-family: "Fira Sans Condensed";
  font-style: normal;
  font-weight: 400;
  src: local(""),
    url("../fonts/fira-sans-condensed-v5-latin-regular.woff2") format("woff2"),
    url("../fonts/fira-sans-condensed-v5-latin-regular.woff") format("woff");
  font-display: swap;
}

@font-face {
  font-family: "Fira Sans Condensed";
  font-style: normal;
  font-weight: 600;
  src: local(""),
    url("../fonts/fira-sans-condensed-v5-latin-600.woff2") format("woff2"),
    url("../fonts/fira-sans-condensed-v5-latin-600.woff") format("woff");
  font-display: swap;
}

/* Serif */

@font-face {
  font-family: "Domine";
  font-style: normal;
  font-weight: 400;
  src: local(""), url("../fonts/domine-v11-latin-regular.woff2") format("woff2"),
    url("../fonts/domine-v11-latin-regular.woff") format("woff");
  font-display: swap;
}

@font-face {
  font-family: "Domine";
  font-style: normal;
  font-weight: 600;
  src: local(""), url("../fonts/domine-v11-latin-600.woff2") format("woff2"),
    url("../fonts/domine-v11-latin-600.woff") format("woff");
  font-display: swap;
}

/* Definition Farben, Schrift, Schatten */

:root {
  --bgBlue: #36bbd9;
  --bgYellow: #f29544;
  --bgRed: #f24464;
  --bgGreen: #5faf61;
  --bgBlueDark: #747e83;
  --bgBlueLight: #7db3bb;
  --bgYellowDark: #958f85;
  --bgYellowLight: #cfa689;
  --bgRedDark: #958586;
  --bgRedLight: #cf8999;
  --bgGreenDark: #787f79;
  --bgGreenLight: #8dac8c;
  --bgBlog: #af999c;
  --bgArt: #cf707f;
  --bgBooks: #cc738e;
  --bgFolio: #a17d70;
  --bgCali: #7fa679; 
  --bgLuts: #709fa1;
  --white: 255, 255, 255;
  --dark: 33, 31, 32;
  --smoke: 66, 63, 64;
  --black: 0, 0, 0;
  --bubblegum: #f797b9;
  --rouge: #d93d59;
  --f-d: "Domine", serif;
  --f-f: "Fira Sans Condensed", sans-serif;
  --f-p: "Playfair Display", serif;
  --shade: 0px 1.1px 1.9px -3px rgba(0, 0, 0, 0.035),
    0px 2.5px 4.6px -3px rgba(0, 0, 0, 0.043),
    0px 4.8px 8.6px -3px rgba(0, 0, 0, 0.045),
    0px 8.5px 15.4px -3px rgba(0, 0, 0, 0.047),
    0px 15.9px 28.8px -3px rgba(0, 0, 0, 0.055),
    0px 39px 69px -3px rgba(0, 0, 0, 0.09);
}

/* Font Size */

:root {
  font-size: 18px;
}

@media (min-width: 320px) and (max-width: 1440px) {
  :root {
    font-size: calc(18px + (21.1 - 18) * ((100vw - 320px) / (1440 - 320)));
  }
}

@media (min-width: 1440px) {
  :root {
    font-size: 21.1px;
  }
}

/* Body */

.blue {
  background: var(--bgBlue);
}

.yellow {
  background: var(--bgYellow);
}

.red {
  background: var(--bgRed);
}

.green {
  background: var(--bgGreen);
}

.blueDark {
  background: var(--bgBlueDark);
}

.blueLight {
  background: var(--bgBlueLight);
}

.yellowDark {
  background: var(--bgYellowDark);
}

.yellowLight {
  background: var(--bgYellowLight);
}

.redDark {
  background: var(--bgRedDark);
}

.redLight {
  background: var(--bgRedLight);
}

.greenDark {
  background: var(--bgGreenDark);
}

.greenLight {
  background: var(--bgGreenLight);
}

.blog {
  background: var(--bgBlog);
}

.art {
  background: var(--bgArt);
}

.books {
  background: var(--bgBooks);
}

.folio {
  background: var(--bgFolio);
}

.cali {
  background: var(--bgCali);
}

.luts {
  background: var(--bgLuts);
}

@keyframes rainbow {
  0%,
  18% {
    background: #36bbd9;
  }

  27%,
  45% {
    background: #5faf61;
  }

  54%,
  72% {
    background: #f29544;
  }

  81%,
  100% {
    background: #f24464;
  }
}

.rainbow {
  animation: rainbow 60s infinite;
  animation-direction: alternate;
}

/* Page Grid */

.container {
  display: grid;
  grid-template-columns:
    [full-start] minmax(15px, 1fr) [main-start] minmax(auto, 1600px)
    [main-end] minmax(15px, 1fr) [full-end];
  font-size: inherit;
  justify-content: space-around;
}

#nav,
.thumbnails {
  grid-column: full;
}

.content,
.settitle,
.portfolio,
.info {
  grid-column: main;
}

/* 5 Spalten als Maximum, Rhythmus in 5 Spalten 269px, 2.11em */

.boxes {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  gap: 2.11em;
  grid-auto-flow: row;
}

.grid4 {
  grid-template-columns: 1fr 1fr 1fr 1fr;
}

.wide {
  gap: 4.22em 2.11em;
}

.dense {
  grid-auto-flow: dense;
}

.boxes .box img {
  width: 100%;
}

.round img {
  border-radius: 39px 39px 0 0;
}

.special img {
  border-radius: 0 39px 0 0;
}

.circular {
  border-radius: 50%;
}

.boxes > div > figure > img {
  border-radius: 3px;
}

.fullspan {
  grid-column: 1 / -1;
}

.middlespan {
  grid-column: 2 / -2;
}

.leftspan1 {
  grid-column: 1 / 2;
}

.leftspan2 {
  grid-column: 1 / 3;
}

.boxes > div:not([class]),
.span2 {
  grid-column: span 2;
}

.leftspan3 {
  grid-column: 1 / -3;
}

.span1 {
  grid-column: span 1;
}

.rightspan2 {
  grid-column: -3 / -1;
}

@media (min-width: 980px) and (max-width: 1440px) {
  .boxes {
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 1.91em;
  }
  .wide {
    gap: 2.73em 1.91em;
  }
  .span1:empty {
    display: none;
  }
  .leftspan2,
  .leftspan3 {
    grid-column: 1 / 3;
  }
  .middlespan {
    grid-column: span 3;
  }
  .rightspan2 {
    grid-column: -3 / -1;
  }
}

@media (min-width: 768px) and (max-width: 979px) {
  .boxes {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.07em;
  }
  .grid4 {
    grid-template-columns: 1fr 1fr;
  }
  .wide {
    gap: 1.71em 1.07em;
  }
  .span1:empty {
    display: none;
  }
  .leftspan2,
  .leftspan3 {
    grid-column: 1 / 3;
  }
  .middlespan {
    grid-column: span 2;
  }
  .rightspan2 {
    grid-column: -3 / -1;
  }
}

.offset1 {
  grid-column: 1 / -1;
  margin-left: calc((100% / 8) - 2.16em);
}

.offset2 {
  grid-column: 1 / -1;
  margin-left: calc((100% / 8) + (100% / 4));
}

.offset3 {
  grid-column: 1 / -1;
  margin-left: calc((100% / 8) - 2.16em);
  margin-right: calc((100% / 8) - 2.16em);
}

.offset4 {
  grid-column: 1 / -1;
  margin-right: calc((100% / 8) + (100% / 4));
}

@media (max-width: 768px) {
  .boxes {
    display: flex;
    flex-direction: column;
    gap: 2.11em;
  }
  .wide {
    gap: 2.11em;
  }
  div:empty {
    display: none;
  }
  .offset1,
  .offset2,
  .offset3,
  .offset4 {
    margin: 0;
  }
}

/* Navigation mobile */

@media (max-width: 768px) {
  .content {
    margin-top: 60px;
  }
  #nav {
    position: fixed;
    top: 15px;
    left: 15px;
    padding: 0;
    margin: 0 auto;
    z-index: 1000;
  }
  #nav-toggle {
    display: block;
    z-index: 1;
    -webkit-user-select: none;
    user-select: none;
    padding: 15px 0;
    width: 60px;
    height: 60px;
    background: rgba(var(--white), 0.81);
    border-radius: 50%;
  }
  #nav-toggle a {
    text-decoration: none;
    color: rgba(var(--dark), 0.81);
    transition: color 0.3s ease;
  }
  #nav-toggle a:hover,
  #nav-toggle a:active {
    color: var(--bubblegum);
  }
  #nav-toggle input {
    display: block;
    width: 60px;
    height: 39px;
    position: absolute;
    top: 10px;
    left: 0;
    cursor: pointer;
    opacity: 0;
    z-index: 3;
    -webkit-touch-callout: none;
  }
  #nav-toggle input:checked ~ ul {
    transform: none;
  }
  #nav-toggle span {
    display: block;
    width: 36px;
    height: 5px;
    margin: 2px 0 5px 12px;
    position: relative;
    background: rgba(var(--dark), 0.81);
    backdrop-filter: blur(9px);
    border-radius: 15px;
    z-index: 2;
    transition: transform 0.69s cubic-bezier(0.77, 0.2, 0.05, 1),
      background-color 0.9s ease, opacity 0.9s ease;
  }
  #nav-toggle input:checked ~ span {
    opacity: 1;
    transform: rotate(45deg) translate(3px, 11px);
    background-color: var(--bubblegum);
  }
  #nav-toggle input:checked ~ span:nth-last-child(3) {
    opacity: 0;
    transform: rotate(0deg) translateX(-90px);
  }
  #nav-toggle input:checked ~ span:nth-last-child(2) {
    transform: rotate(-45deg) translate(3px, -11px);
    background-color: var(--bubblegum);
  }
  #menu {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 30px;
    position: absolute;
    margin: -90px 0 0 -100%;
    padding: 112px 15px 21px 15px;
    background: rgba(var(--white), 1);
    list-style-type: none;
    -webkit-font-smoothing: antialiased;
    transform-origin: 0% 0%;
    transform: translate(-100%, 0);
    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
    border-radius: 0 0 39px 0;
    box-shadow: 1.4px 2.5px 1.9px -6px rgba(0, 0, 0, 0.02),
      3.4px 6px 4.6px -6px rgba(0, 0, 0, 0.028),
      6.4px 11.3px 8.6px -6px rgba(0, 0, 0, 0.035),
      11.4px 20.1px 15.4px -6px rgba(0, 0, 0, 0.042),
      21.3px 37.6px 28.8px -6px rgba(0, 0, 0, 0.05),
      51px 90px 69px -6px rgba(0, 0, 0, 0.07);
  }
  #menu li {
    font-family: var(--f-f);
    font-size: 1.1rem;
    line-height: 3.9rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    font-style: normal;
    font-weight: 600;
    margin: 0 15px 0 51px;
    padding: 0;
  }
  #menu li:nth-child(even) {
    margin: 0 15px 0 0;
  }
  #menu li a {
    display: block;
    width: 100%;
    height: 100%;
  }
}

/* Navigation desk */

@media (min-width: 769px) {
  #nav {
    position: sticky;
    top: 0;
    box-sizing: border-box;
    width: 100%;
    padding: 30px 0 45px 0;
    z-index: 90;
  }
  body.blue #nav {
    background: var(--bgBlue);
  }
  body.yellow #nav {
    background: var(--bgYellow);
  }
  body.red #nav {
    background: var(--bgRed);
  }
  body.green #nav {
    background: var(--bgGreen);
  }
  body.blueDark #nav {
    background: var(--bgBlueDark);
  }
  body.blueLight #nav {
    background: var(--bgBlueLight);
  }
  body.yellowDark #nav {
    background: var(--bgYellowDark);
  }
  body.yellowLight #nav {
    background: var(--bgYellowLight);
  }
  body.redDark #nav {
    background: var(--bgRedDark);
  }
  body.redLight #nav {
    background: var(--bgRedLight);
  }
  body.greenDark #nav {
    background: var(--bgGreenDark);
  }
  body.greenLight #nav {
    background: var(--bgGreenLight);
  }
  body.blog #nav {
    background: var(--bgBlog);
  }
  body.art #nav {
    background: var(--bgArt);
  }
  body.books #nav {
    background: var(--bgBooks);
  }
  body.folio #nav {
    background: var(--bgFolio);
  }
  body.cali #nav {
    background: var(--bgCali);
  }
  body.luts #nav {
    background: var(--bgLuts);
  }  
  body.rainbow #nav {
    animation: rainbow 60s infinite;
    animation-direction: alternate;
  }
  #nav-toggle input,
  #nav-toggle span {
    display: none;
  }
  #menu {
    padding: 0;
    list-style-type: none;
    -webkit-font-smoothing: antialiased;
    margin-left: max(15px, calc((100% - 1600px) / 2));
  }
  #menu li {
    font-family: var(--f-f);
    font-size: 1.13em;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    font-style: normal;
    font-weight: 600;
    float: left;
    margin-right: 30px;
  }
  #menu li:last-child {
    margin-right: 0;
  }
  #menu li a {
    color: rgba(var(--dark), 0.69);
    padding: 0 2px 0 3px;
    background-image: linear-gradient(
      to right,
      var(--bubblegum) 50%,
      transparent 50%
    );
    background-size: 220% 13px;
    background-repeat: no-repeat;
    background-position: 100% 90%;
    transition: 0.51s cubic-bezier(0.42, 0, 0.78, 1);
    color: rgba(var(--dark), 0.69);
  }
  #menu li a.active {
    color: rgba(var(--dark), 0.39);
  }
  #menu li a:hover {
    color: rgba(var(--white), 1);
    background-position: 0% 90%;
  }
}

/* Schrift und Elemente */

h1 {
  font-family: var(--f-p);
  font-size: clamp(1.71rem, 2.54vw + 1.2rem, 3.49rem);
  font-style: italic;
  font-weight: 800;
  line-height: 1.2em;
  padding: 0 0 0 9px;
  margin: 0.39em 0 0.69em 0;
  color: var(--rouge);
}

h2 {
  font-family: var(--f-p);
  font-size: clamp(1.68rem, 1.54rem + 0.68vw, 2.15rem);
  font-style: italic;
  font-weight: 800;
  line-height: 1em;
  padding: 0;
  margin: 12px 0 min(1.8vh, 21px) 0;
  color: rgba(var(--black), 0.9);
  text-wrap: balance;
}

h3 {
  font-family: var(--f-f);
  font-size: 1.3em;
  font-style: normal;
  font-weight: 400;
  line-height: 1.2em;
  margin: 6px 0 12px 0;
}

h3 span {
  letter-spacing: 0.69px;
}

h4 {
  font-family: var(--f-f);
  font-size: 1.39em;
  font-style: normal;
  font-weight: 600;
  line-height: 1.1em;
  margin: 27px 0 21px 0;
  color: rgba(var(--dark), 0.51);
}

h5 {
  font-family: var(--f-f);
  font-size: 0.81em;
  font-style: normal;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1em;
  margin-bottom: 0.39em;
}

.closer {
  margin: 9px 0 12px 0;
}

.closest {
  margin: -0.9rem 0 0 0;
}

p {
  font-family: var(--f-d);
  color: rgba(var(--white), 0.81);
  margin-bottom: 1.5em;
}

.intro {
  width: min(69ch, 100%);
  margin-right: auto;
  margin-left: auto;
  text-align: justify;
}

.visualcontainer {
  width: 100%;
  aspect-ratio: 16 /9;
  overflow: hidden;
  border-radius: 15px;
}

.visual {
  animation: slowzoom 39s infinite;
  transition-timing-function: ease-in-out;
}

@keyframes slowzoom {
  0% {
    transform: scale(1.1, 1.1);
  }
  50% {
    transform: scale(1, 1);
  }
  100% {
    transform: scale(1.1, 1.1);
  }
}

@media (max-width: 768px) {
  .visual {
    animation: none;
  }
}

.lead {
  font-family: var(--f-f);
  font-size: 1.37em;
  font-style: normal;
  font-weight: 200;
  line-height: 1.39em;
  color: rgba(var(--black), 0.81);
  margin-bottom: 0.39em;
}

.teaser {
  font-family: var(--f-f);
  font-size: 1.2em;
  line-height: 1.66;
  font-style: normal;
  font-weight: 600;
  color: rgba(var(--dark), 0.51);
  margin-top: -0.27em;
  margin-bottom: 1.15em;
}

span.underline {
  padding-bottom: 0.18em;
  border-bottom: 1px solid rgba(var(--smoke), 0.27);
}

.o18 {
  opacity: 0.18;
}

.o39 {
  opacity: 0.39;
}

.o51 {
  opacity: 0.51;
}

.o69 {
  opacity: 0.69;
}

.o81 {
  opacity: 0.81;
}

.o90 {
  opacity: 0.9;
}

.portrait {
  border-radius: 50%;
  float: right;
  margin: 30px 15px 0 15px;
}

.social {
  margin: 27px 15px 30px 15px;
  display: inline-block;
  width: 12%;
}

blockquote {
  font-family: var(--f-p);
  font-size: 1.75em;
  font-style: italic;
  font-weight: 800;
  line-height: 1.3em;
  padding: 0;
  margin: 1em;
  color: rgba(var(--white), 1);
  text-align: center;
  text-wrap: balance;
}

blockquote::before {
  content: "\201C";
  font-size: 2.1em;
  position: absolute;
  margin: 0.1em 0 0 -0.6em;
  color: var(--rouge);
}

blockquote::after {
  content: "\201D";
  font-size: 2.1em;
  position: absolute;
  margin-top: 0.1em;
  color: var(--rouge);
}

.quote {
  font-family: var(--f-f);
  font-size: clamp(0.667rem, 1vw + 0.3rem, 0.833rem);
  line-height: 0.9em;
  font-style: normal;
  font-weight: 400;
  color: rgba(var(--dark), 0.51);
  position: relative;
  margin: -9px 0 39px 0;
  text-align: right;
}

.quote:before {
  content: "\2500\00a0";
  color: var(--bubblegum);
}

.blogimg figcaption {
  font-family: var(--f-f);
  font-size: clamp(0.667rem, 1vw + 0.3rem, 0.833rem);
  line-height: 0.9em;
  font-style: normal;
  font-weight: 400;
  color: rgba(var(--dark), 0.81);
  margin: 6px 0 18px 0;
}

.blogimg figcaption:before {
  content: "\2514\00a0";
  color: var(--bubblegum);
}

.dropcap p:first-child:first-letter {
  float: left;
  font-family: var(--f-p);
  font-size: 3.1em;
  font-style: italic;
  font-weight: 800;
  padding: 0.07em 0.27em 0 0;
  color: var(--rouge);
  line-height: 0.69em;
}

.megadropcap p:first-child:first-letter {
  float: left;
  font-family: var(--f-p);
  font-size: 5.1em;
  font-style: italic;
  font-weight: 800;
  padding: 0 0.21em 0 0;
  color: rgba(var(--white), 1);
  line-height: 0.78em;
}

.smallprint {
  font-family: var(--f-f);
  font-size: clamp(0.667rem, 1vw + 0.3rem, 0.833rem);
  font-style: normal;
  font-weight: 400;
  color: rgba(var(--black), 0.69);
}

.indent {
  text-indent: 1.8em;
}

hr {
  max-width: 1600px;
  margin: 0 auto;
  height: 1px;
  outline: none;
  border: none;
  border-top: 1px solid;
  margin-top: 30px;
  margin-bottom: 30px;
}

.spacer {
  margin-top: 30px;
}

.liner {
  display: grid;
  width: 100%;
  align-items: center;
  text-align: left;
  grid-template-columns: auto minmax(69px, 1fr);
  gap: 0.51rem;
}

.liner:after {
  content: "";
  border-top: 1px solid;
  filter: opacity(69%);
}

.vert:before {
  content: "";
  border-left: 1px solid;
  margin-right: 15px;
  filter: opacity(69%);
}

.video {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}

.video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 9px;
}

ul.list {
  list-style-type: none;
  padding-left: 15px;
  padding-right: 15px;
  font-size: 1.1em;
}

ul.list li {
  color: rgba(var(--white), 0.81);
  display: list-item;
  margin-bottom: 0.27em;
  border-top: 1px solid rgba(var(--white), 0.27);
}

ul.list li:last-child {
  margin-bottom: 1.39em;
  padding-bottom: 0.27em;
  border-bottom: 1px solid rgba(var(--white), 0.27);
}

/* Paginator */
ul.pagination {
  display: inline-block;
  padding: 0;
  margin: 9px 0 0 0;
  font-family: var(--f-f);
  font-weight: 600;
}

ul.pagination li {
  display: inline;
}

ul.pagination li a {
  background-color: rgba(var(--white), 0.18);
  color: rgba(var(--white), 0.81);
  float: left;
  padding: 6px 18px;
  margin-right: 12px;
  margin-bottom: 9px;
  text-decoration: none;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.39s;
  box-shadow: 0px 0.4px 1.7px rgba(0, 0, 0, 0.006),
    0px 1px 2.7px rgba(0, 0, 0, 0.009), 0px 1.9px 3.6px rgba(0, 0, 0, 0.01),
    0px 3.4px 5px rgba(0, 0, 0, 0.012), 0px 6.3px 7.8px rgba(0, 0, 0, 0.016),
    0px 15px 21px rgba(0, 0, 0, 0.03);
}

ul.pagination li:last-child {
  margin-right: 0;
}

ul.pagination li a.active {
  background: var(--rouge);
  color: rgba(var(--white), 0.9);
  border-radius: 6px;
  cursor: default;
}

ul.pagination li a.inactive {
  background-color: rgba(var(--white), 0.18);
  color: rgba(var(--white), 0.18);
  border-radius: 6px;
  cursor: default;
}

ul.pagination li a:hover:not(.active) {
  background: rgba(var(--white), 0.9);
  color: var(--rouge);
}

ol {
  list-style: none;
  font-family: var(--f-f);
  font-size: 1.1em;
  border: 1px solid rgba(var(--black), 0.27);
  padding: 15px;
}
ol:first-of-type {
  counter-reset: mycounter;
}
ol li:before {
  counter-increment: mycounter;
  content: counter(mycounter) ". ";
  color: rgba(var(--white), 0.81);
  background-color: var(--bubblegum);
  font-weight: 600;
  border-radius: 39px;
  padding: 6px 9px 6px 12px;
  margin: 0 10px 0 -54px;
}
ol li {
  color: rgba(var(--white), 0.81);
  border-top: 1px solid rgba(var(--black), 0.27);
  padding: 15px;
}
ol li:first-child {
  border-top: none;
}
.count1 > ol {
  counter-set: mycounter 0;
}
.count2 > ol {
  counter-set: mycounter 1;
}
.count3 > ol {
  counter-set: mycounter 2;
}
.count4 > ol {
  counter-set: mycounter 3;
}
.count5 > ol {
  counter-set: mycounter 4;
}
.count6 > ol {
  counter-set: mycounter 5;
}
.count7 > ol {
  counter-set: mycounter 6;
}
.count8 > ol {
  counter-set: mycounter 7;
}
.count9 > ol {
  counter-set: mycounter 8;
}
.count10 > ol {
  counter-set: mycounter 9;
}
.strikethrough {
  position: relative;
}

.strikethrough::before {
  position: absolute;
  content: "";
  left: 0;
  top: 50%;
  right: 0;
  border-top: 2px solid;
  border-color: inherit;
  transform: rotate(-6deg);
}

/* a href underline text FX */

a,
a:hover,
a:visited,
a:active {
  text-decoration: none;
  color: inherit;
}

a.anim[target="_blank"]::after {
  content: "";
  width: 0.69em;
  height: 0.69em;
  margin: 0 0 0 0.1em;
  background: url("../img/target-blank.svg") no-repeat;
  background-size: contain;
  display: inline-block;
  vertical-align: middle;
  filter: brightness(0) opacity(69%) invert(1);
}

.anim {
  background-image: linear-gradient(
    to right,
    var(--rouge) 50%,
    rgba(var(--white), 0.39) 50%
  );
  background-size: 200% 2px;
  background-repeat: no-repeat;
  background-position: 100% 100%;
  transition: background-position 0.69s cubic-bezier(0.77, 0.2, 0.05, 1);
}

@media(hover: hover) and (pointer: fine) {
  .anim:hover {
    background-position: 0% 100%;
  }
}

.serif {
  font-family: var(--f-d);
  font-style: normal;
  font-weight: 600;
}

.sans {
  font-family: var(--f-f);
  font-style: normal;
  font-weight: 600;
}

.rouge {
  color: var(--rouge);
}

.bubblegum {
  color: var(--bubblegum);
}

.smog {
  background: rgba(var(--smoke), 0.9);
}

.smoke {
  background: rgba(var(--smoke), 0.51);
}

.fog {
  background: rgba(var(--white), 0.51);
}

.mist {
  background: rgba(var(--white), 0.18);
}

.subtle {
  background-image: linear-gradient(
    169deg,
    rgba(var(--white), 0.27) 18%,
    transparent
  );
}

.c0 {
  color: rgba(var(--black), 1);
}

.c255 {
  color: rgba(var(--white), 1);
}

.box {
  border-radius: 3px;
}

.round {
  border-radius: 39px 39px 0 0;
  box-sizing: border-box;
}

.special {
  border-radius: 0 39px 0 39px;
  box-sizing: border-box;
}

.articlebase {
  display: flex;
  margin: 0;
  padding: 3px 15px 3px 15px;
  font-family: var(--f-f);
  font-size: clamp(0.94rem, 0.92rem + 0.07vw, 0.99rem);
  color: rgba(var(--white), 0.9);
}

.articledate {
  margin-left: auto;
  order: 2;
}

.articlenav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
}

.articlenav > p {
  flex: 33.33%;
}

.articlenav > p:nth-child(2) {
  text-align: center;
}

.articlenav > p:nth-child(3) {
  text-align: right;
}

.column {
  flex: 33.33%;
}

.box p,
.box h1,
.box h2,
.box h3,
.box h4,
.box h5 {
  padding: 0 15px 0 15px;
}

.inner-border {
  border: 9px solid transparent;
  box-sizing: border-box;
  box-shadow: inset 0 0 0 1px rgba(var(--white), 0.39), var(--shade);
}

.inner-border.round img {
  border-radius: 30px 30px 0 0;
}

.inner-border.special img {
  border-radius: 0 30px 0 0;
}

.outer-border {
  border: 1px solid rgba(var(--white), 0.39);
  box-shadow: var(--shade);
}

.no-border {
  box-shadow: var(--shade);
}

/* Button */

button,
button:visited,
button:link,
.btn,
.btn:visited,
.btn:link {
  background: rgba(var(--white), 0.9);
  border: 1px solid rgba(var(--white), 0.9);
  border-radius: 6px;
  box-shadow: 0px 0.4px 1.7px rgba(0, 0, 0, 0.006),
    0px 1px 2.7px rgba(0, 0, 0, 0.009), 0px 1.9px 3.6px rgba(0, 0, 0, 0.01),
    0px 3.4px 5px rgba(0, 0, 0, 0.012), 0px 6.3px 7.8px rgba(0, 0, 0, 0.016),
    0px 15px 21px rgba(0, 0, 0, 0.03);
  box-sizing: border-box;
  cursor: pointer;
  display: inline-block;
  font-family: var(--f-f);
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1em;
  outline: 0;
  padding: 0.51em 1.6em 0.51em 1.4em;
  text-rendering: geometricprecision;
  text-transform: none;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  vertical-align: middle;
  transition: 0.18s;
}

@media(hover: hover) and (pointer: fine) {
  button:hover,
  button:active,
  .btn:hover,
  .btn:active {
    background-color: transparent;
    color: rgba(var(--white), 0.81);
    transition: 0.18s;
    padding: 0.51em 1.4em 0.51em 1.6em;
  }
}

button:active,
.btn:active {
  box-shadow: none;
}

.left {
  text-align: left;
}

.center {
  text-align: center;
}

.right {
  text-align: right;
}

/* Slider Startseite */

@keyframes sfade {
  0% {
    opacity: 0;
  }
  3.125% {
    opacity: 1;
    z-index: 5;
  }
  12.5% {
    opacity: 1;
  }
  15.625% {
    opacity: 0;
    z-index: 1;
  }
  100% {
    opacity: 0;
  }
}

.slider {
  position: relative;
  max-width: 100%;
  aspect-ratio: 16 / 9;
}

.slider a > img {
  border-radius: 15px;
}

.slider > a {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: inherit;
  opacity: 0;
  z-index: 1;
  animation-name: sfade;
  animation-duration: 32s;
  animation-iteration-count: infinite;
}

.slider > a:nth-child(1) {
  animation-delay: 0s;
}

.slider > a:nth-child(2) {
  animation-delay: 4s;
}

.slider > a:nth-child(3) {
  animation-delay: 8s;
}

.slider > a:nth-child(4) {
  animation-delay: 12s;
}

.slider > a:nth-child(5) {
  animation-delay: 16s;
}

.slider > a:nth-child(6) {
  animation-delay: 20s;
}

.slider > a:nth-child(7) {
  animation-delay: 24s;
}

.slider > a:nth-child(8) {
  animation-delay: 28s;
}

/* Portfolio */

.photosets {
  display: grid;
  grid-template-columns:
    [full-start] minmax(15px, 1fr) [main-start] minmax(auto, 1600px)
    [main-end] minmax(15px, 1fr) [full-end];
  font-size: inherit;
  justify-content: space-around;
}

.portfolio {
  background: rgba(var(--dark), 0.15);
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(600px, 1fr));
  gap: 1em;
  justify-items: center;
}

@media (max-width: 720px) {
  .portfolio {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

.land,
.port {
  max-width: 100%;
  max-height: 900px;
  object-fit: contain;
}

.land {
  grid-column: 1/-1;
}

.port {
  width: 100%;
  max-width: 720px;
}

.portfolio-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
}

.settitle {
  padding: 39px 3px 39px 3px;
  margin-top: 39px;
}

.setthumb {
  width: 273px;
  height: 154px;
  margin: 0 auto;
  border-radius: 39px 39px 3px 3px;
}

blockquote.xxl {
  font-family: var(--f-p);
  font-size: clamp(2.06rem, 1.21rem + 4.29vw, 5.06rem);
  font-style: italic;
  text-align: center;
  font-weight: 800;
  line-height: 1.2em;
  padding: 0;
  position: relative;
  margin: 0 auto;
  margin-top: 1.1rem;
  margin-bottom: 3.9rem;
  max-width: calc(100vw - 6rem);
  color: rgba(var(--white), 0.39);
  white-space: pre-wrap;
  word-break: break-word;
}

blockquote.xxl:before {
  content: "\201C";
  font-size: clamp(1.64rem, 0.4rem + 6.19vw, 5.98rem);
  margin: 0;
  position: static;
  color: var(--rouge);
}

blockquote.xxl:after {
  content: "\201D";
  font-size: clamp(1.64rem, 0.4rem + 6.19vw, 5.98rem);
  margin: 0;
  position: static;
  color: var(--rouge);
}

.credits {
  font-family: var(--f-f);
  font-size: 0.81em;
  font-style: normal;
  font-weight: 400;
  color: rgba(var(--dark), 0.81);
  text-align: center;
  width: 273px;
  min-height: 39px;
  padding: 21px 9px 27px 9px;
  margin: 0 auto;
  margin-bottom: 69px;
  margin-top: -39px;
  border-radius: 3px 3px 39px 39px;
  background: rgba(var(--white), 0.9);
  box-shadow: var(--shade);
}

/* Thumbnails */

.thumbnails {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(273px, 1fr));
  margin-top: 30px;
  padding: 0 10px 0 10px;
}

.thumbnails figure {
  position: relative;
  height: auto;
  cursor: pointer;
  display: inline-block;
}

.thumbnails figure img {
  z-index: 50;
  position: relative;
  display: block;
  opacity: 0.69;
}

.thumbnails figure figcaption {
  opacity: 0;
  padding: 0;
  margin: 0;
  text-align: left;
  backface-visibility: hidden;
}

.thumbnails figure figcaption::before,
.thumbnails figure figcaption::after {
  pointer-events: none;
  margin: 0;
}

.thumbnails figure figcaption,
.thumbnails figure figcaption > a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: var(--bubblegum);
  text-decoration: none;
  outline: none;
}

.thumbnails figure figcaption > a {
  text-indent: 200%;
  white-space: nowrap;
  font-size: 0;
  opacity: 0;
  text-decoration: none;
  outline: none;
}

figure.effect-simon img {
  width: 100%;
  transition: opacity 0.18s, transform 0.27s;
  backface-visibility: hidden;
  border: 6px solid transparent;
}

figure.effect-simon a {
  text-decoration: none;
  outline: none;
}

figure.effect-simon figcaption {
  top: auto;
  bottom: 0;
  background: rgba(var(--white), 0.69);
  height: auto;
  border-radius: 3px;
  backdrop-filter: blur(3px);
  transform: translate3d(0, 101%, 0);
  transition: transform 0.18s ease-in-out;
}

figure.effect-simon h4 {
  margin: 0;
  padding: 9px 3px 0 12px;
  font-family: var(--f-p);
  font-size: 1.12em;
  font-style: italic;
  font-weight: 800;
  color: var(--rouge);
  text-align: left;
  display: block;
}

figure.effect-simon p {
  font-family: var(--f-f);
  font-size: 0.69em;
  font-style: normal;
  font-weight: 400;
  color: rgba(var(--dark), 0.81);
  margin: -12px 0 9px 12px;
  padding: 0;
  display: inline-block;
  transition: transform 0.39s;
  text-decoration: none;
}

figure.effect-simon:hover figcaption {
  opacity: 1;
  transition: 0.51s ease-in-out;
  z-index: 400;
  transform: translate3d(0, 0, 0);
  transition-delay: 0.39s;
}

figure.effect-simon:hover img {
  z-index: 300;
  border: 6px solid var(--bubblegum);
  border-radius: 3px;
  opacity: 1;
  transform: scale3d(1.3, 1.3, 1);
  box-shadow: var(--shade);
}

@media (max-width: 768px) {
  .thumbnails {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }
  .thumbnails figure img {
    opacity: 0.81;
  }
  figure.effect-simon img {
    border: 6px solid transparent;
  }
  figure.effect-simon figcaption,
  figure.effect-simon:hover figcaption {
    top: auto;
    bottom: 5.5px;
    background: transparent;
    backdrop-filter: blur(0);
    border-radius: 0;
    transform: translate3d(0, 0, 0);
    opacity: 1;
    z-index: 400;
    max-width: calc(100% - 12px);
    margin-left: 6px;
    transition: 0s;
  }
  figure.effect-simon h4 {
    padding: 3px 6px 5px 6px;
    color: rgba(var(--white), 1);
    font-size: clamp(0.78rem, 0.82rem - 0.2vw, 0.72rem);
  }
  figure.effect-simon p {
    display: none;
  }
  figure.effect-simon:hover img {
    border: 6px solid transparent;
    transform: scale3d(1, 1, 1);
    box-shadow: none;
    border-radius: 0;
    opacity: 0.81;
  }
}

/* Form */

.form-div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  padding: 30px;
}

.search-div {
  display: grid;
  grid-template-columns: 2fr 8fr 3fr;
  padding-right: 15px;
  height: 101px;
  gap: normal;
  align-content: center;
  justify-content: space-between;
}

.feedback-input {
  display: block;
  color: rgba(var(--dark), 0.81);
  caret-color: var(--rouge);
  font-family: var(--f-f);
  font-size: inherit;
  background-color: rgba(var(--white), 1);
  padding: 9px 15px 9px 9px;
  margin-bottom: 15px;
  border-radius: 6px;
  border: 3px solid rgba(var(--white), 1);
  width: 100%;
}

.search-input {
  color: rgba(var(--dark), 0.81);
  caret-color: var(--rouge);
  font-family: var(--f-f);
  font-size: inherit;
  background-color: rgba(var(--white), 1);
  padding: 6px 6px 5px 15px;
  border-radius: 6px;
  border: 3px solid rgba(var(--white), 1);
  width: 97%;
}

.feedback-input:focus,
.search-input:focus {
  border: 3px solid var(--bubblegum);
  outline: none;
}

label {
  display: block;
  font-family: var(--f-f);
  font-weight: normal;
  font-size: 0.81em;
  margin: 0;
  padding: 0 0 0 9px;
  color: rgba(var(--dark), 0.9);
}

textarea {
  width: 100%;
  height: 150px;
  line-height: 1.5;
  resize: vertical;
  border-radius: 6px;
}

input:hover,
textarea:hover,
input:focus,
textarea:focus {
  background-color: white;
}

#containerex ul {
  list-style: none;
  width: 100%;
  margin: 15px 0 30px 0;
  padding: 0 0 39px 0;
  border-bottom: 1px solid rgba(var(--black), 0.18);
}

#containerex ul li {
  display: inline-block;
  position: relative;
}

#containerex ul li input[type="radio"] {
  position: absolute;
  top: 12px;
  left: 6px;
  opacity: 0;
}

#containerex ul li label {
  display: block;
  position: relative;
  padding: 12px 27px 39px 39px;
  margin: 0 30px 0 0;
  height: 30px;
  z-index: 9;
  cursor: pointer;
  transition: all 0.39s;
}

#containerex ul li .check {
  display: block;
  position: absolute;
  border: 6px solid rgba(var(--white), 1);
  border-radius: 100%;
  height: 27px;
  width: 27px;
  top: 9px;
  left: 0px;
  z-index: 5;
  transition: border 0.39s;
}

#containerex ul li .check::before {
  display: block;
  position: absolute;
  content: "";
  border-radius: 100%;
  height: 9px;
  width: 9px;
  top: 3px;
  left: 3px;
  margin: auto;
  transition: background-color 0.3s;
}

input[type="radio"]:checked ~ .check {
  border: 6px solid var(--rouge);
}

input[type="radio"]:checked ~ .check::before {
  background: var(--rouge);
}

input[type="radio"]:checked ~ label {
  color: var(--rouge);
  font-weight: 600;
}

/* Footer */

footer {
  display: grid;
  grid-template-columns:
    minmax(10px, 1fr) minmax(auto, 800px) minmax(auto, 800px)
    minmax(10px, 1fr);
  justify-content: space-around;
  font-size: inherit;
  margin-top: 90px;
  position: sticky;
  top: 100vh;
  gap: 1em;
  background: rgba(var(--dark), 0.51);
  padding: 39px 0 90px 0;
}

footer div:nth-child(1) {
  grid-column: 2 / 3;
  grid-row: 1;
}

footer div:nth-child(2) {
  grid-column: 2 / 3;
  grid-row: 2;
}

footer div:nth-child(3) {
  grid-column: 3 / 4;
  grid-row: 1;
}

footer div:nth-child(4) {
  grid-column: 3 / 4;
  grid-row: 2;
}

@media (max-width: 768px) {
  footer div:nth-child(n + 1) {
    grid-column: 2 / 4;
    grid-row: auto;
  }
}

/* Luts Preview */
.beforeandafter {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
}

.before,
.after {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  overflow: hidden;
  transition: all 1.2s cubic-bezier(0.77, 0.2, 0.05, 1);
  z-index: 2;
}

.after {
  z-index: 1;
}

@media(hover: hover) and (pointer: fine) {
  div.beforeandafter:hover figure.before {
    height: 0;
    opacity: 0;
  }
}

/* Ausschluss Print */

.print-info {
  display: none;
}
