@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:ital,wght@0,100..900;1,100..900&display=swap');
@import url("https://use.typekit.net/jso1ioh.css");
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    
}
html{
  scroll-behavior: smooth;
  height: 100%;
}
body {
    overflow-x: hidden;
    background-color: #1f1f1f;
    min-height: 100vh;
    height: 100%;
    display: flex;
  flex-direction: column;
}


body{
  display: flex;
  flex-direction: column;
}


/************** HEADER ******************/
header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
    
}


.logoindex {
    height: auto;
    width: 130px;
}

.navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.navigation li {
    list-style: none;
    color: #ffffff;
}

.navigation li a {
    color: #ffffff;
    text-decoration: none;
    padding: 6px 15px;
    border-radius: 20px;
    font-family: "Inter Tight", sans-serif;
    font-weight: 800;
    font-size: 20px;
}

.navigation li a:hover,
.active {
    background: #d99faa;
    color: #1f1f1f !important;
}

/************** Überschriften ******************/

p{
    font-family: "Inter Tight", sans-serif;
}

#fototext {
    text-align: center;
    color: #fff;
    margin:0 190px 40px;

}


h1,
h2,
h4 {
    text-align: center;
}

h4 {
    animation-delay: 3s;
}

h1 {
    font-family: "mudstone-sans", sans-serif;
    font-weight: 900;
    font-style: normal;
    color: #49458d;
    font-size: 150px;
    margin: 0px 0px 50px 0px;
    
    
}

h1#indexname {
    color: #49458d;
    text-shadow: 2px 2px 5px #1f1f1f 0.3,
        5px 5px 70px #ffffff;
        margin-bottom: 0;
}

h2 {
    font-family: "mudstone-sans", sans-serif;
    color: #d99faa;
    font-size: 130px;
    
    margin-bottom: 50px;
}
.titelhover{
    text-align: left;
}


h2.blue {
    position: absolute;
    color: #9CC4E5;
    width: 50%;
    text-align: center;
}

#about h2 {
    position: relative !important;
    margin-bottom: 50px;
}

#vorstellung h2 {
    margin: 0px;
    text-align: center;
}

h3 {
    font-family: "Inter Tight", sans-serif;
    color: #49458d;;
    font-size: 50px;
    font-weight: 600;
    display: flex;
    justify-content: center;
}


h3.nonschraeg {
    writing-mode: horizontal-tb;
    font-family: "Inter Tight", sans-serif;
    justify-content: center;
    align-items: center;
    display: flex;
    font-size: 50px;
}


h4 {
    font-family: "Inter Tight", sans-serif;
    color: #d99faa;
    font-size: 60px;
}

#hovergallerie{
    font-family: "Inter Tight", sans-serif;
    font-size: 30px;
    color: #4581cb;
}
#grafik{
    font-size: 20px;
    writing-mode: horizontal-tb;
    text-align: center;
    margin-right: 150px;
    margin-left: 150px;
}


/************** Buttons ******************/

 button{
  font-family: "Inter Tight", sans-serif;
  font-size: 20px;          /* kleiner Text */
  font-weight: 700;
  border: 2px solid #d99faa; /* dünner Rand */
  padding: 14px 30px;        /* entscheidend für die Größe */
  border-radius: 999px;
  cursor: pointer;
  background: #d99faa;
  color: #1f1f1f;
  border-color: #d99faa;
}
button:hover{
  background: transparent;
  color: #d99faa;
  border-color: #d99faa;
}






/************** MAIN CONTAINER INDEX ******************/

main.seite {
    margin-top: 160px;
}

#index main section#start1 {
    min-height: 100vh;
}

section#start1 {
  background-image: url(./assets/papier-bg.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

section#about,
section#portfolio,
section#start1,
section#marketing,
section#grafik,
section#weekly,
section#arbeiten {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-bottom: 60px;
}

section#marketing,
section#grafik,
section#weekly,
section#arbeiten {
    justify-content: space-between;
}


#index main section article {
    display: flex;
    justify-content: center;
}

#start1 img {
    width: 250px;
    text-shadow: #1f1f1f;
}





/**************  Eigene Arbeiten ******************/
/* ===== FILM STRIP SLIDER ===== */
/* ===== FILM STRIP SLIDER ===== */
#slider{
  margin: 150px auto;
  width: 110vw;
  overflow: hidden;
  transform: rotate(2deg);
  position: relative;
   margin-left: -5vw;


  /* Film Look */
  background: #0b0b0b;
  padding: 22px 0;
  border-radius: 18px;
}

/* “Löcher” oben/unten */
#slider::before,
#slider::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  height: 14px;
  background:
    radial-gradient(circle, #1f1f1f 55%, transparent 58%) 0 0/28px 14px repeat-x;
  opacity: .9;
  pointer-events:none;
}

#slider::before{ top: 6px; }
#slider::after{ bottom: 6px; }

/* Track der sich bewegt */
#slider .slider-track{
  display:flex;
  gap: 18px;
  align-items:center;
  width: max-content;
  will-change: transform;
  padding: 0 28px;
}

/* Bilder */
#slider img{
  height: 200px;
  width: auto;
  border-radius: 12px;
  display:block;
  object-fit: contain;
  background: #111; /* wenn PNG transparent etc */
}
#slider .slider-track{
  padding: 0;           /* KEIN seitlicher Abstand */
}

#zeichnung {
    margin: 0 15vw;
    display: flex;
    justify-content: center;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    transition: 0.3s;

}

#zeichnung img {
    margin: 10px;

}

#zeichnung img:hover {
    background-color: #9CC4E5;
}

#nachname {
    z-index: -2;
}







/************** schräge Texte ******************/

.schraeg {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-bottom: 140px;
    margin-top: 100px;
}

.schraeg img {
    width: auto;
    height: 300px;
    margin: 10px;
}

.schraeg img:hover {
    filter: drop-shadow(#4581cb);
}


/************** schräge Texte ******************/



#w1 {
    height: auto;
    width: 300px;

    justify-content: space-between;

}

#w2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

}

#w2 img {
    margin: 10px;
}

#video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

#vorstellung {
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    align-items: center;

}

#vorstellung p {
    margin: 0px 0px 100px;
}

#portrait {
    height: auto;
    width: 450px;
    display: flex;
    justify-content: center;

}

