/* ----- LIGHT / DARKMODE ----- */
:root {
  /* Globale Farbdefinitionen */
  --iconsize_S: 25px;
  --iconsize_L: 30px;
  --maincolor1: #FFFFFF; /* weiß */
  --maincolor2: #1a1a1a; /* schwarz */
  --maincolor3: #274999; /* blau */
  --hero-bg-light: #f2f2f4; /* hellgrau für den Hero-Bereich im Lightmode */
  --hero-overlay-opacity: 0.6;
}

/* Basis-Modus (Dark) */
body {
  background-color: var(--maincolor2);
  color: var(--maincolor1);
}

/* Light Mode: Überschreibt die globalen Variablen */
body.light-mode {
  --maincolor1: #274999; /* Textfarbe für Lightmode */
  --maincolor2: #FFFFFF; /* Hintergrundfarbe für Lightmode */
}

body.lightmode-article {
  background-color: #FFFFFF;   /* Body bleibt weiß */
  color: #274999;             /* Text außerhalb des Hero ist blau */
}

/* Projektseite: NUR der HERO-Bereich toggelt zwischen Dark/Light */
body.lightmode-article:not(.light-mode) .article_titel_background {
  background-color: var(--maincolor2); /* Darkmode: Hero ist schwarz */
}
body.lightmode-article:not(.light-mode) .article_titel_text {
  color: var(--maincolor1); /* Darkmode: Hero-Text ist weiß */
}
body.lightmode-article.light-mode .article_titel_background {
  background-color: var(--hero-bg-light); /* Lightmode: Hero ist hellgrau */
}
body.lightmode-article.light-mode .article_titel_text {
  color: var(--maincolor3); /* Lightmode: Hero-Text ist blau */
}

body.lightmode-article .article_titel_text,
body.lightmode-article .article_titel_text * {
  transition:
    color .35s ease,
    border-color .35s ease,
    background-color .35s ease,
    fill .35s ease,
    stroke .35s ease;
}

body.lightmode-article .article_titel_hr {
  transition: background-color .35s ease, border-color .35s ease;
}

body.lightmode-article:not(.light-mode) footer,
body.lightmode-article:not(.light-mode) footer * {
  color: #000; 
}

body.lightmode-article footer .underline {
  border-color: currentColor;
}

/* Spezifische Einstellungen für Kontakt Seite */

/* Light-Mode: invertiert NUR auf der Kontaktseite */
body.light-mode.contact-page {
  background-color: #274999;   /* Blau */
  color: #FFF;                 /* Weißer Text */
}

/* Alle Texte/Links wirklich weiß im Light-Mode auf Kontakt */
body.light-mode.contact-page *,
body.light-mode.contact-page a {
  color: #FFF;
}

/* Unterstriche sichtbar (Light-Mode) */
body.light-mode.contact-page .underline {
  border-bottom-color: rgba(255,255,255,0.6);
}

/* Toggle-Kreis oben rechts: auch nach Flip weiß (nur Kontakt + Light) */
body.light-mode.contact-page .icon_logo.front circle,
body.light-mode.contact-page .icon_logo.back  circle {
  fill: #FFF;
}

/* Dark-Mode auf der Kontaktseite:
   Footer & Unterstriche weiß, damit sie nicht "verschwinden" */
body.contact-page:not(.light-mode) footer,
body.contact-page:not(.light-mode) footer * {
  color: #FFF;
}

body.contact-page:not(.light-mode) .underline {
  border-bottom-color: rgba(255,255,255,0.6);
}

/* ----- /LIGHT / DARKMODE ----- */

/* ----- ALLGEMEIN ----- */

* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

body.theme-transition {
  transition: background-color 0.6s;
}

*,
*::before,
*::after {
  color: inherit;
}

h3,
a {
  color: inherit;
}

.portfolio-grid-item h3 {
  color: var(--maincolor1);
}

.underline {
  color: inherit;
}

html {
  scroll-behavior: smooth;
  /* ----- FIX SCROLLBAR JUMP ----- */
  overflow-y: scroll;
}

