/* ================= ROOT VARIABLEN ================= */
:root {
  --beige: #f5f0ea;
  --weiss: #ffffff;
  --dunkelgrau: #333333;
  --hellgrau: #888888;
}

html,
body {
  overflow-x: hidden;
}


.genau-text {
  white-space: pre-line;
}

/* ================= BODY ================= */
body {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  color: var(--dunkelgrau);
  background-color: var(--weiss);
  margin: 0;
  padding-top: 0;
}

/* ================= HERO TITLE SVG ================= */
.hero-title-svg {
  max-width: 80%;
  height: auto;
  width: 100%;
  filter: brightness(0) invert(1);
}

/* ================= HEADER / NAVBAR ================= */
.custom-header {
  width: 100%;
  z-index: 100;
}

.navbar {
  padding: 10px 0;
  transition: padding 0.3s ease;
}

.navbar-toggler {
  position: relative;
  /* wichtig für z-index */
  z-index: 1003;
  /* höher als Overlay und Menü-Links */
  border: none;
  background: none;
  box-shadow: none;
  filter: none;
  backdrop-filter: none;
}

.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler:hover {
  border: none;
  background: none;
  box-shadow: none;
  outline: none;
}

.logo-img {
  height: 35px;
  width: 250px;
}

.nav-link {
  color: #fff !important;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  line-height: 1;
  padding-top: 10px;
}

.nav-link.dark {
  color: #000 !important;
}