#bildrechts,
#bildlinks {
    position: absolute;
    z-index: 9999;
    height: auto;
    width: 300px;
}


.last {
    margin-bottom: 300px;
}


/*********** Footer ***************/

footer {
    color: #ffa7a7;
    padding: 30px 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #49458d;
    margin-top: 50px;
    font-family: 'Poppins', sans-serif;
    text-align: center;
}


#fusszeilenamen {
    color: #ffffff;
    display: flex;
    justify-content: flex-start;
    text-align: right;

}

.impressum p {
    width: 200px;
}


/**********animation***********/

.animate__animated {
    animation-delay: 1s;
    animation-duration: 2s;
}


/********************foto hover marketing/ Illustration***********/
.container {
    position: relative;    
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    transform-style: preserve-3d;
    perspective: 500px;
    margin-left: 50px;
    margin-bottom: 80px;
  }
  .container .box {
    position: relative;
    width: 275px;
    height: 275px;
    background: #000;
    transition: 0.5s;
    transform-style: preserve-3d;
    overflow: hidden;
    margin-right: 15px;
    margin-top: 45px;
  }
  .container:hover .box {
    transform: rotateY(25deg);
  }
  .container .box:hover ~ .box {
    transform: rotateY(-25deg);
  }
  .container .box:hover {
    transform: rotateY(0deg) scale(1.25);
    z-index: 1;
    box-shadow: 0 25px 40px rgba(0,0,0,0.5);
  }
  .container .box .imgBx {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  .container .box .imgBx:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,rgb(172, 215, 255),#000);
    z-index: 1;
    opacity: 0;
    transition: 0.5s;
    mix-blend-mode: multiply;
  }
  .container .box:hover .imgBx:before {
    opacity: 1;
  }
  .container .box .imgBx img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .container .box .content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100%;
    z-index: 1;
    display: flex;
    padding: 20px;
    align-items: flex-end;
    box-sizing: border-box;
  }
  .container .box .content h2 {
    color: #fff;
    transition: 0.5s;
    text-transform: uppercase;
    margin-bottom: 5px;
    font-size: 18px;
    transform: translateY(250px);
    transition-delay: 0.2s;
  }
  .container .box:hover .content h2 {
    transform: translateY(0px);
  }
  .container .box .content p {
    color: #fff;
    transition: 0.5s;
    font-size: 13px;
    transform: translateY(250px);
    transition-delay: 0.3s;
  }
  .container .box:hover .content p {
    transform: translateY(0px);
  }
  /***********************fotogalerie hover eigene arbeiten*********/
  @import url(https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css);
  @import url(https://fonts.googleapis.com/css?family=Raleway:400,500,800);
  /* === GALERIE LAYOUT (für dein bestehendes #zeichnung) === */
#zeichnung {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 Spalten */
  gap: 10px; /* Abstand zwischen Bildern */
  max-width: 1400px; /* nutzt mehr Seitenbreite */
  margin: 40px auto; /* zentriert */
  padding: 0 20px;
}

/* Wichtig: alte Breitenbegrenzung entfernen */
figure.snip1321 {
  margin: 0; /* Grid übernimmt Abstand */
  min-width: 0;
  max-width: 100%; /* war 315px → entfernen */
  width: 100%;
}

/* Bilder sauber skalieren */
figure.snip1321 img {
  width: 100%;
  height: auto;
  display: block;
}
  figure.snip1321 figcaption {
    top: 50%;
    left: 20px;
    right: 20px;
    position: absolute;
    opacity: 0;
    z-index: 1;
  }
  figure.snip1321 h2,
  figure.snip1321 h4 {
    margin: 0;
  }
  figure.snip1321 h2 {
    font-weight: 600;
  }
  figure.snip1321 h4 {
    font-weight: 400;
    text-transform: uppercase;
  }
  figure.snip1321 i {
    font-size: 32px;
  }
  figure.snip1321:after {
    background-color: #151b28;
    position: absolute;
    content: "";
    display: block;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
    -webkit-transform: rotateX(-90deg);
    transform: rotateX(-90deg);
    -webkit-transform-origin: 50% 50%;
    -ms-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    opacity: 0;
  }
  figure.snip1321 a {
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    position: absolute;
    z-index: 1;
  }
  @media (max-width: 992px) {
  #zeichnung {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  #zeichnung {
    grid-template-columns: 1fr;
  }
}

  #myBtn {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed/sticky position */
    bottom: 20px; /* Place the button at the bottom of the page */
    right: 30px; /* Place the button 30px from the right */
    z-index: 9999; /* Make sure it does not overlap */
    border: none; /* Remove borders */
    outline: none; /* Remove outline */
    background-color: var(#4581cb); /* Set a background color */
    cursor: pointer; /* Add a mouse pointer on hover */
    padding: 10px 10px; /* Some padding */
    line-height: 1;
    border-radius: 8px; /* Rounded corners */
    height: 60px;
    font-size: 30px;
  }
  #myBtn:hover {
    background-color: #555; /* Add a dark-grey background on hover */
  }
  

  /* width */
::-webkit-scrollbar {
    width: 17px;
  }
  
  /* Track */
  ::-webkit-scrollbar-track {
    background: #1f1f1f; 
  }
   
  /* Handle */
  ::-webkit-scrollbar-thumb {
    background: rgb(172, 215, 255);
  }
  
  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
    background: rgb(172, 215, 255);
  }

 #about { overflow: hidden; }

#about .marquee{
  width: 100%;
  overflow: hidden;
}

#about .marquee-track{
  display: flex;
  width: max-content;
  animation: marquee-about 18s linear infinite;
}

#about .marquee-track h2{
  text-shadow: 2px 2px 5px rgba(0,0,0,0.3),
               5px 5px 70px rgba(255,255,255,0.12);
  white-space: nowrap;
  margin-right: 80px;
}
@keyframes marquee-about{
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}



#about{
  padding-bottom: 20px;   /* weniger Abstand nach unten */
}

/* ===== PORTFOLIO (nur einmal!) ===== */
#portfolio{
  display: flex;
  flex-direction: column;
  gap: 10pxpx;
  padding: 20px 0 80px;
}

#portfolio h1{
  margin: 0 0 24px 0;
}