.wrapper {
  width: 1920px;
  margin: 0 auto;
  clear: both;
}

.mobile_indicator {
  float: none;
}

/* ----- ALLGEMEIN ----- */

/* ----- NAVBAR ----- */
nav {
  width: 1920px;
  margin: 0 auto;
  padding-top: 50px;
  clear: both;
}

ul {
  z-index: 100;
}

ul li {
  list-style: none;
  display: inline-block;
}

.navleft {
  position: relative;
  float: left;
  left: 0;
}

.navpadding {
  margin-left: 25px;
  margin-right: 25px;
}

#navfirst {
  margin-left: 120px;
}

.desktop-hide {
  display: none;
}

/* ----- NAVLOGO-Layot ----- */
.navlogo {
  position: relative;
  float: right;
  margin: 0;
  padding: 0;
  list-style: none;
}

.icon_logo-button {
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  perspective: 400px;
  padding-top: 2px;
}

.flip-card {
  width: 20px;
  height: 20px;
  position: relative;
  transform-style: preserve-3d;
  transform-origin: center center;
}

.icon_logo {
  width: 20px;
  height: 20px;
  position: absolute;
  top: 0;
  right: 0;
  backface-visibility: hidden;
}

.icon_logo.front circle {
  fill: var(--maincolor1);
}

.icon_logo.back {
  transform: rotateY(180deg);
}

.icon_logo.back circle {
  fill: var(--maincolor1);
}

/* Keyframes für den Münz-Flip */
@keyframes flip {
  0% {
    transform: rotateY(0deg) scaleX(1);
  }

  50% {
    transform: rotateY(90deg) scaleX(0.2);
  }

  100% {
    transform: rotateY(180deg) scaleX(1);
  }
}

/* Flip nur vorwärts via Animation */
.icon_logo-button.flipped .flip-card {
  animation: flip 0.6s forwards;
}

/* ----- NAVBAR ----- */

/* ----- MOBILE MENU ----- */

.menu-text-li {
  margin-left: 0;
  float: left;
  margin-right: 10px;
}

.menu-text {
  text-decoration: none;
  cursor: pointer;
}

.menu-curtain {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 12000;
  pointer-events: none;
  opacity: 0;
  transition: none;
}

.menu-curtain.open {
  opacity: 1;
  pointer-events: auto;
  transition: none;
}

.menu-curtain-bg {
  position: fixed;
  left: 0; top: 0; /* Startwerte, JS überschreibt */
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--maincolor1);
  transform: scale(1);
  transition: transform 1s ease-in-out;
  will-change: transform;
}

.menu-curtain.open .menu-curtain-bg {
  transform: scale(500);
}

.mobile-menu-list {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s 0.1s;
}

.menu-curtain.open .mobile-menu-list {
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.7s 0.2s;
}

.mobile-menu-list li a {
  color: var(--maincolor2);
}

.mobile-menu-list a {
  text-decoration: none;
  letter-spacing: 0.01em;
}

body.contact-page.light-mode .menu-curtain-bg {
  background: #FFFFFF; /* Weißer Vorhang */
}

body.contact-page.light-mode .mobile-menu-list li a {
  color: #274999; /* Blauer Text */
}

/* ----- MOBILE MENU ----- */


/* ----- TITELTEXT ----- */
.landing-titel {
  width: 100%;
  z-index: -11111;
}

.more-text {
  text-align: center;
  padding-top: 50px;
}

.titel-text {
  display: flex;
  align-items: center;
  max-width: 60%;
  margin: 220px 0 200px 0;
}

#titel-text-archiv {
  margin: 120px 0 100px 0;
  display: block;
  align-items: normal;
}

/* ----- TITELTEXT ----- */

/* ----- PORTFOLIO GRID ----- */
.portfolio-grid {
  max-width: 1920px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  padding-top: 60px;
}

.portfolio-gutter-sizer {
  width: 6.25%;
}

.portfolio-grid-item {
  float: left;
  width: auto;
  box-sizing: border-box;
  overflow: hidden;
  margin-bottom: 120px;
}

.portfolio-grid-item--L {
  width: 37.5%;
}

