/* ============================================================
   Eventplai – Website Styles
   Palette: Navy #0a1e51 · Türkis #00afc9 · helle Flächen
   ============================================================ */

:root {
  --navy: #0a1e51;
  --navy-800: #122a68;
  --navy-600: #23407f;
  --cyan: #00afc9;
  --cyan-dark: #008fa5;
  --cyan-soft: #e3f6fa;
  --ink: #1b2437;
  --ink-soft: #4c576e;
  --line: #e3e8f0;
  --bg: #ffffff;
  --bg-soft: #f5f8fc;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(10, 30, 81, 0.10);
  --shadow-soft: 0 4px 14px rgba(10, 30, 81, 0.07);
  --maxw: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Avenir Next", Avenir, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

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

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Typografie ---------- */

h1, h2, h3, h4 { color: var(--navy); line-height: 1.2; font-weight: 700; }

h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -0.01em; }
h3 { font-size: 1.22rem; }

.lead { font-size: 1.15rem; color: var(--ink-soft); }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan-dark);
  margin-bottom: 12px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-decoration: none !important;
}

.btn-primary {
  background: var(--navy);
  color: #fff;
}
.btn-primary:hover { background: var(--navy-800); transform: translateY(-1px); box-shadow: var(--shadow-soft); }

.btn-accent {
  background: var(--cyan);
  color: #fff;
}
.btn-accent:hover { background: var(--cyan-dark); transform: translateY(-1px); box-shadow: var(--shadow-soft); }

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--navy); }

.btn-ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}
.btn-ghost-light:hover { border-color: #fff; }

/* ---------- Header / Navigation ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

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

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

.nav-links a {
  color: var(--ink);
  font-weight: 500;
  font-size: 0.98rem;
}
.nav-links a:hover { color: var(--cyan-dark); text-decoration: none; }
.nav-links a.active { color: var(--cyan-dark); font-weight: 700; }

.nav-cta { white-space: nowrap; padding: 10px 20px; font-size: 0.95rem; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: .2s;
}

/* ---------- Hero ---------- */

.hero {
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(0, 175, 201, 0.16), transparent 60%),
    linear-gradient(180deg, #f2f7fd 0%, #ffffff 100%);
  padding: 84px 0 40px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero .lead { margin: 20px 0 30px; max-width: 34rem; }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-note { margin-top: 16px; font-size: 0.88rem; color: var(--ink-soft); }

.hero-shot {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  overflow: hidden;
  background: #fff;
}

/* Browser-Rahmen um Screenshots */
.browser-frame { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; background: #fff; }
.browser-frame .bar {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px;
  background: #eef2f8;
  border-bottom: 1px solid var(--line);
}
.browser-frame .bar i {
  width: 10px; height: 10px; border-radius: 50%;
  background: #cfd8e6; display: inline-block;
}

/* ---------- Sektionen ---------- */

.section { padding: 76px 0; }
.section.alt { background: var(--bg-soft); }

.section-head { max-width: 46rem; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { margin-top: 14px; color: var(--ink-soft); }

/* ---------- Karten / Grids ---------- */

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-soft);
}

.card h3 { margin-bottom: 8px; }
.card p { color: var(--ink-soft); font-size: 0.97rem; }

.card .icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--cyan-soft);
  color: var(--cyan-dark);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.card .icon svg { width: 24px; height: 24px; }

/* Problem / Lösung */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.split ul { list-style: none; margin-top: 18px; }
.split li {
  padding-left: 30px;
  position: relative;
  margin-bottom: 12px;
  color: var(--ink-soft);
}
.split li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--cyan-soft);
  border: 2px solid var(--cyan);
}
.split li strong { color: var(--ink); }

/* Schritte */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  margin-bottom: 14px;
}
.step h3 { font-size: 1.05rem; }
.step p { color: var(--ink-soft); font-size: 0.93rem; margin-top: 6px; }

/* ---------- Feature-Sektionen (Features-Seite) ---------- */

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 52px;
  align-items: center;
  padding: 58px 0;
  border-bottom: 1px solid var(--line);
}
.feature-row:last-of-type { border-bottom: none; }
.feature-row.flip .feature-media { order: -1; }

.feature-copy h2 { margin-bottom: 12px; }
.feature-copy > p { color: var(--ink-soft); margin-bottom: 18px; }

.feature-copy ul { list-style: none; }
.feature-copy li {
  padding-left: 28px;
  position: relative;
  margin-bottom: 10px;
  color: var(--ink-soft);
}
.feature-copy li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 14px; height: 14px;
  border-radius: 4px;
  background: var(--cyan);
  opacity: .85;
}
.feature-copy li strong { color: var(--ink); }

.feature-for {
  margin-top: 18px;
  font-size: 0.9rem;
  color: var(--navy);
  background: var(--cyan-soft);
  border-radius: 8px;
  padding: 10px 14px;
  display: inline-block;
}

/* ---------- CTA-Band ---------- */

.cta-band {
  background:
    radial-gradient(700px 300px at 15% 120%, rgba(0, 175, 201, 0.35), transparent 60%),
    var(--navy);
  color: #fff;
  border-radius: 20px;
  padding: 56px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.82); margin-top: 10px; max-width: 34rem; }
