/* ===================================================
   aktiviermich.de – Hauptstylesheet
   Dark & energetisch
   =================================================== */

:root {
  --fire:    #FF4D00;
  --fire-d:  #cc3d00;
  --yellow:  #FFD000;
  --dark:    #0F0F0F;
  --dark2:   #1A1A1A;
  --dark3:   #252525;
  --mid:     #333333;
  --gray:    #888888;
  --white:   #FFFFFF;
  --danger:  #e74c3c;
  --success: #27ae60;
  --warn:    #f39c12;
  --radius:  8px;
  --shadow:  0 2px 12px rgba(0,0,0,.4);
}

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

body {
  font-family: 'Arial Narrow', Arial, sans-serif;
  background: var(--dark);
  color: var(--white);
  line-height: 1.6;
  min-height: 100vh;
  display: flex; flex-direction: column;
}

a { color: var(--fire); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

/* ── Layout ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
main { flex: 1; padding: 2rem 0 3rem; }

/* ── Header ── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(15,15,15,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--fire);
  padding: .8rem 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.logo {
  font-family: 'Arial Narrow', Arial, sans-serif;
  font-weight: 900; font-size: 1.8rem;
  color: var(--white); letter-spacing: -0.02em;
}
.logo span { color: var(--fire); }
.main-nav { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.main-nav a { color: #ccc; font-weight: 500; }
.main-nav a:hover { color: var(--white); text-decoration: none; }

/* ── Footer ── */
.site-footer {
  background: #080808;
  border-top: 1px solid #1a1a1a;
  padding: 1.2rem 0;
  font-size: .88rem; color: var(--gray);
}
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem; }
.site-footer nav { display: flex; gap: 1.2rem; }
.site-footer a { color: var(--gray); }
.site-footer a:hover { color: var(--fire); text-decoration: none; }