.portfolio-grid-item--M {
  width: 31.25%;
}

.portfolio-grid-item--S {
  width: 25%;
}

.portfolio-grid:after {
  content: '';
  display: block;
  clear: both;
}

.portfolio-image-wrapper {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--maincolor1);
  position: relative;  
}

.mies-logo {
  position: absolute;
  top: 0px;
  right: 0px;
  width: 100px;          
  height: auto;
  display: block;
}

.portfolio-image-wrapper img {
  max-width: 100%;
  height: auto;
  display: block;
}

.portfolio-grid-item h3 {
  margin: 10px 0 0;
  text-align: left;
  color: var(--maincolor1);
}

/* ----- PORTFOLIO GRID ----- */

/* ----- ARCHIV GRID ----- */

/* Grundeinstellungen */
.archive-wrapper {
  width: 100%;
  display: flex;
  align-items: flex-start;
  margin-top: 40px;
  position: relative;
}

.archive-filter {
  min-width: 160px;
  top: 80px;
  align-self: flex-start;
}

.archive-filter ul {
  margin-top: 10px;
  padding-left: 0;
}

.archive-filter li {
  list-style: none;
  margin: 12px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Grid Einstellungen */
.archive-grid {
  width: 100%;
  max-width: 1720px;
  margin: 0 auto;
}

.archive-grid-sizer {
  width: 25%;
  height: auto;
}

.archive-grid-item {
  width: 22.5%;
  margin-bottom: calc(2.5% + 20px);
  position: relative;
}

/* Der innere Container, der für das 1:1-Seitenverhältnis sorgt */
.archive-item-content {
  position: relative; /* Der Container für das Padding-Hack */
  width: 100%;
  padding-top: 100%; /* Das erzeugt den 1:1-Quadrat-Effekt */
}

/* Das Bild selbst, absolut positioniert und zentriert */
.archive-item-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.archive-item-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain; /* Passt das Bild ohne Beschneidung ein */
  display: block; /* Entfernt jeglichen zusätzlichen Leerraum */
  opacity: 0;
  transition: opacity 0.25s ease;

}

.archive-item-image img.img-loaded {
  opacity: 1;
}

/* Der Text-Container, absolut positioniert */
.archive-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  box-sizing: border-box;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}

/* LADE-ANIMATION  */

.archive-grid-container {
  position: relative;
  width: 100%;
}

.archive-grid {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.archive-grid.loaded {
  opacity: 1;
}

.loader-wrapper {
  position: absolute;
  top: calc(120px + 20px);
  left: calc(160px + (100% - 160px) / 2);
  transform: translateX(-50%);
  z-index: 10;
  transition: opacity 0.3s ease-in-out, visibility 0.3s;
}

.loader-circle {
  width: 30px;
  height: 30px;
  background-color: var(--maincolor1);
  border-radius: 50%;
  animation: pulse 1.5s infinite alternate ease-in-out;
}

.loader-wrapper.hidden {
  opacity: 0;
  visibility: hidden;
  animation: none;
}

@keyframes pulse {
  0% {
    transform: scale(0.8);
    opacity: 0.7;
  }

  100% {
    transform: scale(1.2);
    opacity: 1;
  }
}

/* ARCHIV FILTER STYLING */

.archive-filter ul {
  margin-top: 20px;
}

.archive-filter .filter-text {
  display: inline-block;
  position: relative;
  padding-left: 25px;
  border-bottom: none;
  transition: color 0.2s ease;
  color: var(--maincolor1);
}

.archive-filter .filter-text.selected_filter::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--maincolor1);
  border-radius: 50%;
}

/* Optional: Hover-Feedback */
.archive-filter .filter-link:hover .filter-text {
  color: #DDD;
}

/* ----- ARCHIV GRID ----- */

/* ----- ARTICLE TITEL ----- */

.article_titel_background {
  width: 100%;
  height: 100vh;
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  z-index: -1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background-color: var(--hero-bg-color);
}

body.theme-transition .article_titel_background {
  transition: background-color 0.6s;
}

.article_titel_wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  padding-top: 50px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

