/*-----------------------------------------------------------------------------------*/
/*	1.	CSS Reset & Clearfix - http://meyerweb.com/eric/tools/css/reset/
/*-----------------------------------------------------------------------------------*/


html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%; /* statt height:100% */
    -webkit-font-smoothing: antialiased;      /* Safari, Chrome */
    -moz-osx-font-smoothing: grayscale;       /* Firefox auf macOS */
    text-rendering: optimizeLegibility;
    overflow-x: hidden;  /* kein horizontales Scrollen */
    font-size: 16px; /* Basis für rem */
    background-color: #fff;
}
  
/*-----------------------------------------------------------------------------------*/
/*	2.	Typography
/*-----------------------------------------------------------------------------------*/

h1 {    
    font-family: "Playfair Display", serif;
    font-weight: 400;
    font-style: normal;
    font-size: clamp(3.5rem, 4vw, 5rem);     /*60px;*/
    line-height: clamp(3.5rem, 4.5vw, 5rem);     /*60px;*/
    text-align: left;
    margin: 0;
}

h2 {
    font-family: "Open Sans", sans-serif;
    font-weight: 300;
    font-style: italic;
    font-size: clamp(1.2rem, 1.5vw, 1.5rem); /*18px;*/
    line-height: clamp(1.7rem, 2vw, 2rem); /*25px;*/
    letter-spacing: 1px;
    color: #a38a17; 
    padding-top: 0.625rem; /* 10px → rem */
    margin: 0;
  }

h3 {
    font-family: "Playfair Display", serif;
    font-weight: 900;
    font-style: normal;
    color: #000000;
    text-align: left;
    font-size: clamp(7rem, 18vw, 15rem); 
    line-height: clamp(7rem, 18vw, 15rem); 
    margin: 0 0 0 -0.06em; 
    padding: 8.375rem 0 0 0;
}

h4 {
    font-family: 'Urbanist', sans-serif;
    font-weight: 800;
    font-style: italic;
    line-height: clamp(2rem, 2.15vw, 5rem);
    font-size: clamp(2rem, 2.15vw, 5rem);
    color: #000000;
    text-align: left;
    margin: 0;
  }

h5 {
    font-family: "Open Sans", sans-serif;;
    font-weight: 300;
    font-style: italic;
    font-size: clamp(1.05rem, 1.075vw, 1.2rem);
    line-height: clamp(1.4rem, 1.49vw, 1.6rem);
    letter-spacing: 1px;
    color: #000000;
    text-align: left;
    margin: 0;
  }

h6 {
    font-family: "Open Sans", sans-serif;
    font-weight: 300;
    font-size: clamp(0.75rem, 0.835vw, 1rem);
    line-height: clamp(1rem, 1.48vw, 1.4rem);
    letter-spacing: 1px;
    padding: clamp(2rem, 1.944vw, 3rem);
    margin: 0;
}

/*-----------------------------------------------------------------------------------*/
/*	3.	Header (Navigation)
/*-----------------------------------------------------------------------------------*/

.wrapper {
    margin-right: 2% !important;
    margin-left: 2% !important;
}

.percent-one-fourth { 
    width: 22%; 
}

.percent-three-fourth { 
    width: 74%; 
}

.percent-one-fourth,
.percent-three-fourth {
    position: relative;
    margin-right: 4%;
    float: left;
}

#header .percent-one-fourth, #header .percent-three-fourth {
    margin-bottom: 0;
}

.column-last {
    margin-right: 0 !important;
}

/*-----------------------------------------------------------------------------------*/
/*	4.	Navigation
/*-----------------------------------------------------------------------------------*/

#header {
    padding-top: 0.938rem !important;   /* 15px → rem */
    padding-bottom: 0.938rem !important;
    position: fixed;
    z-index:4000;
    display: block;
    width: 100%;
    top: 0;
    margin-bottom: 0;
    height: 2.188rem; /* 35px → rem */
    background: rgba(255, 255, 255, 0.9); 
    box-shadow: rgba(0, 0, 0, 0.3) 0px 0px 3px;
}

.fa-bars::before {
    content: "\f0c9";
}

.fa {
    font-family: "FontAwesome";
    font-style: normal;
    text-rendering: auto;
    -moz-osx-font-smoothing: grayscale;
    display: inline-block;
}

#navigation {
    float: right;
    position: relative;
    z-index: 10000;
    display: block;
}

ul#mainnav {
    padding-top: 0.313rem !important; /* 5px → rem */
    float: right;
    position: relative;
    display: block;
    z-index: 1001;
    /*margin-right: -10px;*/
    margin-top: 0;
    margin-left: 0;
    margin-bottom: 0;
}

