@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;700&family=Open+Sans&display=swap');

/* Elegantes, vollständig responsives Mobile-First-CSS für Portfolio einer Fotografin */
*, *::before, *::after {
    box-sizing: border-box;
  }  
  a, button {
    -webkit-tap-highlight-color: transparent;
  }
  
  
html, body {
  height: 100%;
  margin: 0;
  margin-top: 20px;
  padding: 0;
  font-family: 'Open Sans', sans-serif;
  background-color: white;
  color: #2c2c2c;
  line-height: 1.6;
  font-size: 16px;
}

  body {
    display: flex;
    flex-direction: column;
  }
  
  main {
    flex: 1;
    padding-top: 2rem;
    width: 100%;
    margin: 0;
  }
  
  h1, h2, h3 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5em;
  }

  form h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
  }
  
  header {
    background: white;
    padding: 1rem;
    height: 65px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed; /* <- statt sticky */
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: transform 0.3s ease-in-out;
  }

  .header-hidden {
    transform: translateY(-75px);
    opacity: 0;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
  }


  .logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
  }

  .nav-toggle {
    background: none;
    border: none;
    font-size: 1.5rem;
    padding: 0.25em 0.25em;
    cursor: pointer;
    color: #000;
    display: block;
    z-index: 1001;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
  }
  
  .nav {
    display: none;
  }
  
  .nav.open {
    display: block;
    width: 100%;
    max-height: 180px;
    background: white;
    padding: 2rem 1.5rem;
    margin-bottom: -10px;
    box-shadow: 0 8px 6px -6px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
  }
  
  .nav-list {
    list-style: none;        
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    align-items: flex-start;  
  }
  
  .nav-list li a {
    color: #000;             
    text-decoration: none;   
    font-weight: 500;
    font-size: 1.0rem;
    padding: 0.5rem 1rem;
    outline: none;
    position: relative;
    transition: background 0.3s, box-shadow 0.3s;
  } 

  
  .nav-list li a:hover::after,
  .nav-list li a.active::after {
    width: 100%;
  }
  

  .nav-list li a.active {
    font-weight: 600;
    color: #d49466;
  }  

  .nav-list li a:visited {
    color: #000; /* gleiche Farbe wie :link */
  }
  
  .nav-toggle {
      padding: 1rem;
    }
  
  @media (min-width: 768px) {
    .logo {
      font-size: 2rem;
    }
  
    .nav-toggle {
      display: none;
    }
  
    .nav {
      display: block !important;
      margin-top: 0;
    }
  
    .nav-list {
      flex-direction: row;
      gap: 2em;
    }
  }
  
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  padding: 1rem 1rem;
  background-image: url("../img/main/hero.jpg"); 
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-bottom: 3rem;
  text-align: center;
  color: #fffbfb;
}

.hero h1 {
  font-size: 3rem;
}

.hero p {
  font-size: 1rem;
  padding-bottom: 10px;
  color: #fffbfb;
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 3rem;
  }

  .hero p {
    font-size: 1.2rem;
  }
}

 .services {
  padding: 3rem 1.5rem;
  margin-top: -3rem;
  background-color: #fffdf9;
  
}

.services h2 {
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #111;
  margin-bottom: 2rem;
}

.services ul {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 1600px;
}

.services li {
  background-color: white;
  padding: 2rem 1.5rem;
  text-align: center;
  font-weight: 600;
  font-size: 0.75rem;
  color: #111;
  text-transform: uppercase;
  font-family: 'Open Sans', sans-serif;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

@media (min-width: 600px) {
  .services ul {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
}
  /* --- Call-to-Action --- */
  .cta {
    margin-top: 2rem;
    margin-bottom: 4rem;
    text-align: center;
  }
  
  .cta h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
  }
  
  .cta .btn {
    background: #ffffff;
    color: #111;
    padding: 1.5em 2em;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 600;
    transition: background 0.3s ease;
  }

  .cta .btn:hover {
    background-color: #eeeeee;
  }

/* --- About --- */
.elegant-section {
  padding: 4rem 0rem;
  background-color: #ffffff;
}

.about-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem; /* Konsistenter Abstand wie .grid-gallery */
  text-align: center;
}

