@import "font-style.css";

.error404 footer {
    /* position: absolute;
    bottom: 0; */
    width: 100%;
}

.error404 main {
    margin-top: 200px;
    margin-bottom: 200px;
    padding: 0 30px;
    text-align: center;
}

.error404 main .page-content {
    margin-top: 56px;
}

p {
    margin-top: 0;
}

p a {
    text-decoration: none;
}

p a:hover {
    text-decoration: underline;
}

body {
    font-family: 'Soehne';
    font-weight: 400 !important;
    font-style: normal;
    overflow-x: hidden !important;
    height: 100vh;
}

.site-header {
    height: 0;
    position: relative;
    z-index: 9999;
}

.site-header .main-navigation {
    max-width: 100%;
    background-color: transparent;
    padding: 0 30px;
    background-color: white;
    border-bottom: 1px solid #000000;
    height: 47px;
}

.site-header .main-navigation .nav-desktop ul {
    justify-content: space-evenly;
    flex-grow: 1;
}

.site-header .main-navigation ul a {
    text-transform: uppercase;
    font-size: 26px;
    text-decoration: none;
}

.site-header .main-navigation ul a:hover {
    text-decoration: underline;
}

.site-header .main-navigation ul li.current_page_item a {
    text-decoration: none !important;
}

.site-header .main-navigation ul a span {
    text-transform: lowercase;
}

body:not(.home) #site-navigation {
    top: 0px;
}

.nav-desktop {
    position: sticky;
    top: 0;
    width: 100%;
    transition: 0.3s;
    display: flex;
    justify-content: space-between;
}

.nav-mobile {
    position: sticky;
    top: 0;
    width: 100%;
    transition: 0.3s;
    display: flex;
    justify-content: space-between;
}

ul.sub-menu {
    background-color: white;
    display: block;
    border: 1px solid black;
    margin: -1px -56px -30px -27px;
    padding: 30px 56px 30px 27px;
    min-height: 173px;
}

ul.sub-menu li:not(:last-of-type) {
    margin-bottom: 16px;
}

ul.sub-menu li {
    padding: 0 !important;
    height: 24px !important;
}

ul.sub-menu a {
    text-align: left !important;
    width: fit-content !important;
}

li.menu-item-has-children > a::after {
    content: ' +';
    width: 20px;
    display: inline-block;
}

#site-navigation .menu-item {
    padding: 10px 0;
    height: 47px;
}

#site-navigation a {
    float: left;
    display: block;
    color: black;
    text-align: center;
    text-decoration: none;
    font-size: 18px;
    /* line-height: 26px; */
    text-transform: uppercase;
    margin: 0;
    transition: ease-in-out 0.5s;
    cursor: pointer;
    position: relative;
    white-space: nowrap;
    height: 47px;
}

.site-header .main-navigation .sub-menu .current-menu-item a {
    text-decoration: none !important;
}
  
/* #site-navigation a:hover {
    transition: ease-in-out 0.5s;
    text-decoration: underline;
} */

#site-navigation a:not([aria-current="page"], .no-dec):hover::before {
    transform-origin: 0% 50%;
    transform: scale3d(1, 1, 1);
}

/* #site-navigation a[aria-current="page"] {
    text-decoration: underline;
} */

#site-navigation a svg {
    width: auto;
    transition: 0.5s ease-in-out;
}

svg.site_logo {
    fill: black;
    height: 24px;
}

svg.briefumschlag {
    height: 30px;
    fill: black;
    margin-top: 7px;
}

#site-navigation a svg.site_logo {
    width: 157px;
    height: auto;
    transition: 0.5s ease-in-out;
    padding: 16px 0;
}

#site-navigation a.briefumschlag{
    padding: 10px 0;
}

.nav-white a {
    color: black !important;
}

.nav-white svg {
    fill: black !important;
}

.nav-toggle.nav-white a {
    color: black !important;
}

.nav-toggle.nav-white svg {
    fill: black !important;
}

.nav-toggle .anfrage:hover,
.nav-black .anfrage:hover {
    background-color: #BFFF00;
    transition: ease-in-out 0.2s;
}

#site-navigation a svg.anfrage {
    transition: ease-in-out 0.2s;
}

.archive .site-main {
    padding: 0 30px;
    margin-top: 64px;
}

.project_grid {
    display: grid;
    grid: auto / 1fr 1fr;
    gap: 60px 30px;
    margin-bottom: 152px;
}

