@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: #E8C8F0;
}

.header-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: center;
  padding: 40px 20px;
}

.header-image {
  background-image: url('profilMiluEckig.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  height: 300px;
}

.header-content {
  padding: 20px;
}

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

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

/* Main mit Hintergrund-Graphik */
main {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

main::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('LogoFrau&IT.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0.3;
  pointer-events: none;
  z-index: 0;
}

main > * {
  position: relative;
  z-index: 1;
}

/* Sections */
.intro {
  background-color: rgba(255, 255, 255, 0.3);
  padding: 30px;
  border-radius: 8px;
  margin: 20px 0;
}

.intro h2 {
  color: #333;
  margin-top: 20px;
}

.intro ul {
  margin-left: 20px;
}

.intro li {
  margin: 10px 0;
}

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

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

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

/* Footer */
footer {
  background-color: #E8C8F0;
  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: 50%;
  transform: translateY(-50%);
  font-size: 0.9em;
  transition: transform 0.3s ease;
  color: #D4A0DB;
}

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

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

.accordion-content {
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  opacity: 1;
  max-height: 1000px;
}

.accordion-content[style*="display: none"] {
  opacity: 0;
  max-height: 0;
}

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 {
    grid-template-columns: 1fr 1fr;
    padding: 30px 15px;
  }
  
  .header-image {
    height: 250px;
  }
  
  .header-content h1 {
    font-size: 2em;
  }
  
  .header-content h2 {
    font-size: 1.2em;
  }
  
  main {
    padding: 15px;
  }
  
  .intro {
    padding: 20px;
  }
}

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

@media (max-width: 480px) {
  .header-grid {
    grid-template-columns: 1fr;
    padding: 15px 10px;
    gap: 10px;
  }
  
  .header-image {
    height: 150px;
  }
  
  .header-content h1 {
    font-size: 1.5em;
  }
  
  .header-content h2 {
    font-size: 0.9em;
  }
  
  .header-content {
    padding: 5px;
  }
  
  main {
    max-width: 100%;
    padding: 10px;
  }
  
  .intro {
    padding: 12px;
    margin: 10px 0;
  }
  
  .intro p {
    font-size: 0.95em;
    line-height: 1.4;
  }
  
  .intro h2 {
    font-size: 1.1em;
  }
  
  .intro ul {
    margin-left: 12px;
    padding: 0;
  }
  
  .intro li {
    margin: 8px 0;
    font-size: 0.95em;
  }
  
  .contact {
    font-size: 0.9em;
  }
}

