:root {
  /* Erklärbär Logo Color Palette - Warm Bear Theme */
  --primary-color: #8B7355; /* Bronze/brown from gear ring */
  --secondary-color: #5C4A3A; /* Dark brown from bear details */
  --accent-color: #F5E6D3; /* Warm cream from bear/gear body */
  --dark-color: #3D3028; /* Rich dark brown */
  --light-color: #FBF8F5; /* Off-white cream background */
  --gradient-start: #8B7355; /* Bronze */
  --gradient-middle: #A08060; /* Lighter bronze */
  --gradient-end: #5C4A3A; /* Dark brown */
  --shadow: 0 4px 6px rgba(61, 48, 40, 0.12);
  --border-radius: 8px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--dark-color);
  background-color: var(--light-color);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: white;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  padding: 1.5rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.cookie-banner.visible {
  transform: translateY(0);
}

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

.cookie-text h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.cookie-text p {
  font-size: 0.9rem;
  color: #555;
}

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

@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-buttons {
    width: 100%;
    justify-content: space-between;
  }
}

/* ===== BREVO FORM STYLING ===== */
.brevo-form-container {
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
  text-align: center;
}

.brevo-form-iframe {
  border: none;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  background: white;
  width: 100%;
  height: auto;
  aspect-ratio: 540/305;
}

@media (max-width: 600px) {
  .brevo-form-iframe {
    aspect-ratio: 1/1;
    height: 100%;
    min-height: 300px;
  }
}

/* Header Styles */
header {
  background: linear-gradient(
    135deg,
    var(--gradient-start),
    var(--gradient-middle),
    var(--gradient-end)
  );
  color: white;
  text-align: center;
  padding: 3rem 1rem;
  position: relative;
}

.logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin-bottom: 1rem;
}

.logo {
  width: 120px;
  height: 120px;
  background: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: var(--shadow);
  margin-bottom: 1rem;
  position: relative;
  padding: 10px;
  transition: transform 0.3s ease;
}

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

.logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.tagline {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.9;
}

/* Main Content Styles */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

section {
  margin-bottom: 5rem;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
}

h2:after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
  margin: 1rem auto;
  border-radius: 2px;
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  gap: 4rem;
  min-height: 80vh;
}

.hero-content {
  flex: 1;
}

.hero-content h2 {
  text-align: left;
  margin-bottom: 1.5rem;
}

.hero-content h2:after {
  margin: 1rem 0;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #555;
}

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

.btn {
  padding: 0.8rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  transition: var(--transition);
  display: inline-block;
}

.btn.primary {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-middle));
  color: white;
  box-shadow: var(--shadow);
}

.btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn.secondary {
  background-color: transparent;
  border: 2px solid var(--gradient-middle);
  color: var(--gradient-middle);
}

.btn.secondary:hover {
  background-color: var(--gradient-middle);
  color: white;
}

.btn.disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.hero-image {
  flex: 1;
}

/* Browser Mockup */
.browser-mockup {
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  border: 1px solid #eee;
}

.browser-header {
  background-color: #f1f1f1;
  padding: 10px;
  display: flex;
  align-items: center;
}

.dot {
  width: 12px;
  height: 12px;
  background-color: #ccc;
  border-radius: 50%;
  margin-right: 6px;
}

.dot:first-child {
  background-color: #ff5f57;
}

.dot:nth-child(2) {
  background-color: #ffbd2e;
}

.dot:nth-child(3) {
  background-color: #28ca41;
}

.browser-content {
  background-color: white;
  padding: 20px;
  min-height: 300px;
  position: relative;
}

.mockup-text {
  position: relative;
}

.highlighted {
  background-color: rgba(139, 115, 85, 0.2);
  padding: 2px 4px;
  border-radius: 3px;
  position: relative;
}

.explanation-tooltip {
  position: absolute;
  top: 40px;
  left: 200px;
  width: 300px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  z-index: 10;
  overflow: hidden;
  border: 1px solid #eee;
}

.tooltip-header {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-middle));
  color: white;
  padding: 10px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.close-btn {
  cursor: pointer;
  font-size: 1.2rem;
}

.explanation-tooltip p {
  padding: 15px;
  margin: 0;
  font-size: 0.9rem;
}

.concise {
  font-weight: 500;
}

