/* ============================================================
   Callisculture – Individuelle Software für Reseller
   ============================================================ */

:root {
  --bg:        #0a0e17;
  --bg-alt:    #0f1524;
  --surface:   #141b2d;
  --surface-2: #1b2438;
  --border:    #26314b;
  --text:      #e8ecf5;
  --muted:     #9aa6bf;
  --brand:     #5b8cff;
  --brand-2:   #7b5bff;
  --accent:    #2ee6c5;
  --grad:      linear-gradient(120deg, #5b8cff 0%, #7b5bff 50%, #2ee6c5 100%);
  --radius:    16px;
  --shadow:    0 20px 60px -20px rgba(0, 0, 0, .6);
  --maxw:      1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3 { line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; }

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 14px 26px; border-radius: 999px;
  font-weight: 600; font-size: 15px; cursor: pointer;
  border: 1px solid transparent; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--grad); color: #071018; box-shadow: 0 10px 30px -10px rgba(91, 140, 255, .6); }
.btn-ghost { background: rgba(255, 255, 255, .06); color: var(--text); border-color: var(--border); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.btn-outline:hover { background: rgba(255, 255, 255, .12); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 14, 23, .72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: var(--grad); color: #071018; font-weight: 800; font-size: 18px;
}
.brand-name span { color: var(--brand); }
.main-nav { display: flex; gap: 30px; }
.main-nav a { color: var(--muted); font-size: 15px; font-weight: 500; transition: color .2s; }
.main-nav a:hover { color: var(--text); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(10, 14, 23, .96) 0%, rgba(10, 14, 23, .82) 45%, rgba(10, 14, 23, .35) 100%),
    radial-gradient(1200px 600px at 15% 30%, rgba(91, 140, 255, .25), transparent 60%);
}
.hero-content { position: relative; z-index: 2; padding: 90px 24px; max-width: 780px; }
.hero-eyebrow {
  display: inline-block; font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); font-weight: 700; margin-bottom: 18px;
  padding: 6px 14px; border: 1px solid var(--border); border-radius: 999px; background: rgba(46, 230, 197, .06);
}
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); margin-bottom: 22px; }
.hero-lead { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--muted); max-width: 600px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 54px; }
.hero-stats { display: flex; gap: 44px; flex-wrap: wrap; }
.hero-stats strong { display: block; font-size: 1.9rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-stats span { color: var(--muted); font-size: 14px; }

/* ---------- Trust bar ---------- */
.trustbar { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-alt); }
.trustbar .container { display: flex; flex-wrap: wrap; gap: 12px 40px; justify-content: center; padding-top: 20px; padding-bottom: 20px; }
.trustbar span { color: var(--muted); font-size: 14px; font-weight: 500; position: relative; }
.trustbar span::before { content: "✓"; color: var(--accent); margin-right: 8px; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.eyebrow { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); font-weight: 700; margin-bottom: 14px; }
.eyebrow.light { color: var(--accent); }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 16px; }
.section-sub { color: var(--muted); font-size: 1.1rem; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 26px; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-6px); border-color: var(--brand); box-shadow: var(--shadow); }
.card-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  font-size: 24px; margin-bottom: 18px; background: rgba(91, 140, 255, .12); color: var(--brand);
}
.card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-media img { width: 100%; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow); }
.split-body h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); margin: 12px 0 18px; }
.split-body p { color: var(--muted); margin-bottom: 22px; }

.checklist { list-style: none; margin-bottom: 28px; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 32px; color: var(--text); }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center;
  background: rgba(46, 230, 197, .14); color: var(--accent); font-size: 13px; font-weight: 700;
}

/* ---------- Partner CTA ---------- */
.partner-cta { position: relative; overflow: hidden; text-align: center; }
.partner-bg { position: absolute; inset: 0; z-index: 0; }
.partner-bg img { width: 100%; height: 100%; object-fit: cover; }
.partner-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(10, 14, 23, .9), rgba(15, 21, 36, .82)),
              radial-gradient(800px 400px at 50% 0%, rgba(123, 91, 255, .35), transparent 70%);
}
.partner-inner { position: relative; z-index: 2; max-width: 680px; margin: 0 auto; }
.partner-inner h2 { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 16px; }
.partner-inner p { color: var(--muted); margin-bottom: 30px; font-size: 1.1rem; }
.partner-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Login ---------- */
.login-grid { display: grid; grid-template-columns: 1fr 460px; gap: 56px; align-items: center; }
.login-copy h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin: 12px 0 18px; }
.login-copy > p { color: var(--muted); margin-bottom: 24px; }

