/* =============================================
   Emplore – Globales Stylesheet
   ============================================= */

:root {
  --purple-vivid:  #7000FF;
  --purple-bright: #8B2FFF;
  --purple-light:  #C084FC;
  --purple-dark:   #3D0096;
  --purple-deeper: #1A0050;
  --white:         #FFFFFF;
  --off-white:     #F5F0FF;
  --text-dark:     #1A1A2E;
  --text-muted:    #6B6B8A;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--white);
  color: var(--text-dark);
  line-height: 1.6;
}

a {
  color: var(--purple-vivid);
  text-decoration: none;
}

a:hover {
  color: var(--purple-dark);
  text-decoration: underline;
}

/* =============================================
   HEADER / NAV
   ============================================= */

.site-header {
  background: var(--white);
  border-bottom: 1px solid #EDE8FF;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(112, 0, 255, 0.08);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--purple-dark);
  text-decoration: none;
}

.nav-logo img {
  width: 36px;
  height: 36px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text-dark);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--purple-vivid);
  text-decoration: none;
}

.nav-cta {
  background: var(--purple-vivid);
  color: var(--white) !important;
  padding: 9px 20px;
  border-radius: 50px;
  transition: background 0.2s !important;
}

.nav-cta:hover {
  background: var(--purple-dark) !important;
}

/* Hamburger für Mobilgeräte */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all 0.3s;
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px 24px 24px;
    border-bottom: 1px solid #EDE8FF;
    gap: 16px;
    box-shadow: 0 8px 24px rgba(112,0,255,0.10);
  }
  .nav-links.open { display: flex; }
}

/* =============================================
   HERO
   ============================================= */

.hero {
  background: linear-gradient(160deg, var(--purple-vivid) 0%, var(--purple-bright) 60%, var(--purple-dark) 100%);
  color: var(--white);
  padding: 96px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center bottom, rgba(255,255,255,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  opacity: 0.9;
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--white);
  color: var(--purple-vivid);
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 1rem;
  display: inline-block;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.20);
  text-decoration: none;
  color: var(--purple-dark);
}

.btn-secondary {
  background: rgba(255,255,255,0.18);
  color: var(--white);
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 1rem;
  display: inline-block;
  border: 2px solid rgba(255,255,255,0.5);
  transition: background 0.2s;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.28);
  text-decoration: none;
  color: var(--white);
}

.appstore-badge {
  display: inline-block;
  transition: transform 0.2s, opacity 0.2s;
}

.appstore-badge:hover {
  transform: translateY(-2px);
  opacity: 0.88;
  text-decoration: none;
}

/* =============================================
   SECTIONS
   ============================================= */

.section {
  padding: 80px 24px;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple-vivid);
  margin-bottom: 12px;
}

.section h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.section-intro {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 48px;
}

.bg-soft {
  background: var(--off-white);
}

/* Feature-Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.feature-card {
  background: var(--white);
  border-radius: 16px;
  padding: 32px 28px;
  border: 1px solid #EDE8FF;
  transition: box-shadow 0.25s, transform 0.25s;
}

.feature-card:hover {
  box-shadow: 0 8px 32px rgba(112, 0, 255, 0.12);
  transform: translateY(-3px);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--purple-dark);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* =============================================
   CTA-BANNER
   ============================================= */

.cta-banner {
  background: linear-gradient(135deg, var(--purple-vivid) 0%, var(--purple-dark) 100%);
  color: var(--white);
  text-align: center;
  padding: 72px 24px;
}

.cta-banner h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--white);
}

.cta-banner p {
  font-size: 1.05rem;
  opacity: 0.88;
  margin-bottom: 32px;
}

/* =============================================
   FOOTER
   ============================================= */

.site-footer {
  background: var(--purple-deeper);
  color: rgba(255,255,255,0.75);
  padding: 56px 24px 32px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
}

.footer-brand .nav-logo {
  color: var(--white);
  margin-bottom: 12px;
  display: inline-flex;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.65);
  max-width: 300px;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul a {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-col ul a:hover {
  color: var(--white);
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
}

/* =============================================
   FAQ
   ============================================= */

.faq-list {
  max-width: 800px;
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid #D1D5DB;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 28px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  font-family: inherit !important;
  color: var(--text-dark);
  line-height: 1.3;
  transition: color 0.2s;
}

.faq-question:hover {
  color: var(--purple-vivid);
}

.faq-icon {
  flex-shrink: 0;
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-dark);
  margin-top: 6px;
  transition: transform 0.25s ease;
  display: inline-block;
  line-height: 1;
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(90deg);
}

.faq-answer {
  padding: 0 0 28px 32px;
}

.faq-answer p {
  font-size: 1rem;
  color: var(--text-dark);
  line-height: 1.75;
}

.faq-answer a {
  color: var(--purple-vivid);
}

/* =============================================
   LEGAL PAGES (Impressum / Datenschutz)
   ============================================= */

.legal-page {
  padding: 64px 24px 80px;
}

.legal-page .legal-inner {
  max-width: 760px;
  margin: 0 auto;
}

.legal-page h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--purple-dark);
  margin-bottom: 8px;
}

.legal-breadcrumb {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.legal-breadcrumb a { color: var(--purple-vivid); }

.legal-page h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 36px 0 12px;
}

.legal-page p,
.legal-page li {
  font-size: 0.97rem;
  color: #444;
  line-height: 1.75;
}

.legal-page ul { padding-left: 20px; margin: 8px 0; }

/* =============================================
   PASSWORT-RESET
   ============================================= */

.reset-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  background: var(--off-white);
}

.reset-card {
  background: var(--white);
  border-radius: 20px;
  padding: 48px 40px;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 8px 40px rgba(112, 0, 255, 0.12);
  text-align: center;
}

.reset-card .reset-logo {
  width: 60px;
  margin-bottom: 20px;
}

.reset-card h1 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--purple-dark);
  margin-bottom: 10px;
}

.reset-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 28px;
}

.reset-form input[type="password"] {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid #EDE8FF;
  border-radius: 10px;
  font-size: 1rem;
  margin-bottom: 16px;
  transition: border-color 0.2s;
  outline: none;
}

.reset-form input[type="password"]:focus {
  border-color: var(--purple-vivid);
}

.reset-form button {
  width: 100%;
  background: var(--purple-vivid);
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s;
}

.reset-form button:hover {
  background: var(--purple-dark);
}

.reset-message {
  margin-top: 20px;
  padding: 14px;
  border-radius: 10px;
  font-size: 0.9rem;
  display: none;
}

.reset-message.success {
  background: #F0FFF4;
  color: #276749;
  border: 1px solid #9AE6B4;
}

.reset-message.error {
  background: #FFF5F5;
  color: #C53030;
  border: 1px solid #FEB2B2;
}
