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

body {
    font-family: "Rag", sans-serif;
    font-weight: 400;
}

body * {
    font-family: inherit;
    font-weight: inherit;
    font-style: normal;
}

.navigation{
    height: 100px;
    display: grid;
    grid-template-columns: 20%, 40%, 20%, 20%;
    padding: 15px 10px 0px 10px;
    position: relative;
    z-index: 30;
}

.layout1-page .navigation {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 40;
    mix-blend-mode: difference;
}

.layout1-page .navigation:has(a > span:hover) {
    mix-blend-mode: normal;
}

.layout1-page .navigation a,
.layout1-page .navigation .über-mich {
    color: #fff;
    mix-blend-mode: normal;
}

body > a {
    position: relative;
    z-index: 30;
}

/*.name {
grid-column: ;
font-size: 30px;
}*/


.projekt {
grid-column: 1/2;
text-align: left;
padding: 10px 0px 0 30px;
color: rgb(0, 0, 0);
mix-blend-mode: multiply;
text-decoration: none;
}

.über-mich {
grid-column: 4/5;
text-align: right;
padding: 10px 30px 0px 0px;
color: inherit;
text-decoration: none;
}

.navigation a > span:hover {
    color: #5f97e6;
}

/* Layout 1: gleichmäßiges Grid mit Bildplatzhaltern */
body {
    margin: 0;
}

.layout1 {
    width: 100%;
    margin: 0;
    padding: 0;
}

.layout1__title {
    margin: 0;
    padding: 20px clamp(16px, 3vw, 40px) 16px;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 400;
}

.layout1__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 20px;
    row-gap: 0;
}

.layout1__box {
    height: 100vh;
    height: 100svh;
    min-height: 0;
    background: #dedbd8;
    overflow: hidden;
}

.layout1__box img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.layout1__grid > .layout1__box:nth-child(n + 4) {
    background: transparent;
}

.layout1__grid > .layout1__box:nth-child(n + 4) img {
    object-fit: cover;
    object-position: center 43%;
}

/* Zweitletztes Layout1-Bild individuell positionieren */
.layout1__grid > .layout1__box:nth-child(5) img {
    object-position: center 40%;
}

.layout1__grid > .layout1__box {
    margin-bottom: 20px;
}

.layout1__grid > .layout1__box:has(+ .layout1__box--klein),
.layout1__grid > .layout1__box--klein {
    margin-bottom: 200px;
}

.layout1__box--wide {
    grid-column: span 2;
}

.layout1__box--center {
    grid-column: 1 / -1;
    justify-self: center;
    width: min(70vw, 600px);
}

.layout1__box--klein {
    grid-column: 1 / -1;
    justify-self: center;
    width: 70vw;
    height: 80vh;
}

.about-page .about__portrait {
    grid-column: 1 / -1;
    justify-self: center;
    width: 45vw;
    height: 55svh;
    margin-bottom: 22.5svh;
}

.blickwechsel__video-box {
    background: #fff;
}

.blickwechsel__video-box video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.layout1__grid > .blickwechsel__about {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    min-height: 100svh;
    padding: 32px 20px;
    box-sizing: border-box;
    background: #fff;
}

.layout1-page .layout1__grid > .blickwechsel__about {
    background: #eeeeee;
}

.blickwechsel__about-text {
    width: min(680px, 75vw);
    margin-inline: auto;
    font-size: 16px;
    line-height: 1.3;
    letter-spacing: 0.02em;
    text-align: left;
}

.layout1-page:not(.about-page) .blickwechsel__about-text {
    width: min(660px, 72.75vw);
}

.blickwechsel__about-text h2 {
    margin: 0 0 12px;
    font-size: inherit;
    font-weight: 400;
}

.about-page .blickwechsel__about-text h2::before {
    content: "";
    display: inline-block;
    width: 0.65em;
    height: 0.65em;
    background: #5f97e6;
    border-radius: 50%;
    margin-right: 0.6em;
    vertical-align: 0.05em;
}

.about-page .about-contact {
    display: block;
    width: fit-content;
    margin-top: 12px;
    color: #000;
    text-decoration: none;
}

