* {
  box-sizing: border-box;
}



html {
    scroll-behavior: smooth;
}


body {
    margin: 0;
    padding: 0;
    background-color: black;
    font-family: 'Roboto Flex', sans-serif;
}


/* ==============
   ANIMATIONS
   ============== */

@keyframes pulse {
  0%   { opacity: 0; transform: scale(0.6); }
  50%  { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(0.6); }
}

@keyframes heroSlideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-80px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.animation-pulse {
  animation: pulse 1.5s ease-in-out infinite;
}


/* ===========================
   LIGHT DOTS PULSE BACKGROUND
   =========================== */

/* Container */
.light-dots-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  mix-blend-mode: screen;
}

/* Base dot styles */
.light-dots-bg .dot {
  position: absolute;
  border-radius: 50%;
  background: #e0006e;
  animation: pulse 3s ease-in-out infinite;
  opacity: 0;
}

/* Color variants */
.light-dots-bg .dot--blue {
  background: #3399ff;
}

.light-dots-bg .dot--violet {
  background: #a64dff;
}

/* Dot positions, sizes and animation delays */

/* Magenta dots (1–24) */
.light-dots-bg .dot:nth-child(1)  { width: 9px;  height: 9px;  top:  4%;  left:  7%;  animation-delay: 0s; }
.light-dots-bg .dot:nth-child(2)  { width: 7px;  height: 7px;  top: 12%;  left: 23%;  animation-delay: 0.4s; }
.light-dots-bg .dot:nth-child(3)  { width: 12px; height: 12px; top:  8%;  left: 27%;  animation-delay: 1.1s; }
.light-dots-bg .dot:nth-child(4)  { width: 7px;  height: 7px;  top:  3%;  left: 73%;  animation-delay: 0.7s; }
.light-dots-bg .dot:nth-child(5)  { width: 9px;  height: 9px;  top: 15%;  left: 74%;  animation-delay: 1.6s; }
.light-dots-bg .dot:nth-child(6)  { width: 7px;  height: 7px;  top:  6%;  left: 89%;  animation-delay: 0.3s; }
.light-dots-bg .dot:nth-child(7)  { width: 12px; height: 12px; top: 22%;  left: 12%;  animation-delay: 1.8s; }
.light-dots-bg .dot:nth-child(8)  { width: 7px;  height: 7px;  top: 28%;  left: 13%;  animation-delay: 0.9s; }
.light-dots-bg .dot:nth-child(9)  { width: 9px;  height: 9px;  top: 19%;  left: 18%;  animation-delay: 0.2s; }
.light-dots-bg .dot:nth-child(10) { width: 7px;  height: 7px;  top: 31%;  left: 87%;  animation-delay: 1.4s; }
.light-dots-bg .dot:nth-child(11) { width: 12px; height: 12px; top: 25%;  left: 82%;  animation-delay: 0.6s; }
.light-dots-bg .dot:nth-child(12) { width: 7px;  height: 7px;  top: 37%;  left:  4%;  animation-delay: 1.9s; }
.light-dots-bg .dot:nth-child(13) { width: 9px;  height: 9px;  top: 44%;  left: 19%;  animation-delay: 0.5s; }
.light-dots-bg .dot:nth-child(14) { width: 7px;  height: 7px;  top: 51%;  left: 9%;   animation-delay: 1.3s; }
.light-dots-bg .dot:nth-child(15) { width: 12px; height: 12px; top: 58%;  left: 76%;  animation-delay: 0.1s; }
.light-dots-bg .dot:nth-child(16) { width: 7px;  height: 7px;  top: 47%;  left: 90%;  animation-delay: 1.7s; }
.light-dots-bg .dot:nth-child(17) { width: 9px;  height: 9px;  top: 62%;  left: 88%;  animation-delay: 0.8s; }
.light-dots-bg .dot:nth-child(18) { width: 7px;  height: 7px;  top: 70%;  left:  9%;  animation-delay: 1.5s; }
.light-dots-bg .dot:nth-child(19) { width: 12px; height: 12px; top: 76%;  left: 11%;  animation-delay: 0.35s; }
.light-dots-bg .dot:nth-child(20) { width: 7px;  height: 7px;  top: 83%;  left: 14%;  animation-delay: 1.2s; }
.light-dots-bg .dot:nth-child(21) { width: 9px;  height: 9px;  top: 79%;  left: 83%;  animation-delay: 0.65s; }
.light-dots-bg .dot:nth-child(22) { width: 7px;  height: 7px;  top: 88%;  left: 93%;  animation-delay: 1.85s; }
.light-dots-bg .dot:nth-child(23) { width: 12px; height: 12px; top: 93%;  left: 16%;  animation-delay: 0.45s; }
.light-dots-bg .dot:nth-child(24) { width: 7px;  height: 7px;  top: 96%;  left: 93%;  animation-delay: 1.0s; }

