/* PureLebenslust - Main Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300,400,500,600&display=swap');

:root {
  --primary-bg: #FBFFFE;
  --accent-teal: #3C6F64;
  --accent-mint: #75B3A5;
  --accent-gold: #D1BB35;
  --text-dark: #1a1a1a;
  --text-light: #666666;
  --border-light: #e8e8e8;
  --white: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--primary-bg);
  color: var(--text-dark);
  line-height: 1.76;
  font-size: 17px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
}

h1 {
  font-size: 3.5rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

h2 {
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1.25rem;
  color: var(--accent-teal);
}

h3 {
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

p {
  margin-bottom: 1rem;
  color: var(--text-dark);
  line-height: 1.76;
}

em {
  font-style: italic;
  color: var(--accent-teal);
}

/* Header */
header {
  background-color: rgba(251, 255, 254, 0.93);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: 1px solid rgba(60, 111, 100, 0.1);
  padding: 1rem 0;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--accent-teal);
  font-weight: 600;
  font-size: 1.5rem;
}

.logo img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

nav a {
  color: var(--text-dark);
  text-decoration: none;
  margin: 0 1.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--accent-mint);
}

/* Container */
.container {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Sections */
section {
  padding: 160px 0;
}

section.full-bleed {
  padding: 0;
}

/* Hero Section */
#hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  margin-top: 60px;
}

#hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('images/hero.jpg');
  background-size: cover;
  background-position: center;
  z-index: -1;
  filter: brightness(0.7);
}

#hero .hero-content {
  text-align: center;
  color: white;
  z-index: 1;
  animation: fadeUpScale 1s ease-out;
}

#hero h1 {
  color: white;
  font-size: 4rem;
  margin-bottom: 1.5rem;
}

#hero p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

/* Animations */
@keyframes fadeUpScale {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.animate-on-scroll {
  opacity: 0;
  animation: fadeUpScale 0.8s ease-out forwards;
}

/* Content Sections */
#lebenslust {
  background-color: var(--primary-bg);
  text-align: center;
}

#lebenslust p {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* Two Column Layout */
.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.two-column img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 40px rgba(60, 111, 100, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.two-column img:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 50px rgba(60, 111, 100, 0.15);
}

.two-column-text h2 {
  margin-bottom: 1.5rem;
}

.two-column-text p {
  margin-bottom: 1rem;
}

/* Products Grid */
#produkte {
  background-color: var(--white);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 3rem;
}

.product-card {
  background: var(--primary-bg);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(60, 111, 100, 0.08);
  transition: all 0.3s ease;
  padding: 0;
}

.product-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 15px 40px rgba(60, 111, 100, 0.15);
}

.product-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.product-card-content {
  padding: 1.75rem;
}

.product-card h3 {
  color: var(--accent-teal);
  margin-bottom: 0.75rem;
  font-size: 1.4rem;
}

.product-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Info Blocks */
.info-block {
  background: linear-gradient(135deg, rgba(117, 179, 165, 0.05) 0%, rgba(209, 187, 53, 0.05) 100%);
  border-left: 4px solid var(--accent-mint);
  padding: 1.5rem;
  margin: 1.5rem 0;
  border-radius: 8px;
}

.info-block h3 {
  color: var(--accent-teal);
  margin-bottom: 0.75rem;
}

/* Table */
.source-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(60, 111, 100, 0.08);
}

.source-table th {
  background-color: var(--accent-teal);
  color: white;
  padding: 1.25rem;
  text-align: left;
  font-weight: 600;
}

.source-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-light);
}

.source-table tr:last-child td {
  border-bottom: none;
}

.source-table tr:hover {
  background-color: rgba(117, 179, 165, 0.05);
}

/* FAQ */
.faq-item {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 5px 20px rgba(60, 111, 100, 0.1);
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--primary-bg);
  font-weight: 600;
  color: var(--accent-teal);
  user-select: none;
}

.faq-question:hover {
  background-color: rgba(117, 179, 165, 0.08);
}

