body{
    margin: 0px;
    font-family: sans-serif;
    overflow-y: hidden;
    scroll-behavior: smooth;
}

h3, h2{
  font-size: 3vh;
}

.fussnote{
  position: fixed;
    width: 100vw;
    bottom: 0px;
    background-color: white;
    z-index: 100;
}

#ds h2, h3{
  text-align: left;
  margin-left: 0px;
}

#ds{
  margin: 20px 134px;
}

.footer{
  margin-bottom: 60px;
}

.webmenu {
    position: relative; /* wichtig für absolute Positionierung */
}

/* Mobile Links standardmäßig versteckt */
#mobilLinks {
    display: none;
    flex-direction: column;
    background: #434245;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 100;
}

#mobilLinks a {
    color: white;
    padding: 14px 16px;
    text-decoration: none;
    display: block;
}

#mobilLinks a:hover {
    background-color: rgb(44, 60, 198);
    padding: 14px 16px;
    
}

.mobil-menu {
    display: none;         /* unsichtbar */
    flex-direction: column;
    gap: 10px;
    background: #fff;      /* optional */
    position: absolute;
    top: 100%;             /* direkt unter Hamburger-Icon */
    left: 0;
    width: 100%;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    padding: 10px 0;
}

/* Optional: kleine Animation */
.mobil-menu.show {
    display: flex;
}

.close-btn{
    color: rgb(44, 60, 198);
    border: 1px rgb(44, 60, 198) solid;
    margin-top: 20px;
    border-radius: 3px;
    padding: 5px;
    font-size: 2vh;
    background-color: white;
    position: absolute;
    left: 50px;
}

.close-btn:hover{
  background-color: rgb(44, 60, 198);
  color: white;
  opacity: 0.5;
  cursor: pointer;
}

.gtext{
  padding: 0 20px 0 20px;
  font-size: 17px;
}

.gtext p{
      border-bottom: 1px black solid;
    border-top: 1px black solid;
    margin: 20px;
    padding: 20px 20px 20px 20px;
}

.no-scroll {
  overflow-y: hidden;
}

.scroll {
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgb(44, 60, 198) rgb(200, 200, 255);
    height: 72vh;
}

#design{
    text-align: center;
}

.rotate-message {
    display: none !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 9999;
}

.home{
    display: flex;
    justify-content: flex-start;
    flex-direction: row;
    margin: 15px;
    padding: 0px 40px 0px 40px;
}

.home p{
   max-width: 50vw;  
}

.letter {
  color: rgb(44, 60, 198);
}

#inhalt{
    height: 71vh;
}

#inhalt.scroll {
  overflow-y: auto;
  overflow-x: hidden;
}

.button{
    color: white;
    background-color: rgb(44, 60, 198);
    position: absolute;
    right: 13vw;
    top: 23vh;
    text-decoration: none;
    width: 110px;
    text-align: center;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    font-size: initial;
}

.button:hover{
    opacity: 0.5;
}
.mobil{
    display: none;
}

.m8{
      max-width: 800px!important;
}

.ae{
  display: flex;
    width: 80vw;
    flex-wrap: nowrap;
    justify-content: flex-end;
    gap: 42px;
}

.init{
  font-size: 4vh;
}

.zeile{
    margin: 15px;
    padding: 0px 40px 0px 40px;
    border-top: 1px black solid;
    border-bottom: 1px black solid;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    height: 10vh;
    transition: transform 0.3s; 
    cursor: pointer;
    font-size: 3vh;
}

.zeile img{
    filter: invert(1);
    height: 5vh;
    margin-left: 20px;
}

.zeile a:hover{
    color: rgb(44, 60, 198);
    transform: scale(1.03);
}

.vorstellung{
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 3vh;
}

.title{
    font-size: 116px;
}

.portret{
    height:71vh;
    object-fit: contain;
    padding-right: 50px;
}

/*Blink-Animation */
@keyframes blink-animation {
  0%, 50%, 100% {
   transform: scale(1.15);     /* größer */
  }
  25%, 75% {
    transform: scale(1);   /* kleiner */
  }
}

/* Die Klasse, die blinkt */
.blink {
  animation: blink-animation 4s infinite; /* 1s pro Zyklus, unendlich */
}