.project_grid img,
.project_grid video {
    object-fit: cover;
    width: 100%;
    height: auto;
    aspect-ratio: 906/510;
    margin-bottom: 0;
}

.project_grid h2 .title {
    margin-bottom: 0;
    font-size: 46px;
    line-height: 56px;
    font-weight: 400;
    text-transform: uppercase;
}

.project_grid a {
    text-decoration: none;
    color: black;
}

.s_project a {
    text-decoration: none;
	display: block;
	position: relative;
}

.s_project img,
.s_project video {
	margin-bottom: 16px;
}

.project_grid h2 .cats {
    margin-top: 0;
    font-size: 20px;
    line-height: 24px;
    font-weight: 300;
    color: black;
    display: block;
    white-space: normal;
    margin-bottom: 30px;
}

.s_project {
    margin-bottom: 0px;
    min-height: 454px;
}

.single-project .s_project_content figure {
    margin-top: 0;
    margin-bottom: 0;
}

.single-project .project_meta {
    display: grid;
    grid: auto / 2fr 2fr 3fr;
}

.single-project .s_project_header h1 {
    font-size: 75px;
    font-weight: 400;
    margin-top: 0;
    line-height: 75px;
}

.single-project .s_project_footer {
    padding: 105px 30px 62px;
    display: block;
}

.single-project .s_project_footer_grid {
    display: grid;
    grid: auto / 1fr 1fr;
    gap: 30px;
}

.site-footer {
    color: #000000;
    padding: 45px 30px;
    border-top: 1px solid #000000;
}

.footer_top {
    display: grid;
    grid: auto / 1fr 1fr 1fr 3fr;
    gap: 30px;
}

.footer_top div {
    display: block;
    gap: 37px;
    flex-direction: row;
}

.footer_top div p {
    margin-block-end: 18px;
}

.footer_top div p:first-of-type {
    font-weight: 400 !important;
}

.footer_top a {
    font-size: 18px;
    line-height: 26px;
    text-decoration: none;
}

.footer_top p {
    font-size: 18px;
    line-height: 26px;
    text-decoration: none;
    font-weight: 300 !important;
}

.footer_top p.f_cta {
    text-align: right;
    text-transform: none;
}

.footer_top p.f_cta svg {
    height: 44px;
}

.footer_top p.f_cta a {
    font-size: 60px;
}

.footer_top a:hover {
    text-decoration: none;
}

.footer_bottom p {
    margin-bottom: 0;
    font-size: 14px;
    text-transform: uppercase;
}

main {
    display: block;
	position: relative;
	width: 100%;
}

.alignwide {
    padding: 0 30px;
}

.wp-block-columns:not(.alignfull) {
    max-width: 1540px;
    margin: 0 auto;
}

.wp-block-columns.alignfull {
    margin-bottom: 0;
}

.wp-block-columns.alignwide {
    max-width: 1920px;
    margin: 0 auto;
}

.cursor {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    position: absolute;
    transition-duration: 150ms;
    transition-timing-function: ease-out;
    pointer-events: none;
    z-index: 999999;
    display: none;
}

.expand {
    animation: cursorAnim .5s forwards;
    transition-duration: 150ms;
    transition-timing-function: ease-out;
}

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

.s_project .info,
.next_project .info {
    position: relative;
    margin-top: -6px;
}

.s_project > span,
.next_project > span {
	display: inline-block;
}

.s_project .init,
.next_project .init {
    margin-top: 0;
    padding-top: 0;
}

.s_project:hover .init,
.next_project:hover .init {
	opacity: 0;
}

.s_project:hover .marquee {
    padding-top: 2px;
}

.next_project h2 .cats {
    font-size: 20px;
    line-height: 24px;
}

.marquee {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	overflow: hidden;
	pointer-events: none;
}

.marquee__inner {
	width: fit-content;
	display: flex;
	position: relative;
	--offset: 1rem;
	--move-initial: calc(-25% + var(--offset));
	--move-final: calc(-50% + var(--offset));
	transform: translate3d(var(--move-initial), 0, 0);
	animation: marquee 5s linear infinite;
	animation-play-state: paused;
	opacity: 0;
    margin-top: -20px;
    gap: 5rem;
    background: white;
    padding-top: 16px;
}

.next_project .marquee__inner {
    margin-top: -40px !important;
}

.top-bar .marquee__inner {
    opacity: 1;
    background: transparent;
    animation-play-state: running;
    white-space: nowrap;
    animation: marquee 10s linear infinite;
    gap: 0;
    margin-top: -6px;
}

.marquee__inner h2 {
    width: 800px;
}