/* ── Buttons ── */
.btn {
  display: inline-block; padding: .55rem 1.3rem;
  border-radius: var(--radius); font-weight: 600;
  font-size: .95rem; cursor: pointer;
  border: 2px solid transparent;
  transition: background .2s, color .2s, border-color .2s;
  text-decoration: none; line-height: 1.4;
}
.btn-primary  { background: var(--fire); color: var(--white); border-color: var(--fire); }
.btn-primary:hover { background: var(--fire-d); text-decoration: none; color: var(--white); }
.btn-outline  { background: transparent; color: #ccc; border-color: #444; }
.btn-outline:hover { border-color: var(--fire); color: var(--white); text-decoration: none; }
.btn-danger   { background: var(--danger); color: var(--white); border-color: var(--danger); }
.btn-danger:hover { background: #c0392b; text-decoration: none; color: var(--white); }
.btn-sm  { padding: .3rem .8rem; font-size: .85rem; }
.btn-lg  { padding: .75rem 1.8rem; font-size: 1.05rem; }
.btn-full { width: 100%; text-align: center; display: block; }

.btn-fire {
  background: var(--fire); color: var(--white);
  padding: .85rem 2rem; border-radius: var(--radius);
  font-weight: 700; font-size: 1.05rem;
  transition: background .2s, transform .15s;
  display: inline-block; border: none; cursor: pointer;
}
.btn-fire:hover { background: var(--fire-d); transform: translateY(-2px); text-decoration: none; color: var(--white); }
.btn-fire.btn-sm { padding: .3rem .8rem; font-size: .85rem; }
.btn-fire.btn-full { display: block; width: 100%; text-align: center; }

.btn-ghost {
  color: var(--white); border: 2px solid #444;
  padding: .85rem 2rem; border-radius: var(--radius);
  font-weight: 600; display: inline-block;
  transition: border-color .2s;
}
.btn-ghost:hover { border-color: var(--fire); text-decoration: none; color: var(--white); }

.btn-fire-outline {
  border: 2px solid var(--fire); color: var(--fire);
  padding: .75rem 1.5rem; border-radius: var(--radius);
  font-weight: 700; text-align: center;
  transition: background .2s, color .2s;
  display: block;
}
.btn-fire-outline:hover { background: var(--fire); color: var(--white); text-decoration: none; }

/* ── Alerts ── */
.alert {
  padding: .75rem 1.2rem; border-radius: var(--radius);
  margin: 1rem 0; font-weight: 500; font-size: .95rem;
}
.alert-success { background: #1a3a1a; color: #4caf50; border-left: 4px solid var(--success); }
.alert-danger  { background: #3a1a1a; color: #f44336; border-left: 4px solid var(--danger); }
.alert-warning { background: #3a2a00; color: #ffb300; border-left: 4px solid var(--warn); }
.alert-info    { background: #1a2a3a; color: #64b5f6; border-left: 4px solid #2196f3; }

/* ── Forms ── */
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-weight: 600; margin-bottom: .4rem; color: #ccc; }
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="number"],
.form-group input[type="date"],
.form-group textarea,
.form-group select {
  width: 100%; padding: .6rem .9rem;
  border: 2px solid #333; border-radius: var(--radius);
  font-size: 1rem; background: var(--dark2); color: var(--white);
  transition: border-color .2s;
}
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: var(--fire); }
.form-group input:disabled { opacity: .5; cursor: not-allowed; }
.form-group small { color: var(--gray); font-size: .85rem; margin-top: .25rem; display: block; }

/* ── Badges ── */
.badge {
  display: inline-block; padding: .2rem .6rem;
  border-radius: 20px; font-size: .78rem; font-weight: 700; text-transform: uppercase;
}
.badge-aktiv   { background: #1a3a1a; color: #4caf50; }
.badge-inaktiv { background: #333; color: #888; }
.badge-storniert { background: #3a1a1a; color: #f44336; }

/* ── Tables ── */
.data-table { width: 100%; border-collapse: collapse; margin-top: 1rem; }
.data-table th {
  background: var(--fire); color: var(--white);
  padding: .6rem 1rem; text-align: left; font-size: .9rem;
}
.data-table td { padding: .55rem 1rem; border-bottom: 1px solid #2a2a2a; vertical-align: middle; color: #ccc; }
.data-table tr:hover td { background: var(--dark3); }
.row-cancelled td { opacity: .45; }

/* ── Info table ── */
.info-table { width: 100%; border-collapse: collapse; }
.info-table th, .info-table td { padding: .6rem 1rem; border-bottom: 1px solid #2a2a2a; }
.info-table th { width: 160px; color: var(--gray); font-weight: 600; }

/* ── Section box ── */
.section-box {
  background: var(--dark2); border-radius: var(--radius);
  padding: 1.5rem; margin: 1.5rem 0;
  border: 1px solid #2a2a2a;
  overflow-x: auto;
}
.section-box h2 { color: var(--white); margin-bottom: 1rem; }

/* ── Auth ── */
.auth-card {
  max-width: 460px; margin: 2rem auto;
  background: var(--dark2); border-radius: var(--radius);
  padding: 2rem; border: 1px solid #2a2a2a;
  border-top: 3px solid var(--fire);
}
.auth-card h1 { color: var(--white); margin-bottom: 1.5rem; }
.auth-switch { margin-top: 1rem; text-align: center; font-size: .9rem; color: var(--gray); }

/* ── Dashboard ── */
.dashboard-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; flex-wrap: wrap; gap: .5rem; }
.dashboard-header h1 { color: var(--white); }
.paket-badge { padding: .3rem 1rem; border-radius: 20px; font-weight: 700; font-size: .85rem; }
.paket-free { background: #333; color: #aaa; }
.paket-pro  { background: var(--fire); color: var(--white); }

/* ── Event list ── */
.event-list { display: flex; flex-direction: column; gap: 1rem; }
.event-card {
  background: var(--dark2); border-radius: var(--radius);
  padding: 1.3rem; border: 1px solid #2a2a2a;
  border-left: 4px solid var(--fire);
}
.event-inaktiv { border-left-color: #444; opacity: .7; }
.event-card-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: .8rem; }
.event-card-head h3 { color: var(--white); }
.event-card-head h3 a { color: var(--white); }
.event-card-head h3 a:hover { color: var(--fire); text-decoration: none; }
.event-meta { display: flex; gap: 1rem; flex-wrap: wrap; color: var(--gray); font-size: .9rem; margin-top: .3rem; }
.event-card-actions { display: flex; gap: .5rem; flex-wrap: wrap; }

/* ── Event page (public) ── */
.event-page { max-width: 700px; }
.event-header { margin-bottom: 1.5rem; }
.event-header h1 { color: var(--white); font-size: 2rem; margin-bottom: .8rem; }
.anmelde-form { max-width: 400px; }

/* ── Teilnehmer ── */
.teilnehmer-list { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1rem; }
.teilnehmer-item { display: flex; align-items: center; gap: .5rem; color: #ccc; }
.teilnehmer-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--fire); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .9rem;
}

/* ── Pakete ── */
.pakete-grid { display: flex; gap: 2rem; justify-content: center; flex-wrap: wrap; }
.paket-card {
  flex: 1; min-width: 260px; max-width: 360px;
  background: var(--dark2); border: 1px solid #2a2a2a;
  border-radius: 12px; padding: 2rem;
  display: flex; flex-direction: column; gap: 1rem;
  position: relative;
}
.paket-highlight { border-color: var(--fire); box-shadow: 0 0 40px rgba(255,77,0,0.15); }
.paket-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--fire); color: var(--white);
  font-size: .75rem; font-weight: 700;
  padding: .25rem 1rem; border-radius: 20px; white-space: nowrap;
}
.paket-name { font-weight: 700; font-size: 1.5rem; color: var(--gray); text-transform: uppercase; }
.paket-preis { font-weight: 900; font-size: 3rem; color: var(--white); line-height: 1; }
.paket-preis span { font-size: 1rem; font-weight: 400; color: var(--gray); }
.paket-list { list-style: none; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.paket-list li { font-size: .95rem; color: #ccc; display: flex; align-items: center; gap: .5rem; }
.paket-list li.muted { color: #555; }
.check { color: var(--fire); font-weight: 700; }

/* ── Legal ── */
.legal-page { max-width: 780px; }
.legal-page h1 { color: var(--white); margin-bottom: 1.5rem; }
.legal-page h2 { color: #ccc; margin: 1.5rem 0 .5rem; font-size: 1.1rem; }
.legal-page p  { margin-bottom: .8rem; color: #aaa; }
.muted { color: var(--gray); font-size: .9rem; }

/* ── Misc ── */
.back-link { display: inline-block; margin-bottom: 1rem; color: var(--fire); font-weight: 600; }
.empty-state { text-align: center; padding: 3rem 1rem; color: var(--gray); }
.info-table td, .info-table th { color: #ccc; }

/* ── Hero (landing) ── */
.hero {
  min-height: 90vh; display: flex; align-items: center;
  position: relative; overflow: hidden; padding: 5rem 0;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 60% 60% at 80% 50%, rgba(255,77,0,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(255,208,0,0.08) 0%, transparent 60%),
    var(--dark);
}
.hero-grid {
  position: absolute; inset: 0; z-index: 0; opacity: 0.04;
  background-image: linear-gradient(var(--white) 1px, transparent 1px),
                    linear-gradient(90deg, var(--white) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-inner { position: relative; z-index: 1; display: flex; align-items: center; gap: 4rem; flex-wrap: wrap; }
.hero-text { flex: 1; min-width: 300px; }
.hero-tag {
  display: inline-block; background: rgba(255,77,0,0.15);
  border: 1px solid rgba(255,77,0,0.4); color: var(--fire);
  font-size: .85rem; font-weight: 600; padding: .3rem .9rem;
  border-radius: 20px; margin-bottom: 1.5rem;
  letter-spacing: 0.05em; text-transform: uppercase;
}
.hero-text h1 {
  font-weight: 900; font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1; letter-spacing: -0.02em; margin-bottom: 1.2rem;
}
.hero-text h1 em { font-style: normal; color: var(--fire); display: block; }
.hero-sub { font-size: 1.2rem; color: #aaa; margin-bottom: 2rem; max-width: 500px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.hero-visual { flex: 0 0 340px; }

/* Event mock widget */
.event-mock { background: var(--dark2); border: 1px solid #333; border-radius: 12px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.event-mock-header { background: var(--fire); padding: 1rem 1.2rem; font-weight: 700; font-size: 1.1rem; }
.event-mock-body { padding: 1.2rem; }
.event-mock-row { display: flex; align-items: center; gap: .8rem; padding: .6rem 0; border-bottom: 1px solid #2a2a2a; font-size: .9rem; color: #ccc; }
.event-mock-row:last-child { border-bottom: none; }
.event-mock-row .icon { font-size: 1.1rem; width: 24px; text-align: center; }
.participants { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid #2a2a2a; }
.participants-label { font-size: .8rem; color: var(--gray); margin-bottom: .5rem; }
.participant-dots { display: flex; gap: .3rem; flex-wrap: wrap; }
.p-dot { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .75rem; font-weight: 700; }
.p-dot-1 { background: #FF4D00; }
.p-dot-2 { background: #FFD000; color: #000; }
.p-dot-3 { background: #00C896; }
.p-dot-4 { background: #6C63FF; }
.p-dot-5 { background: #FF6B9D; }
.p-more { background: #333; color: #aaa; }

/* Stats */
.stats { padding: 3rem 0; border-top: 1px solid #222; border-bottom: 1px solid #222; }
.stats-grid { display: flex; justify-content: center; gap: 4rem; flex-wrap: wrap; }
.stat-item { text-align: center; }
.stat-num { font-weight: 900; font-size: 3rem; color: var(--fire); line-height: 1; }
.stat-label { color: var(--gray); font-size: .9rem; margin-top: .3rem; }

/* How it works */
.how { padding: 5rem 0; }
.section-label { text-align: center; font-size: .8rem; font-weight: 600; color: var(--fire); text-transform: uppercase; letter-spacing: .12em; margin-bottom: .8rem; }
.section-title { font-weight: 900; font-size: clamp(2rem, 4vw, 3rem); text-align: center; margin-bottom: 3rem; letter-spacing: -0.02em; color: var(--white); }
.steps { display: flex; gap: 2rem; flex-wrap: wrap; justify-content: center; }
.step { flex: 1; min-width: 220px; max-width: 300px; text-align: center; padding: 2rem 1.5rem; background: var(--dark2); border: 1px solid #2a2a2a; border-radius: 12px; transition: border-color .2s; }
.step:hover { border-color: var(--fire); }
.step-num { font-weight: 900; font-size: 4rem; color: rgba(255,77,0,0.15); line-height: 1; margin-bottom: .5rem; }
.step-icon { font-size: 2rem; margin-bottom: .8rem; }
.step h3 { font-size: 1.1rem; margin-bottom: .5rem; color: var(--white); }
.step p { color: var(--gray); font-size: .95rem; }

/* Usecases */
.usecases { padding: 5rem 0; background: var(--dark2); }
.usecase-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; margin-top: 1rem; }
.usecase-card { padding: 1.8rem; border: 1px solid #2a2a2a; border-radius: 12px; background: var(--dark3); transition: border-color .2s, transform .2s; }
.usecase-card:hover { border-color: var(--fire); transform: translateY(-3px); }
.usecase-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.usecase-card h3 { color: var(--white); margin-bottom: .5rem; font-size: 1.1rem; }
.usecase-card p { color: var(--gray); font-size: .9rem; }

/* Pakete section */
.pakete { padding: 5rem 0; }

/* CTA */
.cta-section { padding: 5rem 0; background: linear-gradient(135deg, rgba(255,77,0,0.15) 0%, rgba(255,208,0,0.05) 100%); border-top: 1px solid #222; text-align: center; }
.cta-section h2 { font-weight: 900; font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 1rem; color: var(--white); }
.cta-section p { color: #aaa; font-size: 1.1rem; margin-bottom: 2rem; }

/* Partner */
.partner-sites { padding: 2.5rem 0 3rem; border-top: 1px solid #222; }
.partner-label { text-align: center; font-size: .8rem; color: var(--gray); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1.5rem; }
.partner-grid { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.partner-card { display: flex; flex-direction: column; align-items: center; gap: .25rem; padding: 1rem 1.5rem; border: 1px solid #2a2a2a; border-radius: var(--radius); background: var(--dark2); color: var(--white); transition: border-color .2s, transform .2s; min-width: 150px; text-decoration: none; }
.partner-card:hover { border-color: var(--fire); transform: translateY(-2px); text-decoration: none; }
.partner-icon { font-size: 1.5rem; }
.partner-name { font-weight: 600; font-size: .95rem; color: var(--white); }
.partner-desc { font-size: .78rem; color: var(--gray); text-align: center; }

/* Animations */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.hero-tag  { animation: fadeUp .5s ease both; }
.hero-text h1 { animation: fadeUp .6s .1s ease both; }
.hero-sub  { animation: fadeUp .6s .2s ease both; }
.hero-actions { animation: fadeUp .6s .3s ease both; }
.hero-visual { animation: fadeUp .7s .4s ease both; }

/* Responsive */
@media (max-width: 640px) {
  .hero-visual { display: none; }
  .stats-grid { gap: 2rem; }
  .stat-num { font-size: 2.2rem; }
  .partner-card { min-width: 80px; padding: .75rem; }
  .partner-desc { display: none; }
  .data-table { font-size: .82rem; }
}