.cta-band .actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Kontakt / Formular ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.contact-info .item { margin-bottom: 22px; }
.contact-info .item h3 { font-size: 1rem; margin-bottom: 4px; }
.contact-info .item p { color: var(--ink-soft); }

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
}

.form-card label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin: 16px 0 6px;
  color: var(--navy);
}
.form-card input,
.form-card textarea,
.form-card select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  font: inherit;
  color: var(--ink);
  background: #fbfcfe;
}
.form-card input:focus,
.form-card textarea:focus,
.form-card select:focus {
  outline: 2px solid var(--cyan);
  outline-offset: 0;
  border-color: var(--cyan);
}
.form-card .btn { margin-top: 22px; width: 100%; }
.form-hint { font-size: 0.83rem; color: var(--ink-soft); margin-top: 12px; }

/* Ablauf Zusammenarbeit */
.timeline { list-style: none; position: relative; margin-top: 10px; }
.timeline li { padding: 0 0 26px 42px; position: relative; }
.timeline li::before {
  content: "";
  position: absolute;
  left: 11px; top: 8px; bottom: -8px;
  width: 2px;
  background: var(--line);
}
.timeline li:last-child::before { display: none; }
.timeline li::after {
  content: "";
  position: absolute;
  left: 4px; top: 4px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--cyan);
  border: 3px solid var(--cyan-soft);
}
.timeline h3 { font-size: 1.02rem; }
.timeline p { color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- FAQ ---------- */

.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  padding: 16px 20px;
  font-weight: 600;
  color: var(--navy);
  list-style: none;
  position: relative;
  padding-right: 44px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 18px; top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  color: var(--cyan-dark);
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p {
  padding: 0 20px 16px;
  color: var(--ink-soft);
  font-size: 0.96rem;
}

/* ---------- Screenshot-Galerie ---------- */

.shot-caption {
  font-size: 0.85rem;
  color: var(--ink-soft);
  text-align: center;
  margin-top: 10px;
}

/* ---------- Demo-Tour ---------- */

.tour-stage { max-width: 980px; margin: 0 auto; }

.tour-step-copy { max-width: 760px; margin: 0 auto 26px; text-align: center; }
.tour-step-copy h2 { margin-bottom: 10px; }
.tour-step-copy p { color: var(--ink-soft); }

.tour-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.tour-progress { display: flex; gap: 8px; }
.tour-progress button {
  width: 11px; height: 11px;
  border-radius: 50%;
  border: none;
  background: var(--line);
  cursor: pointer;
  padding: 0;
}
.tour-progress button.active { background: var(--cyan); transform: scale(1.25); }
.tour-count { font-size: 0.9rem; color: var(--ink-soft); min-width: 64px; text-align: center; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.8);
  padding: 56px 0 32px;
  margin-top: 90px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-brand img { height: 28px; width: auto; filter: brightness(0) invert(1); margin-bottom: 16px; }
.footer-brand p { font-size: 0.93rem; max-width: 26rem; }

.site-footer h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: rgba(255, 255, 255, 0.8); font-size: 0.93rem; }
.site-footer a:hover { color: #fff; }

.footer-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 24px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- Rechtstexte ---------- */

.legal { max-width: 760px; }
.legal h1 { margin-bottom: 28px; }
.legal h2 { font-size: 1.25rem; margin: 34px 0 10px; }
.legal p, .legal li { color: var(--ink-soft); }
.legal ul { margin: 10px 0 10px 22px; }
.legal .placeholder {
  background: #fff7e6;
  border: 1px dashed #e3b755;
  border-radius: 10px;
  padding: 14px 18px;
  color: #7a5c14;
  font-size: 0.92rem;
  margin: 14px 0;
}

/* ---------- Toasts ---------- */

.toast-container {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: min(380px, calc(100vw - 40px));
}

.toast {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--cyan);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 14px 16px;
  animation: toast-in .25s ease;
}
.toast.leaving { opacity: 0; transform: translateY(8px); transition: opacity .25s ease, transform .25s ease; }
.toast.success { border-left-color: #1d9d5f; }
.toast.error { border-left-color: #d64545; }

.toast .t-icon {
  flex: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  color: #fff;
  background: var(--cyan);
}
.toast.success .t-icon { background: #1d9d5f; }
.toast.error .t-icon { background: #d64545; }

.toast .t-body { flex: 1; }
.toast .t-title { font-weight: 700; color: var(--navy); font-size: 0.95rem; }
.toast .t-msg { color: var(--ink-soft); font-size: 0.88rem; margin-top: 2px; }

.toast .t-close {
  flex: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink-soft);
  font-size: 1.1rem;
  line-height: 1;
  padding: 2px;
}

@keyframes toast-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .toast { animation: none; }
}

/* ---------- Animationen ---------- */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .hero-grid, .split, .feature-row, .contact-grid { grid-template-columns: 1fr; }
  .feature-row.flip .feature-media { order: 0; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .grid-3, .grid-2, .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .cta-band { padding: 40px 28px; }

  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 24px;
    gap: 16px;
    box-shadow: var(--shadow-soft);
  }
  .nav-links.open { display: flex; }
}
