
/* General Reset */


/* #ff0672 - hotpink
  #fffef9 - background taupe
  #FFE3F1 - light pink
*/

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;600;700;800;900&display=swap');

html {
  scroll-behavior: smooth; /* NEU: globaler Smooth Scroll */
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  color: #000;
  background: #fffef9;
  line-height: 1.6;
}

/* Navigation */
nav {
  text-align: center;
  padding-top: 50px;
  padding-left: 50px;
  padding-right: 50px;
  padding-bottom:10px;

}


nav a {
  text-decoration: none;
  color: black;
  font-weight: 500;
  font-size: 15pt;
  padding-top: 45em;
  padding-left:4em;
  padding-right:4em;
    transition: color 0.5s ease; /* sorgt für weiches Fading */
      transition: transform 0.5s ease; /* NEU: smooth transition */



}

nav a:hover{
    color: #ff0672;
    transform: scale(1.1);
}



.home{
  height: 90vh; 
  background: url("../img/images/bigheader.jpg") no-repeat center center;
  position: relative;
  color: black;

}

.home-middle{
    display: flex;
    justify-content: center;
    padding-top:13em;
}

.home-middle p{
    font-weight: 500;
    font-size: 15pt;
}

.no-select{
  user-select: none;
  -webkit-user-select: none; /* Safari/Chrome */
  -moz-user-select: none;    /* Firefox */
  -ms-user-select: none;     /* IE/Edge */
}


h1{
    font-weight:900;
    color:#ff0672;
    display: flex;
    justify-content: center;
    font-size: 45pt;
}

#about{
    padding-top:7em;
}

.about-title, .work-title, .contact-title{
   background-color: #FFE3F1;   /* pinke Bar */
  color: white;                /* Textfarbe */
  padding: 35px;                /* Abstand innen */
  margin: 0;                    /* kein Außenabstand */
  text-align: center;           /* Text mittig */
  width: 100%;                  /* volle Breite */
}

.about-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  padding: 60px 5%;
}

.about-text {
  flex: 1;
  font-size: 16pt;
  line-height: 1.6;
  color: #000;
  font-weight: 500;
  text-align: center;
}

.contact-content{
  flex-flow: row;
  padding: 7em;
  justify-content: center;
}
.contact-text{
  flex: 1;
  font-size: 16pt;
  line-height: 1.6;
  color: #000;
  font-weight: 500;
  text-align: center;
}

.about-text .highlight{
  color:#ff0672;
}

.about-image {
  flex: 1;
  text-align: center;
}

.about-image img {
  max-width: 100%;
  height: auto;
}

.item {
  position: relative;
  cursor: pointer;
  overflow: hidden;
   width: 400px;
}

.item img {
  width: 100%;
  border-radius: 8px;
  display: block;
  transition: transform 0.3s;
}

.item:hover img {
  transform: scale(1.05);
}

/* Overlay unten */
.info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background:#FFE3F1;
  color: #000;
  font-size: 14px;
  border-radius: 0 0 8px 8px;
}

.title {
  text-align: left;
}

.year {
  text-align: right;
}

#work{

  display: flex;
  flex-flow: column;
  justify-content: center; /* horizontal center */
  align-items: center;     /* vertical center */
  min-height: 100vh;       /* full viewport height */

}

#work .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 100px;
  padding: 90px;
  align-items: center;
}

.item {
  cursor: pointer;
  justify-content: center;
  text-align: center;
  aspect-ratio: 1 / 1; /* NEU: Quadrat erzwingen */
  border-radius: 8px;  /* NEU: Rundung auf quadratische Items */
  max-width: 500px;
}

.item img {
  max-width: 100%;
   height: 100%;        /* NEU: Bild füllt das Quadrat */
  object-fit: cover;   /* NEU: Bild skaliert ohne Verzerrung */
  border-radius: 8px;
  transition: transform 0.2s;
}

.item img:hover {
  transform: scale(1.05);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 20px;       /* NEU: Abstand vom Bildschirmrand */
  overflow: auto; 
}

.lightbox-content {
  background:#fffef9;
  padding: 20px;
  border-radius: 10px;
  max-width: 800px;
  width: 55%;
  position: relative;
  max-width: 90%;       /* NEU: max. 90% der Bildschirmbreite */
  max-height: 90vh;     /* NEU: max. 90% der Bildschirmhöhe */
  overflow: auto;       /* NEU: Scrollen für langen Inhalt */
  box-sizing: border-box; /* NEU: Padding korrekt berücksichtigen */
   display: flex;         /* NEU */
  flex-direction: column;/* NEU: Elemente von oben nach unten */
  align-items: center;   /* NEU: Bild horizontal zentrieren */
  text-align: center;      /* NEU: Titel linksbündig */
}

.lightbox-content img {
  max-width: 100%;
  margin-bottom: 20px;
    max-width: 100%;      /* NEU: passt in Lightbox */
  max-height: 70vh;     /* NEU: Höhe begrenzt */
    align-self: center;    /* NEU: Bild horizontal zentrieren */
}

.lightbox-content h2 {
  width: 100%;           /* NEU: Titel nimmt gesamte Breite */
  margin-top: 0;         /* NEU */
  margin-bottom: 20px;   /* NEU */
  font-size: 2rem;       /* NEU: Titel groß */
  color:#ff0672
}


.lightbox-content p {
  width: 100%;           /* NEU: Text unter Bild, volle Breite */
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 600;
}

.close {
  position: absolute;
  top: 10px;           /* NEU: Abstand von oben */
  right: 15px;         /* NEU: Abstand von rechts */
  font-size: 50px;
  line-height: 1;      /* NEU: verhindert vertikales Strecken */
  padding: 5px;          /* NEU: entfernt zusätzlichen Abstand */
  cursor: pointer;
  color: #000;         /* NEU: optional, sichtbar machen */
  transition: color 0.2s ease; /* sorgt für weiches Fading */

}

.close:hover{
  color:#ff0672
}
.contact-form{
  width:50%;
}

label{
color: black;
font-weight: 600;}

input[type=text], select, textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ff0672;
  border-radius: 4px;
  box-sizing: border-box;
  margin-top: 6px;
  margin-bottom: 16px;
  resize: vertical;
  font-family: Roboto;
}


input[type=email], select, textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ff0672;
  border-radius: 4px;
  box-sizing: border-box;
  margin-top: 6px;
  margin-bottom: 16px;
  resize: vertical;
}

input[type=submit] {
  background-color: #FFE3F1;
  color: #ff0672;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

input[type=submit]:hover {
  background-color: #ff0672;
  color: #FFE3F1;
}