/* Linke Spalte für den Text (Desktop) */
.article_titel_columntext {
  position: relative;
  width: 50%;
  height: 100%;
  display: flex;
  align-items: center;
  padding-left: calc((100vw - 1920px) / 2);
  padding-right: 5vw;
  z-index: 2;
}

.article_titel_text {
  max-width: 600px;
  color: var(--hero-text-color);
}

body.theme-transition .article_titel_text,
body.theme-transition .article_titel_text * {
  transition: color 0.6s;
}

/* Rechte Spalte für das Bild (Desktop) */
.article_titel_columnimage {
  position: absolute;
  top: 0;
  right: 0;
  width: 50vw;
  height: 100vh;
}

.article_titel_img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: var(--hero-image-opacity, 1);
}

.content-placeholder {
  display: block;
  height: 100vh;
  width: 100%;
}

/* ----- ARTICLE TITEL ----- */

/* ----- ARTICLE CONTENT ----- */
.article_wrapper {
  width: 1240px;
  margin: 0 auto;
  clear: both;
}

.article_img {
  max-width: 50%;
  max-height: 100%;
  display: block;
  margin: 0 auto;
  margin-top: 10%;
}

.wide {
  max-width: 100%;
}

#article_img_left {
  display: block;
  margin-left: 0;
  margin-right: auto;
}

#article_img_right {
  display: block;
  margin-left: auto;
  margin-right: 0;
}

#article_img_twoleft {
  float: left;
  max-width: 45%;
}

#article_img_tworight {
  float: right;
  max-width: 45%;
}

.clearfix {
  content: "";
  visibility: hidden;
  display: block;
  height: 0;
  clear: both;
}

.mobile_text {
  display: none;
}

/* ----- ARTICLE CONTENT ----- */

/* ----- ABOUT ----- */
.about_1_grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  max-width: 1920px;
  margin: 200px auto;
  gap: 10%;
}

.about_1_column {
  width: 30%;
  display: flex;
  flex-direction: column;
}

.about_block {
  margin-bottom: 60px;
}

.about_portrait {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Voller Unterstrich bei H2s */
.full-underline {
  display: inline-block;
  border-bottom: 1px solid var(--maincolor1);
  margin-bottom: 20px;
}

/* ----- ABOUT ----- */

/* ----- BUTTONS ----- */

.icon_go_back {
  position: fixed;
  height: var(--iconsize_S);
  width: var(--iconsize_S);
  top: 42.5px;
  right: 42.5px;
  border-style: none;
  background-color: transparent;
  cursor: pointer;
}

.icon_back_to_top {
  position: fixed;
  height: var(--iconsize_L);
  width: var(--iconsize_L);
  bottom: 42.5px;
  right: 42.5px;
  border-style: none;
  background-color: transparent;
  cursor: pointer;
  display: none;
}

.icon_hamburger {
  border-style: none;
  background-color: transparent;
  cursor: pointer;
}

.icon_settings {
  height: var(--iconsize_S);
  width: var(--iconsize_S);
  fill: var(--maincolor1);
  stroke: var(--maincolor1);
}

/* ----- BUTTONS ----- */

/* ----- KONTAKT ----- */

.contact_titel {
  width: 100%;
  position: relative;
  margin: 220px 0 300px 0;
}

.navcontact {
  cursor: pointer;
}

.contact-text {
  display: flex;
  align-items: center;
  max-width: 60%;
}

.contact_trivia {
  width: 100%;
  height: auto;
  z-index: -99999;
  margin: 0 0 100px 0;
}

.contact_small_wrapper {
  width: 1920px;
  margin: 0 auto;

  clear: both;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5%;
}

/* ----- KONTAKT ----- */

/* ----- FOOTER ----- */
footer {
  height: 200px;
}

.footer_content {
  position: relative;
  text-align: center;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  transform: translateY(-50%);
  line-height: 2em;
}

footer.about {
  margin-top: 0px;
}

/* ----- FOOTER ----- */


/* ------------------------------------------------------
   MEDIA QUERIES
------------------------------------------------------ */

/* (1) Max width ~ 2070px */
@media screen and (max-width: 2070px) {
  .mobile-break {
    display: initial;
  }

  nav {
    max-width: 90%
  }

  .wrapper,
  .article_wrapper,
  .contact_small_wrapper,
  #contact_wrapper {
    width: 90%;
  }

  /* ----- PORTFOLIO GRID ----- */

  .portfolio-grid-item {
    margin-bottom: 6.25%;
  }

  .titel-text,
  .contact-text {
    max-width: 70%;
  }

  /* ----- PORTFOLIO GRID ----- */

  /* ----- ARCHIV GRID ----- */

  .archive-grid-sizer {
    width: 33.33%;
  }

  .archive-grid-item {
    width: 30.83%;
  }

  /* ----- ARCHIV GRID ----- */

  /* ----- ARTICLE TITEL ----- */

  .article_titel_columntext {
    padding-left: 5%;
    padding-right: 5%;
  }

  /* ----- ARTICLE TITEL ----- */

  /* ----- ABOUT ----- */

  .about_1_grid {
    max-width: 90%;
  }

  /* ----- ABOUT ----- */

}