.faq-toggle {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: var(--white);
  padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 1.5rem;
}

.faq-answer p {
  color: var(--text-light);
  margin: 0;
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: var(--white);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 5px 30px rgba(60, 111, 100, 0.1);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--accent-teal);
}

.form-group input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus {
  outline: none;
  border-color: var(--accent-mint);
  box-shadow: 0 0 0 3px rgba(117, 179, 165, 0.1);
}

.form-disclaimer {
  background: rgba(209, 187, 53, 0.08);
  border-left: 4px solid var(--accent-gold);
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.btn {
  background: linear-gradient(135deg, var(--accent-mint) 0%, var(--accent-teal) 100%);
  color: white;
  border: none;
  padding: 1rem 2.5rem;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(60, 111, 100, 0.2);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 10px 30px rgba(60, 111, 100, 0.2);
  }
  50% {
    box-shadow: 0 10px 40px rgba(60, 111, 100, 0.3);
  }
}

/* Footer */
footer {
  background-color: var(--accent-teal);
  color: white;
  padding: 3rem 0 1.5rem;
}

footer .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

footer h3 {
  color: white;
  margin-bottom: 1rem;
}

footer p, footer a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  margin-bottom: 0.5rem;
  display: block;
}

footer a:hover {
  color: var(--accent-gold);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links a {
  cursor: pointer;
  margin: 0;
  display: inline;
  font-size: 0.9rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

/* Modals */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  overflow-y: auto;
  animation: fadeIn 0.3s ease;
}

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

.modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: var(--primary-bg);
  padding: 2.5rem;
  border-radius: 12px;
  max-width: 800px;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  animation: slideInUp 0.3s ease;
}

@keyframes slideInUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-close {
  position: absolute;
  right: 1.5rem;
  top: 1.5rem;
  font-size: 2rem;
  cursor: pointer;
  color: var(--text-dark);
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
}

.modal-close:hover {
  color: var(--accent-mint);
}

.modal h2 {
  margin-top: 0;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(60, 111, 100, 0.95);
  color: white;
  padding: 1.5rem;
  z-index: 1500;
  display: none;
  backdrop-filter: blur(10px);
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.cookie-banner.show {
  display: block;
}

.cookie-container {
  max-width: 1340px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  min-width: 300px;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-buttons button {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  transition: all 0.3s ease;
}

.cookie-buttons .btn-accept {
  background: var(--accent-gold);
  color: var(--text-dark);
}

.cookie-buttons .btn-accept:hover {
  background: #c9a82e;
  transform: translateY(-2px);
}

.cookie-buttons .btn-decline {
  background: transparent;
  color: white;
  border: 1px solid white;
}

.cookie-buttons .btn-decline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.cookie-buttons .btn-policy {
  background: transparent;
  color: white;
  border: 1px solid white;
}

.cookie-buttons .btn-policy:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Thank You Message */
.thank-you-message {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  z-index: 2500;
  text-align: center;
  animation: slideInUp 0.3s ease;
}

.thank-you-message.show {
  display: block;
}

.thank-you-message h2 {
  color: var(--accent-teal);
  margin-bottom: 1rem;
}

.thank-you-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 2400;
}

.thank-you-overlay.show {
  display: block;
}

/* Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  h3 {
    font-size: 1.3rem;
  }

  #hero h1 {
    font-size: 2.5rem;
  }

  #hero p {
    font-size: 1.1rem;
  }

  section {
    padding: 100px 0;
  }

  .two-column {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  nav {
    display: none;
  }

  header {
    flex-direction: column;
  }

  .modal-content {
    margin: 1rem;
    padding: 1.5rem;
  }

  .cookie-container {
    flex-direction: column;
    gap: 1rem;
  }

  .cookie-buttons {
    width: 100%;
    flex-direction: column;
  }

  .cookie-buttons button {
    width: 100%;
  }

  footer .container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 15px;
  }

  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  section {
    padding: 60px 0;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .container {
    padding: 0 15px;
  }
}
