* {
    /*max-width: 1200px;
    margin: 0 auto;
    align-content: center;*/
    padding: 0;
    box-sizing: border-box;
    font-family: 'Alexandria', sans-serif;
    font-weight: 300;
    font-size: 12px;
    letter-spacing: 2px !important;
} 



body{
    margin: 0%;
    min-height: 100vh;
    background-color: white;
    /*background-color: #adbeaf; */
}
  

.wrapper-main {
    width: 1000px;
    margin: 0 auto;
}


a {
    cursor: pointer;
}

.header-main-pic img {
    max-width: 100%;
}

/* Navigation Bar */

.header-main {
    width: 100%;
    height: 10%;
    background: rgb(255, 255, 255);
    display: flex;
    justify-content: space-between; 
    z-index: 999;
}


.header-main-pic img {
    margin-top: 10px;
    height: 100px;
    margin-left: 10%;
    border-radius: 5em;
}

.header-main-nav {
    width: fit-content;
    padding-right: 6px;
    height: 100%;
}

.header-main-nav ul {
    list-style: none;
}

.header-main-nav li {
position: relative;
}

.header-main-nav ul li a{
    padding: 16px 20px;
    line-height: 5px;
    float: inline-start;
    color: rgb(0, 0, 0);
    letter-spacing: 1px;
    display: block;
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-color: rgb(0, 0, 0);
    text-decoration-thickness: 1.7px;
    
}

.header-main-nav ul li a:hover{
    font-weight: 550;
}

ul li ul.dropdown li {
    display: block;
}

ul li ul.dropdown a {
    padding: 16px 20px;
    line-height: 5px;
    float: inline-start;
    color:rgb(0, 0, 0);
    background-color: rgb(255, 255, 255);
    width: 180px; 
    letter-spacing: 1px;
    display: block;
    text-decoration: none;
    z-index: 999;
}

ul li ul.dropdown  {
width: 100%;
position: absolute;
z-index: 999;
display: none;
padding: 0;
margin: 0;
top: 100%;
right: 150px;
min-width: 150px;
border-radius: 5px;
}

ul li:hover ul.dropdown  {
    display: block;
    }


.header-main-nav-name {
    /*width: 80%;
    padding-right: 60px;*/
    height: 100%;
}

.header-main-nav-name ul {
    width: fit-content;
    list-style: none;
}

.header-main-nav-name ul li a{
    padding: 2px 20px;
    float:inline-start;
    line-height: 34px;
    color: rgb(0, 0, 0);
    letter-spacing: 1px;
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-color: rgb(0, 0, 0);
    text-decoration-thickness: 1.7px;
   }

.header-main-nav-name ul li a:hover{
    font-weight: 550;
}

.sticky {
    position: sticky;
    top: 0;
}

/* top container */

/* DESKTOP: Video-Galerie */
.video-bento {
  display: flex;
  gap: 6px;
  width: 100%;
  height: 60vh;
  max-width: 1200px;
  margin: 0 auto;
}

/* Video-Kacheln */
.video-bento .video-item {
  flex: 1;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  transition: flex 0.5s ease;
  cursor: pointer;
  background: #000;
}

/* Fokus-Video */
.video-bento .video-item.is-active {
  flex: 6;
}

/* Video selbst */
.video-bento video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-bento .video-item:not(.is-active) {
  opacity: 0.7;
}
.video-tap-hint {
  display: none;
}



/* bento grid */
 
.container {
    width: 60%;
    margin: 0 auto; 
    height: auto;
    padding: 0em;
    padding-top: 60px;
    display: flex; 
    flex-direction: column;
    gap: 1em;
    border-radius: 2em;
}

.container h3 {
    font-family: 'Alexandria', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 60px;
    letter-spacing: 8px;
    text-transform: uppercase;
    color: #ffffff;
    text-align: center;
    position: relative;
    z-index: 100;
    text-decoration: none; 
    margin: auto;
    padding-top: 300px;
}

 
.background-title {
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    height: 100%;
    border-radius: 1em;
}



.col-01 {
    flex: 1;
    border-radius: 2em;
    position: relative;
    overflow: hidden;
    background-image: url(images/nase/img/noch-aendern/movie-nase-baeume.png); 
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: scroll;
    background-size: cover;
}

.background-title {
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    height: 100%;
    border-radius: 1em;
}


