* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: #f2ede4;
  color: #333;
  overflow-x: hidden;
  scroll-behavior: smooth;
  margin: 0;
}


/* Burger Icon */
.burger {
    width: 32px;
    height: 26px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 2000;
}

.burger span {
    display: block;
    height: 4px;
    background: #333;
    border-radius: 2px;
    transition: 0.35s ease;
}

/* Hover Effekt */
.burger:hover span {
    background: #555;
}

/* Animation: Burger → X */
.burger.active span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -200px;
    width: 200px;
    height: 100vh;
    background: #f2ede4;
    padding-top: 80px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: right 0.35s ease;
    z-index: 1500;
	    box-shadow: 10px 9px 16px #333;
}

.mobile-nav a {
    color: #333;
    text-decoration: none;
    font-size: 18px;
    padding: 10px 20px;
    transition: 0.25s ease;
}

.mobile-nav a:hover {
    background: #e9d1a6;
}

/* Menü sichtbar */
.mobile-nav.open {
    right: 0;
}


header {
  text-align: center;
  padding: 60px 20px 40px;
}

header h1 {
  font-size: 3.5rem;
  font-weight: 300;
  letter-spacing: 2px;
}

header p {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* ===========================
   GRID (NEU, 1:1)
=========================== */

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

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

@media (max-width: 700px) {
  .masonry-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* ===========================
   MONTH SEPARATOR (ELEGANT)
=========================== */

.month-separator {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 100px 0 60px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.month-separator.visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}


.month-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    #333,
    transparent
  );
}

.month-label {
  padding: 0 35px;
  font-size: 2.4rem;
  font-weight: 300;
  color: #333;
  // text-transform: uppercase;
  letter-spacing: 6px;
  white-space: nowrap;
  text-shadow: 0 0 8px rgba(0,0,0,0.4);
}

/* Tablet */
@media (max-width: 1100px) {
  .month-label {
    font-size: 2rem;
    letter-spacing: 5px;
    padding: 0 28px;
  }
}

/* Mobile */
@media (max-width: 700px) {
  .month-label {
    font-size: 1.6rem;
    letter-spacing: 4px;
    padding: 0 22px;
  }
}

/* Very small screens */
@media (max-width: 480px) {
  .month-label {
    font-size: 1.3rem;
    letter-spacing: 3px;
    padding: 0 18px;
  }
}

/* ===========================
   ITEMS
=========================== */

.masonry-item {
  opacity: 0;
  transform: translateY(20px);
  transition: 0.4s ease;
}

.masonry-item.loaded {
  opacity: 1;
  transform: translateY(0);
}

.masonry-item img {
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.title {
  color: #333;
  background: #f2ede4;
  padding: 12px 20px;
  border-radius: 10px;
  margin-top: 15px;
  text-align: center;
}

/* ===========================
   VITA (1:1)
=========================== */

.vita-section {
  background: #f2ede4;
  padding: 50px;
  border-radius: 12px;
  margin-top: 100px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.vita-title {
  color: #333;
  font-size: 2.4rem;
  font-weight: 300;
  text-align: center;
  margin-bottom: 40px;
}

.vita-content {
  text-align: center;
}

.vita-image img {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 30px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.vita-text {
  font-size: 1.1rem;
  line-height: 1.7;
}

.vita-meta {
  margin-top: 40px;
  background: rgba(255,255,255,0.08);
  padding: 20px 30px;
  border-radius: 10px;
  color: #333;
  font-size: 1.1rem;
  line-height: 1.6;
  text-align: center;
}

/* ===========================
   LIGHTBOX
=========================== */

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  opacity: 0;
  pointer-events: none;
  transition: 0.3s ease;
  z-index:9;
}

.overlay.active {
  opacity: 1;
  pointer-events: all;
}

.close-btn {
  position: fixed;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
  opacity: 0;
  transform: scale(0.8) rotate(0deg);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 9999;
}

.close-btn.active {
  opacity: 1;
  transform: scale(1) rotate(180deg);
  pointer-events: all;
}

.close-btn:hover {
  transform: scale(1.1) rotate(200deg);
}

.modal {
  display: none;
  position: fixed;
  z-index: 1500;
  inset: 0;
  justify-content: center;
  align-items: center;
}

.modal img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.8);
}

/* ===========================
   FOOTER
=========================== */

footer {
  padding: 30px 0;
  margin-top: 80px;

  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: flex-start;
  gap: 40px;
}


footer .social {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 0;
  margin: 0;
}

/* Breakpoint: alles unter 600px wird column */
@media (max-width: 600px) {
  footer .social {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px; /* kleiner Abstand für mobile */
  }

  footer .social li {
    width: 100%;
    text-align: center;
  }
}


footer .social a {
  color: #333;
  text-decoration: none;
  font-size: 1.1rem;
}

footer .social a:hover {
  text-decoration: underline;
}
/* ===========================
   GLOBAL PAGE PADDING
=========================== */

body {
  padding: 20px 66px;
}

@media (max-width: 900px) {
  body {
    padding: 20px 40px;
  }
}

@media (max-width: 600px) {
  body {
    padding: 30px;
  }
}
#imprint, #dataprotection{
		padding: 2vw 4vw;
		max-width: 992px;
		margin: 0 auto;
		font-size:12px;
		line-height:18px;
	}
	#imprint p, #dataprotection p,
	#imprint li, #dataprotection li,
	#imprint h1, #dataprotection h1,
	#imprint h2, #dataprotection h2,
	#imprint h3, #dataprotection h3 {
		margin-bottom: 2rem;
	}
	#imprint li, #dataprotection li{
		margin-left: 1.5rem;
	}
	#imprint a, #dataprotection a {
		color: #beaf8b;
	}
	
	
	#scrollUpBtn {
		position: fixed;
		    bottom: 25px;
		    right: 10px;
		    width: 45px;
		    height: 45px;
		    background: #333;
		    color: white;
		    border-radius: 50%;
		    display: flex;
		    justify-content: center;
		    align-items: center;
		    font-size: 30px;
		    padding-bottom: 4px;
		    cursor: pointer;
	    opacity: 0;
	    pointer-events: none;
	    transition: 0.3s ease;
	    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
	}

	#scrollUpBtn:hover {
	    background: #555;
	    transform: translateY(-3px);
	}


/* Modal */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
    padding: 20px;
    z-index: 9999;
}

.carousel {
    position: relative;
    width: 90vw;
    max-width: 900px;
    height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Track bleibt horizontal */
.carousel-track {
    display: flex;
    flex-direction: row;
    height: 100%;
    transition: transform 0.4s ease;
}

/* Jede Slide ist ein Container */
.carousel-slide {
    width: 100%;
    height: 100%;
    flex-shrink: 0;

    display: flex;
    justify-content: center;
    align-items: center;
}

/* Bild selbst */
.carousel-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

	/* Pfeile */
	.carousel-btn {
	    position: absolute;
	    top: 50%;
	    transform: translateY(-50%);
	    background: rgba(0,0,0,0.6);
	    color: white;
	    border: none;
	    padding: 12px 16px;
	    cursor: pointer;
	    font-size: 28px;
	    border-radius: 4px;
	    z-index: 10;
	}

	.prev { left: 10px; }
	.next { right: 10px; }

	/* Bullets */
	.carousel-indicators {
	    display: flex;
	    justify-content: center;
	    gap: 8px;
	    margin-top: 12px;
	}

	.carousel-indicators div {
	    width: 10px;
	    height: 10px;
	    background: #777;
	    border-radius: 50%;
	    cursor: pointer;
	    transition: 0.3s;
	}

	.carousel-indicators .active {
	    background: white;
	}