.s_project:hover .marquee__inner,
.next_project:hover .marquee__inner {
	animation-play-state: running;
	opacity: 1;
	transition-duration: 0s;
}

.marquee span {
	text-align: left;
	white-space: nowrap;
	padding: 0;
}

@keyframes marquee {
	0% {
		transform: translate3d(var(--move-initial), 0, 0);
	}

	100% {
		transform: translate3d(var(--move-final), 0, 0);
	}
}

p.project_description {
    font-size: 34px;
    margin-block-start: 0;
}

.project_meta h4 {
    font-size: 16px;
    font-weight: 400;
    margin-block-start: 0;
    margin-block-end: 12px;
    text-transform: uppercase;
}

.project_meta p {
    font-size: 16px;
    line-height: 22px;
    margin-block-end: 0;
    margin-block-start: 0;
    text-transform: uppercase;
}

.next_project img,
.next_project video {
    width: 100%;
    height: auto;
    aspect-ratio: 680 / 392;
    object-fit: cover;
}

.s_project_footer .next_next {
    font-size: 60px;
    line-height: 70px;
    font-weight: 400;
    margin-top: 0;
    margin-bottom: 30px;
    color: black;
}

.next_project a {
    text-decoration: none;
}

.next_project:hover .marquee__inner h2 {
    margin-top: 20px;
} 

.next_project h2 {
    color: black;
    font-size: 46px;
    line-height: 1;
    font-weight: 400;
}

.next_project p {
    color: black;
    font-weight: 400;
}

.project_filter {
    margin-bottom: 40px;
}

.project_filter > button {
    font-size: 20px;
    line-height: 34px;
    color: black;
    background: none;
    padding: 0;
    border: none;
    outline: none;
    cursor: pointer;
    transition: 0.2s;
}

.project_filter button span {
    transform: rotate(0deg);
    display: inline-block;
    transition: 0.2s ease-in-out;
    margin-left: 12px;
}

.project_filter button.active span {
    transform: rotate(-180deg);
    transition: 0.2s ease-in-out;
}

.project_filter .panel {
    background-color: white;
    padding: 0;
    justify-content: space-around;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.2s ease-in-out;
}

.project_filter .panel button {
    margin-top: 10px;
    margin-bottom: 10px;
}

.project_filter .panel .panel_inner {
    display: block;
    flex-direction: column;
    padding: 0;
    text-align: left;
}

.project_filter .panel .panel_inner button {
    margin-right: 24px;
    outline: 0;
    cursor: pointer;
    text-align: left;
    transition: 0.2s ease-in-out;
    background-color: white;
    border-radius: 20px;
    font-size: 18px;
    border: 2px solid black;
    padding: 6px 18px;
}

.project_filter .panel .panel_inner button:hover {
    text-decoration: underline;
    transition: 0.2s ease-in-out;
}

.project_filter .panel .panel_inner button.is-checked {
    text-decoration: none;
    color: white;
    background-color: #0000FF;
    border: 2px solid #0000FF;
}

.project_grid .grid-sizer {
    width: calc(50% - 15px);
    height: auto;
}

.cat-links {
    display: none;
}

.main-carousel {
    outline: 0;
}

.flickity-slider {
    height: 624px;
}

.flickity-viewport {
    height: 624px;
}

.cf-top {
    display: flex;
    gap: 30px;
}

.wpcf7-form-control-wrap {
    display: block;
    margin-bottom: 30px;
}

.wpcf7-form-control-wrap[data-name="datenschutz"] {
    display: inline-block;
}

.cf-top p {
    width: calc(50% - 15px);
}

.cf-top input {
    width: 100%;
}

input[type="text"],
input[type="email"],
input[type="text"]:focus-visible,
input[type="email"]:focus-visible {
    border-bottom: 1px solid black;
    border-top: 0;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    outline: 0;
    transition: ease-in-out 0.2s;
    padding: 8px;
    font-weight: 300;
}

input[type="text"]:focus,
input[type="email"]:focus,
.wpcf7-form textarea:focus {
    background-color: #f6f6f6;
    transition: ease-in-out 0.2s;
    color: black;
}

.wpcf7-form textarea {
    border: 1px solid black;
    border-radius: 0;
    padding: 14px 17px;
    transition: ease-in-out 0.2s;
    font-weight: 300;
}

.wpcf7-form textarea:focus-visible {
    outline: 0;
}

.wpcf7-form,
.wpcf7-form-control{
    font-size: 18px;
}

