/* ============================================================
   dennisclier.de — Design System
   White, bold, futuristic. Royal Blue accent + JetBrains Mono signature.
   ============================================================ */

:root {
  /* Color */
  --bg: #FFFFFF;
  --surface: #F7F8FB;
  --surface-2: #EEF2FF;
  --ink: #0B0F1A;
  --ink-2: #1A2030;
  --mute: #4B5363;
  --mute-2: #8A93A3;
  --hairline: #ECEEF2;
  --hairline-2: #DCE0E8;

  --brand: #2452FF;
  --brand-hover: #1D42D8;
  --brand-soft: #AFC2FF;
  --brand-glow: rgba(36, 82, 255, 0.22);
  --brand-glow-strong: rgba(36, 82, 255, 0.45);

  --signal: #FF6B6B;
  --success: #00A884;

  /* Type */
  --font-sans: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Space / Radius / Shadow */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;
  --shadow-card: 0 1px 0 rgba(11, 15, 26, 0.04), 0 12px 28px rgba(11, 15, 26, 0.06);
  --shadow-pop: 0 24px 60px rgba(36, 82, 255, 0.18);

  --maxw: 1180px;
}

/* ----------------------------- Reset ----------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 500;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }

::selection { background: var(--brand); color: #fff; }

/* ----------------------------- Layout ----------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 96px 0; }
.section--alt { background: var(--surface); }
.section--dark {
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.section--dark::before {
  content: '';
  position: absolute;
  inset: -30% -10% auto auto;
  width: 60vw; height: 60vw;
  background: radial-gradient(circle, var(--brand-glow-strong) 0%, transparent 60%);
  filter: blur(40px);
  pointer-events: none;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: '>';
  opacity: 0.8;
}
.section--dark .eyebrow { color: var(--brand-soft); }

h1, h2, h3, h4 {
  font-family: var(--font-sans);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 24px;
  color: inherit;
}
h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin-top: 12px; }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); letter-spacing: -0.01em; line-height: 1.2; }
p { margin: 0 0 16px; color: var(--mute); }
.section--dark p { color: #B6BCC9; }
.lead { font-size: 1.125rem; max-width: 640px; }

/* ----------------------------- Buttons ----------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: var(--r-md);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 8px 24px rgba(11, 15, 26, 0.18);
}
.btn--primary:hover { background: var(--brand); box-shadow: var(--shadow-pop); transform: translateY(-2px); }

.btn--brand {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 24px var(--brand-glow);
}
.btn--brand:hover { background: var(--brand-hover); box-shadow: var(--shadow-pop); transform: translateY(-2px); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--hairline-2);
}
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.section--dark .btn--ghost { color: #fff; border-color: rgba(255,255,255,0.25); }
.section--dark .btn--ghost:hover { border-color: #fff; }

.btn .arrow { transition: transform 0.18s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ----------------------------- Nav ----------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.nav.is-scrolled {
  border-bottom-color: var(--hairline);
  box-shadow: 0 6px 20px rgba(11,15,26,0.04);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}
.brand {
  display: inline-flex;
  align-items: baseline;
  font-weight: 800;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
}
.brand__dot {
  color: var(--brand);
  font-family: var(--font-mono);
  font-weight: 600;
  margin-left: 2px;
  animation: blink 1.2s steps(2, end) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.nav__links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav__links a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--mute);
  transition: color 0.15s ease;
}
.nav__links a:hover { color: var(--ink); }
.nav__cta { margin-left: 8px; }

.nav__burger {
  display: none;
  width: 40px; height: 40px;
  border-radius: var(--r-sm);
  border: 1px solid var(--hairline);
  align-items: center; justify-content: center;
}
.nav__burger span {
  display: block;
  width: 18px; height: 2px;
  background: var(--ink);
  position: relative;
}
.nav__burger span::before,
.nav__burger span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 18px; height: 2px;
  background: var(--ink);
}
.nav__burger span::before { top: -6px; }
.nav__burger span::after  { top: 6px; }

@media (max-width: 820px) {
  .nav__links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--hairline);
    gap: 4px;
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 12px 0; border-bottom: 1px solid var(--hairline); }
  .nav__links .btn { margin-top: 12px; justify-content: center; }
  .nav__burger { display: inline-flex; }
}

/* ----------------------------- Hero ----------------------------- */
.hero {
  position: relative;
  padding: 88px 0 96px;
  overflow: hidden;
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--hairline) 1px, transparent 1px),
    linear-gradient(to bottom, var(--hairline) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 80%);
          mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 80%);
  opacity: 0.6;
  pointer-events: none;
}
.hero__glow {
  position: absolute;
  inset: -20% 30% auto -10%;
  width: 70vw; height: 70vw;
  background: radial-gradient(circle, var(--brand-glow) 0%, transparent 60%);
  filter: blur(60px);
  pointer-events: none;
}
.hero__inner { position: relative; }
.hero__prompt {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--mute);
  margin-bottom: 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: #fff;
}
.hero__prompt b { color: var(--brand); font-weight: 600; }
.hero h1 {
  font-size: clamp(2.6rem, 8vw, 6.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.98;
  max-width: 16ch;
  margin: 0 0 28px;
}
.hero h1 .accent {
  background: linear-gradient(135deg, var(--brand) 0%, #6E8FFF 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}
.hero h1 .cursor {
  display: inline-block;
  width: 0.45ch; height: 0.95em;
  background: var(--brand);
  vertical-align: -0.05em;
  margin-left: 0.08em;
  animation: blink 1.1s steps(2, end) infinite;
}
.hero__sub {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--mute);
  max-width: 56ch;
  margin: 0 0 36px;
}
.hero__sub b { color: var(--ink); font-weight: 700; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 48px; }
.hero__anchor {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 40px;
  padding: 24px 28px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow-card);
  max-width: 760px;
}
.hero__anchor strong {
  display: block;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mute-2);
  font-weight: 600;
  margin-bottom: 6px;
}
.hero__anchor span { font-size: 1rem; color: var(--ink); font-weight: 700; }
.hero__anchor span s { color: var(--mute-2); font-weight: 500; }
.hero__anchor .arrow-cmp { color: var(--brand); }