.nav-link:hover {
  transform: scale(1.02);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255,1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.navbar-toggler-icon.dark {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0,0,0,1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Navbar Collapse geöffnet: Hintergrund halbtransparent */
/* Overlay rechts */
.navbar-collapse::before {
  content: "";
  position: fixed;
  top: 0;
  right: 0;
  width: 250px;
  height: 100vh;
  pointer-events: none;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.5s ease;
}

/* Overlay sichtbar, wenn Menü offen */
.navbar-collapse.show::before {
  opacity: 1;
}

/* Menü-Links - Start (geschlossen) */
.navbar-collapse .navbar-nav {
  position: absolute;
  top: calc(100% + 35px);
  right: 28px;
  z-index: 1002;
  display: flex;
  flex-direction: column;
  gap: 0px;
  transform: translateX(100%);
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.navbar-nav .nav-item {
  margin: 0;
}

/* Menü offen */
.navbar-collapse.show .navbar-nav {
  transform: translateX(0);
  /* reinfahren */
  opacity: 1;
}





/* ================= HERO ================= */
.hero {
  position: relative;
  overflow: hidden;
  font-family: "Cormorant Garamond", serif;
  height: 100vh;
  z-index: 0;
}

.hero-logo {
  position: absolute;
  top: 25px;
  left: 40px;
  z-index: 10;
}

.hero-logo img {
  width: 200px;
  height: auto;
  filter: brightness(0) invert(1);
  transition: transform 0.3s ease;
}

.hero-logo img:hover {
  transform: scale(1.05);
}

.hero-slideshow img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: slideshow 76s infinite;
}

.hero-slideshow img:nth-child(1) {
  animation-delay: 0s;
}

.hero-slideshow img:nth-child(2) {
  animation-delay: 6s;
}

.hero-slideshow img:nth-child(3) {
  animation-delay: 12s;
}

.hero-slideshow img:nth-child(4) {
  animation-delay: 18s;
}

.hero-slideshow img:nth-child(5) {
  animation-delay: 24s;
}

.hero-slideshow img:nth-child(6) {
  animation-delay: 30s;
}

.hero-slideshow img:nth-child(7) {
  animation-delay: 36s;
}

.hero-slideshow img:nth-child(8) {
  animation-delay: 42s;
}

.hero-slideshow img:nth-child(9) {
  animation-delay: 48s;
}

.hero-slideshow img:nth-child(10) {
  animation-delay: 54s;
}

.hero-slideshow img:nth-child(11) {
  animation-delay: 60s;
}

.hero-slideshow img:nth-child(12) {
  animation-delay: 66s;
}

.hero-slideshow img:nth-child(13) {
  animation-delay: 72s;
}

@keyframes slideshow {
  0% {
    opacity: 0;
  }

  5% {
    opacity: 1;
  }

  25% {
    opacity: 1;
  }

  30% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

.hero-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
  z-index: 10;
  max-width: 90%;
}

.hero-overlay h1,
.hero-overlay p {
  font-family: "Cormorant Garamond", serif;
}

.hero-overlay h1 {
  font-size: 2rem;
  line-height: 1.2;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.hero-overlay p {
  font-size: 1.4rem;
  font-weight: 550;
  line-height: 1;
}

/* ================= ÜBER MICH ================= */
.about-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
  text-align: center;
  gap: 2rem;
  margin-bottom: 6rem;
}

.about-img {
  width: 300px;
  height: auto;
  border-radius: 0;
}

.about-text img:first-of-type {
  margin: 0.8rem;
}

.about-text {
  max-width: 800px;
  font-family: "Cormorant Garamond", serif;
}

.about-text h2,
.about-text p {
  font-family: "Cormorant Garamond", serif;
}

.about-text h2 {
  font-size: 18pt;
  font-weight: 300;
}

.about-text p {
  font-size: 14pt;
  font-weight: 300;
  line-height: 0.4;
}

.about-text h3,
.about-text3 h4 {
  font-family: "Poppins", sans-serif;
  font-weight: 200;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* ================= ÜBER MICH 3 ================= */
.about-wrapper3 {
  position: relative;
  width: 100vw;
  height: 110vh;
  padding-bottom: 5vh;
  background-image: url('assets/bilder/Wallpaper_aboutme.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.about-text3 {
  max-width: 700px;
  color: #ffffff;
  position: absolute;
  bottom: 100px;
  left: 110px;
  padding: 0rem;
  font-weight: 600;
  font-family: "Cormorant Garamond", serif;
}

.about3-title-svg {
  display: block;
  width: 100%;
  max-width: 150px;
  height: auto;
  margin-bottom: 0px;
  filter: brightness(0) invert(1);
}

.about-wrapper3 img.about-img {
  width: 400px;
  height: auto;
  object-fit: cover;
  z-index: 0;
}

.about-text3 p {
  font-weight: 300;
  font-size: 20px;
  color: white;
  text-align: left;
  margin: 18px 0;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.about3-title-svg+p {
  margin-top: 0;
}

/* ================= ÜBER MICH 4 ================= */
.about-wrapper4 {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 2000px;
  margin: 0 auto;
  margin-top: -10rem;
  padding: 4rem 2rem;
  gap: 2rem;
}

.about-text4 {
  max-width: 600px;
  color: #948671;
  text-align: left;
  font-weight: 600;
  font-size: 24px;
  line-height: 1.4;
  margin-left: 5rem;
  padding-top: 150px;
  font-family: "Cormorant Garamond", serif;
}

.about-wrapper4 img.about-img4 {
  width: 500px;
  height: auto;
  object-fit: cover;
  margin-right: -2rem;
  z-index: 1;
  border-radius: 10px;
}

.about-text4 p {
  margin: 40px 0;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

/* ================ Portfolio ================ */
.portfolio-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 2000px;
  margin: 0 auto;
  margin-top: 0.5rem;
  margin-bottom: 4rem;
  padding: 6rem 8rem 6rem 14rem;
  gap: 2rem;
}

.portfolio-sign {
  width: 12%;
  height: auto;
  object-fit: cover;
  margin-left: 6.4rem;
}


.portfolio-display {
  display: flex;
  align-items: center;
}

.portfolio-image-container {
  overflow: hidden;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.portfolio-img {
  width: 80%;
  height: auto;
  margin: auto;
  transition: transform 0.5s ease, opacity 0.5s ease;
  position: relative;
}

/* Right text block */
.portfolio-info {
  flex: 1;
  gap: 0;
  text-align: left;
}

.portfolio-name {
  text-align: flex;
  font-size: 45px;
  font-family: "Cormorant Garamond", serif;
  font-weight: 300;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
  margin-right: -1rem;
}

.portfolio-caption {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 0px;
  line-height: -1.2;
}

.portfolio-date {
  font-size: 18px;
  font-family: "Poppins", sans-serif;
  font-weight: 200;
  letter-spacing: 1px;

  margin-bottom: 120px;
  /*Abstand zu Weiter zurück Button*/
}

/* Center slash divider */
.portfolio-buttons {
  display: flex;
  align-items: center;
}

.portfolio-btn {
  background: none;
  border: none;
  font-size: 14px;
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  letter-spacing: 2px;
  cursor: pointer;
  opacity: .8;
  transition: 0.2s ease;
  padding: 0 1px;
  /* symmetrischer Abstand */
}

.portfolio-btn:first-child::after {
  content: "/";
  font-size: 30px;
  font-family: "Cormorant Garamond", serif;
  margin: 0 20px;
  display: inline-block;
  line-height: 1;
  /* gleiche Höhe wie Buttons */
  vertical-align: middle;
  /* vertikal zentrieren */
  transform: translateY(2px);
  /* Feintuning */
}

.portfolio-buttons::after {
  content: "";
}

/*Animation der Bilder sowie Text*/
.portfolio-img,
.portfolio-name,
.portfolio-caption,
.portfolio-date {
  transition: .45s ease;
}

/* ================= KONTAKTFORMULAR ================= */
.contact-section {
  text-align: center;
  color: #554e45;
  padding: 4rem 2rem;
  margin-bottom: 3rem;
}

.contact-title-svg {
  display: block;
  width: 100%;
  max-width: 310px;
  height: auto;
  /*SVG Abstand zu Text*/
  margin: 0 auto -7rem;
}

.contact-subtitle {
  font-family: "Cormorant Garamond", serif;
  font-size: 11pt;
  margin-bottom: 2rem;
  line-height: 1.4;
  font-weight: 300;
  letter-spacing: 0.025em;
}

.contact-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.contact-honey {
  display: none !important;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #000000;
  border-radius: 0;
  font-size: 1rem;
  font-family: "Poppins", sans-serif;
  font-weight: 200;
  color: #000000;
  background-color: #fff;
  transition: border-color 0.3s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  font-family: "Poppins", sans-serif;
  font-weight: 200;
  color: #000000;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #746958;
  outline: none;
}

.contact-form input.input-error,
.contact-form textarea.input-error {
  border-color: #a94442;
}

.contact-form textarea {
  resize: none;
}

.contact-error-message {
  min-height: 1.25rem;
  width: 100%;
  margin: -0.25rem 0 0;
  color: #a94442;
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  font-size: 0.9rem;
  text-align: left;
}

.contact-form button {
  background-color: #3f3e3e;
  color: #fff;
  border: none;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
  margin-left: -43rem;
}

.contact-form button:hover {
  background-color: #202020;
}

.contact-form.form-shake {
  animation: contact-shake 0.35s ease;
}

@keyframes contact-shake {

  0%,
  100% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-6px);
  }

  50% {
    transform: translateX(6px);
  }

  75% {
    transform: translateX(-4px);
  }
}

/* RESPONSIVE */
@media (max-width: 600px) {

  .hero-title-svg {
    max-width: 90%;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 0.95rem;
    padding: 0.6rem 0.8rem;
  }

  .contact-form button {
    width: 100%;
  }

  .contact-title-svg {
    max-width: 220px;
  }

  .contact-subtitle {
    font-size: 1rem;
  }
}

/* ================= Feebdack ================= */
.feedback-sign {
  text-align: center;
  color: #000000;
  padding: 4rem 2rem;
}

.feedback-sign img {
  max-width: 220px;
  /* etwas kleiner */
  width: 100%;
  height: auto;
  margin-bottom: 0.35rem;
}

#feedbackList {
  max-width: 760px;
  height: 420px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  align-items: stretch;
}

#insta-container img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

#insta-container img:hover {
  transform: scale(1.05);
}

.feedback-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.feedback-item.fade-out {
  opacity: 0;
  transform: translateY(-20px);
}

.feedback-item {
  width: 100%;
  height: 100%;
  /* Höhe des Containers */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  /* vertikal zentriert */
  align-items: center;
  /* gesamter Block horizontal zentriert */
  text-align: left;
  /* Text innerhalb linksbündig */
  padding: 1.5rem;
  box-sizing: border-box;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.4;
  font-weight: 300;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  list-style: none;
}

.feedback-item .feedback-text {
  width: 100%;
  max-width: 620px;
  flex: 0 1 auto;
  overflow-y: auto;
  word-wrap: break-word;
  margin-bottom: 2rem;
  padding-right: 0.5rem;
}

.feedback-item .feedback-author,
.feedback-item .feedback-name {
  font-weight: 300;
  display: block;
  margin-bottom: 0.05rem;
  align-self: center;
}

.feedback-item .feedback-date {
  font-family: "Poppins", sans-serif;
  font-weight: 200;
  letter-spacing: 0.2em;
  color: #000000;
  margin-bottom: 0;
  align-self: center;
}

/* Responsive Anpassung */
@media (max-width: 768px) {
  #feedbackList {
    height: 460px;
  }

  .feedback-item .feedback-text {
    max-width: 90%;
  }
}

@media (max-width: 480px) {
  #feedbackList {
    height: 500px;
  }

  .feedback-item .feedback-text {
    max-width: 95%;
    font-size: 1rem;
  }
}