/* (2) Max width ~ 1179px */
@media screen and (max-width: 1179px) {

  .icon_go_back {
    display: none;
  }

  /* ----- PORTFOLIO GRID ----- */

  .titel-text,
  .contact-text {
    max-width: 80%;
  }

  nav {
    max-width: 95%
  }

  .wrapper,
  .article_wrapper,
  .contact_small_wrapper,
  #contact_wrapper {
    width: 95%;
  }

  .portfolio-grid {
    padding-top: 5%;
  }

  .portfolio-gutter-sizer {
    width: 5%;
  }

  .portfolio-grid-item--L,
  .portfolio-grid-item--M,
  .portfolio-grid-item--S {
    width: 100%;
  }

  /* ----- PORTFOLIO GRID ----- */

  /* ----- ARCHIV GRID ----- */
  /* 1) Wrapper auf Column, unten Platz für die Bar */
  .archive-wrapper {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
  }

  .archive-grid {
    margin: 0 auto !important;
    margin-bottom: 60px !important;
    /* Platz für die Bar */
  }

  /* 2) Grid: 2 Spalten + 1 Gutter */
  .archive-grid-sizer {
    width: 50%;
  }

  .archive-grid-item {
    width: 45%;
    margin-bottom: calc(2.5% + 50px);
  }

  /* 3) Filter-Bar: full-bleed unten fixiert */
  .archive-filter {
    position: fixed !important;
    top: auto !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: auto !important;
    /* Basis-Padding + Safe Area für Home-Indicator, synchron mit Browser-Animation */
    padding: 0 0 max(5px, env(safe-area-inset-bottom)) 0 !important;
    margin: 0 !important;
    z-index: 9999 !important;
    justify-content: center !important;

    background: var(--maincolor2) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.35) !important;

    display: flex !important;
    align-items: center !important;
    
    /* Transition für smooth padding change - synchron mit Browser-UI */
    transition: padding-bottom 0.3s cubic-bezier(0.4, 0.0, 0.2, 1) !important;
  }

  /* 4) Label links in 95%-Spalte */
  .archive-filter .filter-label {
    color: var(--maincolor1);
    white-space: nowrap;
  }

  .archive-filter .filter-text {
    padding-left: 15px;
    font-size: 9pt;
    padding-bottom: 5px;
  }

  .filter-label {
    font-size: 9pt;
  }

  /* 5) Liste rechts in 95%-Spalte */
  .archive-filter ul {
    display: flex !important;
    gap: 5px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    justify-content: center !important;

    margin-left: 2.5% !important;
    margin-right: 2.5% !important;

    /* gleiche Einrückung wie .wrapper */
  }

  .archive-filter li {
    display: flex;
    align-items: center;
    color: var(--maincolor1);
    padding: 0 2px;
  }

  .archive-filter .filter-text.selected_filter::before {
    top: 40%;
  }

  .loader-wrapper {
  left: 50%;
  }

  /* ----- ARCHIV GRID ----- */

  /* ----- ARTICLE TITEL ----- */
  .article_titel_wrapper {
    height: 100%;
    display: flex;
    flex-direction: column; /* Stapel-Anordnung */
    align-items: center;
    justify-content: center; /* Vertikale Zentrierung */
    text-align: center;
  }

  .article_titel_columnimage {
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
  }

  .article_titel_columntext {
    position: relative; 
    width: 100%;
    height: auto;
    padding: 0 6vw;
    z-index: 2; 
  }

  .article_titel_text {
    max-width: 100%;
  }

  .article_titel_hr {
    margin: 10px auto;
  }

  .article_titel_overlay{
    position: absolute;
    inset: 0;
    opacity: var(--hero-overlay-opacity, 0.6);
    pointer-events: none;
    z-index: 1;
  }

  body.theme-transition .article_titel_overlay{ transition: opacity .35s ease, background-color .35s ease;}

  /* Darkmode-Regel für das Overlay auf Projektseiten (Mobile) */
  body.lightmode-article:not(.light-mode) .article_titel_overlay {
    background-color: var(--maincolor2); /* Schwarz im Darkmode */
  }

  /* Lightmode-Regel für das Overlay auf Projektseiten (Mobile) */
  body.lightmode-article.light-mode .article_titel_overlay {
    background-color: white; /* Weiß im Lightmode */
  }

  /* ----- ARTICLE TITEL ----- */

  /* ----- ABOUT ----- */

  .about_1_grid {
    max-width: 95%;
  }


  /* ----- ABOUT ----- */


  /* ----- KONTAKT ----- */


  .contact_small_wrapper {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact_titel {
    margin: 125px 0 100px 0;
  }


  /* ----- KONTAKT ----- */

}

