:root {
  --holz-braun: #5e3a23;
  --logofarben: #e6ded4;
  --akzent: #d6bfa8;
}

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: url('images/background.png') no-repeat center center fixed;
  background-size: cover;
  animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ---------- HEADER ---------- */
header {
  background-color: var(--holz-braun);
  padding:5px 10px 10px;
  text-align: center;
}

.centered-logo {
  display: block;
  margin: 0 auto 10px auto;
  max-width: 350px;
}

.welcome {
  text-align: center;
  font-size:2em;
  color: #e6ded4;
  font-weight:500;
}

/* ---------- NAVIGATION ---------- */
nav {
  background-color: var(--holz-braun);
  text-align: center;
  padding: 10px 0;
}

nav button {
  background: none;
  border: none;
  color: white;
  font-size: 1em;
  margin: 0 15px;
  padding: 10px;
  cursor: pointer;
}

nav button:hover {
  text-decoration: underline;
}

/* ---------- STRUCTURE ---------- */
.main-wrapper {
  display: flex;
  justify-content: center;
  padding: 40px 10px;
}

.content {
  background-color: var(--logofarben);
  border-radius: 10px;
  max-width: 1200px;
  width: 100%;
  padding: 40px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  border-top: 10px solid var(--holz-braun);
  border-bottom: 10px solid var(--holz-braun);
}

.section {
  display: none;
  animation: fadeIn 0.8s ease-in;
}

.section.active {
  display: block;
}

/* ---------- ÜBER UNS ---------- */
.ueber-mich {
  position: relative;
}

.straz {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 60px;
  height: 60px;
  background: radial-gradient(white, transparent);
  border-radius: 50%;
  box-shadow: 0 0 10px white, 0 0 20px white;
}

.ueber-mich-section {
  position: relative;
  background-color: #fdfcfb;
  padding: 40px 60px;
  font-family: 'Georgia', serif;
  color: #3e2f1c;
  max-width: 800px;
  margin: 40px auto;
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(60, 40, 20, 0.1);
  overflow: hidden;
  box-sizing: border-box;
}

.ueber-mich-section h2 {
  font-size: 28px;
  margin-bottom: 30px;
  text-align: center;
  font-weight: normal;
}

.ueber-mich-section p {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.quote {
  position: absolute;
  right: -40px;
  top: 20px;
  width: 250px;
  font-style: italic;
  font-size: 16px;
  color: #a38a74;
  transform: rotate(5deg);
  opacity: 0.8;
  text-align: right;
  pointer-events: none;
}

.signature {
  margin-top: 40px;
  font-family: 'Brush Script MT', cursive;
  font-size: 22px;
  text-align: right;
  color: #6b4c35;
}

/* ---------- STRAZEN ---------- */
.sparkle {
  position: absolute;
  width: 8px;
  height: 8px;
  background: radial-gradient(circle, #fff8e1 0%, #ffcc80 60%, transparent 80%);
  border-radius: 50%;
  animation: sparkleMove 4s infinite ease-in-out;
  opacity: 0.8;
}

.sparkle:nth-child(1) { top: 10%; left: 15%; animation-delay: 0s; }
.sparkle:nth-child(2) { top: 30%; left: 85%; animation-delay: 1.2s; }
.sparkle:nth-child(3) { top: 60%; left: 5%; animation-delay: 2s; }
.sparkle:nth-child(4) { top: 80%; left: 70%; animation-delay: 2.8s; }
.sparkle:nth-child(5) { top: 40%; left: 50%; animation-delay: 3.5s; }

@keyframes sparkleMove {
  0% { transform: scale(1) translateY(0); opacity: 0.8; }
  50% { transform: scale(1.5) translateY(-5px); opacity: 1; }
  100% { transform: scale(1) translateY(0); opacity: 0.8; }
}

/* ---------- LEISTUNGEN ---------- */
.leistungen {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.leistung {
  background-color: white;
  border: 2px solid var(--holz-braun);
  padding: 20px;
  width: 280px;
  border-radius: 8px;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.leistung h3 {
  color: var(--holz-braun);
  margin-bottom: 10px;
}

/* ---------- PROJEKTE ---------- */
.projekte-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.projekt {
  background: white;
  border: 2px solid var(--holz-braun);
  padding: 10px;
  border-radius: 8px;
  text-align: center;
}

.projekt img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 4px;
}

.projekt p {
  margin-top: 10px;
  color: var(--holz-braun);
}

/* ---------- KONTAKT ---------- */
.kontakt {
  text-align: center;
}

.kontakt .message {
  font-size: 1.4em;
  font-style: italic;
  margin-bottom: 20px;
  color: var(--holz-braun);
}

.kontakt strong {
  color: var(--holz-braun);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 600px) {
  nav button {
    display: block;
    margin: 10px auto;
  }

  .leistung {
    width: 100%;
  }

  .centered-logo {
    max-width: 120px;
  }

  .welcome {
    font-size: 1.2em;
  }

  .quote {
    position: static;
    transform: none;
    text-align: center;
    margin-top: 20px;
  }

  .ueber-mich-section {
    padding: 40px 20px;
  }

  .signature {
    text-align: center;
  }
footer {
  background-color: #5d4037;
  color: #fff;
  text-align: center;
  padding: 40px 20px;
}

footer h2, footer h3 {
  margin-top: 0;
  color: #fff3e0;
}

footer a {
  color: #ffe0b2;
  text-decoration: none;
}

footer form {
  margin: 20px auto;
  max-width: 400px;
  text-align: left;
}

footer input, footer textarea {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 4px;
  margin-top: 5px;
}

  footer .mail-button {
  display: inline-block;
  background-color: #8d6e63;
  color: #fff;
  border: none;
  padding: 12px 25px;
  border-radius: 5px;
  cursor: pointer; 
  transition: 0.3s;
}

  footer .mail-button:hover {
  background-color: #a1887f;
}
  /* HOLZSTYLE Galerie */

.projekt img {
  cursor: pointer;
  transition: transform 0.3s ease;
}

.projekt img:hover {
  transform: scale(1.03);
}

#lightbox {
  display: none;
  position: fixed;
  z-index: 99999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.95);
  justify-content: center;
  align-items: center;
}

#lightbox img {
  max-width: 95%;
  max-height: 90%;
  border-radius: 12px;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 35px;
  color: white;
  font-size: 50px;
  cursor: pointer;
}