@font-face {
  font-family: 'aeberli';
  src: url('../fonts/Times-NR-Seven-MT-Std-Regular.woff') format('woff');
  font-weight: normal;
}
@font-face {
  font-family: 'aeberli';
  src: url('../fonts/Times-NR-Seven-MT-Std-Italic.woff') format('woff');
  font-weight: normal;
  font-style: italic;
}

* {
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  border: none;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
html {
  --text: black;
  --bg: white;
  height: 100%;
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'aeberli', serif;
  /* -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: antialiased; */
  font-style: normal;
}

/* font sizes */
body {
  font-size: 16px;
  line-height: 1.2;
}
.intro h1 {
  font-size: 14vw;
  line-height: 1;
}
.header {
  font-size: 25px;
  height: auto;
}
.work .info .credits {
  font-size: 14px;
}
.work-projects:not([data-filter="werkliste"]) .worklist-project,
.work-projects:is([data-filter="werkliste"]) .worklist-project {
  font-size: 20px;
}
.news h2,
.text h2 {
  font-size: 20px;
}
.news-link a {
  font-size: 14px;
}
.about .address,
.kontakt .address,
.kontakt .address2,
.kontakt .impressum-open {
  font-size: 20px;
}
.text p,
.news-content p {
  min-height: 0.2em;
  font-family: "Times New Roman", serif;
  font-size: 20px;
  line-height: 24px;
}
.kontakt .impressum-open {
  font-size: 24px;
}

/* mobile only */
@media (max-width: 899px) {
  h2,
  .info-text .project-info,
  .work-projects .project-info,
  .year,
  .about .text h2 {
    font-size: 20px;
  }
  .work-projects[data-filter="werkliste"] h2,
  .work-projects[data-filter="werkliste"] .project-info {
    font-size: 20px;
  }
  .work-projects:not([data-filter="werkliste"]) .worklist-project {
    font-size: 25px;
  }
  .header nav a {
    font-size: 64px;
    line-height: 80px;
  }
  .kontakt .address {
    font-size: 25px;
  }
  .kontakt .address2 {
    font-size: 23px;
  }
}

/* tablet */
@media (min-width: 900px) {
  body {
    font-size: 18px;
  }
  .list-project .project-title,
  .info .project-info {
    font-size: 21px;
  }
  .header,
  .work .title,
  .info-button,
  .work-projects[data-filter="werkliste"] .year,
  .about .address,
  .kontakt .address,
  .kontakt .address2,
  .kontakt .impressum-open {
    font-size: 22px;
  }
  .news h2 {
    font-size: 20px;
  }
  .news-link {
    font-size: 12px;
  }
  .desktop-sticky {
    position: sticky;
    top: 54px;
  }
  .header {
    height: 54px;
    padding-bottom: 16px !important;
  }
  .work .info {
    top: 54px;
    height: calc(100vh - 54px);
  }
}

/* desktop smaller */
@media (min-width: 1100px) {
  .header,
  .work .title,
  .info-button,
  .work-projects[data-filter="werkliste"] .year,
  .about .address,
  .kontakt .address,
  .kontakt .address2,
  .kontakt .impressum-open {
    font-size: 27px;
  }
  .header {
    padding-bottom: 20px;
    height: 58px;
  }
  .list-project .project-title,
  .info .project-info {
    font-size: 22px;
  }
  .desktop-sticky {
    top: 58px;
  }
  .work .info {
    top: 58px;
    height: calc(100vh - 58px);
  }
  .work-projects:not([data-filter="werkliste"]) .worklist-project,
  .work-projects:is([data-filter="werkliste"]) .worklist-project {
    font-size: 23px;
  }
}
/* desktop */
@media (min-width: 1290px) {
  .header,
  .work .title,
  .info-button,
  .work-projects[data-filter="werkliste"] .year,
  .about .address,
  .kontakt .address,
  .kontakt .address2,
  .kontakt .impressum-open {
    font-size: 30px;
  }
  .news h2,
  .text h2 {
    font-size: 23px;
    line-height: 28px;
  }
  .list-project .project-title,
  .info .project-info {
    font-size: 25px;
  }
  .text p,
  .news-content p {
    font-size: 23px;
    line-height: 28px;
  }
  .header {
    padding-bottom: 24px;
    height: 64px;
  }
  .desktop-sticky {
    top: 64px;
  }
  .work .info {
    top: 64px;
    height: calc(100vh - 64px);
  }
}

/* big screen */
@media (min-width: 1565px) {
  .header,
  .work .title,
  .info-button,
  .work-projects[data-filter="werkliste"] .year,
  .about .address,
  .kontakt .address,
  .kontakt .address2,
  .kontakt .impressum-open {
    font-size: 40px;
  }
  .header {
    padding-bottom: 32px;
    height: 80px;
  }
  .news h2,
  .text h2 {
    font-size: 25px;
    line-height: 30px;
  }
  .list-project .project-title,
  .info .project-info {
    font-size: 25px;
  }
  .desktop-sticky {
    top: 80px;
  }
  .work .info {
    top: 80px;
    height: calc(100vh - 80px);
  }
}


p {
  margin-bottom: 1em;
}
p a {
  text-decoration: none;
}
p a:hover {
  font-style: normal !important;
  color: rgba(0,0,0,0.5);
}
@media (max-width: 899px) {
  .desktop-only {
    display: none !important;
  }
}
@media (min-width: 900px) {
  .mob-only {
    display: none !important;
  }
}
a {
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
  user-select: none;
}
li {
  list-style-type: none;
}

.case-upper {
  text-transform: uppercase;
}
.click {
  cursor: pointer;
  user-select: none;
}
.bold {
  font-weight: bold;
}

/* header */
.header {
  display: flex;
  position: sticky;
  z-index: 10;
  top: 0px;
  /* background-color: white; */
  padding: 12px;
}
.header h1 {
  width: 125px;
  width: clamp(12px, calc(10vw - 24px), 125px);
}
.header a {
  text-decoration: none;
}
.header nav a {
  display: inline-block;
  min-width: 175px;
  min-width: 5em;
  /* text-align: right; */

  margin-left: 12px;
  /* margin-left: 53px; */
}
.header nav li:first-of-type a {
  text-align: left;
}
.header nav a:hover,
.work-filters div:hover {
  font-style: italic;
}
.header nav {
  display: inline-flex;
  flex-grow: 1;
}
.header nav ul {
  display: inline-flex;
  flex-grow: 1;
}
.header nav li:first-of-type {
  margin-right: auto;
}
/* menu highlights */
.about .menu-about,
.kontakt .menu-contact,
.news .menu-news,
.works .menu-work {
  font-style: italic;
}
@media (max-width: 899px) {
  .header {
    background-color: var(--bg);
  }
  .header h1 {
    width: auto;
  }
  .header nav {
    position: fixed;
    inset: 0;
    background-color: var(--bg);
    display: none;
    z-index: -1;
    padding-top: 60px;
    height: 100dvh;
  }
  .menu-work {
    margin-bottom: auto;
  }
  .header nav ul {
    flex-direction: column;
  }
  .header nav li:first-of-type {
    /* margin-bottom: auto; */
  }
  .menu-open .header {
    z-index: 15;
  }
  .menu-open .header nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .menu-open {
    max-height: 100dvh;
    overflow: hidden;
  }
  .header {
    padding: 15px;
  }
  .header .burger {
    position: relative;
    height: 22px;
    width: 50px;
    top: 1px;
    margin-left: auto;
  }
  .header .burger .line,
  .header .burger .line:before,
  .header .burger .line:after {
    height: 2px;
    width: 50px;
    background-color: black;
    content: '';
    display: block;
  }
  .header .burger .line {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  .header .burger .line:before {
    position: absolute;
    top: -8px;
    transform-origin: top left;
  }
  .header .burger .line:after {
    position: absolute;
    bottom: -8px;
    transform-origin: bottom left;
  }
  .menu-open .header .burger .line {
    background: none;
  }
  .menu-open .header .burger .line:before {
    transform: rotate(45deg);
    width: 55px;
    left: 10px;
  }
  .menu-open .header .burger .line:after {
    transform: rotate(-45deg);
    width: 55px;
    top: 30px;
    left: 10px;
  }
}

.intro {
  position: fixed;
  inset: 0;
  z-index: 100;
  background-color: var(--bg);
}
.intro span:first-of-type {
  position: absolute;
  top: .1em;
  left: 50%;
  transform: translateX(-50%);
}
.intro span:last-of-type {
  position: absolute;
  bottom: -.1em;
  left: 50%;
  transform: translateX(-50%);
}
.intro.hide {
  display: none;
}
body:has(.intro:not(.hide)) {
  overflow: hidden;
}
@media (min-width: 900px) {
  .cursor {
    font-size: 60px;
    line-height: 60px;
    z-index: 1000;
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    opacity: 0;
  }
  * {
    cursor: none !important;
  }
}
.home {
  display: none;
}
/* home work list */
.home .projects {
  /* display: grid;
  grid-template-columns: 1fr 1fr 1fr; */
  width: calc(91vw);
  /* gap: 57px 113px; */
  margin: 31px auto;
  max-width: calc(100vw - 120px);

  display: flex;
  flex-wrap: wrap;
}
.list-project {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.list-project img {
  max-width: 100%;
  transition: opacity 0.3s;
}


@media (max-width: 899px) {
  .home .projects {
    display: flex;
    flex-direction: column;
    margin: 31px 0;
    align-items: center;
    width: unset;
    max-width: unset;
    gap: 15px;
    padding-bottom: 15px;
  }
  .home img:not(.landscape) {
    /* max-width: 60%; */
  }
  .list-project {
    position: relative;
  }
  .list-project .project-title {
    opacity: 0;
    position: absolute;
    inset: 0;
  }
  .intro {

  }
}
@media (min-width: 900px) {
  .list-project {
    padding: calc(calc(100vw - 120px) / 44) calc(calc(100vw - 120px) / 22);
  }
  .list-project:nth-of-type(7n+1) {
    width: calc(100% / 3);
  }
  .list-project:nth-of-type(7n+2) {
    width: calc(100% / 1.5);
  }
  .list-project:nth-of-type(7n+3) {
    width: calc(100% / 3);
  }
  .list-project:nth-of-type(7n+4) {
    width: calc(100% / 3);
  }
  .list-project:nth-of-type(7n+5) {
    width: calc(100% / 3);
  }
  .list-project:nth-of-type(7n+6) {
    width: calc(100% / 1.5);
  }
  .list-project:nth-of-type(7n+7) {
    width: calc(100% / 3);
  }
  .list-project:nth-of-type(7n+2),
  .list-project:nth-of-type(7n+6) {
    padding: calc(calc(100vw - 120px) / 44) calc(calc(100vw - 120px) / 11);
  }
  .list-project:nth-of-type(7n+2):has(img:not(.landscape)),
  .list-project:nth-of-type(7n+6):has(img:not(.landscape)) {
    padding: calc(calc(100vw - 120px) / 44) calc(calc(100vw - 120px) / 7.333);
  }
  .list-project:nth-of-type(7n+3):has(img.landscape) {
    position: relative;
    top: calc(calc(100vw - 120px) / -22);
    padding-block: calc(calc(100vw - 120px) / 11);
    padding-left: 0;
  }
  .list-project:nth-of-type(7n+4):has(img.landscape) {
    position: relative;
    top: calc(calc(100vw - 120px) / 22);
    padding-block: calc(calc(100vw - 120px) / 11)
  }
  .list-project:nth-of-type(7n+5):has(img:not(.landscape)) {
    padding: calc(calc(100vw - 120px) / 44) calc(calc(100vw - 120px) / 11);
  }
  .list-project:nth-of-type(7n+1):has(img.landscape),
  .list-project:nth-of-type(7n+7):has(img.landscape) {
    padding-inline: 0;
  }
  .list-project .project-title {
    position: absolute;
    top: 50%;
    left: 50%;
    max-width: 100%;
    min-width: 50%;
    min-height: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
    text-decoration: none;
  }
  .list-project:has(a:hover) .project-title {
    opacity: 1;
  }
  .list-project:has(a:hover) img {
    opacity: 0;
  }
  
}
/* single work */
.info .project-info {
  margin-bottom: 1em;
}

@media (max-width: 899px) {
  main {
    padding: 0 15px;
  }
  h2 {
    margin-bottom: 1em;
  }
  h2 .location {
    display: block;
  }
  .info-button {
    display: none;
  }
  .info-text {
    display: flex;
    flex-direction: column-reverse;
    justify-content: flex-end;
    overflow: hidden;
  }
  .info-text .project-info {
    order: 1;
  }
  .info:not(.expanded) .info-text {
    max-height: 143px;
  }
  .info-more {
    color: rgba(0,0,0,0.5);
    cursor: pointer;
    padding-right: 40px;
    position: relative;
    width: fit-content;
    margin-bottom: 1.5em;
  }
  .info-more:after {
    display: inline-block;
    content: '';
    background: url(/assets/img/arrowdown.svg);
    width: 20px;
    height: 13px;
    background-size: 20px;
    background-repeat: no-repeat;
    position: absolute;
    right: 0;
    top: 2px;
    transform-origin: center center;
    transition: all .1s linear;
  }
  .info.expanded .info-more:after {
    transform: rotate(180deg);
  }
  .info:not(.expanded) .info-more .less {
    display: none
  }
  .info.expanded .info-more .more {
    display: none
  }
  .work .gallery figure {
    margin-bottom: 15px;
  }
  .work .gallery figure img:not(.landscape) {
    /* max-width: 60%; */
    margin: 0 auto;
  }
  .work .info .credits {
    margin-bottom: -1em;
  }
}
@media (min-width: 900px) {
  .work .title {
    position: fixed;
    height: 80px;
    bottom: 0px;
    left: 0;
    width: 100%;
    z-index: 10;
    padding: 20px 149px 0;
    line-height: 48px;
    background-color: white;
  }
  .info-button {
    position: fixed;
    bottom: 12px;
    right: 0;
    width: 151px;
    height: 50px;
    z-index: 12;
    background-color: white;
    display: block;
    line-height: 48px;
  }
  .info-button:hover {
    font-style: italic; 
  }
  .info-button .button {
    /* width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: center; */
  }

  .work {
    padding-bottom: 60px;
  }
  .info-open {
    overflow: hidden;
  }
  .info-open .info-button .button {
    content: 'x';
  }
  .work .info {
    position: fixed;
    /* inset: 0; */
    left: 0;
    right: 0;
    bottom: 0;
    overflow: auto;
    z-index: 9;
    background-color: var(--bg);
    display: none;
    padding-bottom: 80px;
  }
  .work .info .info-text {
    max-width: 815px;
    margin: 0 auto;
  }
  .info-open.work .info {
    display: block;
  }
  .info-open .header {
    background-color: var(--bg);
  }
  .work .gallery figure {
    max-height: calc(100vh - 140px);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    padding: 0 clamp(12px, 10vw, 151px);
  }
  .work .gallery img {
    max-height: 100%;
    max-height: calc(100svh - 140px);
    /* max-width: calc(100svh - 40px); */
  }
  .work .gallery img.landscape:not(.size-small) {
    padding: 0 15px;
    width: auto;
    max-width: 100vw;
    /* height: calc(100svh - 140px); */
  }
  .work .gallery img.size-small {
    max-height: 100%;
    max-height: calc(66svh - 140px);
    max-width: calc(66svh - 140px);
  }
  .work .info .credits {
    columns: 2;
    gap: 113px;
    margin-bottom: 20px;
  }
}


/* works list */
.work-filters {
  display: flex;
  height: 36px;
}
.work-filters .active {
  font-style: italic;
}
.work-projects:not([data-filter="werkliste"]) .werkliste {
  display: none;
}
.work-projects .worklist-project {
  display: block;
  text-decoration: none;
}
/* .worklist-project:before {
  position: absolute;
  top: 0;
  left: 0;
  height: 20px;
  line-height: 20px;
  display: block;
}
.work-projects div.worklist-project:before {
  content: '○';
}
.work-projects a.worklist-project:before {
  content: '●';
} */
.work-projects a.worklist-project:hover {
  color: rgba(0,0,0,0.5);
}
.work-projects[data-filter="werkliste"] .worklist-project {
  position: relative;
}
.work-projects[data-filter="werkliste"] .worklist-project .project-info,
.work-projects[data-filter="werkliste"] .worklist-project .project-location {
  display: inline;
}
.work-projects[data-filter="werkliste"] .worklist-project h2 {
  /* text-indent: 15px; */
  position: relative;
  display: inline-block;
}
.work-projects:not([data-filter="werkliste"]) .worklist-project:before {
  display: none;
}
.work-projects:not([data-filter="werkliste"]) .worklist-project {
  margin-bottom: 1.2rem;
}
.work-projects:not([data-filter="werkliste"]) .worklist-project h2:before {
  display: inline;
  content: '●';
  font-size: 50px;
  line-height: 30px;
  position: relative;
  top: 3px;
  padding-right: 15px;
}
.work-projects:not([data-filter="werkliste"]) .worklist-project .project-info {
  font-style: italic;
}
.worklist-project img {
  display: none;
}
.work-projects .worklist-project img {
  position: fixed;
  left: clamp(12px, 10vw, 151px);
  top: 99px;
  width: calc(calc(calc(100vw - 302px) / 6) - 12px);
}
.work-projects .worklist-project img.landscape {
  width: calc(calc(calc(100vw - 302px) / 5) - 12px);
}
.work-projects .worklist-project:hover img {
  display: block;
}
.work-projects[data-filter="bauten"] .cat-studien {
  display: none;
}
.work-projects[data-filter="studien"] .cat-bauten {
  display: none;
}
.work-projects[data-filter="werkliste"] .worklist-project {
  display: none;
}
.work-projects[data-filter="werkliste"] .werkliste .worklist-project {
  display: block;
}
.work-projects[data-filter="werkliste"] .worklist-project {
  padding-bottom: 12px;
}
@media (max-width: 899px) {
  .work-filters > * {
    width: 33.33%;
  }
  .work-projects:not([data-filter="werkliste"]) .worklist-project {
    margin-bottom: 1.2rem;
  }
  .work-projects .worklist-project h2 {
    margin-bottom: 0;
  }
  .work-projects:not([data-filter="werkliste"]) .worklist-project h2:before {
    font-size: 45px;
    line-height: 25px;
    position: relative;
    top: 3px;
    padding-right: 5px;
  }
  .work-projects[data-filter="werkliste"] .project-title {
    /* padding-right: 50px; */
  }
  .work-projects[data-filter="werkliste"] .project-title br {
    display: none;
  }
  .year {
    margin-bottom: 1em;
  }
  .worklist-year {
    margin-bottom: 1.5em;
  }
}
@media (min-width: 900px) {
  .page-work .header {
    background: white;
  }
  .work-filters {
    padding: 0 clamp(12px, 10vw, 151px);
    position: sticky;
    top: 43px;
    margin-top: -20px;
    margin-bottom: 20px;
    z-index: 100;
    background: white;
  }
  .work-filters > * {
    width: calc(calc(100vw - 302px) / 3);
  }
  .work-projects {
    margin: 0 clamp(12px, 10vw, 151px);
  }
  .work-projects:not([data-filter="werkliste"]) {
    padding-left: calc(calc(100vw - 302px) / 3);
  }
  .work-projects[data-filter="werkliste"] {
    /* padding-left: calc(calc(100vw - 302px) / 6); */
    padding-left: calc(calc(100vw - 302px) / 3);
    /* padding-right: calc(calc(100vw - 302px) / 6); */
    width: calc(100vw - 302px);
    /* max-width: calc(calc(calc(100vw - 302px) / 3) + 470px); */
    max-width: calc(calc(calc(100vw - 302px) / 2) + 485px);
  }
  .work-projects[data-filter="werkliste"] .worklist-year {
    display: grid;
    /* grid-template-columns: 1fr 1fr 1fr; */
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 24px 12px;
    position: relative;
    margin-bottom: 36px;
  }
  .work-projects[data-filter="werkliste"] .year {
    /* position: absolute;
    top: 0;
    left: calc(calc(-100vw + 302px) / 5); */
  }
}
@media (min-width: 1100px) {
  .work-filters {
    top: 47px;
  }
}
@media (min-width: 1290px) {
  .work-filters {
    top: 50px;
  }
}
@media (min-width: 1565px) {
  .work-filters {
    top: 60px;
  }
}

/* news */
.news img {
  max-width: 200px;
  margin: 0 auto;
  margin-bottom: 5px;
}
.news img.landscape {
  max-width: 300px;
}
.news-item {
  text-align: center;
  max-width: 625px;
  margin: 0 auto;
  margin-bottom: 10px;
}
.news-content p {
  margin: 0;
}
.news-link {
  margin: 10px 0 0px;
}
.news-link a {
  position: relative;
  text-decoration: none;
  padding: 0 25px;
}
.news-link a:after {
  display: inline-block;
  content: '';
  background: url(/assets/img/arrow.svg);
  width: 16px;
  height: 16px;
  background-size: 15px;
  background-repeat: no-repeat;
  /* height: auto; */
  position: absolute;
  right: 0;
  top: 0px;
  transform-origin: center center;
  transition: all .1s linear;
}
.news-link a:hover:after {
  transform: rotate(-45deg);
  top: 2px;
}
@media (max-width: 899px) {
  .news h2 {
    margin-bottom: 8px;
  }
  .news-content {
    text-align: left;
  }
  .news img {
    max-width: 40%;
  }
  .news img.landscape {
    max-width: 60%;
  }
  .news-link a {
    padding: 0 18px;
  }
  .news-link a:after {
    width: 12px;
    height: 12px;
    background-size: 12px;
    top: 2px;
  }
}

/* about */
.about main {
  display: grid;
  grid-template-areas: "a d" "b d" "c d";
  grid-template-rows: auto auto 1fr;
  padding: 0 clamp(12px, 10vw, 151px);
}
.about .text {
  grid-area: d;
}
.about .address {
  margin-bottom: 2em;
}
.about .gallery {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 12px;
  margin-bottom: 12px;
}
.text h2 {
  margin-bottom: 1em;
  margin-top: -1px;
}
.about .subtitle a {
  padding-left: 22px;
  display: inline-block;
  position: relative;
  text-decoration: none;
}
.about .subtitle a:before {
  display: inline-block;
  content: '';
  background: url(/assets/img/arrow.svg);
  width: 18px;
  height: 18px;
  background-size: 17px;
  background-repeat: no-repeat;
  /* height: auto; */
  position: absolute;
  left: 0px;
  top: 2px;
  transform-origin: center center;
  transition: all .1s linear;
}
.about .subtitle a:hover:before {
  transform: rotate(-45deg);
  top: 2px;
}
.text p,
.news-content p {
  min-height: 0.2em;
}
.news-content p {
  text-align: center;
}
@media (max-width: 899px) {
  .about main {
    display: block;
    padding: 0 15px 5px;
  }
  .about .text {
    margin-top: 3em;
  }
  .about .text .text {
    margin: 0 0 1em 0;
  }
  .about .desktop-sticky {
    display: contents;
  }
}
@media (min-width: 900px) {
  .about .left-column {
    padding-right: 10%;
  }
}

/* kontakt */
.kontakt main {
  display: grid;
  grid-template-areas: "a b" "a c" "a d";
  grid-template-columns: 50% 50%;
  gap: 12px;
  /* grid-template-rows: auto auto 1fr; */
  padding: 0 clamp(12px, 10vw, 151px);
}
.about .text {
  grid-area: d;
}
.kontakt .address,
.kontakt .address2 {
  margin-bottom: 2em;
}
.address2 span {
  width: 50px;
  display: inline-block;
}
.address2 .dot {
  position: relative;
  scale: 1.8;
  transform-origin: top left;
  line-height: 27.6px;
  top: -12px;
}
.address2 a {
  text-decoration: none;
}
.kontakt .gallery {
  grid-area: c;
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 12px;
  margin-bottom: 82px;
}
.kontakt .legal {
  grid-area: d;
}
.kontakt .impressum-open {
  margin-bottom: 1em;
}
.kontakt .imprint {
  display: none;
}
.kontakt .imprint.open {
  display: block;
}
@media (max-width: 899px) {
  .kontakt main {
    display: block;
    padding: 0 15px 5px;
  }
  .kontakt .address,
  .kontakt .address2 {
    margin-bottom: 1em;
  }
  .kontakt .address2 {
    margin-bottom: 30px;
  }
  .address {
    margin-top: 1em;
  }
  .address2 span {
    width: 30px;
  }
  .address2 .dot {
    font-size: 23px;
    scale: 1.8;
    transform-origin: top left;
    line-height: 27.6px;
    top: -10px;
  }
}
@media (min-width: 1290px) {
  .address2 span {
    width: 70px;
  }
}
@media (min-width: 900px) {
  .kontakt .content a:hover,
  .kontakt .impressum-open:hover {
    font-style: italic;
  }
}

/* default */
@media (min-width: 900px) {
  .default .text {
    padding: 0 clamp(12px, 10vw, 151px);
  }
}