:root {
  color-scheme: light dark;

  --primary-color: #02CC89;
  --text-color: #000;
  --bg-color: #fff;
  --border-color: #eee;

  /* Lang-Switch-Button: Light Mode */
  --lang-switch-bg: #000;
  --lang-switch-text: #fff;
}

@media (prefers-color-scheme: dark) {
  :root {
    --text-color: #fff;
    --bg-color: #000;
    --border-color: #000;

    /* Lang-Switch-Button: Dark Mode – gedreht */
    --lang-switch-bg: #fff;
    --lang-switch-text: #000;
  }
}


/* Noto Sans */
@font-face {
    font-family: 'Noto Sans';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/Noto_Sans/NotoSans-Bold.woff2') format('woff2');
}

/* Barlow Condensed */
@font-face {
    font-family: 'Barlow Condensed';
    font-style: normal;
    font-weight: 200;
    src: url('../fonts/Barlow_Condensed/BarlowCondensed-ExtraLight.woff2') format('woff2');
}
@font-face {
    font-family: 'Barlow Condensed';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/Barlow_Condensed/BarlowCondensed-Light.woff2') format('woff2');
}
@font-face {
    font-family: 'Barlow Condensed';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/Barlow_Condensed/BarlowCondensed-Regular.woff2') format('woff2');
}
@font-face {
    font-family: 'Barlow Condensed';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/Barlow_Condensed/BarlowCondensed-Medium.woff2') format('woff2');
}
@font-face {
    font-family: 'Barlow Condensed';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/Barlow_Condensed/BarlowCondensed-Bold.woff2') format('woff2');
}


body {
	font-family: "Barlow Condensed", sans-serif;
    font-size: 22px;
    line-height: 1.5;
    font-weight: 300;
    font-style: normal;
    color: var(--text-color);
	background: var(--bg-color);
    display: flex;
    height: 100vh;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    overflow-y: scroll;
}

.pagecontainer {
    display: flex;
    padding: 2vw 3vw 2vw 3vw;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    flex: 1 0 0;
    align-self: stretch;
}

@media (max-width: 991px) {
.pagecontainer {
    display: flex;
    padding: 5vw;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    flex: 1 0 0;
    align-self: stretch;
    }
}


a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}
a:hover {       
    color: var(--text-color);
    text-decoration: underline;
}

a.textlink {
    color: var(--text-color);
    text-decoration: underline;
}

* {
    outline: none !important;
}

.row {
  margin: 0;
}


.img-fluid {
    width: 100%;
    display: block; /* verhindert kleinen Leerraum unter dem Bild */
    border: 1px solid #000;
    border-radius: 6px;
}

.img-responsive {
    width: 100%;
}


/* LANGUAGE -------------------------------------------------------------------- */

.lang-switch-btn {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: 1000;

@media (max-width: 991px) {
.lang-switch-btn {
  width: 36px;
  height: 36px;
  font-size: 12px;
  top: 10px;
  transform: none;
  text-decoration: none;
  }
}

  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;

  background: var(--lang-switch-bg);
  color: var(--lang-switch-text);
  font-family: 'Barlow Condensed', sans-serif; /* deine Headline-Schrift */
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-decoration: none;
  border-radius: 50% 0 0 50%; /* halbrund, wirkt wie ein "Tab" am Rand */
  /*box-shadow: -2px 2px 2px rgba(0,0,0,0.2);*/
  transition: background 0.2s ease, width 0.2s ease;
  }

.lang-switch-btn:hover {
  background: var(--primary-color);
  color: var(--text-color);
  width: 52px;
  text-decoration: none;
  }




/* HEADER -------------------------------------------------------------------- */

@media (min-width: 992px) {

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    align-self: stretch;
    border: 0px solid red;
    }
.header-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    }
.header-right {
    display: flex;
    padding: 1.2vw 0;
    flex-direction: column;
    align-items: flex-end;
    gap: 1.6vw;
    }

h1, a.nav-intro {
    font-family: "Noto Sans", sans-serif;
    font-size: 12vw;
    font-weight: 700;
    font-style: normal;
    line-height: 1;
    font-optical-sizing: auto;
    color: var(--text-color);
    text-decoration: none;
    text-transform: uppercase;
    margin: 0px;
    }

a.nav-intro:hover {
    /*color: #D8D101;*/
    color: var(--bg-color);
    text-decoration: none;
    text-stroke: 1px var(--text-color);
    -webkit-text-stroke: 1px var(--text-color);
    }

}


@media (max-width: 991px) {

.header-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 50px;
    align-self: stretch;
    }
.header-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    align-self: stretch;
    }
.header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
    align-self: stretch;
    }