/* ================ Instagram Section =============== */
.instagram-sign {
  text-align: center;
  color: #000000;
  padding: 1rem 2rem 0;
  margin-top: -8rem;
  /*Abstand zum Feedback*/
}

.instagram-title {
  display: block;
  max-width: 400px;
  width: 100%;
  height: auto;
  margin: 0 auto -7rem;
}


.instagram-img {
  max-width: 280px;
  width: 100%;
  height: auto;
  margin-bottom: 8rem;
}

/* ================= FOOTER (OPTIMIERT) ================= */
.footer-custom {
  color: #000000;
  padding: 2.5rem 1rem;
  font-weight: 600;
  line-height: 1.2;
}

/* volle Breite ohne Bootstrap-Einengung */
.footer-custom .container {
  max-width: 100%;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Spalten enger an Rand bringen */
.footer-custom .row>div {
  padding-left: 3.5rem;
  padding-right: 3.5rem;
}

/* Links (Kontakt) */
.footer-custom .text-start {
  text-align: left;
  padding-left: 0;
  /* direkt am Rand */
}

/* Mitte */
.footer-custom .text-center {
  text-align: center;
}

/* Rechts (Navigation) */
.footer-custom .text-end {
  text-align: right;
  padding-right: 0;
  /* direkt am Rand */
}

/* Überschriften */
.footer-custom h4 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  margin-bottom: 0.8rem;
  letter-spacing: 0.5px;
}