/* Blue dots (25–32) */
.light-dots-bg .dot:nth-child(25) { width: 9px;  height: 9px;  top: 10%;  left: 9%;   animation-delay: 0.8s; }
.light-dots-bg .dot:nth-child(26) { width: 7px;  height: 7px;  top:  5%;  left: 88%;  animation-delay: 2.1s; }
.light-dots-bg .dot:nth-child(27) { width: 12px; height: 12px; top: 33%;  left: 80%;  animation-delay: 1.55s; }
.light-dots-bg .dot:nth-child(28) { width: 9px;  height: 9px;  top: 42%;  left: 77%;  animation-delay: 0.25s; }
.light-dots-bg .dot:nth-child(29) { width: 7px;  height: 7px;  top: 55%;  left: 8%;   animation-delay: 2.4s; }
.light-dots-bg .dot:nth-child(30) { width: 12px; height: 12px; top: 65%;  left: 14%;  animation-delay: 1.75s; }
.light-dots-bg .dot:nth-child(31) { width: 9px;  height: 9px;  top: 85%;  left: 20%;  animation-delay: 0.9s; }
.light-dots-bg .dot:nth-child(32) { width: 7px;  height: 7px;  top: 91%;  left: 86%;  animation-delay: 2.0s; }

/* Violet dots (33–38) */
.light-dots-bg .dot:nth-child(33) { width: 9px;  height: 9px;  top: 14%;  left: 15%;  animation-delay: 1.15s; }
.light-dots-bg .dot:nth-child(34) { width: 7px;  height: 7px;  top: 24%;  left: 78%;  animation-delay: 2.35s; }
.light-dots-bg .dot:nth-child(35) { width: 12px; height: 12px; top: 39%;  left: 26%;  animation-delay: 0.55s; }
.light-dots-bg .dot:nth-child(36) { width: 9px;  height: 9px;  top: 54%;  left: 84%;  animation-delay: 1.95s; }
.light-dots-bg .dot:nth-child(37) { width: 7px;  height: 7px;  top: 73%;  left: 12%;  animation-delay: 0.15s; }
.light-dots-bg .dot:nth-child(38) { width: 12px; height: 12px; top: 89%;  left:  6%;  animation-delay: 2.6s; }