ul#mainnav > li {
    background: url(/images/assets/nav-bg.png) no-repeat scroll right center;
    background-color: rgba(0, 0, 0, 0);
    background-position-x: right;
    background-position-y: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-image: url("/images/assets/nav-bg.png");
    background-size: auto;
    background-origin: padding-box;
    background-clip: border-box;
}

ul#mainnav li {
    display: inline-block;
    position: relative;
    z-index: 1000;
}

html ul#mainnav li a {
    font-family: 'Urbanist', sans-serif;
    font-size: 0.875rem; /* 14px → rem */
    line-height: 1.563rem; /* 25px → rem */
    font-weight: 400;
    font-style: normal;
    color: #a38a17;
    text-decoration: none;
}

ul#mainnav li a {
    position: relative;
    margin: 0 0.625rem; /* 10px → rem */
    padding: 0 0.938rem 0; /* 15px → rem */
    height: 1.563rem;  /* 25px → rem */
    letter-spacing: 1px;
    display: inline-block;
    transition: all 0.2s linear;
    z-index: 100;
}

ul#mainnav li a:hover, ul#mainnav li a:active, ul#mainnav li a.current-menu-item {
    color: #323232;
}

ul#mainnav > li.current-menu-item > a span {
    padding-bottom: 0.125rem; /* 2px → rem */
}

ul#mainnav > li > a:hover > span {
    border-bottom: 0.063rem solid #323232; /* 1px → rem */
    padding-bottom: 0.125rem;
}

ul#mainnav > li:last-child {
    background: none;
}

.nav-btn {
    display: none;
}

/*-----------------------------------------------------------------------------------*/
/*	5.	Buttons
/*-----------------------------------------------------------------------------------*/

.btn {
    text-align: center;
}

.btn-see-more {
    display: inline-block;
    font-family: 'Urbanist', sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: clamp(1rem, 1.07vw, 1.2rem); /* 18px → rem */
    line-height: clamp(1rem, 1.07vw, 1.2rem);
    letter-spacing: 1px;
    border-radius: 0px;
    border-width: 0.125rem; /* 2px → rem */;
    border-color: #000000;
    border-style: solid;
    background: #ffffff;
    color: #000000;
    padding: clamp(1.1rem, 1.25vw, 1.3rem) clamp(2.35rem, 2.5vw, 2.65rem); /* 21px / 42px → clamp */    
    text-decoration: none;
    margin: 3.15rem;
}

.btn-see-more:hover,
.btn-see-more:focus {
    background-color: #000;
    color: #fff;
}

.btn-row {
    margin-top: 3.15rem;
    display: flex;
    gap: 0px; /* Abstand zwischen den Buttons */
    flex-wrap: wrap; /* Falls ganz schmal: untereinander umbrechen */
    justify-content: center; /* Zentriert horizontal */}

.btn-back {
    display: inline-block;
    font-family: 'Urbanist', sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: clamp(1rem, 1.07vw, 1.2rem); /* 18px → rem */
    line-height: clamp(1rem, 1.07vw, 1.2rem);
    letter-spacing: 1px;
    border-radius: 0px;
    border-width: 0.125rem; /* 2px → rem */;
    border-color: #000000;
    border-style: solid;
    background: #ffffff;
    color: #000000;
    padding: clamp(1.1rem, 1.25vw, 1.3rem) clamp(2.35rem, 2.5vw, 2.65rem); /* 21px / 42px → clamp */    
    text-decoration: none;
    margin: 1.875rem; 
}

.btn-back:hover,
.btn-back:focus {
    background-color: #000;
    color: #fff;
}

.btn-next {
    display: inline-block;
    font-family: 'Urbanist', sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: clamp(1rem, 1.07vw, 1.2rem); /* 18px → rem */
    line-height: clamp(1rem, 1.07vw, 1.2rem);
    letter-spacing: 1px;
    border-radius: 0px;
    border-width: 0.125rem; /* 2px → rem */;
    border-color: #000000;
    border-style: solid;
    background: #ffffff;
    color: #000000;
    padding: clamp(1.1rem, 1.25vw, 1.3rem) clamp(2.35rem, 2.5vw, 2.65rem); /* 21px / 42px → clamp */    
    text-decoration: none;
    margin: 1.875rem; 
}

.btn-next:hover,
.btn-next:focus {
    background-color: #000;
    color: #fff;
}

/*-----------------------------------------------------------------------------------*/
/*	6.	Start Header
/*-----------------------------------------------------------------------------------*/

