@charset "UTF-8";
/* Reset
-----------------------------------------------------------*/
article, aside, details, figcaption, figure, footer, header, hgroup, hr, menu, nav, section {
  display: block;
}

a, hr {
  padding: 0;
}

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

ins, mark {
  background-color: #ff9;
  color: #000;
}

body {
  line-height: 1;
}

ul, ol {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

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

a {
  margin: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: 0 0;
}

ins {
  text-decoration: none;
}

mark {
  font-style: italic;
  font-weight: 700;
}

del {
  text-decoration: line-through;
}

abbr[title], dfn[title] {
  border-bottom: 1px dotted;
  cursor: help;
}

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

hr {
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
}

input, select {
  vertical-align: middle;
}

button {
  box-shadow: 0px 0px 0px transparent;
  border: 0px solid transparent;
  text-shadow: 0px 0px 0px transparent;
  cursor: pointer;
  -webkit-appearance: none;
}

button:hover {
  box-shadow: 0px 0px 0px transparent;
  border: 0px solid transparent;
  text-shadow: 0px 0px 0px transparent;
}

button:active {
  outline: none;
  border: none;
}

button:focus {
  outline: 0;
}

/* Buttons
----------------------------*/
button, input, optgroup, select, textarea {
  font-family: inherit;
  font-size: 100%;
  margin: 0;
  background-color: transparent;
}

button, [type=button], [type=reset], [type=submit] {
  -webkit-appearance: button;
}

/* Variablen
-----------------------------------------------------------*/
:root {
  --app-height: 100%;
  --color-white: #fff;
  --color-black: #000;
  --color-gazetta: #ffebed;
  --color-gazetta: #fde9eb;
  --color-text: #0000ff;
  --line-height: 1.3em;
  --line-height2: 2.6em;
  --line-height-half: 0.65em;
  --font-bold: "CentraNo2Bold", sans-serif;
  --font-bold-italic: "CentraNo2BoldItalic", sans-serif;
  --txt-s: 0.8rem;
  --txt-m: 1rem;
  --txt-l: 1.333333rem;
  --txt-xl: 2rem;
  --s: 1rem;
  --m: 2rem;
  --l: 2.66666vw;
  --xl: 4vw;
  --drawer-width: 50%;
  --overlay: rgba(0,0,0,.45);
  --speed: 350ms;
  --ease: cubic-bezier(.2,.8,.2,1);
}

/* V.1 Vramework
-----------------------------------------------------------*/
.color-white {
  color: var(--color-white);
}

.color-black {
  color: var(--color-black);
}

.bg-light-gray {
  background-color: var(--color-light-gray);
}

.bg-white {
  background-color: var(--color-white);
}

.fl-right {
  float: right;
}

.fl-left {
  float: left;
}

.clear-both {
  clear: both;
}

.nobr {
  white-space: nowrap;
}

.txt-center {
  text-align: center;
}

.txt-right {
  text-align: right;
}

.txt-s {
  font-size: var(--txt-s);
}

.txt-m {
  font-size: var(--txt-m);
}

.txt-l {
  font-size: var(--txt-l);
}

.txt-xl {
  font-size: var(--txt-xl);
}

.block {
  display: block;
}

.inline {
  display: inline;
}

.static {
  display: static;
}

.pad-0 {
  padding: 0;
}

.pad-bottom-0 {
  padding-bottom: 0;
}

.pad-bottom-1rem {
  padding-bottom: 1rem;
}

.pad-bottom-05rem {
  padding-bottom: 0.5rem;
}

.pad-bottom-1lh {
  padding-bottom: var(--line-height);
}

.pad-bottom-05lh {
  padding-bottom: var(--line-height-half);
}

.pad-bottom-s {
  padding-bottom: var(--s);
}

.pad-bottom-m {
  padding-bottom: var(--m);
}

.pad-bottom-l {
  padding-bottom: var(--l);
}

.pad-bottom-xl {
  padding-bottom: var(--xl);
}

.pad-top-0 {
  padding-top: 0;
}

.pad-top-1rem {
  padding-top: 1rem;
}

.pad-top-s {
  padding-top: var(--s);
}

.pad-top-m {
  padding-top: var(--m);
}

.pad-top-l {
  padding-top: var(--l);
}

.pad-top-xl {
  padding-top: var(--xl);
}

.mar-0 {
  margin: 0;
}

.mar-bottom-0 {
  margin-bottom: 0;
}

.mar-bottom-1rem {
  margin-bottom: 1rem;
}

.mar-bottom-1lh {
  margin-bottom: var(--line-height);
}

.mar-bottom-s {
  margin-bottom: var(--s);
}

.mar-bottom-m {
  margin-bottom: var(--m);
}

.mar-bottom-l {
  margin-bottom: var(--l);
}

.mar-bottom-xl {
  margin-bottom: var(--xl);
}

.mar-top-0 {
  margin-top: 1rem;
}

.mar-top-1rem {
  margin-top: 1rem;
}

.mar-top-s {
  margin-top: var(--s);
}

.mar-top-m {
  margin-top: var(--m);
}

.mar-top-l {
  margin-top: var(--l);
}

.mar-top-xl {
  margin-top: var(--xl);
}

.border-50 {
  border-radius: 50%;
}

.line-height {
  line-height: var(--line-height);
}

.border-top-1 {
  border-top: 1px solid var(--color-text);
}

.border-top-2 {
  border-top: 2px solid var(--color-text);
  padding-top: 0.4rem;
}

/* Grundformatierung
----------------------------*/
button, input, optgroup, select, textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: var(--line-height);
  margin: 0;
  background-color: transparent;
}