.more-details-btn {
  color: var(--gradient-middle);
  text-align: center;
  cursor: pointer;
  font-size: 0.85rem !important;
  padding: 5px 15px !important;
  font-weight: 600 !important;
}

.detailed-explanation {
  background-color: #f9f9f9;
  border-top: 1px solid #eee;
}

/* Features Section */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-middle));
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 1.5rem;
}

.feature-card h3 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

/* How It Works Section */
.steps {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.step {
  flex: 1;
  min-width: 250px;
  text-align: center;
  position: relative;
}

.step:not(:last-child):after {
  content: '';
  position: absolute;
  right: -20px;
  top: 30px;
  width: 40px;
  height: 2px;
  background-color: #ddd;
}

.step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-middle));
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 1.5rem;
  font-weight: 600;
}

.step h3 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

/* Installation Section */
.installation-methods {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.method {
  flex: 1;
  min-width: 300px;
  background-color: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.method h3 {
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.method p {
  color: #888;
  margin-bottom: 1.5rem;
}

.method ol {
  list-style-position: inside;
  margin-bottom: 1.5rem;
}

.method li {
  margin-bottom: 0.5rem;
}

/* FAQ Section */
.accordion {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  margin-bottom: 1rem;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.accordion-header {
  background-color: white;
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-header h3 {
  font-size: 1.2rem;
  font-weight: 500;
}

.accordion-icon {
  font-size: 1.5rem;
  color: var(--gradient-middle);
  transition: var(--transition);
}

.accordion-content {
  background-color: #f9f9f9;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
}

.accordion-item.active .accordion-content {
  padding: 1.5rem;
  max-height: 200px;
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
}

/* Legal Pages Styles */
.legal-content {
  max-width: 800px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.legal-section {
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
}

.legal-section h3 {
  color: var(--dark-color);
  margin: 1.5rem 0 1rem;
  font-size: 1.3rem;
}

.legal-section h4 {
  color: var(--dark-color);
  margin: 1.2rem 0 0.8rem;
  font-size: 1.1rem;
}

.legal-section p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.legal-section a {
  color: var(--gradient-middle);
  text-decoration: none;
  transition: var(--transition);
}

.legal-section a:hover {
  color: var(--gradient-start);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .legal-section {
    padding: 1.5rem;
  }
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: white;
  padding: 3rem 1rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
}

.footer-logo img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 0.5rem;
}

.footer-logo span {
  font-size: 1.5rem;
  font-weight: 600;
}

.footer-links {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--gradient-start);
}

.footer-legal {
  display: flex;
  gap: 2rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-legal a {
  font-size: 0.9rem;
  opacity: 0.8;
  transition: var(--transition);
}

.footer-legal a:hover {
  opacity: 1;
  color: var(--gradient-start);
}

@media (max-width: 768px) {
  .footer-legal {
    gap: 1rem;
  }
}

.copyright {
  opacity: 0.7;
  font-size: 0.9rem;
}

/* Coming Soon Styles */
.coming-soon-banner {
  background: linear-gradient(
    135deg,
    var(--gradient-start),
    var(--gradient-middle),
    var(--gradient-end)
  );
  padding: 0.8rem 1.5rem;
  border-radius: var(--border-radius);
  margin-bottom: 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  animation: pulse 2s infinite;
}

.coming-soon-text {
  color: white;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.coming-soon-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-middle));
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
  animation: pulse 2s infinite;
}

.newsletter-signup {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.email-input {
  flex: 1;
  min-width: 200px;
  padding: 0.8rem 1rem;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(139, 115, 85, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(139, 115, 85, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(139, 115, 85, 0);
  }
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero {
    flex-direction: column;
    gap: 3rem;
  }

  .hero-content,
  .hero-image {
    flex: none;
    width: 100%;
  }

  .step:not(:last-child):after {
    display: none;
  }
}

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

  h2 {
    font-size: 2rem;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    flex-direction: column;
  }

  .installation-methods {
    flex-direction: column;
  }

  .footer-links {
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  header {
    padding: 2rem 1rem;
  }

  h1 {
    font-size: 2rem;
  }

  .logo {
    width: 100px;
    height: 100px;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .explanation-tooltip {
    width: 250px;
    left: 50px;
  }
}