/* ----------------------------- Section header ----------------------------- */
.s-head { max-width: 720px; margin-bottom: 56px; }
.s-head--center { margin: 0 auto 56px; text-align: center; }

/* ----------------------------- Manifest (dark) ----------------------------- */
.manifest__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 48px;
  position: relative;
}
.manifest__item {
  padding: 28px 24px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-lg);
  background: rgba(255,255,255,0.03);
}
.manifest__num {
  font-family: var(--font-mono);
  color: var(--brand-soft);
  font-size: 0.8rem;
  margin-bottom: 8px;
  display: block;
}
.manifest__item h3 { color: #fff; margin-bottom: 8px; font-size: 1.15rem; }
.manifest__item p { color: #B6BCC9; margin: 0; font-size: 0.95rem; }

/* ----------------------------- Services ----------------------------- */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.service {
  padding: 28px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  position: relative;
}
.service:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-pop);
  transform: translateY(-3px);
}
.service__icon {
  width: 44px; height: 44px;
  border-radius: var(--r-sm);
  background: var(--surface-2);
  color: var(--brand);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.service h3 { font-size: 1.05rem; margin-bottom: 6px; }
.service p { font-size: 0.95rem; margin: 0; }

/* ----------------------------- Pricing ----------------------------- */
.pricing__toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  margin-bottom: 40px;
}
.pricing__toggle button {
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--mute);
  transition: background 0.2s ease, color 0.2s ease;
}
.pricing__toggle button.is-active {
  background: var(--ink);
  color: #fff;
}
.pricing__save {
  margin-left: 10px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--brand);
  text-transform: uppercase;
}