/* (3) Max width ~ 768px : MOBILE */
@media screen and (max-width: 768px) {

  .mobile_indicator {
    float: left;
  }

  .titel-text
   {
    max-width: 100%;
    margin: 80px 0 60px 0;
  }

  /* ----- NAVBAR ----- */
  nav {
    padding-top: 20px;
  }

  .mobile_spacer {
    padding-top: 20px;
  }

  .desktop-hide {
    display: block;
  }

  .mobile-hide {
    display: none;
  }

  #navpadding_rightlast {
    margin-right: 30px;
  }


  .menu_bottom_link {
    position: absolute;
    bottom: 5%;
    left: 5%;
    text-align: left;
    display: block;
    /* sichtbar im Overlay */
  }

  .menu_bottom_link a {
    text-decoration: none;
    border-bottom: 2px solid transparent;
  }

  .menu_bottom_link a:hover {
    border-bottom: 2px solid var(--maincolor1);
  }

  /* ----- NAVBAR ----- */

  /* ----- ABOUT ----- */

  .about_1_grid {
    flex-direction: column;
    gap: 00px;
    margin: 60px auto;
  }

  .about_1_column {
    width: 100%;
  }

  .about_portrait {
    width: 100%;
    margin: 0 auto;
    display: block;
  }

  /* ----- ABOUT ----- */

  /* ----- KONTAKT ----- */

  .contact_small_wrapper,
  #contact_wrapper {
    grid-template-columns: 100%;
  }

  .contact_textlinks,
  .contact_textmitte,
  .contact_textrechts {
    grid-column: span 1;
    padding-bottom: 30px;
  }

  .contact_trivia {
    margin: 0 0 40px 0;
  }

  /* ----- KONTAKT ----- */

  /* ----- ARTICLE CONTENT ----- */

  .article_text {
    max-width: 90%;
  }

  #article_img_twoleft {
    max-width: 100%;
    float: none;
  }

  #article_img_tworight {
    max-width: 100%;
    float: none;
  }

  .article_img {
    max-width: 100%;
  }

  /* ----- ARTICLE CONTENT ----- */

  .img_S {
    width: 100%;
  }

  .write-me-content {
    max-width: 90%;
  }

  .icon_back_to_top {
    right: -10%;
  }

  .icon_close {
    right: 5%;
  }

  .mobile_text {
    display: block;
  }

}