/* =============================
      FONTS
============================= */


@font-face {
  font-family: 'Maven Pro';
  src: url('../fonts/Maven-pro/MavenPro-regular.woff2') format('woff2'),
       url('../fonts/Maven-pro/MavenPro-regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Maven Pro';
  src: url('../fonts/Maven-pro/MavenPro-regular.woff2') format('woff2'),
       url('../fonts/Maven-pro/MavenPro-regular.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}


/* =============================
   1. RESET & BASIS
============================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Maven Pro', Arial, Helvetica, sans-serif;
  background: #ffffff;
  color: #111111;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.content a {
  color: #666;
  transition: color 0.25s ease;
}

.content a:hover {
  color: #80111f;
}



/* =============================
   2. HEADER & NAVIGATION
============================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  z-index: 1000;
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.2rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}


.logo img {

  height: auto; 
  width: auto;
  max-width: 250px; /* Begrenzt die Breite, damit es nicht den Header sprengt */
  display: block;
}


@media (min-width: 1024px) {
  .logo img {
    max-width: 300px; 
  }
}

.main-nav {
  display: flex;
  gap: 2rem;
}

.main-nav a {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.4;
  transition: opacity 0.3s;
}

.main-nav a:hover,
.main-nav a.active {
  opacity: 1;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;

  color: #111;                 /* explizit schwarz */
  -webkit-tap-highlight-color: transparent; /* entfernt blaues Antippen */
}

.menu-toggle:focus,
.menu-toggle:active {
  outline: none;
  color: #111;
}



/* =============================
   3. LAYOUT & CONTENT
============================= */
.content {
  width: 100%;
  padding: 8rem 2rem 2rem;
}


.page-intro {
  font-family: 'Maven Pro', Arial, Helvetica, sans-serif;
  font-weight: 400;
  letter-spacing: 0.04em;
  max-width: 1000px;
  margin: 0 auto;
  margin-bottom: 4rem;
}


.page-intro h1 {
  font-family: 'Maven Pro', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}


.page-intro p {
font-size: 0.95rem;
opacity: 0.75;
}


/* =============================
   BILDER BOX 
============================= */


.image-row {
  max-width: 1000px;         
  margin: 3rem auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;                  }

.image-row img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

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



/* =============================
   JUSTIFIED GALLERY
   (Natur / Urban / Landscape)
============================= */
.gallery-justified {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.gallery-justified .gallery-item {
  flex-grow: var(--ratio);
  flex-basis: calc(var(--ratio) * 350px); /* Basis-Höhe der Zeilen */
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.gallery-justified .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Letzte Zeile nicht linksbündig strecken */
.gallery-justified::after {
  content: "";
  flex-grow: 1000000;
}

/* Portrait / Standard Gallery (Blackwhite / Colour) */
.gallery {
  column-count: 5;           /* default für sehr große Monitore */
  column-gap: 2rem;        /* horizontaler Abstand */
  width: 100%;
  padding: 2rem;
}

.gallery .gallery-item {
  break-inside: avoid;
  margin-bottom: 2rem;
  position: relative;
  cursor: pointer;
}

/* Gemeinsame Caption & Hover Effekte */
.caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 0.65rem;
  padding: 0.5rem;
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-item:hover .caption {
  opacity: 1;
}

/* =============================
   GALLERY IMAGE HOVER EFFECT
   (mit Caption kompatibel)
============================= */

.gallery-item {
  position: relative;
  overflow: hidden;
}

.gallery-item img {
  transition: transform 0.4s ease;
}

/* Weißes Overlay unter der Caption */
.gallery-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: white;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
}

/* Caption soll über dem Overlay liegen */
.gallery-item .caption {
  z-index: 2;
  position: absolute;
}

/* Hover */
.gallery-item:hover img {
  transform: scale(1.03);
}

.gallery-item:hover::before {
  opacity: 0.18;  /* sehr subtil – kannst du 0.15–0.22 testen */
}


/* =============================
   5. FOOTER & LIGHTBOX
============================= */
.site-footer {
  padding: 4rem 2rem;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20, 20, 20, 0.88); /* dunkles Grau, 88% */
  backdrop-filter: blur(4px); /* leichter Blur – optional, sehr edel */
  z-index: 2000;
  display: none; 
  align-items: center;
  justify-content: center;
}


.lightbox-image {
  max-width: 85vw;
  max-height: 85vh;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}


/* Mobile Optimierung */

@media (max-width: 768px) {

  .main-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    width: 100%;
    padding: 1.2rem 0;  
    text-align: center;
  }

  .main-nav.nav-open {
    display: flex;
  }

  .main-nav a {
    font-size: 0.95rem;
    letter-spacing: 0.18em;
    opacity: 1;
    color: #111;
    padding: 0.6rem 0; 
    line-height: 1.3;
  }

  .main-nav a:hover {
    color: #7a1f2b;
  }

  .gallery { column-count: 1; }
  .main-nav { display: none; } /* Hier käme dein Burger-Menü-Code */
  .menu-toggle { display: block; }

  .content {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }

  .gallery {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
    column-gap: 1rem;   /* etwas enger */
  }

  .gallery .gallery-item {
    margin-bottom: 1rem; /* weniger vertikaler Abstand */
  }

}


.lightbox button {
  position: absolute;
  background: none;
  border: none;
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.25s ease, transform 0.2s ease;
}

.lightbox button:hover {
  opacity: 1;
  transform: scale(1.1);
}

/* Positionierung */
.lightbox-prev {
  left: 40px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-close {
  top: 40px;
  right: 40px;
  font-size: 2rem;
}



/* -----------------------------
   RESPONSIVE BREAKPOINTS
----------------------------- */

/* 1500px bis 5 Spalten -> bereits default */
@media (max-width: 1500px) {
  .gallery {
    column-count: 4;
  }
}

@media (max-width: 1100px) {
  .gallery {
    column-count: 3;
  }
}

@media (max-width: 800px) {
  .gallery {
    column-count: 1;
  }
    .caption {
    opacity: 1;
    transform: translateY(0);
    font-size: 0.65rem;
  }

    .content {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }

  .gallery {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
    column-gap: 1rem;   /* etwas enger */
  }

  .gallery .gallery-item {
    margin-bottom: 1rem; /* weniger vertikaler Abstand */
  }

}


/* =============================
   INFO LAYOUT BASICS
============================= */
.section {
  padding: 6rem 2rem;
}

.container {
  margin: 0 auto;
}

.container-1200 {
  max-width: 1200px;
}

.container-1000 {
  max-width: 1000px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start; 
}

.reverse {
  direction: rtl;
}
.reverse > * {
  direction: ltr;
}

/* =============================
   IMAGES
============================= */
.image-col img {
  width: 100%;
  height: auto;
  display: block;
}

/* =============================
   INFO
============================= */


.section-info {
  padding-bottom: 8rem;
  padding-top: 4rem;
}


.section-info h1 {
  margin-bottom: 1rem;
}

.info-image {
  padding: 2rem;         
}

.info-image img {
  width: 100%;
  max-width: 400px;      
  margin: 0 auto;         
  display: block;
}


/* =============================
   PACKAGES
============================= */
.package {
  border: none
}

.package-head,
.package-price {
  background: #f2f2f2;
  padding: 1rem;
  font-weight: 600;
  text-align: center;
}

.package ul {
  padding: 1.5rem;
  list-style: disc;
  list-style-position: inside;
  padding-left: 2.5rem;
}

.package li {
  margin-bottom: 0.6rem;   
  line-height: 1.6;        
}

.package p {
  padding: 1.5rem 2.5rem;
  line-height: 1.7;
  opacity: 0.85;
}

.package-row {
  margin-bottom: 5rem;
}

/* =============================
   HIGHLIGHT
============================= */
.section-highlight {
  min-height: 100vh;
  background: #f2f2f2;
  padding-top: 8rem;
  padding-bottom: 8rem;
}

.section-highlight {
  background: linear-gradient(
    to bottom,
    #f2f2f2 0%,
    #f2f2f2 100%
  );
}


.highlight-text h1 {
  background: #d9d9d9;
  padding: 1rem;
  margin-bottom: 1rem;
}

.highlight-images {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 3rem 2rem 0;
}

.highlight-images img {
  width: 100%;
  height: auto;
  display: block;
}

/* =============================
   MAIL BUTTON
============================= */

.btn-mail {
  display: inline-block;
  background: #dddddd;
  color: #111;
  padding: 0.9rem 1.8rem;
  margin-top: 1.5rem;

  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;

  text-align: center;
  transition: background 0.25s ease, transform 0.15s ease;
  cursor: pointer;

  border-radius: 6px;   /* ✨ dezente Rundung */
}

.btn-mail:hover {
  background: #cccccc;
}

.btn-mail:active {
  transform: translateY(1px); /* minimaler Klick-Effekt */
}


/* =============================
   FINAL SECTION
============================= */
.final-grid {
  display: grid;
  grid-template-columns: 10% 90%;
  gap: 3rem;
  margin-top: 5rem;
}

/* =============================
   RESPONSIVE
============================= */
@media (max-width: 900px) {
  .two-col,
  .final-grid {
    grid-template-columns: 1fr;
  }

  .highlight-images {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* =============================
   INSTAGRAM BUTTON
============================= */

.btn-insta {
  position: relative;
  display: inline-block;
  width: 50px;   /* feste Größe → wichtig */
  height: 50px;
}

.insta-icon {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.25s ease;
}

/* Standard: nur SW sichtbar */
.insta-color {
  opacity: 0;
}

/* Hover: Farbe einblenden */
.btn-insta:hover .insta-sw {
  opacity: 0;
}

.btn-insta:hover .insta-color {
  opacity: 1;
}

/* =============================
   BLOG
============================= */

.blog-post {
  padding: 4rem 2rem;
}

.blog-container {
  max-width: 1000px;
  margin: 0 auto;
  font-family: "Quattrocento", serif;
  line-height: 1.7;
  font-size: 1.05rem;
}

.blog-container h1 {
  font-size: 2.4rem;
  margin-bottom: 0.5rem;
  font-weight: 400;
}

.blog-container h2 {
  font-size: 1.6rem;
  margin-top: 3rem;
  margin-bottom: 1rem;
  font-weight: 400;
}

.blog-container h3 {
  font-size: 1.2rem;
  margin-top: 2rem;
  margin-bottom: 0.8rem;
  font-weight: 400;
}

.blog-date {
  text-align: right;
  font-size: 0.85rem;
  color: #777;
  margin-bottom: 2rem;
}

.blog-container p {
  margin-bottom: 1.4rem;
}

.blog-container figure {
  margin: 2.5rem 0;
}

.blog-container figure img {
  width: 100%;
  height: auto;
  display: block;
}

.blog-container figcaption {
  font-size: 0.9rem;
  font-style: italic;
  color: #666;
  margin-top: 0.6rem;
}

.fact-box {
  background: #f2f2f2;
  padding: 2rem;
  margin-top: 3rem;
  border-left: 4px solid #ccc;
}

.fact-box h3 {
  margin-top: 0;
  margin-bottom: 1rem;
}

/* =============================
   IMAGE TOGGLE
============================= */

.image-toggle {
  position: relative;
  max-width: 1000px;
  margin: 3rem auto;
  cursor: pointer;
  user-select: none;
}

.image-toggle img {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.25s ease;
}

/* Pfeile */
.toggle-arrows {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  pointer-events: none;
}

.toggle-arrows span {
  font-size: 5rem;
  color: white;
  opacity: 0;
  transition: opacity 0.25s ease;
  text-shadow: 0 0 10px rgba(0,0,0,0.4);
}

/* Pfeile erscheinen bei Hover */
.image-toggle:hover .toggle-arrows span {
  opacity: 0.7;
}

/* =============================
   BLOG SPLIT (Text + 500px Bild)
============================= */

.blog-split {
  display: grid;
  grid-template-columns: 1fr 500px;
  gap: 5rem;
  align-items: start;
  margin: 3rem 0;
}

.blog-split-image img {
  width: 100%;
  height: auto;
  display: block;
}

.blog-split-image figcaption {
  font-size: 0.85rem;
  font-style: italic;
  margin-top: 0.5rem;
  color: #666;
}

@media (max-width: 900px) {

  .blog-split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

}



/* =============================
   DOUBLE PORTRAIT BOX
============================= */

.blog-double-portrait {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 3rem 0;
}

.blog-double-portrait img {
  width: 100%;
  height: auto;
  display: block;
}

.blog-double-portrait figcaption {
  font-size: 0.85rem;
  font-style: italic;
  margin-top: 0.5rem;
  color: #666;
}

@media (max-width: 768px) {

  .blog-float-image {
    float: none;
    width: 100%;
    margin: 2rem 0;
  }

  .blog-double-portrait {
    grid-template-columns: 1fr;
  }

}


/* =============================
   BLOG OVERVIEW
============================= */

.blog-overview {
  max-width: 1000px;
  margin: 6rem auto;
}

.blog-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 500px;
}

/* Schachbrett */
.blog-row.reverse {
  direction: rtl;
}

.blog-row.reverse > * {
  direction: ltr;
}

/* =============================
   THUMBNAIL
============================= */

.blog-thumb {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

/* Overlay standardmäßig unsichtbar */
.thumb-overlay {
  position: absolute;
  inset: 0;
  background: white;
  opacity: 0;
  transition: opacity 0.4s ease;
}

/* Hover-Effekt */
.blog-thumb:hover img {
  transform: scale(1.03);
}

.blog-thumb:hover .thumb-overlay {
  opacity: 0.25;   /* dezenter Weiß-Overlay */
}


/* =============================
   BLOG INFO
============================= */

.blog-info {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 3rem;
}

.blog-info-inner {
  max-width: 350px;
}

.blog-info h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.blog-info .blog-date {
  font-size: 0.85rem;
  color: #777;
  margin-bottom: 2rem;
  text-align: center;
}

.blog-read {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #666;
  transition: color 0.25s ease;
}

.blog-read:hover {
  color: #7a1f2b;
}

@media (max-width: 900px) {

  .blog-row {
    grid-template-columns: 1fr;
    height: auto;
  }

  .blog-thumb {
    height: 400px;
  }

}


@media (max-width: 768px) {

  .footer-inner {
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    text-align: center;
  }

  .footer-left,
  .footer-center,
  .footer-right {
    width: 100%;
  }

}