.about-page .about-contact:hover {
    color: #5f97e6;
}

.blickwechsel__about-text p {
    margin: 0;
}

.motion__video-box {
    grid-column: 1 / -1;
    justify-self: center;
    width: 100svh;
    background: #000;
}

.motion__video-box video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.motion-page .layout1__grid > .motion__video-box:has(+ .motion__video-box) {
    margin-bottom: 200px;
}

.blickwechsel-page .layout1__box:nth-child(6) img {
    object-position: center 27%;
}

.blickwechsel-page .layout1__box:nth-child(6) {
    margin-bottom: 200px;
}

.blickwechsel__video-box:has(+ .blickwechsel__video-box) {
    margin-bottom: 200px;
}

.prepress-page .layout1__grid > .prepress__overview {
    background: #eeeeee;
}

.prepress-page .layout1__grid > .prepress__overview img {
    object-fit: contain;
    mix-blend-mode: multiply;
}

.prepress-page .layout1__grid > .layout1__box:first-child img {
    object-position: center 30%;
}

.musikplakat__schild img {
    object-position: center top;
}

.layout1__grid > .musikplakat__schild {
    margin-bottom: 200px;
}

.musikplakat__video-box video {
    display: block;
    width: auto;
    max-width: 100vw;
    height: 100%;
    object-fit: contain;
}

.musikplakat__video-box {
    width: fit-content;
    max-width: 100vw;
}

.layout1__grid > .musikplakat__video-box {
    margin-bottom: 200px;
}

.layout1__grid > .musikplakat__video-paar {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-self: center;
    gap: 20px;
    width: 70vw;
    margin-bottom: 200px;
}

.musikplakat__video-paar > .musikplakat__video-square {
    aspect-ratio: 1 / 1;
    height: auto;
}

.musikplakat__video-square video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.musikplakat__video-square--right video {
    object-position: center top;
}

.layout1__grid > .musikplakat__entwürfe {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    width: 100%;
    margin-bottom: 200px;
}

.musikplakat__entwurf img {
    object-fit: cover;
}

.musikplakat__entwürfe > .musikplakat__entwurf:nth-child(2) img {
    object-position: 40% center;
}

.corporate-page .layout1__grid > .corporate__logos {
    background: #fff;
}

.corporate-page .layout1__grid > .corporate__logos img {
    object-fit: contain;
}

.tech-illu-page .layout1__grid > .tech-illu__image {
    background: #fff;
}

.tech-illu-page .layout1__grid > .tech-illu__image img {
    object-fit: contain;
}

.tech-illu-page .layout1__grid > .tech-illu__image:nth-child(3) img {
    object-fit: cover;
}

.tech-illu-page .layout1__grid > .tech-illu__image:first-child img {
    transform: translateX(-3%);
}

.tech-illu-page .layout1__grid > .tech-illu__zoom img {
    transform: translateX(1%) scale(1.1);
}

.tech-illu-page .layout1__grid > .tech-illu__experiment img {
    transform: scale(1.2);
}

.tech-illu-page .layout1__grid > .tech-illu__experiment-one img {
    transform: scale(1);
}

.tech-illu-page .layout1__grid > .tech-illu__rotate-90 img {
    transform: rotate(90deg);
}

.tech-illu-page .layout1__grid > .tech-illu__rotate-left-90 img {
    transform: rotate(-90deg);
}

.tech-illu-page .layout1__grid > .tech-illu__experiment.tech-illu__rotate-90 img {
    transform: rotate(90deg) scale(1.2);
}

.tech-illu-page .layout1__grid > .tech-illu__experiment.tech-illu__rotate-left-90 img {
    transform: rotate(-90deg) scale(1.2);
}

.tech-illu-page .layout1__grid > .tech-illu__experiment-four img {
    transform: translateY(2%) rotate(-90deg) scale(0.7);
}

.tech-illu-page .layout1__grid > .tech-illu__typo-crop img {
    transform: scale(1.08);
}

.tech-illu-page .layout1__grid > .tech-illu__typo2-fill img {
    object-fit: cover;
}