.about-text {
  flex: 1 1 100%;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #111;
}

.about-text h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #111;
}

.about-image {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 0rem 0rem;
  box-sizing: border-box;
}

.about-image img {
  width: 100%;
  height: auto;
  
  aspect-ratio: 2 / 3; /* wie Galerie */
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);

}

.portrait {
  width: 100%;
  height: auto;
  margin-top: 0;
}

@media (min-width: 768px) {
  .about-inner {
    flex-direction: row;
    text-align: left;
  }

  .portrait {
    margin-top: 50px;
  }
  .about-image {
    max-width: 20vw;
  }
}
  
  
  /* --- Kontaktformular --- */
  form {
    display: grid;
    gap: 1.2em;
    max-width: 600px;
    margin: 0 auto;
    padding: 1rem;
  }
  
  input, textarea {
    padding: 1em;
    border: 1px solid #ccc;
    font-family: inherit;
    font-size: 1rem;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.03);
    width: 100%;
  }
  
  button {
    padding: 1em 2em;
    background: #ffffff;
    color: rgb(3, 3, 3);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s ease;
  }
  
 footer {
  background-color: #000000;
  padding: 3rem 1.5rem;
  text-align: center;
  border-top: 1px solid #eee;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: white;
  letter-spacing: 0.02em;
}

footer p {
  margin: 0;
  font-size: 0.75rem;
}

footer a {
  color: #d49466;
  text-decoration: none;
  font-weight: 600;
}

footer a:hover {
  text-decoration: underline;
}

  
  @media (min-width: 768px) {
    footer {
      font-size: 1rem;
      padding: 2em;
    }
  }
  
  .nav-toggle.hidden {
    display: none;
  }

  .gallery-category {
  margin-bottom: 4rem;
  }

  .gallery-category h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #1a1a1a;
  }

  table.price-table {
    width: 100%;
    border-collapse: collapse;
  }

  table.price-table th,
  table.price-table td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #eee;
    text-align: left;
  }

  .price-table th:nth-child(3),
  .price-table td:nth-child(3) {
    padding-left: 0;
    padding-right: 1.5rem;
  }

  /* Stilvolle, schlanke Scrollbar */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
  }
  
  ::-webkit-scrollbar-track {
    background: #fcf2d9;
  }
  
  ::-webkit-scrollbar-thumb {
    background: #d49466;
    border-radius: 6px;
  }
  
  ::-webkit-scrollbar-thumb:hover {
    background: #b87748;
  }
/* --- Galerie (zentriert mit Sidebar) --- */
.gallery-title {
  text-align: center;
  font-size: 2rem;
  margin: 5rem auto 2rem;
  font-family: 'Cormorant Garamond', serif;
}

.gallery-wrapper {
  display: flex;
  justify-content: center; /* mittig zum Viewport */
  gap: 2rem;
  max-width: 100%;
  padding: 0 1rem;

  position: relative;
}

.gallery-nav {
  position: sticky;
  top: 130px;
  background: transparent;
  padding: 2rem;
  width: 200px;
  font-family: 'Open Sans', sans-serif;
  border: none;
  box-shadow: none;
  height: fit-content;
}

.gallery-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.gallery-nav li {
  margin-bottom: 1rem;
}

.gallery-nav a {
  display: block;
  padding: 0.3rem 0;
  text-decoration: none;
  color: #000;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  font-weight: 700;
  text-transform: uppercase;
  position: relative;
  transition: opacity 0.3s ease;
}

.gallery-nav a:hover {
  opacity: 0.9;
}

.gallery-nav a.active {
  text-decoration: underline;
  text-underline-offset: 4px;
  color: #000;
}


.gallery-content {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  transform: translateX(-116px); /* Feinjustierung je nach Sidebar-Breite */
}

.gallery-category {
  margin-bottom: 4rem;
}

.gallery-category h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  text-align: center;
  color: #1a1a1a;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  justify-content: center;
}

.image-grid img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.grid-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  padding: 0 1rem;
  margin: 0 auto;
  
  box-sizing: border-box;
}