button, [type=button], [type=reset], [type=submit] {
  -webkit-appearance: button;
}

sub, sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

/* Schriften
-----------------------------------------------------------*/
@font-face {
  font-family: "Akkurat-Regular";
  src: url("webfonts/lineto-akkurat-regular.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "Akkurat-Bold";
  src: url("webfonts/AkkuratLLWeb-Bold.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
}
/* Grundgerüst
-----------------------------------------------------------*/
* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 48px;
}

body {
  font-family: "Akkurat-Regular";
  font-family: "Akkurat-Bold";
  color: var(--color-text);
  background: var(--color-gazetta);
  /* 	min-height: 100vh;
  	display: grid;
  	grid-template-rows: auto 1fr auto;
  */
}

.frame {
  position: relative;
  margin: 0 auto;
  padding: 0 var(--l);
  max-width: 2500px;
}

.grid-2, .grid-3, .grid-4, .masonry, .grid-pager {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: 1fr;
  grid-column-gap: var(--xl);
  grid-row-gap: var(--xl);
  /*
  align-items: center;
  	justify-items: center;
   */
}

/*
.grid-4 .grid-item:first-child {
	grid-column: 1 / 2;
}
 */
.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.col-2 {
  column-count: 2;
  column-gap: var(--xl);
}

.masonry {
  grid-template-columns: repeat(auto-fit, minmax(min(var(--item-width, 800px), 100%), 1fr));
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--xl);
  grid-row-gap: var(--xl);
  grid-template-rows: masonry;
  grid-auto-flow: dense; /* Optional, but recommended */
}

.masonry .grid-item {
  display: flex;
  flex-flow: column;
}

.masonry > * {
  align-self: start;
  grid-column-end: span var(--span, 1);
}

.pager-nav {
  position: sticky;
  bottom: var(--xl);
}

.grid-pager {
  position: sticky;
  bottom: var(--xl);
}

.grid-pager a {
  text-decoration: none;
  font-size: var(--txt-l);
}

.grid-pager a:last-child {
  text-align: right;
}

/* .wrapper div {
	top: 50%;
	transform: translateY(-50%);
}



.background-image {
	background-image: url(../img/blume.svg);
	background-repeat: no-repeat;
	background-size: 1.8em auto;
	background-position: right 10% bottom;
}

p:not(:first-child),
:not(:nth-child(4n))
{
}

*/
/* Allgemeine Formatierungen
-----------------------------------------------------------*/
img, svg {
  display: block;
  width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--color-green);
  text-underline-offset: 0.175em;
  text-decoration-thickness: 1px;
  /*
  	text-decoration: none;
  	border-bottom: 1px solid var(--color-text);
   */
  /* These are technically the same, but use both */
  /*
  	overflow-wrap: break-word;
  	word-wrap: break-word;
   */
  /* This is the dangerous one in WebKit, as it breaks things wherever */
  /*
  	word-break: break-all;
   */
  /* Instead use this non-standard one: */
  /*
  	word-break: break-word;
   */
  /* Adds a hyphen where the word breaks, if supported (No Blink) */
  /*
  	-ms-hyphens: auto;
  	-moz-hyphens: auto;
  	-webkit-hyphens: auto;
  	hyphens: auto;
   */
}