.tech-illu-page .layout1__grid > .tech-illu__typo3-fill img {
    object-fit: cover;
}

.tech-illu-page .layout1__grid > .tech-illu__typo3-fill {
    margin-bottom: 200px;
}

.tech-illu-page .layout1__grid > .tech-illu__typo4-fill img {
    object-fit: cover;
}

.tech-illu-page .layout1__grid > .tech-illu__typo4-fill {
    margin-bottom: 200px;
}

.tech-illu-page .layout1__grid > .tech-illu__last-zoom img {
    transform: translateX(-8%) scale(1.1);
}

.corporate-page .layout1__grid > .layout1__box:has(+ .corporate__portrait),
.corporate-page .layout1__grid > .corporate__portrait {
    margin-bottom: 200px;
}

@media (max-width: 600px) {
    .layout1 {
        padding: 0;
    }

    .layout1__title {
        padding: 16px 16px 12px;
    }

    .layout1__grid {
        grid-template-columns: 1fr;
    }

    .layout1__box,
    .layout1__box--wide {
        grid-column: auto;
        height: 100vh;
        height: 100svh;
    }

    .layout1__box--center {
        grid-column: 1;
    }

    .layout1__box--klein {
        

    }
}




body {
    padding: 0;
    margin: 0;
}



* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #eeeeee;
}

.composition {
  position: fixed;
  width: 700px;
  height: 700px;
  top: 50%;
  left: 50%;
  margin: 0;
  transform-origin: 305px 390px;
  transform: translate(calc(-50% + 45px), calc(-50% - 50px));
  animation: composition-slow-turn 90s linear 0s infinite;
}

.composition:has(> a.card:hover) {
  animation-play-state: paused;
}

.home-name {
  position: fixed;
  z-index: 20;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 0.18em;
  transform: translate(-50%, -50%);
  color: #000;
  font-size: 16px;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
}

.home-name__dot {
  width: 0.65em;
  height: 0.65em;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #5f97e6;
}

@keyframes composition-slow-turn {
  from {
    transform: translate(calc(-50% + 45px), calc(-50% - 50px)) rotate(0turn);
  }
  to {
    transform: translate(calc(-50% + 45px), calc(-50% - 50px)) rotate(1turn);
  }
}

/* Gemeinsame Eigenschaften */
.card {
  position: absolute;
  width: 200px;
  height: 260px;
  padding: 20px;
  text-decoration: none;
  font-size: 30px;
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: center;
}

.composition .card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.35);
  transform-origin: center;
}

.composition .card {
  padding: 0;
  background: transparent;
  overflow: hidden;
}

.composition .card.green img {
  transform: scale(1.1);
  object-position: 75% center;
}

.composition .card.lime img {
  transform: scale(1.25);
}

.composition .card.white img {
  transform: scale(1.15);
}

.composition .card.blue img {
  transform: scale(1.3);
}

.composition .card[href="london.html"] img {
  transform: scale(1.2);
}

.composition .card[href="corporate design.html"] img {
  transform: scale(1.5);
}

.composition .card.yellow img {
  transform: scale(1.1);
}

.composition .card.red img {
  transform: scale(1.2);
}

/* Einzelne Karten */
.black {
  background: #171717;
  color: white;
  left: 40px;
  top: 90px;
  transform: rotate(-45deg);
  z-index: 1;
}

.red {
  background: #ed1010;
  color: white;
  left: 210px;
  top: 40px;
  transform: rotate(0deg);
  z-index: 1;
}

.lime {
  background: #caff65;
  color: black;
  left: 370px;
  top: 90px;
  transform: rotate(45deg);
  z-index: 2;
}

.green {
  background: #174d0b;
  color: white;
  left: 430px;
  top: 260px;
  transform: rotate(90deg);
  z-index: 3;
}

.white {
  background: white;
  color: black;
  left: -20px;
  top: 260px;
  transform: rotate(-90deg);
  z-index: 7;
}

.blue {
  background: #1717ed;
  color: black;
  left: 370px;
  top: 440px;
  transform: rotate(145deg);
  z-index: 4;
}

