/* ==========================================================================
   Direktsupport — ASP.NET marketing site
   A refined, self-contained design system. Brand palette matches the actual
   product (Dashboard/widget --primary) so the site and the app it sells look
   like the same family.
   ========================================================================== */
:root {
  --brand: #4f46e5;
  --brand-d: #4338ca;
  --brand-l: #eef2ff;
  --accent: #06b6d4;
  --accent-l: #ecfeff;
  --ink: #0b1120;
  --ink-2: #1e293b;
  --mut: #5b657d;
  --line: #e7eaf3;
  --surface: #ffffff;
  --page-bg: #f7f7fb;
  --success: #16a34a;
  --radius: 28px;
  --radius-sm: 18px;
  --radius-lg: 40px;
  --shadow-lg: 0 50px 90px -34px rgba(15, 23, 42, .24);
  --shadow-md: 0 22px 44px -26px rgba(15, 23, 42, .22);
  --shadow-sm: 0 10px 24px -16px rgba(15, 23, 42, .28);
  --font-display: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--page-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: var(--brand); text-decoration: none; }
img { max-width: 100%; }
h1, h2, h3, h4, h5, h6, .navbar-brand, .step-num, .metric-num {
  font-family: var(--font-display);
}
.text-primary { color: var(--brand) !important; }