/* Edge dots (39–54) */
.light-dots-bg .dot:nth-child(39) { width: 9px;  height: 9px;  top: 11%;  left: 94%;  animation-delay: 0.5s; }
.light-dots-bg .dot:nth-child(40) { width: 7px;  height: 7px;  top: 18%;  left:  5%;  animation-delay: 1.9s; }
.light-dots-bg .dot:nth-child(41) { width: 12px; height: 12px; top: 29%;  left: 90%;  animation-delay: 2.25s; }
.light-dots-bg .dot:nth-child(42) { width: 9px;  height: 9px;  top: 46%;  left: 10%;  animation-delay: 0.95s; }
.light-dots-bg .dot:nth-child(43) { width: 7px;  height: 7px;  top: 61%;  left: 92%;  animation-delay: 1.45s; }
.light-dots-bg .dot:nth-child(44) { width: 12px; height: 12px; top: 74%;  left:  8%;  animation-delay: 2.7s; }
.light-dots-bg .dot:nth-child(45) { width: 9px;  height: 9px;  top: 86%;  left: 95%;  animation-delay: 0.35s; }
.light-dots-bg .dot:nth-child(46) { width: 7px;  height: 7px;  top: 97%;  left: 6%;   animation-delay: 1.1s; }
.light-dots-bg .dot:nth-child(47) { width: 9px;  height: 9px;  top:  7%;  left:  3%;  animation-delay: 2.2s; }
.light-dots-bg .dot:nth-child(48) { width: 7px;  height: 7px;  top: 16%;  left: 97%;  animation-delay: 0.75s; }
.light-dots-bg .dot:nth-child(49) { width: 12px; height: 12px; top: 27%;  left:  9%;  animation-delay: 1.6s; }
.light-dots-bg .dot:nth-child(50) { width: 9px;  height: 9px;  top: 41%;  left: 96%;  animation-delay: 2.05s; }
.light-dots-bg .dot:nth-child(51) { width: 7px;  height: 7px;  top: 57%;  left:  4%;  animation-delay: 0.4s; }
.light-dots-bg .dot:nth-child(52) { width: 12px; height: 12px; top: 68%;  left: 94%;  animation-delay: 1.25s; }
.light-dots-bg .dot:nth-child(53) { width: 9px;  height: 9px;  top: 82%;  left:  7%;  animation-delay: 2.5s; }
.light-dots-bg .dot:nth-child(54) { width: 7px;  height: 7px;  top: 95%;  left: 98%;  animation-delay: 0.95s; }

/* Center cluster (55–68) */
.light-dots-bg .dot:nth-child(55) { width: 4px; height: 4px; top: 13%; left: 47%; animation-delay: 0.2s; }
.light-dots-bg .dot:nth-child(56) { width: 5px; height: 5px; top: 26%; left: 53%; animation-delay: 1.1s; }
.light-dots-bg .dot:nth-child(57) { width: 4px; height: 4px; top: 38%; left: 44%; animation-delay: 2.0s; }
.light-dots-bg .dot:nth-child(58) { width: 5px; height: 5px; top: 52%; left: 56%; animation-delay: 0.65s; }
.light-dots-bg .dot:nth-child(59) { width: 4px; height: 4px; top: 67%; left: 49%; animation-delay: 1.7s; }
.light-dots-bg .dot:nth-child(60) { width: 5px; height: 5px; top: 81%; left: 42%; animation-delay: 2.35s; }
.light-dots-bg .dot:nth-child(61) { width: 3px; height: 3px; top: 17%; left: 51%; animation-delay: 0.35s; }
.light-dots-bg .dot:nth-child(62) { width: 4px; height: 4px; top: 22%; left: 46%; animation-delay: 1.45s; }
.light-dots-bg .dot:nth-child(63) { width: 3px; height: 3px; top: 31%; left: 54%; animation-delay: 2.55s; }
.light-dots-bg .dot:nth-child(64) { width: 4px; height: 4px; top: 45%; left: 48%; animation-delay: 0.85s; }
.light-dots-bg .dot:nth-child(65) { width: 3px; height: 3px; top: 59%; left: 53%; animation-delay: 1.95s; }
.light-dots-bg .dot:nth-child(66) { width: 4px; height: 4px; top: 72%; left: 47%; animation-delay: 0.15s; }
.light-dots-bg .dot:nth-child(67) { width: 3px; height: 3px; top: 78%; left: 55%; animation-delay: 1.25s; }
.light-dots-bg .dot:nth-child(68) { width: 4px; height: 4px; top: 87%; left: 50%; animation-delay: 2.15s; }

/* Center-left/right cluster (69–78) */
.light-dots-bg .dot:nth-child(69) { width: 3px; height: 3px; top: 12%; left: 36%; animation-delay: 0.55s; }
.light-dots-bg .dot:nth-child(70) { width: 4px; height: 4px; top: 18%; left: 64%; animation-delay: 1.35s; }
.light-dots-bg .dot:nth-child(71) { width: 5px; height: 5px; top: 27%; left: 39%; animation-delay: 2.25s; }
.light-dots-bg .dot:nth-child(72) { width: 3px; height: 3px; top: 34%; left: 61%; animation-delay: 0.95s; }
.light-dots-bg .dot:nth-child(73) { width: 4px; height: 4px; top: 43%; left: 35%; animation-delay: 1.75s; }
.light-dots-bg .dot:nth-child(74) { width: 5px; height: 5px; top: 51%; left: 66%; animation-delay: 0.25s; }
.light-dots-bg .dot:nth-child(75) { width: 3px; height: 3px; top: 63%; left: 38%; animation-delay: 2.05s; }
.light-dots-bg .dot:nth-child(76) { width: 4px; height: 4px; top: 71%; left: 62%; animation-delay: 1.15s; }
.light-dots-bg .dot:nth-child(77) { width: 5px; height: 5px; top: 82%; left: 34%; animation-delay: 2.45s; }
.light-dots-bg .dot:nth-child(78) { width: 3px; height: 3px; top: 90%; left: 65%; animation-delay: 0.45s; }