/* Text */
.footer-custom p,
.footer-custom ul li {
  margin: 0.2rem 0;
  font-size: 0.95rem;
}

/* Links */
.footer-custom a {
  color: #000000;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer-custom a:hover {
  opacity: 0.6;
}

/* Listen */
.footer-custom ul {
  padding-left: 0;
}

/* Social Icons */
.footer-custom .footer-social {
  margin-top: 2rem;
}

.footer-custom .footer-social a {
  margin: 0 0.3rem;
}

.footer-custom .footer-social img {
  width: 22px;
  height: 22px;
  transition: transform 0.2s ease;
}

.footer-custom .footer-social img:hover {
  transform: scale(1.1);
}

/* Linie */
.footer-custom hr {
  border-color: rgba(0, 0, 0, 0.2);
  margin-top: 2rem;
}

/* Beschreibung */
.footer-description {
  .footer-description {
    font-family: "Cormorant Garamond", serif;
    font-weight: 300;
    font-size: 1.1rem;
    /* größer */
    line-height: 1.5;
    /* optional: bessere Lesbarkeit */
  }
}

.footer-custom hr {
  height: 1.5px;
  background-color: #000;
  border: none;
  margin-top: 2rem;
  opacity: 1;
  margin-left: 7rem;
  margin-right: 7rem;
}