.col-02 { 
    flex: 1.2;
    border-radius: 2em;
    display: flex; 
    gap: 1em;
}

.col02-left {
    flex: 2;
    border-radius: 2em;
    position: relative;
    overflow: hidden;
    background-image: url(images/EA/img/neu/collage_EA-01.jpg); 
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: scroll;
    background-size: cover;
}


.background-title-2 {
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    height: 100%;
    border-radius: 1em;
}


.col02-right {
    flex: 1.8;
    border-radius: 2em;
    position: relative;
    overflow: hidden;
    background-image: url(images/gaumler/img/gaumler-plakat.jpg); 
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: scroll;
    background-size: cover;
}


.background-title-3 {
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    height: 100%;
    border-radius: 1em;
}


.col-03 { 
    flex: 1;
    border-radius: 2em;
    display: flex; 
    gap: 1em;
}


.col03-left {
    flex: 2;
    border-radius: 2em;
    position: relative;
    overflow: hidden;
    background-image: url(images/botgar/house-front-transparent01.png); 
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: scroll;
    background-size: cover;
}

.background-title-4 {
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    height: 100%;
    border-radius: 1em;
}


.col03-right {
    flex: 1;
    border-radius: 2em;
    position: relative;
    overflow: hidden;
    background-image: url(images/margot/img/neu/17_Pferde.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: scroll;
    background-size: cover;
}

.background-title-5 {
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    height: 100%;
    border-radius: 1em;
}


.col-04 { 
    flex: 1;
    border-radius: 2em;
    display: flex; 
    gap: 1em;
}

.col04-left {
    flex: 1.8;
    border-radius: 2em;
    position: relative;
    overflow: hidden;
    background-image: url(images/multiresi/img/neu/uni/ausstellung-02.jpg); 
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: scroll;
    background-size: cover;
}

.background-title-6 {
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    height: 100%;
    border-radius: 1em;
}


.col04-right {
    flex: 1.2;
    border-radius: 2em;
    position: relative;
    overflow: hidden;
    background-image: url(images/prokrastination/img/neu/Prokrastination_01.jpg); 
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: scroll;
    background-size: cover;
}

.background-title-7 {
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    height: 100%;
    border-radius: 1em;
}


/* =========================
   OVERLAY – HELL & STABIL
========================= */

.dark-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.35); /* helles weiß */
  opacity: 1;
  transition: opacity 0.3s ease;
  z-index: 1;
}
.col-01:hover .dark-overlay,
.col02-left:hover .dark-overlay,
.col02-right:hover .dark-overlay,
.col03-left:hover .dark-overlay,
.col03-right:hover .dark-overlay,
.col04-left:hover .dark-overlay,
.col04-right:hover .dark-overlay {
  opacity: 0.15;
}
.background-title,
.background-title-2,
.background-title-3,
.background-title-4,
.background-title-5 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 2;
}



/* seiten kommis */

.layout {
  display: grid;
  grid-template-columns: 1fr 50% 1fr;
  align-items: flex-start;

  width: 100%;
}

.side-text {
  position: sticky;
  top: 140px;

  padding: 2rem;
  font-size: 16px;
  line-height: 1.5;
  color: rgba(0, 0, 0, 0.8);
}


.side-text.left {
  grid-column: 1;
  text-align: left;
}

.side-text.right {
  grid-column: 3;
  text-align: right;
}


/* projects 

.projects a{
    cursor: pointer;
    font-size: 54px;
    line-height: 82px;
    color:black;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 600;
}*/

/* footer neu */