/* General density fill (79–90) */
.light-dots-bg .dot:nth-child(79) { width: 7px;  height: 7px;  top:  9%; left: 18%; animation-delay: 1.05s; }
.light-dots-bg .dot:nth-child(80) { width: 9px;  height: 9px;  top: 14%; left: 83%; animation-delay: 2.3s; }
.light-dots-bg .dot:nth-child(81) { width: 5px;  height: 5px;  top: 21%; left: 46%; animation-delay: 0.6s; }
.light-dots-bg .dot:nth-child(82) { width: 12px; height: 12px; top: 30%; left: 11%; animation-delay: 1.8s; }
.light-dots-bg .dot:nth-child(83) { width: 7px;  height: 7px;  top: 36%; left: 88%; animation-delay: 0.3s; }
.light-dots-bg .dot:nth-child(84) { width: 5px;  height: 5px;  top: 48%; left: 58%; animation-delay: 2.55s; }
.light-dots-bg .dot:nth-child(85) { width: 9px;  height: 9px;  top: 57%; left: 15%; animation-delay: 1.4s; }
.light-dots-bg .dot:nth-child(86) { width: 7px;  height: 7px;  top: 64%; left: 79%; animation-delay: 0.75s; }
.light-dots-bg .dot:nth-child(87) { width: 5px;  height: 5px;  top: 72%; left: 52%; animation-delay: 2.15s; }
.light-dots-bg .dot:nth-child(88) { width: 12px; height: 12px; top: 80%; left: 92%; animation-delay: 1.25s; }
.light-dots-bg .dot:nth-child(89) { width: 7px;  height: 7px;  top: 89%; left: 24%; animation-delay: 0.5s; }
.light-dots-bg .dot:nth-child(90) { width: 9px;  height: 9px;  top: 97%; left: 69%; animation-delay: 2.0s; }




/* Header */

header {
    background-color: black;
    padding: 10px;
    text-align: right;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: transform 0.3s ease;
}

header.header--hidden {
    transform: translateY(-110%);
}

.headerlist {
    list-style-type: square;
    display: inline-flex;
    align-items: center;
    width: 100%;
    margin: 0;
    padding: 0;
    color: white;
}

.headerlist li {
    list-style-type: none;
    padding: 0 20px 0 20px;
    display: flex;
    align-items: center;
    font-size: 0.8em;
}

.headerlist .header-brand {
        margin-right: auto;
        font-size: 1.2em;
}


.headerlist li a {
    color: white;
    text-decoration: none;
}

.headerlist li a:hover {
    color: #E6006F;
}

.headerlist li a:active {
    color: #E6006F;
}

.nav-toggle,
.burger {
    display: none;
}


/* Button Styles */

.transition-regular {
    transition-property: background-color;
    transition-duration: 0.3s;
    transition-timing-function: ease;
}

button {
    background-color: black;
    color: white;
    padding: 10px 20px;
    border: 1px solid white;
    border-radius: 4px;
    cursor: pointer;
    line-height: 1.5;
    display: inline;
    font-weight: bold;
    margin-bottom: 60px;
    transition-property: background-color;
    transition-duration: 0.3s;
    transition-timing-function: ease;
}


button:hover {
    background-color: #E6006F;
    border: 1px solid #E6006F;
}


.secondary {
    background-color: white;
    color: black;
    border: 1px solid black;
    margin: 0 20px;
}


.secondary:hover {
    background-color: #E6006F;
    border: 1px solid #E6006F;
    color: white;
}



