/*   
Theme Name: JanKattein
Description: JAN KATTEIN ARCHITECTS
Author: Lucas Hesse
Author URI: https://www.lucas-hesse.de/
*/

@font-face {
    font-family: 'Lausanne300';
    src: url('assets/fonts/Lausanne300.eot');
    src: url('assets/fonts/Lausanne300.eot') format('embedded-opentype'), url('assets/fonts/Lausanne300.woff2') format('woff2'), url('assets/fonts/Lausanne300.woff') format('woff'), url('assets/fonts/Lausanne300.ttf') format('truetype'), url('assets/fonts/Lausanne300.svg#Lausanne300') format('svg');
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}


/* HTML5 display-role reset for older browsers */

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1;
}

ol,
ul,
li {
    list-style: none;
    list-style-type: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

body,
html {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
    font-family: "Lausanne300", Helvetica, Arial, sans-serif;
    color: black;
    background: #f5f5f5;
    font-size: 17px;
    line-height: 22px;
    width: 100vw;
    overflow-x: hidden;
}

* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-smooth: always;
}

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

i {
    font-style: italic;
}

h1 {
    font-size: 48px;
    line-height: 52px;
    margin-bottom: 40px;
}

h2 {
    font-size: 23px;
    line-height: 27.5px;
    margin-bottom: 40px;
}

h3,
.subh {
    font-size: 17px;
    line-height: 22px;
    text-transform: uppercase;
}

.content h3 {
    font-size: 23px;
    line-height: 27.5px;
    margin-bottom: 40px;
    text-transform: none;
}

.press h3 {
    font-size: 17px;
    line-height: 22px;
    margin-bottom: 0;
    text-transform: uppercase;
}

h4,
h5,
p {
    font-size: 17px;
    line-height: 22px;
}

p {
    margin-bottom: 20px;
}

.content h4,
.content h5 {
    font-size: 17px;
    line-height: 22px;
    margin-bottom: 40px;
}

h6 {
    font-size: 13px;
    line-height: 17px;
}

.home p {
    -webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;
    column-gap: 40px;
}

.home .twocolumns {
    -webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;
    column-gap: 40px;
}

.home .twocolumns p {
    -webkit-column-count: 1;
    -moz-column-count: 1;
    column-count: 1;
    column-gap: inherit;
}

.alignright {
    float: right;
}

p a,
h1 a,
h2 a,
h4 a,
h5 a,
h4 span {
    color: #6364f1;
}

p a:hover,
p a:hover,
h4 a:hover,
h5 a:hover,
h4 span:hover {
    text-decoration: underline;
    cursor: pointer;
}

.button {
    display: inline-block;
    width: 100%;
    text-align: center;
    padding: 5px 0;
    margin: 5px 0;
    -webkit-border-radius: 100px;
    -moz-border-radius: 100px;
    border-radius: 100px;
}

.button.purple {
    background: #6364f1;
    color: white;
}

.press a:hover,
.essays-and-articles a:hover,
.newsletter .hide a:hover {
    color: #6364f1;
}

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

body {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

.nav {
    position: fixed;
    top: 0;
    z-index: 9999;
    width: 100vw;
    -webkit-transition: background 500ms ease, color 500ms ease;
    -moz-transition: background 500ms ease, color 500ms ease;
    -ms-transition: background 500ms ease, color 500ms ease;
    -o-transition: background 500ms ease, color 500ms ease;
    transition: background 500ms ease, color 500ms ease;
}

.nav a {
    color: White;
}

.nav li.active a {
    color: #6364f1;
}

.nav.sticky,
.nav.active {
    background: #f5f5f5;
}

.nav.sticky a,
.nav.active a {
    color: black;
}

.nav li {
    font-size: 70px;
    line-height: 70px;
}

.nav .col-1 span {
    position: relative;
}

.nav-icon {
    display: none;
}

.wrapper {
    min-height: 5em;
    flex: 1;
}


/* GRID */

.col-1 {
    margin: 10px;
    width: calc((100vw - 120px) / 6);
    float: left;
}

.col-2 {
    margin: 10px;
    width: calc((100vw - 60px) / 3);
    float: left;
}

.col-3 {
    margin: 10px;
    width: calc((100vw - 40px) / 2);
    float: left;
}

.col-4 {
    margin: 10px;
    /*width: calc((100vw - 60px) / 3 * 2);*/
    width: 815px;
    float: left;
}

.col-6 {
    margin: 10px;
    width: calc(100vw - 20px);
    float: none;
}

.clear {
    clear: both;
}


/* ------- INDEX ------- */

.landing {
    position: relative;
    width: 100vw;
    height: calc(100vh - 65px);
    height: 85vh;
    overflow: hidden;
}

.landing .galleryslider {
    width: 100%;
    height: calc(100vh - 65px);
    height: 85vh;
    overflow: hidden;
    position: fixed;
}

.landing .galleryslider li {
    opacity: 0;
    top: 0;
    position: absolute;
    -webkit-transition: all 500ms ease-in-out;
    -moz-transition: all 500ms ease-in-out;
    -ms-transition: all 500ms ease-in-out;
    -o-transition: all 500ms ease-in-out;
    transition: all 500ms ease-in-out;
}

.landing .galleryslider li.selected {
    opacity: 1;
}

.landing .galleryslider li,
.landing .galleryslider li img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.landing img {
    height: 100%;
}

#cookie-notice,
#cookie-notice * {
    -webkit-box-sizing: inherit !important;
    -moz-box-sizing: inherit !important;
    box-sizing: inherit !important;
}