h1, a.nav-intro {
    font-family: "Noto Sans";
    font-size: 17vw;
    font-style: normal;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -1px;
    color: var(--text-color);
    text-transform: uppercase;
    margin: 0 -2px;
    text-stroke: 1px var(--text-color);
    -webkit-text-stroke: 1px var(--text-color);
    }

a.nav-intro:hover {
    color: var(--bg-color);
    text-decoration: none;
    text-stroke: 1px var(--text-color);
    -webkit-text-stroke: 1px var(--text-color);
    }

}



.heading, .navbtn-intro {
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    padding: 0 1px;
    align-items: flex-start;
}
.logo-mask {
    display: block;
    width: 150px;   /* deine Logo-Breite */
    height: 26px;   /* deine Logo-Höhe */
    background-color: var(--text-color);
    -webkit-mask-image: url('/img/logo.svg');
    mask-image: url('/img/logo.svg');
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.menu {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-self: stretch;
}

.navbtn {
    display: flex;
    align-items: center;
}

a.nav {
    font-family: "Noto Sans";
    font-size: 26px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.2;
    text-transform: lowercase;
    color: var(--text-color);
}

a.nav:hover {
    color: var(--bg-color);
    text-decoration: none;
    text-stroke: 1px var(--text-color);
    -webkit-text-stroke: 1px var(--text-color);
}




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

.container-fluid {
    padding: 50px 0 50px 0;
}

.gallery {
    display: grid;
    grid-template-columns: 1fr; /* default: 1-spaltig */
    gap: 2vw;
    padding: 0;
}
.about {
    display: grid;
    grid-template-columns: 1fr; /* default: 1-spaltig */
    gap: 5vw;
    padding: 0;
}
@media (min-width: 768px) {
    .gallery { grid-template-columns: repeat(2, 1fr); }
    .about { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1200px) {
    .gallery { grid-template-columns: repeat(3, 1fr); }
    .about { grid-template-columns: repeat(4, 1fr); }
}

.gallery-item {
    border: 0px solid red;
}

.gallery-image {
    display: block;
    position: relative;
    overflow: hidden; /* wichtig, sonst läuft das Bild über den Rahmen hinaus */
    border: 1px solid var(--border-color);
    border-radius: 6px;
    box-shadow: 3px 3px 2px rgba(0,0,0,0.08);
}

.gallery-image img {
    width: 100%;
    display: block;
    transition: opacity 0.4s ease;
    /*transition: transform 0.4s ease;*/
}
.gallery-image:hover img {
    /*transform: scale(0.8);  1.1 = 10% größer; für Verkleinern z.B. 0.9 */
}

.img-hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.gallery-image:hover .img-default { opacity: 0; }
.gallery-image:hover .img-hover   { opacity: 1; }


.gallery-text {
    display: flex;
    padding: 0 0 30px 0;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    align-self: stretch;
    text-align:left;
    line-height: 1.2;
}

h2 {
    font-size: 36px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.0;
    color: var(--text-color);
}


@media (min-width: 992px) {

.container-subpage {
    width: 100%;
    padding: 50px 30px 80px 0;
    vertical-align: top;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    flex: 1 0 0;
    align-self: stretch;
    }

}

@media (max-width: 991px) {

.container-subpage {
    display: block;
    height: 100%;
    text-align: left;
    padding: 50px 30px 80px 0;
    }

}





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

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    align-self: stretch;
}

.footer-left {
    display: flex;
    flex-direction: column;
    border: 0px solid green;
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 40px;
    align-self: stretch;
}

.cta-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 150px;
    height: 150px;

    border-radius: 50%;
    border: none;
    background-color: var(--primary-color);
}

.cta-arrow {
    transition: transform 0.4s ease;
    width: 80px;
    height: 80px;
    background-color: var(--text-color);
    -webkit-mask-image: url('/img/arrow.svg');
    mask-image: url('/img/arrow.svg');
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.cta-btn:hover .cta-arrow {
    transform: translateX(20px);
}

.footer-nav {
    display: flex;
    gap: 60px;
}

.footerlink-item {
    display: flex;
    align-items: flex-end;
}

a.footerlink {
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    color: var(--text-color);
    text-decoration: none;
}

a.footerlink:hover {
    color: var(--text-color);
    text-decoration: underline;
}

.copyright-item {
    display: inline-block;
    text-align: right;
    font-size: 18px;
    font-weight: 200;
    border: 0px solid var(--text-color);
}


@media (min-width: 992px) {

.footer-container-intro {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    align-self: stretch;
    }

}


@media (max-width: 991px) {

.footer-container-intro {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    align-self: stretch;
}


}