/* Image & Icon properties */

img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.img-hovered:hover, .burger:hover {
    opacity: 50%;
    cursor: pointer;
}


/* Text properties */

h1, h2, h3, h4 {
    margin: 0;
}


h2 {
   padding: 0;
   color: white;
   font-family: 'Fjord One', sans-serif, oblique;
   text-align: center;
   font-size: 2.5em;
}

h4 {
    color: #E6006F;
    padding: 0; 
    margin-bottom: 40px;
    text-transform: uppercase;
    text-align: center;
    font-weight: normal;
    letter-spacing: 3px;
}


p {
    font-size: 16px;
    line-height: 1.5;
    margin: 0 20%;
}


li {
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
}


.credits {
    font-size: 14px;
    color: white;
    text-align: center;
    line-height: 1.5;
}


.credits_bold {
    font-size: 14px;
    color: white;
    font-weight: bold;
    text-align: center;
}


.caption {
    font-size: 10px;
    color: white;
    text-align: center;
}



.whitetext {
    color: white;
    text-align: center;
}


.blacktext {
    color: black;
}


.magentatext {
    color: #E6006F;
}



/* Separator line */

hr {
    border-color: white;
    margin: 0 20px;
}



/* Element Styles hero */

#hero_section .hero_text {
    font-size: clamp(1.6rem, 6vw, 3.2rem);
    position: absolute;
    bottom: clamp(16px, 5vh, 50px);
    left: 40px;
    z-index: 2;
}

#hero_section h1 {
    color: white;
    margin: 0;
    letter-spacing: 5px;
    opacity: 0;
    animation: heroSlideInLeft 1.6s ease-out 0.2s forwards;
}

#hero_section h3 { 
    color: white;
    font-size: clamp(1rem, 3vw, 2rem);
    opacity: 0;
    animation: heroSlideInLeft 1.6s ease-out 0.55s forwards;
}



@media (prefers-reduced-motion: reduce) {
    #hero_section h1,
    #hero_section h3 {
        animation: none;
        opacity: 1;
    }
}

#hero_section .hero_bild {
    position: relative;
    width: 100%;
    height: min(56.25vw, 88vh);
}

.sound_toggle {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    width: 42px;
    height: 42px;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    margin: 0;
    transition: background 0.2s ease;
}

.sound_toggle:hover {
    background: rgba(230, 0, 111, 0.7);
    border-color: #E6006F;
}



#hero_section .hero_bild video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* Element Styles about */

#about_section {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    text-align: center;
}

#about_section h2 {
    grid-column-start: 1;
    grid-column-end: 9;
    text-align: center;
}


#about_section > p {
    grid-column-start: 1;
    grid-column-end: 9;
    margin-top: clamp(20px, 5vw, 40px);
}


.content_section {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    padding: 80px;
    column-gap: 64px;
    text-align: center;
}



/* Element Styles Austellungen */

.austellungen {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    padding: 80px;
    column-gap: 64px;
    text-align: center;
}

.austellungen h4,
.austellungen h2,
.austellungen .austellungen_button_container,
.austellungen img {
    grid-column: 2 / 8;
}

.austellungen .austellungen_bild {
    grid-column: 1 / 9;
    margin-bottom: 40px;
}

.austellungen .austellungen_bild--left {
    grid-column: 1 / 5;
}

.austellungen .austellungen_bild--right {
    grid-column: 5 / 9;
}

.austellungen .austellungen_bild--pair img {
    width: 100%;
    height: auto;
    display: block;
}