.wpcf7-form .dsgvo_wrapper {
    font-size: 16px !important;
    line-height: 22px;
    font-weight: 300;
    display: flex;
    gap: 16px;
    margin-bottom: 8px;
}

.wpcf7-not-valid-tip {
    color: #0000FF;
    font-size: 18px;
}

input, textarea {
    color: #666;
}

.wpcf7-submit {
    padding: 22px 34px !important;
    border: 1px solid #0000FF !important;
    border-radius: 38px !important;
    color: white !important;
    background-color: #0000FF !important;
    cursor: pointer;
    transition: ease-in-out 0.2s;
}

.wpcf7-submit[disabled=""] {
    padding: 22px 34px !important;
    border: 1px solid black !important;
    border-radius: 38px !important;
    background-color: white !important;
    transition: ease-in-out 0.2s;
    color: black !important;
}

.wpcf7-form-control input[type="checkbox"] {
    border-radius: 0;
    border: 1px solid black;
    height: 20px;
    width: 20px;
    outline: 0;
    color: black;
    accent-color: black;
}

.wpcf7-form-control input[type="checkbox"]:checked {
    background-color: black;
    color: white;
}

.wpcf7-form-control input[type="checkbox"]:not(:checked) {
    -webkit-appearance: none;
    -moz-appearance: none;
    -o-appearance: none;
    appearance: none;
}

h1 {
    font-weight: 400;
    font-size: 56px;
    line-height: 1;
}

::selection{  
    background-color: black;
    color: white;  
}

.top-bar {
    background-color: rgba(0, 0, 255, 0.1);
    height: 44px;
    position: relative;
    border-bottom: 1px solid #000000;
}

.top-bar p {
    margin-bottom: 0;
    color: #0000FF;
    font-size: 18px;
}

.home .main-navigation {
    /* top: 44px; */
    position: sticky;
}

.skip-link {
    display: none;
}
.top-bar > div {
    display: inline-block;
    flex-direction: row;
}

.project_filter button {
    background-color: white;
    border-radius: 20px;
    font-size: 22px;
    border: 1px solid black;
    padding: 6px 18px;
    cursor: pointer;
}

.project_filter .button-group {
    gap: 12px;
    display: flex;
}

button.is-checked {
    text-decoration: none;
    color: white;
    background-color: black;
    border: 1px solid black;
}

.s_project_footer h2 .title {
    margin-bottom: 0;
    font-size: 46px;
    line-height: 56px;
    font-weight: 400;
    text-transform: uppercase;
}

.s_project_footer h2 .cats {
    margin-top: 0;
    font-size: 20px;
    line-height: 24px;
    font-weight: 300;
    color: black;
    display: block;
    white-space: normal;
    margin-bottom: 30px;
}

hr.wp-block-separator.alignfull {
    border-top: 1px !important;
    margin: 0 !important;
}

.dsgvo_wrapper .wpcf7-form-control-wrap[data-name="datenschutz"] {
    margin-bottom: 0;
    min-height: 40px;
}

.wp-block-button.is-style-outline a {
    transition: ease-in-out 0.2s;
}

.wp-block-button.is-style-outline:hover a {
    background-color: black;
    color: white;
    transition: ease-in-out 0.2s;
    border-color: black;
}