.row-full-height-tinted {
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    box-sizing: border-box;
    min-height: 100vh;
    background: -webkit-linear-gradient(rgb(239, 239, 239) 0%, rgb(255, 255, 255) 98%);
    padding-top: 13.5rem; 
    padding-bottom: 9.375rem;
}

.centered-wrapper {
	margin: 0 12vw;
}

/*-----------------------------------------------------------------------------------*/
/*	7.	Start Main
/*-----------------------------------------------------------------------------------*/

.headline {
    margin: 11.15vw 10vw 0 10vw;
}

.section-title {
    letter-spacing: 2px;
    text-transform: uppercase;
}
  
.section-title::after {
    background: #A38A17;
    margin: 0px !important;
    display: block;
    content: "";
    height: 1px;
    width: 7vw;
    position: relative;
}

.section-tagline {
    padding: 0 0 3.15rem 0;
    font-size: clamp(1.2rem, 1.3vw, 1.5rem);
    line-height: clamp(1.5rem, 1.8vw, 2.1rem);
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2vw;
    width: 100%
}

.grid img {
    width: 100%;
    height: auto; 
    object-fit: contain; /* kein Anschnitt */
    display: block;
    background: white; 
}

.tall {
    grid-row: span 2; 
}

.tallx3 {
    grid-row: span 3;
}
  

/*-----------------------------------------------------------------------------------*/
/*	8.	Work Single Page
/*-----------------------------------------------------------------------------------*/

.work-subline {
    font-family: 'Urbanist', sans-serif;
    font-size: clamp(0.9rem, 1.1vw, 1.5rem);
    line-height: clamp(1.4rem, 1.6vw, 2rem);
    font-weight: 500;
    font-style: normal; 
    margin-top: -0.5rem; /* -20px → rem */;
    margin-left: 3vw;
    text-transform: uppercase;
    letter-spacing: 0.3125rem; /* 5px → rem */;
}

#filter-bar {
    text-align: center;
    margin-top: 6%;
}
  
.filter-btn {
    font-family: 'Urbanist', sans-serif;
    font-weight: 500;
    font-size: 18px;
    font-style: normal;
    line-height: 18px;
    color: #000000;
    text-align: left;
    letter-spacing: 1px;
    padding: 10px 12px;
    margin: 0 6px;
    cursor: pointer;
    border: none;
    background: none;
}

.filter-btn:hover {
    color: #A38A17;
}
  
.filter-btn.active {
    color: #A38A17;
}

.portfolio-year { 
    margin: 11.15vw 10vw 0;
}

.portfolio-year-title { 
    letter-spacing: 2px;
    text-transform: uppercase;
}

.portfolio-year-title::after {
    background: #A38A17;
    margin: 0px !important;
    display: block;
    content: "";
    height: 1px;
    width: 7vw;
    position: relative;
  }

.portfolio-issue-title { 
    padding: 0 0 3.15rem 0;
    font-size: clamp(1.2rem, 1.3vw, 1.5rem);
    line-height: clamp(1.5rem, 1.8vw, 2.1rem);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2vw;
}

.portfolio-item { 
    position: relative; 
    overflow: hidden; 
}

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

.portfolio-captions {
    position: absolute;
    bottom: 0;
    left: 0;
    display: flex;   /* nebeneinander */
    gap: 8px;        /* Abstand zwischen caption1 und caption2 */
    pointer-events: none;
}

.img-container a {
    display: block; /* sehr wichtig */
    position: relative; /* optional, aber für Sicherheit */
}

.portfolio-caption {
    background-color: rgba(0,0,0,0.8);
    color: white;
    display: inline-block;
    width: auto;
    padding: 2px 8px;
    white-space: nowrap;
    pointer-events: none;
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
    font-style: italic;
    font-size: 12px;
    line-height: 25px;
    letter-spacing: 0.5px;
    z-index: 2 !important;
}

/*.portfolio-item > a > .portfolio-caption {
    position: absolute;
    bottom: 0;
    left: 0;
}*/

.big {
    grid-row: span 3; 
    grid-column: span 2;
}

.big3x3 {
    grid-row: span 3; 
    grid-column: span 3; 
}

.lang2x4 {
    display: none !important;
}

@supports (-webkit-touch-callout: none) {
    .img-container.big {
      grid-row-end: span 4; /* 1 Zeile mehr kompensiert Safari-Bug */
    }
}

.img-container {
    position: relative;
    width: 100%;
    display: inline-block; /* Falls du willst, dass sie nebeneinander bleiben */
}
  