#portfolio .cat{
  width: 100%;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: grayscale(1);
  transition: filter .35s ease;
  text-decoration: none;
  
}

#portfolio .cat:hover{
  filter: grayscale(0);
  
}

#portfolio .cat span{
  font-family: "mudstone-sans", sans-serif;
  font-size: 48px;
  color: #fff;
  text-shadow: none;
  letter-spacing: 2px;
}

#work{
  padding: 120px 6vw 80px;
}

.filters{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 20px 0 40px;
}

.filters .filter{
  padding: 10px 18px;
  border-radius: 999px;
  border: 2px solid #d99faa;
  background: transparent;
  color: #d99faa;
  font-weight: 800;
  cursor: pointer;
}

.filters .filter.active{
  background: #d99faa;
  color: #1f1f1f;
}

.gallery{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  
}

@media (max-width: 1000px){
  .gallery{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 650px){
  .gallery{ grid-template-columns: 1fr; }
}

.card{
  position: relative;
  overflow: hidden;
  display: block;
  text-decoration: none;
}

.card img{
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
  filter: grayscale(1);
  transform: scale(1);
  transition: transform .35s ease, filter .35s ease;
}

.card .card-text{
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  opacity: 0;
  transition: opacity .35s ease;
  background: linear-gradient(to top, rgba(0,0,0,.75), rgba(0,0,0,0));
}

.card h3{
  color: #fff;
  font-size: 22px;
  margin: 0;
  text-align: left;

}

.card p{
  color: #fff;
  margin: 6px 0 0;
  font-weight: 600;
  text-align: left;
}

.card:hover img{
  filter: grayscale(0);
  transform: scale(1.05);
}

.card:hover .card-text{
  opacity: 1;
}

/*kjhdfiukjsdhfiuskdjhfisdkjhfiusdkjhfiudhf

/* ===== ABOUT ME PAGE (komplett) ===== */
.aboutme{ background:#1f1f1f; padding-top:120px; }

/* Buttons für <a class="button"> */
.button{
  font-family:"Inter Tight",sans-serif;
  font-weight:800;
  padding:12px 22px;
  border-radius:999px;
  border:2px solid #d99faa;
  background:#d99faa;
  color:#1f1f1f;
  text-decoration:none;
  display:inline-block;
}
.button:hover{ background:transparent; color:#d99faa; }
.button.ghost{ background:transparent; color:#d99faa; }
.button.ghost:hover{ background:#d99faa; color:#1f1f1f; }

/* HERO */
.about-hero{ padding:40px 6vw 60px; }
.about-hero-inner{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:40px;
  align-items:center;
  max-width:1200px;
  margin:0 auto;
}
/* ===== HERO TEXT AUSRICHEN ===== */
.hero-left{
  text-align: left;
  max-width: 520px;   /* gleiche Startlinie für alle Texte */
}

/* Überschriften & Text im Hero links */
.about-hero h1,
.about-hero h2,
.about-hero p{
  text-align: left;
}

/* Pills & Buttons links halten */
.pill-row,
.cta-row{
  justify-content: flex-start;
}
.kicker
{ 
  color:#d99faa; 
  font-weight:800; 
  letter-spacing:3px; 
  margin-bottom:px;
 }


.about-title{ margin:0 0 12px 0; font-size:90px; color:#49458d; text-shadow:none; }

.about-sub{ 
  color:#000000; 
  opacity:.85; 
  max-width:52ch; 
  line-height:1.5; 
  margin-bottom:18px; 
}

.pill-row{ display:flex; flex-wrap:wrap; gap:10px; margin:14px 0 24px; }
.pill{
  border:2px solid #49458d;
  color:#49458d;
  padding:6px 12px;
  border-radius:999px;
  font-weight:800;
  font-size:14px;
  transition:transform .25s ease;
  font-family:"Inter Tight",sans-serif;
}
.pill:hover{ transform:translateY(-2px); }
.cta-row{ display:flex; gap:12px; flex-wrap:wrap; }

.portrait-card{
  border-radius:22px;
  overflow:hidden;
  position:relative;
  border:2px solid rgba(217,159,170,.35);
}
.portrait-card img{
  width:100%;
  height:360px;
  object-fit:cover;
  display:block;

  /* IMMER FARBE */
  filter: none;
  transform: none;
}

.portrait-tag{
  position:absolute;
  right:14px;
  bottom:14px;
  background:rgba(31,31,31,.75);
  color:#fff !important;
  padding:8px 12px;
  border-radius:999px;
  font-weight:700;
  font-size:14px;
}
.mini-cards{ 
  display:grid; 
  grid-template-columns:1fr 1fr; 
  gap:12px; 
  margin-top:12px; 
  
}

.mini-card{ border:2px solid #49458d; border-radius:18px; padding:14px; }
.mini-title{ color:#49458d; font-weight:800; margin-bottom:8px; }
.mini-value{ color:#49458d; opacity:.85; line-height:1.3; }

/* BAND */
.about-band{
  overflow:hidden;
  border-top:2px solid rgba(73,69,141,.35);
  border-bottom:2px solid rgba(73,69,141,.35);
}
.band-track{
  display:flex;
  gap:40px;
  white-space:nowrap;
  padding:14px 0;
  animation:bandMove 18s linear infinite;
}
.band-track span{
  color:#d99faa;
  font-weight:900;
  letter-spacing:6px;
  font-size:16px;
 font-family: "mudstone-sans", sans-serif;
}
@keyframes bandMove{ from{transform:translateX(0)} to{transform:translateX(-33.33%)} }


/* Layout sections */
.about-grid2{
  
  padding:70px 2vw 20px;
  display:grid;
  grid-template-columns:1fr 1fr 1fr ;
  gap:22px;
}
.about-wide{

  padding:22px 2vw;
}

.glass{
  border-radius:22px;
  border:2px solid rgba(217,159,170,.25);
  padding:26px;
  background:rgba(255,255,255,.02);
}

/* Layout sections */
.about-grid{
  
  padding:70px 6vw 20px;
  display:grid;
  grid-template-columns:1fr 1fr  ;
  gap:22px;
}
.about-wide{

  padding:22px 12vw;
}

.glass{
  border-radius:22px;
  border:2px solid rgba(217,159,170,.25);
  padding:26px;
  background:rgba(255,255,255,.02);
}
/* Titel / Text */
.small-title{
  font-family:"Inter Tight",sans-serif;
  font-size:26px;
  color:#d99faa;
  text-shadow:none;
  margin:0 0 14px 0;
  text-align:left;
}
.muted{
  color:rgba(255,255,255,.82);
  line-height:1.55;
  margin:0 0 10px 0;
  text-align:left;
}

/* Card animation (simple + nice) */
.card-anim{ transform:translateY(10px); opacity:0; animation:cardIn .7s ease forwards; }
.card-anim:nth-child(2){ animation-delay:.08s; }
.card-anim:nth-child(3){ animation-delay:.16s; }
@keyframes cardIn{ to{ transform:translateY(0); opacity:1; } }
.glass:hover{ transform:translateY(-4px); transition:transform .25s ease; }

/* Facts */
.facts{ margin-top:16px; display:grid; gap:10px; }
.fact{
  display:flex;
  justify-content:space-between;
  gap:14px;
  padding:12px 14px;
  border-radius:16px;
  border:2px solid rgba(156,196,229,.25);
}
.fact-k{ color:#9CC4E5; font-weight:900; margin:0; }
.fact-v{ color:#fff !important; opacity:.9; font-weight:700; margin:0; }

/* Hobbys chips */
.chips{ display:flex; flex-wrap:wrap; gap:10px; margin-top:10px; }
.chip{
  border:2px solid rgba(73,69,141,.45);
  color:#9CC4E5;
  padding:7px 12px;
  border-radius:999px;
  font-weight:800;
  font-family:"Inter Tight",sans-serif;
  font-size:14px;
  transition:transform .25s ease, background .25s ease, color .25s ease;
}
.chip:hover{
  transform:translateY(-2px) rotate(-1deg);
  background:rgba(217,159,170,.22);
  color:#fff !important;
}

/* Skills bars */
.skill-list{ display:grid; gap:14px; margin-top:8px; }
.skill-head{
  display:flex;
  justify-content:space-between;
  gap:10px;
  color:rgba(255,255,255,.9);
  font-family:"Inter Tight",sans-serif;
  font-weight:800;
  font-size:14px;
}
.pct{ color:#9CC4E5; }
.bar{
  height:12px;
  border-radius:999px;
  border:2px solid rgba(156,196,229,.25);
  overflow:hidden;
  margin-top:8px;
  background:rgba(255,255,255,.02);
}
.bar i{
  display:block;
  height:100%;
  width:0;
  border-radius:999px;
  background:linear-gradient(90deg, rgba(73,69,141,.9), rgba(217,159,170,.9));
  animation:fill 1.1s ease forwards;
}
.skill:nth-child(1) .bar i{ animation-delay:.15s; }
.skill:nth-child(2) .bar i{ animation-delay:.25s; }
.skill:nth-child(3) .bar i{ animation-delay:.35s; }
.skill:nth-child(4) .bar i{ animation-delay:.45s; }
.skill:nth-child(5) .bar i{ animation-delay:.55s; }
@keyframes fill{ to{ width:var(--w); } }

.tool-badges{ display:flex; flex-wrap:wrap; gap:10px; margin-top:18px; }
.badge{
  border:2px solid rgba(217,159,170,.35);
  color:#d99faa;
  padding:7px 12px;
  border-radius:14px;
  font-weight:900;
  font-family:"Inter Tight",sans-serif;
  letter-spacing:1px;
  transition:transform .25s ease;
}
.badge:hover{ transform:translateY(-2px); }

/* Timeline */
.timeline .tl{ margin-top:10px; position:relative; }
.timeline .tl:before{
  content:"";
  position:absolute;
  left:10px;
  top:6px;
  bottom:6px;
  width:2px;
  background:rgba(73,69,141,.35);
  transform:scaleY(0);
  transform-origin:top;
  animation:lineIn .9s ease forwards .2s;
}
@keyframes lineIn{ to{ transform:scaleY(1); } }

.tl-item{ display:grid; grid-template-columns:22px 1fr; gap:14px; padding:10px 0; }
.tl-dot{
  width:12px; height:12px; border-radius:999px; background:#49458d;
  margin-top:6px; transform:scale(0); animation:dotIn .4s ease forwards;
}
.tl-item:nth-child(1) .tl-dot{ animation-delay:.25s; }
.tl-item:nth-child(2) .tl-dot{ animation-delay:.35s; }
.tl-item:nth-child(3) .tl-dot{ animation-delay:.45s; }
@keyframes dotIn{ to{ transform:scale(1); } }

.tl-title{
  margin:0 0 6px 0;
  color:#9CC4E5;
  font-weight:900;
  font-family:"Inter Tight",sans-serif;
  text-align:left;
}

/* Feature tiles */
.about-feature{
  max-width:1200px;
  margin:0 auto;
  padding:30px 6vw 70px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:22px;
}
.feature{
  border-radius:22px;
  overflow:hidden;
  min-height:220px;
  display:flex;
  align-items:flex-end;
  text-decoration:none;
  background-image:var(--bg);
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  filter:grayscale(1);
  transition:filter .35s ease, transform .35s ease;
}
.feature:hover{ filter:grayscale(0); transform:scale(1.01); }
.feature-inner{
  width:100%;
  padding:18px;
  background:linear-gradient(to top, rgba(0,0,0,.72), rgba(0,0,0,0));
}
.feature-k{ color:#9CC4E5; font-weight:900; margin:0 0 6px 0; }
.feature-t{ color:#fff !important; font-size:34px; margin:0 0 6px 0; text-shadow:none; }
.feature-p{ color:#fff !important; opacity:.85; margin:0; }

/* CTA */
.about-cta{ padding:0 6vw 90px; }
.cta-card{
  max-width:1200px;
  margin:0 auto;
  border-radius:22px;
  border:2px solid rgba(217,159,170,.25);
  padding:34px;
}
.cta-title{
  font-family:"mudstone-sans",sans-serif;
  color:#d99faa;
  text-shadow:none;
  font-size:54px;
  margin:0 0 10px 0;
  text-align:left;
}
.cta-text{ color:#fff !important; opacity:.85; margin:0 0 18px 0; }

/* Responsive */
@media (max-width:980px){
  .about-hero-inner{ grid-template-columns:1fr; }
  .about-title{ font-size:64px; }
  .about-grid{ grid-template-columns:1fr; }
  .about-feature{ grid-template-columns:1fr; }
  .mini-cards{ grid-template-columns:1fr; }
}

.about-hero{
  padding-top: 180px;   /* nur für Inhalt (Nav-Höhe) */
  padding-bottom: 60px;

  background-image: url("./assets/papier-bg.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Overlay damit Text lesbar bleibt */

/* Inhalt über Overlay */
.about-hero-inner{
  position: relative;
  z-index: 1;
}

/* ABOUT: kein Abstand nach oben */
main.seite{ margin-top: 0 !important; }
.aboutme{ padding-top: 0 !important; }

/*dshfiusajkdhfuiewskdhf9weurisdkjfhwec98dsunifiosldhjfiuskdjhfieupsdkfhiapsdfh

/* ===== SIMPLE CONTACT PAGE ===== */

.contact-simple {
  flex: 1;
  padding-top: 240px;   /* weiter nach unten */
  padding-bottom: 80px;
  padding-right: 50%;
  display: flex;
  flex-direction: column;
  align-items: left;
  text-align: left;
  padding-left: 25%;

}

.contact-simple h1{
  font-size: 80px;
  color: #49458d;
  margin-bottom: 20px;
  display: flex;
  text-align: left;
  

}

.contact-text{
  max-width: 420px;
  color: #fff;
  opacity: .85;
  margin-bottom: 40px;
  

}

.contact-links{
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  

}

.contact-item{
  font-family: "Inter Tight", sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: #d99faa;
  text-decoration: none;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid rgba(217,159,170,.5);
  transition: transform .25s ease, background .25s ease;
   display: inline-flex;
  align-items: center;
}

.contact-item:hover{
  transform: translateY(-3px);
  background: rgba(217,159,170,.15);
}

.contact-item.muted{
  border: none;
  color: rgba(255,255,255,.6);
  cursor: default;
}

.contact-simple{
  flex: 1;          /* schiebt Footer nach unten */
}


/* ===== PROJECT PAGE ===== */

.project-page{
  padding-top: 200px;
  padding-bottom: 80px;
}

/* HERO */
.project-hero{
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 6vw 60px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Zurück-Link */
.back-link{
  font-family: "Inter Tight", sans-serif;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 2px;
  color: #d99faa;
  text-decoration: none;
  margin-bottom: 20px;
  transition: transform .2s ease, opacity .2s ease;
}

.back-link:hover{
  transform: translateX(-4px);
  opacity: .8;
}

/* Titel */
.project-title{
  font-family: "mudstone-sans", sans-serif;
  font-size: 96px;
  color: #49458d;
  margin: 0 0 14px 0;
  text-align: left;
}

/* Meta */
.project-meta{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.meta-pill{
  border: 2px solid rgba(73,69,141,.45);
  color: #9CC4E5;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: "Inter Tight", sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1px;
}

/* Intro */
.project-intro{
  max-width: 70ch;
  color: rgba(255,255,255,.85);
  line-height: 1.6;
  margin-bottom: 22px;
}

/* Buttons */
.project-actions{
  display: flex;
  gap: 12px;
}

/* Divider */
.divider{
  max-width: 1100px;
  margin: 0 auto 60px;
  border: none;
  border-top: 2px solid rgba(217,159,170,.25);
}

/* CONTENT */
.project-content{
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 6vw;
}

.section-title{
  font-family: "Inter Tight", sans-serif;
  font-size: 26px;
  color: #d99faa;
  margin-bottom: 20px;
  text-align: left;
}

/* Galerie */
.project-gallery{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.project-gallery img{
  width: 100%;
  height: 340px;
  object-fit: cover;
  
 
}


/* Responsive */
@media (max-width: 900px){

  body{ position: relative; }

  .project-title{ font-size: 64px; }
  .project-gallery{ grid-template-columns: 1fr; }
}

/* ===== PROJECT: Text + Cards links (überschreibt globales Centering) ===== */
.project-page,
.project-page *{
  text-align: left; /* killt dein globales h2/h3/p centering NUR hier */
}

.project-content{
  margin-top: 10px;
}

/* Grid für Aufgabe/Ziel/… */
.text-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 16px;
}

/* Card Look */
.text-card{
  border-radius: 22px;
  border: 2px solid rgba(217,159,170,.22);
  background: rgba(255,255,255,.02);
  padding: 20px 22px;
  transition: transform .25s ease, border-color .25s ease;
}

.text-card:hover{
  transform: translateY(-3px);
  border-color: rgba(217,159,170,.45);
}

.mini-heading{
  font-family: "Inter Tight", sans-serif;
  font-weight: 900;
  font-size: 18px;
  margin: 0 0 10px 0;
  color: #d99faa;
  text-shadow: none;
}

.text-card p{
  margin: 0;
  color: rgba(255,255,255,.84);
  line-height: 1.6;
  font-family: "Inter Tight", sans-serif;
}

/* Responsive */
@media (max-width: 900px){

  body{ position: relative; }

  .text-grid{ grid-template-columns: 1fr; }
}

/* ===== PROJECT PAGE MODERN HERO ===== */
.project-page{
  padding: 140px 6vw 80px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Back link oben links */
.back-link{
  display: inline-flex;
  gap: 8px;
  align-items: left;
  color: rgba(217,159,170,.9);
  text-decoration: none;
  font-family: "Inter Tight", sans-serif;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 22px;
}
.back-link:hover{ text-decoration: underline; }

/* 2 Spalten Hero */


/* Titel links bündig */
.project-title{
  text-align: left;
  margin: 0 0 16px 0;
  color: #49458d;
  font-size: clamp(48px, 5vw, 76px);
  line-height: 1.02;
  text-shadow: none;
}

/* Meta pills kleiner + links */
.project-meta{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin: 0 0 14px 0;
}
.meta-pill{
  font-family: "Inter Tight", sans-serif;
  font-weight: 800;
  font-size: 12px;               /* kleiner */
  padding: 6px 10px;
  border-radius: 999px;
  border: 2px solid rgba(73,69,141,.55);
  color: rgba(156,196,229,1);
  background: rgba(255,255,255,.02);
}

/* Intro links */
.project-intro{
  text-align: left;
  color: rgba(255,255,255,.85);
  line-height: 1.6;
  max-width: 62ch;
  margin: 0 0 18px 0;
}

/* Hero Bild modern */
.project-hero-image{
  border-radius: 22px;
  overflow: hidden;
  border: 2px solid rgba(217,159,170,.35);
  background: rgba(255,255,255,.02);
 
}
.project-hero-image img{
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}


/* Divider */
.divider{
  border: none;
  height: 2px;
  margin: 36px 0 30px;
  background: rgba(217,159,170,.25);
}

/* Unterkategorien/Section-Titel links */
.section-title{
  text-align: left;
  color: #d99faa;
  font-size: 34px;
  margin: 0 0 18px 0;
  text-shadow: none;
}

/* Allgemein: alle h2/h3 in Projektseite links */
.project-page h2,
.project-page h3,
.project-page p{
  text-align: left;
}

/* Responsive */
@media (max-width: 980px){
  .project-hero-grid{ grid-template-columns: 1fr; }
  .project-hero-image img{ height: 320px; }
}

/* PROJECT: Übertitel in den Text-Cards LINKS statt flex-centered */
.project-page .text-card .mini-heading{
  display: block !important;        /* killt flex von h3 */
  justify-content: unset !important;/* sicherheit */
  text-align: left !important;
  margin-left: 0;
}

/* =====================================
   PROJECT PAGES – EXTRA BREIT (GLOBAL)
   betrifft NUR Projektseiten
===================================== */

/* Gesamte Projektseite breiter */
.project-page{
  max-width: 1700px;      /* Gesamtbreite */
  padding-left: 7vw;      /* weniger enger Rand */
  padding-right: 7vw;
  margin: 0 auto;
}

/* Hero + Content dürfen volle Breite nutzen */
.project-hero,
.project-content{
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

/* Text NICHT künstlich begrenzen */
.project-intro,
.text-grid{
  max-width: none;
}

/* Gallery breiter & luftiger */
.project-gallery{
  grid-template-columns: repeat(3, 1fr);
}

/* Extra breite Screens */
@media (min-width: 1400px){
  .project-gallery{
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Header ist absolute -> Content braucht Platz nach oben */
.project-page{
  padding-top: 240px;  /* höher machen bis es passt (z.B. 220–280) */
}


/* ===== PROJECT PDF EMBED – SEITENINTEGRIERT ===== */
.pdf-box{
  width: 100%;
  margin: 40px 0 20px;
}

.pdf-box iframe{
  width: 100%;
  height: 70vh;              /* fast volle Viewport-Höhe */
  border: none;
  border-radius: 22px;
  background: #111;
}



/* KUNTERBUNT: Gallery breiter -> 2 Spalten */
.project-page .project-gallery{
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 18px;
}

/* GLOBAL: Bilder in Projekt-Galerien -> fixe Höhe, Breite automatisch (kein Verzerren, kein Croppen) */
.project-page .project-gallery{
  display: flex !important;
  flex-wrap: wrap;
  gap: 18px;
  align-items: flex-start;
}

.project-page .project-gallery img{
  height: 340px;          /* deine fixe Höhe */
  width: auto;            /* Breite passt sich ans Original an */
  object-fit: contain;    /* kein Abschneiden */
  border-radius: 18px;
  display: block;
  max-width: 100%;        /* verhindert overflow auf mobile */
}

p {
  color: #fff;
  line-height: 1.6;
}

.project-video{
  height: 340px;          /* gleiche Höhe wie Bilder */
  width: auto;
  border-radius: 18px;
  object-fit: contain;    /* KEIN Abschneiden */
  display: block;
  background: #111;
}
ul li{
  color: #fff;
  font-family: "Inter Tight", sans-serif;
  margin-left: 20px;
  line-height: 2;
}

/* ===== Portrait: Trait folgt der Maus ===== */
.portrait-follow{
  position: relative;
  width: 320px;
  margin: 0 auto;
  border-radius: 22px;
  overflow: hidden;
}

.portrait-follow img{
  width: 100%;
  display: block;
  border-radius: 22px;
}

/* Bubble/Tooltip */
.trait-bubble{
  position: absolute;
  left: 0;
  top: 0;
  transform: translate(-50%, -50%);
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(217,159,170,.95);
  color: #1f1f1f;
  font-family: "Inter Tight", sans-serif;
  font-weight: 900;
  font-size: 14px;
  white-space: nowrap;
  pointer-events: none;

  opacity: 0;
  transition: opacity .2s ease, transform .08s linear;
  z-index: 5;
}

/* Beim Hover sichtbar */
.portrait-follow:hover .trait-bubble{
  opacity: 1;
}

/* Custom cursor label */
#cursor-label {
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9999;

  padding: 10px 12px;
  border-radius: 999px;

  font-size: 14px;
  line-height: 1;
  white-space: nowrap;

  /* Look (neutral – kannst du easy anpassen) */
  background: rgba(217,159,170,.9);
  color: #fff;
  backdrop-filter: blur(6px);
  font-family: "Inter Tight", sans-serif;

  /* Smooth movement */
  transition: opacity 0.15s ease, transform 0.12s ease;
  opacity: 0;
}

/* Optional: kleiner "Pop" beim Hover */
#cursor-label.is-hover {
  transform: translate(-50%, -50%) scale(1.06);
}

/* Optional: Hide on touch devices */
@media (hover: none) and (pointer: coarse) {
  #cursor-label {
    display: none;
  }
}




/******************************************** */
#start1 {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

#start1 img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.back {
  z-index: 1;
}

.front {
  z-index: 2;
  pointer-events: none; /* wichtig */
}

#startseite-passions {
  padding-top: 100px;
}

#startseite-passions h3 {
color: #49458d;
font-family: "mudstone-sans";
font-size: 130px;

}

.passion-card{
  padding: 0;              /* kein Innenabstand */
  overflow: hidden;
  border-radius: 22px;
}

.passion-img{
  position: relative;
  width: 100%;
  height: 260px;           /* ALLE gleich groß */
  overflow: hidden;
}

.passion-img img{
  width: 100%;
  height: 100%;
  object-fit: cover;       /* kein Verzerren */
  display: block;
  transition: transform .4s ease;
}

.passion-title{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "mudstone-sans", sans-serif;
  font-size: 28px;
  color: #fff;
  background: rgba(0,0,0,.35);
  text-align: center;
  padding: 20px;
  transition: background .3s ease;
}

.passion-card:hover img{
  transform: scale(1.05);
}

.passion-card:hover .passion-title{
  background: rgba(0,0,0,.55);
}

 .gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px; /* Abstand zwischen Bildern */
  padding-left: 8rem;
  padding-right: 8rem;
}

.item {
  position: relative;
  width: 100%;
  aspect-ratio: 5 / 4; /* Seitenverhältnis 4:5 */
  overflow: hidden;
}

.item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%); /* Standard schwarz-weiß */
  transition: filter 0.5s ease; /* sanfter Übergang */
}

.item:hover img {
  filter: grayscale(0%); /* beim Hover farbig */
}


.item p {
  position: absolute;
  bottom: 50%; /* Text unten auf dem Bild */
  left: 0;
  width: 100%;
  margin: 0;
  padding: 8px 12px; /* Platz um den Text */
  
  color: #ffffff;
  font-size: 30px;
  font-weight: bold;
  text-align: center;

  text-shadow: 2px 2px 4px rgba(0,0,0,0.7); /* leichter Schatten */
  
  
}

 #img-contact{
  height: 800px;
  position:fixed;
  right: 120px;
  bottom: 60px;
  z-index: -20;

 }

/* Button links oben */


 .impressum{
  height: 200px;
 }
 
 .white-text{
  color: #000;
 }

 #contact-h1{
  padding-top: none;
 }

/* =========================================================
   MOBILE RESPONSIVE (ERSATZ-BLOCK)
   -> Ersetzt deinen kompletten @media (max-width:900px) Block
   -> Desktop bleibt unverändert
   ========================================================= */

/* Burger auf Desktop sicher aus */
.nav-toggle{ display:none !important; }

/* Filter Toggle Desktop aus */
.filters-toggle{ display:none; }

@media (max-width: 900px){

  /* --------- Grundsätzlich: kein horizontaler overflow --------- */
  html, body{
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
  }

  img, video, iframe{
    max-width: 100%;
    height: auto;
  }

  /* --------- HEADER (fixed, compact) --------- */
  header{
    position: fixed !important;
    top: 0; left: 0;
    width: 100%;
    padding: 14px 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    z-index: 10000 !important;
  }

  .logoindex{ width: 96px !important; }

  /* --------- Burger Button (rechts, Hamburger -> X) --------- */
  .nav-toggle{
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;

    width: 46px !important;
    height: 46px !important;
    margin-left: auto !important;

    border: 2px solid rgba(217,159,170,.65) !important;
    border-radius: 999px !important;
    background: rgba(31,31,31,.35) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;

    padding: 0 !important;
    cursor: pointer !important;
    -webkit-tap-highlight-color: transparent !important;
  }

  .nav-toggle span{
    display: block !important;
    width: 22px !important;
    height: 2px !important;
    background: #fff !important;
    border-radius: 99px !important;
    transition: transform .25s ease, opacity .2s ease !important;
  }

  body.nav-open .nav-toggle span:nth-child(1){
    transform: translateY(8px) rotate(45deg) !important;
  }
  body.nav-open .nav-toggle span:nth-child(2){
    opacity: 0 !important;
  }
  body.nav-open .nav-toggle span:nth-child(3){
    transform: translateY(-8px) rotate(-45deg) !important;
  }

  /* Backdrop */
  body.nav-open::before{
    content:"" !important;
    position: fixed !important;
    inset: 0 !important;
    background: rgba(0,0,0,.35) !important;
    z-index: 9998 !important;
  }

  /* --------- NAV Drawer --------- */
  header nav{ position: static !important; }

  .navigation{
    position: fixed !important;
    top: 0 !important;
    right: -110% !important;
    height: 100vh !important;
    width: min(82vw, 340px) !important;

    padding: 92px 18px 24px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 14px !important;

    background: rgba(73,69,141,.98) !important;
    z-index: 9999 !important;
    transition: right .28s ease !important;
  }

  body.nav-open .navigation{ right: 0 !important; }

  .navigation li a{
    font-size: 22px !important;
    padding: 10px 14px !important;
    border-radius: 999px !important;
    color: #fff !important;
  }

  /* --------- INDEX: Startbild + Marquee --------- */
  #start1{ height: 85vh !important; }

  /* Mobile Front Bild austauschen */
  #start1 .front{
    content: url("./assets/papier-bg-front-mobile.jpg");
  }

  #about .marquee-track h2{
    font-size: clamp(44px, 9vw, 78px) !important;
    margin-right: 40px !important;
  }

  #about .button, #about button{
    font-size: 18px !important;
    padding: 14px 28px !important;
  }

  /* --------- FOOTER: rechtsbündig, untereinander --------- */
  footer{
    padding: 26px 18px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    gap: 10px !important;
    text-align: right !important;
  }
  .impressum p{ width: auto !important; }

  /* --------- MY WORK: Filter als Dropdown --------- */
  .filters-toggle{
    display: inline-flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;

    width: calc(100% - 2.4rem) !important;
    margin: 10px auto 12px !important;

    padding: 12px 16px !important;
    border-radius: 999px !important;
    border: 2px solid rgba(217,159,170,.65) !important;
    background: rgba(31,31,31,.35) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;

    color: #d99faa !important;
    font-family: "Inter Tight", sans-serif !important;
    font-weight: 900 !important;
    font-size: 16px !important;
    cursor: pointer !important;
  }

  .filters-toggle::after{
    content:"▾" !important;
    font-size: 18px !important;
    transition: transform .2s ease !important;
  }

  body.filters-open .filters-toggle::after{
    transform: rotate(180deg) !important;
  }

  /* Filter Liste standard: zu */
  .filters{
    display: none !important;
    width: calc(100% - 2.4rem) !important;
    margin: 0 auto 14px !important;

    padding: 12px 12px !important;
    border-radius: 18px !important;
    border: 2px solid rgba(217,159,170,.22) !important;
    background: rgba(73,69,141,.18) !important;

    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 10px !important;

    overflow: hidden !important;
  }

  body.filters-open .filters{
    display: flex !important;
  }

  .filters .filter{
    font-size: 14px !important;
    padding: 10px 14px !important;
    white-space: nowrap !important;
  }

  /* --------- MY WORK: Gallery 1 Spalte --------- */
  .gallery{
    grid-template-columns: 1fr !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .card img{
    height: 280px !important;
  }

  /* --------- Slider: overflow fix (Rotation raus) --------- */
  #slider{
    width: 100% !important;
    margin-left: 0 !important;
    transform: none !important;
  }

  #slider img{ height: 240px !important; }

  /* --------- ZEICHNUNGEN Text: sauber lesbar --------- */
  #fototext{
    margin: 0 18px 40px !important;
    max-width: 70ch !important;
    text-align: center !important;
    hyphens: auto !important;
    overflow-wrap: break-word !important;
  }

  /* --------- CONTACT: Zentriert + Bild nicht fixed --------- */
  .contact-simple{
    padding-top: 170px !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
    align-items: center !important;
    text-align: center !important;
  }

  .contact-simple h1{
    text-align: center !important;
    font-size: clamp(48px, 10vw, 72px) !important;
  }

  .contact-links{
    width: 100% !important;
    align-items: center !important;
  }

  .contact-item{
    font-size: 16px !important;
    padding: 12px 18px !important;
    max-width: 100% !important;
    justify-content: center !important;
  }

  #img-contact{
    position: absolute !important;
    right: -10px !important;
    bottom: -60px !important;
    height: 420px !important;
    
    pointer-events: none !important;
  }

  /* --------- Scrollbar verstecken (Mobile) --------- */
  html, body{
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
  }
  html::-webkit-scrollbar,
  body::-webkit-scrollbar{
    display: none !important;
  }

  /* --------- Scroll To Top Button (Mobile + Desktop) --------- */
  #myBtn{
    position: fixed !important;
    right: 14px !important;
    bottom: 14px !important;

    width: 50px !important;
    height: 50px !important;
    border-radius: 999px !important;

    display: grid !important;
    place-items: center !important;

    background: rgba(73,69,141,.95) !important;
    border: 2px solid rgba(217,159,170,.85) !important;

    z-index: 999999 !important;

    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(10px) !important;
    transition: opacity .25s ease, transform .25s ease !important;
  }

  #myBtn.show{
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
  }

  #myBtn .arrow-up{
    width: 14px !important;
    height: 14px !important;
    border-left: 3px solid #fff !important;
    border-top: 3px solid #fff !important;
    transform: rotate(45deg) !important;
    margin-top: 6px !important;
  }
}

/* Kleinere Phones */
@media (max-width: 520px){
  header{ padding: 12px 12px !important; }
  .logoindex{ width: 86px !important; }
  #slider img{ height: 220px !important; }
  .card img{ height: 250px !important; }
}

/* =====================================
   CONTACT PAGE – MOBILE CLEAN FIX
   ===================================== */
@media (max-width: 900px){

  /* Container komplett mittig */
  .contact-simple{
    position: relative;
    padding-top: 150px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    padding-bottom: 300px !important; /* Platz für Bild */

    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }

  /* LET’S TALK sauber mittig */
  .contact-simple h1{
    text-align: center !important;
    width: 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* Untertext mittig */
  .contact-text{
    text-align: center !important;
    max-width: 40ch;
  }

  /* Buttons mittig */
  .contact-links{
    align-items: center !important;
    width: 100%;
  }

  .contact-item{
    justify-content: center !important;
    width: min(500px, 100%);
  }

  /* =========================
     BILD – direkt am Footer
     ========================= */

  #img-contact{
    position: absolute !important;
    left: 55% !important;
    transform: translateX(-50%) !important;
    bottom: -135px !important; ;

    
    height: 460px !important;
    width: auto !important;

    pointer-events: none !important;
    z-index: 1 !important;    /* unter Footer */
  }

  /* =========================
     Footer nur hier mittig
     ========================= */

  body:has(.contact-simple) footer{
    position: relative;
    z-index: 2;

    padding: 20px 16px !important;

    flex-direction: column !important;
    align-items: right !important;
    text-align: right !important;
    gap: 8px !important;
  }

  body:has(.contact-simple) footer p{
    width: auto !important;
    font-size: 14px;
  }

}
@media (max-width: 900px){

  /* CONTACT: Titel wirklich mittig (Flex killen) */
  .contact-simple h1,
  #contact-h1{
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* falls da noch ein Wrapper/Span drin ist: auch zentrieren */
  .contact-simple h1 *{
    text-align: center !important;
  }
}

/* ===== LOADER (nur Index) ===== */
#loader{
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: grid;
  place-items: center;
  background: #1f1f1f;
  transition: opacity .35s ease, visibility .35s ease;
}

#loader.is-hidden{
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-card{
  display: grid;
  place-items: center;
}

.loader-avatar{
  width: 92px;
  height: 92px;
  
  object-fit: cover;
  
}

/* ✅ dreht sich 1x, auch wenn schon geladen */
.loader-avatar.spin-once{
  animation: spinOnce .9s ease-in-out 1;
}

@keyframes spinOnce{
  from{ transform: rotate(0deg); }
  to{ transform: rotate(360deg); }
}
/* =====================================
   MOBILE: Titel sauber skalieren
===================================== */
@media (max-width: 900px){

  /* H1 allgemein */
  h1{
    font-size: clamp(42px, 10vw, 64px) !important;
    line-height: 1.05;
    word-break: break-word;
  }

  /* Index / About große Headlines */
  h2{
    font-size: clamp(38px, 9vw, 60px) !important;
    line-height: 1.05;
    word-break: break-word;
  }

  /* About Hero Titel */
  .about-title{
    font-size: clamp(44px, 11vw, 70px) !important;
  }

  /* Project Titel */
  .project-title{
    font-size: clamp(40px, 10vw, 60px) !important;
  }

  /* Kontakt "LET'S TALK" */
  .contact-simple h1{
    font-size: clamp(42px, 12vw, 64px) !important;
  }

  /* Sicherheit gegen Überlauf */
  h1, h2, .about-title, .project-title{
    max-width: 100%;
    overflow-wrap: break-word;
  }

}