:root {
    touch-action: pan-x pan-y;
    height: 100%;
}

body * {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    line-height: auto;
    border: 0;
    background: transparent;
    outline: none;
    font-family: "Fira Sans", sans-serif;
    font-size: inherit;
    -ms-overflow-style: -ms-autohiding-scrollbar;
}

h1 {
    margin-bottom: 1rem;
    font-size: 1.75rem;
    max-width: 450px;
}

p {
    line-height: 1.5;
    max-width: 450px;
    opacity: 0.55;
}

img:not(.logo):not(.portrait) {
    width: 100%;
    object-fit: cover;
    object-position: center;
    background-image: url(../placeholder.png);
    background-size: cover;
    background-position: center;
}

img.logo {
    width: 100%;
    object-fit: cover;
    object-position: center;
}

*::-webkit-scrollbar {
    display: none;
}

body {
    background: #fff;
    color: #000;
    fill: #222;
    margin: 0;
    margin: auto;
    width: 100%;
    box-sizing: border-box;
    margin: auto;
    font-size: 0.75rem;
}

.wrapper {
    padding: 0 7vmin 7vmin;
}

header {
    position: relative;
    align-items: flex-start;
    color: #222;
    fill: #222;
    padding: 1rem 0;
}

nav {
    display: block;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    padding-bottom: 2rem;
}

svg {
    max-width: 80px;
}

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

input {
    color: #222;
    padding: 1rem 1.33rem;
    width: 100%;
    border: 1px solid var(--border);
    background: #eee;
    border-radius: 0;
    box-shadow: 0;
}

textarea {
    color: inherit;
    padding: 1rem 1.33rem;
    width: 100%;
    background: #eee;
    border-radius: 0;
    box-shadow: 0;
}

.search-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 1rem;
}
#search-chips {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: center;
}
.search-row .search {
    flex: 1 1 120px;
    min-width: 120px;
    color: #333;
    padding: 0.5rem 0.25rem;
    border: 0;
    background: transparent;
    outline: none;
    box-shadow: none;
    -webkit-appearance: none;
    font: inherit;
    font-size: 1rem;
}
.chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: #222;
    color: #fff;
    border-radius: 999px;
    padding: 0.3rem 0.5rem 0.3rem 0.75rem;
    font-size: 0.8rem;
    white-space: nowrap;
    cursor: default;
    user-select: none;
}
.chip .chip-remove {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    padding: 0;
    opacity: 0.65;
    transition: opacity 0.15s;
}
.chip .chip-remove:hover {
    opacity: 1;
}
.chip:not(:has(.chip-remove)) {
    padding: 0.3rem 0.75rem;
}
.chip.hint-chip {
    background: #eee;
    color: #333;
    cursor: pointer;
    transition: background 0.15s;
}
.chip.hint-chip:hover {
    background: #ddd;
}
.chip.hint-chip.active {
    background: #222;
    color: #fff;
}

.result-count {
    padding: 0 1rem 0.5rem;
    font-size: 0.8rem;
    opacity: 0.55;
}

.suggestions {
    flex-basis: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: center;
}

.grid {
    padding: 1rem 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-gap: 5vmin;
}
.grid .item {
    opacity: 0;
    animation: fadeIn 0.6s ease-out forwards;
}
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.item {
    content-visibility: auto;
    position: relative;
    cursor: pointer;
    display: block;
    text-decoration: none;
}

.name {
    opacity: 1;
}

.portrait {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    object-fit: cover;
    background: #eee;
    margin-right: 1rem;
}

.person {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 1rem 0;
}

.gallery {
    display: flex;
    flex-direction: column;
    width: 100%;
    grid-gap: 0;
}

.rectengular {
    position: relative;
    margin-bottom: 0;
}

.rectengular img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    object-fit: cover;
}

.column {
    display: flex;
    flex-direction: column;
}

.row {
    display: flex;
    align-items: center;
}

.row.end {
    justify-content: flex-end;
}

.row-desktop {
    display: flex;
    flex-direction: column;
}

.right {
    margin-left: auto;
    text-align: right;
}

.center {
    justify-content: center;
    align-items: center;
}

.padding {
    padding: 1rem;
}

.space {
    justify-content: space-between;
}

.start {
    align-items: flex-start;
}

.left {
    margin-right: auto;
    text-align: left;
}

.full {
    width: 100%;
}

.padding-vertical {
    padding: 0.5rem 0;
}