.img-container img {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    cursor: pointer;
}
  
.img-caption {
    position: absolute;
    bottom: 0px;
    left: 0px;
    background-color: rgba(0,0,0,0.8); /* schwarzer halbtransparenter Hintergrund */
    color: white;
    padding: 2px 8px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    pointer-events: none; /* verhindert, dass der Text klickbar ist */
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
    font-style: italic;
    font-size: 12px;
    line-height: 25px;
    letter-spacing: 0.5px;
}

.img-container video {
    position: relative;
    z-index: 1 !important;
    width: 100%;
    height: auto;
}

/*-----------------------------------------------------------------------------------*/
/*	9.	Work Single Page: Picture Zoom
/*-----------------------------------------------------------------------------------*/

/* --- Overlay: Ergänzung für Touch-Handling --- */
#overlay {
    touch-action: none; /* WICHTIG: gibt JS die Kontrolle über Touch-Gesten im Overlay */
    -ms-touch-action: none;
    position: fixed;
    display: none;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw; 
    height: 100vh;
    background: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
    z-index: 9999;
    margin: 0;
    padding: 0;
}

#overlay img {
    transition: transform 0.25s ease;
    transform-origin: center center;
    cursor: grab;
    max-height: 99vh;  /* max. 90% der Viewport-Höhe */
    max-width: 99vw;  /* max. 90% der Viewport-Höhe */
    display: block;
    object-fit: contain;
    background: transparent;  /* Kein weißer Hintergrund */
    margin: 0;
    padding: 0;
    border-radius: 0;
    touch-action: none; /* wichtig: Browser soll nicht automatisch Scroll/Pan behandeln */
    user-select: none;
    -webkit-user-drag: none;
}

/* sichtbar */
#overlay.show {
    display: flex;
}

/*-----------------------------------------------------------------------------------*/
/*	10.	Archives
/*-----------------------------------------------------------------------------------*/

.row-full-height-tinted-archives {
    position: relative;
    z-index: 0;
    background: none; /* alten Verlauf deaktivieren */
}
  
  /* Verlauf als Overlay, aber nur 100vh hoch */
  .row-full-height-tinted-archives::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh; /* nur der erste Bildschirmbereich */
    background: linear-gradient(to bottom, rgb(239,239,239) 0%, rgb(255,255,255) 100%);
    z-index: -1; /* hinter dem Inhalt */
    pointer-events: none;
}

.archive-subline {
    font-family: 'Urbanist', sans-serif;
    font-weight: 500;
    font-style: normal; 
    font-size: clamp(0.9rem, 1.1vw, 1.5rem); /*15px*/
    line-height: clamp(1.4rem, 1.6vw, 2rem); /*24px*/
    color: #000000;
    text-align: left;
    margin-top: -0.5rem; /* -20px → rem */;
    margin-left: 4.5vw;
    text-transform: uppercase;
    letter-spacing: 0.3125rem; /* 5px → rem */;
}

.centered-wrapper-archives {
	margin: 11.15vw 10vw 
}

.grid-kundenteppich {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 3.15vw;
    width: 100%; 
    justify-content: center;
    align-items: center;
}

.grid-kundenteppich a {
    place-self: center;
}

.grid-kundenteppich img {
    /*width: 150px;
    height: 70px;
    object-fit: contain;
    display: block;*/
    width: 100%;          /* Bild füllt die Grid-Spalte */
    max-height: 4.18vw;       
    object-fit: contain;
    display: block;
}

/*-----------------------------------------------------------------------------------*/
/*	11.	About
/*-----------------------------------------------------------------------------------*/

.row-full-height-tinted-about {
    background: -webkit-linear-gradient(rgb(239, 239, 239) 0%, rgb(255, 255, 255) 98%);
}

.centered-wrapper-about-header {
    display: flex;
    flex-direction: row;
    align-items: stretch;   /* beide Spalten gleich hoch */
}

.percent-three-fourth-about {
    flex: 1 1 auto;         /* Text-Spalte füllt restlichen Platz */
    width: auto;            /* überschreibt 100% */
}

.vita {
    font-size: clamp(1.7rem, 1.9vw, 3.5rem);
    line-height: clamp(2.1rem, 2.8vw, 5rem);
    padding: 2em 3.5em 0 3.5em;
}

.percent-one-three {
    flex: 0 0 23.5vw;       /* Bild-Spalte fix 30.5vw breit */
    display: flex;
    align-items: stretch;   /* Wrapper bekommt volle Höhe */
}

.single-image-img-wrapper{
    overflow: hidden; /* wichtig, damit Bild abgeschnitten wird */
    height: 100%; /*max-height: 834px;*/
}