.tiers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 1024px) { .tiers { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .tiers { grid-template-columns: 1fr; } }

.tier {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.tier:hover { border-color: var(--hairline-2); transform: translateY(-2px); }
.tier--featured {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-pop);
}
.tier--featured:hover { border-color: var(--brand); }
.tier__badge {
  position: absolute;
  top: -12px; left: 24px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
}
.tier__name {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 10px;
}
.tier--featured .tier__name { color: var(--brand-soft); }
.tier__price {
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}
.tier__price small {
  font-size: 0.85rem;
  color: var(--mute);
  font-weight: 600;
  margin-left: 4px;
}
.tier--featured .tier__price small { color: #B6BCC9; }
.tier__pricehint {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--mute);
  margin: 6px 0 18px;
}
.tier--featured .tier__pricehint { color: var(--brand-soft); }
.tier__tagline {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 18px;
}
.tier--featured .tier__tagline { color: #fff; }
.tier__list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tier__list li {
  display: flex;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--mute);
  line-height: 1.45;
}
.tier__list li::before {
  content: '+';
  color: var(--brand);
  font-family: var(--font-mono);
  font-weight: 600;
  flex: 0 0 12px;
}
.tier--featured .tier__list li { color: #D7DBE5; }
.tier--featured .tier__list li::before { color: var(--brand-soft); }
.tier__cta { margin-top: auto; justify-content: center; }
.tier--featured .tier__cta.btn--primary { background: var(--brand); }
.tier--featured .tier__cta.btn--primary:hover { background: #fff; color: var(--ink); }

.addons {
  margin-top: 32px;
  padding: 20px 24px;
  border: 1px dashed var(--hairline-2);
  border-radius: var(--r-md);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
  font-size: 0.85rem;
  color: var(--mute);
}
.addons strong { color: var(--ink); margin-right: 8px; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; }
.addons span { padding: 4px 10px; background: var(--surface); border-radius: 999px; font-weight: 600; color: var(--ink); }
.addons span b { color: var(--brand); margin-left: 4px; }

/* ----------------------------- References ----------------------------- */
.refs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.ref {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.ref:hover { border-color: var(--brand); box-shadow: var(--shadow-pop); transform: translateY(-3px); }
.ref__tag {
  display: inline-flex;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--brand);
  margin-bottom: 14px;
}
.ref h3 { font-size: 1.2rem; margin-bottom: 8px; }
.ref p { font-size: 0.95rem; margin: 0 0 18px; flex: 1; }
.ref__meta {
  display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px;
}
.ref__meta span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 3px 8px;
  background: var(--surface);
  color: var(--mute);
  border-radius: var(--r-sm);
  font-weight: 600;
}
.ref__link {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; color: var(--brand); font-size: 0.9rem;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease;
  align-self: flex-start;
}
.ref__link:hover { border-color: var(--brand); }
.ref--placeholder {
  border-style: dashed;
  background: transparent;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  color: var(--mute);
}
.ref--placeholder h3 { color: var(--ink); }

/* ----------------------------- Process ----------------------------- */
.process {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  counter-reset: step;
}
.process__step {
  padding: 24px;
  border-left: 2px solid var(--brand);
  background: var(--surface);
  border-radius: 0 var(--r-md) var(--r-md) 0;
}
.process__step::before {
  counter-increment: step;
  content: '0' counter(step);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brand);
  display: block;
  margin-bottom: 8px;
}
.process__step h3 { font-size: 1rem; margin-bottom: 4px; }
.process__step p { font-size: 0.9rem; margin: 0; }

/* ----------------------------- FAQ ----------------------------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq__item {
  border-bottom: 1px solid var(--hairline);
}
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  text-align: left;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
}
.faq__q::after {
  content: '+';
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 1.4rem;
  color: var(--brand);
  transition: transform 0.2s ease;
  line-height: 1;
}
.faq__item.is-open .faq__q::after { content: '−'; }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: var(--mute);
  font-size: 0.98rem;
}
.faq__a > div { padding: 0 0 24px; max-width: 70ch; }

/* ----------------------------- Contact ----------------------------- */
.contact {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 820px) { .contact { grid-template-columns: 1fr; } }

.contact__info p { font-size: 1rem; }
.contact__mail {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 2px solid var(--brand);
  padding-bottom: 2px;
  display: inline-block;
  margin-bottom: 24px;
}
.contact__form {
  padding: 32px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow-card);
  display: grid;
  gap: 16px;
}
.field { display: grid; gap: 6px; }
.field label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--mute);
}
.field input,
.field select,
.field textarea {
  padding: 12px 14px;
  border: 1.5px solid var(--hairline-2);
  border-radius: var(--r-sm);
  background: var(--surface);
  font-size: 0.95rem;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  width: 100%;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 4px var(--brand-glow);
}
.field textarea { min-height: 120px; resize: vertical; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .field--row { grid-template-columns: 1fr; } }
.form__submit { margin-top: 8px; justify-self: start; }
.form__note { font-size: 0.78rem; color: var(--mute-2); margin: 0; }

/* ----------------------------- Footer ----------------------------- */
.footer {
  border-top: 1px solid var(--hairline);
  padding: 48px 0 32px;
  font-size: 0.9rem;
  color: var(--mute);
}
.footer__top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.footer__brand { font-weight: 800; color: var(--ink); font-size: 1rem; letter-spacing: -0.02em; }
.footer__brand span { color: var(--brand); font-family: var(--font-mono); }
.footer__cols {
  display: flex; flex-wrap: wrap; gap: 32px;
  font-size: 0.85rem;
}
.footer__cols a:hover { color: var(--ink); }
.footer__bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 0.8rem;
  color: var(--mute-2);
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
}
.footer__bottom a:hover { color: var(--ink); }
.footer__city {
  font-family: var(--font-mono);
}
.footer__city b { color: var(--brand); font-weight: 600; }

/* ----------------------------- Reveal ----------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}