.austellungen .austellungen_bild--match-43 {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.austellungen .austellungen_bild--match-43 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.austellungen_button_container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.austellungen_toggle_container {
    margin-top: 20px;
    margin-bottom: 20px;
}

.austellungen_toggle_container--bottom {
    margin-top: 20px;
    margin-bottom: 0;
}

.austellungen_toggle {
    background-color: transparent;
    border: none;
    margin: 0;
    padding: 0;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    transition-property: background-color;
    transition-duration: 0.3s;
    transition-timing-function: ease;
}

.austellungen_toggle h4 {
    margin: 0;
    color: white;
}

.austellungen_toggle_icon {
    color: white;
    font-size: 24px;
    line-height: 1;
    transition: transform 0.3s ease;
}


.austellungen_toggle[aria-expanded="true"] .austellungen_toggle_icon {
    transform: rotate(180deg);
}


.austellungen_toggle:hover,
.austellungen_toggle:focus-visible {
    background-color: transparent;
    border: none;
    outline: none;
}


.austellungen_toggle:hover h4,
.austellungen_toggle:focus-visible h4,
.austellungen_toggle:hover .austellungen_toggle_icon,
.austellungen_toggle:focus-visible .austellungen_toggle_icon {
    color: #E6006F;
}


.austellungen_more {
    grid-column: 1 / 9;
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    column-gap: inherit;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.45s ease, opacity 0.35s ease;
}

.austellungen_more.is-open {
    max-height: 6000px;
    opacity: 1;
}

.austellungen_more h2,
.austellungen_more .austellungen_button_container,
.austellungen_more .austellungen_bild {
    grid-column: 2 / 8;
}

.austellungen_more .austellungen_bild--full {
    grid-column: 1 / 9;
}

.austellungen_more .austellungen_bild--left {
    grid-column: 1 / 5;
}

.austellungen_more .austellungen_bild--right {
    grid-column: 5 / 9;
}



/* Element Styles Installationen */

.installation {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    padding: 80px;
    column-gap: 64px;
    text-align: left;
    background-color: white;
}


.installation h4,
.installation h2,
.installation ul,
.installation button {
    grid-column: 2 / 8;
}

.installation-row {
    grid-column: 1 / 9;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
    min-width: 0;
    margin-top: 40px;
}


.installation-row + .installation-row {
    margin-top: 80px;
}

.installation-row img {
    width: 100%;
    height: auto;
}

.installation-row p {
    min-width: 0;
    margin: 0;
}

.installation-row ul {
    text-align: left;
    padding-left: 20px;
}

.installation-row li {
    text-align: left;
}

.installation-row button {
    margin: 0;
}



/* Element Styles Pipilotti */


#pipilotti {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    padding: 80px;
    column-gap: 64px;
}


#pipilotti .pipilotti-img {
    grid-column: 2 / 8;
    justify-self: center;
    border-radius: 50%;
    height: 200px;
    width: 200px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 60px auto;
}


#pipilotti .pipilotti-title {
    grid-column: 2 / 8;
    justify-self: center;
}


#pipilotti .pipilotti-title h4 {
    text-align: center;
    padding-left: 0;
}


.pipilotti-text {
    grid-column: 1 / 9;
    color: white;
    font-size: 16px;
    line-height: 1.5;
}

.pipilotti-icons {
    grid-column: 2 / 8;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 48px;
}

.pipilotti-icons img {
    width: 36px;
    height: auto;
}


/* Pipilotti more projects Swiper */

.pipilotti-swiper-container {
    grid-column: 1 / 9;
    margin-top: 120px;
    margin-bottom: 40px;
}

.swiper-title {
    color: #E6006F;
    padding: 0;
    margin-bottom: 40px;
    text-transform: uppercase;
    text-align: center;
    font-weight: normal;
    letter-spacing: 3px;
}

.pipilotti-swiper {
    width: 100%;
    padding-bottom: 0;
}

.pipilotti-swiper .swiper-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: auto;
    overflow: visible;
}

.swiper-slide-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.pipilotti-swiper .swiper-slide img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    margin-bottom: 16px;
}

.pipilotti-swiper .swiper-pagination {
    position: relative;
    bottom: auto;
    margin-top: 40px;
    display: block;
}

.swiper-slide-text {
    color: white;
    font-size: 14px;
    text-align: center;
    margin: 0;
    font-weight: 500;
}

.pipilotti-swiper .swiper-pagination-bullet {
    background-color: #E6006F;
    opacity: 0.5;
}

.pipilotti-swiper .swiper-pagination-bullet-active {
    background-color: #E6006F;
    opacity: 1;
}

