* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-green: #bbc274;
  /* main green */
  --dark-green: #8b9b5a;
  /* for headings, icons and dark accents */
  --light-green: #d4d9b3;
  /* for buttons and highlights and borders */
  --very-light-green: #f0f2e8;
  /* for section backgrounds */
  --text-green: #4a5d3a;
  /* for main/body text and footer */
  --darker-green: #6b7f4a;
  /* for gradients and overlays */
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-green);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.dsgvo {
  padding-top: 80px;
  padding-bottom: 50px;
}

.spacer {
  height: 6px;
  width: 30%;
  background-color: var(--primary-green);
  margin: 0 0 30px 0;
}

/* Header */
header {
  background: white;
  padding: 0.5rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-name-block {
  display: flex;
  gap: 20px;
  align-items: center;
}

.logo {
  width: 130px;
}

.logo-text {
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--dark-green);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-green);
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--light-green);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  background: none;
  border: none;
  padding: 10px;
}

.hamburger .bar {
  width: 25px;
  height: 3px;
  background-color: var(--text-green);
  margin: 3px 0;
  transition: 0.3s;
}

.hamburger.open .bar:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.open .bar:nth-child(2) {
  opacity: 0;
}

.hamburger.open .bar:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* Hero Section */
.hero {
  background:
    linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    url("../images/buchjoo-hero-bg.jpg");
  height: 100vh;
  display: flex;
  align-items: center;
  color: white;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-content h1 {
  font-size: 5rem;
  margin-bottom: 0.5rem;
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
}

.hero-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
}

.hero-content p {
  color: var(--light-green);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  opacity: 0;
  animation: fadeInUp 1s ease 0.3s forwards;
}

.hero-content img {
  width: 50%;
  opacity: 0;
  animation: fadeInUp 1s ease 0.5s forwards;
  margin: 0 auto;
  padding-bottom: 4rem;
}

.cta-button {
  background: var(--very-light-green);
  color: var(--darker-green);
  padding: 10px 30px;
  text-decoration: none;
  border-radius: 2px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  display: inline-block;
  opacity: 0;
  animation: fadeInUp 1s ease 0.6s forwards;
}

.cta-button:hover {
  background: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 204, 203, 0.3);
}

/* Sections */
section {
  padding: 4rem 0;
}

.section-title {
  text-align: left;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--text-green);
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100px;
  height: 3px;
  background: var(--light-green);
  border-radius: 2px;
}

/* About Section */
.about {
  background: var(--very-light-green);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding-bottom: 3rem;
}

.about-text {
  font-size: 1.1rem;
  line-height: 1.8;
}

.about-text-left {
  text-align: left;
  font-size: 1rem;
  font-weight: bold;
  width: 65%;
  margin: 20px 0;
}

.about-image {
  height: 400px;
  width: 100%;
  border-radius: 5px;
  display: flex;
  position: relative;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* instafeed Section */
#instafeed {
  display: flex;
  justify-content: center;
  padding: 20px;
}

/* Services Section */
.services {
  background: white;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.service-card {
  background: var(--very-light-green);
  padding: 2rem;
  border-radius: 5px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  text-align: left;
  transition: all 0.3s ease;
  border-top: 4px solid var(--dark-green);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--dark-green);
}

.service-icon i {
  font-size: 3rem;
}

.service-card h3 {
  color: var(--dark-green);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

/* Contact Section */
.contact {
  background: linear-gradient(135deg, var(--dark-green), var(--darker-green));
  color: white;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-bottom: 3rem;
}

#contact-address-hanno {
  margin-top: 2rem;
}

.contact-info h3 {
  margin-bottom: 1rem;
  color: var(--light-green);
}

.contact-info p {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-info p i {
  font-size: 1.2rem;
  min-width: 20px;
}

.office-hours {
  display: grid;
  grid-template-columns: 100px 0.5fr;
  gap: 0.5rem 0;
  margin-top: 0.8rem;
}

.office-hours-row {
  display: contents;
}

.office-hours-row .day {
  text-align: left;
}

.office-hours-row .time {
  text-align: center;
}

.contact-form {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 5px;
  backdrop-filter: blur(10px);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--light-green);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
}

.form-group textarea {
  height: 120px;
  resize: vertical;
}

.contact-image {
  width: 100%;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.contact-image img {
  width: 100%;
  height: auto;
  display: block;
}

.submit-btn {
  background: var(--light-green);
  color: var(--dark-green);
  padding: 12px 30px;
  border: none;
  border-radius: 3px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  background: white;
  transform: translateY(-2px);
}

/* Footer */
footer {
  background: var(--text-green);
  color: white;
  text-align: center;
  padding: 2rem 0;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    text-align: center;
    margin: 0.5rem 0;
  }

  .logo {
    width: 100px;
  }

  .spacer {
    width: 150px;
  }

  .hero {
    background-attachment: scroll;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content h2 {
    font-size: 1.8rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  section {
    padding: 2rem 0;
  }

  .about-image {
    height: 250px;
  }

  .about-content {
    gap: 2rem;
  }

  .contact-content {
    gap: 2rem;
  }

  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .logo {
    width: 80px;
  }

  .logo-text {
    font-size: 1rem;
  }

  .spacer {
    width: 120px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content h2 {
    font-size: 1.5rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .about-image {
    height: 200px;
    font-size: 3rem;
  }

  .service-card {
    padding: 1.5rem;
  }

  .contact-form {
    padding: 1.5rem;
  }
}

/* Scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Active navigation */
.nav-links a.active {
  color: var(--light-green);
  border-bottom: 2px solid var(--light-green);
}