.site-footer a {
  text-decoration: none;
}

a:hover {
  transition: color 0.25s;
}

a[href$=".pdf"] {
  content: "";
  display: inline-block;
  background-image: url(../img/icon-pdf.svg);
  background-repeat: no-repeat;
  background-position: left center;
  background-size: auto 1rem;
  padding-left: 1rem;
}

p,
.editor ul,
.editor ol {
  line-height: var(--line-height);
  margin-bottom: var(--line-height);
}

p:last-child,
.editor ul li:last-child,
.editor ol li:last-child {
  margin-bottom: 0;
}

.editor ul li {
  padding: 0 0 0 1.6em;
}

.editor ul li:before {
  content: "- ";
  position: relative;
  margin-left: -0.6em;
}

/*
.content > *:last-child,
.content > *:last-child > *:last-child,
.content > *:last-child > *:last-child > *:last-child {
margin: 0;
}
 */
h1 {
  text-wrap: balance;
  margin-bottom: var(--line-height);
  text-transform: uppercase;
}

.video {
  margin: 0;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 0;
  height: 0;
  overflow: hidden;
}

.video-wrapper iframe,
.video-wrapper object,
.video-wrapper embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Struktur
-----------------------------------------------------------*/
.main {
  padding: 6rem 0 var(--xl) 0;
  padding: 6rem 0 0 0;
}

.center-img {
  text-align: center;
}

.center-img img {
  margin: 0 auto;
  width: calc((100% - var(--xl)) / 2);
}

/* Home hero
----------------------------*/
.full-hero-img {
  width: 100%;
  height: 100vh;
  position: absolute;
  z-index: 5;
  transition: transform 0.5s ease-in-out; /* Dauer & Kurve kannst du anpassen */
}

.full-hero-img img {
  object-fit: cover;
  height: 100vh;
}

.full-hero-img.hide {
  transform: translateY(-100%);
}

/* Header
-----------------------------------------------------------*/
.site-header {
  position: absolute;
  z-index: 10;
  padding: 2rem 0 4rem 0;
  width: 100%;
}

.logo {
  display: inline-block;
  border: none;
  font-size: var(--txt-l);
  text-decoration: none;
  color: var(--color-text);
  transition: color 0.5s ease-in-out; /* Dauer & Kurve kannst du anpassen */
}

.body-home.light-text .logo {
  color: var(--color-white);
}

.body-home.dark-text .logo {
  color: var(--color-black);
}

.body-home.light-text #hamburger span {
  background: var(--color-white);
}

.body-home.dark-text #hamburger span {
  background: var(--color-black);
}

.body-home.light-text #hamburger.open span,
.body-home.dark-text #hamburger.open span {
  background: var(--color-text);
}

/* Footer
-----------------------------------------------------------*/
.site-footer {
  background: var(--color-white);
  color: var(--color-black);
  padding: var(--xl) 0;
  font-family: "Akkurat-Regular";
  font-size: var(--txt-s);
}

/* Spezifische Formatierungen
-----------------------------------------------------------*/
.content {
  display: block;
  position: relative;
}

.project-info {
  position: absolute;
  background: var(--color-gazetta);
  z-index: 10;
  left: 100%;
  top: 0;
  width: 75%;
  padding: 0.25rem 0.75rem var(--l) 0.75rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0s linear 0.4s; /* erst nach dem Ausblenden unsichtbar */
}

.on-right .project-info {
  left: 0%;
  transform: translateX(-100%);
}

.title {
  line-height: var(--line-height);
}

.txt-large {
  font-size: var(--txt-l);
  margin-bottom: var(--line-height);
}

.content:hover .project-info {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s; /* sofort sichtbar, keine Verzögerung auf visibility */
}

.title {
  display: none;
  padding: var(--line-height-half) 0 var(--line-height) 0;
}

