/* Grundstil */
*, *::before, *::after {
    box-sizing: border-box;
  }
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: 'Georgia', serif;
    color: #fff;
}

header {
    background: #fff;
    color: #000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 80px 80px 60px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
}
header.shrink {
    padding: 10px 80px;
    background-color: #fff;
    transition: padding 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
header.shrink .logo img {
    height: 30px;
}
.logo {
    position: absolute;
    top: 10px;
    left: 10px;
    width: auto;
    height: auto;
}

.logo img {
    height: 90px;
    transition: height 0.3s ease;
}


nav {
  margin-left: auto;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    font-family: var(--copyFontFamily);
    font-weight: var(--copyNormalFontWeight);
}

nav a {
    position: relative;
    text-decoration: none;
    color: #000;
    font-weight: 500;
}

nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 2px;
    background-color: #000;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease-in-out;
}

nav a:hover::after,
nav a:focus::after {
    transform: scaleX(1);
}


.btn {
    display: inline-block;
    background-color: #e6d4c6;
    color: #000;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
}

.btn:hover {
    background-color: #d9c0b1;
}




:root {
    --headlineFontFamily: "Dancing Script", cursive;
    --headlineNormalFontWeight: 400;
    --headlineBoldFontWeight: 700;
    --copyFontFamily: "EB Garamond", serif;
    --copyNormalFontWeight: 400;
    --copyBoldFontWeight: 700;
    --buttonBgColor: #e6d4c6;
    --buttonHoverColor: #d9c0b1;
}