.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* falls der Platz eng wird */
    margin-top: 70px;
    margin-bottom: 20px;

  }

  .footer p {
    margin-left: 2rem;
    text-decoration: none;
    color: #000000;
    font-size: 10px;
    align-items: center;
  }

  .footer-left a {
    align-items: center;
    margin-left: 2rem;
    margin-top: 10px;
    text-decoration: none;
    color: #000000;
    font-size: 10px;
  }
  
  .footer-left {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }
  
  .footer-right a {
    margin-left: 2rem;
    text-decoration: none;
    color: #000000;
    font-size: 9px;
    align-items: center;
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-color: rgb(0, 0, 0);
    text-decoration-thickness: 1.7px;
  }
  
  .footer-right {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }

  .footer a:hover {
    font-weight: 550;
  }

  /* NEW mobile version */

  @media (min-width: 601px) {
  .video-tap-hint {
    display: none !important;
  }
}

 @media (max-width: 600px) {

  .layout {
    display: block;   /* Grid AUS */
  }

    .side-text {
    position: static;   /* kein sticky */
    padding: 1.5rem 1rem;
    margin-bottom: 2rem;
    margin-left: 30px;

    font-size: 11px;
    line-height: 1.6;
    color: rgba(0,0,0,0.7);
  }

  .side-text.left,
  .side-text.right {
    text-align: left;
  }

    .side-text.left {
    order: 1;
  }

  .side-text.right {
    order: 2;
  }

  .container {
    height: auto;
    overflow: visible;
    width: 95%;
  }

}

  .col-01 {
    flex: none;
    width: 100%;
    min-height: 300px;
    position: relative;
  }

 .col-01,
  .col-02,
  .col-03,
  .col-04 {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }

  .col02-left,
  .col02-right,
  .col03-left,
  .col03-right,
  .col04-left,
  .col04-right {
    position: relative;   /* NICHT absolute */
    width: 100%;
    min-height: 300px;    /* sichtbar */
  }


@media (max-width: 600px) {

  /* Container wird zur Galerie */
  .video-bento {
    display: flex;
    flex-direction: column;
    gap: 4px;
    height: 160vmin;
    padding: 1em 2%;
  }

  /* Video-Kacheln */
  .video-bento .video-item {
    flex: 1;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    transition: flex 0.5s ease;
  }

  /* Hover-Expand wie bei Sketches */
  .video-bento .video-item:hover {
    flex: 20;
  }

  /* Video selbst */
  .video-bento video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

}
   /* Video zeigefinger */
  .video-item {
    position: relative;
  }

  .video-tap-hint {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 20px;
    color: rgba(255,255,255,0.9);
    background: rgba(0,0,0,0.15);

    pointer-events: none;
    z-index: 5;

    animation: tapPulse 3s ease-in-out infinite;
  }

  @keyframes tapPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
  }


.col-01 a,
.col02-left a,
.col02-right a,
.col03-left a,
.col03-right a,
.col04-left a,
.col04-right a {
  display: block;
  width: 100%;
  height: 100%;
}

.col-01 h3,
.col02-left h3,
.col02-right h3,
.col03-left h3,
.col03-right h3,
.col04-left h3,
.col04-right h3 {
  position: relative;
  z-index: 3;
  margin: 0;
}
 .dark-overlay {
  background-color: rgba(255, 255, 255, 0.4);
}

  .container h3 {
    font-size: 18px;
    top: 120px;
    line-height: 1.2;
    letter-spacing: 8px;
    padding: 1rem;
    text-align: center;
  }

  .background-title,
  .background-title-2,
  .background-title-3,
  .background-title-4,
  .background-title-5,
  .background-title-6,
  .background-title-7 {
    background: rgba(255, 255, 255, 0.2);
  }


/* mobile version 

@media only screen and (max-width:600px) {

    .wrapper-main {
        width: 95%;
    } 

 .video-bento{
    grid-template-columns: repeat(2, 2fr);
    grid-auto-flow: row; 
    gap: 0.75rem;
  }

  .bento-item {
    grid-column: auto !important;
    grid-row: auto !important;
    aspect-ratio: 1 / 1;
  }

    .footer-right {
        margin-top: 10px;

    }


*/


  
.index-category-box {
    width: 25%;
    height: 200px;
    background-color: rgb(0, 0, 0);
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative; 
}

.index-category-box:nth-child(1) {
    background-image: url(../dev/images/collage_EA-01.png);
}

.index-category-box:nth-child(2) {
    background-image: url(../dev/images/17_Pferde.png);
}

.index-category-box:nth-child(3) {
    background-image: url(../dev/images/glashaus-bearbeitet01.png);
}

.index-category-box:nth-child(4) {
    background-image: url(../dev/images/multiresi.png);
}


.dark-overlay{
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: #000;
    opacity: 0.6;
    transition: all ease-in-out 400ms;
}

.index-category-box:hover .dark-overlay {
    opacity: 0;
}

.index-category-box h3 {
    font-size: 16px;
    line-height: 32px;
    font-family: Arial, Helvetica, sans-serif;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    text-align: center;
    z-index: 100;
    text-decoration: none;
}