.pipilotti-swiper .swiper-button-next,
.pipilotti-swiper .swiper-button-prev {
    color: #E6006F;
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pipilotti-swiper .swiper-button-next:after,
.pipilotti-swiper .swiper-button-prev:after {
    font-size: 18px;
}

.pipilotti-swiper .swiper-button-next:hover,
.pipilotti-swiper .swiper-button-prev:hover {
    background-color: rgba(230, 0, 111, 0.2);
}




/* Element Styles Credits */

#credits h4,
#credits .credits_content,
#credits .caption {
    grid-column: 2 / 8;
}

#credits .credits_content {
    display: grid;
    gap: 32px;
}

#credits .credits_block {
    display: grid;
    gap: 10px;
}

#credits .credits_subentries {
    display: grid;
    gap: 20px;
    margin-top: 10px;
}

#credits .credits_subentry {
    display: grid;
    gap: 4px;
}

#credits .caption {
    margin-top: 40px;
}

.credits_section {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    padding: 80px;
    column-gap: 64px;
    text-align: center;
}


/* Footer */

footer {
    padding: 40px 0;
}




/* =================
   RESPONSIVE DESIGN
   ================= */


   
/* Tablet breakpoint */

@media (max-width: 768px) {
    header {
        display: flex;
        justify-content: center;
        align-items: center;
        position: sticky;
    }

    .burger {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 30px;
        cursor: pointer;
        user-select: none;
        min-width: 42px;
        min-height: 42px;
    }

    .burger::before {
        content: "☰";
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
        font-size: 26px;
        line-height: 1;
    }

    .nav-toggle:checked + .burger::before {
        content: "✕";
        font-size: 22px;
    }

    .headerlist {
        display: none;
        position: absolute;
        top: 100%;
        width: 100%;
        margin: 0;
        padding: 0;
        background-color: black;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        z-index: 1001;
    }

    .headerlist li {
        width: 100%;
        padding: 10px 0;
        margin: 10px 0;
        text-align: center;
        font-size: 1.2em;
    }

    .headerlist li a {
        display: block;
        width: 100%;
        text-align: center;
    }

    .nav-toggle:checked ~ .headerlist {
        display: flex;
    }

    .hero_bild h1 {
        font-size: clamp(2.2rem, 8vw, 3.8rem);
    }
    
    .hero_bild h3 {
        font-size: clamp(1.5rem, 5vw, 2.5rem);
    }

    h2,
    h4,
    p,
    footer, 
    #about_section h2,
    #about_section > p,
    .whitetext,
    .caption,
    footer.caption,
    .credits,
    .credits_bold,
    #credits .credits_content,
    #credits .credits_subentry,
    #credits .caption,
    #pipilotti .pipilotti-title h4,
    .swiper-title {
        text-align: left;
    }

    p {
        margin: 0;
    }


    #about_section h2,
    #about_section > p,
    .austellungen h4,
    .austellungen h2,
    .austellungen .austellungen_button_container,
    .austellungen .austellungen_bild,
    .austellungen .austellungen_more h2,
    .austellungen .austellungen_more .austellungen_button_container,
    .austellungen .austellungen_more .austellungen_bild,
    .austellungen .austellungen_bild--left,
    .austellungen .austellungen_bild--right,
    .installation h4,
    #pipilotti .pipilotti-img,
    .pipilotti-text,
    #pipilotti .pipilotti-title,
    #pipilotti .pipilotti-icons,
    #credits h4,
    #credits .credits_content,
    #credits .caption {
        grid-column: 1 / 9;
    }

    .austellungen_button_container,
    .pipilotti-icons {
        justify-content: flex-start;
    }

    .austellungen_toggle_container {
        justify-content: center;
    }

    .austellungen_toggle {
        width: auto;
    }

    #pipilotti .pipilotti-img,
    #pipilotti .pipilotti-title {
        justify-self: flex-start;
    }

    #pipilotti .pipilotti-img {
        margin: 0 0 60px 0;
    }

    .swiper-title {
        margin-bottom: 30px;
    }

    .pipilotti-swiper .swiper-slide img {
        aspect-ratio: 1 / 1;
    }

    .swiper-slide-text {
        font-size: 13px;
    }

    .pipilotti-swiper .swiper-pagination {
        margin-top: 32px;
        position: relative;
        bottom: auto;
    }

    .pipilotti-swiper .swiper-button-next,
    .pipilotti-swiper .swiper-button-prev {
        width: 36px;
        height: 36px;
    }


    footer.caption {
        display: grid;
        grid-template-columns: repeat(8, minmax(0, 1fr));
        justify-items: stretch;
        padding: 40px 24px;
        column-gap: 16px;
    }

    footer.caption .footer-text {
        display: block;
        grid-column: 1 / 9;
        margin: 0;
        text-align: left;
    }

    .installation-row {
        grid-column: 1 / 9;
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 0;
    }

    .installation-row + .installation-row {
        margin-top: 40px;
    }



    /* Reduce section padding for tablets */
    .content_section,
    .austellungen,
    .installation,
    #pipilotti,
    .credits_section {
        padding: 40px 24px;
        column-gap: 16px;
    }



    /* Buttons: prevent overflow */
    button {
        display: block;
        width: 100%;
        white-space: normal;
        margin-bottom: 16px;
    }

    .austellungen .austellungen_button_container button {
        margin-bottom: 60px;
    }

    .secondary {
        width: auto;
        margin: 0;
    }
}