.werkliste {
  text-transform: uppercase;
  line-height: var(--line-height);
}

.werkliste div,
.werkliste a {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  grid-template-rows: 1fr;
  grid-column-gap: 0;
  grid-row-gap: 0px;
}

.werkliste a:after,
.werkliste div:after {
  content: "";
  display: table;
  clear: both;
}

.werkliste h2 span {
  padding-left: 4rem;
  display: inline-block;
}

.werkliste a {
  border-bottom: 1px solid var(--color-text);
  text-decoration: none;
}

@media (hover: hover) and (pointer: fine) {
  img#hoverPreview {
    position: fixed;
    top: 2.1rem; /* 100px von oben */
    left: 50%; /* 50% von links */
    width: 42.5vw; /* 30% der Browserbreite */
    height: calc(100vh - 4rem);
    pointer-events: none;
    z-index: 50;
    opacity: 0;
    transition: opacity 120ms ease;
    max-height: calc(100vh - 4rem);
    object-fit: contain;
    object-position: left top;
    /* Optional: leichte Lesbarkeit */
  }
  #hoverPreview.is-visible {
    opacity: 1;
  }
}
/* Wer sicher gehen will, dass auf Touch-Geräten GAR NICHTS erscheint */
@media (hover: none), (pointer: coarse) {
  #hoverPreview {
    display: none !important;
  }
}
/* Main Navigation
-----------------------------------------------------------*/
/* Navigation
---------------------------*/
#hamburger {
  position: fixed;
  right: 2.66666vw;
  top: 2.1rem;
  cursor: pointer;
  display: block;
  width: 27px;
  height: 21px;
  width: 1rem;
  height: 1.2rem;
  z-index: 100;
}

#hamburger span {
  display: block;
  width: 1rem;
  height: 0.2rem;
  margin-bottom: 0.2rem;
  position: relative;
  background: var(--color-text);
  transform-origin: 0 0px;
  transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1), background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1), opacity 0.55s ease;
}

#hamburger span:first-child {
  background: var(--color-text);
  transform-origin: left bottom;
}

#hamburger span:nth-child(3) {
  background: var(--color-text);
  transform-origin: left top;
}

/* Kreuz machen
---------------------------------*/
#hamburger.open span {
  opacity: 1;
  transform: rotate(45deg) translate(0, 0);
  background: var(--color-text);
  width: 1.04rem;
}

/* Mittlerer Balken verstecken
---------------------------------*/
#hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

/* Letzter in die andere Richtung drehen
---------------------------------*/
#hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(0);
}

.main-nav ul a {
  border-bottom: 1px solid var(--color-text);
  text-transform: uppercase;
  text-decoration: none;
  display: block;
  margin: 0 var(--l);
  line-height: var(--line-height);
}

.main-nav {
  padding-top: 6rem;
}

/* Backdrop */
.backdrop {
  tposition: fixed;
  inset: 0;
  background: var(--overlay);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--speed) var(--ease);
  z-index: 12;
}

.backdrop.show {
  opacity: 0;
  pointer-events: auto;
}

/* Drawer (right) */
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100dvh;
  width: min(100vw, var(--drawer-width));
  background: #fff;
  transform: translateX(100%);
  transition: transform var(--speed) var(--ease);
  will-change: transform;
  display: flex;
  flex-direction: column;
  z-index: 90;
}

.drawer.open {
  transform: translateX(0);
}

/*-----------------------------------------------------------------------------------
-------------------------------------------------------------------------------------
MediaQueries
-------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------*/
@media screen and (max-width: 2500px) {
  html {
    font-size: 1.9vw;
  }
} /* Ende 1200 */
@media screen and (max-width: 750px) {
  html {
    font-size: 20px;
  }
  .col-2 {
    column-count: 1;
  }
  .grid-2,
  .masonry {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
  .center-img img {
    width: 100%;
  }
  .body-home .grid-2 {
    row-gap: 0;
  }
  .project-info {
    display: none;
  }
  .title {
    display: block;
  }
  /* Navigation
  -----------------------------------------------------------*/
} /* Ende 750px */
/* Clearfix
-----------------------------------------------------------*/
.group:after {
  content: "";
  display: table;
  clear: both;
}