#cookie-notice {
    position: fixed;
    bottom: 0;
    min-width: 100%;
    height: auto;
    font-size: inherit !important;
    letter-spacing: 0;
    line-height: inherit !important;
    left: 0;
    text-align: left;
    font-weight: inherit !important;
    font-family: inherit !important;
}

.cn-text-container {
    margin: 0 !important;
    display: inline !important;
}

.cn-buttons-container {
    display: inline !important;
}

.cookie-notice-container {
    padding: 10px !important;
    text-align: left !important;
}

.home #cookie-notice {
    position: absolute;
    bottom: 15vh;
    top: inherit;
}

.cookiebutton {
    color: white;
}

.cookiebutton::before {
    content: "→ ";
    margin-left: 10px;
}

#cn-refuse-cookie,
#cn-more-info {
    color: Black;
}

.cookie-notice-revoke-container {
    display: none;
}

.cn-close-icon {
    display: none;
}

#cookie-notice .cn-button {
    margin: 0;
}

.cn-button:hover {
    color: white;
    box-shadow: inherit !important;
    text-decoration: none;
}

.cn-button {
    font-family: inherit !important;
    font-weight: inherit !important;
    font-size: inherit !important;
    letter-spacing: inherit !important;
    line-height: inherit !important;
    text-align: left !important;
    cursor: pointer;
    -webkit-border-radius: inherit !important;
    -moz-border-radius: inherit !important;
    border-radius: inherit !important;
}

#cookie-notice .cn-button {
    margin: 0 !important;
}

.cookie-notice-container #cn-notice-buttons {
    display: inline-block !important;
}

.cn-revoke-inline.cookiebutton {
    background: #6364f1;
    color: white;
    display: inline-block;
    text-align: center;
    padding: 5px 40px;
    margin: 5px 0;
    -webkit-border-radius: 100px !important;
    -moz-border-radius: 100px !important;
    border-radius: 100px !important;
}

.cn-revoke-inline.cookiebutton::before {
    content: "";
    margin-left: 0;
}


/* -- COOKIE END **/

section {
    position: relative;
    padding: 10px 0;
    border-bottom: 1px solid black;
    overflow: auto;
    background: #f5f5f5;
}

section .col-1 {
    cursor: pointer;
}

section .col-1::before {
    content: "↓ ";
}

section .col-4,
section .col-2 {
    display: none;
}

section.active {
    cursor: inherit;
}

section.active .col-1::before {
    content: "↑ ";
}

section.active .col-4,
section.active .col-2 {
    display: block;
}

.people ul li {
    float: left;
    margin-right: 20px;
    width: calc((100% - 60px) / 4);
    min-height: 400px;
    cursor: pointer;
}

.people ul li:nth-child(4n) {
    margin-right: 0;
}

.people ul li img {
    width: 100%;
    height: Auto;
    margin-bottom: 10px;
}

.people h4 {
    margin-bottom: 20px;
}

.people .content-hide {
    display: none;
}

.clients ul {
    -webkit-column-count: 3;
    -moz-column-count: 3;
    column-count: 3;
}

.clients ul li {
    text-overflow: ellipsis;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
}

.work-for-us p {
    -webkit-column-count: 1;
    -moz-column-count: 1;
    column-count: 1;
    margin-bottom: auto;
}

.what-people-say ul li {
    float: left;
    width: calc((100% - 20px) / 2);
    margin-bottom: 40px;
    margin-right: 20px;
}

.what-people-say ul li:nth-child(2n) {
    margin-right: 0;
}

.what-people-say ul li h2 {
    margin-bottom: 20px;
}