/* Mobile breakpoint */

@media (max-width: 480px) {

    /* Tight padding on all sections */
    .content_section,
    .austellungen,
    .installation,
    #pipilotti,
    .credits_section {
        padding: 48px 16px;
        column-gap: 12px;
    }

    footer.caption {
        padding: 24px 16px;
        column-gap: 12px;
    }

    footer.caption .footer-text {
        grid-column: 1 / 9;
    }

    #about_section h2,
    #about_section > p,
    .austellungen h4,
    .austellungen h2,
    .austellungen .austellungen_button_container,
    .austellungen .austellungen_bild,
    .austellungen .austellungen_more h2,
    .austellungen .austellungen_more .austellungen_button_container,
    .austellungen .austellungen_more .austellungen_bild,
    .austellungen .austellungen_bild--left,
    .austellungen .austellungen_bild--right,
    .installation h4,
    .installation-row,
    #pipilotti .pipilotti-img,
    .pipilotti-text,
    #pipilotti .pipilotti-title,
    #pipilotti .pipilotti-icons,
    #credits h4,
    #credits .credits_content,
    #credits .caption {
        grid-column: 1 / 9;
    }

    .installation-row + .installation-row {
        margin-top: 24px;
    }

    .installation-row {
        margin-top: 0;
    }

    /* Scale down headings */

    #hero_section h1 {
        letter-spacing: 2px;
    }

    h2 {
        font-size: 1.4rem;
    }

    h4 {
        font-size: 0.95rem;
        letter-spacing: 2px;
    }



    /* Pipilotti Swiper Mobile */
    .pipilotti-swiper-container {
        grid-column: 1 / 9;
        margin-top: 80px;
        margin-bottom: 40px;
        padding: 0;
    }

    .swiper-title {
        margin-bottom: 24px;
        font-size: 0.95rem;
    }

    .pipilotti-swiper .swiper-slide img {
        aspect-ratio: 1 / 1;
    }

    .swiper-slide-text {
        font-size: 12px;
    }

    .pipilotti-swiper .swiper-pagination {
        margin-top: 24px;
        position: relative;
        bottom: auto;
    }

    .pipilotti-swiper .swiper-button-next,
    .pipilotti-swiper .swiper-button-prev {
        width: 32px;
        height: 32px;
    }



    /* Buttons full-width */

    button {
        display: block;
        width: 100%;
        white-space: normal;
        margin-bottom: 12px;
    }

    .austellungen .austellungen_button_container button {
        margin-bottom: 60px;
    }

    .austellungen_toggle_container {
        justify-content: center;
    }

    .austellungen_toggle {
        width: auto;
    }

    .secondary {
        width: auto;
        margin: 0;
    }

    /* Hero text closer to edge */
    #hero_section .hero_text {
        left: 16px;
        bottom: 20px;
    }
}




/* Media Query für Bildschirme mit einem Seitenverhältnis von 16:9 */

  /* @media screen and (aspect-ratio: 16/9) {
    .hero_bild video {
        width: 100%;
        height: auto;
    }
}


/* Media Query für Bildschirme mit einem Seitenverhältnis von 4:3 */