.grid-gallery img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (max-width: 1400px) {
  .gallery-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .gallery-nav {
    position: sticky;
    width: 100%;
    margin: 0 auto;
    display: none;
  }

  .gallery-content {
    width: 100%;
    transform: none;
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

h1, h2, h3, .logo, .hero h1, .gallery-title, .gallery-category, h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  text-transform: uppercase;
  color: #111;
}

form h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  margin-top: 4rem;
  text-align: center;
  margin-bottom: 1.5rem;
  color: #111;
}

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  font-weight: 700;
  color: #fffbfb;
  text-shadow:#eee;
}


header.chanel-style-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 0 1rem;
  border-bottom: 1px solid #eee;
  transition: transform 0.3s ease-in-out;
  height: 130px;
}

  .chanel-style-header.header-hidden {
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
  }

  .chanel-style-header .logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #000;
    
    
  }

  .chanel-style-header .nav {
    width: 100%;
  }

  .chanel-style-header .nav-list {
    display: flex;
    justify-content: center; 
    align-items: center;
    gap: 2.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: -30px;
  }

  .chanel-style-header .nav-list li a {
    text-decoration: none;
    font-weight: 700;
    color: #111;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    transition: opacity 0.3s ease;
  }

  
  /* Mobile: Stack navigation untereinander */
  @media (max-width: 768px) {
    .chanel-style-header {
      padding: 1rem 0;
    }

    .chanel-style-header .nav-list {
      flex-direction: column;
      align-items: center;
      gap: 0.5rem;
    }

    .chanel-style-header .logo {
      font-size: 1.6rem;
    }
  }

  @media (max-width: 1399px) {
    .gallery-nav {
      display: none;
    }
  }


.contact {
  padding: 6rem 1rem;
  background-color: transparent;
  text-align: center;
  font-family: 'Open Sans', sans-serif;
}

.contact form {
  max-width: 600px;
  margin: 0 auto;
  padding: 1rem 2rem;
  background: transparent;
  border: 1px solid #eee;
  
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s ease;
}

.contact form:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.contact form h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 700;
  color: #111;
  margin-top: 1rem;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact form label {
  display: block;
  text-align: left;
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: #111;
  letter-spacing: 0.02em;
}

.contact form input,
.contact form textarea {
  width: 100%;
  padding: 1rem 1.2rem;
  border: 1px solid #ddd;
  
  margin-bottom: 1.8rem;
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  background-color: transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact form input:focus,
.contact form textarea:focus {
  border-color: #d49466;
  box-shadow: 0 0 0 3px rgba(212, 148, 102, 0.2);
  outline: none;
}

.contact form button {
  background-color: #ffffff;
  color: #111;
  padding: 1rem 2.4rem;
  border: none;
  text-transform: uppercase;
  font-size: 0.75rem;
  margin-bottom: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.contact form button:hover {
  background-color: #f8f8f8;
}

.testimonials {
  padding: 2rem 1.5rem;
  background-color: white;
  text-align: center;
}

.testimonials h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #111;
  
}

.testimonial-grid {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1rem;
  display: block; 
}

.testimonial-grid blockquote {
  background: white;
  padding: 2rem 1rem;
  font-style: italic;
  font-size: 1rem;
  color: #111;
  position: relative;
  padding-top: -2rem;
  break-inside: avoid;
}

.testimonial-grid blockquote footer {
  margin-top: 1rem;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.75rem;
  background: white;
  color: #111;
  font-style: normal;
  text-align: center;
}

.grid-sizer {
  width: 33.3333%;
}

@media (max-width: 900px) {
  .grid-sizer {
    width: 50%;
  }
}

@media (max-width: 600px) {
  .grid-sizer {
    width: 100%;
  }
}


.welcome {
  background-color: #ffffff;
  padding: 1rem 1.5rem 4rem;
  text-align: center;
  font-family: 'Open Sans', sans-serif;
}

.welcome-inner {
  max-width: 800px;
  margin: 0 auto;
}

.welcome h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #111;
  margin-bottom: 2rem;
}

.welcome p {
  font-size: 0.8rem;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 0.05em;
  line-height: 1.8;
  font-weight: 700;
  color: #111;
  margin-bottom: 1rem;
}

html {
  scroll-behavior: smooth;
}

section {
  scroll-margin-top: 300px;  
}

.services a {
  text-decoration: none;
  color: inherit;
}
