/* Grundfarben und Variablen */
:root {
  --primary-color: #BFA18F;
  --primary-hover: #AB8D7B;
  --bg-color: #F9FAFB;
  --text-color: #374151;
  --header-bg: #FFFFFF;
}

/* Reset & Grundstile */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
}

/* Header */
header {
  background: var(--header-bg);
  padding: 1rem 2rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}
.logo-link {
  text-decoration: none;
  color: inherit;
}
.logo-container {
  display: flex;
  align-items: center;
}
.logo-icon {
  width: 32px;
  height: 32px;
  margin-right: 0.5rem;
}
.logo-text {
  font-size: 1.5rem;
  font-weight: bold;
}
.logo-extension {
  color: var(--primary-color);
}
.nav-menu {
  list-style: none;
  display: flex;
  gap: 1rem;
}
.nav-menu li a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
}
.nav-menu li a:hover {
  color: var(--primary-color);
}

/* Persönliche Grußnachricht */
.greeting-section {
  background: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  text-align: center;
  max-width: 600px;
  margin: 2rem auto 1rem;
  animation: fadeIn 1s ease-in-out;
}
.greeting-section p {
  font-size: 1.1rem;
  font-weight: 500;
}

/* Download-Bereich */
.download-section {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  text-align: center;
  max-width: 600px;
  margin: 2rem auto;
  animation: fadeIn 1s ease-in-out;
}

.agb-section {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  text-align: left;
  max-width: 600px;
  margin: 2rem auto;
  animation: fadeIn 1s ease-in-out;
}
.download-section img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  cursor: pointer;
  margin-bottom: 1rem;
}
.service-text {
  margin: 1rem 0;
}
.download-button {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--primary-color);
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}
.download-button:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}

/* Nachricht wenn Download nicht verfügbar */
.download-unavailable {
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-top: 1rem;
  font-weight: bold;
}

/* Social Share */
.social-share {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.social-share p {
  margin-right: 0.5rem;
  font-weight: 500;
}
.share-btn {
  display: inline-block;
  text-decoration: none;
}

/* Footer */
footer {
  background: var(--header-bg);
  padding: 1rem 2rem;
  box-shadow: 0 -2px 4px rgba(0,0,0,0.15);
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  text-align: center;
}
.footer-content p {
  font-size: 0.9rem;
  color: #777;
}

/* Reset Button im Footer */
#resetDownload {
  background: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: background 0.3s ease;
}
#resetDownload:hover {
  background: var(--primary-hover);
}

/* Modale Fenster */
.modal {
  display: none;
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0,0,0,0.5);
}
.modal-content {
  background: #fff;
  margin: 10% auto;
  padding: 1.5rem;
  border-radius: 8px;
  max-width: 600px;
  position: relative;
}
.modal-content.fullscreen {
  max-width: none;
  width: 90%;
  padding: 0;
  background: none;
  box-shadow: none;
}
.modal-content.fullscreen img {
  width: 100%;
  border-radius: 4px;
}
.close {
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  font-size: 2rem;
  color: #aaa;
  cursor: pointer;
}
.close:hover {
  color: #000;
}

/* Toast Nachricht */
.toast {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.7);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  z-index: 1000;
}

/* Fade In Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive Anpassungen */
@media (max-width: 600px) {
  header {
    flex-direction: column;
    align-items: center;
  }
  .nav-menu {
    margin-top: 0.5rem;
  }
  .footer-content {
    flex-direction: column;
  }
}