.coverflow-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 90vh;
  margin: 47px 0;
  overflow: hidden;
}

.coverflow-item {
  position: absolute;
  top: 6vh;
  transition: all 0.5s ease;
  cursor: pointer;
  text-align: center;
  background-color: white;
  opacity: 1;
  transform: scale(0.8);

}

.hero {
    animation: fadeIn 2s ease forwards;
}

/* Keyframe für Fade-In */
@keyframes fadeIn {
  0% {
    opacity: 0.6;
  }
  100% {
    opacity: 1;
  }
}

.coverflow-item.show {
  opacity: 1;
  transform: scale(1);
}

.coverflow-item img {
  height: 44vh;
  padding: 5px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 10px 20px 25px rgba(0,0,0,0.2);
}

.coverflow-item img:hover{
 opacity: 0.7;
transform: translateY(-2px);
}

.tag{
    font-size: 11px;
}

/* Hero */
.coverflow-item.hero {
  transform: scale(1.2);
  z-index: 3;
}

/* Vorschau links */
.coverflow-item.left1 {
  transform: scale(0.8) translateX(-22vw);
  z-index: 2;

}

.coverflow-item.left2 {
  transform: scale(0.6) translateX(-47vw);
  z-index: 1;
}

.coverflow-item.left3 { 
    transform: scale(0.5) translateX(-72vw); 
    z-index:0; 
}

.right1 img,.left1 img{
    opacity: 0.7;
}

.right2 img,.left2 img{
    opacity: 0.5;
}

.right3 img,.left3 img{
    opacity: 0.4;
}

/* Vorschau rechts */
.coverflow-item.right1 {
  transform: scale(0.8) translateX(22vw);
  z-index: 2;

}

.coverflow-item.right2 {
  transform: scale(0.6) translateX(47vw);
  z-index: 1;
}

.coverflow-item.right3 { 
    transform: scale(0.5) translateX(72vw); 
    z-index:0; 
}

/*######################alt drehen*/
.coverflow-item .projekt-text {
  display: none;
}

.coverflow-item.hero .projekt-text {
  display: block;
  margin-top: 10px;
}

.projekt-text h3{
    font-size: 15px;
}

.projekt-text p{
    font-size: 12px;
}

/* Container für 3D-Karte */
.projekt-card {
  width: 400px;       /* feste Breite, vertikale Karte */
  max-width: 90%;
  height: 600px;      /* Höhe der Karte */
  perspective: 1500px; 
  position: relative;
  cursor: pointer;
  padding: 10px;
}

/* Innerer Wrapper für Drehung */
.projekt-card-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transition: transform 1s ease;
  transform-style: preserve-3d;
}

/* Container für Frontseite */
.projekt-card-front {
  position: absolute;
  top: 0;
  left: 0;
  height: 87%;
  padding: 32px;
  border-radius: 12px;      /* border-radius auf Container */
  overflow: hidden;          /* damit img innen abgerundet */
  backface-visibility: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
}

.projekt-card-front img {
  width: auto;
  height: 100%;
  object-fit: contain;       /* kein Zuschneiden */
  display: block;
  border-radius: 10px;
}

.projekt-card-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 87%;
  background: white;
  padding:32px;
  box-sizing: border-box;
  overflow-y: auto;          /* scrollen möglich */
  overflow-x: hidden;
  border-radius: 12px;       /* runde Ecken auch hier */
  backface-visibility: hidden;
  transform: rotateY(180deg);
}

.projekt-card-back::-webkit-scrollbar {
  width: 0px;
}

.projekt-card-back::-webkit-scrollbar-thumb {
  background: linear-gradient( rgb(44, 60, 198),rgb(188, 185, 220));
  border-radius: 10px;
  border: 1px solid white; /* oder Farbe ähnlich wie Track */
}

.projekt-card-back::-webkit-scrollbar-track{
  margin-block: .6em;
}

.margin{
      margin: 24px 50px 50px;
}


.persona-diagramm:hover{
  cursor: pointer;
  opacity: 0.5;
}

.nohover:hover{
  opacity: 1!important;
  cursor: text;
}

#lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.8);
   overflow: scroll;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#lightbox img {
    max-height: 90vh;
    border-radius: 8px;
    cursor: pointer;
    background-color: black;

    transform: scale(1.5);
    transform-origin: center;
    overflow: scroll;
}

.projekt-detail a:-webkit-any-link {
  text-decoration: none;
  color: rgb(44, 60, 198);
}

a:-webkit-any-link:hover {
  opacity: 0.5;
}

.center{
  display: flex;
  justify-content: center;
  text-align: center;
  margin-top: 40px;
}

.mci-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Damit es auf kleinen Bildschirmen umbricht */
    margin-top: 30px;
}

.mci-item {
    flex: 1 1 250px; /* minimale Breite, wächst aber mit Container */
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.mci-item img {
    height: 44vh;
    border-radius: 6px;
    border: #d8d8d8 solid 1px;
    box-shadow: 10px 20px 25px rgba(0, 0, 0, 0.2);
    padding: 10px;
}

.mci-item:hover {
    transform: translateY(-5px);
  
}

.mci-item h4 {
    margin-top: 10px;
    font-weight: 500px;
    font-size: 1rem;
}

.item {
    flex: 1 1 250px; 
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}

.item img {

    border-radius: 6px;
    border: #d8d8d8 solid 1px;
    box-shadow: 10px 20px 25px rgba(0, 0, 0, 0.2);
    padding: 10px;
    max-width: 79%!important;
    margin: 40px 0px 10px 0px !important;
    width: 19vw!important;
}

.item:hover {
    opacity: 0.5;
    cursor: pointer;
  
}

.item h4 {
    margin-top: 10px;
    font-weight: 500px;
    font-size: 1rem;
    margin-bottom: -4px;
}

.bt{
  margin: 0px 54px 16px 39px;
}

.apfel{
  max-width: 500px;
  margin-bottom: 20px;
  animation: blink-apfel 7s infinite;
}

.mm{
  margin-top: -90px;
}

.apfel img{
width: 50vw!important;  
max-width: 500px;
}

@keyframes blink-apfel {
  0%, 50%, 100% {
   transform: scale(1.05);     /* größer */
  }
  25%, 75% {
    transform: scale(1);   /* kleiner */
  }
}


.web-container{
  display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: flex-start;
    max-width: 1000px;
    gap: 50px;
    flex-direction: row;
}
.appanalyse{
    margin: 50px 100px 50px 100px;
    height: auto;
    max-width: 1000px;
    border-bottom: 1px black solid;
    border-top: 1px black solid;
    padding: 20px 20px 20px 20px;
    font-size: 2vh;
}

.appanalyse img{
  float: right;       /* Bild rechts positionieren */
    margin: 32px 0px 40px 50px;
    width: 50vw;       /* gewünschte Breite */
    height: auto;
    max-width: 500px;
    object-fit: contain;
    border-radius: 6px;
    border: #d8d8d8 solid 1px;
    box-shadow: 13px 5px 21px 19px rgba(0.2, 0.2, 0, 0.2);

}

.projekt-detail{
  display: flex;
  flex-direction: column;
    align-items: center;
    
}

.design{
  display:flex;
  flex-direction:column; 
  align-items:center;
}

.design img{
      border: #d8d8d8 solid 1px;
    box-shadow: 13px 5px 21px 19px rgba(0.2, 0.2, 0, 0.2);
    margin-top: 30px;
    max-width:100%; 
    height:auto;
}

.d-cen{
  display:flex; 
  gap:30px; 
  width:100%; 
  max-width:1000px; 
  flex-direction: row-reverse;
}

.t20{
  margin-top:20px;
}

.t10{
  margin-top:10px;
}

.dcc{
  flex:1; 
  display:flex; 
  align-items:start; 
  flex-direction:column; 
  justify-content: space-between;
}

.b50{
  margin-bottom: 50px;
}

ul{
  line-height: 1.6;
}

p{
  line-height: 1.3;
}

.centert{
  text-align: center;
  margin: 10px;
}

.mimp{
  margin: 50px;
}

.mobile-nav {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  margin-top: 33vh;
  gap: 20px;
}

.mobile-nav button {
  padding: 5px 5px;
  font-size: 14px;
  cursor: pointer;
  display: none;
}