.yellow {
  background: #f9f960;
  color: black;
  left: 210px;
  top: 500px;
  transform: rotate(180deg);
  z-index: 5;
}


.purple {
  background: #f546ed;
  color: black;
  left: 40px;
  top: 440px;
  transform: rotate(-135deg);
  z-index: 6;
}

.composition > .card {
  --fan-x: 0px;
  --fan-y: 0px;
  --fan-rotation: 0deg;
  --fan-delay: 0ms;
  animation: circle-fan-in 1800ms cubic-bezier(0.16, 1, 0.3, 1) var(--fan-delay) both;
  will-change: transform, opacity;
}

.composition > .black {
  --fan-x: 210px;
  --fan-y: 130px;
  --fan-rotation: -45deg;
  --fan-delay: 0ms;
}

.composition > .red {
  --fan-x: 40px;
  --fan-y: 180px;
  --fan-rotation: 0deg;
  --fan-delay: 120ms;
}

.composition > .lime {
  --fan-x: -120px;
  --fan-y: 130px;
  --fan-rotation: 45deg;
  --fan-delay: 240ms;
}

.composition > .green {
  --fan-x: -180px;
  --fan-y: -40px;
  --fan-rotation: 90deg;
  --fan-delay: 360ms;
}

.composition > .white {
  --fan-x: 270px;
  --fan-y: -40px;
  --fan-rotation: -90deg;
  --fan-delay: 840ms;
}

.composition > .blue {
  --fan-x: -120px;
  --fan-y: -220px;
  --fan-rotation: 145deg;
  --fan-delay: 480ms;
}

.composition > .yellow {
  --fan-x: 40px;
  --fan-y: -280px;
  --fan-rotation: 180deg;
  --fan-delay: 600ms;
}

.composition > .purple {
  --fan-x: 210px;
  --fan-y: -220px;
  --fan-rotation: -135deg;
  --fan-delay: 720ms;
}

.composition.is-returning > .card {
  animation: none;
  opacity: 1;
  transform: rotate(var(--fan-rotation));
}

@keyframes circle-fan-in {
  from {
    transform: translate(var(--fan-x), var(--fan-y)) rotate(0deg) scale(0.12);
    opacity: 0;
  }
  to {
    transform: rotate(var(--fan-rotation));
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .composition {
    animation: none;
  }

  .composition > .card {
    animation: none;
    will-change: auto;
  }
}


.white {
  position: absolute;
  z-index: 1;
}








.kreis {
  --bild-groesse: clamp(120px, 28vmin, 240px);
  --radius: clamp(130px, 30vmin, 260px);

  position: relative;
  width: min(860px, 96vw);
  aspect-ratio: 1;
  margin: 0 auto;
}

.kreis img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--bild-groesse);
  height: var(--bild-groesse);
  object-fit: cover;
  border: 4px solid #fff;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45);
  transform:
    translate(-50%, -50%)
    rotate(calc(var(--i) * 360deg / 8))
    translateY(calc(-1 * var(--radius)));
}

.img-1 { z-index: 20; }
.img-2 { z-index: 19; }
.img-3 { z-index: 18; }
.img-4 { z-index: 17; }
.img-5 { z-index: 16; }
.img-6 { z-index: 15; }
.img-7 { z-index: 14; }
.img-8 { z-index: 13; }

.kreis img.schluss {
  z-index: 21;
  clip-path: inset(0 0 0 50%);
  box-shadow: none;
}






/* Stapelreihenfolge rund um den Kreis */
.red    { z-index: 20; }
.lime   { z-index: 19; }
.green  { z-index: 18; }
.blue   { z-index: 17; }
.yellow { z-index: 16; }
.purple { z-index: 15; }
.white  { z-index: 14; }
.black  { z-index: 13; }

.black-overlap {
  z-index: 21;
  pointer-events: none;
  clip-path: polygon(51% 54%, 100% 54%, 100% 100%, 41% 100%);
}

.composition > .black {
  left: 50px;
  top: 100px;
}

.composition > .lime {
  left: 360px;
  top: 100px;
}