/* ---------- Ambient gradient mesh ---------- */
.mesh { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.mesh-blob { position: absolute; border-radius: 50%; filter: blur(120px); opacity: .30; }
.mesh-blob.one   { width: 680px; height: 680px; top: -260px; right: -200px; background: radial-gradient(circle at 30% 30%, #818cf8, transparent 72%); }
.mesh-blob.two   { width: 620px; height: 620px; top: 340px; left: -260px;  background: radial-gradient(circle at 30% 30%, #67e8f9, transparent 72%); }
.mesh-blob.three { width: 560px; height: 560px; bottom: -240px; right: 8%;   background: radial-gradient(circle at 30% 30%, #c4b5fd, transparent 72%); opacity: .22; }
.mesh-grid {
  position: absolute; inset: 0; opacity: .5;
  background-image:
    linear-gradient(to right, rgba(15,23,42,.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15,23,42,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 78%);
}

/* ---------- Navbar ---------- */
.navbar-brand-mark {
  width: 30px; height: 30px; border-radius: 9px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  box-shadow: 0 6px 16px -6px rgba(79, 70, 229, .7);
  position: relative; flex-shrink: 0;
}
.navbar-brand-mark::after {
  content: ""; position: absolute; inset: 9px 7px;
  background: #fff; border-radius: 2px; opacity: .94;
}
.navbar {
  background: rgba(255, 255, 255, .78) !important;
  backdrop-filter: blur(16px) saturate(170%);
  -webkit-backdrop-filter: blur(16px) saturate(170%);
  border: 1px solid var(--line);
  border-radius: 999px;
  top: 14px;
  max-width: 1180px;
  width: calc(100% - 28px);
  margin-inline: auto;
  box-shadow: var(--shadow-md);
  transition: box-shadow .25s ease, background .25s ease, top .25s ease;
}
.navbar.scrolled { background: rgba(255, 255, 255, .92) !important; box-shadow: var(--shadow-lg); top: 8px; }
@media (max-width: 991.98px) {
  .navbar.show, .navbar:has(.navbar-collapse.show) { border-radius: 28px; }
}
.navbar .nav-link { color: var(--mut); font-weight: 600; font-size: .95rem; position: relative; }
.navbar .nav-link::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.navbar .nav-link:hover, .navbar .nav-link:focus { color: var(--ink); }
.navbar .nav-link:hover::after, .navbar .nav-link.active::after { transform: scaleX(1); }
.navbar .nav-link.active { color: var(--ink); }
.lang-toggle { display: flex; gap: 2px; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: #fff; }
.lang-toggle button {
  border: 0; background: transparent; cursor: pointer;
  padding: 5px 12px; border-radius: 999px;
  font-size: .78rem; font-weight: 700; color: var(--mut);
  transition: background .15s ease, color .15s ease;
}
.lang-toggle button.active { background: var(--ink); color: #fff; }

/* ---------- Buttons ---------- */
.btn-brand, .btn-outline-brand {
  border-radius: 999px; padding-inline: 1.35em;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-brand {
  background: linear-gradient(135deg, var(--brand), #6366f1); color: #fff; font-weight: 700; border: 0;
  box-shadow: 0 14px 26px -12px rgba(79, 70, 229, .75);
}
.btn-brand:hover { background: linear-gradient(135deg, var(--brand-d), var(--brand)); color: #fff; transform: translateY(-2px); box-shadow: 0 20px 34px -14px rgba(79, 70, 229, .8); }
.btn-outline-brand { background: #fff; color: var(--ink); border: 1px solid var(--line); font-weight: 700; }
.btn-outline-brand:hover { background: var(--page-bg); color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-sm); }

/* ---------- Hero ---------- */
.hero-section { padding-block: clamp(56px, 9vw, 108px) clamp(24px, 4vw, 40px); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--brand); background: var(--brand-l);
  padding: 6px 13px; border-radius: 999px; margin-bottom: 1.1rem;
  border: 1px solid #e0e5ff;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px #dcfce7; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 3px #dcfce7; } 50% { box-shadow: 0 0 0 6px rgba(220,252,231,.4); } }
.hero-title {
  font-size: clamp(2.1rem, 5.2vw, 3.7rem);
  line-height: 1.05; letter-spacing: -.025em; font-weight: 800;
}
.hero-title .grad, .section-head h2 .grad {
  background: linear-gradient(100deg, var(--brand), var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead { font-size: clamp(1rem, 1.6vw, 1.15rem); color: var(--mut); max-width: 46ch; }
.trust-row { font-size: .85rem; color: var(--mut); }
.trust-row b { color: var(--ink); }

.hero-visual-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 18px; position: relative;
  animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.hero-visual-card img { border-radius: var(--radius-sm); display: block; }
.hero-visual-badge {
  position: absolute; bottom: -18px; left: 24px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md); padding: 10px 16px;
  display: flex; align-items: center; gap: 10px; font-size: .82rem; font-weight: 700;
}
.hero-visual-badge .dot-on { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px #dcfce7; }
.typing-dot { color: var(--brand); animation: typing 1.2s infinite; }
.typing-dot:nth-child(2) { animation-delay: .15s; }
.typing-dot:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%,60%,100% { opacity: .25; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-2px); } }

/* ---------- Metric strip ---------- */
.metric-strip { border-top: 1px solid var(--line); padding-top: 1.6rem; }
.metric { text-align: center; }
.metric-num {
  font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; letter-spacing: -.02em;
  background: linear-gradient(120deg, var(--brand), var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.metric-label { font-size: .82rem; color: var(--mut); font-weight: 600; }

/* ---------- Section shells ---------- */
.section-pad { padding-block: clamp(40px, 7vw, 72px); }
.section-alt {
  background: linear-gradient(180deg, rgba(255,255,255,.6), rgba(255,255,255,.2));
  border-block: 1px solid var(--line);
}
.section-head { max-width: 660px; margin-inline: auto; }
.section-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.35rem); font-weight: 800; letter-spacing: -.025em; }
.section-head p { color: var(--mut); font-size: 1rem; }

/* ---------- Feature cards ---------- */
.feature-card {
  padding: 1.6rem; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); height: 100%; position: relative; overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.feature-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #d6dcec; }
.feature-card:hover::before { transform: scaleX(1); }
.feature-ico {
  width: 48px; height: 48px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem; margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--brand-l), var(--accent-l));
  color: var(--brand);
  box-shadow: inset 0 0 0 1px rgba(79,70,229,.08);
}
.feature-card h4 { font-size: 1.02rem; letter-spacing: -.01em; margin-bottom: .35rem; }
.feature-card p { font-size: .9rem; color: var(--mut); margin-bottom: 0; }

/* ---------- Product tour ---------- */
.tour-nav .nav-link {
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  color: var(--ink); font-weight: 700; font-size: .88rem;
  padding: .7rem 1rem; margin-bottom: .5rem; text-align: left;
  display: flex; align-items: center; gap: .6rem;
  background: #fff; transition: border-color .15s ease, background .15s ease;
}
.tour-nav .nav-link i { color: var(--brand); }
.tour-nav .nav-link small { display: block; font-weight: 400; color: var(--mut); font-size: .78rem; }
.tour-nav .nav-link.active { border-color: var(--brand); background: var(--brand-l); color: var(--brand-d); box-shadow: var(--shadow-sm); }
.tour-shot {
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); overflow: hidden; background: #0b1220;
}
.tour-shot img { width: 100%; display: block; }

/* ---------- Steps ---------- */
.step-card { padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; height: 100%; position: relative; transition: transform .18s ease, box-shadow .18s ease; }
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step-num {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff; font-weight: 800; font-size: .9rem;
  display: flex; align-items: center; justify-content: center; margin-bottom: .85rem;
  box-shadow: 0 10px 20px -10px rgba(79,70,229,.8);
}

/* ---------- Roles ---------- */
.role-card { padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); height: 100%; }
.role-card h5 { font-weight: 800; margin-bottom: .5rem; }
.role-card p { color: var(--mut); font-size: .9rem; margin-bottom: 0; }

/* ---------- All-in-one banner ---------- */
.allinone-banner {
  border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 52px);
  background: radial-gradient(120% 160% at 15% 0%, #6a61ec, var(--ink) 66%);
  color: #fff; box-shadow: 0 34px 66px -30px rgba(15, 23, 42, .55);
  position: relative; overflow: hidden;
}
.allinone-banner::after {
  content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -160px;
  background: radial-gradient(circle, rgba(6,182,212,.5), transparent 70%); filter: blur(40px);
}
.allinone-banner h2 { font-size: clamp(1.4rem, 3.2vw, 1.9rem); letter-spacing: -.02em; position: relative; }
.allinone-banner p { color: #dbe0ff; font-size: .95rem; max-width: 52ch; position: relative; }
.allinone-list { position: relative; }
.allinone-list div {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
  padding: 11px 15px; border-radius: var(--radius-sm); font-size: .88rem; font-weight: 600; margin-bottom: .6rem;
  backdrop-filter: blur(6px);
}

/* ---------- Pricing ---------- */
.price-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.9rem; height: 100%; background: #fff; transition: transform .18s ease, box-shadow .18s ease; }
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.price-card.featured { border-color: var(--brand); box-shadow: var(--shadow-lg); position: relative; background: linear-gradient(180deg, #fff, #fbfbff); }
.price-card.featured::before {
  content: "Populärast"; position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--brand), var(--accent)); color: #fff; font-size: .72rem; font-weight: 800;
  padding: 5px 15px; border-radius: 999px; letter-spacing: .02em; box-shadow: var(--shadow-sm);
}
.price-card .amount-cta {
  font-size: 1.05rem; font-weight: 700; color: var(--brand);
  padding-top: .4rem; border-top: 2px solid var(--line); display: inline-block; margin-top: .2rem;
}
.price-card ul { list-style: none; padding: 0; margin: 1.2rem 0; font-size: .9rem; }
.price-card ul li { padding: .35rem 0; color: var(--ink); display: flex; gap: .5rem; }
.price-card ul li i { color: var(--success); }

/* ---------- FAQ ---------- */
.accordion-item { border-radius: var(--radius-sm) !important; overflow: hidden; border-color: var(--line) !important; margin-bottom: .6rem; background: #fff; }
.accordion-button { font-weight: 700; font-size: .96rem; background: #fff; }
.accordion-button:not(.collapsed) { background: var(--brand-l); color: var(--brand-d); box-shadow: none; }
.accordion-button:focus { box-shadow: none; }

/* ---------- Footer ---------- */
footer.site-footer { border-top: 1px solid var(--line); background: var(--surface); }
footer.site-footer h6 { font-weight: 800; font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; color: var(--mut); margin-bottom: .9rem; }
footer.site-footer a.footer-link { color: var(--mut); font-size: .88rem; display: block; margin-bottom: .5rem; transition: color .15s ease, transform .15s ease; }
footer.site-footer a.footer-link:hover { color: var(--brand); transform: translateX(2px); }
/* Gated email links carry role="button" and no href until revealed, so they
   need the pointer cursor an href would normally provide. */
footer.site-footer a.footer-link[role="button"] { cursor: pointer; }
.footer-bottom { border-top: 1px solid var(--line); font-size: .82rem; color: #94a3b8; }

/* ---------- Misc ---------- */
.badge-soft { background: var(--brand-l); color: var(--brand-d); font-weight: 700; border: 1px solid #e0e5ff; }
.pilot-banner {
  background: linear-gradient(90deg, #fffbeb, #fef3c7);
  border-bottom: 1px solid #fde68a; color: #92400e;
  font-size: .85rem; text-align: center; padding: .55rem 1rem;
}
.pilot-banner .btn { padding: .2rem .8rem; font-size: .78rem; }

/* ---------- Reveal on scroll (progressive: only hidden when JS is on) ---------- */
html.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.22,.61,.36,1); }
html.js [data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero-visual-card, .eyebrow .dot, .typing-dot { animation: none; }
  html { scroll-behavior: auto; }
}

@media (max-width: 991.98px) {
  .hero-visual-badge { position: static; margin-top: 14px; display: inline-flex; }
}