.what-people-say ul.hide li {
    display: none;
}

.what-people-say ul.hide li:nth-child(-n+4) {
    display: block;
}

.awards ul {
    -webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;
    column-gap: 40px;
}

.awards ul li {
    margin-bottom: 20px;
}

.press ul li {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.essays-and-articles ul li {
    float: left;
    width: calc((100% - 60px) / 4);
    min-height: 350px;
    margin-right: 20px;
    margin-bottom: 20px;
}

.essays-and-articles ul li:nth-child(4n) {
    margin-right: 0;
}

.essays-and-articles ul li img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact .button {
    margin-bottom: 40px;
}

.newsletter ul.hide li {
    display: none;
}

.newsletter ul.hide li:nth-child(-n+6) {
    display: block;
}

.column-2 .left,
.column-2 .right {
    width: calc((100% - 20px) / 2);
    float: left;
}

.column-2 .left {
    margin-right: 20px;
}

.column-2 .left div {
    width: calc(50% - 20px);
    float: left;
}

.column-2 .left div:first-child {
    margin-right: 20px;
}

.contact .column-2 .left div h4 {
    margin-bottom: 20px;
}

.home footer {
    z-index: 999999;
    margin: 0;
    padding: 10px;
    background: #f5f5f5;
}

footer h4 {
    float: right;
    margin-left: 40px;
}


/* ----- CATEGORIES ------ */

body.page-template-category-purpose {
    background: #272727;
    color: white;
}

body.page-template-category-purpose .nav,
body.page-template-category-purpose .nav.sticky,
body.page-template-category-purpose .nav.active {
    background: #272727;
}

body.page-template-category-purpose .nav.sticky a,
body.page-template-category-purpose .nav.active a,
body.page-template-category-purpose footer a {
    color: white;
}

body.page-template-category-purpose .nav.sticky li.active a,
body.page-template-category-purpose .nav.active li.active a {
    color: #6364f1;
}

.page-template-category-purpose .wrapper {
    margin-top: 100px;
}

.purposetext {
    margin-bottom: 30px;
}

.categorylist {
    margin-bottom: 60px;
}

.categorylist li {
    float: left;
    font-size: 23px;
    line-height: 27.5px;
}

.categorylist li a {
    color: white;
}

.categorylist li a::before {
    content: "→ ";
    margin-left: 10px;
}

.categorylist li.active a {
    color: #6364f1;
}

.categorylist li a:hover {
    text-decoration: underline;
}

.categorylistbottom {
    border-top: 1px solid white;
    border-bottom: 1px solid white;
}

.categorylistbottom .categorylist {
    margin: 20px 0;
}

.categorysingle {
    border-top: 1px solid white;
    padding-top: 10px;
}

.categorysingle img {
    width: 100%;
    height: auto;
    /*margin-bottom: 40px;*/
}

.wp-block-gallery {
    gap:20px !important;
}

.wp-block-gallery figure {
    width:calc(50% - 20px *.5) !important;
}

.wp-block-gallery.columns-2 li,
.wp-block-columns .wp-block-column {
    float: left;
    width: calc((100% - 40px) / 2);
    margin-right: 40px;
}

.categorysingle .gallery img,
.wp-block-gallery.columns-3 li {
    float: left;
    width: calc((100% - 80px) / 3) !important;
    margin-right: 40px !important;
}

.wp-block-gallery.columns-4 li {
    float: left;
    width: calc((100% - 120px) / 4) !important;
    margin-right: 40px !important;
}

.wp-block-gallery.columns-3 li:last-child,
.wp-block-gallery.columns-4 li:last-child {
    margin-right: 0 !important;
}

.categorysingle .gallery img:last-child,
.wp-block-gallery.columns-2 li:last-child,
.wp-block-gallery.columns-3 li:last-child,
.wp-block-gallery.columns-4 li:last-child,
.wp-block-columns .wp-block-column:last-child {
    margin-right: 0;
}

.blocks-gallery-grid .blocks-gallery-image figcaption,
.blocks-gallery-grid .blocks-gallery-item figcaption,
.wp-block-gallery .blocks-gallery-image figcaption,
.wp-block-gallery .blocks-gallery-item figcaption {
    background: none !important;
    text-align: left !important;
    padding-left: 0 !important;
    color: black;
}

figcaption a {
    color: #6364f1
}

figcaption a::before {
    content: "→ ";
}


/* ----- Projects ------ */

.page-template-category-projects .wrapper,
.page-template-category-plans .wrapper {
    margin-top: 120px;
}

body.page-template-category-projects .nav,
body.page-template-category-projects .nav.sticky,
body.page-template-category-plans .nav,
body.page-template-category-plans .nav.sticky,
body.page-template-category-etcs .nav,
body.page-template-category-etcs .nav.sticky,
body.single-plans .nav,
body.single-plans .nav.sticky {
    background: #f5f5f5;
}



body.page-template-category-projects .nav a,
body.page-template-category-projects .nav.sticky a,
body.page-template-category-plans .nav a,
body.page-template-category-plans .nav.sticky a,
body.page-template-category-etcs .nav a,
body.page-template-category-etcs .nav.sticky a,
body.single-plans .nav a,
body.single-plans .nav.sticky a {
    color: #272727;
}

body.page-template-category-projects .nav li.active a,
body.page-template-category-projects .nav.sticky li.active a,
body.page-template-category-plans .nav li.active a,
body.page-template-category-plans .nav.sticky li.active a,
body.page-template-category-etcs .nav li.active a,
body.page-template-category-etcs .nav.sticky li.active a,
body.single-plans .nav li.active a,
body.single-plans .nav.sticky li.active a,
body.page-template-category-projects footer a,
body.page-template-category-plans footer a,
body.page-template-category-etcs footer a {
    color: #6364f1;
}

body.page-template-category-projects .categorylist li a,
body.page-template-category-plans .categorylist li a {
    color: black;
}

body.page-template-category-projects .categorylist li a.active,
body.page-template-category-plans .categorylist li a.active {
    color: #6364f1;
}

.projects-template-default .landing.Top img {
    object-position: 0% 0%;
}

.projects-template-default .landing.Middle img {
    object-position: 0% 50%;
}

.projects-template-default .landing.Bottom img {
    object-position: 0% 100%;
}

.projectslist {
    width: 100vw;
    position: relative;
}

.projectslist li {
    margin: 10px;
    width: calc((100vw - 40px) / 2);
    float: left;
}

.projectslist.plans li {
    width: calc((100vw - 60px) / 3);
}



.projectslist li i,
.tags li i {
    font-style: normal;
}

.projectslist li a {
    display: block;
}

.projectslist li img {
    width: calc((100vw - 40px) / 2);
    height: calc((100vw - 40px) / 6 * 2);
    margin-bottom: 10px;
}

.projectslist.plans li img {
    width: calc((100vw - 60px) / 3);
    height: calc((100vw - 60px) / 3 / 1.3);
    margin-bottom: 10px;
    -webkit-filter: grayscale(100%);
    /* Safari 6.0 - 9.0 */
    filter: grayscale(100%);
    object-fit: contain;

}

.projectslist.plans li:hover img {
    -webkit-filter: grayscale(0);
    /* Safari 6.0 - 9.0 */
    filter: grayscale(0);
}


.projectslist li span {
    display: block;
}

.projectslist li:hover span {
    color: #6364f1;
}

.projectslist .type i::after {
    content: ", ";
}

.projectslist .type i:last-child::after {
    content: " ";
}

.projectslist.text {
    height: auto !important;
}

.anchor {
    top: -150px;
    position: absolute;
    display: block;
}

.filterbutton {
    position: fixed;
    left: calc((100vw - 20px) / 2);
    top: 80px;
    z-index: 999;
}

.filterbutton a {
    cursor: pointer;
}

.projectslist li span {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.filter {
    display: none;
}



.projectslist.text li,
.filter {
    position: relative !important;
    left: 0 !important;
    top: 0 !important;
    margin: 0;
    width: 100vw;
    border-bottom: 1px solid black;
}

.projectslist.text li img {
    display: none;
}

.projectslist.text li span,
.filter span {
    margin: 10px;
    width: calc((100vw - 70px) / 3);
    float: left;
    font-size: 23px;
    line-height: 27.5px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.projectslist.text li span.project,
.filter span.project {
    width: calc((100vw - 70px) / 6 * 2);
}

.projectslist.text li span.type,
.filter span.type {
    width: calc((100vw - 70px) / 6 * 3);
}

.projectslist.text li span.date,
span.date {
    width: calc((100vw - 70px) / 6);
}

.projectslist.text .date,
.filter span.date {
    display: block;
    text-align: right;
}

.filter.show {
    display: block;
}

.filter span {
    text-transform: uppercase;
}

.filter span a:hover,
.filter span.down a,
.filter span.up a {
    cursor: pointer;
    color: #6364f1;
}

.filter span a::before,
.filter span.type::before {
    content: "→ ";
}

.filter span.down a::before {
    content: "↓ ";
}

.filter span.up a::before {
    content: "↑ ";
}


/* --- SINGLE --- */

.single-projects .landing {
    margin-bottom: 40px;
}

.tags {
    margin-bottom: 40px;
    border-top: 1px solid black;
    width: 100%;
}

.tags li {
    border-bottom: 1px solid black;
    padding: 10px 0;
    overflow: auto;
}

.tags li span {
    display: block;
    width: calc((100% - 60px) / 4 * 3);
    float: left;
}

.tags li span:first-child {
    margin-right: 20px;
    width: calc((100% - 60px) / 4);
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.tags li i::after {
    content: ", ";
}

.tags li i:last-child::after {
    content: " ";
}

ul.purpose {
    border: none;
    margin: 0;
}

ul.purpose li {
    border: none;
    padding: 0;
    display: inline-block;
    overflow: inherit;
}

ul.purpose li a {
    cursor: pointer;
    color: #6364f1
}

ul.purpose li a::before {
    content: "→ ";
}

.column-2 {
    width: 100%;
    overflow: auto;
}

.column-2 p {
    -webkit-column-count: 1;
    -moz-column-count: 1;
    column-count: 1;
}

.content ul {
    margin-bottom: 40px;
}

.content ul li:before {
    content: "→ ";
}

ul.blocks-gallery-grid li:before,
.press ul li:before {
    content: "";
}

.wp-block-image,
.wp-block-columns,
.blocks-gallery-grid .blocks-gallery-image,
.blocks-gallery-grid .blocks-gallery-item,
.wp-block-gallery .blocks-gallery-image,
.wp-block-gallery .blocks-gallery-item,
.blocks-gallery-grid figure img,
.content ul.blocks-gallery-grid,
.content .press ul {
    margin-bottom: 0 !important;
}

.blocks-gallery-grid figure,
.wp-block-image {
    display: block !important;
    margin-bottom: 20px !important;
}

.blocks-gallery-grid .blocks-gallery-image figcaption,
.blocks-gallery-grid .blocks-gallery-item figcaption,
.wp-block-gallery .blocks-gallery-image figcaption,
.wp-block-gallery .blocks-gallery-item figcaption {
    color: black !important;
    font-size: inherit !important;
    position: relative !important;
    padding: 0 !important;
    margin-top: 0.5em !important;
    margin-bottom: 0 !important;
    font-size: 0.75rem;
}

.wp-block-image figcaption {
    margin-top: 0.5em !important;
    margin-bottom: 0 !important;
    font-size: 0.75rem;

}

.blocks-gallery-grid.is-cropped .blocks-gallery-image,
.blocks-gallery-grid.is-cropped .blocks-gallery-item,
.wp-block-gallery.is-cropped .blocks-gallery-image,
.wp-block-gallery.is-cropped .blocks-gallery-item {
    align-self: flex-start !important;
}

.single .press {
    border-top: 1px solid black;
    padding: 10px 0;
}

.single .press li {
    display: block;
}

.single .press li a::before {
    content: "→ ";
}

.single .press li a:hover {
    cursor: pointer;
    color: #6364f1
}

.projecslistsingle {
    background: white;
    padding-top: 20px;
    margin-top: 60px;
}

.projecslistsingle .filter {
    display: block;
}

.single footer {
    margin: 0;
    padding: 10px;
    /*background: white;*/
}

.wp-block-embed-vimeo .wp-block-embed__wrapper {
    padding: 56.25% 0 0 0;
    position: relative;
}

.wp-block-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.Imprint {
    padding-top: 100px;
}

.cn-revoke-cookie {
    margin-bottom: 40px !important;
}

/* --- PLANS SECTION --- */

.planholder {
    display: flex;
    flex-direction: column;
    gap: 20px;
    /* Abstand zwischen den Zeilen */
    padding-top: 0;
    margin-top: 120px;
    position: absolute;
    width: 100%;
    top: 0;
}

.planholder-row {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    padding-left: 10px;
    padding-right: 10px;

    opacity: 0;
    transform: translateY(75px);
    transition: opacity 700ms ease, transform 700ms ease;
}

.planholder p {
    display: none;
}

.planholder .planholder-row p {
    display: block;
}



.planholder-row.visible {
    opacity: 1;
    transform: translateY(0);
}

.planholder-row.plangallery {
    transform: translateY(0);
}


.planholder-row .w-1.left {
    grid-column: 2 / span 1;
}

.planholder-row .w-1.middle {
    grid-column: 3 / span 1;
}

.planholder-row .w-1.right {
    grid-column: 4 / span 1;
}


.planholder-row .w-2.left {
    grid-column: 2 / span 2;
}

.planholder-row .w-2.middle {
    grid-column: 3 / span 2;
}

.planholder-row .w-2.right {
    grid-column: 4 / span 2;
}

.planholder-row .w-3.left {
    grid-column: 2 / span 3;
}

.planholder-row .w-3.middle {
    grid-column: 3 / span 3;
}

.planholder-row .w-3.right {
    grid-column: 4 / span 3;
}

.planholder-row .w-4.left {
    grid-column: 2 / span 4;
}

.planholder-row .w-4.middle {
    grid-column: 3 / span 4;
}

.planholder-row .w-5 {
    grid-column: 2 / span 5;
}


.planholder .title {
    position: absolute;
    top: 0;
    left: 10px;
    width: calc((100vw - 120px) / 6);
}

.planholder .item p {
    margin-bottom: 20px;
}

.planholder h1,
h2,
.planholder .item p:last-child {
    margin-bottom: 0;
}

.planholder .links {
    border-top: 1px solid black;
    padding-top: 5px;
}

.planholder .links li {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.planholder .links li a::before {
    content: "→ ";
}

.planholder .links li a:hover {
    cursor: pointer;
    color: #6364f1;
}

.planholder.pinned {
    position: fixed;
}


.plangallery {
    left: 0;
    position: relative;
    padding-left: 0;
    padding-right: 0;
}

.plangallery .pin-wrap {
    width: 100%;
}

.plangallery .animation-wrap {
    display: flex;
    width: max-content;
}

.plangallery:not(.active):not(.scrolled) .animation-wrap {
   transform: translateX(0) !important; 
}

.plangallery img {
    margin-left: 10px;
    margin-right: 10px;
    float: left;
    object-fit: contain;
    object-position: top;
}

.plangallery.left img:first-child {
    margin-left: calc((100vw - 120px) / 6 + 30px);
}

.plangallery.middle img:first-child {
    margin-left: calc((100vw - 120px) / 3 + 50px);
}

.plangallery.right img:first-child {
    margin-left: calc((100vw - 120px) / 2 + 70px);
}

.staticgallery.left img:first-child,
.staticgallery-mobil.left img:first-child {
    margin-left: calc((100vw - 120px) / 6 + 20px);
}

.staticgallery.middle img:first-child,
.staticgallery-mobil.middle img:first-child {
    margin-left: calc((100vw - 120px) / 3 + 40px);
}

.staticgallery.right img:first-child,
.staticgallery-mobil.right img:first-child {
    margin-left: calc((100vw - 120px) / 2 + 60px);
}

.plangallery.w-1 img,
.staticgallery.w-1 img {
    width: calc((100vw - 120px) / 6);
}

.plangallery.w-2 img,
.staticgallery.w-2 img {
    width: calc((100vw - 120px) / 3 + 20px);
}

.plangallery.w-3 img,
.staticgallery.w-3 img {
    width: calc((100vw - 120px) / 2 + 40px);
}








/* --- ETC LIST --- */

.etcslist {
    margin-top: 120px;
    font-size: 0px;
    letter-spacing: 0px;
    word-spacing: 0px;
}

.etcslist li,
.etcslist li.size-Medium {
    width: calc(((100vw - 120px) / 6 * 2) + 20px);
    margin: 10px;
    display: inline-block;
    vertical-align: top;
}

.etcslist li:nth-child(odd) {
    margin-left: calc(((100vw - 120px) / 6) + 30px);
}

.etcslist li.size-Small {
    width: calc((100vw - 120px) / 6);
}

.etcslist li.size-Big {
    width: calc(((100vw - 120px) / 6 * 3) + 40px);
}

.etcslist li .togglebutton {
    display: inline-block;
}

.etcslist li .footagecontainer {
    margin-bottom: 10px;
}


.etcslist li h6.desc {
    width: 100%;
    margin-top: 10px;
    margin-bottom: 0;
    display: grid;
    grid-template-rows: 0fr;
    transition: all 500ms;

}

.etcslist li h6.desc>div {
    overflow: hidden;
}

.etcslist li.open h6.desc {
    grid-template-rows: 1fr;
    margin-bottom: 10px;
}

.etcslist li h6.desc p {
    margin-bottom: 10px;
    font-size: inherit;
    line-height: inherit;
}

.etcslist li h6.desc p:last-child {
    margin-bottom: 0;
}

.etcslist li h6.desc ul li {
    list-style: disc outside none;
    display: list-item;
    margin: 0;
    margin-left: 1em;
}


.etcslist li ul.hashtags li {
    width: auto;
    margin: 0 5px 0 0;
    float: left;
    color: #afafaf;
}

.etcslist h6.date {
    color: #afafaf;
    clear: both;
}

/* TABLET VERSION */

@media screen and (max-width: 1150px) {

    .etcslist li,
    .etcslist li.size-Small {
        width: calc(((100vw - 120px) / 6 * 2) + 20px);
    }

    .etcslist li.size-Big,
    .etcslist li.size-Medium {
        width: calc(((100vw - 120px) / 6 * 3) + 40px);
        margin-left: 10px;
    }
}


/* MOBIL ONLY VERSION */

@media screen and (max-width: 800px) {
    h1 {
        font-size: 30px;
        line-height: 35px;
    }

    .nav .col-1 span {
        top: 0 !important;
    }

    .nav li:nth-child(2),
    .nav li:nth-child(3),
    .nav li:nth-child(4) {
        width: calc(100% - 20px);
        text-align: left;
        display: none;
    }

    .nav.active li {
        display: block;
    }

    .nav-icon {
        position: fixed;
        margin: 10px;
        width: 40px;
        display: block;
        top: 0;
        right: 0;
        z-index: 99999;
    }

    .nav-icon:after,
    .nav-icon:before,
    .nav-icon div {
        background-color: white;
        content: '';
        display: block;
        height: 5px;
        margin: 7px 0;
        transition: all .2s ease-in-out;
    }

    .nav-icon.sticky:after,
    .nav-icon.sticky:before,
    .nav-icon.sticky div,
    .nav-icon.active:after,
    .nav-icon.active:before,
    .nav-icon.active div,
    body.page-template-category-projects .nav-icon:after,
    body.page-template-category-projects .nav-icon:before,
    body.page-template-category-projects .nav-icon div,
    body.page-template-category-projects .nav-icon.sticky:after,
    body.page-template-category-projects .nav-icon.sticky:before,
    body.page-template-category-projects .nav-icon.sticky div,
    body.page-template-category-projects .nav-icon.active:after,
    body.page-template-category-projects .nav-icon.active:before,
    body.page-template-category-projects .nav-icon.active div,
    body.page-template-category-plans .nav-icon:after,
    body.page-template-category-plans .nav-icon:before,
    body.page-template-category-plans .nav-icon div,
    body.page-template-category-plans .nav-icon.sticky:after,
    body.page-template-category-plans .nav-icon.sticky:before,
    body.page-template-category-plans .nav-icon.sticky div,
    body.page-template-category-plans .nav-icon.active:after,
    body.page-template-category-plans .nav-icon.active:before,
    body.page-template-category-plans .nav-icon.active div,
    body.page-template-category-etcs .nav-icon:after,
    body.page-template-category-etcs .nav-icon:before,
    body.page-template-category-etcs .nav-icon div,
    body.page-template-category-etcs .nav-icon.sticky:after,
    body.page-template-category-etcs .nav-icon.sticky:before,
    body.page-template-category-etcs .nav-icon.sticky div,
    body.page-template-category-etcs .nav-icon.active:after,
    body.page-template-category-etcs .nav-icon.active:before,
    body.page-template-category-etcs .nav-icon.active div,
    body.single-plans .nav-icon:after,
    body.single-plans .nav-icon:before,
    body.single-plans .nav-icon div,
    body.single-plans .nav-icon.sticky:after,
    body.single-plans .nav-icon.sticky:before,
    body.single-plans .nav-icon.sticky div,
    body.single-plans .nav-icon.active:after,
    body.single-plans .nav-icon.active:before,
    body.single-plans .nav-icon.active div {
        background-color: black;
    }

    body.page-template-category-purpose .nav-icon.sticky:after,
    body.page-template-category-purpose .nav-icon.sticky:before,
    body.page-template-category-purpose .nav-icon.sticky div,
    body.page-template-category-purpose .nav-icon.active:after,
    body.page-template-category-purpose .nav-icon.active:before,
    body.page-template-category-purpose .nav-icon.active div {
        background-color: white;
    }

    .nav-icon.active:before {
        transform: translateY(12px) rotate(135deg);
    }

    .nav-icon.active:after {
        transform: translateY(-12px) rotate(-135deg);
    }

    .nav-icon.active div {
        transform: scale(0);
    }

    .col-1,
    .col-2,
    .col-3,
    .col-4,
    .col-5,
    .col-6 {
        width: calc(100% - 20px);
    }

    p,
    .home .twocolumns {
        -webkit-column-count: 1;
        -moz-column-count: 1;
        column-count: 1;
    }

    .people ul li {
        margin-right: 10px;
        width: calc((100% - 10px) / 2);
    }

    .people ul li:nth-child(2n) {
        margin-right: 0;
    }

    .clients ul {
        -webkit-column-count: 2;
        -moz-column-count: 2;
        column-count: 2;
    }

    .what-people-say ul li {
        width: calc(100% - 20px);
        margin-bottom: 40px;
        margin-right: 0;
    }

    .awards ul {
        column-gap: 10px;
    }

    .essays-and-articles ul li {
        width: calc((100% - 30px) / 2);
        margin-right: 10px;
    }

    .essays-and-articles ul li:nth-child(2n) {
        margin-right: 0;
    }

    .categorysingle .gallery img,
    .wp-block-gallery.columns-2 li,
    .wp-block-gallery.columns-3 li,
    .wp-block-gallery.columns-4 li {
        width: 100%;
        margin-right: 0;
    }

    .tags li span {
        width: calc((100% - 40px) / 3 * 2);
    }

    .tags li span:first-child {
        width: calc((100% - 40px) / 3);
    }

    .column-2 .left,
    .column-2 .right {
        width: calc(100% - 20px);
        margin-right: 0;
        margin-bottom: 40px;
    }

    .projectslist.text li span,
    .filter span {
        width: calc((100vw - 60px) / 5 * 2);
    }

    .projectslist.text li span:last-of-type,
    .filter span:last-of-type {
        width: calc((100vw - 60px) / 5);
    }

    .projects-template-default .landing {
        height: auto;
    }

    .cookie-notice-container {
        width: calc(100vw - 20px) !important;
    }

    .projectslist li span.project,
    .projectlist li span.date {
        text-overflow: ellipsis;
        width: 100%;
        overflow: hidden;
        white-space: nowrap;
    }

    .projectslist li span.type {
        display: none;
    }

    .projectslist li {
        margin-bottom: 0;
    }

    .filterbutton,
    .single .projecslistsingle {
        display: none;
    }

    .etcslist li,
    .etcslist li.size-Small,
    .etcslist li.size-Big,
    .etcslist li.size-Medium {
        width: calc(((100vw - 120px) / 6 * 3) + 40px);
        margin-left: 10px;
    }

    .projectslist.plans li {
        width: calc((100vw - 40px) / 2);
    }

    .projectslist.plans li img {
        width: calc((100vw - 40px) / 2);
        height: calc((100vw - 40px) / 2 / 1.3);
    }

    .planholder {
        gap: 20px;
    }

    .planholder .title {
        width: calc((100vw - 20px));
        position: Relative;
    }

    .planholder-row {
        grid-template-columns: none;
        gap: 0;
    }

    .plangallery.left img:first-child,
    .plangallery.middle img:first-child,
    .plangallery.right img:first-child {
        margin-left: 10px;
    }


    .planholder-row .w-2.left,
    .planholder-row .w-2.middle,
    .planholder-row .w-2.right,
    .planholder-row .w-3.left,
    .planholder-row .w-3.middle,
    .planholder-row .w-3.right,
    .planholder-row .w-4.left,
    .planholder-row .w-4.middle,
    .planholder-row .w-5 {
        grid-column: auto;
    }

    .staticgallery,
    .staticgallery-mobil {
        gap: 20px;
    }

    .staticgallery-mobil .animation-wrap {
        display: grid;
        gap: 20px;
    }

    .staticgallery.w-1 img,
    .staticgallery.w-2 img,
    .staticgallery.w-3 img,
    .staticgallery-mobil.w-1 img,
    .staticgallery-mobil.w-2 img,
    .staticgallery-mobil.w-3 img {
        width: calc((100vw - 20px));
        margin-left: 0 !important;
    }


}

/* BIG SCREENS */
@media screen and (min-width: 1800px) {
    body {
        font-size: 20px;
        line-height: 26px;
    }

    .nav li {
        font-size: 90px;
        line-height: 90px;
    }

    h1 {
        font-size: 62px;
        line-height: 60px;
    }

    h3,
    .subh {
        font-size: 24px;
        line-height: 30px;
    }

    h4,
    h5,
    p {
        font-size: 20px;
        line-height: 26px;
    }

    .col-4 {
        width: 1025px;
    }

    .col-4 .categorylist {
        width: 815px;
    }

    .people ul li {
        min-height: 475px;
    }

    .page-template-category-projects .wrapper,
    .page-template-category-plans .wrapper {
        margin-top: 140px;
    }

    .filterbutton {
        top: 100px;
    }

}