@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

/* Global Styles */
body {
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  padding: 0;
}

/* Header mit Hintergrundbild */
.header-index {
  margin-top: 0;
  background-color: #aac5f8;
}


.header-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}
.header-image {
  background-image: url('digitalEaseLogo1412x216.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  height: 200px;
  width: 100%;
  order: 1;
  z-index: 2;
}
.header-content {
  padding: 30px 20px 10px;
  text-align: center;
  order: 2;
  z-index: 1;
  position: relative;
}

.header-content h1 {
  font-size: 2em;
  margin: 0;
  color: #333;
}

.header-content h2 {
  font-size: 1.5em;
  margin: 10px 0 0 0;
  color: #666;
}

/* Sections */

/* Contact Section */
.contact b {
  color: #333;
}

.contact a,
.contact a:visited {
  color: #aac5f8;
  text-decoration: none;
}

.contact a:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  background-color: #aac5f8;
  text-align: center;
  padding: 30px 20px;
  margin-top: 40px;
}

footer p {
  margin: 0;
  color: #333;
  font-size: 0.95em;
}

/* Accordion Styles */
.accordion-header {
  color: #333;
  margin-top: 0;
  margin-bottom: 0;
  cursor: pointer;
  user-select: none;
  padding: 10px 0;
  transition: color 0.3s ease, text-shadow 0.3s ease;
  position: relative;
  padding-left: 35px;
}

.accordion-header::before {
  content: '▶';
  position: absolute;
  left: 0;
  top: 10px;
  font-size: 0.9em;
  transition: transform 0.3s ease;
  color: #aac5f8;
}

section.active .accordion-header::before {
  transform: rotate(90deg);
}

.accordion-header:hover {
  color: #aac5f8;
  text-shadow: 0 0 5px rgba(232, 200, 240, 0.3);
}

.accordion-content {
  display: block;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  opacity: 0;
  max-height: 0;
}

section.active .accordion-content {
  opacity: 1;
  max-height: 1000px;
}

section {
  background-color: rgba(255, 255, 255, 0.3);
  padding: 30px;
  border-radius: 8px;
  margin: 20px 0;
}

section ul {
  margin-left: 20px;
}

section li {
  margin: 10px 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .header-grid {
    padding: 20px 15px;
    gap: 0;
  }
  
  .header-image {
    height: 250px;
    margin-bottom: -80px;
  }
  
  .header-content h1 {
    font-size: 2em;
  }
  
  .header-content h2 {
    font-size: 1.2em;
  }
  
  main {
    padding: 15px;
  }
}

@media (max-width: 768px) {
  .header-grid {
    padding: 15px;
    gap: 0;
  }
  
  .header-image {
    height: 200px;
    margin-bottom: 0;
  }
  
  .header-content {
    padding: 15px 10px 10px;
  }
  
  .header-content h1 {
    font-size: 1.8em;
  }
  
  .header-content h2 {
    font-size: 1em;
  }
  
  main {
    max-width: 100%;
    padding: 12px;
  }
  
}

@media (max-width: 480px) {
  .header-grid {
    padding: 10px;
    gap: 0;
  }
  
  .header-image {
    height: 150px;
    margin-bottom: 0;
  }
  
  .header-content {
    padding: 10px;
  }
  
  .header-content h1 {
    font-size: 1.5em;
  }
  
  .header-content h2 {
    font-size: 0.9em;
  }
  
  main {
    max-width: 100%;
    padding: 10px;
  }
  
  .contact {
    font-size: 0.9em;
  }
}