.login-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 20px; padding: 34px; box-shadow: var(--shadow);
}
.login-card h3 { font-size: 1.4rem; margin-bottom: 22px; }
.login-card label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; color: var(--text); }
.login-card input[type="text"],
.login-card input[type="email"],
.login-card input[type="password"] {
  width: 100%; padding: 13px 15px; margin-bottom: 18px;
  background: var(--bg); border: 1px solid var(--border); border-radius: 10px;
  color: var(--text); font-size: 15px; transition: border-color .2s, box-shadow .2s;
}
.login-card input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(91, 140, 255, .2); }
.form-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; font-size: 14px; }
.checkbox { display: flex; align-items: center; gap: 8px; margin: 0; font-weight: 500; color: var(--muted); cursor: pointer; }
.checkbox input { width: auto; margin: 0; }
.link-muted { color: var(--muted); }
.link-muted:hover { color: var(--brand); }
.login-msg { margin-top: 14px; font-size: 14px; min-height: 20px; text-align: center; }
.login-msg.error { color: #ff7a90; }
.login-msg.success { color: var(--accent); }
.login-foot { margin-top: 20px; text-align: center; color: var(--muted); font-size: 14px; }
.login-foot a { color: var(--brand); font-weight: 600; }

/* ---------- Contact / Impressum ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.contact-grid h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin: 12px 0 18px; }
.contact-grid > div > p { color: var(--muted); margin-bottom: 24px; }
.contact-list { list-style: none; display: grid; gap: 16px; }
.contact-list li { display: grid; gap: 2px; }
.contact-list span { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.contact-list a { color: var(--brand); font-weight: 600; }

.impressum { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; }
.impressum h3 { margin-bottom: 18px; font-size: 1.3rem; }
.imp-block { margin-bottom: 18px; color: var(--muted); font-size: 15px; }
.imp-block strong { color: var(--text); display: inline-block; margin-bottom: 4px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-alt); padding: 54px 0 30px; }
.footer-inner { display: grid; grid-template-columns: 1.5fr 1fr; gap: 30px; align-items: start; }
.footer-brand { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.footer-brand p { width: 100%; color: var(--muted); font-size: 14px; margin-top: 8px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: flex-end; }
.footer-nav a { color: var(--muted); font-size: 15px; }
.footer-nav a:hover { color: var(--text); }
.footer-copy { grid-column: 1 / -1; border-top: 1px solid var(--border); padding-top: 20px; margin-top: 14px; color: var(--muted); font-size: 13px; }

/* ---------- Legal pages (Impressum / Datenschutz) ---------- */
.legal { padding: 70px 0 90px; }
.legal-inner { max-width: 820px; margin: 0 auto; }
.legal-inner h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 34px; }
.legal-inner h2 { font-size: 1.35rem; margin: 38px 0 12px; color: var(--text); }
.legal-inner p { color: var(--muted); margin-bottom: 14px; }
.legal-inner a { color: var(--brand); }
.legal-inner a:hover { text-decoration: underline; }
.legal-list { list-style: none; display: grid; gap: 12px; margin: 8px 0 14px; }
.legal-list li { position: relative; padding-left: 30px; color: var(--muted); }
.legal-list li strong { color: var(--text); }
.legal-list li::before {
  content: "§"; position: absolute; left: 0; top: 0;
  width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center;
  background: rgba(91, 140, 255, .14); color: var(--brand); font-size: 13px; font-weight: 700;
}
.legal-back { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--border); }
.legal-back a { font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .split, .login-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .main-nav { display: none; }
}
@media (max-width: 620px) {
  .cards { grid-template-columns: 1fr; }
  .section { padding: 68px 0; }
  .hero-stats { gap: 26px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-nav { justify-content: flex-start; }
  .nav-login { display: none; }
}