.footer-bottom p {
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  font-size: 9pt;
  margin: 0;
  opacity: 0.8;
}

/* ================= SCROLLBAR AUSBLENDEN ================= */
html,
body {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
}

/* ========================================================= 📱 RESPONSIVE MEDIA QUERIES – OPTIMIERT FÜR SMARTPHONES ========================================================= */
/* Tablet bis Desktop */
@media (max-width: 992px) {
  .about-wrapper {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1rem;
  }

  .about-img {
    width: 100%;
    margin-bottom: 1rem;
  }

}

/* Kleine Tablets / Smartphones */
@media (max-width: 768px) {
  .hero-overlay h1 {
    font-size: 2rem;
  }

  .hero-overlay p {
    font-size: 1rem;
  }

  .footer-custom {
    padding: 40px 1rem;
  }

  .about-wrapper4 {
    flex-direction: column;
    align-items: center;
    padding: 2rem 1rem;
  }

  .about-text4 {
    text-align: center;
    margin: 0;
  }
}

/* Smartphones */
@media (max-width: 600px) {
  .hero {
    height: 100vh;
  }

  .hero-logo {
    top: 10px;
    left: 15px;
  }

  .hero-logo img {
    width: 130px;
  }

  .hero-overlay {
    width: 90%;
    padding: 0 1rem;
  }

  .hero-overlay h1 {
    font-size: 1.2rem;
  }

  .hero-overlay p {
    font-size: 0.8rem;
    line-height: 1.3;
  }

  .about-wrapper,
  .about-wrapper3,
  .about-wrapper4 {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center;
    padding: 2rem 1rem;
  }

  .about-img,
  .about-wrapper3 img.about-img,
  .about-wrapper4 img.about-img4 {
    width: 100%;
    max-width: 280px;
    height: auto;
    margin: 1rem 0;
  }

  .about-text p,
  .about-text3 p,
  .about-text4 p {
    font-size: 0.8rem;
    line-height: 1.3;
  }

  .portfolio-img {
    width: 100%;
    max-width: 300px;
  }

  .portfolio-sign {
    width: 20%;
    max-width: 150px;
  }

  #insta-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }

  #insta-container img {
    width: 140px;
    height: 140px;
  }

  .feedback-item {
    font-size: 0.8rem;
  }

  .footer-custom {
    padding: 1.5rem 1rem;
    font-size: 0.9rem;
  }

  .footer-custom .footer-social img {
    width: 20px;
    height: 20px;
  }

  .portfolio-wrapper {
    padding: 3rem 1rem;
  }

  .portfolio-img {
    width: 100%;
    max-width: 250px;
  }

  .portfolio-sign {
    width: 30%;
    max-width: 120px;
  }
}

/* Sehr kleine Smartphones */
@media (max-width: 400px) {
  .hero-overlay h1 {
    font-size: 1.3rem;
  }

  .hero-overlay p {
    font-size: 0.85rem;
  }

  .about-text p,
  .about-text3 p,
  .about-text4 p {
    font-size: 0.9rem;
    line-height: 1.3;
  }

  .hero-logo img {
    width: 120px;
  }

  #insta-container img {
    width: 120px;
    height: 120px;
  }

}


@media (max-width: 900px) {
  .portfolio-display {
    flex-direction: column;
    text-align: center;
  }

  .portfolio-info {
    text-align: center;
  }

  .portfolio-buttons {
    justify-content: center;
  }

  .portfolio-buttons::before {
    margin-right: 10px;
  }
}