/* Hero-Bereich */
.hero {
    height: 100vh;
    background: url("/static/uploads/hero.png") center center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 60px;
    position: relative;
    margin-top: 80px;
    color: white;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-text {
    position: relative;
    z-index: 2;
    color: white;
}

.hero-text h1,
.hero-text p {
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
}

/* Überschrift */
.headline {
    font-family: 'Dancing Script', cursive;
    font-weight: var(--headlineNormalFontWeight);
    color: black;
    font-size: 2rem;
    margin: 0;
}

/* Untertitel */
.subline {
    font-family: var(--copyFontFamily);
    font-weight: var(--copyNormalFontWeight);
    font-size: 3rem;
    margin: 1rem 0 2rem 0;
}

/* Button */
.hero-button {
    display: inline-block;
    background-color: var(--buttonBgColor);
    color: #000;
    padding: 16px 30px;
    text-decoration: none;
    font-family: var(--copyFontFamily);
    font-weight: var(--copyNormalFontWeight);
    font-size: 1rem;
    border: 1px solid #000;
    border-radius: 8px;
    line-height: 1;
    transition: background-color 0.2s ease-in-out;
    cursor: pointer;
}

.hero-button:hover {
    background-color: var(--buttonHoverColor);
}

/* TEXTBLOCK oben mit Hintergrundfarbe */
.text-block {
    background-color: #f2ede9;
    text-align: center;
    padding: 40px 20px;
    color: #000;
    border-radius: 12px;
    max-width: 1000px;
    margin: 0 auto 30px auto;
}

.subline-bold {
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}


/* Farbige Sektion über volle Breite */
.emotion-section {
    background-color: #f2ede9;
    padding: 60px 20px;
    margin-top: 100px;
    width: 100%;
    text-align: center;
}
/* Farbige Sektion über volle Breite */
.emotion-section2 {
    background-color: white;
    padding: 60px 20px;
    margin-top: 100px;
    width: 100%;
    text-align: center;
}

/* Textblock-Formatierung */
.text-block {
    max-width: 1000px;
    margin: 0 auto;
    color: black;
}

.subline-bold {
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 20px;
}


/* Galerie bleibt wie gehabt */
.gallery-slider {
    position: relative;
    width: 100vw;
    overflow: visible;
    max-height: 60vh;
    margin: 0 auto;
}

.gallery-wrapper {
    overflow: hidden;
    width: 100vw;
}

.gallery-track {
    display: flex;
    transition: transform 0.5s ease;
    width: 400vw;
    max-height: 60vh;
}

.gallery-track img {
    width: 100vw;
    height: 60vh;
    object-fit: cover;
    flex-shrink: 0;
    user-select: none;
    pointer-events: none;
}

.arrow {
  background-color: rgba(255, 255, 255, 0.7);
  border: none;
  font-size: 1.2rem; /* kleiner */
  padding: 25px;
  border-radius: 51%; /* rund */
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  transition: background-color 0.3s;
}

.arrow:hover {
  background-color: rgba(255, 255, 255, 1);
}

.arrow-left {
  left: 40px;  /* statt -40px */
}

.arrow-right {
  right: 40px;  /* statt -40px */
}

/* Vollbreites Bild mit Overlay-Text */
.hero-image-full {
    position: relative;
    background-image: url('/static/uploads/fullimage.jpg'); /* Passe an */
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.overlay-text {
    text-align: center;
    color: white;
    padding: 30px;
    border-radius: 10px;
}

.overlay-text h2.danicn {
    font-family: 'Danicn', cursive; /* Stelle sicher, dass eingebunden */
    font-size: 3rem;
    margin-bottom: 20px;
}

.overlay-text .normal-text {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 25px;
    font-family: 'Arial', sans-serif;
}

.hero-button {
    background-color: #e0b7a3;
    color: black;
    padding: 12px 24px;
    border: none;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: background 0.3s;
    margin-left: 50px;
}

.hero-button:hover {
    background-color: #d1a18d;
}

.site-footer {
  background-color: #f5f5f5;
  padding: 30px 20px;
  text-align: center;
  font-family: 'Arial', sans-serif;
}

.site-footer .instagram-link img {
  width: 30px;
  height: 30px;
  margin-bottom: 10px;
  transition: transform 0.3s;
}

.site-footer .instagram-link:hover img {
  transform: scale(1.1);
}

.footer-links {
  margin-top: 10px;
  font-size: 0.95rem;
  color: #333;
}

.footer-links a {
  color: #333;
  text-decoration: none;
  margin: 0 5px;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-links .separator {
  margin: 0 5px;
  color: #999;
}


.leistungen-container {
  max-width: 100%;
  padding: 2rem 0;
}


.einleitungstext {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1rem 3rem;
  font-size: 1.2rem;
  margin: 1rem 0 2rem 0;
}

.einleitungstext p {
  color: #333;
  margin-bottom: 1rem;
  line-height: 1.6;
  font-size: 1.2rem;
    margin: 1rem 0 2rem 0;
}

/* Shooting-Abschnitte */
.leistungen-section {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  min-height: 400px;
}

.leistungen-section.reverse {
  flex-direction: row-reverse;
}

.leistungen-image,
.leistungen-content {
  flex: 1;
  min-width: 50%;
}

.leistungen-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Textcontainer */
.leistungen-content {
  background-color: #f2ede9;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.leistungen-content h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #b30000;
}

.leistungen-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 2rem;
  color: #333;
}

.button-buchen {
  display: inline-block;
  background-color: #b30000;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 2rem;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  align-self: flex-start;
}

.button-buchen:hover {
  background-color: #8c0000;
}

@media (max-width: 780px) {
  /* Header kleiner und flexbox anpassen */
  header {
    padding: 10px 20px 40px 20px;
    flex-wrap: wrap;
    justify-content: center;
  }
  header.shrink {
    padding: 5px 20px;
  }
  .logo {
    position: static;
    margin-bottom: 10px;
  }
  .logo img {
    height: 40px;
  }
  header.shrink .logo img {
    height: 30px;
  }
  nav {
    width: 100%;
    margin-left: 0;
  }
  nav ul {
    flex-direction: column;
    gap: 10px;
    align-items: center;
    padding: 0;
    margin: 0;
  }
  nav a {
    font-size: 1rem;
    font-weight: 600;
  }
  nav a::after {
    bottom: -2px;
  }

  /* Hero-Bereich anpassen */
  .hero {
    padding-left: 20px;
    justify-content: center;
    text-align: center;
    margin-top: 60px;
    height: auto;
    min-height: 60vh;
  }
  .hero-text h1 {
    font-size: 1.8rem;
  }
  .hero-text p {
    font-size: 1rem;
  }

  /* Buttons anpassen */
  .hero-button {
    padding: 12px 24px;
    font-size: 0.9rem;
    margin-left: 0;
  }

  /* Textblock mit weniger Padding */
  .text-block {
    padding: 20px 15px;
    border-radius: 8px;
  }

  /* Emotion Sections */
  .emotion-section,
  .emotion-section2 {
    padding: 40px 15px;
    margin-top: 240px;
  }

  /* Galerie Slider */
  .gallery-slider {
    max-height: 40vh;
  }
  .gallery-track img {
    height: 40vh;
  }

  /* Pfeile kleiner und näher an die Bildränder */
  .arrow {
    font-size: 1rem;
    padding: 15px;
  }
  .arrow-left {
    left: 10px;
  }
  .arrow-right {
    right: 10px;
  }

  /* Überschriften */
  .headline {
    font-size: 1.5rem;
  }
  .subline {
    font-size: 2rem;
  }
  .subline-bold {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  /* Leistungen Section (Flexbox umstellen) */
  .leistungen-section,
  .leistungen-section.reverse {
    flex-direction: column;
  }
  .leistungen-image,
  .leistungen-content {
    min-width: 100%;
  }
  .leistungen-content {
    padding: 1.5rem;
  }
  .leistungen-content h2 {
    font-size: 1.4rem;
  }

  /* Collage anpassen */
  .collage {
    flex-direction: column;
    gap: 10px;
  }
  .collage-item {
    max-width: 60%;
  }
  .collage-item img {
    height: 65%;
  }

  /* Footer */
  .site-footer {
    padding: 20px 10px;
    font-size: 0.9rem;
  }
  .footer-links {
    font-size: 0.85rem;
  }

  /* Login-Form */
  .login-form input {
    width: 100%;
    font-size: 1rem;
  }
}

.login-form input {
    padding: 10px;
    border-radius: 6px;
    border: none;
    background-color: #222;
    color: #fff;
}

.login-form input:focus {
    outline: 2px solid #e0b7a3;
}

.login-form label {
    font-weight: bold;
    color: white;
}

.collage {
      display: flex;
      justify-content: center;
      gap: 15px; /* Abstand zwischen den Spalten */

    }
    .collage-item {
      background: white;
      text-align: left;
      flex: 1;
      max-width: 550px;
    }
    .collage-item img {
      width: 100%;
      height: auto;
    }
    .collage-item p {
      padding: 10px;
      font-size: 1.1rem;
      color: #333;
    }


.portfolio-filter {
  text-align: center;
  margin: 20px 0;
}

.portfolio-filter button {
  padding: 10px 24px;
  margin: 0 10px 10px 0;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  background-color: #eab676;
  color: #fff;
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.portfolio-filter button:hover {
  background-color: #c89b65; /* dunkler beim Hover */
  transform: translateY(-2px); /* leichtes Anheben */
}

.portfolio-filter button:active {
  transform: translateY(0); /* Klick-Effekt */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}


.portfolio-gallery .category {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  padding: 20px;
  justify-items: center;
}

.portfolio-gallery img {
  width: 100%;
  max-height: 300px;
  border-radius: 8px;
  object-fit: cover;
  height: auto;
  vertical-align: middle;
  max-width: 500px;
  border-radius: 5px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
  overflow: hidden;
}


.portfolio-gallery img:hover {
  transform: scale(1.05);
}

.upload-section {
  margin: 2em 0;
  padding: 1em;
  border: 1px solid #ccc;
  background: #f2ede9;
  color: black;
}
.upload-section input,
.upload-section select,
.upload-section button {
  display: block;
  margin: 1em 0;
}