.single-image-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;      /* füllt Höhe, wird abgeschnitten */
    display: block;
    object-position: 0vw center;
}

.centered-wrapper-about {
    margin: 11.15vw 10vw
}

.grid-about {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4.5vw;
    width: 100%;
}

.section-title-about {
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0;
}

.section-title-about:after {
    background: #A38A17;
    margin: 0 !important;
    display: block;
    content: "";
    height: 1px;
    width: 7vw;
    position: relative;
}

.section-title-tagline-about {
    padding: 0 0 3.15rem 0;
    font-size: clamp(1.2rem, 1.3vw, 1.5rem);
    line-height: clamp(1.5rem, 1.8vw, 2.1rem);}

.section-tagline-fat {
    font-weight: 500;
}

.section-tagline-about {
    padding: 0 0 1.5em 0;
}

.section-tagline-about-grid {
    text-align: center;
}

.grid-programms {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 4.5vw;
    width: 100%;  
}

.languages-aligncenter {
    display: flex;
    flex-direction: column;
    align-items: center;   /* zentriert Bild und h5 */
    text-align: center;    /* zentriert zusätzlich den Text */
}

.img-aligncenter {
    max-height: 3.5em/*56px*/;
    padding-bottom: 1.2em;
}

.section-tagline-fat-aligncenter {
    font-weight: 500;
    text-align: left;
    letter-spacing: 1px;
}

.section-tagline-about-aligncenter {
    font-weight: 600;
}

.grid-about-creativefields {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4.5vw;
    width: 100%;
}

.grid-languages {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4.5vw;
    width: 100%;  
}

/*.grid-programms > .languages-aligncenter:last-child {
    margin-bottom: 10%; 
}*/

.section-tagline-about:last-child {
    padding: 0;
}

.centered-wrapper-about-contact {
    margin: 12vw 10vw 0
    }

.vita-mail {
    color: #A38A17;
}

/*-----------------------------------------------------------------------------------*/
/*	12.	Imprint
/*-----------------------------------------------------------------------------------*/

.section-tagline-imprint {
    letter-spacing: 0.3px;
    padding: 0 0 4.25rem 0;
}

.section-tagline-fat-imprint {
    font-weight: 500;
    text-align: left;
    letter-spacing: 1px;
    padding-bottom: 0.9rem;
}

.centered-wrapper-about-last {
    margin: 12vw 10vw 0;
}

.section-tagline-imprint:last-child {
    padding: 0;
} 

/*-----------------------------------------------------------------------------------*/
/*	13.	Footer
/*-----------------------------------------------------------------------------------*/

#footer {
    color: #868686;
    padding: 3vw 0;
    position: relative;
}

.footer {
    padding-top: 12vw;
    text-align: center;
    float: none;
}

#footer a:hover {
    color: #A38A17;
}

.footer a {
    color: #A38A17;
}

a:focus, a:link, a:active {
    outline: none;
    text-decoration: none;
}

.black-text {
    color: #323232;
    letter-spacing: 0px !important;
}    

.black-text-strong {
    color: #323232;
    font-weight: 700;
    letter-spacing: 0px !important;
} 
/*
.totop {
    background: #000;
    color: #fff;
    width: 2.5em;
    height: 3em;
    position: absolute;
    bottom: -0.6em;
    text-align: center;
}


.totop i {
    font-size: 1em;
    line-height: 2em;
}
*/
.fa-angle-double-up::before {
  content: "\f102";
}

.centered-wrapper-footer {
    display: flex;
    /*align-items: flex-end; */   /* vertikal unten */
    justify-content: center;  /* horizontal zentriert */
}


.totop {
    position: fixed;     /* immer sichtbar, unabhängig vom Footer */
    bottom: 1rem;        /* Abstand vom unteren Rand */
    right: 1rem;         /* rechts unten */
    width: 2.5rem;    
    height: 2.5rem;
    background: #000;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 9999;       /* sicher über allem */
    text-decoration: none;
    border-radius: 0;    /* eckig */
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.3s ease;
    z-index: 1000;
}

.totop i {
    font-size: 1rem;
    line-height: 2rem;
}

.totop.visible { /* sichtbar, sobald man scrollt */
    opacity: 0.8;
    visibility: visible;
    transform: translateY(0);
}

.totop:hover { /* Hover-Effekt */
    opacity: 1;
    transform: translateY(-4px);
}

/*-----------------------------------------------------------------------------------*/
/*	14.	Sonstiges
/*-----------------------------------------------------------------------------------*/