@media (max-width: 767px) {
    .wpcf7-form .dsgvo_wrapper {
        margin-bottom: 30px;
    }

    .cf-top {
        display: block;
    }

    .cf-top p {
        width: 100%;
    }

    .footer_top {
        display: block;
    }

    .nav-mobile .navbar-menu-items {
        margin: 0 -30px !important;
        padding: 20px 30px 24px !important;
        border-bottom: 1px solid black;
    }

    .nav-desktop {
        display: none;
    }

    .nav-mobile {
        height: 47px;
    }

    .nav-mobile .mob-acc {
        color: black;
        cursor: pointer;
        padding: 18px;
        border-top: none;
        border-right: none;
        border-left: none;
        border-bottom: 1px solid black;
        border-radius: 0;
        outline: none;
        transition: 0.4s;
        background-color: white;
    }
      
    .nav-mobile .panel {
        background-color: white;
        overflow: hidden;
        max-height: 0;
        position: absolute;
        top: 47px;
        width: 100vw;
        margin: 0 -30px !important;
        padding: 0 30px;
        transition: max-height 0.2s ease-out;
    }

    .wp-block-columns:not(.alignfull, .alignwide) {
        max-width: 100%;
        margin: 0 auto;
        padding: 0 30px;
    }

    .project_grid {
        display: grid;
        grid: auto / 1fr;
    }

    .project_grid .grid-sizer {
        width: 100%;
    }

    .s_project {
        min-height: 200px;
    }

    .project_grid h2 .title {
        margin-top: 16px;
        margin-bottom: 0;
        font-size: 46px;
        line-height: 46px;
        font-weight: 400;
        text-transform: uppercase;
    }

    .footer_top p.f_cta {
        text-align: left;
        margin-top: 30px;
    }

    .footer_top p.f_cta a {
        font-size: 50px;
        line-height: 1.2;
    }

    .footer_top p.f_cta a svg{
        height: 36px;
    }

    .single-project .s_project_footer_grid {
        display: block !important;
    }

    .dsgvo_wrapper .wpcf7-form-control-wrap {
        margin-bottom: 0;
    }

    .dsgvo_wrapper {
        margin-bottom: 40px;
        display: flex;
    }

    .dsgvo_wrapper .dsgvo_text {
        display: block;
        margin-left: 8px;
    }

    .dsgvo_wrapper .wpcf7-list-item {
        margin: 0
    }

    .m-18px {
        font-size: 18px !important;
    }

    .m-20px {
        font-size: 20px !important;
    }

    .m-22px {
        font-size: 22px !important;
    }

    .m-24px {
        font-size: 24px !important;
    }

    .m-26px {
        font-size: 26px !important;
    }

    .m-28px {
        font-size: 28px !important;
    }

    .m-30px {
        font-size: 30px !important;
    }

    .m-32px {
        font-size: 32px !important;
    }

    .m-34px {
        font-size: 34px !important;
    }

    .m-36px {
        font-size: 36px !important;
    }

    .m-38px {
        font-size: 38px !important;
    }

    .m-40px {
        font-size: 40x !important;
    }

    .m-42px {
        font-size: 42px !important;
    }

    .m-44px {
        font-size: 44px !important;
    }

    .m-46px {
        font-size: 46px !important;
    }

    .m-48px {
        font-size: 48px !important;
    }

    .m-no-gap {
        gap: 0 !important;
    }
}

@media (min-width: 768px) {
    .error404 footer {
        position: absolute;
        bottom: 0;
        width: 100%;
    }

    .nav-mobile {
        display: none;
    }

    .nav-desktop .navbar-menu-items {
        height: 100%;
    }

    .nav-desktop li a::before {
        content: '• ';
        width: 16px;
        font-size: 0px;
        line-height: 22px;
        transition: ease-in-out 0.2s;
        color: #0000FF;
        display: inline-block;
    }

    .nav-desktop li a:hover::before {
        content: '• ';
        width: 16px;
        font-size: 22px;
        line-height: 22px;
        transition: ease-in-out 0.2s;
        color: #0000FF;
        display: inline-block;
    }

    .nav-desktop li a[aria-current="page"]::before {
        content: '• ';
        width: 16px;
        font-size: 22px;
        line-height: 22px;
        color: #0000FF;
        display: inline-block;
    }

    /* #site-navigation a:hover {
        transition: ease-in-out 0.5s;
        text-decoration: underline;
    } */
}

@media (max-width: 959px) {
    .project_filter-desktop {
        display: none;
    }

    .project_filter button.accordion {
        border: 0px !important;
        padding: 0 !important;
        margin-bottom: 16px;
    }

    .project_filter button {
        border: 1px solid black !important;
    }

    .project_filter button.is-checked {
        background-color: #000000 !important;
        border: 1px solid black !important;
    }

    .project_filter .panel button {
        margin: 0 8px 8px 0 !important;
    }
}

@media (min-width: 768px) and (max-width: 959px) {
    .footer_top {
        display: grid;
        grid: auto / 1fr 1fr 1fr !important;
        gap: 30px;
    }

    .footer_top div:last-child {
        grid-column-start: 1;
        grid-column-end: 4;
        grid-row-start: 2;
    }

    .footer_top p.f_cta {
        text-align: left;
        text-transform: none;
    }

    .t-no-gap {
        gap: 0 !important;
    }
}

@media (min-width: 960px) and (max-width: 1200px) {
    .footer_top {
        display: grid;
        grid: auto / 1fr 1fr 1fr 2fr !important;
        gap: 30px;
    }
}

@media (min-width: 960px) {
    .project_filter-mobile {
        display: none;
    }

    .pad-60 {
        padding: 0 60px;
    }

    .d-no-gap {
        gap: 0 !important;
    }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(200px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.ti-widget {
    display: none !important;
}