.symbol {
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

fieldset {
    background: transparent;
    width: auto;
    min-width: 0;
    display: block;
    overflow-x: none;
    overflow-y: none;
    position: relative;
}

input[type="checkbox"],
input[type="radio"] {
    display: none;
}

label {
    display: block;
    float: left;
}

label span {
    padding: 0.5rem 0.75rem;
    border: 1px solid #eee;
    color: #000;
    transition: background 0.2s linear;
    cursor: pointer;
    display: inline-block;
    white-space: nowrap;
    margin: 0.2rem;
}

label:hover span {
    background: #eee;
}

input[type="checkbox"]:checked + span,
input[type="radio"]:checked + span {
    background: #000;
    color: #fff;
    border-color: #000;
}
/* Animation */

.scale .rectengular {
    will-change: transform;
    transform: scale(1);
    transition: transform 0.1s ease;
}

.scale:hover .rectengular {
    transform: scale(1.025);
}

.loader {
    display: inline-block;
    position: fixed;
    z-index: 3;
    bottom: 1rem;
    right: 1rem;
    width: 80px;
    height: 80px;
    transform: scale(0.5);
    opacity: 0;
    transition: all 0.25s ease-in-out;
}

.loader.active {
    opacity: 1;
}

.loader div {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #222;
    animation: loader 1.2s linear infinite;
}

.loader div:nth-child(1) {
    top: 8px;
    left: 8px;
    animation-delay: 0s;
}

.loader div:nth-child(2) {
    top: 8px;
    left: 32px;
    animation-delay: -0.4s;
}

.loader div:nth-child(3) {
    top: 8px;
    left: 56px;
    animation-delay: -0.8s;
}

.loader div:nth-child(4) {
    top: 32px;
    left: 8px;
    animation-delay: -0.4s;
}

.loader div:nth-child(5) {
    top: 32px;
    left: 32px;
    animation-delay: -0.8s;
}

.loader div:nth-child(6) {
    top: 32px;
    left: 56px;
    animation-delay: -1.2s;
}

.loader div:nth-child(7) {
    top: 56px;
    left: 8px;
    animation-delay: -0.8s;
}

.loader div:nth-child(8) {
    top: 56px;
    left: 32px;
    animation-delay: -1.2s;
}

.loader div:nth-child(9) {
    top: 56px;
    left: 56px;
    animation-delay: -1.6s;
}

@-webkit-keyframes loader {
    0%,
    100% {
        background: #000;
    }
    50% {
        background: #fff;
    }
}

@-moz-keyframes loader {
    0%,
    100% {
        background: #000;
    }
    50% {
        background: #fff;
    }
}

@-o-keyframes loader {
    0%,
    100% {
        background: #000;
    }
    50% {
        background: #fff;
    }
}

@keyframes loader {
    0%,
    100% {
        background: #000;
    }
    50% {
        background: #fff;
    }
}

@media (min-width: 800px) {
    .row {
        display: flex;
    }
    .item {
        display: block;
    }
    .row-desktop {
        display: flex;
        flex-direction: row;
    }
}

@keyframes scale {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    }
    100% {
        transform: scale(1.1);
        box-shadow: 0 0 2rem rgba(0, 0, 0, 0.33);
    }
}

.fadeIn {
    opacity: 1;
    transition: opacity 0.2s linear;
}

button {
    background: #000;
    padding: 0.75rem;
    color: #fff;
    cursor: pointer;
}

button:hover {
    opacity: 0.75;
}

.counter {
    font-style: normal;
    display: flex;
    align-items: center;
    height: 16px;
    margin: 0.5rem 0;
    padding: 0.2rem 0.4rem;
    height: auto;
    border-radius: 0.25rem;
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    background: #22222266;
    color: #fff;
    backdrop-filter: blur(10px);
}

.counter svg {
    height: 16px;
    margin-right: 6px;
}

.bar {
    background: #fff;
    padding: 10vmin 7vmin 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    color: #000;
    gap: 2rem;
}

.bar .logo {
    max-width: 300px;
    width: 100%;
    color: #fff;
    padding-left: 0;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.social-links a {
    display: block;
    width: 36px;
    padding-left: 12px;
}

.social-links a:hover {
    opacity: 0.8;
}

.btn-abgabe {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: #000;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s;
}

.btn-abgabe:hover {
    opacity: 0.75;
}

.title {
    margin: 0.25rem 0;
    color: #000;
    font-weight: 600;
    font-size: 125%;
    opacity: 0.8;
}

.gradient {
    background: #eee;
}

video {
    order: -1;
}

.tag {
    max-width: max-content;
    float: left;
    margin-right: 0.25rem;
    opacity: 1;
}

.tag:hover {
    opacity: 0.5;
}

.subheadline {
    grid-column: 1 / -1;
}
